From e991998e7c6efb761ada5828dcd734a86776879c Mon Sep 17 00:00:00 2001 From: Jeremiah Stuever Date: Tue, 10 Feb 2026 15:33:36 -0800 Subject: [PATCH 1/2] make update-go-modules to skip grpc --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 3b961a7d52..d2bcdd0ebc 100644 --- a/Makefile +++ b/Makefile @@ -178,6 +178,8 @@ update-go-modules-direct: @for module in $$(go list -f '{{ if and (not .Main) (not .Indirect) }}{{.Path}}{{end}}' -m -mod=mod all \ | grep -v "^k8s.io/" | grep -v "sigs.k8s.io/" \ | grep -v "github.com/nutanix-cloud-native/prism-go-client" \ + | grep -v "google.golang.org/" \ + | grep -v "cloud.google.com/" \ ); do \ go get $$module; \ done From 51111cb09829bcd1801a93a270152281dd9ac16b Mon Sep 17 00:00:00 2001 From: Jeremiah Stuever Date: Tue, 10 Feb 2026 15:34:13 -0800 Subject: [PATCH 2/2] Update modules --- go.mod | 108 +- go.sum | 210 +- .../azure-sdk-for-go/sdk/azcore/CHANGELOG.md | 22 + .../azure-sdk-for-go/sdk/azcore/arm/client.go | 3 - .../azure-sdk-for-go/sdk/azcore/arm/doc.go | 3 - .../internal/resource/resource_identifier.go | 4 +- .../arm/internal/resource/resource_type.go | 3 - .../sdk/azcore/arm/policy/policy.go | 3 - .../sdk/azcore/arm/resource_identifier.go | 3 - .../sdk/azcore/arm/resource_type.go | 3 - .../sdk/azcore/arm/runtime/pipeline.go | 3 - .../azcore/arm/runtime/policy_register_rp.go | 3 - .../arm/runtime/policy_trace_namespace.go | 3 - .../sdk/azcore/arm/runtime/runtime.go | 7 +- .../sdk/azcore/cloud/cloud.go | 3 - .../azure-sdk-for-go/sdk/azcore/cloud/doc.go | 3 - .../Azure/azure-sdk-for-go/sdk/azcore/core.go | 3 - .../Azure/azure-sdk-for-go/sdk/azcore/doc.go | 3 - .../azure-sdk-for-go/sdk/azcore/errors.go | 3 - .../Azure/azure-sdk-for-go/sdk/azcore/etag.go | 3 - .../sdk/azcore/internal/exported/exported.go | 5 +- .../sdk/azcore/internal/exported/pipeline.go | 3 - .../sdk/azcore/internal/exported/request.go | 5 +- .../internal/exported/response_error.go | 3 - .../sdk/azcore/internal/log/log.go | 3 - .../azcore/internal/pollers/async/async.go | 8 +- .../sdk/azcore/internal/pollers/body/body.go | 3 - .../sdk/azcore/internal/pollers/fake/fake.go | 3 - .../sdk/azcore/internal/pollers/loc/loc.go | 3 - .../sdk/azcore/internal/pollers/op/op.go | 3 - .../sdk/azcore/internal/pollers/poller.go | 3 - .../sdk/azcore/internal/pollers/util.go | 8 +- .../sdk/azcore/internal/shared/constants.go | 5 +- .../sdk/azcore/internal/shared/shared.go | 3 - .../azure-sdk-for-go/sdk/azcore/log/doc.go | 3 - .../azure-sdk-for-go/sdk/azcore/log/log.go | 3 - .../azure-sdk-for-go/sdk/azcore/policy/doc.go | 3 - .../sdk/azcore/policy/policy.go | 3 - .../sdk/azcore/runtime/doc.go | 3 - .../sdk/azcore/runtime/errors.go | 3 - .../sdk/azcore/runtime/pager.go | 14 +- .../sdk/azcore/runtime/pipeline.go | 3 - .../sdk/azcore/runtime/policy_api_version.go | 3 - .../azcore/runtime/policy_body_download.go | 3 - .../sdk/azcore/runtime/policy_http_header.go | 4 +- .../sdk/azcore/runtime/policy_http_trace.go | 3 - .../azcore/runtime/policy_include_response.go | 4 +- .../sdk/azcore/runtime/policy_logging.go | 3 - .../sdk/azcore/runtime/policy_request_id.go | 3 - .../sdk/azcore/runtime/policy_retry.go | 9 +- .../sdk/azcore/runtime/policy_telemetry.go | 3 - .../sdk/azcore/runtime/poller.go | 8 +- .../sdk/azcore/runtime/request.go | 3 - .../sdk/azcore/runtime/response.go | 6 +- .../runtime/transport_default_http_client.go | 3 - .../sdk/azcore/streaming/doc.go | 3 - .../sdk/azcore/streaming/progress.go | 3 - .../azure-sdk-for-go/sdk/azcore/to/doc.go | 3 - .../azure-sdk-for-go/sdk/azcore/to/to.go | 3 - .../sdk/azcore/tracing/constants.go | 3 - .../sdk/azcore/tracing/tracing.go | 3 - .../sdk/azidentity/CHANGELOG.md | 6 + .../azidentity/developer_credential_util.go | 15 +- .../developer_credential_util_nonwindows.go | 17 + .../developer_credential_util_windows.go | 22 + .../sdk/azidentity/version.go | 2 +- .../sdk/storage/azblob/CHANGELOG.md | 9 + .../sdk/storage/azblob/appendblob/client.go | 13 +- .../sdk/storage/azblob/appendblob/models.go | 3 - .../storage/azblob/appendblob/responses.go | 3 - .../sdk/storage/azblob/assets.json | 2 +- .../sdk/storage/azblob/blob/client.go | 11 +- .../sdk/storage/azblob/blob/constants.go | 3 - .../sdk/storage/azblob/blob/models.go | 24 +- .../sdk/storage/azblob/blob/responses.go | 3 - .../sdk/storage/azblob/blob/retry_reader.go | 3 - .../sdk/storage/azblob/blob/utils.go | 3 - .../storage/azblob/bloberror/error_codes.go | 7 +- .../storage/azblob/blockblob/chunkwriting.go | 3 - .../sdk/storage/azblob/blockblob/client.go | 3 - .../sdk/storage/azblob/blockblob/constants.go | 3 - .../sdk/storage/azblob/blockblob/models.go | 3 - .../sdk/storage/azblob/blockblob/responses.go | 3 - .../sdk/storage/azblob/client.go | 3 - .../sdk/storage/azblob/common.go | 3 - .../sdk/storage/azblob/constants.go | 3 - .../storage/azblob/container/batch_builder.go | 3 - .../sdk/storage/azblob/container/client.go | 3 - .../sdk/storage/azblob/container/constants.go | 3 - .../sdk/storage/azblob/container/models.go | 9 +- .../sdk/storage/azblob/container/responses.go | 3 - .../sdk/storage/azblob/doc.go | 3 - .../storage/azblob/internal/base/clients.go | 3 - .../internal/exported/access_conditions.go | 18 +- .../azblob/internal/exported/access_policy.go | 3 - .../azblob/internal/exported/blob_batch.go | 3 - .../azblob/internal/exported/exported.go | 3 - .../azblob/internal/exported/log_events.go | 3 - .../azblob/internal/exported/set_expiry.go | 3 - .../exported/shared_key_credential.go | 3 - .../exported/transfer_validation_option.go | 3 - .../exported/user_delegation_credential.go | 3 - .../azblob/internal/exported/version.go | 5 +- .../internal/generated/appendblob_client.go | 3 - .../azblob/internal/generated/autorest.md | 8 +- .../azblob/internal/generated/blob_client.go | 3 - .../internal/generated/block_blob_client.go | 3 - .../azblob/internal/generated/build.go | 3 - .../azblob/internal/generated/constants.go | 5 +- .../internal/generated/container_client.go | 3 - .../azblob/internal/generated/models.go | 3 - .../internal/generated/pageblob_client.go | 3 - .../internal/generated/service_client.go | 3 - .../generated/zz_appendblob_client.go | 16 +- .../internal/generated/zz_blob_client.go | 134 +- .../internal/generated/zz_blockblob_client.go | 24 +- .../internal/generated/zz_container_client.go | 78 +- .../azblob/internal/generated/zz_models.go | 5 +- .../internal/generated/zz_models_serde.go | 12 + .../azblob/internal/generated/zz_options.go | 23 + .../internal/generated/zz_pageblob_client.go | 36 +- .../internal/generated/zz_service_client.go | 32 +- .../azblob/internal/shared/batch_transfer.go | 3 - .../azblob/internal/shared/buffer_manager.go | 3 - .../azblob/internal/shared/bytes_writer.go | 3 - .../internal/shared/challenge_policy.go | 3 - .../azblob/internal/shared/mmf_unix.go | 4 +- .../azblob/internal/shared/mmf_windows.go | 14 +- .../azblob/internal/shared/section_writer.go | 3 - .../storage/azblob/internal/shared/shared.go | 9 +- .../sdk/storage/azblob/models.go | 3 - .../sdk/storage/azblob/pageblob/client.go | 3 - .../sdk/storage/azblob/pageblob/constants.go | 3 - .../sdk/storage/azblob/pageblob/models.go | 3 - .../sdk/storage/azblob/pageblob/responses.go | 3 - .../sdk/storage/azblob/responses.go | 3 - .../sdk/storage/azblob/sas/account.go | 3 - .../sdk/storage/azblob/sas/query_params.go | 70 +- .../sdk/storage/azblob/sas/service.go | 75 +- .../sdk/storage/azblob/sas/url_parts.go | 3 - .../storage/azblob/service/batch_builder.go | 3 - .../sdk/storage/azblob/service/client.go | 3 - .../sdk/storage/azblob/service/constants.go | 3 - .../sdk/storage/azblob/service/models.go | 3 - .../sdk/storage/azblob/service/responses.go | 3 - .../apps/confidential/confidential.go | 103 +- .../apps/internal/base/base.go | 47 +- .../apps/internal/base/storage/items.go | 17 +- .../apps/internal/base/storage/storage.go | 51 +- .../oauth/ops/accesstokens/accesstokens.go | 17 + .../internal/oauth/ops/authority/authority.go | 84 +- .../apps/public/public.go | 4 +- .../IBM/go-sdk-core/v5/core/version.go | 2 +- .../common/version.go | 2 +- .../iamidentityv1/iam_identity_v1.go | 744 +- .../iam_policy_management_v1.go | 327 +- .../asaskevich/govalidator/.gitignore | 15 - .../asaskevich/govalidator/.travis.yml | 12 - .../asaskevich/govalidator/CODE_OF_CONDUCT.md | 43 - .../asaskevich/govalidator/CONTRIBUTING.md | 63 - .../github.com/asaskevich/govalidator/LICENSE | 21 - .../asaskevich/govalidator/README.md | 622 - .../asaskevich/govalidator/arrays.go | 87 - .../asaskevich/govalidator/converter.go | 81 - .../github.com/asaskevich/govalidator/doc.go | 3 - .../asaskevich/govalidator/error.go | 47 - .../asaskevich/govalidator/numerics.go | 100 - .../asaskevich/govalidator/patterns.go | 113 - .../asaskevich/govalidator/types.go | 656 - .../asaskevich/govalidator/utils.go | 270 - .../asaskevich/govalidator/validator.go | 1768 -- .../asaskevich/govalidator/wercker.yml | 15 - .../aws/aws-sdk-go-v2/aws/credentials.go | 4 + .../aws-sdk-go-v2/aws/go_module_metadata.go | 2 +- .../aws/middleware/user_agent.go | 5 + .../aws/protocol/eventstream/CHANGELOG.md | 8 + .../eventstream/go_module_metadata.go | 2 +- .../aws/transport/http/client.go | 2 + .../aws/transport/http/timeout_read_closer.go | 5 + .../aws/aws-sdk-go-v2/config/CHANGELOG.md | 67 + .../config/go_module_metadata.go | 2 +- .../config/resolve_credentials.go | 25 +- .../aws/aws-sdk-go-v2/config/shared_config.go | 9 + .../aws-sdk-go-v2/credentials/CHANGELOG.md | 67 + .../credentials/go_module_metadata.go | 2 +- .../credentials/logincreds/dpop.go | 150 + .../credentials/logincreds/file.go | 14 + .../credentials/logincreds/provider.go | 172 + .../credentials/logincreds/token.go | 110 + .../feature/ec2/imds/CHANGELOG.md | 30 + .../feature/ec2/imds/go_module_metadata.go | 2 +- .../internal/configsources/CHANGELOG.md | 30 + .../configsources/go_module_metadata.go | 2 +- .../endpoints/awsrulesfn/partitions.go | 7 + .../endpoints/awsrulesfn/partitions.json | 3 + .../internal/endpoints/v2/CHANGELOG.md | 30 + .../endpoints/v2/go_module_metadata.go | 2 +- .../aws-sdk-go-v2/internal/v4a/CHANGELOG.md | 30 + .../internal/v4a/go_module_metadata.go | 2 +- .../service/cloudfront/CHANGELOG.md | 61 + .../service/cloudfront/api_client.go | 202 +- .../cloudfront/api_op_AssociateAlias.go | 35 +- ...pi_op_AssociateDistributionTenantWebACL.go | 35 +- .../api_op_AssociateDistributionWebACL.go | 35 +- .../cloudfront/api_op_CopyDistribution.go | 35 +- .../cloudfront/api_op_CreateAnycastIpList.go | 49 +- .../cloudfront/api_op_CreateCachePolicy.go | 35 +- ...op_CreateCloudFrontOriginAccessIdentity.go | 35 +- .../api_op_CreateConnectionFunction.go | 176 + .../api_op_CreateConnectionGroup.go | 35 +- ...api_op_CreateContinuousDeploymentPolicy.go | 35 +- .../cloudfront/api_op_CreateDistribution.go | 35 +- .../api_op_CreateDistributionTenant.go | 35 +- .../api_op_CreateDistributionWithTags.go | 35 +- ...api_op_CreateFieldLevelEncryptionConfig.go | 35 +- ...pi_op_CreateFieldLevelEncryptionProfile.go | 35 +- .../cloudfront/api_op_CreateFunction.go | 35 +- .../cloudfront/api_op_CreateInvalidation.go | 35 +- ...CreateInvalidationForDistributionTenant.go | 35 +- .../cloudfront/api_op_CreateKeyGroup.go | 35 +- .../cloudfront/api_op_CreateKeyValueStore.go | 35 +- .../api_op_CreateMonitoringSubscription.go | 35 +- .../api_op_CreateOriginAccessControl.go | 35 +- .../api_op_CreateOriginRequestPolicy.go | 35 +- .../cloudfront/api_op_CreatePublicKey.go | 35 +- .../api_op_CreateRealtimeLogConfig.go | 35 +- .../api_op_CreateResponseHeadersPolicy.go | 35 +- .../api_op_CreateStreamingDistribution.go | 35 +- ..._op_CreateStreamingDistributionWithTags.go | 35 +- .../cloudfront/api_op_CreateTrustStore.go | 168 + .../cloudfront/api_op_CreateVpcOrigin.go | 35 +- .../cloudfront/api_op_DeleteAnycastIpList.go | 35 +- .../cloudfront/api_op_DeleteCachePolicy.go | 35 +- ...op_DeleteCloudFrontOriginAccessIdentity.go | 35 +- .../api_op_DeleteConnectionFunction.go | 157 + .../api_op_DeleteConnectionGroup.go | 35 +- ...api_op_DeleteContinuousDeploymentPolicy.go | 35 +- .../cloudfront/api_op_DeleteDistribution.go | 39 +- .../api_op_DeleteDistributionTenant.go | 35 +- ...api_op_DeleteFieldLevelEncryptionConfig.go | 35 +- ...pi_op_DeleteFieldLevelEncryptionProfile.go | 35 +- .../cloudfront/api_op_DeleteFunction.go | 35 +- .../cloudfront/api_op_DeleteKeyGroup.go | 35 +- .../cloudfront/api_op_DeleteKeyValueStore.go | 35 +- .../api_op_DeleteMonitoringSubscription.go | 35 +- .../api_op_DeleteOriginAccessControl.go | 35 +- .../api_op_DeleteOriginRequestPolicy.go | 35 +- .../cloudfront/api_op_DeletePublicKey.go | 35 +- .../api_op_DeleteRealtimeLogConfig.go | 35 +- .../cloudfront/api_op_DeleteResourcePolicy.go | 153 + .../api_op_DeleteResponseHeadersPolicy.go | 35 +- .../api_op_DeleteStreamingDistribution.go | 35 +- .../cloudfront/api_op_DeleteTrustStore.go | 157 + .../cloudfront/api_op_DeleteVpcOrigin.go | 35 +- .../api_op_DescribeConnectionFunction.go | 163 + .../cloudfront/api_op_DescribeFunction.go | 35 +- .../api_op_DescribeKeyValueStore.go | 35 +- ...op_DisassociateDistributionTenantWebACL.go | 35 +- .../api_op_DisassociateDistributionWebACL.go | 35 +- .../cloudfront/api_op_GetAnycastIpList.go | 35 +- .../cloudfront/api_op_GetCachePolicy.go | 35 +- .../cloudfront/api_op_GetCachePolicyConfig.go | 35 +- ...pi_op_GetCloudFrontOriginAccessIdentity.go | 35 +- ...GetCloudFrontOriginAccessIdentityConfig.go | 35 +- .../api_op_GetConnectionFunction.go | 166 + .../cloudfront/api_op_GetConnectionGroup.go | 35 +- ..._op_GetConnectionGroupByRoutingEndpoint.go | 35 +- .../api_op_GetContinuousDeploymentPolicy.go | 35 +- ..._op_GetContinuousDeploymentPolicyConfig.go | 35 +- .../cloudfront/api_op_GetDistribution.go | 35 +- .../api_op_GetDistributionConfig.go | 35 +- .../api_op_GetDistributionTenant.go | 35 +- .../api_op_GetDistributionTenantByDomain.go | 35 +- .../api_op_GetFieldLevelEncryption.go | 35 +- .../api_op_GetFieldLevelEncryptionConfig.go | 35 +- .../api_op_GetFieldLevelEncryptionProfile.go | 35 +- ...op_GetFieldLevelEncryptionProfileConfig.go | 35 +- .../service/cloudfront/api_op_GetFunction.go | 35 +- .../cloudfront/api_op_GetInvalidation.go | 35 +- ...op_GetInvalidationForDistributionTenant.go | 35 +- .../service/cloudfront/api_op_GetKeyGroup.go | 35 +- .../cloudfront/api_op_GetKeyGroupConfig.go | 35 +- .../api_op_GetManagedCertificateDetails.go | 35 +- .../api_op_GetMonitoringSubscription.go | 35 +- .../api_op_GetOriginAccessControl.go | 35 +- .../api_op_GetOriginAccessControlConfig.go | 35 +- .../api_op_GetOriginRequestPolicy.go | 35 +- .../api_op_GetOriginRequestPolicyConfig.go | 35 +- .../service/cloudfront/api_op_GetPublicKey.go | 35 +- .../cloudfront/api_op_GetPublicKeyConfig.go | 35 +- .../cloudfront/api_op_GetRealtimeLogConfig.go | 35 +- .../cloudfront/api_op_GetResourcePolicy.go | 162 + .../api_op_GetResponseHeadersPolicy.go | 35 +- .../api_op_GetResponseHeadersPolicyConfig.go | 35 +- .../api_op_GetStreamingDistribution.go | 35 +- .../api_op_GetStreamingDistributionConfig.go | 35 +- .../cloudfront/api_op_GetTrustStore.go | 160 + .../service/cloudfront/api_op_GetVpcOrigin.go | 35 +- .../cloudfront/api_op_ListAnycastIpLists.go | 35 +- .../cloudfront/api_op_ListCachePolicies.go | 35 +- ...op_ListCloudFrontOriginAccessIdentities.go | 35 +- .../api_op_ListConflictingAliases.go | 35 +- .../api_op_ListConnectionFunctions.go | 262 + .../cloudfront/api_op_ListConnectionGroups.go | 35 +- ...api_op_ListContinuousDeploymentPolicies.go | 35 +- .../api_op_ListDistributionTenants.go | 35 +- ..._ListDistributionTenantsByCustomization.go | 35 +- .../cloudfront/api_op_ListDistributions.go | 35 +- ...i_op_ListDistributionsByAnycastIpListId.go | 35 +- ...api_op_ListDistributionsByCachePolicyId.go | 35 +- ...p_ListDistributionsByConnectionFunction.go | 265 + ...pi_op_ListDistributionsByConnectionMode.go | 35 +- .../api_op_ListDistributionsByKeyGroup.go | 35 +- ...istDistributionsByOriginRequestPolicyId.go | 35 +- ...api_op_ListDistributionsByOwnedResource.go | 168 + ...op_ListDistributionsByRealtimeLogConfig.go | 35 +- ...tDistributionsByResponseHeadersPolicyId.go | 35 +- .../api_op_ListDistributionsByTrustStore.go | 265 + .../api_op_ListDistributionsByVpcOriginId.go | 35 +- .../api_op_ListDistributionsByWebACLId.go | 35 +- .../cloudfront/api_op_ListDomainConflicts.go | 35 +- .../api_op_ListFieldLevelEncryptionConfigs.go | 35 +- ...api_op_ListFieldLevelEncryptionProfiles.go | 35 +- .../cloudfront/api_op_ListFunctions.go | 35 +- .../cloudfront/api_op_ListInvalidations.go | 35 +- ..._ListInvalidationsForDistributionTenant.go | 35 +- .../cloudfront/api_op_ListKeyGroups.go | 35 +- .../cloudfront/api_op_ListKeyValueStores.go | 35 +- .../api_op_ListOriginAccessControls.go | 35 +- .../api_op_ListOriginRequestPolicies.go | 35 +- .../cloudfront/api_op_ListPublicKeys.go | 35 +- .../api_op_ListRealtimeLogConfigs.go | 35 +- .../api_op_ListResponseHeadersPolicies.go | 35 +- .../api_op_ListStreamingDistributions.go | 35 +- .../cloudfront/api_op_ListTagsForResource.go | 35 +- .../cloudfront/api_op_ListTrustStores.go | 255 + .../cloudfront/api_op_ListVpcOrigins.go | 35 +- .../api_op_PublishConnectionFunction.go | 162 + .../cloudfront/api_op_PublishFunction.go | 35 +- .../cloudfront/api_op_PutResourcePolicy.go | 163 + .../service/cloudfront/api_op_TagResource.go | 35 +- .../api_op_TestConnectionFunction.go | 170 + .../service/cloudfront/api_op_TestFunction.go | 35 +- .../cloudfront/api_op_UntagResource.go | 35 +- .../cloudfront/api_op_UpdateAnycastIpList.go | 179 + .../cloudfront/api_op_UpdateCachePolicy.go | 35 +- ...op_UpdateCloudFrontOriginAccessIdentity.go | 35 +- .../api_op_UpdateConnectionFunction.go | 175 + .../api_op_UpdateConnectionGroup.go | 35 +- ...api_op_UpdateContinuousDeploymentPolicy.go | 35 +- .../cloudfront/api_op_UpdateDistribution.go | 35 +- .../api_op_UpdateDistributionTenant.go | 35 +- ..._op_UpdateDistributionWithStagingConfig.go | 35 +- .../api_op_UpdateDomainAssociation.go | 35 +- ...api_op_UpdateFieldLevelEncryptionConfig.go | 35 +- ...pi_op_UpdateFieldLevelEncryptionProfile.go | 35 +- .../cloudfront/api_op_UpdateFunction.go | 35 +- .../cloudfront/api_op_UpdateKeyGroup.go | 35 +- .../cloudfront/api_op_UpdateKeyValueStore.go | 35 +- .../api_op_UpdateOriginAccessControl.go | 35 +- .../api_op_UpdateOriginRequestPolicy.go | 35 +- .../cloudfront/api_op_UpdatePublicKey.go | 35 +- .../api_op_UpdateRealtimeLogConfig.go | 35 +- .../api_op_UpdateResponseHeadersPolicy.go | 35 +- .../api_op_UpdateStreamingDistribution.go | 35 +- .../cloudfront/api_op_UpdateTrustStore.go | 170 + .../cloudfront/api_op_UpdateVpcOrigin.go | 35 +- .../api_op_VerifyDnsConfiguration.go | 35 +- .../aws-sdk-go-v2/service/cloudfront/auth.go | 16 +- .../service/cloudfront/deserializers.go | 12754 ++++++++---- .../service/cloudfront/endpoints.go | 26 +- .../service/cloudfront/generated.json | 21 + .../service/cloudfront/go_module_metadata.go | 2 +- .../internal/endpoints/endpoints.go | 14 + .../service/cloudfront/serializers.go | 2689 ++- .../service/cloudfront/types/enums.go | 79 + .../service/cloudfront/types/types.go | 387 + .../service/cloudfront/validators.go | 932 +- .../aws-sdk-go-v2/service/iam/CHANGELOG.md | 68 + .../aws-sdk-go-v2/service/iam/api_client.go | 202 +- .../iam/api_op_AcceptDelegationRequest.go | 165 + ...i_op_AddClientIDToOpenIDConnectProvider.go | 35 +- .../iam/api_op_AddRoleToInstanceProfile.go | 35 +- .../service/iam/api_op_AddUserToGroup.go | 35 +- .../iam/api_op_AssociateDelegationRequest.go | 169 + .../service/iam/api_op_AttachGroupPolicy.go | 35 +- .../service/iam/api_op_AttachRolePolicy.go | 35 +- .../service/iam/api_op_AttachUserPolicy.go | 35 +- .../service/iam/api_op_ChangePassword.go | 35 +- .../service/iam/api_op_CreateAccessKey.go | 35 +- .../service/iam/api_op_CreateAccountAlias.go | 35 +- .../iam/api_op_CreateDelegationRequest.go | 241 + .../service/iam/api_op_CreateGroup.go | 35 +- .../iam/api_op_CreateInstanceProfile.go | 35 +- .../service/iam/api_op_CreateLoginProfile.go | 35 +- .../iam/api_op_CreateOpenIDConnectProvider.go | 35 +- .../service/iam/api_op_CreatePolicy.go | 35 +- .../service/iam/api_op_CreatePolicyVersion.go | 35 +- .../service/iam/api_op_CreateRole.go | 35 +- .../service/iam/api_op_CreateSAMLProvider.go | 35 +- .../iam/api_op_CreateServiceLinkedRole.go | 35 +- .../api_op_CreateServiceSpecificCredential.go | 35 +- .../service/iam/api_op_CreateUser.go | 35 +- .../iam/api_op_CreateVirtualMFADevice.go | 35 +- .../service/iam/api_op_DeactivateMFADevice.go | 35 +- .../service/iam/api_op_DeleteAccessKey.go | 35 +- .../service/iam/api_op_DeleteAccountAlias.go | 35 +- .../iam/api_op_DeleteAccountPasswordPolicy.go | 35 +- .../service/iam/api_op_DeleteGroup.go | 35 +- .../service/iam/api_op_DeleteGroupPolicy.go | 35 +- .../iam/api_op_DeleteInstanceProfile.go | 35 +- .../service/iam/api_op_DeleteLoginProfile.go | 35 +- .../iam/api_op_DeleteOpenIDConnectProvider.go | 35 +- .../service/iam/api_op_DeletePolicy.go | 35 +- .../service/iam/api_op_DeletePolicyVersion.go | 35 +- .../service/iam/api_op_DeleteRole.go | 35 +- .../api_op_DeleteRolePermissionsBoundary.go | 35 +- .../service/iam/api_op_DeleteRolePolicy.go | 35 +- .../service/iam/api_op_DeleteSAMLProvider.go | 35 +- .../service/iam/api_op_DeleteSSHPublicKey.go | 35 +- .../iam/api_op_DeleteServerCertificate.go | 35 +- .../iam/api_op_DeleteServiceLinkedRole.go | 35 +- .../api_op_DeleteServiceSpecificCredential.go | 35 +- .../iam/api_op_DeleteSigningCertificate.go | 35 +- .../service/iam/api_op_DeleteUser.go | 35 +- .../api_op_DeleteUserPermissionsBoundary.go | 35 +- .../service/iam/api_op_DeleteUserPolicy.go | 35 +- .../iam/api_op_DeleteVirtualMFADevice.go | 35 +- .../service/iam/api_op_DetachGroupPolicy.go | 35 +- .../service/iam/api_op_DetachRolePolicy.go | 35 +- .../service/iam/api_op_DetachUserPolicy.go | 35 +- ...eOrganizationsRootCredentialsManagement.go | 35 +- ...api_op_DisableOrganizationsRootSessions.go | 35 +- ...op_DisableOutboundWebIdentityFederation.go | 147 + .../service/iam/api_op_EnableMFADevice.go | 35 +- ...eOrganizationsRootCredentialsManagement.go | 35 +- .../api_op_EnableOrganizationsRootSessions.go | 35 +- ..._op_EnableOutboundWebIdentityFederation.go | 154 + .../iam/api_op_GenerateCredentialReport.go | 35 +- ...pi_op_GenerateOrganizationsAccessReport.go | 35 +- ...i_op_GenerateServiceLastAccessedDetails.go | 35 +- .../iam/api_op_GetAccessKeyLastUsed.go | 35 +- .../api_op_GetAccountAuthorizationDetails.go | 35 +- .../iam/api_op_GetAccountPasswordPolicy.go | 35 +- .../service/iam/api_op_GetAccountSummary.go | 35 +- .../api_op_GetContextKeysForCustomPolicy.go | 35 +- ...api_op_GetContextKeysForPrincipalPolicy.go | 35 +- .../service/iam/api_op_GetCredentialReport.go | 35 +- .../iam/api_op_GetDelegationRequest.go | 206 + .../service/iam/api_op_GetGroup.go | 35 +- .../service/iam/api_op_GetGroupPolicy.go | 35 +- .../iam/api_op_GetHumanReadableSummary.go | 185 + .../service/iam/api_op_GetInstanceProfile.go | 35 +- .../service/iam/api_op_GetLoginProfile.go | 35 +- .../service/iam/api_op_GetMFADevice.go | 35 +- .../iam/api_op_GetOpenIDConnectProvider.go | 35 +- .../api_op_GetOrganizationsAccessReport.go | 35 +- ...op_GetOutboundWebIdentityFederationInfo.go | 160 + .../service/iam/api_op_GetPolicy.go | 35 +- .../service/iam/api_op_GetPolicyVersion.go | 35 +- .../service/iam/api_op_GetRole.go | 35 +- .../service/iam/api_op_GetRolePolicy.go | 35 +- .../service/iam/api_op_GetSAMLProvider.go | 35 +- .../service/iam/api_op_GetSSHPublicKey.go | 35 +- .../iam/api_op_GetServerCertificate.go | 35 +- .../api_op_GetServiceLastAccessedDetails.go | 35 +- ...tServiceLastAccessedDetailsWithEntities.go | 35 +- ...i_op_GetServiceLinkedRoleDeletionStatus.go | 35 +- .../service/iam/api_op_GetUser.go | 35 +- .../service/iam/api_op_GetUserPolicy.go | 35 +- .../service/iam/api_op_ListAccessKeys.go | 35 +- .../service/iam/api_op_ListAccountAliases.go | 35 +- .../iam/api_op_ListAttachedGroupPolicies.go | 35 +- .../iam/api_op_ListAttachedRolePolicies.go | 35 +- .../iam/api_op_ListAttachedUserPolicies.go | 35 +- .../iam/api_op_ListDelegationRequests.go | 186 + .../iam/api_op_ListEntitiesForPolicy.go | 35 +- .../service/iam/api_op_ListGroupPolicies.go | 35 +- .../service/iam/api_op_ListGroups.go | 35 +- .../service/iam/api_op_ListGroupsForUser.go | 35 +- .../iam/api_op_ListInstanceProfileTags.go | 35 +- .../iam/api_op_ListInstanceProfiles.go | 35 +- .../iam/api_op_ListInstanceProfilesForRole.go | 35 +- .../service/iam/api_op_ListMFADeviceTags.go | 35 +- .../service/iam/api_op_ListMFADevices.go | 35 +- .../api_op_ListOpenIDConnectProviderTags.go | 35 +- .../iam/api_op_ListOpenIDConnectProviders.go | 35 +- .../iam/api_op_ListOrganizationsFeatures.go | 35 +- .../service/iam/api_op_ListPolicies.go | 35 +- ...pi_op_ListPoliciesGrantingServiceAccess.go | 35 +- .../service/iam/api_op_ListPolicyTags.go | 35 +- .../service/iam/api_op_ListPolicyVersions.go | 35 +- .../service/iam/api_op_ListRolePolicies.go | 35 +- .../service/iam/api_op_ListRoleTags.go | 35 +- .../service/iam/api_op_ListRoles.go | 35 +- .../iam/api_op_ListSAMLProviderTags.go | 35 +- .../service/iam/api_op_ListSAMLProviders.go | 35 +- .../service/iam/api_op_ListSSHPublicKeys.go | 35 +- .../iam/api_op_ListServerCertificateTags.go | 35 +- .../iam/api_op_ListServerCertificates.go | 35 +- .../api_op_ListServiceSpecificCredentials.go | 35 +- .../iam/api_op_ListSigningCertificates.go | 35 +- .../service/iam/api_op_ListUserPolicies.go | 35 +- .../service/iam/api_op_ListUserTags.go | 35 +- .../service/iam/api_op_ListUsers.go | 35 +- .../iam/api_op_ListVirtualMFADevices.go | 35 +- .../service/iam/api_op_PutGroupPolicy.go | 35 +- .../iam/api_op_PutRolePermissionsBoundary.go | 35 +- .../service/iam/api_op_PutRolePolicy.go | 35 +- .../iam/api_op_PutUserPermissionsBoundary.go | 35 +- .../service/iam/api_op_PutUserPolicy.go | 35 +- .../iam/api_op_RejectDelegationRequest.go | 165 + ...RemoveClientIDFromOpenIDConnectProvider.go | 35 +- .../api_op_RemoveRoleFromInstanceProfile.go | 35 +- .../service/iam/api_op_RemoveUserFromGroup.go | 35 +- .../api_op_ResetServiceSpecificCredential.go | 35 +- .../service/iam/api_op_ResyncMFADevice.go | 35 +- .../service/iam/api_op_SendDelegationToken.go | 164 + .../iam/api_op_SetDefaultPolicyVersion.go | 35 +- ...i_op_SetSecurityTokenServicePreferences.go | 35 +- .../iam/api_op_SimulateCustomPolicy.go | 35 +- .../iam/api_op_SimulatePrincipalPolicy.go | 35 +- .../service/iam/api_op_TagInstanceProfile.go | 35 +- .../service/iam/api_op_TagMFADevice.go | 35 +- .../iam/api_op_TagOpenIDConnectProvider.go | 35 +- .../service/iam/api_op_TagPolicy.go | 35 +- .../service/iam/api_op_TagRole.go | 35 +- .../service/iam/api_op_TagSAMLProvider.go | 35 +- .../iam/api_op_TagServerCertificate.go | 35 +- .../service/iam/api_op_TagUser.go | 35 +- .../iam/api_op_UntagInstanceProfile.go | 35 +- .../service/iam/api_op_UntagMFADevice.go | 35 +- .../iam/api_op_UntagOpenIDConnectProvider.go | 35 +- .../service/iam/api_op_UntagPolicy.go | 35 +- .../service/iam/api_op_UntagRole.go | 35 +- .../service/iam/api_op_UntagSAMLProvider.go | 35 +- .../iam/api_op_UntagServerCertificate.go | 35 +- .../service/iam/api_op_UntagUser.go | 35 +- .../service/iam/api_op_UpdateAccessKey.go | 35 +- .../iam/api_op_UpdateAccountPasswordPolicy.go | 35 +- .../iam/api_op_UpdateAssumeRolePolicy.go | 35 +- .../iam/api_op_UpdateDelegationRequest.go | 161 + .../service/iam/api_op_UpdateGroup.go | 35 +- .../service/iam/api_op_UpdateLoginProfile.go | 35 +- ...p_UpdateOpenIDConnectProviderThumbprint.go | 35 +- .../service/iam/api_op_UpdateRole.go | 35 +- .../iam/api_op_UpdateRoleDescription.go | 35 +- .../service/iam/api_op_UpdateSAMLProvider.go | 35 +- .../service/iam/api_op_UpdateSSHPublicKey.go | 35 +- .../iam/api_op_UpdateServerCertificate.go | 35 +- .../api_op_UpdateServiceSpecificCredential.go | 35 +- .../iam/api_op_UpdateSigningCertificate.go | 35 +- .../service/iam/api_op_UpdateUser.go | 35 +- .../service/iam/api_op_UploadSSHPublicKey.go | 35 +- .../iam/api_op_UploadServerCertificate.go | 35 +- .../iam/api_op_UploadSigningCertificate.go | 35 +- .../aws/aws-sdk-go-v2/service/iam/auth.go | 16 +- .../service/iam/deserializers.go | 5897 ++++-- .../aws-sdk-go-v2/service/iam/endpoints.go | 26 +- .../aws-sdk-go-v2/service/iam/generated.json | 12 + .../service/iam/go_module_metadata.go | 2 +- .../iam/internal/endpoints/endpoints.go | 14 + .../aws-sdk-go-v2/service/iam/serializers.go | 1179 +- .../aws-sdk-go-v2/service/iam/types/enums.go | 127 + .../aws-sdk-go-v2/service/iam/types/errors.go | 56 + .../aws-sdk-go-v2/service/iam/types/types.go | 127 + .../aws-sdk-go-v2/service/iam/validators.go | 324 + .../internal/accept-encoding/CHANGELOG.md | 8 + .../accept-encoding/go_module_metadata.go | 2 +- .../service/internal/checksum/CHANGELOG.md | 30 + .../internal/checksum/go_module_metadata.go | 2 +- .../internal/presigned-url/CHANGELOG.md | 30 + .../presigned-url/go_module_metadata.go | 2 +- .../service/internal/s3shared/CHANGELOG.md | 30 + .../internal/s3shared/go_module_metadata.go | 2 +- .../aws/aws-sdk-go-v2/service/s3/CHANGELOG.md | 82 + .../aws-sdk-go-v2/service/s3/api_client.go | 202 +- .../service/s3/api_op_AbortMultipartUpload.go | 44 +- .../s3/api_op_CompleteMultipartUpload.go | 54 +- .../service/s3/api_op_CopyObject.go | 92 +- .../service/s3/api_op_CreateBucket.go | 62 +- ...pi_op_CreateBucketMetadataConfiguration.go | 39 +- ..._CreateBucketMetadataTableConfiguration.go | 39 +- .../s3/api_op_CreateMultipartUpload.go | 60 +- .../service/s3/api_op_CreateSession.go | 39 +- .../service/s3/api_op_DeleteBucket.go | 39 +- ...i_op_DeleteBucketAnalyticsConfiguration.go | 39 +- .../service/s3/api_op_DeleteBucketCors.go | 39 +- .../s3/api_op_DeleteBucketEncryption.go | 39 +- ...teBucketIntelligentTieringConfiguration.go | 39 +- ...i_op_DeleteBucketInventoryConfiguration.go | 39 +- .../s3/api_op_DeleteBucketLifecycle.go | 39 +- ...pi_op_DeleteBucketMetadataConfiguration.go | 39 +- ..._DeleteBucketMetadataTableConfiguration.go | 39 +- ...api_op_DeleteBucketMetricsConfiguration.go | 39 +- .../api_op_DeleteBucketOwnershipControls.go | 39 +- .../service/s3/api_op_DeleteBucketPolicy.go | 39 +- .../s3/api_op_DeleteBucketReplication.go | 39 +- .../service/s3/api_op_DeleteBucketTagging.go | 48 +- .../service/s3/api_op_DeleteBucketWebsite.go | 39 +- .../service/s3/api_op_DeleteObject.go | 90 +- .../service/s3/api_op_DeleteObjectTagging.go | 39 +- .../service/s3/api_op_DeleteObjects.go | 74 +- .../s3/api_op_DeletePublicAccessBlock.go | 48 +- .../service/s3/api_op_GetBucketAbac.go | 223 + ...api_op_GetBucketAccelerateConfiguration.go | 44 +- .../service/s3/api_op_GetBucketAcl.go | 52 +- .../api_op_GetBucketAnalyticsConfiguration.go | 39 +- .../service/s3/api_op_GetBucketCors.go | 39 +- .../service/s3/api_op_GetBucketEncryption.go | 46 +- ...etBucketIntelligentTieringConfiguration.go | 39 +- .../api_op_GetBucketInventoryConfiguration.go | 39 +- .../api_op_GetBucketLifecycleConfiguration.go | 39 +- .../service/s3/api_op_GetBucketLocation.go | 55 +- .../service/s3/api_op_GetBucketLogging.go | 50 +- .../api_op_GetBucketMetadataConfiguration.go | 39 +- ..._op_GetBucketMetadataTableConfiguration.go | 39 +- .../api_op_GetBucketMetricsConfiguration.go | 39 +- ...i_op_GetBucketNotificationConfiguration.go | 39 +- .../s3/api_op_GetBucketOwnershipControls.go | 39 +- .../service/s3/api_op_GetBucketPolicy.go | 39 +- .../s3/api_op_GetBucketPolicyStatus.go | 39 +- .../service/s3/api_op_GetBucketReplication.go | 39 +- .../s3/api_op_GetBucketRequestPayment.go | 39 +- .../service/s3/api_op_GetBucketTagging.go | 46 +- .../service/s3/api_op_GetBucketVersioning.go | 39 +- .../service/s3/api_op_GetBucketWebsite.go | 39 +- .../service/s3/api_op_GetObject.go | 56 +- .../service/s3/api_op_GetObjectAcl.go | 46 +- .../service/s3/api_op_GetObjectAttributes.go | 44 +- .../service/s3/api_op_GetObjectLegalHold.go | 44 +- .../s3/api_op_GetObjectLockConfiguration.go | 39 +- .../service/s3/api_op_GetObjectRetention.go | 44 +- .../service/s3/api_op_GetObjectTagging.go | 44 +- .../service/s3/api_op_GetObjectTorrent.go | 44 +- .../service/s3/api_op_GetPublicAccessBlock.go | 57 +- .../service/s3/api_op_HeadBucket.go | 55 +- .../service/s3/api_op_HeadObject.go | 54 +- ...pi_op_ListBucketAnalyticsConfigurations.go | 39 +- ...tBucketIntelligentTieringConfigurations.go | 39 +- ...pi_op_ListBucketInventoryConfigurations.go | 41 +- .../api_op_ListBucketMetricsConfigurations.go | 39 +- .../service/s3/api_op_ListBuckets.go | 50 +- .../service/s3/api_op_ListDirectoryBuckets.go | 39 +- .../service/s3/api_op_ListMultipartUploads.go | 55 +- .../service/s3/api_op_ListObjectVersions.go | 55 +- .../service/s3/api_op_ListObjects.go | 50 +- .../service/s3/api_op_ListObjectsV2.go | 39 +- .../service/s3/api_op_ListParts.go | 59 +- .../service/s3/api_op_PutBucketAbac.go | 277 + ...api_op_PutBucketAccelerateConfiguration.go | 39 +- .../service/s3/api_op_PutBucketAcl.go | 55 +- .../api_op_PutBucketAnalyticsConfiguration.go | 39 +- .../service/s3/api_op_PutBucketCors.go | 39 +- .../service/s3/api_op_PutBucketEncryption.go | 42 +- ...utBucketIntelligentTieringConfiguration.go | 39 +- .../api_op_PutBucketInventoryConfiguration.go | 39 +- .../api_op_PutBucketLifecycleConfiguration.go | 50 +- .../service/s3/api_op_PutBucketLogging.go | 55 +- .../api_op_PutBucketMetricsConfiguration.go | 39 +- ...i_op_PutBucketNotificationConfiguration.go | 39 +- .../s3/api_op_PutBucketOwnershipControls.go | 39 +- .../service/s3/api_op_PutBucketPolicy.go | 39 +- .../service/s3/api_op_PutBucketReplication.go | 39 +- .../s3/api_op_PutBucketRequestPayment.go | 39 +- .../service/s3/api_op_PutBucketTagging.go | 46 +- .../service/s3/api_op_PutBucketVersioning.go | 48 +- .../service/s3/api_op_PutBucketWebsite.go | 39 +- .../service/s3/api_op_PutObject.go | 83 +- .../service/s3/api_op_PutObjectAcl.go | 54 +- .../service/s3/api_op_PutObjectLegalHold.go | 44 +- .../s3/api_op_PutObjectLockConfiguration.go | 44 +- .../service/s3/api_op_PutObjectRetention.go | 44 +- .../service/s3/api_op_PutObjectTagging.go | 52 +- .../service/s3/api_op_PutPublicAccessBlock.go | 48 +- .../service/s3/api_op_RenameObject.go | 39 +- .../service/s3/api_op_RestoreObject.go | 44 +- .../service/s3/api_op_SelectObjectContent.go | 39 +- ...cketMetadataInventoryTableConfiguration.go | 39 +- ...BucketMetadataJournalTableConfiguration.go | 39 +- .../s3/api_op_UpdateObjectEncryption.go | 435 + .../service/s3/api_op_UploadPart.go | 61 +- .../service/s3/api_op_UploadPartCopy.go | 62 +- .../s3/api_op_WriteGetObjectResponse.go | 39 +- .../aws/aws-sdk-go-v2/service/s3/auth.go | 26 +- .../aws-sdk-go-v2/service/s3/deserializers.go | 1198 +- .../aws/aws-sdk-go-v2/service/s3/endpoints.go | 6369 ++++-- .../aws-sdk-go-v2/service/s3/generated.json | 3 + .../service/s3/go_module_metadata.go | 2 +- .../s3/internal/endpoints/endpoints.go | 28 + .../aws-sdk-go-v2/service/s3/serializers.go | 414 + .../aws-sdk-go-v2/service/s3/types/enums.go | 44 + .../aws-sdk-go-v2/service/s3/types/errors.go | 40 +- .../aws-sdk-go-v2/service/s3/types/types.go | 235 +- .../aws-sdk-go-v2/service/s3/validators.go | 164 + .../aws-sdk-go-v2/service/signin/CHANGELOG.md | 26 + .../aws-sdk-go-v2/service/signin/LICENSE.txt | 202 + .../service/signin/api_client.go | 949 + .../signin/api_op_CreateOAuth2Token.go | 209 + .../aws/aws-sdk-go-v2/service/signin/auth.go | 351 + .../service/signin/deserializers.go | 655 + .../aws/aws-sdk-go-v2/service/signin/doc.go | 9 + .../aws-sdk-go-v2/service/signin/endpoints.go | 624 + .../service/signin/generated.json | 34 + .../service/signin/go_module_metadata.go | 6 + .../signin/internal/endpoints/endpoints.go | 333 + .../aws-sdk-go-v2/service/signin/options.go | 239 + .../service/signin/serializers.go | 135 + .../service/signin/types/enums.go | 37 + .../service/signin/types/errors.go | 151 + .../service/signin/types/types.go | 115 + .../service/signin/validators.go | 72 + .../aws-sdk-go-v2/service/sso/CHANGELOG.md | 49 + .../aws-sdk-go-v2/service/sso/api_client.go | 202 +- .../service/sso/api_op_GetRoleCredentials.go | 35 +- .../service/sso/api_op_ListAccountRoles.go | 35 +- .../service/sso/api_op_ListAccounts.go | 35 +- .../service/sso/api_op_Logout.go | 35 +- .../aws/aws-sdk-go-v2/service/sso/auth.go | 16 +- .../aws-sdk-go-v2/service/sso/endpoints.go | 27 +- .../service/sso/go_module_metadata.go | 2 +- .../sso/internal/endpoints/endpoints.go | 17 + .../service/ssooidc/CHANGELOG.md | 48 + .../service/ssooidc/api_client.go | 202 +- .../service/ssooidc/api_op_CreateToken.go | 35 +- .../ssooidc/api_op_CreateTokenWithIAM.go | 35 +- .../service/ssooidc/api_op_RegisterClient.go | 35 +- .../api_op_StartDeviceAuthorization.go | 35 +- .../aws/aws-sdk-go-v2/service/ssooidc/auth.go | 16 +- .../service/ssooidc/endpoints.go | 27 +- .../service/ssooidc/go_module_metadata.go | 2 +- .../ssooidc/internal/endpoints/endpoints.go | 17 + .../aws-sdk-go-v2/service/sts/CHANGELOG.md | 61 + .../aws-sdk-go-v2/service/sts/api_client.go | 202 +- .../service/sts/api_op_AssumeRole.go | 41 +- .../service/sts/api_op_AssumeRoleWithSAML.go | 38 +- .../sts/api_op_AssumeRoleWithWebIdentity.go | 39 +- .../service/sts/api_op_AssumeRoot.go | 53 +- .../sts/api_op_DecodeAuthorizationMessage.go | 35 +- .../service/sts/api_op_GetAccessKeyInfo.go | 35 +- .../service/sts/api_op_GetCallerIdentity.go | 35 +- .../sts/api_op_GetDelegatedAccessToken.go | 172 + .../service/sts/api_op_GetFederationToken.go | 35 +- .../service/sts/api_op_GetSessionToken.go | 35 +- .../service/sts/api_op_GetWebIdentityToken.go | 195 + .../aws/aws-sdk-go-v2/service/sts/auth.go | 16 +- .../service/sts/deserializers.go | 978 +- .../aws-sdk-go-v2/service/sts/endpoints.go | 27 +- .../aws-sdk-go-v2/service/sts/generated.json | 2 + .../service/sts/go_module_metadata.go | 2 +- .../sts/internal/endpoints/endpoints.go | 22 + .../aws-sdk-go-v2/service/sts/serializers.go | 193 + .../aws-sdk-go-v2/service/sts/types/errors.go | 117 +- .../aws-sdk-go-v2/service/sts/validators.go | 86 + vendor/github.com/aws/smithy-go/CHANGELOG.md | 19 + .../aws/smithy-go/go_module_metadata.go | 2 +- .../github.com/aws/smithy-go/metrics/nop.go | 93 +- .../aws/smithy-go/middleware/ordered_group.go | 14 +- .../aws/smithy-go/middleware/step_build.go | 185 +- .../smithy-go/middleware/step_deserialize.go | 175 +- .../aws/smithy-go/middleware/step_finalize.go | 167 +- .../smithy-go/middleware/step_initialize.go | 160 +- .../smithy-go/middleware/step_serialize.go | 166 +- .../aws/smithy-go/transport/http/metrics.go | 6 + .../mimetype/.git-blame-ignore-revs | 9 + .../gabriel-vasile/mimetype/README.md | 10 +- .../mimetype/internal/charset/charset.go | 52 +- .../mimetype/internal/json/parser.go | 5 +- .../mimetype/internal/magic/archive.go | 108 +- .../mimetype/internal/magic/audio.go | 64 +- .../mimetype/internal/magic/binary.go | 72 +- .../mimetype/internal/magic/database.go | 24 +- .../mimetype/internal/magic/document.go | 33 +- .../mimetype/internal/magic/font.go | 22 +- .../mimetype/internal/magic/ftyp.go | 103 +- .../mimetype/internal/magic/image.go | 194 +- .../mimetype/internal/magic/magic.go | 154 +- .../mimetype/internal/magic/ms_office.go | 22 +- .../mimetype/internal/magic/text.go | 265 +- .../mimetype/internal/magic/video.go | 22 +- .../mimetype/internal/magic/zip.go | 95 +- .../mimetype/internal/markup/markup.go | 34 +- .../mimetype/internal/scan/bytes.go | 81 +- .../gabriel-vasile/mimetype/mime.go | 29 +- .../gabriel-vasile/mimetype/mimetype.go | 13 +- .../mimetype/supported_mimes.md | 389 +- .../gabriel-vasile/mimetype/tree.go | 7 +- vendor/github.com/go-openapi/errors/README.md | 4 + vendor/github.com/go-openapi/errors/api.go | 23 +- vendor/github.com/go-openapi/errors/auth.go | 15 +- vendor/github.com/go-openapi/errors/doc.go | 15 +- .../github.com/go-openapi/errors/headers.go | 25 +- .../go-openapi/errors/middleware.go | 15 +- .../github.com/go-openapi/errors/parsing.go | 17 +- vendor/github.com/go-openapi/errors/schema.go | 51 +- .../go-openapi/strfmt/.golangci.yml | 2 +- vendor/github.com/go-openapi/strfmt/README.md | 13 +- vendor/github.com/go-openapi/strfmt/bson.go | 56 +- vendor/github.com/go-openapi/strfmt/date.go | 41 +- .../github.com/go-openapi/strfmt/default.go | 712 +- vendor/github.com/go-openapi/strfmt/doc.go | 15 +- .../github.com/go-openapi/strfmt/duration.go | 41 +- vendor/github.com/go-openapi/strfmt/errors.go | 3 + vendor/github.com/go-openapi/strfmt/format.go | 44 +- vendor/github.com/go-openapi/strfmt/ifaces.go | 32 + vendor/github.com/go-openapi/strfmt/mongo.go | 646 + vendor/github.com/go-openapi/strfmt/time.go | 85 +- vendor/github.com/go-openapi/strfmt/ulid.go | 35 +- .../google/pprof/profile/profile.go | 2 +- .../.release-please-manifest.json | 2 +- .../msgraph-sdk-go/CHANGELOG.md | 57 + .../microsoftgraph/msgraph-sdk-go/README.md | 4 + ...bf803dbccbeca95106249d6b21a39f82ab828fe.go | 93 + ...aaaf14ac5ca1ac169df182759e7bbbbb1c73b3c.go | 129 + .../admin/admin_request_builder.go | 5 + ...ef18223b56ca4d180e4f52be3e8642afa4819f9.go | 30 + ..._id_with_type_with_name_request_builder.go | 128 + .../admin/teams_policy_request_builder.go | 170 + ..._user_assignments_count_request_builder.go | 83 + ...tration_assign_assign_post_request_body.go | 129 + ...s_administration_assign_request_builder.go | 74 + ...administration_unassign_request_builder.go | 74 + ...policy_user_assignments_request_builder.go | 165 + ...cy_user_assignment_item_request_builder.go | 160 + .../admin/teams_request_builder.go | 170 + ...er_configurations_count_request_builder.go | 83 + ...m_user_mailbox_settings_request_builder.go | 126 + ...onfigurations_item_user_request_builder.go | 94 + ...ovisioning_errors_count_request_builder.go | 83 + ...ice_provisioning_errors_request_builder.go | 101 + ...ams_user_configurations_request_builder.go | 158 + ...user_configuration_item_request_builder.go | 168 + ...dentity_credential_item_request_builder.go | 6 +- ...ed_identity_credentials_request_builder.go | 10 +- ...y_credentials_with_name_request_builder.go | 6 +- .../item_restore_request_builder.go | 4 +- .../chats/chat_item_request_builder.go | 5 + .../chats/item_messages_request_builder.go | 6 +- ...e_all_access_for_user_post_request_body.go | 117 + ...ove_all_access_for_user_request_builder.go | 74 + ...a8b100920f380427d2ac40de294f57846b53637.go | 160 + ...fc737d856fde1a39442b4fea90d70a91f498cd6.go | 160 + ...b7b94fbdebe294123a0966cbd530ae187e564cb.go | 160 + ...32162507b1e6b48dac019bf93a108cb574f6728.go | 175 + ...67b855b4eaf3b0837ede369ee598efc6dd73bb4.go | 175 + ...c_calls_adhoc_call_item_request_builder.go | 170 + .../adhoc_calls_count_request_builder.go | 83 + ...ngs_call_recording_item_request_builder.go | 165 + ...s_item_recordings_count_request_builder.go | 83 + ...alls_item_recordings_delta_get_response.go | 92 + ...s_item_recordings_delta_request_builder.go | 116 + ...oc_calls_item_recordings_delta_response.go | 30 + ...recordings_item_content_request_builder.go | 145 + ...c_calls_item_recordings_request_builder.go | 160 + ...ts_call_transcript_item_request_builder.go | 170 + ..._item_transcripts_count_request_builder.go | 83 + ...lls_item_transcripts_delta_get_response.go | 92 + ..._item_transcripts_delta_request_builder.go | 116 + ...c_calls_item_transcripts_delta_response.go | 30 + ...ranscripts_item_content_request_builder.go | 145 + ...s_item_metadata_content_request_builder.go | 144 + ..._calls_item_transcripts_request_builder.go | 160 + .../adhoc_calls_request_builder.go | 155 + .../communications_request_builder.go | 15 + ...ac727f3f614201648ac614398dbc051180bc232.go | 160 + ...ll_online_meeting_messages_get_response.go | 92 + ...online_meeting_messages_request_builder.go | 122 + ...et_all_online_meeting_messages_response.go | 30 + ...ing_conversations_count_request_builder.go | 83 + ...ons_item_messages_count_request_builder.go | 83 + ...nversation_message_item_request_builder.go | 180 + ...sages_item_conversation_request_builder.go | 84 + ...es_item_reactions_count_request_builder.go | 83 + ...messages_item_reactions_request_builder.go | 158 + ...ages_item_replies_count_request_builder.go | 83 + ...plies_item_conversation_request_builder.go | 84 + ...es_item_reactions_count_request_builder.go | 83 + ..._replies_item_reactions_request_builder.go | 155 + ...m_replies_item_reply_to_request_builder.go | 84 + ...m_messages_item_replies_request_builder.go | 155 + ..._messages_item_reply_to_request_builder.go | 84 + ...ersations_item_messages_request_builder.go | 155 + ...meeting_attendee_report_request_builder.go | 144 + ...ons_item_online_meeting_request_builder.go | 89 + ...em_starter_conversation_request_builder.go | 84 + ...starter_reactions_count_request_builder.go | 83 + ..._item_starter_reactions_request_builder.go | 155 + ...m_starter_replies_count_request_builder.go | 83 + ...plies_item_conversation_request_builder.go | 84 + ...es_item_reactions_count_request_builder.go | 83 + ..._replies_item_reactions_request_builder.go | 155 + ...r_replies_item_reply_to_request_builder.go | 84 + ...ns_item_starter_replies_request_builder.go | 155 + ...s_item_starter_reply_to_request_builder.go | 84 + ...versations_item_starter_request_builder.go | 180 + ...ement_conversation_item_request_builder.go | 175 + ...e_meeting_conversations_request_builder.go | 155 + ...lear_automatic_location_request_builder.go | 70 + ...ces_item_clear_location_request_builder.go | 70 + ...et_automatic_location_post_request_body.go | 155 + ..._set_automatic_location_request_builder.go | 74 + ...m_set_manual_location_post_request_body.go | 155 + ...tem_set_manual_location_request_builder.go | 74 + ...presences_presence_item_request_builder.go | 20 + .../contacts/contacts_request_builder.go | 4 +- ..._premises_sync_behavior_request_builder.go | 160 + .../contacts/item_restore_request_builder.go | 4 +- .../org_contact_item_request_builder.go | 81 + .../contracts/item_restore_request_builder.go | 4 +- ...327583a118bd5572575783d99c2f5c9e5603b93.go | 23 +- ...82e1e038e31dc20ee61023ddcaca80c2d6d1e83.go | 6 +- ...026c0578479cf8d716c50dbd6968bf2a1bbaef2.go | 23 +- ...b9a43112d259deda16633e3211857ad95d36c6e.go | 6 +- ...c420cfc4dd38db3fe5674bf4483e4ef5758d895.go | 23 +- ...72e58e4ae6567f7bb2a6430b74fb05fd0e7aae7.go | 6 +- ...c022fcb434ea623386b902b9966641ed373f013.go | 23 +- ...e243d1871007e23676a403f817830b839923275.go | 6 +- ...ged_app_protection_item_request_builder.go | 23 +- ...managed_app_protections_request_builder.go | 16 +- ...6908920b0779c46f421938cd89c7b39f15603a3.go | 23 +- ...5716be9db1d8734753ea00c2df152f8e254e46f.go | 23 +- ...6c3aab15b6990cdc786a15a4d68b75c0662bad7.go | 6 +- ...ged_app_protection_item_request_builder.go | 23 +- ...managed_app_protections_request_builder.go | 16 +- .../device_app_management_request_builder.go | 2 +- ...ged_app_protection_item_request_builder.go | 23 +- ...managed_mobile_app_item_request_builder.go | 23 +- ...p_protections_item_apps_request_builder.go | 16 +- ...ctions_item_assignments_request_builder.go | 9 +- ...item_deployment_summary_request_builder.go | 16 +- ...managed_app_protections_request_builder.go | 16 +- ...licies_item_target_apps_request_builder.go | 7 +- ...managed_app_policy_item_request_builder.go | 9 +- .../managed_app_policies_request_builder.go | 9 +- ...lagged_app_registration_request_builder.go | 14 +- ...licies_item_target_apps_request_builder.go | 7 +- ...licies_item_target_apps_request_builder.go | 7 +- ...aged_app_operation_item_request_builder.go | 23 +- ...rations_item_operations_request_builder.go | 16 +- ...d_app_registration_item_request_builder.go | 9 +- ...naged_app_registrations_request_builder.go | 16 +- ...managed_app_status_item_request_builder.go | 9 +- .../managed_app_statuses_request_builder.go | 9 +- ...ged_e_books_item_assign_request_builder.go | 7 +- ..._e_book_assignment_item_request_builder.go | 23 +- ..._books_item_assignments_request_builder.go | 16 +- ...vice_install_state_item_request_builder.go | 23 +- ...ooks_item_device_states_request_builder.go | 16 +- ...ks_item_install_summary_request_builder.go | 16 +- ...item_user_state_summary_request_builder.go | 16 +- ...tall_state_summary_item_request_builder.go | 23 +- ...oks_managed_e_book_item_request_builder.go | 23 +- .../managed_e_books_request_builder.go | 16 +- ...ion_protection_policies_request_builder.go | 16 +- ...obile_app_category_item_request_builder.go | 23 +- .../mobile_app_categories_request_builder.go | 16 +- ...figurations_item_assign_request_builder.go | 7 +- ...ations_item_assignments_request_builder.go | 16 +- ...m_device_status_summary_request_builder.go | 16 +- ...ns_item_device_statuses_request_builder.go | 16 +- ...tem_user_status_summary_request_builder.go | 16 +- ...ions_item_user_statuses_request_builder.go | 16 +- ..._app_configuration_item_request_builder.go | 23 +- ...bile_app_configurations_request_builder.go | 16 +- ...ile_app_assignment_item_request_builder.go | 23 +- ...e_apps_item_assignments_request_builder.go | 16 +- ...mobile_app_content_item_request_builder.go | 6 +- ...ob_app_content_versions_request_builder.go | 6 +- ...mobile_app_content_item_request_builder.go | 6 +- ...ob_app_content_versions_request_builder.go | 6 +- ...mobile_app_content_item_request_builder.go | 6 +- ...mg_app_content_versions_request_builder.go | 6 +- ...mobile_app_content_item_request_builder.go | 6 +- ...ob_app_content_versions_request_builder.go | 6 +- ...ob_app_content_versions_request_builder.go | 6 +- ...ob_app_content_versions_request_builder.go | 6 +- ...ob_app_content_versions_request_builder.go | 6 +- ...mobile_app_content_item_request_builder.go | 6 +- ...ob_app_content_versions_request_builder.go | 6 +- ...mobile_app_content_item_request_builder.go | 6 +- ..._app_x_content_versions_request_builder.go | 6 +- ...mobile_app_content_item_request_builder.go | 6 +- ..._m_s_i_content_versions_request_builder.go | 6 +- ...ommitted_contained_apps_request_builder.go | 6 +- ..._app_x_content_versions_request_builder.go | 6 +- ...le_apps_mobile_app_item_request_builder.go | 23 +- .../mobile_apps_request_builder.go | 16 +- ...store_for_business_apps_request_builder.go | 3 - ...figurations_item_assign_request_builder.go | 7 +- ...ations_item_target_apps_request_builder.go | 7 +- ...aged_app_configurations_request_builder.go | 16 +- ..._app_configuration_item_request_builder.go | 23 +- ...kens_item_sync_licenses_request_builder.go | 3 - .../vpp_tokens_request_builder.go | 16 +- ...p_tokens_vpp_token_item_request_builder.go | 23 +- ...exempt_app_locker_files_request_builder.go | 16 +- ...ion_protection_policies_request_builder.go | 16 +- ..._protection_policy_item_request_builder.go | 23 +- ...aec38565dac24eaf1df939a3c3aab7dddf53fc6.go | 23 +- ...eaf1580b008c55861ea096df20c691c8d801299.go | 16 +- ...0c8248a81e79f6c7256f1130ba9d1a6a0dc0cd6.go | 16 +- ...d33f6d6bc37badeab58d3b20bdf289ae4b8be12.go | 6 - ...68635ef51c643b781f441572f24afbffa992e41.go | 16 +- ...49f85f16b46280e6e7e09910f0f8670c9e179ca.go | 7 +- ...878300d8d5328b5d99378457589b26283acc8a1.go | 23 +- ...d19cb7a431b6b341f7a34d0f1fadbc609f60404.go | 23 +- ...8c95b9b5914257e8275722f95d315738f0414e7.go | 23 +- ...778f4447710b79731b0d72aa21e84e7b7c8d240.go | 23 +- ...otification_certificate_request_builder.go | 16 +- ...events_audit_event_item_request_builder.go | 23 +- ...ts_get_audit_categories_request_builder.go | 14 +- .../audit_events_request_builder.go | 16 +- ...48a03542ade9ad5ddb989a30d6d0f7046c40dfe.go | 23 +- ...d6e4cf56b5947acde3b385c0d8113733dfa6e7c.go | 23 +- ...46676c34db7afa6bd4d2986a1ab8cab226e60e2.go | 23 +- ...management_partner_item_request_builder.go | 23 +- ...nce_management_partners_request_builder.go | 16 +- ...itional_access_settings_request_builder.go | 16 +- ...03a92f4e4ef96c19c819387b4e33ec2e5ef3f83.go | 23 +- ..._apps_detected_app_item_request_builder.go | 23 +- .../detected_apps_request_builder.go | 16 +- ...es_device_category_item_request_builder.go | 23 +- .../device_categories_request_builder.go | 16 +- ..._compliance_policy_item_request_builder.go | 23 +- ...ce_policies_item_assign_request_builder.go | 12 +- ..._policy_assignment_item_request_builder.go | 23 +- ...licies_item_assignments_request_builder.go | 16 +- ..._device_status_overview_request_builder.go | 16 +- ...ance_device_status_item_request_builder.go | 23 +- ...es_item_device_statuses_request_builder.go | 16 +- ...edule_actions_for_rules_request_builder.go | 7 +- ...eduled_actions_for_rule_request_builder.go | 16 +- ...em_user_status_overview_request_builder.go | 16 +- ...liance_user_status_item_request_builder.go | 23 +- ...cies_item_user_statuses_request_builder.go | 16 +- ...ice_compliance_policies_request_builder.go | 16 +- ...cy_device_state_summary_request_builder.go | 16 +- ...setting_state_summaries_request_builder.go | 16 +- ..._device_state_summaries_request_builder.go | 16 +- ...vice_configuration_item_request_builder.go | 23 +- ...figurations_item_assign_request_builder.go | 12 +- ...uration_assignment_item_request_builder.go | 23 +- ...ations_item_assignments_request_builder.go | 16 +- ...setting_state_summaries_request_builder.go | 16 +- ..._device_status_overview_request_builder.go | 16 +- ...tion_device_status_item_request_builder.go | 23 +- ...ns_item_device_statuses_request_builder.go | 16 +- ...em_user_status_overview_request_builder.go | 16 +- ...ration_user_status_item_request_builder.go | 23 +- ...ions_item_user_statuses_request_builder.go | 16 +- .../device_configurations_request_builder.go | 16 +- ...ment_configuration_item_request_builder.go | 23 +- ...figurations_item_assign_request_builder.go | 7 +- ...ations_item_assignments_request_builder.go | 16 +- ...tions_item_set_priority_request_builder.go | 7 +- ...rollment_configurations_request_builder.go | 16 +- ...management_partner_item_request_builder.go | 23 +- ...partners_item_terminate_request_builder.go | 7 +- ...ice_management_partners_request_builder.go | 16 +- .../device_management_request_builder.go | 21 +- ...exchange_connector_item_request_builder.go | 23 +- ...ge_connectors_item_sync_request_builder.go | 7 +- .../exchange_connectors_request_builder.go | 16 +- ...0d2da836067d2e960010b7576538b293618c8a0.go | 23 +- ...175896fa2c12836058902d238f42033bc0ba1af.go | 23 +- ...df9795a1626cd00298675ad3096ee1642c4c9e5.go | 23 +- ..._permissions_with_scope_request_builder.go | 6 - ...evice_identities_import_request_builder.go | 12 +- ...pilot_device_identities_request_builder.go | 16 +- ...date_device_status_item_request_builder.go | 23 +- .../ios_update_statuses_request_builder.go | 16 +- ..._bypass_activation_lock_request_builder.go | 3 - ...em_clean_windows_device_request_builder.go | 3 - ...rom_shared_apple_device_request_builder.go | 3 - ..._item_disable_lost_mode_request_builder.go | 3 - ...ices_item_locate_device_request_builder.go | 3 - ...pple_device_active_user_request_builder.go | 3 - ...devices_item_reboot_now_request_builder.go | 3 - ...s_item_recover_passcode_request_builder.go | 3 - ...evices_item_remote_lock_request_builder.go | 3 - ...quest_remote_assistance_request_builder.go | 3 - ...ces_item_reset_passcode_request_builder.go | 3 - ...ged_devices_item_retire_request_builder.go | 3 - ..._devices_item_shut_down_request_builder.go | 3 - ...evices_item_sync_device_request_builder.go | 7 +- ..._windows_device_account_request_builder.go | 7 +- ...m_windows_defender_scan_request_builder.go | 7 +- ...ender_update_signatures_request_builder.go | 7 +- ...naged_devices_item_wipe_request_builder.go | 3 - ...ces_managed_device_item_request_builder.go | 7 +- .../managed_devices_request_builder.go | 7 +- ...log_collection_requests_request_builder.go | 16 +- ...ubleshooting_event_item_request_builder.go | 23 +- ..._troubleshooting_events_request_builder.go | 16 +- ..._defense_connector_item_request_builder.go | 23 +- ...reat_defense_connectors_request_builder.go | 16 +- ...d_notification_messages_request_builder.go | 16 +- ..._item_send_test_message_request_builder.go | 3 - ...n_message_template_item_request_builder.go | 23 +- ...ation_message_templates_request_builder.go | 16 +- ...agement_export_job_item_request_builder.go | 23 +- .../reports_export_jobs_request_builder.go | 16 +- ...ports_get_cached_report_request_builder.go | 7 +- ...y_non_compliance_report_request_builder.go | 7 +- ...mpliance_summary_report_request_builder.go | 7 +- ...g_non_compliance_report_request_builder.go | 7 +- ...y_non_compliance_report_request_builder.go | 7 +- ...mpliance_summary_report_request_builder.go | 7 +- ...g_non_compliance_report_request_builder.go | 7 +- ...g_contributing_profiles_request_builder.go | 7 +- ..._intent_settings_report_request_builder.go | 7 +- ...e_non_compliance_report_request_builder.go | 7 +- ...ompliance_policy_report_request_builder.go | 7 +- ...s_get_historical_report_request_builder.go | 7 +- ...ces_and_settings_report_request_builder.go | 7 +- ...non_compliance_metadata_request_builder.go | 7 +- ...y_non_compliance_report_request_builder.go | 7 +- ...mpliance_summary_report_request_builder.go | 7 +- ...orts_get_report_filters_request_builder.go | 7 +- ...g_non_compliance_report_request_builder.go | 7 +- .../reports_request_builder.go | 16 +- .../resource_operations_request_builder.go | 16 +- ...resource_operation_item_request_builder.go | 23 +- ...nt_role_assignment_item_request_builder.go | 23 +- ...ts_item_role_definition_request_builder.go | 6 +- .../role_assignments_request_builder.go | 16 +- ...ts_item_role_definition_request_builder.go | 6 +- ...s_item_role_assignments_request_builder.go | 16 +- ...ts_role_assignment_item_request_builder.go | 23 +- .../role_definitions_request_builder.go | 16 +- ...ns_role_definition_item_request_builder.go | 23 +- ...e_update_status_summary_request_builder.go | 9 +- ...nse_management_partners_request_builder.go | 161 - ...management_partner_item_request_builder.go | 169 - ...tem_acceptance_statuses_request_builder.go | 16 +- ...itions_item_assignments_request_builder.go | 16 +- ...ditions_assignment_item_request_builder.go | 23 +- .../terms_and_conditions_request_builder.go | 16 +- ...rms_and_conditions_item_request_builder.go | 23 +- ...oud_p_cs_cloud_p_c_item_request_builder.go | 10 + ...p_cs_item_reprovision_post_request_body.go | 156 + ...d_p_cs_item_reprovision_request_builder.go | 74 + ..._cloud_pc_launch_detail_request_builder.go | 75 + ...virtual_endpoint_report_request_builder.go | 165 + ...ecommendation_reports_post_request_body.go | 395 + ..._recommendation_reports_request_builder.go | 78 + .../virtual_endpoint_request_builder.go | 11 +- ...m_assign_user_to_device_request_builder.go | 3 - ...assign_user_from_device_request_builder.go | 3 - ...pdate_device_properties_request_builder.go | 3 - ...pilot_device_identities_request_builder.go | 16 +- ...ot_device_identity_item_request_builder.go | 16 +- ..._app_learning_summaries_request_builder.go | 16 +- ...work_learning_summaries_request_builder.go | 16 +- ...m_device_malware_states_request_builder.go | 16 +- ...ows_malware_information_request_builder.go | 16 +- ...alware_information_item_request_builder.go | 23 +- .../devices/item_restore_request_builder.go | 4 +- ...eted_items_item_restore_request_builder.go | 4 +- .../item_restore_request_builder.go | 4 +- .../item_restore_request_builder.go | 4 +- .../item_restore_request_builder.go | 4 +- .../item_items_item_invite_request_builder.go | 6 +- ...item_items_item_restore_request_builder.go | 4 +- ...ms_item_retention_label_request_builder.go | 15 +- ...ns_item_restore_version_request_builder.go | 6 +- ...tem_workbook_tables_add_request_builder.go | 6 +- ...ksheets_item_tables_add_request_builder.go | 6 +- .../drives/item_recent_request_builder.go | 11 +- .../item_shared_with_me_request_builder.go | 3 + ...ad3076aad53bfdcfeb7ae5bfd00a3de355d76f5.go | 160 + ...34c27a8800951859680130002831b866e65b501.go | 83 + ...46c663d88624466b0381075617926fe04d00502.go | 5 + ...e4855238d0fd4e8044d96699e98bf9179ab9527.go | 155 + ...2101f97dbd7a48058dfbb7edb5ce515cadf8c8a.go | 160 + ...62beba240717b4dcf0614a064c6775f1b8c2c8e.go | 83 + ...c37d24abbc59b38f3930b68ea2644dbcf909d20.go | 160 + ...cae561d5b26223db596a3ed92c8559e1cad1929.go | 160 + ...c2b3271763c28bee312ff0edc174512fb898652.go | 5 + ...2adde5009a29f3e24446db8335cd561cbc7e4eb.go | 155 + ...f01984424ee0b8597b180a0dd74a7719a7497e0.go | 5 + ...a239660abf19429f8347be5278ae3c732078527.go | 160 + ...4de8c1c7c671b25882cc404f8435039691ec65a.go | 160 + ...f534a36232c3d247d1a0372c6e57c36e0dbcee4.go | 160 + ...64d531323c130c9a4b697aaee48d7f89233f7cd.go | 83 + ...439d5145c6dfaa62bcfc99191cdeb3a0c17d37b.go | 5 + ...54a91743a47b09ac6c3e90b13ed3e75609d7798.go | 160 + ...7ba62e2b14c1bf18f6a8119237b2d7bac0c7673.go | 83 + ..._default_grading_scheme_request_builder.go | 84 + ...s_grading_schemes_count_request_builder.go | 83 + ...ion_grading_scheme_item_request_builder.go | 166 + ...ettings_grading_schemes_request_builder.go | 158 + ...tem_assignment_settings_request_builder.go | 10 + ...ucation_assignment_item_request_builder.go | 5 + ...nts_item_grading_scheme_request_builder.go | 84 + ...ssignment_resource_item_request_builder.go | 5 + ...pendent_resources_count_request_builder.go | 83 + ...tem_dependent_resources_request_builder.go | 158 + ...tem_dependent_resources_request_builder.go | 158 + ...cb29ba13c371816c979bc142d62a0017b66dc6c.go | 83 + ...a139166ac10578cdde1d3d6bc886b9045901879.go | 5 + ...19ddf26ac5fcceb3f234352c3c5a306939dc1b2.go | 160 + ...ucation_assignment_item_request_builder.go | 5 + ...nts_item_grading_scheme_request_builder.go | 84 + ...ssignment_resource_item_request_builder.go | 5 + ...pendent_resources_count_request_builder.go | 83 + ...tem_dependent_resources_request_builder.go | 155 + ...ubmission_resource_item_request_builder.go | 5 + ...pendent_resources_count_request_builder.go | 83 + ...tem_dependent_resources_request_builder.go | 155 + ...tem_dependent_resources_request_builder.go | 155 + ...ng_coach_passages_count_request_builder.go | 83 + ...ding_coach_passage_item_request_builder.go | 160 + ..._reading_coach_passages_request_builder.go | 158 + .../education/reports_request_builder.go | 10 + ...nment_submissions_count_request_builder.go | 83 + ..._assignment_submissions_request_builder.go | 158 + ...ignment_submission_item_request_builder.go | 160 + ...ucation_assignment_item_request_builder.go | 5 + ...nts_item_grading_scheme_request_builder.go | 84 + ...ssignment_resource_item_request_builder.go | 5 + ...pendent_resources_count_request_builder.go | 83 + ...tem_dependent_resources_request_builder.go | 155 + ...tem_dependent_resources_request_builder.go | 155 + .../employee_experience_request_builder.go | 5 + .../roles_count_request_builder.go | 83 + ...es_engagement_role_item_request_builder.go | 165 + ...oles_item_members_count_request_builder.go | 83 + ...gement_role_member_item_request_builder.go | 168 + ...m_user_mailbox_settings_request_builder.go | 126 + ..._item_members_item_user_request_builder.go | 94 + ...ovisioning_errors_count_request_builder.go | 83 + ...ice_provisioning_errors_request_builder.go | 101 + .../roles_item_members_request_builder.go | 161 + .../roles_request_builder.go | 158 + .../graph_base_service_client.go | 2 +- .../msgraph-sdk-go/graph_request_adapter.go | 2 +- ...c627b4bd646da86b6f596a0532d2488feae4b65.go | 8 +- ...f041b04bd68dde3e1e6c349b4459fd5fee08b27.go | 8 +- .../groups/group_item_request_builder.go | 9 +- .../groups/groups_request_builder.go | 6 +- ...tions_conversation_item_request_builder.go | 10 +- ...item_threads_item_reply_request_builder.go | 6 +- ..._premises_sync_behavior_request_builder.go | 160 + .../groups/item_restore_request_builder.go | 4 +- ...onversation_thread_item_request_builder.go | 10 +- ...item_threads_item_posts_request_builder.go | 8 +- ...item_threads_item_reply_request_builder.go | 6 +- .../item_restore_request_builder.go | 4 +- ...groups_with_unique_name_request_builder.go | 4 +- ...1cecbfeae4e62a6f5abbd8a161c247b092c5a8e.go | 174 + ...2c1cb9536d555b012a3fb76f5242096cf3a65d8.go | 171 + ...ons_named_location_item_request_builder.go | 14 +- .../identity/identity_request_builder.go | 5 + ...tection_providers_count_request_builder.go | 83 + ...rotection_provider_item_request_builder.go | 169 + ...ud_protection_providers_request_builder.go | 161 + .../risk_prevention_request_builder.go | 175 + ...irewall_providers_count_request_builder.go | 83 + ...providers_item_verify_post_request_body.go | 116 + ...l_providers_item_verify_request_builder.go | 79 + ...tion_firewall_providers_request_builder.go | 161 + ...all_verifications_count_request_builder.go | 83 + ...fications_item_provider_request_builder.go | 84 + ..._firewall_verifications_request_builder.go | 158 + ...ef01e0b77d6b98ba10a3145d6df9ad09f77c65b.go | 12 +- ...330c1610d0caa9f51bcd9c7955a37b4ce618189.go | 5 + ...1813de6a801728372559e42f96807dbad80e084.go | 117 + ...976818b9354ff141f29578afce546ff128b5d9a.go | 84 + ...c780c9b2709aacdc8fb02fa7b04cd87155b9b98.go | 5 + ...04e758dbf45db9062d25f9ba115268dc1def83d.go | 74 + ...92b0b1bdafe05d971d8c2158b9cc80af16f8fb2.go | 83 + ...ec903483e817b9358c880bd6f2ec227297da1fa.go | 74 + ...e94c55a63f26eae478b859ce52112728ad4813d.go | 83 + ...9aa0425545be8134193dd8c49b879aefb9574d5.go | 84 + ...252b2628119d6787e092daa87abcc8833f97b6a.go | 6 +- ...e70eebe5023f33f6f10e3b62703771146cd4606.go | 113 + ...0a50c7a49b7396ebe35949fcc65468de4787e0c.go | 5 + ...7313d3b5e39b324859be85310066412d4a74aef.go | 6 +- ...46d71f3aa75e7f96439f1da92a6aadbc6a6297e.go | 83 + ...7bb916c727407e1f74f38202dd8278e988a0582.go | 6 +- ...1310c5a18de8716007f8fa6a7acf08625349211.go | 113 + ...814bade08d8f3694491110780640389d4e30a57.go | 83 + ...c957df70add34f53d9fdbf9bd14ed3a8c5d7640.go | 5 + ...87667adba81132fea2035abc8aff4e0c904410c.go | 117 + ...5799e30bda18b4928622ef901ffa5ad41133ae3.go | 84 + ...ges_access_package_item_request_builder.go | 8 +- ...b61b92a1c8cf9b4a0347c044eac212e865fa6a5.go | 113 + ...436f616ae786a7250517dddcc3c29336c85ec8f.go | 84 + ...ws_item_execution_scope_request_builder.go | 6 +- ..._reprocessed_runs_count_request_builder.go | 83 + ...s_item_reprocessed_runs_request_builder.go | 113 + ...processed_runs_run_item_request_builder.go | 84 + ...lows_item_runs_run_item_request_builder.go | 5 + ...workflows_workflow_item_request_builder.go | 5 + ...ws_item_execution_scope_request_builder.go | 6 +- ..._processing_result_item_request_builder.go | 6 +- ..._reprocessed_runs_count_request_builder.go | 83 + ...s_item_reprocessed_runs_request_builder.go | 113 + ...processed_runs_run_item_request_builder.go | 84 + ...ng_results_item_subject_request_builder.go | 6 +- ...lows_item_runs_run_item_request_builder.go | 5 + ...s_item_reprocessed_runs_request_builder.go | 113 + ...ng_results_item_subject_request_builder.go | 6 +- ...workflows_workflow_item_request_builder.go | 5 + ...reements_agreement_item_request_builder.go | 8 +- .../msgraph-sdk-go/kiota-dom-export.txt | 10706 +++++++++- .../msgraph-sdk-go/kiota-lock.json | 4 +- .../models/aad_user_conversation_member.go | 8 +- .../models/access_package_approval_stage.go | 18 + ...ackage_assignment_request_callback_data.go | 18 + .../access_package_dynamic_approval_stage.go | 44 + ...t_approval_stage_callback_configuration.go | 44 + .../access_review_history_definition.go | 4 +- .../models/account_target_content.go | 4 +- .../msgraph-sdk-go/models/action_item.go | 227 + .../msgraph-sdk-go/models/adhoc_call.go | 140 + ...e.go => adhoc_call_collection_response.go} | 38 +- .../models/agreement_acceptance.go | 4 +- .../msgraph-sdk-go/models/ai_agent_info.go | 79 + .../models/ai_interaction_entity.go | 247 + .../models/ai_interaction_plugin.go | 199 +- .../models/ai_online_meeting.go | 91 + .../msgraph-sdk-go/models/ai_user.go | 49 + .../akamai_attack_group_action_model.go | 190 + .../models/akamai_custom_rule_model.go | 227 + .../models/akamai_rapid_rules_model.go | 190 + .../models/akamai_verified_details_model.go | 179 + ...kamai_web_application_firewall_provider.go | 192 + .../msgraph-sdk-go/models/alert.go | 4 +- .../models/allowed_target_scope.go | 5 +- .../models/alteration_response.go | 4 +- .../models/android_compliance_policy.go | 4 +- .../models/android_store_app.go | 4 +- .../android_work_profile_compliance_policy.go | 12 +- .../apple_push_notification_certificate.go | 4 +- .../msgraph-sdk-go/models/application.go | 4 +- .../models/application_template.go | 8 +- .../applied_conditional_access_policy.go | 4 +- .../arkose_fraud_protection_provider.go | 192 + .../models/assigned_place_mode.go | 118 + ...nt_request_approval_stage_callback_data.go | 81 + .../msgraph-sdk-go/models/attachment_item.go | 4 +- .../models/attack_simulation_operation.go | 4 +- .../models/attendance_record.go | 4 +- .../attribute_definition_metadata_entry.go | 4 +- .../msgraph-sdk-go/models/authentication.go | 49 + .../models/authentication_event_listener.go | 39 + .../models/authentication_method.go | 40 + .../authentication_method_configuration.go | 4 +- ...entication_method_feature_configuration.go | 4 +- .../models/authorization_policy.go | 4 +- .../models/availability_item.go | 4 +- .../msgraph-sdk-go/models/base_map_feature.go | 107 + .../bit_locker_removable_drive_policy.go | 4 +- .../msgraph-sdk-go/models/building.go | 168 + .../models/building_collection_response.go | 91 + .../msgraph-sdk-go/models/building_map.go | 179 + .../models/calculated_column.go | 8 +- .../msgraph-sdk-go/models/calendar.go | 8 +- .../models/calendar_permission.go | 4 +- .../msgraph-sdk-go/models/call.go | 8 +- .../msgraph-sdk-go/models/call_ai_insight.go | 326 + .../models/call_ai_insight_view_point.go | 165 + .../models/call_ended_event_message_detail.go | 4 +- .../msgraph-sdk-go/models/call_event.go | 8 +- .../msgraph-sdk-go/models/call_media_state.go | 4 +- .../call_recording_event_message_detail.go | 4 +- .../call_started_event_message_detail.go | 4 +- .../models/callrecords/call_record.go | 4 +- .../models/callrecords/media_stream.go | 8 +- .../models/callrecords/session.go | 4 +- .../msgraph-sdk-go/models/channel.go | 4 +- .../msgraph-sdk-go/models/check_in_claim.go | 229 + .../check_in_claim_collection_response.go | 91 + .../msgraph-sdk-go/models/check_in_method.go | 45 + .../cloud_app_security_session_control.go | 4 +- .../models/cloud_communications.go | 99 + .../models/cloud_flare_rule_model.go | 227 + .../models/cloud_flare_ruleset_model.go | 227 + .../cloud_flare_verified_details_model.go | 179 + ...flare_web_application_firewall_provider.go | 118 + .../msgraph-sdk-go/models/cloud_p_c.go | 4 +- .../models/cloud_pc_device_image.go | 12 +- .../cloud_pc_domain_join_configuration.go | 8 +- .../models/cloud_pc_gallery_image.go | 4 +- .../models/cloud_pc_launch_detail.go | 265 + ..._pc_on_premises_connection_health_check.go | 4 +- .../models/cloud_pc_operating_system.go | 39 + .../models/cloud_pc_provisioning_policy.go | 4 +- .../cloud_pc_recommendation_report_type.go | 36 + .../msgraph-sdk-go/models/cloud_pc_report.go | 42 + .../models/cloud_pc_restore_point_setting.go | 4 +- .../models/cloud_pc_user_account_type.go | 39 + .../models/communications_guest_identity.go | 37 + .../models/communications_identity_set.go | 4 +- .../models/company_subscription.go | 4 +- .../conditional_access_condition_set.go | 16 +- .../conditional_access_external_tenants.go | 4 +- .../models/conditional_access_platforms.go | 8 +- .../msgraph-sdk-go/models/contract.go | 4 +- .../models/copilot_report_root.go | 42 + ...custom_extension_callback_configuration.go | 18 + .../models/custom_extension_data.go | 2 + .../models/custom_training_setting.go | 4 +- .../models/data_policy_operation.go | 4 +- .../msgraph-sdk-go/models/desk.go | 193 + .../models/desk_collection_response.go | 91 + .../msgraph-sdk-go/models/device.go | 12 +- .../models/device_and_app_management_data.go | 4 +- ...vice_and_app_management_role_assignment.go | 4 +- ...compliance_policy_setting_state_summary.go | 4 +- ...ent_platform_restrictions_configuration.go | 20 +- .../models/device_health_attestation_state.go | 4 +- .../models/device_management.go | 57 +- .../models/device_management_export_job.go | 28 +- .../models/device_management_reports.go | 4 +- .../msgraph-sdk-go/models/directory_audit.go | 4 +- .../msgraph-sdk-go/models/domain.go | 4 +- .../models/drop_in_place_mode.go | 44 + ...i_feedback_audience_engagement_settings.go | 227 + .../education_ai_feedback_content_settings.go | 227 + .../models/education_ai_feedback_criteria.go | 191 + ...education_ai_feedback_delivery_settings.go | 227 + .../models/education_ai_feedback_settings.go | 227 + .../models/education_assignment.go | 78 +- .../models/education_assignment_defaults.go | 8 +- .../models/education_assignment_resource.go | 49 + .../models/education_assignment_settings.go | 86 + .../msgraph-sdk-go/models/education_class.go | 4 +- .../models/education_grading_scheme.go | 165 + ...tion_grading_scheme_collection_response.go | 91 + .../models/education_grading_scheme_grade.go | 227 + .../msgraph-sdk-go/models/education_module.go | 4 +- .../models/education_organization.go | 4 +- .../models/education_resource.go | 2 + ...aker_coach_audience_engagement_settings.go | 153 + ...ducation_speaker_coach_content_settings.go | 190 + ...ucation_speaker_coach_delivery_settings.go | 264 + .../education_speaker_coach_settings.go | 227 + .../education_speaker_progress_resource.go | 377 + .../models/education_speech_type.go | 42 + .../models/education_submission.go | 4 +- .../models/education_submission_resource.go | 53 +- .../msgraph-sdk-go/models/education_user.go | 4 +- ...ail_authentication_method_configuration.go | 4 +- .../models/email_file_assessment_request.go | 4 +- .../models/emergency_call_event.go | 12 +- .../models/emergency_caller_info.go | 20 +- .../models/employee_experience.go | 49 + .../models/employee_experience_user.go | 49 + .../models/end_user_notification.go | 12 +- .../models/end_user_notification_setting.go | 8 +- .../models/engagement_conversation.go | 222 + ...agement_conversation_discussion_message.go | 45 + .../models/engagement_conversation_message.go | 449 + ...onversation_message_collection_response.go | 91 + ...ngagement_conversation_message_reaction.go | 150 + ...on_message_reaction_collection_response.go | 91 + ...ment_conversation_message_reaction_type.go | 155 + ...ngagement_conversation_moderation_state.go | 47 + ...ngagement_conversation_question_message.go | 82 + .../engagement_conversation_system_message.go | 45 + .../models/engagement_creation_mode.go | 43 + .../models/engagement_identity_set.go | 119 + .../msgraph-sdk-go/models/engagement_role.go | 129 + .../engagement_role_collection_response.go | 91 + .../models/engagement_role_member.go | 143 + ...agement_role_member_collection_response.go | 91 + .../msgraph-sdk-go/models/entity.go | 112 +- .../msgraph-sdk-go/models/event.go | 12 +- .../models/event_message_response.go | 4 +- .../models/external_authentication_method.go | 118 + ...thentication_method_collection_response.go | 91 + .../connection_operation.go | 4 +- .../externalconnectors/external_connection.go | 4 +- .../models/externalconnectors/identity.go | 4 +- .../models/externalconnectors/property.go | 4 +- .../models/fido2_authentication_method.go | 42 +- .../models/fido2_key_restrictions.go | 4 +- .../msgraph-sdk-go/models/file_hash.go | 4 +- .../msgraph-sdk-go/models/file_storage.go | 106 +- .../models/file_storage_container.go | 86 + ...torage_container_billing_classification.go | 42 + .../file_storage_container_billing_status.go | 39 + .../models/file_storage_container_type.go | 342 + ...e_storage_container_type_app_permission.go | 78 + ...age_container_type_app_permission_grant.go | 239 + ...pp_permission_grant_collection_response.go | 91 + ...rage_container_type_collection_response.go | 91 + ...ile_storage_container_type_registration.go | 391 + ...r_type_registration_collection_response.go | 91 + ...ge_container_type_registration_settings.go | 413 + .../file_storage_container_type_settings.go | 451 + ...torage_container_type_settings_override.go | 66 + .../models/filter_operator_schema.go | 4 +- .../msgraph-sdk-go/models/fixture_map.go | 81 + .../models/fixture_map_collection_response.go | 91 + .../msgraph-sdk-go/models/floor.go | 81 + .../models/floor_collection_response.go | 91 + .../msgraph-sdk-go/models/footprint_map.go | 44 + .../footprint_map_collection_response.go | 91 + .../models/fraud_protection_configuration.go | 134 + .../models/fraud_protection_provider.go | 99 + ...protection_provider_collection_response.go | 91 + ...fraud_protection_provider_configuration.go | 81 + .../msgraph-sdk-go/models/group.go | 41 +- ...uman_security_fraud_protection_provider.go | 118 + .../models/identity_container.go | 37 + .../models/identity_provider_base.go | 2 + .../msgraph-sdk-go/models/identity_set.go | 2 + .../activate_group_scope.go | 82 + .../activate_processing_result_scope.go | 131 + .../identitygovernance/activate_run_scope.go | 157 + .../identitygovernance/activate_user_scope.go | 94 + .../identitygovernance/activation_scope.go | 140 + .../activation_task_scope_type.go | 39 + .../activation_user_scope_type.go | 39 + .../models/identitygovernance/run.go | 86 + .../user_inactivity_trigger.go | 81 + .../user_processing_result.go | 53 +- .../models/identitygovernance/workflow.go | 4 +- .../workflow_execution_trigger.go | 2 + .../workflow_execution_type.go | 5 +- .../msgraph-sdk-go/models/initiator.go | 4 +- .../msgraph-sdk-go/models/invitation.go | 4 +- ...emption_identity_provider_configuration.go | 8 +- .../models/ios_compliance_policy.go | 4 +- .../ios_ddm_lob_app_assignment_settings.go | 236 - .../models/ios_minimum_operating_system.go | 32 +- .../msgraph-sdk-go/models/landing_page.go | 8 +- .../msgraph-sdk-go/models/learning_content.go | 4 +- .../models/learning_course_activity.go | 4 +- .../msgraph-sdk-go/models/level_map.go | 228 + .../models/level_map_collection_response.go | 91 + .../msgraph-sdk-go/models/list_item.go | 37 + .../msgraph-sdk-go/models/login_page.go | 8 +- .../msgraph-sdk-go/models/mac_o_s_lob_app.go | 8 +- .../mac_o_s_minimum_operating_system.go | 48 +- .../models/mail_assessment_request.go | 4 +- .../msgraph-sdk-go/models/mail_tips.go | 4 +- .../msgraph-sdk-go/models/mailbox_details.go | 190 + .../msgraph-sdk-go/models/mailbox_settings.go | 8 +- .../malware_state_for_windows_device.go | 8 +- .../managed_app_policy_deployment_summary.go | 16 +- .../models/managed_app_protection.go | 4 +- .../msgraph-sdk-go/models/managed_device.go | 38 + .../models/managed_mobile_lob_app.go | 8 +- .../msgraph-sdk-go/models/management_state.go | 83 + .../models/max_work_location_details.go | 45 + .../msgraph-sdk-go/models/meeting_note.go | 239 + .../models/meeting_note_subpoint.go | 190 + .../msgraph-sdk-go/models/mention_event.go | 228 + .../msgraph-sdk-go/models/message.go | 4 +- ...oft_authenticator_authentication_method.go | 38 - .../microsoft_custom_training_setting.go | 4 +- .../models/microsoft_managed_desktop.go | 4 +- .../microsoft_training_assignment_mapping.go | 4 +- .../msgraph-sdk-go/models/mobile_app.go | 8 +- .../models/mobile_app_assignment_settings.go | 2 - .../models/mobile_app_category.go | 4 +- .../models/mobile_app_content_file.go | 32 +- .../msgraph-sdk-go/models/mobile_lob_app.go | 8 +- .../models/mobile_threat_defense_connector.go | 44 +- .../models/network_connection.go | 12 +- .../msgraph-sdk-go/models/notebook.go | 4 +- .../models/o_auth_consent_app_detail.go | 4 +- .../object_definition_metadata_entry.go | 4 +- .../models/object_mapping_metadata_entry.go | 4 +- .../models/oidc_address_inbound_claims.go | 301 + .../models/oidc_client_authentication.go | 136 + .../oidc_client_secret_authentication.go | 81 + .../models/oidc_identity_provider.go | 304 + .../oidc_inbound_claim_mapping_override.go | 449 + ...c_private_jwt_key_client_authentication.go | 44 + .../models/oidc_response_type.go | 57 + ..._load_start_external_users_auth_handler.go | 81 + .../on_fraud_protection_load_start_handler.go | 134 + ...on_fraud_protection_load_start_listener.go | 81 + .../models/on_premises_sync_behavior.go | 79 + .../msgraph-sdk-go/models/online_meeting.go | 1 + .../models/online_meeting_base.go | 165 +- .../online_meeting_engagement_conversation.go | 225 + ...gement_conversation_collection_response.go | 91 + .../models/online_meeting_restricted.go | 8 +- ...ne_meeting_sensitivity_label_assignment.go | 153 + .../msgraph-sdk-go/models/org_contact.go | 37 + .../msgraph-sdk-go/models/participant_info.go | 4 +- .../models/partners/billing/operation.go | 4 +- .../models/password_authentication_method.go | 38 - .../msgraph-sdk-go/models/payload.go | 32 +- .../persistent_browser_session_control.go | 4 +- .../models/phone_authentication_method.go | 8 +- .../msgraph-sdk-go/models/place.go | 221 +- .../models/place_feature_enablement.go | 42 + .../msgraph-sdk-go/models/place_mode.go | 140 + .../models/planner_plan_container.go | 4 +- ...atform_credential_authentication_method.go | 46 +- .../positive_reinforcement_notification.go | 4 +- .../msgraph-sdk-go/models/presence.go | 37 + .../models/printer_capabilities.go | 8 +- .../msgraph-sdk-go/models/process.go | 4 +- .../models/process_conversation_metadata.go | 98 + .../protection_policy_artifact_count.go | 264 + .../models/protection_policy_base.go | 74 + .../models/protection_rule_base.go | 8 +- .../models/protection_rule_status.go | 8 +- .../models/protection_source.go | 57 + .../models/protection_unit_base.go | 75 + .../models/protection_unit_status.go | 11 +- .../models/provisioning_object_summary.go | 4 +- .../models/provisioning_status_info.go | 4 +- .../models/provisioning_step.go | 8 +- .../models/reading_coach_passage.go | 383 + ...ading_coach_passage_collection_response.go | 91 + .../models/reading_coach_story_type.go | 42 + .../models/registry_key_state.go | 12 +- .../remote_desktop_security_configuration.go | 4 +- .../msgraph-sdk-go/models/report.go | 4 +- .../msgraph-sdk-go/models/reports_root.go | 98 + .../models/reservable_place_mode.go | 44 + .../models/resource_access_detail.go | 414 + .../models/resource_access_status.go | 42 + .../models/resource_access_type.go | 60 + .../msgraph-sdk-go/models/resource_link.go | 228 + .../models/resource_link_type.go | 36 + .../resource_specific_permission_grant.go | 4 +- .../msgraph-sdk-go/models/response_status.go | 4 +- .../models/restore_point_search_result.go | 4 +- .../models/restore_session_base.go | 4 +- .../msgraph-sdk-go/models/risk_detection.go | 24 +- .../models/risk_prevention_container.go | 263 + .../models/risk_service_principal_activity.go | 4 +- .../models/risk_user_activity.go | 4 +- .../models/risky_service_principal.go | 4 +- .../msgraph-sdk-go/models/risky_user.go | 16 +- .../msgraph-sdk-go/models/role_assignment.go | 16 +- .../msgraph-sdk-go/models/room.go | 118 +- .../msgraph-sdk-go/models/room_list.go | 49 + .../models/schedule_change_request.go | 8 +- .../models/search/answer_variant.go | 4 +- .../msgraph-sdk-go/models/search/bookmark.go | 4 +- .../msgraph-sdk-go/models/search/qna.go | 4 +- .../msgraph-sdk-go/models/search_request.go | 4 +- .../msgraph-sdk-go/models/section.go | 44 + .../models/section_collection_response.go | 91 + .../msgraph-sdk-go/models/section_map.go | 81 + .../models/section_map_collection_response.go | 91 + .../msgraph-sdk-go/models/security/account.go | 234 + .../msgraph-sdk-go/models/security/action.go | 51 + .../active_directory_domain_evidence.go | 130 + .../models/security/ai_agent_evidence.go | 193 + .../models/security/ai_agent_platform.go | 45 + .../msgraph-sdk-go/models/security/alert.go | 50 +- .../models/security/alert_evidence.go | 4 + .../models/security/case_action.go | 5 +- .../models/security/case_operation.go | 10 +- .../models/security/data_source_container.go | 4 +- .../models/security/detection_source.go | 8 +- .../models/security/device_evidence.go | 53 +- .../ediscovery_add_to_review_set_operation.go | 16 +- .../models/security/ediscovery_case.go | 49 + .../models/security/ediscovery_case_member.go | 155 + ...scovery_case_member_collection_response.go | 92 + .../security/ediscovery_case_settings.go | 4 +- .../security/ediscovery_estimate_operation.go | 4 +- .../security/ediscovery_export_operation.go | 8 +- .../ediscovery_hold_policy_sync_operation.go | 91 + .../ediscovery_purge_data_operation.go | 49 + .../models/security/ediscovery_review_tag.go | 4 +- .../models/security/ediscovery_search.go | 4 +- .../ediscovery_search_export_operation.go | 8 +- .../google_cloud_resource_evidence.go | 4 +- .../models/security/identity_accounts.go | 295 + .../identity_accounts_collection_response.go | 92 + .../models/security/identity_container.go | 135 + .../models/security/identity_provider.go | 42 + .../models/security/incident.go | 45 +- .../models/security/investigation_state.go | 87 + .../models/security/invoke_action_result.go | 266 + .../security/kubernetes_cluster_evidence.go | 4 +- .../security/kubernetes_service_port.go | 4 +- .../mailbox_configuration_evidence.go | 24 +- .../models/security/recipient_type.go | 54 + .../msgraph-sdk-go/models/security/sensor.go | 38 + .../models/security/sensor_candidate.go | 192 + ...nsor_candidate_activation_configuration.go | 81 + .../sensor_candidate_activation_mode.go | 39 + .../sensor_candidate_collection_response.go | 92 + .../models/security/service_status.go | 51 + .../models/security/teams_message_evidence.go | 8 +- .../models/security/unified_group_source.go | 4 +- .../msgraph-sdk-go/models/security/user.go | 118 + .../models/security/user_source.go | 4 +- .../models/security_resource.go | 4 +- .../models/send_dtmf_tones_operation.go | 4 +- .../models/sensitivity_label.go | 37 + .../models/service_health_issue_post.go | 4 +- .../models/service_principal.go | 8 +- .../service_principal_risk_detection.go | 8 +- .../msgraph-sdk-go/models/setting_source.go | 8 +- .../share_point_migration_container_info.go | 227 + .../models/share_point_migration_event.go | 186 + ...int_migration_event_collection_response.go | 91 + ...ation_finish_manifest_file_upload_event.go | 79 + .../models/share_point_migration_job.go | 128 + ...are_point_migration_job_cancelled_event.go | 116 + ...point_migration_job_collection_response.go | 91 + ...share_point_migration_job_deleted_event.go | 42 + .../share_point_migration_job_error_event.go | 266 + .../share_point_migration_job_error_level.go | 45 + ...are_point_migration_job_postponed_event.go | 191 + ...hare_point_migration_job_progress_event.go | 671 + .../share_point_migration_job_queued_event.go | 42 + .../share_point_migration_job_start_event.go | 116 + .../share_point_migration_object_type.go | 60 + .../models/sharepoint_settings.go | 12 +- .../msgraph-sdk-go/models/sign_in.go | 8 +- .../sign_in_frequency_session_control.go | 4 +- .../msgraph-sdk-go/models/simulation.go | 16 +- .../models/simulation_notification.go | 4 +- .../msgraph-sdk-go/models/site_collection.go | 4 +- .../models/speaker_assignment_submission.go | 770 + ...signment_submission_collection_response.go | 91 + .../models/subject_rights_request.go | 12 +- .../models/subject_rights_request_history.go | 8 +- .../subject_rights_request_stage_detail.go | 8 +- .../msgraph-sdk-go/models/subject_set.go | 2 + .../msgraph-sdk-go/models/subscribed_sku.go | 8 +- .../models/synchronization_metadata_entry.go | 4 +- ...arget_agent_identity_sponsors_or_owners.go | 44 + .../msgraph-sdk-go/models/target_resource.go | 4 +- .../models/team_fun_settings.go | 4 +- .../models/teams_app_definition.go | 4 +- .../teamsadministration/account_type.go | 51 + .../assigned_telephone_number.go | 191 + .../assignment_category.go | 42 + .../teamsadministration/assignment_type.go | 39 + .../effective_policy_assignment.go | 190 + .../teamsadministration/policy_assignment.go | 265 + .../policy_identifier_detail.go | 117 + .../teamsadministration/teams_admin_root.go | 129 + .../teams_policy_assignment.go | 92 + .../teams_policy_user_assignment.go | 154 + ...icy_user_assignment_collection_response.go | 92 + .../teams_user_configuration.go | 445 + ..._user_configuration_collection_response.go | 92 + .../models/teamwork_activity_topic.go | 4 +- .../models/teamwork_application_identity.go | 4 +- .../models/teamwork_conversation_identity.go | 4 +- .../models/teamwork_user_identity.go | 4 +- .../telecom_expense_management_partner.go | 229 - ...orary_access_pass_authentication_method.go | 37 - .../msgraph-sdk-go/models/termstore/group.go | 4 +- .../models/termstore/relation.go | 4 +- .../models/threat_assessment_request.go | 12 +- .../models/threat_assessment_result.go | 4 +- .../msgraph-sdk-go/models/time_card.go | 4 +- .../msgraph-sdk-go/models/time_off_details.go | 190 + .../msgraph-sdk-go/models/training.go | 12 +- .../models/training_reminder_notification.go | 4 +- .../msgraph-sdk-go/models/training_setting.go | 4 +- .../models/unavailable_place_mode.go | 81 + .../msgraph-sdk-go/models/unit_map.go | 81 + .../models/unit_map_collection_response.go | 91 + ...windows_device_account_action_parameter.go | 24 +- .../msgraph-sdk-go/models/usage_rights.go | 9 +- .../msgraph-sdk-go/models/user.go | 135 + ...p_health_app_performance_by_o_s_version.go | 8 +- ...tics_app_health_application_performance.go | 8 +- ...s_app_health_device_performance_details.go | 8 +- .../models/user_registration_details.go | 8 +- .../user_registration_feature_summary.go | 8 +- .../user_registration_method_summary.go | 8 +- .../models/user_security_state.go | 12 +- .../msgraph-sdk-go/models/user_settings.go | 41 +- .../models/user_training_event_info.go | 4 +- .../models/user_training_status_info.go | 4 +- .../models/user_work_location.go | 229 + .../msgraph-sdk-go/models/virtual_endpoint.go | 37 + .../models/virtual_event_townhall.go | 4 +- .../models/virtual_event_webinar.go | 4 +- .../msgraph-sdk-go/models/vpp_token.go | 8 +- ..._application_firewall_dns_configuration.go | 302 + ...eb_application_firewall_dns_record_type.go | 36 + .../web_application_firewall_provider.go | 99 + ...n_firewall_provider_collection_response.go | 91 + .../web_application_firewall_provider_type.go | 39 + ...application_firewall_verification_model.go | 228 + ..._verification_model_collection_response.go | 91 + ...pplication_firewall_verification_result.go | 290 + ...pplication_firewall_verification_status.go | 42 + ...b_application_firewall_verified_details.go | 173 + .../msgraph-sdk-go/models/win32_lob_app.go | 52 +- .../win32_lob_app_power_shell_script_rule.go | 4 +- ...witch_compatibility_failure_reason_type.go | 39 + .../models/windows_device_a_d_account.go | 8 +- .../models/windows_device_account.go | 4 +- .../windows_device_azure_a_d_account.go | 4 +- .../models/windows_device_malware_state.go | 20 +- ...ello_for_business_authentication_method.go | 42 +- .../windows_information_protection_policy.go | 24 +- .../models/windows_malware_information.go | 8 +- .../models/windows_protection_state.go | 8 +- .../models/windows_universal_app_x.go | 24 +- ...ndows_update_for_business_configuration.go | 8 +- .../work_hours_and_locations_setting.go | 178 + .../models/work_location_source.go | 45 + .../models/work_location_type.go | 45 + .../models/work_location_update_scope.go | 39 + .../models/work_plan_occurrence.go | 265 + ...ork_plan_occurrence_collection_response.go | 91 + .../models/work_plan_recurrence.go | 228 + ...ork_plan_recurrence_collection_response.go | 91 + .../models/workbook_application.go | 4 +- .../models/workbook_named_item.go | 4 +- .../models/workbook_range_format.go | 8 +- .../msgraph-sdk-go/models/workbook_table.go | 4 +- .../models/workforce_integration.go | 8 +- .../workforce_integration_encryption.go | 4 +- .../msgraph-sdk-go/models/workspace.go | 266 + .../models/workspace_collection_response.go | 91 + ...ations_item_banner_logo_request_builder.go | 6 +- .../item_restore_request_builder.go | 4 +- ...ce_management_authority_request_builder.go | 6 - .../organization_item_request_builder.go | 8 +- .../item_restore_request_builder.go | 4 +- .../graph_building_count_request_builder.go | 83 + .../places/graph_building_request_builder.go | 104 + .../graph_desk_count_request_builder.go | 83 + .../places/graph_desk_request_builder.go | 104 + .../graph_floor_count_request_builder.go | 83 + .../places/graph_floor_request_builder.go | 104 + .../places/graph_room_request_builder.go | 6 +- .../graph_section_count_request_builder.go | 83 + .../places/graph_section_request_builder.go | 104 + .../graph_workspace_count_request_builder.go | 83 + .../places/graph_workspace_request_builder.go | 104 + ...aim_calendar_event_item_request_builder.go | 163 + .../item_check_ins_count_request_builder.go | 83 + .../places/item_check_ins_request_builder.go | 158 + .../places/item_descendants_get_response.go | 92 + .../item_descendants_request_builder.go | 116 + .../places/item_descendants_response.go | 30 + ...aim_calendar_event_item_request_builder.go | 160 + ...ilding_check_ins_count_request_builder.go} | 40 +- ...raph_building_check_ins_request_builder.go | 155 + ...ng_map_footprints_count_request_builder.go | 83 + ...ints_footprint_map_item_request_builder.go | 160 + ...building_map_footprints_request_builder.go | 158 + ...ilding_map_levels_count_request_builder.go | 83 + ...els_item_fixtures_count_request_builder.go | 83 + ...xtures_fixture_map_item_request_builder.go | 166 + ...ap_levels_item_fixtures_request_builder.go | 158 + ...els_item_sections_count_request_builder.go | 83 + ...ap_levels_item_sections_request_builder.go | 158 + ...ctions_section_map_item_request_builder.go | 160 + ...levels_item_units_count_request_builder.go | 83 + ...g_map_levels_item_units_request_builder.go | 158 + ...tem_units_unit_map_item_request_builder.go | 166 + ...p_levels_level_map_item_request_builder.go | 175 + ...aph_building_map_levels_request_builder.go | 158 + ...item_graph_building_map_request_builder.go | 176 + .../item_graph_building_request_builder.go | 97 + ...aim_calendar_event_item_request_builder.go | 160 + ...ph_desk_check_ins_count_request_builder.go | 83 + ...em_graph_desk_check_ins_request_builder.go | 155 + .../places/item_graph_desk_request_builder.go | 92 + ...aim_calendar_event_item_request_builder.go | 160 + ...h_floor_check_ins_count_request_builder.go | 83 + ...m_graph_floor_check_ins_request_builder.go | 155 + .../item_graph_floor_request_builder.go | 92 + ...aim_calendar_event_item_request_builder.go | 160 + ...ph_room_check_ins_count_request_builder.go | 83 + ...em_graph_room_check_ins_request_builder.go | 155 + ...aim_calendar_event_item_request_builder.go | 160 + ...om_list_check_ins_count_request_builder.go | 83 + ...aph_room_list_check_ins_request_builder.go | 155 + .../item_graph_room_list_request_builder.go | 10 + ...aim_calendar_event_item_request_builder.go | 160 + ...ms_item_check_ins_count_request_builder.go | 83 + ...st_rooms_item_check_ins_request_builder.go | 155 + ...om_list_rooms_room_item_request_builder.go | 5 + ...m_list_workspaces_count_request_builder.go | 83 + ...aim_calendar_event_item_request_builder.go | 160 + ...es_item_check_ins_count_request_builder.go | 83 + ...rkspaces_item_check_ins_request_builder.go | 155 + ...ph_room_list_workspaces_request_builder.go | 155 + ...rkspaces_workspace_item_request_builder.go | 165 + .../places/item_graph_room_request_builder.go | 11 +- ...aim_calendar_event_item_request_builder.go | 160 + ...section_check_ins_count_request_builder.go | 83 + ...graph_section_check_ins_request_builder.go | 155 + .../item_graph_section_request_builder.go | 92 + ...aim_calendar_event_item_request_builder.go | 160 + ...rkspace_check_ins_count_request_builder.go | 83 + ...aph_workspace_check_ins_request_builder.go | 155 + .../item_graph_workspace_request_builder.go | 92 + .../places/place_item_request_builder.go | 46 +- .../places/places_request_builder.go | 80 +- ...3d18c351da075e29582293e4c30aead391605d2.go | 23 +- ...n_method_configurations_request_builder.go | 6 +- ...dentity_synchronization_request_builder.go | 6 +- ...uration_device_activity_request_builder.go | 3 - ...iguration_user_activity_request_builder.go | 3 - .../reports/reports_request_builder.go | 16 +- ...a5ab9822883c922a70c4682c1b4595dd4880e09.go | 193 + ..._end_user_notifications_request_builder.go | 8 +- ...es_ediscovery_case_item_request_builder.go | 5 + ...item_case_members_count_request_builder.go | 83 + ...covery_case_member_item_request_builder.go | 163 + ...cases_item_case_members_request_builder.go | 161 + ...identity_accounts_count_request_builder.go | 83 + ..._identity_accounts_item_request_builder.go | 168 + ..._security_invoke_action_request_builder.go | 79 + ...ities_identity_accounts_request_builder.go | 158 + .../security/identities_request_builder.go | 15 + ...ctivation_configuration_request_builder.go | 163 + ...sensor_candidates_count_request_builder.go | 83 + ...ity_activate_activate_post_request_body.go | 122 + ...graph_security_activate_request_builder.go | 71 + ...ities_sensor_candidates_request_builder.go | 163 + ...s_sensor_candidate_item_request_builder.go | 160 + ...re_control_profile_item_request_builder.go | 4 +- .../item_restore_request_builder.go | 4 +- ...ts_item_cancel_offboard_request_builder.go | 75 + ...ion_units_item_offboard_request_builder.go | 75 + ...otection_unit_base_item_request_builder.go | 10 + ...e_apps_service_app_item_request_builder.go | 4 +- ...strations_item_sessions_request_builder.go | 6 +- ...1421e9617284c3f980f821837153ef09255e304.go | 160 + ...a4b55550e8a2aea649855838639ac665b527929.go | 169 + ...f3ac04e0b725706a7c149042bc59ad8a1821fdd.go | 160 + ...dbe6b392edb06311e8015bd2ea8c2295d9bdd0b.go | 174 + ...ype_registrations_count_request_builder.go | 83 + ...permission_grants_count_request_builder.go | 83 + ...ation_permission_grants_request_builder.go | 158 + ...iner_type_registrations_request_builder.go | 158 + ...e_container_types_count_request_builder.go | 83 + ...age_container_type_item_request_builder.go | 169 + ...storage_container_types_request_builder.go | 161 + ..._storage_container_item_request_builder.go | 16 +- ...em_migration_jobs_count_request_builder.go | 83 + ...m_progress_events_count_request_builder.go | 83 + ...bs_item_progress_events_request_builder.go | 155 + ...ers_item_migration_jobs_request_builder.go | 155 + ...oint_migration_job_item_request_builder.go | 165 + ...on_migration_containers_request_builder.go | 72 + ..._storage_container_item_request_builder.go | 16 +- ...em_migration_jobs_count_request_builder.go | 83 + ...m_progress_events_count_request_builder.go | 83 + ...bs_item_progress_events_request_builder.go | 155 + ...ers_item_migration_jobs_request_builder.go | 155 + ...oint_migration_job_item_request_builder.go | 165 + ...on_migration_containers_request_builder.go | 72 + ...rage_deleted_containers_request_builder.go | 6 +- .../storage/file_storage_request_builder.go | 10 + ...366f4988125a84bbba12acc63180be677503379.go | 8 +- ...e3743c60cc18dfd8914f9f0304b90f9e09d7130.go | 8 +- ...onversation_member_item_request_builder.go | 6 +- ...m_messages_item_replies_request_builder.go | 6 +- ...440f8d7c3855cc1d70eddc8f97f51102e6d8a10.go | 8 +- ...6ed5901c90f391fabe2a4284a6681da948924e2.go | 83 + ...68a244f5245fff7ad377bc60aa2e9d6960c511b.go | 92 + ...a7398348c2adde855739390cb806b0b639a0a54.go | 101 + ...9a61770c1e7768d39012046f7324274d2ed73c6.go | 30 + ...286b924d1e05ee6db54493540d5fedfb5e76408.go | 163 + ...66177ccdef8ba2116922f5fbdee8eaaab05fbc7.go | 8 +- ...119b168fd1a23a0df22f4f5cebf7fb3dfda6eb7.go | 8 +- ...19ed19d9b4dd5654c45db6b4eab7de4dbdf4921.go | 128 + ...c_calls_adhoc_call_item_request_builder.go | 170 + .../item_adhoc_calls_count_request_builder.go | 83 + ...ngs_call_recording_item_request_builder.go | 168 + ...s_item_recordings_count_request_builder.go | 83 + ...alls_item_recordings_delta_get_response.go | 92 + ...s_item_recordings_delta_request_builder.go | 116 + ...oc_calls_item_recordings_delta_response.go | 30 + ...recordings_item_content_request_builder.go | 148 + ...c_calls_item_recordings_request_builder.go | 160 + ...ts_call_transcript_item_request_builder.go | 173 + ..._item_transcripts_count_request_builder.go | 83 + ...lls_item_transcripts_delta_get_response.go | 92 + ..._item_transcripts_delta_request_builder.go | 116 + ...c_calls_item_transcripts_delta_response.go | 30 + ...ranscripts_item_content_request_builder.go | 148 + ...s_item_metadata_content_request_builder.go | 144 + ..._calls_item_transcripts_request_builder.go | 160 + .../users/item_adhoc_calls_request_builder.go | 155 + ...ntication_methods_count_request_builder.go | 83 + ..._authentication_methods_request_builder.go | 158 + .../item_authentication_request_builder.go | 5 + .../item_chats_chat_item_request_builder.go | 5 + ...e_all_access_for_user_post_request_body.go | 117 + ...ove_all_access_for_user_request_builder.go | 74 + ...oud_p_cs_cloud_p_c_item_request_builder.go | 200 + .../item_cloud_p_cs_count_request_builder.go | 83 + ...s_item_end_grace_period_request_builder.go | 70 + ..._cloud_p_cs_item_reboot_request_builder.go | 70 + ...loud_p_cs_item_rename_post_request_body.go | 116 + ..._cloud_p_cs_item_rename_request_builder.go | 74 + ...p_cs_item_reprovision_post_request_body.go | 156 + ...d_p_cs_item_reprovision_request_builder.go | 74 + ...loud_p_cs_item_resize_post_request_body.go | 116 + ..._cloud_p_cs_item_resize_request_builder.go | 74 + ...oud_p_cs_item_restore_post_request_body.go | 116 + ...cloud_p_cs_item_restore_request_builder.go | 74 + ..._cloud_pc_launch_detail_request_builder.go | 75 + ..._p_cs_item_troubleshoot_request_builder.go | 70 + .../users/item_cloud_p_cs_request_builder.go | 155 + ...ce_assigned_roles_count_request_builder.go | 83 + ...es_engagement_role_item_request_builder.go | 165 + ...oles_item_members_count_request_builder.go | 83 + ...gement_role_member_item_request_builder.go | 165 + ...m_user_mailbox_settings_request_builder.go | 126 + ..._item_members_item_user_request_builder.go | 94 + ...gned_roles_item_members_request_builder.go | 155 + ...perience_assigned_roles_request_builder.go | 158 + ...tem_employee_experience_request_builder.go | 5 + ...app_diagnostic_statuses_request_builder.go | 6 - ...et_managed_app_policies_request_builder.go | 6 - ...vices_with_app_failures_request_builder.go | 6 - ...ers_item_messages_delta_request_builder.go | 8 +- ...ers_item_messages_delta_request_builder.go | 8 +- ..._bypass_activation_lock_request_builder.go | 3 - ...em_clean_windows_device_request_builder.go | 3 - ...rom_shared_apple_device_request_builder.go | 3 - ..._item_disable_lost_mode_request_builder.go | 3 - ...ices_item_locate_device_request_builder.go | 3 - ...pple_device_active_user_request_builder.go | 3 - ...devices_item_reboot_now_request_builder.go | 3 - ...s_item_recover_passcode_request_builder.go | 3 - ...evices_item_remote_lock_request_builder.go | 3 - ...quest_remote_assistance_request_builder.go | 3 - ...ces_item_reset_passcode_request_builder.go | 3 - ...ged_devices_item_retire_request_builder.go | 3 - ..._devices_item_shut_down_request_builder.go | 3 - ...evices_item_sync_device_request_builder.go | 7 +- ..._windows_device_account_request_builder.go | 7 +- ...m_windows_defender_scan_request_builder.go | 7 +- ...ender_update_signatures_request_builder.go | 7 +- ...naged_devices_item_wipe_request_builder.go | 3 - .../item_messages_delta_request_builder.go | 8 +- ..._premises_sync_behavior_request_builder.go | 160 + ...ngs_call_recording_item_request_builder.go | 6 +- ...eetings_item_recordings_request_builder.go | 6 +- ...ts_call_transcript_item_request_builder.go | 6 +- ...ranscripts_item_content_request_builder.go | 4 +- ...s_item_metadata_content_request_builder.go | 4 +- ...etings_item_transcripts_request_builder.go | 6 +- ...lear_automatic_location_request_builder.go | 70 + ...presence_clear_location_request_builder.go | 70 + .../users/item_presence_request_builder.go | 20 + ...et_automatic_location_post_request_body.go | 155 + ..._set_automatic_location_request_builder.go | 74 + ...e_set_manual_location_post_request_body.go | 155 + ...nce_set_manual_location_request_builder.go | 74 + ...devices_from_management_request_builder.go | 3 - .../users/item_restore_request_builder.go | 4 +- .../users/item_settings_request_builder.go | 5 + .../item_settings_windows_request_builder.go | 6 +- ...ws_windows_setting_item_request_builder.go | 6 +- ...tions_occurrences_count_request_builder.go | 83 + ...d_locations_occurrences_request_builder.go | 160 + ..._set_current_location_post_request_body.go | 193 + ...es_set_current_location_request_builder.go | 74 + ...rk_plan_occurrence_item_request_builder.go | 160 + ...tions_recurrences_count_request_builder.go | 83 + ...d_locations_recurrences_request_builder.go | 155 + ...rk_plan_recurrence_item_request_builder.go | 160 + ...ork_hours_and_locations_request_builder.go | 141 + ...strations_by_device_tag_request_builder.go | 3 - .../users/user_item_request_builder.go | 25 +- .../users/users_request_builder.go | 8 +- ...ith_user_principal_name_request_builder.go | 10 +- vendor/github.com/onsi/gomega/CHANGELOG.md | 15 + .../github.com/onsi/gomega/format/format.go | 26 +- vendor/github.com/onsi/gomega/gomega_dsl.go | 2 +- vendor/github.com/onsi/gomega/matchers.go | 22 +- .../onsi/gomega/matchers/have_key_matcher.go | 2 +- .../matchers/have_key_with_value_matcher.go | 2 +- .../matchers/match_error_strictly_matcher.go | 39 + .../matchers/support/goraph/edge/edge.go | 13 +- .../pkg/cmd/cmdrun/runsuite.go | 41 +- .../pkg/cmd/cmdrun/runtest.go | 5 +- .../pkg/extension/extensiontests/result.go | 56 + .../extension/extensiontests/result_writer.go | 53 +- .../pkg/extension/extensiontests/spec.go | 66 +- .../pkg/extension/extensiontests/types.go | 12 +- .../pkg/extension/extensiontests/viewer.html | 1520 ++ .../pkg/extension/types.go | 3 + .../pkg/ginkgo/logging.go | 6 +- .../openshift/api/.ci-operator.yaml | 2 +- .../github.com/openshift/api/.coderabbit.yaml | 29 + .../openshift/api/.golangci.go-validated.yaml | 1 + .../github.com/openshift/api/.golangci.yaml | 36 +- vendor/github.com/openshift/api/AGENTS.md | 23 + .../github.com/openshift/api/Dockerfile.ocp | 4 +- vendor/github.com/openshift/api/Makefile | 14 +- .../openshift/api/apiextensions/install.go | 26 + .../api/apiextensions/v1alpha1/Makefile | 3 + .../api/apiextensions/v1alpha1/doc.go | 8 + .../api/apiextensions/v1alpha1/register.go | 39 + .../types_compatibilityrequirement.go | 388 + .../v1alpha1/zz_generated.deepcopy.go | 254 + ..._generated.featuregated-crd-manifests.yaml | 24 + .../zz_generated.swagger_doc_generated.go | 129 + .../api/config/v1/types_apiserver.go | 1 + .../api/config/v1/types_authentication.go | 346 +- .../config/v1/types_cluster_image_policy.go | 2 +- .../api/config/v1/types_cluster_version.go | 71 +- .../openshift/api/config/v1/types_feature.go | 9 +- .../api/config/v1/types_image_policy.go | 26 +- .../api/config/v1/types_infrastructure.go | 240 +- .../openshift/api/config/v1/types_insights.go | 1 + .../openshift/api/config/v1/types_network.go | 4 +- .../openshift/api/config/v1/types_node.go | 1 - .../api/config/v1/types_scheduling.go | 4 +- .../api/config/v1/types_tlssecurityprofile.go | 181 +- .../api/config/v1/zz_generated.deepcopy.go | 311 +- ..._generated.featuregated-crd-manifests.yaml | 14 +- .../v1/zz_generated.swagger_doc_generated.go | 204 +- .../openshift/api/config/v1alpha1/register.go | 2 + .../api/config/v1alpha1/types_backup.go | 3 +- .../v1alpha1/types_cluster_image_policy.go | 2 +- .../v1alpha1/types_cluster_monitoring.go | 105 +- .../types_crio_credential_provider_config.go | 186 + .../api/config/v1alpha1/types_image_policy.go | 24 +- .../api/config/v1alpha1/types_insights.go | 1 + .../config/v1alpha1/zz_generated.deepcopy.go | 328 +- ..._generated.featuregated-crd-manifests.yaml | 31 +- .../zz_generated.swagger_doc_generated.go | 140 +- .../api/config/v1alpha2/types_insights.go | 1 + ..._generated.featuregated-crd-manifests.yaml | 2 +- .../openshift/api/console/v1/types.go | 4 +- .../api/console/v1/types_console_sample.go | 4 +- .../v1/zz_generated.swagger_doc_generated.go | 2 +- .../openshift/api/envtest-releases.yaml | 13 + .../github.com/openshift/api/etcd/README.md | 211 + .../github.com/openshift/api/etcd/install.go | 26 + .../openshift/api/etcd/v1alpha1/Makefile | 3 + .../openshift/api/etcd/v1alpha1/doc.go | 6 + .../openshift/api/etcd/v1alpha1/register.go | 39 + .../etcd/v1alpha1/types_pacemakercluster.go | 736 + .../etcd/v1alpha1/zz_generated.deepcopy.go | 210 + ..._generated.featuregated-crd-manifests.yaml | 23 + .../zz_generated.swagger_doc_generated.go | 89 + vendor/github.com/openshift/api/features.md | 222 +- vendor/github.com/openshift/api/install.go | 4 + .../v1/types_controlplanemachineset.go | 3 +- ..._generated.featuregated-crd-manifests.yaml | 1 - .../api/machine/v1beta1/types_awsprovider.go | 168 +- .../api/machine/v1beta1/types_gcpprovider.go | 16 + .../api/machine/v1beta1/types_machine.go | 21 + .../api/machine/v1beta1/types_machineset.go | 9 + .../machine/v1beta1/zz_generated.deepcopy.go | 115 +- .../zz_generated.swagger_doc_generated.go | 53 +- .../api/operator/v1/types_console.go | 11 +- .../operator/v1/types_csi_cluster_driver.go | 1 - .../api/operator/v1/types_ingress.go | 108 +- .../operator/v1/types_machineconfiguration.go | 3 +- .../api/operator/v1/types_network.go | 6 +- .../0000_12_etcd_01_etcds-OKD.crd.yaml | 331 + ...e-apiserver_01_kubeapiservers-OKD.crd.yaml | 335 + .../0000_50_console_01_consoles.crd.yaml | 7 +- ...clustercsidrivers-CustomNoUpgrade.crd.yaml | 1 - ...iver_01_clustercsidrivers-Default.crd.yaml | 1 - ...tercsidrivers-DevPreviewNoUpgrade.crd.yaml | 1 - ...i-driver_01_clustercsidrivers-OKD.crd.yaml | 488 + ...ercsidrivers-TechPreviewNoUpgrade.crd.yaml | 1 - ..._50_ingress_00_ingresscontrollers.crd.yaml | 221 +- .../0000_70_network_01_networks.crd.yaml | 14 +- ...ineconfigurations-CustomNoUpgrade.crd.yaml | 17 +- ..._01_machineconfigurations-Default.crd.yaml | 12 + ...onfigurations-DevPreviewNoUpgrade.crd.yaml | 17 +- ...nfig_01_machineconfigurations-OKD.crd.yaml | 1265 ++ ...nfigurations-TechPreviewNoUpgrade.crd.yaml | 252 + .../api/operator/v1/zz_generated.deepcopy.go | 5 + ..._generated.featuregated-crd-manifests.yaml | 5 +- .../v1/zz_generated.swagger_doc_generated.go | 8 +- .../api/operator/v1alpha1/register.go | 2 + .../api/operator/v1alpha1/types_clusterapi.go | 229 + .../v1alpha1/zz_generated.deepcopy.go | 168 + ..._generated.featuregated-crd-manifests.yaml | 24 + .../zz_generated.swagger_doc_generated.go | 73 + .../config/v1/acceptrisk.go | 23 + .../config/v1/awsplatformstatus.go | 13 + .../config/v1/azureplatformstatus.go | 9 + .../config/v1/baremetalplatformstatus.go | 9 + .../config/v1/clusterimagepolicyspec.go | 6 +- .../config/v1/clusterversionstatus.go | 30 +- .../config/v1/conditionalupdate.go | 11 + .../config/v1/conditionalupdaterisk.go | 18 + .../config/v1/gcpplatformstatus.go | 14 - .../config/v1/gcpserviceendpoint.go | 36 - ...magepolicyfulciocawithrekorrootoftrust.go} | 16 +- .../{pki.go => imagepolicypkirootoftrust.go} | 16 +- ....go => imagepolicypublickeyrootoftrust.go} | 14 +- .../config/v1/imagepolicyspec.go | 6 +- ....go => imagesigstoreverificationpolicy.go} | 14 +- .../config/v1/nutanixplatformstatus.go | 13 + .../config/v1/oidcprovider.go | 14 + .../config/v1/openstackplatformstatus.go | 9 + .../config/v1/ovirtplatformstatus.go | 13 + .../config/v1/policyrootoftrust.go | 14 +- .../config/v1/tokenclaimvalidationcelrule.go | 32 + .../config/v1/tokenclaimvalidationrule.go | 13 +- .../config/v1/tokenissuer.go | 9 + .../config/v1/tokenuservalidationrule.go | 32 + .../applyconfigurations/config/v1/update.go | 14 + .../config/v1/vsphereplatformstatus.go | 9 + .../config/v1alpha1/clusterimagepolicyspec.go | 6 +- .../config/v1alpha1/clustermonitoringspec.go | 15 +- .../v1alpha1/criocredentialproviderconfig.go | 263 + .../criocredentialproviderconfigspec.go | 29 + .../criocredentialproviderconfigstatus.go | 32 + ...magepolicyfulciocawithrekorrootoftrust.go} | 16 +- .../{pki.go => imagepolicypkirootoftrust.go} | 16 +- ....go => imagepolicypublickeyrootoftrust.go} | 14 +- .../config/v1alpha1/imagepolicyspec.go | 6 +- ....go => imagesigstoreverificationpolicy.go} | 14 +- .../config/v1alpha1/policyrootoftrust.go | 14 +- .../v1alpha1/prometheusoperatorconfig.go | 79 + .../applyconfigurations/internal/internal.go | 381 +- .../typed/config/v1alpha1/config_client.go | 5 + .../v1alpha1/criocredentialproviderconfig.go | 62 + .../config/v1alpha1/generated_expansion.go | 2 + .../v1alpha1/criocredentialproviderconfig.go | 85 + .../config/v1alpha1/interface.go | 7 + .../informers/externalversions/generic.go | 2 + .../v1alpha1/criocredentialproviderconfig.go | 32 + .../config/v1alpha1/expansion_generated.go | 4 + .../applyconfigurations/internal/internal.go | 52 + .../operator/v1/ingresscontrollerspec.go | 45 +- .../v1/ingresscontrollertuningoptions.go | 9 + .../openshift/library-go/pkg/crypto/crypto.go | 83 +- .../pkg/operator/certrotation/signer.go | 2 +- .../resource/resourceapply/generic.go | 2 +- .../resource/resourceapply/networking.go | 16 +- .../resource/resourceapply/storage.go | 54 +- .../github.com/sirupsen/logrus/.golangci.yml | 95 +- .../github.com/sirupsen/logrus/CHANGELOG.md | 4 +- vendor/github.com/sirupsen/logrus/README.md | 126 +- .../github.com/sirupsen/logrus/appveyor.yml | 16 +- vendor/github.com/sirupsen/logrus/entry.go | 25 +- vendor/github.com/sirupsen/logrus/hooks.go | 8 +- vendor/github.com/sirupsen/logrus/logger.go | 34 +- vendor/github.com/sirupsen/logrus/logrus.go | 20 +- .../sirupsen/logrus/terminal_check_bsd.go | 2 +- .../sirupsen/logrus/terminal_check_unix.go | 2 + .../sirupsen/logrus/terminal_check_wasi.go | 8 + .../sirupsen/logrus/terminal_check_wasip1.go | 8 + .../sirupsen/logrus/text_formatter.go | 3 +- vendor/github.com/spf13/cobra/.golangci.yml | 7 + vendor/github.com/spf13/cobra/command.go | 12 +- .../go.opentelemetry.io/otel/.codespellignore | 1 + vendor/go.opentelemetry.io/otel/.golangci.yml | 7 + vendor/go.opentelemetry.io/otel/.lycheeignore | 6 +- vendor/go.opentelemetry.io/otel/CHANGELOG.md | 110 +- .../go.opentelemetry.io/otel/CONTRIBUTING.md | 458 +- vendor/go.opentelemetry.io/otel/Makefile | 3 +- vendor/go.opentelemetry.io/otel/README.md | 11 +- vendor/go.opentelemetry.io/otel/RELEASING.md | 54 +- vendor/go.opentelemetry.io/otel/VERSIONING.md | 2 +- .../otel/attribute/encoder.go | 2 +- .../otel/attribute/hash.go | 92 + .../otel/attribute/internal/attribute.go | 12 +- .../otel/attribute/internal/xxhash/xxhash.go | 64 + .../go.opentelemetry.io/otel/attribute/set.go | 147 +- .../otel/attribute/type_string.go | 5 +- .../otel/attribute/value.go | 3 +- .../otel/baggage/baggage.go | 16 +- .../otel/dependencies.Dockerfile | 2 +- .../otel/internal/global/instruments.go | 56 + .../otel/internal/global/meter.go | 30 +- vendor/go.opentelemetry.io/otel/metric.go | 2 +- .../otel/metric/asyncfloat64.go | 6 +- .../otel/metric/asyncint64.go | 6 +- .../go.opentelemetry.io/otel/metric/config.go | 38 +- .../go.opentelemetry.io/otel/metric/meter.go | 6 +- .../otel/metric/noop/noop.go | 24 + .../otel/metric/syncfloat64.go | 24 + .../otel/metric/syncint64.go | 24 + .../otel/propagation/trace_context.go | 2 +- .../otel/sdk/internal/x/features.go | 39 + .../otel/sdk/internal/x/x.go | 46 +- .../otel/sdk/metric/doc.go | 16 + .../metric/exemplar/fixed_size_reservoir.go | 170 +- .../metric/exemplar/histogram_reservoir.go | 20 +- .../otel/sdk/metric/exemplar/storage.go | 61 +- .../otel/sdk/metric/instrument.go | 3 - .../otel/sdk/metric/instrumentkind_string.go | 5 +- .../metric/internal/aggregate/aggregate.go | 21 +- .../sdk/metric/internal/aggregate/atomic.go | 275 + .../aggregate/exponential_histogram.go | 46 +- .../internal/aggregate/filtered_reservoir.go | 28 +- .../metric/internal/aggregate/histogram.go | 394 +- .../metric/internal/aggregate/lastvalue.go | 228 +- .../sdk/metric/internal/aggregate/limit.go | 2 +- .../otel/sdk/metric/internal/aggregate/sum.go | 241 +- .../metric/internal/observ/instrumentation.go | 168 + .../internal/reservoir/concurrent_safe.go | 11 + .../otel/sdk/metric/internal/reservoir/doc.go | 6 + .../otel/sdk/metric/internal/x/README.md | 100 - .../otel/sdk/metric/internal/x/x.go | 65 - .../otel/sdk/metric/manual_reader.go | 41 +- .../metric/metricdata/temporality_string.go | 5 +- .../otel/sdk/metric/periodic_reader.go | 34 +- .../otel/sdk/metric/pipeline.go | 16 +- .../otel/sdk/metric/reader.go | 32 +- .../otel/sdk/metric/version.go | 2 +- .../otel/sdk/resource/builtin.go | 2 +- .../otel/sdk/resource/container.go | 2 +- .../otel/sdk/resource/env.go | 2 +- .../otel/sdk/resource/host_id.go | 9 +- .../otel/sdk/resource/host_id_bsd.go | 1 - .../otel/sdk/resource/host_id_linux.go | 1 - .../otel/sdk/resource/host_id_unsupported.go | 1 - .../otel/sdk/resource/host_id_windows.go | 1 - .../otel/sdk/resource/os.go | 2 +- .../otel/sdk/resource/os_release_unix.go | 1 - .../otel/sdk/resource/os_unix.go | 1 - .../otel/sdk/resource/os_unsupported.go | 1 - .../otel/sdk/resource/process.go | 2 +- .../go.opentelemetry.io/otel/sdk/version.go | 2 +- .../otel/semconv/v1.37.0/error_type.go | 47 +- .../otel/semconv/v1.37.0/httpconv/metric.go | 189 +- .../otel/semconv/v1.37.0/rpcconv/metric.go | 194 +- .../otel/semconv/v1.39.0/MIGRATION.md | 78 + .../otel/semconv/v1.39.0/README.md | 3 + .../otel/semconv/v1.39.0/attribute_group.go | 16239 ++++++++++++++++ .../otel/semconv/v1.39.0/doc.go | 9 + .../otel/semconv/v1.39.0/error_type.go | 56 + .../otel/semconv/v1.39.0/exception.go | 9 + .../otel/semconv/v1.39.0/otelconv/metric.go | 2222 +++ .../otel/semconv/v1.39.0/schema.go | 9 + vendor/go.opentelemetry.io/otel/trace/auto.go | 2 +- .../go.opentelemetry.io/otel/trace/config.go | 45 +- vendor/go.opentelemetry.io/otel/trace/span.go | 4 + vendor/go.opentelemetry.io/otel/version.go | 2 +- vendor/go.opentelemetry.io/otel/versions.yaml | 30 +- .../x/crypto/chacha20/chacha_arm64.s | 2 +- .../chacha20poly1305_amd64.go | 10 +- .../chacha20poly1305_generic.go | 10 +- vendor/golang.org/x/crypto/sha3/doc.go | 66 - vendor/golang.org/x/crypto/sha3/hashes.go | 131 +- .../golang.org/x/crypto/sha3/hashes_noasm.go | 23 - .../golang.org/x/crypto/sha3/keccakf_amd64.go | 13 - .../golang.org/x/crypto/sha3/keccakf_amd64.s | 5419 ------ .../x/crypto/sha3/{sha3.go => legacy_hash.go} | 49 +- .../sha3/{keccakf.go => legacy_keccakf.go} | 6 +- vendor/golang.org/x/crypto/sha3/sha3_s390x.go | 303 - vendor/golang.org/x/crypto/sha3/sha3_s390x.s | 33 - vendor/golang.org/x/crypto/sha3/shake.go | 172 +- .../golang.org/x/crypto/sha3/shake_noasm.go | 15 - vendor/golang.org/x/mod/module/module.go | 6 +- vendor/golang.org/x/mod/semver/semver.go | 4 +- vendor/golang.org/x/oauth2/deviceauth.go | 31 +- vendor/golang.org/x/oauth2/google/default.go | 131 +- vendor/golang.org/x/oauth2/google/google.go | 5 +- vendor/golang.org/x/oauth2/oauth2.go | 2 +- vendor/golang.org/x/oauth2/pkce.go | 2 +- vendor/golang.org/x/oauth2/token.go | 2 +- vendor/golang.org/x/oauth2/transport.go | 2 +- vendor/golang.org/x/sync/errgroup/errgroup.go | 4 +- vendor/golang.org/x/sys/cpu/cpu.go | 3 - vendor/golang.org/x/sys/cpu/cpu_arm64.go | 20 +- vendor/golang.org/x/sys/cpu/cpu_arm64.s | 7 - vendor/golang.org/x/sys/cpu/cpu_gc_arm64.go | 1 - .../golang.org/x/sys/cpu/cpu_gccgo_arm64.go | 1 - .../golang.org/x/sys/cpu/cpu_netbsd_arm64.go | 2 +- .../golang.org/x/sys/cpu/cpu_openbsd_arm64.go | 2 +- vendor/golang.org/x/sys/cpu/cpu_x86.go | 174 +- vendor/golang.org/x/sys/unix/mkerrors.sh | 3 +- vendor/golang.org/x/sys/unix/zerrors_linux.go | 2 + .../x/sys/unix/zerrors_linux_386.go | 2 + .../x/sys/unix/zerrors_linux_amd64.go | 2 + .../x/sys/unix/zerrors_linux_arm.go | 2 + .../x/sys/unix/zerrors_linux_arm64.go | 2 + .../x/sys/unix/zerrors_linux_loong64.go | 2 + .../x/sys/unix/zerrors_linux_mips.go | 2 + .../x/sys/unix/zerrors_linux_mips64.go | 2 + .../x/sys/unix/zerrors_linux_mips64le.go | 2 + .../x/sys/unix/zerrors_linux_mipsle.go | 2 + .../x/sys/unix/zerrors_linux_ppc.go | 2 + .../x/sys/unix/zerrors_linux_ppc64.go | 2 + .../x/sys/unix/zerrors_linux_ppc64le.go | 2 + .../x/sys/unix/zerrors_linux_riscv64.go | 2 + .../x/sys/unix/zerrors_linux_s390x.go | 2 + .../x/sys/unix/zerrors_linux_sparc64.go | 2 + .../x/sys/unix/ztypes_netbsd_arm.go | 2 +- .../x/text/encoding/japanese/eucjp.go | 6 +- .../x/text/encoding/japanese/iso2022jp.go | 6 +- .../x/text/encoding/japanese/shiftjis.go | 6 +- .../x/text/encoding/korean/euckr.go | 6 +- .../x/text/encoding/simplifiedchinese/gbk.go | 20 +- .../encoding/simplifiedchinese/hzgb2312.go | 6 +- .../text/encoding/traditionalchinese/big5.go | 6 +- .../x/text/encoding/unicode/unicode.go | 6 +- .../x/tools/go/ast/astutil/imports.go | 19 +- .../x/tools/go/ast/inspector/cursor.go | 27 +- .../x/tools/go/packages/packages.go | 41 +- .../golang.org/x/tools/go/packages/visit.go | 2 +- .../x/tools/go/types/objectpath/objectpath.go | 4 +- .../x/tools/go/types/typeutil/callee.go | 1 + .../x/tools/go/types/typeutil/map.go | 3 +- vendor/golang.org/x/tools/imports/forward.go | 6 + .../x/tools/internal/event/core/export.go | 15 +- .../x/tools/internal/event/label/label.go | 12 +- .../x/tools/internal/gcimporter/bimport.go | 2 +- .../x/tools/internal/gcimporter/iexport.go | 36 +- .../x/tools/internal/gcimporter/iimport.go | 60 +- .../x/tools/internal/imports/sortimports.go | 23 +- .../x/tools/internal/modindex/index.go | 11 +- .../x/tools/internal/modindex/lookup.go | 8 +- .../x/tools/internal/stdlib/deps.go | 778 +- .../x/tools/internal/stdlib/import.go | 8 + .../x/tools/internal/stdlib/manifest.go | 654 +- .../x/tools/internal/stdlib/stdlib.go | 2 +- .../x/tools/internal/typeparams/normalize.go | 6 +- .../internal/typesinternal/classify_call.go | 2 +- .../x/tools/internal/typesinternal/element.go | 4 +- .../x/tools/internal/typesinternal/fx.go | 57 +- .../x/tools/internal/typesinternal/isnamed.go | 4 +- .../tools/internal/typesinternal/qualifier.go | 2 +- .../x/tools/internal/typesinternal/types.go | 4 +- .../x/tools/internal/typesinternal/varkind.go | 39 +- .../internal/typesinternal/varkind_go124.go | 39 + .../tools/internal/typesinternal/zerovalue.go | 14 +- .../x/tools/internal/versions/features.go | 7 +- vendor/modules.txt | 150 +- 2430 files changed, 169060 insertions(+), 45718 deletions(-) create mode 100644 vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/developer_credential_util_nonwindows.go create mode 100644 vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/developer_credential_util_windows.go delete mode 100644 vendor/github.com/asaskevich/govalidator/.gitignore delete mode 100644 vendor/github.com/asaskevich/govalidator/.travis.yml delete mode 100644 vendor/github.com/asaskevich/govalidator/CODE_OF_CONDUCT.md delete mode 100644 vendor/github.com/asaskevich/govalidator/CONTRIBUTING.md delete mode 100644 vendor/github.com/asaskevich/govalidator/LICENSE delete mode 100644 vendor/github.com/asaskevich/govalidator/README.md delete mode 100644 vendor/github.com/asaskevich/govalidator/arrays.go delete mode 100644 vendor/github.com/asaskevich/govalidator/converter.go delete mode 100644 vendor/github.com/asaskevich/govalidator/doc.go delete mode 100644 vendor/github.com/asaskevich/govalidator/error.go delete mode 100644 vendor/github.com/asaskevich/govalidator/numerics.go delete mode 100644 vendor/github.com/asaskevich/govalidator/patterns.go delete mode 100644 vendor/github.com/asaskevich/govalidator/types.go delete mode 100644 vendor/github.com/asaskevich/govalidator/utils.go delete mode 100644 vendor/github.com/asaskevich/govalidator/validator.go delete mode 100644 vendor/github.com/asaskevich/govalidator/wercker.yml create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/credentials/logincreds/dpop.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/credentials/logincreds/file.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/credentials/logincreds/provider.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/credentials/logincreds/token.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateConnectionFunction.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateTrustStore.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteConnectionFunction.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteResourcePolicy.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteTrustStore.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DescribeConnectionFunction.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetConnectionFunction.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetResourcePolicy.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetTrustStore.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListConnectionFunctions.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByConnectionFunction.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByOwnedResource.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByTrustStore.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListTrustStores.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_PublishConnectionFunction.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_PutResourcePolicy.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_TestConnectionFunction.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateAnycastIpList.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateConnectionFunction.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateTrustStore.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AcceptDelegationRequest.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AssociateDelegationRequest.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateDelegationRequest.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DisableOutboundWebIdentityFederation.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableOutboundWebIdentityFederation.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetDelegationRequest.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetHumanReadableSummary.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetOutboundWebIdentityFederationInfo.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListDelegationRequests.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RejectDelegationRequest.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SendDelegationToken.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateDelegationRequest.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAbac.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAbac.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UpdateObjectEncryption.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/signin/CHANGELOG.md create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/signin/LICENSE.txt create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/signin/api_client.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/signin/api_op_CreateOAuth2Token.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/signin/auth.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/signin/deserializers.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/signin/doc.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/signin/endpoints.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/signin/generated.json create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/signin/go_module_metadata.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/signin/internal/endpoints/endpoints.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/signin/options.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/signin/serializers.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/signin/types/enums.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/signin/types/errors.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/signin/types/types.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/signin/validators.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_GetDelegatedAccessToken.go create mode 100644 vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_GetWebIdentityToken.go create mode 100644 vendor/github.com/gabriel-vasile/mimetype/.git-blame-ignore-revs create mode 100644 vendor/github.com/go-openapi/strfmt/ifaces.go create mode 100644 vendor/github.com/go-openapi/strfmt/mongo.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/0571fb090ce7bb2897528d9cebf803dbccbeca95106249d6b21a39f82ab828fe.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/164aed3bc89e8d8330720ba5eaaaf14ac5ca1ac169df182759e7bbbbb1c73b3c.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/c189e09914d5d49efeae72fd3ef18223b56ca4d180e4f52be3e8642afa4819f9.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_microsoft_graph_teams_administration_get_policy_id_with_type_with_name_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_user_assignments_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_user_assignments_microsoft_graph_teams_administration_assign_assign_post_request_body.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_user_assignments_microsoft_graph_teams_administration_assign_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_user_assignments_microsoft_graph_teams_administration_unassign_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_user_assignments_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_user_assignments_teams_policy_user_assignment_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_user_configurations_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_user_configurations_item_user_mailbox_settings_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_user_configurations_item_user_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_user_configurations_item_user_service_provisioning_errors_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_user_configurations_item_user_service_provisioning_errors_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_user_configurations_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_user_configurations_teams_user_configuration_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/chats/item_remove_all_access_for_user_post_request_body.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/chats/item_remove_all_access_for_user_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/16b05c28daa64a3c314f18b1da8b100920f380427d2ac40de294f57846b53637.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/7faab7cc70a10cbbdda06898cfc737d856fde1a39442b4fea90d70a91f498cd6.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/8945eae3814b6721d6b572182b7b94fbdebe294123a0966cbd530ae187e564cb.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/8c6d5f1a79253b51a08b71f5c32162507b1e6b48dac019bf93a108cb574f6728.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/997fdbba6e2a2a8eb363e91d267b855b4eaf3b0837ede369ee598efc6dd73bb4.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_adhoc_call_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_recordings_call_recording_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_recordings_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_recordings_delta_get_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_recordings_delta_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_recordings_delta_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_recordings_item_content_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_recordings_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_call_transcript_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_delta_get_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_delta_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_delta_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_item_content_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_item_metadata_content_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/dcd3e82c3c52f1e6a1b645cd0ac727f3f614201648ac614398dbc051180bc232.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/get_all_online_meeting_messages_get_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/get_all_online_meeting_messages_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/get_all_online_meeting_messages_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_engagement_conversation_message_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_conversation_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_reactions_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_reactions_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_replies_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_replies_item_conversation_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_replies_item_reactions_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_replies_item_reactions_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_replies_item_reply_to_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_replies_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_reply_to_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_online_meeting_attendee_report_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_online_meeting_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_conversation_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_reactions_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_reactions_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_replies_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_replies_item_conversation_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_replies_item_reactions_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_replies_item_reactions_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_replies_item_reply_to_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_replies_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_reply_to_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_online_meeting_engagement_conversation_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/presences_item_clear_automatic_location_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/presences_item_clear_location_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/presences_item_set_automatic_location_post_request_body.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/presences_item_set_automatic_location_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/presences_item_set_manual_location_post_request_body.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/presences_item_set_manual_location_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/contacts/item_on_premises_sync_behavior_request_builder.go delete mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/telecom_expense_management_partners_request_builder.go delete mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/telecom_expense_management_partners_telecom_expense_management_partner_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_cloud_p_cs_item_reprovision_post_request_body.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_cloud_p_cs_item_reprovision_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_cloud_p_cs_item_retrieve_cloud_pc_launch_detail_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_report_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_report_retrieve_cloud_pc_recommendation_reports_post_request_body.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_report_retrieve_cloud_pc_recommendation_reports_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/04e99c49d974d40f640fff77ead3076aad53bfdcfeb7ae5bfd00a3de355d76f5.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/143c919c5b85e3d0e0b0aa4ab34c27a8800951859680130002831b866e65b501.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/2e12d9c5e81e87b8c30436af9e4855238d0fd4e8044d96699e98bf9179ab9527.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/32e8fb5eae9c4660d2bfae4662101f97dbd7a48058dfbb7edb5ce515cadf8c8a.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/3b3bca76cda33d407697382f762beba240717b4dcf0614a064c6775f1b8c2c8e.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/44f3d8bee759019778b05c0b7c37d24abbc59b38f3930b68ea2644dbcf909d20.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/4f374120386be267007525df2cae561d5b26223db596a3ed92c8559e1cad1929.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/6e8dd1b32ed3bef8de3ffe27f2adde5009a29f3e24446db8335cd561cbc7e4eb.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/a58d17107b986c5723dc6a4c7a239660abf19429f8347be5278ae3c732078527.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/ab0a796be9a119c86f6823b8b4de8c1c7c671b25882cc404f8435039691ec65a.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/b11e773318a1eff1acfd1752bf534a36232c3d247d1a0372c6e57c36e0dbcee4.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/b251699963e0498362db6bf7f64d531323c130c9a4b697aaee48d7f89233f7cd.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/c5146ccb25bbc7e58055ddd7054a91743a47b09ac6c3e90b13ed3e75609d7798.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/ca6fc83cbecaf361e0b12863b7ba62e2b14c1bf18f6a8119237b2d7bac0c7673.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignment_settings_default_grading_scheme_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignment_settings_grading_schemes_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignment_settings_grading_schemes_education_grading_scheme_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignment_settings_grading_schemes_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignments_item_grading_scheme_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignments_item_resources_item_dependent_resources_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignments_item_resources_item_dependent_resources_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/e0bec69dd9a8b86cb2f846678cb29ba13c371816c979bc142d62a0017b66dc6c.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/e5af2c6859376105a79831fed19ddf26ac5fcceb3f234352c3c5a306939dc1b2.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_grading_scheme_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_resources_item_dependent_resources_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_resources_item_dependent_resources_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_submissions_item_resources_item_dependent_resources_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_submissions_item_submitted_resources_item_dependent_resources_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/reports_reading_coach_passages_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/reports_reading_coach_passages_reading_coach_passage_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/reports_reading_coach_passages_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/reports_speaker_assignment_submissions_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/reports_speaker_assignment_submissions_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/reports_speaker_assignment_submissions_speaker_assignment_submission_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/users_item_assignments_item_grading_scheme_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/users_item_assignments_item_resources_item_dependent_resources_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/users_item_assignments_item_resources_item_dependent_resources_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/education/users_item_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_engagement_role_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_item_members_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_item_members_engagement_role_member_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_item_members_item_user_mailbox_settings_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_item_members_item_user_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_item_members_item_user_service_provisioning_errors_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_item_members_item_user_service_provisioning_errors_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_item_members_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/item_on_premises_sync_behavior_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/1ad89f3282f96c433e2918a0e1cecbfeae4e62a6f5abbd8a161c247b092c5a8e.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/98c7954170e54421effc068d92c1cb9536d555b012a3fb76f5242096cf3a65d8.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_fraud_protection_providers_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_fraud_protection_providers_fraud_protection_provider_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_fraud_protection_providers_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_web_application_firewall_providers_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_web_application_firewall_providers_item_verify_post_request_body.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_web_application_firewall_providers_item_verify_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_web_application_firewall_providers_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_web_application_firewall_verifications_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_web_application_firewall_verifications_item_provider_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_web_application_firewall_verifications_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/182f7f5246014b11138a2b5891813de6a801728372559e42f96807dbad80e084.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/1f5bcd4b070e0f4c969a9947d976818b9354ff141f29578afce546ff128b5d9a.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/2a87cbfe9ed2a21a59532bfa904e758dbf45db9062d25f9ba115268dc1def83d.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/3e51efae1b0d5a1efc4a538ca92b0b1bdafe05d971d8c2158b9cc80af16f8fb2.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/42ed9c2906f3b4be9b81f85b8ec903483e817b9358c880bd6f2ec227297da1fa.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/4515c5cc5d1e5e99849ce4265e94c55a63f26eae478b859ce52112728ad4813d.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/4964c729489bbd6afb35e351a9aa0425545be8134193dd8c49b879aefb9574d5.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/614a92c93db6cffc31793b6a4e70eebe5023f33f6f10e3b62703771146cd4606.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/9fcdfe310e2ac70c3f9363d4e46d71f3aa75e7f96439f1da92a6aadbc6a6297e.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/b91ea341b7779ba84b579528a1310c5a18de8716007f8fa6a7acf08625349211.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/d3237c8f4f5f05f5c6cd9f99d814bade08d8f3694491110780640389d4e30a57.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/edd1e4f5ab88e10431ba7300e87667adba81132fea2035abc8aff4e0c904410c.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/ee42bef9fd32e813c2a6987b25799e30bda18b4928622ef901ffa5ad41133ae3.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/f2fd846d75b23a919394cd98eb61b92a1c8cf9b4a0347c044eac212e865fa6a5.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/f677578cf23594f46d304650d436f616ae786a7250517dddcc3c29336c85ec8f.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_reprocessed_runs_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_reprocessed_runs_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_reprocessed_runs_run_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_runs_item_reprocessed_runs_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_runs_item_reprocessed_runs_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_runs_item_reprocessed_runs_run_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_reprocessed_runs_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/access_package_dynamic_approval_stage.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/access_package_request_approval_stage_callback_configuration.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/action_item.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/adhoc_call.go rename vendor/github.com/microsoftgraph/msgraph-sdk-go/models/{telecom_expense_management_partner_collection_response.go => adhoc_call_collection_response.go} (52%) create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ai_agent_info.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ai_interaction_entity.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ai_online_meeting.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/akamai_attack_group_action_model.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/akamai_custom_rule_model.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/akamai_rapid_rules_model.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/akamai_verified_details_model.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/akamai_web_application_firewall_provider.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/arkose_fraud_protection_provider.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/assigned_place_mode.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/assignment_request_approval_stage_callback_data.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/base_map_feature.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/building.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/building_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/building_map.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call_ai_insight.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call_ai_insight_view_point.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/check_in_claim.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/check_in_claim_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/check_in_method.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_flare_rule_model.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_flare_ruleset_model.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_flare_verified_details_model.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_flare_web_application_firewall_provider.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_launch_detail.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_operating_system.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_recommendation_report_type.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_report.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_user_account_type.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/copilot_report_root.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/desk.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/desk_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/drop_in_place_mode.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_ai_feedback_audience_engagement_settings.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_ai_feedback_content_settings.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_ai_feedback_criteria.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_ai_feedback_delivery_settings.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_ai_feedback_settings.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_grading_scheme.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_grading_scheme_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_grading_scheme_grade.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_speaker_coach_audience_engagement_settings.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_speaker_coach_content_settings.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_speaker_coach_delivery_settings.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_speaker_coach_settings.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_speaker_progress_resource.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_speech_type.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_discussion_message.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_message.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_message_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_message_reaction.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_message_reaction_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_message_reaction_type.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_moderation_state.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_question_message.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_system_message.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_creation_mode.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_identity_set.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_role.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_role_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_role_member.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_role_member_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/external_authentication_method.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/external_authentication_method_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_billing_classification.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_billing_status.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_app_permission.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_app_permission_grant.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_app_permission_grant_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_registration.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_registration_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_registration_settings.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_settings.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_settings_override.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fixture_map.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fixture_map_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/floor.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/floor_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/footprint_map.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/footprint_map_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fraud_protection_configuration.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fraud_protection_provider.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fraud_protection_provider_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fraud_protection_provider_configuration.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/human_security_fraud_protection_provider.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/activate_group_scope.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/activate_processing_result_scope.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/activate_run_scope.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/activate_user_scope.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/activation_scope.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/activation_task_scope_type.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/activation_user_scope_type.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/user_inactivity_trigger.go delete mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ios_ddm_lob_app_assignment_settings.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/level_map.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/level_map_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mailbox_details.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/management_state.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/max_work_location_details.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/meeting_note.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/meeting_note_subpoint.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mention_event.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/oidc_address_inbound_claims.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/oidc_client_authentication.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/oidc_client_secret_authentication.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/oidc_identity_provider.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/oidc_inbound_claim_mapping_override.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/oidc_private_jwt_key_client_authentication.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/oidc_response_type.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/on_fraud_protection_load_start_external_users_auth_handler.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/on_fraud_protection_load_start_handler.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/on_fraud_protection_load_start_listener.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/on_premises_sync_behavior.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/online_meeting_engagement_conversation.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/online_meeting_engagement_conversation_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/online_meeting_sensitivity_label_assignment.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/place_feature_enablement.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/place_mode.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/protection_policy_artifact_count.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/protection_source.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/reading_coach_passage.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/reading_coach_passage_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/reading_coach_story_type.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/reservable_place_mode.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/resource_access_detail.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/resource_access_status.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/resource_access_type.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/resource_link.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/resource_link_type.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/risk_prevention_container.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/section.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/section_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/section_map.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/section_map_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/account.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/action.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/active_directory_domain_evidence.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/ai_agent_evidence.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/ai_agent_platform.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/ediscovery_case_member.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/ediscovery_case_member_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/ediscovery_hold_policy_sync_operation.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/identity_accounts.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/identity_accounts_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/identity_provider.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/investigation_state.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/invoke_action_result.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/recipient_type.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/sensor_candidate.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/sensor_candidate_activation_configuration.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/sensor_candidate_activation_mode.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/sensor_candidate_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/service_status.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/user.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_container_info.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_event.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_event_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_finish_manifest_file_upload_event.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_cancelled_event.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_deleted_event.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_error_event.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_error_level.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_postponed_event.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_progress_event.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_queued_event.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_start_event.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_object_type.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/speaker_assignment_submission.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/speaker_assignment_submission_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/target_agent_identity_sponsors_or_owners.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/account_type.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/assigned_telephone_number.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/assignment_category.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/assignment_type.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/effective_policy_assignment.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/policy_assignment.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/policy_identifier_detail.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/teams_admin_root.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/teams_policy_assignment.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/teams_policy_user_assignment.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/teams_policy_user_assignment_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/teams_user_configuration.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/teams_user_configuration_collection_response.go delete mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/telecom_expense_management_partner.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/time_off_details.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/unavailable_place_mode.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/unit_map.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/unit_map_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_work_location.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_dns_configuration.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_dns_record_type.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_provider.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_provider_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_provider_type.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_verification_model.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_verification_model_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_verification_result.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_verification_status.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_verified_details.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows365_switch_compatibility_failure_reason_type.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_hours_and_locations_setting.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_location_source.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_location_type.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_location_update_scope.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_plan_occurrence.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_plan_occurrence_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_plan_recurrence.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_plan_recurrence_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workspace.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workspace_collection_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_building_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_building_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_desk_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_desk_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_floor_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_floor_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_section_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_section_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_workspace_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_workspace_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_check_ins_check_in_claim_calendar_event_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_check_ins_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_check_ins_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_descendants_get_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_descendants_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_descendants_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_check_ins_check_in_claim_calendar_event_item_request_builder.go rename vendor/github.com/microsoftgraph/msgraph-sdk-go/{devicemanagement/telecom_expense_management_partners_count_request_builder.go => places/item_graph_building_check_ins_count_request_builder.go} (53%) create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_check_ins_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_footprints_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_footprints_footprint_map_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_footprints_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_fixtures_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_fixtures_fixture_map_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_fixtures_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_sections_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_sections_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_sections_section_map_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_units_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_units_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_units_unit_map_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_level_map_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_desk_check_ins_check_in_claim_calendar_event_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_desk_check_ins_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_desk_check_ins_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_desk_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_floor_check_ins_check_in_claim_calendar_event_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_floor_check_ins_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_floor_check_ins_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_floor_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_check_ins_check_in_claim_calendar_event_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_check_ins_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_check_ins_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_check_ins_check_in_claim_calendar_event_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_check_ins_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_check_ins_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_rooms_item_check_ins_check_in_claim_calendar_event_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_rooms_item_check_ins_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_rooms_item_check_ins_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_workspaces_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_workspaces_item_check_ins_check_in_claim_calendar_event_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_workspaces_item_check_ins_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_workspaces_item_check_ins_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_workspaces_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_workspaces_workspace_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_section_check_ins_check_in_claim_calendar_event_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_section_check_ins_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_section_check_ins_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_section_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_workspace_check_ins_check_in_claim_calendar_event_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_workspace_check_ins_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_workspace_check_ins_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_workspace_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/security/3e6dd4298b145f0e988553223a5ab9822883c922a70c4682c1b4595dd4880e09.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/security/cases_ediscovery_cases_item_case_members_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/security/cases_ediscovery_cases_item_case_members_ediscovery_case_member_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/security/cases_ediscovery_cases_item_case_members_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_identity_accounts_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_identity_accounts_identity_accounts_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_identity_accounts_item_microsoft_graph_security_invoke_action_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_identity_accounts_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_sensor_candidate_activation_configuration_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_sensor_candidates_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_sensor_candidates_microsoft_graph_security_activate_activate_post_request_body.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_sensor_candidates_microsoft_graph_security_activate_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_sensor_candidates_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_sensor_candidates_sensor_candidate_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/solutions/backup_restore_protection_units_item_cancel_offboard_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/solutions/backup_restore_protection_units_item_offboard_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/9767929cc88fd32282cc357421421e9617284c3f980f821837153ef09255e304.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/b68932475f58a9a22b0bffc34a4b55550e8a2aea649855838639ac665b527929.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/f2e908a58a99264de8bf28948f3ac04e0b725706a7c149042bc59ad8a1821fdd.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/f99dea7ff82b9fb85f9e4a34cdbe6b392edb06311e8015bd2ea8c2295d9bdd0b.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_container_type_registrations_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_container_type_registrations_item_application_permission_grants_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_container_type_registrations_item_application_permission_grants_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_container_type_registrations_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_container_types_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_container_types_file_storage_container_type_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_container_types_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_containers_item_migration_jobs_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_containers_item_migration_jobs_item_progress_events_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_containers_item_migration_jobs_item_progress_events_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_containers_item_migration_jobs_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_containers_item_migration_jobs_share_point_migration_job_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_containers_item_provision_migration_containers_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_item_migration_jobs_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_item_migration_jobs_item_progress_events_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_item_migration_jobs_item_progress_events_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_item_migration_jobs_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_item_migration_jobs_share_point_migration_job_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_item_provision_migration_containers_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/0271799332b7d4b408248af586ed5901c90f391fabe2a4284a6681da948924e2.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/092e90d7619737d992c7966e068a244f5245fff7ad377bc60aa2e9d6960c511b.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/8191353b2afdf95791f830110a7398348c2adde855739390cb806b0b639a0a54.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/8b0aaf99e5bad865513e9d25f9a61770c1e7768d39012046f7324274d2ed73c6.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/9060a1b0ba7002b5abed6f47d286b924d1e05ee6db54493540d5fedfb5e76408.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/ec60ae41866c70634c76e050f19ed19d9b4dd5654c45db6b4eab7de4dbdf4921.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_adhoc_call_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_recordings_call_recording_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_recordings_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_recordings_delta_get_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_recordings_delta_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_recordings_delta_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_recordings_item_content_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_recordings_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_call_transcript_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_delta_get_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_delta_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_delta_response.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_item_content_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_item_metadata_content_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_authentication_external_authentication_methods_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_authentication_external_authentication_methods_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_chats_item_remove_all_access_for_user_post_request_body.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_chats_item_remove_all_access_for_user_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_cloud_p_c_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_end_grace_period_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_reboot_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_rename_post_request_body.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_rename_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_reprovision_post_request_body.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_reprovision_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_resize_post_request_body.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_resize_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_restore_post_request_body.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_restore_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_retrieve_cloud_pc_launch_detail_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_troubleshoot_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_engagement_role_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_item_members_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_item_members_engagement_role_member_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_item_members_item_user_mailbox_settings_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_item_members_item_user_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_item_members_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_on_premises_sync_behavior_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_presence_clear_automatic_location_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_presence_clear_location_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_presence_set_automatic_location_post_request_body.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_presence_set_automatic_location_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_presence_set_manual_location_post_request_body.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_presence_set_manual_location_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_occurrences_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_occurrences_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_occurrences_set_current_location_post_request_body.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_occurrences_set_current_location_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_occurrences_work_plan_occurrence_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_recurrences_count_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_recurrences_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_recurrences_work_plan_recurrence_item_request_builder.go create mode 100644 vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_request_builder.go create mode 100644 vendor/github.com/onsi/gomega/matchers/match_error_strictly_matcher.go create mode 100644 vendor/github.com/openshift-eng/openshift-tests-extension/pkg/extension/extensiontests/viewer.html create mode 100644 vendor/github.com/openshift/api/.coderabbit.yaml create mode 100644 vendor/github.com/openshift/api/apiextensions/install.go create mode 100644 vendor/github.com/openshift/api/apiextensions/v1alpha1/Makefile create mode 100644 vendor/github.com/openshift/api/apiextensions/v1alpha1/doc.go create mode 100644 vendor/github.com/openshift/api/apiextensions/v1alpha1/register.go create mode 100644 vendor/github.com/openshift/api/apiextensions/v1alpha1/types_compatibilityrequirement.go create mode 100644 vendor/github.com/openshift/api/apiextensions/v1alpha1/zz_generated.deepcopy.go create mode 100644 vendor/github.com/openshift/api/apiextensions/v1alpha1/zz_generated.featuregated-crd-manifests.yaml create mode 100644 vendor/github.com/openshift/api/apiextensions/v1alpha1/zz_generated.swagger_doc_generated.go create mode 100644 vendor/github.com/openshift/api/config/v1alpha1/types_crio_credential_provider_config.go create mode 100644 vendor/github.com/openshift/api/etcd/README.md create mode 100644 vendor/github.com/openshift/api/etcd/install.go create mode 100644 vendor/github.com/openshift/api/etcd/v1alpha1/Makefile create mode 100644 vendor/github.com/openshift/api/etcd/v1alpha1/doc.go create mode 100644 vendor/github.com/openshift/api/etcd/v1alpha1/register.go create mode 100644 vendor/github.com/openshift/api/etcd/v1alpha1/types_pacemakercluster.go create mode 100644 vendor/github.com/openshift/api/etcd/v1alpha1/zz_generated.deepcopy.go create mode 100644 vendor/github.com/openshift/api/etcd/v1alpha1/zz_generated.featuregated-crd-manifests.yaml create mode 100644 vendor/github.com/openshift/api/etcd/v1alpha1/zz_generated.swagger_doc_generated.go create mode 100644 vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_12_etcd_01_etcds-OKD.crd.yaml create mode 100644 vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_20_kube-apiserver_01_kubeapiservers-OKD.crd.yaml create mode 100644 vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_50_csi-driver_01_clustercsidrivers-OKD.crd.yaml create mode 100644 vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfigurations-OKD.crd.yaml create mode 100644 vendor/github.com/openshift/api/operator/v1alpha1/types_clusterapi.go create mode 100644 vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/acceptrisk.go delete mode 100644 vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/gcpserviceendpoint.go rename vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/{fulciocawithrekor.go => imagepolicyfulciocawithrekorrootoftrust.go} (57%) rename vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/{pki.go => imagepolicypkirootoftrust.go} (65%) rename vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/{publickey.go => imagepolicypublickeyrootoftrust.go} (54%) rename vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/{policy.go => imagesigstoreverificationpolicy.go} (52%) create mode 100644 vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/tokenclaimvalidationcelrule.go create mode 100644 vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/tokenuservalidationrule.go create mode 100644 vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/criocredentialproviderconfig.go create mode 100644 vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/criocredentialproviderconfigspec.go create mode 100644 vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/criocredentialproviderconfigstatus.go rename vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/{fulciocawithrekor.go => imagepolicyfulciocawithrekorrootoftrust.go} (57%) rename vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/{pki.go => imagepolicypkirootoftrust.go} (65%) rename vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/{publickey.go => imagepolicypublickeyrootoftrust.go} (54%) rename vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/{policy.go => imagesigstoreverificationpolicy.go} (52%) create mode 100644 vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/prometheusoperatorconfig.go create mode 100644 vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1alpha1/criocredentialproviderconfig.go create mode 100644 vendor/github.com/openshift/client-go/config/informers/externalversions/config/v1alpha1/criocredentialproviderconfig.go create mode 100644 vendor/github.com/openshift/client-go/config/listers/config/v1alpha1/criocredentialproviderconfig.go create mode 100644 vendor/github.com/sirupsen/logrus/terminal_check_wasi.go create mode 100644 vendor/github.com/sirupsen/logrus/terminal_check_wasip1.go create mode 100644 vendor/go.opentelemetry.io/otel/attribute/hash.go create mode 100644 vendor/go.opentelemetry.io/otel/attribute/internal/xxhash/xxhash.go create mode 100644 vendor/go.opentelemetry.io/otel/sdk/internal/x/features.go create mode 100644 vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/atomic.go create mode 100644 vendor/go.opentelemetry.io/otel/sdk/metric/internal/observ/instrumentation.go create mode 100644 vendor/go.opentelemetry.io/otel/sdk/metric/internal/reservoir/concurrent_safe.go create mode 100644 vendor/go.opentelemetry.io/otel/sdk/metric/internal/reservoir/doc.go delete mode 100644 vendor/go.opentelemetry.io/otel/sdk/metric/internal/x/README.md delete mode 100644 vendor/go.opentelemetry.io/otel/sdk/metric/internal/x/x.go create mode 100644 vendor/go.opentelemetry.io/otel/semconv/v1.39.0/MIGRATION.md create mode 100644 vendor/go.opentelemetry.io/otel/semconv/v1.39.0/README.md create mode 100644 vendor/go.opentelemetry.io/otel/semconv/v1.39.0/attribute_group.go create mode 100644 vendor/go.opentelemetry.io/otel/semconv/v1.39.0/doc.go create mode 100644 vendor/go.opentelemetry.io/otel/semconv/v1.39.0/error_type.go create mode 100644 vendor/go.opentelemetry.io/otel/semconv/v1.39.0/exception.go create mode 100644 vendor/go.opentelemetry.io/otel/semconv/v1.39.0/otelconv/metric.go create mode 100644 vendor/go.opentelemetry.io/otel/semconv/v1.39.0/schema.go delete mode 100644 vendor/golang.org/x/crypto/sha3/doc.go delete mode 100644 vendor/golang.org/x/crypto/sha3/hashes_noasm.go delete mode 100644 vendor/golang.org/x/crypto/sha3/keccakf_amd64.go delete mode 100644 vendor/golang.org/x/crypto/sha3/keccakf_amd64.s rename vendor/golang.org/x/crypto/sha3/{sha3.go => legacy_hash.go} (83%) rename vendor/golang.org/x/crypto/sha3/{keccakf.go => legacy_keccakf.go} (98%) delete mode 100644 vendor/golang.org/x/crypto/sha3/sha3_s390x.go delete mode 100644 vendor/golang.org/x/crypto/sha3/sha3_s390x.s delete mode 100644 vendor/golang.org/x/crypto/sha3/shake_noasm.go create mode 100644 vendor/golang.org/x/tools/internal/typesinternal/varkind_go124.go diff --git a/go.mod b/go.mod index 277ce842b7..44597733fa 100644 --- a/go.mod +++ b/go.mod @@ -6,24 +6,24 @@ require ( cloud.google.com/go/iam v1.5.3 cloud.google.com/go/storage v1.57.0 github.com/AlecAivazis/survey/v2 v2.3.7 - github.com/Azure/azure-sdk-for-go/sdk/azcore v1.19.1 - github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.13.0 + github.com/Azure/azure-sdk-for-go/sdk/azcore v1.21.0 + github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.13.1 github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/authorization/armauthorization/v2 v2.2.0 github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/msi/armmsi v1.3.0 github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v1.2.0 github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage v1.8.1 - github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.6.3 + github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.6.4 github.com/Azure/go-autorest/autorest v0.11.30 github.com/Azure/go-autorest/autorest/adal v0.9.24 - github.com/IBM/go-sdk-core/v5 v5.21.0 - github.com/IBM/platform-services-go-sdk v0.89.0 - github.com/aws/aws-sdk-go-v2 v1.39.3 - github.com/aws/aws-sdk-go-v2/config v1.31.13 - github.com/aws/aws-sdk-go-v2/credentials v1.18.17 - github.com/aws/aws-sdk-go-v2/service/cloudfront v1.55.1 - github.com/aws/aws-sdk-go-v2/service/iam v1.47.8 - github.com/aws/aws-sdk-go-v2/service/s3 v1.88.5 - github.com/aws/smithy-go v1.23.1 + github.com/IBM/go-sdk-core/v5 v5.21.2 + github.com/IBM/platform-services-go-sdk v0.94.2 + github.com/aws/aws-sdk-go-v2 v1.41.1 + github.com/aws/aws-sdk-go-v2/config v1.32.7 + github.com/aws/aws-sdk-go-v2/credentials v1.19.7 + github.com/aws/aws-sdk-go-v2/service/cloudfront v1.60.0 + github.com/aws/aws-sdk-go-v2/service/iam v1.53.2 + github.com/aws/aws-sdk-go-v2/service/s3 v1.96.0 + github.com/aws/smithy-go v1.24.0 github.com/go-bindata/go-bindata v3.1.2+incompatible github.com/go-jose/go-jose/v4 v4.1.3 github.com/go-logr/logr v1.4.3 @@ -33,24 +33,24 @@ require ( github.com/google/go-github/v57 v57.0.0 github.com/google/uuid v1.6.0 github.com/microsoft/kiota-authentication-azure-go v1.3.1 - github.com/microsoftgraph/msgraph-sdk-go v1.87.0 + github.com/microsoftgraph/msgraph-sdk-go v1.95.0 github.com/nutanix-cloud-native/prism-go-client v0.2.1-0.20220804130801-c8a253627c64 - github.com/onsi/ginkgo/v2 v2.27.2 - github.com/onsi/gomega v1.38.2 - github.com/openshift-eng/openshift-tests-extension v0.0.0-20251024155203-c498f9efe478 - github.com/openshift/api v0.0.0-20251021124544-a2cb0c5d994d - github.com/openshift/build-machinery-go v0.0.0-20251020112516-49aa9f5db6d8 - github.com/openshift/client-go v0.0.0-20251015124057-db0dee36e235 - github.com/openshift/library-go v0.0.0-20251021141706-f489e811f030 + github.com/onsi/ginkgo/v2 v2.28.1 + github.com/onsi/gomega v1.39.1 + github.com/openshift-eng/openshift-tests-extension v0.0.0-20260127124016-0fed2b824818 + github.com/openshift/api v0.0.0-20260213204242-d34f11c515b3 + github.com/openshift/build-machinery-go v0.0.0-20251023084048-5d77c1a5e5af + github.com/openshift/client-go v0.0.0-20260213141500-06efc6dce93b + github.com/openshift/library-go v0.0.0-20260213153706-03f1709971c5 github.com/pkg/errors v0.9.1 github.com/prometheus/client_golang v1.23.2 - github.com/sirupsen/logrus v1.9.3 - github.com/spf13/cobra v1.10.1 + github.com/sirupsen/logrus v1.9.4 + github.com/spf13/cobra v1.10.2 github.com/spf13/pflag v1.0.10 github.com/stretchr/testify v1.11.1 github.com/tidwall/gjson v1.18.0 - golang.org/x/mod v0.29.0 - golang.org/x/oauth2 v0.32.0 + golang.org/x/mod v0.33.0 + golang.org/x/oauth2 v0.35.0 golang.org/x/time v0.14.0 google.golang.org/api v0.252.0 google.golang.org/genproto v0.0.0-20251020155222-88f65dc88635 @@ -83,25 +83,25 @@ require ( github.com/Azure/go-autorest/autorest/mocks v0.4.3 // indirect github.com/Azure/go-autorest/logger v0.2.2 // indirect github.com/Azure/go-autorest/tracing v0.6.1 // indirect - github.com/AzureAD/microsoft-authentication-library-for-go v1.5.0 // indirect + github.com/AzureAD/microsoft-authentication-library-for-go v1.6.0 // indirect github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.30.0 // indirect github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.54.0 // indirect github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.54.0 // indirect github.com/antlr4-go/antlr/v4 v4.13.0 // indirect - github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect - github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.2 // indirect - github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.10 // indirect - github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.10 // indirect - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.10 // indirect + github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.4 // indirect + github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.17 // indirect + github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.17 // indirect + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.17 // indirect github.com/aws/aws-sdk-go-v2/internal/ini v1.8.4 // indirect - github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.10 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.2 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.1 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.10 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.10 // indirect - github.com/aws/aws-sdk-go-v2/service/sso v1.29.7 // indirect - github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.2 // indirect - github.com/aws/aws-sdk-go-v2/service/sts v1.38.7 // indirect + github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.17 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.4 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.8 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.17 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.17 // indirect + github.com/aws/aws-sdk-go-v2/service/signin v1.0.5 // indirect + github.com/aws/aws-sdk-go-v2/service/sso v1.30.9 // indirect + github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.13 // indirect + github.com/aws/aws-sdk-go-v2/service/sts v1.41.6 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/blang/semver/v4 v4.0.0 // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect @@ -117,12 +117,12 @@ require ( github.com/felixge/httpsnoop v1.0.4 // indirect github.com/fsnotify/fsnotify v1.9.0 // indirect github.com/fxamacker/cbor/v2 v2.9.0 // indirect - github.com/gabriel-vasile/mimetype v1.4.10 // indirect + github.com/gabriel-vasile/mimetype v1.4.11 // indirect github.com/go-logr/stdr v1.2.2 // indirect - github.com/go-openapi/errors v0.22.3 // indirect + github.com/go-openapi/errors v0.22.4 // indirect github.com/go-openapi/jsonpointer v0.22.1 // indirect github.com/go-openapi/jsonreference v0.21.2 // indirect - github.com/go-openapi/strfmt v0.24.0 // indirect + github.com/go-openapi/strfmt v0.25.0 // indirect github.com/go-openapi/swag v0.25.1 // indirect github.com/go-openapi/swag/cmdutils v0.25.1 // indirect github.com/go-openapi/swag/conv v0.25.1 // indirect @@ -148,7 +148,7 @@ require ( github.com/google/cel-go v0.26.0 // indirect github.com/google/gnostic-models v0.7.0 // indirect github.com/google/go-querystring v1.1.0 // indirect - github.com/google/pprof v0.0.0-20251007162407-5df77e3f7d1d // indirect + github.com/google/pprof v0.0.0-20260115054156-294ebfa9ad83 // indirect github.com/google/s2a-go v0.1.9 // indirect github.com/googleapis/enterprise-certificate-proxy v0.3.6 // indirect github.com/googleapis/gax-go/v2 v2.15.0 // indirect @@ -196,27 +196,27 @@ require ( github.com/tidwall/pretty v1.2.0 // indirect github.com/vladimirvivien/gexe v0.5.0 // indirect github.com/x448/float16 v0.8.4 // indirect - go.mongodb.org/mongo-driver v1.17.4 // indirect + go.mongodb.org/mongo-driver v1.17.6 // indirect go.opentelemetry.io/auto/sdk v1.2.1 // indirect go.opentelemetry.io/contrib/detectors/gcp v1.38.0 // indirect go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.63.0 // indirect go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.63.0 // indirect - go.opentelemetry.io/otel v1.38.0 // indirect + go.opentelemetry.io/otel v1.40.0 // indirect go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.38.0 // indirect - go.opentelemetry.io/otel/metric v1.38.0 // indirect - go.opentelemetry.io/otel/sdk v1.38.0 // indirect - go.opentelemetry.io/otel/sdk/metric v1.38.0 // indirect - go.opentelemetry.io/otel/trace v1.38.0 // indirect + go.opentelemetry.io/otel/metric v1.40.0 // indirect + go.opentelemetry.io/otel/sdk v1.40.0 // indirect + go.opentelemetry.io/otel/sdk/metric v1.40.0 // indirect + go.opentelemetry.io/otel/trace v1.40.0 // indirect go.yaml.in/yaml/v2 v2.4.3 // indirect go.yaml.in/yaml/v3 v3.0.4 // indirect - golang.org/x/crypto v0.43.0 // indirect + golang.org/x/crypto v0.45.0 // indirect golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect - golang.org/x/net v0.47.0 // indirect - golang.org/x/sync v0.18.0 // indirect - golang.org/x/sys v0.38.0 // indirect + golang.org/x/net v0.49.0 // indirect + golang.org/x/sync v0.19.0 // indirect + golang.org/x/sys v0.40.0 // indirect golang.org/x/term v0.37.0 // indirect - golang.org/x/text v0.31.0 // indirect - golang.org/x/tools v0.38.0 // indirect + golang.org/x/text v0.33.0 // indirect + golang.org/x/tools v0.41.0 // indirect gomodules.xyz/jsonpatch/v2 v2.5.0 // indirect google.golang.org/genproto/googleapis/api v0.0.0-20251020155222-88f65dc88635 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20251020155222-88f65dc88635 // indirect diff --git a/go.sum b/go.sum index 027884d602..8dc98386bb 100644 --- a/go.sum +++ b/go.sum @@ -60,10 +60,10 @@ cloud.google.com/go/trace v1.11.7/go.mod h1:TNn9d5V3fQVf6s4SCveVMIBS2LJUqo73GACm dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/AlecAivazis/survey/v2 v2.3.7 h1:6I/u8FvytdGsgonrYsVn2t8t4QiRnh6QSTqkkhIiSjQ= github.com/AlecAivazis/survey/v2 v2.3.7/go.mod h1:xUTIdE4KCOIjsBAE1JYsUPoCqYdZ1reCfTwbto0Fduo= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.19.1 h1:5YTBM8QDVIBN3sxBil89WfdAAqDZbyJTgh688DSxX5w= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.19.1/go.mod h1:YD5h/ldMsG0XiIw7PdyNhLxaM317eFh5yNLccNfGdyw= -github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.13.0 h1:KpMC6LFL7mqpExyMC9jVOYRiVhLmamjeZfRsUpB7l4s= -github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.13.0/go.mod h1:J7MUC/wtRpfGVbQ5sIItY5/FuVWmvzlY21WAOfQnq/I= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.21.0 h1:fou+2+WFTib47nS+nz/ozhEBnvU96bKHy6LjRsY4E28= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.21.0/go.mod h1:t76Ruy8AHvUAC8GfMWJMa0ElSbuIcO03NLpynfbgsPA= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.13.1 h1:Hk5QBxZQC1jb2Fwj6mpzme37xbCDdNTxU7O9eb5+LB4= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.13.1/go.mod h1:IYus9qsFobWIc2YVwe/WPjcnyCkPKtnHAqUYeebc8z0= github.com/Azure/azure-sdk-for-go/sdk/azidentity/cache v0.3.2 h1:yz1bePFlP5Vws5+8ez6T3HWXPmwOK7Yvq8QxDBD3SKY= github.com/Azure/azure-sdk-for-go/sdk/azidentity/cache v0.3.2/go.mod h1:Pa9ZNPuoNu/GztvBSKk9J1cDJW6vk/n0zLtV4mgd8N8= github.com/Azure/azure-sdk-for-go/sdk/internal v1.11.2 h1:9iefClla7iYpfYWdzPCRDozdmndjTm8DXdpCzPajMgA= @@ -82,8 +82,8 @@ github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v1. github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v1.2.0/go.mod h1:5kakwfW5CjC9KK+Q4wjXAg+ShuIm2mBMua0ZFj2C8PE= github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage v1.8.1 h1:/Zt+cDPnpC3OVDm/JKLOs7M2DKmLRIIp3XIx9pHHiig= github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage v1.8.1/go.mod h1:Ng3urmn6dYe8gnbCMoHHVl5APYz2txho3koEkV2o2HA= -github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.6.3 h1:ZJJNFaQ86GVKQ9ehwqyAFE6pIfyicpuJ8IkVaPBc6/4= -github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.6.3/go.mod h1:URuDvhmATVKqHBH9/0nOiNKk0+YcwfQ3WkK5PqHKxc8= +github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.6.4 h1:jWQK1GI+LeGGUKBADtcH2rRqPxYB1Ljwms5gFA2LqrM= +github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.6.4/go.mod h1:8mwH4klAm9DUgR2EEHyEEAQlRDvLPyg5fQry3y+cDew= github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= github.com/Azure/go-autorest/autorest v0.11.18/go.mod h1:dSiJPy22c3u0OtOKDNttNgqpNFY/GeWa7GH/Pz56QRA= @@ -108,8 +108,8 @@ github.com/Azure/go-autorest/tracing v0.6.1 h1:YUMSrC/CeD1ZnnXcNYU4a/fzsO35u2Fsf github.com/Azure/go-autorest/tracing v0.6.1/go.mod h1:/3EgjbsjraOqiicERAeu3m7/z0x1TzjQGAwDrJrXGkc= github.com/AzureAD/microsoft-authentication-extensions-for-go/cache v0.1.1 h1:WJTmL004Abzc5wDB5VtZG2PJk5ndYDgVacGqfirKxjM= github.com/AzureAD/microsoft-authentication-extensions-for-go/cache v0.1.1/go.mod h1:tCcJZ0uHAmvjsVYzEFivsRTN00oz5BEsRgQHu5JZ9WE= -github.com/AzureAD/microsoft-authentication-library-for-go v1.5.0 h1:XkkQbfMyuH2jTSjQjSoihryI8GINRcs4xp8lNawg0FI= -github.com/AzureAD/microsoft-authentication-library-for-go v1.5.0/go.mod h1:HKpQxkWaGLJ+D/5H8QRpyQXA1eKjxkFlOMwck5+33Jk= +github.com/AzureAD/microsoft-authentication-library-for-go v1.6.0 h1:XRzhVemXdgvJqCH0sFfrBUTnUJSBrBf7++ypk+twtRs= +github.com/AzureAD/microsoft-authentication-library-for-go v1.6.0/go.mod h1:HKpQxkWaGLJ+D/5H8QRpyQXA1eKjxkFlOMwck5+33Jk= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.30.0 h1:sBEjpZlNHzK1voKq9695PJSX2o5NEXl7/OL3coiIY0c= @@ -120,10 +120,10 @@ github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock v0 github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock v0.54.0/go.mod h1:vB2GH9GAYYJTO3mEn8oYwzEdhlayZIdQz6zdzgUIRvA= github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.54.0 h1:s0WlVbf9qpvkh1c/uDAPElam0WrL7fHRIidgZJ7UqZI= github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.54.0/go.mod h1:Mf6O40IAyB9zR/1J8nGDDPirZQQPbYJni8Yisy7NTMc= -github.com/IBM/go-sdk-core/v5 v5.21.0 h1:DUnYhvC4SoC8T84rx5omnhY3+xcQg/Whyoa3mDPIMkk= -github.com/IBM/go-sdk-core/v5 v5.21.0/go.mod h1:Q3BYO6iDA2zweQPDGbNTtqft5tDcEpm6RTuqMlPcvbw= -github.com/IBM/platform-services-go-sdk v0.89.0 h1:fIvKR1bQchPoMUXQf69gaRKak/giVAkRDISiAX8TlE8= -github.com/IBM/platform-services-go-sdk v0.89.0/go.mod h1:aGD045m6I8pfcB77wft8w2cHqWOJjcM3YSSV55BX0Js= +github.com/IBM/go-sdk-core/v5 v5.21.2 h1:mJ5QbLPOm4g5qhZiVB6wbSllfpeUExftGoyPek2hk4M= +github.com/IBM/go-sdk-core/v5 v5.21.2/go.mod h1:ngpMgwkjur1VNUjqn11LPk3o5eCyOCRbcfg/0YAY7Hc= +github.com/IBM/platform-services-go-sdk v0.94.2 h1:Yxjwww965TxUEE3MPJLZbejP8E2DmwHf7eWh+fvpdwE= +github.com/IBM/platform-services-go-sdk v0.94.2/go.mod h1:KAnBhxKaYsu9It2aVXV6oCPEj78imvTs2qSG0ScZKpM= github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2 h1:+vx7roKuyA63nhn5WAunQHLTznkw5W8b1Xc0dNjp83s= github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2/go.mod h1:HBCaDeC1lPdgDeDbhX8XFpy1jqjK0IBG8W5K+xYqA0w= @@ -137,48 +137,48 @@ github.com/antlr4-go/antlr/v4 v4.13.0/go.mod h1:pfChB/xh/Unjila75QW7+VU4TSnWnnk9 github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= -github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 h1:DklsrG3dyBCFEj5IhUbnKptjxatkF07cF2ak3yi77so= -github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2/go.mod h1:WaHUgvxTVq04UNunO+XhnAqY/wQc+bxr74GqbsZ/Jqw= -github.com/aws/aws-sdk-go-v2 v1.39.3 h1:h7xSsanJ4EQJXG5iuW4UqgP7qBopLpj84mpkNx3wPjM= -github.com/aws/aws-sdk-go-v2 v1.39.3/go.mod h1:yWSxrnioGUZ4WVv9TgMrNUeLV3PFESn/v+6T/Su8gnM= -github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.2 h1:t9yYsydLYNBk9cJ73rgPhPWqOh/52fcWDQB5b1JsKSY= -github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.2/go.mod h1:IusfVNTmiSN3t4rhxWFaBAqn+mcNdwKtPcV16eYdgko= -github.com/aws/aws-sdk-go-v2/config v1.31.13 h1:wcqQB3B0PgRPUF5ZE/QL1JVOyB0mbPevHFoAMpemR9k= -github.com/aws/aws-sdk-go-v2/config v1.31.13/go.mod h1:ySB5D5ybwqGbT6c3GszZ+u+3KvrlYCUQNo62+hkKOFk= -github.com/aws/aws-sdk-go-v2/credentials v1.18.17 h1:skpEwzN/+H8cdrrtT8y+rvWJGiWWv0DeNAe+4VTf+Vs= -github.com/aws/aws-sdk-go-v2/credentials v1.18.17/go.mod h1:Ed+nXsaYa5uBINovJhcAWkALvXw2ZLk36opcuiSZfJM= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.10 h1:UuGVOX48oP4vgQ36oiKmW9RuSeT8jlgQgBFQD+HUiHY= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.10/go.mod h1:vM/Ini41PzvudT4YkQyE/+WiQJiQ6jzeDyU8pQKwCac= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.10 h1:mj/bdWleWEh81DtpdHKkw41IrS+r3uw1J/VQtbwYYp8= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.10/go.mod h1:7+oEMxAZWP8gZCyjcm9VicI0M61Sx4DJtcGfKYv2yKQ= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.10 h1:wh+/mn57yhUrFtLIxyFPh2RgxgQz/u+Yrf7hiHGHqKY= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.10/go.mod h1:7zirD+ryp5gitJJ2m1BBux56ai8RIRDykXZrJSp540w= +github.com/aws/aws-sdk-go-v2 v1.41.1 h1:ABlyEARCDLN034NhxlRUSZr4l71mh+T5KAeGh6cerhU= +github.com/aws/aws-sdk-go-v2 v1.41.1/go.mod h1:MayyLB8y+buD9hZqkCW3kX1AKq07Y5pXxtgB+rRFhz0= +github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.4 h1:489krEF9xIGkOaaX3CE/Be2uWjiXrkCH6gUX+bZA/BU= +github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.4/go.mod h1:IOAPF6oT9KCsceNTvvYMNHy0+kMF8akOjeDvPENWxp4= +github.com/aws/aws-sdk-go-v2/config v1.32.7 h1:vxUyWGUwmkQ2g19n7JY/9YL8MfAIl7bTesIUykECXmY= +github.com/aws/aws-sdk-go-v2/config v1.32.7/go.mod h1:2/Qm5vKUU/r7Y+zUk/Ptt2MDAEKAfUtKc1+3U1Mo3oY= +github.com/aws/aws-sdk-go-v2/credentials v1.19.7 h1:tHK47VqqtJxOymRrNtUXN5SP/zUTvZKeLx4tH6PGQc8= +github.com/aws/aws-sdk-go-v2/credentials v1.19.7/go.mod h1:qOZk8sPDrxhf+4Wf4oT2urYJrYt3RejHSzgAquYeppw= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.17 h1:I0GyV8wiYrP8XpA70g1HBcQO1JlQxCMTW9npl5UbDHY= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.17/go.mod h1:tyw7BOl5bBe/oqvoIeECFJjMdzXoa/dfVz3QQ5lgHGA= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.17 h1:xOLELNKGp2vsiteLsvLPwxC+mYmO6OZ8PYgiuPJzF8U= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.17/go.mod h1:5M5CI3D12dNOtH3/mk6minaRwI2/37ifCURZISxA/IQ= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.17 h1:WWLqlh79iO48yLkj1v3ISRNiv+3KdQoZ6JWyfcsyQik= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.17/go.mod h1:EhG22vHRrvF8oXSTYStZhJc1aUgKtnJe+aOiFEV90cM= github.com/aws/aws-sdk-go-v2/internal/ini v1.8.4 h1:WKuaxf++XKWlHWu9ECbMlha8WOEGm0OUEZqm4K/Gcfk= github.com/aws/aws-sdk-go-v2/internal/ini v1.8.4/go.mod h1:ZWy7j6v1vWGmPReu0iSGvRiise4YI5SkR3OHKTZ6Wuc= -github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.10 h1:FHw90xCTsofzk6vjU808TSuDtDfOOKPNdz5Weyc3tUI= -github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.10/go.mod h1:n8jdIE/8F3UYkg8O4IGkQpn2qUmapg/1K1yl29/uf/c= -github.com/aws/aws-sdk-go-v2/service/cloudfront v1.55.1 h1:g78h7AilJbLMvtiyYWBpX5PX9CdhecSom3PW7dYcbnY= -github.com/aws/aws-sdk-go-v2/service/cloudfront v1.55.1/go.mod h1:ZfFe2rW2/xyRhpTqYDeW7aNHFeGWheFNm+Ete5j6MZw= -github.com/aws/aws-sdk-go-v2/service/iam v1.47.8 h1:R+gn7585CP8J71tWrZGwobX2BoD+Pu/WFCdmb6AM+8M= -github.com/aws/aws-sdk-go-v2/service/iam v1.47.8/go.mod h1:3XA2x8C0m8izwdgIaaaW9k756MeiazNzCu1bsWls0k0= -github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.2 h1:xtuxji5CS0JknaXoACOunXOYOQzgfTvGAc9s2QdCJA4= -github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.2/go.mod h1:zxwi0DIR0rcRcgdbl7E2MSOvxDyyXGBlScvBkARFaLQ= -github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.1 h1:ne+eepnDB2Wh5lHKzELgEncIqeVlQ1rSF9fEa4r5I+A= -github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.1/go.mod h1:u0Jkg0L+dcG1ozUq21uFElmpbmjBnhHR5DELHIme4wg= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.10 h1:DRND0dkCKtJzCj4Xl4OpVbXZgfttY5q712H9Zj7qc/0= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.10/go.mod h1:tGGNmJKOTernmR2+VJ0fCzQRurcPZj9ut60Zu5Fi6us= -github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.10 h1:DA+Hl5adieRyFvE7pCvBWm3VOZTRexGVkXw33SUqNoY= -github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.10/go.mod h1:L+A89dH3/gr8L4ecrdzuXUYd1znoko6myzndVGZx/DA= -github.com/aws/aws-sdk-go-v2/service/s3 v1.88.5 h1:FlGScxzCGNzT+2AvHT1ZGMvxTwAMa6gsooFb1pO/AiM= -github.com/aws/aws-sdk-go-v2/service/s3 v1.88.5/go.mod h1:N/iojY+8bW3MYol9NUMuKimpSbPEur75cuI1SmtonFM= -github.com/aws/aws-sdk-go-v2/service/sso v1.29.7 h1:fspVFg6qMx0svs40YgRmE7LZXh9VRZvTT35PfdQR6FM= -github.com/aws/aws-sdk-go-v2/service/sso v1.29.7/go.mod h1:BQTKL3uMECaLaUV3Zc2L4Qybv8C6BIXjuu1dOPyxTQs= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.2 h1:scVnW+NLXasGOhy7HhkdT9AGb6kjgW7fJ5xYkUaqHs0= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.2/go.mod h1:FRNCY3zTEWZXBKm2h5UBUPvCVDOecTad9KhynDyGBc0= -github.com/aws/aws-sdk-go-v2/service/sts v1.38.7 h1:VEO5dqFkMsl8QZ2yHsFDJAIZLAkEbaYDB+xdKi0Feic= -github.com/aws/aws-sdk-go-v2/service/sts v1.38.7/go.mod h1:L1xxV3zAdB+qVrVW/pBIrIAnHFWHo6FBbFe4xOGsG/o= -github.com/aws/smithy-go v1.23.1 h1:sLvcH6dfAFwGkHLZ7dGiYF7aK6mg4CgKA/iDKjLDt9M= -github.com/aws/smithy-go v1.23.1/go.mod h1:LEj2LM3rBRQJxPZTB4KuzZkaZYnZPnvgIhb4pu07mx0= +github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.17 h1:JqcdRG//czea7Ppjb+g/n4o8i/R50aTBHkA7vu0lK+k= +github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.17/go.mod h1:CO+WeGmIdj/MlPel2KwID9Gt7CNq4M65HUfBW97liM0= +github.com/aws/aws-sdk-go-v2/service/cloudfront v1.60.0 h1:RUQqU9L1LnFJ+9t5hsSB7GI6dVvJDCnG4WgRlDeHK6E= +github.com/aws/aws-sdk-go-v2/service/cloudfront v1.60.0/go.mod h1:9Hd/cqshF4zl13KGLkWtRfITbvKR6m6FZHwhL2BYDSY= +github.com/aws/aws-sdk-go-v2/service/iam v1.53.2 h1:62G6btFUwAa5uR5iPlnlNVAM0zJSLbWgDfKOfUC7oW4= +github.com/aws/aws-sdk-go-v2/service/iam v1.53.2/go.mod h1:av9clChrbZbJ5E21msSsiT2oghl2BJHfQGhCkXmhyu8= +github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.4 h1:0ryTNEdJbzUCEWkVXEXoqlXV72J5keC1GvILMOuD00E= +github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.4/go.mod h1:HQ4qwNZh32C3CBeO6iJLQlgtMzqeG17ziAA/3KDJFow= +github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.8 h1:Z5EiPIzXKewUQK0QTMkutjiaPVeVYXX7KIqhXu/0fXs= +github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.8/go.mod h1:FsTpJtvC4U1fyDXk7c71XoDv3HlRm8V3NiYLeYLh5YE= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.17 h1:RuNSMoozM8oXlgLG/n6WLaFGoea7/CddrCfIiSA+xdY= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.17/go.mod h1:F2xxQ9TZz5gDWsclCtPQscGpP0VUOc8RqgFM3vDENmU= +github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.17 h1:bGeHBsGZx0Dvu/eJC0Lh9adJa3M1xREcndxLNZlve2U= +github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.17/go.mod h1:dcW24lbU0CzHusTE8LLHhRLI42ejmINN8Lcr22bwh/g= +github.com/aws/aws-sdk-go-v2/service/s3 v1.96.0 h1:oeu8VPlOre74lBA/PMhxa5vewaMIMmILM+RraSyB8KA= +github.com/aws/aws-sdk-go-v2/service/s3 v1.96.0/go.mod h1:5jggDlZ2CLQhwJBiZJb4vfk4f0GxWdEDruWKEJ1xOdo= +github.com/aws/aws-sdk-go-v2/service/signin v1.0.5 h1:VrhDvQib/i0lxvr3zqlUwLwJP4fpmpyD9wYG1vfSu+Y= +github.com/aws/aws-sdk-go-v2/service/signin v1.0.5/go.mod h1:k029+U8SY30/3/ras4G/Fnv/b88N4mAfliNn08Dem4M= +github.com/aws/aws-sdk-go-v2/service/sso v1.30.9 h1:v6EiMvhEYBoHABfbGB4alOYmCIrcgyPPiBE1wZAEbqk= +github.com/aws/aws-sdk-go-v2/service/sso v1.30.9/go.mod h1:yifAsgBxgJWn3ggx70A3urX2AN49Y5sJTD1UQFlfqBw= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.13 h1:gd84Omyu9JLriJVCbGApcLzVR3XtmC4ZDPcAI6Ftvds= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.13/go.mod h1:sTGThjphYE4Ohw8vJiRStAcu3rbjtXRsdNB0TvZ5wwo= +github.com/aws/aws-sdk-go-v2/service/sts v1.41.6 h1:5fFjR/ToSOzB2OQ/XqWpZBmNvmP/pJ1jOWYlFDJTjRQ= +github.com/aws/aws-sdk-go-v2/service/sts v1.41.6/go.mod h1:qgFDZQSD/Kys7nJnVqYlWKnh0SSdMjAi0uSwON4wgYQ= +github.com/aws/smithy-go v1.24.0 h1:LpilSUItNPFr1eY85RYgTIg5eIEPtvFbskaFcmmIUnk= +github.com/aws/smithy-go v1.24.0/go.mod h1:LEj2LM3rBRQJxPZTB4KuzZkaZYnZPnvgIhb4pu07mx0= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= @@ -246,8 +246,8 @@ github.com/fsnotify/fsnotify v1.9.0 h1:2Ml+OJNzbYCTzsxtv8vKSFD9PbJjmhYF14k/jKC7S github.com/fsnotify/fsnotify v1.9.0/go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0= github.com/fxamacker/cbor/v2 v2.9.0 h1:NpKPmjDBgUfBms6tr6JZkTHtfFGcMKsw3eGcmD/sapM= github.com/fxamacker/cbor/v2 v2.9.0/go.mod h1:vM4b+DJCtHn+zz7h3FFp/hDAI9WNWCsZj23V5ytsSxQ= -github.com/gabriel-vasile/mimetype v1.4.10 h1:zyueNbySn/z8mJZHLt6IPw0KoZsiQNszIpU+bX4+ZK0= -github.com/gabriel-vasile/mimetype v1.4.10/go.mod h1:d+9Oxyo1wTzWdyVUPMmXFvp4F9tea18J8ufA774AB3s= +github.com/gabriel-vasile/mimetype v1.4.11 h1:AQvxbp830wPhHTqc1u7nzoLT+ZFxGY7emj5DR5DYFik= +github.com/gabriel-vasile/mimetype v1.4.11/go.mod h1:d+9Oxyo1wTzWdyVUPMmXFvp4F9tea18J8ufA774AB3s= github.com/getkin/kin-openapi v0.76.0/go.mod h1:660oXbgy5JFMKreazJaQTw7o+X00qeSyhcnluiMv+Xg= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/go-bindata/go-bindata v3.1.2+incompatible h1:5vjJMVhowQdPzjE1LdxyFF7YFTXg5IgGVW4gBr5IbvE= @@ -270,8 +270,8 @@ github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre github.com/go-logr/zapr v1.2.3/go.mod h1:eIauM6P8qSvTw5o2ez6UEAfGjQKrxQTl5EoK+Qa2oG4= github.com/go-logr/zapr v1.3.0 h1:XGdV8XW8zdwFiwOA2Dryh1gj2KRQyOOoNmBy4EplIcQ= github.com/go-logr/zapr v1.3.0/go.mod h1:YKepepNBd1u/oyhd/yQmtjVXmm9uML4IXUgMOwR8/Gg= -github.com/go-openapi/errors v0.22.3 h1:k6Hxa5Jg1TUyZnOwV2Lh81j8ayNw5VVYLvKrp4zFKFs= -github.com/go-openapi/errors v0.22.3/go.mod h1:+WvbaBBULWCOna//9B9TbLNGSFOfF8lY9dw4hGiEiKQ= +github.com/go-openapi/errors v0.22.4 h1:oi2K9mHTOb5DPW2Zjdzs/NIvwi2N3fARKaTJLdNabaM= +github.com/go-openapi/errors v0.22.4/go.mod h1:z9S8ASTUqx7+CP1Q8dD8ewGH/1JWFFLX/2PmAYNQLgk= github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= github.com/go-openapi/jsonpointer v0.22.1 h1:sHYI1He3b9NqJ4wXLoJDKmUmHkWy/L7rtEo92JUxBNk= @@ -280,8 +280,8 @@ github.com/go-openapi/jsonreference v0.19.3/go.mod h1:rjx6GuL8TTa9VaixXglHmQmIL9 github.com/go-openapi/jsonreference v0.19.5/go.mod h1:RdybgQwPxbL4UEjuAruzK1x3nE69AqPYEJeo/TWfEeg= github.com/go-openapi/jsonreference v0.21.2 h1:Wxjda4M/BBQllegefXrY/9aq1fxBA8sI5M/lFU6tSWU= github.com/go-openapi/jsonreference v0.21.2/go.mod h1:pp3PEjIsJ9CZDGCNOyXIQxsNuroxm8FAJ/+quA0yKzQ= -github.com/go-openapi/strfmt v0.24.0 h1:dDsopqbI3wrrlIzeXRbqMihRNnjzGC+ez4NQaAAJLuc= -github.com/go-openapi/strfmt v0.24.0/go.mod h1:Lnn1Bk9rZjXxU9VMADbEEOo7D7CDyKGLsSKekhFr7s4= +github.com/go-openapi/strfmt v0.25.0 h1:7R0RX7mbKLa9EYCTHRcCuIPcaqlyQiWNPTXwClK0saQ= +github.com/go-openapi/strfmt v0.25.0/go.mod h1:nNXct7OzbwrMY9+5tLX4I21pzcmE6ccMGXl3jFdPfn8= github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= github.com/go-openapi/swag v0.19.14/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= github.com/go-openapi/swag v0.25.1 h1:6uwVsx+/OuvFVPqfQmOOPsqTcm5/GkBhNwLqIR916n8= @@ -310,6 +310,8 @@ github.com/go-openapi/swag/typeutils v0.25.1 h1:rD/9HsEQieewNt6/k+JBwkxuAHktFtH3 github.com/go-openapi/swag/typeutils v0.25.1/go.mod h1:9McMC/oCdS4BKwk2shEB7x17P6HmMmA6dQRtAkSnNb8= github.com/go-openapi/swag/yamlutils v0.25.1 h1:mry5ez8joJwzvMbaTGLhw8pXUnhDK91oSJLDPF1bmGk= github.com/go-openapi/swag/yamlutils v0.25.1/go.mod h1:cm9ywbzncy3y6uPm/97ysW8+wZ09qsks+9RS8fLWKqg= +github.com/go-openapi/testify/v2 v2.0.2 h1:X999g3jeLcoY8qctY/c/Z8iBHTbwLz7R2WXd6Ub6wls= +github.com/go-openapi/testify/v2 v2.0.2/go.mod h1:HCPmvFFnheKK2BuwSA0TbbdxJ3I16pjwMkYkP4Ywn54= github.com/go-playground/assert/v2 v2.2.0 h1:JvknZsQTYeFEAhQwI4qEt9cyV5ONwRHC+lYKSsYSR8s= github.com/go-playground/assert/v2 v2.2.0/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/oXslEjJA= @@ -420,8 +422,8 @@ github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20240827171923-fa2c70bbbfe5/go.mod h1:vavhavw2zAxS5dIdcRluK6cSGGPlZynqzFM8NdvU144= github.com/google/pprof v0.0.0-20241029153458-d1b30febd7db/go.mod h1:vavhavw2zAxS5dIdcRluK6cSGGPlZynqzFM8NdvU144= -github.com/google/pprof v0.0.0-20251007162407-5df77e3f7d1d h1:KJIErDwbSHjnp/SGzE5ed8Aol7JsKiI5X7yWKAtzhM0= -github.com/google/pprof v0.0.0-20251007162407-5df77e3f7d1d/go.mod h1:I6V7YzU0XDpsHqbsyrghnFZLO1gwK6NPTNvmetQIk9U= +github.com/google/pprof v0.0.0-20260115054156-294ebfa9ad83 h1:z2ogiKUYzX5Is6zr/vP9vJGqPwcdqsWjOt+V8J7+bTc= +github.com/google/pprof v0.0.0-20260115054156-294ebfa9ad83/go.mod h1:MxpfABSjhmINe3F1It9d+8exIHFvUqtLIRCdOGNXqiI= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/s2a-go v0.1.9 h1:LGD7gtMgezd8a/Xak7mEWL0PjoTQFvpRudN895yqKW0= github.com/google/s2a-go v0.1.9/go.mod h1:YA0Ei2ZQL3acow2O62kdp9UlnvMmU7kA6Eutn0dXayM= @@ -512,8 +514,8 @@ github.com/microsoft/kiota-serialization-multipart-go v1.1.2 h1:1pUyA1QgIeKslQwb github.com/microsoft/kiota-serialization-multipart-go v1.1.2/go.mod h1:j2K7ZyYErloDu7Kuuk993DsvfoP7LPWvAo7rfDpdPio= github.com/microsoft/kiota-serialization-text-go v1.1.3 h1:8z7Cebn0YAAr++xswVgfdxZjnAZ4GOB9O7XP4+r5r/M= github.com/microsoft/kiota-serialization-text-go v1.1.3/go.mod h1:NDSvz4A3QalGMjNboKKQI9wR+8k+ih8UuagNmzIRgTQ= -github.com/microsoftgraph/msgraph-sdk-go v1.87.0 h1:N+BSwQggS4aC/WsImtwJ+FijMUm4RisOvYQx7j5PGtk= -github.com/microsoftgraph/msgraph-sdk-go v1.87.0/go.mod h1:UdZWxbZiFvjPug9DYayD90JNiHjXyNRA39lEpcy3Kms= +github.com/microsoftgraph/msgraph-sdk-go v1.95.0 h1:lpCMEpoMLLfeZDTyC27F7V6W59/FFW/WcYDTvbYmf8c= +github.com/microsoftgraph/msgraph-sdk-go v1.95.0/go.mod h1:JBHC+/jxEODRr1TmV5caB84mJF4whlpTLHPveVJ0DFA= github.com/microsoftgraph/msgraph-sdk-go-core v1.4.0 h1:0SrIoFl7TQnMRrsi5TFaeNe0q8KO5lRzRp4GSCCL2So= github.com/microsoftgraph/msgraph-sdk-go-core v1.4.0/go.mod h1:A1iXs+vjsRjzANxF6UeKv2ACExG7fqTwHHbwh1FL+EE= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= @@ -552,18 +554,18 @@ github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7J github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= github.com/onsi/gomega v1.19.0/go.mod h1:LY+I3pBVzYsTBU1AnDwOSxaYi9WoWiqgwooUqq9yPro= github.com/onsi/gomega v1.34.2/go.mod h1:v1xfxRgk0KIsG+QOdm7p8UosrOzPYRo60fd3B/1Dukc= -github.com/onsi/gomega v1.38.2 h1:eZCjf2xjZAqe+LeWvKb5weQ+NcPwX84kqJ0cZNxok2A= -github.com/onsi/gomega v1.38.2/go.mod h1:W2MJcYxRGV63b418Ai34Ud0hEdTVXq9NW9+Sx6uXf3k= -github.com/openshift-eng/openshift-tests-extension v0.0.0-20251024155203-c498f9efe478 h1:d96AZUB8GlzHBgbiLILC5xIB8R0hhx6eOaUFLQqVOSU= -github.com/openshift-eng/openshift-tests-extension v0.0.0-20251024155203-c498f9efe478/go.mod h1:6gkP5f2HL0meusT0Aim8icAspcD1cG055xxBZ9yC68M= -github.com/openshift/api v0.0.0-20251021124544-a2cb0c5d994d h1:qV7SZW35RjLL0Hq8yW1Cbsa4F4zb6Fc+jFfUAKvHIbE= -github.com/openshift/api v0.0.0-20251021124544-a2cb0c5d994d/go.mod h1:d5uzF0YN2nQQFA0jIEWzzOZ+edmo6wzlGLvx5Fhz4uY= -github.com/openshift/build-machinery-go v0.0.0-20251020112516-49aa9f5db6d8 h1:2sktNP3CNpDb5F9rIg1qcBYU4lFxsOfBsUSP32LwAPo= -github.com/openshift/build-machinery-go v0.0.0-20251020112516-49aa9f5db6d8/go.mod h1:8jcm8UPtg2mCAsxfqKil1xrmRMI3a+XU2TZ9fF8A7TE= -github.com/openshift/client-go v0.0.0-20251015124057-db0dee36e235 h1:9JBeIXmnHlpXTQPi7LPmu1jdxznBhAE7bb1K+3D8gxY= -github.com/openshift/client-go v0.0.0-20251015124057-db0dee36e235/go.mod h1:L49W6pfrZkfOE5iC1PqEkuLkXG4W0BX4w8b+L2Bv7fM= -github.com/openshift/library-go v0.0.0-20251021141706-f489e811f030 h1:dbv8ZYDWIl22A5WBjQJTKeENM08f8HwMBuv8glDXO/0= -github.com/openshift/library-go v0.0.0-20251021141706-f489e811f030/go.mod h1:OlFFws1AO51uzfc48MsStGE4SFMWlMZD0+f5a/zCtKI= +github.com/onsi/gomega v1.39.1 h1:1IJLAad4zjPn2PsnhH70V4DKRFlrCzGBNrNaru+Vf28= +github.com/onsi/gomega v1.39.1/go.mod h1:hL6yVALoTOxeWudERyfppUcZXjMwIMLnuSfruD2lcfg= +github.com/openshift-eng/openshift-tests-extension v0.0.0-20260127124016-0fed2b824818 h1:jJLE/aCAqDf8U4wc3bE1IEKgIxbb0ICjCNVFA49x/8s= +github.com/openshift-eng/openshift-tests-extension v0.0.0-20260127124016-0fed2b824818/go.mod h1:6gkP5f2HL0meusT0Aim8icAspcD1cG055xxBZ9yC68M= +github.com/openshift/api v0.0.0-20260213204242-d34f11c515b3 h1:SZ8+jxtkMvpb4HDTjSAbaOyhFsw5PiWhjBog+XLY7jc= +github.com/openshift/api v0.0.0-20260213204242-d34f11c515b3/go.mod h1:d5uzF0YN2nQQFA0jIEWzzOZ+edmo6wzlGLvx5Fhz4uY= +github.com/openshift/build-machinery-go v0.0.0-20251023084048-5d77c1a5e5af h1:UiYYMi/CCV+kwWrXuXfuUSOY2yNXOpWpNVgHc6aLQlE= +github.com/openshift/build-machinery-go v0.0.0-20251023084048-5d77c1a5e5af/go.mod h1:8jcm8UPtg2mCAsxfqKil1xrmRMI3a+XU2TZ9fF8A7TE= +github.com/openshift/client-go v0.0.0-20260213141500-06efc6dce93b h1:7rTnxq+haKrzUFKQQDylkklyFRtGFox73dlawRlnTA8= +github.com/openshift/client-go v0.0.0-20260213141500-06efc6dce93b/go.mod h1:V3s8weD4bKXGXaN7d9g3V1QS2gmlYBRI2i/lfIwmroM= +github.com/openshift/library-go v0.0.0-20260213153706-03f1709971c5 h1:9Pe6iVOMjt9CdA/vaKBNUSoEIjIe1po5Ha3ABRYXLJI= +github.com/openshift/library-go v0.0.0-20260213153706-03f1709971c5/go.mod h1:K3FoNLgNBFYbFuG+Kr8usAnQxj1w84XogyUp2M8rK8k= github.com/openshift/onsi-ginkgo/v2 v2.6.1-0.20241205171354-8006f302fd12 h1:AKx/w1qpS8We43bsRgf8Nll3CGlDHpr/WAXvuedTNZI= github.com/openshift/onsi-ginkgo/v2 v2.6.1-0.20241205171354-8006f302fd12/go.mod h1:7Du3c42kxCUegi0IImZ1wUQzMBVecgIHjR1C+NkhLQo= github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= @@ -594,11 +596,11 @@ github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFR github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ= github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= -github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= +github.com/sirupsen/logrus v1.9.4 h1:TsZE7l11zFCLZnZ+teH4Umoq5BhEIfIzfRDZ1Uzql2w= +github.com/sirupsen/logrus v1.9.4/go.mod h1:ftWc9WdOfJ0a92nsE2jF5u5ZwH8Bv2zdeOC42RjbV2g= github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= -github.com/spf13/cobra v1.10.1 h1:lJeBwCfmrnXthfAupyUTzJ/J4Nc1RsHC/mSRU2dll/s= -github.com/spf13/cobra v1.10.1/go.mod h1:7SmJGaTHFVBY0jW4NXGluQoLvhqFQM+6XSKD+P4XaB0= +github.com/spf13/cobra v1.10.2 h1:DMTTonx5m65Ic0GOoRY2c16WCbHxOOw6xxezuLaBpcU= +github.com/spf13/cobra v1.10.2/go.mod h1:7C1pvHqHw5A4vrJfjNwvOdzYu0Gml16OCs2GRiTUUS4= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/pflag v1.0.10 h1:4EBh2KAYBwaONj6b2Ye1GiHfwjqyROoF4RwYO+vPwFk= @@ -645,8 +647,8 @@ github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9dec github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= -go.mongodb.org/mongo-driver v1.17.4 h1:jUorfmVzljjr0FLzYQsGP8cgN/qzzxlY9Vh0C9KFXVw= -go.mongodb.org/mongo-driver v1.17.4/go.mod h1:Hy04i7O2kC4RS06ZrhPRqj/u4DTYkFDAAccj+rVKqgQ= +go.mongodb.org/mongo-driver v1.17.6 h1:87JUG1wZfWsr6rIz3ZmpH90rL5tea7O3IHuSwHUpsss= +go.mongodb.org/mongo-driver v1.17.6/go.mod h1:Hy04i7O2kC4RS06ZrhPRqj/u4DTYkFDAAccj+rVKqgQ= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= @@ -662,18 +664,18 @@ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.6 go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.63.0/go.mod h1:fvPi2qXDqFs8M4B4fmJhE92TyQs9Ydjlg3RvfUp+NbQ= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.63.0 h1:RbKq8BG0FI8OiXhBfcRtqqHcZcka+gU3cskNuf05R18= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.63.0/go.mod h1:h06DGIukJOevXaj/xrNjhi/2098RZzcLTbc0jDAUbsg= -go.opentelemetry.io/otel v1.38.0 h1:RkfdswUDRimDg0m2Az18RKOsnI8UDzppJAtj01/Ymk8= -go.opentelemetry.io/otel v1.38.0/go.mod h1:zcmtmQ1+YmQM9wrNsTGV/q/uyusom3P8RxwExxkZhjM= +go.opentelemetry.io/otel v1.40.0 h1:oA5YeOcpRTXq6NN7frwmwFR0Cn3RhTVZvXsP4duvCms= +go.opentelemetry.io/otel v1.40.0/go.mod h1:IMb+uXZUKkMXdPddhwAHm6UfOwJyh4ct1ybIlV14J0g= go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.38.0 h1:wm/Q0GAAykXv83wzcKzGGqAnnfLFyFe7RslekZuv+VI= go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.38.0/go.mod h1:ra3Pa40+oKjvYh+ZD3EdxFZZB0xdMfuileHAm4nNN7w= -go.opentelemetry.io/otel/metric v1.38.0 h1:Kl6lzIYGAh5M159u9NgiRkmoMKjvbsKtYRwgfrA6WpA= -go.opentelemetry.io/otel/metric v1.38.0/go.mod h1:kB5n/QoRM8YwmUahxvI3bO34eVtQf2i4utNVLr9gEmI= -go.opentelemetry.io/otel/sdk v1.38.0 h1:l48sr5YbNf2hpCUj/FoGhW9yDkl+Ma+LrVl8qaM5b+E= -go.opentelemetry.io/otel/sdk v1.38.0/go.mod h1:ghmNdGlVemJI3+ZB5iDEuk4bWA3GkTpW+DOoZMYBVVg= -go.opentelemetry.io/otel/sdk/metric v1.38.0 h1:aSH66iL0aZqo//xXzQLYozmWrXxyFkBJ6qT5wthqPoM= -go.opentelemetry.io/otel/sdk/metric v1.38.0/go.mod h1:dg9PBnW9XdQ1Hd6ZnRz689CbtrUp0wMMs9iPcgT9EZA= -go.opentelemetry.io/otel/trace v1.38.0 h1:Fxk5bKrDZJUH+AMyyIXGcFAPah0oRcT+LuNtJrmcNLE= -go.opentelemetry.io/otel/trace v1.38.0/go.mod h1:j1P9ivuFsTceSWe1oY+EeW3sc+Pp42sO++GHkg4wwhs= +go.opentelemetry.io/otel/metric v1.40.0 h1:rcZe317KPftE2rstWIBitCdVp89A2HqjkxR3c11+p9g= +go.opentelemetry.io/otel/metric v1.40.0/go.mod h1:ib/crwQH7N3r5kfiBZQbwrTge743UDc7DTFVZrrXnqc= +go.opentelemetry.io/otel/sdk v1.40.0 h1:KHW/jUzgo6wsPh9At46+h4upjtccTmuZCFAc9OJ71f8= +go.opentelemetry.io/otel/sdk v1.40.0/go.mod h1:Ph7EFdYvxq72Y8Li9q8KebuYUr2KoeyHx0DRMKrYBUE= +go.opentelemetry.io/otel/sdk/metric v1.40.0 h1:mtmdVqgQkeRxHgRv4qhyJduP3fYJRMX4AtAlbuWdCYw= +go.opentelemetry.io/otel/sdk/metric v1.40.0/go.mod h1:4Z2bGMf0KSK3uRjlczMOeMhKU2rhUqdWNoKcYrtcBPg= +go.opentelemetry.io/otel/trace v1.40.0 h1:WA4etStDttCSYuhwvEa8OP8I5EWu24lkOzp+ZYblVjw= +go.opentelemetry.io/otel/trace v1.40.0/go.mod h1:zeAhriXecNGP/s2SEG3+Y8X9ujcJOTqQ5RgdEJcawiA= go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A= go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= @@ -698,8 +700,9 @@ golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5y golang.org/x/crypto v0.0.0-20220214200702-86341886e292/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= -golang.org/x/crypto v0.43.0 h1:dduJYIi3A3KOfdGOHX8AVZ/jGiyPa3IbBozJ5kNuE04= golang.org/x/crypto v0.43.0/go.mod h1:BFbav4mRNlXJL4wNeejLpWxB7wMbc79PdRGhWKncxR0= +golang.org/x/crypto v0.45.0 h1:jMBrvKuj23MTlT0bQEOBcAE0mjg8mK9RXFhRH6nyF3Q= +golang.org/x/crypto v0.45.0/go.mod h1:XTGrrkGJve7CYK7J8PEww4aY7gM3qMCElcJQ8n8JdX4= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -748,8 +751,8 @@ golang.org/x/mod v0.25.0/go.mod h1:IXM97Txy2VM4PJ3gI61r1YEk/gAj6zAHN3AdZt6S9Ww= golang.org/x/mod v0.26.0/go.mod h1:/j6NAhSk8iQ723BGAUyoAcn7SlD7s15Dp9Nd/SfeaFQ= golang.org/x/mod v0.27.0/go.mod h1:rWI627Fq0DEoudcK+MBkNkCe0EetEaDSwJJkCcjpazc= golang.org/x/mod v0.28.0/go.mod h1:yfB/L0NOf/kmEbXjzCPOx1iK1fRutOydrCMsqRhEBxI= -golang.org/x/mod v0.29.0 h1:HV8lRxZC4l2cr3Zq1LvtOsi/ThTgWnUk/y64QSs8GwA= -golang.org/x/mod v0.29.0/go.mod h1:NyhrlYXJ2H4eJiRy/WDBO6HMqZQ6q9nk4JzS3NuCK+w= +golang.org/x/mod v0.33.0 h1:tHFzIWbBifEmbwtGz65eaWyGiGZatSrT9prnU8DbVL8= +golang.org/x/mod v0.33.0/go.mod h1:swjeQEj+6r7fODbD2cqrnje9PnziFuw4bmLbBZFrQ5w= golang.org/x/net v0.46.0 h1:giFlY12I07fugqwPuWJi68oOnpfqFnJIJzaIIm2JVV4= golang.org/x/net v0.46.0/go.mod h1:Q9BGdFy1y4nkUwiLvT5qtyhAnEHgnQ/zd8PfU6nc210= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= @@ -764,8 +767,8 @@ golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.32.0 h1:jsCblLleRMDrxMN29H3z/k1KliIvpLgCkE6R8FXXNgY= -golang.org/x/oauth2 v0.32.0/go.mod h1:lzm5WQJQwKZ3nwavOZ3IS5Aulzxi68dUSgRHujetwEA= +golang.org/x/oauth2 v0.35.0 h1:Mv2mzuHuZuY2+bkyWXIHMfhNdJAdwW3FuWeCPYN5GVQ= +golang.org/x/oauth2 v0.35.0/go.mod h1:lzm5WQJQwKZ3nwavOZ3IS5Aulzxi68dUSgRHujetwEA= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -786,8 +789,8 @@ golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sync v0.15.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA= golang.org/x/sync v0.16.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA= golang.org/x/sync v0.17.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI= -golang.org/x/sync v0.18.0 h1:kr88TuHDroi+UVf+0hZnirlk8o8T+4MrK6mr60WkH/I= -golang.org/x/sync v0.18.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI= +golang.org/x/sync v0.19.0 h1:vV+1eWNmZ5geRlYjzm2adRgW2/mcpevXNg50YZtPCE4= +golang.org/x/sync v0.19.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -833,7 +836,6 @@ golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220310020820-b874c991c1a5/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -851,8 +853,8 @@ golang.org/x/sys v0.34.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= golang.org/x/sys v0.35.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= golang.org/x/sys v0.36.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= golang.org/x/sys v0.37.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= -golang.org/x/sys v0.38.0 h1:3yZWxaJjBmCWXqhN1qh02AkOnCQ1poK6oF+a7xWL6Gc= -golang.org/x/sys v0.38.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= +golang.org/x/sys v0.40.0 h1:DBZZqJ2Rkml6QMQsZywtnjnnGvHza6BTfYFWY9kjEWQ= +golang.org/x/sys v0.40.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= golang.org/x/telemetry v0.0.0-20240228155512-f48c80bd79b2/go.mod h1:TeRTkGYfJXctD9OcfyVLyj2J3IxLnKwHJR8f4D8a3YE= golang.org/x/telemetry v0.0.0-20240521205824-bda55230c457/go.mod h1:pRgIJT+bRLFKnoM1ldnzKoxTIn14Yxz928LQRYYgIN0= golang.org/x/telemetry v0.0.0-20250710130107-8d8967aff50b/go.mod h1:4ZwOYna0/zsOKwuR5X/m0QFOJpSZvAxFfkQT+Erd9D4= @@ -878,8 +880,8 @@ golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/text v0.17.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= golang.org/x/text v0.19.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= golang.org/x/text v0.30.0/go.mod h1:yDdHFIX9t+tORqspjENWgzaCVXgk0yYnYuSZ8UzzBVM= -golang.org/x/text v0.31.0 h1:aC8ghyu4JhP8VojJ2lEHBnochRno1sgL6nEi9WGFGMM= -golang.org/x/text v0.31.0/go.mod h1:tKRAlv61yKIjGGHX/4tP1LTbc13YSec1pxVEWXzfoeM= +golang.org/x/text v0.33.0 h1:B3njUFyqtHDUI5jMn1YIr5B0IE2U0qck04r6d4KPAxE= +golang.org/x/text v0.33.0/go.mod h1:LuMebE6+rBincTi9+xWTY8TztLzKHc/9C1uBCG27+q8= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -949,8 +951,8 @@ golang.org/x/tools v0.34.0/go.mod h1:pAP9OwEaY1CAW3HOmg3hLZC5Z0CCmzjAF2UQMSqNARg golang.org/x/tools v0.35.0/go.mod h1:NKdj5HkL/73byiZSJjqJgKn3ep7KjFkBOkR/Hps3VPw= golang.org/x/tools v0.36.0/go.mod h1:WBDiHKJK8YgLHlcQPYQzNCkUxUypCaa5ZegCVutKm+s= golang.org/x/tools v0.37.0/go.mod h1:MBN5QPQtLMHVdvsbtarmTNukZDdgwdwlO5qGacAzF0w= -golang.org/x/tools v0.38.0 h1:Hx2Xv8hISq8Lm16jvBZ2VQf+RLmbd7wVUsALibYI/IQ= -golang.org/x/tools v0.38.0/go.mod h1:yEsQ/d/YK8cjh0L6rZlY8tgtlKiBNTL14pGDJPJpYQs= +golang.org/x/tools v0.41.0 h1:a9b8iMweWG+S0OBnlU36rzLp20z1Rp10w+IY2czHTQc= +golang.org/x/tools v0.41.0/go.mod h1:XSY6eDqxVNiYgezAVqqCeihT4j1U2CCsqvH3WhQpnlg= golang.org/x/tools/go/expect v0.1.1-deprecated h1:jpBZDwmgPhXsKZC6WhL20P4b/wmnpsEAGHaNy0n/rJM= golang.org/x/tools/go/expect v0.1.1-deprecated/go.mod h1:eihoPOH+FgIqa3FpoTwguz/bVUSGBlGQU67vpBeOrBY= golang.org/x/tools/go/packages/packagestest v0.1.1-deprecated h1:1h2MnaIAIXISqTFKdENegdpAgUXz6NrPEsbIeWaBRvM= diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/CHANGELOG.md b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/CHANGELOG.md index 1799c6ef22..fa477145fa 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/CHANGELOG.md +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/CHANGELOG.md @@ -1,5 +1,27 @@ # Release History +## 1.21.0 (2026-01-12) + +### Features Added + +* Added `runtime/datetime` package which provides specialized time type wrappers for serializing and deserializing +time values in various formats used by Azure services. + +### Other Changes + +* Aligned `cloud.AzureGovernment` and `cloud.AzureChina` audience values with Azure CLI + +## 1.20.0 (2025-11-06) + +### Features Added + +* Added `runtime.FetcherForNextLinkOptions.HTTPVerb` to specify the HTTP verb when fetching the next page via next link. Defaults to `http.MethodGet`. + +### Bugs Fixed + +* Fixed potential panic when decoding base64 strings. +* Fixed an issue in resource identifier parsing which prevented it from returning an error for malformed resource IDs. + ## 1.19.1 (2025-09-11) ### Bugs Fixed diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/client.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/client.go index c373cc43fd..d103de88a8 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/client.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/doc.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/doc.go index 1bdd16a3d0..370754179b 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/doc.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/doc.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright 2017 Microsoft Corporation. All rights reserved. // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/internal/resource/resource_identifier.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/internal/resource/resource_identifier.go index b8348b7d82..c602e77d1b 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/internal/resource/resource_identifier.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/internal/resource/resource_identifier.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. @@ -217,6 +214,7 @@ func appendNext(parent *ResourceID, parts []string, id string) (*ResourceID, err func splitStringAndOmitEmpty(v, sep string) []string { r := make([]string, 0) for _, s := range strings.Split(v, sep) { + s = strings.TrimSpace(s) if len(s) == 0 { continue } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/internal/resource/resource_type.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/internal/resource/resource_type.go index ca03ac9713..34d09b6d7f 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/internal/resource/resource_type.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/internal/resource/resource_type.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/policy/policy.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/policy/policy.go index f18caf8489..787c8e5031 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/policy/policy.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/policy/policy.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/resource_identifier.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/resource_identifier.go index d1c3191f2e..7f7b0f1419 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/resource_identifier.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/resource_identifier.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/resource_type.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/resource_type.go index fc7fbffd26..270d495e4f 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/resource_type.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/resource_type.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/runtime/pipeline.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/runtime/pipeline.go index 6a7c916b43..fa0f292060 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/runtime/pipeline.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/runtime/pipeline.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/runtime/policy_register_rp.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/runtime/policy_register_rp.go index 810ac9d9fa..3bfb7d02d9 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/runtime/policy_register_rp.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/runtime/policy_register_rp.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/runtime/policy_trace_namespace.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/runtime/policy_trace_namespace.go index 6cea184240..cc84d542d2 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/runtime/policy_trace_namespace.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/runtime/policy_trace_namespace.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/runtime/runtime.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/runtime/runtime.go index 1400d43799..0b58f542e6 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/runtime/runtime.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/runtime/runtime.go @@ -1,6 +1,3 @@ -//go:build go1.16 -// +build go1.16 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. @@ -10,11 +7,11 @@ import "github.com/Azure/azure-sdk-for-go/sdk/azcore/cloud" func init() { cloud.AzureChina.Services[cloud.ResourceManager] = cloud.ServiceConfiguration{ - Audience: "https://management.core.chinacloudapi.cn", + Audience: "https://management.core.chinacloudapi.cn/", Endpoint: "https://management.chinacloudapi.cn", } cloud.AzureGovernment.Services[cloud.ResourceManager] = cloud.ServiceConfiguration{ - Audience: "https://management.core.usgovcloudapi.net", + Audience: "https://management.core.usgovcloudapi.net/", Endpoint: "https://management.usgovcloudapi.net", } cloud.AzurePublic.Services[cloud.ResourceManager] = cloud.ServiceConfiguration{ diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/cloud/cloud.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/cloud/cloud.go index 9d077a3e12..4ef739a6c4 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/cloud/cloud.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/cloud/cloud.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/cloud/doc.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/cloud/doc.go index 985b1bde2f..39d0d489e5 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/cloud/doc.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/cloud/doc.go @@ -1,6 +1,3 @@ -//go:build go1.16 -// +build go1.16 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/core.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/core.go index 9d1c2f0c05..c3572985b6 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/core.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/core.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/doc.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/doc.go index 654a5f4043..4862a9f688 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/doc.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/doc.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright 2017 Microsoft Corporation. All rights reserved. // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/errors.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/errors.go index 03cb227d0d..66111a403f 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/errors.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/errors.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/etag.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/etag.go index 2b19d01f76..4a5d7462d6 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/etag.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/etag.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/exported/exported.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/exported/exported.go index 460170034a..96be304eb7 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/exported/exported.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/exported/exported.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. @@ -92,7 +89,7 @@ func DecodeByteArray(s string, v *[]byte, format Base64Encoding) error { return nil } payload := string(s) - if payload[0] == '"' { + if len(payload) >= 2 && payload[0] == '"' && payload[len(payload)-1] == '"' { // remove surrounding quotes payload = payload[1 : len(payload)-1] } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/exported/pipeline.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/exported/pipeline.go index e45f831ed2..5d9892a055 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/exported/pipeline.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/exported/pipeline.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/exported/request.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/exported/request.go index 9b3f5badb5..4bf722630a 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/exported/request.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/exported/request.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. @@ -115,7 +112,7 @@ func NewRequest(ctx context.Context, httpMethod string, endpoint string) (*Reque if req.URL.Host == "" { return nil, errors.New("no Host in request URL") } - if !(req.URL.Scheme == "http" || req.URL.Scheme == "https") { + if req.URL.Scheme != "http" && req.URL.Scheme != "https" { return nil, fmt.Errorf("unsupported protocol scheme %s", req.URL.Scheme) } // populate values so that the same instance is propagated across policies diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/exported/response_error.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/exported/response_error.go index 8aec256bd0..ef0635bb22 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/exported/response_error.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/exported/response_error.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/log/log.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/log/log.go index 6fc6d1400e..d3e7191f73 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/log/log.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/log/log.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pollers/async/async.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pollers/async/async.go index a534627605..fcaf6e168f 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pollers/async/async.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pollers/async/async.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. @@ -128,10 +125,11 @@ func (p *Poller[T]) Result(ctx context.Context, out *T) error { } var req *exported.Request var err error - if p.Method == http.MethodPatch || p.Method == http.MethodPut { + switch p.Method { + case http.MethodPatch, http.MethodPut: // for PATCH and PUT, the final GET is on the original resource URL req, err = exported.NewRequest(ctx, http.MethodGet, p.OrigURL) - } else if p.Method == http.MethodPost { + case http.MethodPost: if p.FinalState == pollers.FinalStateViaAzureAsyncOp { // no final GET required } else if p.FinalState == pollers.FinalStateViaOriginalURI { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pollers/body/body.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pollers/body/body.go index 8751b05147..8eebebf78f 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pollers/body/body.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pollers/body/body.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pollers/fake/fake.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pollers/fake/fake.go index 7f8d11b8ba..3284ea7097 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pollers/fake/fake.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pollers/fake/fake.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pollers/loc/loc.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pollers/loc/loc.go index 048285275d..cbd8e5880b 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pollers/loc/loc.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pollers/loc/loc.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pollers/op/op.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pollers/op/op.go index f496331893..a89aed378b 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pollers/op/op.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pollers/op/op.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pollers/poller.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pollers/poller.go index 37ed647f4e..2f15bc1de5 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pollers/poller.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pollers/poller.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pollers/util.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pollers/util.go index 6a7a32e034..de54543190 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pollers/util.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pollers/util.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. @@ -165,7 +162,10 @@ func ResultHelper[T any](resp *http.Response, failed bool, jsonPath string, out return nil } - defer resp.Body.Close() + defer func() { + _ = resp.Body.Close() + }() + if !poller.StatusCodeValid(resp) || failed { // the LRO failed. unmarshall the error and update state return azexported.NewResponseError(resp) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/shared/constants.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/shared/constants.go index 8aebe5ce53..213202e336 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/shared/constants.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/shared/constants.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. @@ -40,5 +37,5 @@ const ( Module = "azcore" // Version is the semantic version (see http://semver.org) of this module. - Version = "v1.19.1" + Version = "v1.21.0" ) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/shared/shared.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/shared/shared.go index d3da2c5fdf..e82d4f00c9 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/shared/shared.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/shared/shared.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/log/doc.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/log/doc.go index 2f3901bff3..174bbf99b7 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/log/doc.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/log/doc.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright 2017 Microsoft Corporation. All rights reserved. // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/log/log.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/log/log.go index f260dac363..6880cd9cd3 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/log/log.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/log/log.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/policy/doc.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/policy/doc.go index fad2579ed6..01d788ad26 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/policy/doc.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/policy/doc.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright 2017 Microsoft Corporation. All rights reserved. // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/policy/policy.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/policy/policy.go index 368a2199e0..074d1a600e 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/policy/policy.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/policy/policy.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/doc.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/doc.go index c9cfa438cb..2c169da79c 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/doc.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/doc.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright 2017 Microsoft Corporation. All rights reserved. // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/errors.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/errors.go index c0d56158e2..931d6f862f 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/errors.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/errors.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/pager.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/pager.go index c66fc0a90a..743513be4b 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/pager.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/pager.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. @@ -99,6 +96,11 @@ type FetcherForNextLinkOptions struct { // StatusCodes contains additional HTTP status codes indicating success. // The default value is http.StatusOK. StatusCodes []int + + // HTTPVerb specifies the HTTP verb to use when fetching the next page. + // The default value is http.MethodGet. + // This field is only used when NextReq is not specified. + HTTPVerb string } // FetcherForNextLink is a helper containing boilerplate code to simplify creating a PagingHandler[T].Fetcher from a next link URL. @@ -119,7 +121,11 @@ func FetcherForNextLink(ctx context.Context, pl Pipeline, nextLink string, first if options.NextReq != nil { req, err = options.NextReq(ctx, nextLink) } else { - req, err = NewRequest(ctx, http.MethodGet, nextLink) + verb := http.MethodGet + if options.HTTPVerb != "" { + verb = options.HTTPVerb + } + req, err = NewRequest(ctx, verb, nextLink) } } if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/pipeline.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/pipeline.go index 6b1f5c083e..3d95fe30dd 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/pipeline.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/pipeline.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_api_version.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_api_version.go index c3646feb55..21c1430be7 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_api_version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_api_version.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_body_download.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_body_download.go index 99dc029f0c..08ce2e4b08 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_body_download.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_body_download.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_http_header.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_http_header.go index c230af0afa..fa6d643f1e 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_http_header.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_http_header.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. @@ -34,6 +31,7 @@ func httpHeaderPolicy(req *policy.Request) (*http.Response, error) { // WithHTTPHeader adds the specified http.Header to the parent context. // Use this to specify custom HTTP headers at the API-call level. // Any overlapping headers will have their values replaced with the values specified here. +// // Deprecated: use [policy.WithHTTPHeader] instead. func WithHTTPHeader(parent context.Context, header http.Header) context.Context { return policy.WithHTTPHeader(parent, header) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_http_trace.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_http_trace.go index f375195c4b..ddf9ede01e 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_http_trace.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_http_trace.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_include_response.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_include_response.go index bb00f6c2fd..eaa6c7375c 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_include_response.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_include_response.go @@ -1,6 +1,3 @@ -//go:build go1.16 -// +build go1.16 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. @@ -29,6 +26,7 @@ func includeResponsePolicy(req *policy.Request) (*http.Response, error) { // WithCaptureResponse applies the HTTP response retrieval annotation to the parent context. // The resp parameter will contain the HTTP response after the request has completed. +// // Deprecated: use [policy.WithCaptureResponse] instead. func WithCaptureResponse(parent context.Context, resp **http.Response) context.Context { return policy.WithCaptureResponse(parent, resp) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_logging.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_logging.go index f048d7fb53..dd59fbc99b 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_logging.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_logging.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_request_id.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_request_id.go index 360a7f2118..a8f1cbac3f 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_request_id.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_request_id.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_retry.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_retry.go index 4c3a31fea7..696e1d9f49 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_retry.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_retry.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. @@ -117,7 +114,10 @@ func (p *retryPolicy) Do(req *policy.Request) (resp *http.Response, err error) { // wrap the body so we control when it's actually closed. // do this outside the for loop so defers don't accumulate. rwbody = &retryableRequestBody{body: req.Body()} - defer rwbody.realClose() + defer func() { + // TODO: https://github.com/Azure/azure-sdk-for-go/issues/25649 + _ = rwbody.realClose() + }() } try := int32(1) for { @@ -222,6 +222,7 @@ func (p *retryPolicy) Do(req *policy.Request) (resp *http.Response, err error) { // WithRetryOptions adds the specified RetryOptions to the parent context. // Use this to specify custom RetryOptions at the API-call level. +// // Deprecated: use [policy.WithRetryOptions] instead. func WithRetryOptions(parent context.Context, options policy.RetryOptions) context.Context { return policy.WithRetryOptions(parent, options) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_telemetry.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_telemetry.go index 80a9035461..2c60e9d23a 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_telemetry.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_telemetry.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/poller.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/poller.go index a89ae9b7b9..2e172cdd1d 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/poller.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/poller.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. @@ -87,7 +84,10 @@ func NewPoller[T any](resp *http.Response, pl exported.Pipeline, options *NewPol }, nil } - defer resp.Body.Close() + defer func() { + _ = resp.Body.Close() + }() + // this is a back-stop in case the swagger is incorrect (i.e. missing one or more status codes for success). // ideally the codegen should return an error if the initial response failed and not even create a poller. if !poller.StatusCodeValid(resp) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/request.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/request.go index 7d34b7803a..df7826b763 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/request.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/request.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/response.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/response.go index 048566e02c..e95f8c8ecf 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/response.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/response.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. @@ -84,8 +81,9 @@ func UnmarshalAsXML(resp *http.Response, v any) error { // Drain reads the response body to completion then closes it. The bytes read are discarded. func Drain(resp *http.Response) { if resp != nil && resp.Body != nil { + // TODO: this might not be necessary when the bodyDownloadPolicy is in play _, _ = io.Copy(io.Discard, resp.Body) - resp.Body.Close() + _ = resp.Body.Close() } } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/transport_default_http_client.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/transport_default_http_client.go index 2124c1d48b..928e9bf925 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/transport_default_http_client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/transport_default_http_client.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/streaming/doc.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/streaming/doc.go index cadaef3d58..10d0414861 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/streaming/doc.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/streaming/doc.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright 2017 Microsoft Corporation. All rights reserved. // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/streaming/progress.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/streaming/progress.go index 2468540bd7..c93824a661 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/streaming/progress.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/streaming/progress.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/to/doc.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/to/doc.go index faa98c9dc5..13263fbc94 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/to/doc.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/to/doc.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright 2017 Microsoft Corporation. All rights reserved. // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/to/to.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/to/to.go index e0e4817b90..e434f77956 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/to/to.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/to/to.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/tracing/constants.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/tracing/constants.go index 80282d4ab0..c00c21a3b3 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/tracing/constants.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/tracing/constants.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/tracing/tracing.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/tracing/tracing.go index 1ade7c560f..8f32485608 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/tracing/tracing.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/tracing/tracing.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/CHANGELOG.md b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/CHANGELOG.md index 217d279fd4..4a6349e167 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/CHANGELOG.md +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 1.13.1 (2025-11-10) + +### Bugs Fixed + +- `AzureCLICredential` quoted arguments incorrectly on Windows + ## 1.13.0 (2025-10-07) ### Features Added diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/developer_credential_util.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/developer_credential_util.go index e2ca8bced2..cb7dbe2e4b 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/developer_credential_util.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/developer_credential_util.go @@ -12,7 +12,6 @@ import ( "errors" "os" "os/exec" - "runtime" "strings" "time" ) @@ -30,17 +29,9 @@ var shellExec = func(ctx context.Context, credName, command string) ([]byte, err ctx, cancel = context.WithTimeout(ctx, cliTimeout) defer cancel() } - var cmd *exec.Cmd - if runtime.GOOS == "windows" { - dir := os.Getenv("SYSTEMROOT") - if dir == "" { - return nil, newCredentialUnavailableError(credName, `environment variable "SYSTEMROOT" has no value`) - } - cmd = exec.CommandContext(ctx, "cmd.exe", "/c", command) - cmd.Dir = dir - } else { - cmd = exec.CommandContext(ctx, "/bin/sh", "-c", command) - cmd.Dir = "/bin" + cmd, err := buildCmd(ctx, credName, command) + if err != nil { + return nil, err } cmd.Env = os.Environ() stderr := bytes.Buffer{} diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/developer_credential_util_nonwindows.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/developer_credential_util_nonwindows.go new file mode 100644 index 0000000000..681fcd0cf9 --- /dev/null +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/developer_credential_util_nonwindows.go @@ -0,0 +1,17 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +//go:build !windows + +package azidentity + +import ( + "context" + "os/exec" +) + +func buildCmd(ctx context.Context, _, command string) (*exec.Cmd, error) { + cmd := exec.CommandContext(ctx, "/bin/sh", "-c", command) + cmd.Dir = "/bin" + return cmd, nil +} diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/developer_credential_util_windows.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/developer_credential_util_windows.go new file mode 100644 index 0000000000..09c7a1a977 --- /dev/null +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/developer_credential_util_windows.go @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package azidentity + +import ( + "context" + "os" + "os/exec" + "syscall" +) + +func buildCmd(ctx context.Context, credName, command string) (*exec.Cmd, error) { + dir := os.Getenv("SYSTEMROOT") + if dir == "" { + return nil, newCredentialUnavailableError(credName, `environment variable "SYSTEMROOT" has no value`) + } + cmd := exec.CommandContext(ctx, "cmd.exe") + cmd.Dir = dir + cmd.SysProcAttr = &syscall.SysProcAttr{CmdLine: "/c " + command} + return cmd, nil +} diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/version.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/version.go index bb8bddb16e..041f11658d 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/version.go @@ -14,5 +14,5 @@ const ( module = "github.com/Azure/azure-sdk-for-go/sdk/" + component // Version is the semantic version (see http://semver.org) of this module. - version = "v1.13.0" + version = "v1.13.1" ) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/CHANGELOG.md b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/CHANGELOG.md index 78fe312e7e..14a1e24ce2 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/CHANGELOG.md +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/CHANGELOG.md @@ -1,5 +1,14 @@ # Release History +## 1.6.4 (2026-01-12) + +### Features Added +* Added support for the StartFrom parameter on `BlobContainerClient.listBlobs()` and `BlobContainerClient.listBlobsByHierarchy()` APIs. +* Added support for conditional headers on `BlobClientBase.getTags()` and `BlobClientBase.setTags()` APIs. + +### Other Changes +* Added support for service version 2026-02-06. + ## 1.6.3 (2025-10-16) ### Other Changes diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/appendblob/client.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/appendblob/client.go index 3bf058976a..0b4c60a9ea 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/appendblob/client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/appendblob/client.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. @@ -262,7 +259,10 @@ func (ab *Client) SetLegalHold(ctx context.Context, legalHold bool, options *blo } // SetTier -// Deprecated: SetTier only works for page blob in premium storage account and block blob in blob storage account. +// +// Deprecated: +// +// SetTier only works for page blob in premium storage account and block blob in blob storage account. func (ab *Client) SetTier(ctx context.Context, tier blob.AccessTier, o *blob.SetTierOptions) (blob.SetTierResponse, error) { return blob.SetTierResponse{}, errors.New("operation will not work on this blob type. SetTier only works for page blob in premium storage account and block blob in blob storage account") } @@ -335,7 +335,10 @@ func (ab *Client) GetTags(ctx context.Context, o *blob.GetTagsOptions) (blob.Get } // CopyFromURL -// Deprecated: CopyFromURL works only with block blob +// +// Deprecated: +// +// CopyFromURL works only with block blob func (ab *Client) CopyFromURL(ctx context.Context, copySource string, o *blob.CopyFromURLOptions) (blob.CopyFromURLResponse, error) { return blob.CopyFromURLResponse{}, errors.New("operation will not work on this blob type. CopyFromURL works only with block blob") } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/appendblob/models.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/appendblob/models.go index 33a6a516ba..bb4e8f13de 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/appendblob/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/appendblob/models.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/appendblob/responses.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/appendblob/responses.go index e6851237c9..326b90c687 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/appendblob/responses.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/appendblob/responses.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/assets.json b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/assets.json index 11b07dbbc6..5d5e53abf2 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/assets.json +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/assets.json @@ -2,5 +2,5 @@ "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixPath": "go", "TagPrefix": "go/storage/azblob", - "Tag": "go/storage/azblob_db9a368fe4" + "Tag": "go/storage/azblob_922762c914" } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blob/client.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blob/client.go index 98a624f505..b398569529 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blob/client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blob/client.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. @@ -235,16 +232,16 @@ func (b *Client) AbortCopyFromURL(ctx context.Context, copyID string, options *A // https://docs.microsoft.com/en-us/rest/api/storageservices/set-blob-tags func (b *Client) SetTags(ctx context.Context, tags map[string]string, options *SetTagsOptions) (SetTagsResponse, error) { serializedTags := shared.SerializeBlobTags(tags) - blobSetTagsOptions, modifiedAccessConditions, leaseAccessConditions := options.format() - resp, err := b.generated().SetTags(ctx, *serializedTags, blobSetTagsOptions, modifiedAccessConditions, leaseAccessConditions) + blobSetTagsOptions, modifiedAccessConditions, leaseAccessConditions, blobModifiedAccessConditions := options.format() + resp, err := b.generated().SetTags(ctx, *serializedTags, blobSetTagsOptions, modifiedAccessConditions, leaseAccessConditions, blobModifiedAccessConditions) return resp, err } // GetTags operation enables users to get tags on a blob or specific blob version, or snapshot. // https://docs.microsoft.com/en-us/rest/api/storageservices/get-blob-tags func (b *Client) GetTags(ctx context.Context, options *GetTagsOptions) (GetTagsResponse, error) { - blobGetTagsOptions, modifiedAccessConditions, leaseAccessConditions := options.format() - resp, err := b.generated().GetTags(ctx, blobGetTagsOptions, modifiedAccessConditions, leaseAccessConditions) + blobGetTagsOptions, modifiedAccessConditions, leaseAccessConditions, blobModifiedAccessConditions := options.format() + resp, err := b.generated().GetTags(ctx, blobGetTagsOptions, modifiedAccessConditions, leaseAccessConditions, blobModifiedAccessConditions) return resp, err } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blob/constants.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blob/constants.go index eec8e971a2..d257bf5a4b 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blob/constants.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blob/constants.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blob/models.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blob/models.go index ce52da0286..42c72d5aa2 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blob/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blob/models.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. @@ -34,6 +31,9 @@ type LeaseAccessConditions = exported.LeaseAccessConditions // ModifiedAccessConditions contains a group of parameters for specifying access conditions. type ModifiedAccessConditions = exported.ModifiedAccessConditions +// BlobModifiedAccessConditions contains a group of parameters for specifying blob access conditions. +type BlobModifiedAccessConditions = exported.BlobModifiedAccessConditions + // CPKInfo contains a group of parameters for client provided encryption key. type CPKInfo = generated.CPKInfo @@ -402,11 +402,13 @@ type SetTagsOptions struct { TransactionalContentMD5 []byte AccessConditions *AccessConditions + + BlobModifiedAccessConditions *BlobModifiedAccessConditions } -func (o *SetTagsOptions) format() (*generated.BlobClientSetTagsOptions, *ModifiedAccessConditions, *generated.LeaseAccessConditions) { +func (o *SetTagsOptions) format() (*generated.BlobClientSetTagsOptions, *ModifiedAccessConditions, *generated.LeaseAccessConditions, *generated.BlobModifiedAccessConditions) { if o == nil { - return nil, nil, nil + return nil, nil, nil, nil } options := &generated.BlobClientSetTagsOptions{ @@ -416,7 +418,8 @@ func (o *SetTagsOptions) format() (*generated.BlobClientSetTagsOptions, *Modifie } leaseAccessConditions, modifiedAccessConditions := exported.FormatBlobAccessConditions(o.AccessConditions) - return options, modifiedAccessConditions, leaseAccessConditions + blobModifiedAccessConditions := exported.FormatBlobModifiedAccessConditions(o.BlobModifiedAccessConditions) + return options, modifiedAccessConditions, leaseAccessConditions, blobModifiedAccessConditions } // --------------------------------------------------------------------------------------------------------------------- @@ -430,11 +433,13 @@ type GetTagsOptions struct { VersionID *string BlobAccessConditions *AccessConditions + + BlobModifiedAccessConditions *BlobModifiedAccessConditions } -func (o *GetTagsOptions) format() (*generated.BlobClientGetTagsOptions, *generated.ModifiedAccessConditions, *generated.LeaseAccessConditions) { +func (o *GetTagsOptions) format() (*generated.BlobClientGetTagsOptions, *generated.ModifiedAccessConditions, *generated.LeaseAccessConditions, *generated.BlobModifiedAccessConditions) { if o == nil { - return nil, nil, nil + return nil, nil, nil, nil } options := &generated.BlobClientGetTagsOptions{ @@ -443,7 +448,8 @@ func (o *GetTagsOptions) format() (*generated.BlobClientGetTagsOptions, *generat } leaseAccessConditions, modifiedAccessConditions := exported.FormatBlobAccessConditions(o.BlobAccessConditions) - return options, modifiedAccessConditions, leaseAccessConditions + blobModifiedAccessConditions := exported.FormatBlobModifiedAccessConditions(o.BlobModifiedAccessConditions) + return options, modifiedAccessConditions, leaseAccessConditions, blobModifiedAccessConditions } // --------------------------------------------------------------------------------------------------------------------- diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blob/responses.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blob/responses.go index 352d975264..2fc55e6a9c 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blob/responses.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blob/responses.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blob/retry_reader.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blob/retry_reader.go index a625c99532..86a648e44b 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blob/retry_reader.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blob/retry_reader.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blob/utils.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blob/utils.go index c2d517d8ad..6de5543eae 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blob/utils.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blob/utils.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/bloberror/error_codes.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/bloberror/error_codes.go index 07fad60611..39ccf0bde4 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/bloberror/error_codes.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/bloberror/error_codes.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. @@ -154,6 +151,8 @@ const ( var ( // MissingSharedKeyCredential - Error is returned when SAS URL is being created without SharedKeyCredential. + //nolint:staticcheck // ST1012: Renaming errors would be a breaking change, so suppressing linter warning. MissingSharedKeyCredential = errors.New("SAS can only be signed with a SharedKeyCredential") - UnsupportedChecksum = errors.New("for multi-part uploads, user generated checksums cannot be validated") + //nolint:staticcheck // ST1012: Renaming errors would be a breaking change, so suppressing linter warning. + UnsupportedChecksum = errors.New("for multi-part uploads, user generated checksums cannot be validated") ) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blockblob/chunkwriting.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blockblob/chunkwriting.go index 24df42c75e..55a6c2206a 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blockblob/chunkwriting.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blockblob/chunkwriting.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blockblob/client.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blockblob/client.go index 7a3ab3fe8d..602f55fc21 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blockblob/client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blockblob/client.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blockblob/constants.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blockblob/constants.go index ce3a5d8de3..1b061c6469 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blockblob/constants.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blockblob/constants.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blockblob/models.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blockblob/models.go index bd5ac4d0ef..26dc412b0e 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blockblob/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blockblob/models.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blockblob/responses.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blockblob/responses.go index 917f718097..7193612e2a 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blockblob/responses.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blockblob/responses.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/client.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/client.go index f36a162476..114545b07a 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/client.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/common.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/common.go index 48771e8c9c..f6800a26c9 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/common.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/common.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/constants.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/constants.go index c42fcdec7f..9ac10bb9a9 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/constants.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/constants.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/container/batch_builder.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/container/batch_builder.go index 83edea72b2..569d9bd0a1 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/container/batch_builder.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/container/batch_builder.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/container/client.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/container/client.go index 0e43ed015e..51b6353fc8 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/container/client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/container/client.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/container/constants.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/container/constants.go index 09a8e8ed3f..51ecedd1f9 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/container/constants.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/container/constants.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/container/models.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/container/models.go index ccee90dbc5..83b926d824 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/container/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/container/models.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. @@ -191,6 +188,9 @@ type ListBlobsFlatOptions struct { MaxResults *int32 // Filters the results to return only containers whose name begins with the specified prefix. Prefix *string + // Specifies the relative path to list paths from. For non-recursive list, only one entity level is supported; For recursive + // list, multiple entity levels are supported. (Inclusive) + StartFrom *string } // --------------------------------------------------------------------------------------------------------------------- @@ -213,6 +213,9 @@ type ListBlobsHierarchyOptions struct { MaxResults *int32 // Filters the results to return only containers whose name begins with the specified prefix. Prefix *string + // Specifies the relative path to list paths from. For non-recursive list, only one entity level is supported; For recursive + // list, multiple entity levels are supported. (Inclusive) + StartFrom *string } // ContainerClientListBlobHierarchySegmentOptions contains the optional parameters for the ContainerClient.ListBlobHierarchySegment method. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/container/responses.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/container/responses.go index 9aaefe277f..9811240428 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/container/responses.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/container/responses.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/doc.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/doc.go index 9a4806c575..a2e2ab872b 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/doc.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/doc.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/base/clients.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/base/clients.go index 073de855b6..3eb0469755 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/base/clients.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/base/clients.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/access_conditions.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/access_conditions.go index 96d188fa56..8c168a7019 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/access_conditions.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/access_conditions.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. @@ -41,3 +38,18 @@ type LeaseAccessConditions = generated.LeaseAccessConditions // ModifiedAccessConditions contains a group of parameters for specifying access conditions. type ModifiedAccessConditions = generated.ModifiedAccessConditions + +type BlobModifiedAccessConditions = generated.BlobModifiedAccessConditions + +func FormatBlobModifiedAccessConditions(src *BlobModifiedAccessConditions) *BlobModifiedAccessConditions { + if src == nil { + return nil + } + + return &BlobModifiedAccessConditions{ + IfMatch: src.IfMatch, + IfModifiedSince: src.IfModifiedSince, + IfNoneMatch: src.IfNoneMatch, + IfUnmodifiedSince: src.IfUnmodifiedSince, + } +} diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/access_policy.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/access_policy.go index 14c293cf65..92d17913cf 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/access_policy.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/access_policy.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/blob_batch.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/blob_batch.go index c26c62aa88..45f96dd3b8 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/blob_batch.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/blob_batch.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/exported.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/exported.go index d0355727c9..5f298987cd 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/exported.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/exported.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/log_events.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/log_events.go index d775fb5c88..1d7f049a63 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/log_events.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/log_events.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/set_expiry.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/set_expiry.go index 71473decab..b305f0d281 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/set_expiry.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/set_expiry.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/shared_key_credential.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/shared_key_credential.go index b0be323b7b..72e6fd6939 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/shared_key_credential.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/shared_key_credential.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/transfer_validation_option.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/transfer_validation_option.go index f3e571fa6a..a9746404ef 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/transfer_validation_option.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/transfer_validation_option.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/user_delegation_credential.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/user_delegation_credential.go index 2e2dd16e42..6a6ab8ba00 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/user_delegation_credential.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/user_delegation_credential.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/version.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/version.go index 0e86085ed7..9609697f49 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported/version.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. @@ -8,5 +5,5 @@ package exported const ( ModuleName = "github.com/Azure/azure-sdk-for-go/sdk/storage/azblob" - ModuleVersion = "v1.6.3" + ModuleVersion = "v1.6.4" ) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/appendblob_client.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/appendblob_client.go index 288df7edda..a2b8794f48 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/appendblob_client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/appendblob_client.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/autorest.md b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/autorest.md index b31e81b9ca..f2a0f1179b 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/autorest.md +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/autorest.md @@ -7,7 +7,7 @@ go: true clear-output-folder: false version: "^3.0.0" license-header: MICROSOFT_MIT_NO_VERSION -input-file: "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/07c350e6126e53f3a25fe75536c4b3324f91475b/specification/storage/data-plane/Microsoft.BlobStorage/stable/2025-11-05/blob.json" +input-file: "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/b6472ffd34d5d4a155101b41b4eb1f356abff600/specification/storage/data-plane/Microsoft.BlobStorage/stable/2026-02-06/blob.json" credential-scope: "https://storage.azure.com/.default" output-folder: ../generated file-prefix: "zz_" @@ -67,7 +67,7 @@ directive: $.items.enum.push("permissions"); ``` -### Updating service version to 2025-11-05 +### Updating service version to 2026-02-06 ```yaml directive: - from: @@ -80,7 +80,7 @@ directive: where: $ transform: >- return $. - replaceAll(`[]string{"2025-07-05"}`, `[]string{ServiceVersion}`); + replaceAll(`[]string{"2025-11-05"}`, `[]string{ServiceVersion}`); ``` ### Fix CRC Response Header in PutBlob response @@ -371,6 +371,8 @@ directive: replace(/result\.ETag\s+=\s+&val/g, `result.ETag = (*azcore.ETag)(&val)`). replace(/\*modifiedAccessConditions.IfMatch/g, `string(*modifiedAccessConditions.IfMatch)`). replace(/\*modifiedAccessConditions.IfNoneMatch/g, `string(*modifiedAccessConditions.IfNoneMatch)`). + replace(/\*blobModifiedAccessConditions.IfMatch/g, `string(*blobModifiedAccessConditions.IfMatch)`). + replace(/\*blobModifiedAccessConditions.IfNoneMatch/g, `string(*blobModifiedAccessConditions.IfNoneMatch)`). replace(/\*sourceModifiedAccessConditions.SourceIfMatch/g, `string(*sourceModifiedAccessConditions.SourceIfMatch)`). replace(/\*sourceModifiedAccessConditions.SourceIfNoneMatch/g, `string(*sourceModifiedAccessConditions.SourceIfNoneMatch)`); ``` diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/blob_client.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/blob_client.go index 343073b2e6..6df8b281c7 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/blob_client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/blob_client.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/block_blob_client.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/block_blob_client.go index 873d9a419f..91001107f4 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/block_blob_client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/block_blob_client.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/build.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/build.go index 57f112001b..188426a4d3 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/build.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/build.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - //go:generate autorest ./autorest.md //go:generate gofmt -w . diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/constants.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/constants.go index 858ac83f98..c2c6cad815 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/constants.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/constants.go @@ -1,9 +1,6 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. package generated -const ServiceVersion = "2025-11-05" +const ServiceVersion = "2026-02-06" diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/container_client.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/container_client.go index d43b2c7825..428a3e7dd8 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/container_client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/container_client.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/models.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/models.go index aaef9f53ba..24043b4ae7 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/models.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/pageblob_client.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/pageblob_client.go index a7c76208aa..df33c5ec98 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/pageblob_client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/pageblob_client.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/service_client.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/service_client.go index 32c15a2b09..50a88c7d2f 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/service_client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/service_client.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_appendblob_client.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_appendblob_client.go index 91969efd40..a096eb7c6a 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_appendblob_client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_appendblob_client.go @@ -29,7 +29,7 @@ type AppendBlobClient struct { // AppendBlob. Append Block is supported only on version 2015-02-21 version or later. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - contentLength - The length of the request. // - body - Initial data // - options - AppendBlobClientAppendBlockOptions contains the optional parameters for the AppendBlobClient.AppendBlock method. @@ -122,7 +122,7 @@ func (client *AppendBlobClient) appendBlockCreateRequest(ctx context.Context, co if options != nil && options.StructuredContentLength != nil { req.Raw().Header["x-ms-structured-content-length"] = []string{strconv.FormatInt(*options.StructuredContentLength, 10)} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} if err := req.SetBody(body, "application/octet-stream"); err != nil { return nil, err } @@ -207,7 +207,7 @@ func (client *AppendBlobClient) appendBlockHandleResponse(resp *http.Response) ( // created with x-ms-blob-type set to AppendBlob. Append Block is supported only on version 2015-02-21 version or later. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - sourceURL - Specify a URL to the copy source. // - contentLength - The length of the request. // - options - AppendBlobClientAppendBlockFromURLOptions contains the optional parameters for the AppendBlobClient.AppendBlockFromURL @@ -322,7 +322,7 @@ func (client *AppendBlobClient) appendBlockFromURLCreateRequest(ctx context.Cont if options != nil && options.SourceRange != nil { req.Raw().Header["x-ms-source-range"] = []string{*options.SourceRange} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -396,7 +396,7 @@ func (client *AppendBlobClient) appendBlockFromURLHandleResponse(resp *http.Resp // Create - The Create Append Blob operation creates a new append blob. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - contentLength - The length of the request. // - options - AppendBlobClientCreateOptions contains the optional parameters for the AppendBlobClient.Create method. // - BlobHTTPHeaders - BlobHTTPHeaders contains a group of parameters for the BlobClient.SetHTTPHeaders method. @@ -506,7 +506,7 @@ func (client *AppendBlobClient) createCreateRequest(ctx context.Context, content if options != nil && options.BlobTagsString != nil { req.Raw().Header["x-ms-tags"] = []string{*options.BlobTagsString} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -569,7 +569,7 @@ func (client *AppendBlobClient) createHandleResponse(resp *http.Response) (Appen // or later. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - options - AppendBlobClientSealOptions contains the optional parameters for the AppendBlobClient.Seal method. // - LeaseAccessConditions - LeaseAccessConditions contains a group of parameters for the ContainerClient.GetProperties method. // - ModifiedAccessConditions - ModifiedAccessConditions contains a group of parameters for the ContainerClient.Delete method. @@ -627,7 +627,7 @@ func (client *AppendBlobClient) sealCreateRequest(ctx context.Context, options * if leaseAccessConditions != nil && leaseAccessConditions.LeaseID != nil { req.Raw().Header["x-ms-lease-id"] = []string{*leaseAccessConditions.LeaseID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_blob_client.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_blob_client.go index b0dd56bb7b..bfe414503d 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_blob_client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_blob_client.go @@ -29,7 +29,7 @@ type BlobClient struct { // blob with zero length and full metadata. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - copyID - The copy identifier provided in the x-ms-copy-id header of the original Copy Blob operation. // - options - BlobClientAbortCopyFromURLOptions contains the optional parameters for the BlobClient.AbortCopyFromURL method. // - LeaseAccessConditions - LeaseAccessConditions contains a group of parameters for the ContainerClient.GetProperties method. @@ -72,7 +72,7 @@ func (client *BlobClient) abortCopyFromURLCreateRequest(ctx context.Context, cop if leaseAccessConditions != nil && leaseAccessConditions.LeaseID != nil { req.Raw().Header["x-ms-lease-id"] = []string{*leaseAccessConditions.LeaseID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -101,7 +101,7 @@ func (client *BlobClient) abortCopyFromURLHandleResponse(resp *http.Response) (B // AcquireLease - [Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete operations // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - duration - Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires. A non-infinite // lease can be between 15 and 60 seconds. A lease duration cannot be changed using // renew or change. @@ -161,7 +161,7 @@ func (client *BlobClient) acquireLeaseCreateRequest(ctx context.Context, duratio if options != nil && options.ProposedLeaseID != nil { req.Raw().Header["x-ms-proposed-lease-id"] = []string{*options.ProposedLeaseID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -203,7 +203,7 @@ func (client *BlobClient) acquireLeaseHandleResponse(resp *http.Response) (BlobC // BreakLease - [Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete operations // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - options - BlobClientBreakLeaseOptions contains the optional parameters for the BlobClient.BreakLease method. // - ModifiedAccessConditions - ModifiedAccessConditions contains a group of parameters for the ContainerClient.Delete method. func (client *BlobClient) BreakLease(ctx context.Context, options *BlobClientBreakLeaseOptions, modifiedAccessConditions *ModifiedAccessConditions) (BlobClientBreakLeaseResponse, error) { @@ -259,7 +259,7 @@ func (client *BlobClient) breakLeaseCreateRequest(ctx context.Context, options * if options != nil && options.BreakPeriod != nil { req.Raw().Header["x-ms-lease-break-period"] = []string{strconv.FormatInt(int64(*options.BreakPeriod), 10)} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -306,7 +306,7 @@ func (client *BlobClient) breakLeaseHandleResponse(resp *http.Response) (BlobCli // ChangeLease - [Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete operations // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - leaseID - Specifies the current lease ID on the resource. // - proposedLeaseID - Proposed lease ID, in a GUID string format. The Blob service returns 400 (Invalid request) if the proposed // lease ID is not in the correct format. See Guid Constructor (String) for a list of valid GUID @@ -365,7 +365,7 @@ func (client *BlobClient) changeLeaseCreateRequest(ctx context.Context, leaseID req.Raw().Header["x-ms-lease-action"] = []string{"change"} req.Raw().Header["x-ms-lease-id"] = []string{leaseID} req.Raw().Header["x-ms-proposed-lease-id"] = []string{proposedLeaseID} - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -408,7 +408,7 @@ func (client *BlobClient) changeLeaseHandleResponse(resp *http.Response) (BlobCl // until the copy is complete. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - copySource - Specifies the name of the source page blob snapshot. This value is a URL of up to 2 KB in length that specifies // a page blob snapshot. The value should be URL-encoded as it would appear in a request // URI. The source blob must either be public or must be authenticated via a shared access signature. @@ -520,7 +520,7 @@ func (client *BlobClient) copyFromURLCreateRequest(ctx context.Context, copySour if options != nil && options.BlobTagsString != nil { req.Raw().Header["x-ms-tags"] = []string{*options.BlobTagsString} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -585,7 +585,7 @@ func (client *BlobClient) copyFromURLHandleResponse(resp *http.Response) (BlobCl // CreateSnapshot - The Create Snapshot operation creates a read-only snapshot of a blob // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - options - BlobClientCreateSnapshotOptions contains the optional parameters for the BlobClient.CreateSnapshot method. // - CPKInfo - CPKInfo contains a group of parameters for the BlobClient.Download method. // - CPKScopeInfo - CPKScopeInfo contains a group of parameters for the BlobClient.SetMetadata method. @@ -662,7 +662,7 @@ func (client *BlobClient) createSnapshotCreateRequest(ctx context.Context, optio } } } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -724,7 +724,7 @@ func (client *BlobClient) createSnapshotHandleResponse(resp *http.Response) (Blo // return an HTTP status code of 404 (ResourceNotFound). // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - options - BlobClientDeleteOptions contains the optional parameters for the BlobClient.Delete method. // - LeaseAccessConditions - LeaseAccessConditions contains a group of parameters for the ContainerClient.GetProperties method. // - ModifiedAccessConditions - ModifiedAccessConditions contains a group of parameters for the ContainerClient.Delete method. @@ -791,7 +791,7 @@ func (client *BlobClient) deleteCreateRequest(ctx context.Context, options *Blob if leaseAccessConditions != nil && leaseAccessConditions.LeaseID != nil { req.Raw().Header["x-ms-lease-id"] = []string{*leaseAccessConditions.LeaseID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -820,7 +820,7 @@ func (client *BlobClient) deleteHandleResponse(resp *http.Response) (BlobClientD // DeleteImmutabilityPolicy - The Delete Immutability Policy operation deletes the immutability policy on the blob // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - options - BlobClientDeleteImmutabilityPolicyOptions contains the optional parameters for the BlobClient.DeleteImmutabilityPolicy // method. func (client *BlobClient) DeleteImmutabilityPolicy(ctx context.Context, options *BlobClientDeleteImmutabilityPolicyOptions) (BlobClientDeleteImmutabilityPolicyResponse, error) { @@ -863,7 +863,7 @@ func (client *BlobClient) deleteImmutabilityPolicyCreateRequest(ctx context.Cont if options != nil && options.RequestID != nil { req.Raw().Header["x-ms-client-request-id"] = []string{*options.RequestID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -893,7 +893,7 @@ func (client *BlobClient) deleteImmutabilityPolicyHandleResponse(resp *http.Resp // can also call Download to read a snapshot. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - options - BlobClientDownloadOptions contains the optional parameters for the BlobClient.Download method. // - LeaseAccessConditions - LeaseAccessConditions contains a group of parameters for the ContainerClient.GetProperties method. // - CPKInfo - CPKInfo contains a group of parameters for the BlobClient.Download method. @@ -977,7 +977,7 @@ func (client *BlobClient) downloadCreateRequest(ctx context.Context, options *Bl if options != nil && options.StructuredBodyType != nil { req.Raw().Header["x-ms-structured-body"] = []string{*options.StructuredBodyType} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -1214,7 +1214,7 @@ func (client *BlobClient) downloadHandleResponse(resp *http.Response) (BlobClien // GetAccountInfo - Returns the sku name and account kind // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - options - BlobClientGetAccountInfoOptions contains the optional parameters for the BlobClient.GetAccountInfo method. func (client *BlobClient) GetAccountInfo(ctx context.Context, options *BlobClientGetAccountInfoOptions) (BlobClientGetAccountInfoResponse, error) { var err error @@ -1251,7 +1251,7 @@ func (client *BlobClient) getAccountInfoCreateRequest(ctx context.Context, optio if options != nil && options.RequestID != nil { req.Raw().Header["x-ms-client-request-id"] = []string{*options.RequestID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -1294,7 +1294,7 @@ func (client *BlobClient) getAccountInfoHandleResponse(resp *http.Response) (Blo // for the blob. It does not return the content of the blob. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - options - BlobClientGetPropertiesOptions contains the optional parameters for the BlobClient.GetProperties method. // - LeaseAccessConditions - LeaseAccessConditions contains a group of parameters for the ContainerClient.GetProperties method. // - CPKInfo - CPKInfo contains a group of parameters for the BlobClient.Download method. @@ -1365,7 +1365,7 @@ func (client *BlobClient) getPropertiesCreateRequest(ctx context.Context, option if leaseAccessConditions != nil && leaseAccessConditions.LeaseID != nil { req.Raw().Header["x-ms-lease-id"] = []string{*leaseAccessConditions.LeaseID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -1612,13 +1612,14 @@ func (client *BlobClient) getPropertiesHandleResponse(resp *http.Response) (Blob // GetTags - The Get Tags operation enables users to get the tags associated with a blob. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - options - BlobClientGetTagsOptions contains the optional parameters for the BlobClient.GetTags method. // - ModifiedAccessConditions - ModifiedAccessConditions contains a group of parameters for the ContainerClient.Delete method. // - LeaseAccessConditions - LeaseAccessConditions contains a group of parameters for the ContainerClient.GetProperties method. -func (client *BlobClient) GetTags(ctx context.Context, options *BlobClientGetTagsOptions, modifiedAccessConditions *ModifiedAccessConditions, leaseAccessConditions *LeaseAccessConditions) (BlobClientGetTagsResponse, error) { +// - BlobModifiedAccessConditions - BlobModifiedAccessConditions contains a group of parameters for the BlobClient.GetTags method. +func (client *BlobClient) GetTags(ctx context.Context, options *BlobClientGetTagsOptions, modifiedAccessConditions *ModifiedAccessConditions, leaseAccessConditions *LeaseAccessConditions, blobModifiedAccessConditions *BlobModifiedAccessConditions) (BlobClientGetTagsResponse, error) { var err error - req, err := client.getTagsCreateRequest(ctx, options, modifiedAccessConditions, leaseAccessConditions) + req, err := client.getTagsCreateRequest(ctx, options, modifiedAccessConditions, leaseAccessConditions, blobModifiedAccessConditions) if err != nil { return BlobClientGetTagsResponse{}, err } @@ -1635,7 +1636,7 @@ func (client *BlobClient) GetTags(ctx context.Context, options *BlobClientGetTag } // getTagsCreateRequest creates the GetTags request. -func (client *BlobClient) getTagsCreateRequest(ctx context.Context, options *BlobClientGetTagsOptions, modifiedAccessConditions *ModifiedAccessConditions, leaseAccessConditions *LeaseAccessConditions) (*policy.Request, error) { +func (client *BlobClient) getTagsCreateRequest(ctx context.Context, options *BlobClientGetTagsOptions, modifiedAccessConditions *ModifiedAccessConditions, leaseAccessConditions *LeaseAccessConditions, blobModifiedAccessConditions *BlobModifiedAccessConditions) (*policy.Request, error) { req, err := runtime.NewRequest(ctx, http.MethodGet, client.endpoint) if err != nil { return nil, err @@ -1653,6 +1654,18 @@ func (client *BlobClient) getTagsCreateRequest(ctx context.Context, options *Blo } req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/xml"} + if blobModifiedAccessConditions != nil && blobModifiedAccessConditions.IfMatch != nil { + req.Raw().Header["x-ms-blob-if-match"] = []string{string(*blobModifiedAccessConditions.IfMatch)} + } + if blobModifiedAccessConditions != nil && blobModifiedAccessConditions.IfModifiedSince != nil { + req.Raw().Header["x-ms-blob-if-modified-since"] = []string{blobModifiedAccessConditions.IfModifiedSince.Format(time.RFC1123)} + } + if blobModifiedAccessConditions != nil && blobModifiedAccessConditions.IfNoneMatch != nil { + req.Raw().Header["x-ms-blob-if-none-match"] = []string{string(*blobModifiedAccessConditions.IfNoneMatch)} + } + if blobModifiedAccessConditions != nil && blobModifiedAccessConditions.IfUnmodifiedSince != nil { + req.Raw().Header["x-ms-blob-if-unmodified-since"] = []string{blobModifiedAccessConditions.IfUnmodifiedSince.Format(time.RFC1123)} + } if options != nil && options.RequestID != nil { req.Raw().Header["x-ms-client-request-id"] = []string{*options.RequestID} } @@ -1662,7 +1675,7 @@ func (client *BlobClient) getTagsCreateRequest(ctx context.Context, options *Blo if leaseAccessConditions != nil && leaseAccessConditions.LeaseID != nil { req.Raw().Header["x-ms-lease-id"] = []string{*leaseAccessConditions.LeaseID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -1694,7 +1707,7 @@ func (client *BlobClient) getTagsHandleResponse(resp *http.Response) (BlobClient // Query - The Query operation enables users to select/project on blob data by providing simple query expressions. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - options - BlobClientQueryOptions contains the optional parameters for the BlobClient.Query method. // - LeaseAccessConditions - LeaseAccessConditions contains a group of parameters for the ContainerClient.GetProperties method. // - CPKInfo - CPKInfo contains a group of parameters for the BlobClient.Download method. @@ -1764,7 +1777,7 @@ func (client *BlobClient) queryCreateRequest(ctx context.Context, options *BlobC if leaseAccessConditions != nil && leaseAccessConditions.LeaseID != nil { req.Raw().Header["x-ms-lease-id"] = []string{*leaseAccessConditions.LeaseID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} if options != nil && options.QueryRequest != nil { if err := runtime.MarshalAsXML(req, *options.QueryRequest); err != nil { return nil, err @@ -1928,7 +1941,7 @@ func (client *BlobClient) queryHandleResponse(resp *http.Response) (BlobClientQu // ReleaseLease - [Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete operations // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - leaseID - Specifies the current lease ID on the resource. // - options - BlobClientReleaseLeaseOptions contains the optional parameters for the BlobClient.ReleaseLease method. // - ModifiedAccessConditions - ModifiedAccessConditions contains a group of parameters for the ContainerClient.Delete method. @@ -1983,7 +1996,7 @@ func (client *BlobClient) releaseLeaseCreateRequest(ctx context.Context, leaseID } req.Raw().Header["x-ms-lease-action"] = []string{"release"} req.Raw().Header["x-ms-lease-id"] = []string{leaseID} - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -2022,7 +2035,7 @@ func (client *BlobClient) releaseLeaseHandleResponse(resp *http.Response) (BlobC // RenewLease - [Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete operations // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - leaseID - Specifies the current lease ID on the resource. // - options - BlobClientRenewLeaseOptions contains the optional parameters for the BlobClient.RenewLease method. // - ModifiedAccessConditions - ModifiedAccessConditions contains a group of parameters for the ContainerClient.Delete method. @@ -2077,7 +2090,7 @@ func (client *BlobClient) renewLeaseCreateRequest(ctx context.Context, leaseID s } req.Raw().Header["x-ms-lease-action"] = []string{"renew"} req.Raw().Header["x-ms-lease-id"] = []string{leaseID} - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -2119,7 +2132,7 @@ func (client *BlobClient) renewLeaseHandleResponse(resp *http.Response) (BlobCli // SetExpiry - Sets the time a blob will expire and be deleted. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - expiryOptions - Required. Indicates mode of the expiry time // - options - BlobClientSetExpiryOptions contains the optional parameters for the BlobClient.SetExpiry method. func (client *BlobClient) SetExpiry(ctx context.Context, expiryOptions ExpiryOptions, options *BlobClientSetExpiryOptions) (BlobClientSetExpiryResponse, error) { @@ -2160,7 +2173,7 @@ func (client *BlobClient) setExpiryCreateRequest(ctx context.Context, expiryOpti if options != nil && options.ExpiresOn != nil { req.Raw().Header["x-ms-expiry-time"] = []string{*options.ExpiresOn} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -2199,7 +2212,7 @@ func (client *BlobClient) setExpiryHandleResponse(resp *http.Response) (BlobClie // SetHTTPHeaders - The Set HTTP Headers operation sets system properties on the blob // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - options - BlobClientSetHTTPHeadersOptions contains the optional parameters for the BlobClient.SetHTTPHeaders method. // - BlobHTTPHeaders - BlobHTTPHeaders contains a group of parameters for the BlobClient.SetHTTPHeaders method. // - LeaseAccessConditions - LeaseAccessConditions contains a group of parameters for the ContainerClient.GetProperties method. @@ -2274,7 +2287,7 @@ func (client *BlobClient) setHTTPHeadersCreateRequest(ctx context.Context, optio if leaseAccessConditions != nil && leaseAccessConditions.LeaseID != nil { req.Raw().Header["x-ms-lease-id"] = []string{*leaseAccessConditions.LeaseID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -2320,7 +2333,7 @@ func (client *BlobClient) setHTTPHeadersHandleResponse(resp *http.Response) (Blo // SetImmutabilityPolicy - The Set Immutability Policy operation sets the immutability policy on the blob // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - options - BlobClientSetImmutabilityPolicyOptions contains the optional parameters for the BlobClient.SetImmutabilityPolicy // method. // - ModifiedAccessConditions - ModifiedAccessConditions contains a group of parameters for the ContainerClient.Delete method. @@ -2373,7 +2386,7 @@ func (client *BlobClient) setImmutabilityPolicyCreateRequest(ctx context.Context if options != nil && options.ImmutabilityPolicyExpiry != nil { req.Raw().Header["x-ms-immutability-policy-until-date"] = []string{(*options.ImmutabilityPolicyExpiry).In(gmt).Format(time.RFC1123)} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -2412,7 +2425,7 @@ func (client *BlobClient) setImmutabilityPolicyHandleResponse(resp *http.Respons // SetLegalHold - The Set Legal Hold operation sets a legal hold on the blob. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - legalHold - Specified if a legal hold should be set on the blob. // - options - BlobClientSetLegalHoldOptions contains the optional parameters for the BlobClient.SetLegalHold method. func (client *BlobClient) SetLegalHold(ctx context.Context, legalHold bool, options *BlobClientSetLegalHoldOptions) (BlobClientSetLegalHoldResponse, error) { @@ -2456,7 +2469,7 @@ func (client *BlobClient) setLegalHoldCreateRequest(ctx context.Context, legalHo req.Raw().Header["x-ms-client-request-id"] = []string{*options.RequestID} } req.Raw().Header["x-ms-legal-hold"] = []string{strconv.FormatBool(legalHold)} - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -2493,7 +2506,7 @@ func (client *BlobClient) setLegalHoldHandleResponse(resp *http.Response) (BlobC // pairs // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - options - BlobClientSetMetadataOptions contains the optional parameters for the BlobClient.SetMetadata method. // - LeaseAccessConditions - LeaseAccessConditions contains a group of parameters for the ContainerClient.GetProperties method. // - CPKInfo - CPKInfo contains a group of parameters for the BlobClient.Download method. @@ -2570,7 +2583,7 @@ func (client *BlobClient) setMetadataCreateRequest(ctx context.Context, options } } } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -2625,14 +2638,15 @@ func (client *BlobClient) setMetadataHandleResponse(resp *http.Response) (BlobCl // SetTags - The Set Tags operation enables users to set tags on a blob. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - tags - Blob tags // - options - BlobClientSetTagsOptions contains the optional parameters for the BlobClient.SetTags method. // - ModifiedAccessConditions - ModifiedAccessConditions contains a group of parameters for the ContainerClient.Delete method. // - LeaseAccessConditions - LeaseAccessConditions contains a group of parameters for the ContainerClient.GetProperties method. -func (client *BlobClient) SetTags(ctx context.Context, tags BlobTags, options *BlobClientSetTagsOptions, modifiedAccessConditions *ModifiedAccessConditions, leaseAccessConditions *LeaseAccessConditions) (BlobClientSetTagsResponse, error) { +// - BlobModifiedAccessConditions - BlobModifiedAccessConditions contains a group of parameters for the BlobClient.GetTags method. +func (client *BlobClient) SetTags(ctx context.Context, tags BlobTags, options *BlobClientSetTagsOptions, modifiedAccessConditions *ModifiedAccessConditions, leaseAccessConditions *LeaseAccessConditions, blobModifiedAccessConditions *BlobModifiedAccessConditions) (BlobClientSetTagsResponse, error) { var err error - req, err := client.setTagsCreateRequest(ctx, tags, options, modifiedAccessConditions, leaseAccessConditions) + req, err := client.setTagsCreateRequest(ctx, tags, options, modifiedAccessConditions, leaseAccessConditions, blobModifiedAccessConditions) if err != nil { return BlobClientSetTagsResponse{}, err } @@ -2649,7 +2663,7 @@ func (client *BlobClient) SetTags(ctx context.Context, tags BlobTags, options *B } // setTagsCreateRequest creates the SetTags request. -func (client *BlobClient) setTagsCreateRequest(ctx context.Context, tags BlobTags, options *BlobClientSetTagsOptions, modifiedAccessConditions *ModifiedAccessConditions, leaseAccessConditions *LeaseAccessConditions) (*policy.Request, error) { +func (client *BlobClient) setTagsCreateRequest(ctx context.Context, tags BlobTags, options *BlobClientSetTagsOptions, modifiedAccessConditions *ModifiedAccessConditions, leaseAccessConditions *LeaseAccessConditions, blobModifiedAccessConditions *BlobModifiedAccessConditions) (*policy.Request, error) { req, err := runtime.NewRequest(ctx, http.MethodPut, client.endpoint) if err != nil { return nil, err @@ -2667,6 +2681,18 @@ func (client *BlobClient) setTagsCreateRequest(ctx context.Context, tags BlobTag if options != nil && options.TransactionalContentMD5 != nil { req.Raw().Header["Content-MD5"] = []string{base64.StdEncoding.EncodeToString(options.TransactionalContentMD5)} } + if blobModifiedAccessConditions != nil && blobModifiedAccessConditions.IfMatch != nil { + req.Raw().Header["x-ms-blob-if-match"] = []string{string(*blobModifiedAccessConditions.IfMatch)} + } + if blobModifiedAccessConditions != nil && blobModifiedAccessConditions.IfModifiedSince != nil { + req.Raw().Header["x-ms-blob-if-modified-since"] = []string{blobModifiedAccessConditions.IfModifiedSince.Format(time.RFC1123)} + } + if blobModifiedAccessConditions != nil && blobModifiedAccessConditions.IfNoneMatch != nil { + req.Raw().Header["x-ms-blob-if-none-match"] = []string{string(*blobModifiedAccessConditions.IfNoneMatch)} + } + if blobModifiedAccessConditions != nil && blobModifiedAccessConditions.IfUnmodifiedSince != nil { + req.Raw().Header["x-ms-blob-if-unmodified-since"] = []string{blobModifiedAccessConditions.IfUnmodifiedSince.Format(time.RFC1123)} + } if options != nil && options.RequestID != nil { req.Raw().Header["x-ms-client-request-id"] = []string{*options.RequestID} } @@ -2679,7 +2705,7 @@ func (client *BlobClient) setTagsCreateRequest(ctx context.Context, tags BlobTag if leaseAccessConditions != nil && leaseAccessConditions.LeaseID != nil { req.Raw().Header["x-ms-lease-id"] = []string{*leaseAccessConditions.LeaseID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} if err := runtime.MarshalAsXML(req, tags); err != nil { return nil, err } @@ -2714,7 +2740,7 @@ func (client *BlobClient) setTagsHandleResponse(resp *http.Response) (BlobClient // storage type. This operation does not update the blob's ETag. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - tier - Indicates the tier to be set on the blob. // - options - BlobClientSetTierOptions contains the optional parameters for the BlobClient.SetTier method. // - LeaseAccessConditions - LeaseAccessConditions contains a group of parameters for the ContainerClient.GetProperties method. @@ -2769,7 +2795,7 @@ func (client *BlobClient) setTierCreateRequest(ctx context.Context, tier AccessT if options != nil && options.RehydratePriority != nil { req.Raw().Header["x-ms-rehydrate-priority"] = []string{string(*options.RehydratePriority)} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -2791,7 +2817,7 @@ func (client *BlobClient) setTierHandleResponse(resp *http.Response) (BlobClient // StartCopyFromURL - The Start Copy From URL operation copies a blob or an internet resource to a new blob. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - copySource - Specifies the name of the source page blob snapshot. This value is a URL of up to 2 KB in length that specifies // a page blob snapshot. The value should be URL-encoded as it would appear in a request // URI. The source blob must either be public or must be authenticated via a shared access signature. @@ -2895,7 +2921,7 @@ func (client *BlobClient) startCopyFromURLCreateRequest(ctx context.Context, cop if options != nil && options.BlobTagsString != nil { req.Raw().Header["x-ms-tags"] = []string{*options.BlobTagsString} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -2943,7 +2969,7 @@ func (client *BlobClient) startCopyFromURLHandleResponse(resp *http.Response) (B // Undelete - Undelete a blob that was previously soft deleted // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - options - BlobClientUndeleteOptions contains the optional parameters for the BlobClient.Undelete method. func (client *BlobClient) Undelete(ctx context.Context, options *BlobClientUndeleteOptions) (BlobClientUndeleteResponse, error) { var err error @@ -2979,7 +3005,7 @@ func (client *BlobClient) undeleteCreateRequest(ctx context.Context, options *Bl if options != nil && options.RequestID != nil { req.Raw().Header["x-ms-client-request-id"] = []string{*options.RequestID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_blockblob_client.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_blockblob_client.go index e61d6f55b1..70702f8567 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_blockblob_client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_blockblob_client.go @@ -33,7 +33,7 @@ type BlockBlobClient struct { // belong to. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - blocks - Blob Blocks. // - options - BlockBlobClientCommitBlockListOptions contains the optional parameters for the BlockBlobClient.CommitBlockList // method. @@ -152,7 +152,7 @@ func (client *BlockBlobClient) commitBlockListCreateRequest(ctx context.Context, if options != nil && options.BlobTagsString != nil { req.Raw().Header["x-ms-tags"] = []string{*options.BlobTagsString} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} if err := runtime.MarshalAsXML(req, blocks); err != nil { return nil, err } @@ -224,7 +224,7 @@ func (client *BlockBlobClient) commitBlockListHandleResponse(resp *http.Response // GetBlockList - The Get Block List operation retrieves the list of blocks that have been uploaded as part of a block blob // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - listType - Specifies whether to return the list of committed blocks, the list of uncommitted blocks, or both lists together. // - options - BlockBlobClientGetBlockListOptions contains the optional parameters for the BlockBlobClient.GetBlockList method. // - LeaseAccessConditions - LeaseAccessConditions contains a group of parameters for the ContainerClient.GetProperties method. @@ -273,7 +273,7 @@ func (client *BlockBlobClient) getBlockListCreateRequest(ctx context.Context, li if leaseAccessConditions != nil && leaseAccessConditions.LeaseID != nil { req.Raw().Header["x-ms-lease-id"] = []string{*leaseAccessConditions.LeaseID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -329,7 +329,7 @@ func (client *BlockBlobClient) getBlockListHandleResponse(resp *http.Response) ( // Block from URL API in conjunction with Put Block List. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - contentLength - The length of the request. // - copySource - Specifies the name of the source page blob snapshot. This value is a URL of up to 2 KB in length that specifies // a page blob snapshot. The value should be URL-encoded as it would appear in a request @@ -473,7 +473,7 @@ func (client *BlockBlobClient) putBlobFromURLCreateRequest(ctx context.Context, if options != nil && options.BlobTagsString != nil { req.Raw().Header["x-ms-tags"] = []string{*options.BlobTagsString} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -535,7 +535,7 @@ func (client *BlockBlobClient) putBlobFromURLHandleResponse(resp *http.Response) // StageBlock - The Stage Block operation creates a new block to be committed as part of a blob // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - blockID - A valid Base64 string value that identifies the block. Prior to encoding, the string must be less than or equal // to 64 bytes in size. For a given blob, the length of the value specified for the blockid // parameter must be the same size for each block. @@ -608,7 +608,7 @@ func (client *BlockBlobClient) stageBlockCreateRequest(ctx context.Context, bloc if options != nil && options.StructuredContentLength != nil { req.Raw().Header["x-ms-structured-content-length"] = []string{strconv.FormatInt(*options.StructuredContentLength, 10)} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} if err := req.SetBody(body, "application/octet-stream"); err != nil { return nil, err } @@ -671,7 +671,7 @@ func (client *BlockBlobClient) stageBlockHandleResponse(resp *http.Response) (Bl // are read from a URL. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - blockID - A valid Base64 string value that identifies the block. Prior to encoding, the string must be less than or equal // to 64 bytes in size. For a given blob, the length of the value specified for the blockid // parameter must be the same size for each block. @@ -763,7 +763,7 @@ func (client *BlockBlobClient) stageBlockFromURLCreateRequest(ctx context.Contex if options != nil && options.SourceRange != nil { req.Raw().Header["x-ms-source-range"] = []string{*options.SourceRange} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -822,7 +822,7 @@ func (client *BlockBlobClient) stageBlockFromURLHandleResponse(resp *http.Respon // the content of a block blob, use the Put Block List operation. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - contentLength - The length of the request. // - body - Initial data // - options - BlockBlobClientUploadOptions contains the optional parameters for the BlockBlobClient.Upload method. @@ -948,7 +948,7 @@ func (client *BlockBlobClient) uploadCreateRequest(ctx context.Context, contentL if options != nil && options.BlobTagsString != nil { req.Raw().Header["x-ms-tags"] = []string{*options.BlobTagsString} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} if err := req.SetBody(body, "application/octet-stream"); err != nil { return nil, err } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_container_client.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_container_client.go index 238971dd87..9edddc7449 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_container_client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_container_client.go @@ -31,7 +31,7 @@ type ContainerClient struct { // to 60 seconds, or can be infinite // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - duration - Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires. A non-infinite // lease can be between 15 and 60 seconds. A lease duration cannot be changed using // renew or change. @@ -83,7 +83,7 @@ func (client *ContainerClient) acquireLeaseCreateRequest(ctx context.Context, du if options != nil && options.ProposedLeaseID != nil { req.Raw().Header["x-ms-proposed-lease-id"] = []string{*options.ProposedLeaseID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -126,7 +126,7 @@ func (client *ContainerClient) acquireLeaseHandleResponse(resp *http.Response) ( // to 60 seconds, or can be infinite // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - options - ContainerClientBreakLeaseOptions contains the optional parameters for the ContainerClient.BreakLease method. // - ModifiedAccessConditions - ModifiedAccessConditions contains a group of parameters for the ContainerClient.Delete method. func (client *ContainerClient) BreakLease(ctx context.Context, options *ContainerClientBreakLeaseOptions, modifiedAccessConditions *ModifiedAccessConditions) (ContainerClientBreakLeaseResponse, error) { @@ -174,7 +174,7 @@ func (client *ContainerClient) breakLeaseCreateRequest(ctx context.Context, opti if options != nil && options.BreakPeriod != nil { req.Raw().Header["x-ms-lease-break-period"] = []string{strconv.FormatInt(int64(*options.BreakPeriod), 10)} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -222,7 +222,7 @@ func (client *ContainerClient) breakLeaseHandleResponse(resp *http.Response) (Co // to 60 seconds, or can be infinite // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - leaseID - Specifies the current lease ID on the resource. // - proposedLeaseID - Proposed lease ID, in a GUID string format. The Blob service returns 400 (Invalid request) if the proposed // lease ID is not in the correct format. See Guid Constructor (String) for a list of valid GUID @@ -273,7 +273,7 @@ func (client *ContainerClient) changeLeaseCreateRequest(ctx context.Context, lea req.Raw().Header["x-ms-lease-action"] = []string{"change"} req.Raw().Header["x-ms-lease-id"] = []string{leaseID} req.Raw().Header["x-ms-proposed-lease-id"] = []string{proposedLeaseID} - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -316,7 +316,7 @@ func (client *ContainerClient) changeLeaseHandleResponse(resp *http.Response) (C // fails // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - options - ContainerClientCreateOptions contains the optional parameters for the ContainerClient.Create method. // - ContainerCPKScopeInfo - ContainerCPKScopeInfo contains a group of parameters for the ContainerClient.Create method. func (client *ContainerClient) Create(ctx context.Context, options *ContainerClientCreateOptions, containerCPKScopeInfo *ContainerCPKScopeInfo) (ContainerClientCreateResponse, error) { @@ -369,7 +369,7 @@ func (client *ContainerClient) createCreateRequest(ctx context.Context, options } } } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -409,7 +409,7 @@ func (client *ContainerClient) createHandleResponse(resp *http.Response) (Contai // deleted during garbage collection // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - options - ContainerClientDeleteOptions contains the optional parameters for the ContainerClient.Delete method. // - LeaseAccessConditions - LeaseAccessConditions contains a group of parameters for the ContainerClient.GetProperties method. // - ModifiedAccessConditions - ModifiedAccessConditions contains a group of parameters for the ContainerClient.Delete method. @@ -456,7 +456,7 @@ func (client *ContainerClient) deleteCreateRequest(ctx context.Context, options if leaseAccessConditions != nil && leaseAccessConditions.LeaseID != nil { req.Raw().Header["x-ms-lease-id"] = []string{*leaseAccessConditions.LeaseID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -486,7 +486,7 @@ func (client *ContainerClient) deleteHandleResponse(resp *http.Response) (Contai // Filter blobs searches within the given container. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - where - Filters the results to return only to return only blobs whose tags match the specified expression. // - options - ContainerClientFilterBlobsOptions contains the optional parameters for the ContainerClient.FilterBlobs method. func (client *ContainerClient) FilterBlobs(ctx context.Context, where string, options *ContainerClientFilterBlobsOptions) (ContainerClientFilterBlobsResponse, error) { @@ -534,7 +534,7 @@ func (client *ContainerClient) filterBlobsCreateRequest(ctx context.Context, whe if options != nil && options.RequestID != nil { req.Raw().Header["x-ms-client-request-id"] = []string{*options.RequestID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -567,7 +567,7 @@ func (client *ContainerClient) filterBlobsHandleResponse(resp *http.Response) (C // be accessed publicly. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - options - ContainerClientGetAccessPolicyOptions contains the optional parameters for the ContainerClient.GetAccessPolicy // method. // - LeaseAccessConditions - LeaseAccessConditions contains a group of parameters for the ContainerClient.GetProperties method. @@ -609,7 +609,7 @@ func (client *ContainerClient) getAccessPolicyCreateRequest(ctx context.Context, if leaseAccessConditions != nil && leaseAccessConditions.LeaseID != nil { req.Raw().Header["x-ms-lease-id"] = []string{*leaseAccessConditions.LeaseID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -654,7 +654,7 @@ func (client *ContainerClient) getAccessPolicyHandleResponse(resp *http.Response // GetAccountInfo - Returns the sku name and account kind // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - options - ContainerClientGetAccountInfoOptions contains the optional parameters for the ContainerClient.GetAccountInfo // method. func (client *ContainerClient) GetAccountInfo(ctx context.Context, options *ContainerClientGetAccountInfoOptions) (ContainerClientGetAccountInfoResponse, error) { @@ -692,7 +692,7 @@ func (client *ContainerClient) getAccountInfoCreateRequest(ctx context.Context, if options != nil && options.RequestID != nil { req.Raw().Header["x-ms-client-request-id"] = []string{*options.RequestID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -735,7 +735,7 @@ func (client *ContainerClient) getAccountInfoHandleResponse(resp *http.Response) // does not include the container's list of blobs // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - options - ContainerClientGetPropertiesOptions contains the optional parameters for the ContainerClient.GetProperties method. // - LeaseAccessConditions - LeaseAccessConditions contains a group of parameters for the ContainerClient.GetProperties method. func (client *ContainerClient) GetProperties(ctx context.Context, options *ContainerClientGetPropertiesOptions, leaseAccessConditions *LeaseAccessConditions) (ContainerClientGetPropertiesResponse, error) { @@ -775,7 +775,7 @@ func (client *ContainerClient) getPropertiesCreateRequest(ctx context.Context, o if leaseAccessConditions != nil && leaseAccessConditions.LeaseID != nil { req.Raw().Header["x-ms-lease-id"] = []string{*leaseAccessConditions.LeaseID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -864,7 +864,7 @@ func (client *ContainerClient) getPropertiesHandleResponse(resp *http.Response) // NewListBlobFlatSegmentPager - [Update] The List Blobs operation returns a list of the blobs under the specified container // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - options - ContainerClientListBlobFlatSegmentOptions contains the optional parameters for the ContainerClient.NewListBlobFlatSegmentPager // method. // @@ -889,6 +889,9 @@ func (client *ContainerClient) ListBlobFlatSegmentCreateRequest(ctx context.Cont reqQP.Set("prefix", *options.Prefix) } reqQP.Set("restype", "container") + if options != nil && options.StartFrom != nil { + reqQP.Set("startFrom", *options.StartFrom) + } if options != nil && options.Timeout != nil { reqQP.Set("timeout", strconv.FormatInt(int64(*options.Timeout), 10)) } @@ -897,7 +900,7 @@ func (client *ContainerClient) ListBlobFlatSegmentCreateRequest(ctx context.Cont if options != nil && options.RequestID != nil { req.Raw().Header["x-ms-client-request-id"] = []string{*options.RequestID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -931,7 +934,7 @@ func (client *ContainerClient) ListBlobFlatSegmentHandleResponse(resp *http.Resp // NewListBlobHierarchySegmentPager - [Update] The List Blobs operation returns a list of the blobs under the specified container // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - delimiter - When the request includes this parameter, the operation returns a BlobPrefix element in the response body that // acts as a placeholder for all blobs whose names begin with the same substring up to the // appearance of the delimiter character. The delimiter may be a single character or a string. @@ -980,6 +983,9 @@ func (client *ContainerClient) ListBlobHierarchySegmentCreateRequest(ctx context reqQP.Set("prefix", *options.Prefix) } reqQP.Set("restype", "container") + if options != nil && options.StartFrom != nil { + reqQP.Set("startFrom", *options.StartFrom) + } if options != nil && options.Timeout != nil { reqQP.Set("timeout", strconv.FormatInt(int64(*options.Timeout), 10)) } @@ -988,7 +994,7 @@ func (client *ContainerClient) ListBlobHierarchySegmentCreateRequest(ctx context if options != nil && options.RequestID != nil { req.Raw().Header["x-ms-client-request-id"] = []string{*options.RequestID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -1024,7 +1030,7 @@ func (client *ContainerClient) ListBlobHierarchySegmentHandleResponse(resp *http // to 60 seconds, or can be infinite // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - leaseID - Specifies the current lease ID on the resource. // - options - ContainerClientReleaseLeaseOptions contains the optional parameters for the ContainerClient.ReleaseLease method. // - ModifiedAccessConditions - ModifiedAccessConditions contains a group of parameters for the ContainerClient.Delete method. @@ -1071,7 +1077,7 @@ func (client *ContainerClient) releaseLeaseCreateRequest(ctx context.Context, le } req.Raw().Header["x-ms-lease-action"] = []string{"release"} req.Raw().Header["x-ms-lease-id"] = []string{leaseID} - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -1110,7 +1116,7 @@ func (client *ContainerClient) releaseLeaseHandleResponse(resp *http.Response) ( // Rename - Renames an existing container. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - sourceContainerName - Required. Specifies the name of the container to rename. // - options - ContainerClientRenameOptions contains the optional parameters for the ContainerClient.Rename method. func (client *ContainerClient) Rename(ctx context.Context, sourceContainerName string, options *ContainerClientRenameOptions) (ContainerClientRenameResponse, error) { @@ -1152,7 +1158,7 @@ func (client *ContainerClient) renameCreateRequest(ctx context.Context, sourceCo if options != nil && options.SourceLeaseID != nil { req.Raw().Header["x-ms-source-lease-id"] = []string{*options.SourceLeaseID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -1182,7 +1188,7 @@ func (client *ContainerClient) renameHandleResponse(resp *http.Response) (Contai // to 60 seconds, or can be infinite // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - leaseID - Specifies the current lease ID on the resource. // - options - ContainerClientRenewLeaseOptions contains the optional parameters for the ContainerClient.RenewLease method. // - ModifiedAccessConditions - ModifiedAccessConditions contains a group of parameters for the ContainerClient.Delete method. @@ -1229,7 +1235,7 @@ func (client *ContainerClient) renewLeaseCreateRequest(ctx context.Context, leas } req.Raw().Header["x-ms-lease-action"] = []string{"renew"} req.Raw().Header["x-ms-lease-id"] = []string{leaseID} - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -1271,7 +1277,7 @@ func (client *ContainerClient) renewLeaseHandleResponse(resp *http.Response) (Co // Restore - Restores a previously-deleted container. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - options - ContainerClientRestoreOptions contains the optional parameters for the ContainerClient.Restore method. func (client *ContainerClient) Restore(ctx context.Context, options *ContainerClientRestoreOptions) (ContainerClientRestoreResponse, error) { var err error @@ -1314,7 +1320,7 @@ func (client *ContainerClient) restoreCreateRequest(ctx context.Context, options if options != nil && options.DeletedContainerVersion != nil { req.Raw().Header["x-ms-deleted-container-version"] = []string{*options.DeletedContainerVersion} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -1344,7 +1350,7 @@ func (client *ContainerClient) restoreHandleResponse(resp *http.Response) (Conta // may be accessed publicly. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - containerACL - the acls for the container // - options - ContainerClientSetAccessPolicyOptions contains the optional parameters for the ContainerClient.SetAccessPolicy // method. @@ -1397,7 +1403,7 @@ func (client *ContainerClient) setAccessPolicyCreateRequest(ctx context.Context, if leaseAccessConditions != nil && leaseAccessConditions.LeaseID != nil { req.Raw().Header["x-ms-lease-id"] = []string{*leaseAccessConditions.LeaseID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} type wrapper struct { XMLName xml.Name `xml:"SignedIdentifiers"` ContainerACL *[]*SignedIdentifier `xml:"SignedIdentifier"` @@ -1443,7 +1449,7 @@ func (client *ContainerClient) setAccessPolicyHandleResponse(resp *http.Response // SetMetadata - operation sets one or more user-defined name-value pairs for the specified container. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - options - ContainerClientSetMetadataOptions contains the optional parameters for the ContainerClient.SetMetadata method. // - LeaseAccessConditions - LeaseAccessConditions contains a group of parameters for the ContainerClient.GetProperties method. // - ModifiedAccessConditions - ModifiedAccessConditions contains a group of parameters for the ContainerClient.Delete method. @@ -1495,7 +1501,7 @@ func (client *ContainerClient) setMetadataCreateRequest(ctx context.Context, opt } } } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -1534,7 +1540,7 @@ func (client *ContainerClient) setMetadataHandleResponse(resp *http.Response) (C // SubmitBatch - The Batch operation allows multiple API calls to be embedded into a single HTTP request. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - contentLength - The length of the request. // - multipartContentType - Required. The value of this header must be multipart/mixed with a batch boundary. Example header // value: multipart/mixed; boundary=batch_ @@ -1578,7 +1584,7 @@ func (client *ContainerClient) submitBatchCreateRequest(ctx context.Context, con if options != nil && options.RequestID != nil { req.Raw().Header["x-ms-client-request-id"] = []string{*options.RequestID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} if err := req.SetBody(body, multipartContentType); err != nil { return nil, err } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_models.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_models.go index 803b2858e8..041faeaeaf 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_models.go @@ -490,7 +490,10 @@ type StaticWebsite struct { } type StorageError struct { - Message *string + CopySourceErrorCode *string + CopySourceErrorMessage *string + CopySourceStatusCode *int32 + Message *string } // StorageServiceProperties - Storage Service Properties. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_models_serde.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_models_serde.go index e2e64d6fff..b5e95803e2 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_models_serde.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_models_serde.go @@ -392,6 +392,9 @@ func (q QueryRequest) MarshalXML(enc *xml.Encoder, start xml.StartElement) error // MarshalJSON implements the json.Marshaller interface for type StorageError. func (s StorageError) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) + populate(objectMap, "CopySourceErrorCode", s.CopySourceErrorCode) + populate(objectMap, "CopySourceErrorMessage", s.CopySourceErrorMessage) + populate(objectMap, "CopySourceStatusCode", s.CopySourceStatusCode) populate(objectMap, "Message", s.Message) return json.Marshal(objectMap) } @@ -405,6 +408,15 @@ func (s *StorageError) UnmarshalJSON(data []byte) error { for key, val := range rawMsg { var err error switch key { + case "CopySourceErrorCode": + err = unpopulate(val, "CopySourceErrorCode", &s.CopySourceErrorCode) + delete(rawMsg, key) + case "CopySourceErrorMessage": + err = unpopulate(val, "CopySourceErrorMessage", &s.CopySourceErrorMessage) + delete(rawMsg, key) + case "CopySourceStatusCode": + err = unpopulate(val, "CopySourceStatusCode", &s.CopySourceStatusCode) + delete(rawMsg, key) case "Message": err = unpopulate(val, "Message", &s.Message) delete(rawMsg, key) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_options.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_options.go index 290c9e1cf3..5e7f72253a 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_options.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_options.go @@ -627,6 +627,21 @@ type BlobHTTPHeaders struct { BlobContentType *string } +// BlobModifiedAccessConditions contains a group of parameters for the BlobClient.GetTags method. +type BlobModifiedAccessConditions struct { + // Specify an ETag value to operate only on blobs with a matching value. + IfMatch *azcore.ETag + + // Specify this header value to operate only on a blob if it has been modified since the specified date/time. + IfModifiedSince *time.Time + + // Specify an ETag value to operate only on blobs without a matching value. + IfNoneMatch *azcore.ETag + + // Specify this header value to operate only on a blob if it has not been modified since the specified date/time. + IfUnmodifiedSince *time.Time +} + // BlockBlobClientCommitBlockListOptions contains the optional parameters for the BlockBlobClient.CommitBlockList method. type BlockBlobClientCommitBlockListOptions struct { // Optional. Used to set blob tags in various blob operations. @@ -990,6 +1005,10 @@ type ContainerClientListBlobFlatSegmentOptions struct { // analytics logging is enabled. RequestID *string + // Specifies the relative path to list paths from. For non-recursive list, only one entity level is supported; For recursive + // list, multiple entity levels are supported. (Inclusive) + StartFrom *string + // The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for Blob Service Operations. // [https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations] Timeout *int32 @@ -1022,6 +1041,10 @@ type ContainerClientListBlobHierarchySegmentOptions struct { // analytics logging is enabled. RequestID *string + // Specifies the relative path to list paths from. For non-recursive list, only one entity level is supported; For recursive + // list, multiple entity levels are supported. (Inclusive) + StartFrom *string + // The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for Blob Service Operations. // [https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations] Timeout *int32 diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_pageblob_client.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_pageblob_client.go index 4f2d45213b..077e63efef 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_pageblob_client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_pageblob_client.go @@ -27,7 +27,7 @@ type PageBlobClient struct { // ClearPages - The Clear Pages operation clears a set of pages from a page blob // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - contentLength - The length of the request. // - options - PageBlobClientClearPagesOptions contains the optional parameters for the PageBlobClient.ClearPages method. // - LeaseAccessConditions - LeaseAccessConditions contains a group of parameters for the ContainerClient.GetProperties method. @@ -114,7 +114,7 @@ func (client *PageBlobClient) clearPagesCreateRequest(ctx context.Context, conte if options != nil && options.Range != nil { req.Raw().Header["x-ms-range"] = []string{*options.Range} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -178,7 +178,7 @@ func (client *PageBlobClient) clearPagesHandleResponse(resp *http.Response) (Pag // 2016-05-31. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - copySource - Specifies the name of the source page blob snapshot. This value is a URL of up to 2 KB in length that specifies // a page blob snapshot. The value should be URL-encoded as it would appear in a request // URI. The source blob must either be public or must be authenticated via a shared access signature. @@ -235,7 +235,7 @@ func (client *PageBlobClient) copyIncrementalCreateRequest(ctx context.Context, if modifiedAccessConditions != nil && modifiedAccessConditions.IfTags != nil { req.Raw().Header["x-ms-if-tags"] = []string{*modifiedAccessConditions.IfTags} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -280,7 +280,7 @@ func (client *PageBlobClient) copyIncrementalHandleResponse(resp *http.Response) // Create - The Create operation creates a new page blob. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - contentLength - The length of the request. // - blobContentLength - This header specifies the maximum size for the page blob, up to 1 TB. The page blob size must be aligned // to a 512-byte boundary. @@ -399,7 +399,7 @@ func (client *PageBlobClient) createCreateRequest(ctx context.Context, contentLe if options != nil && options.BlobTagsString != nil { req.Raw().Header["x-ms-tags"] = []string{*options.BlobTagsString} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -461,7 +461,7 @@ func (client *PageBlobClient) createHandleResponse(resp *http.Response) (PageBlo // NewGetPageRangesPager - The Get Page Ranges operation returns the list of valid page ranges for a page blob or snapshot // of a page blob // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - options - PageBlobClientGetPageRangesOptions contains the optional parameters for the PageBlobClient.NewGetPageRangesPager // method. // - LeaseAccessConditions - LeaseAccessConditions contains a group of parameters for the ContainerClient.GetProperties method. @@ -533,7 +533,7 @@ func (client *PageBlobClient) GetPageRangesCreateRequest(ctx context.Context, op if options != nil && options.Range != nil { req.Raw().Header["x-ms-range"] = []string{*options.Range} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -582,7 +582,7 @@ func (client *PageBlobClient) GetPageRangesHandleResponse(resp *http.Response) ( // NewGetPageRangesDiffPager - The Get Page Ranges Diff operation returns the list of valid page ranges for a page blob that // were changed between target blob and previous snapshot. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - options - PageBlobClientGetPageRangesDiffOptions contains the optional parameters for the PageBlobClient.NewGetPageRangesDiffPager // method. // - LeaseAccessConditions - LeaseAccessConditions contains a group of parameters for the ContainerClient.GetProperties method. @@ -660,7 +660,7 @@ func (client *PageBlobClient) GetPageRangesDiffCreateRequest(ctx context.Context if options != nil && options.Range != nil { req.Raw().Header["x-ms-range"] = []string{*options.Range} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -709,7 +709,7 @@ func (client *PageBlobClient) GetPageRangesDiffHandleResponse(resp *http.Respons // Resize - Resize the Blob // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - blobContentLength - This header specifies the maximum size for the page blob, up to 1 TB. The page blob size must be aligned // to a 512-byte boundary. // - options - PageBlobClientResizeOptions contains the optional parameters for the PageBlobClient.Resize method. @@ -782,7 +782,7 @@ func (client *PageBlobClient) resizeCreateRequest(ctx context.Context, blobConte if leaseAccessConditions != nil && leaseAccessConditions.LeaseID != nil { req.Raw().Header["x-ms-lease-id"] = []string{*leaseAccessConditions.LeaseID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -828,7 +828,7 @@ func (client *PageBlobClient) resizeHandleResponse(resp *http.Response) (PageBlo // UpdateSequenceNumber - Update the sequence number of the blob // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - sequenceNumberAction - Required if the x-ms-blob-sequence-number header is set for the request. This property applies to // page blobs only. This property indicates how the service should modify the blob's sequence number // - options - PageBlobClientUpdateSequenceNumberOptions contains the optional parameters for the PageBlobClient.UpdateSequenceNumber @@ -891,7 +891,7 @@ func (client *PageBlobClient) updateSequenceNumberCreateRequest(ctx context.Cont req.Raw().Header["x-ms-lease-id"] = []string{*leaseAccessConditions.LeaseID} } req.Raw().Header["x-ms-sequence-number-action"] = []string{string(sequenceNumberAction)} - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -937,7 +937,7 @@ func (client *PageBlobClient) updateSequenceNumberHandleResponse(resp *http.Resp // UploadPages - The Upload Pages operation writes a range of pages to a page blob // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - contentLength - The length of the request. // - body - Initial data // - options - PageBlobClientUploadPagesOptions contains the optional parameters for the PageBlobClient.UploadPages method. @@ -1037,7 +1037,7 @@ func (client *PageBlobClient) uploadPagesCreateRequest(ctx context.Context, cont if options != nil && options.StructuredContentLength != nil { req.Raw().Header["x-ms-structured-content-length"] = []string{strconv.FormatInt(*options.StructuredContentLength, 10)} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} if err := req.SetBody(body, "application/octet-stream"); err != nil { return nil, err } @@ -1117,7 +1117,7 @@ func (client *PageBlobClient) uploadPagesHandleResponse(resp *http.Response) (Pa // a URL // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - sourceURL - Specify a URL to the copy source. // - sourceRange - Bytes of source data in the specified range. The length of this range should match the ContentLength header // and x-ms-range/Range destination range header. @@ -1236,7 +1236,7 @@ func (client *PageBlobClient) uploadPagesFromURLCreateRequest(ctx context.Contex req.Raw().Header["x-ms-source-if-unmodified-since"] = []string{(*sourceModifiedAccessConditions.SourceIfUnmodifiedSince).In(gmt).Format(time.RFC1123)} } req.Raw().Header["x-ms-source-range"] = []string{sourceRange} - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_service_client.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_service_client.go index 3a3565e2b4..e0e4f89550 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_service_client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated/zz_service_client.go @@ -30,7 +30,7 @@ type ServiceClient struct { // be scoped within the expression to a single container. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - where - Filters the results to return only to return only blobs whose tags match the specified expression. // - options - ServiceClientFilterBlobsOptions contains the optional parameters for the ServiceClient.FilterBlobs method. func (client *ServiceClient) FilterBlobs(ctx context.Context, where string, options *ServiceClientFilterBlobsOptions) (ServiceClientFilterBlobsResponse, error) { @@ -77,7 +77,7 @@ func (client *ServiceClient) filterBlobsCreateRequest(ctx context.Context, where if options != nil && options.RequestID != nil { req.Raw().Header["x-ms-client-request-id"] = []string{*options.RequestID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -109,7 +109,7 @@ func (client *ServiceClient) filterBlobsHandleResponse(resp *http.Response) (Ser // GetAccountInfo - Returns the sku name and account kind // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - options - ServiceClientGetAccountInfoOptions contains the optional parameters for the ServiceClient.GetAccountInfo method. func (client *ServiceClient) GetAccountInfo(ctx context.Context, options *ServiceClientGetAccountInfoOptions) (ServiceClientGetAccountInfoResponse, error) { var err error @@ -146,7 +146,7 @@ func (client *ServiceClient) getAccountInfoCreateRequest(ctx context.Context, op if options != nil && options.RequestID != nil { req.Raw().Header["x-ms-client-request-id"] = []string{*options.RequestID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -189,7 +189,7 @@ func (client *ServiceClient) getAccountInfoHandleResponse(resp *http.Response) ( // CORS (Cross-Origin Resource Sharing) rules. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - options - ServiceClientGetPropertiesOptions contains the optional parameters for the ServiceClient.GetProperties method. func (client *ServiceClient) GetProperties(ctx context.Context, options *ServiceClientGetPropertiesOptions) (ServiceClientGetPropertiesResponse, error) { var err error @@ -226,7 +226,7 @@ func (client *ServiceClient) getPropertiesCreateRequest(ctx context.Context, opt if options != nil && options.RequestID != nil { req.Raw().Header["x-ms-client-request-id"] = []string{*options.RequestID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -252,7 +252,7 @@ func (client *ServiceClient) getPropertiesHandleResponse(resp *http.Response) (S // location endpoint when read-access geo-redundant replication is enabled for the storage account. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - options - ServiceClientGetStatisticsOptions contains the optional parameters for the ServiceClient.GetStatistics method. func (client *ServiceClient) GetStatistics(ctx context.Context, options *ServiceClientGetStatisticsOptions) (ServiceClientGetStatisticsResponse, error) { var err error @@ -289,7 +289,7 @@ func (client *ServiceClient) getStatisticsCreateRequest(ctx context.Context, opt if options != nil && options.RequestID != nil { req.Raw().Header["x-ms-client-request-id"] = []string{*options.RequestID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -322,7 +322,7 @@ func (client *ServiceClient) getStatisticsHandleResponse(resp *http.Response) (S // bearer token authentication. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - keyInfo - Key information // - options - ServiceClientGetUserDelegationKeyOptions contains the optional parameters for the ServiceClient.GetUserDelegationKey // method. @@ -361,7 +361,7 @@ func (client *ServiceClient) getUserDelegationKeyCreateRequest(ctx context.Conte if options != nil && options.RequestID != nil { req.Raw().Header["x-ms-client-request-id"] = []string{*options.RequestID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} if err := runtime.MarshalAsXML(req, keyInfo); err != nil { return nil, err } @@ -396,7 +396,7 @@ func (client *ServiceClient) getUserDelegationKeyHandleResponse(resp *http.Respo // NewListContainersSegmentPager - The List Containers Segment operation returns a list of the containers under the specified // account // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - options - ServiceClientListContainersSegmentOptions contains the optional parameters for the ServiceClient.NewListContainersSegmentPager // method. // @@ -428,7 +428,7 @@ func (client *ServiceClient) ListContainersSegmentCreateRequest(ctx context.Cont if options != nil && options.RequestID != nil { req.Raw().Header["x-ms-client-request-id"] = []string{*options.RequestID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} return req, nil } @@ -454,7 +454,7 @@ func (client *ServiceClient) ListContainersSegmentHandleResponse(resp *http.Resp // and CORS (Cross-Origin Resource Sharing) rules // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - storageServiceProperties - The StorageService properties. // - options - ServiceClientSetPropertiesOptions contains the optional parameters for the ServiceClient.SetProperties method. func (client *ServiceClient) SetProperties(ctx context.Context, storageServiceProperties StorageServiceProperties, options *ServiceClientSetPropertiesOptions) (ServiceClientSetPropertiesResponse, error) { @@ -492,7 +492,7 @@ func (client *ServiceClient) setPropertiesCreateRequest(ctx context.Context, sto if options != nil && options.RequestID != nil { req.Raw().Header["x-ms-client-request-id"] = []string{*options.RequestID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} if err := runtime.MarshalAsXML(req, storageServiceProperties); err != nil { return nil, err } @@ -517,7 +517,7 @@ func (client *ServiceClient) setPropertiesHandleResponse(resp *http.Response) (S // SubmitBatch - The Batch operation allows multiple API calls to be embedded into a single HTTP request. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2025-11-05 +// Generated from API version 2026-02-06 // - contentLength - The length of the request. // - multipartContentType - Required. The value of this header must be multipart/mixed with a batch boundary. Example header // value: multipart/mixed; boundary=batch_ @@ -560,7 +560,7 @@ func (client *ServiceClient) submitBatchCreateRequest(ctx context.Context, conte if options != nil && options.RequestID != nil { req.Raw().Header["x-ms-client-request-id"] = []string{*options.RequestID} } - req.Raw().Header["x-ms-version"] = []string{"2025-11-05"} + req.Raw().Header["x-ms-version"] = []string{"2026-02-06"} if err := req.SetBody(body, multipartContentType); err != nil { return nil, err } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/batch_transfer.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/batch_transfer.go index 5c44af34ae..7fc26f543d 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/batch_transfer.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/batch_transfer.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/buffer_manager.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/buffer_manager.go index e3aa4a4886..706850fedb 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/buffer_manager.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/buffer_manager.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/bytes_writer.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/bytes_writer.go index 8d4d35bdef..ed0bc2ae97 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/bytes_writer.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/bytes_writer.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/challenge_policy.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/challenge_policy.go index fff61016c8..9a50f56c4e 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/challenge_policy.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/challenge_policy.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/mmf_unix.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/mmf_unix.go index 072fd27b1d..7f878490ca 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/mmf_unix.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/mmf_unix.go @@ -1,6 +1,4 @@ -//go:build go1.18 && (linux || darwin || dragonfly || freebsd || openbsd || netbsd || solaris || aix || zos) -// +build go1.18 -// +build linux darwin dragonfly freebsd openbsd netbsd solaris aix zos +//go:build linux || darwin || dragonfly || freebsd || openbsd || netbsd || solaris || aix || zos // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/mmf_windows.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/mmf_windows.go index ef9fdc2a1f..8f1454ba55 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/mmf_windows.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/mmf_windows.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. @@ -9,7 +6,6 @@ package shared import ( "fmt" "os" - "reflect" "syscall" "unsafe" ) @@ -35,11 +31,9 @@ func NewMMB(size int64) (Mmb, error) { return nil, os.NewSyscallError("MapViewOfFile", err) } - m := Mmb{} - h := (*reflect.SliceHeader)(unsafe.Pointer(&m)) - h.Data = addr - h.Len = int(size) - h.Cap = h.Len + // go vet flags this as a false positive + // https://github.com/golang/go/issues/58625 + m := unsafe.Slice((*byte)(unsafe.Pointer(addr)), int(size)) return m, nil } @@ -49,8 +43,6 @@ func (m *Mmb) Delete() { *m = Mmb{} err := syscall.UnmapViewOfFile(addr) if err != nil { - // if we get here, there is likely memory corruption. - // please open an issue https://github.com/Azure/azure-sdk-for-go/issues panic(fmt.Sprintf("UnmapViewOfFile error: %v", err)) } } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/section_writer.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/section_writer.go index c8528a2e3e..df30561cee 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/section_writer.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/section_writer.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/shared.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/shared.go index c7922076f3..6c22cdb40a 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/shared.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared/shared.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. @@ -231,12 +228,12 @@ func GetClientOptions[T any](o *T) *T { // http(s)://IP(:port)/storageaccount/container/... // As url's Host property, host could be both host or host:port func IsIPEndpointStyle(host string) bool { - if host == "" { - return false - } if h, _, err := net.SplitHostPort(host); err == nil { host = h } + if host == "" { + return false + } // For IPv6, there could be case where SplitHostPort fails for cannot finding port. // In this case, eliminate the '[' and ']' in the URL. // For details about IPv6 URL, please refer to https://tools.ietf.org/html/rfc2732 diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/models.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/models.go index 2896788e1f..764bad06ca 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/models.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/pageblob/client.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/pageblob/client.go index 63ceac9792..ec2bc24fe5 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/pageblob/client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/pageblob/client.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/pageblob/constants.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/pageblob/constants.go index 096a7910aa..b416cd306a 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/pageblob/constants.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/pageblob/constants.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/pageblob/models.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/pageblob/models.go index f327fae6de..fe2a9489d8 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/pageblob/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/pageblob/models.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/pageblob/responses.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/pageblob/responses.go index 876efbab1d..b7c732beed 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/pageblob/responses.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/pageblob/responses.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/responses.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/responses.go index 86b05d098f..0d46661ac5 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/responses.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/responses.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/sas/account.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/sas/account.go index 4069bb1320..cac13ebd8a 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/sas/account.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/sas/account.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/sas/query_params.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/sas/query_params.go index 20f9875a96..831387ddde 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/sas/query_params.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/sas/query_params.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. @@ -117,34 +114,35 @@ func (ipr *IPRange) String() string { // This type defines the components used by all Azure Storage resources (Containers, Blobs, Files, & Queues). type QueryParameters struct { // All members are immutable or values so copies of this struct are goroutine-safe. - version string `param:"sv"` - services string `param:"ss"` - resourceTypes string `param:"srt"` - protocol Protocol `param:"spr"` - startTime time.Time `param:"st"` - expiryTime time.Time `param:"se"` - snapshotTime time.Time `param:"snapshot"` - ipRange IPRange `param:"sip"` - identifier string `param:"si"` - resource string `param:"sr"` - permissions string `param:"sp"` - signature string `param:"sig"` - cacheControl string `param:"rscc"` - contentDisposition string `param:"rscd"` - contentEncoding string `param:"rsce"` - contentLanguage string `param:"rscl"` - contentType string `param:"rsct"` - signedOID string `param:"skoid"` - signedTID string `param:"sktid"` - signedStart time.Time `param:"skt"` - signedService string `param:"sks"` - signedExpiry time.Time `param:"ske"` - signedVersion string `param:"skv"` - signedDirectoryDepth string `param:"sdd"` - authorizedObjectID string `param:"saoid"` - unauthorizedObjectID string `param:"suoid"` - correlationID string `param:"scid"` - encryptionScope string `param:"ses"` + version string `param:"sv"` + services string `param:"ss"` + resourceTypes string `param:"srt"` + protocol Protocol `param:"spr"` + startTime time.Time `param:"st"` + expiryTime time.Time `param:"se"` + snapshotTime time.Time `param:"snapshot"` + ipRange IPRange `param:"sip"` + identifier string `param:"si"` + resource string `param:"sr"` + permissions string `param:"sp"` + signature string `param:"sig"` + cacheControl string `param:"rscc"` + contentDisposition string `param:"rscd"` + contentEncoding string `param:"rsce"` + contentLanguage string `param:"rscl"` + contentType string `param:"rsct"` + signedOID string `param:"skoid"` + signedTID string `param:"sktid"` + signedStart time.Time `param:"skt"` + signedService string `param:"sks"` + signedExpiry time.Time `param:"ske"` + signedVersion string `param:"skv"` + signedDirectoryDepth string `param:"sdd"` + authorizedObjectID string `param:"saoid"` + unauthorizedObjectID string `param:"suoid"` + correlationID string `param:"scid"` + encryptionScope string `param:"ses"` + signedDelegatedUserObjectID string `param:"sduoid"` // private member used for startTime and expiryTime formatting. stTimeFormat string seTimeFormat string @@ -290,6 +288,11 @@ func (p *QueryParameters) SignedDirectoryDepth() string { return p.signedDirectoryDepth } +// SignedDelegatedUserObjectID returns SignedDelegatedUserObjectID +func (p *QueryParameters) SignedDelegatedUserObjectID() string { + return p.signedDelegatedUserObjectID +} + // Encode encodes the SAS query parameters into URL encoded form sorted by key. func (p *QueryParameters) Encode() string { v := url.Values{} @@ -365,6 +368,9 @@ func (p *QueryParameters) Encode() string { if p.encryptionScope != "" { v.Add("ses", p.encryptionScope) } + if p.signedDelegatedUserObjectID != "" { + v.Add("sduoid", p.signedDelegatedUserObjectID) + } return v.Encode() } @@ -441,6 +447,8 @@ func NewQueryParameters(values url.Values, deleteSASParametersFromValues bool) Q p.correlationID = val case "ses": p.encryptionScope = val + case "sduoid": + p.signedDelegatedUserObjectID = val default: isSASKey = false // We didn't recognize the query parameter } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/sas/service.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/sas/service.go index 64133458d4..e8213faf0d 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/sas/service.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/sas/service.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. @@ -20,27 +17,28 @@ import ( // For more information on creating service sas, see https://docs.microsoft.com/rest/api/storageservices/constructing-a-service-sas // For more information on creating user delegation sas, see https://docs.microsoft.com/rest/api/storageservices/create-user-delegation-sas type BlobSignatureValues struct { - Version string `param:"sv"` // If not specified, this defaults to Version - Protocol Protocol `param:"spr"` // See the Protocol* constants - StartTime time.Time `param:"st"` // Not specified if IsZero - ExpiryTime time.Time `param:"se"` // Not specified if IsZero - SnapshotTime time.Time - Permissions string `param:"sp"` // Create by initializing ContainerPermissions or BlobPermissions and then call String() - IPRange IPRange `param:"sip"` - Identifier string `param:"si"` - ContainerName string - BlobName string // Use "" to create a Container SAS - Directory string // Not nil for a directory SAS (ie sr=d) - CacheControl string // rscc - ContentDisposition string // rscd - ContentEncoding string // rsce - ContentLanguage string // rscl - ContentType string // rsct - BlobVersion string // sr=bv - AuthorizedObjectID string // saoid - UnauthorizedObjectID string // suoid - CorrelationID string // scid - EncryptionScope string `param:"ses"` + Version string `param:"sv"` // If not specified, this defaults to Version + Protocol Protocol `param:"spr"` // See the Protocol* constants + StartTime time.Time `param:"st"` // Not specified if IsZero + ExpiryTime time.Time `param:"se"` // Not specified if IsZero + SnapshotTime time.Time + Permissions string `param:"sp"` // Create by initializing ContainerPermissions or BlobPermissions and then call String() + IPRange IPRange `param:"sip"` + Identifier string `param:"si"` + ContainerName string + BlobName string // Use "" to create a Container SAS + Directory string // Not nil for a directory SAS (ie sr=d) + CacheControl string // rscc + ContentDisposition string // rscd + ContentEncoding string // rsce + ContentLanguage string // rscl + ContentType string // rsct + BlobVersion string // sr=bv + AuthorizedObjectID string // saoid + UnauthorizedObjectID string // suoid + CorrelationID string // scid + EncryptionScope string `param:"ses"` + SignedDelegatedUserObjectID string // sduoid } func getDirectoryDepth(path string) string { @@ -210,8 +208,8 @@ func (v BlobSignatureValues) SignWithUserDelegation(userDelegationCredential *Us v.AuthorizedObjectID, v.UnauthorizedObjectID, v.CorrelationID, - "", // Placeholder for SignedKeyDelegatedUserTenantId (future field) - "", // Placeholder for SignedDelegatedUserObjectId (future field) + "", // Placeholder for SignedKeyDelegatedUserTenantId (future field) + v.SignedDelegatedUserObjectID, // Placeholder for SignedDelegatedUserObjectID (future field) v.IPRange.String(), string(v.Protocol), v.Version, @@ -241,18 +239,19 @@ func (v BlobSignatureValues) SignWithUserDelegation(userDelegationCredential *Us encryptionScope: v.EncryptionScope, // Container/Blob-specific SAS parameters - resource: resource, - identifier: v.Identifier, - cacheControl: v.CacheControl, - contentDisposition: v.ContentDisposition, - contentEncoding: v.ContentEncoding, - contentLanguage: v.ContentLanguage, - contentType: v.ContentType, - snapshotTime: v.SnapshotTime, - signedDirectoryDepth: getDirectoryDepth(v.Directory), - authorizedObjectID: v.AuthorizedObjectID, - unauthorizedObjectID: v.UnauthorizedObjectID, - correlationID: v.CorrelationID, + resource: resource, + identifier: v.Identifier, + cacheControl: v.CacheControl, + contentDisposition: v.ContentDisposition, + contentEncoding: v.ContentEncoding, + contentLanguage: v.ContentLanguage, + contentType: v.ContentType, + snapshotTime: v.SnapshotTime, + signedDirectoryDepth: getDirectoryDepth(v.Directory), + authorizedObjectID: v.AuthorizedObjectID, + unauthorizedObjectID: v.UnauthorizedObjectID, + correlationID: v.CorrelationID, + signedDelegatedUserObjectID: v.SignedDelegatedUserObjectID, // Calculated SAS signature signature: signature, } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/sas/url_parts.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/sas/url_parts.go index 758739cb82..0d87394613 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/sas/url_parts.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/sas/url_parts.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/service/batch_builder.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/service/batch_builder.go index 924fd1081f..f00662f22b 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/service/batch_builder.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/service/batch_builder.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/service/client.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/service/client.go index cf39c3d579..153b933548 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/service/client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/service/client.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/service/constants.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/service/constants.go index 20665fc2b7..322c2f8b47 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/service/constants.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/service/constants.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/service/models.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/service/models.go index b70724d797..38a5397b60 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/service/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/service/models.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/service/responses.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/service/responses.go index 2dbf971654..27b338aece 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/service/responses.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/service/responses.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/confidential/confidential.go b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/confidential/confidential.go index 549d68ab99..29c004320d 100644 --- a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/confidential/confidential.go +++ b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/confidential/confidential.go @@ -596,6 +596,11 @@ func (cca Client) AcquireTokenSilent(ctx context.Context, scopes []string, opts return AuthResult{}, errors.New("call another AcquireToken method to request a new token having these claims") } + // For service principal scenarios, require WithSilentAccount for public API + if o.account.IsZero() { + return AuthResult{}, errors.New("WithSilentAccount option is required") + } + silentParameters := base.AcquireTokenSilentParameters{ Scopes: scopes, Account: o.account, @@ -604,8 +609,15 @@ func (cca Client) AcquireTokenSilent(ctx context.Context, scopes []string, opts IsAppCache: o.account.IsZero(), TenantID: o.tenantID, AuthnScheme: o.authnScheme, + Claims: o.claims, } + return cca.acquireTokenSilentInternal(ctx, silentParameters) +} + +// acquireTokenSilentInternal is the internal implementation shared by AcquireTokenSilent and AcquireTokenByCredential +func (cca Client) acquireTokenSilentInternal(ctx context.Context, silentParameters base.AcquireTokenSilentParameters) (AuthResult, error) { + return cca.base.AcquireTokenSilent(ctx, silentParameters) } @@ -708,8 +720,10 @@ func (cca Client) AcquireTokenByAuthCode(ctx context.Context, code string, redir // acquireTokenByCredentialOptions contains optional configuration for AcquireTokenByCredential type acquireTokenByCredentialOptions struct { - claims, tenantID string - authnScheme AuthenticationScheme + claims, tenantID string + authnScheme AuthenticationScheme + extraBodyParameters map[string]string + cacheKeyComponents map[string]string } // AcquireByCredentialOption is implemented by options for AcquireTokenByCredential @@ -719,7 +733,7 @@ type AcquireByCredentialOption interface { // AcquireTokenByCredential acquires a security token from the authority, using the client credentials grant. // -// Options: [WithClaims], [WithTenantID] +// Options: [WithClaims], [WithTenantID], [WithFMIPath], [WithAttribute] func (cca Client) AcquireTokenByCredential(ctx context.Context, scopes []string, opts ...AcquireByCredentialOption) (AuthResult, error) { o := acquireTokenByCredentialOptions{} err := options.ApplyOptions(&o, opts) @@ -736,6 +750,29 @@ func (cca Client) AcquireTokenByCredential(ctx context.Context, scopes []string, if o.authnScheme != nil { authParams.AuthnScheme = o.authnScheme } + authParams.ExtraBodyParameters = o.extraBodyParameters + authParams.CacheKeyComponents = o.cacheKeyComponents + if o.claims == "" { + silentParameters := base.AcquireTokenSilentParameters{ + Scopes: scopes, + Account: Account{}, // empty account for app token + RequestType: accesstokens.ATConfidential, + Credential: cca.cred, + IsAppCache: true, + TenantID: o.tenantID, + AuthnScheme: o.authnScheme, + Claims: o.claims, + ExtraBodyParameters: o.extraBodyParameters, + CacheKeyComponents: o.cacheKeyComponents, + } + + // Use internal method with empty account (service principal scenario) + cache, err := cca.acquireTokenSilentInternal(ctx, silentParameters) + if err == nil { + return cache, nil + } + } + token, err := cca.base.Token.Credential(ctx, authParams, cca.cred) if err != nil { return AuthResult{}, err @@ -781,3 +818,63 @@ func (cca Client) Account(ctx context.Context, accountID string) (Account, error func (cca Client) RemoveAccount(ctx context.Context, account Account) error { return cca.base.RemoveAccount(ctx, account) } + +// WithFMIPath specifies the path to a federated managed identity. +// The path should point to a valid FMI configuration file that contains the necessary +// identity information for authentication. +func WithFMIPath(path string) interface { + AcquireByCredentialOption + options.CallOption +} { + return struct { + AcquireByCredentialOption + options.CallOption + }{ + CallOption: options.NewCallOption( + func(a any) error { + switch t := a.(type) { + case *acquireTokenByCredentialOptions: + if t.extraBodyParameters == nil { + t.extraBodyParameters = make(map[string]string) + } + if t.cacheKeyComponents == nil { + t.cacheKeyComponents = make(map[string]string) + } + t.cacheKeyComponents["fmi_path"] = path + t.extraBodyParameters["fmi_path"] = path + default: + return fmt.Errorf("unexpected options type %T", a) + } + return nil + }, + ), + } +} + +// WithAttribute specifies an identity attribute to include in the token request. +// The attribute is sent as "attributes" in the request body and returned as "xmc_attr" +// in the access token claims. This is sometimes used withFMIPath +func WithAttribute(attrValue string) interface { + AcquireByCredentialOption + options.CallOption +} { + return struct { + AcquireByCredentialOption + options.CallOption + }{ + CallOption: options.NewCallOption( + func(a any) error { + switch t := a.(type) { + case *acquireTokenByCredentialOptions: + if t.extraBodyParameters == nil { + t.extraBodyParameters = make(map[string]string) + } + t.extraBodyParameters["attributes"] = attrValue + default: + return fmt.Errorf("unexpected options type %T", a) + } + return nil + }, + ), + } +} diff --git a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/base/base.go b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/base/base.go index 61c1c4cec1..abf54f7e50 100644 --- a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/base/base.go +++ b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/base/base.go @@ -46,16 +46,18 @@ type accountManager interface { // AcquireTokenSilentParameters contains the parameters to acquire a token silently (from cache). type AcquireTokenSilentParameters struct { - Scopes []string - Account shared.Account - RequestType accesstokens.AppType - Credential *accesstokens.Credential - IsAppCache bool - TenantID string - UserAssertion string - AuthorizationType authority.AuthorizeType - Claims string - AuthnScheme authority.AuthenticationScheme + Scopes []string + Account shared.Account + RequestType accesstokens.AppType + Credential *accesstokens.Credential + IsAppCache bool + TenantID string + UserAssertion string + AuthorizationType authority.AuthorizeType + Claims string + AuthnScheme authority.AuthenticationScheme + ExtraBodyParameters map[string]string + CacheKeyComponents map[string]string } // AcquireTokenAuthCodeParameters contains the parameters required to acquire an access token using the auth code flow. @@ -327,7 +329,12 @@ func (b Client) AcquireTokenSilent(ctx context.Context, silent AcquireTokenSilen if silent.AuthnScheme != nil { authParams.AuthnScheme = silent.AuthnScheme } - + if silent.CacheKeyComponents != nil { + authParams.CacheKeyComponents = silent.CacheKeyComponents + } + if silent.ExtraBodyParameters != nil { + authParams.ExtraBodyParameters = silent.ExtraBodyParameters + } m := b.pmanager if authParams.AuthorizationType != authority.ATOnBehalfOf { authParams.AuthorizationType = authority.ATRefreshToken @@ -367,8 +374,19 @@ func (b Client) AcquireTokenSilent(ctx context.Context, silent AcquireTokenSilen // If the token is not same, we don't need to refresh it. // Which means it refreshed. if str, err := m.Read(ctx, authParams); err == nil && str.AccessToken.Secret == ar.AccessToken { - if tr, er := b.Token.Credential(ctx, authParams, silent.Credential); er == nil { - return b.AuthResultFromToken(ctx, authParams, tr) + switch silent.RequestType { + case accesstokens.ATConfidential: + if tr, er := b.Token.Credential(ctx, authParams, silent.Credential); er == nil { + return b.AuthResultFromToken(ctx, authParams, tr) + } + case accesstokens.ATPublic: + token, err := b.Token.Refresh(ctx, silent.RequestType, authParams, silent.Credential, storageTokenResponse.RefreshToken) + if err != nil { + return ar, err + } + return b.AuthResultFromToken(ctx, authParams, token) + case accesstokens.ATUnknown: + return ar, errors.New("silent request type cannot be ATUnknown") } } } @@ -446,6 +464,9 @@ func (b Client) AcquireTokenOnBehalfOf(ctx context.Context, onBehalfOfParams Acq authParams.Claims = onBehalfOfParams.Claims authParams.Scopes = onBehalfOfParams.Scopes authParams.UserAssertion = onBehalfOfParams.UserAssertion + if authParams.ExtraBodyParameters != nil { + authParams.ExtraBodyParameters = silentParameters.ExtraBodyParameters + } token, err := b.Token.OnBehalfOf(ctx, authParams, onBehalfOfParams.Credential) if err == nil { ar, err = b.AuthResultFromToken(ctx, authParams, token) diff --git a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/base/storage/items.go b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/base/storage/items.go index 7379e2233c..b7d1a670b1 100644 --- a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/base/storage/items.go +++ b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/base/storage/items.go @@ -79,6 +79,7 @@ type AccessToken struct { UserAssertionHash string `json:"user_assertion_hash,omitempty"` TokenType string `json:"token_type,omitempty"` AuthnSchemeKeyID string `json:"keyid,omitempty"` + ExtCacheKey string `json:"ext_cache_key,omitempty"` AdditionalFields map[string]interface{} } @@ -105,15 +106,21 @@ func NewAccessToken(homeID, env, realm, clientID string, cachedAt, refreshOn, ex // Key outputs the key that can be used to uniquely look up this entry in a map. func (a AccessToken) Key() string { ks := []string{a.HomeAccountID, a.Environment, a.CredentialType, a.ClientID, a.Realm, a.Scopes} - key := strings.Join( - ks, - shared.CacheKeySeparator, - ) + // add token type to key for new access tokens types. skip for bearer token type to // preserve fwd and back compat between a common cache and msal clients if !strings.EqualFold(a.TokenType, authority.AccessTokenTypeBearer) { - key = strings.Join([]string{key, a.TokenType}, shared.CacheKeySeparator) + ks = append(ks, a.TokenType) } + // add extra body param hash to key if present + if a.ExtCacheKey != "" { + ks[2] = "atext" // if the there is extra cache we add "atext" to the key replacing accesstoken + ks = append(ks, a.ExtCacheKey) + } + key := strings.Join( + ks, + shared.CacheKeySeparator, + ) return strings.ToLower(key) } diff --git a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/base/storage/storage.go b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/base/storage/storage.go index 84a234967f..825d8a0f66 100644 --- a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/base/storage/storage.go +++ b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/base/storage/storage.go @@ -135,7 +135,8 @@ func (m *Manager) Read(ctx context.Context, authParameters authority.AuthParams) aliases = metadata.Aliases } - accessToken := m.readAccessToken(homeAccountID, aliases, realm, clientID, scopes, tokenType, authnSchemeKeyID) + accessToken := m.readAccessToken(homeAccountID, aliases, realm, clientID, scopes, tokenType, authnSchemeKeyID, authParameters.CacheExtKeyGenerator()) + tr.AccessToken = accessToken if homeAccountID == "" { @@ -203,6 +204,7 @@ func (m *Manager) Write(authParameters authority.AuthParams, tokenResponse acces authnSchemeKeyID, ) + accessToken.ExtCacheKey = authParameters.CacheExtKeyGenerator() // Since we have a valid access token, cache it before moving on. if err := accessToken.Validate(); err == nil { if err := m.writeAccessToken(accessToken); err != nil { @@ -291,26 +293,49 @@ func (m *Manager) aadMetadata(ctx context.Context, authorityInfo authority.Info) return m.aadCache[authorityInfo.Host], nil } -func (m *Manager) readAccessToken(homeID string, envAliases []string, realm, clientID string, scopes []string, tokenType, authnSchemeKeyID string) AccessToken { +func (m *Manager) readAccessToken(homeID string, envAliases []string, realm, clientID string, scopes []string, tokenType, authnSchemeKeyID, extCacheKey string) AccessToken { m.contractMu.RLock() - // TODO: linear search (over a map no less) is slow for a large number (thousands) of tokens. - // this shows up as the dominating node in a profile. for real-world scenarios this likely isn't - // an issue, however if it does become a problem then we know where to look. - for k, at := range m.contract.AccessTokens { + + tokensToSearch := m.contract.AccessTokens + + for k, at := range tokensToSearch { + // TODO: linear search (over a map no less) is slow for a large number (thousands) of tokens. + // this shows up as the dominating node in a profile. for real-world scenarios this likely isn't + // an issue, however if it does become a problem then we know where to look. if at.HomeAccountID == homeID && at.Realm == realm && at.ClientID == clientID { - if (strings.EqualFold(at.TokenType, tokenType) && at.AuthnSchemeKeyID == authnSchemeKeyID) || (at.TokenType == "" && (tokenType == "" || tokenType == "Bearer")) { - if checkAlias(at.Environment, envAliases) && isMatchingScopes(scopes, at.Scopes) { - m.contractMu.RUnlock() - if needsUpgrade(k) { - m.contractMu.Lock() - defer m.contractMu.Unlock() - at = upgrade(m.contract.AccessTokens, k) + // Match token type and authentication scheme + tokenTypeMatch := (strings.EqualFold(at.TokenType, tokenType) && at.AuthnSchemeKeyID == authnSchemeKeyID) || + (at.TokenType == "" && (tokenType == "" || tokenType == "Bearer")) + environmentAndScopesMatch := checkAlias(at.Environment, envAliases) && isMatchingScopes(scopes, at.Scopes) + + if tokenTypeMatch && environmentAndScopesMatch { + // For hashed tokens, check that the key contains the hash + if extCacheKey != "" { + if !strings.Contains(k, extCacheKey) { + continue // Skip this token if the key doesn't contain the hash + } + } else { + // If no extCacheKey is provided, only match tokens that also have no extCacheKey + if at.ExtCacheKey != "" { + continue // Skip tokens that require a hash when no hash is provided } + } + // Handle token upgrade if needed + if needsUpgrade(k) { + m.contractMu.RUnlock() + m.contractMu.Lock() + at = upgrade(tokensToSearch, k) + m.contractMu.Unlock() return at } + + m.contractMu.RUnlock() + return at } } } + + // No token found, unlock and return empty token m.contractMu.RUnlock() return AccessToken{} } diff --git a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/accesstokens/accesstokens.go b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/accesstokens/accesstokens.go index d738c7591e..481f9e4341 100644 --- a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/accesstokens/accesstokens.go +++ b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/accesstokens/accesstokens.go @@ -281,6 +281,9 @@ func (c Client) FromClientSecret(ctx context.Context, authParameters authority.A qv.Set(clientID, authParameters.ClientID) addScopeQueryParam(qv, authParameters) + // Add extra body parameters if provided + addExtraBodyParameters(ctx, qv, authParameters) + return c.doTokenResp(ctx, authParameters, qv) } @@ -296,6 +299,9 @@ func (c Client) FromAssertion(ctx context.Context, authParameters authority.Auth qv.Set(clientInfo, clientInfoVal) addScopeQueryParam(qv, authParameters) + // Add extra body parameters if provided + addExtraBodyParameters(ctx, qv, authParameters) + return c.doTokenResp(ctx, authParameters, qv) } @@ -329,6 +335,8 @@ func (c Client) FromUserAssertionClientCertificate(ctx context.Context, authPara qv.Set("requested_token_use", "on_behalf_of") addScopeQueryParam(qv, authParameters) + // Add extra body parameters if provided + addExtraBodyParameters(ctx, qv, authParameters) return c.doTokenResp(ctx, authParameters, qv) } @@ -466,3 +474,12 @@ func addScopeQueryParam(queryParams url.Values, authParameters authority.AuthPar scopes := AppendDefaultScopes(authParameters) queryParams.Set("scope", strings.Join(scopes, " ")) } + +// addExtraBodyParameters evaluates and adds extra body parameters to the request +func addExtraBodyParameters(ctx context.Context, v url.Values, ap authority.AuthParams) { + for key, value := range ap.ExtraBodyParameters { + if value != "" { + v.Set(key, value) + } + } +} diff --git a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/authority/authority.go b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/authority/authority.go index 3f40374640..debd465dba 100644 --- a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/authority/authority.go +++ b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/authority/authority.go @@ -15,6 +15,7 @@ import ( "net/url" "os" "path" + "sort" "strings" "time" @@ -47,6 +48,8 @@ type jsonCaller interface { } // For backward compatibility, accept both old and new China endpoints for a transition period. +// This list is derived from the AAD instance discovery metadata and represents all known trusted hosts +// across different Azure clouds (Public, China, Germany, US Government, etc.) var aadTrustedHostList = map[string]bool{ "login.windows.net": true, // Microsoft Azure Worldwide - Used in validation scenarios where host is not this list "login.partner.microsoftonline.cn": true, // Microsoft Azure China (new) @@ -55,6 +58,9 @@ var aadTrustedHostList = map[string]bool{ "login-us.microsoftonline.com": true, // Microsoft Azure US Government - Legacy "login.microsoftonline.us": true, // Microsoft Azure US Government "login.microsoftonline.com": true, // Microsoft Azure Worldwide + "login.microsoft.com": true, + "sts.windows.net": true, + "login.usgovcloudapi.net": true, } // TrustedHost checks if an AAD host is trusted/valid. @@ -103,36 +109,46 @@ func (r *TenantDiscoveryResponse) Validate() error { // ValidateIssuerMatchesAuthority validates that the issuer in the TenantDiscoveryResponse matches the authority. // This is used to identity security or configuration issues in authorities and the OIDC endpoint func (r *TenantDiscoveryResponse) ValidateIssuerMatchesAuthority(authorityURI string, aliases map[string]bool) error { - if authorityURI == "" { return errors.New("TenantDiscoveryResponse: empty authorityURI provided for validation") } + if r.Issuer == "" { + return errors.New("TenantDiscoveryResponse: empty issuer in response") + } - // Parse the issuer URL issuerURL, err := url.Parse(r.Issuer) if err != nil { return fmt.Errorf("TenantDiscoveryResponse: failed to parse issuer URL: %w", err) } + authorityURL, err := url.Parse(authorityURI) + if err != nil { + return fmt.Errorf("TenantDiscoveryResponse: failed to parse authority URL: %w", err) + } + + // Fast path: exact scheme + host match + if issuerURL.Scheme == authorityURL.Scheme && issuerURL.Host == authorityURL.Host { + return nil + } - // Even if it doesn't match the authority, issuers from known and trusted hosts are valid + // Alias-based acceptance if aliases != nil && aliases[issuerURL.Host] { return nil } - // Parse the authority URL for comparison - authorityURL, err := url.Parse(authorityURI) - if err != nil { - return fmt.Errorf("TenantDiscoveryResponse: failed to parse authority URL: %w", err) + issuerHost := issuerURL.Host + authorityHost := authorityURL.Host + + // Accept if issuer host is trusted + if TrustedHost(issuerHost) { + return nil } - // Check if the scheme and host match (paths can be ignored when validating the issuer) - if issuerURL.Scheme == authorityURL.Scheme && issuerURL.Host == authorityURL.Host { + // Accept if authority is a regional variant ending with "." + if strings.HasSuffix(authorityHost, "."+issuerHost) { return nil } - // If we get here, validation failed - return fmt.Errorf("TenantDiscoveryResponse: issuer from OIDC discovery '%s' does not match authority '%s' or a known pattern", - r.Issuer, authorityURI) + return fmt.Errorf("TenantDiscoveryResponse: issuer '%s' does not match authority '%s' or any trusted/alias rule", r.Issuer, authorityURI) } type InstanceDiscoveryMetadata struct { @@ -256,6 +272,12 @@ type AuthParams struct { DomainHint string // AuthnScheme is an optional scheme for formatting access tokens AuthnScheme AuthenticationScheme + // ExtraBodyParameters are additional parameters to include in token requests. + // The functions are evaluated at request time to get the parameter values. + // These parameters are also included in the cache key. + ExtraBodyParameters map[string]string + // CacheKeyComponents are additional components to include in the cache key. + CacheKeyComponents map[string]string } // NewAuthParams creates an authorization parameters object. @@ -642,8 +664,42 @@ func (a *AuthParams) AssertionHash() string { } func (a *AuthParams) AppKey() string { + baseKey := a.ClientID + "_" if a.AuthorityInfo.Tenant != "" { - return fmt.Sprintf("%s_%s_AppTokenCache", a.ClientID, a.AuthorityInfo.Tenant) + baseKey += a.AuthorityInfo.Tenant + } + + // Include extra body parameters in the cache key + paramHash := a.CacheExtKeyGenerator() + if paramHash != "" { + baseKey = fmt.Sprintf("%s_%s", baseKey, paramHash) + } + + return baseKey + "_AppTokenCache" +} + +// CacheExtKeyGenerator computes a hash of the Cache key components key and values +// to include in the cache key. This ensures tokens acquired with different +// parameters are cached separately. +func (a *AuthParams) CacheExtKeyGenerator() string { + if len(a.CacheKeyComponents) == 0 { + return "" + } + + // Sort keys to ensure consistent hashing + keys := make([]string, 0, len(a.CacheKeyComponents)) + for k := range a.CacheKeyComponents { + keys = append(keys, k) } - return fmt.Sprintf("%s__AppTokenCache", a.ClientID) + sort.Strings(keys) + + // Create a string by concatenating key+value pairs + keyStr := "" + for _, key := range keys { + // Append key followed by its value with no separator + keyStr += key + a.CacheKeyComponents[key] + } + + hash := sha256.Sum256([]byte(keyStr)) + return strings.ToLower(base64.RawURLEncoding.EncodeToString(hash[:])) } diff --git a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/public/public.go b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/public/public.go index 7beed26174..797c086cb8 100644 --- a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/public/public.go +++ b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/public/public.go @@ -368,9 +368,9 @@ type AcquireByUsernamePasswordOption interface { acquireByUsernamePasswordOption() } -// AcquireTokenByUsernamePassword acquires a security token from the authority, via Username/Password Authentication. -// NOTE: this flow is NOT recommended. +// Deprecated: This API will be removed in a future release. Use a more secure flow instead. Follow this migration guide: https://aka.ms/msal-ropc-migration // +// AcquireTokenByUsernamePassword acquires a security token from the authority, via Username/Password Authentication. // Options: [WithClaims], [WithTenantID] func (pca Client) AcquireTokenByUsernamePassword(ctx context.Context, scopes []string, username, password string, opts ...AcquireByUsernamePasswordOption) (AuthResult, error) { o := acquireTokenByUsernamePasswordOptions{} diff --git a/vendor/github.com/IBM/go-sdk-core/v5/core/version.go b/vendor/github.com/IBM/go-sdk-core/v5/core/version.go index 5b70ae7ff9..2fe9feb7b0 100644 --- a/vendor/github.com/IBM/go-sdk-core/v5/core/version.go +++ b/vendor/github.com/IBM/go-sdk-core/v5/core/version.go @@ -15,4 +15,4 @@ package core // limitations under the License. // Version of the SDK -const __VERSION__ = "5.21.0" +const __VERSION__ = "5.21.2" diff --git a/vendor/github.com/IBM/platform-services-go-sdk/common/version.go b/vendor/github.com/IBM/platform-services-go-sdk/common/version.go index 295410c1fa..03970e83ce 100644 --- a/vendor/github.com/IBM/platform-services-go-sdk/common/version.go +++ b/vendor/github.com/IBM/platform-services-go-sdk/common/version.go @@ -17,4 +17,4 @@ package common // Version of the SDK -const Version = "0.89.0" +const Version = "0.94.2" diff --git a/vendor/github.com/IBM/platform-services-go-sdk/iamidentityv1/iam_identity_v1.go b/vendor/github.com/IBM/platform-services-go-sdk/iamidentityv1/iam_identity_v1.go index a054df0df8..9e780bf42c 100644 --- a/vendor/github.com/IBM/platform-services-go-sdk/iamidentityv1/iam_identity_v1.go +++ b/vendor/github.com/IBM/platform-services-go-sdk/iamidentityv1/iam_identity_v1.go @@ -1,5 +1,5 @@ /** - * (C) Copyright IBM Corp. 2025. + * (C) Copyright IBM Corp. 2026. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -1251,6 +1251,9 @@ func (iamIdentity *IamIdentityV1) CreateAPIKeyWithContext(ctx context.Context, c if createAPIKeyOptions.ActionWhenLeaked != nil { body["action_when_leaked"] = createAPIKeyOptions.ActionWhenLeaked } + if createAPIKeyOptions.ExpiresAt != nil { + body["expires_at"] = createAPIKeyOptions.ExpiresAt + } _, err = builder.SetBodyContentJSON(body) if err != nil { err = core.SDKErrorf(err, "", "set-json-body-error", common.GetComponentInfo()) @@ -1491,6 +1494,9 @@ func (iamIdentity *IamIdentityV1) UpdateAPIKeyWithContext(ctx context.Context, u if updateAPIKeyOptions.ActionWhenLeaked != nil { body["action_when_leaked"] = updateAPIKeyOptions.ActionWhenLeaked } + if updateAPIKeyOptions.ExpiresAt != nil { + body["expires_at"] = updateAPIKeyOptions.ExpiresAt + } _, err = builder.SetBodyContentJSON(body) if err != nil { err = core.SDKErrorf(err, "", "set-json-body-error", common.GetComponentInfo()) @@ -3644,18 +3650,15 @@ func (iamIdentity *IamIdentityV1) UpdateAccountSettingsWithContext(ctx context.C if updateAccountSettingsOptions.RestrictCreatePlatformApikey != nil { body["restrict_create_platform_apikey"] = updateAccountSettingsOptions.RestrictCreatePlatformApikey } - if updateAccountSettingsOptions.RestrictUserListVisibility != nil { - body["restrict_user_list_visibility"] = updateAccountSettingsOptions.RestrictUserListVisibility - } - if updateAccountSettingsOptions.RestrictUserDomains != nil { - body["restrict_user_domains"] = updateAccountSettingsOptions.RestrictUserDomains - } if updateAccountSettingsOptions.AllowedIPAddresses != nil { body["allowed_ip_addresses"] = updateAccountSettingsOptions.AllowedIPAddresses } if updateAccountSettingsOptions.Mfa != nil { body["mfa"] = updateAccountSettingsOptions.Mfa } + if updateAccountSettingsOptions.UserMfa != nil { + body["user_mfa"] = updateAccountSettingsOptions.UserMfa + } if updateAccountSettingsOptions.SessionExpirationInSeconds != nil { body["session_expiration_in_seconds"] = updateAccountSettingsOptions.SessionExpirationInSeconds } @@ -3671,8 +3674,11 @@ func (iamIdentity *IamIdentityV1) UpdateAccountSettingsWithContext(ctx context.C if updateAccountSettingsOptions.SystemRefreshTokenExpirationInSeconds != nil { body["system_refresh_token_expiration_in_seconds"] = updateAccountSettingsOptions.SystemRefreshTokenExpirationInSeconds } - if updateAccountSettingsOptions.UserMfa != nil { - body["user_mfa"] = updateAccountSettingsOptions.UserMfa + if updateAccountSettingsOptions.RestrictUserListVisibility != nil { + body["restrict_user_list_visibility"] = updateAccountSettingsOptions.RestrictUserListVisibility + } + if updateAccountSettingsOptions.RestrictUserDomains != nil { + body["restrict_user_domains"] = updateAccountSettingsOptions.RestrictUserDomains } _, err = builder.SetBodyContentJSON(body) if err != nil { @@ -6739,7 +6745,7 @@ func UnmarshalAccountBasedMfaEnrollment(m map[string]json.RawMessage, result int return } -// AccountSettingsAssignedTemplatesSection : Response body format for Account Settings REST requests. +// AccountSettingsAssignedTemplatesSection : Input body parameters for the Account Settings REST request. type AccountSettingsAssignedTemplatesSection struct { // Template Id. TemplateID *string `json:"template_id" validate:"required"` @@ -6764,16 +6770,6 @@ type AccountSettingsAssignedTemplatesSection struct { // * NOT_SET - to 'unset' a previous set value. RestrictCreatePlatformApikey *string `json:"restrict_create_platform_apikey,omitempty"` - // Defines whether or not user visibility is access controlled. Valid values: - // * RESTRICTED - users can view only specific types of users in the account, such as those the user has invited to - // the account, or descendants of those users based on the classic infrastructure hierarchy - // * NOT_RESTRICTED - any user in the account can view other users from the Users page in IBM Cloud console. - RestrictUserListVisibility *string `json:"restrict_user_list_visibility,omitempty"` - - // Defines if account invitations are restricted to specified domains. To remove an entry for a realm_id, perform an - // update (PUT) request with only the realm_id set. - RestrictUserDomains []AccountSettingsUserDomainRestriction `json:"restrict_user_domains,omitempty"` - // Defines the IP addresses and subnets from which IAM tokens can be created for the account. AllowedIPAddresses *string `json:"allowed_ip_addresses,omitempty"` @@ -6812,8 +6808,17 @@ type AccountSettingsAssignedTemplatesSection struct { // * NOT_SET - To unset account setting and use service default. SystemRefreshTokenExpirationInSeconds *string `json:"system_refresh_token_expiration_in_seconds,omitempty"` + // Defines whether or not user visibility is access controlled. Valid values: + // * RESTRICTED - users can view only specific types of users in the account, such as those the user has invited to + // the account, or descendants of those users based on the classic infrastructure hierarchy + // * NOT_RESTRICTED - any user in the account can view other users from the Users page in IBM Cloud console + // * NOT_SET - to 'unset' a previous set value. + RestrictUserListVisibility *string `json:"restrict_user_list_visibility,omitempty"` + // List of users that are exempted from the MFA requirement of the account. UserMfa []AccountSettingsUserMfaResponse `json:"user_mfa,omitempty"` + + RestrictUserDomains *AssignedTemplatesAccountSettingsRestrictUserDomains `json:"restrict_user_domains,omitempty"` } // Constants associated with the AccountSettingsAssignedTemplatesSection.RestrictCreateServiceID property. @@ -6842,17 +6847,6 @@ const ( AccountSettingsAssignedTemplatesSectionRestrictCreatePlatformApikeyRestrictedConst = "RESTRICTED" ) -// Constants associated with the AccountSettingsAssignedTemplatesSection.RestrictUserListVisibility property. -// Defines whether or not user visibility is access controlled. Valid values: -// - RESTRICTED - users can view only specific types of users in the account, such as those the user has invited to -// -// the account, or descendants of those users based on the classic infrastructure hierarchy -// - NOT_RESTRICTED - any user in the account can view other users from the Users page in IBM Cloud console. -const ( - AccountSettingsAssignedTemplatesSectionRestrictUserListVisibilityNotRestrictedConst = "NOT_RESTRICTED" - AccountSettingsAssignedTemplatesSectionRestrictUserListVisibilityRestrictedConst = "RESTRICTED" -) - // Constants associated with the AccountSettingsAssignedTemplatesSection.Mfa property. // MFA trait definitions as follows: // - NONE - No MFA trait set @@ -6872,6 +6866,19 @@ const ( AccountSettingsAssignedTemplatesSectionMfaTotp4allConst = "TOTP4ALL" ) +// Constants associated with the AccountSettingsAssignedTemplatesSection.RestrictUserListVisibility property. +// Defines whether or not user visibility is access controlled. Valid values: +// - RESTRICTED - users can view only specific types of users in the account, such as those the user has invited to +// +// the account, or descendants of those users based on the classic infrastructure hierarchy +// - NOT_RESTRICTED - any user in the account can view other users from the Users page in IBM Cloud console +// - NOT_SET - to 'unset' a previous set value. +const ( + AccountSettingsAssignedTemplatesSectionRestrictUserListVisibilityNotRestrictedConst = "NOT_RESTRICTED" + AccountSettingsAssignedTemplatesSectionRestrictUserListVisibilityNotSetConst = "NOT_SET" + AccountSettingsAssignedTemplatesSectionRestrictUserListVisibilityRestrictedConst = "RESTRICTED" +) + // UnmarshalAccountSettingsAssignedTemplatesSection unmarshals an instance of AccountSettingsAssignedTemplatesSection from the specified map of raw messages. func UnmarshalAccountSettingsAssignedTemplatesSection(m map[string]json.RawMessage, result interface{}) (err error) { obj := new(AccountSettingsAssignedTemplatesSection) @@ -6900,16 +6907,6 @@ func UnmarshalAccountSettingsAssignedTemplatesSection(m map[string]json.RawMessa err = core.SDKErrorf(err, "", "restrict_create_platform_apikey-error", common.GetComponentInfo()) return } - err = core.UnmarshalPrimitive(m, "restrict_user_list_visibility", &obj.RestrictUserListVisibility) - if err != nil { - err = core.SDKErrorf(err, "", "restrict_user_list_visibility-error", common.GetComponentInfo()) - return - } - err = core.UnmarshalModel(m, "restrict_user_domains", &obj.RestrictUserDomains, UnmarshalAccountSettingsUserDomainRestriction) - if err != nil { - err = core.SDKErrorf(err, "", "restrict_user_domains-error", common.GetComponentInfo()) - return - } err = core.UnmarshalPrimitive(m, "allowed_ip_addresses", &obj.AllowedIPAddresses) if err != nil { err = core.SDKErrorf(err, "", "allowed_ip_addresses-error", common.GetComponentInfo()) @@ -6945,169 +6942,19 @@ func UnmarshalAccountSettingsAssignedTemplatesSection(m map[string]json.RawMessa err = core.SDKErrorf(err, "", "system_refresh_token_expiration_in_seconds-error", common.GetComponentInfo()) return } - err = core.UnmarshalModel(m, "user_mfa", &obj.UserMfa, UnmarshalAccountSettingsUserMfaResponse) - if err != nil { - err = core.SDKErrorf(err, "", "user_mfa-error", common.GetComponentInfo()) - return - } - reflect.ValueOf(result).Elem().Set(reflect.ValueOf(obj)) - return -} - -// AccountSettingsComponent : AccountSettingsComponent struct -type AccountSettingsComponent struct { - // Defines whether or not creating the resource is access controlled. Valid values: - // * RESTRICTED - only users assigned the 'Service ID creator' role on the IAM Identity Service can create service - // IDs, including the account owner - // * NOT_RESTRICTED - all members of an account can create service IDs - // * NOT_SET - to 'unset' a previous set value. - RestrictCreateServiceID *string `json:"restrict_create_service_id,omitempty"` - - // Defines whether or not creating the resource is access controlled. Valid values: - // * RESTRICTED - only users assigned the 'Service ID creator' role on the IAM Identity Service can create service - // IDs, including the account owner - // * NOT_RESTRICTED - all members of an account can create service IDs - // * NOT_SET - to 'unset' a previous set value. - RestrictCreatePlatformApikey *string `json:"restrict_create_platform_apikey,omitempty"` - - // Defines the IP addresses and subnets from which IAM tokens can be created for the account. - AllowedIPAddresses *string `json:"allowed_ip_addresses,omitempty"` - - // MFA trait definitions as follows: - // * NONE - No MFA trait set - // * NONE_NO_ROPC- No MFA, disable CLI logins with only a password - // * TOTP - For all non-federated IBMId users - // * TOTP4ALL - For all users - // * LEVEL1 - Email-based MFA for all users - // * LEVEL2 - TOTP-based MFA for all users - // * LEVEL3 - U2F MFA for all users. - Mfa *string `json:"mfa,omitempty"` - - // List of users that are exempted from the MFA requirement of the account. - UserMfa []UserMfa `json:"user_mfa,omitempty"` - - // Defines the session expiration in seconds for the account. Valid values: - // * Any whole number between between '900' and '86400' - // * NOT_SET - To unset account setting and use service default. - SessionExpirationInSeconds *string `json:"session_expiration_in_seconds,omitempty"` - - // Defines the period of time in seconds in which a session will be invalidated due to inactivity. Valid values: - // * Any whole number between '900' and '7200' - // * NOT_SET - To unset account setting and use service default. - SessionInvalidationInSeconds *string `json:"session_invalidation_in_seconds,omitempty"` - - // Defines the max allowed sessions per identity required by the account. Valid values: - // * Any whole number greater than 0 - // * NOT_SET - To unset account setting and use service default. - MaxSessionsPerIdentity *string `json:"max_sessions_per_identity,omitempty"` - - // Defines the access token expiration in seconds. Valid values: - // * Any whole number between '900' and '3600' - // * NOT_SET - To unset account setting and use service default. - SystemAccessTokenExpirationInSeconds *string `json:"system_access_token_expiration_in_seconds,omitempty"` - - // Defines the refresh token expiration in seconds. Valid values: - // * Any whole number between '900' and '259200' - // * NOT_SET - To unset account setting and use service default. - SystemRefreshTokenExpirationInSeconds *string `json:"system_refresh_token_expiration_in_seconds,omitempty"` -} - -// Constants associated with the AccountSettingsComponent.RestrictCreateServiceID property. -// Defines whether or not creating the resource is access controlled. Valid values: -// - RESTRICTED - only users assigned the 'Service ID creator' role on the IAM Identity Service can create service -// -// IDs, including the account owner -// - NOT_RESTRICTED - all members of an account can create service IDs -// - NOT_SET - to 'unset' a previous set value. -const ( - AccountSettingsComponentRestrictCreateServiceIDNotRestrictedConst = "NOT_RESTRICTED" - AccountSettingsComponentRestrictCreateServiceIDNotSetConst = "NOT_SET" - AccountSettingsComponentRestrictCreateServiceIDRestrictedConst = "RESTRICTED" -) - -// Constants associated with the AccountSettingsComponent.RestrictCreatePlatformApikey property. -// Defines whether or not creating the resource is access controlled. Valid values: -// - RESTRICTED - only users assigned the 'Service ID creator' role on the IAM Identity Service can create service -// -// IDs, including the account owner -// - NOT_RESTRICTED - all members of an account can create service IDs -// - NOT_SET - to 'unset' a previous set value. -const ( - AccountSettingsComponentRestrictCreatePlatformApikeyNotRestrictedConst = "NOT_RESTRICTED" - AccountSettingsComponentRestrictCreatePlatformApikeyNotSetConst = "NOT_SET" - AccountSettingsComponentRestrictCreatePlatformApikeyRestrictedConst = "RESTRICTED" -) - -// Constants associated with the AccountSettingsComponent.Mfa property. -// MFA trait definitions as follows: -// - NONE - No MFA trait set -// - NONE_NO_ROPC- No MFA, disable CLI logins with only a password -// - TOTP - For all non-federated IBMId users -// - TOTP4ALL - For all users -// - LEVEL1 - Email-based MFA for all users -// - LEVEL2 - TOTP-based MFA for all users -// - LEVEL3 - U2F MFA for all users. -const ( - AccountSettingsComponentMfaLevel1Const = "LEVEL1" - AccountSettingsComponentMfaLevel2Const = "LEVEL2" - AccountSettingsComponentMfaLevel3Const = "LEVEL3" - AccountSettingsComponentMfaNoneConst = "NONE" - AccountSettingsComponentMfaNoneNoRopcConst = "NONE_NO_ROPC" - AccountSettingsComponentMfaTotpConst = "TOTP" - AccountSettingsComponentMfaTotp4allConst = "TOTP4ALL" -) - -// UnmarshalAccountSettingsComponent unmarshals an instance of AccountSettingsComponent from the specified map of raw messages. -func UnmarshalAccountSettingsComponent(m map[string]json.RawMessage, result interface{}) (err error) { - obj := new(AccountSettingsComponent) - err = core.UnmarshalPrimitive(m, "restrict_create_service_id", &obj.RestrictCreateServiceID) - if err != nil { - err = core.SDKErrorf(err, "", "restrict_create_service_id-error", common.GetComponentInfo()) - return - } - err = core.UnmarshalPrimitive(m, "restrict_create_platform_apikey", &obj.RestrictCreatePlatformApikey) - if err != nil { - err = core.SDKErrorf(err, "", "restrict_create_platform_apikey-error", common.GetComponentInfo()) - return - } - err = core.UnmarshalPrimitive(m, "allowed_ip_addresses", &obj.AllowedIPAddresses) - if err != nil { - err = core.SDKErrorf(err, "", "allowed_ip_addresses-error", common.GetComponentInfo()) - return - } - err = core.UnmarshalPrimitive(m, "mfa", &obj.Mfa) + err = core.UnmarshalPrimitive(m, "restrict_user_list_visibility", &obj.RestrictUserListVisibility) if err != nil { - err = core.SDKErrorf(err, "", "mfa-error", common.GetComponentInfo()) + err = core.SDKErrorf(err, "", "restrict_user_list_visibility-error", common.GetComponentInfo()) return } - err = core.UnmarshalModel(m, "user_mfa", &obj.UserMfa, UnmarshalUserMfa) + err = core.UnmarshalModel(m, "user_mfa", &obj.UserMfa, UnmarshalAccountSettingsUserMfaResponse) if err != nil { err = core.SDKErrorf(err, "", "user_mfa-error", common.GetComponentInfo()) return } - err = core.UnmarshalPrimitive(m, "session_expiration_in_seconds", &obj.SessionExpirationInSeconds) - if err != nil { - err = core.SDKErrorf(err, "", "session_expiration_in_seconds-error", common.GetComponentInfo()) - return - } - err = core.UnmarshalPrimitive(m, "session_invalidation_in_seconds", &obj.SessionInvalidationInSeconds) - if err != nil { - err = core.SDKErrorf(err, "", "session_invalidation_in_seconds-error", common.GetComponentInfo()) - return - } - err = core.UnmarshalPrimitive(m, "max_sessions_per_identity", &obj.MaxSessionsPerIdentity) - if err != nil { - err = core.SDKErrorf(err, "", "max_sessions_per_identity-error", common.GetComponentInfo()) - return - } - err = core.UnmarshalPrimitive(m, "system_access_token_expiration_in_seconds", &obj.SystemAccessTokenExpirationInSeconds) - if err != nil { - err = core.SDKErrorf(err, "", "system_access_token_expiration_in_seconds-error", common.GetComponentInfo()) - return - } - err = core.UnmarshalPrimitive(m, "system_refresh_token_expiration_in_seconds", &obj.SystemRefreshTokenExpirationInSeconds) + err = core.UnmarshalModel(m, "restrict_user_domains", &obj.RestrictUserDomains, UnmarshalAssignedTemplatesAccountSettingsRestrictUserDomains) if err != nil { - err = core.SDKErrorf(err, "", "system_refresh_token_expiration_in_seconds-error", common.GetComponentInfo()) + err = core.SDKErrorf(err, "", "restrict_user_domains-error", common.GetComponentInfo()) return } reflect.ValueOf(result).Elem().Set(reflect.ValueOf(obj)) @@ -7324,16 +7171,6 @@ type AccountSettingsResponse struct { // * NOT_SET - to 'unset' a previous set value. RestrictCreatePlatformApikey *string `json:"restrict_create_platform_apikey" validate:"required"` - // Defines whether or not user visibility is access controlled. Valid values: - // * RESTRICTED - users can view only specific types of users in the account, such as those the user has invited to - // the account, or descendants of those users based on the classic infrastructure hierarchy - // * NOT_RESTRICTED - any user in the account can view other users from the Users page in IBM Cloud console. - RestrictUserListVisibility *string `json:"restrict_user_list_visibility" validate:"required"` - - // Defines if account invitations are restricted to specified domains. To remove an entry for a realm_id, perform an - // update (PUT) request with only the realm_id set. - RestrictUserDomains []AccountSettingsUserDomainRestriction `json:"restrict_user_domains" validate:"required"` - // Defines the IP addresses and subnets from which IAM tokens can be created for the account. AllowedIPAddresses *string `json:"allowed_ip_addresses" validate:"required"` @@ -7372,8 +7209,18 @@ type AccountSettingsResponse struct { // * NOT_SET - To unset account setting and use service default. SystemRefreshTokenExpirationInSeconds *string `json:"system_refresh_token_expiration_in_seconds" validate:"required"` + // Defines whether or not user visibility is access controlled. Valid values: + // * RESTRICTED - users can view only specific types of users in the account, such as those the user has invited to + // the account, or descendants of those users based on the classic infrastructure hierarchy + // * NOT_RESTRICTED - any user in the account can view other users from the Users page in IBM Cloud console. + RestrictUserListVisibility *string `json:"restrict_user_list_visibility" validate:"required"` + // List of users that are exempted from the MFA requirement of the account. UserMfa []AccountSettingsUserMfaResponse `json:"user_mfa" validate:"required"` + + // Defines if account invitations are restricted to specified domains. To remove an entry for a realm_id, perform an + // update (PUT) request with only the realm_id set. + RestrictUserDomains []AccountSettingsUserDomainRestriction `json:"restrict_user_domains" validate:"required"` } // Constants associated with the AccountSettingsResponse.RestrictCreateServiceID property. @@ -7402,17 +7249,6 @@ const ( AccountSettingsResponseRestrictCreatePlatformApikeyRestrictedConst = "RESTRICTED" ) -// Constants associated with the AccountSettingsResponse.RestrictUserListVisibility property. -// Defines whether or not user visibility is access controlled. Valid values: -// - RESTRICTED - users can view only specific types of users in the account, such as those the user has invited to -// -// the account, or descendants of those users based on the classic infrastructure hierarchy -// - NOT_RESTRICTED - any user in the account can view other users from the Users page in IBM Cloud console. -const ( - AccountSettingsResponseRestrictUserListVisibilityNotRestrictedConst = "NOT_RESTRICTED" - AccountSettingsResponseRestrictUserListVisibilityRestrictedConst = "RESTRICTED" -) - // Constants associated with the AccountSettingsResponse.Mfa property. // MFA trait definitions as follows: // - NONE - No MFA trait set @@ -7432,6 +7268,17 @@ const ( AccountSettingsResponseMfaTotp4allConst = "TOTP4ALL" ) +// Constants associated with the AccountSettingsResponse.RestrictUserListVisibility property. +// Defines whether or not user visibility is access controlled. Valid values: +// - RESTRICTED - users can view only specific types of users in the account, such as those the user has invited to +// +// the account, or descendants of those users based on the classic infrastructure hierarchy +// - NOT_RESTRICTED - any user in the account can view other users from the Users page in IBM Cloud console. +const ( + AccountSettingsResponseRestrictUserListVisibilityNotRestrictedConst = "NOT_RESTRICTED" + AccountSettingsResponseRestrictUserListVisibilityRestrictedConst = "RESTRICTED" +) + // UnmarshalAccountSettingsResponse unmarshals an instance of AccountSettingsResponse from the specified map of raw messages. func UnmarshalAccountSettingsResponse(m map[string]json.RawMessage, result interface{}) (err error) { obj := new(AccountSettingsResponse) @@ -7465,24 +7312,14 @@ func UnmarshalAccountSettingsResponse(m map[string]json.RawMessage, result inter err = core.SDKErrorf(err, "", "restrict_create_platform_apikey-error", common.GetComponentInfo()) return } - err = core.UnmarshalPrimitive(m, "restrict_user_list_visibility", &obj.RestrictUserListVisibility) + err = core.UnmarshalPrimitive(m, "allowed_ip_addresses", &obj.AllowedIPAddresses) if err != nil { - err = core.SDKErrorf(err, "", "restrict_user_list_visibility-error", common.GetComponentInfo()) + err = core.SDKErrorf(err, "", "allowed_ip_addresses-error", common.GetComponentInfo()) return } - err = core.UnmarshalModel(m, "restrict_user_domains", &obj.RestrictUserDomains, UnmarshalAccountSettingsUserDomainRestriction) + err = core.UnmarshalPrimitive(m, "mfa", &obj.Mfa) if err != nil { - err = core.SDKErrorf(err, "", "restrict_user_domains-error", common.GetComponentInfo()) - return - } - err = core.UnmarshalPrimitive(m, "allowed_ip_addresses", &obj.AllowedIPAddresses) - if err != nil { - err = core.SDKErrorf(err, "", "allowed_ip_addresses-error", common.GetComponentInfo()) - return - } - err = core.UnmarshalPrimitive(m, "mfa", &obj.Mfa) - if err != nil { - err = core.SDKErrorf(err, "", "mfa-error", common.GetComponentInfo()) + err = core.SDKErrorf(err, "", "mfa-error", common.GetComponentInfo()) return } err = core.UnmarshalPrimitive(m, "session_expiration_in_seconds", &obj.SessionExpirationInSeconds) @@ -7510,11 +7347,21 @@ func UnmarshalAccountSettingsResponse(m map[string]json.RawMessage, result inter err = core.SDKErrorf(err, "", "system_refresh_token_expiration_in_seconds-error", common.GetComponentInfo()) return } + err = core.UnmarshalPrimitive(m, "restrict_user_list_visibility", &obj.RestrictUserListVisibility) + if err != nil { + err = core.SDKErrorf(err, "", "restrict_user_list_visibility-error", common.GetComponentInfo()) + return + } err = core.UnmarshalModel(m, "user_mfa", &obj.UserMfa, UnmarshalAccountSettingsUserMfaResponse) if err != nil { err = core.SDKErrorf(err, "", "user_mfa-error", common.GetComponentInfo()) return } + err = core.UnmarshalModel(m, "restrict_user_domains", &obj.RestrictUserDomains, UnmarshalAccountSettingsUserDomainRestriction) + if err != nil { + err = core.SDKErrorf(err, "", "restrict_user_domains-error", common.GetComponentInfo()) + return + } reflect.ValueOf(result).Elem().Set(reflect.ValueOf(obj)) return } @@ -7607,7 +7454,8 @@ type AccountSettingsTemplateResponse struct { // Committed flag determines if the template is ready for assignment. Committed *bool `json:"committed" validate:"required"` - AccountSettings *AccountSettingsComponent `json:"account_settings" validate:"required"` + // Input body parameters for the Account Settings REST request. + AccountSettings *TemplateAccountSettings `json:"account_settings" validate:"required"` // History of the Template. History []EnityHistoryRecord `json:"history,omitempty"` @@ -7664,7 +7512,7 @@ func UnmarshalAccountSettingsTemplateResponse(m map[string]json.RawMessage, resu err = core.SDKErrorf(err, "", "committed-error", common.GetComponentInfo()) return } - err = core.UnmarshalModel(m, "account_settings", &obj.AccountSettings, UnmarshalAccountSettingsComponent) + err = core.UnmarshalModel(m, "account_settings", &obj.AccountSettings, UnmarshalTemplateAccountSettings) if err != nil { err = core.SDKErrorf(err, "", "account_settings-error", common.GetComponentInfo()) return @@ -8064,6 +7912,9 @@ type APIKey struct { // Defines the action to take when API key is leaked, valid values are 'none', 'disable' and 'delete'. ActionWhenLeaked *string `json:"action_when_leaked,omitempty"` + // Date and time when the API key becomes invalid, ISO 8601 datetime in the format 'yyyy-MM-ddTHH:mm+0000'. + ExpiresAt *string `json:"expires_at,omitempty"` + // The optional description of the API key. The 'description' property is only available if a description was provided // during a create of an API key. Description *string `json:"description,omitempty"` @@ -8149,6 +8000,11 @@ func UnmarshalAPIKey(m map[string]json.RawMessage, result interface{}) (err erro err = core.SDKErrorf(err, "", "action_when_leaked-error", common.GetComponentInfo()) return } + err = core.UnmarshalPrimitive(m, "expires_at", &obj.ExpiresAt) + if err != nil { + err = core.SDKErrorf(err, "", "expires_at-error", common.GetComponentInfo()) + return + } err = core.UnmarshalPrimitive(m, "description", &obj.Description) if err != nil { err = core.SDKErrorf(err, "", "description-error", common.GetComponentInfo()) @@ -8204,6 +8060,12 @@ type APIKeyInsideCreateServiceIDRequest struct { // key request. If you create an API key for a user, you must specify `false` or omit the value. We don't allow storing // of API keys for users. StoreValue *bool `json:"store_value,omitempty"` + + // Defines the action to take when API key is leaked, valid values are 'none', 'disable' and 'delete'. + ActionWhenLeaked *string `json:"action_when_leaked,omitempty"` + + // Date and time when the API key becomes invalid, ISO 8601 datetime in the format 'yyyy-MM-ddTHH:mm+0000'. + ExpiresAt *string `json:"expires_at,omitempty"` } // NewAPIKeyInsideCreateServiceIDRequest : Instantiate APIKeyInsideCreateServiceIDRequest (Generic Model Constructor) @@ -8241,6 +8103,16 @@ func UnmarshalAPIKeyInsideCreateServiceIDRequest(m map[string]json.RawMessage, r err = core.SDKErrorf(err, "", "store_value-error", common.GetComponentInfo()) return } + err = core.UnmarshalPrimitive(m, "action_when_leaked", &obj.ActionWhenLeaked) + if err != nil { + err = core.SDKErrorf(err, "", "action_when_leaked-error", common.GetComponentInfo()) + return + } + err = core.UnmarshalPrimitive(m, "expires_at", &obj.ExpiresAt) + if err != nil { + err = core.SDKErrorf(err, "", "expires_at-error", common.GetComponentInfo()) + return + } reflect.ValueOf(result).Elem().Set(reflect.ValueOf(obj)) return } @@ -8439,6 +8311,32 @@ func UnmarshalApikeyActivityUser(m map[string]json.RawMessage, result interface{ return } +// AssignedTemplatesAccountSettingsRestrictUserDomains : AssignedTemplatesAccountSettingsRestrictUserDomains struct +type AssignedTemplatesAccountSettingsRestrictUserDomains struct { + AccountSufficient *bool `json:"account_sufficient,omitempty"` + + // Defines if account invitations are restricted to specified domains. To remove an entry for a realm_id, perform an + // update (PUT) request with only the realm_id set. + Restrictions []AccountSettingsUserDomainRestriction `json:"restrictions,omitempty"` +} + +// UnmarshalAssignedTemplatesAccountSettingsRestrictUserDomains unmarshals an instance of AssignedTemplatesAccountSettingsRestrictUserDomains from the specified map of raw messages. +func UnmarshalAssignedTemplatesAccountSettingsRestrictUserDomains(m map[string]json.RawMessage, result interface{}) (err error) { + obj := new(AssignedTemplatesAccountSettingsRestrictUserDomains) + err = core.UnmarshalPrimitive(m, "account_sufficient", &obj.AccountSufficient) + if err != nil { + err = core.SDKErrorf(err, "", "account_sufficient-error", common.GetComponentInfo()) + return + } + err = core.UnmarshalModel(m, "restrictions", &obj.Restrictions, UnmarshalAccountSettingsUserDomainRestriction) + if err != nil { + err = core.SDKErrorf(err, "", "restrictions-error", common.GetComponentInfo()) + return + } + reflect.ValueOf(result).Elem().Set(reflect.ValueOf(obj)) + return +} + // CommitAccountSettingsTemplateOptions : The CommitAccountSettingsTemplate options. type CommitAccountSettingsTemplateOptions struct { // ID of the account settings template. @@ -8591,7 +8489,8 @@ type CreateAccountSettingsTemplateOptions struct { // The description of the trusted profile template. Describe the template for enterprise account users. Description *string `json:"description,omitempty"` - AccountSettings *AccountSettingsComponent `json:"account_settings,omitempty"` + // Input body parameters for the Account Settings REST request. + AccountSettings *TemplateAccountSettings `json:"account_settings,omitempty"` // Allows users to set headers on API requests. Headers map[string]string @@ -8621,7 +8520,7 @@ func (_options *CreateAccountSettingsTemplateOptions) SetDescription(description } // SetAccountSettings : Allow user to set AccountSettings -func (_options *CreateAccountSettingsTemplateOptions) SetAccountSettings(accountSettings *AccountSettingsComponent) *CreateAccountSettingsTemplateOptions { +func (_options *CreateAccountSettingsTemplateOptions) SetAccountSettings(accountSettings *TemplateAccountSettings) *CreateAccountSettingsTemplateOptions { _options.AccountSettings = accountSettings return _options } @@ -8646,7 +8545,8 @@ type CreateAccountSettingsTemplateVersionOptions struct { // The description of the trusted profile template. Describe the template for enterprise account users. Description *string `json:"description,omitempty"` - AccountSettings *AccountSettingsComponent `json:"account_settings,omitempty"` + // Input body parameters for the Account Settings REST request. + AccountSettings *TemplateAccountSettings `json:"account_settings,omitempty"` // Allows users to set headers on API requests. Headers map[string]string @@ -8684,7 +8584,7 @@ func (_options *CreateAccountSettingsTemplateVersionOptions) SetDescription(desc } // SetAccountSettings : Allow user to set AccountSettings -func (_options *CreateAccountSettingsTemplateVersionOptions) SetAccountSettings(accountSettings *AccountSettingsComponent) *CreateAccountSettingsTemplateVersionOptions { +func (_options *CreateAccountSettingsTemplateVersionOptions) SetAccountSettings(accountSettings *TemplateAccountSettings) *CreateAccountSettingsTemplateVersionOptions { _options.AccountSettings = accountSettings return _options } @@ -8731,6 +8631,9 @@ type CreateAPIKeyOptions struct { // Defines the action to take when API key is leaked, valid values are 'none', 'disable' and 'delete'. ActionWhenLeaked *string `json:"action_when_leaked,omitempty"` + // Date and time when the API key becomes invalid, ISO 8601 datetime in the format 'yyyy-MM-ddTHH:mm+0000'. + ExpiresAt *string `json:"expires_at,omitempty"` + // Indicates if the API key is locked for further write operations. False by default. EntityLock *string `json:"Entity-Lock,omitempty"` @@ -8797,6 +8700,12 @@ func (_options *CreateAPIKeyOptions) SetActionWhenLeaked(actionWhenLeaked string return _options } +// SetExpiresAt : Allow user to set ExpiresAt +func (_options *CreateAPIKeyOptions) SetExpiresAt(expiresAt string) *CreateAPIKeyOptions { + _options.ExpiresAt = core.StringPtr(expiresAt) + return _options +} + // SetEntityLock : Allow user to set EntityLock func (_options *CreateAPIKeyOptions) SetEntityLock(entityLock string) *CreateAPIKeyOptions { _options.EntityLock = core.StringPtr(entityLock) @@ -12650,38 +12559,6 @@ func UnmarshalMfaEnrollmentTypeStatus(m map[string]json.RawMessage, result inter return } -// MfaEnrollments : MfaEnrollments struct -type MfaEnrollments struct { - // currently effective mfa type i.e. id_based_mfa or account_based_mfa. - EffectiveMfaType *string `json:"effective_mfa_type" validate:"required"` - - IDBasedMfa *IDBasedMfaEnrollment `json:"id_based_mfa,omitempty"` - - AccountBasedMfa *AccountBasedMfaEnrollment `json:"account_based_mfa,omitempty"` -} - -// UnmarshalMfaEnrollments unmarshals an instance of MfaEnrollments from the specified map of raw messages. -func UnmarshalMfaEnrollments(m map[string]json.RawMessage, result interface{}) (err error) { - obj := new(MfaEnrollments) - err = core.UnmarshalPrimitive(m, "effective_mfa_type", &obj.EffectiveMfaType) - if err != nil { - err = core.SDKErrorf(err, "", "effective_mfa_type-error", common.GetComponentInfo()) - return - } - err = core.UnmarshalModel(m, "id_based_mfa", &obj.IDBasedMfa, UnmarshalIDBasedMfaEnrollment) - if err != nil { - err = core.SDKErrorf(err, "", "id_based_mfa-error", common.GetComponentInfo()) - return - } - err = core.UnmarshalModel(m, "account_based_mfa", &obj.AccountBasedMfa, UnmarshalAccountBasedMfaEnrollment) - if err != nil { - err = core.SDKErrorf(err, "", "account_based_mfa-error", common.GetComponentInfo()) - return - } - reflect.ValueOf(result).Elem().Set(reflect.ValueOf(obj)) - return -} - // PolicyTemplateReference : Metadata for external access policy. type PolicyTemplateReference struct { // ID of Access Policy Template. @@ -13886,6 +13763,224 @@ func (options *SetProfileIdentityOptions) SetHeaders(param map[string]string) *S return options } +// TemplateAccountSettings : Input body parameters for the Account Settings REST request. +type TemplateAccountSettings struct { + // Defines whether or not creating the resource is access controlled. Valid values: + // * RESTRICTED - only users assigned the 'Service ID creator' role on the IAM Identity Service can create service + // IDs, including the account owner + // * NOT_RESTRICTED - all members of an account can create service IDs + // * NOT_SET - to 'unset' a previous set value. + RestrictCreateServiceID *string `json:"restrict_create_service_id,omitempty"` + + // Defines whether or not creating the resource is access controlled. Valid values: + // * RESTRICTED - only users assigned the 'Service ID creator' role on the IAM Identity Service can create service + // IDs, including the account owner + // * NOT_RESTRICTED - all members of an account can create service IDs + // * NOT_SET - to 'unset' a previous set value. + RestrictCreatePlatformApikey *string `json:"restrict_create_platform_apikey,omitempty"` + + // Defines the IP addresses and subnets from which IAM tokens can be created for the account. + AllowedIPAddresses *string `json:"allowed_ip_addresses,omitempty"` + + // MFA trait definitions as follows: + // * NONE - No MFA trait set + // * NONE_NO_ROPC- No MFA, disable CLI logins with only a password + // * TOTP - For all non-federated IBMId users + // * TOTP4ALL - For all users + // * LEVEL1 - Email-based MFA for all users + // * LEVEL2 - TOTP-based MFA for all users + // * LEVEL3 - U2F MFA for all users. + Mfa *string `json:"mfa,omitempty"` + + // List of users that are exempted from the MFA requirement of the account. + UserMfa []UserMfa `json:"user_mfa,omitempty"` + + // Defines the session expiration in seconds for the account. Valid values: + // * Any whole number between between '900' and '86400' + // * NOT_SET - To unset account setting and use service default. + SessionExpirationInSeconds *string `json:"session_expiration_in_seconds,omitempty"` + + // Defines the period of time in seconds in which a session will be invalidated due to inactivity. Valid values: + // * Any whole number between '900' and '7200' + // * NOT_SET - To unset account setting and use service default. + SessionInvalidationInSeconds *string `json:"session_invalidation_in_seconds,omitempty"` + + // Defines the max allowed sessions per identity required by the account. Valid values: + // * Any whole number greater than 0 + // * NOT_SET - To unset account setting and use service default. + MaxSessionsPerIdentity *string `json:"max_sessions_per_identity,omitempty"` + + // Defines the access token expiration in seconds. Valid values: + // * Any whole number between '900' and '3600' + // * NOT_SET - To unset account setting and use service default. + SystemAccessTokenExpirationInSeconds *string `json:"system_access_token_expiration_in_seconds,omitempty"` + + // Defines the refresh token expiration in seconds. Valid values: + // * Any whole number between '900' and '259200' + // * NOT_SET - To unset account setting and use service default. + SystemRefreshTokenExpirationInSeconds *string `json:"system_refresh_token_expiration_in_seconds,omitempty"` + + // Defines whether or not user visibility is access controlled. Valid values: + // * RESTRICTED - users can view only specific types of users in the account, such as those the user has invited to + // the account, or descendants of those users based on the classic infrastructure hierarchy + // * NOT_RESTRICTED - any user in the account can view other users from the Users page in IBM Cloud console + // * NOT_SET - to 'unset' a previous set value. + RestrictUserListVisibility *string `json:"restrict_user_list_visibility,omitempty"` + + RestrictUserDomains *TemplateAccountSettingsRestrictUserDomains `json:"restrict_user_domains,omitempty"` +} + +// Constants associated with the TemplateAccountSettings.RestrictCreateServiceID property. +// Defines whether or not creating the resource is access controlled. Valid values: +// - RESTRICTED - only users assigned the 'Service ID creator' role on the IAM Identity Service can create service +// +// IDs, including the account owner +// - NOT_RESTRICTED - all members of an account can create service IDs +// - NOT_SET - to 'unset' a previous set value. +const ( + TemplateAccountSettingsRestrictCreateServiceIDNotRestrictedConst = "NOT_RESTRICTED" + TemplateAccountSettingsRestrictCreateServiceIDNotSetConst = "NOT_SET" + TemplateAccountSettingsRestrictCreateServiceIDRestrictedConst = "RESTRICTED" +) + +// Constants associated with the TemplateAccountSettings.RestrictCreatePlatformApikey property. +// Defines whether or not creating the resource is access controlled. Valid values: +// - RESTRICTED - only users assigned the 'Service ID creator' role on the IAM Identity Service can create service +// +// IDs, including the account owner +// - NOT_RESTRICTED - all members of an account can create service IDs +// - NOT_SET - to 'unset' a previous set value. +const ( + TemplateAccountSettingsRestrictCreatePlatformApikeyNotRestrictedConst = "NOT_RESTRICTED" + TemplateAccountSettingsRestrictCreatePlatformApikeyNotSetConst = "NOT_SET" + TemplateAccountSettingsRestrictCreatePlatformApikeyRestrictedConst = "RESTRICTED" +) + +// Constants associated with the TemplateAccountSettings.Mfa property. +// MFA trait definitions as follows: +// - NONE - No MFA trait set +// - NONE_NO_ROPC- No MFA, disable CLI logins with only a password +// - TOTP - For all non-federated IBMId users +// - TOTP4ALL - For all users +// - LEVEL1 - Email-based MFA for all users +// - LEVEL2 - TOTP-based MFA for all users +// - LEVEL3 - U2F MFA for all users. +const ( + TemplateAccountSettingsMfaLevel1Const = "LEVEL1" + TemplateAccountSettingsMfaLevel2Const = "LEVEL2" + TemplateAccountSettingsMfaLevel3Const = "LEVEL3" + TemplateAccountSettingsMfaNoneConst = "NONE" + TemplateAccountSettingsMfaNoneNoRopcConst = "NONE_NO_ROPC" + TemplateAccountSettingsMfaTotpConst = "TOTP" + TemplateAccountSettingsMfaTotp4allConst = "TOTP4ALL" +) + +// Constants associated with the TemplateAccountSettings.RestrictUserListVisibility property. +// Defines whether or not user visibility is access controlled. Valid values: +// - RESTRICTED - users can view only specific types of users in the account, such as those the user has invited to +// +// the account, or descendants of those users based on the classic infrastructure hierarchy +// - NOT_RESTRICTED - any user in the account can view other users from the Users page in IBM Cloud console +// - NOT_SET - to 'unset' a previous set value. +const ( + TemplateAccountSettingsRestrictUserListVisibilityNotRestrictedConst = "NOT_RESTRICTED" + TemplateAccountSettingsRestrictUserListVisibilityNotSetConst = "NOT_SET" + TemplateAccountSettingsRestrictUserListVisibilityRestrictedConst = "RESTRICTED" +) + +// UnmarshalTemplateAccountSettings unmarshals an instance of TemplateAccountSettings from the specified map of raw messages. +func UnmarshalTemplateAccountSettings(m map[string]json.RawMessage, result interface{}) (err error) { + obj := new(TemplateAccountSettings) + err = core.UnmarshalPrimitive(m, "restrict_create_service_id", &obj.RestrictCreateServiceID) + if err != nil { + err = core.SDKErrorf(err, "", "restrict_create_service_id-error", common.GetComponentInfo()) + return + } + err = core.UnmarshalPrimitive(m, "restrict_create_platform_apikey", &obj.RestrictCreatePlatformApikey) + if err != nil { + err = core.SDKErrorf(err, "", "restrict_create_platform_apikey-error", common.GetComponentInfo()) + return + } + err = core.UnmarshalPrimitive(m, "allowed_ip_addresses", &obj.AllowedIPAddresses) + if err != nil { + err = core.SDKErrorf(err, "", "allowed_ip_addresses-error", common.GetComponentInfo()) + return + } + err = core.UnmarshalPrimitive(m, "mfa", &obj.Mfa) + if err != nil { + err = core.SDKErrorf(err, "", "mfa-error", common.GetComponentInfo()) + return + } + err = core.UnmarshalModel(m, "user_mfa", &obj.UserMfa, UnmarshalUserMfa) + if err != nil { + err = core.SDKErrorf(err, "", "user_mfa-error", common.GetComponentInfo()) + return + } + err = core.UnmarshalPrimitive(m, "session_expiration_in_seconds", &obj.SessionExpirationInSeconds) + if err != nil { + err = core.SDKErrorf(err, "", "session_expiration_in_seconds-error", common.GetComponentInfo()) + return + } + err = core.UnmarshalPrimitive(m, "session_invalidation_in_seconds", &obj.SessionInvalidationInSeconds) + if err != nil { + err = core.SDKErrorf(err, "", "session_invalidation_in_seconds-error", common.GetComponentInfo()) + return + } + err = core.UnmarshalPrimitive(m, "max_sessions_per_identity", &obj.MaxSessionsPerIdentity) + if err != nil { + err = core.SDKErrorf(err, "", "max_sessions_per_identity-error", common.GetComponentInfo()) + return + } + err = core.UnmarshalPrimitive(m, "system_access_token_expiration_in_seconds", &obj.SystemAccessTokenExpirationInSeconds) + if err != nil { + err = core.SDKErrorf(err, "", "system_access_token_expiration_in_seconds-error", common.GetComponentInfo()) + return + } + err = core.UnmarshalPrimitive(m, "system_refresh_token_expiration_in_seconds", &obj.SystemRefreshTokenExpirationInSeconds) + if err != nil { + err = core.SDKErrorf(err, "", "system_refresh_token_expiration_in_seconds-error", common.GetComponentInfo()) + return + } + err = core.UnmarshalPrimitive(m, "restrict_user_list_visibility", &obj.RestrictUserListVisibility) + if err != nil { + err = core.SDKErrorf(err, "", "restrict_user_list_visibility-error", common.GetComponentInfo()) + return + } + err = core.UnmarshalModel(m, "restrict_user_domains", &obj.RestrictUserDomains, UnmarshalTemplateAccountSettingsRestrictUserDomains) + if err != nil { + err = core.SDKErrorf(err, "", "restrict_user_domains-error", common.GetComponentInfo()) + return + } + reflect.ValueOf(result).Elem().Set(reflect.ValueOf(obj)) + return +} + +// TemplateAccountSettingsRestrictUserDomains : TemplateAccountSettingsRestrictUserDomains struct +type TemplateAccountSettingsRestrictUserDomains struct { + AccountSufficient *bool `json:"account_sufficient,omitempty"` + + // Defines if account invitations are restricted to specified domains. To remove an entry for a realm_id, perform an + // update (PUT) request with only the realm_id set. + Restrictions []AccountSettingsUserDomainRestriction `json:"restrictions,omitempty"` +} + +// UnmarshalTemplateAccountSettingsRestrictUserDomains unmarshals an instance of TemplateAccountSettingsRestrictUserDomains from the specified map of raw messages. +func UnmarshalTemplateAccountSettingsRestrictUserDomains(m map[string]json.RawMessage, result interface{}) (err error) { + obj := new(TemplateAccountSettingsRestrictUserDomains) + err = core.UnmarshalPrimitive(m, "account_sufficient", &obj.AccountSufficient) + if err != nil { + err = core.SDKErrorf(err, "", "account_sufficient-error", common.GetComponentInfo()) + return + } + err = core.UnmarshalModel(m, "restrictions", &obj.Restrictions, UnmarshalAccountSettingsUserDomainRestriction) + if err != nil { + err = core.SDKErrorf(err, "", "restrictions-error", common.GetComponentInfo()) + return + } + reflect.ValueOf(result).Elem().Set(reflect.ValueOf(obj)) + return +} + // TemplateAssignmentListResponse : List Response body format for Template Assignments Records. type TemplateAssignmentListResponse struct { // Context with key properties for problem determination. @@ -14999,16 +15094,6 @@ type UpdateAccountSettingsOptions struct { // * NOT_SET - to 'unset' a previous set value. RestrictCreatePlatformApikey *string `json:"restrict_create_platform_apikey,omitempty"` - // Defines whether or not user visibility is access controlled. Valid values: - // * RESTRICTED - users can view only specific types of users in the account, such as those the user has invited to - // the account, or descendants of those users based on the classic infrastructure hierarchy - // * NOT_RESTRICTED - any user in the account can view other users from the Users page in IBM Cloud console. - RestrictUserListVisibility *string `json:"restrict_user_list_visibility,omitempty"` - - // Defines if account invitations are restricted to specified domains. To remove an entry for a realm_id, perform an - // update (PUT) request with only the realm_id set. - RestrictUserDomains []AccountSettingsUserDomainRestriction `json:"restrict_user_domains,omitempty"` - // Defines the IP addresses and subnets from which IAM tokens can be created for the account. AllowedIPAddresses *string `json:"allowed_ip_addresses,omitempty"` @@ -15022,6 +15107,9 @@ type UpdateAccountSettingsOptions struct { // * LEVEL3 - U2F MFA for all users. Mfa *string `json:"mfa,omitempty"` + // List of users that are exempted from the MFA requirement of the account. + UserMfa []UserMfa `json:"user_mfa,omitempty"` + // Defines the session expiration in seconds for the account. Valid values: // * Any whole number between between '900' and '86400' // * NOT_SET - To unset account setting and use service default. @@ -15047,8 +15135,15 @@ type UpdateAccountSettingsOptions struct { // * NOT_SET - To unset account setting and use service default. SystemRefreshTokenExpirationInSeconds *string `json:"system_refresh_token_expiration_in_seconds,omitempty"` - // List of users that are exempted from the MFA requirement of the account. - UserMfa []UserMfa `json:"user_mfa,omitempty"` + // Defines whether or not user visibility is access controlled. Valid values: + // * RESTRICTED - users can view only specific types of users in the account, such as those the user has invited to + // the account, or descendants of those users based on the classic infrastructure hierarchy + // * NOT_RESTRICTED - any user in the account can view other users from the Users page in IBM Cloud console. + RestrictUserListVisibility *string `json:"restrict_user_list_visibility,omitempty"` + + // Defines if account invitations are restricted to specified domains. To remove an entry for a realm_id, perform an + // update (PUT) request with only the realm_id set. + RestrictUserDomains []AccountSettingsUserDomainRestriction `json:"restrict_user_domains,omitempty"` // Allows users to set headers on API requests. Headers map[string]string @@ -15080,17 +15175,6 @@ const ( UpdateAccountSettingsOptionsRestrictCreatePlatformApikeyRestrictedConst = "RESTRICTED" ) -// Constants associated with the UpdateAccountSettingsOptions.RestrictUserListVisibility property. -// Defines whether or not user visibility is access controlled. Valid values: -// - RESTRICTED - users can view only specific types of users in the account, such as those the user has invited to -// -// the account, or descendants of those users based on the classic infrastructure hierarchy -// - NOT_RESTRICTED - any user in the account can view other users from the Users page in IBM Cloud console. -const ( - UpdateAccountSettingsOptionsRestrictUserListVisibilityNotRestrictedConst = "NOT_RESTRICTED" - UpdateAccountSettingsOptionsRestrictUserListVisibilityRestrictedConst = "RESTRICTED" -) - // Constants associated with the UpdateAccountSettingsOptions.Mfa property. // MFA trait definitions as follows: // - NONE - No MFA trait set @@ -15110,6 +15194,17 @@ const ( UpdateAccountSettingsOptionsMfaTotp4allConst = "TOTP4ALL" ) +// Constants associated with the UpdateAccountSettingsOptions.RestrictUserListVisibility property. +// Defines whether or not user visibility is access controlled. Valid values: +// - RESTRICTED - users can view only specific types of users in the account, such as those the user has invited to +// +// the account, or descendants of those users based on the classic infrastructure hierarchy +// - NOT_RESTRICTED - any user in the account can view other users from the Users page in IBM Cloud console. +const ( + UpdateAccountSettingsOptionsRestrictUserListVisibilityNotRestrictedConst = "NOT_RESTRICTED" + UpdateAccountSettingsOptionsRestrictUserListVisibilityRestrictedConst = "RESTRICTED" +) + // NewUpdateAccountSettingsOptions : Instantiate UpdateAccountSettingsOptions func (*IamIdentityV1) NewUpdateAccountSettingsOptions(ifMatch string, accountID string) *UpdateAccountSettingsOptions { return &UpdateAccountSettingsOptions{ @@ -15142,18 +15237,6 @@ func (_options *UpdateAccountSettingsOptions) SetRestrictCreatePlatformApikey(re return _options } -// SetRestrictUserListVisibility : Allow user to set RestrictUserListVisibility -func (_options *UpdateAccountSettingsOptions) SetRestrictUserListVisibility(restrictUserListVisibility string) *UpdateAccountSettingsOptions { - _options.RestrictUserListVisibility = core.StringPtr(restrictUserListVisibility) - return _options -} - -// SetRestrictUserDomains : Allow user to set RestrictUserDomains -func (_options *UpdateAccountSettingsOptions) SetRestrictUserDomains(restrictUserDomains []AccountSettingsUserDomainRestriction) *UpdateAccountSettingsOptions { - _options.RestrictUserDomains = restrictUserDomains - return _options -} - // SetAllowedIPAddresses : Allow user to set AllowedIPAddresses func (_options *UpdateAccountSettingsOptions) SetAllowedIPAddresses(allowedIPAddresses string) *UpdateAccountSettingsOptions { _options.AllowedIPAddresses = core.StringPtr(allowedIPAddresses) @@ -15166,6 +15249,12 @@ func (_options *UpdateAccountSettingsOptions) SetMfa(mfa string) *UpdateAccountS return _options } +// SetUserMfa : Allow user to set UserMfa +func (_options *UpdateAccountSettingsOptions) SetUserMfa(userMfa []UserMfa) *UpdateAccountSettingsOptions { + _options.UserMfa = userMfa + return _options +} + // SetSessionExpirationInSeconds : Allow user to set SessionExpirationInSeconds func (_options *UpdateAccountSettingsOptions) SetSessionExpirationInSeconds(sessionExpirationInSeconds string) *UpdateAccountSettingsOptions { _options.SessionExpirationInSeconds = core.StringPtr(sessionExpirationInSeconds) @@ -15196,9 +15285,15 @@ func (_options *UpdateAccountSettingsOptions) SetSystemRefreshTokenExpirationInS return _options } -// SetUserMfa : Allow user to set UserMfa -func (_options *UpdateAccountSettingsOptions) SetUserMfa(userMfa []UserMfa) *UpdateAccountSettingsOptions { - _options.UserMfa = userMfa +// SetRestrictUserListVisibility : Allow user to set RestrictUserListVisibility +func (_options *UpdateAccountSettingsOptions) SetRestrictUserListVisibility(restrictUserListVisibility string) *UpdateAccountSettingsOptions { + _options.RestrictUserListVisibility = core.StringPtr(restrictUserListVisibility) + return _options +} + +// SetRestrictUserDomains : Allow user to set RestrictUserDomains +func (_options *UpdateAccountSettingsOptions) SetRestrictUserDomains(restrictUserDomains []AccountSettingsUserDomainRestriction) *UpdateAccountSettingsOptions { + _options.RestrictUserDomains = restrictUserDomains return _options } @@ -15230,7 +15325,8 @@ type UpdateAccountSettingsTemplateVersionOptions struct { // The description of the trusted profile template. Describe the template for enterprise account users. Description *string `json:"description,omitempty"` - AccountSettings *AccountSettingsComponent `json:"account_settings,omitempty"` + // Input body parameters for the Account Settings REST request. + AccountSettings *TemplateAccountSettings `json:"account_settings,omitempty"` // Allows users to set headers on API requests. Headers map[string]string @@ -15282,7 +15378,7 @@ func (_options *UpdateAccountSettingsTemplateVersionOptions) SetDescription(desc } // SetAccountSettings : Allow user to set AccountSettings -func (_options *UpdateAccountSettingsTemplateVersionOptions) SetAccountSettings(accountSettings *AccountSettingsComponent) *UpdateAccountSettingsTemplateVersionOptions { +func (_options *UpdateAccountSettingsTemplateVersionOptions) SetAccountSettings(accountSettings *TemplateAccountSettings) *UpdateAccountSettingsTemplateVersionOptions { _options.AccountSettings = accountSettings return _options } @@ -15319,6 +15415,9 @@ type UpdateAPIKeyOptions struct { // Defines the action to take when API key is leaked, valid values are 'none', 'disable' and 'delete'. ActionWhenLeaked *string `json:"action_when_leaked,omitempty"` + // Date and time when the API key becomes invalid, ISO 8601 datetime in the format 'yyyy-MM-ddTHH:mm+0000'. + ExpiresAt *string `json:"expires_at,omitempty"` + // Allows users to set headers on API requests. Headers map[string]string } @@ -15367,6 +15466,12 @@ func (_options *UpdateAPIKeyOptions) SetActionWhenLeaked(actionWhenLeaked string return _options } +// SetExpiresAt : Allow user to set ExpiresAt +func (_options *UpdateAPIKeyOptions) SetExpiresAt(expiresAt string) *UpdateAPIKeyOptions { + _options.ExpiresAt = core.StringPtr(expiresAt) + return _options +} + // SetHeaders : Allow user to set Headers func (options *UpdateAPIKeyOptions) SetHeaders(param map[string]string) *UpdateAPIKeyOptions { options.Headers = param @@ -16089,7 +16194,12 @@ type UserReportMfaEnrollmentStatus struct { // Email of the user. Email *string `json:"email,omitempty"` - Enrollments *MfaEnrollments `json:"enrollments" validate:"required"` + // currently effective mfa type i.e. id_based_mfa or account_based_mfa. + EffectiveMfaType *string `json:"effective_mfa_type" validate:"required"` + + IDBasedMfa *IDBasedMfaEnrollment `json:"id_based_mfa" validate:"required"` + + AccountBasedMfa *AccountBasedMfaEnrollment `json:"account_based_mfa" validate:"required"` } // UnmarshalUserReportMfaEnrollmentStatus unmarshals an instance of UserReportMfaEnrollmentStatus from the specified map of raw messages. @@ -16115,9 +16225,19 @@ func UnmarshalUserReportMfaEnrollmentStatus(m map[string]json.RawMessage, result err = core.SDKErrorf(err, "", "email-error", common.GetComponentInfo()) return } - err = core.UnmarshalModel(m, "enrollments", &obj.Enrollments, UnmarshalMfaEnrollments) + err = core.UnmarshalPrimitive(m, "effective_mfa_type", &obj.EffectiveMfaType) + if err != nil { + err = core.SDKErrorf(err, "", "effective_mfa_type-error", common.GetComponentInfo()) + return + } + err = core.UnmarshalModel(m, "id_based_mfa", &obj.IDBasedMfa, UnmarshalIDBasedMfaEnrollment) if err != nil { - err = core.SDKErrorf(err, "", "enrollments-error", common.GetComponentInfo()) + err = core.SDKErrorf(err, "", "id_based_mfa-error", common.GetComponentInfo()) + return + } + err = core.UnmarshalModel(m, "account_based_mfa", &obj.AccountBasedMfa, UnmarshalAccountBasedMfaEnrollment) + if err != nil { + err = core.SDKErrorf(err, "", "account_based_mfa-error", common.GetComponentInfo()) return } reflect.ValueOf(result).Elem().Set(reflect.ValueOf(obj)) diff --git a/vendor/github.com/IBM/platform-services-go-sdk/iampolicymanagementv1/iam_policy_management_v1.go b/vendor/github.com/IBM/platform-services-go-sdk/iampolicymanagementv1/iam_policy_management_v1.go index 90b8b79ed4..8d6d27483f 100644 --- a/vendor/github.com/IBM/platform-services-go-sdk/iampolicymanagementv1/iam_policy_management_v1.go +++ b/vendor/github.com/IBM/platform-services-go-sdk/iampolicymanagementv1/iam_policy_management_v1.go @@ -4680,15 +4680,15 @@ func (iamPolicyManagement *IamPolicyManagementV1) CreateRoleTemplateVersionWithC builder.AddHeader("Content-Type", "application/json") body := make(map[string]interface{}) - if createRoleTemplateVersionOptions.Role != nil { - body["role"] = createRoleTemplateVersionOptions.Role - } if createRoleTemplateVersionOptions.Name != nil { body["name"] = createRoleTemplateVersionOptions.Name } if createRoleTemplateVersionOptions.Description != nil { body["description"] = createRoleTemplateVersionOptions.Description } + if createRoleTemplateVersionOptions.Role != nil { + body["role"] = createRoleTemplateVersionOptions.Role + } if createRoleTemplateVersionOptions.Committed != nil { body["committed"] = createRoleTemplateVersionOptions.Committed } @@ -4852,15 +4852,15 @@ func (iamPolicyManagement *IamPolicyManagementV1) ReplaceRoleTemplateWithContext } body := make(map[string]interface{}) - if replaceRoleTemplateOptions.Role != nil { - body["role"] = replaceRoleTemplateOptions.Role - } if replaceRoleTemplateOptions.Name != nil { body["name"] = replaceRoleTemplateOptions.Name } if replaceRoleTemplateOptions.Description != nil { body["description"] = replaceRoleTemplateOptions.Description } + if replaceRoleTemplateOptions.Role != nil { + body["role"] = replaceRoleTemplateOptions.Role + } if replaceRoleTemplateOptions.Committed != nil { body["committed"] = replaceRoleTemplateOptions.Committed } @@ -7059,7 +7059,7 @@ type CreateRoleTemplateOptions struct { Committed *bool `json:"committed,omitempty"` // The role properties that are created in an action resource when the template is assigned. - Role *TemplateRole `json:"role,omitempty"` + Role *RoleTemplatePrototypeRole `json:"role,omitempty"` // Language code for translations // * `default` - English @@ -7112,7 +7112,7 @@ func (_options *CreateRoleTemplateOptions) SetCommitted(committed bool) *CreateR } // SetRole : Allow user to set Role -func (_options *CreateRoleTemplateOptions) SetRole(role *TemplateRole) *CreateRoleTemplateOptions { +func (_options *CreateRoleTemplateOptions) SetRole(role *RoleTemplatePrototypeRole) *CreateRoleTemplateOptions { _options.Role = role return _options } @@ -7134,9 +7134,6 @@ type CreateRoleTemplateVersionOptions struct { // The role template ID. RoleTemplateID *string `json:"role_template_id" validate:"required,ne="` - // The role properties that are created in an action resource when the template is assigned. - Role *TemplateRole `json:"role" validate:"required"` - // Required field when creating a new template. Otherwise, this field is optional. If the field is included, it will // change the name value for all existing versions of the template. Name *string `json:"name,omitempty"` @@ -7145,6 +7142,9 @@ type CreateRoleTemplateVersionOptions struct { // or context of the role for enterprise users managing IAM templates. Description *string `json:"description,omitempty"` + // The role properties that are created in an action resource when the template is assigned. + Role *TemplateRole `json:"role,omitempty"` + // Committed status of the template version. If committed is set to true, then the template version can no longer be // updated. Committed *bool `json:"committed,omitempty"` @@ -7154,10 +7154,9 @@ type CreateRoleTemplateVersionOptions struct { } // NewCreateRoleTemplateVersionOptions : Instantiate CreateRoleTemplateVersionOptions -func (*IamPolicyManagementV1) NewCreateRoleTemplateVersionOptions(roleTemplateID string, role *TemplateRole) *CreateRoleTemplateVersionOptions { +func (*IamPolicyManagementV1) NewCreateRoleTemplateVersionOptions(roleTemplateID string) *CreateRoleTemplateVersionOptions { return &CreateRoleTemplateVersionOptions{ RoleTemplateID: core.StringPtr(roleTemplateID), - Role: role, } } @@ -7167,12 +7166,6 @@ func (_options *CreateRoleTemplateVersionOptions) SetRoleTemplateID(roleTemplate return _options } -// SetRole : Allow user to set Role -func (_options *CreateRoleTemplateVersionOptions) SetRole(role *TemplateRole) *CreateRoleTemplateVersionOptions { - _options.Role = role - return _options -} - // SetName : Allow user to set Name func (_options *CreateRoleTemplateVersionOptions) SetName(name string) *CreateRoleTemplateVersionOptions { _options.Name = core.StringPtr(name) @@ -7185,6 +7178,12 @@ func (_options *CreateRoleTemplateVersionOptions) SetDescription(description str return _options } +// SetRole : Allow user to set Role +func (_options *CreateRoleTemplateVersionOptions) SetRole(role *TemplateRole) *CreateRoleTemplateVersionOptions { + _options.Role = role + return _options +} + // SetCommitted : Allow user to set Committed func (_options *CreateRoleTemplateVersionOptions) SetCommitted(committed bool) *CreateRoleTemplateVersionOptions { _options.Committed = core.BoolPtr(committed) @@ -11506,9 +11505,9 @@ type ReplacePolicyTemplateOptions struct { // The policy template version. Version *string `json:"version" validate:"required,ne="` - // The revision number for updating a policy template version and must match the ETag value of the existing policy + // The revision number for updating a policy template version and must match the Etag value of the existing policy // template version. The Etag can be retrieved using the GET - // /v1/policy_templates/{policy_template_id}/versions/{version} API and looking at the ETag response header. + // /v1/policy_templates/{policy_template_id}/versions/{version} API and looking at the Etag response header. IfMatch *string `json:"If-Match" validate:"required"` // The core set of properties associated with the template's policy object. @@ -11669,9 +11668,6 @@ type ReplaceRoleTemplateOptions struct { // at the Etag response header. IfMatch *string `json:"If-Match" validate:"required"` - // The role properties that are created in an action resource when the template is assigned. - Role *TemplateRole `json:"role" validate:"required"` - // Required field when creating a new template. Otherwise, this field is optional. If the field is included, it will // change the name value for all existing versions of the template. Name *string `json:"name,omitempty"` @@ -11680,6 +11676,9 @@ type ReplaceRoleTemplateOptions struct { // or context of the role for enterprise users managing IAM templates. Description *string `json:"description,omitempty"` + // The role properties that are created in an action resource when the template is assigned. + Role *TemplateRole `json:"role,omitempty"` + // Committed status of the template version. If committed is set to true, then the template version can no longer be // updated. Committed *bool `json:"committed,omitempty"` @@ -11689,12 +11688,11 @@ type ReplaceRoleTemplateOptions struct { } // NewReplaceRoleTemplateOptions : Instantiate ReplaceRoleTemplateOptions -func (*IamPolicyManagementV1) NewReplaceRoleTemplateOptions(roleTemplateID string, version string, ifMatch string, role *TemplateRole) *ReplaceRoleTemplateOptions { +func (*IamPolicyManagementV1) NewReplaceRoleTemplateOptions(roleTemplateID string, version string, ifMatch string) *ReplaceRoleTemplateOptions { return &ReplaceRoleTemplateOptions{ RoleTemplateID: core.StringPtr(roleTemplateID), Version: core.StringPtr(version), IfMatch: core.StringPtr(ifMatch), - Role: role, } } @@ -11716,12 +11714,6 @@ func (_options *ReplaceRoleTemplateOptions) SetIfMatch(ifMatch string) *ReplaceR return _options } -// SetRole : Allow user to set Role -func (_options *ReplaceRoleTemplateOptions) SetRole(role *TemplateRole) *ReplaceRoleTemplateOptions { - _options.Role = role - return _options -} - // SetName : Allow user to set Name func (_options *ReplaceRoleTemplateOptions) SetName(name string) *ReplaceRoleTemplateOptions { _options.Name = core.StringPtr(name) @@ -11734,6 +11726,12 @@ func (_options *ReplaceRoleTemplateOptions) SetDescription(description string) * return _options } +// SetRole : Allow user to set Role +func (_options *ReplaceRoleTemplateOptions) SetRole(role *TemplateRole) *ReplaceRoleTemplateOptions { + _options.Role = role + return _options +} + // SetCommitted : Allow user to set Committed func (_options *ReplaceRoleTemplateOptions) SetCommitted(committed bool) *ReplaceRoleTemplateOptions { _options.Committed = core.BoolPtr(committed) @@ -12251,7 +12249,7 @@ func UnmarshalRoleAssignmentResource(m map[string]json.RawMessage, result interf return } -// RoleAssignmentResourceCreated : On success, it includes the action control assigned. +// RoleAssignmentResourceCreated : On success, it includes the role assigned. type RoleAssignmentResourceCreated struct { // role id. ID *string `json:"id,omitempty"` @@ -12271,7 +12269,7 @@ func UnmarshalRoleAssignmentResourceCreated(m map[string]json.RawMessage, result // RoleAssignmentResourceRole : Set of properties of the assigned resource or error message if assignment failed. type RoleAssignmentResourceRole struct { - // On success, it includes the action control assigned. + // On success, it includes the role assigned. ResourceCreated *RoleAssignmentResourceCreated `json:"resource_created,omitempty"` // Body parameters for assignment error. @@ -12385,7 +12383,7 @@ type RoleTemplate struct { Committed *bool `json:"committed,omitempty"` // The role properties that are created in an action resource when the template is assigned. - Role *TemplateRole `json:"role,omitempty"` + Role *RoleTemplatePrototypeRole `json:"role,omitempty"` // The role template ID. ID *string `json:"id,omitempty"` @@ -12442,7 +12440,7 @@ func UnmarshalRoleTemplate(m map[string]json.RawMessage, result interface{}) (er err = core.SDKErrorf(err, "", "committed-error", common.GetComponentInfo()) return } - err = core.UnmarshalModel(m, "role", &obj.Role, UnmarshalTemplateRole) + err = core.UnmarshalModel(m, "role", &obj.Role, UnmarshalRoleTemplatePrototypeRole) if err != nil { err = core.SDKErrorf(err, "", "role-error", common.GetComponentInfo()) return @@ -12549,6 +12547,109 @@ func (resp *RoleTemplateCollection) GetNextStart() (*string, error) { return resp.Next.Start, nil } +// RoleTemplatePrototypeRole : The role properties that are created in an action resource when the template is assigned. +type RoleTemplatePrototypeRole struct { + // The name of the role that is used in the CRN. This must be alphanumeric and capitalized. + Name *string `json:"name" validate:"required"` + + // The display the name of the role that is shown in the console. + DisplayName *string `json:"display_name" validate:"required"` + + // The service name that the role refers. + ServiceName *string `json:"service_name,omitempty"` + + // Description of the role. + Description *string `json:"description,omitempty"` + + // The actions of the role. + Actions []string `json:"actions" validate:"required"` +} + +// NewRoleTemplatePrototypeRole : Instantiate RoleTemplatePrototypeRole (Generic Model Constructor) +func (*IamPolicyManagementV1) NewRoleTemplatePrototypeRole(name string, displayName string, actions []string) (_model *RoleTemplatePrototypeRole, err error) { + _model = &RoleTemplatePrototypeRole{ + Name: core.StringPtr(name), + DisplayName: core.StringPtr(displayName), + Actions: actions, + } + err = core.ValidateStruct(_model, "required parameters") + if err != nil { + err = core.SDKErrorf(err, "", "model-missing-required", common.GetComponentInfo()) + } + return +} + +// UnmarshalRoleTemplatePrototypeRole unmarshals an instance of RoleTemplatePrototypeRole from the specified map of raw messages. +func UnmarshalRoleTemplatePrototypeRole(m map[string]json.RawMessage, result interface{}) (err error) { + obj := new(RoleTemplatePrototypeRole) + err = core.UnmarshalPrimitive(m, "name", &obj.Name) + if err != nil { + err = core.SDKErrorf(err, "", "name-error", common.GetComponentInfo()) + return + } + err = core.UnmarshalPrimitive(m, "display_name", &obj.DisplayName) + if err != nil { + err = core.SDKErrorf(err, "", "display_name-error", common.GetComponentInfo()) + return + } + err = core.UnmarshalPrimitive(m, "service_name", &obj.ServiceName) + if err != nil { + err = core.SDKErrorf(err, "", "service_name-error", common.GetComponentInfo()) + return + } + err = core.UnmarshalPrimitive(m, "description", &obj.Description) + if err != nil { + err = core.SDKErrorf(err, "", "description-error", common.GetComponentInfo()) + return + } + err = core.UnmarshalPrimitive(m, "actions", &obj.Actions) + if err != nil { + err = core.SDKErrorf(err, "", "actions-error", common.GetComponentInfo()) + return + } + reflect.ValueOf(result).Elem().Set(reflect.ValueOf(obj)) + return +} + +// RoleTemplateReferencesItem : A role template reference associated with a policy template. +type RoleTemplateReferencesItem struct { + // The role template ID. + ID *string `json:"id" validate:"required"` + + // Role template version. + Version *string `json:"version" validate:"required"` +} + +// NewRoleTemplateReferencesItem : Instantiate RoleTemplateReferencesItem (Generic Model Constructor) +func (*IamPolicyManagementV1) NewRoleTemplateReferencesItem(id string, version string) (_model *RoleTemplateReferencesItem, err error) { + _model = &RoleTemplateReferencesItem{ + ID: core.StringPtr(id), + Version: core.StringPtr(version), + } + err = core.ValidateStruct(_model, "required parameters") + if err != nil { + err = core.SDKErrorf(err, "", "model-missing-required", common.GetComponentInfo()) + } + return +} + +// UnmarshalRoleTemplateReferencesItem unmarshals an instance of RoleTemplateReferencesItem from the specified map of raw messages. +func UnmarshalRoleTemplateReferencesItem(m map[string]json.RawMessage, result interface{}) (err error) { + obj := new(RoleTemplateReferencesItem) + err = core.UnmarshalPrimitive(m, "id", &obj.ID) + if err != nil { + err = core.SDKErrorf(err, "", "id-error", common.GetComponentInfo()) + return + } + err = core.UnmarshalPrimitive(m, "version", &obj.Version) + if err != nil { + err = core.SDKErrorf(err, "", "version-error", common.GetComponentInfo()) + return + } + reflect.ValueOf(result).Elem().Set(reflect.ValueOf(obj)) + return +} + // RoleTemplateVersionsCollection : A collection of versions for a specific role template. type RoleTemplateVersionsCollection struct { // The number of documents to include per each page of the collection. @@ -12796,6 +12897,36 @@ func UnmarshalTemplateActionControl(m map[string]json.RawMessage, result interfa return } +// TemplateControl : Specifies the type of access that is granted by the policy. +type TemplateControl struct { + // Permission is granted by the policy. + Grant TemplateGrantIntf `json:"grant" validate:"required"` +} + +// NewTemplateControl : Instantiate TemplateControl (Generic Model Constructor) +func (*IamPolicyManagementV1) NewTemplateControl(grant TemplateGrantIntf) (_model *TemplateControl, err error) { + _model = &TemplateControl{ + Grant: grant, + } + err = core.ValidateStruct(_model, "required parameters") + if err != nil { + err = core.SDKErrorf(err, "", "model-missing-required", common.GetComponentInfo()) + } + return +} + +// UnmarshalTemplateControl unmarshals an instance of TemplateControl from the specified map of raw messages. +func UnmarshalTemplateControl(m map[string]json.RawMessage, result interface{}) (err error) { + obj := new(TemplateControl) + err = core.UnmarshalModel(m, "grant", &obj.Grant, UnmarshalTemplateGrant) + if err != nil { + err = core.SDKErrorf(err, "", "grant-error", common.GetComponentInfo()) + return + } + reflect.ValueOf(result).Elem().Set(reflect.ValueOf(obj)) + return +} + // TemplateCountData : policy template count details. type TemplateCountData struct { // policy template current and limit details with in an account. @@ -12822,6 +12953,42 @@ func UnmarshalTemplateCountData(m map[string]json.RawMessage, result interface{} return } +// TemplateGrant : Permission is granted by the policy. +// Models which "extend" this model: +// - TemplateGrantRoles +// - TemplateGrantRoleReferences +type TemplateGrant struct { + // A set of role Cloud Resource Names (CRNs) granted by the policy. + Roles []Roles `json:"roles,omitempty"` + + // A set of role template reference IDs granted by the policy. + RoleTemplateReferences []RoleTemplateReferencesItem `json:"role_template_references,omitempty"` +} +func (*TemplateGrant) isaTemplateGrant() bool { + return true +} + +type TemplateGrantIntf interface { + isaTemplateGrant() bool +} + +// UnmarshalTemplateGrant unmarshals an instance of TemplateGrant from the specified map of raw messages. +func UnmarshalTemplateGrant(m map[string]json.RawMessage, result interface{}) (err error) { + obj := new(TemplateGrant) + err = core.UnmarshalModel(m, "roles", &obj.Roles, UnmarshalRoles) + if err != nil { + err = core.SDKErrorf(err, "", "roles-error", common.GetComponentInfo()) + return + } + err = core.UnmarshalModel(m, "role_template_references", &obj.RoleTemplateReferences, UnmarshalRoleTemplateReferencesItem) + if err != nil { + err = core.SDKErrorf(err, "", "role_template_references-error", common.GetComponentInfo()) + return + } + reflect.ValueOf(result).Elem().Set(reflect.ValueOf(obj)) + return +} + // TemplateMetadata : The details of the IAM template that was used to create an enterprise-managed policy in your account. When returned, // this indicates that the policy is created from and managed by a template in the root enterprise account. type TemplateMetadata struct { @@ -12896,7 +13063,7 @@ type TemplatePolicy struct { Rule V2PolicyRuleIntf `json:"rule,omitempty"` // Specifies the type of access that is granted by the policy. - Control *Control `json:"control,omitempty"` + Control *TemplateControl `json:"control,omitempty"` } // Constants associated with the TemplatePolicy.Type property. @@ -12951,7 +13118,7 @@ func UnmarshalTemplatePolicy(m map[string]json.RawMessage, result interface{}) ( err = core.SDKErrorf(err, "", "rule-error", common.GetComponentInfo()) return } - err = core.UnmarshalModel(m, "control", &obj.Control, UnmarshalControl) + err = core.UnmarshalModel(m, "control", &obj.Control, UnmarshalTemplateControl) if err != nil { err = core.SDKErrorf(err, "", "control-error", common.GetComponentInfo()) return @@ -12962,14 +13129,11 @@ func UnmarshalTemplatePolicy(m map[string]json.RawMessage, result interface{}) ( // TemplateRole : The role properties that are created in an action resource when the template is assigned. type TemplateRole struct { - // The name of the role that is used in the CRN. This must be alphanumeric and capitalized. - Name *string `json:"name" validate:"required"` - // The display the name of the role that is shown in the console. DisplayName *string `json:"display_name" validate:"required"` // The service name that the role refers. - ServiceName *string `json:"service_name" validate:"required"` + ServiceName *string `json:"service_name,omitempty"` // Description of the role. Description *string `json:"description,omitempty"` @@ -12979,11 +13143,9 @@ type TemplateRole struct { } // NewTemplateRole : Instantiate TemplateRole (Generic Model Constructor) -func (*IamPolicyManagementV1) NewTemplateRole(name string, displayName string, serviceName string, actions []string) (_model *TemplateRole, err error) { +func (*IamPolicyManagementV1) NewTemplateRole(displayName string, actions []string) (_model *TemplateRole, err error) { _model = &TemplateRole{ - Name: core.StringPtr(name), DisplayName: core.StringPtr(displayName), - ServiceName: core.StringPtr(serviceName), Actions: actions, } err = core.ValidateStruct(_model, "required parameters") @@ -12996,11 +13158,6 @@ func (*IamPolicyManagementV1) NewTemplateRole(name string, displayName string, s // UnmarshalTemplateRole unmarshals an instance of TemplateRole from the specified map of raw messages. func UnmarshalTemplateRole(m map[string]json.RawMessage, result interface{}) (err error) { obj := new(TemplateRole) - err = core.UnmarshalPrimitive(m, "name", &obj.Name) - if err != nil { - err = core.SDKErrorf(err, "", "name-error", common.GetComponentInfo()) - return - } err = core.UnmarshalPrimitive(m, "display_name", &obj.DisplayName) if err != nil { err = core.SDKErrorf(err, "", "display_name-error", common.GetComponentInfo()) @@ -14439,6 +14596,76 @@ func UnmarshalPolicyTemplateAssignmentItemsPolicyAssignmentV1(m map[string]json. return } +// TemplateGrantRoleReferences : TemplateGrantRoleReferences struct +// This model "extends" TemplateGrant +type TemplateGrantRoleReferences struct { + // A set of role template reference IDs granted by the policy. + RoleTemplateReferences []RoleTemplateReferencesItem `json:"role_template_references" validate:"required"` +} + +// NewTemplateGrantRoleReferences : Instantiate TemplateGrantRoleReferences (Generic Model Constructor) +func (*IamPolicyManagementV1) NewTemplateGrantRoleReferences(roleTemplateReferences []RoleTemplateReferencesItem) (_model *TemplateGrantRoleReferences, err error) { + _model = &TemplateGrantRoleReferences{ + RoleTemplateReferences: roleTemplateReferences, + } + err = core.ValidateStruct(_model, "required parameters") + if err != nil { + err = core.SDKErrorf(err, "", "model-missing-required", common.GetComponentInfo()) + } + return +} + +func (*TemplateGrantRoleReferences) isaTemplateGrant() bool { + return true +} + +// UnmarshalTemplateGrantRoleReferences unmarshals an instance of TemplateGrantRoleReferences from the specified map of raw messages. +func UnmarshalTemplateGrantRoleReferences(m map[string]json.RawMessage, result interface{}) (err error) { + obj := new(TemplateGrantRoleReferences) + err = core.UnmarshalModel(m, "role_template_references", &obj.RoleTemplateReferences, UnmarshalRoleTemplateReferencesItem) + if err != nil { + err = core.SDKErrorf(err, "", "role_template_references-error", common.GetComponentInfo()) + return + } + reflect.ValueOf(result).Elem().Set(reflect.ValueOf(obj)) + return +} + +// TemplateGrantRoles : TemplateGrantRoles struct +// This model "extends" TemplateGrant +type TemplateGrantRoles struct { + // A set of role Cloud Resource Names (CRNs) granted by the policy. + Roles []Roles `json:"roles" validate:"required"` +} + +// NewTemplateGrantRoles : Instantiate TemplateGrantRoles (Generic Model Constructor) +func (*IamPolicyManagementV1) NewTemplateGrantRoles(roles []Roles) (_model *TemplateGrantRoles, err error) { + _model = &TemplateGrantRoles{ + Roles: roles, + } + err = core.ValidateStruct(_model, "required parameters") + if err != nil { + err = core.SDKErrorf(err, "", "model-missing-required", common.GetComponentInfo()) + } + return +} + +func (*TemplateGrantRoles) isaTemplateGrant() bool { + return true +} + +// UnmarshalTemplateGrantRoles unmarshals an instance of TemplateGrantRoles from the specified map of raw messages. +func UnmarshalTemplateGrantRoles(m map[string]json.RawMessage, result interface{}) (err error) { + obj := new(TemplateGrantRoles) + err = core.UnmarshalModel(m, "roles", &obj.Roles, UnmarshalRoles) + if err != nil { + err = core.SDKErrorf(err, "", "roles-error", common.GetComponentInfo()) + return + } + reflect.ValueOf(result).Elem().Set(reflect.ValueOf(obj)) + return +} + // V2PolicyRuleRuleAttribute : Rule that specifies additional access that is granted (For example, time-based condition). // This model "extends" V2PolicyRule type V2PolicyRuleRuleAttribute struct { diff --git a/vendor/github.com/asaskevich/govalidator/.gitignore b/vendor/github.com/asaskevich/govalidator/.gitignore deleted file mode 100644 index 8d69a9418a..0000000000 --- a/vendor/github.com/asaskevich/govalidator/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -bin/ -.idea/ -# Binaries for programs and plugins -*.exe -*.exe~ -*.dll -*.so -*.dylib - -# Test binary, built with `go test -c` -*.test - -# Output of the go coverage tool, specifically when used with LiteIDE -*.out - diff --git a/vendor/github.com/asaskevich/govalidator/.travis.yml b/vendor/github.com/asaskevich/govalidator/.travis.yml deleted file mode 100644 index bb83c6670d..0000000000 --- a/vendor/github.com/asaskevich/govalidator/.travis.yml +++ /dev/null @@ -1,12 +0,0 @@ -language: go -dist: xenial -go: - - '1.10' - - '1.11' - - '1.12' - - '1.13' - - 'tip' - -script: - - go test -coverpkg=./... -coverprofile=coverage.info -timeout=5s - - bash <(curl -s https://codecov.io/bash) diff --git a/vendor/github.com/asaskevich/govalidator/CODE_OF_CONDUCT.md b/vendor/github.com/asaskevich/govalidator/CODE_OF_CONDUCT.md deleted file mode 100644 index 4b462b0d81..0000000000 --- a/vendor/github.com/asaskevich/govalidator/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,43 +0,0 @@ -# Contributor Code of Conduct - -This project adheres to [The Code Manifesto](http://codemanifesto.com) -as its guidelines for contributor interactions. - -## The Code Manifesto - -We want to work in an ecosystem that empowers developers to reach their -potential — one that encourages growth and effective collaboration. A space -that is safe for all. - -A space such as this benefits everyone that participates in it. It encourages -new developers to enter our field. It is through discussion and collaboration -that we grow, and through growth that we improve. - -In the effort to create such a place, we hold to these values: - -1. **Discrimination limits us.** This includes discrimination on the basis of - race, gender, sexual orientation, gender identity, age, nationality, - technology and any other arbitrary exclusion of a group of people. -2. **Boundaries honor us.** Your comfort levels are not everyone’s comfort - levels. Remember that, and if brought to your attention, heed it. -3. **We are our biggest assets.** None of us were born masters of our trade. - Each of us has been helped along the way. Return that favor, when and where - you can. -4. **We are resources for the future.** As an extension of #3, share what you - know. Make yourself a resource to help those that come after you. -5. **Respect defines us.** Treat others as you wish to be treated. Make your - discussions, criticisms and debates from a position of respectfulness. Ask - yourself, is it true? Is it necessary? Is it constructive? Anything less is - unacceptable. -6. **Reactions require grace.** Angry responses are valid, but abusive language - and vindictive actions are toxic. When something happens that offends you, - handle it assertively, but be respectful. Escalate reasonably, and try to - allow the offender an opportunity to explain themselves, and possibly - correct the issue. -7. **Opinions are just that: opinions.** Each and every one of us, due to our - background and upbringing, have varying opinions. That is perfectly - acceptable. Remember this: if you respect your own opinions, you should - respect the opinions of others. -8. **To err is human.** You might not intend it, but mistakes do happen and - contribute to build experience. Tolerate honest mistakes, and don't - hesitate to apologize if you make one yourself. diff --git a/vendor/github.com/asaskevich/govalidator/CONTRIBUTING.md b/vendor/github.com/asaskevich/govalidator/CONTRIBUTING.md deleted file mode 100644 index 7ed268a1ed..0000000000 --- a/vendor/github.com/asaskevich/govalidator/CONTRIBUTING.md +++ /dev/null @@ -1,63 +0,0 @@ -#### Support -If you do have a contribution to the package, feel free to create a Pull Request or an Issue. - -#### What to contribute -If you don't know what to do, there are some features and functions that need to be done - -- [ ] Refactor code -- [ ] Edit docs and [README](https://github.com/asaskevich/govalidator/README.md): spellcheck, grammar and typo check -- [ ] Create actual list of contributors and projects that currently using this package -- [ ] Resolve [issues and bugs](https://github.com/asaskevich/govalidator/issues) -- [ ] Update actual [list of functions](https://github.com/asaskevich/govalidator#list-of-functions) -- [ ] Update [list of validators](https://github.com/asaskevich/govalidator#validatestruct-2) that available for `ValidateStruct` and add new -- [ ] Implement new validators: `IsFQDN`, `IsIMEI`, `IsPostalCode`, `IsISIN`, `IsISRC` etc -- [x] Implement [validation by maps](https://github.com/asaskevich/govalidator/issues/224) -- [ ] Implement fuzzing testing -- [ ] Implement some struct/map/array utilities -- [ ] Implement map/array validation -- [ ] Implement benchmarking -- [ ] Implement batch of examples -- [ ] Look at forks for new features and fixes - -#### Advice -Feel free to create what you want, but keep in mind when you implement new features: -- Code must be clear and readable, names of variables/constants clearly describes what they are doing -- Public functions must be documented and described in source file and added to README.md to the list of available functions -- There are must be unit-tests for any new functions and improvements - -## Financial contributions - -We also welcome financial contributions in full transparency on our [open collective](https://opencollective.com/govalidator). -Anyone can file an expense. If the expense makes sense for the development of the community, it will be "merged" in the ledger of our open collective by the core contributors and the person who filed the expense will be reimbursed. - - -## Credits - - -### Contributors - -Thank you to all the people who have already contributed to govalidator! - - - -### Backers - -Thank you to all our backers! [[Become a backer](https://opencollective.com/govalidator#backer)] - - - - -### Sponsors - -Thank you to all our sponsors! (please ask your company to also support this open source project by [becoming a sponsor](https://opencollective.com/govalidator#sponsor)) - - - - - - - - - - - \ No newline at end of file diff --git a/vendor/github.com/asaskevich/govalidator/LICENSE b/vendor/github.com/asaskevich/govalidator/LICENSE deleted file mode 100644 index cacba91024..0000000000 --- a/vendor/github.com/asaskevich/govalidator/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014-2020 Alex Saskevich - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/vendor/github.com/asaskevich/govalidator/README.md b/vendor/github.com/asaskevich/govalidator/README.md deleted file mode 100644 index 2c3fc35eb6..0000000000 --- a/vendor/github.com/asaskevich/govalidator/README.md +++ /dev/null @@ -1,622 +0,0 @@ -govalidator -=========== -[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/asaskevich/govalidator?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [![GoDoc](https://godoc.org/github.com/asaskevich/govalidator?status.png)](https://godoc.org/github.com/asaskevich/govalidator) -[![Build Status](https://travis-ci.org/asaskevich/govalidator.svg?branch=master)](https://travis-ci.org/asaskevich/govalidator) -[![Coverage](https://codecov.io/gh/asaskevich/govalidator/branch/master/graph/badge.svg)](https://codecov.io/gh/asaskevich/govalidator) [![Go Report Card](https://goreportcard.com/badge/github.com/asaskevich/govalidator)](https://goreportcard.com/report/github.com/asaskevich/govalidator) [![GoSearch](http://go-search.org/badge?id=github.com%2Fasaskevich%2Fgovalidator)](http://go-search.org/view?id=github.com%2Fasaskevich%2Fgovalidator) [![Backers on Open Collective](https://opencollective.com/govalidator/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/govalidator/sponsors/badge.svg)](#sponsors) [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fasaskevich%2Fgovalidator.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fasaskevich%2Fgovalidator?ref=badge_shield) - -A package of validators and sanitizers for strings, structs and collections. Based on [validator.js](https://github.com/chriso/validator.js). - -#### Installation -Make sure that Go is installed on your computer. -Type the following command in your terminal: - - go get github.com/asaskevich/govalidator - -or you can get specified release of the package with `gopkg.in`: - - go get gopkg.in/asaskevich/govalidator.v10 - -After it the package is ready to use. - - -#### Import package in your project -Add following line in your `*.go` file: -```go -import "github.com/asaskevich/govalidator" -``` -If you are unhappy to use long `govalidator`, you can do something like this: -```go -import ( - valid "github.com/asaskevich/govalidator" -) -``` - -#### Activate behavior to require all fields have a validation tag by default -`SetFieldsRequiredByDefault` causes validation to fail when struct fields do not include validations or are not explicitly marked as exempt (using `valid:"-"` or `valid:"email,optional"`). A good place to activate this is a package init function or the main() function. - -`SetNilPtrAllowedByRequired` causes validation to pass when struct fields marked by `required` are set to nil. This is disabled by default for consistency, but some packages that need to be able to determine between `nil` and `zero value` state can use this. If disabled, both `nil` and `zero` values cause validation errors. - -```go -import "github.com/asaskevich/govalidator" - -func init() { - govalidator.SetFieldsRequiredByDefault(true) -} -``` - -Here's some code to explain it: -```go -// this struct definition will fail govalidator.ValidateStruct() (and the field values do not matter): -type exampleStruct struct { - Name string `` - Email string `valid:"email"` -} - -// this, however, will only fail when Email is empty or an invalid email address: -type exampleStruct2 struct { - Name string `valid:"-"` - Email string `valid:"email"` -} - -// lastly, this will only fail when Email is an invalid email address but not when it's empty: -type exampleStruct2 struct { - Name string `valid:"-"` - Email string `valid:"email,optional"` -} -``` - -#### Recent breaking changes (see [#123](https://github.com/asaskevich/govalidator/pull/123)) -##### Custom validator function signature -A context was added as the second parameter, for structs this is the object being validated – this makes dependent validation possible. -```go -import "github.com/asaskevich/govalidator" - -// old signature -func(i interface{}) bool - -// new signature -func(i interface{}, o interface{}) bool -``` - -##### Adding a custom validator -This was changed to prevent data races when accessing custom validators. -```go -import "github.com/asaskevich/govalidator" - -// before -govalidator.CustomTypeTagMap["customByteArrayValidator"] = func(i interface{}, o interface{}) bool { - // ... -} - -// after -govalidator.CustomTypeTagMap.Set("customByteArrayValidator", func(i interface{}, o interface{}) bool { - // ... -}) -``` - -#### List of functions: -```go -func Abs(value float64) float64 -func BlackList(str, chars string) string -func ByteLength(str string, params ...string) bool -func CamelCaseToUnderscore(str string) string -func Contains(str, substring string) bool -func Count(array []interface{}, iterator ConditionIterator) int -func Each(array []interface{}, iterator Iterator) -func ErrorByField(e error, field string) string -func ErrorsByField(e error) map[string]string -func Filter(array []interface{}, iterator ConditionIterator) []interface{} -func Find(array []interface{}, iterator ConditionIterator) interface{} -func GetLine(s string, index int) (string, error) -func GetLines(s string) []string -func HasLowerCase(str string) bool -func HasUpperCase(str string) bool -func HasWhitespace(str string) bool -func HasWhitespaceOnly(str string) bool -func InRange(value interface{}, left interface{}, right interface{}) bool -func InRangeFloat32(value, left, right float32) bool -func InRangeFloat64(value, left, right float64) bool -func InRangeInt(value, left, right interface{}) bool -func IsASCII(str string) bool -func IsAlpha(str string) bool -func IsAlphanumeric(str string) bool -func IsBase64(str string) bool -func IsByteLength(str string, min, max int) bool -func IsCIDR(str string) bool -func IsCRC32(str string) bool -func IsCRC32b(str string) bool -func IsCreditCard(str string) bool -func IsDNSName(str string) bool -func IsDataURI(str string) bool -func IsDialString(str string) bool -func IsDivisibleBy(str, num string) bool -func IsEmail(str string) bool -func IsExistingEmail(email string) bool -func IsFilePath(str string) (bool, int) -func IsFloat(str string) bool -func IsFullWidth(str string) bool -func IsHalfWidth(str string) bool -func IsHash(str string, algorithm string) bool -func IsHexadecimal(str string) bool -func IsHexcolor(str string) bool -func IsHost(str string) bool -func IsIP(str string) bool -func IsIPv4(str string) bool -func IsIPv6(str string) bool -func IsISBN(str string, version int) bool -func IsISBN10(str string) bool -func IsISBN13(str string) bool -func IsISO3166Alpha2(str string) bool -func IsISO3166Alpha3(str string) bool -func IsISO4217(str string) bool -func IsISO693Alpha2(str string) bool -func IsISO693Alpha3b(str string) bool -func IsIn(str string, params ...string) bool -func IsInRaw(str string, params ...string) bool -func IsInt(str string) bool -func IsJSON(str string) bool -func IsLatitude(str string) bool -func IsLongitude(str string) bool -func IsLowerCase(str string) bool -func IsMAC(str string) bool -func IsMD4(str string) bool -func IsMD5(str string) bool -func IsMagnetURI(str string) bool -func IsMongoID(str string) bool -func IsMultibyte(str string) bool -func IsNatural(value float64) bool -func IsNegative(value float64) bool -func IsNonNegative(value float64) bool -func IsNonPositive(value float64) bool -func IsNotNull(str string) bool -func IsNull(str string) bool -func IsNumeric(str string) bool -func IsPort(str string) bool -func IsPositive(value float64) bool -func IsPrintableASCII(str string) bool -func IsRFC3339(str string) bool -func IsRFC3339WithoutZone(str string) bool -func IsRGBcolor(str string) bool -func IsRegex(str string) bool -func IsRequestURI(rawurl string) bool -func IsRequestURL(rawurl string) bool -func IsRipeMD128(str string) bool -func IsRipeMD160(str string) bool -func IsRsaPub(str string, params ...string) bool -func IsRsaPublicKey(str string, keylen int) bool -func IsSHA1(str string) bool -func IsSHA256(str string) bool -func IsSHA384(str string) bool -func IsSHA512(str string) bool -func IsSSN(str string) bool -func IsSemver(str string) bool -func IsTiger128(str string) bool -func IsTiger160(str string) bool -func IsTiger192(str string) bool -func IsTime(str string, format string) bool -func IsType(v interface{}, params ...string) bool -func IsURL(str string) bool -func IsUTFDigit(str string) bool -func IsUTFLetter(str string) bool -func IsUTFLetterNumeric(str string) bool -func IsUTFNumeric(str string) bool -func IsUUID(str string) bool -func IsUUIDv3(str string) bool -func IsUUIDv4(str string) bool -func IsUUIDv5(str string) bool -func IsULID(str string) bool -func IsUnixTime(str string) bool -func IsUpperCase(str string) bool -func IsVariableWidth(str string) bool -func IsWhole(value float64) bool -func LeftTrim(str, chars string) string -func Map(array []interface{}, iterator ResultIterator) []interface{} -func Matches(str, pattern string) bool -func MaxStringLength(str string, params ...string) bool -func MinStringLength(str string, params ...string) bool -func NormalizeEmail(str string) (string, error) -func PadBoth(str string, padStr string, padLen int) string -func PadLeft(str string, padStr string, padLen int) string -func PadRight(str string, padStr string, padLen int) string -func PrependPathToErrors(err error, path string) error -func Range(str string, params ...string) bool -func RemoveTags(s string) string -func ReplacePattern(str, pattern, replace string) string -func Reverse(s string) string -func RightTrim(str, chars string) string -func RuneLength(str string, params ...string) bool -func SafeFileName(str string) string -func SetFieldsRequiredByDefault(value bool) -func SetNilPtrAllowedByRequired(value bool) -func Sign(value float64) float64 -func StringLength(str string, params ...string) bool -func StringMatches(s string, params ...string) bool -func StripLow(str string, keepNewLines bool) string -func ToBoolean(str string) (bool, error) -func ToFloat(str string) (float64, error) -func ToInt(value interface{}) (res int64, err error) -func ToJSON(obj interface{}) (string, error) -func ToString(obj interface{}) string -func Trim(str, chars string) string -func Truncate(str string, length int, ending string) string -func TruncatingErrorf(str string, args ...interface{}) error -func UnderscoreToCamelCase(s string) string -func ValidateMap(inputMap map[string]interface{}, validationMap map[string]interface{}) (bool, error) -func ValidateStruct(s interface{}) (bool, error) -func WhiteList(str, chars string) string -type ConditionIterator -type CustomTypeValidator -type Error -func (e Error) Error() string -type Errors -func (es Errors) Error() string -func (es Errors) Errors() []error -type ISO3166Entry -type ISO693Entry -type InterfaceParamValidator -type Iterator -type ParamValidator -type ResultIterator -type UnsupportedTypeError -func (e *UnsupportedTypeError) Error() string -type Validator -``` - -#### Examples -###### IsURL -```go -println(govalidator.IsURL(`http://user@pass:domain.com/path/page`)) -``` -###### IsType -```go -println(govalidator.IsType("Bob", "string")) -println(govalidator.IsType(1, "int")) -i := 1 -println(govalidator.IsType(&i, "*int")) -``` - -IsType can be used through the tag `type` which is essential for map validation: -```go -type User struct { - Name string `valid:"type(string)"` - Age int `valid:"type(int)"` - Meta interface{} `valid:"type(string)"` -} -result, err := govalidator.ValidateStruct(User{"Bob", 20, "meta"}) -if err != nil { - println("error: " + err.Error()) -} -println(result) -``` -###### ToString -```go -type User struct { - FirstName string - LastName string -} - -str := govalidator.ToString(&User{"John", "Juan"}) -println(str) -``` -###### Each, Map, Filter, Count for slices -Each iterates over the slice/array and calls Iterator for every item -```go -data := []interface{}{1, 2, 3, 4, 5} -var fn govalidator.Iterator = func(value interface{}, index int) { - println(value.(int)) -} -govalidator.Each(data, fn) -``` -```go -data := []interface{}{1, 2, 3, 4, 5} -var fn govalidator.ResultIterator = func(value interface{}, index int) interface{} { - return value.(int) * 3 -} -_ = govalidator.Map(data, fn) // result = []interface{}{1, 6, 9, 12, 15} -``` -```go -data := []interface{}{1, 2, 3, 4, 5, 6, 7, 8, 9, 10} -var fn govalidator.ConditionIterator = func(value interface{}, index int) bool { - return value.(int)%2 == 0 -} -_ = govalidator.Filter(data, fn) // result = []interface{}{2, 4, 6, 8, 10} -_ = govalidator.Count(data, fn) // result = 5 -``` -###### ValidateStruct [#2](https://github.com/asaskevich/govalidator/pull/2) -If you want to validate structs, you can use tag `valid` for any field in your structure. All validators used with this field in one tag are separated by comma. If you want to skip validation, place `-` in your tag. If you need a validator that is not on the list below, you can add it like this: -```go -govalidator.TagMap["duck"] = govalidator.Validator(func(str string) bool { - return str == "duck" -}) -``` -For completely custom validators (interface-based), see below. - -Here is a list of available validators for struct fields (validator - used function): -```go -"email": IsEmail, -"url": IsURL, -"dialstring": IsDialString, -"requrl": IsRequestURL, -"requri": IsRequestURI, -"alpha": IsAlpha, -"utfletter": IsUTFLetter, -"alphanum": IsAlphanumeric, -"utfletternum": IsUTFLetterNumeric, -"numeric": IsNumeric, -"utfnumeric": IsUTFNumeric, -"utfdigit": IsUTFDigit, -"hexadecimal": IsHexadecimal, -"hexcolor": IsHexcolor, -"rgbcolor": IsRGBcolor, -"lowercase": IsLowerCase, -"uppercase": IsUpperCase, -"int": IsInt, -"float": IsFloat, -"null": IsNull, -"uuid": IsUUID, -"uuidv3": IsUUIDv3, -"uuidv4": IsUUIDv4, -"uuidv5": IsUUIDv5, -"creditcard": IsCreditCard, -"isbn10": IsISBN10, -"isbn13": IsISBN13, -"json": IsJSON, -"multibyte": IsMultibyte, -"ascii": IsASCII, -"printableascii": IsPrintableASCII, -"fullwidth": IsFullWidth, -"halfwidth": IsHalfWidth, -"variablewidth": IsVariableWidth, -"base64": IsBase64, -"datauri": IsDataURI, -"ip": IsIP, -"port": IsPort, -"ipv4": IsIPv4, -"ipv6": IsIPv6, -"dns": IsDNSName, -"host": IsHost, -"mac": IsMAC, -"latitude": IsLatitude, -"longitude": IsLongitude, -"ssn": IsSSN, -"semver": IsSemver, -"rfc3339": IsRFC3339, -"rfc3339WithoutZone": IsRFC3339WithoutZone, -"ISO3166Alpha2": IsISO3166Alpha2, -"ISO3166Alpha3": IsISO3166Alpha3, -"ulid": IsULID, -``` -Validators with parameters - -```go -"range(min|max)": Range, -"length(min|max)": ByteLength, -"runelength(min|max)": RuneLength, -"stringlength(min|max)": StringLength, -"matches(pattern)": StringMatches, -"in(string1|string2|...|stringN)": IsIn, -"rsapub(keylength)" : IsRsaPub, -"minstringlength(int): MinStringLength, -"maxstringlength(int): MaxStringLength, -``` -Validators with parameters for any type - -```go -"type(type)": IsType, -``` - -And here is small example of usage: -```go -type Post struct { - Title string `valid:"alphanum,required"` - Message string `valid:"duck,ascii"` - Message2 string `valid:"animal(dog)"` - AuthorIP string `valid:"ipv4"` - Date string `valid:"-"` -} -post := &Post{ - Title: "My Example Post", - Message: "duck", - Message2: "dog", - AuthorIP: "123.234.54.3", -} - -// Add your own struct validation tags -govalidator.TagMap["duck"] = govalidator.Validator(func(str string) bool { - return str == "duck" -}) - -// Add your own struct validation tags with parameter -govalidator.ParamTagMap["animal"] = govalidator.ParamValidator(func(str string, params ...string) bool { - species := params[0] - return str == species -}) -govalidator.ParamTagRegexMap["animal"] = regexp.MustCompile("^animal\\((\\w+)\\)$") - -result, err := govalidator.ValidateStruct(post) -if err != nil { - println("error: " + err.Error()) -} -println(result) -``` -###### ValidateMap [#2](https://github.com/asaskevich/govalidator/pull/338) -If you want to validate maps, you can use the map to be validated and a validation map that contain the same tags used in ValidateStruct, both maps have to be in the form `map[string]interface{}` - -So here is small example of usage: -```go -var mapTemplate = map[string]interface{}{ - "name":"required,alpha", - "family":"required,alpha", - "email":"required,email", - "cell-phone":"numeric", - "address":map[string]interface{}{ - "line1":"required,alphanum", - "line2":"alphanum", - "postal-code":"numeric", - }, -} - -var inputMap = map[string]interface{}{ - "name":"Bob", - "family":"Smith", - "email":"foo@bar.baz", - "address":map[string]interface{}{ - "line1":"", - "line2":"", - "postal-code":"", - }, -} - -result, err := govalidator.ValidateMap(inputMap, mapTemplate) -if err != nil { - println("error: " + err.Error()) -} -println(result) -``` - -###### WhiteList -```go -// Remove all characters from string ignoring characters between "a" and "z" -println(govalidator.WhiteList("a3a43a5a4a3a2a23a4a5a4a3a4", "a-z") == "aaaaaaaaaaaa") -``` - -###### Custom validation functions -Custom validation using your own domain specific validators is also available - here's an example of how to use it: -```go -import "github.com/asaskevich/govalidator" - -type CustomByteArray [6]byte // custom types are supported and can be validated - -type StructWithCustomByteArray struct { - ID CustomByteArray `valid:"customByteArrayValidator,customMinLengthValidator"` // multiple custom validators are possible as well and will be evaluated in sequence - Email string `valid:"email"` - CustomMinLength int `valid:"-"` -} - -govalidator.CustomTypeTagMap.Set("customByteArrayValidator", func(i interface{}, context interface{}) bool { - switch v := context.(type) { // you can type switch on the context interface being validated - case StructWithCustomByteArray: - // you can check and validate against some other field in the context, - // return early or not validate against the context at all – your choice - case SomeOtherType: - // ... - default: - // expecting some other type? Throw/panic here or continue - } - - switch v := i.(type) { // type switch on the struct field being validated - case CustomByteArray: - for _, e := range v { // this validator checks that the byte array is not empty, i.e. not all zeroes - if e != 0 { - return true - } - } - } - return false -}) -govalidator.CustomTypeTagMap.Set("customMinLengthValidator", func(i interface{}, context interface{}) bool { - switch v := context.(type) { // this validates a field against the value in another field, i.e. dependent validation - case StructWithCustomByteArray: - return len(v.ID) >= v.CustomMinLength - } - return false -}) -``` - -###### Loop over Error() -By default .Error() returns all errors in a single String. To access each error you can do this: -```go - if err != nil { - errs := err.(govalidator.Errors).Errors() - for _, e := range errs { - fmt.Println(e.Error()) - } - } -``` - -###### Custom error messages -Custom error messages are supported via annotations by adding the `~` separator - here's an example of how to use it: -```go -type Ticket struct { - Id int64 `json:"id"` - FirstName string `json:"firstname" valid:"required~First name is blank"` -} -``` - -#### Notes -Documentation is available here: [godoc.org](https://godoc.org/github.com/asaskevich/govalidator). -Full information about code coverage is also available here: [govalidator on gocover.io](http://gocover.io/github.com/asaskevich/govalidator). - -#### Support -If you do have a contribution to the package, feel free to create a Pull Request or an Issue. - -#### What to contribute -If you don't know what to do, there are some features and functions that need to be done - -- [ ] Refactor code -- [ ] Edit docs and [README](https://github.com/asaskevich/govalidator/README.md): spellcheck, grammar and typo check -- [ ] Create actual list of contributors and projects that currently using this package -- [ ] Resolve [issues and bugs](https://github.com/asaskevich/govalidator/issues) -- [ ] Update actual [list of functions](https://github.com/asaskevich/govalidator#list-of-functions) -- [ ] Update [list of validators](https://github.com/asaskevich/govalidator#validatestruct-2) that available for `ValidateStruct` and add new -- [ ] Implement new validators: `IsFQDN`, `IsIMEI`, `IsPostalCode`, `IsISIN`, `IsISRC` etc -- [x] Implement [validation by maps](https://github.com/asaskevich/govalidator/issues/224) -- [ ] Implement fuzzing testing -- [ ] Implement some struct/map/array utilities -- [ ] Implement map/array validation -- [ ] Implement benchmarking -- [ ] Implement batch of examples -- [ ] Look at forks for new features and fixes - -#### Advice -Feel free to create what you want, but keep in mind when you implement new features: -- Code must be clear and readable, names of variables/constants clearly describes what they are doing -- Public functions must be documented and described in source file and added to README.md to the list of available functions -- There are must be unit-tests for any new functions and improvements - -## Credits -### Contributors - -This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)]. - -#### Special thanks to [contributors](https://github.com/asaskevich/govalidator/graphs/contributors) -* [Daniel Lohse](https://github.com/annismckenzie) -* [Attila Oláh](https://github.com/attilaolah) -* [Daniel Korner](https://github.com/Dadie) -* [Steven Wilkin](https://github.com/stevenwilkin) -* [Deiwin Sarjas](https://github.com/deiwin) -* [Noah Shibley](https://github.com/slugmobile) -* [Nathan Davies](https://github.com/nathj07) -* [Matt Sanford](https://github.com/mzsanford) -* [Simon ccl1115](https://github.com/ccl1115) - - - - -### Backers - -Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/govalidator#backer)] - - - - -### Sponsors - -Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/govalidator#sponsor)] - - - - - - - - - - - - - - - -## License -[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fasaskevich%2Fgovalidator.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fasaskevich%2Fgovalidator?ref=badge_large) diff --git a/vendor/github.com/asaskevich/govalidator/arrays.go b/vendor/github.com/asaskevich/govalidator/arrays.go deleted file mode 100644 index 3e1da7cb48..0000000000 --- a/vendor/github.com/asaskevich/govalidator/arrays.go +++ /dev/null @@ -1,87 +0,0 @@ -package govalidator - -// Iterator is the function that accepts element of slice/array and its index -type Iterator func(interface{}, int) - -// ResultIterator is the function that accepts element of slice/array and its index and returns any result -type ResultIterator func(interface{}, int) interface{} - -// ConditionIterator is the function that accepts element of slice/array and its index and returns boolean -type ConditionIterator func(interface{}, int) bool - -// ReduceIterator is the function that accepts two element of slice/array and returns result of merging those values -type ReduceIterator func(interface{}, interface{}) interface{} - -// Some validates that any item of array corresponds to ConditionIterator. Returns boolean. -func Some(array []interface{}, iterator ConditionIterator) bool { - res := false - for index, data := range array { - res = res || iterator(data, index) - } - return res -} - -// Every validates that every item of array corresponds to ConditionIterator. Returns boolean. -func Every(array []interface{}, iterator ConditionIterator) bool { - res := true - for index, data := range array { - res = res && iterator(data, index) - } - return res -} - -// Reduce boils down a list of values into a single value by ReduceIterator -func Reduce(array []interface{}, iterator ReduceIterator, initialValue interface{}) interface{} { - for _, data := range array { - initialValue = iterator(initialValue, data) - } - return initialValue -} - -// Each iterates over the slice and apply Iterator to every item -func Each(array []interface{}, iterator Iterator) { - for index, data := range array { - iterator(data, index) - } -} - -// Map iterates over the slice and apply ResultIterator to every item. Returns new slice as a result. -func Map(array []interface{}, iterator ResultIterator) []interface{} { - var result = make([]interface{}, len(array)) - for index, data := range array { - result[index] = iterator(data, index) - } - return result -} - -// Find iterates over the slice and apply ConditionIterator to every item. Returns first item that meet ConditionIterator or nil otherwise. -func Find(array []interface{}, iterator ConditionIterator) interface{} { - for index, data := range array { - if iterator(data, index) { - return data - } - } - return nil -} - -// Filter iterates over the slice and apply ConditionIterator to every item. Returns new slice. -func Filter(array []interface{}, iterator ConditionIterator) []interface{} { - var result = make([]interface{}, 0) - for index, data := range array { - if iterator(data, index) { - result = append(result, data) - } - } - return result -} - -// Count iterates over the slice and apply ConditionIterator to every item. Returns count of items that meets ConditionIterator. -func Count(array []interface{}, iterator ConditionIterator) int { - count := 0 - for index, data := range array { - if iterator(data, index) { - count = count + 1 - } - } - return count -} diff --git a/vendor/github.com/asaskevich/govalidator/converter.go b/vendor/github.com/asaskevich/govalidator/converter.go deleted file mode 100644 index d68e990fc2..0000000000 --- a/vendor/github.com/asaskevich/govalidator/converter.go +++ /dev/null @@ -1,81 +0,0 @@ -package govalidator - -import ( - "encoding/json" - "fmt" - "reflect" - "strconv" -) - -// ToString convert the input to a string. -func ToString(obj interface{}) string { - res := fmt.Sprintf("%v", obj) - return res -} - -// ToJSON convert the input to a valid JSON string -func ToJSON(obj interface{}) (string, error) { - res, err := json.Marshal(obj) - if err != nil { - res = []byte("") - } - return string(res), err -} - -// ToFloat convert the input string to a float, or 0.0 if the input is not a float. -func ToFloat(value interface{}) (res float64, err error) { - val := reflect.ValueOf(value) - - switch value.(type) { - case int, int8, int16, int32, int64: - res = float64(val.Int()) - case uint, uint8, uint16, uint32, uint64: - res = float64(val.Uint()) - case float32, float64: - res = val.Float() - case string: - res, err = strconv.ParseFloat(val.String(), 64) - if err != nil { - res = 0 - } - default: - err = fmt.Errorf("ToInt: unknown interface type %T", value) - res = 0 - } - - return -} - -// ToInt convert the input string or any int type to an integer type 64, or 0 if the input is not an integer. -func ToInt(value interface{}) (res int64, err error) { - val := reflect.ValueOf(value) - - switch value.(type) { - case int, int8, int16, int32, int64: - res = val.Int() - case uint, uint8, uint16, uint32, uint64: - res = int64(val.Uint()) - case float32, float64: - res = int64(val.Float()) - case string: - if IsInt(val.String()) { - res, err = strconv.ParseInt(val.String(), 0, 64) - if err != nil { - res = 0 - } - } else { - err = fmt.Errorf("ToInt: invalid numeric format %g", value) - res = 0 - } - default: - err = fmt.Errorf("ToInt: unknown interface type %T", value) - res = 0 - } - - return -} - -// ToBoolean convert the input string to a boolean. -func ToBoolean(str string) (bool, error) { - return strconv.ParseBool(str) -} diff --git a/vendor/github.com/asaskevich/govalidator/doc.go b/vendor/github.com/asaskevich/govalidator/doc.go deleted file mode 100644 index 55dce62dc8..0000000000 --- a/vendor/github.com/asaskevich/govalidator/doc.go +++ /dev/null @@ -1,3 +0,0 @@ -package govalidator - -// A package of validators and sanitizers for strings, structures and collections. diff --git a/vendor/github.com/asaskevich/govalidator/error.go b/vendor/github.com/asaskevich/govalidator/error.go deleted file mode 100644 index 1da2336f47..0000000000 --- a/vendor/github.com/asaskevich/govalidator/error.go +++ /dev/null @@ -1,47 +0,0 @@ -package govalidator - -import ( - "sort" - "strings" -) - -// Errors is an array of multiple errors and conforms to the error interface. -type Errors []error - -// Errors returns itself. -func (es Errors) Errors() []error { - return es -} - -func (es Errors) Error() string { - var errs []string - for _, e := range es { - errs = append(errs, e.Error()) - } - sort.Strings(errs) - return strings.Join(errs, ";") -} - -// Error encapsulates a name, an error and whether there's a custom error message or not. -type Error struct { - Name string - Err error - CustomErrorMessageExists bool - - // Validator indicates the name of the validator that failed - Validator string - Path []string -} - -func (e Error) Error() string { - if e.CustomErrorMessageExists { - return e.Err.Error() - } - - errName := e.Name - if len(e.Path) > 0 { - errName = strings.Join(append(e.Path, e.Name), ".") - } - - return errName + ": " + e.Err.Error() -} diff --git a/vendor/github.com/asaskevich/govalidator/numerics.go b/vendor/github.com/asaskevich/govalidator/numerics.go deleted file mode 100644 index 5041d9e868..0000000000 --- a/vendor/github.com/asaskevich/govalidator/numerics.go +++ /dev/null @@ -1,100 +0,0 @@ -package govalidator - -import ( - "math" -) - -// Abs returns absolute value of number -func Abs(value float64) float64 { - return math.Abs(value) -} - -// Sign returns signum of number: 1 in case of value > 0, -1 in case of value < 0, 0 otherwise -func Sign(value float64) float64 { - if value > 0 { - return 1 - } else if value < 0 { - return -1 - } else { - return 0 - } -} - -// IsNegative returns true if value < 0 -func IsNegative(value float64) bool { - return value < 0 -} - -// IsPositive returns true if value > 0 -func IsPositive(value float64) bool { - return value > 0 -} - -// IsNonNegative returns true if value >= 0 -func IsNonNegative(value float64) bool { - return value >= 0 -} - -// IsNonPositive returns true if value <= 0 -func IsNonPositive(value float64) bool { - return value <= 0 -} - -// InRangeInt returns true if value lies between left and right border -func InRangeInt(value, left, right interface{}) bool { - value64, _ := ToInt(value) - left64, _ := ToInt(left) - right64, _ := ToInt(right) - if left64 > right64 { - left64, right64 = right64, left64 - } - return value64 >= left64 && value64 <= right64 -} - -// InRangeFloat32 returns true if value lies between left and right border -func InRangeFloat32(value, left, right float32) bool { - if left > right { - left, right = right, left - } - return value >= left && value <= right -} - -// InRangeFloat64 returns true if value lies between left and right border -func InRangeFloat64(value, left, right float64) bool { - if left > right { - left, right = right, left - } - return value >= left && value <= right -} - -// InRange returns true if value lies between left and right border, generic type to handle int, float32, float64 and string. -// All types must the same type. -// False if value doesn't lie in range or if it incompatible or not comparable -func InRange(value interface{}, left interface{}, right interface{}) bool { - switch value.(type) { - case int: - intValue, _ := ToInt(value) - intLeft, _ := ToInt(left) - intRight, _ := ToInt(right) - return InRangeInt(intValue, intLeft, intRight) - case float32, float64: - intValue, _ := ToFloat(value) - intLeft, _ := ToFloat(left) - intRight, _ := ToFloat(right) - return InRangeFloat64(intValue, intLeft, intRight) - case string: - return value.(string) >= left.(string) && value.(string) <= right.(string) - default: - return false - } -} - -// IsWhole returns true if value is whole number -func IsWhole(value float64) bool { - return math.Remainder(value, 1) == 0 -} - -// IsNatural returns true if value is natural number (positive and whole) -func IsNatural(value float64) bool { - return IsWhole(value) && IsPositive(value) -} diff --git a/vendor/github.com/asaskevich/govalidator/patterns.go b/vendor/github.com/asaskevich/govalidator/patterns.go deleted file mode 100644 index bafc3765ea..0000000000 --- a/vendor/github.com/asaskevich/govalidator/patterns.go +++ /dev/null @@ -1,113 +0,0 @@ -package govalidator - -import "regexp" - -// Basic regular expressions for validating strings -const ( - Email string = "^(((([a-zA-Z]|\\d|[!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~]|[\\x{00A0}-\\x{D7FF}\\x{F900}-\\x{FDCF}\\x{FDF0}-\\x{FFEF}])+(\\.([a-zA-Z]|\\d|[!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~]|[\\x{00A0}-\\x{D7FF}\\x{F900}-\\x{FDCF}\\x{FDF0}-\\x{FFEF}])+)*)|((\\x22)((((\\x20|\\x09)*(\\x0d\\x0a))?(\\x20|\\x09)+)?(([\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x7f]|\\x21|[\\x23-\\x5b]|[\\x5d-\\x7e]|[\\x{00A0}-\\x{D7FF}\\x{F900}-\\x{FDCF}\\x{FDF0}-\\x{FFEF}])|(\\([\\x01-\\x09\\x0b\\x0c\\x0d-\\x7f]|[\\x{00A0}-\\x{D7FF}\\x{F900}-\\x{FDCF}\\x{FDF0}-\\x{FFEF}]))))*(((\\x20|\\x09)*(\\x0d\\x0a))?(\\x20|\\x09)+)?(\\x22)))@((([a-zA-Z]|\\d|[\\x{00A0}-\\x{D7FF}\\x{F900}-\\x{FDCF}\\x{FDF0}-\\x{FFEF}])|(([a-zA-Z]|\\d|[\\x{00A0}-\\x{D7FF}\\x{F900}-\\x{FDCF}\\x{FDF0}-\\x{FFEF}])([a-zA-Z]|\\d|-|\\.|_|~|[\\x{00A0}-\\x{D7FF}\\x{F900}-\\x{FDCF}\\x{FDF0}-\\x{FFEF}])*([a-zA-Z]|\\d|[\\x{00A0}-\\x{D7FF}\\x{F900}-\\x{FDCF}\\x{FDF0}-\\x{FFEF}])))\\.)+(([a-zA-Z]|[\\x{00A0}-\\x{D7FF}\\x{F900}-\\x{FDCF}\\x{FDF0}-\\x{FFEF}])|(([a-zA-Z]|[\\x{00A0}-\\x{D7FF}\\x{F900}-\\x{FDCF}\\x{FDF0}-\\x{FFEF}])([a-zA-Z]|\\d|-|_|~|[\\x{00A0}-\\x{D7FF}\\x{F900}-\\x{FDCF}\\x{FDF0}-\\x{FFEF}])*([a-zA-Z]|[\\x{00A0}-\\x{D7FF}\\x{F900}-\\x{FDCF}\\x{FDF0}-\\x{FFEF}])))\\.?$" - CreditCard string = "^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11}|6[27][0-9]{14})$" - ISBN10 string = "^(?:[0-9]{9}X|[0-9]{10})$" - ISBN13 string = "^(?:[0-9]{13})$" - UUID3 string = "^[0-9a-f]{8}-[0-9a-f]{4}-3[0-9a-f]{3}-[0-9a-f]{4}-[0-9a-f]{12}$" - UUID4 string = "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" - UUID5 string = "^[0-9a-f]{8}-[0-9a-f]{4}-5[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" - UUID string = "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" - Alpha string = "^[a-zA-Z]+$" - Alphanumeric string = "^[a-zA-Z0-9]+$" - Numeric string = "^[0-9]+$" - Int string = "^(?:[-+]?(?:0|[1-9][0-9]*))$" - Float string = "^(?:[-+]?(?:[0-9]+))?(?:\\.[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$" - Hexadecimal string = "^[0-9a-fA-F]+$" - Hexcolor string = "^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$" - RGBcolor string = "^rgb\\(\\s*(0|[1-9]\\d?|1\\d\\d?|2[0-4]\\d|25[0-5])\\s*,\\s*(0|[1-9]\\d?|1\\d\\d?|2[0-4]\\d|25[0-5])\\s*,\\s*(0|[1-9]\\d?|1\\d\\d?|2[0-4]\\d|25[0-5])\\s*\\)$" - ASCII string = "^[\x00-\x7F]+$" - Multibyte string = "[^\x00-\x7F]" - FullWidth string = "[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]" - HalfWidth string = "[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]" - Base64 string = "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=|[A-Za-z0-9+\\/]{4})$" - PrintableASCII string = "^[\x20-\x7E]+$" - DataURI string = "^data:.+\\/(.+);base64$" - MagnetURI string = "^magnet:\\?xt=urn:[a-zA-Z0-9]+:[a-zA-Z0-9]{32,40}&dn=.+&tr=.+$" - Latitude string = "^[-+]?([1-8]?\\d(\\.\\d+)?|90(\\.0+)?)$" - Longitude string = "^[-+]?(180(\\.0+)?|((1[0-7]\\d)|([1-9]?\\d))(\\.\\d+)?)$" - DNSName string = `^([a-zA-Z0-9_]{1}[a-zA-Z0-9_-]{0,62}){1}(\.[a-zA-Z0-9_]{1}[a-zA-Z0-9_-]{0,62})*[\._]?$` - IP string = `(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))` - URLSchema string = `((ftp|tcp|udp|wss?|https?):\/\/)` - URLUsername string = `(\S+(:\S*)?@)` - URLPath string = `((\/|\?|#)[^\s]*)` - URLPort string = `(:(\d{1,5}))` - URLIP string = `([1-9]\d?|1\d\d|2[01]\d|22[0-3]|24\d|25[0-5])(\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])){2}(?:\.([0-9]\d?|1\d\d|2[0-4]\d|25[0-5]))` - URLSubdomain string = `((www\.)|([a-zA-Z0-9]+([-_\.]?[a-zA-Z0-9])*[a-zA-Z0-9]\.[a-zA-Z0-9]+))` - URL = `^` + URLSchema + `?` + URLUsername + `?` + `((` + URLIP + `|(\[` + IP + `\])|(([a-zA-Z0-9]([a-zA-Z0-9-_]+)?[a-zA-Z0-9]([-\.][a-zA-Z0-9]+)*)|(` + URLSubdomain + `?))?(([a-zA-Z\x{00a1}-\x{ffff}0-9]+-?-?)*[a-zA-Z\x{00a1}-\x{ffff}0-9]+)(?:\.([a-zA-Z\x{00a1}-\x{ffff}]{1,}))?))\.?` + URLPort + `?` + URLPath + `?$` - SSN string = `^\d{3}[- ]?\d{2}[- ]?\d{4}$` - WinPath string = `^[a-zA-Z]:\\(?:[^\\/:*?"<>|\r\n]+\\)*[^\\/:*?"<>|\r\n]*$` - UnixPath string = `^(/[^/\x00]*)+/?$` - WinARPath string = `^(?:(?:[a-zA-Z]:|\\\\[a-z0-9_.$●-]+\\[a-z0-9_.$●-]+)\\|\\?[^\\/:*?"<>|\r\n]+\\?)(?:[^\\/:*?"<>|\r\n]+\\)*[^\\/:*?"<>|\r\n]*$` - UnixARPath string = `^((\.{0,2}/)?([^/\x00]*))+/?$` - Semver string = "^v?(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)(-(0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(\\.(0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*)?(\\+[0-9a-zA-Z-]+(\\.[0-9a-zA-Z-]+)*)?$" - tagName string = "valid" - hasLowerCase string = ".*[[:lower:]]" - hasUpperCase string = ".*[[:upper:]]" - hasWhitespace string = ".*[[:space:]]" - hasWhitespaceOnly string = "^[[:space:]]+$" - IMEI string = "^[0-9a-f]{14}$|^\\d{15}$|^\\d{18}$" - IMSI string = "^\\d{14,15}$" - E164 string = `^\+?[1-9]\d{1,14}$` -) - -// Used by IsFilePath func -const ( - // Unknown is unresolved OS type - Unknown = iota - // Win is Windows type - Win - // Unix is *nix OS types - Unix -) - -var ( - userRegexp = regexp.MustCompile("^[a-zA-Z0-9!#$%&'*+/=?^_`{|}~.-]+$") - hostRegexp = regexp.MustCompile("^[^\\s]+\\.[^\\s]+$") - userDotRegexp = regexp.MustCompile("(^[.]{1})|([.]{1}$)|([.]{2,})") - rxEmail = regexp.MustCompile(Email) - rxCreditCard = regexp.MustCompile(CreditCard) - rxISBN10 = regexp.MustCompile(ISBN10) - rxISBN13 = regexp.MustCompile(ISBN13) - rxUUID3 = regexp.MustCompile(UUID3) - rxUUID4 = regexp.MustCompile(UUID4) - rxUUID5 = regexp.MustCompile(UUID5) - rxUUID = regexp.MustCompile(UUID) - rxAlpha = regexp.MustCompile(Alpha) - rxAlphanumeric = regexp.MustCompile(Alphanumeric) - rxNumeric = regexp.MustCompile(Numeric) - rxInt = regexp.MustCompile(Int) - rxFloat = regexp.MustCompile(Float) - rxHexadecimal = regexp.MustCompile(Hexadecimal) - rxHexcolor = regexp.MustCompile(Hexcolor) - rxRGBcolor = regexp.MustCompile(RGBcolor) - rxASCII = regexp.MustCompile(ASCII) - rxPrintableASCII = regexp.MustCompile(PrintableASCII) - rxMultibyte = regexp.MustCompile(Multibyte) - rxFullWidth = regexp.MustCompile(FullWidth) - rxHalfWidth = regexp.MustCompile(HalfWidth) - rxBase64 = regexp.MustCompile(Base64) - rxDataURI = regexp.MustCompile(DataURI) - rxMagnetURI = regexp.MustCompile(MagnetURI) - rxLatitude = regexp.MustCompile(Latitude) - rxLongitude = regexp.MustCompile(Longitude) - rxDNSName = regexp.MustCompile(DNSName) - rxURL = regexp.MustCompile(URL) - rxSSN = regexp.MustCompile(SSN) - rxWinPath = regexp.MustCompile(WinPath) - rxUnixPath = regexp.MustCompile(UnixPath) - rxARWinPath = regexp.MustCompile(WinARPath) - rxARUnixPath = regexp.MustCompile(UnixARPath) - rxSemver = regexp.MustCompile(Semver) - rxHasLowerCase = regexp.MustCompile(hasLowerCase) - rxHasUpperCase = regexp.MustCompile(hasUpperCase) - rxHasWhitespace = regexp.MustCompile(hasWhitespace) - rxHasWhitespaceOnly = regexp.MustCompile(hasWhitespaceOnly) - rxIMEI = regexp.MustCompile(IMEI) - rxIMSI = regexp.MustCompile(IMSI) - rxE164 = regexp.MustCompile(E164) -) diff --git a/vendor/github.com/asaskevich/govalidator/types.go b/vendor/github.com/asaskevich/govalidator/types.go deleted file mode 100644 index c573abb51a..0000000000 --- a/vendor/github.com/asaskevich/govalidator/types.go +++ /dev/null @@ -1,656 +0,0 @@ -package govalidator - -import ( - "reflect" - "regexp" - "sort" - "sync" -) - -// Validator is a wrapper for a validator function that returns bool and accepts string. -type Validator func(str string) bool - -// CustomTypeValidator is a wrapper for validator functions that returns bool and accepts any type. -// The second parameter should be the context (in the case of validating a struct: the whole object being validated). -type CustomTypeValidator func(i interface{}, o interface{}) bool - -// ParamValidator is a wrapper for validator functions that accept additional parameters. -type ParamValidator func(str string, params ...string) bool - -// InterfaceParamValidator is a wrapper for functions that accept variants parameters for an interface value -type InterfaceParamValidator func(in interface{}, params ...string) bool -type tagOptionsMap map[string]tagOption - -func (t tagOptionsMap) orderedKeys() []string { - var keys []string - for k := range t { - keys = append(keys, k) - } - - sort.Slice(keys, func(a, b int) bool { - return t[keys[a]].order < t[keys[b]].order - }) - - return keys -} - -type tagOption struct { - name string - customErrorMessage string - order int -} - -// UnsupportedTypeError is a wrapper for reflect.Type -type UnsupportedTypeError struct { - Type reflect.Type -} - -// stringValues is a slice of reflect.Value holding *reflect.StringValue. -// It implements the methods to sort by string. -type stringValues []reflect.Value - -// InterfaceParamTagMap is a map of functions accept variants parameters for an interface value -var InterfaceParamTagMap = map[string]InterfaceParamValidator{ - "type": IsType, -} - -// InterfaceParamTagRegexMap maps interface param tags to their respective regexes. -var InterfaceParamTagRegexMap = map[string]*regexp.Regexp{ - "type": regexp.MustCompile(`^type\((.*)\)$`), -} - -// ParamTagMap is a map of functions accept variants parameters -var ParamTagMap = map[string]ParamValidator{ - "length": ByteLength, - "range": Range, - "runelength": RuneLength, - "stringlength": StringLength, - "matches": StringMatches, - "in": IsInRaw, - "rsapub": IsRsaPub, - "minstringlength": MinStringLength, - "maxstringlength": MaxStringLength, -} - -// ParamTagRegexMap maps param tags to their respective regexes. -var ParamTagRegexMap = map[string]*regexp.Regexp{ - "range": regexp.MustCompile("^range\\((\\d+)\\|(\\d+)\\)$"), - "length": regexp.MustCompile("^length\\((\\d+)\\|(\\d+)\\)$"), - "runelength": regexp.MustCompile("^runelength\\((\\d+)\\|(\\d+)\\)$"), - "stringlength": regexp.MustCompile("^stringlength\\((\\d+)\\|(\\d+)\\)$"), - "in": regexp.MustCompile(`^in\((.*)\)`), - "matches": regexp.MustCompile(`^matches\((.+)\)$`), - "rsapub": regexp.MustCompile("^rsapub\\((\\d+)\\)$"), - "minstringlength": regexp.MustCompile("^minstringlength\\((\\d+)\\)$"), - "maxstringlength": regexp.MustCompile("^maxstringlength\\((\\d+)\\)$"), -} - -type customTypeTagMap struct { - validators map[string]CustomTypeValidator - - sync.RWMutex -} - -func (tm *customTypeTagMap) Get(name string) (CustomTypeValidator, bool) { - tm.RLock() - defer tm.RUnlock() - v, ok := tm.validators[name] - return v, ok -} - -func (tm *customTypeTagMap) Set(name string, ctv CustomTypeValidator) { - tm.Lock() - defer tm.Unlock() - tm.validators[name] = ctv -} - -// CustomTypeTagMap is a map of functions that can be used as tags for ValidateStruct function. -// Use this to validate compound or custom types that need to be handled as a whole, e.g. -// `type UUID [16]byte` (this would be handled as an array of bytes). -var CustomTypeTagMap = &customTypeTagMap{validators: make(map[string]CustomTypeValidator)} - -// TagMap is a map of functions, that can be used as tags for ValidateStruct function. -var TagMap = map[string]Validator{ - "email": IsEmail, - "url": IsURL, - "dialstring": IsDialString, - "requrl": IsRequestURL, - "requri": IsRequestURI, - "alpha": IsAlpha, - "utfletter": IsUTFLetter, - "alphanum": IsAlphanumeric, - "utfletternum": IsUTFLetterNumeric, - "numeric": IsNumeric, - "utfnumeric": IsUTFNumeric, - "utfdigit": IsUTFDigit, - "hexadecimal": IsHexadecimal, - "hexcolor": IsHexcolor, - "rgbcolor": IsRGBcolor, - "lowercase": IsLowerCase, - "uppercase": IsUpperCase, - "int": IsInt, - "float": IsFloat, - "null": IsNull, - "notnull": IsNotNull, - "uuid": IsUUID, - "uuidv3": IsUUIDv3, - "uuidv4": IsUUIDv4, - "uuidv5": IsUUIDv5, - "creditcard": IsCreditCard, - "isbn10": IsISBN10, - "isbn13": IsISBN13, - "json": IsJSON, - "multibyte": IsMultibyte, - "ascii": IsASCII, - "printableascii": IsPrintableASCII, - "fullwidth": IsFullWidth, - "halfwidth": IsHalfWidth, - "variablewidth": IsVariableWidth, - "base64": IsBase64, - "datauri": IsDataURI, - "ip": IsIP, - "port": IsPort, - "ipv4": IsIPv4, - "ipv6": IsIPv6, - "dns": IsDNSName, - "host": IsHost, - "mac": IsMAC, - "latitude": IsLatitude, - "longitude": IsLongitude, - "ssn": IsSSN, - "semver": IsSemver, - "rfc3339": IsRFC3339, - "rfc3339WithoutZone": IsRFC3339WithoutZone, - "ISO3166Alpha2": IsISO3166Alpha2, - "ISO3166Alpha3": IsISO3166Alpha3, - "ISO4217": IsISO4217, - "IMEI": IsIMEI, - "ulid": IsULID, -} - -// ISO3166Entry stores country codes -type ISO3166Entry struct { - EnglishShortName string - FrenchShortName string - Alpha2Code string - Alpha3Code string - Numeric string -} - -//ISO3166List based on https://www.iso.org/obp/ui/#search/code/ Code Type "Officially Assigned Codes" -var ISO3166List = []ISO3166Entry{ - {"Afghanistan", "Afghanistan (l')", "AF", "AFG", "004"}, - {"Albania", "Albanie (l')", "AL", "ALB", "008"}, - {"Antarctica", "Antarctique (l')", "AQ", "ATA", "010"}, - {"Algeria", "Algérie (l')", "DZ", "DZA", "012"}, - {"American Samoa", "Samoa américaines (les)", "AS", "ASM", "016"}, - {"Andorra", "Andorre (l')", "AD", "AND", "020"}, - {"Angola", "Angola (l')", "AO", "AGO", "024"}, - {"Antigua and Barbuda", "Antigua-et-Barbuda", "AG", "ATG", "028"}, - {"Azerbaijan", "Azerbaïdjan (l')", "AZ", "AZE", "031"}, - {"Argentina", "Argentine (l')", "AR", "ARG", "032"}, - {"Australia", "Australie (l')", "AU", "AUS", "036"}, - {"Austria", "Autriche (l')", "AT", "AUT", "040"}, - {"Bahamas (the)", "Bahamas (les)", "BS", "BHS", "044"}, - {"Bahrain", "Bahreïn", "BH", "BHR", "048"}, - {"Bangladesh", "Bangladesh (le)", "BD", "BGD", "050"}, - {"Armenia", "Arménie (l')", "AM", "ARM", "051"}, - {"Barbados", "Barbade (la)", "BB", "BRB", "052"}, - {"Belgium", "Belgique (la)", "BE", "BEL", "056"}, - {"Bermuda", "Bermudes (les)", "BM", "BMU", "060"}, - {"Bhutan", "Bhoutan (le)", "BT", "BTN", "064"}, - {"Bolivia (Plurinational State of)", "Bolivie (État plurinational de)", "BO", "BOL", "068"}, - {"Bosnia and Herzegovina", "Bosnie-Herzégovine (la)", "BA", "BIH", "070"}, - {"Botswana", "Botswana (le)", "BW", "BWA", "072"}, - {"Bouvet Island", "Bouvet (l'Île)", "BV", "BVT", "074"}, - {"Brazil", "Brésil (le)", "BR", "BRA", "076"}, - {"Belize", "Belize (le)", "BZ", "BLZ", "084"}, - {"British Indian Ocean Territory (the)", "Indien (le Territoire britannique de l'océan)", "IO", "IOT", "086"}, - {"Solomon Islands", "Salomon (Îles)", "SB", "SLB", "090"}, - {"Virgin Islands (British)", "Vierges britanniques (les Îles)", "VG", "VGB", "092"}, - {"Brunei Darussalam", "Brunéi Darussalam (le)", "BN", "BRN", "096"}, - {"Bulgaria", "Bulgarie (la)", "BG", "BGR", "100"}, - {"Myanmar", "Myanmar (le)", "MM", "MMR", "104"}, - {"Burundi", "Burundi (le)", "BI", "BDI", "108"}, - {"Belarus", "Bélarus (le)", "BY", "BLR", "112"}, - {"Cambodia", "Cambodge (le)", "KH", "KHM", "116"}, - {"Cameroon", "Cameroun (le)", "CM", "CMR", "120"}, - {"Canada", "Canada (le)", "CA", "CAN", "124"}, - {"Cabo Verde", "Cabo Verde", "CV", "CPV", "132"}, - {"Cayman Islands (the)", "Caïmans (les Îles)", "KY", "CYM", "136"}, - {"Central African Republic (the)", "République centrafricaine (la)", "CF", "CAF", "140"}, - {"Sri Lanka", "Sri Lanka", "LK", "LKA", "144"}, - {"Chad", "Tchad (le)", "TD", "TCD", "148"}, - {"Chile", "Chili (le)", "CL", "CHL", "152"}, - {"China", "Chine (la)", "CN", "CHN", "156"}, - {"Taiwan (Province of China)", "Taïwan (Province de Chine)", "TW", "TWN", "158"}, - {"Christmas Island", "Christmas (l'Île)", "CX", "CXR", "162"}, - {"Cocos (Keeling) Islands (the)", "Cocos (les Îles)/ Keeling (les Îles)", "CC", "CCK", "166"}, - {"Colombia", "Colombie (la)", "CO", "COL", "170"}, - {"Comoros (the)", "Comores (les)", "KM", "COM", "174"}, - {"Mayotte", "Mayotte", "YT", "MYT", "175"}, - {"Congo (the)", "Congo (le)", "CG", "COG", "178"}, - {"Congo (the Democratic Republic of the)", "Congo (la République démocratique du)", "CD", "COD", "180"}, - {"Cook Islands (the)", "Cook (les Îles)", "CK", "COK", "184"}, - {"Costa Rica", "Costa Rica (le)", "CR", "CRI", "188"}, - {"Croatia", "Croatie (la)", "HR", "HRV", "191"}, - {"Cuba", "Cuba", "CU", "CUB", "192"}, - {"Cyprus", "Chypre", "CY", "CYP", "196"}, - {"Czech Republic (the)", "tchèque (la République)", "CZ", "CZE", "203"}, - {"Benin", "Bénin (le)", "BJ", "BEN", "204"}, - {"Denmark", "Danemark (le)", "DK", "DNK", "208"}, - {"Dominica", "Dominique (la)", "DM", "DMA", "212"}, - {"Dominican Republic (the)", "dominicaine (la République)", "DO", "DOM", "214"}, - {"Ecuador", "Équateur (l')", "EC", "ECU", "218"}, - {"El Salvador", "El Salvador", "SV", "SLV", "222"}, - {"Equatorial Guinea", "Guinée équatoriale (la)", "GQ", "GNQ", "226"}, - {"Ethiopia", "Éthiopie (l')", "ET", "ETH", "231"}, - {"Eritrea", "Érythrée (l')", "ER", "ERI", "232"}, - {"Estonia", "Estonie (l')", "EE", "EST", "233"}, - {"Faroe Islands (the)", "Féroé (les Îles)", "FO", "FRO", "234"}, - {"Falkland Islands (the) [Malvinas]", "Falkland (les Îles)/Malouines (les Îles)", "FK", "FLK", "238"}, - {"South Georgia and the South Sandwich Islands", "Géorgie du Sud-et-les Îles Sandwich du Sud (la)", "GS", "SGS", "239"}, - {"Fiji", "Fidji (les)", "FJ", "FJI", "242"}, - {"Finland", "Finlande (la)", "FI", "FIN", "246"}, - {"Åland Islands", "Åland(les Îles)", "AX", "ALA", "248"}, - {"France", "France (la)", "FR", "FRA", "250"}, - {"French Guiana", "Guyane française (la )", "GF", "GUF", "254"}, - {"French Polynesia", "Polynésie française (la)", "PF", "PYF", "258"}, - {"French Southern Territories (the)", "Terres australes françaises (les)", "TF", "ATF", "260"}, - {"Djibouti", "Djibouti", "DJ", "DJI", "262"}, - {"Gabon", "Gabon (le)", "GA", "GAB", "266"}, - {"Georgia", "Géorgie (la)", "GE", "GEO", "268"}, - {"Gambia (the)", "Gambie (la)", "GM", "GMB", "270"}, - {"Palestine, State of", "Palestine, État de", "PS", "PSE", "275"}, - {"Germany", "Allemagne (l')", "DE", "DEU", "276"}, - {"Ghana", "Ghana (le)", "GH", "GHA", "288"}, - {"Gibraltar", "Gibraltar", "GI", "GIB", "292"}, - {"Kiribati", "Kiribati", "KI", "KIR", "296"}, - {"Greece", "Grèce (la)", "GR", "GRC", "300"}, - {"Greenland", "Groenland (le)", "GL", "GRL", "304"}, - {"Grenada", "Grenade (la)", "GD", "GRD", "308"}, - {"Guadeloupe", "Guadeloupe (la)", "GP", "GLP", "312"}, - {"Guam", "Guam", "GU", "GUM", "316"}, - {"Guatemala", "Guatemala (le)", "GT", "GTM", "320"}, - {"Guinea", "Guinée (la)", "GN", "GIN", "324"}, - {"Guyana", "Guyana (le)", "GY", "GUY", "328"}, - {"Haiti", "Haïti", "HT", "HTI", "332"}, - {"Heard Island and McDonald Islands", "Heard-et-Îles MacDonald (l'Île)", "HM", "HMD", "334"}, - {"Holy See (the)", "Saint-Siège (le)", "VA", "VAT", "336"}, - {"Honduras", "Honduras (le)", "HN", "HND", "340"}, - {"Hong Kong", "Hong Kong", "HK", "HKG", "344"}, - {"Hungary", "Hongrie (la)", "HU", "HUN", "348"}, - {"Iceland", "Islande (l')", "IS", "ISL", "352"}, - {"India", "Inde (l')", "IN", "IND", "356"}, - {"Indonesia", "Indonésie (l')", "ID", "IDN", "360"}, - {"Iran (Islamic Republic of)", "Iran (République Islamique d')", "IR", "IRN", "364"}, - {"Iraq", "Iraq (l')", "IQ", "IRQ", "368"}, - {"Ireland", "Irlande (l')", "IE", "IRL", "372"}, - {"Israel", "Israël", "IL", "ISR", "376"}, - {"Italy", "Italie (l')", "IT", "ITA", "380"}, - {"Côte d'Ivoire", "Côte d'Ivoire (la)", "CI", "CIV", "384"}, - {"Jamaica", "Jamaïque (la)", "JM", "JAM", "388"}, - {"Japan", "Japon (le)", "JP", "JPN", "392"}, - {"Kazakhstan", "Kazakhstan (le)", "KZ", "KAZ", "398"}, - {"Jordan", "Jordanie (la)", "JO", "JOR", "400"}, - {"Kenya", "Kenya (le)", "KE", "KEN", "404"}, - {"Korea (the Democratic People's Republic of)", "Corée (la République populaire démocratique de)", "KP", "PRK", "408"}, - {"Korea (the Republic of)", "Corée (la République de)", "KR", "KOR", "410"}, - {"Kuwait", "Koweït (le)", "KW", "KWT", "414"}, - {"Kyrgyzstan", "Kirghizistan (le)", "KG", "KGZ", "417"}, - {"Lao People's Democratic Republic (the)", "Lao, République démocratique populaire", "LA", "LAO", "418"}, - {"Lebanon", "Liban (le)", "LB", "LBN", "422"}, - {"Lesotho", "Lesotho (le)", "LS", "LSO", "426"}, - {"Latvia", "Lettonie (la)", "LV", "LVA", "428"}, - {"Liberia", "Libéria (le)", "LR", "LBR", "430"}, - {"Libya", "Libye (la)", "LY", "LBY", "434"}, - {"Liechtenstein", "Liechtenstein (le)", "LI", "LIE", "438"}, - {"Lithuania", "Lituanie (la)", "LT", "LTU", "440"}, - {"Luxembourg", "Luxembourg (le)", "LU", "LUX", "442"}, - {"Macao", "Macao", "MO", "MAC", "446"}, - {"Madagascar", "Madagascar", "MG", "MDG", "450"}, - {"Malawi", "Malawi (le)", "MW", "MWI", "454"}, - {"Malaysia", "Malaisie (la)", "MY", "MYS", "458"}, - {"Maldives", "Maldives (les)", "MV", "MDV", "462"}, - {"Mali", "Mali (le)", "ML", "MLI", "466"}, - {"Malta", "Malte", "MT", "MLT", "470"}, - {"Martinique", "Martinique (la)", "MQ", "MTQ", "474"}, - {"Mauritania", "Mauritanie (la)", "MR", "MRT", "478"}, - {"Mauritius", "Maurice", "MU", "MUS", "480"}, - {"Mexico", "Mexique (le)", "MX", "MEX", "484"}, - {"Monaco", "Monaco", "MC", "MCO", "492"}, - {"Mongolia", "Mongolie (la)", "MN", "MNG", "496"}, - {"Moldova (the Republic of)", "Moldova , République de", "MD", "MDA", "498"}, - {"Montenegro", "Monténégro (le)", "ME", "MNE", "499"}, - {"Montserrat", "Montserrat", "MS", "MSR", "500"}, - {"Morocco", "Maroc (le)", "MA", "MAR", "504"}, - {"Mozambique", "Mozambique (le)", "MZ", "MOZ", "508"}, - {"Oman", "Oman", "OM", "OMN", "512"}, - {"Namibia", "Namibie (la)", "NA", "NAM", "516"}, - {"Nauru", "Nauru", "NR", "NRU", "520"}, - {"Nepal", "Népal (le)", "NP", "NPL", "524"}, - {"Netherlands (the)", "Pays-Bas (les)", "NL", "NLD", "528"}, - {"Curaçao", "Curaçao", "CW", "CUW", "531"}, - {"Aruba", "Aruba", "AW", "ABW", "533"}, - {"Sint Maarten (Dutch part)", "Saint-Martin (partie néerlandaise)", "SX", "SXM", "534"}, - {"Bonaire, Sint Eustatius and Saba", "Bonaire, Saint-Eustache et Saba", "BQ", "BES", "535"}, - {"New Caledonia", "Nouvelle-Calédonie (la)", "NC", "NCL", "540"}, - {"Vanuatu", "Vanuatu (le)", "VU", "VUT", "548"}, - {"New Zealand", "Nouvelle-Zélande (la)", "NZ", "NZL", "554"}, - {"Nicaragua", "Nicaragua (le)", "NI", "NIC", "558"}, - {"Niger (the)", "Niger (le)", "NE", "NER", "562"}, - {"Nigeria", "Nigéria (le)", "NG", "NGA", "566"}, - {"Niue", "Niue", "NU", "NIU", "570"}, - {"Norfolk Island", "Norfolk (l'Île)", "NF", "NFK", "574"}, - {"Norway", "Norvège (la)", "NO", "NOR", "578"}, - {"Northern Mariana Islands (the)", "Mariannes du Nord (les Îles)", "MP", "MNP", "580"}, - {"United States Minor Outlying Islands (the)", "Îles mineures éloignées des États-Unis (les)", "UM", "UMI", "581"}, - {"Micronesia (Federated States of)", "Micronésie (États fédérés de)", "FM", "FSM", "583"}, - {"Marshall Islands (the)", "Marshall (Îles)", "MH", "MHL", "584"}, - {"Palau", "Palaos (les)", "PW", "PLW", "585"}, - {"Pakistan", "Pakistan (le)", "PK", "PAK", "586"}, - {"Panama", "Panama (le)", "PA", "PAN", "591"}, - {"Papua New Guinea", "Papouasie-Nouvelle-Guinée (la)", "PG", "PNG", "598"}, - {"Paraguay", "Paraguay (le)", "PY", "PRY", "600"}, - {"Peru", "Pérou (le)", "PE", "PER", "604"}, - {"Philippines (the)", "Philippines (les)", "PH", "PHL", "608"}, - {"Pitcairn", "Pitcairn", "PN", "PCN", "612"}, - {"Poland", "Pologne (la)", "PL", "POL", "616"}, - {"Portugal", "Portugal (le)", "PT", "PRT", "620"}, - {"Guinea-Bissau", "Guinée-Bissau (la)", "GW", "GNB", "624"}, - {"Timor-Leste", "Timor-Leste (le)", "TL", "TLS", "626"}, - {"Puerto Rico", "Porto Rico", "PR", "PRI", "630"}, - {"Qatar", "Qatar (le)", "QA", "QAT", "634"}, - {"Réunion", "Réunion (La)", "RE", "REU", "638"}, - {"Romania", "Roumanie (la)", "RO", "ROU", "642"}, - {"Russian Federation (the)", "Russie (la Fédération de)", "RU", "RUS", "643"}, - {"Rwanda", "Rwanda (le)", "RW", "RWA", "646"}, - {"Saint Barthélemy", "Saint-Barthélemy", "BL", "BLM", "652"}, - {"Saint Helena, Ascension and Tristan da Cunha", "Sainte-Hélène, Ascension et Tristan da Cunha", "SH", "SHN", "654"}, - {"Saint Kitts and Nevis", "Saint-Kitts-et-Nevis", "KN", "KNA", "659"}, - {"Anguilla", "Anguilla", "AI", "AIA", "660"}, - {"Saint Lucia", "Sainte-Lucie", "LC", "LCA", "662"}, - {"Saint Martin (French part)", "Saint-Martin (partie française)", "MF", "MAF", "663"}, - {"Saint Pierre and Miquelon", "Saint-Pierre-et-Miquelon", "PM", "SPM", "666"}, - {"Saint Vincent and the Grenadines", "Saint-Vincent-et-les Grenadines", "VC", "VCT", "670"}, - {"San Marino", "Saint-Marin", "SM", "SMR", "674"}, - {"Sao Tome and Principe", "Sao Tomé-et-Principe", "ST", "STP", "678"}, - {"Saudi Arabia", "Arabie saoudite (l')", "SA", "SAU", "682"}, - {"Senegal", "Sénégal (le)", "SN", "SEN", "686"}, - {"Serbia", "Serbie (la)", "RS", "SRB", "688"}, - {"Seychelles", "Seychelles (les)", "SC", "SYC", "690"}, - {"Sierra Leone", "Sierra Leone (la)", "SL", "SLE", "694"}, - {"Singapore", "Singapour", "SG", "SGP", "702"}, - {"Slovakia", "Slovaquie (la)", "SK", "SVK", "703"}, - {"Viet Nam", "Viet Nam (le)", "VN", "VNM", "704"}, - {"Slovenia", "Slovénie (la)", "SI", "SVN", "705"}, - {"Somalia", "Somalie (la)", "SO", "SOM", "706"}, - {"South Africa", "Afrique du Sud (l')", "ZA", "ZAF", "710"}, - {"Zimbabwe", "Zimbabwe (le)", "ZW", "ZWE", "716"}, - {"Spain", "Espagne (l')", "ES", "ESP", "724"}, - {"South Sudan", "Soudan du Sud (le)", "SS", "SSD", "728"}, - {"Sudan (the)", "Soudan (le)", "SD", "SDN", "729"}, - {"Western Sahara*", "Sahara occidental (le)*", "EH", "ESH", "732"}, - {"Suriname", "Suriname (le)", "SR", "SUR", "740"}, - {"Svalbard and Jan Mayen", "Svalbard et l'Île Jan Mayen (le)", "SJ", "SJM", "744"}, - {"Swaziland", "Swaziland (le)", "SZ", "SWZ", "748"}, - {"Sweden", "Suède (la)", "SE", "SWE", "752"}, - {"Switzerland", "Suisse (la)", "CH", "CHE", "756"}, - {"Syrian Arab Republic", "République arabe syrienne (la)", "SY", "SYR", "760"}, - {"Tajikistan", "Tadjikistan (le)", "TJ", "TJK", "762"}, - {"Thailand", "Thaïlande (la)", "TH", "THA", "764"}, - {"Togo", "Togo (le)", "TG", "TGO", "768"}, - {"Tokelau", "Tokelau (les)", "TK", "TKL", "772"}, - {"Tonga", "Tonga (les)", "TO", "TON", "776"}, - {"Trinidad and Tobago", "Trinité-et-Tobago (la)", "TT", "TTO", "780"}, - {"United Arab Emirates (the)", "Émirats arabes unis (les)", "AE", "ARE", "784"}, - {"Tunisia", "Tunisie (la)", "TN", "TUN", "788"}, - {"Turkey", "Turquie (la)", "TR", "TUR", "792"}, - {"Turkmenistan", "Turkménistan (le)", "TM", "TKM", "795"}, - {"Turks and Caicos Islands (the)", "Turks-et-Caïcos (les Îles)", "TC", "TCA", "796"}, - {"Tuvalu", "Tuvalu (les)", "TV", "TUV", "798"}, - {"Uganda", "Ouganda (l')", "UG", "UGA", "800"}, - {"Ukraine", "Ukraine (l')", "UA", "UKR", "804"}, - {"Macedonia (the former Yugoslav Republic of)", "Macédoine (l'ex‑République yougoslave de)", "MK", "MKD", "807"}, - {"Egypt", "Égypte (l')", "EG", "EGY", "818"}, - {"United Kingdom of Great Britain and Northern Ireland (the)", "Royaume-Uni de Grande-Bretagne et d'Irlande du Nord (le)", "GB", "GBR", "826"}, - {"Guernsey", "Guernesey", "GG", "GGY", "831"}, - {"Jersey", "Jersey", "JE", "JEY", "832"}, - {"Isle of Man", "Île de Man", "IM", "IMN", "833"}, - {"Tanzania, United Republic of", "Tanzanie, République-Unie de", "TZ", "TZA", "834"}, - {"United States of America (the)", "États-Unis d'Amérique (les)", "US", "USA", "840"}, - {"Virgin Islands (U.S.)", "Vierges des États-Unis (les Îles)", "VI", "VIR", "850"}, - {"Burkina Faso", "Burkina Faso (le)", "BF", "BFA", "854"}, - {"Uruguay", "Uruguay (l')", "UY", "URY", "858"}, - {"Uzbekistan", "Ouzbékistan (l')", "UZ", "UZB", "860"}, - {"Venezuela (Bolivarian Republic of)", "Venezuela (République bolivarienne du)", "VE", "VEN", "862"}, - {"Wallis and Futuna", "Wallis-et-Futuna", "WF", "WLF", "876"}, - {"Samoa", "Samoa (le)", "WS", "WSM", "882"}, - {"Yemen", "Yémen (le)", "YE", "YEM", "887"}, - {"Zambia", "Zambie (la)", "ZM", "ZMB", "894"}, -} - -// ISO4217List is the list of ISO currency codes -var ISO4217List = []string{ - "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", - "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOV", "BRL", "BSD", "BTN", "BWP", "BYN", "BZD", - "CAD", "CDF", "CHE", "CHF", "CHW", "CLF", "CLP", "CNY", "COP", "COU", "CRC", "CUC", "CUP", "CVE", "CZK", - "DJF", "DKK", "DOP", "DZD", - "EGP", "ERN", "ETB", "EUR", - "FJD", "FKP", - "GBP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", - "HKD", "HNL", "HRK", "HTG", "HUF", - "IDR", "ILS", "INR", "IQD", "IRR", "ISK", - "JMD", "JOD", "JPY", - "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", - "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", - "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "MUR", "MVR", "MWK", "MXN", "MXV", "MYR", "MZN", - "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", - "OMR", - "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", - "QAR", - "RON", "RSD", "RUB", "RWF", - "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STD", "STN", "SVC", "SYP", "SZL", - "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", - "UAH", "UGX", "USD", "USN", "UYI", "UYU", "UYW", "UZS", - "VEF", "VES", "VND", "VUV", - "WST", - "XAF", "XAG", "XAU", "XBA", "XBB", "XBC", "XBD", "XCD", "XDR", "XOF", "XPD", "XPF", "XPT", "XSU", "XTS", "XUA", "XXX", - "YER", - "ZAR", "ZMW", "ZWL", -} - -// ISO693Entry stores ISO language codes -type ISO693Entry struct { - Alpha3bCode string - Alpha2Code string - English string -} - -//ISO693List based on http://data.okfn.org/data/core/language-codes/r/language-codes-3b2.json -var ISO693List = []ISO693Entry{ - {Alpha3bCode: "aar", Alpha2Code: "aa", English: "Afar"}, - {Alpha3bCode: "abk", Alpha2Code: "ab", English: "Abkhazian"}, - {Alpha3bCode: "afr", Alpha2Code: "af", English: "Afrikaans"}, - {Alpha3bCode: "aka", Alpha2Code: "ak", English: "Akan"}, - {Alpha3bCode: "alb", Alpha2Code: "sq", English: "Albanian"}, - {Alpha3bCode: "amh", Alpha2Code: "am", English: "Amharic"}, - {Alpha3bCode: "ara", Alpha2Code: "ar", English: "Arabic"}, - {Alpha3bCode: "arg", Alpha2Code: "an", English: "Aragonese"}, - {Alpha3bCode: "arm", Alpha2Code: "hy", English: "Armenian"}, - {Alpha3bCode: "asm", Alpha2Code: "as", English: "Assamese"}, - {Alpha3bCode: "ava", Alpha2Code: "av", English: "Avaric"}, - {Alpha3bCode: "ave", Alpha2Code: "ae", English: "Avestan"}, - {Alpha3bCode: "aym", Alpha2Code: "ay", English: "Aymara"}, - {Alpha3bCode: "aze", Alpha2Code: "az", English: "Azerbaijani"}, - {Alpha3bCode: "bak", Alpha2Code: "ba", English: "Bashkir"}, - {Alpha3bCode: "bam", Alpha2Code: "bm", English: "Bambara"}, - {Alpha3bCode: "baq", Alpha2Code: "eu", English: "Basque"}, - {Alpha3bCode: "bel", Alpha2Code: "be", English: "Belarusian"}, - {Alpha3bCode: "ben", Alpha2Code: "bn", English: "Bengali"}, - {Alpha3bCode: "bih", Alpha2Code: "bh", English: "Bihari languages"}, - {Alpha3bCode: "bis", Alpha2Code: "bi", English: "Bislama"}, - {Alpha3bCode: "bos", Alpha2Code: "bs", English: "Bosnian"}, - {Alpha3bCode: "bre", Alpha2Code: "br", English: "Breton"}, - {Alpha3bCode: "bul", Alpha2Code: "bg", English: "Bulgarian"}, - {Alpha3bCode: "bur", Alpha2Code: "my", English: "Burmese"}, - {Alpha3bCode: "cat", Alpha2Code: "ca", English: "Catalan; Valencian"}, - {Alpha3bCode: "cha", Alpha2Code: "ch", English: "Chamorro"}, - {Alpha3bCode: "che", Alpha2Code: "ce", English: "Chechen"}, - {Alpha3bCode: "chi", Alpha2Code: "zh", English: "Chinese"}, - {Alpha3bCode: "chu", Alpha2Code: "cu", English: "Church Slavic; Old Slavonic; Church Slavonic; Old Bulgarian; Old Church Slavonic"}, - {Alpha3bCode: "chv", Alpha2Code: "cv", English: "Chuvash"}, - {Alpha3bCode: "cor", Alpha2Code: "kw", English: "Cornish"}, - {Alpha3bCode: "cos", Alpha2Code: "co", English: "Corsican"}, - {Alpha3bCode: "cre", Alpha2Code: "cr", English: "Cree"}, - {Alpha3bCode: "cze", Alpha2Code: "cs", English: "Czech"}, - {Alpha3bCode: "dan", Alpha2Code: "da", English: "Danish"}, - {Alpha3bCode: "div", Alpha2Code: "dv", English: "Divehi; Dhivehi; Maldivian"}, - {Alpha3bCode: "dut", Alpha2Code: "nl", English: "Dutch; Flemish"}, - {Alpha3bCode: "dzo", Alpha2Code: "dz", English: "Dzongkha"}, - {Alpha3bCode: "eng", Alpha2Code: "en", English: "English"}, - {Alpha3bCode: "epo", Alpha2Code: "eo", English: "Esperanto"}, - {Alpha3bCode: "est", Alpha2Code: "et", English: "Estonian"}, - {Alpha3bCode: "ewe", Alpha2Code: "ee", English: "Ewe"}, - {Alpha3bCode: "fao", Alpha2Code: "fo", English: "Faroese"}, - {Alpha3bCode: "fij", Alpha2Code: "fj", English: "Fijian"}, - {Alpha3bCode: "fin", Alpha2Code: "fi", English: "Finnish"}, - {Alpha3bCode: "fre", Alpha2Code: "fr", English: "French"}, - {Alpha3bCode: "fry", Alpha2Code: "fy", English: "Western Frisian"}, - {Alpha3bCode: "ful", Alpha2Code: "ff", English: "Fulah"}, - {Alpha3bCode: "geo", Alpha2Code: "ka", English: "Georgian"}, - {Alpha3bCode: "ger", Alpha2Code: "de", English: "German"}, - {Alpha3bCode: "gla", Alpha2Code: "gd", English: "Gaelic; Scottish Gaelic"}, - {Alpha3bCode: "gle", Alpha2Code: "ga", English: "Irish"}, - {Alpha3bCode: "glg", Alpha2Code: "gl", English: "Galician"}, - {Alpha3bCode: "glv", Alpha2Code: "gv", English: "Manx"}, - {Alpha3bCode: "gre", Alpha2Code: "el", English: "Greek, Modern (1453-)"}, - {Alpha3bCode: "grn", Alpha2Code: "gn", English: "Guarani"}, - {Alpha3bCode: "guj", Alpha2Code: "gu", English: "Gujarati"}, - {Alpha3bCode: "hat", Alpha2Code: "ht", English: "Haitian; Haitian Creole"}, - {Alpha3bCode: "hau", Alpha2Code: "ha", English: "Hausa"}, - {Alpha3bCode: "heb", Alpha2Code: "he", English: "Hebrew"}, - {Alpha3bCode: "her", Alpha2Code: "hz", English: "Herero"}, - {Alpha3bCode: "hin", Alpha2Code: "hi", English: "Hindi"}, - {Alpha3bCode: "hmo", Alpha2Code: "ho", English: "Hiri Motu"}, - {Alpha3bCode: "hrv", Alpha2Code: "hr", English: "Croatian"}, - {Alpha3bCode: "hun", Alpha2Code: "hu", English: "Hungarian"}, - {Alpha3bCode: "ibo", Alpha2Code: "ig", English: "Igbo"}, - {Alpha3bCode: "ice", Alpha2Code: "is", English: "Icelandic"}, - {Alpha3bCode: "ido", Alpha2Code: "io", English: "Ido"}, - {Alpha3bCode: "iii", Alpha2Code: "ii", English: "Sichuan Yi; Nuosu"}, - {Alpha3bCode: "iku", Alpha2Code: "iu", English: "Inuktitut"}, - {Alpha3bCode: "ile", Alpha2Code: "ie", English: "Interlingue; Occidental"}, - {Alpha3bCode: "ina", Alpha2Code: "ia", English: "Interlingua (International Auxiliary Language Association)"}, - {Alpha3bCode: "ind", Alpha2Code: "id", English: "Indonesian"}, - {Alpha3bCode: "ipk", Alpha2Code: "ik", English: "Inupiaq"}, - {Alpha3bCode: "ita", Alpha2Code: "it", English: "Italian"}, - {Alpha3bCode: "jav", Alpha2Code: "jv", English: "Javanese"}, - {Alpha3bCode: "jpn", Alpha2Code: "ja", English: "Japanese"}, - {Alpha3bCode: "kal", Alpha2Code: "kl", English: "Kalaallisut; Greenlandic"}, - {Alpha3bCode: "kan", Alpha2Code: "kn", English: "Kannada"}, - {Alpha3bCode: "kas", Alpha2Code: "ks", English: "Kashmiri"}, - {Alpha3bCode: "kau", Alpha2Code: "kr", English: "Kanuri"}, - {Alpha3bCode: "kaz", Alpha2Code: "kk", English: "Kazakh"}, - {Alpha3bCode: "khm", Alpha2Code: "km", English: "Central Khmer"}, - {Alpha3bCode: "kik", Alpha2Code: "ki", English: "Kikuyu; Gikuyu"}, - {Alpha3bCode: "kin", Alpha2Code: "rw", English: "Kinyarwanda"}, - {Alpha3bCode: "kir", Alpha2Code: "ky", English: "Kirghiz; Kyrgyz"}, - {Alpha3bCode: "kom", Alpha2Code: "kv", English: "Komi"}, - {Alpha3bCode: "kon", Alpha2Code: "kg", English: "Kongo"}, - {Alpha3bCode: "kor", Alpha2Code: "ko", English: "Korean"}, - {Alpha3bCode: "kua", Alpha2Code: "kj", English: "Kuanyama; Kwanyama"}, - {Alpha3bCode: "kur", Alpha2Code: "ku", English: "Kurdish"}, - {Alpha3bCode: "lao", Alpha2Code: "lo", English: "Lao"}, - {Alpha3bCode: "lat", Alpha2Code: "la", English: "Latin"}, - {Alpha3bCode: "lav", Alpha2Code: "lv", English: "Latvian"}, - {Alpha3bCode: "lim", Alpha2Code: "li", English: "Limburgan; Limburger; Limburgish"}, - {Alpha3bCode: "lin", Alpha2Code: "ln", English: "Lingala"}, - {Alpha3bCode: "lit", Alpha2Code: "lt", English: "Lithuanian"}, - {Alpha3bCode: "ltz", Alpha2Code: "lb", English: "Luxembourgish; Letzeburgesch"}, - {Alpha3bCode: "lub", Alpha2Code: "lu", English: "Luba-Katanga"}, - {Alpha3bCode: "lug", Alpha2Code: "lg", English: "Ganda"}, - {Alpha3bCode: "mac", Alpha2Code: "mk", English: "Macedonian"}, - {Alpha3bCode: "mah", Alpha2Code: "mh", English: "Marshallese"}, - {Alpha3bCode: "mal", Alpha2Code: "ml", English: "Malayalam"}, - {Alpha3bCode: "mao", Alpha2Code: "mi", English: "Maori"}, - {Alpha3bCode: "mar", Alpha2Code: "mr", English: "Marathi"}, - {Alpha3bCode: "may", Alpha2Code: "ms", English: "Malay"}, - {Alpha3bCode: "mlg", Alpha2Code: "mg", English: "Malagasy"}, - {Alpha3bCode: "mlt", Alpha2Code: "mt", English: "Maltese"}, - {Alpha3bCode: "mon", Alpha2Code: "mn", English: "Mongolian"}, - {Alpha3bCode: "nau", Alpha2Code: "na", English: "Nauru"}, - {Alpha3bCode: "nav", Alpha2Code: "nv", English: "Navajo; Navaho"}, - {Alpha3bCode: "nbl", Alpha2Code: "nr", English: "Ndebele, South; South Ndebele"}, - {Alpha3bCode: "nde", Alpha2Code: "nd", English: "Ndebele, North; North Ndebele"}, - {Alpha3bCode: "ndo", Alpha2Code: "ng", English: "Ndonga"}, - {Alpha3bCode: "nep", Alpha2Code: "ne", English: "Nepali"}, - {Alpha3bCode: "nno", Alpha2Code: "nn", English: "Norwegian Nynorsk; Nynorsk, Norwegian"}, - {Alpha3bCode: "nob", Alpha2Code: "nb", English: "Bokmål, Norwegian; Norwegian Bokmål"}, - {Alpha3bCode: "nor", Alpha2Code: "no", English: "Norwegian"}, - {Alpha3bCode: "nya", Alpha2Code: "ny", English: "Chichewa; Chewa; Nyanja"}, - {Alpha3bCode: "oci", Alpha2Code: "oc", English: "Occitan (post 1500); Provençal"}, - {Alpha3bCode: "oji", Alpha2Code: "oj", English: "Ojibwa"}, - {Alpha3bCode: "ori", Alpha2Code: "or", English: "Oriya"}, - {Alpha3bCode: "orm", Alpha2Code: "om", English: "Oromo"}, - {Alpha3bCode: "oss", Alpha2Code: "os", English: "Ossetian; Ossetic"}, - {Alpha3bCode: "pan", Alpha2Code: "pa", English: "Panjabi; Punjabi"}, - {Alpha3bCode: "per", Alpha2Code: "fa", English: "Persian"}, - {Alpha3bCode: "pli", Alpha2Code: "pi", English: "Pali"}, - {Alpha3bCode: "pol", Alpha2Code: "pl", English: "Polish"}, - {Alpha3bCode: "por", Alpha2Code: "pt", English: "Portuguese"}, - {Alpha3bCode: "pus", Alpha2Code: "ps", English: "Pushto; Pashto"}, - {Alpha3bCode: "que", Alpha2Code: "qu", English: "Quechua"}, - {Alpha3bCode: "roh", Alpha2Code: "rm", English: "Romansh"}, - {Alpha3bCode: "rum", Alpha2Code: "ro", English: "Romanian; Moldavian; Moldovan"}, - {Alpha3bCode: "run", Alpha2Code: "rn", English: "Rundi"}, - {Alpha3bCode: "rus", Alpha2Code: "ru", English: "Russian"}, - {Alpha3bCode: "sag", Alpha2Code: "sg", English: "Sango"}, - {Alpha3bCode: "san", Alpha2Code: "sa", English: "Sanskrit"}, - {Alpha3bCode: "sin", Alpha2Code: "si", English: "Sinhala; Sinhalese"}, - {Alpha3bCode: "slo", Alpha2Code: "sk", English: "Slovak"}, - {Alpha3bCode: "slv", Alpha2Code: "sl", English: "Slovenian"}, - {Alpha3bCode: "sme", Alpha2Code: "se", English: "Northern Sami"}, - {Alpha3bCode: "smo", Alpha2Code: "sm", English: "Samoan"}, - {Alpha3bCode: "sna", Alpha2Code: "sn", English: "Shona"}, - {Alpha3bCode: "snd", Alpha2Code: "sd", English: "Sindhi"}, - {Alpha3bCode: "som", Alpha2Code: "so", English: "Somali"}, - {Alpha3bCode: "sot", Alpha2Code: "st", English: "Sotho, Southern"}, - {Alpha3bCode: "spa", Alpha2Code: "es", English: "Spanish; Castilian"}, - {Alpha3bCode: "srd", Alpha2Code: "sc", English: "Sardinian"}, - {Alpha3bCode: "srp", Alpha2Code: "sr", English: "Serbian"}, - {Alpha3bCode: "ssw", Alpha2Code: "ss", English: "Swati"}, - {Alpha3bCode: "sun", Alpha2Code: "su", English: "Sundanese"}, - {Alpha3bCode: "swa", Alpha2Code: "sw", English: "Swahili"}, - {Alpha3bCode: "swe", Alpha2Code: "sv", English: "Swedish"}, - {Alpha3bCode: "tah", Alpha2Code: "ty", English: "Tahitian"}, - {Alpha3bCode: "tam", Alpha2Code: "ta", English: "Tamil"}, - {Alpha3bCode: "tat", Alpha2Code: "tt", English: "Tatar"}, - {Alpha3bCode: "tel", Alpha2Code: "te", English: "Telugu"}, - {Alpha3bCode: "tgk", Alpha2Code: "tg", English: "Tajik"}, - {Alpha3bCode: "tgl", Alpha2Code: "tl", English: "Tagalog"}, - {Alpha3bCode: "tha", Alpha2Code: "th", English: "Thai"}, - {Alpha3bCode: "tib", Alpha2Code: "bo", English: "Tibetan"}, - {Alpha3bCode: "tir", Alpha2Code: "ti", English: "Tigrinya"}, - {Alpha3bCode: "ton", Alpha2Code: "to", English: "Tonga (Tonga Islands)"}, - {Alpha3bCode: "tsn", Alpha2Code: "tn", English: "Tswana"}, - {Alpha3bCode: "tso", Alpha2Code: "ts", English: "Tsonga"}, - {Alpha3bCode: "tuk", Alpha2Code: "tk", English: "Turkmen"}, - {Alpha3bCode: "tur", Alpha2Code: "tr", English: "Turkish"}, - {Alpha3bCode: "twi", Alpha2Code: "tw", English: "Twi"}, - {Alpha3bCode: "uig", Alpha2Code: "ug", English: "Uighur; Uyghur"}, - {Alpha3bCode: "ukr", Alpha2Code: "uk", English: "Ukrainian"}, - {Alpha3bCode: "urd", Alpha2Code: "ur", English: "Urdu"}, - {Alpha3bCode: "uzb", Alpha2Code: "uz", English: "Uzbek"}, - {Alpha3bCode: "ven", Alpha2Code: "ve", English: "Venda"}, - {Alpha3bCode: "vie", Alpha2Code: "vi", English: "Vietnamese"}, - {Alpha3bCode: "vol", Alpha2Code: "vo", English: "Volapük"}, - {Alpha3bCode: "wel", Alpha2Code: "cy", English: "Welsh"}, - {Alpha3bCode: "wln", Alpha2Code: "wa", English: "Walloon"}, - {Alpha3bCode: "wol", Alpha2Code: "wo", English: "Wolof"}, - {Alpha3bCode: "xho", Alpha2Code: "xh", English: "Xhosa"}, - {Alpha3bCode: "yid", Alpha2Code: "yi", English: "Yiddish"}, - {Alpha3bCode: "yor", Alpha2Code: "yo", English: "Yoruba"}, - {Alpha3bCode: "zha", Alpha2Code: "za", English: "Zhuang; Chuang"}, - {Alpha3bCode: "zul", Alpha2Code: "zu", English: "Zulu"}, -} diff --git a/vendor/github.com/asaskevich/govalidator/utils.go b/vendor/github.com/asaskevich/govalidator/utils.go deleted file mode 100644 index f4c30f824a..0000000000 --- a/vendor/github.com/asaskevich/govalidator/utils.go +++ /dev/null @@ -1,270 +0,0 @@ -package govalidator - -import ( - "errors" - "fmt" - "html" - "math" - "path" - "regexp" - "strings" - "unicode" - "unicode/utf8" -) - -// Contains checks if the string contains the substring. -func Contains(str, substring string) bool { - return strings.Contains(str, substring) -} - -// Matches checks if string matches the pattern (pattern is regular expression) -// In case of error return false -func Matches(str, pattern string) bool { - match, _ := regexp.MatchString(pattern, str) - return match -} - -// LeftTrim trims characters from the left side of the input. -// If second argument is empty, it will remove leading spaces. -func LeftTrim(str, chars string) string { - if chars == "" { - return strings.TrimLeftFunc(str, unicode.IsSpace) - } - r, _ := regexp.Compile("^[" + chars + "]+") - return r.ReplaceAllString(str, "") -} - -// RightTrim trims characters from the right side of the input. -// If second argument is empty, it will remove trailing spaces. -func RightTrim(str, chars string) string { - if chars == "" { - return strings.TrimRightFunc(str, unicode.IsSpace) - } - r, _ := regexp.Compile("[" + chars + "]+$") - return r.ReplaceAllString(str, "") -} - -// Trim trims characters from both sides of the input. -// If second argument is empty, it will remove spaces. -func Trim(str, chars string) string { - return LeftTrim(RightTrim(str, chars), chars) -} - -// WhiteList removes characters that do not appear in the whitelist. -func WhiteList(str, chars string) string { - pattern := "[^" + chars + "]+" - r, _ := regexp.Compile(pattern) - return r.ReplaceAllString(str, "") -} - -// BlackList removes characters that appear in the blacklist. -func BlackList(str, chars string) string { - pattern := "[" + chars + "]+" - r, _ := regexp.Compile(pattern) - return r.ReplaceAllString(str, "") -} - -// StripLow removes characters with a numerical value < 32 and 127, mostly control characters. -// If keep_new_lines is true, newline characters are preserved (\n and \r, hex 0xA and 0xD). -func StripLow(str string, keepNewLines bool) string { - chars := "" - if keepNewLines { - chars = "\x00-\x09\x0B\x0C\x0E-\x1F\x7F" - } else { - chars = "\x00-\x1F\x7F" - } - return BlackList(str, chars) -} - -// ReplacePattern replaces regular expression pattern in string -func ReplacePattern(str, pattern, replace string) string { - r, _ := regexp.Compile(pattern) - return r.ReplaceAllString(str, replace) -} - -// Escape replaces <, >, & and " with HTML entities. -var Escape = html.EscapeString - -func addSegment(inrune, segment []rune) []rune { - if len(segment) == 0 { - return inrune - } - if len(inrune) != 0 { - inrune = append(inrune, '_') - } - inrune = append(inrune, segment...) - return inrune -} - -// UnderscoreToCamelCase converts from underscore separated form to camel case form. -// Ex.: my_func => MyFunc -func UnderscoreToCamelCase(s string) string { - return strings.Replace(strings.Title(strings.Replace(strings.ToLower(s), "_", " ", -1)), " ", "", -1) -} - -// CamelCaseToUnderscore converts from camel case form to underscore separated form. -// Ex.: MyFunc => my_func -func CamelCaseToUnderscore(str string) string { - var output []rune - var segment []rune - for _, r := range str { - - // not treat number as separate segment - if !unicode.IsLower(r) && string(r) != "_" && !unicode.IsNumber(r) { - output = addSegment(output, segment) - segment = nil - } - segment = append(segment, unicode.ToLower(r)) - } - output = addSegment(output, segment) - return string(output) -} - -// Reverse returns reversed string -func Reverse(s string) string { - r := []rune(s) - for i, j := 0, len(r)-1; i < j; i, j = i+1, j-1 { - r[i], r[j] = r[j], r[i] - } - return string(r) -} - -// GetLines splits string by "\n" and return array of lines -func GetLines(s string) []string { - return strings.Split(s, "\n") -} - -// GetLine returns specified line of multiline string -func GetLine(s string, index int) (string, error) { - lines := GetLines(s) - if index < 0 || index >= len(lines) { - return "", errors.New("line index out of bounds") - } - return lines[index], nil -} - -// RemoveTags removes all tags from HTML string -func RemoveTags(s string) string { - return ReplacePattern(s, "<[^>]*>", "") -} - -// SafeFileName returns safe string that can be used in file names -func SafeFileName(str string) string { - name := strings.ToLower(str) - name = path.Clean(path.Base(name)) - name = strings.Trim(name, " ") - separators, err := regexp.Compile(`[ &_=+:]`) - if err == nil { - name = separators.ReplaceAllString(name, "-") - } - legal, err := regexp.Compile(`[^[:alnum:]-.]`) - if err == nil { - name = legal.ReplaceAllString(name, "") - } - for strings.Contains(name, "--") { - name = strings.Replace(name, "--", "-", -1) - } - return name -} - -// NormalizeEmail canonicalize an email address. -// The local part of the email address is lowercased for all domains; the hostname is always lowercased and -// the local part of the email address is always lowercased for hosts that are known to be case-insensitive (currently only GMail). -// Normalization follows special rules for known providers: currently, GMail addresses have dots removed in the local part and -// are stripped of tags (e.g. some.one+tag@gmail.com becomes someone@gmail.com) and all @googlemail.com addresses are -// normalized to @gmail.com. -func NormalizeEmail(str string) (string, error) { - if !IsEmail(str) { - return "", fmt.Errorf("%s is not an email", str) - } - parts := strings.Split(str, "@") - parts[0] = strings.ToLower(parts[0]) - parts[1] = strings.ToLower(parts[1]) - if parts[1] == "gmail.com" || parts[1] == "googlemail.com" { - parts[1] = "gmail.com" - parts[0] = strings.Split(ReplacePattern(parts[0], `\.`, ""), "+")[0] - } - return strings.Join(parts, "@"), nil -} - -// Truncate a string to the closest length without breaking words. -func Truncate(str string, length int, ending string) string { - var aftstr, befstr string - if len(str) > length { - words := strings.Fields(str) - before, present := 0, 0 - for i := range words { - befstr = aftstr - before = present - aftstr = aftstr + words[i] + " " - present = len(aftstr) - if present > length && i != 0 { - if (length - before) < (present - length) { - return Trim(befstr, " /\\.,\"'#!?&@+-") + ending - } - return Trim(aftstr, " /\\.,\"'#!?&@+-") + ending - } - } - } - - return str -} - -// PadLeft pads left side of a string if size of string is less then indicated pad length -func PadLeft(str string, padStr string, padLen int) string { - return buildPadStr(str, padStr, padLen, true, false) -} - -// PadRight pads right side of a string if size of string is less then indicated pad length -func PadRight(str string, padStr string, padLen int) string { - return buildPadStr(str, padStr, padLen, false, true) -} - -// PadBoth pads both sides of a string if size of string is less then indicated pad length -func PadBoth(str string, padStr string, padLen int) string { - return buildPadStr(str, padStr, padLen, true, true) -} - -// PadString either left, right or both sides. -// Note that padding string can be unicode and more then one character -func buildPadStr(str string, padStr string, padLen int, padLeft bool, padRight bool) string { - - // When padded length is less then the current string size - if padLen < utf8.RuneCountInString(str) { - return str - } - - padLen -= utf8.RuneCountInString(str) - - targetLen := padLen - - targetLenLeft := targetLen - targetLenRight := targetLen - if padLeft && padRight { - targetLenLeft = padLen / 2 - targetLenRight = padLen - targetLenLeft - } - - strToRepeatLen := utf8.RuneCountInString(padStr) - - repeatTimes := int(math.Ceil(float64(targetLen) / float64(strToRepeatLen))) - repeatedString := strings.Repeat(padStr, repeatTimes) - - leftSide := "" - if padLeft { - leftSide = repeatedString[0:targetLenLeft] - } - - rightSide := "" - if padRight { - rightSide = repeatedString[0:targetLenRight] - } - - return leftSide + str + rightSide -} - -// TruncatingErrorf removes extra args from fmt.Errorf if not formatted in the str object -func TruncatingErrorf(str string, args ...interface{}) error { - n := strings.Count(str, "%s") - return fmt.Errorf(str, args[:n]...) -} diff --git a/vendor/github.com/asaskevich/govalidator/validator.go b/vendor/github.com/asaskevich/govalidator/validator.go deleted file mode 100644 index c9c4fac065..0000000000 --- a/vendor/github.com/asaskevich/govalidator/validator.go +++ /dev/null @@ -1,1768 +0,0 @@ -// Package govalidator is package of validators and sanitizers for strings, structs and collections. -package govalidator - -import ( - "bytes" - "crypto/rsa" - "crypto/x509" - "encoding/base64" - "encoding/json" - "encoding/pem" - "fmt" - "io/ioutil" - "net" - "net/url" - "reflect" - "regexp" - "sort" - "strconv" - "strings" - "time" - "unicode" - "unicode/utf8" -) - -var ( - fieldsRequiredByDefault bool - nilPtrAllowedByRequired = false - notNumberRegexp = regexp.MustCompile("[^0-9]+") - whiteSpacesAndMinus = regexp.MustCompile(`[\s-]+`) - paramsRegexp = regexp.MustCompile(`\(.*\)$`) -) - -const maxURLRuneCount = 2083 -const minURLRuneCount = 3 -const rfc3339WithoutZone = "2006-01-02T15:04:05" - -// SetFieldsRequiredByDefault causes validation to fail when struct fields -// do not include validations or are not explicitly marked as exempt (using `valid:"-"` or `valid:"email,optional"`). -// This struct definition will fail govalidator.ValidateStruct() (and the field values do not matter): -// type exampleStruct struct { -// Name string `` -// Email string `valid:"email"` -// This, however, will only fail when Email is empty or an invalid email address: -// type exampleStruct2 struct { -// Name string `valid:"-"` -// Email string `valid:"email"` -// Lastly, this will only fail when Email is an invalid email address but not when it's empty: -// type exampleStruct2 struct { -// Name string `valid:"-"` -// Email string `valid:"email,optional"` -func SetFieldsRequiredByDefault(value bool) { - fieldsRequiredByDefault = value -} - -// SetNilPtrAllowedByRequired causes validation to pass for nil ptrs when a field is set to required. -// The validation will still reject ptr fields in their zero value state. Example with this enabled: -// type exampleStruct struct { -// Name *string `valid:"required"` -// With `Name` set to "", this will be considered invalid input and will cause a validation error. -// With `Name` set to nil, this will be considered valid by validation. -// By default this is disabled. -func SetNilPtrAllowedByRequired(value bool) { - nilPtrAllowedByRequired = value -} - -// IsEmail checks if the string is an email. -func IsEmail(str string) bool { - // TODO uppercase letters are not supported - return rxEmail.MatchString(str) -} - -// IsExistingEmail checks if the string is an email of existing domain -func IsExistingEmail(email string) bool { - - if len(email) < 6 || len(email) > 254 { - return false - } - at := strings.LastIndex(email, "@") - if at <= 0 || at > len(email)-3 { - return false - } - user := email[:at] - host := email[at+1:] - if len(user) > 64 { - return false - } - switch host { - case "localhost", "example.com": - return true - } - if userDotRegexp.MatchString(user) || !userRegexp.MatchString(user) || !hostRegexp.MatchString(host) { - return false - } - if _, err := net.LookupMX(host); err != nil { - if _, err := net.LookupIP(host); err != nil { - return false - } - } - - return true -} - -// IsURL checks if the string is an URL. -func IsURL(str string) bool { - if str == "" || utf8.RuneCountInString(str) >= maxURLRuneCount || len(str) <= minURLRuneCount || strings.HasPrefix(str, ".") { - return false - } - strTemp := str - if strings.Contains(str, ":") && !strings.Contains(str, "://") { - // support no indicated urlscheme but with colon for port number - // http:// is appended so url.Parse will succeed, strTemp used so it does not impact rxURL.MatchString - strTemp = "http://" + str - } - u, err := url.Parse(strTemp) - if err != nil { - return false - } - if strings.HasPrefix(u.Host, ".") { - return false - } - if u.Host == "" && (u.Path != "" && !strings.Contains(u.Path, ".")) { - return false - } - return rxURL.MatchString(str) -} - -// IsRequestURL checks if the string rawurl, assuming -// it was received in an HTTP request, is a valid -// URL confirm to RFC 3986 -func IsRequestURL(rawurl string) bool { - url, err := url.ParseRequestURI(rawurl) - if err != nil { - return false //Couldn't even parse the rawurl - } - if len(url.Scheme) == 0 { - return false //No Scheme found - } - return true -} - -// IsRequestURI checks if the string rawurl, assuming -// it was received in an HTTP request, is an -// absolute URI or an absolute path. -func IsRequestURI(rawurl string) bool { - _, err := url.ParseRequestURI(rawurl) - return err == nil -} - -// IsAlpha checks if the string contains only letters (a-zA-Z). Empty string is valid. -func IsAlpha(str string) bool { - if IsNull(str) { - return true - } - return rxAlpha.MatchString(str) -} - -//IsUTFLetter checks if the string contains only unicode letter characters. -//Similar to IsAlpha but for all languages. Empty string is valid. -func IsUTFLetter(str string) bool { - if IsNull(str) { - return true - } - - for _, c := range str { - if !unicode.IsLetter(c) { - return false - } - } - return true - -} - -// IsAlphanumeric checks if the string contains only letters and numbers. Empty string is valid. -func IsAlphanumeric(str string) bool { - if IsNull(str) { - return true - } - return rxAlphanumeric.MatchString(str) -} - -// IsUTFLetterNumeric checks if the string contains only unicode letters and numbers. Empty string is valid. -func IsUTFLetterNumeric(str string) bool { - if IsNull(str) { - return true - } - for _, c := range str { - if !unicode.IsLetter(c) && !unicode.IsNumber(c) { //letters && numbers are ok - return false - } - } - return true - -} - -// IsNumeric checks if the string contains only numbers. Empty string is valid. -func IsNumeric(str string) bool { - if IsNull(str) { - return true - } - return rxNumeric.MatchString(str) -} - -// IsUTFNumeric checks if the string contains only unicode numbers of any kind. -// Numbers can be 0-9 but also Fractions ¾,Roman Ⅸ and Hangzhou 〩. Empty string is valid. -func IsUTFNumeric(str string) bool { - if IsNull(str) { - return true - } - if strings.IndexAny(str, "+-") > 0 { - return false - } - if len(str) > 1 { - str = strings.TrimPrefix(str, "-") - str = strings.TrimPrefix(str, "+") - } - for _, c := range str { - if !unicode.IsNumber(c) { //numbers && minus sign are ok - return false - } - } - return true - -} - -// IsUTFDigit checks if the string contains only unicode radix-10 decimal digits. Empty string is valid. -func IsUTFDigit(str string) bool { - if IsNull(str) { - return true - } - if strings.IndexAny(str, "+-") > 0 { - return false - } - if len(str) > 1 { - str = strings.TrimPrefix(str, "-") - str = strings.TrimPrefix(str, "+") - } - for _, c := range str { - if !unicode.IsDigit(c) { //digits && minus sign are ok - return false - } - } - return true - -} - -// IsHexadecimal checks if the string is a hexadecimal number. -func IsHexadecimal(str string) bool { - return rxHexadecimal.MatchString(str) -} - -// IsHexcolor checks if the string is a hexadecimal color. -func IsHexcolor(str string) bool { - return rxHexcolor.MatchString(str) -} - -// IsRGBcolor checks if the string is a valid RGB color in form rgb(RRR, GGG, BBB). -func IsRGBcolor(str string) bool { - return rxRGBcolor.MatchString(str) -} - -// IsLowerCase checks if the string is lowercase. Empty string is valid. -func IsLowerCase(str string) bool { - if IsNull(str) { - return true - } - return str == strings.ToLower(str) -} - -// IsUpperCase checks if the string is uppercase. Empty string is valid. -func IsUpperCase(str string) bool { - if IsNull(str) { - return true - } - return str == strings.ToUpper(str) -} - -// HasLowerCase checks if the string contains at least 1 lowercase. Empty string is valid. -func HasLowerCase(str string) bool { - if IsNull(str) { - return true - } - return rxHasLowerCase.MatchString(str) -} - -// HasUpperCase checks if the string contains as least 1 uppercase. Empty string is valid. -func HasUpperCase(str string) bool { - if IsNull(str) { - return true - } - return rxHasUpperCase.MatchString(str) -} - -// IsInt checks if the string is an integer. Empty string is valid. -func IsInt(str string) bool { - if IsNull(str) { - return true - } - return rxInt.MatchString(str) -} - -// IsFloat checks if the string is a float. -func IsFloat(str string) bool { - return str != "" && rxFloat.MatchString(str) -} - -// IsDivisibleBy checks if the string is a number that's divisible by another. -// If second argument is not valid integer or zero, it's return false. -// Otherwise, if first argument is not valid integer or zero, it's return true (Invalid string converts to zero). -func IsDivisibleBy(str, num string) bool { - f, _ := ToFloat(str) - p := int64(f) - q, _ := ToInt(num) - if q == 0 { - return false - } - return (p == 0) || (p%q == 0) -} - -// IsNull checks if the string is null. -func IsNull(str string) bool { - return len(str) == 0 -} - -// IsNotNull checks if the string is not null. -func IsNotNull(str string) bool { - return !IsNull(str) -} - -// HasWhitespaceOnly checks the string only contains whitespace -func HasWhitespaceOnly(str string) bool { - return len(str) > 0 && rxHasWhitespaceOnly.MatchString(str) -} - -// HasWhitespace checks if the string contains any whitespace -func HasWhitespace(str string) bool { - return len(str) > 0 && rxHasWhitespace.MatchString(str) -} - -// IsByteLength checks if the string's length (in bytes) falls in a range. -func IsByteLength(str string, min, max int) bool { - return len(str) >= min && len(str) <= max -} - -// IsUUIDv3 checks if the string is a UUID version 3. -func IsUUIDv3(str string) bool { - return rxUUID3.MatchString(str) -} - -// IsUUIDv4 checks if the string is a UUID version 4. -func IsUUIDv4(str string) bool { - return rxUUID4.MatchString(str) -} - -// IsUUIDv5 checks if the string is a UUID version 5. -func IsUUIDv5(str string) bool { - return rxUUID5.MatchString(str) -} - -// IsUUID checks if the string is a UUID (version 3, 4 or 5). -func IsUUID(str string) bool { - return rxUUID.MatchString(str) -} - -// Byte to index table for O(1) lookups when unmarshaling. -// We use 0xFF as sentinel value for invalid indexes. -var ulidDec = [...]byte{ - 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, - 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, - 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, - 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, - 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x01, - 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0xFF, 0xFF, - 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, - 0x0F, 0x10, 0x11, 0xFF, 0x12, 0x13, 0xFF, 0x14, 0x15, 0xFF, - 0x16, 0x17, 0x18, 0x19, 0x1A, 0xFF, 0x1B, 0x1C, 0x1D, 0x1E, - 0x1F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0A, 0x0B, 0x0C, - 0x0D, 0x0E, 0x0F, 0x10, 0x11, 0xFF, 0x12, 0x13, 0xFF, 0x14, - 0x15, 0xFF, 0x16, 0x17, 0x18, 0x19, 0x1A, 0xFF, 0x1B, 0x1C, - 0x1D, 0x1E, 0x1F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, - 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, - 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, - 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, - 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, - 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, - 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, - 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, - 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, - 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, - 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, - 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, - 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, - 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, -} - -// EncodedSize is the length of a text encoded ULID. -const ulidEncodedSize = 26 - -// IsULID checks if the string is a ULID. -// -// Implementation got from: -// https://github.com/oklog/ulid (Apache-2.0 License) -// -func IsULID(str string) bool { - // Check if a base32 encoded ULID is the right length. - if len(str) != ulidEncodedSize { - return false - } - - // Check if all the characters in a base32 encoded ULID are part of the - // expected base32 character set. - if ulidDec[str[0]] == 0xFF || - ulidDec[str[1]] == 0xFF || - ulidDec[str[2]] == 0xFF || - ulidDec[str[3]] == 0xFF || - ulidDec[str[4]] == 0xFF || - ulidDec[str[5]] == 0xFF || - ulidDec[str[6]] == 0xFF || - ulidDec[str[7]] == 0xFF || - ulidDec[str[8]] == 0xFF || - ulidDec[str[9]] == 0xFF || - ulidDec[str[10]] == 0xFF || - ulidDec[str[11]] == 0xFF || - ulidDec[str[12]] == 0xFF || - ulidDec[str[13]] == 0xFF || - ulidDec[str[14]] == 0xFF || - ulidDec[str[15]] == 0xFF || - ulidDec[str[16]] == 0xFF || - ulidDec[str[17]] == 0xFF || - ulidDec[str[18]] == 0xFF || - ulidDec[str[19]] == 0xFF || - ulidDec[str[20]] == 0xFF || - ulidDec[str[21]] == 0xFF || - ulidDec[str[22]] == 0xFF || - ulidDec[str[23]] == 0xFF || - ulidDec[str[24]] == 0xFF || - ulidDec[str[25]] == 0xFF { - return false - } - - // Check if the first character in a base32 encoded ULID will overflow. This - // happens because the base32 representation encodes 130 bits, while the - // ULID is only 128 bits. - // - // See https://github.com/oklog/ulid/issues/9 for details. - if str[0] > '7' { - return false - } - return true -} - -// IsCreditCard checks if the string is a credit card. -func IsCreditCard(str string) bool { - sanitized := whiteSpacesAndMinus.ReplaceAllString(str, "") - if !rxCreditCard.MatchString(sanitized) { - return false - } - - number, _ := ToInt(sanitized) - number, lastDigit := number / 10, number % 10 - - var sum int64 - for i:=0; number > 0; i++ { - digit := number % 10 - - if i % 2 == 0 { - digit *= 2 - if digit > 9 { - digit -= 9 - } - } - - sum += digit - number = number / 10 - } - - return (sum + lastDigit) % 10 == 0 -} - -// IsISBN10 checks if the string is an ISBN version 10. -func IsISBN10(str string) bool { - return IsISBN(str, 10) -} - -// IsISBN13 checks if the string is an ISBN version 13. -func IsISBN13(str string) bool { - return IsISBN(str, 13) -} - -// IsISBN checks if the string is an ISBN (version 10 or 13). -// If version value is not equal to 10 or 13, it will be checks both variants. -func IsISBN(str string, version int) bool { - sanitized := whiteSpacesAndMinus.ReplaceAllString(str, "") - var checksum int32 - var i int32 - if version == 10 { - if !rxISBN10.MatchString(sanitized) { - return false - } - for i = 0; i < 9; i++ { - checksum += (i + 1) * int32(sanitized[i]-'0') - } - if sanitized[9] == 'X' { - checksum += 10 * 10 - } else { - checksum += 10 * int32(sanitized[9]-'0') - } - if checksum%11 == 0 { - return true - } - return false - } else if version == 13 { - if !rxISBN13.MatchString(sanitized) { - return false - } - factor := []int32{1, 3} - for i = 0; i < 12; i++ { - checksum += factor[i%2] * int32(sanitized[i]-'0') - } - return (int32(sanitized[12]-'0'))-((10-(checksum%10))%10) == 0 - } - return IsISBN(str, 10) || IsISBN(str, 13) -} - -// IsJSON checks if the string is valid JSON (note: uses json.Unmarshal). -func IsJSON(str string) bool { - var js json.RawMessage - return json.Unmarshal([]byte(str), &js) == nil -} - -// IsMultibyte checks if the string contains one or more multibyte chars. Empty string is valid. -func IsMultibyte(str string) bool { - if IsNull(str) { - return true - } - return rxMultibyte.MatchString(str) -} - -// IsASCII checks if the string contains ASCII chars only. Empty string is valid. -func IsASCII(str string) bool { - if IsNull(str) { - return true - } - return rxASCII.MatchString(str) -} - -// IsPrintableASCII checks if the string contains printable ASCII chars only. Empty string is valid. -func IsPrintableASCII(str string) bool { - if IsNull(str) { - return true - } - return rxPrintableASCII.MatchString(str) -} - -// IsFullWidth checks if the string contains any full-width chars. Empty string is valid. -func IsFullWidth(str string) bool { - if IsNull(str) { - return true - } - return rxFullWidth.MatchString(str) -} - -// IsHalfWidth checks if the string contains any half-width chars. Empty string is valid. -func IsHalfWidth(str string) bool { - if IsNull(str) { - return true - } - return rxHalfWidth.MatchString(str) -} - -// IsVariableWidth checks if the string contains a mixture of full and half-width chars. Empty string is valid. -func IsVariableWidth(str string) bool { - if IsNull(str) { - return true - } - return rxHalfWidth.MatchString(str) && rxFullWidth.MatchString(str) -} - -// IsBase64 checks if a string is base64 encoded. -func IsBase64(str string) bool { - return rxBase64.MatchString(str) -} - -// IsFilePath checks is a string is Win or Unix file path and returns it's type. -func IsFilePath(str string) (bool, int) { - if rxWinPath.MatchString(str) { - //check windows path limit see: - // http://msdn.microsoft.com/en-us/library/aa365247(VS.85).aspx#maxpath - if len(str[3:]) > 32767 { - return false, Win - } - return true, Win - } else if rxUnixPath.MatchString(str) { - return true, Unix - } - return false, Unknown -} - -//IsWinFilePath checks both relative & absolute paths in Windows -func IsWinFilePath(str string) bool { - if rxARWinPath.MatchString(str) { - //check windows path limit see: - // http://msdn.microsoft.com/en-us/library/aa365247(VS.85).aspx#maxpath - if len(str[3:]) > 32767 { - return false - } - return true - } - return false -} - -//IsUnixFilePath checks both relative & absolute paths in Unix -func IsUnixFilePath(str string) bool { - if rxARUnixPath.MatchString(str) { - return true - } - return false -} - -// IsDataURI checks if a string is base64 encoded data URI such as an image -func IsDataURI(str string) bool { - dataURI := strings.Split(str, ",") - if !rxDataURI.MatchString(dataURI[0]) { - return false - } - return IsBase64(dataURI[1]) -} - -// IsMagnetURI checks if a string is valid magnet URI -func IsMagnetURI(str string) bool { - return rxMagnetURI.MatchString(str) -} - -// IsISO3166Alpha2 checks if a string is valid two-letter country code -func IsISO3166Alpha2(str string) bool { - for _, entry := range ISO3166List { - if str == entry.Alpha2Code { - return true - } - } - return false -} - -// IsISO3166Alpha3 checks if a string is valid three-letter country code -func IsISO3166Alpha3(str string) bool { - for _, entry := range ISO3166List { - if str == entry.Alpha3Code { - return true - } - } - return false -} - -// IsISO693Alpha2 checks if a string is valid two-letter language code -func IsISO693Alpha2(str string) bool { - for _, entry := range ISO693List { - if str == entry.Alpha2Code { - return true - } - } - return false -} - -// IsISO693Alpha3b checks if a string is valid three-letter language code -func IsISO693Alpha3b(str string) bool { - for _, entry := range ISO693List { - if str == entry.Alpha3bCode { - return true - } - } - return false -} - -// IsDNSName will validate the given string as a DNS name -func IsDNSName(str string) bool { - if str == "" || len(strings.Replace(str, ".", "", -1)) > 255 { - // constraints already violated - return false - } - return !IsIP(str) && rxDNSName.MatchString(str) -} - -// IsHash checks if a string is a hash of type algorithm. -// Algorithm is one of ['md4', 'md5', 'sha1', 'sha256', 'sha384', 'sha512', 'ripemd128', 'ripemd160', 'tiger128', 'tiger160', 'tiger192', 'crc32', 'crc32b'] -func IsHash(str string, algorithm string) bool { - var len string - algo := strings.ToLower(algorithm) - - if algo == "crc32" || algo == "crc32b" { - len = "8" - } else if algo == "md5" || algo == "md4" || algo == "ripemd128" || algo == "tiger128" { - len = "32" - } else if algo == "sha1" || algo == "ripemd160" || algo == "tiger160" { - len = "40" - } else if algo == "tiger192" { - len = "48" - } else if algo == "sha3-224" { - len = "56" - } else if algo == "sha256" || algo == "sha3-256" { - len = "64" - } else if algo == "sha384" || algo == "sha3-384" { - len = "96" - } else if algo == "sha512" || algo == "sha3-512" { - len = "128" - } else { - return false - } - - return Matches(str, "^[a-f0-9]{"+len+"}$") -} - -// IsSHA3224 checks is a string is a SHA3-224 hash. Alias for `IsHash(str, "sha3-224")` -func IsSHA3224(str string) bool { - return IsHash(str, "sha3-224") -} - -// IsSHA3256 checks is a string is a SHA3-256 hash. Alias for `IsHash(str, "sha3-256")` -func IsSHA3256(str string) bool { - return IsHash(str, "sha3-256") -} - -// IsSHA3384 checks is a string is a SHA3-384 hash. Alias for `IsHash(str, "sha3-384")` -func IsSHA3384(str string) bool { - return IsHash(str, "sha3-384") -} - -// IsSHA3512 checks is a string is a SHA3-512 hash. Alias for `IsHash(str, "sha3-512")` -func IsSHA3512(str string) bool { - return IsHash(str, "sha3-512") -} - -// IsSHA512 checks is a string is a SHA512 hash. Alias for `IsHash(str, "sha512")` -func IsSHA512(str string) bool { - return IsHash(str, "sha512") -} - -// IsSHA384 checks is a string is a SHA384 hash. Alias for `IsHash(str, "sha384")` -func IsSHA384(str string) bool { - return IsHash(str, "sha384") -} - -// IsSHA256 checks is a string is a SHA256 hash. Alias for `IsHash(str, "sha256")` -func IsSHA256(str string) bool { - return IsHash(str, "sha256") -} - -// IsTiger192 checks is a string is a Tiger192 hash. Alias for `IsHash(str, "tiger192")` -func IsTiger192(str string) bool { - return IsHash(str, "tiger192") -} - -// IsTiger160 checks is a string is a Tiger160 hash. Alias for `IsHash(str, "tiger160")` -func IsTiger160(str string) bool { - return IsHash(str, "tiger160") -} - -// IsRipeMD160 checks is a string is a RipeMD160 hash. Alias for `IsHash(str, "ripemd160")` -func IsRipeMD160(str string) bool { - return IsHash(str, "ripemd160") -} - -// IsSHA1 checks is a string is a SHA-1 hash. Alias for `IsHash(str, "sha1")` -func IsSHA1(str string) bool { - return IsHash(str, "sha1") -} - -// IsTiger128 checks is a string is a Tiger128 hash. Alias for `IsHash(str, "tiger128")` -func IsTiger128(str string) bool { - return IsHash(str, "tiger128") -} - -// IsRipeMD128 checks is a string is a RipeMD128 hash. Alias for `IsHash(str, "ripemd128")` -func IsRipeMD128(str string) bool { - return IsHash(str, "ripemd128") -} - -// IsCRC32 checks is a string is a CRC32 hash. Alias for `IsHash(str, "crc32")` -func IsCRC32(str string) bool { - return IsHash(str, "crc32") -} - -// IsCRC32b checks is a string is a CRC32b hash. Alias for `IsHash(str, "crc32b")` -func IsCRC32b(str string) bool { - return IsHash(str, "crc32b") -} - -// IsMD5 checks is a string is a MD5 hash. Alias for `IsHash(str, "md5")` -func IsMD5(str string) bool { - return IsHash(str, "md5") -} - -// IsMD4 checks is a string is a MD4 hash. Alias for `IsHash(str, "md4")` -func IsMD4(str string) bool { - return IsHash(str, "md4") -} - -// IsDialString validates the given string for usage with the various Dial() functions -func IsDialString(str string) bool { - if h, p, err := net.SplitHostPort(str); err == nil && h != "" && p != "" && (IsDNSName(h) || IsIP(h)) && IsPort(p) { - return true - } - - return false -} - -// IsIP checks if a string is either IP version 4 or 6. Alias for `net.ParseIP` -func IsIP(str string) bool { - return net.ParseIP(str) != nil -} - -// IsPort checks if a string represents a valid port -func IsPort(str string) bool { - if i, err := strconv.Atoi(str); err == nil && i > 0 && i < 65536 { - return true - } - return false -} - -// IsIPv4 checks if the string is an IP version 4. -func IsIPv4(str string) bool { - ip := net.ParseIP(str) - return ip != nil && strings.Contains(str, ".") -} - -// IsIPv6 checks if the string is an IP version 6. -func IsIPv6(str string) bool { - ip := net.ParseIP(str) - return ip != nil && strings.Contains(str, ":") -} - -// IsCIDR checks if the string is an valid CIDR notiation (IPV4 & IPV6) -func IsCIDR(str string) bool { - _, _, err := net.ParseCIDR(str) - return err == nil -} - -// IsMAC checks if a string is valid MAC address. -// Possible MAC formats: -// 01:23:45:67:89:ab -// 01:23:45:67:89:ab:cd:ef -// 01-23-45-67-89-ab -// 01-23-45-67-89-ab-cd-ef -// 0123.4567.89ab -// 0123.4567.89ab.cdef -func IsMAC(str string) bool { - _, err := net.ParseMAC(str) - return err == nil -} - -// IsHost checks if the string is a valid IP (both v4 and v6) or a valid DNS name -func IsHost(str string) bool { - return IsIP(str) || IsDNSName(str) -} - -// IsMongoID checks if the string is a valid hex-encoded representation of a MongoDB ObjectId. -func IsMongoID(str string) bool { - return rxHexadecimal.MatchString(str) && (len(str) == 24) -} - -// IsLatitude checks if a string is valid latitude. -func IsLatitude(str string) bool { - return rxLatitude.MatchString(str) -} - -// IsLongitude checks if a string is valid longitude. -func IsLongitude(str string) bool { - return rxLongitude.MatchString(str) -} - -// IsIMEI checks if a string is valid IMEI -func IsIMEI(str string) bool { - return rxIMEI.MatchString(str) -} - -// IsIMSI checks if a string is valid IMSI -func IsIMSI(str string) bool { - if !rxIMSI.MatchString(str) { - return false - } - - mcc, err := strconv.ParseInt(str[0:3], 10, 32) - if err != nil { - return false - } - - switch mcc { - case 202, 204, 206, 208, 212, 213, 214, 216, 218, 219: - case 220, 221, 222, 226, 228, 230, 231, 232, 234, 235: - case 238, 240, 242, 244, 246, 247, 248, 250, 255, 257: - case 259, 260, 262, 266, 268, 270, 272, 274, 276, 278: - case 280, 282, 283, 284, 286, 288, 289, 290, 292, 293: - case 294, 295, 297, 302, 308, 310, 311, 312, 313, 314: - case 315, 316, 330, 332, 334, 338, 340, 342, 344, 346: - case 348, 350, 352, 354, 356, 358, 360, 362, 363, 364: - case 365, 366, 368, 370, 372, 374, 376, 400, 401, 402: - case 404, 405, 406, 410, 412, 413, 414, 415, 416, 417: - case 418, 419, 420, 421, 422, 424, 425, 426, 427, 428: - case 429, 430, 431, 432, 434, 436, 437, 438, 440, 441: - case 450, 452, 454, 455, 456, 457, 460, 461, 466, 467: - case 470, 472, 502, 505, 510, 514, 515, 520, 525, 528: - case 530, 536, 537, 539, 540, 541, 542, 543, 544, 545: - case 546, 547, 548, 549, 550, 551, 552, 553, 554, 555: - case 602, 603, 604, 605, 606, 607, 608, 609, 610, 611: - case 612, 613, 614, 615, 616, 617, 618, 619, 620, 621: - case 622, 623, 624, 625, 626, 627, 628, 629, 630, 631: - case 632, 633, 634, 635, 636, 637, 638, 639, 640, 641: - case 642, 643, 645, 646, 647, 648, 649, 650, 651, 652: - case 653, 654, 655, 657, 658, 659, 702, 704, 706, 708: - case 710, 712, 714, 716, 722, 724, 730, 732, 734, 736: - case 738, 740, 742, 744, 746, 748, 750, 995: - return true - default: - return false - } - return true -} - -// IsRsaPublicKey checks if a string is valid public key with provided length -func IsRsaPublicKey(str string, keylen int) bool { - bb := bytes.NewBufferString(str) - pemBytes, err := ioutil.ReadAll(bb) - if err != nil { - return false - } - block, _ := pem.Decode(pemBytes) - if block != nil && block.Type != "PUBLIC KEY" { - return false - } - var der []byte - - if block != nil { - der = block.Bytes - } else { - der, err = base64.StdEncoding.DecodeString(str) - if err != nil { - return false - } - } - - key, err := x509.ParsePKIXPublicKey(der) - if err != nil { - return false - } - pubkey, ok := key.(*rsa.PublicKey) - if !ok { - return false - } - bitlen := len(pubkey.N.Bytes()) * 8 - return bitlen == int(keylen) -} - -// IsRegex checks if a give string is a valid regex with RE2 syntax or not -func IsRegex(str string) bool { - if _, err := regexp.Compile(str); err == nil { - return true - } - return false -} - -func toJSONName(tag string) string { - if tag == "" { - return "" - } - - // JSON name always comes first. If there's no options then split[0] is - // JSON name, if JSON name is not set, then split[0] is an empty string. - split := strings.SplitN(tag, ",", 2) - - name := split[0] - - // However it is possible that the field is skipped when - // (de-)serializing from/to JSON, in which case assume that there is no - // tag name to use - if name == "-" { - return "" - } - return name -} - -func prependPathToErrors(err error, path string) error { - switch err2 := err.(type) { - case Error: - err2.Path = append([]string{path}, err2.Path...) - return err2 - case Errors: - errors := err2.Errors() - for i, err3 := range errors { - errors[i] = prependPathToErrors(err3, path) - } - return err2 - } - return err -} - -// ValidateArray performs validation according to condition iterator that validates every element of the array -func ValidateArray(array []interface{}, iterator ConditionIterator) bool { - return Every(array, iterator) -} - -// ValidateMap use validation map for fields. -// result will be equal to `false` if there are any errors. -// s is the map containing the data to be validated. -// m is the validation map in the form: -// map[string]interface{}{"name":"required,alpha","address":map[string]interface{}{"line1":"required,alphanum"}} -func ValidateMap(s map[string]interface{}, m map[string]interface{}) (bool, error) { - if s == nil { - return true, nil - } - result := true - var err error - var errs Errors - var index int - val := reflect.ValueOf(s) - for key, value := range s { - presentResult := true - validator, ok := m[key] - if !ok { - presentResult = false - var err error - err = fmt.Errorf("all map keys has to be present in the validation map; got %s", key) - err = prependPathToErrors(err, key) - errs = append(errs, err) - } - valueField := reflect.ValueOf(value) - mapResult := true - typeResult := true - structResult := true - resultField := true - switch subValidator := validator.(type) { - case map[string]interface{}: - var err error - if v, ok := value.(map[string]interface{}); !ok { - mapResult = false - err = fmt.Errorf("map validator has to be for the map type only; got %s", valueField.Type().String()) - err = prependPathToErrors(err, key) - errs = append(errs, err) - } else { - mapResult, err = ValidateMap(v, subValidator) - if err != nil { - mapResult = false - err = prependPathToErrors(err, key) - errs = append(errs, err) - } - } - case string: - if (valueField.Kind() == reflect.Struct || - (valueField.Kind() == reflect.Ptr && valueField.Elem().Kind() == reflect.Struct)) && - subValidator != "-" { - var err error - structResult, err = ValidateStruct(valueField.Interface()) - if err != nil { - err = prependPathToErrors(err, key) - errs = append(errs, err) - } - } - resultField, err = typeCheck(valueField, reflect.StructField{ - Name: key, - PkgPath: "", - Type: val.Type(), - Tag: reflect.StructTag(fmt.Sprintf("%s:%q", tagName, subValidator)), - Offset: 0, - Index: []int{index}, - Anonymous: false, - }, val, nil) - if err != nil { - errs = append(errs, err) - } - case nil: - // already handlerd when checked before - default: - typeResult = false - err = fmt.Errorf("map validator has to be either map[string]interface{} or string; got %s", valueField.Type().String()) - err = prependPathToErrors(err, key) - errs = append(errs, err) - } - result = result && presentResult && typeResult && resultField && structResult && mapResult - index++ - } - // checks required keys - requiredResult := true - for key, value := range m { - if schema, ok := value.(string); ok { - tags := parseTagIntoMap(schema) - if required, ok := tags["required"]; ok { - if _, ok := s[key]; !ok { - requiredResult = false - if required.customErrorMessage != "" { - err = Error{key, fmt.Errorf(required.customErrorMessage), true, "required", []string{}} - } else { - err = Error{key, fmt.Errorf("required field missing"), false, "required", []string{}} - } - errs = append(errs, err) - } - } - } - } - - if len(errs) > 0 { - err = errs - } - return result && requiredResult, err -} - -// ValidateStruct use tags for fields. -// result will be equal to `false` if there are any errors. -// todo currently there is no guarantee that errors will be returned in predictable order (tests may to fail) -func ValidateStruct(s interface{}) (bool, error) { - if s == nil { - return true, nil - } - result := true - var err error - val := reflect.ValueOf(s) - if val.Kind() == reflect.Interface || val.Kind() == reflect.Ptr { - val = val.Elem() - } - // we only accept structs - if val.Kind() != reflect.Struct { - return false, fmt.Errorf("function only accepts structs; got %s", val.Kind()) - } - var errs Errors - for i := 0; i < val.NumField(); i++ { - valueField := val.Field(i) - typeField := val.Type().Field(i) - if typeField.PkgPath != "" { - continue // Private field - } - structResult := true - if valueField.Kind() == reflect.Interface { - valueField = valueField.Elem() - } - if (valueField.Kind() == reflect.Struct || - (valueField.Kind() == reflect.Ptr && valueField.Elem().Kind() == reflect.Struct)) && - typeField.Tag.Get(tagName) != "-" { - var err error - structResult, err = ValidateStruct(valueField.Interface()) - if err != nil { - err = prependPathToErrors(err, typeField.Name) - errs = append(errs, err) - } - } - resultField, err2 := typeCheck(valueField, typeField, val, nil) - if err2 != nil { - - // Replace structure name with JSON name if there is a tag on the variable - jsonTag := toJSONName(typeField.Tag.Get("json")) - if jsonTag != "" { - switch jsonError := err2.(type) { - case Error: - jsonError.Name = jsonTag - err2 = jsonError - case Errors: - for i2, err3 := range jsonError { - switch customErr := err3.(type) { - case Error: - customErr.Name = jsonTag - jsonError[i2] = customErr - } - } - - err2 = jsonError - } - } - - errs = append(errs, err2) - } - result = result && resultField && structResult - } - if len(errs) > 0 { - err = errs - } - return result, err -} - -// ValidateStructAsync performs async validation of the struct and returns results through the channels -func ValidateStructAsync(s interface{}) (<-chan bool, <-chan error) { - res := make(chan bool) - errors := make(chan error) - - go func() { - defer close(res) - defer close(errors) - - isValid, isFailed := ValidateStruct(s) - - res <- isValid - errors <- isFailed - }() - - return res, errors -} - -// ValidateMapAsync performs async validation of the map and returns results through the channels -func ValidateMapAsync(s map[string]interface{}, m map[string]interface{}) (<-chan bool, <-chan error) { - res := make(chan bool) - errors := make(chan error) - - go func() { - defer close(res) - defer close(errors) - - isValid, isFailed := ValidateMap(s, m) - - res <- isValid - errors <- isFailed - }() - - return res, errors -} - -// parseTagIntoMap parses a struct tag `valid:required~Some error message,length(2|3)` into map[string]string{"required": "Some error message", "length(2|3)": ""} -func parseTagIntoMap(tag string) tagOptionsMap { - optionsMap := make(tagOptionsMap) - options := strings.Split(tag, ",") - - for i, option := range options { - option = strings.TrimSpace(option) - - validationOptions := strings.Split(option, "~") - if !isValidTag(validationOptions[0]) { - continue - } - if len(validationOptions) == 2 { - optionsMap[validationOptions[0]] = tagOption{validationOptions[0], validationOptions[1], i} - } else { - optionsMap[validationOptions[0]] = tagOption{validationOptions[0], "", i} - } - } - return optionsMap -} - -func isValidTag(s string) bool { - if s == "" { - return false - } - for _, c := range s { - switch { - case strings.ContainsRune("\\'\"!#$%&()*+-./:<=>?@[]^_{|}~ ", c): - // Backslash and quote chars are reserved, but - // otherwise any punctuation chars are allowed - // in a tag name. - default: - if !unicode.IsLetter(c) && !unicode.IsDigit(c) { - return false - } - } - } - return true -} - -// IsSSN will validate the given string as a U.S. Social Security Number -func IsSSN(str string) bool { - if str == "" || len(str) != 11 { - return false - } - return rxSSN.MatchString(str) -} - -// IsSemver checks if string is valid semantic version -func IsSemver(str string) bool { - return rxSemver.MatchString(str) -} - -// IsType checks if interface is of some type -func IsType(v interface{}, params ...string) bool { - if len(params) == 1 { - typ := params[0] - return strings.Replace(reflect.TypeOf(v).String(), " ", "", -1) == strings.Replace(typ, " ", "", -1) - } - return false -} - -// IsTime checks if string is valid according to given format -func IsTime(str string, format string) bool { - _, err := time.Parse(format, str) - return err == nil -} - -// IsUnixTime checks if string is valid unix timestamp value -func IsUnixTime(str string) bool { - if _, err := strconv.Atoi(str); err == nil { - return true - } - return false -} - -// IsRFC3339 checks if string is valid timestamp value according to RFC3339 -func IsRFC3339(str string) bool { - return IsTime(str, time.RFC3339) -} - -// IsRFC3339WithoutZone checks if string is valid timestamp value according to RFC3339 which excludes the timezone. -func IsRFC3339WithoutZone(str string) bool { - return IsTime(str, rfc3339WithoutZone) -} - -// IsISO4217 checks if string is valid ISO currency code -func IsISO4217(str string) bool { - for _, currency := range ISO4217List { - if str == currency { - return true - } - } - - return false -} - -// ByteLength checks string's length -func ByteLength(str string, params ...string) bool { - if len(params) == 2 { - min, _ := ToInt(params[0]) - max, _ := ToInt(params[1]) - return len(str) >= int(min) && len(str) <= int(max) - } - - return false -} - -// RuneLength checks string's length -// Alias for StringLength -func RuneLength(str string, params ...string) bool { - return StringLength(str, params...) -} - -// IsRsaPub checks whether string is valid RSA key -// Alias for IsRsaPublicKey -func IsRsaPub(str string, params ...string) bool { - if len(params) == 1 { - len, _ := ToInt(params[0]) - return IsRsaPublicKey(str, int(len)) - } - - return false -} - -// StringMatches checks if a string matches a given pattern. -func StringMatches(s string, params ...string) bool { - if len(params) == 1 { - pattern := params[0] - return Matches(s, pattern) - } - return false -} - -// StringLength checks string's length (including multi byte strings) -func StringLength(str string, params ...string) bool { - - if len(params) == 2 { - strLength := utf8.RuneCountInString(str) - min, _ := ToInt(params[0]) - max, _ := ToInt(params[1]) - return strLength >= int(min) && strLength <= int(max) - } - - return false -} - -// MinStringLength checks string's minimum length (including multi byte strings) -func MinStringLength(str string, params ...string) bool { - - if len(params) == 1 { - strLength := utf8.RuneCountInString(str) - min, _ := ToInt(params[0]) - return strLength >= int(min) - } - - return false -} - -// MaxStringLength checks string's maximum length (including multi byte strings) -func MaxStringLength(str string, params ...string) bool { - - if len(params) == 1 { - strLength := utf8.RuneCountInString(str) - max, _ := ToInt(params[0]) - return strLength <= int(max) - } - - return false -} - -// Range checks string's length -func Range(str string, params ...string) bool { - if len(params) == 2 { - value, _ := ToFloat(str) - min, _ := ToFloat(params[0]) - max, _ := ToFloat(params[1]) - return InRange(value, min, max) - } - - return false -} - -// IsInRaw checks if string is in list of allowed values -func IsInRaw(str string, params ...string) bool { - if len(params) == 1 { - rawParams := params[0] - - parsedParams := strings.Split(rawParams, "|") - - return IsIn(str, parsedParams...) - } - - return false -} - -// IsIn checks if string str is a member of the set of strings params -func IsIn(str string, params ...string) bool { - for _, param := range params { - if str == param { - return true - } - } - - return false -} - -func checkRequired(v reflect.Value, t reflect.StructField, options tagOptionsMap) (bool, error) { - if nilPtrAllowedByRequired { - k := v.Kind() - if (k == reflect.Ptr || k == reflect.Interface) && v.IsNil() { - return true, nil - } - } - - if requiredOption, isRequired := options["required"]; isRequired { - if len(requiredOption.customErrorMessage) > 0 { - return false, Error{t.Name, fmt.Errorf(requiredOption.customErrorMessage), true, "required", []string{}} - } - return false, Error{t.Name, fmt.Errorf("non zero value required"), false, "required", []string{}} - } else if _, isOptional := options["optional"]; fieldsRequiredByDefault && !isOptional { - return false, Error{t.Name, fmt.Errorf("Missing required field"), false, "required", []string{}} - } - // not required and empty is valid - return true, nil -} - -func typeCheck(v reflect.Value, t reflect.StructField, o reflect.Value, options tagOptionsMap) (isValid bool, resultErr error) { - if !v.IsValid() { - return false, nil - } - - tag := t.Tag.Get(tagName) - - // checks if the field should be ignored - switch tag { - case "": - if v.Kind() != reflect.Slice && v.Kind() != reflect.Map { - if !fieldsRequiredByDefault { - return true, nil - } - return false, Error{t.Name, fmt.Errorf("All fields are required to at least have one validation defined"), false, "required", []string{}} - } - case "-": - return true, nil - } - - isRootType := false - if options == nil { - isRootType = true - options = parseTagIntoMap(tag) - } - - if isEmptyValue(v) { - // an empty value is not validated, checks only required - isValid, resultErr = checkRequired(v, t, options) - for key := range options { - delete(options, key) - } - return isValid, resultErr - } - - var customTypeErrors Errors - optionsOrder := options.orderedKeys() - for _, validatorName := range optionsOrder { - validatorStruct := options[validatorName] - if validatefunc, ok := CustomTypeTagMap.Get(validatorName); ok { - delete(options, validatorName) - - if result := validatefunc(v.Interface(), o.Interface()); !result { - if len(validatorStruct.customErrorMessage) > 0 { - customTypeErrors = append(customTypeErrors, Error{Name: t.Name, Err: TruncatingErrorf(validatorStruct.customErrorMessage, fmt.Sprint(v), validatorName), CustomErrorMessageExists: true, Validator: stripParams(validatorName)}) - continue - } - customTypeErrors = append(customTypeErrors, Error{Name: t.Name, Err: fmt.Errorf("%s does not validate as %s", fmt.Sprint(v), validatorName), CustomErrorMessageExists: false, Validator: stripParams(validatorName)}) - } - } - } - - if len(customTypeErrors.Errors()) > 0 { - return false, customTypeErrors - } - - if isRootType { - // Ensure that we've checked the value by all specified validators before report that the value is valid - defer func() { - delete(options, "optional") - delete(options, "required") - - if isValid && resultErr == nil && len(options) != 0 { - optionsOrder := options.orderedKeys() - for _, validator := range optionsOrder { - isValid = false - resultErr = Error{t.Name, fmt.Errorf( - "The following validator is invalid or can't be applied to the field: %q", validator), false, stripParams(validator), []string{}} - return - } - } - }() - } - - for _, validatorSpec := range optionsOrder { - validatorStruct := options[validatorSpec] - var negate bool - validator := validatorSpec - customMsgExists := len(validatorStruct.customErrorMessage) > 0 - - // checks whether the tag looks like '!something' or 'something' - if validator[0] == '!' { - validator = validator[1:] - negate = true - } - - // checks for interface param validators - for key, value := range InterfaceParamTagRegexMap { - ps := value.FindStringSubmatch(validator) - if len(ps) == 0 { - continue - } - - validatefunc, ok := InterfaceParamTagMap[key] - if !ok { - continue - } - - delete(options, validatorSpec) - - field := fmt.Sprint(v) - if result := validatefunc(v.Interface(), ps[1:]...); (!result && !negate) || (result && negate) { - if customMsgExists { - return false, Error{t.Name, TruncatingErrorf(validatorStruct.customErrorMessage, field, validator), customMsgExists, stripParams(validatorSpec), []string{}} - } - if negate { - return false, Error{t.Name, fmt.Errorf("%s does validate as %s", field, validator), customMsgExists, stripParams(validatorSpec), []string{}} - } - return false, Error{t.Name, fmt.Errorf("%s does not validate as %s", field, validator), customMsgExists, stripParams(validatorSpec), []string{}} - } - } - } - - switch v.Kind() { - case reflect.Bool, - reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, - reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr, - reflect.Float32, reflect.Float64, - reflect.String: - // for each tag option checks the map of validator functions - for _, validatorSpec := range optionsOrder { - validatorStruct := options[validatorSpec] - var negate bool - validator := validatorSpec - customMsgExists := len(validatorStruct.customErrorMessage) > 0 - - // checks whether the tag looks like '!something' or 'something' - if validator[0] == '!' { - validator = validator[1:] - negate = true - } - - // checks for param validators - for key, value := range ParamTagRegexMap { - ps := value.FindStringSubmatch(validator) - if len(ps) == 0 { - continue - } - - validatefunc, ok := ParamTagMap[key] - if !ok { - continue - } - - delete(options, validatorSpec) - - switch v.Kind() { - case reflect.String, - reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, - reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, - reflect.Float32, reflect.Float64: - - field := fmt.Sprint(v) // make value into string, then validate with regex - if result := validatefunc(field, ps[1:]...); (!result && !negate) || (result && negate) { - if customMsgExists { - return false, Error{t.Name, TruncatingErrorf(validatorStruct.customErrorMessage, field, validator), customMsgExists, stripParams(validatorSpec), []string{}} - } - if negate { - return false, Error{t.Name, fmt.Errorf("%s does validate as %s", field, validator), customMsgExists, stripParams(validatorSpec), []string{}} - } - return false, Error{t.Name, fmt.Errorf("%s does not validate as %s", field, validator), customMsgExists, stripParams(validatorSpec), []string{}} - } - default: - // type not yet supported, fail - return false, Error{t.Name, fmt.Errorf("Validator %s doesn't support kind %s", validator, v.Kind()), false, stripParams(validatorSpec), []string{}} - } - } - - if validatefunc, ok := TagMap[validator]; ok { - delete(options, validatorSpec) - - switch v.Kind() { - case reflect.String, - reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, - reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, - reflect.Float32, reflect.Float64: - field := fmt.Sprint(v) // make value into string, then validate with regex - if result := validatefunc(field); !result && !negate || result && negate { - if customMsgExists { - return false, Error{t.Name, TruncatingErrorf(validatorStruct.customErrorMessage, field, validator), customMsgExists, stripParams(validatorSpec), []string{}} - } - if negate { - return false, Error{t.Name, fmt.Errorf("%s does validate as %s", field, validator), customMsgExists, stripParams(validatorSpec), []string{}} - } - return false, Error{t.Name, fmt.Errorf("%s does not validate as %s", field, validator), customMsgExists, stripParams(validatorSpec), []string{}} - } - default: - //Not Yet Supported Types (Fail here!) - err := fmt.Errorf("Validator %s doesn't support kind %s for value %v", validator, v.Kind(), v) - return false, Error{t.Name, err, false, stripParams(validatorSpec), []string{}} - } - } - } - return true, nil - case reflect.Map: - if v.Type().Key().Kind() != reflect.String { - return false, &UnsupportedTypeError{v.Type()} - } - var sv stringValues - sv = v.MapKeys() - sort.Sort(sv) - result := true - for i, k := range sv { - var resultItem bool - var err error - if v.MapIndex(k).Kind() != reflect.Struct { - resultItem, err = typeCheck(v.MapIndex(k), t, o, options) - if err != nil { - return false, err - } - } else { - resultItem, err = ValidateStruct(v.MapIndex(k).Interface()) - if err != nil { - err = prependPathToErrors(err, t.Name+"."+sv[i].Interface().(string)) - return false, err - } - } - result = result && resultItem - } - return result, nil - case reflect.Slice, reflect.Array: - result := true - for i := 0; i < v.Len(); i++ { - var resultItem bool - var err error - if v.Index(i).Kind() != reflect.Struct { - resultItem, err = typeCheck(v.Index(i), t, o, options) - if err != nil { - return false, err - } - } else { - resultItem, err = ValidateStruct(v.Index(i).Interface()) - if err != nil { - err = prependPathToErrors(err, t.Name+"."+strconv.Itoa(i)) - return false, err - } - } - result = result && resultItem - } - return result, nil - case reflect.Interface: - // If the value is an interface then encode its element - if v.IsNil() { - return true, nil - } - return ValidateStruct(v.Interface()) - case reflect.Ptr: - // If the value is a pointer then checks its element - if v.IsNil() { - return true, nil - } - return typeCheck(v.Elem(), t, o, options) - case reflect.Struct: - return true, nil - default: - return false, &UnsupportedTypeError{v.Type()} - } -} - -func stripParams(validatorString string) string { - return paramsRegexp.ReplaceAllString(validatorString, "") -} - -// isEmptyValue checks whether value empty or not -func isEmptyValue(v reflect.Value) bool { - switch v.Kind() { - case reflect.String, reflect.Array: - return v.Len() == 0 - case reflect.Map, reflect.Slice: - return v.Len() == 0 || v.IsNil() - case reflect.Bool: - return !v.Bool() - case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: - return v.Int() == 0 - case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr: - return v.Uint() == 0 - case reflect.Float32, reflect.Float64: - return v.Float() == 0 - case reflect.Interface, reflect.Ptr: - return v.IsNil() - } - - return reflect.DeepEqual(v.Interface(), reflect.Zero(v.Type()).Interface()) -} - -// ErrorByField returns error for specified field of the struct -// validated by ValidateStruct or empty string if there are no errors -// or this field doesn't exists or doesn't have any errors. -func ErrorByField(e error, field string) string { - if e == nil { - return "" - } - return ErrorsByField(e)[field] -} - -// ErrorsByField returns map of errors of the struct validated -// by ValidateStruct or empty map if there are no errors. -func ErrorsByField(e error) map[string]string { - m := make(map[string]string) - if e == nil { - return m - } - // prototype for ValidateStruct - - switch e := e.(type) { - case Error: - m[e.Name] = e.Err.Error() - case Errors: - for _, item := range e.Errors() { - n := ErrorsByField(item) - for k, v := range n { - m[k] = v - } - } - } - - return m -} - -// Error returns string equivalent for reflect.Type -func (e *UnsupportedTypeError) Error() string { - return "validator: unsupported type: " + e.Type.String() -} - -func (sv stringValues) Len() int { return len(sv) } -func (sv stringValues) Swap(i, j int) { sv[i], sv[j] = sv[j], sv[i] } -func (sv stringValues) Less(i, j int) bool { return sv.get(i) < sv.get(j) } -func (sv stringValues) get(i int) string { return sv[i].String() } - -func IsE164(str string) bool { - return rxE164.MatchString(str) -} diff --git a/vendor/github.com/asaskevich/govalidator/wercker.yml b/vendor/github.com/asaskevich/govalidator/wercker.yml deleted file mode 100644 index bc5f7b0864..0000000000 --- a/vendor/github.com/asaskevich/govalidator/wercker.yml +++ /dev/null @@ -1,15 +0,0 @@ -box: golang -build: - steps: - - setup-go-workspace - - - script: - name: go get - code: | - go version - go get -t ./... - - - script: - name: go test - code: | - go test -race -v ./... diff --git a/vendor/github.com/aws/aws-sdk-go-v2/aws/credentials.go b/vendor/github.com/aws/aws-sdk-go-v2/aws/credentials.go index 4ad2ee4405..9f94cfe004 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/aws/credentials.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/aws/credentials.go @@ -118,6 +118,10 @@ const ( CredentialSourceHTTP // CredentialSourceIMDS credentials resolved from the instance metadata service (IMDS) CredentialSourceIMDS + // CredentialSourceProfileLogin credentials resolved from an `aws login` session sourced from a profile + CredentialSourceProfileLogin + // CredentialSourceLogin credentials resolved from an `aws login` session + CredentialSourceLogin ) // A Credentials is the AWS credentials value for individual credential fields. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/aws/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/aws/go_module_metadata.go index b764a3052d..0e6fb65a1e 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/aws/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/aws/go_module_metadata.go @@ -3,4 +3,4 @@ package aws // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.39.3" +const goModuleVersion = "1.41.1" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/aws/middleware/user_agent.go b/vendor/github.com/aws/aws-sdk-go-v2/aws/middleware/user_agent.go index 3314230fd8..157a71505c 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/aws/middleware/user_agent.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/aws/middleware/user_agent.go @@ -137,6 +137,9 @@ const ( UserAgentFeatureCredentialsIMDS = "0" UserAgentFeatureBearerServiceEnvVars = "3" + + UserAgentFeatureCredentialsProfileLogin = "AC" + UserAgentFeatureCredentialsLogin = "AD" ) var credentialSourceToFeature = map[aws.CredentialSource]UserAgentFeature{ @@ -160,6 +163,8 @@ var credentialSourceToFeature = map[aws.CredentialSource]UserAgentFeature{ aws.CredentialSourceProcess: UserAgentFeatureCredentialsProcess, aws.CredentialSourceHTTP: UserAgentFeatureCredentialsHTTP, aws.CredentialSourceIMDS: UserAgentFeatureCredentialsIMDS, + aws.CredentialSourceProfileLogin: UserAgentFeatureCredentialsProfileLogin, + aws.CredentialSourceLogin: UserAgentFeatureCredentialsLogin, } // RequestUserAgent is a build middleware that set the User-Agent for the request. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream/CHANGELOG.md index 50a42b248c..2ccb977142 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.7.4 (2025-12-02) + +* **Dependency Update**: Upgrade to smithy-go v1.24.0. Notably this version of the library reduces the allocation footprint of the middleware system. We observe a ~10% reduction in allocations per SDK call with this change. + +# v1.7.3 (2025-11-04) + +* **Dependency Update**: Upgrade to smithy-go v1.23.2 which should convey some passive reduction of overall allocations, especially when not using the metrics system. + # v1.7.2 (2025-10-16) * **Dependency Update**: Bump minimum Go version to 1.23. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream/go_module_metadata.go index d37513c837..334a73b129 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream/go_module_metadata.go @@ -3,4 +3,4 @@ package eventstream // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.7.2" +const goModuleVersion = "1.7.4" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/aws/transport/http/client.go b/vendor/github.com/aws/aws-sdk-go-v2/aws/transport/http/client.go index 8d7c35a9ec..c7ef0acc4d 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/aws/transport/http/client.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/aws/transport/http/client.go @@ -18,6 +18,7 @@ var ( // Default connection pool options DefaultHTTPTransportMaxIdleConns = 100 DefaultHTTPTransportMaxIdleConnsPerHost = 10 + DefaultHTTPTransportMaxConnsPerHost = 2048 // Default connection timeouts DefaultHTTPTransportIdleConnTimeout = 90 * time.Second @@ -186,6 +187,7 @@ func defaultHTTPTransport() *http.Transport { TLSHandshakeTimeout: DefaultHTTPTransportTLSHandleshakeTimeout, MaxIdleConns: DefaultHTTPTransportMaxIdleConns, MaxIdleConnsPerHost: DefaultHTTPTransportMaxIdleConnsPerHost, + MaxConnsPerHost: DefaultHTTPTransportMaxConnsPerHost, IdleConnTimeout: DefaultHTTPTransportIdleConnTimeout, ExpectContinueTimeout: DefaultHTTPTransportExpectContinueTimeout, ForceAttemptHTTP2: true, diff --git a/vendor/github.com/aws/aws-sdk-go-v2/aws/transport/http/timeout_read_closer.go b/vendor/github.com/aws/aws-sdk-go-v2/aws/transport/http/timeout_read_closer.go index 993929bd9b..4881ae1445 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/aws/transport/http/timeout_read_closer.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/aws/transport/http/timeout_read_closer.go @@ -64,6 +64,11 @@ func (r *timeoutReadCloser) Close() error { // AddResponseReadTimeoutMiddleware adds a middleware to the stack that wraps the // response body so that a read that takes too long will return an error. +// +// Deprecated: This API was previously exposed to customize behavior of the +// Kinesis service. That customization has been removed and this middleware's +// implementation can cause panics within the standard library networking loop. +// See #2752. func AddResponseReadTimeoutMiddleware(stack *middleware.Stack, duration time.Duration) error { return stack.Deserialize.Add(&readTimeout{duration: duration}, middleware.After) } diff --git a/vendor/github.com/aws/aws-sdk-go-v2/config/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/config/CHANGELOG.md index 858038f7a3..9f8511f7eb 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/config/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/config/CHANGELOG.md @@ -1,3 +1,70 @@ +# v1.32.7 (2026-01-09) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.32.6 (2025-12-16) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.32.5 (2025-12-09) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.32.4 (2025-12-08) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.32.3 (2025-12-02) + +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.24.0. Notably this version of the library reduces the allocation footprint of the middleware system. We observe a ~10% reduction in allocations per SDK call with this change. + +# v1.32.2 (2025-11-25) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.32.1 (2025-11-21) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.32.0 (2025-11-19.2) + +* **Feature**: Add support for AWS Login credentials (package credentials/logincreds) to the default credential chain. +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.31.21 (2025-11-19) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.31.20 (2025-11-12) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.31.19 (2025-11-11) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.31.18 (2025-11-10) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.31.17 (2025-11-04) + +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.23.2 which should convey some passive reduction of overall allocations, especially when not using the metrics system. + +# v1.31.16 (2025-10-30) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.31.15 (2025-10-23) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.31.14 (2025-10-22) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.31.13 (2025-10-16) * **Dependency Update**: Bump minimum Go version to 1.23. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/config/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/config/go_module_metadata.go index 0652513d96..79f570a68e 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/config/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/config/go_module_metadata.go @@ -3,4 +3,4 @@ package config // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.31.13" +const goModuleVersion = "1.32.7" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/config/resolve_credentials.go b/vendor/github.com/aws/aws-sdk-go-v2/config/resolve_credentials.go index b00259df03..de83985999 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/config/resolve_credentials.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/config/resolve_credentials.go @@ -13,10 +13,12 @@ import ( "github.com/aws/aws-sdk-go-v2/credentials" "github.com/aws/aws-sdk-go-v2/credentials/ec2rolecreds" "github.com/aws/aws-sdk-go-v2/credentials/endpointcreds" + "github.com/aws/aws-sdk-go-v2/credentials/logincreds" "github.com/aws/aws-sdk-go-v2/credentials/processcreds" "github.com/aws/aws-sdk-go-v2/credentials/ssocreds" "github.com/aws/aws-sdk-go-v2/credentials/stscreds" "github.com/aws/aws-sdk-go-v2/feature/ec2/imds" + "github.com/aws/aws-sdk-go-v2/service/signin" "github.com/aws/aws-sdk-go-v2/service/sso" "github.com/aws/aws-sdk-go-v2/service/ssooidc" "github.com/aws/aws-sdk-go-v2/service/sts" @@ -172,7 +174,10 @@ func resolveCredsFromProfile(ctx context.Context, cfg *aws.Config, envConfig *En ctx = addCredentialSource(ctx, aws.CredentialSourceProfileSSO) } err = resolveSSOCredentials(ctx, cfg, sharedConfig, configs) - + case len(sharedConfig.LoginSession) > 0: + ctx = addCredentialSource(ctx, aws.CredentialSourceProfileLogin) + ctx = addCredentialSource(ctx, aws.CredentialSourceLogin) + err = resolveLoginCredentials(ctx, cfg, sharedConfig, configs) case len(sharedConfig.CredentialProcess) != 0: // Get credentials from CredentialProcess ctx = addCredentialSource(ctx, aws.CredentialSourceProfileProcess) @@ -625,3 +630,21 @@ func addCredentialSource(ctx context.Context, source aws.CredentialSource) conte func getCredentialSources(ctx context.Context) []aws.CredentialSource { return ctx.Value(credentialSource{}).([]aws.CredentialSource) } + +func resolveLoginCredentials(ctx context.Context, cfg *aws.Config, sharedCfg *SharedConfig, configs configs) error { + cacheDir := os.Getenv("AWS_LOGIN_CACHE_DIRECTORY") + tokenPath, err := logincreds.StandardCachedTokenFilepath(sharedCfg.LoginSession, cacheDir) + if err != nil { + return err + } + + svc := signin.NewFromConfig(*cfg) + provider := logincreds.New(svc, tokenPath, func(o *logincreds.Options) { + o.CredentialSources = getCredentialSources(ctx) + }) + cfg.Credentials, err = wrapWithCredentialsCache(ctx, configs, provider) + if err != nil { + return err + } + return nil +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/config/shared_config.go b/vendor/github.com/aws/aws-sdk-go-v2/config/shared_config.go index 97be3f7569..5a0fea2220 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/config/shared_config.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/config/shared_config.go @@ -125,6 +125,8 @@ const ( checksumWhenRequired = "when_required" authSchemePreferenceKey = "auth_scheme_preference" + + loginSessionKey = "login_session" ) // defaultSharedConfigProfile allows for swapping the default profile for testing @@ -362,6 +364,9 @@ type SharedConfig struct { // Priority list of preferred auth scheme names (e.g. sigv4a). AuthSchemePreference []string + + // Session ARN from an `aws login` session. + LoginSession string } func (c SharedConfig) getDefaultsMode(ctx context.Context) (value aws.DefaultsMode, ok bool, err error) { @@ -897,6 +902,8 @@ func mergeSections(dst *ini.Sections, src ini.Sections) error { ssoStartURLKey, authSchemePreferenceKey, + + loginSessionKey, } for i := range stringKeys { if err := mergeStringKey(&srcSection, &dstSection, sectionName, stringKeys[i]); err != nil { @@ -1175,6 +1182,8 @@ func (c *SharedConfig) setFromIniSection(profile string, section ini.Section) er c.AuthSchemePreference = toAuthSchemePreferenceList(section.String(authSchemePreferenceKey)) + updateString(&c.LoginSession, section, loginSessionKey) + return nil } diff --git a/vendor/github.com/aws/aws-sdk-go-v2/credentials/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/credentials/CHANGELOG.md index 9f4f6a3c81..daca9241cb 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/credentials/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/credentials/CHANGELOG.md @@ -1,3 +1,70 @@ +# v1.19.7 (2026-01-09) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.19.6 (2025-12-16) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.19.5 (2025-12-09) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.19.4 (2025-12-08) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.19.3 (2025-12-02) + +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.24.0. Notably this version of the library reduces the allocation footprint of the middleware system. We observe a ~10% reduction in allocations per SDK call with this change. + +# v1.19.2 (2025-11-25) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.19.1 (2025-11-21) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.19.0 (2025-11-19.2) + +* **Feature**: Add support for AWS Login credentials (package credentials/logincreds) to the default credential chain. +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.18.25 (2025-11-19) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.18.24 (2025-11-12) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.18.23 (2025-11-11) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.18.22 (2025-11-10) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.18.21 (2025-11-04) + +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.23.2 which should convey some passive reduction of overall allocations, especially when not using the metrics system. + +# v1.18.20 (2025-10-30) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.18.19 (2025-10-23) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.18.18 (2025-10-22) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.18.17 (2025-10-16) * **Dependency Update**: Bump minimum Go version to 1.23. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/credentials/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/credentials/go_module_metadata.go index db8fb7a7e4..5439cb44bd 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/credentials/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/credentials/go_module_metadata.go @@ -3,4 +3,4 @@ package credentials // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.18.17" +const goModuleVersion = "1.19.7" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/credentials/logincreds/dpop.go b/vendor/github.com/aws/aws-sdk-go-v2/credentials/logincreds/dpop.go new file mode 100644 index 0000000000..6dc0845fdf --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/credentials/logincreds/dpop.go @@ -0,0 +1,150 @@ +package logincreds + +import ( + "context" + "crypto/ecdsa" + cryptorand "crypto/rand" + "crypto/sha256" + "crypto/x509" + "encoding/base64" + "encoding/json" + "encoding/pem" + "fmt" + + "github.com/aws/aws-sdk-go-v2/internal/sdk" + "github.com/aws/aws-sdk-go-v2/service/signin" + "github.com/aws/smithy-go/middleware" + smithyrand "github.com/aws/smithy-go/rand" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// AWS signin DPOP always uses the P256 curve +const curvelen = 256 / 8 // bytes + +// https://datatracker.ietf.org/doc/html/rfc9449 +func mkdpop(token *loginToken, htu string) (string, error) { + key, err := parseKey(token.DPOPKey) + if err != nil { + return "", fmt.Errorf("parse key: %w", err) + } + + header, err := jsonb64(&dpopHeader{ + Typ: "dpop+jwt", + Alg: "ES256", + Jwk: &dpopHeaderJwk{ + Kty: "EC", + X: base64.RawURLEncoding.EncodeToString(key.X.Bytes()), + Y: base64.RawURLEncoding.EncodeToString(key.Y.Bytes()), + Crv: "P-256", + }, + }) + if err != nil { + return "", fmt.Errorf("marshal header: %w", err) + } + + uuid, err := smithyrand.NewUUID(cryptorand.Reader).GetUUID() + if err != nil { + return "", fmt.Errorf("uuid: %w", err) + } + + payload, err := jsonb64(&dpopPayload{ + Jti: uuid, + Htm: "POST", + Htu: htu, + Iat: sdk.NowTime().Unix(), + }) + if err != nil { + return "", fmt.Errorf("marshal payload: %w", err) + } + + msg := fmt.Sprintf("%s.%s", header, payload) + + h := sha256.New() + h.Write([]byte(msg)) + + r, s, err := ecdsa.Sign(cryptorand.Reader, key, h.Sum(nil)) + if err != nil { + return "", fmt.Errorf("sign: %w", err) + } + + // DPOP signatures are formatted in RAW r || s form (with each value padded + // to fit in curve size which in our case is always the 256 bits) - rather + // than encoded in something like asn.1 + sig := make([]byte, curvelen*2) + r.FillBytes(sig[0:curvelen]) + s.FillBytes(sig[curvelen:]) + + dpop := fmt.Sprintf("%s.%s", msg, base64.RawURLEncoding.EncodeToString(sig)) + return dpop, nil +} + +func parseKey(pemBlock string) (*ecdsa.PrivateKey, error) { + block, _ := pem.Decode([]byte(pemBlock)) + priv, err := x509.ParseECPrivateKey(block.Bytes) + if err != nil { + return nil, fmt.Errorf("parse ec private key: %w", err) + } + + return priv, nil +} + +func jsonb64(v any) (string, error) { + j, err := json.MarshalIndent(v, "", " ") + if err != nil { + return "", err + } + + return base64.RawURLEncoding.EncodeToString(j), nil +} + +type dpopHeader struct { + Typ string `json:"typ"` + Alg string `json:"alg"` + Jwk *dpopHeaderJwk `json:"jwk"` +} + +type dpopHeaderJwk struct { + Kty string `json:"kty"` + X string `json:"x"` + Y string `json:"y"` + Crv string `json:"crv"` +} + +type dpopPayload struct { + Jti string `json:"jti"` + Htm string `json:"htm"` + Htu string `json:"htu"` + Iat int64 `json:"iat"` +} + +type signDPOP struct { + Token *loginToken +} + +func addSignDPOP(token *loginToken) func(o *signin.Options) { + return signin.WithAPIOptions(func(stack *middleware.Stack) error { + return stack.Finalize.Add(&signDPOP{token}, middleware.After) + }) +} + +func (*signDPOP) ID() string { + return "signDPOP" +} + +func (m *signDPOP) HandleFinalize( + ctx context.Context, in middleware.FinalizeInput, next middleware.FinalizeHandler) ( + out middleware.FinalizeOutput, md middleware.Metadata, err error, +) { + req, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, md, fmt.Errorf("unexpected transport type %T", req) + } + + dpop, err := mkdpop(m.Token, req.URL.String()) + if err != nil { + return out, md, fmt.Errorf("sign dpop: %w", err) + } + + req.Header.Set("DPoP", dpop) + return next.HandleFinalize(ctx, in) +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/credentials/logincreds/file.go b/vendor/github.com/aws/aws-sdk-go-v2/credentials/logincreds/file.go new file mode 100644 index 0000000000..6cd5281d49 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/credentials/logincreds/file.go @@ -0,0 +1,14 @@ +package logincreds + +import ( + "io" + "os" +) + +var openFile func(string) (io.ReadCloser, error) = func(name string) (io.ReadCloser, error) { + return os.Open(name) +} + +var createFile func(string) (io.WriteCloser, error) = func(name string) (io.WriteCloser, error) { + return os.Create(name) +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/credentials/logincreds/provider.go b/vendor/github.com/aws/aws-sdk-go-v2/credentials/logincreds/provider.go new file mode 100644 index 0000000000..3e6357b87c --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/credentials/logincreds/provider.go @@ -0,0 +1,172 @@ +// Package logincreds implements AWS credential provision for sessions created +// via an `aws login` command. +package logincreds + +import ( + "context" + "encoding/json" + "errors" + "fmt" + "io" + "os" + + "github.com/aws/aws-sdk-go-v2/aws" + "github.com/aws/aws-sdk-go-v2/internal/sdk" + "github.com/aws/aws-sdk-go-v2/service/signin" + "github.com/aws/aws-sdk-go-v2/service/signin/types" +) + +// ProviderName identifies the login provider. +const ProviderName = "LoginProvider" + +// TokenAPIClient provides the interface for the login session's token +// retrieval operation. +type TokenAPIClient interface { + CreateOAuth2Token(context.Context, *signin.CreateOAuth2TokenInput, ...func(*signin.Options)) (*signin.CreateOAuth2TokenOutput, error) +} + +// Provider supplies credentials for an `aws login` session. +type Provider struct { + options Options +} + +var _ aws.CredentialsProvider = (*Provider)(nil) + +// Options configures the Provider. +type Options struct { + Client TokenAPIClient + + // APIOptions to pass to the underlying CreateOAuth2Token operation. + ClientOptions []func(*signin.Options) + + // The path to the cached login token. + CachedTokenFilepath string + + // The chain of providers that was used to create this provider. + // + // These values are for reporting purposes and are not meant to be set up + // directly. + CredentialSources []aws.CredentialSource +} + +// New returns a new login session credentials provider. +func New(client TokenAPIClient, path string, opts ...func(*Options)) *Provider { + options := Options{ + Client: client, + CachedTokenFilepath: path, + } + + for _, opt := range opts { + opt(&options) + } + + return &Provider{options} +} + +// Retrieve generates a new set of temporary credentials using an `aws login` +// session. +func (p *Provider) Retrieve(ctx context.Context) (aws.Credentials, error) { + token, err := p.loadToken() + if err != nil { + return aws.Credentials{}, fmt.Errorf("load login token: %w", err) + } + if err := token.Validate(); err != nil { + return aws.Credentials{}, fmt.Errorf("validate login token: %w", err) + } + + // the token may have been refreshed elsewhere or the login session might + // have just been created + if sdk.NowTime().Before(token.AccessToken.ExpiresAt) { + return token.Credentials(), nil + } + + opts := make([]func(*signin.Options), len(p.options.ClientOptions)+1) + opts[0] = addSignDPOP(token) + copy(opts[1:], p.options.ClientOptions) + + out, err := p.options.Client.CreateOAuth2Token(ctx, &signin.CreateOAuth2TokenInput{ + TokenInput: &types.CreateOAuth2TokenRequestBody{ + ClientId: aws.String(token.ClientID), + GrantType: aws.String("refresh_token"), + RefreshToken: aws.String(token.RefreshToken), + }, + }, opts...) + if err != nil { + var terr *types.AccessDeniedException + if errors.As(err, &terr) { + err = toAccessDeniedError(terr) + } + return aws.Credentials{}, fmt.Errorf("create oauth2 token: %w", err) + } + + token.Update(out) + if err := p.saveToken(token); err != nil { + return aws.Credentials{}, fmt.Errorf("save token: %w", err) + } + + return token.Credentials(), nil +} + +// ProviderSources returns the credential chain that was used to construct this +// provider. +func (p *Provider) ProviderSources() []aws.CredentialSource { + if p.options.CredentialSources == nil { + return []aws.CredentialSource{aws.CredentialSourceLogin} + } + return p.options.CredentialSources +} + +func (p *Provider) loadToken() (*loginToken, error) { + f, err := openFile(p.options.CachedTokenFilepath) + if err != nil && os.IsNotExist(err) { + return nil, fmt.Errorf("token file not found, please reauthenticate") + } + if err != nil { + return nil, err + } + defer f.Close() + + j, err := io.ReadAll(f) + if err != nil { + return nil, err + } + + var t *loginToken + if err := json.Unmarshal(j, &t); err != nil { + return nil, err + } + + return t, nil +} + +func (p *Provider) saveToken(token *loginToken) error { + j, err := json.Marshal(token) + if err != nil { + return err + } + + f, err := createFile(p.options.CachedTokenFilepath) + if err != nil { + return err + } + defer f.Close() + + if _, err := f.Write(j); err != nil { + return err + } + + return nil +} + +func toAccessDeniedError(err *types.AccessDeniedException) error { + switch err.Error_ { + case types.OAuth2ErrorCodeTokenExpired: + return fmt.Errorf("login session has expired, please reauthenticate") + case types.OAuth2ErrorCodeUserCredentialsChanged: + return fmt.Errorf("login session password has changed, please reauthenticate") + case types.OAuth2ErrorCodeInsufficientPermissions: + return fmt.Errorf("insufficient permissions, you may be missing permissions for the CreateOAuth2Token action") + default: + return err + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/credentials/logincreds/token.go b/vendor/github.com/aws/aws-sdk-go-v2/credentials/logincreds/token.go new file mode 100644 index 0000000000..1a97b98cdc --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/credentials/logincreds/token.go @@ -0,0 +1,110 @@ +package logincreds + +import ( + "crypto/sha256" + "encoding/hex" + "errors" + "fmt" + "path/filepath" + "strings" + "time" + + "github.com/aws/aws-sdk-go-v2/aws" + "github.com/aws/aws-sdk-go-v2/internal/sdk" + "github.com/aws/aws-sdk-go-v2/internal/shareddefaults" + "github.com/aws/aws-sdk-go-v2/service/signin" +) + +var userHomeDir = shareddefaults.UserHomeDir + +// StandardCachedTokenFilepath returns the filepath for the cached login token +// file. Key that will be used to compute a SHA256 value that is hex encoded. +// +// An overriden root dir can be provided, if not set the path defaults to +// ~/.aws/sso/cache. +func StandardCachedTokenFilepath(session, dir string) (string, error) { + session = strings.TrimSpace(session) + + if len(dir) == 0 { + dir = userHomeDir() + if len(dir) == 0 { + return "", errors.New("user home dir is blank") + } + dir = filepath.Join(dir, ".aws", "login", "cache") + } + + h := sha256.New() + h.Write([]byte(session)) + + filename := strings.ToLower(hex.EncodeToString(h.Sum(nil))) + ".json" + return filepath.Join(dir, filename), nil +} + +// contents of the token as they appear on disk +type loginToken struct { + AccessToken *loginTokenAccessToken `json:"accessToken"` + TokenType string `json:"tokenType"` + RefreshToken string `json:"refreshToken"` + IdentityToken string `json:"identityToken"` + ClientID string `json:"clientId"` + DPOPKey string `json:"dpopKey"` +} + +type loginTokenAccessToken struct { + AccessKeyID string `json:"accessKeyId"` + SecretAccessKey string `json:"secretAccessKey"` + SessionToken string `json:"sessionToken"` + AccountID string `json:"accountId"` + ExpiresAt time.Time `json:"expiresAt"` +} + +func (t *loginToken) Validate() error { + if t.AccessToken == nil { + return fmt.Errorf("missing accessToken") + } + if t.AccessToken.AccessKeyID == "" { + return fmt.Errorf("missing accessToken.accessKeyId") + } + if t.AccessToken.SecretAccessKey == "" { + return fmt.Errorf("missing accessToken.secretAccessKey") + } + if t.AccessToken.SessionToken == "" { + return fmt.Errorf("missing accessToken.sessionToken") + } + if t.AccessToken.AccountID == "" { + return fmt.Errorf("missing accessToken.accountId") + } + if t.AccessToken.ExpiresAt.IsZero() { + return fmt.Errorf("missing accessToken.expiresAt") + } + if t.ClientID == "" { + return fmt.Errorf("missing clientId") + } + if t.RefreshToken == "" { + return fmt.Errorf("missing refreshToken") + } + if t.DPOPKey == "" { + return fmt.Errorf("missing dpopKey") + } + return nil +} + +func (t *loginToken) Credentials() aws.Credentials { + return aws.Credentials{ + AccessKeyID: t.AccessToken.AccessKeyID, + SecretAccessKey: t.AccessToken.SecretAccessKey, + SessionToken: t.AccessToken.SessionToken, + Source: ProviderName, + CanExpire: true, + Expires: t.AccessToken.ExpiresAt, + AccountID: t.AccessToken.AccountID, + } +} + +func (t *loginToken) Update(out *signin.CreateOAuth2TokenOutput) { + t.AccessToken.AccessKeyID = *out.TokenOutput.AccessToken.AccessKeyId + t.AccessToken.SecretAccessKey = *out.TokenOutput.AccessToken.SecretAccessKey + t.AccessToken.SessionToken = *out.TokenOutput.AccessToken.SessionToken + t.AccessToken.ExpiresAt = sdk.NowTime().Add(time.Duration(*out.TokenOutput.ExpiresIn) * time.Second) + t.RefreshToken = *out.TokenOutput.RefreshToken +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/feature/ec2/imds/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/feature/ec2/imds/CHANGELOG.md index 60f64b44bb..27d5e4d613 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/feature/ec2/imds/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/feature/ec2/imds/CHANGELOG.md @@ -1,3 +1,33 @@ +# v1.18.17 (2026-01-09) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.18.16 (2025-12-08) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.18.15 (2025-12-02) + +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.24.0. Notably this version of the library reduces the allocation footprint of the middleware system. We observe a ~10% reduction in allocations per SDK call with this change. + +# v1.18.14 (2025-11-19.2) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.18.13 (2025-11-04) + +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.23.2 which should convey some passive reduction of overall allocations, especially when not using the metrics system. + +# v1.18.12 (2025-10-30) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.18.11 (2025-10-23) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.18.10 (2025-10-16) * **Dependency Update**: Bump minimum Go version to 1.23. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/feature/ec2/imds/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/feature/ec2/imds/go_module_metadata.go index 2f6b3855ff..0bb72d7b57 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/feature/ec2/imds/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/feature/ec2/imds/go_module_metadata.go @@ -3,4 +3,4 @@ package imds // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.18.10" +const goModuleVersion = "1.18.17" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/CHANGELOG.md index bd0f4ff6d2..552fb90a8b 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/CHANGELOG.md @@ -1,3 +1,33 @@ +# v1.4.17 (2026-01-09) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.4.16 (2025-12-08) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.4.15 (2025-12-02) + +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.24.0. Notably this version of the library reduces the allocation footprint of the middleware system. We observe a ~10% reduction in allocations per SDK call with this change. + +# v1.4.14 (2025-11-19.2) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.4.13 (2025-11-04) + +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.23.2 which should convey some passive reduction of overall allocations, especially when not using the metrics system. + +# v1.4.12 (2025-10-30) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.4.11 (2025-10-23) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.4.10 (2025-10-16) * **Dependency Update**: Bump minimum Go version to 1.23. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/go_module_metadata.go index 68ad88d935..59dbd389b8 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/go_module_metadata.go @@ -3,4 +3,4 @@ package configsources // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.4.10" +const goModuleVersion = "1.4.17" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/awsrulesfn/partitions.go b/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/awsrulesfn/partitions.go index 6ad5df6469..6ab4d9669f 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/awsrulesfn/partitions.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/awsrulesfn/partitions.go @@ -386,6 +386,13 @@ var partitions = []Partition{ SupportsFIPS: nil, SupportsDualStack: nil, }, + "us-isob-west-1": { + Name: nil, + DnsSuffix: nil, + DualStackDnsSuffix: nil, + SupportsFIPS: nil, + SupportsDualStack: nil, + }, }, }, { diff --git a/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/awsrulesfn/partitions.json b/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/awsrulesfn/partitions.json index b346b0be9b..c789264d2b 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/awsrulesfn/partitions.json +++ b/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/awsrulesfn/partitions.json @@ -194,6 +194,9 @@ }, "us-isob-east-1" : { "description" : "US ISOB East (Ohio)" + }, + "us-isob-west-1" : { + "description" : "US ISOB West" } } }, { diff --git a/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/CHANGELOG.md index 0a6cca1520..cdf46e69d8 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/CHANGELOG.md @@ -1,3 +1,33 @@ +# v2.7.17 (2026-01-09) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v2.7.16 (2025-12-08) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v2.7.15 (2025-12-02) + +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.24.0. Notably this version of the library reduces the allocation footprint of the middleware system. We observe a ~10% reduction in allocations per SDK call with this change. + +# v2.7.14 (2025-11-19.2) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v2.7.13 (2025-11-04) + +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.23.2 which should convey some passive reduction of overall allocations, especially when not using the metrics system. + +# v2.7.12 (2025-10-30) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v2.7.11 (2025-10-23) + +* **Dependency Update**: Updated to the latest SDK module versions + # v2.7.10 (2025-10-16) * **Dependency Update**: Bump minimum Go version to 1.23. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/go_module_metadata.go index 055496cea0..3d6ed9c6a6 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/go_module_metadata.go @@ -3,4 +3,4 @@ package endpoints // goModuleVersion is the tagged release for this module -const goModuleVersion = "2.7.10" +const goModuleVersion = "2.7.17" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/internal/v4a/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/internal/v4a/CHANGELOG.md index 5cc526e18f..5bafe8ae3d 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/internal/v4a/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/internal/v4a/CHANGELOG.md @@ -1,3 +1,33 @@ +# v1.4.17 (2026-01-09) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.4.16 (2025-12-08) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.4.15 (2025-12-02) + +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.24.0. Notably this version of the library reduces the allocation footprint of the middleware system. We observe a ~10% reduction in allocations per SDK call with this change. + +# v1.4.14 (2025-11-19.2) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.4.13 (2025-11-04) + +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.23.2 which should convey some passive reduction of overall allocations, especially when not using the metrics system. + +# v1.4.12 (2025-10-30) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.4.11 (2025-10-23) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.4.10 (2025-10-16) * **Dependency Update**: Bump minimum Go version to 1.23. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/internal/v4a/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/internal/v4a/go_module_metadata.go index 3dd83cb458..2bdeddfc40 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/internal/v4a/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/internal/v4a/go_module_metadata.go @@ -3,4 +3,4 @@ package v4a // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.4.10" +const goModuleVersion = "1.4.17" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/CHANGELOG.md index f9d76bd73f..49568d0e3f 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/CHANGELOG.md @@ -1,3 +1,64 @@ +# v1.60.0 (2026-02-02) + +* **Feature**: Add OriginMTLS support to CloudFront Distribution APIs + +# v1.59.0 (2026-01-09) + +* **Feature**: Added EntityLimitExceeded exception handling to the following API operations AssociateDistributionWebACL, AssociateDistributionTenantWebACL, UpdateDistributionWithStagingConfig +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.58.3 (2025-12-08) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.58.2 (2025-12-02) + +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.24.0. Notably this version of the library reduces the allocation footprint of the middleware system. We observe a ~10% reduction in allocations per SDK call with this change. + +# v1.58.1 (2025-11-25) + +* **Bug Fix**: Add error check for endpoint param binding during auth scheme resolution to fix panic reported in #3234 + +# v1.58.0 (2025-11-24) + +* **Feature**: Add TrustStore, ConnectionFunction APIs to CloudFront SDK + +# v1.57.0 (2025-11-20) + +* **Feature**: This release adds support for bring your own IP (BYOIP) to CloudFront's CreateAnycastIpList API through an optional IpamCidrConfigs field. + +# v1.56.3 (2025-11-19.2) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.56.2 (2025-11-12) + +* **Bug Fix**: Further reduce allocation overhead when the metrics system isn't in-use. +* **Bug Fix**: Reduce allocation overhead when the client doesn't have any HTTP interceptors configured. +* **Bug Fix**: Remove blank trace spans towards the beginning of the request that added no additional information. This conveys a slight reduction in overall allocations. + +# v1.56.1 (2025-11-11) + +* **Bug Fix**: Return validation error if input region is not a valid host label. + +# v1.56.0 (2025-11-05) + +* **Feature**: This release adds new and updated API operations. You can now use the IpAddressType field to specify either ipv4 or dualstack for your Anycast static IP list. You can also enable cross-account resource sharing to share your VPC origins with other AWS accounts + +# v1.55.4 (2025-11-04) + +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.23.2 which should convey some passive reduction of overall allocations, especially when not using the metrics system. + +# v1.55.3 (2025-10-30) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.55.2 (2025-10-23) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.55.1 (2025-10-16) * **Dependency Update**: Bump minimum Go version to 1.23. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_client.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_client.go index 61cb7d768a..939ce4b441 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_client.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_client.go @@ -65,7 +65,12 @@ func timeOperationMetric[T any]( ctx context.Context, metric string, fn func() (T, error), opts ...metrics.RecordMetricOption, ) (T, error) { - instr := getOperationMetrics(ctx).histogramFor(metric) + mm := getOperationMetrics(ctx) + if mm == nil { // not using the metrics system + return fn() + } + + instr := mm.histogramFor(metric) opts = append([]metrics.RecordMetricOption{withOperationMetadata(ctx)}, opts...) start := time.Now() @@ -78,7 +83,12 @@ func timeOperationMetric[T any]( } func startMetricTimer(ctx context.Context, metric string, opts ...metrics.RecordMetricOption) func() { - instr := getOperationMetrics(ctx).histogramFor(metric) + mm := getOperationMetrics(ctx) + if mm == nil { // not using the metrics system + return func() {} + } + + instr := mm.histogramFor(metric) opts = append([]metrics.RecordMetricOption{withOperationMetadata(ctx)}, opts...) var ended bool @@ -106,6 +116,12 @@ func withOperationMetadata(ctx context.Context) metrics.RecordMetricOption { type operationMetricsKey struct{} func withOperationMetrics(parent context.Context, mp metrics.MeterProvider) (context.Context, error) { + if _, ok := mp.(metrics.NopMeterProvider); ok { + // not using the metrics system - setting up the metrics context is a memory-intensive operation + // so we should skip it in this case + return parent, nil + } + meter := mp.Meter("github.com/aws/aws-sdk-go-v2/service/cloudfront") om := &operationMetrics{} @@ -153,7 +169,10 @@ func operationMetricTimer(m metrics.Meter, name, desc string) (metrics.Float64Hi } func getOperationMetrics(ctx context.Context) *operationMetrics { - return ctx.Value(operationMetricsKey{}).(*operationMetrics) + if v := ctx.Value(operationMetricsKey{}); v != nil { + return v.(*operationMetrics) + } + return nil } func operationTracer(p tracing.TracerProvider) tracing.Tracer { @@ -882,138 +901,49 @@ func addInterceptAttempt(stack *middleware.Stack, opts Options) error { }, "Retry", middleware.After) } -func addInterceptExecution(stack *middleware.Stack, opts Options) error { - return stack.Initialize.Add(&smithyhttp.InterceptExecution{ - BeforeExecution: opts.Interceptors.BeforeExecution, - AfterExecution: opts.Interceptors.AfterExecution, - }, middleware.Before) -} - -func addInterceptBeforeSerialization(stack *middleware.Stack, opts Options) error { - return stack.Serialize.Insert(&smithyhttp.InterceptBeforeSerialization{ - Interceptors: opts.Interceptors.BeforeSerialization, - }, "OperationSerializer", middleware.Before) -} - -func addInterceptAfterSerialization(stack *middleware.Stack, opts Options) error { - return stack.Serialize.Insert(&smithyhttp.InterceptAfterSerialization{ - Interceptors: opts.Interceptors.AfterSerialization, - }, "OperationSerializer", middleware.After) -} - -func addInterceptBeforeSigning(stack *middleware.Stack, opts Options) error { - return stack.Finalize.Insert(&smithyhttp.InterceptBeforeSigning{ - Interceptors: opts.Interceptors.BeforeSigning, - }, "Signing", middleware.Before) -} - -func addInterceptAfterSigning(stack *middleware.Stack, opts Options) error { - return stack.Finalize.Insert(&smithyhttp.InterceptAfterSigning{ - Interceptors: opts.Interceptors.AfterSigning, - }, "Signing", middleware.After) -} - -func addInterceptTransmit(stack *middleware.Stack, opts Options) error { - return stack.Deserialize.Add(&smithyhttp.InterceptTransmit{ - BeforeTransmit: opts.Interceptors.BeforeTransmit, - AfterTransmit: opts.Interceptors.AfterTransmit, - }, middleware.After) -} - -func addInterceptBeforeDeserialization(stack *middleware.Stack, opts Options) error { - return stack.Deserialize.Insert(&smithyhttp.InterceptBeforeDeserialization{ - Interceptors: opts.Interceptors.BeforeDeserialization, - }, "OperationDeserializer", middleware.After) // (deserialize stack is called in reverse) -} - -func addInterceptAfterDeserialization(stack *middleware.Stack, opts Options) error { - return stack.Deserialize.Insert(&smithyhttp.InterceptAfterDeserialization{ - Interceptors: opts.Interceptors.AfterDeserialization, - }, "OperationDeserializer", middleware.Before) -} - -type spanInitializeStart struct { -} - -func (*spanInitializeStart) ID() string { - return "spanInitializeStart" -} - -func (m *spanInitializeStart) HandleInitialize( - ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler, -) ( - middleware.InitializeOutput, middleware.Metadata, error, -) { - ctx, _ = tracing.StartSpan(ctx, "Initialize") - - return next.HandleInitialize(ctx, in) -} - -type spanInitializeEnd struct { -} - -func (*spanInitializeEnd) ID() string { - return "spanInitializeEnd" -} - -func (m *spanInitializeEnd) HandleInitialize( - ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler, -) ( - middleware.InitializeOutput, middleware.Metadata, error, -) { - ctx, span := tracing.PopSpan(ctx) - span.End() - - return next.HandleInitialize(ctx, in) -} - -type spanBuildRequestStart struct { -} - -func (*spanBuildRequestStart) ID() string { - return "spanBuildRequestStart" -} - -func (m *spanBuildRequestStart) HandleSerialize( - ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler, -) ( - middleware.SerializeOutput, middleware.Metadata, error, -) { - ctx, _ = tracing.StartSpan(ctx, "BuildRequest") - - return next.HandleSerialize(ctx, in) -} - -type spanBuildRequestEnd struct { -} - -func (*spanBuildRequestEnd) ID() string { - return "spanBuildRequestEnd" -} - -func (m *spanBuildRequestEnd) HandleBuild( - ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler, -) ( - middleware.BuildOutput, middleware.Metadata, error, -) { - ctx, span := tracing.PopSpan(ctx) - span.End() - - return next.HandleBuild(ctx, in) -} - -func addSpanInitializeStart(stack *middleware.Stack) error { - return stack.Initialize.Add(&spanInitializeStart{}, middleware.Before) -} - -func addSpanInitializeEnd(stack *middleware.Stack) error { - return stack.Initialize.Add(&spanInitializeEnd{}, middleware.After) -} - -func addSpanBuildRequestStart(stack *middleware.Stack) error { - return stack.Serialize.Add(&spanBuildRequestStart{}, middleware.Before) -} +func addInterceptors(stack *middleware.Stack, opts Options) error { + // middlewares are expensive, don't add all of these interceptor ones unless the caller + // actually has at least one interceptor configured + // + // at the moment it's all-or-nothing because some of the middlewares here are responsible for + // setting fields in the interceptor context for future ones + if len(opts.Interceptors.BeforeExecution) == 0 && + len(opts.Interceptors.BeforeSerialization) == 0 && len(opts.Interceptors.AfterSerialization) == 0 && + len(opts.Interceptors.BeforeRetryLoop) == 0 && + len(opts.Interceptors.BeforeAttempt) == 0 && + len(opts.Interceptors.BeforeSigning) == 0 && len(opts.Interceptors.AfterSigning) == 0 && + len(opts.Interceptors.BeforeTransmit) == 0 && len(opts.Interceptors.AfterTransmit) == 0 && + len(opts.Interceptors.BeforeDeserialization) == 0 && len(opts.Interceptors.AfterDeserialization) == 0 && + len(opts.Interceptors.AfterAttempt) == 0 && len(opts.Interceptors.AfterExecution) == 0 { + return nil + } -func addSpanBuildRequestEnd(stack *middleware.Stack) error { - return stack.Build.Add(&spanBuildRequestEnd{}, middleware.After) + return errors.Join( + stack.Initialize.Add(&smithyhttp.InterceptExecution{ + BeforeExecution: opts.Interceptors.BeforeExecution, + AfterExecution: opts.Interceptors.AfterExecution, + }, middleware.Before), + stack.Serialize.Insert(&smithyhttp.InterceptBeforeSerialization{ + Interceptors: opts.Interceptors.BeforeSerialization, + }, "OperationSerializer", middleware.Before), + stack.Serialize.Insert(&smithyhttp.InterceptAfterSerialization{ + Interceptors: opts.Interceptors.AfterSerialization, + }, "OperationSerializer", middleware.After), + stack.Finalize.Insert(&smithyhttp.InterceptBeforeSigning{ + Interceptors: opts.Interceptors.BeforeSigning, + }, "Signing", middleware.Before), + stack.Finalize.Insert(&smithyhttp.InterceptAfterSigning{ + Interceptors: opts.Interceptors.AfterSigning, + }, "Signing", middleware.After), + stack.Deserialize.Add(&smithyhttp.InterceptTransmit{ + BeforeTransmit: opts.Interceptors.BeforeTransmit, + AfterTransmit: opts.Interceptors.AfterTransmit, + }, middleware.After), + stack.Deserialize.Insert(&smithyhttp.InterceptBeforeDeserialization{ + Interceptors: opts.Interceptors.BeforeDeserialization, + }, "OperationDeserializer", middleware.After), // (deserialize stack is called in reverse) + stack.Deserialize.Insert(&smithyhttp.InterceptAfterDeserialization{ + Interceptors: opts.Interceptors.AfterDeserialization, + }, "OperationDeserializer", middleware.Before), + ) } diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_AssociateAlias.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_AssociateAlias.go index 0a2aa4f6ca..240703c970 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_AssociateAlias.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_AssociateAlias.go @@ -163,40 +163,7 @@ func (c *Client) addOperationAssociateAliasMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_AssociateDistributionTenantWebACL.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_AssociateDistributionTenantWebACL.go index 74f120800a..0f2150e133 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_AssociateDistributionTenantWebACL.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_AssociateDistributionTenantWebACL.go @@ -156,40 +156,7 @@ func (c *Client) addOperationAssociateDistributionTenantWebACLMiddlewares(stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_AssociateDistributionWebACL.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_AssociateDistributionWebACL.go index f71ac6d1ac..015855d25f 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_AssociateDistributionWebACL.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_AssociateDistributionWebACL.go @@ -156,40 +156,7 @@ func (c *Client) addOperationAssociateDistributionWebACLMiddlewares(stack *middl if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CopyDistribution.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CopyDistribution.go index a34fefe2cc..652fb87ab3 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CopyDistribution.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CopyDistribution.go @@ -194,40 +194,7 @@ func (c *Client) addOperationCopyDistributionMiddlewares(stack *middleware.Stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateAnycastIpList.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateAnycastIpList.go index 314cc011fa..e71b3a1c5a 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateAnycastIpList.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateAnycastIpList.go @@ -40,6 +40,20 @@ type CreateAnycastIpListInput struct { // This member is required. Name *string + // The IP address type for the Anycast static IP list. You can specify one of the + // following options: + // + // - ipv4 only + // + // - ipv6 only + // + // - dualstack - Allocate a list of both IPv4 and IPv6 addresses + IpAddressType types.IpAddressType + + // A list of IPAM CIDR configurations that specify the IP address ranges and IPAM + // pool settings for creating the Anycast static IP list. + IpamCidrConfigs []types.IpamCidrConfig + // A complex type that contains zero or more Tag elements. Tags *types.Tags @@ -155,40 +169,7 @@ func (c *Client) addOperationCreateAnycastIpListMiddlewares(stack *middleware.St if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateCachePolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateCachePolicy.go index 1c74249416..ffbeb0e319 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateCachePolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateCachePolicy.go @@ -176,40 +176,7 @@ func (c *Client) addOperationCreateCachePolicyMiddlewares(stack *middleware.Stac if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateCloudFrontOriginAccessIdentity.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateCloudFrontOriginAccessIdentity.go index 3f04ae4b23..b2ccfab08f 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateCloudFrontOriginAccessIdentity.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateCloudFrontOriginAccessIdentity.go @@ -161,40 +161,7 @@ func (c *Client) addOperationCreateCloudFrontOriginAccessIdentityMiddlewares(sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateConnectionFunction.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateConnectionFunction.go new file mode 100644 index 0000000000..a014bb1701 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateConnectionFunction.go @@ -0,0 +1,176 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package cloudfront + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/service/cloudfront/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Creates a connection function. +func (c *Client) CreateConnectionFunction(ctx context.Context, params *CreateConnectionFunctionInput, optFns ...func(*Options)) (*CreateConnectionFunctionOutput, error) { + if params == nil { + params = &CreateConnectionFunctionInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "CreateConnectionFunction", params, optFns, c.addOperationCreateConnectionFunctionMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*CreateConnectionFunctionOutput) + out.ResultMetadata = metadata + return out, nil +} + +type CreateConnectionFunctionInput struct { + + // The code for the connection function. + // + // This member is required. + ConnectionFunctionCode []byte + + // Contains configuration information about a CloudFront function. + // + // This member is required. + ConnectionFunctionConfig *types.FunctionConfig + + // A name for the connection function. + // + // This member is required. + Name *string + + // A complex type that contains zero or more Tag elements. + Tags *types.Tags + + noSmithyDocumentSerde +} + +type CreateConnectionFunctionOutput struct { + + // The summary for the connection function. + ConnectionFunctionSummary *types.ConnectionFunctionSummary + + // The version identifier for the current version of the connection function. + ETag *string + + // The location of the connection function. + Location *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationCreateConnectionFunctionMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsRestxml_serializeOpCreateConnectionFunction{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestxml_deserializeOpCreateConnectionFunction{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "CreateConnectionFunction"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpCreateConnectionFunctionValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConnectionFunction(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opCreateConnectionFunction(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "CreateConnectionFunction", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateConnectionGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateConnectionGroup.go index 291291dae5..d9f4138f77 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateConnectionGroup.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateConnectionGroup.go @@ -162,40 +162,7 @@ func (c *Client) addOperationCreateConnectionGroupMiddlewares(stack *middleware. if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateContinuousDeploymentPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateContinuousDeploymentPolicy.go index e51edd4b6c..9ad15731ca 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateContinuousDeploymentPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateContinuousDeploymentPolicy.go @@ -159,40 +159,7 @@ func (c *Client) addOperationCreateContinuousDeploymentPolicyMiddlewares(stack * if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateDistribution.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateDistribution.go index f48a876e14..3b9f1e7cb9 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateDistribution.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateDistribution.go @@ -150,40 +150,7 @@ func (c *Client) addOperationCreateDistributionMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateDistributionTenant.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateDistributionTenant.go index 6be6212d95..9c3e7aae01 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateDistributionTenant.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateDistributionTenant.go @@ -185,40 +185,7 @@ func (c *Client) addOperationCreateDistributionTenantMiddlewares(stack *middlewa if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateDistributionWithTags.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateDistributionWithTags.go index 271a3c3eb8..8cfcb2fe60 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateDistributionWithTags.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateDistributionWithTags.go @@ -158,40 +158,7 @@ func (c *Client) addOperationCreateDistributionWithTagsMiddlewares(stack *middle if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateFieldLevelEncryptionConfig.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateFieldLevelEncryptionConfig.go index 0febe5cba2..4ddff90546 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateFieldLevelEncryptionConfig.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateFieldLevelEncryptionConfig.go @@ -149,40 +149,7 @@ func (c *Client) addOperationCreateFieldLevelEncryptionConfigMiddlewares(stack * if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateFieldLevelEncryptionProfile.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateFieldLevelEncryptionProfile.go index b62baa5d69..11370c450b 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateFieldLevelEncryptionProfile.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateFieldLevelEncryptionProfile.go @@ -149,40 +149,7 @@ func (c *Client) addOperationCreateFieldLevelEncryptionProfileMiddlewares(stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateFunction.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateFunction.go index 151265873a..2407ef3e05 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateFunction.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateFunction.go @@ -175,40 +175,7 @@ func (c *Client) addOperationCreateFunctionMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateInvalidation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateInvalidation.go index f7a6b5f587..dbd722a8bf 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateInvalidation.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateInvalidation.go @@ -156,40 +156,7 @@ func (c *Client) addOperationCreateInvalidationMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateInvalidationForDistributionTenant.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateInvalidationForDistributionTenant.go index eb3e21c86d..76fc133d2c 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateInvalidationForDistributionTenant.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateInvalidationForDistributionTenant.go @@ -153,40 +153,7 @@ func (c *Client) addOperationCreateInvalidationForDistributionTenantMiddlewares( if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateKeyGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateKeyGroup.go index a1235b3147..e8556f27cf 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateKeyGroup.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateKeyGroup.go @@ -160,40 +160,7 @@ func (c *Client) addOperationCreateKeyGroupMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateKeyValueStore.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateKeyValueStore.go index dfdcc55471..cab45bcd29 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateKeyValueStore.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateKeyValueStore.go @@ -159,40 +159,7 @@ func (c *Client) addOperationCreateKeyValueStoreMiddlewares(stack *middleware.St if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateMonitoringSubscription.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateMonitoringSubscription.go index 3fce50f528..f3ad911b0e 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateMonitoringSubscription.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateMonitoringSubscription.go @@ -154,40 +154,7 @@ func (c *Client) addOperationCreateMonitoringSubscriptionMiddlewares(stack *midd if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateOriginAccessControl.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateOriginAccessControl.go index d3b0506f79..457c1cd17f 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateOriginAccessControl.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateOriginAccessControl.go @@ -158,40 +158,7 @@ func (c *Client) addOperationCreateOriginAccessControlMiddlewares(stack *middlew if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateOriginRequestPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateOriginRequestPolicy.go index 7e2f8be6fe..78e2349685 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateOriginRequestPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateOriginRequestPolicy.go @@ -174,40 +174,7 @@ func (c *Client) addOperationCreateOriginRequestPolicyMiddlewares(stack *middlew if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreatePublicKey.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreatePublicKey.go index 70e8601a57..fd61579a20 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreatePublicKey.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreatePublicKey.go @@ -151,40 +151,7 @@ func (c *Client) addOperationCreatePublicKeyMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateRealtimeLogConfig.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateRealtimeLogConfig.go index f7d96b23a4..5ac9999843 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateRealtimeLogConfig.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateRealtimeLogConfig.go @@ -174,40 +174,7 @@ func (c *Client) addOperationCreateRealtimeLogConfigMiddlewares(stack *middlewar if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateResponseHeadersPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateResponseHeadersPolicy.go index c27ecc2afd..d720336d7d 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateResponseHeadersPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateResponseHeadersPolicy.go @@ -164,40 +164,7 @@ func (c *Client) addOperationCreateResponseHeadersPolicyMiddlewares(stack *middl if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateStreamingDistribution.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateStreamingDistribution.go index b4c8775fc1..fe586553ee 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateStreamingDistribution.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateStreamingDistribution.go @@ -154,40 +154,7 @@ func (c *Client) addOperationCreateStreamingDistributionMiddlewares(stack *middl if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateStreamingDistributionWithTags.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateStreamingDistributionWithTags.go index faf850fc4f..4c888038e3 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateStreamingDistributionWithTags.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateStreamingDistributionWithTags.go @@ -154,40 +154,7 @@ func (c *Client) addOperationCreateStreamingDistributionWithTagsMiddlewares(stac if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateTrustStore.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateTrustStore.go new file mode 100644 index 0000000000..343608f780 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateTrustStore.go @@ -0,0 +1,168 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package cloudfront + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/service/cloudfront/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Creates a trust store. +func (c *Client) CreateTrustStore(ctx context.Context, params *CreateTrustStoreInput, optFns ...func(*Options)) (*CreateTrustStoreOutput, error) { + if params == nil { + params = &CreateTrustStoreInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "CreateTrustStore", params, optFns, c.addOperationCreateTrustStoreMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*CreateTrustStoreOutput) + out.ResultMetadata = metadata + return out, nil +} + +type CreateTrustStoreInput struct { + + // The CA certificates bundle source for the trust store. + // + // This member is required. + CaCertificatesBundleSource types.CaCertificatesBundleSource + + // A name for the trust store. + // + // This member is required. + Name *string + + // A complex type that contains zero or more Tag elements. + Tags *types.Tags + + noSmithyDocumentSerde +} + +type CreateTrustStoreOutput struct { + + // The version identifier for the current version of the trust store. + ETag *string + + // The trust store. + TrustStore *types.TrustStore + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationCreateTrustStoreMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsRestxml_serializeOpCreateTrustStore{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestxml_deserializeOpCreateTrustStore{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "CreateTrustStore"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpCreateTrustStoreValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTrustStore(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opCreateTrustStore(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "CreateTrustStore", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateVpcOrigin.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateVpcOrigin.go index d315bbac02..14ef6e1743 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateVpcOrigin.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_CreateVpcOrigin.go @@ -151,40 +151,7 @@ func (c *Client) addOperationCreateVpcOriginMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteAnycastIpList.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteAnycastIpList.go index 94208d7aab..36f7751d4c 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteAnycastIpList.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteAnycastIpList.go @@ -143,40 +143,7 @@ func (c *Client) addOperationDeleteAnycastIpListMiddlewares(stack *middleware.St if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteCachePolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteCachePolicy.go index 7665b52512..63d70655b3 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteCachePolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteCachePolicy.go @@ -150,40 +150,7 @@ func (c *Client) addOperationDeleteCachePolicyMiddlewares(stack *middleware.Stac if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteCloudFrontOriginAccessIdentity.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteCloudFrontOriginAccessIdentity.go index 8d243aa9a0..da7ca82ff5 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteCloudFrontOriginAccessIdentity.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteCloudFrontOriginAccessIdentity.go @@ -142,40 +142,7 @@ func (c *Client) addOperationDeleteCloudFrontOriginAccessIdentityMiddlewares(sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteConnectionFunction.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteConnectionFunction.go new file mode 100644 index 0000000000..e13dc39854 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteConnectionFunction.go @@ -0,0 +1,157 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package cloudfront + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Deletes a connection function. +func (c *Client) DeleteConnectionFunction(ctx context.Context, params *DeleteConnectionFunctionInput, optFns ...func(*Options)) (*DeleteConnectionFunctionOutput, error) { + if params == nil { + params = &DeleteConnectionFunctionInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "DeleteConnectionFunction", params, optFns, c.addOperationDeleteConnectionFunctionMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*DeleteConnectionFunctionOutput) + out.ResultMetadata = metadata + return out, nil +} + +type DeleteConnectionFunctionInput struct { + + // The connection function's ID. + // + // This member is required. + Id *string + + // The current version ( ETag value) of the connection function you are deleting. + // + // This member is required. + IfMatch *string + + noSmithyDocumentSerde +} + +type DeleteConnectionFunctionOutput struct { + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationDeleteConnectionFunctionMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsRestxml_serializeOpDeleteConnectionFunction{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestxml_deserializeOpDeleteConnectionFunction{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "DeleteConnectionFunction"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpDeleteConnectionFunctionValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConnectionFunction(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opDeleteConnectionFunction(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "DeleteConnectionFunction", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteConnectionGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteConnectionGroup.go index c7c9bb1cfe..e28c5aa299 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteConnectionGroup.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteConnectionGroup.go @@ -143,40 +143,7 @@ func (c *Client) addOperationDeleteConnectionGroupMiddlewares(stack *middleware. if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteContinuousDeploymentPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteContinuousDeploymentPolicy.go index 36ae13a1ba..9a63aebf96 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteContinuousDeploymentPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteContinuousDeploymentPolicy.go @@ -145,40 +145,7 @@ func (c *Client) addOperationDeleteContinuousDeploymentPolicyMiddlewares(stack * if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteDistribution.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteDistribution.go index 820abe4014..2b83f3937d 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteDistribution.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteDistribution.go @@ -11,6 +11,10 @@ import ( ) // Delete a distribution. +// +// Before you can delete a distribution, you must disable it, which requires +// permission to update the distribution. Once deleted, a distribution cannot be +// recovered. func (c *Client) DeleteDistribution(ctx context.Context, params *DeleteDistributionInput, optFns ...func(*Options)) (*DeleteDistributionOutput, error) { if params == nil { params = &DeleteDistributionInput{} @@ -177,40 +181,7 @@ func (c *Client) addOperationDeleteDistributionMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteDistributionTenant.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteDistributionTenant.go index 1bd6e6ee45..199352eecb 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteDistributionTenant.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteDistributionTenant.go @@ -148,40 +148,7 @@ func (c *Client) addOperationDeleteDistributionTenantMiddlewares(stack *middlewa if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteFieldLevelEncryptionConfig.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteFieldLevelEncryptionConfig.go index 84aef9bdf6..b32ff27741 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteFieldLevelEncryptionConfig.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteFieldLevelEncryptionConfig.go @@ -141,40 +141,7 @@ func (c *Client) addOperationDeleteFieldLevelEncryptionConfigMiddlewares(stack * if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteFieldLevelEncryptionProfile.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteFieldLevelEncryptionProfile.go index 3d8db61ea1..5807879023 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteFieldLevelEncryptionProfile.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteFieldLevelEncryptionProfile.go @@ -141,40 +141,7 @@ func (c *Client) addOperationDeleteFieldLevelEncryptionProfileMiddlewares(stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteFunction.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteFunction.go index 7dc6b886b4..e238c3442e 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteFunction.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteFunction.go @@ -150,40 +150,7 @@ func (c *Client) addOperationDeleteFunctionMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteKeyGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteKeyGroup.go index e78372d7e2..70cd40cd8a 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteKeyGroup.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteKeyGroup.go @@ -150,40 +150,7 @@ func (c *Client) addOperationDeleteKeyGroupMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteKeyValueStore.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteKeyValueStore.go index 837c1816e3..8beb472b25 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteKeyValueStore.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteKeyValueStore.go @@ -142,40 +142,7 @@ func (c *Client) addOperationDeleteKeyValueStoreMiddlewares(stack *middleware.St if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteMonitoringSubscription.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteMonitoringSubscription.go index 490b48d1af..7b1adf7755 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteMonitoringSubscription.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteMonitoringSubscription.go @@ -138,40 +138,7 @@ func (c *Client) addOperationDeleteMonitoringSubscriptionMiddlewares(stack *midd if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteOriginAccessControl.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteOriginAccessControl.go index d78f029bfa..2fa4545b53 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteOriginAccessControl.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteOriginAccessControl.go @@ -145,40 +145,7 @@ func (c *Client) addOperationDeleteOriginAccessControlMiddlewares(stack *middlew if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteOriginRequestPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteOriginRequestPolicy.go index 402c66df92..694538c0fd 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteOriginRequestPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteOriginRequestPolicy.go @@ -152,40 +152,7 @@ func (c *Client) addOperationDeleteOriginRequestPolicyMiddlewares(stack *middlew if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeletePublicKey.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeletePublicKey.go index 52ddc3fb17..8ee665cf38 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeletePublicKey.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeletePublicKey.go @@ -141,40 +141,7 @@ func (c *Client) addOperationDeletePublicKeyMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteRealtimeLogConfig.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteRealtimeLogConfig.go index 3560deb9ce..ec68f1ba56 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteRealtimeLogConfig.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteRealtimeLogConfig.go @@ -145,40 +145,7 @@ func (c *Client) addOperationDeleteRealtimeLogConfigMiddlewares(stack *middlewar if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteResourcePolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteResourcePolicy.go new file mode 100644 index 0000000000..668f1d06f2 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteResourcePolicy.go @@ -0,0 +1,153 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package cloudfront + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Deletes the resource policy attached to the CloudFront resource. +func (c *Client) DeleteResourcePolicy(ctx context.Context, params *DeleteResourcePolicyInput, optFns ...func(*Options)) (*DeleteResourcePolicyOutput, error) { + if params == nil { + params = &DeleteResourcePolicyInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "DeleteResourcePolicy", params, optFns, c.addOperationDeleteResourcePolicyMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*DeleteResourcePolicyOutput) + out.ResultMetadata = metadata + return out, nil +} + +type DeleteResourcePolicyInput struct { + + // The Amazon Resource Name (ARN) of the CloudFront resource for which the + // resource policy should be deleted. + // + // This member is required. + ResourceArn *string + + noSmithyDocumentSerde +} + +type DeleteResourcePolicyOutput struct { + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsRestxml_serializeOpDeleteResourcePolicy{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestxml_deserializeOpDeleteResourcePolicy{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "DeleteResourcePolicy"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpDeleteResourcePolicyValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourcePolicy(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opDeleteResourcePolicy(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "DeleteResourcePolicy", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteResponseHeadersPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteResponseHeadersPolicy.go index aa3274d831..b3b01b5146 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteResponseHeadersPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteResponseHeadersPolicy.go @@ -154,40 +154,7 @@ func (c *Client) addOperationDeleteResponseHeadersPolicyMiddlewares(stack *middl if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteStreamingDistribution.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteStreamingDistribution.go index 39c1b9d12e..1bbb15b5dc 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteStreamingDistribution.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteStreamingDistribution.go @@ -178,40 +178,7 @@ func (c *Client) addOperationDeleteStreamingDistributionMiddlewares(stack *middl if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteTrustStore.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteTrustStore.go new file mode 100644 index 0000000000..8d3988eb02 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteTrustStore.go @@ -0,0 +1,157 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package cloudfront + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Deletes a trust store. +func (c *Client) DeleteTrustStore(ctx context.Context, params *DeleteTrustStoreInput, optFns ...func(*Options)) (*DeleteTrustStoreOutput, error) { + if params == nil { + params = &DeleteTrustStoreInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "DeleteTrustStore", params, optFns, c.addOperationDeleteTrustStoreMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*DeleteTrustStoreOutput) + out.ResultMetadata = metadata + return out, nil +} + +type DeleteTrustStoreInput struct { + + // The trust store's ID. + // + // This member is required. + Id *string + + // The current version ( ETag value) of the trust store you are deleting. + // + // This member is required. + IfMatch *string + + noSmithyDocumentSerde +} + +type DeleteTrustStoreOutput struct { + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationDeleteTrustStoreMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsRestxml_serializeOpDeleteTrustStore{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestxml_deserializeOpDeleteTrustStore{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "DeleteTrustStore"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpDeleteTrustStoreValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTrustStore(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opDeleteTrustStore(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "DeleteTrustStore", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteVpcOrigin.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteVpcOrigin.go index af8b07e30a..ba4e8f0ebb 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteVpcOrigin.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DeleteVpcOrigin.go @@ -151,40 +151,7 @@ func (c *Client) addOperationDeleteVpcOriginMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DescribeConnectionFunction.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DescribeConnectionFunction.go new file mode 100644 index 0000000000..e58088a987 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DescribeConnectionFunction.go @@ -0,0 +1,163 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package cloudfront + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/service/cloudfront/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Describes a connection function. +func (c *Client) DescribeConnectionFunction(ctx context.Context, params *DescribeConnectionFunctionInput, optFns ...func(*Options)) (*DescribeConnectionFunctionOutput, error) { + if params == nil { + params = &DescribeConnectionFunctionInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "DescribeConnectionFunction", params, optFns, c.addOperationDescribeConnectionFunctionMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*DescribeConnectionFunctionOutput) + out.ResultMetadata = metadata + return out, nil +} + +type DescribeConnectionFunctionInput struct { + + // The connection function's identifier. + // + // This member is required. + Identifier *string + + // The connection function's stage. + Stage types.FunctionStage + + noSmithyDocumentSerde +} + +type DescribeConnectionFunctionOutput struct { + + // The connection function's summary. + ConnectionFunctionSummary *types.ConnectionFunctionSummary + + // The version identifier for the current version of the connection function. + ETag *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationDescribeConnectionFunctionMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsRestxml_serializeOpDescribeConnectionFunction{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestxml_deserializeOpDescribeConnectionFunction{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "DescribeConnectionFunction"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpDescribeConnectionFunctionValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConnectionFunction(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opDescribeConnectionFunction(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "DescribeConnectionFunction", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DescribeFunction.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DescribeFunction.go index d240451aee..5484a40fbf 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DescribeFunction.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DescribeFunction.go @@ -153,40 +153,7 @@ func (c *Client) addOperationDescribeFunctionMiddlewares(stack *middleware.Stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DescribeKeyValueStore.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DescribeKeyValueStore.go index 722a66ab09..c0da2237be 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DescribeKeyValueStore.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DescribeKeyValueStore.go @@ -145,40 +145,7 @@ func (c *Client) addOperationDescribeKeyValueStoreMiddlewares(stack *middleware. if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DisassociateDistributionTenantWebACL.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DisassociateDistributionTenantWebACL.go index 9b85bf7172..4c5f9b31e8 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DisassociateDistributionTenantWebACL.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DisassociateDistributionTenantWebACL.go @@ -149,40 +149,7 @@ func (c *Client) addOperationDisassociateDistributionTenantWebACLMiddlewares(sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DisassociateDistributionWebACL.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DisassociateDistributionWebACL.go index 6799621d3f..a833b0b230 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DisassociateDistributionWebACL.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_DisassociateDistributionWebACL.go @@ -148,40 +148,7 @@ func (c *Client) addOperationDisassociateDistributionWebACLMiddlewares(stack *mi if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetAnycastIpList.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetAnycastIpList.go index ccc099c69a..83ea16b06c 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetAnycastIpList.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetAnycastIpList.go @@ -145,40 +145,7 @@ func (c *Client) addOperationGetAnycastIpListMiddlewares(stack *middleware.Stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetCachePolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetCachePolicy.go index 105f46d121..0913de2a5c 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetCachePolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetCachePolicy.go @@ -158,40 +158,7 @@ func (c *Client) addOperationGetCachePolicyMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetCachePolicyConfig.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetCachePolicyConfig.go index 374bff9f1c..228660606f 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetCachePolicyConfig.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetCachePolicyConfig.go @@ -154,40 +154,7 @@ func (c *Client) addOperationGetCachePolicyConfigMiddlewares(stack *middleware.S if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentity.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentity.go index dd7cc6d54f..8e96e81279 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentity.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentity.go @@ -148,40 +148,7 @@ func (c *Client) addOperationGetCloudFrontOriginAccessIdentityMiddlewares(stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentityConfig.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentityConfig.go index 58ec7c0e9b..0b882c6624 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentityConfig.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentityConfig.go @@ -150,40 +150,7 @@ func (c *Client) addOperationGetCloudFrontOriginAccessIdentityConfigMiddlewares( if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetConnectionFunction.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetConnectionFunction.go new file mode 100644 index 0000000000..9839867a76 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetConnectionFunction.go @@ -0,0 +1,166 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package cloudfront + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/service/cloudfront/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Gets a connection function. +func (c *Client) GetConnectionFunction(ctx context.Context, params *GetConnectionFunctionInput, optFns ...func(*Options)) (*GetConnectionFunctionOutput, error) { + if params == nil { + params = &GetConnectionFunctionInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "GetConnectionFunction", params, optFns, c.addOperationGetConnectionFunctionMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*GetConnectionFunctionOutput) + out.ResultMetadata = metadata + return out, nil +} + +type GetConnectionFunctionInput struct { + + // The connection function's identifier. + // + // This member is required. + Identifier *string + + // The connection function's stage. + Stage types.FunctionStage + + noSmithyDocumentSerde +} + +type GetConnectionFunctionOutput struct { + + // The connection function's code. + ConnectionFunctionCode []byte + + // The connection function's content type. + ContentType *string + + // The version identifier for the current version of the connection function. + ETag *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationGetConnectionFunctionMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsRestxml_serializeOpGetConnectionFunction{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestxml_deserializeOpGetConnectionFunction{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "GetConnectionFunction"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpGetConnectionFunctionValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConnectionFunction(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opGetConnectionFunction(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "GetConnectionFunction", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetConnectionGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetConnectionGroup.go index 7d1af10b14..1102bc8f4d 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetConnectionGroup.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetConnectionGroup.go @@ -145,40 +145,7 @@ func (c *Client) addOperationGetConnectionGroupMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetConnectionGroupByRoutingEndpoint.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetConnectionGroupByRoutingEndpoint.go index a09e579fff..5b82513650 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetConnectionGroupByRoutingEndpoint.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetConnectionGroupByRoutingEndpoint.go @@ -151,40 +151,7 @@ func (c *Client) addOperationGetConnectionGroupByRoutingEndpointMiddlewares(stac if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetContinuousDeploymentPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetContinuousDeploymentPolicy.go index c97c43f0e7..c823bf61b3 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetContinuousDeploymentPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetContinuousDeploymentPolicy.go @@ -147,40 +147,7 @@ func (c *Client) addOperationGetContinuousDeploymentPolicyMiddlewares(stack *mid if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetContinuousDeploymentPolicyConfig.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetContinuousDeploymentPolicyConfig.go index bffe041b7a..dc6397ed0f 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetContinuousDeploymentPolicyConfig.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetContinuousDeploymentPolicyConfig.go @@ -147,40 +147,7 @@ func (c *Client) addOperationGetContinuousDeploymentPolicyConfigMiddlewares(stac if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetDistribution.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetDistribution.go index 6182dd10e2..7773272ae9 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetDistribution.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetDistribution.go @@ -152,40 +152,7 @@ func (c *Client) addOperationGetDistributionMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetDistributionConfig.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetDistributionConfig.go index fbe3cd38a2..b66bec26da 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetDistributionConfig.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetDistributionConfig.go @@ -148,40 +148,7 @@ func (c *Client) addOperationGetDistributionConfigMiddlewares(stack *middleware. if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetDistributionTenant.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetDistributionTenant.go index 80ff5f7eb8..b52a81c4b6 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetDistributionTenant.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetDistributionTenant.go @@ -146,40 +146,7 @@ func (c *Client) addOperationGetDistributionTenantMiddlewares(stack *middleware. if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetDistributionTenantByDomain.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetDistributionTenantByDomain.go index 256c706ce2..636e907611 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetDistributionTenantByDomain.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetDistributionTenantByDomain.go @@ -145,40 +145,7 @@ func (c *Client) addOperationGetDistributionTenantByDomainMiddlewares(stack *mid if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetFieldLevelEncryption.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetFieldLevelEncryption.go index 1da2fef621..ebde651ecf 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetFieldLevelEncryption.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetFieldLevelEncryption.go @@ -146,40 +146,7 @@ func (c *Client) addOperationGetFieldLevelEncryptionMiddlewares(stack *middlewar if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetFieldLevelEncryptionConfig.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetFieldLevelEncryptionConfig.go index fb63090681..b3f64eaa04 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetFieldLevelEncryptionConfig.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetFieldLevelEncryptionConfig.go @@ -146,40 +146,7 @@ func (c *Client) addOperationGetFieldLevelEncryptionConfigMiddlewares(stack *mid if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetFieldLevelEncryptionProfile.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetFieldLevelEncryptionProfile.go index 5810a577bc..fbfaf0f7b5 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetFieldLevelEncryptionProfile.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetFieldLevelEncryptionProfile.go @@ -146,40 +146,7 @@ func (c *Client) addOperationGetFieldLevelEncryptionProfileMiddlewares(stack *mi if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetFieldLevelEncryptionProfileConfig.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetFieldLevelEncryptionProfileConfig.go index 404a937433..14cd6d9dd5 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetFieldLevelEncryptionProfileConfig.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetFieldLevelEncryptionProfileConfig.go @@ -146,40 +146,7 @@ func (c *Client) addOperationGetFieldLevelEncryptionProfileConfigMiddlewares(sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetFunction.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetFunction.go index 56a4d59ba6..2016242312 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetFunction.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetFunction.go @@ -155,40 +155,7 @@ func (c *Client) addOperationGetFunctionMiddlewares(stack *middleware.Stack, opt if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetInvalidation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetInvalidation.go index 2e54bda026..fca9000e26 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetInvalidation.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetInvalidation.go @@ -154,40 +154,7 @@ func (c *Client) addOperationGetInvalidationMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetInvalidationForDistributionTenant.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetInvalidationForDistributionTenant.go index 47ecedda48..aa1e1dd054 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetInvalidationForDistributionTenant.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetInvalidationForDistributionTenant.go @@ -150,40 +150,7 @@ func (c *Client) addOperationGetInvalidationForDistributionTenantMiddlewares(sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetKeyGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetKeyGroup.go index 47fd41314b..9dcbb039e2 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetKeyGroup.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetKeyGroup.go @@ -153,40 +153,7 @@ func (c *Client) addOperationGetKeyGroupMiddlewares(stack *middleware.Stack, opt if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetKeyGroupConfig.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetKeyGroupConfig.go index 8038ebde01..5cc4a7d6e3 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetKeyGroupConfig.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetKeyGroupConfig.go @@ -152,40 +152,7 @@ func (c *Client) addOperationGetKeyGroupConfigMiddlewares(stack *middleware.Stac if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetManagedCertificateDetails.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetManagedCertificateDetails.go index e80dd459fe..05cedef56a 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetManagedCertificateDetails.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetManagedCertificateDetails.go @@ -143,40 +143,7 @@ func (c *Client) addOperationGetManagedCertificateDetailsMiddlewares(stack *midd if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetMonitoringSubscription.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetMonitoringSubscription.go index 965b7e0f92..7e6ee73ca4 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetMonitoringSubscription.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetMonitoringSubscription.go @@ -144,40 +144,7 @@ func (c *Client) addOperationGetMonitoringSubscriptionMiddlewares(stack *middlew if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetOriginAccessControl.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetOriginAccessControl.go index a287855841..93deebf97d 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetOriginAccessControl.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetOriginAccessControl.go @@ -145,40 +145,7 @@ func (c *Client) addOperationGetOriginAccessControlMiddlewares(stack *middleware if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetOriginAccessControlConfig.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetOriginAccessControlConfig.go index 15c2c3773a..fcc5324c37 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetOriginAccessControlConfig.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetOriginAccessControlConfig.go @@ -145,40 +145,7 @@ func (c *Client) addOperationGetOriginAccessControlConfigMiddlewares(stack *midd if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetOriginRequestPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetOriginRequestPolicy.go index aebab9d352..3ba2c86758 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetOriginRequestPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetOriginRequestPolicy.go @@ -159,40 +159,7 @@ func (c *Client) addOperationGetOriginRequestPolicyMiddlewares(stack *middleware if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetOriginRequestPolicyConfig.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetOriginRequestPolicyConfig.go index e328e7e960..ad6fcfa274 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetOriginRequestPolicyConfig.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetOriginRequestPolicyConfig.go @@ -155,40 +155,7 @@ func (c *Client) addOperationGetOriginRequestPolicyConfigMiddlewares(stack *midd if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetPublicKey.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetPublicKey.go index 0814aaa4fb..c843d2fa9b 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetPublicKey.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetPublicKey.go @@ -145,40 +145,7 @@ func (c *Client) addOperationGetPublicKeyMiddlewares(stack *middleware.Stack, op if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetPublicKeyConfig.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetPublicKeyConfig.go index b98e5d0aa0..8eb175d320 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetPublicKeyConfig.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetPublicKeyConfig.go @@ -145,40 +145,7 @@ func (c *Client) addOperationGetPublicKeyConfigMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetRealtimeLogConfig.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetRealtimeLogConfig.go index 73d1225231..4d104abca8 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetRealtimeLogConfig.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetRealtimeLogConfig.go @@ -145,40 +145,7 @@ func (c *Client) addOperationGetRealtimeLogConfigMiddlewares(stack *middleware.S if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetResourcePolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetResourcePolicy.go new file mode 100644 index 0000000000..c86e2cd1b8 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetResourcePolicy.go @@ -0,0 +1,162 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package cloudfront + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Retrieves the resource policy for the specified CloudFront resource that you +// own and have shared. +func (c *Client) GetResourcePolicy(ctx context.Context, params *GetResourcePolicyInput, optFns ...func(*Options)) (*GetResourcePolicyOutput, error) { + if params == nil { + params = &GetResourcePolicyInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "GetResourcePolicy", params, optFns, c.addOperationGetResourcePolicyMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*GetResourcePolicyOutput) + out.ResultMetadata = metadata + return out, nil +} + +type GetResourcePolicyInput struct { + + // The Amazon Resource Name (ARN) of the CloudFront resource that is associated + // with the resource policy. + // + // This member is required. + ResourceArn *string + + noSmithyDocumentSerde +} + +type GetResourcePolicyOutput struct { + + // The resource policy in JSON format. + PolicyDocument *string + + // The Amazon Resource Name (ARN) of the CloudFront resource that is associated + // with the resource policy. + ResourceArn *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsRestxml_serializeOpGetResourcePolicy{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestxml_deserializeOpGetResourcePolicy{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "GetResourcePolicy"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpGetResourcePolicyValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourcePolicy(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opGetResourcePolicy(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "GetResourcePolicy", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetResponseHeadersPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetResponseHeadersPolicy.go index 6b5f407061..ec27471e7d 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetResponseHeadersPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetResponseHeadersPolicy.go @@ -157,40 +157,7 @@ func (c *Client) addOperationGetResponseHeadersPolicyMiddlewares(stack *middlewa if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetResponseHeadersPolicyConfig.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetResponseHeadersPolicyConfig.go index 7ebefbbf07..4208a09645 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetResponseHeadersPolicyConfig.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetResponseHeadersPolicyConfig.go @@ -156,40 +156,7 @@ func (c *Client) addOperationGetResponseHeadersPolicyConfigMiddlewares(stack *mi if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetStreamingDistribution.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetStreamingDistribution.go index d057e3940e..8d6e4c1178 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetStreamingDistribution.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetStreamingDistribution.go @@ -152,40 +152,7 @@ func (c *Client) addOperationGetStreamingDistributionMiddlewares(stack *middlewa if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetStreamingDistributionConfig.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetStreamingDistributionConfig.go index 63b672af33..732e425f31 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetStreamingDistributionConfig.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetStreamingDistributionConfig.go @@ -147,40 +147,7 @@ func (c *Client) addOperationGetStreamingDistributionConfigMiddlewares(stack *mi if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetTrustStore.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetTrustStore.go new file mode 100644 index 0000000000..0af75d3fa2 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetTrustStore.go @@ -0,0 +1,160 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package cloudfront + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/service/cloudfront/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Gets a trust store. +func (c *Client) GetTrustStore(ctx context.Context, params *GetTrustStoreInput, optFns ...func(*Options)) (*GetTrustStoreOutput, error) { + if params == nil { + params = &GetTrustStoreInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "GetTrustStore", params, optFns, c.addOperationGetTrustStoreMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*GetTrustStoreOutput) + out.ResultMetadata = metadata + return out, nil +} + +type GetTrustStoreInput struct { + + // The trust store's identifier. + // + // This member is required. + Identifier *string + + noSmithyDocumentSerde +} + +type GetTrustStoreOutput struct { + + // The version identifier for the current version of the trust store. + ETag *string + + // The trust store. + TrustStore *types.TrustStore + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationGetTrustStoreMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsRestxml_serializeOpGetTrustStore{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestxml_deserializeOpGetTrustStore{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "GetTrustStore"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpGetTrustStoreValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTrustStore(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opGetTrustStore(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "GetTrustStore", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetVpcOrigin.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetVpcOrigin.go index 6739c8f92e..a2e979cdb2 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetVpcOrigin.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_GetVpcOrigin.go @@ -145,40 +145,7 @@ func (c *Client) addOperationGetVpcOriginMiddlewares(stack *middleware.Stack, op if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListAnycastIpLists.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListAnycastIpLists.go index 0eae420262..99bed2c79d 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListAnycastIpLists.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListAnycastIpLists.go @@ -144,40 +144,7 @@ func (c *Client) addOperationListAnycastIpListsMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListCachePolicies.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListCachePolicies.go index 9f25daa5bf..ba84b5cd6e 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListCachePolicies.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListCachePolicies.go @@ -161,40 +161,7 @@ func (c *Client) addOperationListCachePoliciesMiddlewares(stack *middleware.Stac if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListCloudFrontOriginAccessIdentities.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListCloudFrontOriginAccessIdentities.go index 609d3197f3..d5322398fc 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListCloudFrontOriginAccessIdentities.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListCloudFrontOriginAccessIdentities.go @@ -146,40 +146,7 @@ func (c *Client) addOperationListCloudFrontOriginAccessIdentitiesMiddlewares(sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListConflictingAliases.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListConflictingAliases.go index 4f58aaf96e..571b2524dc 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListConflictingAliases.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListConflictingAliases.go @@ -191,40 +191,7 @@ func (c *Client) addOperationListConflictingAliasesMiddlewares(stack *middleware if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListConnectionFunctions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListConnectionFunctions.go new file mode 100644 index 0000000000..2b7ce28b28 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListConnectionFunctions.go @@ -0,0 +1,262 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package cloudfront + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/service/cloudfront/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Lists connection functions. +func (c *Client) ListConnectionFunctions(ctx context.Context, params *ListConnectionFunctionsInput, optFns ...func(*Options)) (*ListConnectionFunctionsOutput, error) { + if params == nil { + params = &ListConnectionFunctionsInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ListConnectionFunctions", params, optFns, c.addOperationListConnectionFunctionsMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ListConnectionFunctionsOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ListConnectionFunctionsInput struct { + + // Use this field when paginating results to indicate where to begin in your list. + // The response includes items in the list that occur after the marker. To get the + // next page of the list, set this field's value to the value of NextMarker from + // the current page's response. + Marker *string + + // The maximum number of connection functions that you want returned in the + // response. + MaxItems *int32 + + // The connection function's stage. + Stage types.FunctionStage + + noSmithyDocumentSerde +} + +type ListConnectionFunctionsOutput struct { + + // A list of connection functions. + ConnectionFunctions []types.ConnectionFunctionSummary + + // Indicates the next page of connection functions. To get the next page of the + // list, use this value in the Marker field of your request. + NextMarker *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationListConnectionFunctionsMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsRestxml_serializeOpListConnectionFunctions{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestxml_deserializeOpListConnectionFunctions{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "ListConnectionFunctions"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConnectionFunctions(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +// ListConnectionFunctionsPaginatorOptions is the paginator options for +// ListConnectionFunctions +type ListConnectionFunctionsPaginatorOptions struct { + // The maximum number of connection functions that you want returned in the + // response. + Limit int32 + + // Set to true if pagination should stop if the service returns a pagination token + // that matches the most recent token provided to the service. + StopOnDuplicateToken bool +} + +// ListConnectionFunctionsPaginator is a paginator for ListConnectionFunctions +type ListConnectionFunctionsPaginator struct { + options ListConnectionFunctionsPaginatorOptions + client ListConnectionFunctionsAPIClient + params *ListConnectionFunctionsInput + nextToken *string + firstPage bool +} + +// NewListConnectionFunctionsPaginator returns a new +// ListConnectionFunctionsPaginator +func NewListConnectionFunctionsPaginator(client ListConnectionFunctionsAPIClient, params *ListConnectionFunctionsInput, optFns ...func(*ListConnectionFunctionsPaginatorOptions)) *ListConnectionFunctionsPaginator { + if params == nil { + params = &ListConnectionFunctionsInput{} + } + + options := ListConnectionFunctionsPaginatorOptions{} + if params.MaxItems != nil { + options.Limit = *params.MaxItems + } + + for _, fn := range optFns { + fn(&options) + } + + return &ListConnectionFunctionsPaginator{ + options: options, + client: client, + params: params, + firstPage: true, + nextToken: params.Marker, + } +} + +// HasMorePages returns a boolean indicating whether more pages are available +func (p *ListConnectionFunctionsPaginator) HasMorePages() bool { + return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) +} + +// NextPage retrieves the next ListConnectionFunctions page. +func (p *ListConnectionFunctionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListConnectionFunctionsOutput, error) { + if !p.HasMorePages() { + return nil, fmt.Errorf("no more pages available") + } + + params := *p.params + params.Marker = p.nextToken + + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxItems = limit + + optFns = append([]func(*Options){ + addIsPaginatorUserAgent, + }, optFns...) + result, err := p.client.ListConnectionFunctions(ctx, ¶ms, optFns...) + if err != nil { + return nil, err + } + p.firstPage = false + + prevToken := p.nextToken + p.nextToken = result.NextMarker + + if p.options.StopOnDuplicateToken && + prevToken != nil && + p.nextToken != nil && + *prevToken == *p.nextToken { + p.nextToken = nil + } + + return result, nil +} + +// ListConnectionFunctionsAPIClient is a client that implements the +// ListConnectionFunctions operation. +type ListConnectionFunctionsAPIClient interface { + ListConnectionFunctions(context.Context, *ListConnectionFunctionsInput, ...func(*Options)) (*ListConnectionFunctionsOutput, error) +} + +var _ ListConnectionFunctionsAPIClient = (*Client)(nil) + +func newServiceMetadataMiddleware_opListConnectionFunctions(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "ListConnectionFunctions", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListConnectionGroups.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListConnectionGroups.go index 1cc414f198..55ed3043aa 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListConnectionGroups.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListConnectionGroups.go @@ -148,40 +148,7 @@ func (c *Client) addOperationListConnectionGroupsMiddlewares(stack *middleware.S if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListContinuousDeploymentPolicies.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListContinuousDeploymentPolicies.go index f047b74c89..77befb32a6 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListContinuousDeploymentPolicies.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListContinuousDeploymentPolicies.go @@ -151,40 +151,7 @@ func (c *Client) addOperationListContinuousDeploymentPoliciesMiddlewares(stack * if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionTenants.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionTenants.go index 65aee36707..b8b1fe2cbc 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionTenants.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionTenants.go @@ -148,40 +148,7 @@ func (c *Client) addOperationListDistributionTenantsMiddlewares(stack *middlewar if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionTenantsByCustomization.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionTenantsByCustomization.go index cf57fb4ec9..debea79889 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionTenantsByCustomization.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionTenantsByCustomization.go @@ -155,40 +155,7 @@ func (c *Client) addOperationListDistributionTenantsByCustomizationMiddlewares(s if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributions.go index 3f79be214b..5e7e90a56a 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributions.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributions.go @@ -146,40 +146,7 @@ func (c *Client) addOperationListDistributionsMiddlewares(stack *middleware.Stac if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByAnycastIpListId.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByAnycastIpListId.go index 559a120451..603ccd01a0 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByAnycastIpListId.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByAnycastIpListId.go @@ -152,40 +152,7 @@ func (c *Client) addOperationListDistributionsByAnycastIpListIdMiddlewares(stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByCachePolicyId.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByCachePolicyId.go index 2249cf309c..1c441d2bd4 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByCachePolicyId.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByCachePolicyId.go @@ -158,40 +158,7 @@ func (c *Client) addOperationListDistributionsByCachePolicyIdMiddlewares(stack * if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByConnectionFunction.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByConnectionFunction.go new file mode 100644 index 0000000000..f32b7b4fb6 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByConnectionFunction.go @@ -0,0 +1,265 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package cloudfront + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/service/cloudfront/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Lists distributions by connection function. +func (c *Client) ListDistributionsByConnectionFunction(ctx context.Context, params *ListDistributionsByConnectionFunctionInput, optFns ...func(*Options)) (*ListDistributionsByConnectionFunctionOutput, error) { + if params == nil { + params = &ListDistributionsByConnectionFunctionInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ListDistributionsByConnectionFunction", params, optFns, c.addOperationListDistributionsByConnectionFunctionMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ListDistributionsByConnectionFunctionOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ListDistributionsByConnectionFunctionInput struct { + + // The distributions by connection function identifier. + // + // This member is required. + ConnectionFunctionIdentifier *string + + // Use this field when paginating results to indicate where to begin in your list. + // The response includes items in the list that occur after the marker. To get the + // next page of the list, set this field's value to the value of NextMarker from + // the current page's response. + Marker *string + + // The maximum number of distributions that you want returned in the response. + MaxItems *int32 + + noSmithyDocumentSerde +} + +type ListDistributionsByConnectionFunctionOutput struct { + + // A distribution list. + DistributionList *types.DistributionList + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationListDistributionsByConnectionFunctionMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsRestxml_serializeOpListDistributionsByConnectionFunction{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestxml_deserializeOpListDistributionsByConnectionFunction{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "ListDistributionsByConnectionFunction"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpListDistributionsByConnectionFunctionValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDistributionsByConnectionFunction(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +// ListDistributionsByConnectionFunctionPaginatorOptions is the paginator options +// for ListDistributionsByConnectionFunction +type ListDistributionsByConnectionFunctionPaginatorOptions struct { + // The maximum number of distributions that you want returned in the response. + Limit int32 + + // Set to true if pagination should stop if the service returns a pagination token + // that matches the most recent token provided to the service. + StopOnDuplicateToken bool +} + +// ListDistributionsByConnectionFunctionPaginator is a paginator for +// ListDistributionsByConnectionFunction +type ListDistributionsByConnectionFunctionPaginator struct { + options ListDistributionsByConnectionFunctionPaginatorOptions + client ListDistributionsByConnectionFunctionAPIClient + params *ListDistributionsByConnectionFunctionInput + nextToken *string + firstPage bool +} + +// NewListDistributionsByConnectionFunctionPaginator returns a new +// ListDistributionsByConnectionFunctionPaginator +func NewListDistributionsByConnectionFunctionPaginator(client ListDistributionsByConnectionFunctionAPIClient, params *ListDistributionsByConnectionFunctionInput, optFns ...func(*ListDistributionsByConnectionFunctionPaginatorOptions)) *ListDistributionsByConnectionFunctionPaginator { + if params == nil { + params = &ListDistributionsByConnectionFunctionInput{} + } + + options := ListDistributionsByConnectionFunctionPaginatorOptions{} + if params.MaxItems != nil { + options.Limit = *params.MaxItems + } + + for _, fn := range optFns { + fn(&options) + } + + return &ListDistributionsByConnectionFunctionPaginator{ + options: options, + client: client, + params: params, + firstPage: true, + nextToken: params.Marker, + } +} + +// HasMorePages returns a boolean indicating whether more pages are available +func (p *ListDistributionsByConnectionFunctionPaginator) HasMorePages() bool { + return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) +} + +// NextPage retrieves the next ListDistributionsByConnectionFunction page. +func (p *ListDistributionsByConnectionFunctionPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListDistributionsByConnectionFunctionOutput, error) { + if !p.HasMorePages() { + return nil, fmt.Errorf("no more pages available") + } + + params := *p.params + params.Marker = p.nextToken + + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxItems = limit + + optFns = append([]func(*Options){ + addIsPaginatorUserAgent, + }, optFns...) + result, err := p.client.ListDistributionsByConnectionFunction(ctx, ¶ms, optFns...) + if err != nil { + return nil, err + } + p.firstPage = false + + prevToken := p.nextToken + p.nextToken = nil + if result.DistributionList != nil { + p.nextToken = result.DistributionList.NextMarker + } + + if p.options.StopOnDuplicateToken && + prevToken != nil && + p.nextToken != nil && + *prevToken == *p.nextToken { + p.nextToken = nil + } + + return result, nil +} + +// ListDistributionsByConnectionFunctionAPIClient is a client that implements the +// ListDistributionsByConnectionFunction operation. +type ListDistributionsByConnectionFunctionAPIClient interface { + ListDistributionsByConnectionFunction(context.Context, *ListDistributionsByConnectionFunctionInput, ...func(*Options)) (*ListDistributionsByConnectionFunctionOutput, error) +} + +var _ ListDistributionsByConnectionFunctionAPIClient = (*Client)(nil) + +func newServiceMetadataMiddleware_opListDistributionsByConnectionFunction(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "ListDistributionsByConnectionFunction", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByConnectionMode.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByConnectionMode.go index c5b961b1fd..442991a5d2 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByConnectionMode.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByConnectionMode.go @@ -150,40 +150,7 @@ func (c *Client) addOperationListDistributionsByConnectionModeMiddlewares(stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByKeyGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByKeyGroup.go index aacf0136a9..bd8a487671 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByKeyGroup.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByKeyGroup.go @@ -158,40 +158,7 @@ func (c *Client) addOperationListDistributionsByKeyGroupMiddlewares(stack *middl if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByOriginRequestPolicyId.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByOriginRequestPolicyId.go index 22ecef1389..0408d686d1 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByOriginRequestPolicyId.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByOriginRequestPolicyId.go @@ -159,40 +159,7 @@ func (c *Client) addOperationListDistributionsByOriginRequestPolicyIdMiddlewares if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByOwnedResource.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByOwnedResource.go new file mode 100644 index 0000000000..506a7554c0 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByOwnedResource.go @@ -0,0 +1,168 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package cloudfront + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/service/cloudfront/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Lists the CloudFront distributions that are associated with the specified +// resource that you own. +func (c *Client) ListDistributionsByOwnedResource(ctx context.Context, params *ListDistributionsByOwnedResourceInput, optFns ...func(*Options)) (*ListDistributionsByOwnedResourceOutput, error) { + if params == nil { + params = &ListDistributionsByOwnedResourceInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ListDistributionsByOwnedResource", params, optFns, c.addOperationListDistributionsByOwnedResourceMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ListDistributionsByOwnedResourceOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ListDistributionsByOwnedResourceInput struct { + + // The ARN of the CloudFront resource that you've shared with other Amazon Web + // Services accounts. + // + // This member is required. + ResourceArn *string + + // Use this field when paginating results to indicate where to begin in your list + // of distributions. The response includes distributions in the list that occur + // after the marker. To get the next page of the list, set this field's value to + // the value of NextMarker from the current page's response. + Marker *string + + // The maximum number of distributions to return. + MaxItems *int32 + + noSmithyDocumentSerde +} + +type ListDistributionsByOwnedResourceOutput struct { + + // The list of distributions that are using the shared resource. + DistributionList *types.DistributionIdOwnerList + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationListDistributionsByOwnedResourceMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsRestxml_serializeOpListDistributionsByOwnedResource{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestxml_deserializeOpListDistributionsByOwnedResource{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "ListDistributionsByOwnedResource"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpListDistributionsByOwnedResourceValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDistributionsByOwnedResource(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opListDistributionsByOwnedResource(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "ListDistributionsByOwnedResource", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByRealtimeLogConfig.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByRealtimeLogConfig.go index b5a18dab82..b6a1c37159 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByRealtimeLogConfig.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByRealtimeLogConfig.go @@ -163,40 +163,7 @@ func (c *Client) addOperationListDistributionsByRealtimeLogConfigMiddlewares(sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByResponseHeadersPolicyId.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByResponseHeadersPolicyId.go index c06269f5a4..eeb74b8151 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByResponseHeadersPolicyId.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByResponseHeadersPolicyId.go @@ -159,40 +159,7 @@ func (c *Client) addOperationListDistributionsByResponseHeadersPolicyIdMiddlewar if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByTrustStore.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByTrustStore.go new file mode 100644 index 0000000000..124ef289ca --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByTrustStore.go @@ -0,0 +1,265 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package cloudfront + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/service/cloudfront/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Lists distributions by trust store. +func (c *Client) ListDistributionsByTrustStore(ctx context.Context, params *ListDistributionsByTrustStoreInput, optFns ...func(*Options)) (*ListDistributionsByTrustStoreOutput, error) { + if params == nil { + params = &ListDistributionsByTrustStoreInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ListDistributionsByTrustStore", params, optFns, c.addOperationListDistributionsByTrustStoreMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ListDistributionsByTrustStoreOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ListDistributionsByTrustStoreInput struct { + + // The distributions by trust store identifier. + // + // This member is required. + TrustStoreIdentifier *string + + // Use this field when paginating results to indicate where to begin in your list. + // The response includes items in the list that occur after the marker. To get the + // next page of the list, set this field's value to the value of NextMarker from + // the current page's response. + Marker *string + + // The maximum number of distributions that you want returned in the response. + MaxItems *int32 + + noSmithyDocumentSerde +} + +type ListDistributionsByTrustStoreOutput struct { + + // A distribution list. + DistributionList *types.DistributionList + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationListDistributionsByTrustStoreMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsRestxml_serializeOpListDistributionsByTrustStore{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestxml_deserializeOpListDistributionsByTrustStore{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "ListDistributionsByTrustStore"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpListDistributionsByTrustStoreValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDistributionsByTrustStore(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +// ListDistributionsByTrustStorePaginatorOptions is the paginator options for +// ListDistributionsByTrustStore +type ListDistributionsByTrustStorePaginatorOptions struct { + // The maximum number of distributions that you want returned in the response. + Limit int32 + + // Set to true if pagination should stop if the service returns a pagination token + // that matches the most recent token provided to the service. + StopOnDuplicateToken bool +} + +// ListDistributionsByTrustStorePaginator is a paginator for +// ListDistributionsByTrustStore +type ListDistributionsByTrustStorePaginator struct { + options ListDistributionsByTrustStorePaginatorOptions + client ListDistributionsByTrustStoreAPIClient + params *ListDistributionsByTrustStoreInput + nextToken *string + firstPage bool +} + +// NewListDistributionsByTrustStorePaginator returns a new +// ListDistributionsByTrustStorePaginator +func NewListDistributionsByTrustStorePaginator(client ListDistributionsByTrustStoreAPIClient, params *ListDistributionsByTrustStoreInput, optFns ...func(*ListDistributionsByTrustStorePaginatorOptions)) *ListDistributionsByTrustStorePaginator { + if params == nil { + params = &ListDistributionsByTrustStoreInput{} + } + + options := ListDistributionsByTrustStorePaginatorOptions{} + if params.MaxItems != nil { + options.Limit = *params.MaxItems + } + + for _, fn := range optFns { + fn(&options) + } + + return &ListDistributionsByTrustStorePaginator{ + options: options, + client: client, + params: params, + firstPage: true, + nextToken: params.Marker, + } +} + +// HasMorePages returns a boolean indicating whether more pages are available +func (p *ListDistributionsByTrustStorePaginator) HasMorePages() bool { + return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) +} + +// NextPage retrieves the next ListDistributionsByTrustStore page. +func (p *ListDistributionsByTrustStorePaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListDistributionsByTrustStoreOutput, error) { + if !p.HasMorePages() { + return nil, fmt.Errorf("no more pages available") + } + + params := *p.params + params.Marker = p.nextToken + + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxItems = limit + + optFns = append([]func(*Options){ + addIsPaginatorUserAgent, + }, optFns...) + result, err := p.client.ListDistributionsByTrustStore(ctx, ¶ms, optFns...) + if err != nil { + return nil, err + } + p.firstPage = false + + prevToken := p.nextToken + p.nextToken = nil + if result.DistributionList != nil { + p.nextToken = result.DistributionList.NextMarker + } + + if p.options.StopOnDuplicateToken && + prevToken != nil && + p.nextToken != nil && + *prevToken == *p.nextToken { + p.nextToken = nil + } + + return result, nil +} + +// ListDistributionsByTrustStoreAPIClient is a client that implements the +// ListDistributionsByTrustStore operation. +type ListDistributionsByTrustStoreAPIClient interface { + ListDistributionsByTrustStore(context.Context, *ListDistributionsByTrustStoreInput, ...func(*Options)) (*ListDistributionsByTrustStoreOutput, error) +} + +var _ ListDistributionsByTrustStoreAPIClient = (*Client)(nil) + +func newServiceMetadataMiddleware_opListDistributionsByTrustStore(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "ListDistributionsByTrustStore", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByVpcOriginId.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByVpcOriginId.go index 47a77de744..e461d96f0a 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByVpcOriginId.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByVpcOriginId.go @@ -148,40 +148,7 @@ func (c *Client) addOperationListDistributionsByVpcOriginIdMiddlewares(stack *mi if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByWebACLId.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByWebACLId.go index 258ac90a73..c56fb62213 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByWebACLId.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDistributionsByWebACLId.go @@ -166,40 +166,7 @@ func (c *Client) addOperationListDistributionsByWebACLIdMiddlewares(stack *middl if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDomainConflicts.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDomainConflicts.go index af8560ee86..6695e1af1d 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDomainConflicts.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListDomainConflicts.go @@ -196,40 +196,7 @@ func (c *Client) addOperationListDomainConflictsMiddlewares(stack *middleware.St if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListFieldLevelEncryptionConfigs.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListFieldLevelEncryptionConfigs.go index 59298f7cae..c33a538d62 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListFieldLevelEncryptionConfigs.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListFieldLevelEncryptionConfigs.go @@ -147,40 +147,7 @@ func (c *Client) addOperationListFieldLevelEncryptionConfigsMiddlewares(stack *m if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListFieldLevelEncryptionProfiles.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListFieldLevelEncryptionProfiles.go index 110ba1cf03..6617bece38 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListFieldLevelEncryptionProfiles.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListFieldLevelEncryptionProfiles.go @@ -147,40 +147,7 @@ func (c *Client) addOperationListFieldLevelEncryptionProfilesMiddlewares(stack * if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListFunctions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListFunctions.go index 4541338122..4964d7a1be 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListFunctions.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListFunctions.go @@ -156,40 +156,7 @@ func (c *Client) addOperationListFunctionsMiddlewares(stack *middleware.Stack, o if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListInvalidations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListInvalidations.go index e5e9b3bd61..91fdbf0e6c 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListInvalidations.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListInvalidations.go @@ -156,40 +156,7 @@ func (c *Client) addOperationListInvalidationsMiddlewares(stack *middleware.Stac if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListInvalidationsForDistributionTenant.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListInvalidationsForDistributionTenant.go index f8c6ae814e..545376983c 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListInvalidationsForDistributionTenant.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListInvalidationsForDistributionTenant.go @@ -158,40 +158,7 @@ func (c *Client) addOperationListInvalidationsForDistributionTenantMiddlewares(s if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListKeyGroups.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListKeyGroups.go index 61b9265e69..c09ddb304f 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListKeyGroups.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListKeyGroups.go @@ -149,40 +149,7 @@ func (c *Client) addOperationListKeyGroupsMiddlewares(stack *middleware.Stack, o if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListKeyValueStores.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListKeyValueStores.go index 6445213bb1..d024611f69 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListKeyValueStores.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListKeyValueStores.go @@ -143,40 +143,7 @@ func (c *Client) addOperationListKeyValueStoresMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListOriginAccessControls.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListOriginAccessControls.go index aeb5c35264..5a5227b8bb 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListOriginAccessControls.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListOriginAccessControls.go @@ -154,40 +154,7 @@ func (c *Client) addOperationListOriginAccessControlsMiddlewares(stack *middlewa if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListOriginRequestPolicies.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListOriginRequestPolicies.go index a47e68df07..e2097da887 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListOriginRequestPolicies.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListOriginRequestPolicies.go @@ -162,40 +162,7 @@ func (c *Client) addOperationListOriginRequestPoliciesMiddlewares(stack *middlew if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListPublicKeys.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListPublicKeys.go index 3a652f96ab..428fbe92e2 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListPublicKeys.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListPublicKeys.go @@ -145,40 +145,7 @@ func (c *Client) addOperationListPublicKeysMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListRealtimeLogConfigs.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListRealtimeLogConfigs.go index 4855fe7a77..52b1b642a4 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListRealtimeLogConfigs.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListRealtimeLogConfigs.go @@ -151,40 +151,7 @@ func (c *Client) addOperationListRealtimeLogConfigsMiddlewares(stack *middleware if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListResponseHeadersPolicies.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListResponseHeadersPolicies.go index 8067b122e1..bf71cffad3 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListResponseHeadersPolicies.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListResponseHeadersPolicies.go @@ -163,40 +163,7 @@ func (c *Client) addOperationListResponseHeadersPoliciesMiddlewares(stack *middl if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListStreamingDistributions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListStreamingDistributions.go index 1c61ae82f9..32c0e57915 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListStreamingDistributions.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListStreamingDistributions.go @@ -142,40 +142,7 @@ func (c *Client) addOperationListStreamingDistributionsMiddlewares(stack *middle if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListTagsForResource.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListTagsForResource.go index 6c663f92a2..9d4c411117 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListTagsForResource.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListTagsForResource.go @@ -149,40 +149,7 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListTrustStores.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListTrustStores.go new file mode 100644 index 0000000000..a9e2830b22 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListTrustStores.go @@ -0,0 +1,255 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package cloudfront + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/service/cloudfront/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Lists trust stores. +func (c *Client) ListTrustStores(ctx context.Context, params *ListTrustStoresInput, optFns ...func(*Options)) (*ListTrustStoresOutput, error) { + if params == nil { + params = &ListTrustStoresInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ListTrustStores", params, optFns, c.addOperationListTrustStoresMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ListTrustStoresOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ListTrustStoresInput struct { + + // Use this field when paginating results to indicate where to begin in your list. + // The response includes items in the list that occur after the marker. To get the + // next page of the list, set this field's value to the value of NextMarker from + // the current page's response. + Marker *string + + // The maximum number of trust stores that you want returned in the response. + MaxItems *int32 + + noSmithyDocumentSerde +} + +type ListTrustStoresOutput struct { + + // Indicates the next page of trust stores. To get the next page of the list, use + // this value in the Marker field of your request. + NextMarker *string + + // The trust store list. + TrustStoreList []types.TrustStoreSummary + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationListTrustStoresMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsRestxml_serializeOpListTrustStores{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestxml_deserializeOpListTrustStores{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "ListTrustStores"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTrustStores(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +// ListTrustStoresPaginatorOptions is the paginator options for ListTrustStores +type ListTrustStoresPaginatorOptions struct { + // The maximum number of trust stores that you want returned in the response. + Limit int32 + + // Set to true if pagination should stop if the service returns a pagination token + // that matches the most recent token provided to the service. + StopOnDuplicateToken bool +} + +// ListTrustStoresPaginator is a paginator for ListTrustStores +type ListTrustStoresPaginator struct { + options ListTrustStoresPaginatorOptions + client ListTrustStoresAPIClient + params *ListTrustStoresInput + nextToken *string + firstPage bool +} + +// NewListTrustStoresPaginator returns a new ListTrustStoresPaginator +func NewListTrustStoresPaginator(client ListTrustStoresAPIClient, params *ListTrustStoresInput, optFns ...func(*ListTrustStoresPaginatorOptions)) *ListTrustStoresPaginator { + if params == nil { + params = &ListTrustStoresInput{} + } + + options := ListTrustStoresPaginatorOptions{} + if params.MaxItems != nil { + options.Limit = *params.MaxItems + } + + for _, fn := range optFns { + fn(&options) + } + + return &ListTrustStoresPaginator{ + options: options, + client: client, + params: params, + firstPage: true, + nextToken: params.Marker, + } +} + +// HasMorePages returns a boolean indicating whether more pages are available +func (p *ListTrustStoresPaginator) HasMorePages() bool { + return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) +} + +// NextPage retrieves the next ListTrustStores page. +func (p *ListTrustStoresPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListTrustStoresOutput, error) { + if !p.HasMorePages() { + return nil, fmt.Errorf("no more pages available") + } + + params := *p.params + params.Marker = p.nextToken + + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxItems = limit + + optFns = append([]func(*Options){ + addIsPaginatorUserAgent, + }, optFns...) + result, err := p.client.ListTrustStores(ctx, ¶ms, optFns...) + if err != nil { + return nil, err + } + p.firstPage = false + + prevToken := p.nextToken + p.nextToken = result.NextMarker + + if p.options.StopOnDuplicateToken && + prevToken != nil && + p.nextToken != nil && + *prevToken == *p.nextToken { + p.nextToken = nil + } + + return result, nil +} + +// ListTrustStoresAPIClient is a client that implements the ListTrustStores +// operation. +type ListTrustStoresAPIClient interface { + ListTrustStores(context.Context, *ListTrustStoresInput, ...func(*Options)) (*ListTrustStoresOutput, error) +} + +var _ ListTrustStoresAPIClient = (*Client)(nil) + +func newServiceMetadataMiddleware_opListTrustStores(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "ListTrustStores", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListVpcOrigins.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListVpcOrigins.go index f8fedd27e9..c47df19831 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListVpcOrigins.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_ListVpcOrigins.go @@ -140,40 +140,7 @@ func (c *Client) addOperationListVpcOriginsMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_PublishConnectionFunction.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_PublishConnectionFunction.go new file mode 100644 index 0000000000..1a0eebf64d --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_PublishConnectionFunction.go @@ -0,0 +1,162 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package cloudfront + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/service/cloudfront/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Publishes a connection function. +func (c *Client) PublishConnectionFunction(ctx context.Context, params *PublishConnectionFunctionInput, optFns ...func(*Options)) (*PublishConnectionFunctionOutput, error) { + if params == nil { + params = &PublishConnectionFunctionInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "PublishConnectionFunction", params, optFns, c.addOperationPublishConnectionFunctionMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*PublishConnectionFunctionOutput) + out.ResultMetadata = metadata + return out, nil +} + +type PublishConnectionFunctionInput struct { + + // The connection function ID. + // + // This member is required. + Id *string + + // The current version ( ETag value) of the connection function. + // + // This member is required. + IfMatch *string + + noSmithyDocumentSerde +} + +type PublishConnectionFunctionOutput struct { + + // The connection function summary. + ConnectionFunctionSummary *types.ConnectionFunctionSummary + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationPublishConnectionFunctionMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsRestxml_serializeOpPublishConnectionFunction{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestxml_deserializeOpPublishConnectionFunction{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "PublishConnectionFunction"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpPublishConnectionFunctionValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPublishConnectionFunction(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opPublishConnectionFunction(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "PublishConnectionFunction", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_PublishFunction.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_PublishFunction.go index cbcf7fa70b..7bbd522365 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_PublishFunction.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_PublishFunction.go @@ -157,40 +157,7 @@ func (c *Client) addOperationPublishFunctionMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_PutResourcePolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_PutResourcePolicy.go new file mode 100644 index 0000000000..3ff09b77dc --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_PutResourcePolicy.go @@ -0,0 +1,163 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package cloudfront + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Creates a resource control policy for a given CloudFront resource. +func (c *Client) PutResourcePolicy(ctx context.Context, params *PutResourcePolicyInput, optFns ...func(*Options)) (*PutResourcePolicyOutput, error) { + if params == nil { + params = &PutResourcePolicyInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "PutResourcePolicy", params, optFns, c.addOperationPutResourcePolicyMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*PutResourcePolicyOutput) + out.ResultMetadata = metadata + return out, nil +} + +type PutResourcePolicyInput struct { + + // The JSON-formatted resource policy to create. + // + // This member is required. + PolicyDocument *string + + // The Amazon Resource Name (ARN) of the CloudFront resource for which the policy + // is being created. + // + // This member is required. + ResourceArn *string + + noSmithyDocumentSerde +} + +type PutResourcePolicyOutput struct { + + // The Amazon Resource Name (ARN) of the CloudFront resource for which the policy + // was created. + ResourceArn *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsRestxml_serializeOpPutResourcePolicy{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestxml_deserializeOpPutResourcePolicy{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "PutResourcePolicy"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpPutResourcePolicyValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutResourcePolicy(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opPutResourcePolicy(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "PutResourcePolicy", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_TagResource.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_TagResource.go index e701342298..07fb4eb08c 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_TagResource.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_TagResource.go @@ -147,40 +147,7 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_TestConnectionFunction.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_TestConnectionFunction.go new file mode 100644 index 0000000000..715894e881 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_TestConnectionFunction.go @@ -0,0 +1,170 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package cloudfront + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/service/cloudfront/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Tests a connection function. +func (c *Client) TestConnectionFunction(ctx context.Context, params *TestConnectionFunctionInput, optFns ...func(*Options)) (*TestConnectionFunctionOutput, error) { + if params == nil { + params = &TestConnectionFunctionInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "TestConnectionFunction", params, optFns, c.addOperationTestConnectionFunctionMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*TestConnectionFunctionOutput) + out.ResultMetadata = metadata + return out, nil +} + +type TestConnectionFunctionInput struct { + + // The connection object. + // + // This member is required. + ConnectionObject []byte + + // The connection function ID. + // + // This member is required. + Id *string + + // The current version ( ETag value) of the connection function. + // + // This member is required. + IfMatch *string + + // The connection function stage. + Stage types.FunctionStage + + noSmithyDocumentSerde +} + +type TestConnectionFunctionOutput struct { + + // The connection function test result. + ConnectionFunctionTestResult *types.ConnectionFunctionTestResult + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationTestConnectionFunctionMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsRestxml_serializeOpTestConnectionFunction{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestxml_deserializeOpTestConnectionFunction{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "TestConnectionFunction"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpTestConnectionFunctionValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestConnectionFunction(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opTestConnectionFunction(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "TestConnectionFunction", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_TestFunction.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_TestFunction.go index bdf366cc40..7bde0a87ad 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_TestFunction.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_TestFunction.go @@ -174,40 +174,7 @@ func (c *Client) addOperationTestFunctionMiddlewares(stack *middleware.Stack, op if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UntagResource.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UntagResource.go index fc0c01b899..64af968922 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UntagResource.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UntagResource.go @@ -147,40 +147,7 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateAnycastIpList.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateAnycastIpList.go new file mode 100644 index 0000000000..0ba27a94e9 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateAnycastIpList.go @@ -0,0 +1,179 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package cloudfront + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/service/cloudfront/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Updates an Anycast static IP list. +func (c *Client) UpdateAnycastIpList(ctx context.Context, params *UpdateAnycastIpListInput, optFns ...func(*Options)) (*UpdateAnycastIpListOutput, error) { + if params == nil { + params = &UpdateAnycastIpListInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "UpdateAnycastIpList", params, optFns, c.addOperationUpdateAnycastIpListMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*UpdateAnycastIpListOutput) + out.ResultMetadata = metadata + return out, nil +} + +type UpdateAnycastIpListInput struct { + + // The ID of the Anycast static IP list. + // + // This member is required. + Id *string + + // The current version (ETag value) of the Anycast static IP list that you are + // updating. + // + // This member is required. + IfMatch *string + + // The IP address type for the Anycast static IP list. You can specify one of the + // following options: + // + // - ipv4 only + // + // - ipv6 only + // + // - dualstack - Allocate a list of both IPv4 and IPv6 addresses + IpAddressType types.IpAddressType + + noSmithyDocumentSerde +} + +type UpdateAnycastIpListOutput struct { + + // An Anycast static IP list. For more information, see [Request Anycast static IPs to use for allowlisting] in the Amazon CloudFront + // Developer Guide. + // + // [Request Anycast static IPs to use for allowlisting]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/request-static-ips.html + AnycastIpList *types.AnycastIpList + + // The current version of the Anycast static IP list. + ETag *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationUpdateAnycastIpListMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsRestxml_serializeOpUpdateAnycastIpList{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestxml_deserializeOpUpdateAnycastIpList{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "UpdateAnycastIpList"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpUpdateAnycastIpListValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAnycastIpList(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opUpdateAnycastIpList(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "UpdateAnycastIpList", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateCachePolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateCachePolicy.go index 63e4865a08..2e9fd3bdd3 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateCachePolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateCachePolicy.go @@ -173,40 +173,7 @@ func (c *Client) addOperationUpdateCachePolicyMiddlewares(stack *middleware.Stac if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateCloudFrontOriginAccessIdentity.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateCloudFrontOriginAccessIdentity.go index 53768e981b..ddc7b8ebad 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateCloudFrontOriginAccessIdentity.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateCloudFrontOriginAccessIdentity.go @@ -156,40 +156,7 @@ func (c *Client) addOperationUpdateCloudFrontOriginAccessIdentityMiddlewares(sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateConnectionFunction.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateConnectionFunction.go new file mode 100644 index 0000000000..d138d747cf --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateConnectionFunction.go @@ -0,0 +1,175 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package cloudfront + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/service/cloudfront/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Updates a connection function. +func (c *Client) UpdateConnectionFunction(ctx context.Context, params *UpdateConnectionFunctionInput, optFns ...func(*Options)) (*UpdateConnectionFunctionOutput, error) { + if params == nil { + params = &UpdateConnectionFunctionInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "UpdateConnectionFunction", params, optFns, c.addOperationUpdateConnectionFunctionMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*UpdateConnectionFunctionOutput) + out.ResultMetadata = metadata + return out, nil +} + +type UpdateConnectionFunctionInput struct { + + // The connection function code. + // + // This member is required. + ConnectionFunctionCode []byte + + // Contains configuration information about a CloudFront function. + // + // This member is required. + ConnectionFunctionConfig *types.FunctionConfig + + // The connection function ID. + // + // This member is required. + Id *string + + // The current version ( ETag value) of the connection function you are updating. + // + // This member is required. + IfMatch *string + + noSmithyDocumentSerde +} + +type UpdateConnectionFunctionOutput struct { + + // The connection function summary. + ConnectionFunctionSummary *types.ConnectionFunctionSummary + + // The version identifier for the current version of the connection function. + ETag *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationUpdateConnectionFunctionMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsRestxml_serializeOpUpdateConnectionFunction{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestxml_deserializeOpUpdateConnectionFunction{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "UpdateConnectionFunction"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpUpdateConnectionFunctionValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConnectionFunction(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opUpdateConnectionFunction(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "UpdateConnectionFunction", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateConnectionGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateConnectionGroup.go index 31481edaf4..e1da0da5a4 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateConnectionGroup.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateConnectionGroup.go @@ -163,40 +163,7 @@ func (c *Client) addOperationUpdateConnectionGroupMiddlewares(stack *middleware. if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateContinuousDeploymentPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateContinuousDeploymentPolicy.go index e2cc5fb87b..3ee7a37bd4 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateContinuousDeploymentPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateContinuousDeploymentPolicy.go @@ -172,40 +172,7 @@ func (c *Client) addOperationUpdateContinuousDeploymentPolicyMiddlewares(stack * if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateDistribution.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateDistribution.go index 45c94f610c..aad9a62ae6 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateDistribution.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateDistribution.go @@ -180,40 +180,7 @@ func (c *Client) addOperationUpdateDistributionMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateDistributionTenant.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateDistributionTenant.go index c6dc2b48af..66c43a68c6 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateDistributionTenant.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateDistributionTenant.go @@ -183,40 +183,7 @@ func (c *Client) addOperationUpdateDistributionTenantMiddlewares(stack *middlewa if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateDistributionWithStagingConfig.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateDistributionWithStagingConfig.go index efe392e745..5b4d319f5d 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateDistributionWithStagingConfig.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateDistributionWithStagingConfig.go @@ -177,40 +177,7 @@ func (c *Client) addOperationUpdateDistributionWithStagingConfigMiddlewares(stac if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateDomainAssociation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateDomainAssociation.go index eb29a3695d..b376fa3d96 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateDomainAssociation.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateDomainAssociation.go @@ -177,40 +177,7 @@ func (c *Client) addOperationUpdateDomainAssociationMiddlewares(stack *middlewar if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateFieldLevelEncryptionConfig.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateFieldLevelEncryptionConfig.go index 949ef7e1ed..6e3a59f5d5 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateFieldLevelEncryptionConfig.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateFieldLevelEncryptionConfig.go @@ -155,40 +155,7 @@ func (c *Client) addOperationUpdateFieldLevelEncryptionConfigMiddlewares(stack * if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateFieldLevelEncryptionProfile.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateFieldLevelEncryptionProfile.go index 9ea8b6b364..a17d52b0ab 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateFieldLevelEncryptionProfile.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateFieldLevelEncryptionProfile.go @@ -154,40 +154,7 @@ func (c *Client) addOperationUpdateFieldLevelEncryptionProfileMiddlewares(stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateFunction.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateFunction.go index 36ae861e5f..07e7d0a4d2 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateFunction.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateFunction.go @@ -171,40 +171,7 @@ func (c *Client) addOperationUpdateFunctionMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateKeyGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateKeyGroup.go index b1331c859c..a3fdc5bbdb 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateKeyGroup.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateKeyGroup.go @@ -166,40 +166,7 @@ func (c *Client) addOperationUpdateKeyGroupMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateKeyValueStore.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateKeyValueStore.go index 7af344e68e..02ba103d52 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateKeyValueStore.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateKeyValueStore.go @@ -155,40 +155,7 @@ func (c *Client) addOperationUpdateKeyValueStoreMiddlewares(stack *middleware.St if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateOriginAccessControl.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateOriginAccessControl.go index 5d7bde3993..098dbbe1e1 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateOriginAccessControl.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateOriginAccessControl.go @@ -154,40 +154,7 @@ func (c *Client) addOperationUpdateOriginAccessControlMiddlewares(stack *middlew if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateOriginRequestPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateOriginRequestPolicy.go index 684a15b66c..9b8759af01 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateOriginRequestPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateOriginRequestPolicy.go @@ -169,40 +169,7 @@ func (c *Client) addOperationUpdateOriginRequestPolicyMiddlewares(stack *middlew if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdatePublicKey.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdatePublicKey.go index 410dd2707c..ef76a00aa0 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdatePublicKey.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdatePublicKey.go @@ -155,40 +155,7 @@ func (c *Client) addOperationUpdatePublicKeyMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateRealtimeLogConfig.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateRealtimeLogConfig.go index e8226ffe25..d1b1683afe 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateRealtimeLogConfig.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateRealtimeLogConfig.go @@ -175,40 +175,7 @@ func (c *Client) addOperationUpdateRealtimeLogConfigMiddlewares(stack *middlewar if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateResponseHeadersPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateResponseHeadersPolicy.go index 539cd76e55..f14bc3d87f 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateResponseHeadersPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateResponseHeadersPolicy.go @@ -169,40 +169,7 @@ func (c *Client) addOperationUpdateResponseHeadersPolicyMiddlewares(stack *middl if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateStreamingDistribution.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateStreamingDistribution.go index 153eae8035..b9bad32c6f 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateStreamingDistribution.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateStreamingDistribution.go @@ -156,40 +156,7 @@ func (c *Client) addOperationUpdateStreamingDistributionMiddlewares(stack *middl if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateTrustStore.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateTrustStore.go new file mode 100644 index 0000000000..9490b7ff5f --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateTrustStore.go @@ -0,0 +1,170 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package cloudfront + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/service/cloudfront/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Updates a trust store. +func (c *Client) UpdateTrustStore(ctx context.Context, params *UpdateTrustStoreInput, optFns ...func(*Options)) (*UpdateTrustStoreOutput, error) { + if params == nil { + params = &UpdateTrustStoreInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "UpdateTrustStore", params, optFns, c.addOperationUpdateTrustStoreMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*UpdateTrustStoreOutput) + out.ResultMetadata = metadata + return out, nil +} + +type UpdateTrustStoreInput struct { + + // The CA certificates bundle source. + // + // This member is required. + CaCertificatesBundleSource types.CaCertificatesBundleSource + + // The trust store ID. + // + // This member is required. + Id *string + + // The current version ( ETag value) of the trust store you are updating. + // + // This member is required. + IfMatch *string + + noSmithyDocumentSerde +} + +type UpdateTrustStoreOutput struct { + + // The version identifier for the current version of the trust store. + ETag *string + + // The trust store. + TrustStore *types.TrustStore + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationUpdateTrustStoreMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsRestxml_serializeOpUpdateTrustStore{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestxml_deserializeOpUpdateTrustStore{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "UpdateTrustStore"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpUpdateTrustStoreValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTrustStore(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opUpdateTrustStore(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "UpdateTrustStore", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateVpcOrigin.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateVpcOrigin.go index b04a2a0c0d..ac03ef9032 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateVpcOrigin.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_UpdateVpcOrigin.go @@ -155,40 +155,7 @@ func (c *Client) addOperationUpdateVpcOriginMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_VerifyDnsConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_VerifyDnsConfiguration.go index 30bebfc75b..91198fb143 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_VerifyDnsConfiguration.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/api_op_VerifyDnsConfiguration.go @@ -149,40 +149,7 @@ func (c *Client) addOperationVerifyDnsConfigurationMiddlewares(stack *middleware if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/auth.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/auth.go index b37cff1598..f6b70daa90 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/auth.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/auth.go @@ -16,8 +16,9 @@ import ( "strings" ) -func bindAuthParamsRegion(_ interface{}, params *AuthResolverParameters, _ interface{}, options Options) { +func bindAuthParamsRegion(_ interface{}, params *AuthResolverParameters, _ interface{}, options Options) error { params.Region = options.Region + return nil } type setLegacyContextSigningOptionsMiddleware struct { @@ -94,14 +95,16 @@ type AuthResolverParameters struct { Region string } -func bindAuthResolverParams(ctx context.Context, operation string, input interface{}, options Options) *AuthResolverParameters { +func bindAuthResolverParams(ctx context.Context, operation string, input interface{}, options Options) (*AuthResolverParameters, error) { params := &AuthResolverParameters{ Operation: operation, } - bindAuthParamsRegion(ctx, params, input, options) + if err := bindAuthParamsRegion(ctx, params, input, options); err != nil { + return nil, err + } - return params + return params, nil } // AuthSchemeResolver returns a set of possible authentication options for an @@ -152,7 +155,10 @@ func (m *resolveAuthSchemeMiddleware) HandleFinalize(ctx context.Context, in mid _, span := tracing.StartSpan(ctx, "ResolveAuthScheme") defer span.End() - params := bindAuthResolverParams(ctx, m.operation, getOperationInput(ctx), m.options) + params, err := bindAuthResolverParams(ctx, m.operation, getOperationInput(ctx), m.options) + if err != nil { + return out, metadata, fmt.Errorf("bind auth scheme params: %w", err) + } options, err := m.options.AuthSchemeResolver.ResolveAuthSchemes(ctx, params) if err != nil { return out, metadata, fmt.Errorf("resolve auth scheme: %w", err) diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/deserializers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/deserializers.go index 58ab52a92d..b2d9018fb1 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/deserializers.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/deserializers.go @@ -209,6 +209,9 @@ func awsRestxml_deserializeOpErrorAssociateDistributionTenantWebACL(response *sm case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + case strings.EqualFold("EntityLimitExceeded", errorCode): + return awsRestxml_deserializeErrorEntityLimitExceeded(response, errorBody) + case strings.EqualFold("EntityNotFound", errorCode): return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) @@ -400,6 +403,9 @@ func awsRestxml_deserializeOpErrorAssociateDistributionWebACL(response *smithyht case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + case strings.EqualFold("EntityLimitExceeded", errorCode): + return awsRestxml_deserializeErrorEntityLimitExceeded(response, errorBody) + case strings.EqualFold("EntityNotFound", errorCode): return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) @@ -1384,14 +1390,14 @@ func awsRestxml_deserializeOpDocumentCreateCloudFrontOriginAccessIdentityOutput( return nil } -type awsRestxml_deserializeOpCreateConnectionGroup struct { +type awsRestxml_deserializeOpCreateConnectionFunction struct { } -func (*awsRestxml_deserializeOpCreateConnectionGroup) ID() string { +func (*awsRestxml_deserializeOpCreateConnectionFunction) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpCreateConnectionGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpCreateConnectionFunction) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -1409,12 +1415,12 @@ func (m *awsRestxml_deserializeOpCreateConnectionGroup) HandleDeserialize(ctx co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorCreateConnectionGroup(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorCreateConnectionFunction(response, &metadata) } - output := &CreateConnectionGroupOutput{} + output := &CreateConnectionFunctionOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsCreateConnectionGroupOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsCreateConnectionFunctionOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -1437,7 +1443,7 @@ func (m *awsRestxml_deserializeOpCreateConnectionGroup) HandleDeserialize(ctx co } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentConnectionGroup(&output.ConnectionGroup, decoder) + err = awsRestxml_deserializeDocumentConnectionFunctionSummary(&output.ConnectionFunctionSummary, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -1451,7 +1457,7 @@ func (m *awsRestxml_deserializeOpCreateConnectionGroup) HandleDeserialize(ctx co return out, metadata, err } -func awsRestxml_deserializeOpErrorCreateConnectionGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorCreateConnectionFunction(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -1485,8 +1491,8 @@ func awsRestxml_deserializeOpErrorCreateConnectionGroup(response *smithyhttp.Res case strings.EqualFold("EntityLimitExceeded", errorCode): return awsRestxml_deserializeErrorEntityLimitExceeded(response, errorBody) - case strings.EqualFold("EntityNotFound", errorCode): - return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + case strings.EqualFold("EntitySizeLimitExceeded", errorCode): + return awsRestxml_deserializeErrorEntitySizeLimitExceeded(response, errorBody) case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) @@ -1494,6 +1500,9 @@ func awsRestxml_deserializeOpErrorCreateConnectionGroup(response *smithyhttp.Res case strings.EqualFold("InvalidTagging", errorCode): return awsRestxml_deserializeErrorInvalidTagging(response, errorBody) + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -1504,7 +1513,7 @@ func awsRestxml_deserializeOpErrorCreateConnectionGroup(response *smithyhttp.Res } } -func awsRestxml_deserializeOpHttpBindingsCreateConnectionGroupOutput(v *CreateConnectionGroupOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsCreateConnectionFunctionOutput(v *CreateConnectionFunctionOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -1514,15 +1523,20 @@ func awsRestxml_deserializeOpHttpBindingsCreateConnectionGroupOutput(v *CreateCo v.ETag = ptr.String(headerValues[0]) } + if headerValues := response.Header.Values("Location"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.Location = ptr.String(headerValues[0]) + } + return nil } -func awsRestxml_deserializeOpDocumentCreateConnectionGroupOutput(v **CreateConnectionGroupOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentCreateConnectionFunctionOutput(v **CreateConnectionFunctionOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *CreateConnectionGroupOutput + var sv *CreateConnectionFunctionOutput if *v == nil { - sv = &CreateConnectionGroupOutput{} + sv = &CreateConnectionFunctionOutput{} } else { sv = *v } @@ -1538,9 +1552,9 @@ func awsRestxml_deserializeOpDocumentCreateConnectionGroupOutput(v **CreateConne originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("ConnectionGroup", t.Name.Local): + case strings.EqualFold("ConnectionFunctionSummary", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentConnectionGroup(&sv.ConnectionGroup, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentConnectionFunctionSummary(&sv.ConnectionFunctionSummary, nodeDecoder); err != nil { return err } @@ -1558,14 +1572,14 @@ func awsRestxml_deserializeOpDocumentCreateConnectionGroupOutput(v **CreateConne return nil } -type awsRestxml_deserializeOpCreateContinuousDeploymentPolicy struct { +type awsRestxml_deserializeOpCreateConnectionGroup struct { } -func (*awsRestxml_deserializeOpCreateContinuousDeploymentPolicy) ID() string { +func (*awsRestxml_deserializeOpCreateConnectionGroup) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpCreateContinuousDeploymentPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpCreateConnectionGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -1583,12 +1597,12 @@ func (m *awsRestxml_deserializeOpCreateContinuousDeploymentPolicy) HandleDeseria } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorCreateContinuousDeploymentPolicy(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorCreateConnectionGroup(response, &metadata) } - output := &CreateContinuousDeploymentPolicyOutput{} + output := &CreateConnectionGroupOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsCreateContinuousDeploymentPolicyOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsCreateConnectionGroupOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -1611,7 +1625,7 @@ func (m *awsRestxml_deserializeOpCreateContinuousDeploymentPolicy) HandleDeseria } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentContinuousDeploymentPolicy(&output.ContinuousDeploymentPolicy, decoder) + err = awsRestxml_deserializeDocumentConnectionGroup(&output.ConnectionGroup, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -1625,7 +1639,7 @@ func (m *awsRestxml_deserializeOpCreateContinuousDeploymentPolicy) HandleDeseria return out, metadata, err } -func awsRestxml_deserializeOpErrorCreateContinuousDeploymentPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorCreateConnectionGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -1653,20 +1667,20 @@ func awsRestxml_deserializeOpErrorCreateContinuousDeploymentPolicy(response *smi case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("ContinuousDeploymentPolicyAlreadyExists", errorCode): - return awsRestxml_deserializeErrorContinuousDeploymentPolicyAlreadyExists(response, errorBody) + case strings.EqualFold("EntityAlreadyExists", errorCode): + return awsRestxml_deserializeErrorEntityAlreadyExists(response, errorBody) - case strings.EqualFold("InconsistentQuantities", errorCode): - return awsRestxml_deserializeErrorInconsistentQuantities(response, errorBody) + case strings.EqualFold("EntityLimitExceeded", errorCode): + return awsRestxml_deserializeErrorEntityLimitExceeded(response, errorBody) + + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("StagingDistributionInUse", errorCode): - return awsRestxml_deserializeErrorStagingDistributionInUse(response, errorBody) - - case strings.EqualFold("TooManyContinuousDeploymentPolicies", errorCode): - return awsRestxml_deserializeErrorTooManyContinuousDeploymentPolicies(response, errorBody) + case strings.EqualFold("InvalidTagging", errorCode): + return awsRestxml_deserializeErrorInvalidTagging(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -1678,7 +1692,7 @@ func awsRestxml_deserializeOpErrorCreateContinuousDeploymentPolicy(response *smi } } -func awsRestxml_deserializeOpHttpBindingsCreateContinuousDeploymentPolicyOutput(v *CreateContinuousDeploymentPolicyOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsCreateConnectionGroupOutput(v *CreateConnectionGroupOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -1688,20 +1702,15 @@ func awsRestxml_deserializeOpHttpBindingsCreateContinuousDeploymentPolicyOutput( v.ETag = ptr.String(headerValues[0]) } - if headerValues := response.Header.Values("Location"); len(headerValues) != 0 { - headerValues[0] = strings.TrimSpace(headerValues[0]) - v.Location = ptr.String(headerValues[0]) - } - return nil } -func awsRestxml_deserializeOpDocumentCreateContinuousDeploymentPolicyOutput(v **CreateContinuousDeploymentPolicyOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentCreateConnectionGroupOutput(v **CreateConnectionGroupOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *CreateContinuousDeploymentPolicyOutput + var sv *CreateConnectionGroupOutput if *v == nil { - sv = &CreateContinuousDeploymentPolicyOutput{} + sv = &CreateConnectionGroupOutput{} } else { sv = *v } @@ -1717,9 +1726,9 @@ func awsRestxml_deserializeOpDocumentCreateContinuousDeploymentPolicyOutput(v ** originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("ContinuousDeploymentPolicy", t.Name.Local): + case strings.EqualFold("ConnectionGroup", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentContinuousDeploymentPolicy(&sv.ContinuousDeploymentPolicy, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentConnectionGroup(&sv.ConnectionGroup, nodeDecoder); err != nil { return err } @@ -1737,14 +1746,14 @@ func awsRestxml_deserializeOpDocumentCreateContinuousDeploymentPolicyOutput(v ** return nil } -type awsRestxml_deserializeOpCreateDistribution struct { +type awsRestxml_deserializeOpCreateContinuousDeploymentPolicy struct { } -func (*awsRestxml_deserializeOpCreateDistribution) ID() string { +func (*awsRestxml_deserializeOpCreateContinuousDeploymentPolicy) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpCreateDistribution) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpCreateContinuousDeploymentPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -1762,12 +1771,12 @@ func (m *awsRestxml_deserializeOpCreateDistribution) HandleDeserialize(ctx conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorCreateDistribution(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorCreateContinuousDeploymentPolicy(response, &metadata) } - output := &CreateDistributionOutput{} + output := &CreateContinuousDeploymentPolicyOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsCreateDistributionOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsCreateContinuousDeploymentPolicyOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -1790,7 +1799,7 @@ func (m *awsRestxml_deserializeOpCreateDistribution) HandleDeserialize(ctx conte } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentDistribution(&output.Distribution, decoder) + err = awsRestxml_deserializeDocumentContinuousDeploymentPolicy(&output.ContinuousDeploymentPolicy, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -1804,7 +1813,7 @@ func (m *awsRestxml_deserializeOpCreateDistribution) HandleDeserialize(ctx conte return out, metadata, err } -func awsRestxml_deserializeOpErrorCreateDistribution(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorCreateContinuousDeploymentPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -1832,26 +1841,8 @@ func awsRestxml_deserializeOpErrorCreateDistribution(response *smithyhttp.Respon case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("CNAMEAlreadyExists", errorCode): - return awsRestxml_deserializeErrorCNAMEAlreadyExists(response, errorBody) - - case strings.EqualFold("ContinuousDeploymentPolicyInUse", errorCode): - return awsRestxml_deserializeErrorContinuousDeploymentPolicyInUse(response, errorBody) - - case strings.EqualFold("DistributionAlreadyExists", errorCode): - return awsRestxml_deserializeErrorDistributionAlreadyExists(response, errorBody) - - case strings.EqualFold("EntityLimitExceeded", errorCode): - return awsRestxml_deserializeErrorEntityLimitExceeded(response, errorBody) - - case strings.EqualFold("EntityNotFound", errorCode): - return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) - - case strings.EqualFold("IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior", errorCode): - return awsRestxml_deserializeErrorIllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior(response, errorBody) - - case strings.EqualFold("IllegalOriginAccessConfiguration", errorCode): - return awsRestxml_deserializeErrorIllegalOriginAccessConfiguration(response, errorBody) + case strings.EqualFold("ContinuousDeploymentPolicyAlreadyExists", errorCode): + return awsRestxml_deserializeErrorContinuousDeploymentPolicyAlreadyExists(response, errorBody) case strings.EqualFold("InconsistentQuantities", errorCode): return awsRestxml_deserializeErrorInconsistentQuantities(response, errorBody) @@ -1859,176 +1850,11 @@ func awsRestxml_deserializeOpErrorCreateDistribution(response *smithyhttp.Respon case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("InvalidDefaultRootObject", errorCode): - return awsRestxml_deserializeErrorInvalidDefaultRootObject(response, errorBody) - - case strings.EqualFold("InvalidDomainNameForOriginAccessControl", errorCode): - return awsRestxml_deserializeErrorInvalidDomainNameForOriginAccessControl(response, errorBody) - - case strings.EqualFold("InvalidErrorCode", errorCode): - return awsRestxml_deserializeErrorInvalidErrorCode(response, errorBody) - - case strings.EqualFold("InvalidForwardCookies", errorCode): - return awsRestxml_deserializeErrorInvalidForwardCookies(response, errorBody) - - case strings.EqualFold("InvalidFunctionAssociation", errorCode): - return awsRestxml_deserializeErrorInvalidFunctionAssociation(response, errorBody) - - case strings.EqualFold("InvalidGeoRestrictionParameter", errorCode): - return awsRestxml_deserializeErrorInvalidGeoRestrictionParameter(response, errorBody) - - case strings.EqualFold("InvalidHeadersForS3Origin", errorCode): - return awsRestxml_deserializeErrorInvalidHeadersForS3Origin(response, errorBody) - - case strings.EqualFold("InvalidLambdaFunctionAssociation", errorCode): - return awsRestxml_deserializeErrorInvalidLambdaFunctionAssociation(response, errorBody) - - case strings.EqualFold("InvalidLocationCode", errorCode): - return awsRestxml_deserializeErrorInvalidLocationCode(response, errorBody) - - case strings.EqualFold("InvalidMinimumProtocolVersion", errorCode): - return awsRestxml_deserializeErrorInvalidMinimumProtocolVersion(response, errorBody) - - case strings.EqualFold("InvalidOrigin", errorCode): - return awsRestxml_deserializeErrorInvalidOrigin(response, errorBody) - - case strings.EqualFold("InvalidOriginAccessControl", errorCode): - return awsRestxml_deserializeErrorInvalidOriginAccessControl(response, errorBody) - - case strings.EqualFold("InvalidOriginAccessIdentity", errorCode): - return awsRestxml_deserializeErrorInvalidOriginAccessIdentity(response, errorBody) - - case strings.EqualFold("InvalidOriginKeepaliveTimeout", errorCode): - return awsRestxml_deserializeErrorInvalidOriginKeepaliveTimeout(response, errorBody) - - case strings.EqualFold("InvalidOriginReadTimeout", errorCode): - return awsRestxml_deserializeErrorInvalidOriginReadTimeout(response, errorBody) - - case strings.EqualFold("InvalidProtocolSettings", errorCode): - return awsRestxml_deserializeErrorInvalidProtocolSettings(response, errorBody) - - case strings.EqualFold("InvalidQueryStringParameters", errorCode): - return awsRestxml_deserializeErrorInvalidQueryStringParameters(response, errorBody) - - case strings.EqualFold("InvalidRelativePath", errorCode): - return awsRestxml_deserializeErrorInvalidRelativePath(response, errorBody) - - case strings.EqualFold("InvalidRequiredProtocol", errorCode): - return awsRestxml_deserializeErrorInvalidRequiredProtocol(response, errorBody) - - case strings.EqualFold("InvalidResponseCode", errorCode): - return awsRestxml_deserializeErrorInvalidResponseCode(response, errorBody) - - case strings.EqualFold("InvalidTTLOrder", errorCode): - return awsRestxml_deserializeErrorInvalidTTLOrder(response, errorBody) - - case strings.EqualFold("InvalidViewerCertificate", errorCode): - return awsRestxml_deserializeErrorInvalidViewerCertificate(response, errorBody) - - case strings.EqualFold("InvalidWebACLId", errorCode): - return awsRestxml_deserializeErrorInvalidWebACLId(response, errorBody) - - case strings.EqualFold("MissingBody", errorCode): - return awsRestxml_deserializeErrorMissingBody(response, errorBody) - - case strings.EqualFold("NoSuchCachePolicy", errorCode): - return awsRestxml_deserializeErrorNoSuchCachePolicy(response, errorBody) - - case strings.EqualFold("NoSuchContinuousDeploymentPolicy", errorCode): - return awsRestxml_deserializeErrorNoSuchContinuousDeploymentPolicy(response, errorBody) - - case strings.EqualFold("NoSuchFieldLevelEncryptionConfig", errorCode): - return awsRestxml_deserializeErrorNoSuchFieldLevelEncryptionConfig(response, errorBody) - - case strings.EqualFold("NoSuchOrigin", errorCode): - return awsRestxml_deserializeErrorNoSuchOrigin(response, errorBody) - - case strings.EqualFold("NoSuchOriginRequestPolicy", errorCode): - return awsRestxml_deserializeErrorNoSuchOriginRequestPolicy(response, errorBody) - - case strings.EqualFold("NoSuchRealtimeLogConfig", errorCode): - return awsRestxml_deserializeErrorNoSuchRealtimeLogConfig(response, errorBody) - - case strings.EqualFold("NoSuchResponseHeadersPolicy", errorCode): - return awsRestxml_deserializeErrorNoSuchResponseHeadersPolicy(response, errorBody) - - case strings.EqualFold("RealtimeLogConfigOwnerMismatch", errorCode): - return awsRestxml_deserializeErrorRealtimeLogConfigOwnerMismatch(response, errorBody) - - case strings.EqualFold("TooManyCacheBehaviors", errorCode): - return awsRestxml_deserializeErrorTooManyCacheBehaviors(response, errorBody) - - case strings.EqualFold("TooManyCertificates", errorCode): - return awsRestxml_deserializeErrorTooManyCertificates(response, errorBody) - - case strings.EqualFold("TooManyCookieNamesInWhiteList", errorCode): - return awsRestxml_deserializeErrorTooManyCookieNamesInWhiteList(response, errorBody) - - case strings.EqualFold("TooManyDistributionCNAMEs", errorCode): - return awsRestxml_deserializeErrorTooManyDistributionCNAMEs(response, errorBody) - - case strings.EqualFold("TooManyDistributions", errorCode): - return awsRestxml_deserializeErrorTooManyDistributions(response, errorBody) - - case strings.EqualFold("TooManyDistributionsAssociatedToCachePolicy", errorCode): - return awsRestxml_deserializeErrorTooManyDistributionsAssociatedToCachePolicy(response, errorBody) - - case strings.EqualFold("TooManyDistributionsAssociatedToFieldLevelEncryptionConfig", errorCode): - return awsRestxml_deserializeErrorTooManyDistributionsAssociatedToFieldLevelEncryptionConfig(response, errorBody) - - case strings.EqualFold("TooManyDistributionsAssociatedToKeyGroup", errorCode): - return awsRestxml_deserializeErrorTooManyDistributionsAssociatedToKeyGroup(response, errorBody) - - case strings.EqualFold("TooManyDistributionsAssociatedToOriginAccessControl", errorCode): - return awsRestxml_deserializeErrorTooManyDistributionsAssociatedToOriginAccessControl(response, errorBody) - - case strings.EqualFold("TooManyDistributionsAssociatedToOriginRequestPolicy", errorCode): - return awsRestxml_deserializeErrorTooManyDistributionsAssociatedToOriginRequestPolicy(response, errorBody) - - case strings.EqualFold("TooManyDistributionsAssociatedToResponseHeadersPolicy", errorCode): - return awsRestxml_deserializeErrorTooManyDistributionsAssociatedToResponseHeadersPolicy(response, errorBody) - - case strings.EqualFold("TooManyDistributionsWithFunctionAssociations", errorCode): - return awsRestxml_deserializeErrorTooManyDistributionsWithFunctionAssociations(response, errorBody) - - case strings.EqualFold("TooManyDistributionsWithLambdaAssociations", errorCode): - return awsRestxml_deserializeErrorTooManyDistributionsWithLambdaAssociations(response, errorBody) - - case strings.EqualFold("TooManyDistributionsWithSingleFunctionARN", errorCode): - return awsRestxml_deserializeErrorTooManyDistributionsWithSingleFunctionARN(response, errorBody) - - case strings.EqualFold("TooManyFunctionAssociations", errorCode): - return awsRestxml_deserializeErrorTooManyFunctionAssociations(response, errorBody) - - case strings.EqualFold("TooManyHeadersInForwardedValues", errorCode): - return awsRestxml_deserializeErrorTooManyHeadersInForwardedValues(response, errorBody) - - case strings.EqualFold("TooManyKeyGroupsAssociatedToDistribution", errorCode): - return awsRestxml_deserializeErrorTooManyKeyGroupsAssociatedToDistribution(response, errorBody) - - case strings.EqualFold("TooManyLambdaFunctionAssociations", errorCode): - return awsRestxml_deserializeErrorTooManyLambdaFunctionAssociations(response, errorBody) - - case strings.EqualFold("TooManyOriginCustomHeaders", errorCode): - return awsRestxml_deserializeErrorTooManyOriginCustomHeaders(response, errorBody) - - case strings.EqualFold("TooManyOriginGroupsPerDistribution", errorCode): - return awsRestxml_deserializeErrorTooManyOriginGroupsPerDistribution(response, errorBody) - - case strings.EqualFold("TooManyOrigins", errorCode): - return awsRestxml_deserializeErrorTooManyOrigins(response, errorBody) - - case strings.EqualFold("TooManyQueryStringParameters", errorCode): - return awsRestxml_deserializeErrorTooManyQueryStringParameters(response, errorBody) - - case strings.EqualFold("TooManyTrustedSigners", errorCode): - return awsRestxml_deserializeErrorTooManyTrustedSigners(response, errorBody) - - case strings.EqualFold("TrustedKeyGroupDoesNotExist", errorCode): - return awsRestxml_deserializeErrorTrustedKeyGroupDoesNotExist(response, errorBody) + case strings.EqualFold("StagingDistributionInUse", errorCode): + return awsRestxml_deserializeErrorStagingDistributionInUse(response, errorBody) - case strings.EqualFold("TrustedSignerDoesNotExist", errorCode): - return awsRestxml_deserializeErrorTrustedSignerDoesNotExist(response, errorBody) + case strings.EqualFold("TooManyContinuousDeploymentPolicies", errorCode): + return awsRestxml_deserializeErrorTooManyContinuousDeploymentPolicies(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -2040,7 +1866,7 @@ func awsRestxml_deserializeOpErrorCreateDistribution(response *smithyhttp.Respon } } -func awsRestxml_deserializeOpHttpBindingsCreateDistributionOutput(v *CreateDistributionOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsCreateContinuousDeploymentPolicyOutput(v *CreateContinuousDeploymentPolicyOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -2057,13 +1883,13 @@ func awsRestxml_deserializeOpHttpBindingsCreateDistributionOutput(v *CreateDistr return nil } -func awsRestxml_deserializeOpDocumentCreateDistributionOutput(v **CreateDistributionOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentCreateContinuousDeploymentPolicyOutput(v **CreateContinuousDeploymentPolicyOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *CreateDistributionOutput + var sv *CreateContinuousDeploymentPolicyOutput if *v == nil { - sv = &CreateDistributionOutput{} + sv = &CreateContinuousDeploymentPolicyOutput{} } else { sv = *v } @@ -2079,9 +1905,9 @@ func awsRestxml_deserializeOpDocumentCreateDistributionOutput(v **CreateDistribu originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("Distribution", t.Name.Local): + case strings.EqualFold("ContinuousDeploymentPolicy", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentDistribution(&sv.Distribution, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentContinuousDeploymentPolicy(&sv.ContinuousDeploymentPolicy, nodeDecoder); err != nil { return err } @@ -2099,14 +1925,14 @@ func awsRestxml_deserializeOpDocumentCreateDistributionOutput(v **CreateDistribu return nil } -type awsRestxml_deserializeOpCreateDistributionTenant struct { +type awsRestxml_deserializeOpCreateDistribution struct { } -func (*awsRestxml_deserializeOpCreateDistributionTenant) ID() string { +func (*awsRestxml_deserializeOpCreateDistribution) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpCreateDistributionTenant) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpCreateDistribution) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -2124,192 +1950,12 @@ func (m *awsRestxml_deserializeOpCreateDistributionTenant) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorCreateDistributionTenant(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorCreateDistribution(response, &metadata) } - output := &CreateDistributionTenantOutput{} + output := &CreateDistributionOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsCreateDistributionTenantOutput(output, response) - if err != nil { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - body := io.TeeReader(response.Body, ringBuffer) - rootDecoder := xml.NewDecoder(body) - t, err := smithyxml.FetchRootElement(rootDecoder) - if err == io.EOF { - return out, metadata, nil - } - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentDistributionTenant(&output.DistributionTenant, decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - span.End() - return out, metadata, err -} - -func awsRestxml_deserializeOpErrorCreateDistributionTenant(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) - if err != nil { - return err - } - if reqID := errorComponents.RequestID; len(reqID) != 0 { - awsmiddleware.SetRequestIDMetadata(metadata, reqID) - } - if len(errorComponents.Code) != 0 { - errorCode = errorComponents.Code - } - if len(errorComponents.Message) != 0 { - errorMessage = errorComponents.Message - } - errorBody.Seek(0, io.SeekStart) - switch { - case strings.EqualFold("AccessDenied", errorCode): - return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - - case strings.EqualFold("CNAMEAlreadyExists", errorCode): - return awsRestxml_deserializeErrorCNAMEAlreadyExists(response, errorBody) - - case strings.EqualFold("EntityAlreadyExists", errorCode): - return awsRestxml_deserializeErrorEntityAlreadyExists(response, errorBody) - - case strings.EqualFold("EntityLimitExceeded", errorCode): - return awsRestxml_deserializeErrorEntityLimitExceeded(response, errorBody) - - case strings.EqualFold("EntityNotFound", errorCode): - return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) - - case strings.EqualFold("InvalidArgument", errorCode): - return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - - case strings.EqualFold("InvalidAssociation", errorCode): - return awsRestxml_deserializeErrorInvalidAssociation(response, errorBody) - - case strings.EqualFold("InvalidTagging", errorCode): - return awsRestxml_deserializeErrorInvalidTagging(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -func awsRestxml_deserializeOpHttpBindingsCreateDistributionTenantOutput(v *CreateDistributionTenantOutput, response *smithyhttp.Response) error { - if v == nil { - return fmt.Errorf("unsupported deserialization for nil %T", v) - } - - if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { - headerValues[0] = strings.TrimSpace(headerValues[0]) - v.ETag = ptr.String(headerValues[0]) - } - - return nil -} -func awsRestxml_deserializeOpDocumentCreateDistributionTenantOutput(v **CreateDistributionTenantOutput, decoder smithyxml.NodeDecoder) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - var sv *CreateDistributionTenantOutput - if *v == nil { - sv = &CreateDistributionTenantOutput{} - } else { - sv = *v - } - - for { - t, done, err := decoder.Token() - if err != nil { - return err - } - if done { - break - } - originalDecoder := decoder - decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) - switch { - case strings.EqualFold("DistributionTenant", t.Name.Local): - nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentDistributionTenant(&sv.DistributionTenant, nodeDecoder); err != nil { - return err - } - - default: - // Do nothing and ignore the unexpected tag element - err = decoder.Decoder.Skip() - if err != nil { - return err - } - - } - decoder = originalDecoder - } - *v = sv - return nil -} - -type awsRestxml_deserializeOpCreateDistributionWithTags struct { -} - -func (*awsRestxml_deserializeOpCreateDistributionWithTags) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestxml_deserializeOpCreateDistributionWithTags) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorCreateDistributionWithTags(response, &metadata) - } - output := &CreateDistributionWithTagsOutput{} - out.Result = output - - err = awsRestxml_deserializeOpHttpBindingsCreateDistributionWithTagsOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsCreateDistributionOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -2346,7 +1992,7 @@ func (m *awsRestxml_deserializeOpCreateDistributionWithTags) HandleDeserialize(c return out, metadata, err } -func awsRestxml_deserializeOpErrorCreateDistributionWithTags(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorCreateDistribution(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -2383,6 +2029,9 @@ func awsRestxml_deserializeOpErrorCreateDistributionWithTags(response *smithyhtt case strings.EqualFold("DistributionAlreadyExists", errorCode): return awsRestxml_deserializeErrorDistributionAlreadyExists(response, errorBody) + case strings.EqualFold("EntityLimitExceeded", errorCode): + return awsRestxml_deserializeErrorEntityLimitExceeded(response, errorBody) + case strings.EqualFold("EntityNotFound", errorCode): return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) @@ -2461,9 +2110,6 @@ func awsRestxml_deserializeOpErrorCreateDistributionWithTags(response *smithyhtt case strings.EqualFold("InvalidTTLOrder", errorCode): return awsRestxml_deserializeErrorInvalidTTLOrder(response, errorBody) - case strings.EqualFold("InvalidTagging", errorCode): - return awsRestxml_deserializeErrorInvalidTagging(response, errorBody) - case strings.EqualFold("InvalidViewerCertificate", errorCode): return awsRestxml_deserializeErrorInvalidViewerCertificate(response, errorBody) @@ -2582,7 +2228,7 @@ func awsRestxml_deserializeOpErrorCreateDistributionWithTags(response *smithyhtt } } -func awsRestxml_deserializeOpHttpBindingsCreateDistributionWithTagsOutput(v *CreateDistributionWithTagsOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsCreateDistributionOutput(v *CreateDistributionOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -2599,13 +2245,13 @@ func awsRestxml_deserializeOpHttpBindingsCreateDistributionWithTagsOutput(v *Cre return nil } -func awsRestxml_deserializeOpDocumentCreateDistributionWithTagsOutput(v **CreateDistributionWithTagsOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentCreateDistributionOutput(v **CreateDistributionOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *CreateDistributionWithTagsOutput + var sv *CreateDistributionOutput if *v == nil { - sv = &CreateDistributionWithTagsOutput{} + sv = &CreateDistributionOutput{} } else { sv = *v } @@ -2641,14 +2287,14 @@ func awsRestxml_deserializeOpDocumentCreateDistributionWithTagsOutput(v **Create return nil } -type awsRestxml_deserializeOpCreateFieldLevelEncryptionConfig struct { +type awsRestxml_deserializeOpCreateDistributionTenant struct { } -func (*awsRestxml_deserializeOpCreateFieldLevelEncryptionConfig) ID() string { +func (*awsRestxml_deserializeOpCreateDistributionTenant) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpCreateFieldLevelEncryptionConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpCreateDistributionTenant) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -2666,12 +2312,12 @@ func (m *awsRestxml_deserializeOpCreateFieldLevelEncryptionConfig) HandleDeseria } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorCreateFieldLevelEncryptionConfig(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorCreateDistributionTenant(response, &metadata) } - output := &CreateFieldLevelEncryptionConfigOutput{} + output := &CreateDistributionTenantOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsCreateFieldLevelEncryptionConfigOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsCreateDistributionTenantOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -2694,7 +2340,7 @@ func (m *awsRestxml_deserializeOpCreateFieldLevelEncryptionConfig) HandleDeseria } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentFieldLevelEncryption(&output.FieldLevelEncryption, decoder) + err = awsRestxml_deserializeDocumentDistributionTenant(&output.DistributionTenant, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -2708,7 +2354,7 @@ func (m *awsRestxml_deserializeOpCreateFieldLevelEncryptionConfig) HandleDeseria return out, metadata, err } -func awsRestxml_deserializeOpErrorCreateFieldLevelEncryptionConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorCreateDistributionTenant(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -2733,29 +2379,29 @@ func awsRestxml_deserializeOpErrorCreateFieldLevelEncryptionConfig(response *smi } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("FieldLevelEncryptionConfigAlreadyExists", errorCode): - return awsRestxml_deserializeErrorFieldLevelEncryptionConfigAlreadyExists(response, errorBody) + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("InconsistentQuantities", errorCode): - return awsRestxml_deserializeErrorInconsistentQuantities(response, errorBody) + case strings.EqualFold("CNAMEAlreadyExists", errorCode): + return awsRestxml_deserializeErrorCNAMEAlreadyExists(response, errorBody) - case strings.EqualFold("InvalidArgument", errorCode): - return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) + case strings.EqualFold("EntityAlreadyExists", errorCode): + return awsRestxml_deserializeErrorEntityAlreadyExists(response, errorBody) - case strings.EqualFold("NoSuchFieldLevelEncryptionProfile", errorCode): - return awsRestxml_deserializeErrorNoSuchFieldLevelEncryptionProfile(response, errorBody) + case strings.EqualFold("EntityLimitExceeded", errorCode): + return awsRestxml_deserializeErrorEntityLimitExceeded(response, errorBody) - case strings.EqualFold("QueryArgProfileEmpty", errorCode): - return awsRestxml_deserializeErrorQueryArgProfileEmpty(response, errorBody) + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) - case strings.EqualFold("TooManyFieldLevelEncryptionConfigs", errorCode): - return awsRestxml_deserializeErrorTooManyFieldLevelEncryptionConfigs(response, errorBody) + case strings.EqualFold("InvalidArgument", errorCode): + return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("TooManyFieldLevelEncryptionContentTypeProfiles", errorCode): - return awsRestxml_deserializeErrorTooManyFieldLevelEncryptionContentTypeProfiles(response, errorBody) + case strings.EqualFold("InvalidAssociation", errorCode): + return awsRestxml_deserializeErrorInvalidAssociation(response, errorBody) - case strings.EqualFold("TooManyFieldLevelEncryptionQueryArgProfiles", errorCode): - return awsRestxml_deserializeErrorTooManyFieldLevelEncryptionQueryArgProfiles(response, errorBody) + case strings.EqualFold("InvalidTagging", errorCode): + return awsRestxml_deserializeErrorInvalidTagging(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -2767,7 +2413,7 @@ func awsRestxml_deserializeOpErrorCreateFieldLevelEncryptionConfig(response *smi } } -func awsRestxml_deserializeOpHttpBindingsCreateFieldLevelEncryptionConfigOutput(v *CreateFieldLevelEncryptionConfigOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsCreateDistributionTenantOutput(v *CreateDistributionTenantOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -2777,20 +2423,15 @@ func awsRestxml_deserializeOpHttpBindingsCreateFieldLevelEncryptionConfigOutput( v.ETag = ptr.String(headerValues[0]) } - if headerValues := response.Header.Values("Location"); len(headerValues) != 0 { - headerValues[0] = strings.TrimSpace(headerValues[0]) - v.Location = ptr.String(headerValues[0]) - } - return nil } -func awsRestxml_deserializeOpDocumentCreateFieldLevelEncryptionConfigOutput(v **CreateFieldLevelEncryptionConfigOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentCreateDistributionTenantOutput(v **CreateDistributionTenantOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *CreateFieldLevelEncryptionConfigOutput + var sv *CreateDistributionTenantOutput if *v == nil { - sv = &CreateFieldLevelEncryptionConfigOutput{} + sv = &CreateDistributionTenantOutput{} } else { sv = *v } @@ -2806,9 +2447,9 @@ func awsRestxml_deserializeOpDocumentCreateFieldLevelEncryptionConfigOutput(v ** originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("FieldLevelEncryption", t.Name.Local): + case strings.EqualFold("DistributionTenant", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentFieldLevelEncryption(&sv.FieldLevelEncryption, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentDistributionTenant(&sv.DistributionTenant, nodeDecoder); err != nil { return err } @@ -2826,14 +2467,14 @@ func awsRestxml_deserializeOpDocumentCreateFieldLevelEncryptionConfigOutput(v ** return nil } -type awsRestxml_deserializeOpCreateFieldLevelEncryptionProfile struct { +type awsRestxml_deserializeOpCreateDistributionWithTags struct { } -func (*awsRestxml_deserializeOpCreateFieldLevelEncryptionProfile) ID() string { +func (*awsRestxml_deserializeOpCreateDistributionWithTags) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpCreateFieldLevelEncryptionProfile) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpCreateDistributionWithTags) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -2851,12 +2492,12 @@ func (m *awsRestxml_deserializeOpCreateFieldLevelEncryptionProfile) HandleDeseri } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorCreateFieldLevelEncryptionProfile(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorCreateDistributionWithTags(response, &metadata) } - output := &CreateFieldLevelEncryptionProfileOutput{} + output := &CreateDistributionWithTagsOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsCreateFieldLevelEncryptionProfileOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsCreateDistributionWithTagsOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -2879,7 +2520,7 @@ func (m *awsRestxml_deserializeOpCreateFieldLevelEncryptionProfile) HandleDeseri } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentFieldLevelEncryptionProfile(&output.FieldLevelEncryptionProfile, decoder) + err = awsRestxml_deserializeDocumentDistribution(&output.Distribution, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -2893,7 +2534,7 @@ func (m *awsRestxml_deserializeOpCreateFieldLevelEncryptionProfile) HandleDeseri return out, metadata, err } -func awsRestxml_deserializeOpErrorCreateFieldLevelEncryptionProfile(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorCreateDistributionWithTags(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -2918,11 +2559,26 @@ func awsRestxml_deserializeOpErrorCreateFieldLevelEncryptionProfile(response *sm } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("FieldLevelEncryptionProfileAlreadyExists", errorCode): - return awsRestxml_deserializeErrorFieldLevelEncryptionProfileAlreadyExists(response, errorBody) + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("FieldLevelEncryptionProfileSizeExceeded", errorCode): - return awsRestxml_deserializeErrorFieldLevelEncryptionProfileSizeExceeded(response, errorBody) + case strings.EqualFold("CNAMEAlreadyExists", errorCode): + return awsRestxml_deserializeErrorCNAMEAlreadyExists(response, errorBody) + + case strings.EqualFold("ContinuousDeploymentPolicyInUse", errorCode): + return awsRestxml_deserializeErrorContinuousDeploymentPolicyInUse(response, errorBody) + + case strings.EqualFold("DistributionAlreadyExists", errorCode): + return awsRestxml_deserializeErrorDistributionAlreadyExists(response, errorBody) + + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + + case strings.EqualFold("IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior", errorCode): + return awsRestxml_deserializeErrorIllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior(response, errorBody) + + case strings.EqualFold("IllegalOriginAccessConfiguration", errorCode): + return awsRestxml_deserializeErrorIllegalOriginAccessConfiguration(response, errorBody) case strings.EqualFold("InconsistentQuantities", errorCode): return awsRestxml_deserializeErrorInconsistentQuantities(response, errorBody) @@ -2930,17 +2586,179 @@ func awsRestxml_deserializeOpErrorCreateFieldLevelEncryptionProfile(response *sm case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("NoSuchPublicKey", errorCode): - return awsRestxml_deserializeErrorNoSuchPublicKey(response, errorBody) + case strings.EqualFold("InvalidDefaultRootObject", errorCode): + return awsRestxml_deserializeErrorInvalidDefaultRootObject(response, errorBody) - case strings.EqualFold("TooManyFieldLevelEncryptionEncryptionEntities", errorCode): - return awsRestxml_deserializeErrorTooManyFieldLevelEncryptionEncryptionEntities(response, errorBody) + case strings.EqualFold("InvalidDomainNameForOriginAccessControl", errorCode): + return awsRestxml_deserializeErrorInvalidDomainNameForOriginAccessControl(response, errorBody) - case strings.EqualFold("TooManyFieldLevelEncryptionFieldPatterns", errorCode): - return awsRestxml_deserializeErrorTooManyFieldLevelEncryptionFieldPatterns(response, errorBody) + case strings.EqualFold("InvalidErrorCode", errorCode): + return awsRestxml_deserializeErrorInvalidErrorCode(response, errorBody) - case strings.EqualFold("TooManyFieldLevelEncryptionProfiles", errorCode): - return awsRestxml_deserializeErrorTooManyFieldLevelEncryptionProfiles(response, errorBody) + case strings.EqualFold("InvalidForwardCookies", errorCode): + return awsRestxml_deserializeErrorInvalidForwardCookies(response, errorBody) + + case strings.EqualFold("InvalidFunctionAssociation", errorCode): + return awsRestxml_deserializeErrorInvalidFunctionAssociation(response, errorBody) + + case strings.EqualFold("InvalidGeoRestrictionParameter", errorCode): + return awsRestxml_deserializeErrorInvalidGeoRestrictionParameter(response, errorBody) + + case strings.EqualFold("InvalidHeadersForS3Origin", errorCode): + return awsRestxml_deserializeErrorInvalidHeadersForS3Origin(response, errorBody) + + case strings.EqualFold("InvalidLambdaFunctionAssociation", errorCode): + return awsRestxml_deserializeErrorInvalidLambdaFunctionAssociation(response, errorBody) + + case strings.EqualFold("InvalidLocationCode", errorCode): + return awsRestxml_deserializeErrorInvalidLocationCode(response, errorBody) + + case strings.EqualFold("InvalidMinimumProtocolVersion", errorCode): + return awsRestxml_deserializeErrorInvalidMinimumProtocolVersion(response, errorBody) + + case strings.EqualFold("InvalidOrigin", errorCode): + return awsRestxml_deserializeErrorInvalidOrigin(response, errorBody) + + case strings.EqualFold("InvalidOriginAccessControl", errorCode): + return awsRestxml_deserializeErrorInvalidOriginAccessControl(response, errorBody) + + case strings.EqualFold("InvalidOriginAccessIdentity", errorCode): + return awsRestxml_deserializeErrorInvalidOriginAccessIdentity(response, errorBody) + + case strings.EqualFold("InvalidOriginKeepaliveTimeout", errorCode): + return awsRestxml_deserializeErrorInvalidOriginKeepaliveTimeout(response, errorBody) + + case strings.EqualFold("InvalidOriginReadTimeout", errorCode): + return awsRestxml_deserializeErrorInvalidOriginReadTimeout(response, errorBody) + + case strings.EqualFold("InvalidProtocolSettings", errorCode): + return awsRestxml_deserializeErrorInvalidProtocolSettings(response, errorBody) + + case strings.EqualFold("InvalidQueryStringParameters", errorCode): + return awsRestxml_deserializeErrorInvalidQueryStringParameters(response, errorBody) + + case strings.EqualFold("InvalidRelativePath", errorCode): + return awsRestxml_deserializeErrorInvalidRelativePath(response, errorBody) + + case strings.EqualFold("InvalidRequiredProtocol", errorCode): + return awsRestxml_deserializeErrorInvalidRequiredProtocol(response, errorBody) + + case strings.EqualFold("InvalidResponseCode", errorCode): + return awsRestxml_deserializeErrorInvalidResponseCode(response, errorBody) + + case strings.EqualFold("InvalidTTLOrder", errorCode): + return awsRestxml_deserializeErrorInvalidTTLOrder(response, errorBody) + + case strings.EqualFold("InvalidTagging", errorCode): + return awsRestxml_deserializeErrorInvalidTagging(response, errorBody) + + case strings.EqualFold("InvalidViewerCertificate", errorCode): + return awsRestxml_deserializeErrorInvalidViewerCertificate(response, errorBody) + + case strings.EqualFold("InvalidWebACLId", errorCode): + return awsRestxml_deserializeErrorInvalidWebACLId(response, errorBody) + + case strings.EqualFold("MissingBody", errorCode): + return awsRestxml_deserializeErrorMissingBody(response, errorBody) + + case strings.EqualFold("NoSuchCachePolicy", errorCode): + return awsRestxml_deserializeErrorNoSuchCachePolicy(response, errorBody) + + case strings.EqualFold("NoSuchContinuousDeploymentPolicy", errorCode): + return awsRestxml_deserializeErrorNoSuchContinuousDeploymentPolicy(response, errorBody) + + case strings.EqualFold("NoSuchFieldLevelEncryptionConfig", errorCode): + return awsRestxml_deserializeErrorNoSuchFieldLevelEncryptionConfig(response, errorBody) + + case strings.EqualFold("NoSuchOrigin", errorCode): + return awsRestxml_deserializeErrorNoSuchOrigin(response, errorBody) + + case strings.EqualFold("NoSuchOriginRequestPolicy", errorCode): + return awsRestxml_deserializeErrorNoSuchOriginRequestPolicy(response, errorBody) + + case strings.EqualFold("NoSuchRealtimeLogConfig", errorCode): + return awsRestxml_deserializeErrorNoSuchRealtimeLogConfig(response, errorBody) + + case strings.EqualFold("NoSuchResponseHeadersPolicy", errorCode): + return awsRestxml_deserializeErrorNoSuchResponseHeadersPolicy(response, errorBody) + + case strings.EqualFold("RealtimeLogConfigOwnerMismatch", errorCode): + return awsRestxml_deserializeErrorRealtimeLogConfigOwnerMismatch(response, errorBody) + + case strings.EqualFold("TooManyCacheBehaviors", errorCode): + return awsRestxml_deserializeErrorTooManyCacheBehaviors(response, errorBody) + + case strings.EqualFold("TooManyCertificates", errorCode): + return awsRestxml_deserializeErrorTooManyCertificates(response, errorBody) + + case strings.EqualFold("TooManyCookieNamesInWhiteList", errorCode): + return awsRestxml_deserializeErrorTooManyCookieNamesInWhiteList(response, errorBody) + + case strings.EqualFold("TooManyDistributionCNAMEs", errorCode): + return awsRestxml_deserializeErrorTooManyDistributionCNAMEs(response, errorBody) + + case strings.EqualFold("TooManyDistributions", errorCode): + return awsRestxml_deserializeErrorTooManyDistributions(response, errorBody) + + case strings.EqualFold("TooManyDistributionsAssociatedToCachePolicy", errorCode): + return awsRestxml_deserializeErrorTooManyDistributionsAssociatedToCachePolicy(response, errorBody) + + case strings.EqualFold("TooManyDistributionsAssociatedToFieldLevelEncryptionConfig", errorCode): + return awsRestxml_deserializeErrorTooManyDistributionsAssociatedToFieldLevelEncryptionConfig(response, errorBody) + + case strings.EqualFold("TooManyDistributionsAssociatedToKeyGroup", errorCode): + return awsRestxml_deserializeErrorTooManyDistributionsAssociatedToKeyGroup(response, errorBody) + + case strings.EqualFold("TooManyDistributionsAssociatedToOriginAccessControl", errorCode): + return awsRestxml_deserializeErrorTooManyDistributionsAssociatedToOriginAccessControl(response, errorBody) + + case strings.EqualFold("TooManyDistributionsAssociatedToOriginRequestPolicy", errorCode): + return awsRestxml_deserializeErrorTooManyDistributionsAssociatedToOriginRequestPolicy(response, errorBody) + + case strings.EqualFold("TooManyDistributionsAssociatedToResponseHeadersPolicy", errorCode): + return awsRestxml_deserializeErrorTooManyDistributionsAssociatedToResponseHeadersPolicy(response, errorBody) + + case strings.EqualFold("TooManyDistributionsWithFunctionAssociations", errorCode): + return awsRestxml_deserializeErrorTooManyDistributionsWithFunctionAssociations(response, errorBody) + + case strings.EqualFold("TooManyDistributionsWithLambdaAssociations", errorCode): + return awsRestxml_deserializeErrorTooManyDistributionsWithLambdaAssociations(response, errorBody) + + case strings.EqualFold("TooManyDistributionsWithSingleFunctionARN", errorCode): + return awsRestxml_deserializeErrorTooManyDistributionsWithSingleFunctionARN(response, errorBody) + + case strings.EqualFold("TooManyFunctionAssociations", errorCode): + return awsRestxml_deserializeErrorTooManyFunctionAssociations(response, errorBody) + + case strings.EqualFold("TooManyHeadersInForwardedValues", errorCode): + return awsRestxml_deserializeErrorTooManyHeadersInForwardedValues(response, errorBody) + + case strings.EqualFold("TooManyKeyGroupsAssociatedToDistribution", errorCode): + return awsRestxml_deserializeErrorTooManyKeyGroupsAssociatedToDistribution(response, errorBody) + + case strings.EqualFold("TooManyLambdaFunctionAssociations", errorCode): + return awsRestxml_deserializeErrorTooManyLambdaFunctionAssociations(response, errorBody) + + case strings.EqualFold("TooManyOriginCustomHeaders", errorCode): + return awsRestxml_deserializeErrorTooManyOriginCustomHeaders(response, errorBody) + + case strings.EqualFold("TooManyOriginGroupsPerDistribution", errorCode): + return awsRestxml_deserializeErrorTooManyOriginGroupsPerDistribution(response, errorBody) + + case strings.EqualFold("TooManyOrigins", errorCode): + return awsRestxml_deserializeErrorTooManyOrigins(response, errorBody) + + case strings.EqualFold("TooManyQueryStringParameters", errorCode): + return awsRestxml_deserializeErrorTooManyQueryStringParameters(response, errorBody) + + case strings.EqualFold("TooManyTrustedSigners", errorCode): + return awsRestxml_deserializeErrorTooManyTrustedSigners(response, errorBody) + + case strings.EqualFold("TrustedKeyGroupDoesNotExist", errorCode): + return awsRestxml_deserializeErrorTrustedKeyGroupDoesNotExist(response, errorBody) + + case strings.EqualFold("TrustedSignerDoesNotExist", errorCode): + return awsRestxml_deserializeErrorTrustedSignerDoesNotExist(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -2952,7 +2770,7 @@ func awsRestxml_deserializeOpErrorCreateFieldLevelEncryptionProfile(response *sm } } -func awsRestxml_deserializeOpHttpBindingsCreateFieldLevelEncryptionProfileOutput(v *CreateFieldLevelEncryptionProfileOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsCreateDistributionWithTagsOutput(v *CreateDistributionWithTagsOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -2969,13 +2787,13 @@ func awsRestxml_deserializeOpHttpBindingsCreateFieldLevelEncryptionProfileOutput return nil } -func awsRestxml_deserializeOpDocumentCreateFieldLevelEncryptionProfileOutput(v **CreateFieldLevelEncryptionProfileOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentCreateDistributionWithTagsOutput(v **CreateDistributionWithTagsOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *CreateFieldLevelEncryptionProfileOutput + var sv *CreateDistributionWithTagsOutput if *v == nil { - sv = &CreateFieldLevelEncryptionProfileOutput{} + sv = &CreateDistributionWithTagsOutput{} } else { sv = *v } @@ -2991,9 +2809,9 @@ func awsRestxml_deserializeOpDocumentCreateFieldLevelEncryptionProfileOutput(v * originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("FieldLevelEncryptionProfile", t.Name.Local): + case strings.EqualFold("Distribution", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentFieldLevelEncryptionProfile(&sv.FieldLevelEncryptionProfile, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentDistribution(&sv.Distribution, nodeDecoder); err != nil { return err } @@ -3011,14 +2829,14 @@ func awsRestxml_deserializeOpDocumentCreateFieldLevelEncryptionProfileOutput(v * return nil } -type awsRestxml_deserializeOpCreateFunction struct { +type awsRestxml_deserializeOpCreateFieldLevelEncryptionConfig struct { } -func (*awsRestxml_deserializeOpCreateFunction) ID() string { +func (*awsRestxml_deserializeOpCreateFieldLevelEncryptionConfig) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpCreateFunction) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpCreateFieldLevelEncryptionConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -3036,12 +2854,12 @@ func (m *awsRestxml_deserializeOpCreateFunction) HandleDeserialize(ctx context.C } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorCreateFunction(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorCreateFieldLevelEncryptionConfig(response, &metadata) } - output := &CreateFunctionOutput{} + output := &CreateFieldLevelEncryptionConfigOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsCreateFunctionOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsCreateFieldLevelEncryptionConfigOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -3064,7 +2882,7 @@ func (m *awsRestxml_deserializeOpCreateFunction) HandleDeserialize(ctx context.C } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentFunctionSummary(&output.FunctionSummary, decoder) + err = awsRestxml_deserializeDocumentFieldLevelEncryption(&output.FieldLevelEncryption, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -3078,7 +2896,7 @@ func (m *awsRestxml_deserializeOpCreateFunction) HandleDeserialize(ctx context.C return out, metadata, err } -func awsRestxml_deserializeOpErrorCreateFunction(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorCreateFieldLevelEncryptionConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -3103,20 +2921,29 @@ func awsRestxml_deserializeOpErrorCreateFunction(response *smithyhttp.Response, } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("FunctionAlreadyExists", errorCode): - return awsRestxml_deserializeErrorFunctionAlreadyExists(response, errorBody) + case strings.EqualFold("FieldLevelEncryptionConfigAlreadyExists", errorCode): + return awsRestxml_deserializeErrorFieldLevelEncryptionConfigAlreadyExists(response, errorBody) - case strings.EqualFold("FunctionSizeLimitExceeded", errorCode): - return awsRestxml_deserializeErrorFunctionSizeLimitExceeded(response, errorBody) + case strings.EqualFold("InconsistentQuantities", errorCode): + return awsRestxml_deserializeErrorInconsistentQuantities(response, errorBody) case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("TooManyFunctions", errorCode): - return awsRestxml_deserializeErrorTooManyFunctions(response, errorBody) + case strings.EqualFold("NoSuchFieldLevelEncryptionProfile", errorCode): + return awsRestxml_deserializeErrorNoSuchFieldLevelEncryptionProfile(response, errorBody) - case strings.EqualFold("UnsupportedOperation", errorCode): - return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) + case strings.EqualFold("QueryArgProfileEmpty", errorCode): + return awsRestxml_deserializeErrorQueryArgProfileEmpty(response, errorBody) + + case strings.EqualFold("TooManyFieldLevelEncryptionConfigs", errorCode): + return awsRestxml_deserializeErrorTooManyFieldLevelEncryptionConfigs(response, errorBody) + + case strings.EqualFold("TooManyFieldLevelEncryptionContentTypeProfiles", errorCode): + return awsRestxml_deserializeErrorTooManyFieldLevelEncryptionContentTypeProfiles(response, errorBody) + + case strings.EqualFold("TooManyFieldLevelEncryptionQueryArgProfiles", errorCode): + return awsRestxml_deserializeErrorTooManyFieldLevelEncryptionQueryArgProfiles(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -3128,7 +2955,7 @@ func awsRestxml_deserializeOpErrorCreateFunction(response *smithyhttp.Response, } } -func awsRestxml_deserializeOpHttpBindingsCreateFunctionOutput(v *CreateFunctionOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsCreateFieldLevelEncryptionConfigOutput(v *CreateFieldLevelEncryptionConfigOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -3145,13 +2972,13 @@ func awsRestxml_deserializeOpHttpBindingsCreateFunctionOutput(v *CreateFunctionO return nil } -func awsRestxml_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentCreateFieldLevelEncryptionConfigOutput(v **CreateFieldLevelEncryptionConfigOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *CreateFunctionOutput + var sv *CreateFieldLevelEncryptionConfigOutput if *v == nil { - sv = &CreateFunctionOutput{} + sv = &CreateFieldLevelEncryptionConfigOutput{} } else { sv = *v } @@ -3167,9 +2994,9 @@ func awsRestxml_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOutp originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("FunctionSummary", t.Name.Local): + case strings.EqualFold("FieldLevelEncryption", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentFunctionSummary(&sv.FunctionSummary, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentFieldLevelEncryption(&sv.FieldLevelEncryption, nodeDecoder); err != nil { return err } @@ -3187,14 +3014,14 @@ func awsRestxml_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOutp return nil } -type awsRestxml_deserializeOpCreateInvalidation struct { +type awsRestxml_deserializeOpCreateFieldLevelEncryptionProfile struct { } -func (*awsRestxml_deserializeOpCreateInvalidation) ID() string { +func (*awsRestxml_deserializeOpCreateFieldLevelEncryptionProfile) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpCreateInvalidation) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpCreateFieldLevelEncryptionProfile) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -3212,12 +3039,12 @@ func (m *awsRestxml_deserializeOpCreateInvalidation) HandleDeserialize(ctx conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorCreateInvalidation(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorCreateFieldLevelEncryptionProfile(response, &metadata) } - output := &CreateInvalidationOutput{} + output := &CreateFieldLevelEncryptionProfileOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsCreateInvalidationOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsCreateFieldLevelEncryptionProfileOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -3240,7 +3067,7 @@ func (m *awsRestxml_deserializeOpCreateInvalidation) HandleDeserialize(ctx conte } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentInvalidation(&output.Invalidation, decoder) + err = awsRestxml_deserializeDocumentFieldLevelEncryptionProfile(&output.FieldLevelEncryptionProfile, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -3254,7 +3081,7 @@ func (m *awsRestxml_deserializeOpCreateInvalidation) HandleDeserialize(ctx conte return out, metadata, err } -func awsRestxml_deserializeOpErrorCreateInvalidation(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorCreateFieldLevelEncryptionProfile(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -3279,11 +3106,11 @@ func awsRestxml_deserializeOpErrorCreateInvalidation(response *smithyhttp.Respon } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("AccessDenied", errorCode): - return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + case strings.EqualFold("FieldLevelEncryptionProfileAlreadyExists", errorCode): + return awsRestxml_deserializeErrorFieldLevelEncryptionProfileAlreadyExists(response, errorBody) - case strings.EqualFold("BatchTooLarge", errorCode): - return awsRestxml_deserializeErrorBatchTooLarge(response, errorBody) + case strings.EqualFold("FieldLevelEncryptionProfileSizeExceeded", errorCode): + return awsRestxml_deserializeErrorFieldLevelEncryptionProfileSizeExceeded(response, errorBody) case strings.EqualFold("InconsistentQuantities", errorCode): return awsRestxml_deserializeErrorInconsistentQuantities(response, errorBody) @@ -3291,14 +3118,17 @@ func awsRestxml_deserializeOpErrorCreateInvalidation(response *smithyhttp.Respon case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("MissingBody", errorCode): - return awsRestxml_deserializeErrorMissingBody(response, errorBody) + case strings.EqualFold("NoSuchPublicKey", errorCode): + return awsRestxml_deserializeErrorNoSuchPublicKey(response, errorBody) - case strings.EqualFold("NoSuchDistribution", errorCode): - return awsRestxml_deserializeErrorNoSuchDistribution(response, errorBody) + case strings.EqualFold("TooManyFieldLevelEncryptionEncryptionEntities", errorCode): + return awsRestxml_deserializeErrorTooManyFieldLevelEncryptionEncryptionEntities(response, errorBody) - case strings.EqualFold("TooManyInvalidationsInProgress", errorCode): - return awsRestxml_deserializeErrorTooManyInvalidationsInProgress(response, errorBody) + case strings.EqualFold("TooManyFieldLevelEncryptionFieldPatterns", errorCode): + return awsRestxml_deserializeErrorTooManyFieldLevelEncryptionFieldPatterns(response, errorBody) + + case strings.EqualFold("TooManyFieldLevelEncryptionProfiles", errorCode): + return awsRestxml_deserializeErrorTooManyFieldLevelEncryptionProfiles(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -3310,11 +3140,16 @@ func awsRestxml_deserializeOpErrorCreateInvalidation(response *smithyhttp.Respon } } -func awsRestxml_deserializeOpHttpBindingsCreateInvalidationOutput(v *CreateInvalidationOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsCreateFieldLevelEncryptionProfileOutput(v *CreateFieldLevelEncryptionProfileOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } + if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.ETag = ptr.String(headerValues[0]) + } + if headerValues := response.Header.Values("Location"); len(headerValues) != 0 { headerValues[0] = strings.TrimSpace(headerValues[0]) v.Location = ptr.String(headerValues[0]) @@ -3322,13 +3157,13 @@ func awsRestxml_deserializeOpHttpBindingsCreateInvalidationOutput(v *CreateInval return nil } -func awsRestxml_deserializeOpDocumentCreateInvalidationOutput(v **CreateInvalidationOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentCreateFieldLevelEncryptionProfileOutput(v **CreateFieldLevelEncryptionProfileOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *CreateInvalidationOutput + var sv *CreateFieldLevelEncryptionProfileOutput if *v == nil { - sv = &CreateInvalidationOutput{} + sv = &CreateFieldLevelEncryptionProfileOutput{} } else { sv = *v } @@ -3344,9 +3179,9 @@ func awsRestxml_deserializeOpDocumentCreateInvalidationOutput(v **CreateInvalida originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("Invalidation", t.Name.Local): + case strings.EqualFold("FieldLevelEncryptionProfile", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentInvalidation(&sv.Invalidation, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentFieldLevelEncryptionProfile(&sv.FieldLevelEncryptionProfile, nodeDecoder); err != nil { return err } @@ -3364,14 +3199,14 @@ func awsRestxml_deserializeOpDocumentCreateInvalidationOutput(v **CreateInvalida return nil } -type awsRestxml_deserializeOpCreateInvalidationForDistributionTenant struct { +type awsRestxml_deserializeOpCreateFunction struct { } -func (*awsRestxml_deserializeOpCreateInvalidationForDistributionTenant) ID() string { +func (*awsRestxml_deserializeOpCreateFunction) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpCreateInvalidationForDistributionTenant) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpCreateFunction) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -3389,12 +3224,12 @@ func (m *awsRestxml_deserializeOpCreateInvalidationForDistributionTenant) Handle } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorCreateInvalidationForDistributionTenant(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorCreateFunction(response, &metadata) } - output := &CreateInvalidationForDistributionTenantOutput{} + output := &CreateFunctionOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsCreateInvalidationForDistributionTenantOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsCreateFunctionOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -3417,7 +3252,7 @@ func (m *awsRestxml_deserializeOpCreateInvalidationForDistributionTenant) Handle } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentInvalidation(&output.Invalidation, decoder) + err = awsRestxml_deserializeDocumentFunctionSummary(&output.FunctionSummary, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -3431,7 +3266,7 @@ func (m *awsRestxml_deserializeOpCreateInvalidationForDistributionTenant) Handle return out, metadata, err } -func awsRestxml_deserializeOpErrorCreateInvalidationForDistributionTenant(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorCreateFunction(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -3456,26 +3291,20 @@ func awsRestxml_deserializeOpErrorCreateInvalidationForDistributionTenant(respon } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("AccessDenied", errorCode): - return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - - case strings.EqualFold("BatchTooLarge", errorCode): - return awsRestxml_deserializeErrorBatchTooLarge(response, errorBody) - - case strings.EqualFold("EntityNotFound", errorCode): - return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + case strings.EqualFold("FunctionAlreadyExists", errorCode): + return awsRestxml_deserializeErrorFunctionAlreadyExists(response, errorBody) - case strings.EqualFold("InconsistentQuantities", errorCode): - return awsRestxml_deserializeErrorInconsistentQuantities(response, errorBody) + case strings.EqualFold("FunctionSizeLimitExceeded", errorCode): + return awsRestxml_deserializeErrorFunctionSizeLimitExceeded(response, errorBody) case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("MissingBody", errorCode): - return awsRestxml_deserializeErrorMissingBody(response, errorBody) + case strings.EqualFold("TooManyFunctions", errorCode): + return awsRestxml_deserializeErrorTooManyFunctions(response, errorBody) - case strings.EqualFold("TooManyInvalidationsInProgress", errorCode): - return awsRestxml_deserializeErrorTooManyInvalidationsInProgress(response, errorBody) + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -3487,11 +3316,16 @@ func awsRestxml_deserializeOpErrorCreateInvalidationForDistributionTenant(respon } } -func awsRestxml_deserializeOpHttpBindingsCreateInvalidationForDistributionTenantOutput(v *CreateInvalidationForDistributionTenantOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsCreateFunctionOutput(v *CreateFunctionOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } + if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.ETag = ptr.String(headerValues[0]) + } + if headerValues := response.Header.Values("Location"); len(headerValues) != 0 { headerValues[0] = strings.TrimSpace(headerValues[0]) v.Location = ptr.String(headerValues[0]) @@ -3499,13 +3333,13 @@ func awsRestxml_deserializeOpHttpBindingsCreateInvalidationForDistributionTenant return nil } -func awsRestxml_deserializeOpDocumentCreateInvalidationForDistributionTenantOutput(v **CreateInvalidationForDistributionTenantOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *CreateInvalidationForDistributionTenantOutput + var sv *CreateFunctionOutput if *v == nil { - sv = &CreateInvalidationForDistributionTenantOutput{} + sv = &CreateFunctionOutput{} } else { sv = *v } @@ -3521,9 +3355,9 @@ func awsRestxml_deserializeOpDocumentCreateInvalidationForDistributionTenantOutp originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("Invalidation", t.Name.Local): + case strings.EqualFold("FunctionSummary", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentInvalidation(&sv.Invalidation, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentFunctionSummary(&sv.FunctionSummary, nodeDecoder); err != nil { return err } @@ -3541,14 +3375,14 @@ func awsRestxml_deserializeOpDocumentCreateInvalidationForDistributionTenantOutp return nil } -type awsRestxml_deserializeOpCreateKeyGroup struct { +type awsRestxml_deserializeOpCreateInvalidation struct { } -func (*awsRestxml_deserializeOpCreateKeyGroup) ID() string { +func (*awsRestxml_deserializeOpCreateInvalidation) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpCreateKeyGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpCreateInvalidation) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -3566,12 +3400,12 @@ func (m *awsRestxml_deserializeOpCreateKeyGroup) HandleDeserialize(ctx context.C } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorCreateKeyGroup(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorCreateInvalidation(response, &metadata) } - output := &CreateKeyGroupOutput{} + output := &CreateInvalidationOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsCreateKeyGroupOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsCreateInvalidationOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -3594,7 +3428,7 @@ func (m *awsRestxml_deserializeOpCreateKeyGroup) HandleDeserialize(ctx context.C } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentKeyGroup(&output.KeyGroup, decoder) + err = awsRestxml_deserializeDocumentInvalidation(&output.Invalidation, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -3608,7 +3442,7 @@ func (m *awsRestxml_deserializeOpCreateKeyGroup) HandleDeserialize(ctx context.C return out, metadata, err } -func awsRestxml_deserializeOpErrorCreateKeyGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorCreateInvalidation(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -3633,17 +3467,26 @@ func awsRestxml_deserializeOpErrorCreateKeyGroup(response *smithyhttp.Response, } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("BatchTooLarge", errorCode): + return awsRestxml_deserializeErrorBatchTooLarge(response, errorBody) + + case strings.EqualFold("InconsistentQuantities", errorCode): + return awsRestxml_deserializeErrorInconsistentQuantities(response, errorBody) + case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("KeyGroupAlreadyExists", errorCode): - return awsRestxml_deserializeErrorKeyGroupAlreadyExists(response, errorBody) + case strings.EqualFold("MissingBody", errorCode): + return awsRestxml_deserializeErrorMissingBody(response, errorBody) - case strings.EqualFold("TooManyKeyGroups", errorCode): - return awsRestxml_deserializeErrorTooManyKeyGroups(response, errorBody) + case strings.EqualFold("NoSuchDistribution", errorCode): + return awsRestxml_deserializeErrorNoSuchDistribution(response, errorBody) - case strings.EqualFold("TooManyPublicKeysInKeyGroup", errorCode): - return awsRestxml_deserializeErrorTooManyPublicKeysInKeyGroup(response, errorBody) + case strings.EqualFold("TooManyInvalidationsInProgress", errorCode): + return awsRestxml_deserializeErrorTooManyInvalidationsInProgress(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -3655,16 +3498,11 @@ func awsRestxml_deserializeOpErrorCreateKeyGroup(response *smithyhttp.Response, } } -func awsRestxml_deserializeOpHttpBindingsCreateKeyGroupOutput(v *CreateKeyGroupOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsCreateInvalidationOutput(v *CreateInvalidationOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } - if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { - headerValues[0] = strings.TrimSpace(headerValues[0]) - v.ETag = ptr.String(headerValues[0]) - } - if headerValues := response.Header.Values("Location"); len(headerValues) != 0 { headerValues[0] = strings.TrimSpace(headerValues[0]) v.Location = ptr.String(headerValues[0]) @@ -3672,13 +3510,13 @@ func awsRestxml_deserializeOpHttpBindingsCreateKeyGroupOutput(v *CreateKeyGroupO return nil } -func awsRestxml_deserializeOpDocumentCreateKeyGroupOutput(v **CreateKeyGroupOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentCreateInvalidationOutput(v **CreateInvalidationOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *CreateKeyGroupOutput + var sv *CreateInvalidationOutput if *v == nil { - sv = &CreateKeyGroupOutput{} + sv = &CreateInvalidationOutput{} } else { sv = *v } @@ -3694,9 +3532,9 @@ func awsRestxml_deserializeOpDocumentCreateKeyGroupOutput(v **CreateKeyGroupOutp originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("KeyGroup", t.Name.Local): + case strings.EqualFold("Invalidation", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentKeyGroup(&sv.KeyGroup, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentInvalidation(&sv.Invalidation, nodeDecoder); err != nil { return err } @@ -3714,14 +3552,14 @@ func awsRestxml_deserializeOpDocumentCreateKeyGroupOutput(v **CreateKeyGroupOutp return nil } -type awsRestxml_deserializeOpCreateKeyValueStore struct { +type awsRestxml_deserializeOpCreateInvalidationForDistributionTenant struct { } -func (*awsRestxml_deserializeOpCreateKeyValueStore) ID() string { +func (*awsRestxml_deserializeOpCreateInvalidationForDistributionTenant) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpCreateKeyValueStore) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpCreateInvalidationForDistributionTenant) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -3739,12 +3577,12 @@ func (m *awsRestxml_deserializeOpCreateKeyValueStore) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorCreateKeyValueStore(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorCreateInvalidationForDistributionTenant(response, &metadata) } - output := &CreateKeyValueStoreOutput{} + output := &CreateInvalidationForDistributionTenantOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsCreateKeyValueStoreOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsCreateInvalidationForDistributionTenantOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -3767,7 +3605,7 @@ func (m *awsRestxml_deserializeOpCreateKeyValueStore) HandleDeserialize(ctx cont } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentKeyValueStore(&output.KeyValueStore, decoder) + err = awsRestxml_deserializeDocumentInvalidation(&output.Invalidation, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -3781,7 +3619,7 @@ func (m *awsRestxml_deserializeOpCreateKeyValueStore) HandleDeserialize(ctx cont return out, metadata, err } -func awsRestxml_deserializeOpErrorCreateKeyValueStore(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorCreateInvalidationForDistributionTenant(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -3809,20 +3647,23 @@ func awsRestxml_deserializeOpErrorCreateKeyValueStore(response *smithyhttp.Respo case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("EntityAlreadyExists", errorCode): - return awsRestxml_deserializeErrorEntityAlreadyExists(response, errorBody) + case strings.EqualFold("BatchTooLarge", errorCode): + return awsRestxml_deserializeErrorBatchTooLarge(response, errorBody) - case strings.EqualFold("EntityLimitExceeded", errorCode): - return awsRestxml_deserializeErrorEntityLimitExceeded(response, errorBody) + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) - case strings.EqualFold("EntitySizeLimitExceeded", errorCode): - return awsRestxml_deserializeErrorEntitySizeLimitExceeded(response, errorBody) + case strings.EqualFold("InconsistentQuantities", errorCode): + return awsRestxml_deserializeErrorInconsistentQuantities(response, errorBody) case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("UnsupportedOperation", errorCode): - return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) + case strings.EqualFold("MissingBody", errorCode): + return awsRestxml_deserializeErrorMissingBody(response, errorBody) + + case strings.EqualFold("TooManyInvalidationsInProgress", errorCode): + return awsRestxml_deserializeErrorTooManyInvalidationsInProgress(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -3834,16 +3675,11 @@ func awsRestxml_deserializeOpErrorCreateKeyValueStore(response *smithyhttp.Respo } } -func awsRestxml_deserializeOpHttpBindingsCreateKeyValueStoreOutput(v *CreateKeyValueStoreOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsCreateInvalidationForDistributionTenantOutput(v *CreateInvalidationForDistributionTenantOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } - if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { - headerValues[0] = strings.TrimSpace(headerValues[0]) - v.ETag = ptr.String(headerValues[0]) - } - if headerValues := response.Header.Values("Location"); len(headerValues) != 0 { headerValues[0] = strings.TrimSpace(headerValues[0]) v.Location = ptr.String(headerValues[0]) @@ -3851,13 +3687,13 @@ func awsRestxml_deserializeOpHttpBindingsCreateKeyValueStoreOutput(v *CreateKeyV return nil } -func awsRestxml_deserializeOpDocumentCreateKeyValueStoreOutput(v **CreateKeyValueStoreOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentCreateInvalidationForDistributionTenantOutput(v **CreateInvalidationForDistributionTenantOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *CreateKeyValueStoreOutput + var sv *CreateInvalidationForDistributionTenantOutput if *v == nil { - sv = &CreateKeyValueStoreOutput{} + sv = &CreateInvalidationForDistributionTenantOutput{} } else { sv = *v } @@ -3873,9 +3709,9 @@ func awsRestxml_deserializeOpDocumentCreateKeyValueStoreOutput(v **CreateKeyValu originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("KeyValueStore", t.Name.Local): + case strings.EqualFold("Invalidation", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentKeyValueStore(&sv.KeyValueStore, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentInvalidation(&sv.Invalidation, nodeDecoder); err != nil { return err } @@ -3893,14 +3729,14 @@ func awsRestxml_deserializeOpDocumentCreateKeyValueStoreOutput(v **CreateKeyValu return nil } -type awsRestxml_deserializeOpCreateMonitoringSubscription struct { +type awsRestxml_deserializeOpCreateKeyGroup struct { } -func (*awsRestxml_deserializeOpCreateMonitoringSubscription) ID() string { +func (*awsRestxml_deserializeOpCreateKeyGroup) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpCreateMonitoringSubscription) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpCreateKeyGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -3918,11 +3754,16 @@ func (m *awsRestxml_deserializeOpCreateMonitoringSubscription) HandleDeserialize } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorCreateMonitoringSubscription(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorCreateKeyGroup(response, &metadata) } - output := &CreateMonitoringSubscriptionOutput{} + output := &CreateKeyGroupOutput{} out.Result = output + err = awsRestxml_deserializeOpHttpBindingsCreateKeyGroupOutput(output, response) + if err != nil { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} + } + var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(response.Body, ringBuffer) @@ -3941,7 +3782,7 @@ func (m *awsRestxml_deserializeOpCreateMonitoringSubscription) HandleDeserialize } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentMonitoringSubscription(&output.MonitoringSubscription, decoder) + err = awsRestxml_deserializeDocumentKeyGroup(&output.KeyGroup, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -3955,7 +3796,7 @@ func (m *awsRestxml_deserializeOpCreateMonitoringSubscription) HandleDeserialize return out, metadata, err } -func awsRestxml_deserializeOpErrorCreateMonitoringSubscription(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorCreateKeyGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -3980,17 +3821,17 @@ func awsRestxml_deserializeOpErrorCreateMonitoringSubscription(response *smithyh } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("AccessDenied", errorCode): - return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + case strings.EqualFold("InvalidArgument", errorCode): + return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("MonitoringSubscriptionAlreadyExists", errorCode): - return awsRestxml_deserializeErrorMonitoringSubscriptionAlreadyExists(response, errorBody) + case strings.EqualFold("KeyGroupAlreadyExists", errorCode): + return awsRestxml_deserializeErrorKeyGroupAlreadyExists(response, errorBody) - case strings.EqualFold("NoSuchDistribution", errorCode): - return awsRestxml_deserializeErrorNoSuchDistribution(response, errorBody) + case strings.EqualFold("TooManyKeyGroups", errorCode): + return awsRestxml_deserializeErrorTooManyKeyGroups(response, errorBody) - case strings.EqualFold("UnsupportedOperation", errorCode): - return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) + case strings.EqualFold("TooManyPublicKeysInKeyGroup", errorCode): + return awsRestxml_deserializeErrorTooManyPublicKeysInKeyGroup(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -4002,13 +3843,30 @@ func awsRestxml_deserializeOpErrorCreateMonitoringSubscription(response *smithyh } } -func awsRestxml_deserializeOpDocumentCreateMonitoringSubscriptionOutput(v **CreateMonitoringSubscriptionOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpHttpBindingsCreateKeyGroupOutput(v *CreateKeyGroupOutput, response *smithyhttp.Response) error { + if v == nil { + return fmt.Errorf("unsupported deserialization for nil %T", v) + } + + if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.ETag = ptr.String(headerValues[0]) + } + + if headerValues := response.Header.Values("Location"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.Location = ptr.String(headerValues[0]) + } + + return nil +} +func awsRestxml_deserializeOpDocumentCreateKeyGroupOutput(v **CreateKeyGroupOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *CreateMonitoringSubscriptionOutput + var sv *CreateKeyGroupOutput if *v == nil { - sv = &CreateMonitoringSubscriptionOutput{} + sv = &CreateKeyGroupOutput{} } else { sv = *v } @@ -4024,9 +3882,9 @@ func awsRestxml_deserializeOpDocumentCreateMonitoringSubscriptionOutput(v **Crea originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("MonitoringSubscription", t.Name.Local): + case strings.EqualFold("KeyGroup", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentMonitoringSubscription(&sv.MonitoringSubscription, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentKeyGroup(&sv.KeyGroup, nodeDecoder); err != nil { return err } @@ -4044,14 +3902,14 @@ func awsRestxml_deserializeOpDocumentCreateMonitoringSubscriptionOutput(v **Crea return nil } -type awsRestxml_deserializeOpCreateOriginAccessControl struct { +type awsRestxml_deserializeOpCreateKeyValueStore struct { } -func (*awsRestxml_deserializeOpCreateOriginAccessControl) ID() string { +func (*awsRestxml_deserializeOpCreateKeyValueStore) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpCreateOriginAccessControl) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpCreateKeyValueStore) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -4069,12 +3927,12 @@ func (m *awsRestxml_deserializeOpCreateOriginAccessControl) HandleDeserialize(ct } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorCreateOriginAccessControl(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorCreateKeyValueStore(response, &metadata) } - output := &CreateOriginAccessControlOutput{} + output := &CreateKeyValueStoreOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsCreateOriginAccessControlOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsCreateKeyValueStoreOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -4097,7 +3955,7 @@ func (m *awsRestxml_deserializeOpCreateOriginAccessControl) HandleDeserialize(ct } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentOriginAccessControl(&output.OriginAccessControl, decoder) + err = awsRestxml_deserializeDocumentKeyValueStore(&output.KeyValueStore, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -4111,7 +3969,7 @@ func (m *awsRestxml_deserializeOpCreateOriginAccessControl) HandleDeserialize(ct return out, metadata, err } -func awsRestxml_deserializeOpErrorCreateOriginAccessControl(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorCreateKeyValueStore(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -4136,14 +3994,23 @@ func awsRestxml_deserializeOpErrorCreateOriginAccessControl(response *smithyhttp } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("EntityAlreadyExists", errorCode): + return awsRestxml_deserializeErrorEntityAlreadyExists(response, errorBody) + + case strings.EqualFold("EntityLimitExceeded", errorCode): + return awsRestxml_deserializeErrorEntityLimitExceeded(response, errorBody) + + case strings.EqualFold("EntitySizeLimitExceeded", errorCode): + return awsRestxml_deserializeErrorEntitySizeLimitExceeded(response, errorBody) + case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("OriginAccessControlAlreadyExists", errorCode): - return awsRestxml_deserializeErrorOriginAccessControlAlreadyExists(response, errorBody) - - case strings.EqualFold("TooManyOriginAccessControls", errorCode): - return awsRestxml_deserializeErrorTooManyOriginAccessControls(response, errorBody) + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -4155,7 +4022,7 @@ func awsRestxml_deserializeOpErrorCreateOriginAccessControl(response *smithyhttp } } -func awsRestxml_deserializeOpHttpBindingsCreateOriginAccessControlOutput(v *CreateOriginAccessControlOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsCreateKeyValueStoreOutput(v *CreateKeyValueStoreOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -4172,13 +4039,13 @@ func awsRestxml_deserializeOpHttpBindingsCreateOriginAccessControlOutput(v *Crea return nil } -func awsRestxml_deserializeOpDocumentCreateOriginAccessControlOutput(v **CreateOriginAccessControlOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentCreateKeyValueStoreOutput(v **CreateKeyValueStoreOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *CreateOriginAccessControlOutput + var sv *CreateKeyValueStoreOutput if *v == nil { - sv = &CreateOriginAccessControlOutput{} + sv = &CreateKeyValueStoreOutput{} } else { sv = *v } @@ -4194,9 +4061,9 @@ func awsRestxml_deserializeOpDocumentCreateOriginAccessControlOutput(v **CreateO originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("OriginAccessControl", t.Name.Local): + case strings.EqualFold("KeyValueStore", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentOriginAccessControl(&sv.OriginAccessControl, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentKeyValueStore(&sv.KeyValueStore, nodeDecoder); err != nil { return err } @@ -4214,14 +4081,14 @@ func awsRestxml_deserializeOpDocumentCreateOriginAccessControlOutput(v **CreateO return nil } -type awsRestxml_deserializeOpCreateOriginRequestPolicy struct { +type awsRestxml_deserializeOpCreateMonitoringSubscription struct { } -func (*awsRestxml_deserializeOpCreateOriginRequestPolicy) ID() string { +func (*awsRestxml_deserializeOpCreateMonitoringSubscription) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpCreateOriginRequestPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpCreateMonitoringSubscription) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -4239,16 +4106,11 @@ func (m *awsRestxml_deserializeOpCreateOriginRequestPolicy) HandleDeserialize(ct } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorCreateOriginRequestPolicy(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorCreateMonitoringSubscription(response, &metadata) } - output := &CreateOriginRequestPolicyOutput{} + output := &CreateMonitoringSubscriptionOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsCreateOriginRequestPolicyOutput(output, response) - if err != nil { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} - } - var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(response.Body, ringBuffer) @@ -4267,7 +4129,7 @@ func (m *awsRestxml_deserializeOpCreateOriginRequestPolicy) HandleDeserialize(ct } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentOriginRequestPolicy(&output.OriginRequestPolicy, decoder) + err = awsRestxml_deserializeDocumentMonitoringSubscription(&output.MonitoringSubscription, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -4281,7 +4143,7 @@ func (m *awsRestxml_deserializeOpCreateOriginRequestPolicy) HandleDeserialize(ct return out, metadata, err } -func awsRestxml_deserializeOpErrorCreateOriginRequestPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorCreateMonitoringSubscription(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -4309,26 +4171,14 @@ func awsRestxml_deserializeOpErrorCreateOriginRequestPolicy(response *smithyhttp case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("InconsistentQuantities", errorCode): - return awsRestxml_deserializeErrorInconsistentQuantities(response, errorBody) - - case strings.EqualFold("InvalidArgument", errorCode): - return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - - case strings.EqualFold("OriginRequestPolicyAlreadyExists", errorCode): - return awsRestxml_deserializeErrorOriginRequestPolicyAlreadyExists(response, errorBody) - - case strings.EqualFold("TooManyCookiesInOriginRequestPolicy", errorCode): - return awsRestxml_deserializeErrorTooManyCookiesInOriginRequestPolicy(response, errorBody) - - case strings.EqualFold("TooManyHeadersInOriginRequestPolicy", errorCode): - return awsRestxml_deserializeErrorTooManyHeadersInOriginRequestPolicy(response, errorBody) + case strings.EqualFold("MonitoringSubscriptionAlreadyExists", errorCode): + return awsRestxml_deserializeErrorMonitoringSubscriptionAlreadyExists(response, errorBody) - case strings.EqualFold("TooManyOriginRequestPolicies", errorCode): - return awsRestxml_deserializeErrorTooManyOriginRequestPolicies(response, errorBody) + case strings.EqualFold("NoSuchDistribution", errorCode): + return awsRestxml_deserializeErrorNoSuchDistribution(response, errorBody) - case strings.EqualFold("TooManyQueryStringsInOriginRequestPolicy", errorCode): - return awsRestxml_deserializeErrorTooManyQueryStringsInOriginRequestPolicy(response, errorBody) + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -4340,30 +4190,13 @@ func awsRestxml_deserializeOpErrorCreateOriginRequestPolicy(response *smithyhttp } } -func awsRestxml_deserializeOpHttpBindingsCreateOriginRequestPolicyOutput(v *CreateOriginRequestPolicyOutput, response *smithyhttp.Response) error { - if v == nil { - return fmt.Errorf("unsupported deserialization for nil %T", v) - } - - if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { - headerValues[0] = strings.TrimSpace(headerValues[0]) - v.ETag = ptr.String(headerValues[0]) - } - - if headerValues := response.Header.Values("Location"); len(headerValues) != 0 { - headerValues[0] = strings.TrimSpace(headerValues[0]) - v.Location = ptr.String(headerValues[0]) - } - - return nil -} -func awsRestxml_deserializeOpDocumentCreateOriginRequestPolicyOutput(v **CreateOriginRequestPolicyOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentCreateMonitoringSubscriptionOutput(v **CreateMonitoringSubscriptionOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *CreateOriginRequestPolicyOutput + var sv *CreateMonitoringSubscriptionOutput if *v == nil { - sv = &CreateOriginRequestPolicyOutput{} + sv = &CreateMonitoringSubscriptionOutput{} } else { sv = *v } @@ -4379,9 +4212,9 @@ func awsRestxml_deserializeOpDocumentCreateOriginRequestPolicyOutput(v **CreateO originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("OriginRequestPolicy", t.Name.Local): + case strings.EqualFold("MonitoringSubscription", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentOriginRequestPolicy(&sv.OriginRequestPolicy, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentMonitoringSubscription(&sv.MonitoringSubscription, nodeDecoder); err != nil { return err } @@ -4399,14 +4232,14 @@ func awsRestxml_deserializeOpDocumentCreateOriginRequestPolicyOutput(v **CreateO return nil } -type awsRestxml_deserializeOpCreatePublicKey struct { +type awsRestxml_deserializeOpCreateOriginAccessControl struct { } -func (*awsRestxml_deserializeOpCreatePublicKey) ID() string { +func (*awsRestxml_deserializeOpCreateOriginAccessControl) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpCreatePublicKey) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpCreateOriginAccessControl) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -4424,12 +4257,12 @@ func (m *awsRestxml_deserializeOpCreatePublicKey) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorCreatePublicKey(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorCreateOriginAccessControl(response, &metadata) } - output := &CreatePublicKeyOutput{} + output := &CreateOriginAccessControlOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsCreatePublicKeyOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsCreateOriginAccessControlOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -4452,7 +4285,7 @@ func (m *awsRestxml_deserializeOpCreatePublicKey) HandleDeserialize(ctx context. } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentPublicKey(&output.PublicKey, decoder) + err = awsRestxml_deserializeDocumentOriginAccessControl(&output.OriginAccessControl, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -4466,7 +4299,7 @@ func (m *awsRestxml_deserializeOpCreatePublicKey) HandleDeserialize(ctx context. return out, metadata, err } -func awsRestxml_deserializeOpErrorCreatePublicKey(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorCreateOriginAccessControl(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -4494,11 +4327,11 @@ func awsRestxml_deserializeOpErrorCreatePublicKey(response *smithyhttp.Response, case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("PublicKeyAlreadyExists", errorCode): - return awsRestxml_deserializeErrorPublicKeyAlreadyExists(response, errorBody) + case strings.EqualFold("OriginAccessControlAlreadyExists", errorCode): + return awsRestxml_deserializeErrorOriginAccessControlAlreadyExists(response, errorBody) - case strings.EqualFold("TooManyPublicKeys", errorCode): - return awsRestxml_deserializeErrorTooManyPublicKeys(response, errorBody) + case strings.EqualFold("TooManyOriginAccessControls", errorCode): + return awsRestxml_deserializeErrorTooManyOriginAccessControls(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -4510,7 +4343,7 @@ func awsRestxml_deserializeOpErrorCreatePublicKey(response *smithyhttp.Response, } } -func awsRestxml_deserializeOpHttpBindingsCreatePublicKeyOutput(v *CreatePublicKeyOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsCreateOriginAccessControlOutput(v *CreateOriginAccessControlOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -4527,13 +4360,13 @@ func awsRestxml_deserializeOpHttpBindingsCreatePublicKeyOutput(v *CreatePublicKe return nil } -func awsRestxml_deserializeOpDocumentCreatePublicKeyOutput(v **CreatePublicKeyOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentCreateOriginAccessControlOutput(v **CreateOriginAccessControlOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *CreatePublicKeyOutput + var sv *CreateOriginAccessControlOutput if *v == nil { - sv = &CreatePublicKeyOutput{} + sv = &CreateOriginAccessControlOutput{} } else { sv = *v } @@ -4549,9 +4382,9 @@ func awsRestxml_deserializeOpDocumentCreatePublicKeyOutput(v **CreatePublicKeyOu originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("PublicKey", t.Name.Local): + case strings.EqualFold("OriginAccessControl", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentPublicKey(&sv.PublicKey, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentOriginAccessControl(&sv.OriginAccessControl, nodeDecoder); err != nil { return err } @@ -4569,14 +4402,14 @@ func awsRestxml_deserializeOpDocumentCreatePublicKeyOutput(v **CreatePublicKeyOu return nil } -type awsRestxml_deserializeOpCreateRealtimeLogConfig struct { +type awsRestxml_deserializeOpCreateOriginRequestPolicy struct { } -func (*awsRestxml_deserializeOpCreateRealtimeLogConfig) ID() string { +func (*awsRestxml_deserializeOpCreateOriginRequestPolicy) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpCreateRealtimeLogConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpCreateOriginRequestPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -4594,11 +4427,16 @@ func (m *awsRestxml_deserializeOpCreateRealtimeLogConfig) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorCreateRealtimeLogConfig(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorCreateOriginRequestPolicy(response, &metadata) } - output := &CreateRealtimeLogConfigOutput{} + output := &CreateOriginRequestPolicyOutput{} out.Result = output + err = awsRestxml_deserializeOpHttpBindingsCreateOriginRequestPolicyOutput(output, response) + if err != nil { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} + } + var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(response.Body, ringBuffer) @@ -4617,7 +4455,7 @@ func (m *awsRestxml_deserializeOpCreateRealtimeLogConfig) HandleDeserialize(ctx } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentCreateRealtimeLogConfigOutput(&output, decoder) + err = awsRestxml_deserializeDocumentOriginRequestPolicy(&output.OriginRequestPolicy, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -4631,7 +4469,7 @@ func (m *awsRestxml_deserializeOpCreateRealtimeLogConfig) HandleDeserialize(ctx return out, metadata, err } -func awsRestxml_deserializeOpErrorCreateRealtimeLogConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorCreateOriginRequestPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -4659,14 +4497,26 @@ func awsRestxml_deserializeOpErrorCreateRealtimeLogConfig(response *smithyhttp.R case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + case strings.EqualFold("InconsistentQuantities", errorCode): + return awsRestxml_deserializeErrorInconsistentQuantities(response, errorBody) + case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("RealtimeLogConfigAlreadyExists", errorCode): - return awsRestxml_deserializeErrorRealtimeLogConfigAlreadyExists(response, errorBody) + case strings.EqualFold("OriginRequestPolicyAlreadyExists", errorCode): + return awsRestxml_deserializeErrorOriginRequestPolicyAlreadyExists(response, errorBody) - case strings.EqualFold("TooManyRealtimeLogConfigs", errorCode): - return awsRestxml_deserializeErrorTooManyRealtimeLogConfigs(response, errorBody) + case strings.EqualFold("TooManyCookiesInOriginRequestPolicy", errorCode): + return awsRestxml_deserializeErrorTooManyCookiesInOriginRequestPolicy(response, errorBody) + + case strings.EqualFold("TooManyHeadersInOriginRequestPolicy", errorCode): + return awsRestxml_deserializeErrorTooManyHeadersInOriginRequestPolicy(response, errorBody) + + case strings.EqualFold("TooManyOriginRequestPolicies", errorCode): + return awsRestxml_deserializeErrorTooManyOriginRequestPolicies(response, errorBody) + + case strings.EqualFold("TooManyQueryStringsInOriginRequestPolicy", errorCode): + return awsRestxml_deserializeErrorTooManyQueryStringsInOriginRequestPolicy(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -4678,13 +4528,30 @@ func awsRestxml_deserializeOpErrorCreateRealtimeLogConfig(response *smithyhttp.R } } -func awsRestxml_deserializeOpDocumentCreateRealtimeLogConfigOutput(v **CreateRealtimeLogConfigOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpHttpBindingsCreateOriginRequestPolicyOutput(v *CreateOriginRequestPolicyOutput, response *smithyhttp.Response) error { + if v == nil { + return fmt.Errorf("unsupported deserialization for nil %T", v) + } + + if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.ETag = ptr.String(headerValues[0]) + } + + if headerValues := response.Header.Values("Location"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.Location = ptr.String(headerValues[0]) + } + + return nil +} +func awsRestxml_deserializeOpDocumentCreateOriginRequestPolicyOutput(v **CreateOriginRequestPolicyOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *CreateRealtimeLogConfigOutput + var sv *CreateOriginRequestPolicyOutput if *v == nil { - sv = &CreateRealtimeLogConfigOutput{} + sv = &CreateOriginRequestPolicyOutput{} } else { sv = *v } @@ -4700,9 +4567,9 @@ func awsRestxml_deserializeOpDocumentCreateRealtimeLogConfigOutput(v **CreateRea originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("RealtimeLogConfig", t.Name.Local): + case strings.EqualFold("OriginRequestPolicy", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentRealtimeLogConfig(&sv.RealtimeLogConfig, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentOriginRequestPolicy(&sv.OriginRequestPolicy, nodeDecoder); err != nil { return err } @@ -4720,14 +4587,14 @@ func awsRestxml_deserializeOpDocumentCreateRealtimeLogConfigOutput(v **CreateRea return nil } -type awsRestxml_deserializeOpCreateResponseHeadersPolicy struct { +type awsRestxml_deserializeOpCreatePublicKey struct { } -func (*awsRestxml_deserializeOpCreateResponseHeadersPolicy) ID() string { +func (*awsRestxml_deserializeOpCreatePublicKey) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpCreateResponseHeadersPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpCreatePublicKey) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -4745,12 +4612,12 @@ func (m *awsRestxml_deserializeOpCreateResponseHeadersPolicy) HandleDeserialize( } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorCreateResponseHeadersPolicy(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorCreatePublicKey(response, &metadata) } - output := &CreateResponseHeadersPolicyOutput{} + output := &CreatePublicKeyOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsCreateResponseHeadersPolicyOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsCreatePublicKeyOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -4773,7 +4640,7 @@ func (m *awsRestxml_deserializeOpCreateResponseHeadersPolicy) HandleDeserialize( } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentResponseHeadersPolicy(&output.ResponseHeadersPolicy, decoder) + err = awsRestxml_deserializeDocumentPublicKey(&output.PublicKey, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -4787,7 +4654,7 @@ func (m *awsRestxml_deserializeOpCreateResponseHeadersPolicy) HandleDeserialize( return out, metadata, err } -func awsRestxml_deserializeOpErrorCreateResponseHeadersPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorCreatePublicKey(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -4812,29 +4679,14 @@ func awsRestxml_deserializeOpErrorCreateResponseHeadersPolicy(response *smithyht } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("AccessDenied", errorCode): - return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - - case strings.EqualFold("InconsistentQuantities", errorCode): - return awsRestxml_deserializeErrorInconsistentQuantities(response, errorBody) - case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("ResponseHeadersPolicyAlreadyExists", errorCode): - return awsRestxml_deserializeErrorResponseHeadersPolicyAlreadyExists(response, errorBody) - - case strings.EqualFold("TooLongCSPInResponseHeadersPolicy", errorCode): - return awsRestxml_deserializeErrorTooLongCSPInResponseHeadersPolicy(response, errorBody) - - case strings.EqualFold("TooManyCustomHeadersInResponseHeadersPolicy", errorCode): - return awsRestxml_deserializeErrorTooManyCustomHeadersInResponseHeadersPolicy(response, errorBody) - - case strings.EqualFold("TooManyRemoveHeadersInResponseHeadersPolicy", errorCode): - return awsRestxml_deserializeErrorTooManyRemoveHeadersInResponseHeadersPolicy(response, errorBody) + case strings.EqualFold("PublicKeyAlreadyExists", errorCode): + return awsRestxml_deserializeErrorPublicKeyAlreadyExists(response, errorBody) - case strings.EqualFold("TooManyResponseHeadersPolicies", errorCode): - return awsRestxml_deserializeErrorTooManyResponseHeadersPolicies(response, errorBody) + case strings.EqualFold("TooManyPublicKeys", errorCode): + return awsRestxml_deserializeErrorTooManyPublicKeys(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -4846,7 +4698,7 @@ func awsRestxml_deserializeOpErrorCreateResponseHeadersPolicy(response *smithyht } } -func awsRestxml_deserializeOpHttpBindingsCreateResponseHeadersPolicyOutput(v *CreateResponseHeadersPolicyOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsCreatePublicKeyOutput(v *CreatePublicKeyOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -4863,13 +4715,13 @@ func awsRestxml_deserializeOpHttpBindingsCreateResponseHeadersPolicyOutput(v *Cr return nil } -func awsRestxml_deserializeOpDocumentCreateResponseHeadersPolicyOutput(v **CreateResponseHeadersPolicyOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentCreatePublicKeyOutput(v **CreatePublicKeyOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *CreateResponseHeadersPolicyOutput + var sv *CreatePublicKeyOutput if *v == nil { - sv = &CreateResponseHeadersPolicyOutput{} + sv = &CreatePublicKeyOutput{} } else { sv = *v } @@ -4885,9 +4737,9 @@ func awsRestxml_deserializeOpDocumentCreateResponseHeadersPolicyOutput(v **Creat originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("ResponseHeadersPolicy", t.Name.Local): + case strings.EqualFold("PublicKey", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentResponseHeadersPolicy(&sv.ResponseHeadersPolicy, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentPublicKey(&sv.PublicKey, nodeDecoder); err != nil { return err } @@ -4905,14 +4757,14 @@ func awsRestxml_deserializeOpDocumentCreateResponseHeadersPolicyOutput(v **Creat return nil } -type awsRestxml_deserializeOpCreateStreamingDistribution struct { +type awsRestxml_deserializeOpCreateRealtimeLogConfig struct { } -func (*awsRestxml_deserializeOpCreateStreamingDistribution) ID() string { +func (*awsRestxml_deserializeOpCreateRealtimeLogConfig) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpCreateStreamingDistribution) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpCreateRealtimeLogConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -4930,12 +4782,163 @@ func (m *awsRestxml_deserializeOpCreateStreamingDistribution) HandleDeserialize( } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorCreateStreamingDistribution(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorCreateRealtimeLogConfig(response, &metadata) } - output := &CreateStreamingDistributionOutput{} + output := &CreateRealtimeLogConfigOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsCreateStreamingDistributionOutput(output, response) + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeOpDocumentCreateRealtimeLogConfigOutput(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + span.End() + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorCreateRealtimeLogConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("InvalidArgument", errorCode): + return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) + + case strings.EqualFold("RealtimeLogConfigAlreadyExists", errorCode): + return awsRestxml_deserializeErrorRealtimeLogConfigAlreadyExists(response, errorBody) + + case strings.EqualFold("TooManyRealtimeLogConfigs", errorCode): + return awsRestxml_deserializeErrorTooManyRealtimeLogConfigs(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestxml_deserializeOpDocumentCreateRealtimeLogConfigOutput(v **CreateRealtimeLogConfigOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *CreateRealtimeLogConfigOutput + if *v == nil { + sv = &CreateRealtimeLogConfigOutput{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("RealtimeLogConfig", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentRealtimeLogConfig(&sv.RealtimeLogConfig, nodeDecoder); err != nil { + return err + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +type awsRestxml_deserializeOpCreateResponseHeadersPolicy struct { +} + +func (*awsRestxml_deserializeOpCreateResponseHeadersPolicy) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpCreateResponseHeadersPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorCreateResponseHeadersPolicy(response, &metadata) + } + output := &CreateResponseHeadersPolicyOutput{} + out.Result = output + + err = awsRestxml_deserializeOpHttpBindingsCreateResponseHeadersPolicyOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -4958,7 +4961,7 @@ func (m *awsRestxml_deserializeOpCreateStreamingDistribution) HandleDeserialize( } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentStreamingDistribution(&output.StreamingDistribution, decoder) + err = awsRestxml_deserializeDocumentResponseHeadersPolicy(&output.ResponseHeadersPolicy, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -4972,7 +4975,7 @@ func (m *awsRestxml_deserializeOpCreateStreamingDistribution) HandleDeserialize( return out, metadata, err } -func awsRestxml_deserializeOpErrorCreateStreamingDistribution(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorCreateResponseHeadersPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -5000,41 +5003,26 @@ func awsRestxml_deserializeOpErrorCreateStreamingDistribution(response *smithyht case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("CNAMEAlreadyExists", errorCode): - return awsRestxml_deserializeErrorCNAMEAlreadyExists(response, errorBody) - case strings.EqualFold("InconsistentQuantities", errorCode): return awsRestxml_deserializeErrorInconsistentQuantities(response, errorBody) case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("InvalidOrigin", errorCode): - return awsRestxml_deserializeErrorInvalidOrigin(response, errorBody) - - case strings.EqualFold("InvalidOriginAccessControl", errorCode): - return awsRestxml_deserializeErrorInvalidOriginAccessControl(response, errorBody) - - case strings.EqualFold("InvalidOriginAccessIdentity", errorCode): - return awsRestxml_deserializeErrorInvalidOriginAccessIdentity(response, errorBody) - - case strings.EqualFold("MissingBody", errorCode): - return awsRestxml_deserializeErrorMissingBody(response, errorBody) - - case strings.EqualFold("StreamingDistributionAlreadyExists", errorCode): - return awsRestxml_deserializeErrorStreamingDistributionAlreadyExists(response, errorBody) + case strings.EqualFold("ResponseHeadersPolicyAlreadyExists", errorCode): + return awsRestxml_deserializeErrorResponseHeadersPolicyAlreadyExists(response, errorBody) - case strings.EqualFold("TooManyStreamingDistributionCNAMEs", errorCode): - return awsRestxml_deserializeErrorTooManyStreamingDistributionCNAMEs(response, errorBody) + case strings.EqualFold("TooLongCSPInResponseHeadersPolicy", errorCode): + return awsRestxml_deserializeErrorTooLongCSPInResponseHeadersPolicy(response, errorBody) - case strings.EqualFold("TooManyStreamingDistributions", errorCode): - return awsRestxml_deserializeErrorTooManyStreamingDistributions(response, errorBody) + case strings.EqualFold("TooManyCustomHeadersInResponseHeadersPolicy", errorCode): + return awsRestxml_deserializeErrorTooManyCustomHeadersInResponseHeadersPolicy(response, errorBody) - case strings.EqualFold("TooManyTrustedSigners", errorCode): - return awsRestxml_deserializeErrorTooManyTrustedSigners(response, errorBody) + case strings.EqualFold("TooManyRemoveHeadersInResponseHeadersPolicy", errorCode): + return awsRestxml_deserializeErrorTooManyRemoveHeadersInResponseHeadersPolicy(response, errorBody) - case strings.EqualFold("TrustedSignerDoesNotExist", errorCode): - return awsRestxml_deserializeErrorTrustedSignerDoesNotExist(response, errorBody) + case strings.EqualFold("TooManyResponseHeadersPolicies", errorCode): + return awsRestxml_deserializeErrorTooManyResponseHeadersPolicies(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -5046,7 +5034,7 @@ func awsRestxml_deserializeOpErrorCreateStreamingDistribution(response *smithyht } } -func awsRestxml_deserializeOpHttpBindingsCreateStreamingDistributionOutput(v *CreateStreamingDistributionOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsCreateResponseHeadersPolicyOutput(v *CreateResponseHeadersPolicyOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -5063,13 +5051,13 @@ func awsRestxml_deserializeOpHttpBindingsCreateStreamingDistributionOutput(v *Cr return nil } -func awsRestxml_deserializeOpDocumentCreateStreamingDistributionOutput(v **CreateStreamingDistributionOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentCreateResponseHeadersPolicyOutput(v **CreateResponseHeadersPolicyOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *CreateStreamingDistributionOutput + var sv *CreateResponseHeadersPolicyOutput if *v == nil { - sv = &CreateStreamingDistributionOutput{} + sv = &CreateResponseHeadersPolicyOutput{} } else { sv = *v } @@ -5085,9 +5073,9 @@ func awsRestxml_deserializeOpDocumentCreateStreamingDistributionOutput(v **Creat originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("StreamingDistribution", t.Name.Local): + case strings.EqualFold("ResponseHeadersPolicy", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentStreamingDistribution(&sv.StreamingDistribution, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentResponseHeadersPolicy(&sv.ResponseHeadersPolicy, nodeDecoder); err != nil { return err } @@ -5105,14 +5093,14 @@ func awsRestxml_deserializeOpDocumentCreateStreamingDistributionOutput(v **Creat return nil } -type awsRestxml_deserializeOpCreateStreamingDistributionWithTags struct { +type awsRestxml_deserializeOpCreateStreamingDistribution struct { } -func (*awsRestxml_deserializeOpCreateStreamingDistributionWithTags) ID() string { +func (*awsRestxml_deserializeOpCreateStreamingDistribution) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpCreateStreamingDistributionWithTags) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpCreateStreamingDistribution) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -5130,12 +5118,12 @@ func (m *awsRestxml_deserializeOpCreateStreamingDistributionWithTags) HandleDese } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorCreateStreamingDistributionWithTags(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorCreateStreamingDistribution(response, &metadata) } - output := &CreateStreamingDistributionWithTagsOutput{} + output := &CreateStreamingDistributionOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsCreateStreamingDistributionWithTagsOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsCreateStreamingDistributionOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -5172,7 +5160,7 @@ func (m *awsRestxml_deserializeOpCreateStreamingDistributionWithTags) HandleDese return out, metadata, err } -func awsRestxml_deserializeOpErrorCreateStreamingDistributionWithTags(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorCreateStreamingDistribution(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -5218,9 +5206,6 @@ func awsRestxml_deserializeOpErrorCreateStreamingDistributionWithTags(response * case strings.EqualFold("InvalidOriginAccessIdentity", errorCode): return awsRestxml_deserializeErrorInvalidOriginAccessIdentity(response, errorBody) - case strings.EqualFold("InvalidTagging", errorCode): - return awsRestxml_deserializeErrorInvalidTagging(response, errorBody) - case strings.EqualFold("MissingBody", errorCode): return awsRestxml_deserializeErrorMissingBody(response, errorBody) @@ -5249,7 +5234,7 @@ func awsRestxml_deserializeOpErrorCreateStreamingDistributionWithTags(response * } } -func awsRestxml_deserializeOpHttpBindingsCreateStreamingDistributionWithTagsOutput(v *CreateStreamingDistributionWithTagsOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsCreateStreamingDistributionOutput(v *CreateStreamingDistributionOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -5266,13 +5251,13 @@ func awsRestxml_deserializeOpHttpBindingsCreateStreamingDistributionWithTagsOutp return nil } -func awsRestxml_deserializeOpDocumentCreateStreamingDistributionWithTagsOutput(v **CreateStreamingDistributionWithTagsOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentCreateStreamingDistributionOutput(v **CreateStreamingDistributionOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *CreateStreamingDistributionWithTagsOutput + var sv *CreateStreamingDistributionOutput if *v == nil { - sv = &CreateStreamingDistributionWithTagsOutput{} + sv = &CreateStreamingDistributionOutput{} } else { sv = *v } @@ -5308,14 +5293,14 @@ func awsRestxml_deserializeOpDocumentCreateStreamingDistributionWithTagsOutput(v return nil } -type awsRestxml_deserializeOpCreateVpcOrigin struct { +type awsRestxml_deserializeOpCreateStreamingDistributionWithTags struct { } -func (*awsRestxml_deserializeOpCreateVpcOrigin) ID() string { +func (*awsRestxml_deserializeOpCreateStreamingDistributionWithTags) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpCreateVpcOrigin) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpCreateStreamingDistributionWithTags) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -5333,12 +5318,12 @@ func (m *awsRestxml_deserializeOpCreateVpcOrigin) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorCreateVpcOrigin(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorCreateStreamingDistributionWithTags(response, &metadata) } - output := &CreateVpcOriginOutput{} + output := &CreateStreamingDistributionWithTagsOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsCreateVpcOriginOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsCreateStreamingDistributionWithTagsOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -5361,7 +5346,7 @@ func (m *awsRestxml_deserializeOpCreateVpcOrigin) HandleDeserialize(ctx context. } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentVpcOrigin(&output.VpcOrigin, decoder) + err = awsRestxml_deserializeDocumentStreamingDistribution(&output.StreamingDistribution, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -5375,7 +5360,7 @@ func (m *awsRestxml_deserializeOpCreateVpcOrigin) HandleDeserialize(ctx context. return out, metadata, err } -func awsRestxml_deserializeOpErrorCreateVpcOrigin(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorCreateStreamingDistributionWithTags(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -5403,11 +5388,8 @@ func awsRestxml_deserializeOpErrorCreateVpcOrigin(response *smithyhttp.Response, case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("EntityAlreadyExists", errorCode): - return awsRestxml_deserializeErrorEntityAlreadyExists(response, errorBody) - - case strings.EqualFold("EntityLimitExceeded", errorCode): - return awsRestxml_deserializeErrorEntityLimitExceeded(response, errorBody) + case strings.EqualFold("CNAMEAlreadyExists", errorCode): + return awsRestxml_deserializeErrorCNAMEAlreadyExists(response, errorBody) case strings.EqualFold("InconsistentQuantities", errorCode): return awsRestxml_deserializeErrorInconsistentQuantities(response, errorBody) @@ -5415,11 +5397,35 @@ func awsRestxml_deserializeOpErrorCreateVpcOrigin(response *smithyhttp.Response, case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) + case strings.EqualFold("InvalidOrigin", errorCode): + return awsRestxml_deserializeErrorInvalidOrigin(response, errorBody) + + case strings.EqualFold("InvalidOriginAccessControl", errorCode): + return awsRestxml_deserializeErrorInvalidOriginAccessControl(response, errorBody) + + case strings.EqualFold("InvalidOriginAccessIdentity", errorCode): + return awsRestxml_deserializeErrorInvalidOriginAccessIdentity(response, errorBody) + case strings.EqualFold("InvalidTagging", errorCode): return awsRestxml_deserializeErrorInvalidTagging(response, errorBody) - case strings.EqualFold("UnsupportedOperation", errorCode): - return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) + case strings.EqualFold("MissingBody", errorCode): + return awsRestxml_deserializeErrorMissingBody(response, errorBody) + + case strings.EqualFold("StreamingDistributionAlreadyExists", errorCode): + return awsRestxml_deserializeErrorStreamingDistributionAlreadyExists(response, errorBody) + + case strings.EqualFold("TooManyStreamingDistributionCNAMEs", errorCode): + return awsRestxml_deserializeErrorTooManyStreamingDistributionCNAMEs(response, errorBody) + + case strings.EqualFold("TooManyStreamingDistributions", errorCode): + return awsRestxml_deserializeErrorTooManyStreamingDistributions(response, errorBody) + + case strings.EqualFold("TooManyTrustedSigners", errorCode): + return awsRestxml_deserializeErrorTooManyTrustedSigners(response, errorBody) + + case strings.EqualFold("TrustedSignerDoesNotExist", errorCode): + return awsRestxml_deserializeErrorTrustedSignerDoesNotExist(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -5431,7 +5437,7 @@ func awsRestxml_deserializeOpErrorCreateVpcOrigin(response *smithyhttp.Response, } } -func awsRestxml_deserializeOpHttpBindingsCreateVpcOriginOutput(v *CreateVpcOriginOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsCreateStreamingDistributionWithTagsOutput(v *CreateStreamingDistributionWithTagsOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -5448,13 +5454,13 @@ func awsRestxml_deserializeOpHttpBindingsCreateVpcOriginOutput(v *CreateVpcOrigi return nil } -func awsRestxml_deserializeOpDocumentCreateVpcOriginOutput(v **CreateVpcOriginOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentCreateStreamingDistributionWithTagsOutput(v **CreateStreamingDistributionWithTagsOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *CreateVpcOriginOutput + var sv *CreateStreamingDistributionWithTagsOutput if *v == nil { - sv = &CreateVpcOriginOutput{} + sv = &CreateStreamingDistributionWithTagsOutput{} } else { sv = *v } @@ -5470,9 +5476,9 @@ func awsRestxml_deserializeOpDocumentCreateVpcOriginOutput(v **CreateVpcOriginOu originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("VpcOrigin", t.Name.Local): + case strings.EqualFold("StreamingDistribution", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentVpcOrigin(&sv.VpcOrigin, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentStreamingDistribution(&sv.StreamingDistribution, nodeDecoder); err != nil { return err } @@ -5490,14 +5496,14 @@ func awsRestxml_deserializeOpDocumentCreateVpcOriginOutput(v **CreateVpcOriginOu return nil } -type awsRestxml_deserializeOpDeleteAnycastIpList struct { +type awsRestxml_deserializeOpCreateTrustStore struct { } -func (*awsRestxml_deserializeOpDeleteAnycastIpList) ID() string { +func (*awsRestxml_deserializeOpCreateTrustStore) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpDeleteAnycastIpList) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpCreateTrustStore) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -5515,14 +5521,41 @@ func (m *awsRestxml_deserializeOpDeleteAnycastIpList) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorDeleteAnycastIpList(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorCreateTrustStore(response, &metadata) } - output := &DeleteAnycastIpListOutput{} + output := &CreateTrustStoreOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + err = awsRestxml_deserializeOpHttpBindingsCreateTrustStoreOutput(output, response) + if err != nil { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to discard response body, %w", err), + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentTrustStore(&output.TrustStore, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), } } @@ -5530,7 +5563,7 @@ func (m *awsRestxml_deserializeOpDeleteAnycastIpList) HandleDeserialize(ctx cont return out, metadata, err } -func awsRestxml_deserializeOpErrorDeleteAnycastIpList(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorCreateTrustStore(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -5558,26 +5591,20 @@ func awsRestxml_deserializeOpErrorDeleteAnycastIpList(response *smithyhttp.Respo case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("CannotDeleteEntityWhileInUse", errorCode): - return awsRestxml_deserializeErrorCannotDeleteEntityWhileInUse(response, errorBody) + case strings.EqualFold("EntityAlreadyExists", errorCode): + return awsRestxml_deserializeErrorEntityAlreadyExists(response, errorBody) + + case strings.EqualFold("EntityLimitExceeded", errorCode): + return awsRestxml_deserializeErrorEntityLimitExceeded(response, errorBody) case strings.EqualFold("EntityNotFound", errorCode): return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) - case strings.EqualFold("IllegalDelete", errorCode): - return awsRestxml_deserializeErrorIllegalDelete(response, errorBody) - case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("InvalidIfMatchVersion", errorCode): - return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) - - case strings.EqualFold("PreconditionFailed", errorCode): - return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) - - case strings.EqualFold("UnsupportedOperation", errorCode): - return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) + case strings.EqualFold("InvalidTagging", errorCode): + return awsRestxml_deserializeErrorInvalidTagging(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -5589,14 +5616,68 @@ func awsRestxml_deserializeOpErrorDeleteAnycastIpList(response *smithyhttp.Respo } } -type awsRestxml_deserializeOpDeleteCachePolicy struct { +func awsRestxml_deserializeOpHttpBindingsCreateTrustStoreOutput(v *CreateTrustStoreOutput, response *smithyhttp.Response) error { + if v == nil { + return fmt.Errorf("unsupported deserialization for nil %T", v) + } + + if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.ETag = ptr.String(headerValues[0]) + } + + return nil } +func awsRestxml_deserializeOpDocumentCreateTrustStoreOutput(v **CreateTrustStoreOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *CreateTrustStoreOutput + if *v == nil { + sv = &CreateTrustStoreOutput{} + } else { + sv = *v + } -func (*awsRestxml_deserializeOpDeleteCachePolicy) ID() string { + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("TrustStore", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentTrustStore(&sv.TrustStore, nodeDecoder); err != nil { + return err + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +type awsRestxml_deserializeOpCreateVpcOrigin struct { +} + +func (*awsRestxml_deserializeOpCreateVpcOrigin) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpDeleteCachePolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpCreateVpcOrigin) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -5614,14 +5695,41 @@ func (m *awsRestxml_deserializeOpDeleteCachePolicy) HandleDeserialize(ctx contex } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorDeleteCachePolicy(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorCreateVpcOrigin(response, &metadata) } - output := &DeleteCachePolicyOutput{} + output := &CreateVpcOriginOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + err = awsRestxml_deserializeOpHttpBindingsCreateVpcOriginOutput(output, response) + if err != nil { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to discard response body, %w", err), + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentVpcOrigin(&output.VpcOrigin, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), } } @@ -5629,7 +5737,7 @@ func (m *awsRestxml_deserializeOpDeleteCachePolicy) HandleDeserialize(ctx contex return out, metadata, err } -func awsRestxml_deserializeOpErrorDeleteCachePolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorCreateVpcOrigin(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -5657,20 +5765,23 @@ func awsRestxml_deserializeOpErrorDeleteCachePolicy(response *smithyhttp.Respons case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("CachePolicyInUse", errorCode): - return awsRestxml_deserializeErrorCachePolicyInUse(response, errorBody) + case strings.EqualFold("EntityAlreadyExists", errorCode): + return awsRestxml_deserializeErrorEntityAlreadyExists(response, errorBody) - case strings.EqualFold("IllegalDelete", errorCode): - return awsRestxml_deserializeErrorIllegalDelete(response, errorBody) + case strings.EqualFold("EntityLimitExceeded", errorCode): + return awsRestxml_deserializeErrorEntityLimitExceeded(response, errorBody) - case strings.EqualFold("InvalidIfMatchVersion", errorCode): - return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) + case strings.EqualFold("InconsistentQuantities", errorCode): + return awsRestxml_deserializeErrorInconsistentQuantities(response, errorBody) - case strings.EqualFold("NoSuchCachePolicy", errorCode): - return awsRestxml_deserializeErrorNoSuchCachePolicy(response, errorBody) + case strings.EqualFold("InvalidArgument", errorCode): + return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("PreconditionFailed", errorCode): - return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) + case strings.EqualFold("InvalidTagging", errorCode): + return awsRestxml_deserializeErrorInvalidTagging(response, errorBody) + + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -5682,14 +5793,73 @@ func awsRestxml_deserializeOpErrorDeleteCachePolicy(response *smithyhttp.Respons } } -type awsRestxml_deserializeOpDeleteCloudFrontOriginAccessIdentity struct { +func awsRestxml_deserializeOpHttpBindingsCreateVpcOriginOutput(v *CreateVpcOriginOutput, response *smithyhttp.Response) error { + if v == nil { + return fmt.Errorf("unsupported deserialization for nil %T", v) + } + + if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.ETag = ptr.String(headerValues[0]) + } + + if headerValues := response.Header.Values("Location"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.Location = ptr.String(headerValues[0]) + } + + return nil } +func awsRestxml_deserializeOpDocumentCreateVpcOriginOutput(v **CreateVpcOriginOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *CreateVpcOriginOutput + if *v == nil { + sv = &CreateVpcOriginOutput{} + } else { + sv = *v + } -func (*awsRestxml_deserializeOpDeleteCloudFrontOriginAccessIdentity) ID() string { + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("VpcOrigin", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentVpcOrigin(&sv.VpcOrigin, nodeDecoder); err != nil { + return err + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +type awsRestxml_deserializeOpDeleteAnycastIpList struct { +} + +func (*awsRestxml_deserializeOpDeleteAnycastIpList) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpDeleteCloudFrontOriginAccessIdentity) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpDeleteAnycastIpList) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -5707,9 +5877,9 @@ func (m *awsRestxml_deserializeOpDeleteCloudFrontOriginAccessIdentity) HandleDes } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorDeleteCloudFrontOriginAccessIdentity(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorDeleteAnycastIpList(response, &metadata) } - output := &DeleteCloudFrontOriginAccessIdentityOutput{} + output := &DeleteAnycastIpListOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -5722,7 +5892,7 @@ func (m *awsRestxml_deserializeOpDeleteCloudFrontOriginAccessIdentity) HandleDes return out, metadata, err } -func awsRestxml_deserializeOpErrorDeleteCloudFrontOriginAccessIdentity(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorDeleteAnycastIpList(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -5750,18 +5920,27 @@ func awsRestxml_deserializeOpErrorDeleteCloudFrontOriginAccessIdentity(response case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("CloudFrontOriginAccessIdentityInUse", errorCode): - return awsRestxml_deserializeErrorCloudFrontOriginAccessIdentityInUse(response, errorBody) + case strings.EqualFold("CannotDeleteEntityWhileInUse", errorCode): + return awsRestxml_deserializeErrorCannotDeleteEntityWhileInUse(response, errorBody) + + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + + case strings.EqualFold("IllegalDelete", errorCode): + return awsRestxml_deserializeErrorIllegalDelete(response, errorBody) + + case strings.EqualFold("InvalidArgument", errorCode): + return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) case strings.EqualFold("InvalidIfMatchVersion", errorCode): return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) - case strings.EqualFold("NoSuchCloudFrontOriginAccessIdentity", errorCode): - return awsRestxml_deserializeErrorNoSuchCloudFrontOriginAccessIdentity(response, errorBody) - case strings.EqualFold("PreconditionFailed", errorCode): return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -5772,14 +5951,14 @@ func awsRestxml_deserializeOpErrorDeleteCloudFrontOriginAccessIdentity(response } } -type awsRestxml_deserializeOpDeleteConnectionGroup struct { +type awsRestxml_deserializeOpDeleteCachePolicy struct { } -func (*awsRestxml_deserializeOpDeleteConnectionGroup) ID() string { +func (*awsRestxml_deserializeOpDeleteCachePolicy) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpDeleteConnectionGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpDeleteCachePolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -5797,9 +5976,9 @@ func (m *awsRestxml_deserializeOpDeleteConnectionGroup) HandleDeserialize(ctx co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorDeleteConnectionGroup(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorDeleteCachePolicy(response, &metadata) } - output := &DeleteConnectionGroupOutput{} + output := &DeleteCachePolicyOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -5812,7 +5991,7 @@ func (m *awsRestxml_deserializeOpDeleteConnectionGroup) HandleDeserialize(ctx co return out, metadata, err } -func awsRestxml_deserializeOpErrorDeleteConnectionGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorDeleteCachePolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -5840,21 +6019,21 @@ func awsRestxml_deserializeOpErrorDeleteConnectionGroup(response *smithyhttp.Res case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("CannotDeleteEntityWhileInUse", errorCode): - return awsRestxml_deserializeErrorCannotDeleteEntityWhileInUse(response, errorBody) + case strings.EqualFold("CachePolicyInUse", errorCode): + return awsRestxml_deserializeErrorCachePolicyInUse(response, errorBody) - case strings.EqualFold("EntityNotFound", errorCode): - return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + case strings.EqualFold("IllegalDelete", errorCode): + return awsRestxml_deserializeErrorIllegalDelete(response, errorBody) case strings.EqualFold("InvalidIfMatchVersion", errorCode): return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) + case strings.EqualFold("NoSuchCachePolicy", errorCode): + return awsRestxml_deserializeErrorNoSuchCachePolicy(response, errorBody) + case strings.EqualFold("PreconditionFailed", errorCode): return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) - case strings.EqualFold("ResourceNotDisabled", errorCode): - return awsRestxml_deserializeErrorResourceNotDisabled(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -5865,14 +6044,14 @@ func awsRestxml_deserializeOpErrorDeleteConnectionGroup(response *smithyhttp.Res } } -type awsRestxml_deserializeOpDeleteContinuousDeploymentPolicy struct { +type awsRestxml_deserializeOpDeleteCloudFrontOriginAccessIdentity struct { } -func (*awsRestxml_deserializeOpDeleteContinuousDeploymentPolicy) ID() string { +func (*awsRestxml_deserializeOpDeleteCloudFrontOriginAccessIdentity) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpDeleteContinuousDeploymentPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpDeleteCloudFrontOriginAccessIdentity) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -5890,9 +6069,9 @@ func (m *awsRestxml_deserializeOpDeleteContinuousDeploymentPolicy) HandleDeseria } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorDeleteContinuousDeploymentPolicy(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorDeleteCloudFrontOriginAccessIdentity(response, &metadata) } - output := &DeleteContinuousDeploymentPolicyOutput{} + output := &DeleteCloudFrontOriginAccessIdentityOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -5905,7 +6084,7 @@ func (m *awsRestxml_deserializeOpDeleteContinuousDeploymentPolicy) HandleDeseria return out, metadata, err } -func awsRestxml_deserializeOpErrorDeleteContinuousDeploymentPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorDeleteCloudFrontOriginAccessIdentity(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -5933,17 +6112,14 @@ func awsRestxml_deserializeOpErrorDeleteContinuousDeploymentPolicy(response *smi case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("ContinuousDeploymentPolicyInUse", errorCode): - return awsRestxml_deserializeErrorContinuousDeploymentPolicyInUse(response, errorBody) - - case strings.EqualFold("InvalidArgument", errorCode): - return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) + case strings.EqualFold("CloudFrontOriginAccessIdentityInUse", errorCode): + return awsRestxml_deserializeErrorCloudFrontOriginAccessIdentityInUse(response, errorBody) case strings.EqualFold("InvalidIfMatchVersion", errorCode): return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) - case strings.EqualFold("NoSuchContinuousDeploymentPolicy", errorCode): - return awsRestxml_deserializeErrorNoSuchContinuousDeploymentPolicy(response, errorBody) + case strings.EqualFold("NoSuchCloudFrontOriginAccessIdentity", errorCode): + return awsRestxml_deserializeErrorNoSuchCloudFrontOriginAccessIdentity(response, errorBody) case strings.EqualFold("PreconditionFailed", errorCode): return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) @@ -5958,14 +6134,14 @@ func awsRestxml_deserializeOpErrorDeleteContinuousDeploymentPolicy(response *smi } } -type awsRestxml_deserializeOpDeleteDistribution struct { +type awsRestxml_deserializeOpDeleteConnectionFunction struct { } -func (*awsRestxml_deserializeOpDeleteDistribution) ID() string { +func (*awsRestxml_deserializeOpDeleteConnectionFunction) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpDeleteDistribution) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpDeleteConnectionFunction) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -5983,9 +6159,9 @@ func (m *awsRestxml_deserializeOpDeleteDistribution) HandleDeserialize(ctx conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorDeleteDistribution(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorDeleteConnectionFunction(response, &metadata) } - output := &DeleteDistributionOutput{} + output := &DeleteConnectionFunctionOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -5998,7 +6174,7 @@ func (m *awsRestxml_deserializeOpDeleteDistribution) HandleDeserialize(ctx conte return out, metadata, err } -func awsRestxml_deserializeOpErrorDeleteDistribution(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorDeleteConnectionFunction(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -6026,20 +6202,23 @@ func awsRestxml_deserializeOpErrorDeleteDistribution(response *smithyhttp.Respon case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("DistributionNotDisabled", errorCode): - return awsRestxml_deserializeErrorDistributionNotDisabled(response, errorBody) + case strings.EqualFold("CannotDeleteEntityWhileInUse", errorCode): + return awsRestxml_deserializeErrorCannotDeleteEntityWhileInUse(response, errorBody) + + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + + case strings.EqualFold("InvalidArgument", errorCode): + return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) case strings.EqualFold("InvalidIfMatchVersion", errorCode): return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) - case strings.EqualFold("NoSuchDistribution", errorCode): - return awsRestxml_deserializeErrorNoSuchDistribution(response, errorBody) - case strings.EqualFold("PreconditionFailed", errorCode): return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) - case strings.EqualFold("ResourceInUse", errorCode): - return awsRestxml_deserializeErrorResourceInUse(response, errorBody) + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -6051,14 +6230,14 @@ func awsRestxml_deserializeOpErrorDeleteDistribution(response *smithyhttp.Respon } } -type awsRestxml_deserializeOpDeleteDistributionTenant struct { +type awsRestxml_deserializeOpDeleteConnectionGroup struct { } -func (*awsRestxml_deserializeOpDeleteDistributionTenant) ID() string { +func (*awsRestxml_deserializeOpDeleteConnectionGroup) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpDeleteDistributionTenant) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpDeleteConnectionGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -6076,9 +6255,9 @@ func (m *awsRestxml_deserializeOpDeleteDistributionTenant) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorDeleteDistributionTenant(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorDeleteConnectionGroup(response, &metadata) } - output := &DeleteDistributionTenantOutput{} + output := &DeleteConnectionGroupOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -6091,7 +6270,7 @@ func (m *awsRestxml_deserializeOpDeleteDistributionTenant) HandleDeserialize(ctx return out, metadata, err } -func awsRestxml_deserializeOpErrorDeleteDistributionTenant(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorDeleteConnectionGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -6119,6 +6298,9 @@ func awsRestxml_deserializeOpErrorDeleteDistributionTenant(response *smithyhttp. case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + case strings.EqualFold("CannotDeleteEntityWhileInUse", errorCode): + return awsRestxml_deserializeErrorCannotDeleteEntityWhileInUse(response, errorBody) + case strings.EqualFold("EntityNotFound", errorCode): return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) @@ -6141,14 +6323,14 @@ func awsRestxml_deserializeOpErrorDeleteDistributionTenant(response *smithyhttp. } } -type awsRestxml_deserializeOpDeleteFieldLevelEncryptionConfig struct { +type awsRestxml_deserializeOpDeleteContinuousDeploymentPolicy struct { } -func (*awsRestxml_deserializeOpDeleteFieldLevelEncryptionConfig) ID() string { +func (*awsRestxml_deserializeOpDeleteContinuousDeploymentPolicy) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpDeleteFieldLevelEncryptionConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpDeleteContinuousDeploymentPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -6166,9 +6348,9 @@ func (m *awsRestxml_deserializeOpDeleteFieldLevelEncryptionConfig) HandleDeseria } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorDeleteFieldLevelEncryptionConfig(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorDeleteContinuousDeploymentPolicy(response, &metadata) } - output := &DeleteFieldLevelEncryptionConfigOutput{} + output := &DeleteContinuousDeploymentPolicyOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -6181,7 +6363,7 @@ func (m *awsRestxml_deserializeOpDeleteFieldLevelEncryptionConfig) HandleDeseria return out, metadata, err } -func awsRestxml_deserializeOpErrorDeleteFieldLevelEncryptionConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorDeleteContinuousDeploymentPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -6209,14 +6391,17 @@ func awsRestxml_deserializeOpErrorDeleteFieldLevelEncryptionConfig(response *smi case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("FieldLevelEncryptionConfigInUse", errorCode): - return awsRestxml_deserializeErrorFieldLevelEncryptionConfigInUse(response, errorBody) + case strings.EqualFold("ContinuousDeploymentPolicyInUse", errorCode): + return awsRestxml_deserializeErrorContinuousDeploymentPolicyInUse(response, errorBody) + + case strings.EqualFold("InvalidArgument", errorCode): + return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) case strings.EqualFold("InvalidIfMatchVersion", errorCode): return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) - case strings.EqualFold("NoSuchFieldLevelEncryptionConfig", errorCode): - return awsRestxml_deserializeErrorNoSuchFieldLevelEncryptionConfig(response, errorBody) + case strings.EqualFold("NoSuchContinuousDeploymentPolicy", errorCode): + return awsRestxml_deserializeErrorNoSuchContinuousDeploymentPolicy(response, errorBody) case strings.EqualFold("PreconditionFailed", errorCode): return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) @@ -6231,14 +6416,14 @@ func awsRestxml_deserializeOpErrorDeleteFieldLevelEncryptionConfig(response *smi } } -type awsRestxml_deserializeOpDeleteFieldLevelEncryptionProfile struct { +type awsRestxml_deserializeOpDeleteDistribution struct { } -func (*awsRestxml_deserializeOpDeleteFieldLevelEncryptionProfile) ID() string { +func (*awsRestxml_deserializeOpDeleteDistribution) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpDeleteFieldLevelEncryptionProfile) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpDeleteDistribution) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -6256,9 +6441,9 @@ func (m *awsRestxml_deserializeOpDeleteFieldLevelEncryptionProfile) HandleDeseri } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorDeleteFieldLevelEncryptionProfile(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorDeleteDistribution(response, &metadata) } - output := &DeleteFieldLevelEncryptionProfileOutput{} + output := &DeleteDistributionOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -6271,7 +6456,7 @@ func (m *awsRestxml_deserializeOpDeleteFieldLevelEncryptionProfile) HandleDeseri return out, metadata, err } -func awsRestxml_deserializeOpErrorDeleteFieldLevelEncryptionProfile(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorDeleteDistribution(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -6299,18 +6484,21 @@ func awsRestxml_deserializeOpErrorDeleteFieldLevelEncryptionProfile(response *sm case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("FieldLevelEncryptionProfileInUse", errorCode): - return awsRestxml_deserializeErrorFieldLevelEncryptionProfileInUse(response, errorBody) + case strings.EqualFold("DistributionNotDisabled", errorCode): + return awsRestxml_deserializeErrorDistributionNotDisabled(response, errorBody) case strings.EqualFold("InvalidIfMatchVersion", errorCode): return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) - case strings.EqualFold("NoSuchFieldLevelEncryptionProfile", errorCode): - return awsRestxml_deserializeErrorNoSuchFieldLevelEncryptionProfile(response, errorBody) + case strings.EqualFold("NoSuchDistribution", errorCode): + return awsRestxml_deserializeErrorNoSuchDistribution(response, errorBody) case strings.EqualFold("PreconditionFailed", errorCode): return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) + case strings.EqualFold("ResourceInUse", errorCode): + return awsRestxml_deserializeErrorResourceInUse(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -6321,14 +6509,14 @@ func awsRestxml_deserializeOpErrorDeleteFieldLevelEncryptionProfile(response *sm } } -type awsRestxml_deserializeOpDeleteFunction struct { +type awsRestxml_deserializeOpDeleteDistributionTenant struct { } -func (*awsRestxml_deserializeOpDeleteFunction) ID() string { +func (*awsRestxml_deserializeOpDeleteDistributionTenant) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpDeleteFunction) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpDeleteDistributionTenant) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -6346,9 +6534,9 @@ func (m *awsRestxml_deserializeOpDeleteFunction) HandleDeserialize(ctx context.C } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorDeleteFunction(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorDeleteDistributionTenant(response, &metadata) } - output := &DeleteFunctionOutput{} + output := &DeleteDistributionTenantOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -6361,7 +6549,7 @@ func (m *awsRestxml_deserializeOpDeleteFunction) HandleDeserialize(ctx context.C return out, metadata, err } -func awsRestxml_deserializeOpErrorDeleteFunction(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorDeleteDistributionTenant(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -6386,20 +6574,20 @@ func awsRestxml_deserializeOpErrorDeleteFunction(response *smithyhttp.Response, } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("FunctionInUse", errorCode): - return awsRestxml_deserializeErrorFunctionInUse(response, errorBody) + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) case strings.EqualFold("InvalidIfMatchVersion", errorCode): return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) - case strings.EqualFold("NoSuchFunctionExists", errorCode): - return awsRestxml_deserializeErrorNoSuchFunctionExists(response, errorBody) - case strings.EqualFold("PreconditionFailed", errorCode): return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) - case strings.EqualFold("UnsupportedOperation", errorCode): - return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) + case strings.EqualFold("ResourceNotDisabled", errorCode): + return awsRestxml_deserializeErrorResourceNotDisabled(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -6411,14 +6599,14 @@ func awsRestxml_deserializeOpErrorDeleteFunction(response *smithyhttp.Response, } } -type awsRestxml_deserializeOpDeleteKeyGroup struct { +type awsRestxml_deserializeOpDeleteFieldLevelEncryptionConfig struct { } -func (*awsRestxml_deserializeOpDeleteKeyGroup) ID() string { +func (*awsRestxml_deserializeOpDeleteFieldLevelEncryptionConfig) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpDeleteKeyGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpDeleteFieldLevelEncryptionConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -6436,9 +6624,9 @@ func (m *awsRestxml_deserializeOpDeleteKeyGroup) HandleDeserialize(ctx context.C } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorDeleteKeyGroup(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorDeleteFieldLevelEncryptionConfig(response, &metadata) } - output := &DeleteKeyGroupOutput{} + output := &DeleteFieldLevelEncryptionConfigOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -6451,7 +6639,7 @@ func (m *awsRestxml_deserializeOpDeleteKeyGroup) HandleDeserialize(ctx context.C return out, metadata, err } -func awsRestxml_deserializeOpErrorDeleteKeyGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorDeleteFieldLevelEncryptionConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -6476,18 +6664,21 @@ func awsRestxml_deserializeOpErrorDeleteKeyGroup(response *smithyhttp.Response, } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("FieldLevelEncryptionConfigInUse", errorCode): + return awsRestxml_deserializeErrorFieldLevelEncryptionConfigInUse(response, errorBody) + case strings.EqualFold("InvalidIfMatchVersion", errorCode): return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) - case strings.EqualFold("NoSuchResource", errorCode): - return awsRestxml_deserializeErrorNoSuchResource(response, errorBody) + case strings.EqualFold("NoSuchFieldLevelEncryptionConfig", errorCode): + return awsRestxml_deserializeErrorNoSuchFieldLevelEncryptionConfig(response, errorBody) case strings.EqualFold("PreconditionFailed", errorCode): return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) - case strings.EqualFold("ResourceInUse", errorCode): - return awsRestxml_deserializeErrorResourceInUse(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -6498,14 +6689,14 @@ func awsRestxml_deserializeOpErrorDeleteKeyGroup(response *smithyhttp.Response, } } -type awsRestxml_deserializeOpDeleteKeyValueStore struct { +type awsRestxml_deserializeOpDeleteFieldLevelEncryptionProfile struct { } -func (*awsRestxml_deserializeOpDeleteKeyValueStore) ID() string { +func (*awsRestxml_deserializeOpDeleteFieldLevelEncryptionProfile) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpDeleteKeyValueStore) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpDeleteFieldLevelEncryptionProfile) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -6523,9 +6714,9 @@ func (m *awsRestxml_deserializeOpDeleteKeyValueStore) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorDeleteKeyValueStore(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorDeleteFieldLevelEncryptionProfile(response, &metadata) } - output := &DeleteKeyValueStoreOutput{} + output := &DeleteFieldLevelEncryptionProfileOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -6538,7 +6729,7 @@ func (m *awsRestxml_deserializeOpDeleteKeyValueStore) HandleDeserialize(ctx cont return out, metadata, err } -func awsRestxml_deserializeOpErrorDeleteKeyValueStore(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorDeleteFieldLevelEncryptionProfile(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -6566,21 +6757,18 @@ func awsRestxml_deserializeOpErrorDeleteKeyValueStore(response *smithyhttp.Respo case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("CannotDeleteEntityWhileInUse", errorCode): - return awsRestxml_deserializeErrorCannotDeleteEntityWhileInUse(response, errorBody) - - case strings.EqualFold("EntityNotFound", errorCode): - return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + case strings.EqualFold("FieldLevelEncryptionProfileInUse", errorCode): + return awsRestxml_deserializeErrorFieldLevelEncryptionProfileInUse(response, errorBody) case strings.EqualFold("InvalidIfMatchVersion", errorCode): return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) + case strings.EqualFold("NoSuchFieldLevelEncryptionProfile", errorCode): + return awsRestxml_deserializeErrorNoSuchFieldLevelEncryptionProfile(response, errorBody) + case strings.EqualFold("PreconditionFailed", errorCode): return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) - case strings.EqualFold("UnsupportedOperation", errorCode): - return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -6591,95 +6779,14 @@ func awsRestxml_deserializeOpErrorDeleteKeyValueStore(response *smithyhttp.Respo } } -type awsRestxml_deserializeOpDeleteMonitoringSubscription struct { -} - -func (*awsRestxml_deserializeOpDeleteMonitoringSubscription) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestxml_deserializeOpDeleteMonitoringSubscription) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorDeleteMonitoringSubscription(response, &metadata) - } - output := &DeleteMonitoringSubscriptionOutput{} - out.Result = output - - span.End() - return out, metadata, err -} - -func awsRestxml_deserializeOpErrorDeleteMonitoringSubscription(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) - if err != nil { - return err - } - if reqID := errorComponents.RequestID; len(reqID) != 0 { - awsmiddleware.SetRequestIDMetadata(metadata, reqID) - } - if len(errorComponents.Code) != 0 { - errorCode = errorComponents.Code - } - if len(errorComponents.Message) != 0 { - errorMessage = errorComponents.Message - } - errorBody.Seek(0, io.SeekStart) - switch { - case strings.EqualFold("AccessDenied", errorCode): - return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - - case strings.EqualFold("NoSuchDistribution", errorCode): - return awsRestxml_deserializeErrorNoSuchDistribution(response, errorBody) - - case strings.EqualFold("NoSuchMonitoringSubscription", errorCode): - return awsRestxml_deserializeErrorNoSuchMonitoringSubscription(response, errorBody) - - case strings.EqualFold("UnsupportedOperation", errorCode): - return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -type awsRestxml_deserializeOpDeleteOriginAccessControl struct { +type awsRestxml_deserializeOpDeleteFunction struct { } -func (*awsRestxml_deserializeOpDeleteOriginAccessControl) ID() string { +func (*awsRestxml_deserializeOpDeleteFunction) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpDeleteOriginAccessControl) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpDeleteFunction) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -6697,9 +6804,9 @@ func (m *awsRestxml_deserializeOpDeleteOriginAccessControl) HandleDeserialize(ct } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorDeleteOriginAccessControl(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorDeleteFunction(response, &metadata) } - output := &DeleteOriginAccessControlOutput{} + output := &DeleteFunctionOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -6712,7 +6819,7 @@ func (m *awsRestxml_deserializeOpDeleteOriginAccessControl) HandleDeserialize(ct return out, metadata, err } -func awsRestxml_deserializeOpErrorDeleteOriginAccessControl(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorDeleteFunction(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -6737,21 +6844,21 @@ func awsRestxml_deserializeOpErrorDeleteOriginAccessControl(response *smithyhttp } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("AccessDenied", errorCode): - return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + case strings.EqualFold("FunctionInUse", errorCode): + return awsRestxml_deserializeErrorFunctionInUse(response, errorBody) case strings.EqualFold("InvalidIfMatchVersion", errorCode): return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) - case strings.EqualFold("NoSuchOriginAccessControl", errorCode): - return awsRestxml_deserializeErrorNoSuchOriginAccessControl(response, errorBody) - - case strings.EqualFold("OriginAccessControlInUse", errorCode): - return awsRestxml_deserializeErrorOriginAccessControlInUse(response, errorBody) + case strings.EqualFold("NoSuchFunctionExists", errorCode): + return awsRestxml_deserializeErrorNoSuchFunctionExists(response, errorBody) case strings.EqualFold("PreconditionFailed", errorCode): return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -6762,14 +6869,14 @@ func awsRestxml_deserializeOpErrorDeleteOriginAccessControl(response *smithyhttp } } -type awsRestxml_deserializeOpDeleteOriginRequestPolicy struct { +type awsRestxml_deserializeOpDeleteKeyGroup struct { } -func (*awsRestxml_deserializeOpDeleteOriginRequestPolicy) ID() string { +func (*awsRestxml_deserializeOpDeleteKeyGroup) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpDeleteOriginRequestPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpDeleteKeyGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -6787,9 +6894,9 @@ func (m *awsRestxml_deserializeOpDeleteOriginRequestPolicy) HandleDeserialize(ct } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorDeleteOriginRequestPolicy(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorDeleteKeyGroup(response, &metadata) } - output := &DeleteOriginRequestPolicyOutput{} + output := &DeleteKeyGroupOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -6802,7 +6909,7 @@ func (m *awsRestxml_deserializeOpDeleteOriginRequestPolicy) HandleDeserialize(ct return out, metadata, err } -func awsRestxml_deserializeOpErrorDeleteOriginRequestPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorDeleteKeyGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -6827,24 +6934,18 @@ func awsRestxml_deserializeOpErrorDeleteOriginRequestPolicy(response *smithyhttp } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("AccessDenied", errorCode): - return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - - case strings.EqualFold("IllegalDelete", errorCode): - return awsRestxml_deserializeErrorIllegalDelete(response, errorBody) - case strings.EqualFold("InvalidIfMatchVersion", errorCode): return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) - case strings.EqualFold("NoSuchOriginRequestPolicy", errorCode): - return awsRestxml_deserializeErrorNoSuchOriginRequestPolicy(response, errorBody) - - case strings.EqualFold("OriginRequestPolicyInUse", errorCode): - return awsRestxml_deserializeErrorOriginRequestPolicyInUse(response, errorBody) + case strings.EqualFold("NoSuchResource", errorCode): + return awsRestxml_deserializeErrorNoSuchResource(response, errorBody) case strings.EqualFold("PreconditionFailed", errorCode): return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) + case strings.EqualFold("ResourceInUse", errorCode): + return awsRestxml_deserializeErrorResourceInUse(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -6855,14 +6956,14 @@ func awsRestxml_deserializeOpErrorDeleteOriginRequestPolicy(response *smithyhttp } } -type awsRestxml_deserializeOpDeletePublicKey struct { +type awsRestxml_deserializeOpDeleteKeyValueStore struct { } -func (*awsRestxml_deserializeOpDeletePublicKey) ID() string { +func (*awsRestxml_deserializeOpDeleteKeyValueStore) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpDeletePublicKey) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpDeleteKeyValueStore) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -6880,9 +6981,9 @@ func (m *awsRestxml_deserializeOpDeletePublicKey) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorDeletePublicKey(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorDeleteKeyValueStore(response, &metadata) } - output := &DeletePublicKeyOutput{} + output := &DeleteKeyValueStoreOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -6895,7 +6996,364 @@ func (m *awsRestxml_deserializeOpDeletePublicKey) HandleDeserialize(ctx context. return out, metadata, err } -func awsRestxml_deserializeOpErrorDeletePublicKey(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorDeleteKeyValueStore(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("CannotDeleteEntityWhileInUse", errorCode): + return awsRestxml_deserializeErrorCannotDeleteEntityWhileInUse(response, errorBody) + + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + + case strings.EqualFold("InvalidIfMatchVersion", errorCode): + return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) + + case strings.EqualFold("PreconditionFailed", errorCode): + return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) + + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsRestxml_deserializeOpDeleteMonitoringSubscription struct { +} + +func (*awsRestxml_deserializeOpDeleteMonitoringSubscription) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpDeleteMonitoringSubscription) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorDeleteMonitoringSubscription(response, &metadata) + } + output := &DeleteMonitoringSubscriptionOutput{} + out.Result = output + + span.End() + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorDeleteMonitoringSubscription(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("NoSuchDistribution", errorCode): + return awsRestxml_deserializeErrorNoSuchDistribution(response, errorBody) + + case strings.EqualFold("NoSuchMonitoringSubscription", errorCode): + return awsRestxml_deserializeErrorNoSuchMonitoringSubscription(response, errorBody) + + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsRestxml_deserializeOpDeleteOriginAccessControl struct { +} + +func (*awsRestxml_deserializeOpDeleteOriginAccessControl) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpDeleteOriginAccessControl) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorDeleteOriginAccessControl(response, &metadata) + } + output := &DeleteOriginAccessControlOutput{} + out.Result = output + + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), + } + } + + span.End() + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorDeleteOriginAccessControl(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("InvalidIfMatchVersion", errorCode): + return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) + + case strings.EqualFold("NoSuchOriginAccessControl", errorCode): + return awsRestxml_deserializeErrorNoSuchOriginAccessControl(response, errorBody) + + case strings.EqualFold("OriginAccessControlInUse", errorCode): + return awsRestxml_deserializeErrorOriginAccessControlInUse(response, errorBody) + + case strings.EqualFold("PreconditionFailed", errorCode): + return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsRestxml_deserializeOpDeleteOriginRequestPolicy struct { +} + +func (*awsRestxml_deserializeOpDeleteOriginRequestPolicy) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpDeleteOriginRequestPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorDeleteOriginRequestPolicy(response, &metadata) + } + output := &DeleteOriginRequestPolicyOutput{} + out.Result = output + + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), + } + } + + span.End() + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorDeleteOriginRequestPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("IllegalDelete", errorCode): + return awsRestxml_deserializeErrorIllegalDelete(response, errorBody) + + case strings.EqualFold("InvalidIfMatchVersion", errorCode): + return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) + + case strings.EqualFold("NoSuchOriginRequestPolicy", errorCode): + return awsRestxml_deserializeErrorNoSuchOriginRequestPolicy(response, errorBody) + + case strings.EqualFold("OriginRequestPolicyInUse", errorCode): + return awsRestxml_deserializeErrorOriginRequestPolicyInUse(response, errorBody) + + case strings.EqualFold("PreconditionFailed", errorCode): + return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsRestxml_deserializeOpDeletePublicKey struct { +} + +func (*awsRestxml_deserializeOpDeletePublicKey) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpDeletePublicKey) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorDeletePublicKey(response, &metadata) + } + output := &DeletePublicKeyOutput{} + out.Result = output + + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), + } + } + + span.End() + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorDeletePublicKey(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -6970,14 +7428,1531 @@ func (m *awsRestxml_deserializeOpDeleteRealtimeLogConfig) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorDeleteRealtimeLogConfig(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorDeleteRealtimeLogConfig(response, &metadata) + } + output := &DeleteRealtimeLogConfigOutput{} + out.Result = output + + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), + } + } + + span.End() + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorDeleteRealtimeLogConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("InvalidArgument", errorCode): + return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) + + case strings.EqualFold("NoSuchRealtimeLogConfig", errorCode): + return awsRestxml_deserializeErrorNoSuchRealtimeLogConfig(response, errorBody) + + case strings.EqualFold("RealtimeLogConfigInUse", errorCode): + return awsRestxml_deserializeErrorRealtimeLogConfigInUse(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsRestxml_deserializeOpDeleteResourcePolicy struct { +} + +func (*awsRestxml_deserializeOpDeleteResourcePolicy) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpDeleteResourcePolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorDeleteResourcePolicy(response, &metadata) + } + output := &DeleteResourcePolicyOutput{} + out.Result = output + + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), + } + } + + span.End() + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorDeleteResourcePolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + + case strings.EqualFold("IllegalDelete", errorCode): + return awsRestxml_deserializeErrorIllegalDelete(response, errorBody) + + case strings.EqualFold("InvalidArgument", errorCode): + return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) + + case strings.EqualFold("PreconditionFailed", errorCode): + return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) + + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsRestxml_deserializeOpDeleteResponseHeadersPolicy struct { +} + +func (*awsRestxml_deserializeOpDeleteResponseHeadersPolicy) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpDeleteResponseHeadersPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorDeleteResponseHeadersPolicy(response, &metadata) + } + output := &DeleteResponseHeadersPolicyOutput{} + out.Result = output + + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), + } + } + + span.End() + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorDeleteResponseHeadersPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("IllegalDelete", errorCode): + return awsRestxml_deserializeErrorIllegalDelete(response, errorBody) + + case strings.EqualFold("InvalidIfMatchVersion", errorCode): + return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) + + case strings.EqualFold("NoSuchResponseHeadersPolicy", errorCode): + return awsRestxml_deserializeErrorNoSuchResponseHeadersPolicy(response, errorBody) + + case strings.EqualFold("PreconditionFailed", errorCode): + return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) + + case strings.EqualFold("ResponseHeadersPolicyInUse", errorCode): + return awsRestxml_deserializeErrorResponseHeadersPolicyInUse(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsRestxml_deserializeOpDeleteStreamingDistribution struct { +} + +func (*awsRestxml_deserializeOpDeleteStreamingDistribution) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpDeleteStreamingDistribution) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorDeleteStreamingDistribution(response, &metadata) + } + output := &DeleteStreamingDistributionOutput{} + out.Result = output + + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), + } + } + + span.End() + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorDeleteStreamingDistribution(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("InvalidIfMatchVersion", errorCode): + return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) + + case strings.EqualFold("NoSuchStreamingDistribution", errorCode): + return awsRestxml_deserializeErrorNoSuchStreamingDistribution(response, errorBody) + + case strings.EqualFold("PreconditionFailed", errorCode): + return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) + + case strings.EqualFold("StreamingDistributionNotDisabled", errorCode): + return awsRestxml_deserializeErrorStreamingDistributionNotDisabled(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsRestxml_deserializeOpDeleteTrustStore struct { +} + +func (*awsRestxml_deserializeOpDeleteTrustStore) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpDeleteTrustStore) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorDeleteTrustStore(response, &metadata) + } + output := &DeleteTrustStoreOutput{} + out.Result = output + + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), + } + } + + span.End() + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorDeleteTrustStore(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("CannotDeleteEntityWhileInUse", errorCode): + return awsRestxml_deserializeErrorCannotDeleteEntityWhileInUse(response, errorBody) + + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + + case strings.EqualFold("InvalidArgument", errorCode): + return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) + + case strings.EqualFold("InvalidIfMatchVersion", errorCode): + return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) + + case strings.EqualFold("PreconditionFailed", errorCode): + return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsRestxml_deserializeOpDeleteVpcOrigin struct { +} + +func (*awsRestxml_deserializeOpDeleteVpcOrigin) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpDeleteVpcOrigin) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorDeleteVpcOrigin(response, &metadata) + } + output := &DeleteVpcOriginOutput{} + out.Result = output + + err = awsRestxml_deserializeOpHttpBindingsDeleteVpcOriginOutput(output, response) + if err != nil { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentVpcOrigin(&output.VpcOrigin, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + span.End() + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorDeleteVpcOrigin(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("CannotDeleteEntityWhileInUse", errorCode): + return awsRestxml_deserializeErrorCannotDeleteEntityWhileInUse(response, errorBody) + + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + + case strings.EqualFold("IllegalDelete", errorCode): + return awsRestxml_deserializeErrorIllegalDelete(response, errorBody) + + case strings.EqualFold("InvalidArgument", errorCode): + return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) + + case strings.EqualFold("InvalidIfMatchVersion", errorCode): + return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) + + case strings.EqualFold("PreconditionFailed", errorCode): + return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) + + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestxml_deserializeOpHttpBindingsDeleteVpcOriginOutput(v *DeleteVpcOriginOutput, response *smithyhttp.Response) error { + if v == nil { + return fmt.Errorf("unsupported deserialization for nil %T", v) + } + + if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.ETag = ptr.String(headerValues[0]) + } + + return nil +} +func awsRestxml_deserializeOpDocumentDeleteVpcOriginOutput(v **DeleteVpcOriginOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *DeleteVpcOriginOutput + if *v == nil { + sv = &DeleteVpcOriginOutput{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("VpcOrigin", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentVpcOrigin(&sv.VpcOrigin, nodeDecoder); err != nil { + return err + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +type awsRestxml_deserializeOpDescribeConnectionFunction struct { +} + +func (*awsRestxml_deserializeOpDescribeConnectionFunction) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpDescribeConnectionFunction) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorDescribeConnectionFunction(response, &metadata) + } + output := &DescribeConnectionFunctionOutput{} + out.Result = output + + err = awsRestxml_deserializeOpHttpBindingsDescribeConnectionFunctionOutput(output, response) + if err != nil { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentConnectionFunctionSummary(&output.ConnectionFunctionSummary, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + span.End() + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorDescribeConnectionFunction(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + + case strings.EqualFold("InvalidArgument", errorCode): + return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) + + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestxml_deserializeOpHttpBindingsDescribeConnectionFunctionOutput(v *DescribeConnectionFunctionOutput, response *smithyhttp.Response) error { + if v == nil { + return fmt.Errorf("unsupported deserialization for nil %T", v) + } + + if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.ETag = ptr.String(headerValues[0]) + } + + return nil +} +func awsRestxml_deserializeOpDocumentDescribeConnectionFunctionOutput(v **DescribeConnectionFunctionOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *DescribeConnectionFunctionOutput + if *v == nil { + sv = &DescribeConnectionFunctionOutput{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("ConnectionFunctionSummary", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentConnectionFunctionSummary(&sv.ConnectionFunctionSummary, nodeDecoder); err != nil { + return err + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +type awsRestxml_deserializeOpDescribeFunction struct { +} + +func (*awsRestxml_deserializeOpDescribeFunction) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpDescribeFunction) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorDescribeFunction(response, &metadata) + } + output := &DescribeFunctionOutput{} + out.Result = output + + err = awsRestxml_deserializeOpHttpBindingsDescribeFunctionOutput(output, response) + if err != nil { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentFunctionSummary(&output.FunctionSummary, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + span.End() + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorDescribeFunction(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("NoSuchFunctionExists", errorCode): + return awsRestxml_deserializeErrorNoSuchFunctionExists(response, errorBody) + + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestxml_deserializeOpHttpBindingsDescribeFunctionOutput(v *DescribeFunctionOutput, response *smithyhttp.Response) error { + if v == nil { + return fmt.Errorf("unsupported deserialization for nil %T", v) + } + + if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.ETag = ptr.String(headerValues[0]) + } + + return nil +} +func awsRestxml_deserializeOpDocumentDescribeFunctionOutput(v **DescribeFunctionOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *DescribeFunctionOutput + if *v == nil { + sv = &DescribeFunctionOutput{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("FunctionSummary", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentFunctionSummary(&sv.FunctionSummary, nodeDecoder); err != nil { + return err + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +type awsRestxml_deserializeOpDescribeKeyValueStore struct { +} + +func (*awsRestxml_deserializeOpDescribeKeyValueStore) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpDescribeKeyValueStore) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorDescribeKeyValueStore(response, &metadata) + } + output := &DescribeKeyValueStoreOutput{} + out.Result = output + + err = awsRestxml_deserializeOpHttpBindingsDescribeKeyValueStoreOutput(output, response) + if err != nil { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentKeyValueStore(&output.KeyValueStore, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + span.End() + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorDescribeKeyValueStore(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + + case strings.EqualFold("InvalidArgument", errorCode): + return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) + + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestxml_deserializeOpHttpBindingsDescribeKeyValueStoreOutput(v *DescribeKeyValueStoreOutput, response *smithyhttp.Response) error { + if v == nil { + return fmt.Errorf("unsupported deserialization for nil %T", v) + } + + if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.ETag = ptr.String(headerValues[0]) + } + + return nil +} +func awsRestxml_deserializeOpDocumentDescribeKeyValueStoreOutput(v **DescribeKeyValueStoreOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *DescribeKeyValueStoreOutput + if *v == nil { + sv = &DescribeKeyValueStoreOutput{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("KeyValueStore", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentKeyValueStore(&sv.KeyValueStore, nodeDecoder); err != nil { + return err + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +type awsRestxml_deserializeOpDisassociateDistributionTenantWebACL struct { +} + +func (*awsRestxml_deserializeOpDisassociateDistributionTenantWebACL) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpDisassociateDistributionTenantWebACL) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorDisassociateDistributionTenantWebACL(response, &metadata) + } + output := &DisassociateDistributionTenantWebACLOutput{} + out.Result = output + + err = awsRestxml_deserializeOpHttpBindingsDisassociateDistributionTenantWebACLOutput(output, response) + if err != nil { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeOpDocumentDisassociateDistributionTenantWebACLOutput(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + span.End() + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorDisassociateDistributionTenantWebACL(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + + case strings.EqualFold("InvalidArgument", errorCode): + return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) + + case strings.EqualFold("InvalidIfMatchVersion", errorCode): + return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) + + case strings.EqualFold("PreconditionFailed", errorCode): + return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestxml_deserializeOpHttpBindingsDisassociateDistributionTenantWebACLOutput(v *DisassociateDistributionTenantWebACLOutput, response *smithyhttp.Response) error { + if v == nil { + return fmt.Errorf("unsupported deserialization for nil %T", v) + } + + if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.ETag = ptr.String(headerValues[0]) + } + + return nil +} +func awsRestxml_deserializeOpDocumentDisassociateDistributionTenantWebACLOutput(v **DisassociateDistributionTenantWebACLOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *DisassociateDistributionTenantWebACLOutput + if *v == nil { + sv = &DisassociateDistributionTenantWebACLOutput{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Id", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Id = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +type awsRestxml_deserializeOpDisassociateDistributionWebACL struct { +} + +func (*awsRestxml_deserializeOpDisassociateDistributionWebACL) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpDisassociateDistributionWebACL) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorDisassociateDistributionWebACL(response, &metadata) + } + output := &DisassociateDistributionWebACLOutput{} + out.Result = output + + err = awsRestxml_deserializeOpHttpBindingsDisassociateDistributionWebACLOutput(output, response) + if err != nil { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeOpDocumentDisassociateDistributionWebACLOutput(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + span.End() + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorDisassociateDistributionWebACL(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + + case strings.EqualFold("InvalidArgument", errorCode): + return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) + + case strings.EqualFold("InvalidIfMatchVersion", errorCode): + return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) + + case strings.EqualFold("PreconditionFailed", errorCode): + return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestxml_deserializeOpHttpBindingsDisassociateDistributionWebACLOutput(v *DisassociateDistributionWebACLOutput, response *smithyhttp.Response) error { + if v == nil { + return fmt.Errorf("unsupported deserialization for nil %T", v) + } + + if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.ETag = ptr.String(headerValues[0]) + } + + return nil +} +func awsRestxml_deserializeOpDocumentDisassociateDistributionWebACLOutput(v **DisassociateDistributionWebACLOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *DisassociateDistributionWebACLOutput + if *v == nil { + sv = &DisassociateDistributionWebACLOutput{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Id", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Id = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +type awsRestxml_deserializeOpGetAnycastIpList struct { +} + +func (*awsRestxml_deserializeOpGetAnycastIpList) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpGetAnycastIpList) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorGetAnycastIpList(response, &metadata) } - output := &DeleteRealtimeLogConfigOutput{} + output := &GetAnycastIpListOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + err = awsRestxml_deserializeOpHttpBindingsGetAnycastIpListOutput(output, response) + if err != nil { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to discard response body, %w", err), + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentAnycastIpList(&output.AnycastIpList, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), } } @@ -6985,7 +8960,7 @@ func (m *awsRestxml_deserializeOpDeleteRealtimeLogConfig) HandleDeserialize(ctx return out, metadata, err } -func awsRestxml_deserializeOpErrorDeleteRealtimeLogConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetAnycastIpList(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7013,14 +8988,14 @@ func awsRestxml_deserializeOpErrorDeleteRealtimeLogConfig(response *smithyhttp.R case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("NoSuchRealtimeLogConfig", errorCode): - return awsRestxml_deserializeErrorNoSuchRealtimeLogConfig(response, errorBody) - - case strings.EqualFold("RealtimeLogConfigInUse", errorCode): - return awsRestxml_deserializeErrorRealtimeLogConfigInUse(response, errorBody) + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -7032,14 +9007,68 @@ func awsRestxml_deserializeOpErrorDeleteRealtimeLogConfig(response *smithyhttp.R } } -type awsRestxml_deserializeOpDeleteResponseHeadersPolicy struct { +func awsRestxml_deserializeOpHttpBindingsGetAnycastIpListOutput(v *GetAnycastIpListOutput, response *smithyhttp.Response) error { + if v == nil { + return fmt.Errorf("unsupported deserialization for nil %T", v) + } + + if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.ETag = ptr.String(headerValues[0]) + } + + return nil +} +func awsRestxml_deserializeOpDocumentGetAnycastIpListOutput(v **GetAnycastIpListOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *GetAnycastIpListOutput + if *v == nil { + sv = &GetAnycastIpListOutput{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("AnycastIpList", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentAnycastIpList(&sv.AnycastIpList, nodeDecoder); err != nil { + return err + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil } -func (*awsRestxml_deserializeOpDeleteResponseHeadersPolicy) ID() string { +type awsRestxml_deserializeOpGetCachePolicy struct { +} + +func (*awsRestxml_deserializeOpGetCachePolicy) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpDeleteResponseHeadersPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetCachePolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7057,14 +9086,41 @@ func (m *awsRestxml_deserializeOpDeleteResponseHeadersPolicy) HandleDeserialize( } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorDeleteResponseHeadersPolicy(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetCachePolicy(response, &metadata) } - output := &DeleteResponseHeadersPolicyOutput{} + output := &GetCachePolicyOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + err = awsRestxml_deserializeOpHttpBindingsGetCachePolicyOutput(output, response) + if err != nil { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to discard response body, %w", err), + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentCachePolicy(&output.CachePolicy, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), } } @@ -7072,7 +9128,7 @@ func (m *awsRestxml_deserializeOpDeleteResponseHeadersPolicy) HandleDeserialize( return out, metadata, err } -func awsRestxml_deserializeOpErrorDeleteResponseHeadersPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetCachePolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7100,20 +9156,8 @@ func awsRestxml_deserializeOpErrorDeleteResponseHeadersPolicy(response *smithyht case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("IllegalDelete", errorCode): - return awsRestxml_deserializeErrorIllegalDelete(response, errorBody) - - case strings.EqualFold("InvalidIfMatchVersion", errorCode): - return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) - - case strings.EqualFold("NoSuchResponseHeadersPolicy", errorCode): - return awsRestxml_deserializeErrorNoSuchResponseHeadersPolicy(response, errorBody) - - case strings.EqualFold("PreconditionFailed", errorCode): - return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) - - case strings.EqualFold("ResponseHeadersPolicyInUse", errorCode): - return awsRestxml_deserializeErrorResponseHeadersPolicyInUse(response, errorBody) + case strings.EqualFold("NoSuchCachePolicy", errorCode): + return awsRestxml_deserializeErrorNoSuchCachePolicy(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -7125,14 +9169,68 @@ func awsRestxml_deserializeOpErrorDeleteResponseHeadersPolicy(response *smithyht } } -type awsRestxml_deserializeOpDeleteStreamingDistribution struct { +func awsRestxml_deserializeOpHttpBindingsGetCachePolicyOutput(v *GetCachePolicyOutput, response *smithyhttp.Response) error { + if v == nil { + return fmt.Errorf("unsupported deserialization for nil %T", v) + } + + if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.ETag = ptr.String(headerValues[0]) + } + + return nil } +func awsRestxml_deserializeOpDocumentGetCachePolicyOutput(v **GetCachePolicyOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *GetCachePolicyOutput + if *v == nil { + sv = &GetCachePolicyOutput{} + } else { + sv = *v + } -func (*awsRestxml_deserializeOpDeleteStreamingDistribution) ID() string { + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("CachePolicy", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentCachePolicy(&sv.CachePolicy, nodeDecoder); err != nil { + return err + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +type awsRestxml_deserializeOpGetCachePolicyConfig struct { +} + +func (*awsRestxml_deserializeOpGetCachePolicyConfig) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpDeleteStreamingDistribution) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetCachePolicyConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7150,14 +9248,41 @@ func (m *awsRestxml_deserializeOpDeleteStreamingDistribution) HandleDeserialize( } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorDeleteStreamingDistribution(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetCachePolicyConfig(response, &metadata) } - output := &DeleteStreamingDistributionOutput{} + output := &GetCachePolicyConfigOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + err = awsRestxml_deserializeOpHttpBindingsGetCachePolicyConfigOutput(output, response) + if err != nil { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to discard response body, %w", err), + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentCachePolicyConfig(&output.CachePolicyConfig, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), } } @@ -7165,7 +9290,7 @@ func (m *awsRestxml_deserializeOpDeleteStreamingDistribution) HandleDeserialize( return out, metadata, err } -func awsRestxml_deserializeOpErrorDeleteStreamingDistribution(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetCachePolicyConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7193,17 +9318,8 @@ func awsRestxml_deserializeOpErrorDeleteStreamingDistribution(response *smithyht case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("InvalidIfMatchVersion", errorCode): - return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) - - case strings.EqualFold("NoSuchStreamingDistribution", errorCode): - return awsRestxml_deserializeErrorNoSuchStreamingDistribution(response, errorBody) - - case strings.EqualFold("PreconditionFailed", errorCode): - return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) - - case strings.EqualFold("StreamingDistributionNotDisabled", errorCode): - return awsRestxml_deserializeErrorStreamingDistributionNotDisabled(response, errorBody) + case strings.EqualFold("NoSuchCachePolicy", errorCode): + return awsRestxml_deserializeErrorNoSuchCachePolicy(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -7215,14 +9331,68 @@ func awsRestxml_deserializeOpErrorDeleteStreamingDistribution(response *smithyht } } -type awsRestxml_deserializeOpDeleteVpcOrigin struct { +func awsRestxml_deserializeOpHttpBindingsGetCachePolicyConfigOutput(v *GetCachePolicyConfigOutput, response *smithyhttp.Response) error { + if v == nil { + return fmt.Errorf("unsupported deserialization for nil %T", v) + } + + if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.ETag = ptr.String(headerValues[0]) + } + + return nil } +func awsRestxml_deserializeOpDocumentGetCachePolicyConfigOutput(v **GetCachePolicyConfigOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *GetCachePolicyConfigOutput + if *v == nil { + sv = &GetCachePolicyConfigOutput{} + } else { + sv = *v + } -func (*awsRestxml_deserializeOpDeleteVpcOrigin) ID() string { + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("CachePolicyConfig", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentCachePolicyConfig(&sv.CachePolicyConfig, nodeDecoder); err != nil { + return err + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +type awsRestxml_deserializeOpGetCloudFrontOriginAccessIdentity struct { +} + +func (*awsRestxml_deserializeOpGetCloudFrontOriginAccessIdentity) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpDeleteVpcOrigin) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetCloudFrontOriginAccessIdentity) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7240,12 +9410,12 @@ func (m *awsRestxml_deserializeOpDeleteVpcOrigin) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorDeleteVpcOrigin(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetCloudFrontOriginAccessIdentity(response, &metadata) } - output := &DeleteVpcOriginOutput{} + output := &GetCloudFrontOriginAccessIdentityOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsDeleteVpcOriginOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsGetCloudFrontOriginAccessIdentityOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -7268,7 +9438,7 @@ func (m *awsRestxml_deserializeOpDeleteVpcOrigin) HandleDeserialize(ctx context. } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentVpcOrigin(&output.VpcOrigin, decoder) + err = awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentity(&output.CloudFrontOriginAccessIdentity, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7282,7 +9452,7 @@ func (m *awsRestxml_deserializeOpDeleteVpcOrigin) HandleDeserialize(ctx context. return out, metadata, err } -func awsRestxml_deserializeOpErrorDeleteVpcOrigin(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetCloudFrontOriginAccessIdentity(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7310,26 +9480,8 @@ func awsRestxml_deserializeOpErrorDeleteVpcOrigin(response *smithyhttp.Response, case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("CannotDeleteEntityWhileInUse", errorCode): - return awsRestxml_deserializeErrorCannotDeleteEntityWhileInUse(response, errorBody) - - case strings.EqualFold("EntityNotFound", errorCode): - return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) - - case strings.EqualFold("IllegalDelete", errorCode): - return awsRestxml_deserializeErrorIllegalDelete(response, errorBody) - - case strings.EqualFold("InvalidArgument", errorCode): - return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - - case strings.EqualFold("InvalidIfMatchVersion", errorCode): - return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) - - case strings.EqualFold("PreconditionFailed", errorCode): - return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) - - case strings.EqualFold("UnsupportedOperation", errorCode): - return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) + case strings.EqualFold("NoSuchCloudFrontOriginAccessIdentity", errorCode): + return awsRestxml_deserializeErrorNoSuchCloudFrontOriginAccessIdentity(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -7341,7 +9493,7 @@ func awsRestxml_deserializeOpErrorDeleteVpcOrigin(response *smithyhttp.Response, } } -func awsRestxml_deserializeOpHttpBindingsDeleteVpcOriginOutput(v *DeleteVpcOriginOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsGetCloudFrontOriginAccessIdentityOutput(v *GetCloudFrontOriginAccessIdentityOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -7353,13 +9505,13 @@ func awsRestxml_deserializeOpHttpBindingsDeleteVpcOriginOutput(v *DeleteVpcOrigi return nil } -func awsRestxml_deserializeOpDocumentDeleteVpcOriginOutput(v **DeleteVpcOriginOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentGetCloudFrontOriginAccessIdentityOutput(v **GetCloudFrontOriginAccessIdentityOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *DeleteVpcOriginOutput + var sv *GetCloudFrontOriginAccessIdentityOutput if *v == nil { - sv = &DeleteVpcOriginOutput{} + sv = &GetCloudFrontOriginAccessIdentityOutput{} } else { sv = *v } @@ -7375,9 +9527,9 @@ func awsRestxml_deserializeOpDocumentDeleteVpcOriginOutput(v **DeleteVpcOriginOu originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("VpcOrigin", t.Name.Local): + case strings.EqualFold("CloudFrontOriginAccessIdentity", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentVpcOrigin(&sv.VpcOrigin, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentity(&sv.CloudFrontOriginAccessIdentity, nodeDecoder); err != nil { return err } @@ -7395,14 +9547,14 @@ func awsRestxml_deserializeOpDocumentDeleteVpcOriginOutput(v **DeleteVpcOriginOu return nil } -type awsRestxml_deserializeOpDescribeFunction struct { +type awsRestxml_deserializeOpGetCloudFrontOriginAccessIdentityConfig struct { } -func (*awsRestxml_deserializeOpDescribeFunction) ID() string { +func (*awsRestxml_deserializeOpGetCloudFrontOriginAccessIdentityConfig) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpDescribeFunction) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetCloudFrontOriginAccessIdentityConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7420,12 +9572,12 @@ func (m *awsRestxml_deserializeOpDescribeFunction) HandleDeserialize(ctx context } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorDescribeFunction(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetCloudFrontOriginAccessIdentityConfig(response, &metadata) } - output := &DescribeFunctionOutput{} + output := &GetCloudFrontOriginAccessIdentityConfigOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsDescribeFunctionOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsGetCloudFrontOriginAccessIdentityConfigOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -7448,7 +9600,7 @@ func (m *awsRestxml_deserializeOpDescribeFunction) HandleDeserialize(ctx context } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentFunctionSummary(&output.FunctionSummary, decoder) + err = awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentityConfig(&output.CloudFrontOriginAccessIdentityConfig, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7462,7 +9614,7 @@ func (m *awsRestxml_deserializeOpDescribeFunction) HandleDeserialize(ctx context return out, metadata, err } -func awsRestxml_deserializeOpErrorDescribeFunction(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetCloudFrontOriginAccessIdentityConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7487,11 +9639,11 @@ func awsRestxml_deserializeOpErrorDescribeFunction(response *smithyhttp.Response } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("NoSuchFunctionExists", errorCode): - return awsRestxml_deserializeErrorNoSuchFunctionExists(response, errorBody) + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("UnsupportedOperation", errorCode): - return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) + case strings.EqualFold("NoSuchCloudFrontOriginAccessIdentity", errorCode): + return awsRestxml_deserializeErrorNoSuchCloudFrontOriginAccessIdentity(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -7503,7 +9655,7 @@ func awsRestxml_deserializeOpErrorDescribeFunction(response *smithyhttp.Response } } -func awsRestxml_deserializeOpHttpBindingsDescribeFunctionOutput(v *DescribeFunctionOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsGetCloudFrontOriginAccessIdentityConfigOutput(v *GetCloudFrontOriginAccessIdentityConfigOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -7515,13 +9667,13 @@ func awsRestxml_deserializeOpHttpBindingsDescribeFunctionOutput(v *DescribeFunct return nil } -func awsRestxml_deserializeOpDocumentDescribeFunctionOutput(v **DescribeFunctionOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentGetCloudFrontOriginAccessIdentityConfigOutput(v **GetCloudFrontOriginAccessIdentityConfigOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *DescribeFunctionOutput + var sv *GetCloudFrontOriginAccessIdentityConfigOutput if *v == nil { - sv = &DescribeFunctionOutput{} + sv = &GetCloudFrontOriginAccessIdentityConfigOutput{} } else { sv = *v } @@ -7537,9 +9689,9 @@ func awsRestxml_deserializeOpDocumentDescribeFunctionOutput(v **DescribeFunction originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("FunctionSummary", t.Name.Local): + case strings.EqualFold("CloudFrontOriginAccessIdentityConfig", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentFunctionSummary(&sv.FunctionSummary, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentityConfig(&sv.CloudFrontOriginAccessIdentityConfig, nodeDecoder); err != nil { return err } @@ -7557,14 +9709,14 @@ func awsRestxml_deserializeOpDocumentDescribeFunctionOutput(v **DescribeFunction return nil } -type awsRestxml_deserializeOpDescribeKeyValueStore struct { +type awsRestxml_deserializeOpGetConnectionFunction struct { } -func (*awsRestxml_deserializeOpDescribeKeyValueStore) ID() string { +func (*awsRestxml_deserializeOpGetConnectionFunction) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpDescribeKeyValueStore) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetConnectionFunction) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7582,49 +9734,26 @@ func (m *awsRestxml_deserializeOpDescribeKeyValueStore) HandleDeserialize(ctx co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorDescribeKeyValueStore(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetConnectionFunction(response, &metadata) } - output := &DescribeKeyValueStoreOutput{} + output := &GetConnectionFunctionOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsDescribeKeyValueStoreOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsGetConnectionFunctionOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - body := io.TeeReader(response.Body, ringBuffer) - rootDecoder := xml.NewDecoder(body) - t, err := smithyxml.FetchRootElement(rootDecoder) - if err == io.EOF { - return out, metadata, nil - } - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentKeyValueStore(&output.KeyValueStore, decoder) + err = awsRestxml_deserializeOpDocumentGetConnectionFunctionOutput(output, response.Body, response.ContentLength) if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to deserialize response payload, %w", err)} } span.End() return out, metadata, err } -func awsRestxml_deserializeOpErrorDescribeKeyValueStore(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetConnectionFunction(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7655,9 +9784,6 @@ func awsRestxml_deserializeOpErrorDescribeKeyValueStore(response *smithyhttp.Res case strings.EqualFold("EntityNotFound", errorCode): return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) - case strings.EqualFold("InvalidArgument", errorCode): - return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("UnsupportedOperation", errorCode): return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) @@ -7671,11 +9797,16 @@ func awsRestxml_deserializeOpErrorDescribeKeyValueStore(response *smithyhttp.Res } } -func awsRestxml_deserializeOpHttpBindingsDescribeKeyValueStoreOutput(v *DescribeKeyValueStoreOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsGetConnectionFunctionOutput(v *GetConnectionFunctionOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } + if headerValues := response.Header.Values("Content-Type"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.ContentType = ptr.String(headerValues[0]) + } + if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { headerValues[0] = strings.TrimSpace(headerValues[0]) v.ETag = ptr.String(headerValues[0]) @@ -7683,56 +9814,35 @@ func awsRestxml_deserializeOpHttpBindingsDescribeKeyValueStoreOutput(v *Describe return nil } -func awsRestxml_deserializeOpDocumentDescribeKeyValueStoreOutput(v **DescribeKeyValueStoreOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentGetConnectionFunctionOutput(v *GetConnectionFunctionOutput, body io.ReadCloser, contentLength int64) error { if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) + return fmt.Errorf("unsupported deserialization of nil %T", v) } - var sv *DescribeKeyValueStoreOutput - if *v == nil { - sv = &DescribeKeyValueStoreOutput{} + var buf bytes.Buffer + if contentLength > 0 { + buf.Grow(int(contentLength)) } else { - sv = *v + buf.Grow(512) } - for { - t, done, err := decoder.Token() - if err != nil { - return err - } - if done { - break - } - originalDecoder := decoder - decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) - switch { - case strings.EqualFold("KeyValueStore", t.Name.Local): - nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentKeyValueStore(&sv.KeyValueStore, nodeDecoder); err != nil { - return err - } - - default: - // Do nothing and ignore the unexpected tag element - err = decoder.Decoder.Skip() - if err != nil { - return err - } - - } - decoder = originalDecoder + _, err := buf.ReadFrom(body) + if err != nil { + return err + } + if buf.Len() > 0 { + v.ConnectionFunctionCode = buf.Bytes() } - *v = sv return nil } -type awsRestxml_deserializeOpDisassociateDistributionTenantWebACL struct { +type awsRestxml_deserializeOpGetConnectionGroup struct { } -func (*awsRestxml_deserializeOpDisassociateDistributionTenantWebACL) ID() string { +func (*awsRestxml_deserializeOpGetConnectionGroup) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpDisassociateDistributionTenantWebACL) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetConnectionGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7750,12 +9860,12 @@ func (m *awsRestxml_deserializeOpDisassociateDistributionTenantWebACL) HandleDes } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorDisassociateDistributionTenantWebACL(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetConnectionGroup(response, &metadata) } - output := &DisassociateDistributionTenantWebACLOutput{} + output := &GetConnectionGroupOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsDisassociateDistributionTenantWebACLOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsGetConnectionGroupOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -7778,7 +9888,7 @@ func (m *awsRestxml_deserializeOpDisassociateDistributionTenantWebACL) HandleDes } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentDisassociateDistributionTenantWebACLOutput(&output, decoder) + err = awsRestxml_deserializeDocumentConnectionGroup(&output.ConnectionGroup, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7792,7 +9902,7 @@ func (m *awsRestxml_deserializeOpDisassociateDistributionTenantWebACL) HandleDes return out, metadata, err } -func awsRestxml_deserializeOpErrorDisassociateDistributionTenantWebACL(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetConnectionGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7823,15 +9933,6 @@ func awsRestxml_deserializeOpErrorDisassociateDistributionTenantWebACL(response case strings.EqualFold("EntityNotFound", errorCode): return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) - case strings.EqualFold("InvalidArgument", errorCode): - return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - - case strings.EqualFold("InvalidIfMatchVersion", errorCode): - return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) - - case strings.EqualFold("PreconditionFailed", errorCode): - return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -7842,7 +9943,7 @@ func awsRestxml_deserializeOpErrorDisassociateDistributionTenantWebACL(response } } -func awsRestxml_deserializeOpHttpBindingsDisassociateDistributionTenantWebACLOutput(v *DisassociateDistributionTenantWebACLOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsGetConnectionGroupOutput(v *GetConnectionGroupOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -7854,13 +9955,13 @@ func awsRestxml_deserializeOpHttpBindingsDisassociateDistributionTenantWebACLOut return nil } -func awsRestxml_deserializeOpDocumentDisassociateDistributionTenantWebACLOutput(v **DisassociateDistributionTenantWebACLOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentGetConnectionGroupOutput(v **GetConnectionGroupOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *DisassociateDistributionTenantWebACLOutput + var sv *GetConnectionGroupOutput if *v == nil { - sv = &DisassociateDistributionTenantWebACLOutput{} + sv = &GetConnectionGroupOutput{} } else { sv = *v } @@ -7876,18 +9977,11 @@ func awsRestxml_deserializeOpDocumentDisassociateDistributionTenantWebACLOutput( originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("Id", t.Name.Local): - val, err := decoder.Value() - if err != nil { + case strings.EqualFold("ConnectionGroup", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentConnectionGroup(&sv.ConnectionGroup, nodeDecoder); err != nil { return err } - if val == nil { - break - } - { - xtv := string(val) - sv.Id = ptr.String(xtv) - } default: // Do nothing and ignore the unexpected tag element @@ -7903,14 +9997,14 @@ func awsRestxml_deserializeOpDocumentDisassociateDistributionTenantWebACLOutput( return nil } -type awsRestxml_deserializeOpDisassociateDistributionWebACL struct { +type awsRestxml_deserializeOpGetConnectionGroupByRoutingEndpoint struct { } -func (*awsRestxml_deserializeOpDisassociateDistributionWebACL) ID() string { +func (*awsRestxml_deserializeOpGetConnectionGroupByRoutingEndpoint) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpDisassociateDistributionWebACL) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetConnectionGroupByRoutingEndpoint) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7928,12 +10022,12 @@ func (m *awsRestxml_deserializeOpDisassociateDistributionWebACL) HandleDeseriali } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorDisassociateDistributionWebACL(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetConnectionGroupByRoutingEndpoint(response, &metadata) } - output := &DisassociateDistributionWebACLOutput{} + output := &GetConnectionGroupByRoutingEndpointOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsDisassociateDistributionWebACLOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsGetConnectionGroupByRoutingEndpointOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -7956,7 +10050,7 @@ func (m *awsRestxml_deserializeOpDisassociateDistributionWebACL) HandleDeseriali } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentDisassociateDistributionWebACLOutput(&output, decoder) + err = awsRestxml_deserializeDocumentConnectionGroup(&output.ConnectionGroup, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7970,7 +10064,7 @@ func (m *awsRestxml_deserializeOpDisassociateDistributionWebACL) HandleDeseriali return out, metadata, err } -func awsRestxml_deserializeOpErrorDisassociateDistributionWebACL(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetConnectionGroupByRoutingEndpoint(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -8001,15 +10095,6 @@ func awsRestxml_deserializeOpErrorDisassociateDistributionWebACL(response *smith case strings.EqualFold("EntityNotFound", errorCode): return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) - case strings.EqualFold("InvalidArgument", errorCode): - return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - - case strings.EqualFold("InvalidIfMatchVersion", errorCode): - return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) - - case strings.EqualFold("PreconditionFailed", errorCode): - return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -8020,7 +10105,7 @@ func awsRestxml_deserializeOpErrorDisassociateDistributionWebACL(response *smith } } -func awsRestxml_deserializeOpHttpBindingsDisassociateDistributionWebACLOutput(v *DisassociateDistributionWebACLOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsGetConnectionGroupByRoutingEndpointOutput(v *GetConnectionGroupByRoutingEndpointOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -8032,13 +10117,13 @@ func awsRestxml_deserializeOpHttpBindingsDisassociateDistributionWebACLOutput(v return nil } -func awsRestxml_deserializeOpDocumentDisassociateDistributionWebACLOutput(v **DisassociateDistributionWebACLOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentGetConnectionGroupByRoutingEndpointOutput(v **GetConnectionGroupByRoutingEndpointOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *DisassociateDistributionWebACLOutput + var sv *GetConnectionGroupByRoutingEndpointOutput if *v == nil { - sv = &DisassociateDistributionWebACLOutput{} + sv = &GetConnectionGroupByRoutingEndpointOutput{} } else { sv = *v } @@ -8054,18 +10139,11 @@ func awsRestxml_deserializeOpDocumentDisassociateDistributionWebACLOutput(v **Di originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("Id", t.Name.Local): - val, err := decoder.Value() - if err != nil { + case strings.EqualFold("ConnectionGroup", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentConnectionGroup(&sv.ConnectionGroup, nodeDecoder); err != nil { return err } - if val == nil { - break - } - { - xtv := string(val) - sv.Id = ptr.String(xtv) - } default: // Do nothing and ignore the unexpected tag element @@ -8081,14 +10159,14 @@ func awsRestxml_deserializeOpDocumentDisassociateDistributionWebACLOutput(v **Di return nil } -type awsRestxml_deserializeOpGetAnycastIpList struct { +type awsRestxml_deserializeOpGetContinuousDeploymentPolicy struct { } -func (*awsRestxml_deserializeOpGetAnycastIpList) ID() string { +func (*awsRestxml_deserializeOpGetContinuousDeploymentPolicy) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetAnycastIpList) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetContinuousDeploymentPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -8106,12 +10184,12 @@ func (m *awsRestxml_deserializeOpGetAnycastIpList) HandleDeserialize(ctx context } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetAnycastIpList(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetContinuousDeploymentPolicy(response, &metadata) } - output := &GetAnycastIpListOutput{} + output := &GetContinuousDeploymentPolicyOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetAnycastIpListOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsGetContinuousDeploymentPolicyOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -8134,7 +10212,7 @@ func (m *awsRestxml_deserializeOpGetAnycastIpList) HandleDeserialize(ctx context } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentAnycastIpList(&output.AnycastIpList, decoder) + err = awsRestxml_deserializeDocumentContinuousDeploymentPolicy(&output.ContinuousDeploymentPolicy, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8148,7 +10226,7 @@ func (m *awsRestxml_deserializeOpGetAnycastIpList) HandleDeserialize(ctx context return out, metadata, err } -func awsRestxml_deserializeOpErrorGetAnycastIpList(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetContinuousDeploymentPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -8176,14 +10254,8 @@ func awsRestxml_deserializeOpErrorGetAnycastIpList(response *smithyhttp.Response case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("EntityNotFound", errorCode): - return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) - - case strings.EqualFold("InvalidArgument", errorCode): - return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - - case strings.EqualFold("UnsupportedOperation", errorCode): - return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) + case strings.EqualFold("NoSuchContinuousDeploymentPolicy", errorCode): + return awsRestxml_deserializeErrorNoSuchContinuousDeploymentPolicy(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -8195,7 +10267,7 @@ func awsRestxml_deserializeOpErrorGetAnycastIpList(response *smithyhttp.Response } } -func awsRestxml_deserializeOpHttpBindingsGetAnycastIpListOutput(v *GetAnycastIpListOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsGetContinuousDeploymentPolicyOutput(v *GetContinuousDeploymentPolicyOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -8207,13 +10279,13 @@ func awsRestxml_deserializeOpHttpBindingsGetAnycastIpListOutput(v *GetAnycastIpL return nil } -func awsRestxml_deserializeOpDocumentGetAnycastIpListOutput(v **GetAnycastIpListOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentGetContinuousDeploymentPolicyOutput(v **GetContinuousDeploymentPolicyOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetAnycastIpListOutput + var sv *GetContinuousDeploymentPolicyOutput if *v == nil { - sv = &GetAnycastIpListOutput{} + sv = &GetContinuousDeploymentPolicyOutput{} } else { sv = *v } @@ -8229,9 +10301,9 @@ func awsRestxml_deserializeOpDocumentGetAnycastIpListOutput(v **GetAnycastIpList originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("AnycastIpList", t.Name.Local): + case strings.EqualFold("ContinuousDeploymentPolicy", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentAnycastIpList(&sv.AnycastIpList, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentContinuousDeploymentPolicy(&sv.ContinuousDeploymentPolicy, nodeDecoder); err != nil { return err } @@ -8249,14 +10321,14 @@ func awsRestxml_deserializeOpDocumentGetAnycastIpListOutput(v **GetAnycastIpList return nil } -type awsRestxml_deserializeOpGetCachePolicy struct { +type awsRestxml_deserializeOpGetContinuousDeploymentPolicyConfig struct { } -func (*awsRestxml_deserializeOpGetCachePolicy) ID() string { +func (*awsRestxml_deserializeOpGetContinuousDeploymentPolicyConfig) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetCachePolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetContinuousDeploymentPolicyConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -8274,12 +10346,12 @@ func (m *awsRestxml_deserializeOpGetCachePolicy) HandleDeserialize(ctx context.C } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetCachePolicy(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetContinuousDeploymentPolicyConfig(response, &metadata) } - output := &GetCachePolicyOutput{} + output := &GetContinuousDeploymentPolicyConfigOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetCachePolicyOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsGetContinuousDeploymentPolicyConfigOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -8302,7 +10374,7 @@ func (m *awsRestxml_deserializeOpGetCachePolicy) HandleDeserialize(ctx context.C } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentCachePolicy(&output.CachePolicy, decoder) + err = awsRestxml_deserializeDocumentContinuousDeploymentPolicyConfig(&output.ContinuousDeploymentPolicyConfig, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8316,7 +10388,7 @@ func (m *awsRestxml_deserializeOpGetCachePolicy) HandleDeserialize(ctx context.C return out, metadata, err } -func awsRestxml_deserializeOpErrorGetCachePolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetContinuousDeploymentPolicyConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -8344,8 +10416,8 @@ func awsRestxml_deserializeOpErrorGetCachePolicy(response *smithyhttp.Response, case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("NoSuchCachePolicy", errorCode): - return awsRestxml_deserializeErrorNoSuchCachePolicy(response, errorBody) + case strings.EqualFold("NoSuchContinuousDeploymentPolicy", errorCode): + return awsRestxml_deserializeErrorNoSuchContinuousDeploymentPolicy(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -8357,7 +10429,7 @@ func awsRestxml_deserializeOpErrorGetCachePolicy(response *smithyhttp.Response, } } -func awsRestxml_deserializeOpHttpBindingsGetCachePolicyOutput(v *GetCachePolicyOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsGetContinuousDeploymentPolicyConfigOutput(v *GetContinuousDeploymentPolicyConfigOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -8369,13 +10441,13 @@ func awsRestxml_deserializeOpHttpBindingsGetCachePolicyOutput(v *GetCachePolicyO return nil } -func awsRestxml_deserializeOpDocumentGetCachePolicyOutput(v **GetCachePolicyOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentGetContinuousDeploymentPolicyConfigOutput(v **GetContinuousDeploymentPolicyConfigOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetCachePolicyOutput + var sv *GetContinuousDeploymentPolicyConfigOutput if *v == nil { - sv = &GetCachePolicyOutput{} + sv = &GetContinuousDeploymentPolicyConfigOutput{} } else { sv = *v } @@ -8391,9 +10463,9 @@ func awsRestxml_deserializeOpDocumentGetCachePolicyOutput(v **GetCachePolicyOutp originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("CachePolicy", t.Name.Local): + case strings.EqualFold("ContinuousDeploymentPolicyConfig", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentCachePolicy(&sv.CachePolicy, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentContinuousDeploymentPolicyConfig(&sv.ContinuousDeploymentPolicyConfig, nodeDecoder); err != nil { return err } @@ -8411,14 +10483,14 @@ func awsRestxml_deserializeOpDocumentGetCachePolicyOutput(v **GetCachePolicyOutp return nil } -type awsRestxml_deserializeOpGetCachePolicyConfig struct { +type awsRestxml_deserializeOpGetDistribution struct { } -func (*awsRestxml_deserializeOpGetCachePolicyConfig) ID() string { +func (*awsRestxml_deserializeOpGetDistribution) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetCachePolicyConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetDistribution) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -8436,12 +10508,12 @@ func (m *awsRestxml_deserializeOpGetCachePolicyConfig) HandleDeserialize(ctx con } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetCachePolicyConfig(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetDistribution(response, &metadata) } - output := &GetCachePolicyConfigOutput{} + output := &GetDistributionOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetCachePolicyConfigOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsGetDistributionOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -8464,7 +10536,7 @@ func (m *awsRestxml_deserializeOpGetCachePolicyConfig) HandleDeserialize(ctx con } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentCachePolicyConfig(&output.CachePolicyConfig, decoder) + err = awsRestxml_deserializeDocumentDistribution(&output.Distribution, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8478,7 +10550,7 @@ func (m *awsRestxml_deserializeOpGetCachePolicyConfig) HandleDeserialize(ctx con return out, metadata, err } -func awsRestxml_deserializeOpErrorGetCachePolicyConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetDistribution(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -8506,8 +10578,8 @@ func awsRestxml_deserializeOpErrorGetCachePolicyConfig(response *smithyhttp.Resp case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("NoSuchCachePolicy", errorCode): - return awsRestxml_deserializeErrorNoSuchCachePolicy(response, errorBody) + case strings.EqualFold("NoSuchDistribution", errorCode): + return awsRestxml_deserializeErrorNoSuchDistribution(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -8519,7 +10591,7 @@ func awsRestxml_deserializeOpErrorGetCachePolicyConfig(response *smithyhttp.Resp } } -func awsRestxml_deserializeOpHttpBindingsGetCachePolicyConfigOutput(v *GetCachePolicyConfigOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsGetDistributionOutput(v *GetDistributionOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -8531,13 +10603,13 @@ func awsRestxml_deserializeOpHttpBindingsGetCachePolicyConfigOutput(v *GetCacheP return nil } -func awsRestxml_deserializeOpDocumentGetCachePolicyConfigOutput(v **GetCachePolicyConfigOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentGetDistributionOutput(v **GetDistributionOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetCachePolicyConfigOutput + var sv *GetDistributionOutput if *v == nil { - sv = &GetCachePolicyConfigOutput{} + sv = &GetDistributionOutput{} } else { sv = *v } @@ -8553,9 +10625,9 @@ func awsRestxml_deserializeOpDocumentGetCachePolicyConfigOutput(v **GetCachePoli originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("CachePolicyConfig", t.Name.Local): + case strings.EqualFold("Distribution", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentCachePolicyConfig(&sv.CachePolicyConfig, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentDistribution(&sv.Distribution, nodeDecoder); err != nil { return err } @@ -8573,14 +10645,14 @@ func awsRestxml_deserializeOpDocumentGetCachePolicyConfigOutput(v **GetCachePoli return nil } -type awsRestxml_deserializeOpGetCloudFrontOriginAccessIdentity struct { +type awsRestxml_deserializeOpGetDistributionConfig struct { } -func (*awsRestxml_deserializeOpGetCloudFrontOriginAccessIdentity) ID() string { +func (*awsRestxml_deserializeOpGetDistributionConfig) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetCloudFrontOriginAccessIdentity) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetDistributionConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -8598,12 +10670,12 @@ func (m *awsRestxml_deserializeOpGetCloudFrontOriginAccessIdentity) HandleDeseri } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetCloudFrontOriginAccessIdentity(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetDistributionConfig(response, &metadata) } - output := &GetCloudFrontOriginAccessIdentityOutput{} + output := &GetDistributionConfigOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetCloudFrontOriginAccessIdentityOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsGetDistributionConfigOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -8626,7 +10698,7 @@ func (m *awsRestxml_deserializeOpGetCloudFrontOriginAccessIdentity) HandleDeseri } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentity(&output.CloudFrontOriginAccessIdentity, decoder) + err = awsRestxml_deserializeDocumentDistributionConfig(&output.DistributionConfig, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8640,7 +10712,7 @@ func (m *awsRestxml_deserializeOpGetCloudFrontOriginAccessIdentity) HandleDeseri return out, metadata, err } -func awsRestxml_deserializeOpErrorGetCloudFrontOriginAccessIdentity(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetDistributionConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -8668,8 +10740,8 @@ func awsRestxml_deserializeOpErrorGetCloudFrontOriginAccessIdentity(response *sm case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("NoSuchCloudFrontOriginAccessIdentity", errorCode): - return awsRestxml_deserializeErrorNoSuchCloudFrontOriginAccessIdentity(response, errorBody) + case strings.EqualFold("NoSuchDistribution", errorCode): + return awsRestxml_deserializeErrorNoSuchDistribution(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -8681,7 +10753,7 @@ func awsRestxml_deserializeOpErrorGetCloudFrontOriginAccessIdentity(response *sm } } -func awsRestxml_deserializeOpHttpBindingsGetCloudFrontOriginAccessIdentityOutput(v *GetCloudFrontOriginAccessIdentityOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsGetDistributionConfigOutput(v *GetDistributionConfigOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -8693,13 +10765,13 @@ func awsRestxml_deserializeOpHttpBindingsGetCloudFrontOriginAccessIdentityOutput return nil } -func awsRestxml_deserializeOpDocumentGetCloudFrontOriginAccessIdentityOutput(v **GetCloudFrontOriginAccessIdentityOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentGetDistributionConfigOutput(v **GetDistributionConfigOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetCloudFrontOriginAccessIdentityOutput + var sv *GetDistributionConfigOutput if *v == nil { - sv = &GetCloudFrontOriginAccessIdentityOutput{} + sv = &GetDistributionConfigOutput{} } else { sv = *v } @@ -8715,9 +10787,9 @@ func awsRestxml_deserializeOpDocumentGetCloudFrontOriginAccessIdentityOutput(v * originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("CloudFrontOriginAccessIdentity", t.Name.Local): + case strings.EqualFold("DistributionConfig", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentity(&sv.CloudFrontOriginAccessIdentity, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentDistributionConfig(&sv.DistributionConfig, nodeDecoder); err != nil { return err } @@ -8735,14 +10807,14 @@ func awsRestxml_deserializeOpDocumentGetCloudFrontOriginAccessIdentityOutput(v * return nil } -type awsRestxml_deserializeOpGetCloudFrontOriginAccessIdentityConfig struct { +type awsRestxml_deserializeOpGetDistributionTenant struct { } -func (*awsRestxml_deserializeOpGetCloudFrontOriginAccessIdentityConfig) ID() string { +func (*awsRestxml_deserializeOpGetDistributionTenant) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetCloudFrontOriginAccessIdentityConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetDistributionTenant) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -8760,12 +10832,12 @@ func (m *awsRestxml_deserializeOpGetCloudFrontOriginAccessIdentityConfig) Handle } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetCloudFrontOriginAccessIdentityConfig(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetDistributionTenant(response, &metadata) } - output := &GetCloudFrontOriginAccessIdentityConfigOutput{} + output := &GetDistributionTenantOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetCloudFrontOriginAccessIdentityConfigOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsGetDistributionTenantOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -8788,7 +10860,7 @@ func (m *awsRestxml_deserializeOpGetCloudFrontOriginAccessIdentityConfig) Handle } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentityConfig(&output.CloudFrontOriginAccessIdentityConfig, decoder) + err = awsRestxml_deserializeDocumentDistributionTenant(&output.DistributionTenant, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8802,7 +10874,7 @@ func (m *awsRestxml_deserializeOpGetCloudFrontOriginAccessIdentityConfig) Handle return out, metadata, err } -func awsRestxml_deserializeOpErrorGetCloudFrontOriginAccessIdentityConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetDistributionTenant(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -8830,8 +10902,8 @@ func awsRestxml_deserializeOpErrorGetCloudFrontOriginAccessIdentityConfig(respon case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("NoSuchCloudFrontOriginAccessIdentity", errorCode): - return awsRestxml_deserializeErrorNoSuchCloudFrontOriginAccessIdentity(response, errorBody) + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -8843,7 +10915,7 @@ func awsRestxml_deserializeOpErrorGetCloudFrontOriginAccessIdentityConfig(respon } } -func awsRestxml_deserializeOpHttpBindingsGetCloudFrontOriginAccessIdentityConfigOutput(v *GetCloudFrontOriginAccessIdentityConfigOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsGetDistributionTenantOutput(v *GetDistributionTenantOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -8855,13 +10927,13 @@ func awsRestxml_deserializeOpHttpBindingsGetCloudFrontOriginAccessIdentityConfig return nil } -func awsRestxml_deserializeOpDocumentGetCloudFrontOriginAccessIdentityConfigOutput(v **GetCloudFrontOriginAccessIdentityConfigOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentGetDistributionTenantOutput(v **GetDistributionTenantOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetCloudFrontOriginAccessIdentityConfigOutput + var sv *GetDistributionTenantOutput if *v == nil { - sv = &GetCloudFrontOriginAccessIdentityConfigOutput{} + sv = &GetDistributionTenantOutput{} } else { sv = *v } @@ -8877,9 +10949,9 @@ func awsRestxml_deserializeOpDocumentGetCloudFrontOriginAccessIdentityConfigOutp originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("CloudFrontOriginAccessIdentityConfig", t.Name.Local): + case strings.EqualFold("DistributionTenant", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentityConfig(&sv.CloudFrontOriginAccessIdentityConfig, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentDistributionTenant(&sv.DistributionTenant, nodeDecoder); err != nil { return err } @@ -8897,14 +10969,14 @@ func awsRestxml_deserializeOpDocumentGetCloudFrontOriginAccessIdentityConfigOutp return nil } -type awsRestxml_deserializeOpGetConnectionGroup struct { +type awsRestxml_deserializeOpGetDistributionTenantByDomain struct { } -func (*awsRestxml_deserializeOpGetConnectionGroup) ID() string { +func (*awsRestxml_deserializeOpGetDistributionTenantByDomain) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetConnectionGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetDistributionTenantByDomain) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -8922,12 +10994,12 @@ func (m *awsRestxml_deserializeOpGetConnectionGroup) HandleDeserialize(ctx conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetConnectionGroup(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetDistributionTenantByDomain(response, &metadata) } - output := &GetConnectionGroupOutput{} + output := &GetDistributionTenantByDomainOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetConnectionGroupOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsGetDistributionTenantByDomainOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -8950,7 +11022,7 @@ func (m *awsRestxml_deserializeOpGetConnectionGroup) HandleDeserialize(ctx conte } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentConnectionGroup(&output.ConnectionGroup, decoder) + err = awsRestxml_deserializeDocumentDistributionTenant(&output.DistributionTenant, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8964,7 +11036,7 @@ func (m *awsRestxml_deserializeOpGetConnectionGroup) HandleDeserialize(ctx conte return out, metadata, err } -func awsRestxml_deserializeOpErrorGetConnectionGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetDistributionTenantByDomain(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9005,7 +11077,7 @@ func awsRestxml_deserializeOpErrorGetConnectionGroup(response *smithyhttp.Respon } } -func awsRestxml_deserializeOpHttpBindingsGetConnectionGroupOutput(v *GetConnectionGroupOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsGetDistributionTenantByDomainOutput(v *GetDistributionTenantByDomainOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -9017,13 +11089,13 @@ func awsRestxml_deserializeOpHttpBindingsGetConnectionGroupOutput(v *GetConnecti return nil } -func awsRestxml_deserializeOpDocumentGetConnectionGroupOutput(v **GetConnectionGroupOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentGetDistributionTenantByDomainOutput(v **GetDistributionTenantByDomainOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetConnectionGroupOutput + var sv *GetDistributionTenantByDomainOutput if *v == nil { - sv = &GetConnectionGroupOutput{} + sv = &GetDistributionTenantByDomainOutput{} } else { sv = *v } @@ -9039,9 +11111,9 @@ func awsRestxml_deserializeOpDocumentGetConnectionGroupOutput(v **GetConnectionG originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("ConnectionGroup", t.Name.Local): + case strings.EqualFold("DistributionTenant", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentConnectionGroup(&sv.ConnectionGroup, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentDistributionTenant(&sv.DistributionTenant, nodeDecoder); err != nil { return err } @@ -9059,14 +11131,14 @@ func awsRestxml_deserializeOpDocumentGetConnectionGroupOutput(v **GetConnectionG return nil } -type awsRestxml_deserializeOpGetConnectionGroupByRoutingEndpoint struct { +type awsRestxml_deserializeOpGetFieldLevelEncryption struct { } -func (*awsRestxml_deserializeOpGetConnectionGroupByRoutingEndpoint) ID() string { +func (*awsRestxml_deserializeOpGetFieldLevelEncryption) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetConnectionGroupByRoutingEndpoint) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetFieldLevelEncryption) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -9084,12 +11156,12 @@ func (m *awsRestxml_deserializeOpGetConnectionGroupByRoutingEndpoint) HandleDese } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetConnectionGroupByRoutingEndpoint(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetFieldLevelEncryption(response, &metadata) } - output := &GetConnectionGroupByRoutingEndpointOutput{} + output := &GetFieldLevelEncryptionOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetConnectionGroupByRoutingEndpointOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsGetFieldLevelEncryptionOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -9112,7 +11184,7 @@ func (m *awsRestxml_deserializeOpGetConnectionGroupByRoutingEndpoint) HandleDese } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentConnectionGroup(&output.ConnectionGroup, decoder) + err = awsRestxml_deserializeDocumentFieldLevelEncryption(&output.FieldLevelEncryption, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9126,7 +11198,7 @@ func (m *awsRestxml_deserializeOpGetConnectionGroupByRoutingEndpoint) HandleDese return out, metadata, err } -func awsRestxml_deserializeOpErrorGetConnectionGroupByRoutingEndpoint(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetFieldLevelEncryption(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9154,8 +11226,8 @@ func awsRestxml_deserializeOpErrorGetConnectionGroupByRoutingEndpoint(response * case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("EntityNotFound", errorCode): - return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + case strings.EqualFold("NoSuchFieldLevelEncryptionConfig", errorCode): + return awsRestxml_deserializeErrorNoSuchFieldLevelEncryptionConfig(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -9167,7 +11239,7 @@ func awsRestxml_deserializeOpErrorGetConnectionGroupByRoutingEndpoint(response * } } -func awsRestxml_deserializeOpHttpBindingsGetConnectionGroupByRoutingEndpointOutput(v *GetConnectionGroupByRoutingEndpointOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsGetFieldLevelEncryptionOutput(v *GetFieldLevelEncryptionOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -9179,13 +11251,13 @@ func awsRestxml_deserializeOpHttpBindingsGetConnectionGroupByRoutingEndpointOutp return nil } -func awsRestxml_deserializeOpDocumentGetConnectionGroupByRoutingEndpointOutput(v **GetConnectionGroupByRoutingEndpointOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentGetFieldLevelEncryptionOutput(v **GetFieldLevelEncryptionOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetConnectionGroupByRoutingEndpointOutput + var sv *GetFieldLevelEncryptionOutput if *v == nil { - sv = &GetConnectionGroupByRoutingEndpointOutput{} + sv = &GetFieldLevelEncryptionOutput{} } else { sv = *v } @@ -9201,9 +11273,9 @@ func awsRestxml_deserializeOpDocumentGetConnectionGroupByRoutingEndpointOutput(v originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("ConnectionGroup", t.Name.Local): + case strings.EqualFold("FieldLevelEncryption", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentConnectionGroup(&sv.ConnectionGroup, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentFieldLevelEncryption(&sv.FieldLevelEncryption, nodeDecoder); err != nil { return err } @@ -9221,14 +11293,14 @@ func awsRestxml_deserializeOpDocumentGetConnectionGroupByRoutingEndpointOutput(v return nil } -type awsRestxml_deserializeOpGetContinuousDeploymentPolicy struct { +type awsRestxml_deserializeOpGetFieldLevelEncryptionConfig struct { } -func (*awsRestxml_deserializeOpGetContinuousDeploymentPolicy) ID() string { +func (*awsRestxml_deserializeOpGetFieldLevelEncryptionConfig) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetContinuousDeploymentPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetFieldLevelEncryptionConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -9246,12 +11318,12 @@ func (m *awsRestxml_deserializeOpGetContinuousDeploymentPolicy) HandleDeserializ } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetContinuousDeploymentPolicy(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetFieldLevelEncryptionConfig(response, &metadata) } - output := &GetContinuousDeploymentPolicyOutput{} + output := &GetFieldLevelEncryptionConfigOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetContinuousDeploymentPolicyOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsGetFieldLevelEncryptionConfigOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -9274,7 +11346,7 @@ func (m *awsRestxml_deserializeOpGetContinuousDeploymentPolicy) HandleDeserializ } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentContinuousDeploymentPolicy(&output.ContinuousDeploymentPolicy, decoder) + err = awsRestxml_deserializeDocumentFieldLevelEncryptionConfig(&output.FieldLevelEncryptionConfig, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9288,7 +11360,7 @@ func (m *awsRestxml_deserializeOpGetContinuousDeploymentPolicy) HandleDeserializ return out, metadata, err } -func awsRestxml_deserializeOpErrorGetContinuousDeploymentPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetFieldLevelEncryptionConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9316,8 +11388,8 @@ func awsRestxml_deserializeOpErrorGetContinuousDeploymentPolicy(response *smithy case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("NoSuchContinuousDeploymentPolicy", errorCode): - return awsRestxml_deserializeErrorNoSuchContinuousDeploymentPolicy(response, errorBody) + case strings.EqualFold("NoSuchFieldLevelEncryptionConfig", errorCode): + return awsRestxml_deserializeErrorNoSuchFieldLevelEncryptionConfig(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -9329,7 +11401,7 @@ func awsRestxml_deserializeOpErrorGetContinuousDeploymentPolicy(response *smithy } } -func awsRestxml_deserializeOpHttpBindingsGetContinuousDeploymentPolicyOutput(v *GetContinuousDeploymentPolicyOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsGetFieldLevelEncryptionConfigOutput(v *GetFieldLevelEncryptionConfigOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -9341,13 +11413,13 @@ func awsRestxml_deserializeOpHttpBindingsGetContinuousDeploymentPolicyOutput(v * return nil } -func awsRestxml_deserializeOpDocumentGetContinuousDeploymentPolicyOutput(v **GetContinuousDeploymentPolicyOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentGetFieldLevelEncryptionConfigOutput(v **GetFieldLevelEncryptionConfigOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetContinuousDeploymentPolicyOutput + var sv *GetFieldLevelEncryptionConfigOutput if *v == nil { - sv = &GetContinuousDeploymentPolicyOutput{} + sv = &GetFieldLevelEncryptionConfigOutput{} } else { sv = *v } @@ -9363,9 +11435,9 @@ func awsRestxml_deserializeOpDocumentGetContinuousDeploymentPolicyOutput(v **Get originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("ContinuousDeploymentPolicy", t.Name.Local): + case strings.EqualFold("FieldLevelEncryptionConfig", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentContinuousDeploymentPolicy(&sv.ContinuousDeploymentPolicy, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentFieldLevelEncryptionConfig(&sv.FieldLevelEncryptionConfig, nodeDecoder); err != nil { return err } @@ -9383,14 +11455,14 @@ func awsRestxml_deserializeOpDocumentGetContinuousDeploymentPolicyOutput(v **Get return nil } -type awsRestxml_deserializeOpGetContinuousDeploymentPolicyConfig struct { +type awsRestxml_deserializeOpGetFieldLevelEncryptionProfile struct { } -func (*awsRestxml_deserializeOpGetContinuousDeploymentPolicyConfig) ID() string { +func (*awsRestxml_deserializeOpGetFieldLevelEncryptionProfile) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetContinuousDeploymentPolicyConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetFieldLevelEncryptionProfile) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -9408,12 +11480,12 @@ func (m *awsRestxml_deserializeOpGetContinuousDeploymentPolicyConfig) HandleDese } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetContinuousDeploymentPolicyConfig(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetFieldLevelEncryptionProfile(response, &metadata) } - output := &GetContinuousDeploymentPolicyConfigOutput{} + output := &GetFieldLevelEncryptionProfileOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetContinuousDeploymentPolicyConfigOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsGetFieldLevelEncryptionProfileOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -9436,7 +11508,7 @@ func (m *awsRestxml_deserializeOpGetContinuousDeploymentPolicyConfig) HandleDese } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentContinuousDeploymentPolicyConfig(&output.ContinuousDeploymentPolicyConfig, decoder) + err = awsRestxml_deserializeDocumentFieldLevelEncryptionProfile(&output.FieldLevelEncryptionProfile, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9450,7 +11522,7 @@ func (m *awsRestxml_deserializeOpGetContinuousDeploymentPolicyConfig) HandleDese return out, metadata, err } -func awsRestxml_deserializeOpErrorGetContinuousDeploymentPolicyConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetFieldLevelEncryptionProfile(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9478,8 +11550,8 @@ func awsRestxml_deserializeOpErrorGetContinuousDeploymentPolicyConfig(response * case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("NoSuchContinuousDeploymentPolicy", errorCode): - return awsRestxml_deserializeErrorNoSuchContinuousDeploymentPolicy(response, errorBody) + case strings.EqualFold("NoSuchFieldLevelEncryptionProfile", errorCode): + return awsRestxml_deserializeErrorNoSuchFieldLevelEncryptionProfile(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -9491,7 +11563,7 @@ func awsRestxml_deserializeOpErrorGetContinuousDeploymentPolicyConfig(response * } } -func awsRestxml_deserializeOpHttpBindingsGetContinuousDeploymentPolicyConfigOutput(v *GetContinuousDeploymentPolicyConfigOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsGetFieldLevelEncryptionProfileOutput(v *GetFieldLevelEncryptionProfileOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -9503,13 +11575,13 @@ func awsRestxml_deserializeOpHttpBindingsGetContinuousDeploymentPolicyConfigOutp return nil } -func awsRestxml_deserializeOpDocumentGetContinuousDeploymentPolicyConfigOutput(v **GetContinuousDeploymentPolicyConfigOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentGetFieldLevelEncryptionProfileOutput(v **GetFieldLevelEncryptionProfileOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetContinuousDeploymentPolicyConfigOutput + var sv *GetFieldLevelEncryptionProfileOutput if *v == nil { - sv = &GetContinuousDeploymentPolicyConfigOutput{} + sv = &GetFieldLevelEncryptionProfileOutput{} } else { sv = *v } @@ -9525,9 +11597,9 @@ func awsRestxml_deserializeOpDocumentGetContinuousDeploymentPolicyConfigOutput(v originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("ContinuousDeploymentPolicyConfig", t.Name.Local): + case strings.EqualFold("FieldLevelEncryptionProfile", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentContinuousDeploymentPolicyConfig(&sv.ContinuousDeploymentPolicyConfig, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentFieldLevelEncryptionProfile(&sv.FieldLevelEncryptionProfile, nodeDecoder); err != nil { return err } @@ -9545,14 +11617,14 @@ func awsRestxml_deserializeOpDocumentGetContinuousDeploymentPolicyConfigOutput(v return nil } -type awsRestxml_deserializeOpGetDistribution struct { +type awsRestxml_deserializeOpGetFieldLevelEncryptionProfileConfig struct { } -func (*awsRestxml_deserializeOpGetDistribution) ID() string { +func (*awsRestxml_deserializeOpGetFieldLevelEncryptionProfileConfig) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetDistribution) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetFieldLevelEncryptionProfileConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -9570,12 +11642,12 @@ func (m *awsRestxml_deserializeOpGetDistribution) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetDistribution(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetFieldLevelEncryptionProfileConfig(response, &metadata) } - output := &GetDistributionOutput{} + output := &GetFieldLevelEncryptionProfileConfigOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetDistributionOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsGetFieldLevelEncryptionProfileConfigOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -9598,7 +11670,7 @@ func (m *awsRestxml_deserializeOpGetDistribution) HandleDeserialize(ctx context. } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentDistribution(&output.Distribution, decoder) + err = awsRestxml_deserializeDocumentFieldLevelEncryptionProfileConfig(&output.FieldLevelEncryptionProfileConfig, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9612,7 +11684,146 @@ func (m *awsRestxml_deserializeOpGetDistribution) HandleDeserialize(ctx context. return out, metadata, err } -func awsRestxml_deserializeOpErrorGetDistribution(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetFieldLevelEncryptionProfileConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("NoSuchFieldLevelEncryptionProfile", errorCode): + return awsRestxml_deserializeErrorNoSuchFieldLevelEncryptionProfile(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestxml_deserializeOpHttpBindingsGetFieldLevelEncryptionProfileConfigOutput(v *GetFieldLevelEncryptionProfileConfigOutput, response *smithyhttp.Response) error { + if v == nil { + return fmt.Errorf("unsupported deserialization for nil %T", v) + } + + if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.ETag = ptr.String(headerValues[0]) + } + + return nil +} +func awsRestxml_deserializeOpDocumentGetFieldLevelEncryptionProfileConfigOutput(v **GetFieldLevelEncryptionProfileConfigOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *GetFieldLevelEncryptionProfileConfigOutput + if *v == nil { + sv = &GetFieldLevelEncryptionProfileConfigOutput{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("FieldLevelEncryptionProfileConfig", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentFieldLevelEncryptionProfileConfig(&sv.FieldLevelEncryptionProfileConfig, nodeDecoder); err != nil { + return err + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +type awsRestxml_deserializeOpGetFunction struct { +} + +func (*awsRestxml_deserializeOpGetFunction) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpGetFunction) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorGetFunction(response, &metadata) + } + output := &GetFunctionOutput{} + out.Result = output + + err = awsRestxml_deserializeOpHttpBindingsGetFunctionOutput(output, response) + if err != nil { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} + } + + err = awsRestxml_deserializeOpDocumentGetFunctionOutput(output, response.Body, response.ContentLength) + if err != nil { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to deserialize response payload, %w", err)} + } + + span.End() + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorGetFunction(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9637,11 +11848,11 @@ func awsRestxml_deserializeOpErrorGetDistribution(response *smithyhttp.Response, } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("AccessDenied", errorCode): - return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + case strings.EqualFold("NoSuchFunctionExists", errorCode): + return awsRestxml_deserializeErrorNoSuchFunctionExists(response, errorBody) - case strings.EqualFold("NoSuchDistribution", errorCode): - return awsRestxml_deserializeErrorNoSuchDistribution(response, errorBody) + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -9653,11 +11864,16 @@ func awsRestxml_deserializeOpErrorGetDistribution(response *smithyhttp.Response, } } -func awsRestxml_deserializeOpHttpBindingsGetDistributionOutput(v *GetDistributionOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsGetFunctionOutput(v *GetFunctionOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } + if headerValues := response.Header.Values("Content-Type"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.ContentType = ptr.String(headerValues[0]) + } + if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { headerValues[0] = strings.TrimSpace(headerValues[0]) v.ETag = ptr.String(headerValues[0]) @@ -9665,13 +11881,140 @@ func awsRestxml_deserializeOpHttpBindingsGetDistributionOutput(v *GetDistributio return nil } -func awsRestxml_deserializeOpDocumentGetDistributionOutput(v **GetDistributionOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentGetFunctionOutput(v *GetFunctionOutput, body io.ReadCloser, contentLength int64) error { + if v == nil { + return fmt.Errorf("unsupported deserialization of nil %T", v) + } + var buf bytes.Buffer + if contentLength > 0 { + buf.Grow(int(contentLength)) + } else { + buf.Grow(512) + } + + _, err := buf.ReadFrom(body) + if err != nil { + return err + } + if buf.Len() > 0 { + v.FunctionCode = buf.Bytes() + } + return nil +} + +type awsRestxml_deserializeOpGetInvalidation struct { +} + +func (*awsRestxml_deserializeOpGetInvalidation) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpGetInvalidation) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorGetInvalidation(response, &metadata) + } + output := &GetInvalidationOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentInvalidation(&output.Invalidation, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + span.End() + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorGetInvalidation(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("NoSuchDistribution", errorCode): + return awsRestxml_deserializeErrorNoSuchDistribution(response, errorBody) + + case strings.EqualFold("NoSuchInvalidation", errorCode): + return awsRestxml_deserializeErrorNoSuchInvalidation(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestxml_deserializeOpDocumentGetInvalidationOutput(v **GetInvalidationOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetDistributionOutput + var sv *GetInvalidationOutput if *v == nil { - sv = &GetDistributionOutput{} + sv = &GetInvalidationOutput{} } else { sv = *v } @@ -9687,9 +12030,9 @@ func awsRestxml_deserializeOpDocumentGetDistributionOutput(v **GetDistributionOu originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("Distribution", t.Name.Local): + case strings.EqualFold("Invalidation", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentDistribution(&sv.Distribution, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentInvalidation(&sv.Invalidation, nodeDecoder); err != nil { return err } @@ -9707,14 +12050,14 @@ func awsRestxml_deserializeOpDocumentGetDistributionOutput(v **GetDistributionOu return nil } -type awsRestxml_deserializeOpGetDistributionConfig struct { +type awsRestxml_deserializeOpGetInvalidationForDistributionTenant struct { } -func (*awsRestxml_deserializeOpGetDistributionConfig) ID() string { +func (*awsRestxml_deserializeOpGetInvalidationForDistributionTenant) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetDistributionConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetInvalidationForDistributionTenant) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -9732,16 +12075,11 @@ func (m *awsRestxml_deserializeOpGetDistributionConfig) HandleDeserialize(ctx co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetDistributionConfig(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetInvalidationForDistributionTenant(response, &metadata) } - output := &GetDistributionConfigOutput{} + output := &GetInvalidationForDistributionTenantOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetDistributionConfigOutput(output, response) - if err != nil { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} - } - var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(response.Body, ringBuffer) @@ -9760,7 +12098,7 @@ func (m *awsRestxml_deserializeOpGetDistributionConfig) HandleDeserialize(ctx co } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentDistributionConfig(&output.DistributionConfig, decoder) + err = awsRestxml_deserializeDocumentInvalidation(&output.Invalidation, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9774,7 +12112,7 @@ func (m *awsRestxml_deserializeOpGetDistributionConfig) HandleDeserialize(ctx co return out, metadata, err } -func awsRestxml_deserializeOpErrorGetDistributionConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetInvalidationForDistributionTenant(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9802,8 +12140,11 @@ func awsRestxml_deserializeOpErrorGetDistributionConfig(response *smithyhttp.Res case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("NoSuchDistribution", errorCode): - return awsRestxml_deserializeErrorNoSuchDistribution(response, errorBody) + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + + case strings.EqualFold("NoSuchInvalidation", errorCode): + return awsRestxml_deserializeErrorNoSuchInvalidation(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -9815,25 +12156,13 @@ func awsRestxml_deserializeOpErrorGetDistributionConfig(response *smithyhttp.Res } } -func awsRestxml_deserializeOpHttpBindingsGetDistributionConfigOutput(v *GetDistributionConfigOutput, response *smithyhttp.Response) error { - if v == nil { - return fmt.Errorf("unsupported deserialization for nil %T", v) - } - - if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { - headerValues[0] = strings.TrimSpace(headerValues[0]) - v.ETag = ptr.String(headerValues[0]) - } - - return nil -} -func awsRestxml_deserializeOpDocumentGetDistributionConfigOutput(v **GetDistributionConfigOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentGetInvalidationForDistributionTenantOutput(v **GetInvalidationForDistributionTenantOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetDistributionConfigOutput + var sv *GetInvalidationForDistributionTenantOutput if *v == nil { - sv = &GetDistributionConfigOutput{} + sv = &GetInvalidationForDistributionTenantOutput{} } else { sv = *v } @@ -9849,9 +12178,9 @@ func awsRestxml_deserializeOpDocumentGetDistributionConfigOutput(v **GetDistribu originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("DistributionConfig", t.Name.Local): + case strings.EqualFold("Invalidation", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentDistributionConfig(&sv.DistributionConfig, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentInvalidation(&sv.Invalidation, nodeDecoder); err != nil { return err } @@ -9869,14 +12198,14 @@ func awsRestxml_deserializeOpDocumentGetDistributionConfigOutput(v **GetDistribu return nil } -type awsRestxml_deserializeOpGetDistributionTenant struct { +type awsRestxml_deserializeOpGetKeyGroup struct { } -func (*awsRestxml_deserializeOpGetDistributionTenant) ID() string { +func (*awsRestxml_deserializeOpGetKeyGroup) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetDistributionTenant) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetKeyGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -9894,12 +12223,12 @@ func (m *awsRestxml_deserializeOpGetDistributionTenant) HandleDeserialize(ctx co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetDistributionTenant(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetKeyGroup(response, &metadata) } - output := &GetDistributionTenantOutput{} + output := &GetKeyGroupOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetDistributionTenantOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsGetKeyGroupOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -9922,7 +12251,7 @@ func (m *awsRestxml_deserializeOpGetDistributionTenant) HandleDeserialize(ctx co } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentDistributionTenant(&output.DistributionTenant, decoder) + err = awsRestxml_deserializeDocumentKeyGroup(&output.KeyGroup, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9936,7 +12265,7 @@ func (m *awsRestxml_deserializeOpGetDistributionTenant) HandleDeserialize(ctx co return out, metadata, err } -func awsRestxml_deserializeOpErrorGetDistributionTenant(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetKeyGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9961,11 +12290,8 @@ func awsRestxml_deserializeOpErrorGetDistributionTenant(response *smithyhttp.Res } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("AccessDenied", errorCode): - return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - - case strings.EqualFold("EntityNotFound", errorCode): - return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + case strings.EqualFold("NoSuchResource", errorCode): + return awsRestxml_deserializeErrorNoSuchResource(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -9977,7 +12303,7 @@ func awsRestxml_deserializeOpErrorGetDistributionTenant(response *smithyhttp.Res } } -func awsRestxml_deserializeOpHttpBindingsGetDistributionTenantOutput(v *GetDistributionTenantOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsGetKeyGroupOutput(v *GetKeyGroupOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -9989,13 +12315,13 @@ func awsRestxml_deserializeOpHttpBindingsGetDistributionTenantOutput(v *GetDistr return nil } -func awsRestxml_deserializeOpDocumentGetDistributionTenantOutput(v **GetDistributionTenantOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentGetKeyGroupOutput(v **GetKeyGroupOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetDistributionTenantOutput + var sv *GetKeyGroupOutput if *v == nil { - sv = &GetDistributionTenantOutput{} + sv = &GetKeyGroupOutput{} } else { sv = *v } @@ -10011,9 +12337,9 @@ func awsRestxml_deserializeOpDocumentGetDistributionTenantOutput(v **GetDistribu originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("DistributionTenant", t.Name.Local): + case strings.EqualFold("KeyGroup", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentDistributionTenant(&sv.DistributionTenant, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentKeyGroup(&sv.KeyGroup, nodeDecoder); err != nil { return err } @@ -10031,14 +12357,14 @@ func awsRestxml_deserializeOpDocumentGetDistributionTenantOutput(v **GetDistribu return nil } -type awsRestxml_deserializeOpGetDistributionTenantByDomain struct { +type awsRestxml_deserializeOpGetKeyGroupConfig struct { } -func (*awsRestxml_deserializeOpGetDistributionTenantByDomain) ID() string { +func (*awsRestxml_deserializeOpGetKeyGroupConfig) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetDistributionTenantByDomain) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetKeyGroupConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -10056,12 +12382,12 @@ func (m *awsRestxml_deserializeOpGetDistributionTenantByDomain) HandleDeserializ } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetDistributionTenantByDomain(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetKeyGroupConfig(response, &metadata) } - output := &GetDistributionTenantByDomainOutput{} + output := &GetKeyGroupConfigOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetDistributionTenantByDomainOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsGetKeyGroupConfigOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -10084,7 +12410,7 @@ func (m *awsRestxml_deserializeOpGetDistributionTenantByDomain) HandleDeserializ } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentDistributionTenant(&output.DistributionTenant, decoder) + err = awsRestxml_deserializeDocumentKeyGroupConfig(&output.KeyGroupConfig, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10098,7 +12424,7 @@ func (m *awsRestxml_deserializeOpGetDistributionTenantByDomain) HandleDeserializ return out, metadata, err } -func awsRestxml_deserializeOpErrorGetDistributionTenantByDomain(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetKeyGroupConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -10123,11 +12449,8 @@ func awsRestxml_deserializeOpErrorGetDistributionTenantByDomain(response *smithy } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("AccessDenied", errorCode): - return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - - case strings.EqualFold("EntityNotFound", errorCode): - return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + case strings.EqualFold("NoSuchResource", errorCode): + return awsRestxml_deserializeErrorNoSuchResource(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -10139,7 +12462,7 @@ func awsRestxml_deserializeOpErrorGetDistributionTenantByDomain(response *smithy } } -func awsRestxml_deserializeOpHttpBindingsGetDistributionTenantByDomainOutput(v *GetDistributionTenantByDomainOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsGetKeyGroupConfigOutput(v *GetKeyGroupConfigOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -10151,13 +12474,13 @@ func awsRestxml_deserializeOpHttpBindingsGetDistributionTenantByDomainOutput(v * return nil } -func awsRestxml_deserializeOpDocumentGetDistributionTenantByDomainOutput(v **GetDistributionTenantByDomainOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentGetKeyGroupConfigOutput(v **GetKeyGroupConfigOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetDistributionTenantByDomainOutput + var sv *GetKeyGroupConfigOutput if *v == nil { - sv = &GetDistributionTenantByDomainOutput{} + sv = &GetKeyGroupConfigOutput{} } else { sv = *v } @@ -10173,9 +12496,9 @@ func awsRestxml_deserializeOpDocumentGetDistributionTenantByDomainOutput(v **Get originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("DistributionTenant", t.Name.Local): + case strings.EqualFold("KeyGroupConfig", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentDistributionTenant(&sv.DistributionTenant, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentKeyGroupConfig(&sv.KeyGroupConfig, nodeDecoder); err != nil { return err } @@ -10193,14 +12516,14 @@ func awsRestxml_deserializeOpDocumentGetDistributionTenantByDomainOutput(v **Get return nil } -type awsRestxml_deserializeOpGetFieldLevelEncryption struct { +type awsRestxml_deserializeOpGetManagedCertificateDetails struct { } -func (*awsRestxml_deserializeOpGetFieldLevelEncryption) ID() string { +func (*awsRestxml_deserializeOpGetManagedCertificateDetails) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetFieldLevelEncryption) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetManagedCertificateDetails) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -10218,16 +12541,11 @@ func (m *awsRestxml_deserializeOpGetFieldLevelEncryption) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetFieldLevelEncryption(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetManagedCertificateDetails(response, &metadata) } - output := &GetFieldLevelEncryptionOutput{} + output := &GetManagedCertificateDetailsOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetFieldLevelEncryptionOutput(output, response) - if err != nil { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} - } - var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(response.Body, ringBuffer) @@ -10246,7 +12564,7 @@ func (m *awsRestxml_deserializeOpGetFieldLevelEncryption) HandleDeserialize(ctx } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentFieldLevelEncryption(&output.FieldLevelEncryption, decoder) + err = awsRestxml_deserializeDocumentManagedCertificateDetails(&output.ManagedCertificateDetails, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10260,7 +12578,7 @@ func (m *awsRestxml_deserializeOpGetFieldLevelEncryption) HandleDeserialize(ctx return out, metadata, err } -func awsRestxml_deserializeOpErrorGetFieldLevelEncryption(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetManagedCertificateDetails(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -10288,8 +12606,8 @@ func awsRestxml_deserializeOpErrorGetFieldLevelEncryption(response *smithyhttp.R case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("NoSuchFieldLevelEncryptionConfig", errorCode): - return awsRestxml_deserializeErrorNoSuchFieldLevelEncryptionConfig(response, errorBody) + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -10301,25 +12619,13 @@ func awsRestxml_deserializeOpErrorGetFieldLevelEncryption(response *smithyhttp.R } } -func awsRestxml_deserializeOpHttpBindingsGetFieldLevelEncryptionOutput(v *GetFieldLevelEncryptionOutput, response *smithyhttp.Response) error { - if v == nil { - return fmt.Errorf("unsupported deserialization for nil %T", v) - } - - if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { - headerValues[0] = strings.TrimSpace(headerValues[0]) - v.ETag = ptr.String(headerValues[0]) - } - - return nil -} -func awsRestxml_deserializeOpDocumentGetFieldLevelEncryptionOutput(v **GetFieldLevelEncryptionOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentGetManagedCertificateDetailsOutput(v **GetManagedCertificateDetailsOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetFieldLevelEncryptionOutput + var sv *GetManagedCertificateDetailsOutput if *v == nil { - sv = &GetFieldLevelEncryptionOutput{} + sv = &GetManagedCertificateDetailsOutput{} } else { sv = *v } @@ -10335,9 +12641,9 @@ func awsRestxml_deserializeOpDocumentGetFieldLevelEncryptionOutput(v **GetFieldL originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("FieldLevelEncryption", t.Name.Local): + case strings.EqualFold("ManagedCertificateDetails", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentFieldLevelEncryption(&sv.FieldLevelEncryption, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentManagedCertificateDetails(&sv.ManagedCertificateDetails, nodeDecoder); err != nil { return err } @@ -10355,14 +12661,14 @@ func awsRestxml_deserializeOpDocumentGetFieldLevelEncryptionOutput(v **GetFieldL return nil } -type awsRestxml_deserializeOpGetFieldLevelEncryptionConfig struct { +type awsRestxml_deserializeOpGetMonitoringSubscription struct { } -func (*awsRestxml_deserializeOpGetFieldLevelEncryptionConfig) ID() string { +func (*awsRestxml_deserializeOpGetMonitoringSubscription) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetFieldLevelEncryptionConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetMonitoringSubscription) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -10380,16 +12686,11 @@ func (m *awsRestxml_deserializeOpGetFieldLevelEncryptionConfig) HandleDeserializ } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetFieldLevelEncryptionConfig(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetMonitoringSubscription(response, &metadata) } - output := &GetFieldLevelEncryptionConfigOutput{} + output := &GetMonitoringSubscriptionOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetFieldLevelEncryptionConfigOutput(output, response) - if err != nil { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} - } - var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(response.Body, ringBuffer) @@ -10408,7 +12709,7 @@ func (m *awsRestxml_deserializeOpGetFieldLevelEncryptionConfig) HandleDeserializ } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentFieldLevelEncryptionConfig(&output.FieldLevelEncryptionConfig, decoder) + err = awsRestxml_deserializeDocumentMonitoringSubscription(&output.MonitoringSubscription, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10422,7 +12723,7 @@ func (m *awsRestxml_deserializeOpGetFieldLevelEncryptionConfig) HandleDeserializ return out, metadata, err } -func awsRestxml_deserializeOpErrorGetFieldLevelEncryptionConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetMonitoringSubscription(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -10450,8 +12751,14 @@ func awsRestxml_deserializeOpErrorGetFieldLevelEncryptionConfig(response *smithy case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("NoSuchFieldLevelEncryptionConfig", errorCode): - return awsRestxml_deserializeErrorNoSuchFieldLevelEncryptionConfig(response, errorBody) + case strings.EqualFold("NoSuchDistribution", errorCode): + return awsRestxml_deserializeErrorNoSuchDistribution(response, errorBody) + + case strings.EqualFold("NoSuchMonitoringSubscription", errorCode): + return awsRestxml_deserializeErrorNoSuchMonitoringSubscription(response, errorBody) + + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -10463,25 +12770,13 @@ func awsRestxml_deserializeOpErrorGetFieldLevelEncryptionConfig(response *smithy } } -func awsRestxml_deserializeOpHttpBindingsGetFieldLevelEncryptionConfigOutput(v *GetFieldLevelEncryptionConfigOutput, response *smithyhttp.Response) error { - if v == nil { - return fmt.Errorf("unsupported deserialization for nil %T", v) - } - - if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { - headerValues[0] = strings.TrimSpace(headerValues[0]) - v.ETag = ptr.String(headerValues[0]) - } - - return nil -} -func awsRestxml_deserializeOpDocumentGetFieldLevelEncryptionConfigOutput(v **GetFieldLevelEncryptionConfigOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentGetMonitoringSubscriptionOutput(v **GetMonitoringSubscriptionOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetFieldLevelEncryptionConfigOutput + var sv *GetMonitoringSubscriptionOutput if *v == nil { - sv = &GetFieldLevelEncryptionConfigOutput{} + sv = &GetMonitoringSubscriptionOutput{} } else { sv = *v } @@ -10497,9 +12792,9 @@ func awsRestxml_deserializeOpDocumentGetFieldLevelEncryptionConfigOutput(v **Get originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("FieldLevelEncryptionConfig", t.Name.Local): + case strings.EqualFold("MonitoringSubscription", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentFieldLevelEncryptionConfig(&sv.FieldLevelEncryptionConfig, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentMonitoringSubscription(&sv.MonitoringSubscription, nodeDecoder); err != nil { return err } @@ -10517,14 +12812,14 @@ func awsRestxml_deserializeOpDocumentGetFieldLevelEncryptionConfigOutput(v **Get return nil } -type awsRestxml_deserializeOpGetFieldLevelEncryptionProfile struct { +type awsRestxml_deserializeOpGetOriginAccessControl struct { } -func (*awsRestxml_deserializeOpGetFieldLevelEncryptionProfile) ID() string { +func (*awsRestxml_deserializeOpGetOriginAccessControl) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetFieldLevelEncryptionProfile) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetOriginAccessControl) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -10542,12 +12837,12 @@ func (m *awsRestxml_deserializeOpGetFieldLevelEncryptionProfile) HandleDeseriali } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetFieldLevelEncryptionProfile(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetOriginAccessControl(response, &metadata) } - output := &GetFieldLevelEncryptionProfileOutput{} + output := &GetOriginAccessControlOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetFieldLevelEncryptionProfileOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsGetOriginAccessControlOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -10570,7 +12865,7 @@ func (m *awsRestxml_deserializeOpGetFieldLevelEncryptionProfile) HandleDeseriali } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentFieldLevelEncryptionProfile(&output.FieldLevelEncryptionProfile, decoder) + err = awsRestxml_deserializeDocumentOriginAccessControl(&output.OriginAccessControl, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10584,7 +12879,7 @@ func (m *awsRestxml_deserializeOpGetFieldLevelEncryptionProfile) HandleDeseriali return out, metadata, err } -func awsRestxml_deserializeOpErrorGetFieldLevelEncryptionProfile(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetOriginAccessControl(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -10612,8 +12907,8 @@ func awsRestxml_deserializeOpErrorGetFieldLevelEncryptionProfile(response *smith case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("NoSuchFieldLevelEncryptionProfile", errorCode): - return awsRestxml_deserializeErrorNoSuchFieldLevelEncryptionProfile(response, errorBody) + case strings.EqualFold("NoSuchOriginAccessControl", errorCode): + return awsRestxml_deserializeErrorNoSuchOriginAccessControl(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -10625,7 +12920,7 @@ func awsRestxml_deserializeOpErrorGetFieldLevelEncryptionProfile(response *smith } } -func awsRestxml_deserializeOpHttpBindingsGetFieldLevelEncryptionProfileOutput(v *GetFieldLevelEncryptionProfileOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsGetOriginAccessControlOutput(v *GetOriginAccessControlOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -10637,13 +12932,13 @@ func awsRestxml_deserializeOpHttpBindingsGetFieldLevelEncryptionProfileOutput(v return nil } -func awsRestxml_deserializeOpDocumentGetFieldLevelEncryptionProfileOutput(v **GetFieldLevelEncryptionProfileOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentGetOriginAccessControlOutput(v **GetOriginAccessControlOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetFieldLevelEncryptionProfileOutput + var sv *GetOriginAccessControlOutput if *v == nil { - sv = &GetFieldLevelEncryptionProfileOutput{} + sv = &GetOriginAccessControlOutput{} } else { sv = *v } @@ -10659,9 +12954,9 @@ func awsRestxml_deserializeOpDocumentGetFieldLevelEncryptionProfileOutput(v **Ge originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("FieldLevelEncryptionProfile", t.Name.Local): + case strings.EqualFold("OriginAccessControl", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentFieldLevelEncryptionProfile(&sv.FieldLevelEncryptionProfile, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentOriginAccessControl(&sv.OriginAccessControl, nodeDecoder); err != nil { return err } @@ -10679,14 +12974,14 @@ func awsRestxml_deserializeOpDocumentGetFieldLevelEncryptionProfileOutput(v **Ge return nil } -type awsRestxml_deserializeOpGetFieldLevelEncryptionProfileConfig struct { +type awsRestxml_deserializeOpGetOriginAccessControlConfig struct { } -func (*awsRestxml_deserializeOpGetFieldLevelEncryptionProfileConfig) ID() string { +func (*awsRestxml_deserializeOpGetOriginAccessControlConfig) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetFieldLevelEncryptionProfileConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetOriginAccessControlConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -10704,12 +12999,12 @@ func (m *awsRestxml_deserializeOpGetFieldLevelEncryptionProfileConfig) HandleDes } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetFieldLevelEncryptionProfileConfig(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetOriginAccessControlConfig(response, &metadata) } - output := &GetFieldLevelEncryptionProfileConfigOutput{} + output := &GetOriginAccessControlConfigOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetFieldLevelEncryptionProfileConfigOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsGetOriginAccessControlConfigOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -10732,7 +13027,7 @@ func (m *awsRestxml_deserializeOpGetFieldLevelEncryptionProfileConfig) HandleDes } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentFieldLevelEncryptionProfileConfig(&output.FieldLevelEncryptionProfileConfig, decoder) + err = awsRestxml_deserializeDocumentOriginAccessControlConfig(&output.OriginAccessControlConfig, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10746,7 +13041,7 @@ func (m *awsRestxml_deserializeOpGetFieldLevelEncryptionProfileConfig) HandleDes return out, metadata, err } -func awsRestxml_deserializeOpErrorGetFieldLevelEncryptionProfileConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetOriginAccessControlConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -10774,8 +13069,8 @@ func awsRestxml_deserializeOpErrorGetFieldLevelEncryptionProfileConfig(response case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("NoSuchFieldLevelEncryptionProfile", errorCode): - return awsRestxml_deserializeErrorNoSuchFieldLevelEncryptionProfile(response, errorBody) + case strings.EqualFold("NoSuchOriginAccessControl", errorCode): + return awsRestxml_deserializeErrorNoSuchOriginAccessControl(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -10787,7 +13082,7 @@ func awsRestxml_deserializeOpErrorGetFieldLevelEncryptionProfileConfig(response } } -func awsRestxml_deserializeOpHttpBindingsGetFieldLevelEncryptionProfileConfigOutput(v *GetFieldLevelEncryptionProfileConfigOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsGetOriginAccessControlConfigOutput(v *GetOriginAccessControlConfigOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -10799,13 +13094,13 @@ func awsRestxml_deserializeOpHttpBindingsGetFieldLevelEncryptionProfileConfigOut return nil } -func awsRestxml_deserializeOpDocumentGetFieldLevelEncryptionProfileConfigOutput(v **GetFieldLevelEncryptionProfileConfigOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentGetOriginAccessControlConfigOutput(v **GetOriginAccessControlConfigOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetFieldLevelEncryptionProfileConfigOutput + var sv *GetOriginAccessControlConfigOutput if *v == nil { - sv = &GetFieldLevelEncryptionProfileConfigOutput{} + sv = &GetOriginAccessControlConfigOutput{} } else { sv = *v } @@ -10821,9 +13116,9 @@ func awsRestxml_deserializeOpDocumentGetFieldLevelEncryptionProfileConfigOutput( originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("FieldLevelEncryptionProfileConfig", t.Name.Local): + case strings.EqualFold("OriginAccessControlConfig", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentFieldLevelEncryptionProfileConfig(&sv.FieldLevelEncryptionProfileConfig, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentOriginAccessControlConfig(&sv.OriginAccessControlConfig, nodeDecoder); err != nil { return err } @@ -10841,14 +13136,14 @@ func awsRestxml_deserializeOpDocumentGetFieldLevelEncryptionProfileConfigOutput( return nil } -type awsRestxml_deserializeOpGetFunction struct { +type awsRestxml_deserializeOpGetOriginRequestPolicy struct { } -func (*awsRestxml_deserializeOpGetFunction) ID() string { +func (*awsRestxml_deserializeOpGetOriginRequestPolicy) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetFunction) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetOriginRequestPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -10866,26 +13161,49 @@ func (m *awsRestxml_deserializeOpGetFunction) HandleDeserialize(ctx context.Cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetFunction(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetOriginRequestPolicy(response, &metadata) } - output := &GetFunctionOutput{} + output := &GetOriginRequestPolicyOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetFunctionOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsGetOriginRequestPolicyOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } - err = awsRestxml_deserializeOpDocumentGetFunctionOutput(output, response.Body, response.ContentLength) + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } if err != nil { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to deserialize response payload, %w", err)} + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentOriginRequestPolicy(&output.OriginRequestPolicy, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } } span.End() return out, metadata, err } -func awsRestxml_deserializeOpErrorGetFunction(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetOriginRequestPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -10910,11 +13228,11 @@ func awsRestxml_deserializeOpErrorGetFunction(response *smithyhttp.Response, met } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("NoSuchFunctionExists", errorCode): - return awsRestxml_deserializeErrorNoSuchFunctionExists(response, errorBody) + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("UnsupportedOperation", errorCode): - return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) + case strings.EqualFold("NoSuchOriginRequestPolicy", errorCode): + return awsRestxml_deserializeErrorNoSuchOriginRequestPolicy(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -10926,16 +13244,11 @@ func awsRestxml_deserializeOpErrorGetFunction(response *smithyhttp.Response, met } } -func awsRestxml_deserializeOpHttpBindingsGetFunctionOutput(v *GetFunctionOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsGetOriginRequestPolicyOutput(v *GetOriginRequestPolicyOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } - if headerValues := response.Header.Values("Content-Type"); len(headerValues) != 0 { - headerValues[0] = strings.TrimSpace(headerValues[0]) - v.ContentType = ptr.String(headerValues[0]) - } - if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { headerValues[0] = strings.TrimSpace(headerValues[0]) v.ETag = ptr.String(headerValues[0]) @@ -10943,35 +13256,56 @@ func awsRestxml_deserializeOpHttpBindingsGetFunctionOutput(v *GetFunctionOutput, return nil } -func awsRestxml_deserializeOpDocumentGetFunctionOutput(v *GetFunctionOutput, body io.ReadCloser, contentLength int64) error { +func awsRestxml_deserializeOpDocumentGetOriginRequestPolicyOutput(v **GetOriginRequestPolicyOutput, decoder smithyxml.NodeDecoder) error { if v == nil { - return fmt.Errorf("unsupported deserialization of nil %T", v) + return fmt.Errorf("unexpected nil of type %T", v) } - var buf bytes.Buffer - if contentLength > 0 { - buf.Grow(int(contentLength)) + var sv *GetOriginRequestPolicyOutput + if *v == nil { + sv = &GetOriginRequestPolicyOutput{} } else { - buf.Grow(512) + sv = *v } - _, err := buf.ReadFrom(body) - if err != nil { - return err - } - if buf.Len() > 0 { - v.FunctionCode = buf.Bytes() + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("OriginRequestPolicy", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentOriginRequestPolicy(&sv.OriginRequestPolicy, nodeDecoder); err != nil { + return err + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder } + *v = sv return nil } -type awsRestxml_deserializeOpGetInvalidation struct { +type awsRestxml_deserializeOpGetOriginRequestPolicyConfig struct { } -func (*awsRestxml_deserializeOpGetInvalidation) ID() string { +func (*awsRestxml_deserializeOpGetOriginRequestPolicyConfig) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetInvalidation) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetOriginRequestPolicyConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -10989,11 +13323,16 @@ func (m *awsRestxml_deserializeOpGetInvalidation) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetInvalidation(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetOriginRequestPolicyConfig(response, &metadata) } - output := &GetInvalidationOutput{} + output := &GetOriginRequestPolicyConfigOutput{} out.Result = output + err = awsRestxml_deserializeOpHttpBindingsGetOriginRequestPolicyConfigOutput(output, response) + if err != nil { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} + } + var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(response.Body, ringBuffer) @@ -11012,7 +13351,7 @@ func (m *awsRestxml_deserializeOpGetInvalidation) HandleDeserialize(ctx context. } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentInvalidation(&output.Invalidation, decoder) + err = awsRestxml_deserializeDocumentOriginRequestPolicyConfig(&output.OriginRequestPolicyConfig, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11026,7 +13365,7 @@ func (m *awsRestxml_deserializeOpGetInvalidation) HandleDeserialize(ctx context. return out, metadata, err } -func awsRestxml_deserializeOpErrorGetInvalidation(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetOriginRequestPolicyConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11054,11 +13393,8 @@ func awsRestxml_deserializeOpErrorGetInvalidation(response *smithyhttp.Response, case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("NoSuchDistribution", errorCode): - return awsRestxml_deserializeErrorNoSuchDistribution(response, errorBody) - - case strings.EqualFold("NoSuchInvalidation", errorCode): - return awsRestxml_deserializeErrorNoSuchInvalidation(response, errorBody) + case strings.EqualFold("NoSuchOriginRequestPolicy", errorCode): + return awsRestxml_deserializeErrorNoSuchOriginRequestPolicy(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -11070,13 +13406,25 @@ func awsRestxml_deserializeOpErrorGetInvalidation(response *smithyhttp.Response, } } -func awsRestxml_deserializeOpDocumentGetInvalidationOutput(v **GetInvalidationOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpHttpBindingsGetOriginRequestPolicyConfigOutput(v *GetOriginRequestPolicyConfigOutput, response *smithyhttp.Response) error { + if v == nil { + return fmt.Errorf("unsupported deserialization for nil %T", v) + } + + if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.ETag = ptr.String(headerValues[0]) + } + + return nil +} +func awsRestxml_deserializeOpDocumentGetOriginRequestPolicyConfigOutput(v **GetOriginRequestPolicyConfigOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetInvalidationOutput + var sv *GetOriginRequestPolicyConfigOutput if *v == nil { - sv = &GetInvalidationOutput{} + sv = &GetOriginRequestPolicyConfigOutput{} } else { sv = *v } @@ -11092,9 +13440,9 @@ func awsRestxml_deserializeOpDocumentGetInvalidationOutput(v **GetInvalidationOu originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("Invalidation", t.Name.Local): + case strings.EqualFold("OriginRequestPolicyConfig", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentInvalidation(&sv.Invalidation, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentOriginRequestPolicyConfig(&sv.OriginRequestPolicyConfig, nodeDecoder); err != nil { return err } @@ -11112,14 +13460,14 @@ func awsRestxml_deserializeOpDocumentGetInvalidationOutput(v **GetInvalidationOu return nil } -type awsRestxml_deserializeOpGetInvalidationForDistributionTenant struct { +type awsRestxml_deserializeOpGetPublicKey struct { } -func (*awsRestxml_deserializeOpGetInvalidationForDistributionTenant) ID() string { +func (*awsRestxml_deserializeOpGetPublicKey) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetInvalidationForDistributionTenant) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetPublicKey) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11137,11 +13485,16 @@ func (m *awsRestxml_deserializeOpGetInvalidationForDistributionTenant) HandleDes } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetInvalidationForDistributionTenant(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetPublicKey(response, &metadata) } - output := &GetInvalidationForDistributionTenantOutput{} + output := &GetPublicKeyOutput{} out.Result = output + err = awsRestxml_deserializeOpHttpBindingsGetPublicKeyOutput(output, response) + if err != nil { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} + } + var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(response.Body, ringBuffer) @@ -11160,7 +13513,7 @@ func (m *awsRestxml_deserializeOpGetInvalidationForDistributionTenant) HandleDes } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentInvalidation(&output.Invalidation, decoder) + err = awsRestxml_deserializeDocumentPublicKey(&output.PublicKey, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11174,7 +13527,7 @@ func (m *awsRestxml_deserializeOpGetInvalidationForDistributionTenant) HandleDes return out, metadata, err } -func awsRestxml_deserializeOpErrorGetInvalidationForDistributionTenant(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetPublicKey(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11202,11 +13555,8 @@ func awsRestxml_deserializeOpErrorGetInvalidationForDistributionTenant(response case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("EntityNotFound", errorCode): - return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) - - case strings.EqualFold("NoSuchInvalidation", errorCode): - return awsRestxml_deserializeErrorNoSuchInvalidation(response, errorBody) + case strings.EqualFold("NoSuchPublicKey", errorCode): + return awsRestxml_deserializeErrorNoSuchPublicKey(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -11218,13 +13568,25 @@ func awsRestxml_deserializeOpErrorGetInvalidationForDistributionTenant(response } } -func awsRestxml_deserializeOpDocumentGetInvalidationForDistributionTenantOutput(v **GetInvalidationForDistributionTenantOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpHttpBindingsGetPublicKeyOutput(v *GetPublicKeyOutput, response *smithyhttp.Response) error { + if v == nil { + return fmt.Errorf("unsupported deserialization for nil %T", v) + } + + if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.ETag = ptr.String(headerValues[0]) + } + + return nil +} +func awsRestxml_deserializeOpDocumentGetPublicKeyOutput(v **GetPublicKeyOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetInvalidationForDistributionTenantOutput + var sv *GetPublicKeyOutput if *v == nil { - sv = &GetInvalidationForDistributionTenantOutput{} + sv = &GetPublicKeyOutput{} } else { sv = *v } @@ -11240,9 +13602,9 @@ func awsRestxml_deserializeOpDocumentGetInvalidationForDistributionTenantOutput( originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("Invalidation", t.Name.Local): + case strings.EqualFold("PublicKey", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentInvalidation(&sv.Invalidation, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentPublicKey(&sv.PublicKey, nodeDecoder); err != nil { return err } @@ -11260,14 +13622,14 @@ func awsRestxml_deserializeOpDocumentGetInvalidationForDistributionTenantOutput( return nil } -type awsRestxml_deserializeOpGetKeyGroup struct { +type awsRestxml_deserializeOpGetPublicKeyConfig struct { } -func (*awsRestxml_deserializeOpGetKeyGroup) ID() string { +func (*awsRestxml_deserializeOpGetPublicKeyConfig) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetKeyGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetPublicKeyConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11285,12 +13647,12 @@ func (m *awsRestxml_deserializeOpGetKeyGroup) HandleDeserialize(ctx context.Cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetKeyGroup(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetPublicKeyConfig(response, &metadata) } - output := &GetKeyGroupOutput{} + output := &GetPublicKeyConfigOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetKeyGroupOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsGetPublicKeyConfigOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -11313,7 +13675,7 @@ func (m *awsRestxml_deserializeOpGetKeyGroup) HandleDeserialize(ctx context.Cont } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentKeyGroup(&output.KeyGroup, decoder) + err = awsRestxml_deserializeDocumentPublicKeyConfig(&output.PublicKeyConfig, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11327,7 +13689,7 @@ func (m *awsRestxml_deserializeOpGetKeyGroup) HandleDeserialize(ctx context.Cont return out, metadata, err } -func awsRestxml_deserializeOpErrorGetKeyGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetPublicKeyConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11352,8 +13714,11 @@ func awsRestxml_deserializeOpErrorGetKeyGroup(response *smithyhttp.Response, met } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("NoSuchResource", errorCode): - return awsRestxml_deserializeErrorNoSuchResource(response, errorBody) + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("NoSuchPublicKey", errorCode): + return awsRestxml_deserializeErrorNoSuchPublicKey(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -11365,7 +13730,7 @@ func awsRestxml_deserializeOpErrorGetKeyGroup(response *smithyhttp.Response, met } } -func awsRestxml_deserializeOpHttpBindingsGetKeyGroupOutput(v *GetKeyGroupOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsGetPublicKeyConfigOutput(v *GetPublicKeyConfigOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -11377,13 +13742,13 @@ func awsRestxml_deserializeOpHttpBindingsGetKeyGroupOutput(v *GetKeyGroupOutput, return nil } -func awsRestxml_deserializeOpDocumentGetKeyGroupOutput(v **GetKeyGroupOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentGetPublicKeyConfigOutput(v **GetPublicKeyConfigOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetKeyGroupOutput + var sv *GetPublicKeyConfigOutput if *v == nil { - sv = &GetKeyGroupOutput{} + sv = &GetPublicKeyConfigOutput{} } else { sv = *v } @@ -11399,9 +13764,9 @@ func awsRestxml_deserializeOpDocumentGetKeyGroupOutput(v **GetKeyGroupOutput, de originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("KeyGroup", t.Name.Local): + case strings.EqualFold("PublicKeyConfig", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentKeyGroup(&sv.KeyGroup, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentPublicKeyConfig(&sv.PublicKeyConfig, nodeDecoder); err != nil { return err } @@ -11419,14 +13784,14 @@ func awsRestxml_deserializeOpDocumentGetKeyGroupOutput(v **GetKeyGroupOutput, de return nil } -type awsRestxml_deserializeOpGetKeyGroupConfig struct { +type awsRestxml_deserializeOpGetRealtimeLogConfig struct { } -func (*awsRestxml_deserializeOpGetKeyGroupConfig) ID() string { +func (*awsRestxml_deserializeOpGetRealtimeLogConfig) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetKeyGroupConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetRealtimeLogConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11444,16 +13809,11 @@ func (m *awsRestxml_deserializeOpGetKeyGroupConfig) HandleDeserialize(ctx contex } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetKeyGroupConfig(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetRealtimeLogConfig(response, &metadata) } - output := &GetKeyGroupConfigOutput{} + output := &GetRealtimeLogConfigOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetKeyGroupConfigOutput(output, response) - if err != nil { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} - } - var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(response.Body, ringBuffer) @@ -11472,7 +13832,7 @@ func (m *awsRestxml_deserializeOpGetKeyGroupConfig) HandleDeserialize(ctx contex } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentKeyGroupConfig(&output.KeyGroupConfig, decoder) + err = awsRestxml_deserializeOpDocumentGetRealtimeLogConfigOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11486,7 +13846,7 @@ func (m *awsRestxml_deserializeOpGetKeyGroupConfig) HandleDeserialize(ctx contex return out, metadata, err } -func awsRestxml_deserializeOpErrorGetKeyGroupConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetRealtimeLogConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11511,8 +13871,14 @@ func awsRestxml_deserializeOpErrorGetKeyGroupConfig(response *smithyhttp.Respons } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("NoSuchResource", errorCode): - return awsRestxml_deserializeErrorNoSuchResource(response, errorBody) + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("InvalidArgument", errorCode): + return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) + + case strings.EqualFold("NoSuchRealtimeLogConfig", errorCode): + return awsRestxml_deserializeErrorNoSuchRealtimeLogConfig(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -11524,25 +13890,13 @@ func awsRestxml_deserializeOpErrorGetKeyGroupConfig(response *smithyhttp.Respons } } -func awsRestxml_deserializeOpHttpBindingsGetKeyGroupConfigOutput(v *GetKeyGroupConfigOutput, response *smithyhttp.Response) error { - if v == nil { - return fmt.Errorf("unsupported deserialization for nil %T", v) - } - - if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { - headerValues[0] = strings.TrimSpace(headerValues[0]) - v.ETag = ptr.String(headerValues[0]) - } - - return nil -} -func awsRestxml_deserializeOpDocumentGetKeyGroupConfigOutput(v **GetKeyGroupConfigOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentGetRealtimeLogConfigOutput(v **GetRealtimeLogConfigOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetKeyGroupConfigOutput + var sv *GetRealtimeLogConfigOutput if *v == nil { - sv = &GetKeyGroupConfigOutput{} + sv = &GetRealtimeLogConfigOutput{} } else { sv = *v } @@ -11558,9 +13912,9 @@ func awsRestxml_deserializeOpDocumentGetKeyGroupConfigOutput(v **GetKeyGroupConf originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("KeyGroupConfig", t.Name.Local): + case strings.EqualFold("RealtimeLogConfig", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentKeyGroupConfig(&sv.KeyGroupConfig, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentRealtimeLogConfig(&sv.RealtimeLogConfig, nodeDecoder); err != nil { return err } @@ -11578,14 +13932,14 @@ func awsRestxml_deserializeOpDocumentGetKeyGroupConfigOutput(v **GetKeyGroupConf return nil } -type awsRestxml_deserializeOpGetManagedCertificateDetails struct { +type awsRestxml_deserializeOpGetResourcePolicy struct { } -func (*awsRestxml_deserializeOpGetManagedCertificateDetails) ID() string { +func (*awsRestxml_deserializeOpGetResourcePolicy) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetManagedCertificateDetails) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetResourcePolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11603,9 +13957,9 @@ func (m *awsRestxml_deserializeOpGetManagedCertificateDetails) HandleDeserialize } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetManagedCertificateDetails(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetResourcePolicy(response, &metadata) } - output := &GetManagedCertificateDetailsOutput{} + output := &GetResourcePolicyOutput{} out.Result = output var buff [1024]byte @@ -11626,7 +13980,7 @@ func (m *awsRestxml_deserializeOpGetManagedCertificateDetails) HandleDeserialize } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentManagedCertificateDetails(&output.ManagedCertificateDetails, decoder) + err = awsRestxml_deserializeOpDocumentGetResourcePolicyOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11640,7 +13994,7 @@ func (m *awsRestxml_deserializeOpGetManagedCertificateDetails) HandleDeserialize return out, metadata, err } -func awsRestxml_deserializeOpErrorGetManagedCertificateDetails(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetResourcePolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11671,6 +14025,12 @@ func awsRestxml_deserializeOpErrorGetManagedCertificateDetails(response *smithyh case strings.EqualFold("EntityNotFound", errorCode): return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + case strings.EqualFold("InvalidArgument", errorCode): + return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) + + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -11681,13 +14041,13 @@ func awsRestxml_deserializeOpErrorGetManagedCertificateDetails(response *smithyh } } -func awsRestxml_deserializeOpDocumentGetManagedCertificateDetailsOutput(v **GetManagedCertificateDetailsOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePolicyOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetManagedCertificateDetailsOutput + var sv *GetResourcePolicyOutput if *v == nil { - sv = &GetManagedCertificateDetailsOutput{} + sv = &GetResourcePolicyOutput{} } else { sv = *v } @@ -11703,11 +14063,31 @@ func awsRestxml_deserializeOpDocumentGetManagedCertificateDetailsOutput(v **GetM originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("ManagedCertificateDetails", t.Name.Local): - nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentManagedCertificateDetails(&sv.ManagedCertificateDetails, nodeDecoder); err != nil { + case strings.EqualFold("PolicyDocument", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.PolicyDocument = ptr.String(xtv) + } + + case strings.EqualFold("ResourceArn", t.Name.Local): + val, err := decoder.Value() + if err != nil { return err } + if val == nil { + break + } + { + xtv := string(val) + sv.ResourceArn = ptr.String(xtv) + } default: // Do nothing and ignore the unexpected tag element @@ -11723,14 +14103,14 @@ func awsRestxml_deserializeOpDocumentGetManagedCertificateDetailsOutput(v **GetM return nil } -type awsRestxml_deserializeOpGetMonitoringSubscription struct { +type awsRestxml_deserializeOpGetResponseHeadersPolicy struct { } -func (*awsRestxml_deserializeOpGetMonitoringSubscription) ID() string { +func (*awsRestxml_deserializeOpGetResponseHeadersPolicy) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetMonitoringSubscription) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetResponseHeadersPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11748,11 +14128,16 @@ func (m *awsRestxml_deserializeOpGetMonitoringSubscription) HandleDeserialize(ct } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetMonitoringSubscription(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetResponseHeadersPolicy(response, &metadata) } - output := &GetMonitoringSubscriptionOutput{} + output := &GetResponseHeadersPolicyOutput{} out.Result = output + err = awsRestxml_deserializeOpHttpBindingsGetResponseHeadersPolicyOutput(output, response) + if err != nil { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} + } + var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(response.Body, ringBuffer) @@ -11771,7 +14156,7 @@ func (m *awsRestxml_deserializeOpGetMonitoringSubscription) HandleDeserialize(ct } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentMonitoringSubscription(&output.MonitoringSubscription, decoder) + err = awsRestxml_deserializeDocumentResponseHeadersPolicy(&output.ResponseHeadersPolicy, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11785,7 +14170,7 @@ func (m *awsRestxml_deserializeOpGetMonitoringSubscription) HandleDeserialize(ct return out, metadata, err } -func awsRestxml_deserializeOpErrorGetMonitoringSubscription(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetResponseHeadersPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11813,14 +14198,8 @@ func awsRestxml_deserializeOpErrorGetMonitoringSubscription(response *smithyhttp case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("NoSuchDistribution", errorCode): - return awsRestxml_deserializeErrorNoSuchDistribution(response, errorBody) - - case strings.EqualFold("NoSuchMonitoringSubscription", errorCode): - return awsRestxml_deserializeErrorNoSuchMonitoringSubscription(response, errorBody) - - case strings.EqualFold("UnsupportedOperation", errorCode): - return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) + case strings.EqualFold("NoSuchResponseHeadersPolicy", errorCode): + return awsRestxml_deserializeErrorNoSuchResponseHeadersPolicy(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -11832,13 +14211,25 @@ func awsRestxml_deserializeOpErrorGetMonitoringSubscription(response *smithyhttp } } -func awsRestxml_deserializeOpDocumentGetMonitoringSubscriptionOutput(v **GetMonitoringSubscriptionOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpHttpBindingsGetResponseHeadersPolicyOutput(v *GetResponseHeadersPolicyOutput, response *smithyhttp.Response) error { + if v == nil { + return fmt.Errorf("unsupported deserialization for nil %T", v) + } + + if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.ETag = ptr.String(headerValues[0]) + } + + return nil +} +func awsRestxml_deserializeOpDocumentGetResponseHeadersPolicyOutput(v **GetResponseHeadersPolicyOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetMonitoringSubscriptionOutput + var sv *GetResponseHeadersPolicyOutput if *v == nil { - sv = &GetMonitoringSubscriptionOutput{} + sv = &GetResponseHeadersPolicyOutput{} } else { sv = *v } @@ -11854,9 +14245,9 @@ func awsRestxml_deserializeOpDocumentGetMonitoringSubscriptionOutput(v **GetMoni originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("MonitoringSubscription", t.Name.Local): + case strings.EqualFold("ResponseHeadersPolicy", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentMonitoringSubscription(&sv.MonitoringSubscription, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentResponseHeadersPolicy(&sv.ResponseHeadersPolicy, nodeDecoder); err != nil { return err } @@ -11874,14 +14265,14 @@ func awsRestxml_deserializeOpDocumentGetMonitoringSubscriptionOutput(v **GetMoni return nil } -type awsRestxml_deserializeOpGetOriginAccessControl struct { +type awsRestxml_deserializeOpGetResponseHeadersPolicyConfig struct { } -func (*awsRestxml_deserializeOpGetOriginAccessControl) ID() string { +func (*awsRestxml_deserializeOpGetResponseHeadersPolicyConfig) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetOriginAccessControl) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetResponseHeadersPolicyConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11899,12 +14290,12 @@ func (m *awsRestxml_deserializeOpGetOriginAccessControl) HandleDeserialize(ctx c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetOriginAccessControl(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetResponseHeadersPolicyConfig(response, &metadata) } - output := &GetOriginAccessControlOutput{} + output := &GetResponseHeadersPolicyConfigOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetOriginAccessControlOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsGetResponseHeadersPolicyConfigOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -11927,7 +14318,7 @@ func (m *awsRestxml_deserializeOpGetOriginAccessControl) HandleDeserialize(ctx c } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentOriginAccessControl(&output.OriginAccessControl, decoder) + err = awsRestxml_deserializeDocumentResponseHeadersPolicyConfig(&output.ResponseHeadersPolicyConfig, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11941,7 +14332,7 @@ func (m *awsRestxml_deserializeOpGetOriginAccessControl) HandleDeserialize(ctx c return out, metadata, err } -func awsRestxml_deserializeOpErrorGetOriginAccessControl(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetResponseHeadersPolicyConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11969,8 +14360,8 @@ func awsRestxml_deserializeOpErrorGetOriginAccessControl(response *smithyhttp.Re case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("NoSuchOriginAccessControl", errorCode): - return awsRestxml_deserializeErrorNoSuchOriginAccessControl(response, errorBody) + case strings.EqualFold("NoSuchResponseHeadersPolicy", errorCode): + return awsRestxml_deserializeErrorNoSuchResponseHeadersPolicy(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -11982,7 +14373,7 @@ func awsRestxml_deserializeOpErrorGetOriginAccessControl(response *smithyhttp.Re } } -func awsRestxml_deserializeOpHttpBindingsGetOriginAccessControlOutput(v *GetOriginAccessControlOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsGetResponseHeadersPolicyConfigOutput(v *GetResponseHeadersPolicyConfigOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -11994,13 +14385,13 @@ func awsRestxml_deserializeOpHttpBindingsGetOriginAccessControlOutput(v *GetOrig return nil } -func awsRestxml_deserializeOpDocumentGetOriginAccessControlOutput(v **GetOriginAccessControlOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentGetResponseHeadersPolicyConfigOutput(v **GetResponseHeadersPolicyConfigOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetOriginAccessControlOutput + var sv *GetResponseHeadersPolicyConfigOutput if *v == nil { - sv = &GetOriginAccessControlOutput{} + sv = &GetResponseHeadersPolicyConfigOutput{} } else { sv = *v } @@ -12016,9 +14407,9 @@ func awsRestxml_deserializeOpDocumentGetOriginAccessControlOutput(v **GetOriginA originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("OriginAccessControl", t.Name.Local): + case strings.EqualFold("ResponseHeadersPolicyConfig", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentOriginAccessControl(&sv.OriginAccessControl, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentResponseHeadersPolicyConfig(&sv.ResponseHeadersPolicyConfig, nodeDecoder); err != nil { return err } @@ -12036,14 +14427,14 @@ func awsRestxml_deserializeOpDocumentGetOriginAccessControlOutput(v **GetOriginA return nil } -type awsRestxml_deserializeOpGetOriginAccessControlConfig struct { +type awsRestxml_deserializeOpGetStreamingDistribution struct { } -func (*awsRestxml_deserializeOpGetOriginAccessControlConfig) ID() string { +func (*awsRestxml_deserializeOpGetStreamingDistribution) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetOriginAccessControlConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetStreamingDistribution) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -12061,12 +14452,12 @@ func (m *awsRestxml_deserializeOpGetOriginAccessControlConfig) HandleDeserialize } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetOriginAccessControlConfig(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetStreamingDistribution(response, &metadata) } - output := &GetOriginAccessControlConfigOutput{} + output := &GetStreamingDistributionOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetOriginAccessControlConfigOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsGetStreamingDistributionOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -12089,7 +14480,7 @@ func (m *awsRestxml_deserializeOpGetOriginAccessControlConfig) HandleDeserialize } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentOriginAccessControlConfig(&output.OriginAccessControlConfig, decoder) + err = awsRestxml_deserializeDocumentStreamingDistribution(&output.StreamingDistribution, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12103,7 +14494,7 @@ func (m *awsRestxml_deserializeOpGetOriginAccessControlConfig) HandleDeserialize return out, metadata, err } -func awsRestxml_deserializeOpErrorGetOriginAccessControlConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetStreamingDistribution(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -12131,8 +14522,8 @@ func awsRestxml_deserializeOpErrorGetOriginAccessControlConfig(response *smithyh case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("NoSuchOriginAccessControl", errorCode): - return awsRestxml_deserializeErrorNoSuchOriginAccessControl(response, errorBody) + case strings.EqualFold("NoSuchStreamingDistribution", errorCode): + return awsRestxml_deserializeErrorNoSuchStreamingDistribution(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -12144,7 +14535,7 @@ func awsRestxml_deserializeOpErrorGetOriginAccessControlConfig(response *smithyh } } -func awsRestxml_deserializeOpHttpBindingsGetOriginAccessControlConfigOutput(v *GetOriginAccessControlConfigOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsGetStreamingDistributionOutput(v *GetStreamingDistributionOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -12156,13 +14547,13 @@ func awsRestxml_deserializeOpHttpBindingsGetOriginAccessControlConfigOutput(v *G return nil } -func awsRestxml_deserializeOpDocumentGetOriginAccessControlConfigOutput(v **GetOriginAccessControlConfigOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentGetStreamingDistributionOutput(v **GetStreamingDistributionOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetOriginAccessControlConfigOutput + var sv *GetStreamingDistributionOutput if *v == nil { - sv = &GetOriginAccessControlConfigOutput{} + sv = &GetStreamingDistributionOutput{} } else { sv = *v } @@ -12178,9 +14569,9 @@ func awsRestxml_deserializeOpDocumentGetOriginAccessControlConfigOutput(v **GetO originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("OriginAccessControlConfig", t.Name.Local): + case strings.EqualFold("StreamingDistribution", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentOriginAccessControlConfig(&sv.OriginAccessControlConfig, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentStreamingDistribution(&sv.StreamingDistribution, nodeDecoder); err != nil { return err } @@ -12198,14 +14589,14 @@ func awsRestxml_deserializeOpDocumentGetOriginAccessControlConfigOutput(v **GetO return nil } -type awsRestxml_deserializeOpGetOriginRequestPolicy struct { +type awsRestxml_deserializeOpGetStreamingDistributionConfig struct { } -func (*awsRestxml_deserializeOpGetOriginRequestPolicy) ID() string { +func (*awsRestxml_deserializeOpGetStreamingDistributionConfig) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetOriginRequestPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetStreamingDistributionConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -12223,12 +14614,12 @@ func (m *awsRestxml_deserializeOpGetOriginRequestPolicy) HandleDeserialize(ctx c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetOriginRequestPolicy(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetStreamingDistributionConfig(response, &metadata) } - output := &GetOriginRequestPolicyOutput{} + output := &GetStreamingDistributionConfigOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetOriginRequestPolicyOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsGetStreamingDistributionConfigOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -12251,7 +14642,7 @@ func (m *awsRestxml_deserializeOpGetOriginRequestPolicy) HandleDeserialize(ctx c } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentOriginRequestPolicy(&output.OriginRequestPolicy, decoder) + err = awsRestxml_deserializeDocumentStreamingDistributionConfig(&output.StreamingDistributionConfig, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12265,7 +14656,7 @@ func (m *awsRestxml_deserializeOpGetOriginRequestPolicy) HandleDeserialize(ctx c return out, metadata, err } -func awsRestxml_deserializeOpErrorGetOriginRequestPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetStreamingDistributionConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -12293,8 +14684,8 @@ func awsRestxml_deserializeOpErrorGetOriginRequestPolicy(response *smithyhttp.Re case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("NoSuchOriginRequestPolicy", errorCode): - return awsRestxml_deserializeErrorNoSuchOriginRequestPolicy(response, errorBody) + case strings.EqualFold("NoSuchStreamingDistribution", errorCode): + return awsRestxml_deserializeErrorNoSuchStreamingDistribution(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -12306,7 +14697,7 @@ func awsRestxml_deserializeOpErrorGetOriginRequestPolicy(response *smithyhttp.Re } } -func awsRestxml_deserializeOpHttpBindingsGetOriginRequestPolicyOutput(v *GetOriginRequestPolicyOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsGetStreamingDistributionConfigOutput(v *GetStreamingDistributionConfigOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -12318,13 +14709,13 @@ func awsRestxml_deserializeOpHttpBindingsGetOriginRequestPolicyOutput(v *GetOrig return nil } -func awsRestxml_deserializeOpDocumentGetOriginRequestPolicyOutput(v **GetOriginRequestPolicyOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentGetStreamingDistributionConfigOutput(v **GetStreamingDistributionConfigOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetOriginRequestPolicyOutput + var sv *GetStreamingDistributionConfigOutput if *v == nil { - sv = &GetOriginRequestPolicyOutput{} + sv = &GetStreamingDistributionConfigOutput{} } else { sv = *v } @@ -12340,9 +14731,9 @@ func awsRestxml_deserializeOpDocumentGetOriginRequestPolicyOutput(v **GetOriginR originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("OriginRequestPolicy", t.Name.Local): + case strings.EqualFold("StreamingDistributionConfig", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentOriginRequestPolicy(&sv.OriginRequestPolicy, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentStreamingDistributionConfig(&sv.StreamingDistributionConfig, nodeDecoder); err != nil { return err } @@ -12360,14 +14751,14 @@ func awsRestxml_deserializeOpDocumentGetOriginRequestPolicyOutput(v **GetOriginR return nil } -type awsRestxml_deserializeOpGetOriginRequestPolicyConfig struct { +type awsRestxml_deserializeOpGetTrustStore struct { } -func (*awsRestxml_deserializeOpGetOriginRequestPolicyConfig) ID() string { +func (*awsRestxml_deserializeOpGetTrustStore) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetOriginRequestPolicyConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetTrustStore) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -12385,12 +14776,12 @@ func (m *awsRestxml_deserializeOpGetOriginRequestPolicyConfig) HandleDeserialize } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetOriginRequestPolicyConfig(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetTrustStore(response, &metadata) } - output := &GetOriginRequestPolicyConfigOutput{} + output := &GetTrustStoreOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetOriginRequestPolicyConfigOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsGetTrustStoreOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -12413,7 +14804,7 @@ func (m *awsRestxml_deserializeOpGetOriginRequestPolicyConfig) HandleDeserialize } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentOriginRequestPolicyConfig(&output.OriginRequestPolicyConfig, decoder) + err = awsRestxml_deserializeDocumentTrustStore(&output.TrustStore, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12427,7 +14818,7 @@ func (m *awsRestxml_deserializeOpGetOriginRequestPolicyConfig) HandleDeserialize return out, metadata, err } -func awsRestxml_deserializeOpErrorGetOriginRequestPolicyConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetTrustStore(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -12455,8 +14846,11 @@ func awsRestxml_deserializeOpErrorGetOriginRequestPolicyConfig(response *smithyh case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("NoSuchOriginRequestPolicy", errorCode): - return awsRestxml_deserializeErrorNoSuchOriginRequestPolicy(response, errorBody) + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + + case strings.EqualFold("InvalidArgument", errorCode): + return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -12468,7 +14862,7 @@ func awsRestxml_deserializeOpErrorGetOriginRequestPolicyConfig(response *smithyh } } -func awsRestxml_deserializeOpHttpBindingsGetOriginRequestPolicyConfigOutput(v *GetOriginRequestPolicyConfigOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsGetTrustStoreOutput(v *GetTrustStoreOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -12480,13 +14874,13 @@ func awsRestxml_deserializeOpHttpBindingsGetOriginRequestPolicyConfigOutput(v *G return nil } -func awsRestxml_deserializeOpDocumentGetOriginRequestPolicyConfigOutput(v **GetOriginRequestPolicyConfigOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentGetTrustStoreOutput(v **GetTrustStoreOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetOriginRequestPolicyConfigOutput + var sv *GetTrustStoreOutput if *v == nil { - sv = &GetOriginRequestPolicyConfigOutput{} + sv = &GetTrustStoreOutput{} } else { sv = *v } @@ -12502,9 +14896,9 @@ func awsRestxml_deserializeOpDocumentGetOriginRequestPolicyConfigOutput(v **GetO originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("OriginRequestPolicyConfig", t.Name.Local): + case strings.EqualFold("TrustStore", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentOriginRequestPolicyConfig(&sv.OriginRequestPolicyConfig, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentTrustStore(&sv.TrustStore, nodeDecoder); err != nil { return err } @@ -12522,14 +14916,14 @@ func awsRestxml_deserializeOpDocumentGetOriginRequestPolicyConfigOutput(v **GetO return nil } -type awsRestxml_deserializeOpGetPublicKey struct { +type awsRestxml_deserializeOpGetVpcOrigin struct { } -func (*awsRestxml_deserializeOpGetPublicKey) ID() string { +func (*awsRestxml_deserializeOpGetVpcOrigin) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetPublicKey) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpGetVpcOrigin) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -12547,12 +14941,12 @@ func (m *awsRestxml_deserializeOpGetPublicKey) HandleDeserialize(ctx context.Con } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetPublicKey(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorGetVpcOrigin(response, &metadata) } - output := &GetPublicKeyOutput{} + output := &GetVpcOriginOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetPublicKeyOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsGetVpcOriginOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -12575,7 +14969,7 @@ func (m *awsRestxml_deserializeOpGetPublicKey) HandleDeserialize(ctx context.Con } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentPublicKey(&output.PublicKey, decoder) + err = awsRestxml_deserializeDocumentVpcOrigin(&output.VpcOrigin, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12589,7 +14983,7 @@ func (m *awsRestxml_deserializeOpGetPublicKey) HandleDeserialize(ctx context.Con return out, metadata, err } -func awsRestxml_deserializeOpErrorGetPublicKey(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorGetVpcOrigin(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -12617,8 +15011,14 @@ func awsRestxml_deserializeOpErrorGetPublicKey(response *smithyhttp.Response, me case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("NoSuchPublicKey", errorCode): - return awsRestxml_deserializeErrorNoSuchPublicKey(response, errorBody) + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + + case strings.EqualFold("InvalidArgument", errorCode): + return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) + + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -12630,7 +15030,7 @@ func awsRestxml_deserializeOpErrorGetPublicKey(response *smithyhttp.Response, me } } -func awsRestxml_deserializeOpHttpBindingsGetPublicKeyOutput(v *GetPublicKeyOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsGetVpcOriginOutput(v *GetVpcOriginOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -12642,13 +15042,13 @@ func awsRestxml_deserializeOpHttpBindingsGetPublicKeyOutput(v *GetPublicKeyOutpu return nil } -func awsRestxml_deserializeOpDocumentGetPublicKeyOutput(v **GetPublicKeyOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentGetVpcOriginOutput(v **GetVpcOriginOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetPublicKeyOutput + var sv *GetVpcOriginOutput if *v == nil { - sv = &GetPublicKeyOutput{} + sv = &GetVpcOriginOutput{} } else { sv = *v } @@ -12664,9 +15064,9 @@ func awsRestxml_deserializeOpDocumentGetPublicKeyOutput(v **GetPublicKeyOutput, originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("PublicKey", t.Name.Local): + case strings.EqualFold("VpcOrigin", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentPublicKey(&sv.PublicKey, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentVpcOrigin(&sv.VpcOrigin, nodeDecoder); err != nil { return err } @@ -12684,14 +15084,14 @@ func awsRestxml_deserializeOpDocumentGetPublicKeyOutput(v **GetPublicKeyOutput, return nil } -type awsRestxml_deserializeOpGetPublicKeyConfig struct { +type awsRestxml_deserializeOpListAnycastIpLists struct { } -func (*awsRestxml_deserializeOpGetPublicKeyConfig) ID() string { +func (*awsRestxml_deserializeOpListAnycastIpLists) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetPublicKeyConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListAnycastIpLists) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -12709,16 +15109,11 @@ func (m *awsRestxml_deserializeOpGetPublicKeyConfig) HandleDeserialize(ctx conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetPublicKeyConfig(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListAnycastIpLists(response, &metadata) } - output := &GetPublicKeyConfigOutput{} + output := &ListAnycastIpListsOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetPublicKeyConfigOutput(output, response) - if err != nil { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} - } - var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(response.Body, ringBuffer) @@ -12737,7 +15132,7 @@ func (m *awsRestxml_deserializeOpGetPublicKeyConfig) HandleDeserialize(ctx conte } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentPublicKeyConfig(&output.PublicKeyConfig, decoder) + err = awsRestxml_deserializeDocumentAnycastIpListCollection(&output.AnycastIpLists, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12751,7 +15146,7 @@ func (m *awsRestxml_deserializeOpGetPublicKeyConfig) HandleDeserialize(ctx conte return out, metadata, err } -func awsRestxml_deserializeOpErrorGetPublicKeyConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListAnycastIpLists(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -12779,8 +15174,14 @@ func awsRestxml_deserializeOpErrorGetPublicKeyConfig(response *smithyhttp.Respon case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("NoSuchPublicKey", errorCode): - return awsRestxml_deserializeErrorNoSuchPublicKey(response, errorBody) + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + + case strings.EqualFold("InvalidArgument", errorCode): + return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) + + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -12792,25 +15193,13 @@ func awsRestxml_deserializeOpErrorGetPublicKeyConfig(response *smithyhttp.Respon } } -func awsRestxml_deserializeOpHttpBindingsGetPublicKeyConfigOutput(v *GetPublicKeyConfigOutput, response *smithyhttp.Response) error { - if v == nil { - return fmt.Errorf("unsupported deserialization for nil %T", v) - } - - if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { - headerValues[0] = strings.TrimSpace(headerValues[0]) - v.ETag = ptr.String(headerValues[0]) - } - - return nil -} -func awsRestxml_deserializeOpDocumentGetPublicKeyConfigOutput(v **GetPublicKeyConfigOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListAnycastIpListsOutput(v **ListAnycastIpListsOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetPublicKeyConfigOutput + var sv *ListAnycastIpListsOutput if *v == nil { - sv = &GetPublicKeyConfigOutput{} + sv = &ListAnycastIpListsOutput{} } else { sv = *v } @@ -12826,9 +15215,9 @@ func awsRestxml_deserializeOpDocumentGetPublicKeyConfigOutput(v **GetPublicKeyCo originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("PublicKeyConfig", t.Name.Local): + case strings.EqualFold("AnycastIpListCollection", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentPublicKeyConfig(&sv.PublicKeyConfig, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentAnycastIpListCollection(&sv.AnycastIpLists, nodeDecoder); err != nil { return err } @@ -12846,14 +15235,14 @@ func awsRestxml_deserializeOpDocumentGetPublicKeyConfigOutput(v **GetPublicKeyCo return nil } -type awsRestxml_deserializeOpGetRealtimeLogConfig struct { +type awsRestxml_deserializeOpListCachePolicies struct { } -func (*awsRestxml_deserializeOpGetRealtimeLogConfig) ID() string { +func (*awsRestxml_deserializeOpListCachePolicies) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetRealtimeLogConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListCachePolicies) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -12871,9 +15260,9 @@ func (m *awsRestxml_deserializeOpGetRealtimeLogConfig) HandleDeserialize(ctx con } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetRealtimeLogConfig(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListCachePolicies(response, &metadata) } - output := &GetRealtimeLogConfigOutput{} + output := &ListCachePoliciesOutput{} out.Result = output var buff [1024]byte @@ -12894,7 +15283,7 @@ func (m *awsRestxml_deserializeOpGetRealtimeLogConfig) HandleDeserialize(ctx con } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentGetRealtimeLogConfigOutput(&output, decoder) + err = awsRestxml_deserializeDocumentCachePolicyList(&output.CachePolicyList, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12908,7 +15297,7 @@ func (m *awsRestxml_deserializeOpGetRealtimeLogConfig) HandleDeserialize(ctx con return out, metadata, err } -func awsRestxml_deserializeOpErrorGetRealtimeLogConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListCachePolicies(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -12939,8 +15328,8 @@ func awsRestxml_deserializeOpErrorGetRealtimeLogConfig(response *smithyhttp.Resp case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("NoSuchRealtimeLogConfig", errorCode): - return awsRestxml_deserializeErrorNoSuchRealtimeLogConfig(response, errorBody) + case strings.EqualFold("NoSuchCachePolicy", errorCode): + return awsRestxml_deserializeErrorNoSuchCachePolicy(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -12952,13 +15341,13 @@ func awsRestxml_deserializeOpErrorGetRealtimeLogConfig(response *smithyhttp.Resp } } -func awsRestxml_deserializeOpDocumentGetRealtimeLogConfigOutput(v **GetRealtimeLogConfigOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListCachePoliciesOutput(v **ListCachePoliciesOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetRealtimeLogConfigOutput + var sv *ListCachePoliciesOutput if *v == nil { - sv = &GetRealtimeLogConfigOutput{} + sv = &ListCachePoliciesOutput{} } else { sv = *v } @@ -12974,9 +15363,9 @@ func awsRestxml_deserializeOpDocumentGetRealtimeLogConfigOutput(v **GetRealtimeL originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("RealtimeLogConfig", t.Name.Local): + case strings.EqualFold("CachePolicyList", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentRealtimeLogConfig(&sv.RealtimeLogConfig, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentCachePolicyList(&sv.CachePolicyList, nodeDecoder); err != nil { return err } @@ -12994,14 +15383,14 @@ func awsRestxml_deserializeOpDocumentGetRealtimeLogConfigOutput(v **GetRealtimeL return nil } -type awsRestxml_deserializeOpGetResponseHeadersPolicy struct { +type awsRestxml_deserializeOpListCloudFrontOriginAccessIdentities struct { } -func (*awsRestxml_deserializeOpGetResponseHeadersPolicy) ID() string { +func (*awsRestxml_deserializeOpListCloudFrontOriginAccessIdentities) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetResponseHeadersPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListCloudFrontOriginAccessIdentities) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13019,16 +15408,11 @@ func (m *awsRestxml_deserializeOpGetResponseHeadersPolicy) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetResponseHeadersPolicy(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListCloudFrontOriginAccessIdentities(response, &metadata) } - output := &GetResponseHeadersPolicyOutput{} + output := &ListCloudFrontOriginAccessIdentitiesOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetResponseHeadersPolicyOutput(output, response) - if err != nil { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} - } - var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(response.Body, ringBuffer) @@ -13047,7 +15431,7 @@ func (m *awsRestxml_deserializeOpGetResponseHeadersPolicy) HandleDeserialize(ctx } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentResponseHeadersPolicy(&output.ResponseHeadersPolicy, decoder) + err = awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentityList(&output.CloudFrontOriginAccessIdentityList, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -13061,7 +15445,7 @@ func (m *awsRestxml_deserializeOpGetResponseHeadersPolicy) HandleDeserialize(ctx return out, metadata, err } -func awsRestxml_deserializeOpErrorGetResponseHeadersPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListCloudFrontOriginAccessIdentities(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13086,11 +15470,8 @@ func awsRestxml_deserializeOpErrorGetResponseHeadersPolicy(response *smithyhttp. } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("AccessDenied", errorCode): - return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - - case strings.EqualFold("NoSuchResponseHeadersPolicy", errorCode): - return awsRestxml_deserializeErrorNoSuchResponseHeadersPolicy(response, errorBody) + case strings.EqualFold("InvalidArgument", errorCode): + return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -13102,25 +15483,13 @@ func awsRestxml_deserializeOpErrorGetResponseHeadersPolicy(response *smithyhttp. } } -func awsRestxml_deserializeOpHttpBindingsGetResponseHeadersPolicyOutput(v *GetResponseHeadersPolicyOutput, response *smithyhttp.Response) error { - if v == nil { - return fmt.Errorf("unsupported deserialization for nil %T", v) - } - - if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { - headerValues[0] = strings.TrimSpace(headerValues[0]) - v.ETag = ptr.String(headerValues[0]) - } - - return nil -} -func awsRestxml_deserializeOpDocumentGetResponseHeadersPolicyOutput(v **GetResponseHeadersPolicyOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListCloudFrontOriginAccessIdentitiesOutput(v **ListCloudFrontOriginAccessIdentitiesOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetResponseHeadersPolicyOutput + var sv *ListCloudFrontOriginAccessIdentitiesOutput if *v == nil { - sv = &GetResponseHeadersPolicyOutput{} + sv = &ListCloudFrontOriginAccessIdentitiesOutput{} } else { sv = *v } @@ -13136,9 +15505,9 @@ func awsRestxml_deserializeOpDocumentGetResponseHeadersPolicyOutput(v **GetRespo originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("ResponseHeadersPolicy", t.Name.Local): + case strings.EqualFold("CloudFrontOriginAccessIdentityList", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentResponseHeadersPolicy(&sv.ResponseHeadersPolicy, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentityList(&sv.CloudFrontOriginAccessIdentityList, nodeDecoder); err != nil { return err } @@ -13156,14 +15525,14 @@ func awsRestxml_deserializeOpDocumentGetResponseHeadersPolicyOutput(v **GetRespo return nil } -type awsRestxml_deserializeOpGetResponseHeadersPolicyConfig struct { +type awsRestxml_deserializeOpListConflictingAliases struct { } -func (*awsRestxml_deserializeOpGetResponseHeadersPolicyConfig) ID() string { +func (*awsRestxml_deserializeOpListConflictingAliases) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetResponseHeadersPolicyConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListConflictingAliases) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13181,16 +15550,11 @@ func (m *awsRestxml_deserializeOpGetResponseHeadersPolicyConfig) HandleDeseriali } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetResponseHeadersPolicyConfig(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListConflictingAliases(response, &metadata) } - output := &GetResponseHeadersPolicyConfigOutput{} + output := &ListConflictingAliasesOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetResponseHeadersPolicyConfigOutput(output, response) - if err != nil { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} - } - var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(response.Body, ringBuffer) @@ -13209,7 +15573,7 @@ func (m *awsRestxml_deserializeOpGetResponseHeadersPolicyConfig) HandleDeseriali } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentResponseHeadersPolicyConfig(&output.ResponseHeadersPolicyConfig, decoder) + err = awsRestxml_deserializeDocumentConflictingAliasesList(&output.ConflictingAliasesList, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -13223,7 +15587,7 @@ func (m *awsRestxml_deserializeOpGetResponseHeadersPolicyConfig) HandleDeseriali return out, metadata, err } -func awsRestxml_deserializeOpErrorGetResponseHeadersPolicyConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListConflictingAliases(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13248,11 +15612,11 @@ func awsRestxml_deserializeOpErrorGetResponseHeadersPolicyConfig(response *smith } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("AccessDenied", errorCode): - return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + case strings.EqualFold("InvalidArgument", errorCode): + return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("NoSuchResponseHeadersPolicy", errorCode): - return awsRestxml_deserializeErrorNoSuchResponseHeadersPolicy(response, errorBody) + case strings.EqualFold("NoSuchDistribution", errorCode): + return awsRestxml_deserializeErrorNoSuchDistribution(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -13264,25 +15628,13 @@ func awsRestxml_deserializeOpErrorGetResponseHeadersPolicyConfig(response *smith } } -func awsRestxml_deserializeOpHttpBindingsGetResponseHeadersPolicyConfigOutput(v *GetResponseHeadersPolicyConfigOutput, response *smithyhttp.Response) error { - if v == nil { - return fmt.Errorf("unsupported deserialization for nil %T", v) - } - - if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { - headerValues[0] = strings.TrimSpace(headerValues[0]) - v.ETag = ptr.String(headerValues[0]) - } - - return nil -} -func awsRestxml_deserializeOpDocumentGetResponseHeadersPolicyConfigOutput(v **GetResponseHeadersPolicyConfigOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListConflictingAliasesOutput(v **ListConflictingAliasesOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetResponseHeadersPolicyConfigOutput + var sv *ListConflictingAliasesOutput if *v == nil { - sv = &GetResponseHeadersPolicyConfigOutput{} + sv = &ListConflictingAliasesOutput{} } else { sv = *v } @@ -13298,9 +15650,9 @@ func awsRestxml_deserializeOpDocumentGetResponseHeadersPolicyConfigOutput(v **Ge originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("ResponseHeadersPolicyConfig", t.Name.Local): + case strings.EqualFold("ConflictingAliasesList", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentResponseHeadersPolicyConfig(&sv.ResponseHeadersPolicyConfig, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentConflictingAliasesList(&sv.ConflictingAliasesList, nodeDecoder); err != nil { return err } @@ -13318,14 +15670,14 @@ func awsRestxml_deserializeOpDocumentGetResponseHeadersPolicyConfigOutput(v **Ge return nil } -type awsRestxml_deserializeOpGetStreamingDistribution struct { +type awsRestxml_deserializeOpListConnectionFunctions struct { } -func (*awsRestxml_deserializeOpGetStreamingDistribution) ID() string { +func (*awsRestxml_deserializeOpListConnectionFunctions) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetStreamingDistribution) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListConnectionFunctions) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13343,16 +15695,11 @@ func (m *awsRestxml_deserializeOpGetStreamingDistribution) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetStreamingDistribution(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListConnectionFunctions(response, &metadata) } - output := &GetStreamingDistributionOutput{} + output := &ListConnectionFunctionsOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetStreamingDistributionOutput(output, response) - if err != nil { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} - } - var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(response.Body, ringBuffer) @@ -13371,7 +15718,7 @@ func (m *awsRestxml_deserializeOpGetStreamingDistribution) HandleDeserialize(ctx } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentStreamingDistribution(&output.StreamingDistribution, decoder) + err = awsRestxml_deserializeOpDocumentListConnectionFunctionsOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -13385,7 +15732,7 @@ func (m *awsRestxml_deserializeOpGetStreamingDistribution) HandleDeserialize(ctx return out, metadata, err } -func awsRestxml_deserializeOpErrorGetStreamingDistribution(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListConnectionFunctions(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13413,8 +15760,11 @@ func awsRestxml_deserializeOpErrorGetStreamingDistribution(response *smithyhttp. case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("NoSuchStreamingDistribution", errorCode): - return awsRestxml_deserializeErrorNoSuchStreamingDistribution(response, errorBody) + case strings.EqualFold("InvalidArgument", errorCode): + return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) + + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -13426,25 +15776,13 @@ func awsRestxml_deserializeOpErrorGetStreamingDistribution(response *smithyhttp. } } -func awsRestxml_deserializeOpHttpBindingsGetStreamingDistributionOutput(v *GetStreamingDistributionOutput, response *smithyhttp.Response) error { - if v == nil { - return fmt.Errorf("unsupported deserialization for nil %T", v) - } - - if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { - headerValues[0] = strings.TrimSpace(headerValues[0]) - v.ETag = ptr.String(headerValues[0]) - } - - return nil -} -func awsRestxml_deserializeOpDocumentGetStreamingDistributionOutput(v **GetStreamingDistributionOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListConnectionFunctionsOutput(v **ListConnectionFunctionsOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetStreamingDistributionOutput + var sv *ListConnectionFunctionsOutput if *v == nil { - sv = &GetStreamingDistributionOutput{} + sv = &ListConnectionFunctionsOutput{} } else { sv = *v } @@ -13460,12 +15798,25 @@ func awsRestxml_deserializeOpDocumentGetStreamingDistributionOutput(v **GetStrea originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("StreamingDistribution", t.Name.Local): + case strings.EqualFold("ConnectionFunctions", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentStreamingDistribution(&sv.StreamingDistribution, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentConnectionFunctionSummaryList(&sv.ConnectionFunctions, nodeDecoder); err != nil { return err } + case strings.EqualFold("NextMarker", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.NextMarker = ptr.String(xtv) + } + default: // Do nothing and ignore the unexpected tag element err = decoder.Decoder.Skip() @@ -13480,14 +15831,14 @@ func awsRestxml_deserializeOpDocumentGetStreamingDistributionOutput(v **GetStrea return nil } -type awsRestxml_deserializeOpGetStreamingDistributionConfig struct { +type awsRestxml_deserializeOpListConnectionGroups struct { } -func (*awsRestxml_deserializeOpGetStreamingDistributionConfig) ID() string { +func (*awsRestxml_deserializeOpListConnectionGroups) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetStreamingDistributionConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListConnectionGroups) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13505,16 +15856,11 @@ func (m *awsRestxml_deserializeOpGetStreamingDistributionConfig) HandleDeseriali } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetStreamingDistributionConfig(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListConnectionGroups(response, &metadata) } - output := &GetStreamingDistributionConfigOutput{} + output := &ListConnectionGroupsOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetStreamingDistributionConfigOutput(output, response) - if err != nil { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} - } - var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(response.Body, ringBuffer) @@ -13533,7 +15879,7 @@ func (m *awsRestxml_deserializeOpGetStreamingDistributionConfig) HandleDeseriali } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentStreamingDistributionConfig(&output.StreamingDistributionConfig, decoder) + err = awsRestxml_deserializeOpDocumentListConnectionGroupsOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -13547,7 +15893,7 @@ func (m *awsRestxml_deserializeOpGetStreamingDistributionConfig) HandleDeseriali return out, metadata, err } -func awsRestxml_deserializeOpErrorGetStreamingDistributionConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListConnectionGroups(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13575,8 +15921,11 @@ func awsRestxml_deserializeOpErrorGetStreamingDistributionConfig(response *smith case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("NoSuchStreamingDistribution", errorCode): - return awsRestxml_deserializeErrorNoSuchStreamingDistribution(response, errorBody) + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + + case strings.EqualFold("InvalidArgument", errorCode): + return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -13588,25 +15937,13 @@ func awsRestxml_deserializeOpErrorGetStreamingDistributionConfig(response *smith } } -func awsRestxml_deserializeOpHttpBindingsGetStreamingDistributionConfigOutput(v *GetStreamingDistributionConfigOutput, response *smithyhttp.Response) error { - if v == nil { - return fmt.Errorf("unsupported deserialization for nil %T", v) - } - - if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { - headerValues[0] = strings.TrimSpace(headerValues[0]) - v.ETag = ptr.String(headerValues[0]) - } - - return nil -} -func awsRestxml_deserializeOpDocumentGetStreamingDistributionConfigOutput(v **GetStreamingDistributionConfigOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListConnectionGroupsOutput(v **ListConnectionGroupsOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetStreamingDistributionConfigOutput + var sv *ListConnectionGroupsOutput if *v == nil { - sv = &GetStreamingDistributionConfigOutput{} + sv = &ListConnectionGroupsOutput{} } else { sv = *v } @@ -13622,11 +15959,24 @@ func awsRestxml_deserializeOpDocumentGetStreamingDistributionConfigOutput(v **Ge originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("StreamingDistributionConfig", t.Name.Local): + case strings.EqualFold("ConnectionGroups", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentStreamingDistributionConfig(&sv.StreamingDistributionConfig, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentConnectionGroupSummaryList(&sv.ConnectionGroups, nodeDecoder); err != nil { + return err + } + + case strings.EqualFold("NextMarker", t.Name.Local): + val, err := decoder.Value() + if err != nil { return err } + if val == nil { + break + } + { + xtv := string(val) + sv.NextMarker = ptr.String(xtv) + } default: // Do nothing and ignore the unexpected tag element @@ -13642,14 +15992,14 @@ func awsRestxml_deserializeOpDocumentGetStreamingDistributionConfigOutput(v **Ge return nil } -type awsRestxml_deserializeOpGetVpcOrigin struct { +type awsRestxml_deserializeOpListContinuousDeploymentPolicies struct { } -func (*awsRestxml_deserializeOpGetVpcOrigin) ID() string { +func (*awsRestxml_deserializeOpListContinuousDeploymentPolicies) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpGetVpcOrigin) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListContinuousDeploymentPolicies) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13667,16 +16017,11 @@ func (m *awsRestxml_deserializeOpGetVpcOrigin) HandleDeserialize(ctx context.Con } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorGetVpcOrigin(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListContinuousDeploymentPolicies(response, &metadata) } - output := &GetVpcOriginOutput{} + output := &ListContinuousDeploymentPoliciesOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsGetVpcOriginOutput(output, response) - if err != nil { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} - } - var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(response.Body, ringBuffer) @@ -13695,7 +16040,7 @@ func (m *awsRestxml_deserializeOpGetVpcOrigin) HandleDeserialize(ctx context.Con } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentVpcOrigin(&output.VpcOrigin, decoder) + err = awsRestxml_deserializeDocumentContinuousDeploymentPolicyList(&output.ContinuousDeploymentPolicyList, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -13709,7 +16054,7 @@ func (m *awsRestxml_deserializeOpGetVpcOrigin) HandleDeserialize(ctx context.Con return out, metadata, err } -func awsRestxml_deserializeOpErrorGetVpcOrigin(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListContinuousDeploymentPolicies(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13737,14 +16082,11 @@ func awsRestxml_deserializeOpErrorGetVpcOrigin(response *smithyhttp.Response, me case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("EntityNotFound", errorCode): - return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) - case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("UnsupportedOperation", errorCode): - return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) + case strings.EqualFold("NoSuchContinuousDeploymentPolicy", errorCode): + return awsRestxml_deserializeErrorNoSuchContinuousDeploymentPolicy(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -13756,25 +16098,13 @@ func awsRestxml_deserializeOpErrorGetVpcOrigin(response *smithyhttp.Response, me } } -func awsRestxml_deserializeOpHttpBindingsGetVpcOriginOutput(v *GetVpcOriginOutput, response *smithyhttp.Response) error { - if v == nil { - return fmt.Errorf("unsupported deserialization for nil %T", v) - } - - if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { - headerValues[0] = strings.TrimSpace(headerValues[0]) - v.ETag = ptr.String(headerValues[0]) - } - - return nil -} -func awsRestxml_deserializeOpDocumentGetVpcOriginOutput(v **GetVpcOriginOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListContinuousDeploymentPoliciesOutput(v **ListContinuousDeploymentPoliciesOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *GetVpcOriginOutput + var sv *ListContinuousDeploymentPoliciesOutput if *v == nil { - sv = &GetVpcOriginOutput{} + sv = &ListContinuousDeploymentPoliciesOutput{} } else { sv = *v } @@ -13790,9 +16120,9 @@ func awsRestxml_deserializeOpDocumentGetVpcOriginOutput(v **GetVpcOriginOutput, originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("VpcOrigin", t.Name.Local): + case strings.EqualFold("ContinuousDeploymentPolicyList", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentVpcOrigin(&sv.VpcOrigin, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentContinuousDeploymentPolicyList(&sv.ContinuousDeploymentPolicyList, nodeDecoder); err != nil { return err } @@ -13810,14 +16140,14 @@ func awsRestxml_deserializeOpDocumentGetVpcOriginOutput(v **GetVpcOriginOutput, return nil } -type awsRestxml_deserializeOpListAnycastIpLists struct { +type awsRestxml_deserializeOpListDistributions struct { } -func (*awsRestxml_deserializeOpListAnycastIpLists) ID() string { +func (*awsRestxml_deserializeOpListDistributions) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListAnycastIpLists) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListDistributions) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13835,9 +16165,9 @@ func (m *awsRestxml_deserializeOpListAnycastIpLists) HandleDeserialize(ctx conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListAnycastIpLists(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListDistributions(response, &metadata) } - output := &ListAnycastIpListsOutput{} + output := &ListDistributionsOutput{} out.Result = output var buff [1024]byte @@ -13858,7 +16188,7 @@ func (m *awsRestxml_deserializeOpListAnycastIpLists) HandleDeserialize(ctx conte } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentAnycastIpListCollection(&output.AnycastIpLists, decoder) + err = awsRestxml_deserializeDocumentDistributionList(&output.DistributionList, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -13872,7 +16202,7 @@ func (m *awsRestxml_deserializeOpListAnycastIpLists) HandleDeserialize(ctx conte return out, metadata, err } -func awsRestxml_deserializeOpErrorListAnycastIpLists(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListDistributions(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13897,18 +16227,9 @@ func awsRestxml_deserializeOpErrorListAnycastIpLists(response *smithyhttp.Respon } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("AccessDenied", errorCode): - return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - - case strings.EqualFold("EntityNotFound", errorCode): - return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) - case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("UnsupportedOperation", errorCode): - return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -13919,13 +16240,13 @@ func awsRestxml_deserializeOpErrorListAnycastIpLists(response *smithyhttp.Respon } } -func awsRestxml_deserializeOpDocumentListAnycastIpListsOutput(v **ListAnycastIpListsOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListDistributionsOutput(v **ListDistributionsOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListAnycastIpListsOutput + var sv *ListDistributionsOutput if *v == nil { - sv = &ListAnycastIpListsOutput{} + sv = &ListDistributionsOutput{} } else { sv = *v } @@ -13941,9 +16262,9 @@ func awsRestxml_deserializeOpDocumentListAnycastIpListsOutput(v **ListAnycastIpL originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("AnycastIpListCollection", t.Name.Local): + case strings.EqualFold("DistributionList", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentAnycastIpListCollection(&sv.AnycastIpLists, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentDistributionList(&sv.DistributionList, nodeDecoder); err != nil { return err } @@ -13961,14 +16282,14 @@ func awsRestxml_deserializeOpDocumentListAnycastIpListsOutput(v **ListAnycastIpL return nil } -type awsRestxml_deserializeOpListCachePolicies struct { +type awsRestxml_deserializeOpListDistributionsByAnycastIpListId struct { } -func (*awsRestxml_deserializeOpListCachePolicies) ID() string { +func (*awsRestxml_deserializeOpListDistributionsByAnycastIpListId) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListCachePolicies) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListDistributionsByAnycastIpListId) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13986,9 +16307,9 @@ func (m *awsRestxml_deserializeOpListCachePolicies) HandleDeserialize(ctx contex } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListCachePolicies(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListDistributionsByAnycastIpListId(response, &metadata) } - output := &ListCachePoliciesOutput{} + output := &ListDistributionsByAnycastIpListIdOutput{} out.Result = output var buff [1024]byte @@ -14009,7 +16330,7 @@ func (m *awsRestxml_deserializeOpListCachePolicies) HandleDeserialize(ctx contex } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentCachePolicyList(&output.CachePolicyList, decoder) + err = awsRestxml_deserializeDocumentDistributionList(&output.DistributionList, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -14023,7 +16344,7 @@ func (m *awsRestxml_deserializeOpListCachePolicies) HandleDeserialize(ctx contex return out, metadata, err } -func awsRestxml_deserializeOpErrorListCachePolicies(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListDistributionsByAnycastIpListId(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14051,11 +16372,14 @@ func awsRestxml_deserializeOpErrorListCachePolicies(response *smithyhttp.Respons case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("NoSuchCachePolicy", errorCode): - return awsRestxml_deserializeErrorNoSuchCachePolicy(response, errorBody) + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -14067,13 +16391,13 @@ func awsRestxml_deserializeOpErrorListCachePolicies(response *smithyhttp.Respons } } -func awsRestxml_deserializeOpDocumentListCachePoliciesOutput(v **ListCachePoliciesOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListDistributionsByAnycastIpListIdOutput(v **ListDistributionsByAnycastIpListIdOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListCachePoliciesOutput + var sv *ListDistributionsByAnycastIpListIdOutput if *v == nil { - sv = &ListCachePoliciesOutput{} + sv = &ListDistributionsByAnycastIpListIdOutput{} } else { sv = *v } @@ -14089,9 +16413,9 @@ func awsRestxml_deserializeOpDocumentListCachePoliciesOutput(v **ListCachePolici originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("CachePolicyList", t.Name.Local): + case strings.EqualFold("DistributionList", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentCachePolicyList(&sv.CachePolicyList, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentDistributionList(&sv.DistributionList, nodeDecoder); err != nil { return err } @@ -14109,14 +16433,14 @@ func awsRestxml_deserializeOpDocumentListCachePoliciesOutput(v **ListCachePolici return nil } -type awsRestxml_deserializeOpListCloudFrontOriginAccessIdentities struct { +type awsRestxml_deserializeOpListDistributionsByCachePolicyId struct { } -func (*awsRestxml_deserializeOpListCloudFrontOriginAccessIdentities) ID() string { +func (*awsRestxml_deserializeOpListDistributionsByCachePolicyId) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListCloudFrontOriginAccessIdentities) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListDistributionsByCachePolicyId) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14134,9 +16458,9 @@ func (m *awsRestxml_deserializeOpListCloudFrontOriginAccessIdentities) HandleDes } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListCloudFrontOriginAccessIdentities(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListDistributionsByCachePolicyId(response, &metadata) } - output := &ListCloudFrontOriginAccessIdentitiesOutput{} + output := &ListDistributionsByCachePolicyIdOutput{} out.Result = output var buff [1024]byte @@ -14157,7 +16481,7 @@ func (m *awsRestxml_deserializeOpListCloudFrontOriginAccessIdentities) HandleDes } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentityList(&output.CloudFrontOriginAccessIdentityList, decoder) + err = awsRestxml_deserializeDocumentDistributionIdList(&output.DistributionIdList, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -14171,7 +16495,7 @@ func (m *awsRestxml_deserializeOpListCloudFrontOriginAccessIdentities) HandleDes return out, metadata, err } -func awsRestxml_deserializeOpErrorListCloudFrontOriginAccessIdentities(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListDistributionsByCachePolicyId(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14196,153 +16520,14 @@ func awsRestxml_deserializeOpErrorListCloudFrontOriginAccessIdentities(response } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("InvalidArgument", errorCode): - return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -func awsRestxml_deserializeOpDocumentListCloudFrontOriginAccessIdentitiesOutput(v **ListCloudFrontOriginAccessIdentitiesOutput, decoder smithyxml.NodeDecoder) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - var sv *ListCloudFrontOriginAccessIdentitiesOutput - if *v == nil { - sv = &ListCloudFrontOriginAccessIdentitiesOutput{} - } else { - sv = *v - } - - for { - t, done, err := decoder.Token() - if err != nil { - return err - } - if done { - break - } - originalDecoder := decoder - decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) - switch { - case strings.EqualFold("CloudFrontOriginAccessIdentityList", t.Name.Local): - nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentityList(&sv.CloudFrontOriginAccessIdentityList, nodeDecoder); err != nil { - return err - } - - default: - // Do nothing and ignore the unexpected tag element - err = decoder.Decoder.Skip() - if err != nil { - return err - } - - } - decoder = originalDecoder - } - *v = sv - return nil -} - -type awsRestxml_deserializeOpListConflictingAliases struct { -} - -func (*awsRestxml_deserializeOpListConflictingAliases) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestxml_deserializeOpListConflictingAliases) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListConflictingAliases(response, &metadata) - } - output := &ListConflictingAliasesOutput{} - out.Result = output - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - body := io.TeeReader(response.Body, ringBuffer) - rootDecoder := xml.NewDecoder(body) - t, err := smithyxml.FetchRootElement(rootDecoder) - if err == io.EOF { - return out, metadata, nil - } - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentConflictingAliasesList(&output.ConflictingAliasesList, decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - span.End() - return out, metadata, err -} - -func awsRestxml_deserializeOpErrorListConflictingAliases(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) - if err != nil { - return err - } - if reqID := errorComponents.RequestID; len(reqID) != 0 { - awsmiddleware.SetRequestIDMetadata(metadata, reqID) - } - if len(errorComponents.Code) != 0 { - errorCode = errorComponents.Code - } - if len(errorComponents.Message) != 0 { - errorMessage = errorComponents.Message - } - errorBody.Seek(0, io.SeekStart) - switch { case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("NoSuchDistribution", errorCode): - return awsRestxml_deserializeErrorNoSuchDistribution(response, errorBody) + case strings.EqualFold("NoSuchCachePolicy", errorCode): + return awsRestxml_deserializeErrorNoSuchCachePolicy(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -14354,13 +16539,13 @@ func awsRestxml_deserializeOpErrorListConflictingAliases(response *smithyhttp.Re } } -func awsRestxml_deserializeOpDocumentListConflictingAliasesOutput(v **ListConflictingAliasesOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListDistributionsByCachePolicyIdOutput(v **ListDistributionsByCachePolicyIdOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListConflictingAliasesOutput + var sv *ListDistributionsByCachePolicyIdOutput if *v == nil { - sv = &ListConflictingAliasesOutput{} + sv = &ListDistributionsByCachePolicyIdOutput{} } else { sv = *v } @@ -14376,9 +16561,9 @@ func awsRestxml_deserializeOpDocumentListConflictingAliasesOutput(v **ListConfli originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("ConflictingAliasesList", t.Name.Local): + case strings.EqualFold("DistributionIdList", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentConflictingAliasesList(&sv.ConflictingAliasesList, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentDistributionIdList(&sv.DistributionIdList, nodeDecoder); err != nil { return err } @@ -14396,14 +16581,14 @@ func awsRestxml_deserializeOpDocumentListConflictingAliasesOutput(v **ListConfli return nil } -type awsRestxml_deserializeOpListConnectionGroups struct { +type awsRestxml_deserializeOpListDistributionsByConnectionFunction struct { } -func (*awsRestxml_deserializeOpListConnectionGroups) ID() string { +func (*awsRestxml_deserializeOpListDistributionsByConnectionFunction) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListConnectionGroups) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListDistributionsByConnectionFunction) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14421,9 +16606,9 @@ func (m *awsRestxml_deserializeOpListConnectionGroups) HandleDeserialize(ctx con } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListConnectionGroups(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListDistributionsByConnectionFunction(response, &metadata) } - output := &ListConnectionGroupsOutput{} + output := &ListDistributionsByConnectionFunctionOutput{} out.Result = output var buff [1024]byte @@ -14444,7 +16629,7 @@ func (m *awsRestxml_deserializeOpListConnectionGroups) HandleDeserialize(ctx con } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentListConnectionGroupsOutput(&output, decoder) + err = awsRestxml_deserializeDocumentDistributionList(&output.DistributionList, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -14458,7 +16643,7 @@ func (m *awsRestxml_deserializeOpListConnectionGroups) HandleDeserialize(ctx con return out, metadata, err } -func awsRestxml_deserializeOpErrorListConnectionGroups(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListDistributionsByConnectionFunction(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14502,13 +16687,13 @@ func awsRestxml_deserializeOpErrorListConnectionGroups(response *smithyhttp.Resp } } -func awsRestxml_deserializeOpDocumentListConnectionGroupsOutput(v **ListConnectionGroupsOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListDistributionsByConnectionFunctionOutput(v **ListDistributionsByConnectionFunctionOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListConnectionGroupsOutput + var sv *ListDistributionsByConnectionFunctionOutput if *v == nil { - sv = &ListConnectionGroupsOutput{} + sv = &ListDistributionsByConnectionFunctionOutput{} } else { sv = *v } @@ -14524,24 +16709,11 @@ func awsRestxml_deserializeOpDocumentListConnectionGroupsOutput(v **ListConnecti originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("ConnectionGroups", t.Name.Local): + case strings.EqualFold("DistributionList", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentConnectionGroupSummaryList(&sv.ConnectionGroups, nodeDecoder); err != nil { - return err - } - - case strings.EqualFold("NextMarker", t.Name.Local): - val, err := decoder.Value() - if err != nil { + if err := awsRestxml_deserializeDocumentDistributionList(&sv.DistributionList, nodeDecoder); err != nil { return err } - if val == nil { - break - } - { - xtv := string(val) - sv.NextMarker = ptr.String(xtv) - } default: // Do nothing and ignore the unexpected tag element @@ -14557,14 +16729,14 @@ func awsRestxml_deserializeOpDocumentListConnectionGroupsOutput(v **ListConnecti return nil } -type awsRestxml_deserializeOpListContinuousDeploymentPolicies struct { +type awsRestxml_deserializeOpListDistributionsByConnectionMode struct { } -func (*awsRestxml_deserializeOpListContinuousDeploymentPolicies) ID() string { +func (*awsRestxml_deserializeOpListDistributionsByConnectionMode) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListContinuousDeploymentPolicies) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListDistributionsByConnectionMode) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14582,9 +16754,9 @@ func (m *awsRestxml_deserializeOpListContinuousDeploymentPolicies) HandleDeseria } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListContinuousDeploymentPolicies(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListDistributionsByConnectionMode(response, &metadata) } - output := &ListContinuousDeploymentPoliciesOutput{} + output := &ListDistributionsByConnectionModeOutput{} out.Result = output var buff [1024]byte @@ -14605,7 +16777,7 @@ func (m *awsRestxml_deserializeOpListContinuousDeploymentPolicies) HandleDeseria } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentContinuousDeploymentPolicyList(&output.ContinuousDeploymentPolicyList, decoder) + err = awsRestxml_deserializeDocumentDistributionList(&output.DistributionList, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -14619,7 +16791,7 @@ func (m *awsRestxml_deserializeOpListContinuousDeploymentPolicies) HandleDeseria return out, metadata, err } -func awsRestxml_deserializeOpErrorListContinuousDeploymentPolicies(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListDistributionsByConnectionMode(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14650,9 +16822,6 @@ func awsRestxml_deserializeOpErrorListContinuousDeploymentPolicies(response *smi case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("NoSuchContinuousDeploymentPolicy", errorCode): - return awsRestxml_deserializeErrorNoSuchContinuousDeploymentPolicy(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -14663,13 +16832,13 @@ func awsRestxml_deserializeOpErrorListContinuousDeploymentPolicies(response *smi } } -func awsRestxml_deserializeOpDocumentListContinuousDeploymentPoliciesOutput(v **ListContinuousDeploymentPoliciesOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListDistributionsByConnectionModeOutput(v **ListDistributionsByConnectionModeOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListContinuousDeploymentPoliciesOutput + var sv *ListDistributionsByConnectionModeOutput if *v == nil { - sv = &ListContinuousDeploymentPoliciesOutput{} + sv = &ListDistributionsByConnectionModeOutput{} } else { sv = *v } @@ -14685,9 +16854,9 @@ func awsRestxml_deserializeOpDocumentListContinuousDeploymentPoliciesOutput(v ** originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("ContinuousDeploymentPolicyList", t.Name.Local): + case strings.EqualFold("DistributionList", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentContinuousDeploymentPolicyList(&sv.ContinuousDeploymentPolicyList, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentDistributionList(&sv.DistributionList, nodeDecoder); err != nil { return err } @@ -14705,14 +16874,14 @@ func awsRestxml_deserializeOpDocumentListContinuousDeploymentPoliciesOutput(v ** return nil } -type awsRestxml_deserializeOpListDistributions struct { +type awsRestxml_deserializeOpListDistributionsByKeyGroup struct { } -func (*awsRestxml_deserializeOpListDistributions) ID() string { +func (*awsRestxml_deserializeOpListDistributionsByKeyGroup) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListDistributions) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListDistributionsByKeyGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14730,9 +16899,9 @@ func (m *awsRestxml_deserializeOpListDistributions) HandleDeserialize(ctx contex } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListDistributions(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListDistributionsByKeyGroup(response, &metadata) } - output := &ListDistributionsOutput{} + output := &ListDistributionsByKeyGroupOutput{} out.Result = output var buff [1024]byte @@ -14753,7 +16922,7 @@ func (m *awsRestxml_deserializeOpListDistributions) HandleDeserialize(ctx contex } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentDistributionList(&output.DistributionList, decoder) + err = awsRestxml_deserializeDocumentDistributionIdList(&output.DistributionIdList, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -14767,7 +16936,7 @@ func (m *awsRestxml_deserializeOpListDistributions) HandleDeserialize(ctx contex return out, metadata, err } -func awsRestxml_deserializeOpErrorListDistributions(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListDistributionsByKeyGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14795,6 +16964,9 @@ func awsRestxml_deserializeOpErrorListDistributions(response *smithyhttp.Respons case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) + case strings.EqualFold("NoSuchResource", errorCode): + return awsRestxml_deserializeErrorNoSuchResource(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -14805,13 +16977,13 @@ func awsRestxml_deserializeOpErrorListDistributions(response *smithyhttp.Respons } } -func awsRestxml_deserializeOpDocumentListDistributionsOutput(v **ListDistributionsOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListDistributionsByKeyGroupOutput(v **ListDistributionsByKeyGroupOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListDistributionsOutput + var sv *ListDistributionsByKeyGroupOutput if *v == nil { - sv = &ListDistributionsOutput{} + sv = &ListDistributionsByKeyGroupOutput{} } else { sv = *v } @@ -14827,9 +16999,9 @@ func awsRestxml_deserializeOpDocumentListDistributionsOutput(v **ListDistributio originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("DistributionList", t.Name.Local): + case strings.EqualFold("DistributionIdList", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentDistributionList(&sv.DistributionList, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentDistributionIdList(&sv.DistributionIdList, nodeDecoder); err != nil { return err } @@ -14847,14 +17019,14 @@ func awsRestxml_deserializeOpDocumentListDistributionsOutput(v **ListDistributio return nil } -type awsRestxml_deserializeOpListDistributionsByAnycastIpListId struct { +type awsRestxml_deserializeOpListDistributionsByOriginRequestPolicyId struct { } -func (*awsRestxml_deserializeOpListDistributionsByAnycastIpListId) ID() string { +func (*awsRestxml_deserializeOpListDistributionsByOriginRequestPolicyId) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListDistributionsByAnycastIpListId) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListDistributionsByOriginRequestPolicyId) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14872,9 +17044,9 @@ func (m *awsRestxml_deserializeOpListDistributionsByAnycastIpListId) HandleDeser } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListDistributionsByAnycastIpListId(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListDistributionsByOriginRequestPolicyId(response, &metadata) } - output := &ListDistributionsByAnycastIpListIdOutput{} + output := &ListDistributionsByOriginRequestPolicyIdOutput{} out.Result = output var buff [1024]byte @@ -14895,7 +17067,7 @@ func (m *awsRestxml_deserializeOpListDistributionsByAnycastIpListId) HandleDeser } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentDistributionList(&output.DistributionList, decoder) + err = awsRestxml_deserializeDocumentDistributionIdList(&output.DistributionIdList, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -14909,7 +17081,7 @@ func (m *awsRestxml_deserializeOpListDistributionsByAnycastIpListId) HandleDeser return out, metadata, err } -func awsRestxml_deserializeOpErrorListDistributionsByAnycastIpListId(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListDistributionsByOriginRequestPolicyId(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14937,14 +17109,11 @@ func awsRestxml_deserializeOpErrorListDistributionsByAnycastIpListId(response *s case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("EntityNotFound", errorCode): - return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) - case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("UnsupportedOperation", errorCode): - return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) + case strings.EqualFold("NoSuchOriginRequestPolicy", errorCode): + return awsRestxml_deserializeErrorNoSuchOriginRequestPolicy(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -14956,13 +17125,13 @@ func awsRestxml_deserializeOpErrorListDistributionsByAnycastIpListId(response *s } } -func awsRestxml_deserializeOpDocumentListDistributionsByAnycastIpListIdOutput(v **ListDistributionsByAnycastIpListIdOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListDistributionsByOriginRequestPolicyIdOutput(v **ListDistributionsByOriginRequestPolicyIdOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListDistributionsByAnycastIpListIdOutput + var sv *ListDistributionsByOriginRequestPolicyIdOutput if *v == nil { - sv = &ListDistributionsByAnycastIpListIdOutput{} + sv = &ListDistributionsByOriginRequestPolicyIdOutput{} } else { sv = *v } @@ -14978,9 +17147,9 @@ func awsRestxml_deserializeOpDocumentListDistributionsByAnycastIpListIdOutput(v originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("DistributionList", t.Name.Local): + case strings.EqualFold("DistributionIdList", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentDistributionList(&sv.DistributionList, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentDistributionIdList(&sv.DistributionIdList, nodeDecoder); err != nil { return err } @@ -14998,14 +17167,14 @@ func awsRestxml_deserializeOpDocumentListDistributionsByAnycastIpListIdOutput(v return nil } -type awsRestxml_deserializeOpListDistributionsByCachePolicyId struct { +type awsRestxml_deserializeOpListDistributionsByOwnedResource struct { } -func (*awsRestxml_deserializeOpListDistributionsByCachePolicyId) ID() string { +func (*awsRestxml_deserializeOpListDistributionsByOwnedResource) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListDistributionsByCachePolicyId) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListDistributionsByOwnedResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -15023,9 +17192,9 @@ func (m *awsRestxml_deserializeOpListDistributionsByCachePolicyId) HandleDeseria } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListDistributionsByCachePolicyId(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListDistributionsByOwnedResource(response, &metadata) } - output := &ListDistributionsByCachePolicyIdOutput{} + output := &ListDistributionsByOwnedResourceOutput{} out.Result = output var buff [1024]byte @@ -15046,7 +17215,7 @@ func (m *awsRestxml_deserializeOpListDistributionsByCachePolicyId) HandleDeseria } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentDistributionIdList(&output.DistributionIdList, decoder) + err = awsRestxml_deserializeDocumentDistributionIdOwnerList(&output.DistributionList, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -15060,7 +17229,7 @@ func (m *awsRestxml_deserializeOpListDistributionsByCachePolicyId) HandleDeseria return out, metadata, err } -func awsRestxml_deserializeOpErrorListDistributionsByCachePolicyId(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListDistributionsByOwnedResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -15088,11 +17257,14 @@ func awsRestxml_deserializeOpErrorListDistributionsByCachePolicyId(response *smi case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("NoSuchCachePolicy", errorCode): - return awsRestxml_deserializeErrorNoSuchCachePolicy(response, errorBody) + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -15104,13 +17276,13 @@ func awsRestxml_deserializeOpErrorListDistributionsByCachePolicyId(response *smi } } -func awsRestxml_deserializeOpDocumentListDistributionsByCachePolicyIdOutput(v **ListDistributionsByCachePolicyIdOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListDistributionsByOwnedResourceOutput(v **ListDistributionsByOwnedResourceOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListDistributionsByCachePolicyIdOutput + var sv *ListDistributionsByOwnedResourceOutput if *v == nil { - sv = &ListDistributionsByCachePolicyIdOutput{} + sv = &ListDistributionsByOwnedResourceOutput{} } else { sv = *v } @@ -15126,9 +17298,9 @@ func awsRestxml_deserializeOpDocumentListDistributionsByCachePolicyIdOutput(v ** originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("DistributionIdList", t.Name.Local): + case strings.EqualFold("DistributionList", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentDistributionIdList(&sv.DistributionIdList, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentDistributionIdOwnerList(&sv.DistributionList, nodeDecoder); err != nil { return err } @@ -15146,14 +17318,14 @@ func awsRestxml_deserializeOpDocumentListDistributionsByCachePolicyIdOutput(v ** return nil } -type awsRestxml_deserializeOpListDistributionsByConnectionMode struct { +type awsRestxml_deserializeOpListDistributionsByRealtimeLogConfig struct { } -func (*awsRestxml_deserializeOpListDistributionsByConnectionMode) ID() string { +func (*awsRestxml_deserializeOpListDistributionsByRealtimeLogConfig) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListDistributionsByConnectionMode) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListDistributionsByRealtimeLogConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -15171,9 +17343,9 @@ func (m *awsRestxml_deserializeOpListDistributionsByConnectionMode) HandleDeseri } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListDistributionsByConnectionMode(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListDistributionsByRealtimeLogConfig(response, &metadata) } - output := &ListDistributionsByConnectionModeOutput{} + output := &ListDistributionsByRealtimeLogConfigOutput{} out.Result = output var buff [1024]byte @@ -15208,7 +17380,7 @@ func (m *awsRestxml_deserializeOpListDistributionsByConnectionMode) HandleDeseri return out, metadata, err } -func awsRestxml_deserializeOpErrorListDistributionsByConnectionMode(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListDistributionsByRealtimeLogConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -15233,9 +17405,6 @@ func awsRestxml_deserializeOpErrorListDistributionsByConnectionMode(response *sm } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("AccessDenied", errorCode): - return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) @@ -15249,13 +17418,13 @@ func awsRestxml_deserializeOpErrorListDistributionsByConnectionMode(response *sm } } -func awsRestxml_deserializeOpDocumentListDistributionsByConnectionModeOutput(v **ListDistributionsByConnectionModeOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListDistributionsByRealtimeLogConfigOutput(v **ListDistributionsByRealtimeLogConfigOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListDistributionsByConnectionModeOutput + var sv *ListDistributionsByRealtimeLogConfigOutput if *v == nil { - sv = &ListDistributionsByConnectionModeOutput{} + sv = &ListDistributionsByRealtimeLogConfigOutput{} } else { sv = *v } @@ -15291,14 +17460,14 @@ func awsRestxml_deserializeOpDocumentListDistributionsByConnectionModeOutput(v * return nil } -type awsRestxml_deserializeOpListDistributionsByKeyGroup struct { +type awsRestxml_deserializeOpListDistributionsByResponseHeadersPolicyId struct { } -func (*awsRestxml_deserializeOpListDistributionsByKeyGroup) ID() string { +func (*awsRestxml_deserializeOpListDistributionsByResponseHeadersPolicyId) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListDistributionsByKeyGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListDistributionsByResponseHeadersPolicyId) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -15316,9 +17485,9 @@ func (m *awsRestxml_deserializeOpListDistributionsByKeyGroup) HandleDeserialize( } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListDistributionsByKeyGroup(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListDistributionsByResponseHeadersPolicyId(response, &metadata) } - output := &ListDistributionsByKeyGroupOutput{} + output := &ListDistributionsByResponseHeadersPolicyIdOutput{} out.Result = output var buff [1024]byte @@ -15353,7 +17522,7 @@ func (m *awsRestxml_deserializeOpListDistributionsByKeyGroup) HandleDeserialize( return out, metadata, err } -func awsRestxml_deserializeOpErrorListDistributionsByKeyGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListDistributionsByResponseHeadersPolicyId(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -15378,11 +17547,14 @@ func awsRestxml_deserializeOpErrorListDistributionsByKeyGroup(response *smithyht } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("NoSuchResource", errorCode): - return awsRestxml_deserializeErrorNoSuchResource(response, errorBody) + case strings.EqualFold("NoSuchResponseHeadersPolicy", errorCode): + return awsRestxml_deserializeErrorNoSuchResponseHeadersPolicy(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -15394,13 +17566,13 @@ func awsRestxml_deserializeOpErrorListDistributionsByKeyGroup(response *smithyht } } -func awsRestxml_deserializeOpDocumentListDistributionsByKeyGroupOutput(v **ListDistributionsByKeyGroupOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListDistributionsByResponseHeadersPolicyIdOutput(v **ListDistributionsByResponseHeadersPolicyIdOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListDistributionsByKeyGroupOutput + var sv *ListDistributionsByResponseHeadersPolicyIdOutput if *v == nil { - sv = &ListDistributionsByKeyGroupOutput{} + sv = &ListDistributionsByResponseHeadersPolicyIdOutput{} } else { sv = *v } @@ -15436,14 +17608,14 @@ func awsRestxml_deserializeOpDocumentListDistributionsByKeyGroupOutput(v **ListD return nil } -type awsRestxml_deserializeOpListDistributionsByOriginRequestPolicyId struct { +type awsRestxml_deserializeOpListDistributionsByTrustStore struct { } -func (*awsRestxml_deserializeOpListDistributionsByOriginRequestPolicyId) ID() string { +func (*awsRestxml_deserializeOpListDistributionsByTrustStore) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListDistributionsByOriginRequestPolicyId) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListDistributionsByTrustStore) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -15461,9 +17633,157 @@ func (m *awsRestxml_deserializeOpListDistributionsByOriginRequestPolicyId) Handl } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListDistributionsByOriginRequestPolicyId(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListDistributionsByTrustStore(response, &metadata) } - output := &ListDistributionsByOriginRequestPolicyIdOutput{} + output := &ListDistributionsByTrustStoreOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentDistributionList(&output.DistributionList, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + span.End() + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorListDistributionsByTrustStore(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + + case strings.EqualFold("InvalidArgument", errorCode): + return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestxml_deserializeOpDocumentListDistributionsByTrustStoreOutput(v **ListDistributionsByTrustStoreOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *ListDistributionsByTrustStoreOutput + if *v == nil { + sv = &ListDistributionsByTrustStoreOutput{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("DistributionList", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentDistributionList(&sv.DistributionList, nodeDecoder); err != nil { + return err + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +type awsRestxml_deserializeOpListDistributionsByVpcOriginId struct { +} + +func (*awsRestxml_deserializeOpListDistributionsByVpcOriginId) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpListDistributionsByVpcOriginId) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorListDistributionsByVpcOriginId(response, &metadata) + } + output := &ListDistributionsByVpcOriginIdOutput{} out.Result = output var buff [1024]byte @@ -15498,7 +17818,7 @@ func (m *awsRestxml_deserializeOpListDistributionsByOriginRequestPolicyId) Handl return out, metadata, err } -func awsRestxml_deserializeOpErrorListDistributionsByOriginRequestPolicyId(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListDistributionsByVpcOriginId(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -15526,11 +17846,14 @@ func awsRestxml_deserializeOpErrorListDistributionsByOriginRequestPolicyId(respo case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("NoSuchOriginRequestPolicy", errorCode): - return awsRestxml_deserializeErrorNoSuchOriginRequestPolicy(response, errorBody) + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -15542,13 +17865,13 @@ func awsRestxml_deserializeOpErrorListDistributionsByOriginRequestPolicyId(respo } } -func awsRestxml_deserializeOpDocumentListDistributionsByOriginRequestPolicyIdOutput(v **ListDistributionsByOriginRequestPolicyIdOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListDistributionsByVpcOriginIdOutput(v **ListDistributionsByVpcOriginIdOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListDistributionsByOriginRequestPolicyIdOutput + var sv *ListDistributionsByVpcOriginIdOutput if *v == nil { - sv = &ListDistributionsByOriginRequestPolicyIdOutput{} + sv = &ListDistributionsByVpcOriginIdOutput{} } else { sv = *v } @@ -15584,14 +17907,14 @@ func awsRestxml_deserializeOpDocumentListDistributionsByOriginRequestPolicyIdOut return nil } -type awsRestxml_deserializeOpListDistributionsByRealtimeLogConfig struct { +type awsRestxml_deserializeOpListDistributionsByWebACLId struct { } -func (*awsRestxml_deserializeOpListDistributionsByRealtimeLogConfig) ID() string { +func (*awsRestxml_deserializeOpListDistributionsByWebACLId) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListDistributionsByRealtimeLogConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListDistributionsByWebACLId) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -15609,9 +17932,9 @@ func (m *awsRestxml_deserializeOpListDistributionsByRealtimeLogConfig) HandleDes } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListDistributionsByRealtimeLogConfig(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListDistributionsByWebACLId(response, &metadata) } - output := &ListDistributionsByRealtimeLogConfigOutput{} + output := &ListDistributionsByWebACLIdOutput{} out.Result = output var buff [1024]byte @@ -15646,7 +17969,7 @@ func (m *awsRestxml_deserializeOpListDistributionsByRealtimeLogConfig) HandleDes return out, metadata, err } -func awsRestxml_deserializeOpErrorListDistributionsByRealtimeLogConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListDistributionsByWebACLId(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -15674,6 +17997,9 @@ func awsRestxml_deserializeOpErrorListDistributionsByRealtimeLogConfig(response case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) + case strings.EqualFold("InvalidWebACLId", errorCode): + return awsRestxml_deserializeErrorInvalidWebACLId(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -15684,13 +18010,13 @@ func awsRestxml_deserializeOpErrorListDistributionsByRealtimeLogConfig(response } } -func awsRestxml_deserializeOpDocumentListDistributionsByRealtimeLogConfigOutput(v **ListDistributionsByRealtimeLogConfigOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListDistributionsByWebACLIdOutput(v **ListDistributionsByWebACLIdOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListDistributionsByRealtimeLogConfigOutput + var sv *ListDistributionsByWebACLIdOutput if *v == nil { - sv = &ListDistributionsByRealtimeLogConfigOutput{} + sv = &ListDistributionsByWebACLIdOutput{} } else { sv = *v } @@ -15726,14 +18052,14 @@ func awsRestxml_deserializeOpDocumentListDistributionsByRealtimeLogConfigOutput( return nil } -type awsRestxml_deserializeOpListDistributionsByResponseHeadersPolicyId struct { +type awsRestxml_deserializeOpListDistributionTenants struct { } -func (*awsRestxml_deserializeOpListDistributionsByResponseHeadersPolicyId) ID() string { +func (*awsRestxml_deserializeOpListDistributionTenants) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListDistributionsByResponseHeadersPolicyId) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListDistributionTenants) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -15751,9 +18077,9 @@ func (m *awsRestxml_deserializeOpListDistributionsByResponseHeadersPolicyId) Han } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListDistributionsByResponseHeadersPolicyId(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListDistributionTenants(response, &metadata) } - output := &ListDistributionsByResponseHeadersPolicyIdOutput{} + output := &ListDistributionTenantsOutput{} out.Result = output var buff [1024]byte @@ -15774,7 +18100,7 @@ func (m *awsRestxml_deserializeOpListDistributionsByResponseHeadersPolicyId) Han } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentDistributionIdList(&output.DistributionIdList, decoder) + err = awsRestxml_deserializeOpDocumentListDistributionTenantsOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -15788,7 +18114,7 @@ func (m *awsRestxml_deserializeOpListDistributionsByResponseHeadersPolicyId) Han return out, metadata, err } -func awsRestxml_deserializeOpErrorListDistributionsByResponseHeadersPolicyId(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListDistributionTenants(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -15816,12 +18142,12 @@ func awsRestxml_deserializeOpErrorListDistributionsByResponseHeadersPolicyId(res case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("NoSuchResponseHeadersPolicy", errorCode): - return awsRestxml_deserializeErrorNoSuchResponseHeadersPolicy(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -15832,13 +18158,13 @@ func awsRestxml_deserializeOpErrorListDistributionsByResponseHeadersPolicyId(res } } -func awsRestxml_deserializeOpDocumentListDistributionsByResponseHeadersPolicyIdOutput(v **ListDistributionsByResponseHeadersPolicyIdOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListDistributionTenantsOutput(v **ListDistributionTenantsOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListDistributionsByResponseHeadersPolicyIdOutput + var sv *ListDistributionTenantsOutput if *v == nil { - sv = &ListDistributionsByResponseHeadersPolicyIdOutput{} + sv = &ListDistributionTenantsOutput{} } else { sv = *v } @@ -15854,12 +18180,25 @@ func awsRestxml_deserializeOpDocumentListDistributionsByResponseHeadersPolicyIdO originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("DistributionIdList", t.Name.Local): + case strings.EqualFold("DistributionTenantList", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentDistributionIdList(&sv.DistributionIdList, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentDistributionTenantList(&sv.DistributionTenantList, nodeDecoder); err != nil { return err } + case strings.EqualFold("NextMarker", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.NextMarker = ptr.String(xtv) + } + default: // Do nothing and ignore the unexpected tag element err = decoder.Decoder.Skip() @@ -15874,14 +18213,14 @@ func awsRestxml_deserializeOpDocumentListDistributionsByResponseHeadersPolicyIdO return nil } -type awsRestxml_deserializeOpListDistributionsByVpcOriginId struct { +type awsRestxml_deserializeOpListDistributionTenantsByCustomization struct { } -func (*awsRestxml_deserializeOpListDistributionsByVpcOriginId) ID() string { +func (*awsRestxml_deserializeOpListDistributionTenantsByCustomization) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListDistributionsByVpcOriginId) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListDistributionTenantsByCustomization) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -15899,9 +18238,9 @@ func (m *awsRestxml_deserializeOpListDistributionsByVpcOriginId) HandleDeseriali } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListDistributionsByVpcOriginId(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListDistributionTenantsByCustomization(response, &metadata) } - output := &ListDistributionsByVpcOriginIdOutput{} + output := &ListDistributionTenantsByCustomizationOutput{} out.Result = output var buff [1024]byte @@ -15922,7 +18261,7 @@ func (m *awsRestxml_deserializeOpListDistributionsByVpcOriginId) HandleDeseriali } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentDistributionIdList(&output.DistributionIdList, decoder) + err = awsRestxml_deserializeOpDocumentListDistributionTenantsByCustomizationOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -15936,7 +18275,7 @@ func (m *awsRestxml_deserializeOpListDistributionsByVpcOriginId) HandleDeseriali return out, metadata, err } -func awsRestxml_deserializeOpErrorListDistributionsByVpcOriginId(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListDistributionTenantsByCustomization(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -15970,9 +18309,6 @@ func awsRestxml_deserializeOpErrorListDistributionsByVpcOriginId(response *smith case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("UnsupportedOperation", errorCode): - return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -15983,13 +18319,13 @@ func awsRestxml_deserializeOpErrorListDistributionsByVpcOriginId(response *smith } } -func awsRestxml_deserializeOpDocumentListDistributionsByVpcOriginIdOutput(v **ListDistributionsByVpcOriginIdOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListDistributionTenantsByCustomizationOutput(v **ListDistributionTenantsByCustomizationOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListDistributionsByVpcOriginIdOutput + var sv *ListDistributionTenantsByCustomizationOutput if *v == nil { - sv = &ListDistributionsByVpcOriginIdOutput{} + sv = &ListDistributionTenantsByCustomizationOutput{} } else { sv = *v } @@ -16005,12 +18341,25 @@ func awsRestxml_deserializeOpDocumentListDistributionsByVpcOriginIdOutput(v **Li originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("DistributionIdList", t.Name.Local): + case strings.EqualFold("DistributionTenantList", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentDistributionIdList(&sv.DistributionIdList, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentDistributionTenantList(&sv.DistributionTenantList, nodeDecoder); err != nil { return err } + case strings.EqualFold("NextMarker", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.NextMarker = ptr.String(xtv) + } + default: // Do nothing and ignore the unexpected tag element err = decoder.Decoder.Skip() @@ -16025,14 +18374,14 @@ func awsRestxml_deserializeOpDocumentListDistributionsByVpcOriginIdOutput(v **Li return nil } -type awsRestxml_deserializeOpListDistributionsByWebACLId struct { +type awsRestxml_deserializeOpListDomainConflicts struct { } -func (*awsRestxml_deserializeOpListDistributionsByWebACLId) ID() string { +func (*awsRestxml_deserializeOpListDomainConflicts) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListDistributionsByWebACLId) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListDomainConflicts) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -16050,9 +18399,9 @@ func (m *awsRestxml_deserializeOpListDistributionsByWebACLId) HandleDeserialize( } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListDistributionsByWebACLId(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListDomainConflicts(response, &metadata) } - output := &ListDistributionsByWebACLIdOutput{} + output := &ListDomainConflictsOutput{} out.Result = output var buff [1024]byte @@ -16073,7 +18422,7 @@ func (m *awsRestxml_deserializeOpListDistributionsByWebACLId) HandleDeserialize( } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentDistributionList(&output.DistributionList, decoder) + err = awsRestxml_deserializeOpDocumentListDomainConflictsOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -16087,7 +18436,7 @@ func (m *awsRestxml_deserializeOpListDistributionsByWebACLId) HandleDeserialize( return out, metadata, err } -func awsRestxml_deserializeOpErrorListDistributionsByWebACLId(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListDomainConflicts(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -16112,12 +18461,15 @@ func awsRestxml_deserializeOpErrorListDistributionsByWebACLId(response *smithyht } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("InvalidWebACLId", errorCode): - return awsRestxml_deserializeErrorInvalidWebACLId(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -16128,13 +18480,13 @@ func awsRestxml_deserializeOpErrorListDistributionsByWebACLId(response *smithyht } } -func awsRestxml_deserializeOpDocumentListDistributionsByWebACLIdOutput(v **ListDistributionsByWebACLIdOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListDomainConflictsOutput(v **ListDomainConflictsOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListDistributionsByWebACLIdOutput + var sv *ListDomainConflictsOutput if *v == nil { - sv = &ListDistributionsByWebACLIdOutput{} + sv = &ListDomainConflictsOutput{} } else { sv = *v } @@ -16150,11 +18502,24 @@ func awsRestxml_deserializeOpDocumentListDistributionsByWebACLIdOutput(v **ListD originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("DistributionList", t.Name.Local): + case strings.EqualFold("DomainConflicts", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentDistributionList(&sv.DistributionList, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentDomainConflictsList(&sv.DomainConflicts, nodeDecoder); err != nil { + return err + } + + case strings.EqualFold("NextMarker", t.Name.Local): + val, err := decoder.Value() + if err != nil { return err } + if val == nil { + break + } + { + xtv := string(val) + sv.NextMarker = ptr.String(xtv) + } default: // Do nothing and ignore the unexpected tag element @@ -16170,14 +18535,14 @@ func awsRestxml_deserializeOpDocumentListDistributionsByWebACLIdOutput(v **ListD return nil } -type awsRestxml_deserializeOpListDistributionTenants struct { +type awsRestxml_deserializeOpListFieldLevelEncryptionConfigs struct { } -func (*awsRestxml_deserializeOpListDistributionTenants) ID() string { +func (*awsRestxml_deserializeOpListFieldLevelEncryptionConfigs) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListDistributionTenants) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListFieldLevelEncryptionConfigs) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -16195,9 +18560,9 @@ func (m *awsRestxml_deserializeOpListDistributionTenants) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListDistributionTenants(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListFieldLevelEncryptionConfigs(response, &metadata) } - output := &ListDistributionTenantsOutput{} + output := &ListFieldLevelEncryptionConfigsOutput{} out.Result = output var buff [1024]byte @@ -16218,7 +18583,7 @@ func (m *awsRestxml_deserializeOpListDistributionTenants) HandleDeserialize(ctx } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentListDistributionTenantsOutput(&output, decoder) + err = awsRestxml_deserializeDocumentFieldLevelEncryptionList(&output.FieldLevelEncryptionList, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -16232,7 +18597,7 @@ func (m *awsRestxml_deserializeOpListDistributionTenants) HandleDeserialize(ctx return out, metadata, err } -func awsRestxml_deserializeOpErrorListDistributionTenants(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListFieldLevelEncryptionConfigs(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -16257,12 +18622,6 @@ func awsRestxml_deserializeOpErrorListDistributionTenants(response *smithyhttp.R } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("AccessDenied", errorCode): - return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - - case strings.EqualFold("EntityNotFound", errorCode): - return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) - case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) @@ -16276,13 +18635,13 @@ func awsRestxml_deserializeOpErrorListDistributionTenants(response *smithyhttp.R } } -func awsRestxml_deserializeOpDocumentListDistributionTenantsOutput(v **ListDistributionTenantsOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListFieldLevelEncryptionConfigsOutput(v **ListFieldLevelEncryptionConfigsOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListDistributionTenantsOutput + var sv *ListFieldLevelEncryptionConfigsOutput if *v == nil { - sv = &ListDistributionTenantsOutput{} + sv = &ListFieldLevelEncryptionConfigsOutput{} } else { sv = *v } @@ -16298,24 +18657,11 @@ func awsRestxml_deserializeOpDocumentListDistributionTenantsOutput(v **ListDistr originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("DistributionTenantList", t.Name.Local): + case strings.EqualFold("FieldLevelEncryptionList", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentDistributionTenantList(&sv.DistributionTenantList, nodeDecoder); err != nil { - return err - } - - case strings.EqualFold("NextMarker", t.Name.Local): - val, err := decoder.Value() - if err != nil { + if err := awsRestxml_deserializeDocumentFieldLevelEncryptionList(&sv.FieldLevelEncryptionList, nodeDecoder); err != nil { return err } - if val == nil { - break - } - { - xtv := string(val) - sv.NextMarker = ptr.String(xtv) - } default: // Do nothing and ignore the unexpected tag element @@ -16331,14 +18677,14 @@ func awsRestxml_deserializeOpDocumentListDistributionTenantsOutput(v **ListDistr return nil } -type awsRestxml_deserializeOpListDistributionTenantsByCustomization struct { +type awsRestxml_deserializeOpListFieldLevelEncryptionProfiles struct { } -func (*awsRestxml_deserializeOpListDistributionTenantsByCustomization) ID() string { +func (*awsRestxml_deserializeOpListFieldLevelEncryptionProfiles) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListDistributionTenantsByCustomization) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListFieldLevelEncryptionProfiles) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -16356,9 +18702,9 @@ func (m *awsRestxml_deserializeOpListDistributionTenantsByCustomization) HandleD } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListDistributionTenantsByCustomization(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListFieldLevelEncryptionProfiles(response, &metadata) } - output := &ListDistributionTenantsByCustomizationOutput{} + output := &ListFieldLevelEncryptionProfilesOutput{} out.Result = output var buff [1024]byte @@ -16379,7 +18725,7 @@ func (m *awsRestxml_deserializeOpListDistributionTenantsByCustomization) HandleD } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentListDistributionTenantsByCustomizationOutput(&output, decoder) + err = awsRestxml_deserializeDocumentFieldLevelEncryptionProfileList(&output.FieldLevelEncryptionProfileList, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -16393,7 +18739,7 @@ func (m *awsRestxml_deserializeOpListDistributionTenantsByCustomization) HandleD return out, metadata, err } -func awsRestxml_deserializeOpErrorListDistributionTenantsByCustomization(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListFieldLevelEncryptionProfiles(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -16418,12 +18764,6 @@ func awsRestxml_deserializeOpErrorListDistributionTenantsByCustomization(respons } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("AccessDenied", errorCode): - return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - - case strings.EqualFold("EntityNotFound", errorCode): - return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) - case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) @@ -16437,13 +18777,13 @@ func awsRestxml_deserializeOpErrorListDistributionTenantsByCustomization(respons } } -func awsRestxml_deserializeOpDocumentListDistributionTenantsByCustomizationOutput(v **ListDistributionTenantsByCustomizationOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListFieldLevelEncryptionProfilesOutput(v **ListFieldLevelEncryptionProfilesOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListDistributionTenantsByCustomizationOutput + var sv *ListFieldLevelEncryptionProfilesOutput if *v == nil { - sv = &ListDistributionTenantsByCustomizationOutput{} + sv = &ListFieldLevelEncryptionProfilesOutput{} } else { sv = *v } @@ -16459,24 +18799,11 @@ func awsRestxml_deserializeOpDocumentListDistributionTenantsByCustomizationOutpu originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("DistributionTenantList", t.Name.Local): + case strings.EqualFold("FieldLevelEncryptionProfileList", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentDistributionTenantList(&sv.DistributionTenantList, nodeDecoder); err != nil { - return err - } - - case strings.EqualFold("NextMarker", t.Name.Local): - val, err := decoder.Value() - if err != nil { + if err := awsRestxml_deserializeDocumentFieldLevelEncryptionProfileList(&sv.FieldLevelEncryptionProfileList, nodeDecoder); err != nil { return err } - if val == nil { - break - } - { - xtv := string(val) - sv.NextMarker = ptr.String(xtv) - } default: // Do nothing and ignore the unexpected tag element @@ -16492,14 +18819,14 @@ func awsRestxml_deserializeOpDocumentListDistributionTenantsByCustomizationOutpu return nil } -type awsRestxml_deserializeOpListDomainConflicts struct { +type awsRestxml_deserializeOpListFunctions struct { } -func (*awsRestxml_deserializeOpListDomainConflicts) ID() string { +func (*awsRestxml_deserializeOpListFunctions) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListDomainConflicts) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListFunctions) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -16517,9 +18844,9 @@ func (m *awsRestxml_deserializeOpListDomainConflicts) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListDomainConflicts(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListFunctions(response, &metadata) } - output := &ListDomainConflictsOutput{} + output := &ListFunctionsOutput{} out.Result = output var buff [1024]byte @@ -16540,7 +18867,7 @@ func (m *awsRestxml_deserializeOpListDomainConflicts) HandleDeserialize(ctx cont } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentListDomainConflictsOutput(&output, decoder) + err = awsRestxml_deserializeDocumentFunctionList(&output.FunctionList, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -16554,7 +18881,7 @@ func (m *awsRestxml_deserializeOpListDomainConflicts) HandleDeserialize(ctx cont return out, metadata, err } -func awsRestxml_deserializeOpErrorListDomainConflicts(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListFunctions(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -16579,15 +18906,12 @@ func awsRestxml_deserializeOpErrorListDomainConflicts(response *smithyhttp.Respo } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("AccessDenied", errorCode): - return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - - case strings.EqualFold("EntityNotFound", errorCode): - return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) - case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -16598,13 +18922,13 @@ func awsRestxml_deserializeOpErrorListDomainConflicts(response *smithyhttp.Respo } } -func awsRestxml_deserializeOpDocumentListDomainConflictsOutput(v **ListDomainConflictsOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListFunctionsOutput(v **ListFunctionsOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListDomainConflictsOutput + var sv *ListFunctionsOutput if *v == nil { - sv = &ListDomainConflictsOutput{} + sv = &ListFunctionsOutput{} } else { sv = *v } @@ -16620,24 +18944,11 @@ func awsRestxml_deserializeOpDocumentListDomainConflictsOutput(v **ListDomainCon originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("DomainConflicts", t.Name.Local): + case strings.EqualFold("FunctionList", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentDomainConflictsList(&sv.DomainConflicts, nodeDecoder); err != nil { - return err - } - - case strings.EqualFold("NextMarker", t.Name.Local): - val, err := decoder.Value() - if err != nil { + if err := awsRestxml_deserializeDocumentFunctionList(&sv.FunctionList, nodeDecoder); err != nil { return err } - if val == nil { - break - } - { - xtv := string(val) - sv.NextMarker = ptr.String(xtv) - } default: // Do nothing and ignore the unexpected tag element @@ -16653,14 +18964,14 @@ func awsRestxml_deserializeOpDocumentListDomainConflictsOutput(v **ListDomainCon return nil } -type awsRestxml_deserializeOpListFieldLevelEncryptionConfigs struct { +type awsRestxml_deserializeOpListInvalidations struct { } -func (*awsRestxml_deserializeOpListFieldLevelEncryptionConfigs) ID() string { +func (*awsRestxml_deserializeOpListInvalidations) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListFieldLevelEncryptionConfigs) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListInvalidations) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -16678,9 +18989,9 @@ func (m *awsRestxml_deserializeOpListFieldLevelEncryptionConfigs) HandleDeserial } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListFieldLevelEncryptionConfigs(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListInvalidations(response, &metadata) } - output := &ListFieldLevelEncryptionConfigsOutput{} + output := &ListInvalidationsOutput{} out.Result = output var buff [1024]byte @@ -16701,7 +19012,7 @@ func (m *awsRestxml_deserializeOpListFieldLevelEncryptionConfigs) HandleDeserial } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentFieldLevelEncryptionList(&output.FieldLevelEncryptionList, decoder) + err = awsRestxml_deserializeDocumentInvalidationList(&output.InvalidationList, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -16715,7 +19026,7 @@ func (m *awsRestxml_deserializeOpListFieldLevelEncryptionConfigs) HandleDeserial return out, metadata, err } -func awsRestxml_deserializeOpErrorListFieldLevelEncryptionConfigs(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListInvalidations(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -16740,9 +19051,15 @@ func awsRestxml_deserializeOpErrorListFieldLevelEncryptionConfigs(response *smit } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) + case strings.EqualFold("NoSuchDistribution", errorCode): + return awsRestxml_deserializeErrorNoSuchDistribution(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -16753,13 +19070,13 @@ func awsRestxml_deserializeOpErrorListFieldLevelEncryptionConfigs(response *smit } } -func awsRestxml_deserializeOpDocumentListFieldLevelEncryptionConfigsOutput(v **ListFieldLevelEncryptionConfigsOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListInvalidationsOutput(v **ListInvalidationsOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListFieldLevelEncryptionConfigsOutput + var sv *ListInvalidationsOutput if *v == nil { - sv = &ListFieldLevelEncryptionConfigsOutput{} + sv = &ListInvalidationsOutput{} } else { sv = *v } @@ -16775,9 +19092,9 @@ func awsRestxml_deserializeOpDocumentListFieldLevelEncryptionConfigsOutput(v **L originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("FieldLevelEncryptionList", t.Name.Local): + case strings.EqualFold("InvalidationList", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentFieldLevelEncryptionList(&sv.FieldLevelEncryptionList, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentInvalidationList(&sv.InvalidationList, nodeDecoder); err != nil { return err } @@ -16795,14 +19112,14 @@ func awsRestxml_deserializeOpDocumentListFieldLevelEncryptionConfigsOutput(v **L return nil } -type awsRestxml_deserializeOpListFieldLevelEncryptionProfiles struct { +type awsRestxml_deserializeOpListInvalidationsForDistributionTenant struct { } -func (*awsRestxml_deserializeOpListFieldLevelEncryptionProfiles) ID() string { +func (*awsRestxml_deserializeOpListInvalidationsForDistributionTenant) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListFieldLevelEncryptionProfiles) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListInvalidationsForDistributionTenant) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -16820,9 +19137,9 @@ func (m *awsRestxml_deserializeOpListFieldLevelEncryptionProfiles) HandleDeseria } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListFieldLevelEncryptionProfiles(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListInvalidationsForDistributionTenant(response, &metadata) } - output := &ListFieldLevelEncryptionProfilesOutput{} + output := &ListInvalidationsForDistributionTenantOutput{} out.Result = output var buff [1024]byte @@ -16843,7 +19160,7 @@ func (m *awsRestxml_deserializeOpListFieldLevelEncryptionProfiles) HandleDeseria } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentFieldLevelEncryptionProfileList(&output.FieldLevelEncryptionProfileList, decoder) + err = awsRestxml_deserializeDocumentInvalidationList(&output.InvalidationList, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -16857,7 +19174,7 @@ func (m *awsRestxml_deserializeOpListFieldLevelEncryptionProfiles) HandleDeseria return out, metadata, err } -func awsRestxml_deserializeOpErrorListFieldLevelEncryptionProfiles(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListInvalidationsForDistributionTenant(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -16882,6 +19199,12 @@ func awsRestxml_deserializeOpErrorListFieldLevelEncryptionProfiles(response *smi } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) @@ -16895,13 +19218,13 @@ func awsRestxml_deserializeOpErrorListFieldLevelEncryptionProfiles(response *smi } } -func awsRestxml_deserializeOpDocumentListFieldLevelEncryptionProfilesOutput(v **ListFieldLevelEncryptionProfilesOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListInvalidationsForDistributionTenantOutput(v **ListInvalidationsForDistributionTenantOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListFieldLevelEncryptionProfilesOutput + var sv *ListInvalidationsForDistributionTenantOutput if *v == nil { - sv = &ListFieldLevelEncryptionProfilesOutput{} + sv = &ListInvalidationsForDistributionTenantOutput{} } else { sv = *v } @@ -16917,9 +19240,9 @@ func awsRestxml_deserializeOpDocumentListFieldLevelEncryptionProfilesOutput(v ** originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("FieldLevelEncryptionProfileList", t.Name.Local): + case strings.EqualFold("InvalidationList", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentFieldLevelEncryptionProfileList(&sv.FieldLevelEncryptionProfileList, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentInvalidationList(&sv.InvalidationList, nodeDecoder); err != nil { return err } @@ -16937,14 +19260,14 @@ func awsRestxml_deserializeOpDocumentListFieldLevelEncryptionProfilesOutput(v ** return nil } -type awsRestxml_deserializeOpListFunctions struct { +type awsRestxml_deserializeOpListKeyGroups struct { } -func (*awsRestxml_deserializeOpListFunctions) ID() string { +func (*awsRestxml_deserializeOpListKeyGroups) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListFunctions) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListKeyGroups) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -16962,9 +19285,9 @@ func (m *awsRestxml_deserializeOpListFunctions) HandleDeserialize(ctx context.Co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListFunctions(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListKeyGroups(response, &metadata) } - output := &ListFunctionsOutput{} + output := &ListKeyGroupsOutput{} out.Result = output var buff [1024]byte @@ -16985,7 +19308,7 @@ func (m *awsRestxml_deserializeOpListFunctions) HandleDeserialize(ctx context.Co } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentFunctionList(&output.FunctionList, decoder) + err = awsRestxml_deserializeDocumentKeyGroupList(&output.KeyGroupList, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -16999,7 +19322,7 @@ func (m *awsRestxml_deserializeOpListFunctions) HandleDeserialize(ctx context.Co return out, metadata, err } -func awsRestxml_deserializeOpErrorListFunctions(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListKeyGroups(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -17027,9 +19350,6 @@ func awsRestxml_deserializeOpErrorListFunctions(response *smithyhttp.Response, m case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("UnsupportedOperation", errorCode): - return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -17040,13 +19360,13 @@ func awsRestxml_deserializeOpErrorListFunctions(response *smithyhttp.Response, m } } -func awsRestxml_deserializeOpDocumentListFunctionsOutput(v **ListFunctionsOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListKeyGroupsOutput(v **ListKeyGroupsOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListFunctionsOutput + var sv *ListKeyGroupsOutput if *v == nil { - sv = &ListFunctionsOutput{} + sv = &ListKeyGroupsOutput{} } else { sv = *v } @@ -17062,9 +19382,9 @@ func awsRestxml_deserializeOpDocumentListFunctionsOutput(v **ListFunctionsOutput originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("FunctionList", t.Name.Local): + case strings.EqualFold("KeyGroupList", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentFunctionList(&sv.FunctionList, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentKeyGroupList(&sv.KeyGroupList, nodeDecoder); err != nil { return err } @@ -17082,14 +19402,14 @@ func awsRestxml_deserializeOpDocumentListFunctionsOutput(v **ListFunctionsOutput return nil } -type awsRestxml_deserializeOpListInvalidations struct { +type awsRestxml_deserializeOpListKeyValueStores struct { } -func (*awsRestxml_deserializeOpListInvalidations) ID() string { +func (*awsRestxml_deserializeOpListKeyValueStores) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListInvalidations) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListKeyValueStores) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -17107,9 +19427,9 @@ func (m *awsRestxml_deserializeOpListInvalidations) HandleDeserialize(ctx contex } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListInvalidations(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListKeyValueStores(response, &metadata) } - output := &ListInvalidationsOutput{} + output := &ListKeyValueStoresOutput{} out.Result = output var buff [1024]byte @@ -17130,7 +19450,7 @@ func (m *awsRestxml_deserializeOpListInvalidations) HandleDeserialize(ctx contex } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentInvalidationList(&output.InvalidationList, decoder) + err = awsRestxml_deserializeDocumentKeyValueStoreList(&output.KeyValueStoreList, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -17144,7 +19464,7 @@ func (m *awsRestxml_deserializeOpListInvalidations) HandleDeserialize(ctx contex return out, metadata, err } -func awsRestxml_deserializeOpErrorListInvalidations(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListKeyValueStores(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -17175,8 +19495,8 @@ func awsRestxml_deserializeOpErrorListInvalidations(response *smithyhttp.Respons case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("NoSuchDistribution", errorCode): - return awsRestxml_deserializeErrorNoSuchDistribution(response, errorBody) + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -17188,13 +19508,13 @@ func awsRestxml_deserializeOpErrorListInvalidations(response *smithyhttp.Respons } } -func awsRestxml_deserializeOpDocumentListInvalidationsOutput(v **ListInvalidationsOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListKeyValueStoresOutput(v **ListKeyValueStoresOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListInvalidationsOutput + var sv *ListKeyValueStoresOutput if *v == nil { - sv = &ListInvalidationsOutput{} + sv = &ListKeyValueStoresOutput{} } else { sv = *v } @@ -17210,9 +19530,9 @@ func awsRestxml_deserializeOpDocumentListInvalidationsOutput(v **ListInvalidatio originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("InvalidationList", t.Name.Local): + case strings.EqualFold("KeyValueStoreList", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentInvalidationList(&sv.InvalidationList, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentKeyValueStoreList(&sv.KeyValueStoreList, nodeDecoder); err != nil { return err } @@ -17230,14 +19550,14 @@ func awsRestxml_deserializeOpDocumentListInvalidationsOutput(v **ListInvalidatio return nil } -type awsRestxml_deserializeOpListInvalidationsForDistributionTenant struct { +type awsRestxml_deserializeOpListOriginAccessControls struct { } -func (*awsRestxml_deserializeOpListInvalidationsForDistributionTenant) ID() string { +func (*awsRestxml_deserializeOpListOriginAccessControls) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListInvalidationsForDistributionTenant) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListOriginAccessControls) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -17255,9 +19575,9 @@ func (m *awsRestxml_deserializeOpListInvalidationsForDistributionTenant) HandleD } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListInvalidationsForDistributionTenant(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListOriginAccessControls(response, &metadata) } - output := &ListInvalidationsForDistributionTenantOutput{} + output := &ListOriginAccessControlsOutput{} out.Result = output var buff [1024]byte @@ -17278,7 +19598,7 @@ func (m *awsRestxml_deserializeOpListInvalidationsForDistributionTenant) HandleD } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentInvalidationList(&output.InvalidationList, decoder) + err = awsRestxml_deserializeDocumentOriginAccessControlList(&output.OriginAccessControlList, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -17292,7 +19612,149 @@ func (m *awsRestxml_deserializeOpListInvalidationsForDistributionTenant) HandleD return out, metadata, err } -func awsRestxml_deserializeOpErrorListInvalidationsForDistributionTenant(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListOriginAccessControls(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("InvalidArgument", errorCode): + return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestxml_deserializeOpDocumentListOriginAccessControlsOutput(v **ListOriginAccessControlsOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *ListOriginAccessControlsOutput + if *v == nil { + sv = &ListOriginAccessControlsOutput{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("OriginAccessControlList", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentOriginAccessControlList(&sv.OriginAccessControlList, nodeDecoder); err != nil { + return err + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +type awsRestxml_deserializeOpListOriginRequestPolicies struct { +} + +func (*awsRestxml_deserializeOpListOriginRequestPolicies) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpListOriginRequestPolicies) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorListOriginRequestPolicies(response, &metadata) + } + output := &ListOriginRequestPoliciesOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentOriginRequestPolicyList(&output.OriginRequestPolicyList, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + span.End() + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorListOriginRequestPolicies(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -17320,9 +19782,151 @@ func awsRestxml_deserializeOpErrorListInvalidationsForDistributionTenant(respons case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("EntityNotFound", errorCode): - return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + case strings.EqualFold("InvalidArgument", errorCode): + return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) + + case strings.EqualFold("NoSuchOriginRequestPolicy", errorCode): + return awsRestxml_deserializeErrorNoSuchOriginRequestPolicy(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestxml_deserializeOpDocumentListOriginRequestPoliciesOutput(v **ListOriginRequestPoliciesOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *ListOriginRequestPoliciesOutput + if *v == nil { + sv = &ListOriginRequestPoliciesOutput{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("OriginRequestPolicyList", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentOriginRequestPolicyList(&sv.OriginRequestPolicyList, nodeDecoder); err != nil { + return err + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +type awsRestxml_deserializeOpListPublicKeys struct { +} + +func (*awsRestxml_deserializeOpListPublicKeys) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpListPublicKeys) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorListPublicKeys(response, &metadata) + } + output := &ListPublicKeysOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentPublicKeyList(&output.PublicKeyList, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + span.End() + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorListPublicKeys(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) @@ -17336,13 +19940,13 @@ func awsRestxml_deserializeOpErrorListInvalidationsForDistributionTenant(respons } } -func awsRestxml_deserializeOpDocumentListInvalidationsForDistributionTenantOutput(v **ListInvalidationsForDistributionTenantOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListPublicKeysOutput(v **ListPublicKeysOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListInvalidationsForDistributionTenantOutput + var sv *ListPublicKeysOutput if *v == nil { - sv = &ListInvalidationsForDistributionTenantOutput{} + sv = &ListPublicKeysOutput{} } else { sv = *v } @@ -17358,9 +19962,9 @@ func awsRestxml_deserializeOpDocumentListInvalidationsForDistributionTenantOutpu originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("InvalidationList", t.Name.Local): + case strings.EqualFold("PublicKeyList", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentInvalidationList(&sv.InvalidationList, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentPublicKeyList(&sv.PublicKeyList, nodeDecoder); err != nil { return err } @@ -17378,14 +19982,14 @@ func awsRestxml_deserializeOpDocumentListInvalidationsForDistributionTenantOutpu return nil } -type awsRestxml_deserializeOpListKeyGroups struct { +type awsRestxml_deserializeOpListRealtimeLogConfigs struct { } -func (*awsRestxml_deserializeOpListKeyGroups) ID() string { +func (*awsRestxml_deserializeOpListRealtimeLogConfigs) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListKeyGroups) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListRealtimeLogConfigs) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -17403,9 +20007,9 @@ func (m *awsRestxml_deserializeOpListKeyGroups) HandleDeserialize(ctx context.Co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListKeyGroups(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListRealtimeLogConfigs(response, &metadata) } - output := &ListKeyGroupsOutput{} + output := &ListRealtimeLogConfigsOutput{} out.Result = output var buff [1024]byte @@ -17426,7 +20030,7 @@ func (m *awsRestxml_deserializeOpListKeyGroups) HandleDeserialize(ctx context.Co } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentKeyGroupList(&output.KeyGroupList, decoder) + err = awsRestxml_deserializeDocumentRealtimeLogConfigs(&output.RealtimeLogConfigs, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -17440,7 +20044,7 @@ func (m *awsRestxml_deserializeOpListKeyGroups) HandleDeserialize(ctx context.Co return out, metadata, err } -func awsRestxml_deserializeOpErrorListKeyGroups(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListRealtimeLogConfigs(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -17465,9 +20069,15 @@ func awsRestxml_deserializeOpErrorListKeyGroups(response *smithyhttp.Response, m } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) + case strings.EqualFold("NoSuchRealtimeLogConfig", errorCode): + return awsRestxml_deserializeErrorNoSuchRealtimeLogConfig(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -17478,13 +20088,13 @@ func awsRestxml_deserializeOpErrorListKeyGroups(response *smithyhttp.Response, m } } -func awsRestxml_deserializeOpDocumentListKeyGroupsOutput(v **ListKeyGroupsOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListRealtimeLogConfigsOutput(v **ListRealtimeLogConfigsOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListKeyGroupsOutput + var sv *ListRealtimeLogConfigsOutput if *v == nil { - sv = &ListKeyGroupsOutput{} + sv = &ListRealtimeLogConfigsOutput{} } else { sv = *v } @@ -17500,9 +20110,9 @@ func awsRestxml_deserializeOpDocumentListKeyGroupsOutput(v **ListKeyGroupsOutput originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("KeyGroupList", t.Name.Local): + case strings.EqualFold("RealtimeLogConfigs", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentKeyGroupList(&sv.KeyGroupList, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentRealtimeLogConfigs(&sv.RealtimeLogConfigs, nodeDecoder); err != nil { return err } @@ -17520,14 +20130,14 @@ func awsRestxml_deserializeOpDocumentListKeyGroupsOutput(v **ListKeyGroupsOutput return nil } -type awsRestxml_deserializeOpListKeyValueStores struct { +type awsRestxml_deserializeOpListResponseHeadersPolicies struct { } -func (*awsRestxml_deserializeOpListKeyValueStores) ID() string { +func (*awsRestxml_deserializeOpListResponseHeadersPolicies) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListKeyValueStores) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListResponseHeadersPolicies) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -17545,9 +20155,9 @@ func (m *awsRestxml_deserializeOpListKeyValueStores) HandleDeserialize(ctx conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListKeyValueStores(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListResponseHeadersPolicies(response, &metadata) } - output := &ListKeyValueStoresOutput{} + output := &ListResponseHeadersPoliciesOutput{} out.Result = output var buff [1024]byte @@ -17568,7 +20178,7 @@ func (m *awsRestxml_deserializeOpListKeyValueStores) HandleDeserialize(ctx conte } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentKeyValueStoreList(&output.KeyValueStoreList, decoder) + err = awsRestxml_deserializeDocumentResponseHeadersPolicyList(&output.ResponseHeadersPolicyList, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -17582,7 +20192,7 @@ func (m *awsRestxml_deserializeOpListKeyValueStores) HandleDeserialize(ctx conte return out, metadata, err } -func awsRestxml_deserializeOpErrorListKeyValueStores(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListResponseHeadersPolicies(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -17613,8 +20223,8 @@ func awsRestxml_deserializeOpErrorListKeyValueStores(response *smithyhttp.Respon case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("UnsupportedOperation", errorCode): - return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) + case strings.EqualFold("NoSuchResponseHeadersPolicy", errorCode): + return awsRestxml_deserializeErrorNoSuchResponseHeadersPolicy(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -17626,13 +20236,13 @@ func awsRestxml_deserializeOpErrorListKeyValueStores(response *smithyhttp.Respon } } -func awsRestxml_deserializeOpDocumentListKeyValueStoresOutput(v **ListKeyValueStoresOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListResponseHeadersPoliciesOutput(v **ListResponseHeadersPoliciesOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListKeyValueStoresOutput + var sv *ListResponseHeadersPoliciesOutput if *v == nil { - sv = &ListKeyValueStoresOutput{} + sv = &ListResponseHeadersPoliciesOutput{} } else { sv = *v } @@ -17648,9 +20258,9 @@ func awsRestxml_deserializeOpDocumentListKeyValueStoresOutput(v **ListKeyValueSt originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("KeyValueStoreList", t.Name.Local): + case strings.EqualFold("ResponseHeadersPolicyList", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentKeyValueStoreList(&sv.KeyValueStoreList, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentResponseHeadersPolicyList(&sv.ResponseHeadersPolicyList, nodeDecoder); err != nil { return err } @@ -17668,14 +20278,14 @@ func awsRestxml_deserializeOpDocumentListKeyValueStoresOutput(v **ListKeyValueSt return nil } -type awsRestxml_deserializeOpListOriginAccessControls struct { +type awsRestxml_deserializeOpListStreamingDistributions struct { } -func (*awsRestxml_deserializeOpListOriginAccessControls) ID() string { +func (*awsRestxml_deserializeOpListStreamingDistributions) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListOriginAccessControls) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListStreamingDistributions) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -17693,9 +20303,9 @@ func (m *awsRestxml_deserializeOpListOriginAccessControls) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListOriginAccessControls(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListStreamingDistributions(response, &metadata) } - output := &ListOriginAccessControlsOutput{} + output := &ListStreamingDistributionsOutput{} out.Result = output var buff [1024]byte @@ -17716,7 +20326,7 @@ func (m *awsRestxml_deserializeOpListOriginAccessControls) HandleDeserialize(ctx } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentOriginAccessControlList(&output.OriginAccessControlList, decoder) + err = awsRestxml_deserializeDocumentStreamingDistributionList(&output.StreamingDistributionList, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -17730,7 +20340,7 @@ func (m *awsRestxml_deserializeOpListOriginAccessControls) HandleDeserialize(ctx return out, metadata, err } -func awsRestxml_deserializeOpErrorListOriginAccessControls(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListStreamingDistributions(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -17768,13 +20378,13 @@ func awsRestxml_deserializeOpErrorListOriginAccessControls(response *smithyhttp. } } -func awsRestxml_deserializeOpDocumentListOriginAccessControlsOutput(v **ListOriginAccessControlsOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListStreamingDistributionsOutput(v **ListStreamingDistributionsOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListOriginAccessControlsOutput + var sv *ListStreamingDistributionsOutput if *v == nil { - sv = &ListOriginAccessControlsOutput{} + sv = &ListStreamingDistributionsOutput{} } else { sv = *v } @@ -17790,9 +20400,9 @@ func awsRestxml_deserializeOpDocumentListOriginAccessControlsOutput(v **ListOrig originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("OriginAccessControlList", t.Name.Local): + case strings.EqualFold("StreamingDistributionList", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentOriginAccessControlList(&sv.OriginAccessControlList, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentStreamingDistributionList(&sv.StreamingDistributionList, nodeDecoder); err != nil { return err } @@ -17810,14 +20420,14 @@ func awsRestxml_deserializeOpDocumentListOriginAccessControlsOutput(v **ListOrig return nil } -type awsRestxml_deserializeOpListOriginRequestPolicies struct { +type awsRestxml_deserializeOpListTagsForResource struct { } -func (*awsRestxml_deserializeOpListOriginRequestPolicies) ID() string { +func (*awsRestxml_deserializeOpListTagsForResource) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListOriginRequestPolicies) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListTagsForResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -17835,9 +20445,9 @@ func (m *awsRestxml_deserializeOpListOriginRequestPolicies) HandleDeserialize(ct } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListOriginRequestPolicies(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListTagsForResource(response, &metadata) } - output := &ListOriginRequestPoliciesOutput{} + output := &ListTagsForResourceOutput{} out.Result = output var buff [1024]byte @@ -17858,7 +20468,7 @@ func (m *awsRestxml_deserializeOpListOriginRequestPolicies) HandleDeserialize(ct } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentOriginRequestPolicyList(&output.OriginRequestPolicyList, decoder) + err = awsRestxml_deserializeDocumentTags(&output.Tags, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -17872,7 +20482,7 @@ func (m *awsRestxml_deserializeOpListOriginRequestPolicies) HandleDeserialize(ct return out, metadata, err } -func awsRestxml_deserializeOpErrorListOriginRequestPolicies(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListTagsForResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -17903,8 +20513,11 @@ func awsRestxml_deserializeOpErrorListOriginRequestPolicies(response *smithyhttp case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("NoSuchOriginRequestPolicy", errorCode): - return awsRestxml_deserializeErrorNoSuchOriginRequestPolicy(response, errorBody) + case strings.EqualFold("InvalidTagging", errorCode): + return awsRestxml_deserializeErrorInvalidTagging(response, errorBody) + + case strings.EqualFold("NoSuchResource", errorCode): + return awsRestxml_deserializeErrorNoSuchResource(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -17916,13 +20529,13 @@ func awsRestxml_deserializeOpErrorListOriginRequestPolicies(response *smithyhttp } } -func awsRestxml_deserializeOpDocumentListOriginRequestPoliciesOutput(v **ListOriginRequestPoliciesOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsForResourceOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListOriginRequestPoliciesOutput + var sv *ListTagsForResourceOutput if *v == nil { - sv = &ListOriginRequestPoliciesOutput{} + sv = &ListTagsForResourceOutput{} } else { sv = *v } @@ -17938,9 +20551,9 @@ func awsRestxml_deserializeOpDocumentListOriginRequestPoliciesOutput(v **ListOri originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("OriginRequestPolicyList", t.Name.Local): + case strings.EqualFold("Tags", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentOriginRequestPolicyList(&sv.OriginRequestPolicyList, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentTags(&sv.Tags, nodeDecoder); err != nil { return err } @@ -17958,14 +20571,14 @@ func awsRestxml_deserializeOpDocumentListOriginRequestPoliciesOutput(v **ListOri return nil } -type awsRestxml_deserializeOpListPublicKeys struct { +type awsRestxml_deserializeOpListTrustStores struct { } -func (*awsRestxml_deserializeOpListPublicKeys) ID() string { +func (*awsRestxml_deserializeOpListTrustStores) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListPublicKeys) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListTrustStores) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -17983,9 +20596,9 @@ func (m *awsRestxml_deserializeOpListPublicKeys) HandleDeserialize(ctx context.C } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListPublicKeys(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListTrustStores(response, &metadata) } - output := &ListPublicKeysOutput{} + output := &ListTrustStoresOutput{} out.Result = output var buff [1024]byte @@ -18006,7 +20619,7 @@ func (m *awsRestxml_deserializeOpListPublicKeys) HandleDeserialize(ctx context.C } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentPublicKeyList(&output.PublicKeyList, decoder) + err = awsRestxml_deserializeOpDocumentListTrustStoresOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -18020,7 +20633,7 @@ func (m *awsRestxml_deserializeOpListPublicKeys) HandleDeserialize(ctx context.C return out, metadata, err } -func awsRestxml_deserializeOpErrorListPublicKeys(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListTrustStores(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -18045,6 +20658,12 @@ func awsRestxml_deserializeOpErrorListPublicKeys(response *smithyhttp.Response, } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) @@ -18058,13 +20677,13 @@ func awsRestxml_deserializeOpErrorListPublicKeys(response *smithyhttp.Response, } } -func awsRestxml_deserializeOpDocumentListPublicKeysOutput(v **ListPublicKeysOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListTrustStoresOutput(v **ListTrustStoresOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListPublicKeysOutput + var sv *ListTrustStoresOutput if *v == nil { - sv = &ListPublicKeysOutput{} + sv = &ListTrustStoresOutput{} } else { sv = *v } @@ -18080,9 +20699,22 @@ func awsRestxml_deserializeOpDocumentListPublicKeysOutput(v **ListPublicKeysOutp originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("PublicKeyList", t.Name.Local): + case strings.EqualFold("NextMarker", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.NextMarker = ptr.String(xtv) + } + + case strings.EqualFold("TrustStoreList", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentPublicKeyList(&sv.PublicKeyList, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentTrustStoreList(&sv.TrustStoreList, nodeDecoder); err != nil { return err } @@ -18100,14 +20732,14 @@ func awsRestxml_deserializeOpDocumentListPublicKeysOutput(v **ListPublicKeysOutp return nil } -type awsRestxml_deserializeOpListRealtimeLogConfigs struct { +type awsRestxml_deserializeOpListVpcOrigins struct { } -func (*awsRestxml_deserializeOpListRealtimeLogConfigs) ID() string { +func (*awsRestxml_deserializeOpListVpcOrigins) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListRealtimeLogConfigs) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListVpcOrigins) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -18125,9 +20757,9 @@ func (m *awsRestxml_deserializeOpListRealtimeLogConfigs) HandleDeserialize(ctx c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListRealtimeLogConfigs(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListVpcOrigins(response, &metadata) } - output := &ListRealtimeLogConfigsOutput{} + output := &ListVpcOriginsOutput{} out.Result = output var buff [1024]byte @@ -18148,7 +20780,7 @@ func (m *awsRestxml_deserializeOpListRealtimeLogConfigs) HandleDeserialize(ctx c } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentRealtimeLogConfigs(&output.RealtimeLogConfigs, decoder) + err = awsRestxml_deserializeDocumentVpcOriginList(&output.VpcOriginList, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -18162,7 +20794,7 @@ func (m *awsRestxml_deserializeOpListRealtimeLogConfigs) HandleDeserialize(ctx c return out, metadata, err } -func awsRestxml_deserializeOpErrorListRealtimeLogConfigs(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListVpcOrigins(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -18190,11 +20822,14 @@ func awsRestxml_deserializeOpErrorListRealtimeLogConfigs(response *smithyhttp.Re case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("NoSuchRealtimeLogConfig", errorCode): - return awsRestxml_deserializeErrorNoSuchRealtimeLogConfig(response, errorBody) + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -18206,13 +20841,13 @@ func awsRestxml_deserializeOpErrorListRealtimeLogConfigs(response *smithyhttp.Re } } -func awsRestxml_deserializeOpDocumentListRealtimeLogConfigsOutput(v **ListRealtimeLogConfigsOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListVpcOriginsOutput(v **ListVpcOriginsOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListRealtimeLogConfigsOutput + var sv *ListVpcOriginsOutput if *v == nil { - sv = &ListRealtimeLogConfigsOutput{} + sv = &ListVpcOriginsOutput{} } else { sv = *v } @@ -18228,9 +20863,9 @@ func awsRestxml_deserializeOpDocumentListRealtimeLogConfigsOutput(v **ListRealti originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("RealtimeLogConfigs", t.Name.Local): + case strings.EqualFold("VpcOriginList", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentRealtimeLogConfigs(&sv.RealtimeLogConfigs, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentVpcOriginList(&sv.VpcOriginList, nodeDecoder); err != nil { return err } @@ -18248,14 +20883,14 @@ func awsRestxml_deserializeOpDocumentListRealtimeLogConfigsOutput(v **ListRealti return nil } -type awsRestxml_deserializeOpListResponseHeadersPolicies struct { +type awsRestxml_deserializeOpPublishConnectionFunction struct { } -func (*awsRestxml_deserializeOpListResponseHeadersPolicies) ID() string { +func (*awsRestxml_deserializeOpPublishConnectionFunction) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListResponseHeadersPolicies) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpPublishConnectionFunction) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -18273,9 +20908,9 @@ func (m *awsRestxml_deserializeOpListResponseHeadersPolicies) HandleDeserialize( } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListResponseHeadersPolicies(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorPublishConnectionFunction(response, &metadata) } - output := &ListResponseHeadersPoliciesOutput{} + output := &PublishConnectionFunctionOutput{} out.Result = output var buff [1024]byte @@ -18296,7 +20931,7 @@ func (m *awsRestxml_deserializeOpListResponseHeadersPolicies) HandleDeserialize( } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentResponseHeadersPolicyList(&output.ResponseHeadersPolicyList, decoder) + err = awsRestxml_deserializeDocumentConnectionFunctionSummary(&output.ConnectionFunctionSummary, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -18310,7 +20945,7 @@ func (m *awsRestxml_deserializeOpListResponseHeadersPolicies) HandleDeserialize( return out, metadata, err } -func awsRestxml_deserializeOpErrorListResponseHeadersPolicies(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorPublishConnectionFunction(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -18338,11 +20973,20 @@ func awsRestxml_deserializeOpErrorListResponseHeadersPolicies(response *smithyht case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("NoSuchResponseHeadersPolicy", errorCode): - return awsRestxml_deserializeErrorNoSuchResponseHeadersPolicy(response, errorBody) + case strings.EqualFold("InvalidIfMatchVersion", errorCode): + return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) + + case strings.EqualFold("PreconditionFailed", errorCode): + return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) + + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -18354,13 +20998,13 @@ func awsRestxml_deserializeOpErrorListResponseHeadersPolicies(response *smithyht } } -func awsRestxml_deserializeOpDocumentListResponseHeadersPoliciesOutput(v **ListResponseHeadersPoliciesOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentPublishConnectionFunctionOutput(v **PublishConnectionFunctionOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListResponseHeadersPoliciesOutput + var sv *PublishConnectionFunctionOutput if *v == nil { - sv = &ListResponseHeadersPoliciesOutput{} + sv = &PublishConnectionFunctionOutput{} } else { sv = *v } @@ -18376,9 +21020,9 @@ func awsRestxml_deserializeOpDocumentListResponseHeadersPoliciesOutput(v **ListR originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("ResponseHeadersPolicyList", t.Name.Local): + case strings.EqualFold("ConnectionFunctionSummary", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentResponseHeadersPolicyList(&sv.ResponseHeadersPolicyList, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentConnectionFunctionSummary(&sv.ConnectionFunctionSummary, nodeDecoder); err != nil { return err } @@ -18396,14 +21040,14 @@ func awsRestxml_deserializeOpDocumentListResponseHeadersPoliciesOutput(v **ListR return nil } -type awsRestxml_deserializeOpListStreamingDistributions struct { +type awsRestxml_deserializeOpPublishFunction struct { } -func (*awsRestxml_deserializeOpListStreamingDistributions) ID() string { +func (*awsRestxml_deserializeOpPublishFunction) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListStreamingDistributions) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpPublishFunction) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -18421,9 +21065,9 @@ func (m *awsRestxml_deserializeOpListStreamingDistributions) HandleDeserialize(c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListStreamingDistributions(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorPublishFunction(response, &metadata) } - output := &ListStreamingDistributionsOutput{} + output := &PublishFunctionOutput{} out.Result = output var buff [1024]byte @@ -18444,7 +21088,7 @@ func (m *awsRestxml_deserializeOpListStreamingDistributions) HandleDeserialize(c } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentStreamingDistributionList(&output.StreamingDistributionList, decoder) + err = awsRestxml_deserializeDocumentFunctionSummary(&output.FunctionSummary, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -18458,7 +21102,7 @@ func (m *awsRestxml_deserializeOpListStreamingDistributions) HandleDeserialize(c return out, metadata, err } -func awsRestxml_deserializeOpErrorListStreamingDistributions(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorPublishFunction(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -18486,6 +21130,18 @@ func awsRestxml_deserializeOpErrorListStreamingDistributions(response *smithyhtt case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) + case strings.EqualFold("InvalidIfMatchVersion", errorCode): + return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) + + case strings.EqualFold("NoSuchFunctionExists", errorCode): + return awsRestxml_deserializeErrorNoSuchFunctionExists(response, errorBody) + + case strings.EqualFold("PreconditionFailed", errorCode): + return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) + + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -18496,13 +21152,13 @@ func awsRestxml_deserializeOpErrorListStreamingDistributions(response *smithyhtt } } -func awsRestxml_deserializeOpDocumentListStreamingDistributionsOutput(v **ListStreamingDistributionsOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentPublishFunctionOutput(v **PublishFunctionOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListStreamingDistributionsOutput + var sv *PublishFunctionOutput if *v == nil { - sv = &ListStreamingDistributionsOutput{} + sv = &PublishFunctionOutput{} } else { sv = *v } @@ -18518,9 +21174,9 @@ func awsRestxml_deserializeOpDocumentListStreamingDistributionsOutput(v **ListSt originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("StreamingDistributionList", t.Name.Local): + case strings.EqualFold("FunctionSummary", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentStreamingDistributionList(&sv.StreamingDistributionList, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentFunctionSummary(&sv.FunctionSummary, nodeDecoder); err != nil { return err } @@ -18538,14 +21194,14 @@ func awsRestxml_deserializeOpDocumentListStreamingDistributionsOutput(v **ListSt return nil } -type awsRestxml_deserializeOpListTagsForResource struct { +type awsRestxml_deserializeOpPutResourcePolicy struct { } -func (*awsRestxml_deserializeOpListTagsForResource) ID() string { +func (*awsRestxml_deserializeOpPutResourcePolicy) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListTagsForResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpPutResourcePolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -18563,9 +21219,9 @@ func (m *awsRestxml_deserializeOpListTagsForResource) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListTagsForResource(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorPutResourcePolicy(response, &metadata) } - output := &ListTagsForResourceOutput{} + output := &PutResourcePolicyOutput{} out.Result = output var buff [1024]byte @@ -18586,7 +21242,7 @@ func (m *awsRestxml_deserializeOpListTagsForResource) HandleDeserialize(ctx cont } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentTags(&output.Tags, decoder) + err = awsRestxml_deserializeOpDocumentPutResourcePolicyOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -18600,7 +21256,149 @@ func (m *awsRestxml_deserializeOpListTagsForResource) HandleDeserialize(ctx cont return out, metadata, err } -func awsRestxml_deserializeOpErrorListTagsForResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorPutResourcePolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + + case strings.EqualFold("IllegalUpdate", errorCode): + return awsRestxml_deserializeErrorIllegalUpdate(response, errorBody) + + case strings.EqualFold("InvalidArgument", errorCode): + return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) + + case strings.EqualFold("PreconditionFailed", errorCode): + return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) + + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestxml_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePolicyOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *PutResourcePolicyOutput + if *v == nil { + sv = &PutResourcePolicyOutput{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("ResourceArn", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.ResourceArn = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +type awsRestxml_deserializeOpTagResource struct { +} + +func (*awsRestxml_deserializeOpTagResource) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpTagResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorTagResource(response, &metadata) + } + output := &TagResourceOutput{} + out.Result = output + + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), + } + } + + span.End() + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorTagResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -18647,56 +21445,14 @@ func awsRestxml_deserializeOpErrorListTagsForResource(response *smithyhttp.Respo } } -func awsRestxml_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsForResourceOutput, decoder smithyxml.NodeDecoder) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - var sv *ListTagsForResourceOutput - if *v == nil { - sv = &ListTagsForResourceOutput{} - } else { - sv = *v - } - - for { - t, done, err := decoder.Token() - if err != nil { - return err - } - if done { - break - } - originalDecoder := decoder - decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) - switch { - case strings.EqualFold("Tags", t.Name.Local): - nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentTags(&sv.Tags, nodeDecoder); err != nil { - return err - } - - default: - // Do nothing and ignore the unexpected tag element - err = decoder.Decoder.Skip() - if err != nil { - return err - } - - } - decoder = originalDecoder - } - *v = sv - return nil +type awsRestxml_deserializeOpTestConnectionFunction struct { } -type awsRestxml_deserializeOpListVpcOrigins struct { -} - -func (*awsRestxml_deserializeOpListVpcOrigins) ID() string { +func (*awsRestxml_deserializeOpTestConnectionFunction) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListVpcOrigins) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpTestConnectionFunction) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -18714,9 +21470,9 @@ func (m *awsRestxml_deserializeOpListVpcOrigins) HandleDeserialize(ctx context.C } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListVpcOrigins(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorTestConnectionFunction(response, &metadata) } - output := &ListVpcOriginsOutput{} + output := &TestConnectionFunctionOutput{} out.Result = output var buff [1024]byte @@ -18737,7 +21493,7 @@ func (m *awsRestxml_deserializeOpListVpcOrigins) HandleDeserialize(ctx context.C } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentVpcOriginList(&output.VpcOriginList, decoder) + err = awsRestxml_deserializeDocumentConnectionFunctionTestResult(&output.ConnectionFunctionTestResult, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -18751,7 +21507,7 @@ func (m *awsRestxml_deserializeOpListVpcOrigins) HandleDeserialize(ctx context.C return out, metadata, err } -func awsRestxml_deserializeOpErrorListVpcOrigins(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorTestConnectionFunction(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -18776,15 +21532,21 @@ func awsRestxml_deserializeOpErrorListVpcOrigins(response *smithyhttp.Response, } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("AccessDenied", errorCode): - return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("EntityNotFound", errorCode): return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) + case strings.EqualFold("InvalidIfMatchVersion", errorCode): + return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) + + case strings.EqualFold("PreconditionFailed", errorCode): + return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) + + case strings.EqualFold("TestFunctionFailed", errorCode): + return awsRestxml_deserializeErrorTestFunctionFailed(response, errorBody) + case strings.EqualFold("UnsupportedOperation", errorCode): return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) @@ -18798,13 +21560,13 @@ func awsRestxml_deserializeOpErrorListVpcOrigins(response *smithyhttp.Response, } } -func awsRestxml_deserializeOpDocumentListVpcOriginsOutput(v **ListVpcOriginsOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentTestConnectionFunctionOutput(v **TestConnectionFunctionOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListVpcOriginsOutput + var sv *TestConnectionFunctionOutput if *v == nil { - sv = &ListVpcOriginsOutput{} + sv = &TestConnectionFunctionOutput{} } else { sv = *v } @@ -18820,9 +21582,9 @@ func awsRestxml_deserializeOpDocumentListVpcOriginsOutput(v **ListVpcOriginsOutp originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("VpcOriginList", t.Name.Local): + case strings.EqualFold("ConnectionFunctionTestResult", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentVpcOriginList(&sv.VpcOriginList, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentConnectionFunctionTestResult(&sv.ConnectionFunctionTestResult, nodeDecoder); err != nil { return err } @@ -18840,14 +21602,14 @@ func awsRestxml_deserializeOpDocumentListVpcOriginsOutput(v **ListVpcOriginsOutp return nil } -type awsRestxml_deserializeOpPublishFunction struct { +type awsRestxml_deserializeOpTestFunction struct { } -func (*awsRestxml_deserializeOpPublishFunction) ID() string { +func (*awsRestxml_deserializeOpTestFunction) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpPublishFunction) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpTestFunction) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -18865,9 +21627,9 @@ func (m *awsRestxml_deserializeOpPublishFunction) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorPublishFunction(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorTestFunction(response, &metadata) } - output := &PublishFunctionOutput{} + output := &TestFunctionOutput{} out.Result = output var buff [1024]byte @@ -18888,7 +21650,7 @@ func (m *awsRestxml_deserializeOpPublishFunction) HandleDeserialize(ctx context. } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentFunctionSummary(&output.FunctionSummary, decoder) + err = awsRestxml_deserializeDocumentTestResult(&output.TestResult, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -18902,7 +21664,7 @@ func (m *awsRestxml_deserializeOpPublishFunction) HandleDeserialize(ctx context. return out, metadata, err } -func awsRestxml_deserializeOpErrorPublishFunction(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorTestFunction(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -18936,8 +21698,8 @@ func awsRestxml_deserializeOpErrorPublishFunction(response *smithyhttp.Response, case strings.EqualFold("NoSuchFunctionExists", errorCode): return awsRestxml_deserializeErrorNoSuchFunctionExists(response, errorBody) - case strings.EqualFold("PreconditionFailed", errorCode): - return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) + case strings.EqualFold("TestFunctionFailed", errorCode): + return awsRestxml_deserializeErrorTestFunctionFailed(response, errorBody) case strings.EqualFold("UnsupportedOperation", errorCode): return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) @@ -18952,13 +21714,13 @@ func awsRestxml_deserializeOpErrorPublishFunction(response *smithyhttp.Response, } } -func awsRestxml_deserializeOpDocumentPublishFunctionOutput(v **PublishFunctionOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentTestFunctionOutput(v **TestFunctionOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *PublishFunctionOutput + var sv *TestFunctionOutput if *v == nil { - sv = &PublishFunctionOutput{} + sv = &TestFunctionOutput{} } else { sv = *v } @@ -18974,9 +21736,9 @@ func awsRestxml_deserializeOpDocumentPublishFunctionOutput(v **PublishFunctionOu originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("FunctionSummary", t.Name.Local): + case strings.EqualFold("TestResult", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentFunctionSummary(&sv.FunctionSummary, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentTestResult(&sv.TestResult, nodeDecoder); err != nil { return err } @@ -18994,14 +21756,14 @@ func awsRestxml_deserializeOpDocumentPublishFunctionOutput(v **PublishFunctionOu return nil } -type awsRestxml_deserializeOpTagResource struct { +type awsRestxml_deserializeOpUntagResource struct { } -func (*awsRestxml_deserializeOpTagResource) ID() string { +func (*awsRestxml_deserializeOpUntagResource) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpTagResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpUntagResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -19019,9 +21781,9 @@ func (m *awsRestxml_deserializeOpTagResource) HandleDeserialize(ctx context.Cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorTagResource(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorUntagResource(response, &metadata) } - output := &TagResourceOutput{} + output := &UntagResourceOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -19034,7 +21796,7 @@ func (m *awsRestxml_deserializeOpTagResource) HandleDeserialize(ctx context.Cont return out, metadata, err } -func awsRestxml_deserializeOpErrorTagResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorUntagResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -19081,14 +21843,14 @@ func awsRestxml_deserializeOpErrorTagResource(response *smithyhttp.Response, met } } -type awsRestxml_deserializeOpTestFunction struct { +type awsRestxml_deserializeOpUpdateAnycastIpList struct { } -func (*awsRestxml_deserializeOpTestFunction) ID() string { +func (*awsRestxml_deserializeOpUpdateAnycastIpList) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpTestFunction) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpUpdateAnycastIpList) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -19106,11 +21868,16 @@ func (m *awsRestxml_deserializeOpTestFunction) HandleDeserialize(ctx context.Con } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorTestFunction(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorUpdateAnycastIpList(response, &metadata) } - output := &TestFunctionOutput{} + output := &UpdateAnycastIpListOutput{} out.Result = output + err = awsRestxml_deserializeOpHttpBindingsUpdateAnycastIpListOutput(output, response) + if err != nil { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} + } + var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(response.Body, ringBuffer) @@ -19129,7 +21896,7 @@ func (m *awsRestxml_deserializeOpTestFunction) HandleDeserialize(ctx context.Con } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentTestResult(&output.TestResult, decoder) + err = awsRestxml_deserializeDocumentAnycastIpList(&output.AnycastIpList, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -19143,7 +21910,7 @@ func (m *awsRestxml_deserializeOpTestFunction) HandleDeserialize(ctx context.Con return out, metadata, err } -func awsRestxml_deserializeOpErrorTestFunction(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorUpdateAnycastIpList(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -19168,17 +21935,20 @@ func awsRestxml_deserializeOpErrorTestFunction(response *smithyhttp.Response, me } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) case strings.EqualFold("InvalidIfMatchVersion", errorCode): return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) - case strings.EqualFold("NoSuchFunctionExists", errorCode): - return awsRestxml_deserializeErrorNoSuchFunctionExists(response, errorBody) - - case strings.EqualFold("TestFunctionFailed", errorCode): - return awsRestxml_deserializeErrorTestFunctionFailed(response, errorBody) + case strings.EqualFold("PreconditionFailed", errorCode): + return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) case strings.EqualFold("UnsupportedOperation", errorCode): return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) @@ -19193,13 +21963,25 @@ func awsRestxml_deserializeOpErrorTestFunction(response *smithyhttp.Response, me } } -func awsRestxml_deserializeOpDocumentTestFunctionOutput(v **TestFunctionOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpHttpBindingsUpdateAnycastIpListOutput(v *UpdateAnycastIpListOutput, response *smithyhttp.Response) error { + if v == nil { + return fmt.Errorf("unsupported deserialization for nil %T", v) + } + + if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.ETag = ptr.String(headerValues[0]) + } + + return nil +} +func awsRestxml_deserializeOpDocumentUpdateAnycastIpListOutput(v **UpdateAnycastIpListOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *TestFunctionOutput + var sv *UpdateAnycastIpListOutput if *v == nil { - sv = &TestFunctionOutput{} + sv = &UpdateAnycastIpListOutput{} } else { sv = *v } @@ -19215,9 +21997,9 @@ func awsRestxml_deserializeOpDocumentTestFunctionOutput(v **TestFunctionOutput, originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("TestResult", t.Name.Local): + case strings.EqualFold("AnycastIpList", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentTestResult(&sv.TestResult, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentAnycastIpList(&sv.AnycastIpList, nodeDecoder); err != nil { return err } @@ -19235,14 +22017,14 @@ func awsRestxml_deserializeOpDocumentTestFunctionOutput(v **TestFunctionOutput, return nil } -type awsRestxml_deserializeOpUntagResource struct { +type awsRestxml_deserializeOpUpdateCachePolicy struct { } -func (*awsRestxml_deserializeOpUntagResource) ID() string { +func (*awsRestxml_deserializeOpUpdateCachePolicy) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpUntagResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpUpdateCachePolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -19260,14 +22042,41 @@ func (m *awsRestxml_deserializeOpUntagResource) HandleDeserialize(ctx context.Co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorUntagResource(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorUpdateCachePolicy(response, &metadata) } - output := &UntagResourceOutput{} + output := &UpdateCachePolicyOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + err = awsRestxml_deserializeOpHttpBindingsUpdateCachePolicyOutput(output, response) + if err != nil { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to discard response body, %w", err), + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentCachePolicy(&output.CachePolicy, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), } } @@ -19275,7 +22084,7 @@ func (m *awsRestxml_deserializeOpUntagResource) HandleDeserialize(ctx context.Co return out, metadata, err } -func awsRestxml_deserializeOpErrorUntagResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorUpdateCachePolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -19303,14 +22112,35 @@ func awsRestxml_deserializeOpErrorUntagResource(response *smithyhttp.Response, m case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + case strings.EqualFold("CachePolicyAlreadyExists", errorCode): + return awsRestxml_deserializeErrorCachePolicyAlreadyExists(response, errorBody) + + case strings.EqualFold("IllegalUpdate", errorCode): + return awsRestxml_deserializeErrorIllegalUpdate(response, errorBody) + + case strings.EqualFold("InconsistentQuantities", errorCode): + return awsRestxml_deserializeErrorInconsistentQuantities(response, errorBody) + case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("InvalidTagging", errorCode): - return awsRestxml_deserializeErrorInvalidTagging(response, errorBody) + case strings.EqualFold("InvalidIfMatchVersion", errorCode): + return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) - case strings.EqualFold("NoSuchResource", errorCode): - return awsRestxml_deserializeErrorNoSuchResource(response, errorBody) + case strings.EqualFold("NoSuchCachePolicy", errorCode): + return awsRestxml_deserializeErrorNoSuchCachePolicy(response, errorBody) + + case strings.EqualFold("PreconditionFailed", errorCode): + return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) + + case strings.EqualFold("TooManyCookiesInCachePolicy", errorCode): + return awsRestxml_deserializeErrorTooManyCookiesInCachePolicy(response, errorBody) + + case strings.EqualFold("TooManyHeadersInCachePolicy", errorCode): + return awsRestxml_deserializeErrorTooManyHeadersInCachePolicy(response, errorBody) + + case strings.EqualFold("TooManyQueryStringsInCachePolicy", errorCode): + return awsRestxml_deserializeErrorTooManyQueryStringsInCachePolicy(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -19322,14 +22152,68 @@ func awsRestxml_deserializeOpErrorUntagResource(response *smithyhttp.Response, m } } -type awsRestxml_deserializeOpUpdateCachePolicy struct { +func awsRestxml_deserializeOpHttpBindingsUpdateCachePolicyOutput(v *UpdateCachePolicyOutput, response *smithyhttp.Response) error { + if v == nil { + return fmt.Errorf("unsupported deserialization for nil %T", v) + } + + if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.ETag = ptr.String(headerValues[0]) + } + + return nil } +func awsRestxml_deserializeOpDocumentUpdateCachePolicyOutput(v **UpdateCachePolicyOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *UpdateCachePolicyOutput + if *v == nil { + sv = &UpdateCachePolicyOutput{} + } else { + sv = *v + } -func (*awsRestxml_deserializeOpUpdateCachePolicy) ID() string { + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("CachePolicy", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentCachePolicy(&sv.CachePolicy, nodeDecoder); err != nil { + return err + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +type awsRestxml_deserializeOpUpdateCloudFrontOriginAccessIdentity struct { +} + +func (*awsRestxml_deserializeOpUpdateCloudFrontOriginAccessIdentity) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpUpdateCachePolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpUpdateCloudFrontOriginAccessIdentity) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -19347,12 +22231,12 @@ func (m *awsRestxml_deserializeOpUpdateCachePolicy) HandleDeserialize(ctx contex } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorUpdateCachePolicy(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorUpdateCloudFrontOriginAccessIdentity(response, &metadata) } - output := &UpdateCachePolicyOutput{} + output := &UpdateCloudFrontOriginAccessIdentityOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsUpdateCachePolicyOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsUpdateCloudFrontOriginAccessIdentityOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -19375,7 +22259,7 @@ func (m *awsRestxml_deserializeOpUpdateCachePolicy) HandleDeserialize(ctx contex } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentCachePolicy(&output.CachePolicy, decoder) + err = awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentity(&output.CloudFrontOriginAccessIdentity, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -19389,7 +22273,7 @@ func (m *awsRestxml_deserializeOpUpdateCachePolicy) HandleDeserialize(ctx contex return out, metadata, err } -func awsRestxml_deserializeOpErrorUpdateCachePolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorUpdateCloudFrontOriginAccessIdentity(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -19417,9 +22301,6 @@ func awsRestxml_deserializeOpErrorUpdateCachePolicy(response *smithyhttp.Respons case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("CachePolicyAlreadyExists", errorCode): - return awsRestxml_deserializeErrorCachePolicyAlreadyExists(response, errorBody) - case strings.EqualFold("IllegalUpdate", errorCode): return awsRestxml_deserializeErrorIllegalUpdate(response, errorBody) @@ -19432,21 +22313,15 @@ func awsRestxml_deserializeOpErrorUpdateCachePolicy(response *smithyhttp.Respons case strings.EqualFold("InvalidIfMatchVersion", errorCode): return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) - case strings.EqualFold("NoSuchCachePolicy", errorCode): - return awsRestxml_deserializeErrorNoSuchCachePolicy(response, errorBody) + case strings.EqualFold("MissingBody", errorCode): + return awsRestxml_deserializeErrorMissingBody(response, errorBody) + + case strings.EqualFold("NoSuchCloudFrontOriginAccessIdentity", errorCode): + return awsRestxml_deserializeErrorNoSuchCloudFrontOriginAccessIdentity(response, errorBody) case strings.EqualFold("PreconditionFailed", errorCode): return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) - case strings.EqualFold("TooManyCookiesInCachePolicy", errorCode): - return awsRestxml_deserializeErrorTooManyCookiesInCachePolicy(response, errorBody) - - case strings.EqualFold("TooManyHeadersInCachePolicy", errorCode): - return awsRestxml_deserializeErrorTooManyHeadersInCachePolicy(response, errorBody) - - case strings.EqualFold("TooManyQueryStringsInCachePolicy", errorCode): - return awsRestxml_deserializeErrorTooManyQueryStringsInCachePolicy(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -19457,7 +22332,7 @@ func awsRestxml_deserializeOpErrorUpdateCachePolicy(response *smithyhttp.Respons } } -func awsRestxml_deserializeOpHttpBindingsUpdateCachePolicyOutput(v *UpdateCachePolicyOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsUpdateCloudFrontOriginAccessIdentityOutput(v *UpdateCloudFrontOriginAccessIdentityOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -19469,13 +22344,13 @@ func awsRestxml_deserializeOpHttpBindingsUpdateCachePolicyOutput(v *UpdateCacheP return nil } -func awsRestxml_deserializeOpDocumentUpdateCachePolicyOutput(v **UpdateCachePolicyOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentUpdateCloudFrontOriginAccessIdentityOutput(v **UpdateCloudFrontOriginAccessIdentityOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *UpdateCachePolicyOutput + var sv *UpdateCloudFrontOriginAccessIdentityOutput if *v == nil { - sv = &UpdateCachePolicyOutput{} + sv = &UpdateCloudFrontOriginAccessIdentityOutput{} } else { sv = *v } @@ -19491,9 +22366,9 @@ func awsRestxml_deserializeOpDocumentUpdateCachePolicyOutput(v **UpdateCachePoli originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("CachePolicy", t.Name.Local): + case strings.EqualFold("CloudFrontOriginAccessIdentity", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentCachePolicy(&sv.CachePolicy, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentity(&sv.CloudFrontOriginAccessIdentity, nodeDecoder); err != nil { return err } @@ -19511,14 +22386,14 @@ func awsRestxml_deserializeOpDocumentUpdateCachePolicyOutput(v **UpdateCachePoli return nil } -type awsRestxml_deserializeOpUpdateCloudFrontOriginAccessIdentity struct { +type awsRestxml_deserializeOpUpdateConnectionFunction struct { } -func (*awsRestxml_deserializeOpUpdateCloudFrontOriginAccessIdentity) ID() string { +func (*awsRestxml_deserializeOpUpdateConnectionFunction) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpUpdateCloudFrontOriginAccessIdentity) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpUpdateConnectionFunction) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -19536,12 +22411,12 @@ func (m *awsRestxml_deserializeOpUpdateCloudFrontOriginAccessIdentity) HandleDes } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorUpdateCloudFrontOriginAccessIdentity(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorUpdateConnectionFunction(response, &metadata) } - output := &UpdateCloudFrontOriginAccessIdentityOutput{} + output := &UpdateConnectionFunctionOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsUpdateCloudFrontOriginAccessIdentityOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsUpdateConnectionFunctionOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -19564,7 +22439,7 @@ func (m *awsRestxml_deserializeOpUpdateCloudFrontOriginAccessIdentity) HandleDes } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentity(&output.CloudFrontOriginAccessIdentity, decoder) + err = awsRestxml_deserializeDocumentConnectionFunctionSummary(&output.ConnectionFunctionSummary, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -19578,7 +22453,7 @@ func (m *awsRestxml_deserializeOpUpdateCloudFrontOriginAccessIdentity) HandleDes return out, metadata, err } -func awsRestxml_deserializeOpErrorUpdateCloudFrontOriginAccessIdentity(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorUpdateConnectionFunction(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -19606,11 +22481,11 @@ func awsRestxml_deserializeOpErrorUpdateCloudFrontOriginAccessIdentity(response case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("IllegalUpdate", errorCode): - return awsRestxml_deserializeErrorIllegalUpdate(response, errorBody) + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) - case strings.EqualFold("InconsistentQuantities", errorCode): - return awsRestxml_deserializeErrorInconsistentQuantities(response, errorBody) + case strings.EqualFold("EntitySizeLimitExceeded", errorCode): + return awsRestxml_deserializeErrorEntitySizeLimitExceeded(response, errorBody) case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) @@ -19618,15 +22493,12 @@ func awsRestxml_deserializeOpErrorUpdateCloudFrontOriginAccessIdentity(response case strings.EqualFold("InvalidIfMatchVersion", errorCode): return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) - case strings.EqualFold("MissingBody", errorCode): - return awsRestxml_deserializeErrorMissingBody(response, errorBody) - - case strings.EqualFold("NoSuchCloudFrontOriginAccessIdentity", errorCode): - return awsRestxml_deserializeErrorNoSuchCloudFrontOriginAccessIdentity(response, errorBody) - case strings.EqualFold("PreconditionFailed", errorCode): return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -19637,7 +22509,7 @@ func awsRestxml_deserializeOpErrorUpdateCloudFrontOriginAccessIdentity(response } } -func awsRestxml_deserializeOpHttpBindingsUpdateCloudFrontOriginAccessIdentityOutput(v *UpdateCloudFrontOriginAccessIdentityOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsUpdateConnectionFunctionOutput(v *UpdateConnectionFunctionOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -19649,13 +22521,13 @@ func awsRestxml_deserializeOpHttpBindingsUpdateCloudFrontOriginAccessIdentityOut return nil } -func awsRestxml_deserializeOpDocumentUpdateCloudFrontOriginAccessIdentityOutput(v **UpdateCloudFrontOriginAccessIdentityOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentUpdateConnectionFunctionOutput(v **UpdateConnectionFunctionOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *UpdateCloudFrontOriginAccessIdentityOutput + var sv *UpdateConnectionFunctionOutput if *v == nil { - sv = &UpdateCloudFrontOriginAccessIdentityOutput{} + sv = &UpdateConnectionFunctionOutput{} } else { sv = *v } @@ -19671,9 +22543,9 @@ func awsRestxml_deserializeOpDocumentUpdateCloudFrontOriginAccessIdentityOutput( originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("CloudFrontOriginAccessIdentity", t.Name.Local): + case strings.EqualFold("ConnectionFunctionSummary", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentity(&sv.CloudFrontOriginAccessIdentity, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentConnectionFunctionSummary(&sv.ConnectionFunctionSummary, nodeDecoder); err != nil { return err } @@ -20686,6 +23558,9 @@ func awsRestxml_deserializeOpErrorUpdateDistributionWithStagingConfig(response * case strings.EqualFold("CNAMEAlreadyExists", errorCode): return awsRestxml_deserializeErrorCNAMEAlreadyExists(response, errorBody) + case strings.EqualFold("EntityLimitExceeded", errorCode): + return awsRestxml_deserializeErrorEntityLimitExceeded(response, errorBody) + case strings.EqualFold("EntityNotFound", errorCode): return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) @@ -21405,20 +24280,200 @@ func awsRestxml_deserializeOpErrorUpdateFieldLevelEncryptionProfile(response *sm } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("AccessDenied", errorCode): - return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - - case strings.EqualFold("FieldLevelEncryptionProfileAlreadyExists", errorCode): - return awsRestxml_deserializeErrorFieldLevelEncryptionProfileAlreadyExists(response, errorBody) - - case strings.EqualFold("FieldLevelEncryptionProfileSizeExceeded", errorCode): - return awsRestxml_deserializeErrorFieldLevelEncryptionProfileSizeExceeded(response, errorBody) - - case strings.EqualFold("IllegalUpdate", errorCode): - return awsRestxml_deserializeErrorIllegalUpdate(response, errorBody) - - case strings.EqualFold("InconsistentQuantities", errorCode): - return awsRestxml_deserializeErrorInconsistentQuantities(response, errorBody) + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("FieldLevelEncryptionProfileAlreadyExists", errorCode): + return awsRestxml_deserializeErrorFieldLevelEncryptionProfileAlreadyExists(response, errorBody) + + case strings.EqualFold("FieldLevelEncryptionProfileSizeExceeded", errorCode): + return awsRestxml_deserializeErrorFieldLevelEncryptionProfileSizeExceeded(response, errorBody) + + case strings.EqualFold("IllegalUpdate", errorCode): + return awsRestxml_deserializeErrorIllegalUpdate(response, errorBody) + + case strings.EqualFold("InconsistentQuantities", errorCode): + return awsRestxml_deserializeErrorInconsistentQuantities(response, errorBody) + + case strings.EqualFold("InvalidArgument", errorCode): + return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) + + case strings.EqualFold("InvalidIfMatchVersion", errorCode): + return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) + + case strings.EqualFold("NoSuchFieldLevelEncryptionProfile", errorCode): + return awsRestxml_deserializeErrorNoSuchFieldLevelEncryptionProfile(response, errorBody) + + case strings.EqualFold("NoSuchPublicKey", errorCode): + return awsRestxml_deserializeErrorNoSuchPublicKey(response, errorBody) + + case strings.EqualFold("PreconditionFailed", errorCode): + return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) + + case strings.EqualFold("TooManyFieldLevelEncryptionEncryptionEntities", errorCode): + return awsRestxml_deserializeErrorTooManyFieldLevelEncryptionEncryptionEntities(response, errorBody) + + case strings.EqualFold("TooManyFieldLevelEncryptionFieldPatterns", errorCode): + return awsRestxml_deserializeErrorTooManyFieldLevelEncryptionFieldPatterns(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestxml_deserializeOpHttpBindingsUpdateFieldLevelEncryptionProfileOutput(v *UpdateFieldLevelEncryptionProfileOutput, response *smithyhttp.Response) error { + if v == nil { + return fmt.Errorf("unsupported deserialization for nil %T", v) + } + + if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.ETag = ptr.String(headerValues[0]) + } + + return nil +} +func awsRestxml_deserializeOpDocumentUpdateFieldLevelEncryptionProfileOutput(v **UpdateFieldLevelEncryptionProfileOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *UpdateFieldLevelEncryptionProfileOutput + if *v == nil { + sv = &UpdateFieldLevelEncryptionProfileOutput{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("FieldLevelEncryptionProfile", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentFieldLevelEncryptionProfile(&sv.FieldLevelEncryptionProfile, nodeDecoder); err != nil { + return err + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +type awsRestxml_deserializeOpUpdateFunction struct { +} + +func (*awsRestxml_deserializeOpUpdateFunction) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpUpdateFunction) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorUpdateFunction(response, &metadata) + } + output := &UpdateFunctionOutput{} + out.Result = output + + err = awsRestxml_deserializeOpHttpBindingsUpdateFunctionOutput(output, response) + if err != nil { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentFunctionSummary(&output.FunctionSummary, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + span.End() + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorUpdateFunction(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("FunctionSizeLimitExceeded", errorCode): + return awsRestxml_deserializeErrorFunctionSizeLimitExceeded(response, errorBody) case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) @@ -21426,20 +24481,14 @@ func awsRestxml_deserializeOpErrorUpdateFieldLevelEncryptionProfile(response *sm case strings.EqualFold("InvalidIfMatchVersion", errorCode): return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) - case strings.EqualFold("NoSuchFieldLevelEncryptionProfile", errorCode): - return awsRestxml_deserializeErrorNoSuchFieldLevelEncryptionProfile(response, errorBody) - - case strings.EqualFold("NoSuchPublicKey", errorCode): - return awsRestxml_deserializeErrorNoSuchPublicKey(response, errorBody) + case strings.EqualFold("NoSuchFunctionExists", errorCode): + return awsRestxml_deserializeErrorNoSuchFunctionExists(response, errorBody) case strings.EqualFold("PreconditionFailed", errorCode): return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) - case strings.EqualFold("TooManyFieldLevelEncryptionEncryptionEntities", errorCode): - return awsRestxml_deserializeErrorTooManyFieldLevelEncryptionEncryptionEntities(response, errorBody) - - case strings.EqualFold("TooManyFieldLevelEncryptionFieldPatterns", errorCode): - return awsRestxml_deserializeErrorTooManyFieldLevelEncryptionFieldPatterns(response, errorBody) + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -21451,25 +24500,25 @@ func awsRestxml_deserializeOpErrorUpdateFieldLevelEncryptionProfile(response *sm } } -func awsRestxml_deserializeOpHttpBindingsUpdateFieldLevelEncryptionProfileOutput(v *UpdateFieldLevelEncryptionProfileOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsUpdateFunctionOutput(v *UpdateFunctionOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } - if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { + if headerValues := response.Header.Values("ETtag"); len(headerValues) != 0 { headerValues[0] = strings.TrimSpace(headerValues[0]) v.ETag = ptr.String(headerValues[0]) } return nil } -func awsRestxml_deserializeOpDocumentUpdateFieldLevelEncryptionProfileOutput(v **UpdateFieldLevelEncryptionProfileOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentUpdateFunctionOutput(v **UpdateFunctionOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *UpdateFieldLevelEncryptionProfileOutput + var sv *UpdateFunctionOutput if *v == nil { - sv = &UpdateFieldLevelEncryptionProfileOutput{} + sv = &UpdateFunctionOutput{} } else { sv = *v } @@ -21485,9 +24534,9 @@ func awsRestxml_deserializeOpDocumentUpdateFieldLevelEncryptionProfileOutput(v * originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("FieldLevelEncryptionProfile", t.Name.Local): + case strings.EqualFold("FunctionSummary", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentFieldLevelEncryptionProfile(&sv.FieldLevelEncryptionProfile, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentFunctionSummary(&sv.FunctionSummary, nodeDecoder); err != nil { return err } @@ -21505,14 +24554,14 @@ func awsRestxml_deserializeOpDocumentUpdateFieldLevelEncryptionProfileOutput(v * return nil } -type awsRestxml_deserializeOpUpdateFunction struct { +type awsRestxml_deserializeOpUpdateKeyGroup struct { } -func (*awsRestxml_deserializeOpUpdateFunction) ID() string { +func (*awsRestxml_deserializeOpUpdateKeyGroup) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpUpdateFunction) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpUpdateKeyGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -21530,12 +24579,12 @@ func (m *awsRestxml_deserializeOpUpdateFunction) HandleDeserialize(ctx context.C } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorUpdateFunction(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorUpdateKeyGroup(response, &metadata) } - output := &UpdateFunctionOutput{} + output := &UpdateKeyGroupOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsUpdateFunctionOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsUpdateKeyGroupOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -21558,7 +24607,7 @@ func (m *awsRestxml_deserializeOpUpdateFunction) HandleDeserialize(ctx context.C } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentFunctionSummary(&output.FunctionSummary, decoder) + err = awsRestxml_deserializeDocumentKeyGroup(&output.KeyGroup, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -21572,7 +24621,7 @@ func (m *awsRestxml_deserializeOpUpdateFunction) HandleDeserialize(ctx context.C return out, metadata, err } -func awsRestxml_deserializeOpErrorUpdateFunction(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorUpdateKeyGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -21597,23 +24646,23 @@ func awsRestxml_deserializeOpErrorUpdateFunction(response *smithyhttp.Response, } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("FunctionSizeLimitExceeded", errorCode): - return awsRestxml_deserializeErrorFunctionSizeLimitExceeded(response, errorBody) - case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) case strings.EqualFold("InvalidIfMatchVersion", errorCode): return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) - case strings.EqualFold("NoSuchFunctionExists", errorCode): - return awsRestxml_deserializeErrorNoSuchFunctionExists(response, errorBody) + case strings.EqualFold("KeyGroupAlreadyExists", errorCode): + return awsRestxml_deserializeErrorKeyGroupAlreadyExists(response, errorBody) + + case strings.EqualFold("NoSuchResource", errorCode): + return awsRestxml_deserializeErrorNoSuchResource(response, errorBody) case strings.EqualFold("PreconditionFailed", errorCode): return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) - case strings.EqualFold("UnsupportedOperation", errorCode): - return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) + case strings.EqualFold("TooManyPublicKeysInKeyGroup", errorCode): + return awsRestxml_deserializeErrorTooManyPublicKeysInKeyGroup(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -21625,25 +24674,25 @@ func awsRestxml_deserializeOpErrorUpdateFunction(response *smithyhttp.Response, } } -func awsRestxml_deserializeOpHttpBindingsUpdateFunctionOutput(v *UpdateFunctionOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsUpdateKeyGroupOutput(v *UpdateKeyGroupOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } - if headerValues := response.Header.Values("ETtag"); len(headerValues) != 0 { + if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { headerValues[0] = strings.TrimSpace(headerValues[0]) v.ETag = ptr.String(headerValues[0]) } return nil } -func awsRestxml_deserializeOpDocumentUpdateFunctionOutput(v **UpdateFunctionOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentUpdateKeyGroupOutput(v **UpdateKeyGroupOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *UpdateFunctionOutput + var sv *UpdateKeyGroupOutput if *v == nil { - sv = &UpdateFunctionOutput{} + sv = &UpdateKeyGroupOutput{} } else { sv = *v } @@ -21659,9 +24708,9 @@ func awsRestxml_deserializeOpDocumentUpdateFunctionOutput(v **UpdateFunctionOutp originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("FunctionSummary", t.Name.Local): + case strings.EqualFold("KeyGroup", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentFunctionSummary(&sv.FunctionSummary, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentKeyGroup(&sv.KeyGroup, nodeDecoder); err != nil { return err } @@ -21679,14 +24728,14 @@ func awsRestxml_deserializeOpDocumentUpdateFunctionOutput(v **UpdateFunctionOutp return nil } -type awsRestxml_deserializeOpUpdateKeyGroup struct { +type awsRestxml_deserializeOpUpdateKeyValueStore struct { } -func (*awsRestxml_deserializeOpUpdateKeyGroup) ID() string { +func (*awsRestxml_deserializeOpUpdateKeyValueStore) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpUpdateKeyGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpUpdateKeyValueStore) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -21704,12 +24753,12 @@ func (m *awsRestxml_deserializeOpUpdateKeyGroup) HandleDeserialize(ctx context.C } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorUpdateKeyGroup(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorUpdateKeyValueStore(response, &metadata) } - output := &UpdateKeyGroupOutput{} + output := &UpdateKeyValueStoreOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsUpdateKeyGroupOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsUpdateKeyValueStoreOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -21732,7 +24781,7 @@ func (m *awsRestxml_deserializeOpUpdateKeyGroup) HandleDeserialize(ctx context.C } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentKeyGroup(&output.KeyGroup, decoder) + err = awsRestxml_deserializeDocumentKeyValueStore(&output.KeyValueStore, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -21746,7 +24795,7 @@ func (m *awsRestxml_deserializeOpUpdateKeyGroup) HandleDeserialize(ctx context.C return out, metadata, err } -func awsRestxml_deserializeOpErrorUpdateKeyGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorUpdateKeyValueStore(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -21771,23 +24820,23 @@ func awsRestxml_deserializeOpErrorUpdateKeyGroup(response *smithyhttp.Response, } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) case strings.EqualFold("InvalidIfMatchVersion", errorCode): return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) - case strings.EqualFold("KeyGroupAlreadyExists", errorCode): - return awsRestxml_deserializeErrorKeyGroupAlreadyExists(response, errorBody) - - case strings.EqualFold("NoSuchResource", errorCode): - return awsRestxml_deserializeErrorNoSuchResource(response, errorBody) - case strings.EqualFold("PreconditionFailed", errorCode): return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) - case strings.EqualFold("TooManyPublicKeysInKeyGroup", errorCode): - return awsRestxml_deserializeErrorTooManyPublicKeysInKeyGroup(response, errorBody) + case strings.EqualFold("UnsupportedOperation", errorCode): + return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -21799,7 +24848,7 @@ func awsRestxml_deserializeOpErrorUpdateKeyGroup(response *smithyhttp.Response, } } -func awsRestxml_deserializeOpHttpBindingsUpdateKeyGroupOutput(v *UpdateKeyGroupOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsUpdateKeyValueStoreOutput(v *UpdateKeyValueStoreOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -21811,13 +24860,13 @@ func awsRestxml_deserializeOpHttpBindingsUpdateKeyGroupOutput(v *UpdateKeyGroupO return nil } -func awsRestxml_deserializeOpDocumentUpdateKeyGroupOutput(v **UpdateKeyGroupOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentUpdateKeyValueStoreOutput(v **UpdateKeyValueStoreOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *UpdateKeyGroupOutput + var sv *UpdateKeyValueStoreOutput if *v == nil { - sv = &UpdateKeyGroupOutput{} + sv = &UpdateKeyValueStoreOutput{} } else { sv = *v } @@ -21833,9 +24882,9 @@ func awsRestxml_deserializeOpDocumentUpdateKeyGroupOutput(v **UpdateKeyGroupOutp originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("KeyGroup", t.Name.Local): + case strings.EqualFold("KeyValueStore", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentKeyGroup(&sv.KeyGroup, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentKeyValueStore(&sv.KeyValueStore, nodeDecoder); err != nil { return err } @@ -21853,14 +24902,14 @@ func awsRestxml_deserializeOpDocumentUpdateKeyGroupOutput(v **UpdateKeyGroupOutp return nil } -type awsRestxml_deserializeOpUpdateKeyValueStore struct { +type awsRestxml_deserializeOpUpdateOriginAccessControl struct { } -func (*awsRestxml_deserializeOpUpdateKeyValueStore) ID() string { +func (*awsRestxml_deserializeOpUpdateOriginAccessControl) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpUpdateKeyValueStore) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpUpdateOriginAccessControl) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -21878,12 +24927,12 @@ func (m *awsRestxml_deserializeOpUpdateKeyValueStore) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorUpdateKeyValueStore(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorUpdateOriginAccessControl(response, &metadata) } - output := &UpdateKeyValueStoreOutput{} + output := &UpdateOriginAccessControlOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsUpdateKeyValueStoreOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsUpdateOriginAccessControlOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -21906,7 +24955,7 @@ func (m *awsRestxml_deserializeOpUpdateKeyValueStore) HandleDeserialize(ctx cont } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentKeyValueStore(&output.KeyValueStore, decoder) + err = awsRestxml_deserializeDocumentOriginAccessControl(&output.OriginAccessControl, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -21920,7 +24969,7 @@ func (m *awsRestxml_deserializeOpUpdateKeyValueStore) HandleDeserialize(ctx cont return out, metadata, err } -func awsRestxml_deserializeOpErrorUpdateKeyValueStore(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorUpdateOriginAccessControl(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -21948,8 +24997,8 @@ func awsRestxml_deserializeOpErrorUpdateKeyValueStore(response *smithyhttp.Respo case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("EntityNotFound", errorCode): - return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) + case strings.EqualFold("IllegalUpdate", errorCode): + return awsRestxml_deserializeErrorIllegalUpdate(response, errorBody) case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) @@ -21957,12 +25006,15 @@ func awsRestxml_deserializeOpErrorUpdateKeyValueStore(response *smithyhttp.Respo case strings.EqualFold("InvalidIfMatchVersion", errorCode): return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) + case strings.EqualFold("NoSuchOriginAccessControl", errorCode): + return awsRestxml_deserializeErrorNoSuchOriginAccessControl(response, errorBody) + + case strings.EqualFold("OriginAccessControlAlreadyExists", errorCode): + return awsRestxml_deserializeErrorOriginAccessControlAlreadyExists(response, errorBody) + case strings.EqualFold("PreconditionFailed", errorCode): return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) - case strings.EqualFold("UnsupportedOperation", errorCode): - return awsRestxml_deserializeErrorUnsupportedOperation(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -21973,7 +25025,7 @@ func awsRestxml_deserializeOpErrorUpdateKeyValueStore(response *smithyhttp.Respo } } -func awsRestxml_deserializeOpHttpBindingsUpdateKeyValueStoreOutput(v *UpdateKeyValueStoreOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsUpdateOriginAccessControlOutput(v *UpdateOriginAccessControlOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -21985,13 +25037,13 @@ func awsRestxml_deserializeOpHttpBindingsUpdateKeyValueStoreOutput(v *UpdateKeyV return nil } -func awsRestxml_deserializeOpDocumentUpdateKeyValueStoreOutput(v **UpdateKeyValueStoreOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentUpdateOriginAccessControlOutput(v **UpdateOriginAccessControlOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *UpdateKeyValueStoreOutput + var sv *UpdateOriginAccessControlOutput if *v == nil { - sv = &UpdateKeyValueStoreOutput{} + sv = &UpdateOriginAccessControlOutput{} } else { sv = *v } @@ -22007,9 +25059,9 @@ func awsRestxml_deserializeOpDocumentUpdateKeyValueStoreOutput(v **UpdateKeyValu originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("KeyValueStore", t.Name.Local): + case strings.EqualFold("OriginAccessControl", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentKeyValueStore(&sv.KeyValueStore, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentOriginAccessControl(&sv.OriginAccessControl, nodeDecoder); err != nil { return err } @@ -22027,14 +25079,14 @@ func awsRestxml_deserializeOpDocumentUpdateKeyValueStoreOutput(v **UpdateKeyValu return nil } -type awsRestxml_deserializeOpUpdateOriginAccessControl struct { +type awsRestxml_deserializeOpUpdateOriginRequestPolicy struct { } -func (*awsRestxml_deserializeOpUpdateOriginAccessControl) ID() string { +func (*awsRestxml_deserializeOpUpdateOriginRequestPolicy) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpUpdateOriginAccessControl) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpUpdateOriginRequestPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -22052,12 +25104,12 @@ func (m *awsRestxml_deserializeOpUpdateOriginAccessControl) HandleDeserialize(ct } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorUpdateOriginAccessControl(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorUpdateOriginRequestPolicy(response, &metadata) } - output := &UpdateOriginAccessControlOutput{} + output := &UpdateOriginRequestPolicyOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsUpdateOriginAccessControlOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsUpdateOriginRequestPolicyOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -22080,7 +25132,7 @@ func (m *awsRestxml_deserializeOpUpdateOriginAccessControl) HandleDeserialize(ct } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentOriginAccessControl(&output.OriginAccessControl, decoder) + err = awsRestxml_deserializeDocumentOriginRequestPolicy(&output.OriginRequestPolicy, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -22094,7 +25146,7 @@ func (m *awsRestxml_deserializeOpUpdateOriginAccessControl) HandleDeserialize(ct return out, metadata, err } -func awsRestxml_deserializeOpErrorUpdateOriginAccessControl(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorUpdateOriginRequestPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -22125,21 +25177,33 @@ func awsRestxml_deserializeOpErrorUpdateOriginAccessControl(response *smithyhttp case strings.EqualFold("IllegalUpdate", errorCode): return awsRestxml_deserializeErrorIllegalUpdate(response, errorBody) + case strings.EqualFold("InconsistentQuantities", errorCode): + return awsRestxml_deserializeErrorInconsistentQuantities(response, errorBody) + case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) case strings.EqualFold("InvalidIfMatchVersion", errorCode): return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) - case strings.EqualFold("NoSuchOriginAccessControl", errorCode): - return awsRestxml_deserializeErrorNoSuchOriginAccessControl(response, errorBody) + case strings.EqualFold("NoSuchOriginRequestPolicy", errorCode): + return awsRestxml_deserializeErrorNoSuchOriginRequestPolicy(response, errorBody) - case strings.EqualFold("OriginAccessControlAlreadyExists", errorCode): - return awsRestxml_deserializeErrorOriginAccessControlAlreadyExists(response, errorBody) + case strings.EqualFold("OriginRequestPolicyAlreadyExists", errorCode): + return awsRestxml_deserializeErrorOriginRequestPolicyAlreadyExists(response, errorBody) case strings.EqualFold("PreconditionFailed", errorCode): return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) + case strings.EqualFold("TooManyCookiesInOriginRequestPolicy", errorCode): + return awsRestxml_deserializeErrorTooManyCookiesInOriginRequestPolicy(response, errorBody) + + case strings.EqualFold("TooManyHeadersInOriginRequestPolicy", errorCode): + return awsRestxml_deserializeErrorTooManyHeadersInOriginRequestPolicy(response, errorBody) + + case strings.EqualFold("TooManyQueryStringsInOriginRequestPolicy", errorCode): + return awsRestxml_deserializeErrorTooManyQueryStringsInOriginRequestPolicy(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -22150,7 +25214,7 @@ func awsRestxml_deserializeOpErrorUpdateOriginAccessControl(response *smithyhttp } } -func awsRestxml_deserializeOpHttpBindingsUpdateOriginAccessControlOutput(v *UpdateOriginAccessControlOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsUpdateOriginRequestPolicyOutput(v *UpdateOriginRequestPolicyOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -22162,13 +25226,13 @@ func awsRestxml_deserializeOpHttpBindingsUpdateOriginAccessControlOutput(v *Upda return nil } -func awsRestxml_deserializeOpDocumentUpdateOriginAccessControlOutput(v **UpdateOriginAccessControlOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentUpdateOriginRequestPolicyOutput(v **UpdateOriginRequestPolicyOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *UpdateOriginAccessControlOutput + var sv *UpdateOriginRequestPolicyOutput if *v == nil { - sv = &UpdateOriginAccessControlOutput{} + sv = &UpdateOriginRequestPolicyOutput{} } else { sv = *v } @@ -22184,9 +25248,9 @@ func awsRestxml_deserializeOpDocumentUpdateOriginAccessControlOutput(v **UpdateO originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("OriginAccessControl", t.Name.Local): + case strings.EqualFold("OriginRequestPolicy", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentOriginAccessControl(&sv.OriginAccessControl, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentOriginRequestPolicy(&sv.OriginRequestPolicy, nodeDecoder); err != nil { return err } @@ -22204,14 +25268,14 @@ func awsRestxml_deserializeOpDocumentUpdateOriginAccessControlOutput(v **UpdateO return nil } -type awsRestxml_deserializeOpUpdateOriginRequestPolicy struct { +type awsRestxml_deserializeOpUpdatePublicKey struct { } -func (*awsRestxml_deserializeOpUpdateOriginRequestPolicy) ID() string { +func (*awsRestxml_deserializeOpUpdatePublicKey) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpUpdateOriginRequestPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpUpdatePublicKey) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -22229,12 +25293,12 @@ func (m *awsRestxml_deserializeOpUpdateOriginRequestPolicy) HandleDeserialize(ct } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorUpdateOriginRequestPolicy(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorUpdatePublicKey(response, &metadata) } - output := &UpdateOriginRequestPolicyOutput{} + output := &UpdatePublicKeyOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsUpdateOriginRequestPolicyOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsUpdatePublicKeyOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -22257,7 +25321,7 @@ func (m *awsRestxml_deserializeOpUpdateOriginRequestPolicy) HandleDeserialize(ct } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentOriginRequestPolicy(&output.OriginRequestPolicy, decoder) + err = awsRestxml_deserializeDocumentPublicKey(&output.PublicKey, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -22271,7 +25335,7 @@ func (m *awsRestxml_deserializeOpUpdateOriginRequestPolicy) HandleDeserialize(ct return out, metadata, err } -func awsRestxml_deserializeOpErrorUpdateOriginRequestPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorUpdatePublicKey(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -22299,36 +25363,24 @@ func awsRestxml_deserializeOpErrorUpdateOriginRequestPolicy(response *smithyhttp case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + case strings.EqualFold("CannotChangeImmutablePublicKeyFields", errorCode): + return awsRestxml_deserializeErrorCannotChangeImmutablePublicKeyFields(response, errorBody) + case strings.EqualFold("IllegalUpdate", errorCode): return awsRestxml_deserializeErrorIllegalUpdate(response, errorBody) - case strings.EqualFold("InconsistentQuantities", errorCode): - return awsRestxml_deserializeErrorInconsistentQuantities(response, errorBody) - case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) case strings.EqualFold("InvalidIfMatchVersion", errorCode): return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) - case strings.EqualFold("NoSuchOriginRequestPolicy", errorCode): - return awsRestxml_deserializeErrorNoSuchOriginRequestPolicy(response, errorBody) - - case strings.EqualFold("OriginRequestPolicyAlreadyExists", errorCode): - return awsRestxml_deserializeErrorOriginRequestPolicyAlreadyExists(response, errorBody) + case strings.EqualFold("NoSuchPublicKey", errorCode): + return awsRestxml_deserializeErrorNoSuchPublicKey(response, errorBody) case strings.EqualFold("PreconditionFailed", errorCode): return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) - case strings.EqualFold("TooManyCookiesInOriginRequestPolicy", errorCode): - return awsRestxml_deserializeErrorTooManyCookiesInOriginRequestPolicy(response, errorBody) - - case strings.EqualFold("TooManyHeadersInOriginRequestPolicy", errorCode): - return awsRestxml_deserializeErrorTooManyHeadersInOriginRequestPolicy(response, errorBody) - - case strings.EqualFold("TooManyQueryStringsInOriginRequestPolicy", errorCode): - return awsRestxml_deserializeErrorTooManyQueryStringsInOriginRequestPolicy(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -22339,7 +25391,7 @@ func awsRestxml_deserializeOpErrorUpdateOriginRequestPolicy(response *smithyhttp } } -func awsRestxml_deserializeOpHttpBindingsUpdateOriginRequestPolicyOutput(v *UpdateOriginRequestPolicyOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsUpdatePublicKeyOutput(v *UpdatePublicKeyOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -22351,13 +25403,13 @@ func awsRestxml_deserializeOpHttpBindingsUpdateOriginRequestPolicyOutput(v *Upda return nil } -func awsRestxml_deserializeOpDocumentUpdateOriginRequestPolicyOutput(v **UpdateOriginRequestPolicyOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentUpdatePublicKeyOutput(v **UpdatePublicKeyOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *UpdateOriginRequestPolicyOutput + var sv *UpdatePublicKeyOutput if *v == nil { - sv = &UpdateOriginRequestPolicyOutput{} + sv = &UpdatePublicKeyOutput{} } else { sv = *v } @@ -22373,9 +25425,9 @@ func awsRestxml_deserializeOpDocumentUpdateOriginRequestPolicyOutput(v **UpdateO originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("OriginRequestPolicy", t.Name.Local): + case strings.EqualFold("PublicKey", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentOriginRequestPolicy(&sv.OriginRequestPolicy, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentPublicKey(&sv.PublicKey, nodeDecoder); err != nil { return err } @@ -22393,14 +25445,14 @@ func awsRestxml_deserializeOpDocumentUpdateOriginRequestPolicyOutput(v **UpdateO return nil } -type awsRestxml_deserializeOpUpdatePublicKey struct { +type awsRestxml_deserializeOpUpdateRealtimeLogConfig struct { } -func (*awsRestxml_deserializeOpUpdatePublicKey) ID() string { +func (*awsRestxml_deserializeOpUpdateRealtimeLogConfig) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpUpdatePublicKey) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpUpdateRealtimeLogConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -22418,16 +25470,11 @@ func (m *awsRestxml_deserializeOpUpdatePublicKey) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorUpdatePublicKey(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorUpdateRealtimeLogConfig(response, &metadata) } - output := &UpdatePublicKeyOutput{} + output := &UpdateRealtimeLogConfigOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsUpdatePublicKeyOutput(output, response) - if err != nil { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} - } - var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(response.Body, ringBuffer) @@ -22446,7 +25493,7 @@ func (m *awsRestxml_deserializeOpUpdatePublicKey) HandleDeserialize(ctx context. } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentPublicKey(&output.PublicKey, decoder) + err = awsRestxml_deserializeOpDocumentUpdateRealtimeLogConfigOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -22460,7 +25507,7 @@ func (m *awsRestxml_deserializeOpUpdatePublicKey) HandleDeserialize(ctx context. return out, metadata, err } -func awsRestxml_deserializeOpErrorUpdatePublicKey(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorUpdateRealtimeLogConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -22488,23 +25535,11 @@ func awsRestxml_deserializeOpErrorUpdatePublicKey(response *smithyhttp.Response, case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("CannotChangeImmutablePublicKeyFields", errorCode): - return awsRestxml_deserializeErrorCannotChangeImmutablePublicKeyFields(response, errorBody) - - case strings.EqualFold("IllegalUpdate", errorCode): - return awsRestxml_deserializeErrorIllegalUpdate(response, errorBody) - case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("InvalidIfMatchVersion", errorCode): - return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) - - case strings.EqualFold("NoSuchPublicKey", errorCode): - return awsRestxml_deserializeErrorNoSuchPublicKey(response, errorBody) - - case strings.EqualFold("PreconditionFailed", errorCode): - return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) + case strings.EqualFold("NoSuchRealtimeLogConfig", errorCode): + return awsRestxml_deserializeErrorNoSuchRealtimeLogConfig(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -22516,25 +25551,13 @@ func awsRestxml_deserializeOpErrorUpdatePublicKey(response *smithyhttp.Response, } } -func awsRestxml_deserializeOpHttpBindingsUpdatePublicKeyOutput(v *UpdatePublicKeyOutput, response *smithyhttp.Response) error { - if v == nil { - return fmt.Errorf("unsupported deserialization for nil %T", v) - } - - if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { - headerValues[0] = strings.TrimSpace(headerValues[0]) - v.ETag = ptr.String(headerValues[0]) - } - - return nil -} -func awsRestxml_deserializeOpDocumentUpdatePublicKeyOutput(v **UpdatePublicKeyOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentUpdateRealtimeLogConfigOutput(v **UpdateRealtimeLogConfigOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *UpdatePublicKeyOutput + var sv *UpdateRealtimeLogConfigOutput if *v == nil { - sv = &UpdatePublicKeyOutput{} + sv = &UpdateRealtimeLogConfigOutput{} } else { sv = *v } @@ -22550,9 +25573,9 @@ func awsRestxml_deserializeOpDocumentUpdatePublicKeyOutput(v **UpdatePublicKeyOu originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("PublicKey", t.Name.Local): + case strings.EqualFold("RealtimeLogConfig", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentPublicKey(&sv.PublicKey, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentRealtimeLogConfig(&sv.RealtimeLogConfig, nodeDecoder); err != nil { return err } @@ -22570,14 +25593,14 @@ func awsRestxml_deserializeOpDocumentUpdatePublicKeyOutput(v **UpdatePublicKeyOu return nil } -type awsRestxml_deserializeOpUpdateRealtimeLogConfig struct { +type awsRestxml_deserializeOpUpdateResponseHeadersPolicy struct { } -func (*awsRestxml_deserializeOpUpdateRealtimeLogConfig) ID() string { +func (*awsRestxml_deserializeOpUpdateResponseHeadersPolicy) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpUpdateRealtimeLogConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpUpdateResponseHeadersPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -22595,11 +25618,16 @@ func (m *awsRestxml_deserializeOpUpdateRealtimeLogConfig) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorUpdateRealtimeLogConfig(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorUpdateResponseHeadersPolicy(response, &metadata) } - output := &UpdateRealtimeLogConfigOutput{} + output := &UpdateResponseHeadersPolicyOutput{} out.Result = output + err = awsRestxml_deserializeOpHttpBindingsUpdateResponseHeadersPolicyOutput(output, response) + if err != nil { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} + } + var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(response.Body, ringBuffer) @@ -22618,7 +25646,7 @@ func (m *awsRestxml_deserializeOpUpdateRealtimeLogConfig) HandleDeserialize(ctx } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentUpdateRealtimeLogConfigOutput(&output, decoder) + err = awsRestxml_deserializeDocumentResponseHeadersPolicy(&output.ResponseHeadersPolicy, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -22632,7 +25660,7 @@ func (m *awsRestxml_deserializeOpUpdateRealtimeLogConfig) HandleDeserialize(ctx return out, metadata, err } -func awsRestxml_deserializeOpErrorUpdateRealtimeLogConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorUpdateResponseHeadersPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -22660,11 +25688,35 @@ func awsRestxml_deserializeOpErrorUpdateRealtimeLogConfig(response *smithyhttp.R case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + case strings.EqualFold("IllegalUpdate", errorCode): + return awsRestxml_deserializeErrorIllegalUpdate(response, errorBody) + + case strings.EqualFold("InconsistentQuantities", errorCode): + return awsRestxml_deserializeErrorInconsistentQuantities(response, errorBody) + case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) - case strings.EqualFold("NoSuchRealtimeLogConfig", errorCode): - return awsRestxml_deserializeErrorNoSuchRealtimeLogConfig(response, errorBody) + case strings.EqualFold("InvalidIfMatchVersion", errorCode): + return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) + + case strings.EqualFold("NoSuchResponseHeadersPolicy", errorCode): + return awsRestxml_deserializeErrorNoSuchResponseHeadersPolicy(response, errorBody) + + case strings.EqualFold("PreconditionFailed", errorCode): + return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) + + case strings.EqualFold("ResponseHeadersPolicyAlreadyExists", errorCode): + return awsRestxml_deserializeErrorResponseHeadersPolicyAlreadyExists(response, errorBody) + + case strings.EqualFold("TooLongCSPInResponseHeadersPolicy", errorCode): + return awsRestxml_deserializeErrorTooLongCSPInResponseHeadersPolicy(response, errorBody) + + case strings.EqualFold("TooManyCustomHeadersInResponseHeadersPolicy", errorCode): + return awsRestxml_deserializeErrorTooManyCustomHeadersInResponseHeadersPolicy(response, errorBody) + + case strings.EqualFold("TooManyRemoveHeadersInResponseHeadersPolicy", errorCode): + return awsRestxml_deserializeErrorTooManyRemoveHeadersInResponseHeadersPolicy(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -22676,13 +25728,25 @@ func awsRestxml_deserializeOpErrorUpdateRealtimeLogConfig(response *smithyhttp.R } } -func awsRestxml_deserializeOpDocumentUpdateRealtimeLogConfigOutput(v **UpdateRealtimeLogConfigOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpHttpBindingsUpdateResponseHeadersPolicyOutput(v *UpdateResponseHeadersPolicyOutput, response *smithyhttp.Response) error { + if v == nil { + return fmt.Errorf("unsupported deserialization for nil %T", v) + } + + if headerValues := response.Header.Values("ETag"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.ETag = ptr.String(headerValues[0]) + } + + return nil +} +func awsRestxml_deserializeOpDocumentUpdateResponseHeadersPolicyOutput(v **UpdateResponseHeadersPolicyOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *UpdateRealtimeLogConfigOutput + var sv *UpdateResponseHeadersPolicyOutput if *v == nil { - sv = &UpdateRealtimeLogConfigOutput{} + sv = &UpdateResponseHeadersPolicyOutput{} } else { sv = *v } @@ -22698,9 +25762,9 @@ func awsRestxml_deserializeOpDocumentUpdateRealtimeLogConfigOutput(v **UpdateRea originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("RealtimeLogConfig", t.Name.Local): + case strings.EqualFold("ResponseHeadersPolicy", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentRealtimeLogConfig(&sv.RealtimeLogConfig, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentResponseHeadersPolicy(&sv.ResponseHeadersPolicy, nodeDecoder); err != nil { return err } @@ -22718,14 +25782,14 @@ func awsRestxml_deserializeOpDocumentUpdateRealtimeLogConfigOutput(v **UpdateRea return nil } -type awsRestxml_deserializeOpUpdateResponseHeadersPolicy struct { +type awsRestxml_deserializeOpUpdateStreamingDistribution struct { } -func (*awsRestxml_deserializeOpUpdateResponseHeadersPolicy) ID() string { +func (*awsRestxml_deserializeOpUpdateStreamingDistribution) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpUpdateResponseHeadersPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpUpdateStreamingDistribution) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -22743,12 +25807,12 @@ func (m *awsRestxml_deserializeOpUpdateResponseHeadersPolicy) HandleDeserialize( } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorUpdateResponseHeadersPolicy(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorUpdateStreamingDistribution(response, &metadata) } - output := &UpdateResponseHeadersPolicyOutput{} + output := &UpdateStreamingDistributionOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsUpdateResponseHeadersPolicyOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsUpdateStreamingDistributionOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -22771,7 +25835,7 @@ func (m *awsRestxml_deserializeOpUpdateResponseHeadersPolicy) HandleDeserialize( } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentResponseHeadersPolicy(&output.ResponseHeadersPolicy, decoder) + err = awsRestxml_deserializeDocumentStreamingDistribution(&output.StreamingDistribution, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -22785,7 +25849,7 @@ func (m *awsRestxml_deserializeOpUpdateResponseHeadersPolicy) HandleDeserialize( return out, metadata, err } -func awsRestxml_deserializeOpErrorUpdateResponseHeadersPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorUpdateStreamingDistribution(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -22813,6 +25877,9 @@ func awsRestxml_deserializeOpErrorUpdateResponseHeadersPolicy(response *smithyht case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + case strings.EqualFold("CNAMEAlreadyExists", errorCode): + return awsRestxml_deserializeErrorCNAMEAlreadyExists(response, errorBody) + case strings.EqualFold("IllegalUpdate", errorCode): return awsRestxml_deserializeErrorIllegalUpdate(response, errorBody) @@ -22825,23 +25892,29 @@ func awsRestxml_deserializeOpErrorUpdateResponseHeadersPolicy(response *smithyht case strings.EqualFold("InvalidIfMatchVersion", errorCode): return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) - case strings.EqualFold("NoSuchResponseHeadersPolicy", errorCode): - return awsRestxml_deserializeErrorNoSuchResponseHeadersPolicy(response, errorBody) + case strings.EqualFold("InvalidOriginAccessControl", errorCode): + return awsRestxml_deserializeErrorInvalidOriginAccessControl(response, errorBody) + + case strings.EqualFold("InvalidOriginAccessIdentity", errorCode): + return awsRestxml_deserializeErrorInvalidOriginAccessIdentity(response, errorBody) + + case strings.EqualFold("MissingBody", errorCode): + return awsRestxml_deserializeErrorMissingBody(response, errorBody) + + case strings.EqualFold("NoSuchStreamingDistribution", errorCode): + return awsRestxml_deserializeErrorNoSuchStreamingDistribution(response, errorBody) case strings.EqualFold("PreconditionFailed", errorCode): return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) - case strings.EqualFold("ResponseHeadersPolicyAlreadyExists", errorCode): - return awsRestxml_deserializeErrorResponseHeadersPolicyAlreadyExists(response, errorBody) - - case strings.EqualFold("TooLongCSPInResponseHeadersPolicy", errorCode): - return awsRestxml_deserializeErrorTooLongCSPInResponseHeadersPolicy(response, errorBody) + case strings.EqualFold("TooManyStreamingDistributionCNAMEs", errorCode): + return awsRestxml_deserializeErrorTooManyStreamingDistributionCNAMEs(response, errorBody) - case strings.EqualFold("TooManyCustomHeadersInResponseHeadersPolicy", errorCode): - return awsRestxml_deserializeErrorTooManyCustomHeadersInResponseHeadersPolicy(response, errorBody) + case strings.EqualFold("TooManyTrustedSigners", errorCode): + return awsRestxml_deserializeErrorTooManyTrustedSigners(response, errorBody) - case strings.EqualFold("TooManyRemoveHeadersInResponseHeadersPolicy", errorCode): - return awsRestxml_deserializeErrorTooManyRemoveHeadersInResponseHeadersPolicy(response, errorBody) + case strings.EqualFold("TrustedSignerDoesNotExist", errorCode): + return awsRestxml_deserializeErrorTrustedSignerDoesNotExist(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -22853,7 +25926,7 @@ func awsRestxml_deserializeOpErrorUpdateResponseHeadersPolicy(response *smithyht } } -func awsRestxml_deserializeOpHttpBindingsUpdateResponseHeadersPolicyOutput(v *UpdateResponseHeadersPolicyOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsUpdateStreamingDistributionOutput(v *UpdateStreamingDistributionOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -22865,13 +25938,13 @@ func awsRestxml_deserializeOpHttpBindingsUpdateResponseHeadersPolicyOutput(v *Up return nil } -func awsRestxml_deserializeOpDocumentUpdateResponseHeadersPolicyOutput(v **UpdateResponseHeadersPolicyOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentUpdateStreamingDistributionOutput(v **UpdateStreamingDistributionOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *UpdateResponseHeadersPolicyOutput + var sv *UpdateStreamingDistributionOutput if *v == nil { - sv = &UpdateResponseHeadersPolicyOutput{} + sv = &UpdateStreamingDistributionOutput{} } else { sv = *v } @@ -22887,9 +25960,9 @@ func awsRestxml_deserializeOpDocumentUpdateResponseHeadersPolicyOutput(v **Updat originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("ResponseHeadersPolicy", t.Name.Local): + case strings.EqualFold("StreamingDistribution", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentResponseHeadersPolicy(&sv.ResponseHeadersPolicy, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentStreamingDistribution(&sv.StreamingDistribution, nodeDecoder); err != nil { return err } @@ -22907,14 +25980,14 @@ func awsRestxml_deserializeOpDocumentUpdateResponseHeadersPolicyOutput(v **Updat return nil } -type awsRestxml_deserializeOpUpdateStreamingDistribution struct { +type awsRestxml_deserializeOpUpdateTrustStore struct { } -func (*awsRestxml_deserializeOpUpdateStreamingDistribution) ID() string { +func (*awsRestxml_deserializeOpUpdateTrustStore) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpUpdateStreamingDistribution) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpUpdateTrustStore) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -22932,12 +26005,12 @@ func (m *awsRestxml_deserializeOpUpdateStreamingDistribution) HandleDeserialize( } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorUpdateStreamingDistribution(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorUpdateTrustStore(response, &metadata) } - output := &UpdateStreamingDistributionOutput{} + output := &UpdateTrustStoreOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsUpdateStreamingDistributionOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsUpdateTrustStoreOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -22960,7 +26033,7 @@ func (m *awsRestxml_deserializeOpUpdateStreamingDistribution) HandleDeserialize( } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeDocumentStreamingDistribution(&output.StreamingDistribution, decoder) + err = awsRestxml_deserializeDocumentTrustStore(&output.TrustStore, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -22974,7 +26047,7 @@ func (m *awsRestxml_deserializeOpUpdateStreamingDistribution) HandleDeserialize( return out, metadata, err } -func awsRestxml_deserializeOpErrorUpdateStreamingDistribution(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorUpdateTrustStore(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -23002,14 +26075,8 @@ func awsRestxml_deserializeOpErrorUpdateStreamingDistribution(response *smithyht case strings.EqualFold("AccessDenied", errorCode): return awsRestxml_deserializeErrorAccessDenied(response, errorBody) - case strings.EqualFold("CNAMEAlreadyExists", errorCode): - return awsRestxml_deserializeErrorCNAMEAlreadyExists(response, errorBody) - - case strings.EqualFold("IllegalUpdate", errorCode): - return awsRestxml_deserializeErrorIllegalUpdate(response, errorBody) - - case strings.EqualFold("InconsistentQuantities", errorCode): - return awsRestxml_deserializeErrorInconsistentQuantities(response, errorBody) + case strings.EqualFold("EntityNotFound", errorCode): + return awsRestxml_deserializeErrorEntityNotFound(response, errorBody) case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) @@ -23017,30 +26084,9 @@ func awsRestxml_deserializeOpErrorUpdateStreamingDistribution(response *smithyht case strings.EqualFold("InvalidIfMatchVersion", errorCode): return awsRestxml_deserializeErrorInvalidIfMatchVersion(response, errorBody) - case strings.EqualFold("InvalidOriginAccessControl", errorCode): - return awsRestxml_deserializeErrorInvalidOriginAccessControl(response, errorBody) - - case strings.EqualFold("InvalidOriginAccessIdentity", errorCode): - return awsRestxml_deserializeErrorInvalidOriginAccessIdentity(response, errorBody) - - case strings.EqualFold("MissingBody", errorCode): - return awsRestxml_deserializeErrorMissingBody(response, errorBody) - - case strings.EqualFold("NoSuchStreamingDistribution", errorCode): - return awsRestxml_deserializeErrorNoSuchStreamingDistribution(response, errorBody) - case strings.EqualFold("PreconditionFailed", errorCode): return awsRestxml_deserializeErrorPreconditionFailed(response, errorBody) - case strings.EqualFold("TooManyStreamingDistributionCNAMEs", errorCode): - return awsRestxml_deserializeErrorTooManyStreamingDistributionCNAMEs(response, errorBody) - - case strings.EqualFold("TooManyTrustedSigners", errorCode): - return awsRestxml_deserializeErrorTooManyTrustedSigners(response, errorBody) - - case strings.EqualFold("TrustedSignerDoesNotExist", errorCode): - return awsRestxml_deserializeErrorTrustedSignerDoesNotExist(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -23051,7 +26097,7 @@ func awsRestxml_deserializeOpErrorUpdateStreamingDistribution(response *smithyht } } -func awsRestxml_deserializeOpHttpBindingsUpdateStreamingDistributionOutput(v *UpdateStreamingDistributionOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsUpdateTrustStoreOutput(v *UpdateTrustStoreOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -23063,13 +26109,13 @@ func awsRestxml_deserializeOpHttpBindingsUpdateStreamingDistributionOutput(v *Up return nil } -func awsRestxml_deserializeOpDocumentUpdateStreamingDistributionOutput(v **UpdateStreamingDistributionOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentUpdateTrustStoreOutput(v **UpdateTrustStoreOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *UpdateStreamingDistributionOutput + var sv *UpdateTrustStoreOutput if *v == nil { - sv = &UpdateStreamingDistributionOutput{} + sv = &UpdateTrustStoreOutput{} } else { sv = *v } @@ -23085,9 +26131,9 @@ func awsRestxml_deserializeOpDocumentUpdateStreamingDistributionOutput(v **Updat originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("StreamingDistribution", t.Name.Local): + case strings.EqualFold("TrustStore", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentStreamingDistribution(&sv.StreamingDistribution, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentTrustStore(&sv.TrustStore, nodeDecoder); err != nil { return err } @@ -31037,6 +34083,25 @@ func awsRestxml_deserializeDocumentAnycastIpList(v **types.AnycastIpList, decode sv.Id = ptr.String(xtv) } + case strings.EqualFold("IpAddressType", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.IpAddressType = types.IpAddressType(xtv) + } + + case strings.EqualFold("IpamConfig", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentIpamConfig(&sv.IpamConfig, nodeDecoder); err != nil { + return err + } + case strings.EqualFold("IpCount", t.Name.Local): val, err := decoder.Value() if err != nil { @@ -31332,6 +34397,19 @@ func awsRestxml_deserializeDocumentAnycastIpListSummary(v **types.AnycastIpListS sv.Arn = ptr.String(xtv) } + case strings.EqualFold("ETag", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.ETag = ptr.String(xtv) + } + case strings.EqualFold("Id", t.Name.Local): val, err := decoder.Value() if err != nil { @@ -31345,6 +34423,25 @@ func awsRestxml_deserializeDocumentAnycastIpListSummary(v **types.AnycastIpListS sv.Id = ptr.String(xtv) } + case strings.EqualFold("IpAddressType", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.IpAddressType = types.IpAddressType(xtv) + } + + case strings.EqualFold("IpamConfig", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentIpamConfig(&sv.IpamConfig, nodeDecoder); err != nil { + return err + } + case strings.EqualFold("IpCount", t.Name.Local): val, err := decoder.Value() if err != nil { @@ -33287,13 +36384,437 @@ func awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentityList(v **types. return nil } -func awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentitySummary(v **types.CloudFrontOriginAccessIdentitySummary, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentitySummary(v **types.CloudFrontOriginAccessIdentitySummary, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.CloudFrontOriginAccessIdentitySummary + if *v == nil { + sv = &types.CloudFrontOriginAccessIdentitySummary{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Comment", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Comment = ptr.String(xtv) + } + + case strings.EqualFold("Id", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Id = ptr.String(xtv) + } + + case strings.EqualFold("S3CanonicalUserId", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.S3CanonicalUserId = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentitySummaryList(v *[]types.CloudFrontOriginAccessIdentitySummary, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv []types.CloudFrontOriginAccessIdentitySummary + if *v == nil { + sv = make([]types.CloudFrontOriginAccessIdentitySummary, 0) + } else { + sv = *v + } + + originalDecoder := decoder + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + switch { + case strings.EqualFold("CloudFrontOriginAccessIdentitySummary", t.Name.Local): + var col types.CloudFrontOriginAccessIdentitySummary + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + destAddr := &col + if err := awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentitySummary(&destAddr, nodeDecoder); err != nil { + return err + } + col = *destAddr + sv = append(sv, col) + + default: + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentitySummaryListUnwrapped(v *[]types.CloudFrontOriginAccessIdentitySummary, decoder smithyxml.NodeDecoder) error { + var sv []types.CloudFrontOriginAccessIdentitySummary + if *v == nil { + sv = make([]types.CloudFrontOriginAccessIdentitySummary, 0) + } else { + sv = *v + } + + switch { + default: + var mv types.CloudFrontOriginAccessIdentitySummary + t := decoder.StartEl + _ = t + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + destAddr := &mv + if err := awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentitySummary(&destAddr, nodeDecoder); err != nil { + return err + } + mv = *destAddr + sv = append(sv, mv) + } + *v = sv + return nil +} +func awsRestxml_deserializeDocumentCNAMEAlreadyExists(v **types.CNAMEAlreadyExists, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.CNAMEAlreadyExists + if *v == nil { + sv = &types.CNAMEAlreadyExists{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentConflictingAlias(v **types.ConflictingAlias, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.ConflictingAlias + if *v == nil { + sv = &types.ConflictingAlias{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("AccountId", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.AccountId = ptr.String(xtv) + } + + case strings.EqualFold("Alias", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Alias = ptr.String(xtv) + } + + case strings.EqualFold("DistributionId", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.DistributionId = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentConflictingAliases(v *[]types.ConflictingAlias, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv []types.ConflictingAlias + if *v == nil { + sv = make([]types.ConflictingAlias, 0) + } else { + sv = *v + } + + originalDecoder := decoder + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + switch { + case strings.EqualFold("ConflictingAlias", t.Name.Local): + var col types.ConflictingAlias + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + destAddr := &col + if err := awsRestxml_deserializeDocumentConflictingAlias(&destAddr, nodeDecoder); err != nil { + return err + } + col = *destAddr + sv = append(sv, col) + + default: + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentConflictingAliasesUnwrapped(v *[]types.ConflictingAlias, decoder smithyxml.NodeDecoder) error { + var sv []types.ConflictingAlias + if *v == nil { + sv = make([]types.ConflictingAlias, 0) + } else { + sv = *v + } + + switch { + default: + var mv types.ConflictingAlias + t := decoder.StartEl + _ = t + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + destAddr := &mv + if err := awsRestxml_deserializeDocumentConflictingAlias(&destAddr, nodeDecoder); err != nil { + return err + } + mv = *destAddr + sv = append(sv, mv) + } + *v = sv + return nil +} +func awsRestxml_deserializeDocumentConflictingAliasesList(v **types.ConflictingAliasesList, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.ConflictingAliasesList + if *v == nil { + sv = &types.ConflictingAliasesList{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Items", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentConflictingAliases(&sv.Items, nodeDecoder); err != nil { + return err + } + + case strings.EqualFold("MaxItems", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + i64, err := strconv.ParseInt(xtv, 10, 64) + if err != nil { + return err + } + sv.MaxItems = ptr.Int32(int32(i64)) + } + + case strings.EqualFold("NextMarker", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.NextMarker = ptr.String(xtv) + } + + case strings.EqualFold("Quantity", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + i64, err := strconv.ParseInt(xtv, 10, 64) + if err != nil { + return err + } + sv.Quantity = ptr.Int32(int32(i64)) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentConnectionFunctionAssociation(v **types.ConnectionFunctionAssociation, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.CloudFrontOriginAccessIdentitySummary + var sv *types.ConnectionFunctionAssociation if *v == nil { - sv = &types.CloudFrontOriginAccessIdentitySummary{} + sv = &types.ConnectionFunctionAssociation{} } else { sv = *v } @@ -33309,19 +36830,6 @@ func awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentitySummary(v **typ originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("Comment", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - sv.Comment = ptr.String(xtv) - } - case strings.EqualFold("Id", t.Name.Local): val, err := decoder.Value() if err != nil { @@ -33335,19 +36843,6 @@ func awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentitySummary(v **typ sv.Id = ptr.String(xtv) } - case strings.EqualFold("S3CanonicalUserId", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - sv.S3CanonicalUserId = ptr.String(xtv) - } - default: // Do nothing and ignore the unexpected tag element err = decoder.Decoder.Skip() @@ -33362,18 +36857,17 @@ func awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentitySummary(v **typ return nil } -func awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentitySummaryList(v *[]types.CloudFrontOriginAccessIdentitySummary, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentConnectionFunctionSummary(v **types.ConnectionFunctionSummary, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv []types.CloudFrontOriginAccessIdentitySummary + var sv *types.ConnectionFunctionSummary if *v == nil { - sv = make([]types.CloudFrontOriginAccessIdentitySummary, 0) + sv = &types.ConnectionFunctionSummary{} } else { sv = *v } - originalDecoder := decoder for { t, done, err := decoder.Token() if err != nil { @@ -33382,77 +36876,46 @@ func awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentitySummaryList(v * if done { break } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("CloudFrontOriginAccessIdentitySummary", t.Name.Local): - var col types.CloudFrontOriginAccessIdentitySummary + case strings.EqualFold("ConnectionFunctionArn", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.ConnectionFunctionArn = ptr.String(xtv) + } + + case strings.EqualFold("ConnectionFunctionConfig", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - destAddr := &col - if err := awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentitySummary(&destAddr, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentFunctionConfig(&sv.ConnectionFunctionConfig, nodeDecoder); err != nil { return err } - col = *destAddr - sv = append(sv, col) - default: - err = decoder.Decoder.Skip() + case strings.EqualFold("CreatedTime", t.Name.Local): + val, err := decoder.Value() if err != nil { return err } + if val == nil { + break + } + { + xtv := string(val) + t, err := smithytime.ParseDateTime(xtv) + if err != nil { + return err + } + sv.CreatedTime = ptr.Time(t) + } - } - decoder = originalDecoder - } - *v = sv - return nil -} - -func awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentitySummaryListUnwrapped(v *[]types.CloudFrontOriginAccessIdentitySummary, decoder smithyxml.NodeDecoder) error { - var sv []types.CloudFrontOriginAccessIdentitySummary - if *v == nil { - sv = make([]types.CloudFrontOriginAccessIdentitySummary, 0) - } else { - sv = *v - } - - switch { - default: - var mv types.CloudFrontOriginAccessIdentitySummary - t := decoder.StartEl - _ = t - nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - destAddr := &mv - if err := awsRestxml_deserializeDocumentCloudFrontOriginAccessIdentitySummary(&destAddr, nodeDecoder); err != nil { - return err - } - mv = *destAddr - sv = append(sv, mv) - } - *v = sv - return nil -} -func awsRestxml_deserializeDocumentCNAMEAlreadyExists(v **types.CNAMEAlreadyExists, decoder smithyxml.NodeDecoder) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - var sv *types.CNAMEAlreadyExists - if *v == nil { - sv = &types.CNAMEAlreadyExists{} - } else { - sv = *v - } - - for { - t, done, err := decoder.Token() - if err != nil { - return err - } - if done { - break - } - originalDecoder := decoder - decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) - switch { - case strings.EqualFold("Message", t.Name.Local): + case strings.EqualFold("Id", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -33462,46 +36925,27 @@ func awsRestxml_deserializeDocumentCNAMEAlreadyExists(v **types.CNAMEAlreadyExis } { xtv := string(val) - sv.Message = ptr.String(xtv) + sv.Id = ptr.String(xtv) } - default: - // Do nothing and ignore the unexpected tag element - err = decoder.Decoder.Skip() + case strings.EqualFold("LastModifiedTime", t.Name.Local): + val, err := decoder.Value() if err != nil { return err } + if val == nil { + break + } + { + xtv := string(val) + t, err := smithytime.ParseDateTime(xtv) + if err != nil { + return err + } + sv.LastModifiedTime = ptr.Time(t) + } - } - decoder = originalDecoder - } - *v = sv - return nil -} - -func awsRestxml_deserializeDocumentConflictingAlias(v **types.ConflictingAlias, decoder smithyxml.NodeDecoder) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - var sv *types.ConflictingAlias - if *v == nil { - sv = &types.ConflictingAlias{} - } else { - sv = *v - } - - for { - t, done, err := decoder.Token() - if err != nil { - return err - } - if done { - break - } - originalDecoder := decoder - decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) - switch { - case strings.EqualFold("AccountId", t.Name.Local): + case strings.EqualFold("Name", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -33511,10 +36955,10 @@ func awsRestxml_deserializeDocumentConflictingAlias(v **types.ConflictingAlias, } { xtv := string(val) - sv.AccountId = ptr.String(xtv) + sv.Name = ptr.String(xtv) } - case strings.EqualFold("Alias", t.Name.Local): + case strings.EqualFold("Stage", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -33524,10 +36968,10 @@ func awsRestxml_deserializeDocumentConflictingAlias(v **types.ConflictingAlias, } { xtv := string(val) - sv.Alias = ptr.String(xtv) + sv.Stage = types.FunctionStage(xtv) } - case strings.EqualFold("DistributionId", t.Name.Local): + case strings.EqualFold("Status", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -33537,7 +36981,7 @@ func awsRestxml_deserializeDocumentConflictingAlias(v **types.ConflictingAlias, } { xtv := string(val) - sv.DistributionId = ptr.String(xtv) + sv.Status = ptr.String(xtv) } default: @@ -33554,13 +36998,13 @@ func awsRestxml_deserializeDocumentConflictingAlias(v **types.ConflictingAlias, return nil } -func awsRestxml_deserializeDocumentConflictingAliases(v *[]types.ConflictingAlias, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentConnectionFunctionSummaryList(v *[]types.ConnectionFunctionSummary, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv []types.ConflictingAlias + var sv []types.ConnectionFunctionSummary if *v == nil { - sv = make([]types.ConflictingAlias, 0) + sv = make([]types.ConnectionFunctionSummary, 0) } else { sv = *v } @@ -33575,11 +37019,11 @@ func awsRestxml_deserializeDocumentConflictingAliases(v *[]types.ConflictingAlia break } switch { - case strings.EqualFold("ConflictingAlias", t.Name.Local): - var col types.ConflictingAlias + case strings.EqualFold("ConnectionFunctionSummary", t.Name.Local): + var col types.ConnectionFunctionSummary nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) destAddr := &col - if err := awsRestxml_deserializeDocumentConflictingAlias(&destAddr, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentConnectionFunctionSummary(&destAddr, nodeDecoder); err != nil { return err } col = *destAddr @@ -33598,22 +37042,22 @@ func awsRestxml_deserializeDocumentConflictingAliases(v *[]types.ConflictingAlia return nil } -func awsRestxml_deserializeDocumentConflictingAliasesUnwrapped(v *[]types.ConflictingAlias, decoder smithyxml.NodeDecoder) error { - var sv []types.ConflictingAlias +func awsRestxml_deserializeDocumentConnectionFunctionSummaryListUnwrapped(v *[]types.ConnectionFunctionSummary, decoder smithyxml.NodeDecoder) error { + var sv []types.ConnectionFunctionSummary if *v == nil { - sv = make([]types.ConflictingAlias, 0) + sv = make([]types.ConnectionFunctionSummary, 0) } else { sv = *v } switch { default: - var mv types.ConflictingAlias + var mv types.ConnectionFunctionSummary t := decoder.StartEl _ = t nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) destAddr := &mv - if err := awsRestxml_deserializeDocumentConflictingAlias(&destAddr, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentConnectionFunctionSummary(&destAddr, nodeDecoder); err != nil { return err } mv = *destAddr @@ -33622,13 +37066,13 @@ func awsRestxml_deserializeDocumentConflictingAliasesUnwrapped(v *[]types.Confli *v = sv return nil } -func awsRestxml_deserializeDocumentConflictingAliasesList(v **types.ConflictingAliasesList, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentConnectionFunctionTestResult(v **types.ConnectionFunctionTestResult, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.ConflictingAliasesList + var sv *types.ConnectionFunctionTestResult if *v == nil { - sv = &types.ConflictingAliasesList{} + sv = &types.ConnectionFunctionTestResult{} } else { sv = *v } @@ -33644,13 +37088,7 @@ func awsRestxml_deserializeDocumentConflictingAliasesList(v **types.ConflictingA originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("Items", t.Name.Local): - nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentConflictingAliases(&sv.Items, nodeDecoder); err != nil { - return err - } - - case strings.EqualFold("MaxItems", t.Name.Local): + case strings.EqualFold("ComputeUtilization", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -33660,14 +37098,10 @@ func awsRestxml_deserializeDocumentConflictingAliasesList(v **types.ConflictingA } { xtv := string(val) - i64, err := strconv.ParseInt(xtv, 10, 64) - if err != nil { - return err - } - sv.MaxItems = ptr.Int32(int32(i64)) + sv.ComputeUtilization = ptr.String(xtv) } - case strings.EqualFold("NextMarker", t.Name.Local): + case strings.EqualFold("ConnectionFunctionErrorMessage", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -33677,10 +37111,16 @@ func awsRestxml_deserializeDocumentConflictingAliasesList(v **types.ConflictingA } { xtv := string(val) - sv.NextMarker = ptr.String(xtv) + sv.ConnectionFunctionErrorMessage = ptr.String(xtv) } - case strings.EqualFold("Quantity", t.Name.Local): + case strings.EqualFold("ConnectionFunctionExecutionLogs", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentFunctionExecutionLogList(&sv.ConnectionFunctionExecutionLogs, nodeDecoder); err != nil { + return err + } + + case strings.EqualFold("ConnectionFunctionOutput", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -33690,11 +37130,13 @@ func awsRestxml_deserializeDocumentConflictingAliasesList(v **types.ConflictingA } { xtv := string(val) - i64, err := strconv.ParseInt(xtv, 10, 64) - if err != nil { - return err - } - sv.Quantity = ptr.Int32(int32(i64)) + sv.ConnectionFunctionOutput = ptr.String(xtv) + } + + case strings.EqualFold("ConnectionFunctionSummary", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentConnectionFunctionSummary(&sv.ConnectionFunctionSummary, nodeDecoder); err != nil { + return err } default: @@ -35604,6 +39046,12 @@ func awsRestxml_deserializeDocumentCustomOriginConfig(v **types.CustomOriginConf sv.OriginKeepaliveTimeout = ptr.Int32(int32(i64)) } + case strings.EqualFold("OriginMtlsConfig", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentOriginMtlsConfig(&sv.OriginMtlsConfig, nodeDecoder); err != nil { + return err + } + case strings.EqualFold("OriginProtocolPolicy", t.Name.Local): val, err := decoder.Value() if err != nil { @@ -36174,6 +39622,12 @@ func awsRestxml_deserializeDocumentDistributionConfig(v **types.DistributionConf sv.Comment = ptr.String(xtv) } + case strings.EqualFold("ConnectionFunctionAssociation", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentConnectionFunctionAssociation(&sv.ConnectionFunctionAssociation, nodeDecoder); err != nil { + return err + } + case strings.EqualFold("ConnectionMode", t.Name.Local): val, err := decoder.Value() if err != nil { @@ -36335,6 +39789,12 @@ func awsRestxml_deserializeDocumentDistributionConfig(v **types.DistributionConf return err } + case strings.EqualFold("ViewerMtlsConfig", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentViewerMtlsConfig(&sv.ViewerMtlsConfig, nodeDecoder); err != nil { + return err + } + case strings.EqualFold("WebACLId", t.Name.Local): val, err := decoder.Value() if err != nil { @@ -36560,6 +40020,254 @@ func awsRestxml_deserializeDocumentDistributionIdListSummaryUnwrapped(v *[]strin *v = sv return nil } +func awsRestxml_deserializeDocumentDistributionIdOwner(v **types.DistributionIdOwner, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.DistributionIdOwner + if *v == nil { + sv = &types.DistributionIdOwner{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("DistributionId", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.DistributionId = ptr.String(xtv) + } + + case strings.EqualFold("OwnerAccountId", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.OwnerAccountId = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentDistributionIdOwnerItemList(v *[]types.DistributionIdOwner, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv []types.DistributionIdOwner + if *v == nil { + sv = make([]types.DistributionIdOwner, 0) + } else { + sv = *v + } + + originalDecoder := decoder + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + switch { + case strings.EqualFold("DistributionIdOwner", t.Name.Local): + var col types.DistributionIdOwner + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + destAddr := &col + if err := awsRestxml_deserializeDocumentDistributionIdOwner(&destAddr, nodeDecoder); err != nil { + return err + } + col = *destAddr + sv = append(sv, col) + + default: + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentDistributionIdOwnerItemListUnwrapped(v *[]types.DistributionIdOwner, decoder smithyxml.NodeDecoder) error { + var sv []types.DistributionIdOwner + if *v == nil { + sv = make([]types.DistributionIdOwner, 0) + } else { + sv = *v + } + + switch { + default: + var mv types.DistributionIdOwner + t := decoder.StartEl + _ = t + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + destAddr := &mv + if err := awsRestxml_deserializeDocumentDistributionIdOwner(&destAddr, nodeDecoder); err != nil { + return err + } + mv = *destAddr + sv = append(sv, mv) + } + *v = sv + return nil +} +func awsRestxml_deserializeDocumentDistributionIdOwnerList(v **types.DistributionIdOwnerList, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.DistributionIdOwnerList + if *v == nil { + sv = &types.DistributionIdOwnerList{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("IsTruncated", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv, err := strconv.ParseBool(string(val)) + if err != nil { + return fmt.Errorf("expected boolean to be of type *bool, got %T instead", val) + } + sv.IsTruncated = ptr.Bool(xtv) + } + + case strings.EqualFold("Items", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentDistributionIdOwnerItemList(&sv.Items, nodeDecoder); err != nil { + return err + } + + case strings.EqualFold("Marker", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Marker = ptr.String(xtv) + } + + case strings.EqualFold("MaxItems", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + i64, err := strconv.ParseInt(xtv, 10, 64) + if err != nil { + return err + } + sv.MaxItems = ptr.Int32(int32(i64)) + } + + case strings.EqualFold("NextMarker", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.NextMarker = ptr.String(xtv) + } + + case strings.EqualFold("Quantity", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + i64, err := strconv.ParseInt(xtv, 10, 64) + if err != nil { + return err + } + sv.Quantity = ptr.Int32(int32(i64)) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + func awsRestxml_deserializeDocumentDistributionList(v **types.DistributionList, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -36806,6 +40514,12 @@ func awsRestxml_deserializeDocumentDistributionSummary(v **types.DistributionSum sv.Comment = ptr.String(xtv) } + case strings.EqualFold("ConnectionFunctionAssociation", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentConnectionFunctionAssociation(&sv.ConnectionFunctionAssociation, nodeDecoder); err != nil { + return err + } + case strings.EqualFold("ConnectionMode", t.Name.Local): val, err := decoder.Value() if err != nil { @@ -36998,6 +40712,12 @@ func awsRestxml_deserializeDocumentDistributionSummary(v **types.DistributionSum return err } + case strings.EqualFold("ViewerMtlsConfig", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentViewerMtlsConfig(&sv.ViewerMtlsConfig, nodeDecoder); err != nil { + return err + } + case strings.EqualFold("WebACLId", t.Name.Local): val, err := decoder.Value() if err != nil { @@ -41289,13 +45009,516 @@ func awsRestxml_deserializeDocumentInvalidAssociation(v **types.InvalidAssociati return nil } -func awsRestxml_deserializeDocumentInvalidation(v **types.Invalidation, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentInvalidation(v **types.Invalidation, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.Invalidation + if *v == nil { + sv = &types.Invalidation{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("CreateTime", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + t, err := smithytime.ParseDateTime(xtv) + if err != nil { + return err + } + sv.CreateTime = ptr.Time(t) + } + + case strings.EqualFold("Id", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Id = ptr.String(xtv) + } + + case strings.EqualFold("InvalidationBatch", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentInvalidationBatch(&sv.InvalidationBatch, nodeDecoder); err != nil { + return err + } + + case strings.EqualFold("Status", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Status = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentInvalidationBatch(v **types.InvalidationBatch, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.InvalidationBatch + if *v == nil { + sv = &types.InvalidationBatch{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("CallerReference", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.CallerReference = ptr.String(xtv) + } + + case strings.EqualFold("Paths", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentPaths(&sv.Paths, nodeDecoder); err != nil { + return err + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentInvalidationList(v **types.InvalidationList, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.InvalidationList + if *v == nil { + sv = &types.InvalidationList{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("IsTruncated", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv, err := strconv.ParseBool(string(val)) + if err != nil { + return fmt.Errorf("expected boolean to be of type *bool, got %T instead", val) + } + sv.IsTruncated = ptr.Bool(xtv) + } + + case strings.EqualFold("Items", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentInvalidationSummaryList(&sv.Items, nodeDecoder); err != nil { + return err + } + + case strings.EqualFold("Marker", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Marker = ptr.String(xtv) + } + + case strings.EqualFold("MaxItems", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + i64, err := strconv.ParseInt(xtv, 10, 64) + if err != nil { + return err + } + sv.MaxItems = ptr.Int32(int32(i64)) + } + + case strings.EqualFold("NextMarker", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.NextMarker = ptr.String(xtv) + } + + case strings.EqualFold("Quantity", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + i64, err := strconv.ParseInt(xtv, 10, 64) + if err != nil { + return err + } + sv.Quantity = ptr.Int32(int32(i64)) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentInvalidationSummary(v **types.InvalidationSummary, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.InvalidationSummary + if *v == nil { + sv = &types.InvalidationSummary{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("CreateTime", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + t, err := smithytime.ParseDateTime(xtv) + if err != nil { + return err + } + sv.CreateTime = ptr.Time(t) + } + + case strings.EqualFold("Id", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Id = ptr.String(xtv) + } + + case strings.EqualFold("Status", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Status = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentInvalidationSummaryList(v *[]types.InvalidationSummary, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv []types.InvalidationSummary + if *v == nil { + sv = make([]types.InvalidationSummary, 0) + } else { + sv = *v + } + + originalDecoder := decoder + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + switch { + case strings.EqualFold("InvalidationSummary", t.Name.Local): + var col types.InvalidationSummary + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + destAddr := &col + if err := awsRestxml_deserializeDocumentInvalidationSummary(&destAddr, nodeDecoder); err != nil { + return err + } + col = *destAddr + sv = append(sv, col) + + default: + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentInvalidationSummaryListUnwrapped(v *[]types.InvalidationSummary, decoder smithyxml.NodeDecoder) error { + var sv []types.InvalidationSummary + if *v == nil { + sv = make([]types.InvalidationSummary, 0) + } else { + sv = *v + } + + switch { + default: + var mv types.InvalidationSummary + t := decoder.StartEl + _ = t + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + destAddr := &mv + if err := awsRestxml_deserializeDocumentInvalidationSummary(&destAddr, nodeDecoder); err != nil { + return err + } + mv = *destAddr + sv = append(sv, mv) + } + *v = sv + return nil +} +func awsRestxml_deserializeDocumentInvalidDefaultRootObject(v **types.InvalidDefaultRootObject, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.InvalidDefaultRootObject + if *v == nil { + sv = &types.InvalidDefaultRootObject{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentInvalidDomainNameForOriginAccessControl(v **types.InvalidDomainNameForOriginAccessControl, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.InvalidDomainNameForOriginAccessControl + if *v == nil { + sv = &types.InvalidDomainNameForOriginAccessControl{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentInvalidErrorCode(v **types.InvalidErrorCode, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.Invalidation + var sv *types.InvalidErrorCode if *v == nil { - sv = &types.Invalidation{} + sv = &types.InvalidErrorCode{} } else { sv = *v } @@ -41311,43 +45534,7 @@ func awsRestxml_deserializeDocumentInvalidation(v **types.Invalidation, decoder originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("CreateTime", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - t, err := smithytime.ParseDateTime(xtv) - if err != nil { - return err - } - sv.CreateTime = ptr.Time(t) - } - - case strings.EqualFold("Id", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - sv.Id = ptr.String(xtv) - } - - case strings.EqualFold("InvalidationBatch", t.Name.Local): - nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentInvalidationBatch(&sv.InvalidationBatch, nodeDecoder); err != nil { - return err - } - - case strings.EqualFold("Status", t.Name.Local): + case strings.EqualFold("Message", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -41357,7 +45544,7 @@ func awsRestxml_deserializeDocumentInvalidation(v **types.Invalidation, decoder } { xtv := string(val) - sv.Status = ptr.String(xtv) + sv.Message = ptr.String(xtv) } default: @@ -41374,13 +45561,13 @@ func awsRestxml_deserializeDocumentInvalidation(v **types.Invalidation, decoder return nil } -func awsRestxml_deserializeDocumentInvalidationBatch(v **types.InvalidationBatch, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentInvalidForwardCookies(v **types.InvalidForwardCookies, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.InvalidationBatch + var sv *types.InvalidForwardCookies if *v == nil { - sv = &types.InvalidationBatch{} + sv = &types.InvalidForwardCookies{} } else { sv = *v } @@ -41396,7 +45583,7 @@ func awsRestxml_deserializeDocumentInvalidationBatch(v **types.InvalidationBatch originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("CallerReference", t.Name.Local): + case strings.EqualFold("Message", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -41406,13 +45593,7 @@ func awsRestxml_deserializeDocumentInvalidationBatch(v **types.InvalidationBatch } { xtv := string(val) - sv.CallerReference = ptr.String(xtv) - } - - case strings.EqualFold("Paths", t.Name.Local): - nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentPaths(&sv.Paths, nodeDecoder); err != nil { - return err + sv.Message = ptr.String(xtv) } default: @@ -41429,13 +45610,13 @@ func awsRestxml_deserializeDocumentInvalidationBatch(v **types.InvalidationBatch return nil } -func awsRestxml_deserializeDocumentInvalidationList(v **types.InvalidationList, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentInvalidFunctionAssociation(v **types.InvalidFunctionAssociation, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.InvalidationList + var sv *types.InvalidFunctionAssociation if *v == nil { - sv = &types.InvalidationList{} + sv = &types.InvalidFunctionAssociation{} } else { sv = *v } @@ -41451,72 +45632,7 @@ func awsRestxml_deserializeDocumentInvalidationList(v **types.InvalidationList, originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("IsTruncated", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv, err := strconv.ParseBool(string(val)) - if err != nil { - return fmt.Errorf("expected boolean to be of type *bool, got %T instead", val) - } - sv.IsTruncated = ptr.Bool(xtv) - } - - case strings.EqualFold("Items", t.Name.Local): - nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentInvalidationSummaryList(&sv.Items, nodeDecoder); err != nil { - return err - } - - case strings.EqualFold("Marker", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - sv.Marker = ptr.String(xtv) - } - - case strings.EqualFold("MaxItems", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - i64, err := strconv.ParseInt(xtv, 10, 64) - if err != nil { - return err - } - sv.MaxItems = ptr.Int32(int32(i64)) - } - - case strings.EqualFold("NextMarker", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - sv.NextMarker = ptr.String(xtv) - } - - case strings.EqualFold("Quantity", t.Name.Local): + case strings.EqualFold("Message", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -41526,11 +45642,7 @@ func awsRestxml_deserializeDocumentInvalidationList(v **types.InvalidationList, } { xtv := string(val) - i64, err := strconv.ParseInt(xtv, 10, 64) - if err != nil { - return err - } - sv.Quantity = ptr.Int32(int32(i64)) + sv.Message = ptr.String(xtv) } default: @@ -41547,13 +45659,13 @@ func awsRestxml_deserializeDocumentInvalidationList(v **types.InvalidationList, return nil } -func awsRestxml_deserializeDocumentInvalidationSummary(v **types.InvalidationSummary, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentInvalidGeoRestrictionParameter(v **types.InvalidGeoRestrictionParameter, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.InvalidationSummary + var sv *types.InvalidGeoRestrictionParameter if *v == nil { - sv = &types.InvalidationSummary{} + sv = &types.InvalidGeoRestrictionParameter{} } else { sv = *v } @@ -41569,37 +45681,7 @@ func awsRestxml_deserializeDocumentInvalidationSummary(v **types.InvalidationSum originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("CreateTime", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - t, err := smithytime.ParseDateTime(xtv) - if err != nil { - return err - } - sv.CreateTime = ptr.Time(t) - } - - case strings.EqualFold("Id", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - sv.Id = ptr.String(xtv) - } - - case strings.EqualFold("Status", t.Name.Local): + case strings.EqualFold("Message", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -41609,7 +45691,7 @@ func awsRestxml_deserializeDocumentInvalidationSummary(v **types.InvalidationSum } { xtv := string(val) - sv.Status = ptr.String(xtv) + sv.Message = ptr.String(xtv) } default: @@ -41626,18 +45708,17 @@ func awsRestxml_deserializeDocumentInvalidationSummary(v **types.InvalidationSum return nil } -func awsRestxml_deserializeDocumentInvalidationSummaryList(v *[]types.InvalidationSummary, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentInvalidHeadersForS3Origin(v **types.InvalidHeadersForS3Origin, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv []types.InvalidationSummary + var sv *types.InvalidHeadersForS3Origin if *v == nil { - sv = make([]types.InvalidationSummary, 0) + sv = &types.InvalidHeadersForS3Origin{} } else { sv = *v } - originalDecoder := decoder for { t, done, err := decoder.Token() if err != nil { @@ -41646,18 +45727,24 @@ func awsRestxml_deserializeDocumentInvalidationSummaryList(v *[]types.Invalidati if done { break } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("InvalidationSummary", t.Name.Local): - var col types.InvalidationSummary - nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - destAddr := &col - if err := awsRestxml_deserializeDocumentInvalidationSummary(&destAddr, nodeDecoder); err != nil { + case strings.EqualFold("Message", t.Name.Local): + val, err := decoder.Value() + if err != nil { return err } - col = *destAddr - sv = append(sv, col) + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } default: + // Do nothing and ignore the unexpected tag element err = decoder.Decoder.Skip() if err != nil { return err @@ -41670,37 +45757,13 @@ func awsRestxml_deserializeDocumentInvalidationSummaryList(v *[]types.Invalidati return nil } -func awsRestxml_deserializeDocumentInvalidationSummaryListUnwrapped(v *[]types.InvalidationSummary, decoder smithyxml.NodeDecoder) error { - var sv []types.InvalidationSummary - if *v == nil { - sv = make([]types.InvalidationSummary, 0) - } else { - sv = *v - } - - switch { - default: - var mv types.InvalidationSummary - t := decoder.StartEl - _ = t - nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - destAddr := &mv - if err := awsRestxml_deserializeDocumentInvalidationSummary(&destAddr, nodeDecoder); err != nil { - return err - } - mv = *destAddr - sv = append(sv, mv) - } - *v = sv - return nil -} -func awsRestxml_deserializeDocumentInvalidDefaultRootObject(v **types.InvalidDefaultRootObject, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentInvalidIfMatchVersion(v **types.InvalidIfMatchVersion, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.InvalidDefaultRootObject + var sv *types.InvalidIfMatchVersion if *v == nil { - sv = &types.InvalidDefaultRootObject{} + sv = &types.InvalidIfMatchVersion{} } else { sv = *v } @@ -41743,13 +45806,13 @@ func awsRestxml_deserializeDocumentInvalidDefaultRootObject(v **types.InvalidDef return nil } -func awsRestxml_deserializeDocumentInvalidDomainNameForOriginAccessControl(v **types.InvalidDomainNameForOriginAccessControl, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentInvalidLambdaFunctionAssociation(v **types.InvalidLambdaFunctionAssociation, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.InvalidDomainNameForOriginAccessControl + var sv *types.InvalidLambdaFunctionAssociation if *v == nil { - sv = &types.InvalidDomainNameForOriginAccessControl{} + sv = &types.InvalidLambdaFunctionAssociation{} } else { sv = *v } @@ -41792,13 +45855,13 @@ func awsRestxml_deserializeDocumentInvalidDomainNameForOriginAccessControl(v **t return nil } -func awsRestxml_deserializeDocumentInvalidErrorCode(v **types.InvalidErrorCode, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentInvalidLocationCode(v **types.InvalidLocationCode, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.InvalidErrorCode + var sv *types.InvalidLocationCode if *v == nil { - sv = &types.InvalidErrorCode{} + sv = &types.InvalidLocationCode{} } else { sv = *v } @@ -41841,13 +45904,13 @@ func awsRestxml_deserializeDocumentInvalidErrorCode(v **types.InvalidErrorCode, return nil } -func awsRestxml_deserializeDocumentInvalidForwardCookies(v **types.InvalidForwardCookies, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentInvalidMinimumProtocolVersion(v **types.InvalidMinimumProtocolVersion, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.InvalidForwardCookies + var sv *types.InvalidMinimumProtocolVersion if *v == nil { - sv = &types.InvalidForwardCookies{} + sv = &types.InvalidMinimumProtocolVersion{} } else { sv = *v } @@ -41890,13 +45953,13 @@ func awsRestxml_deserializeDocumentInvalidForwardCookies(v **types.InvalidForwar return nil } -func awsRestxml_deserializeDocumentInvalidFunctionAssociation(v **types.InvalidFunctionAssociation, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentInvalidOrigin(v **types.InvalidOrigin, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.InvalidFunctionAssociation + var sv *types.InvalidOrigin if *v == nil { - sv = &types.InvalidFunctionAssociation{} + sv = &types.InvalidOrigin{} } else { sv = *v } @@ -41939,13 +46002,13 @@ func awsRestxml_deserializeDocumentInvalidFunctionAssociation(v **types.InvalidF return nil } -func awsRestxml_deserializeDocumentInvalidGeoRestrictionParameter(v **types.InvalidGeoRestrictionParameter, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentInvalidOriginAccessControl(v **types.InvalidOriginAccessControl, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.InvalidGeoRestrictionParameter + var sv *types.InvalidOriginAccessControl if *v == nil { - sv = &types.InvalidGeoRestrictionParameter{} + sv = &types.InvalidOriginAccessControl{} } else { sv = *v } @@ -41988,13 +46051,13 @@ func awsRestxml_deserializeDocumentInvalidGeoRestrictionParameter(v **types.Inva return nil } -func awsRestxml_deserializeDocumentInvalidHeadersForS3Origin(v **types.InvalidHeadersForS3Origin, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentInvalidOriginAccessIdentity(v **types.InvalidOriginAccessIdentity, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.InvalidHeadersForS3Origin + var sv *types.InvalidOriginAccessIdentity if *v == nil { - sv = &types.InvalidHeadersForS3Origin{} + sv = &types.InvalidOriginAccessIdentity{} } else { sv = *v } @@ -42037,13 +46100,13 @@ func awsRestxml_deserializeDocumentInvalidHeadersForS3Origin(v **types.InvalidHe return nil } -func awsRestxml_deserializeDocumentInvalidIfMatchVersion(v **types.InvalidIfMatchVersion, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentInvalidOriginKeepaliveTimeout(v **types.InvalidOriginKeepaliveTimeout, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.InvalidIfMatchVersion + var sv *types.InvalidOriginKeepaliveTimeout if *v == nil { - sv = &types.InvalidIfMatchVersion{} + sv = &types.InvalidOriginKeepaliveTimeout{} } else { sv = *v } @@ -42086,13 +46149,13 @@ func awsRestxml_deserializeDocumentInvalidIfMatchVersion(v **types.InvalidIfMatc return nil } -func awsRestxml_deserializeDocumentInvalidLambdaFunctionAssociation(v **types.InvalidLambdaFunctionAssociation, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentInvalidOriginReadTimeout(v **types.InvalidOriginReadTimeout, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.InvalidLambdaFunctionAssociation + var sv *types.InvalidOriginReadTimeout if *v == nil { - sv = &types.InvalidLambdaFunctionAssociation{} + sv = &types.InvalidOriginReadTimeout{} } else { sv = *v } @@ -42135,13 +46198,13 @@ func awsRestxml_deserializeDocumentInvalidLambdaFunctionAssociation(v **types.In return nil } -func awsRestxml_deserializeDocumentInvalidLocationCode(v **types.InvalidLocationCode, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentInvalidProtocolSettings(v **types.InvalidProtocolSettings, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.InvalidLocationCode + var sv *types.InvalidProtocolSettings if *v == nil { - sv = &types.InvalidLocationCode{} + sv = &types.InvalidProtocolSettings{} } else { sv = *v } @@ -42184,13 +46247,13 @@ func awsRestxml_deserializeDocumentInvalidLocationCode(v **types.InvalidLocation return nil } -func awsRestxml_deserializeDocumentInvalidMinimumProtocolVersion(v **types.InvalidMinimumProtocolVersion, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentInvalidQueryStringParameters(v **types.InvalidQueryStringParameters, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.InvalidMinimumProtocolVersion + var sv *types.InvalidQueryStringParameters if *v == nil { - sv = &types.InvalidMinimumProtocolVersion{} + sv = &types.InvalidQueryStringParameters{} } else { sv = *v } @@ -42233,13 +46296,13 @@ func awsRestxml_deserializeDocumentInvalidMinimumProtocolVersion(v **types.Inval return nil } -func awsRestxml_deserializeDocumentInvalidOrigin(v **types.InvalidOrigin, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentInvalidRelativePath(v **types.InvalidRelativePath, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.InvalidOrigin + var sv *types.InvalidRelativePath if *v == nil { - sv = &types.InvalidOrigin{} + sv = &types.InvalidRelativePath{} } else { sv = *v } @@ -42282,13 +46345,13 @@ func awsRestxml_deserializeDocumentInvalidOrigin(v **types.InvalidOrigin, decode return nil } -func awsRestxml_deserializeDocumentInvalidOriginAccessControl(v **types.InvalidOriginAccessControl, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentInvalidRequiredProtocol(v **types.InvalidRequiredProtocol, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.InvalidOriginAccessControl + var sv *types.InvalidRequiredProtocol if *v == nil { - sv = &types.InvalidOriginAccessControl{} + sv = &types.InvalidRequiredProtocol{} } else { sv = *v } @@ -42331,13 +46394,13 @@ func awsRestxml_deserializeDocumentInvalidOriginAccessControl(v **types.InvalidO return nil } -func awsRestxml_deserializeDocumentInvalidOriginAccessIdentity(v **types.InvalidOriginAccessIdentity, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentInvalidResponseCode(v **types.InvalidResponseCode, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.InvalidOriginAccessIdentity + var sv *types.InvalidResponseCode if *v == nil { - sv = &types.InvalidOriginAccessIdentity{} + sv = &types.InvalidResponseCode{} } else { sv = *v } @@ -42380,13 +46443,13 @@ func awsRestxml_deserializeDocumentInvalidOriginAccessIdentity(v **types.Invalid return nil } -func awsRestxml_deserializeDocumentInvalidOriginKeepaliveTimeout(v **types.InvalidOriginKeepaliveTimeout, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentInvalidTagging(v **types.InvalidTagging, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.InvalidOriginKeepaliveTimeout + var sv *types.InvalidTagging if *v == nil { - sv = &types.InvalidOriginKeepaliveTimeout{} + sv = &types.InvalidTagging{} } else { sv = *v } @@ -42429,13 +46492,13 @@ func awsRestxml_deserializeDocumentInvalidOriginKeepaliveTimeout(v **types.Inval return nil } -func awsRestxml_deserializeDocumentInvalidOriginReadTimeout(v **types.InvalidOriginReadTimeout, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentInvalidTTLOrder(v **types.InvalidTTLOrder, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.InvalidOriginReadTimeout + var sv *types.InvalidTTLOrder if *v == nil { - sv = &types.InvalidOriginReadTimeout{} + sv = &types.InvalidTTLOrder{} } else { sv = *v } @@ -42478,13 +46541,13 @@ func awsRestxml_deserializeDocumentInvalidOriginReadTimeout(v **types.InvalidOri return nil } -func awsRestxml_deserializeDocumentInvalidProtocolSettings(v **types.InvalidProtocolSettings, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentInvalidViewerCertificate(v **types.InvalidViewerCertificate, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.InvalidProtocolSettings + var sv *types.InvalidViewerCertificate if *v == nil { - sv = &types.InvalidProtocolSettings{} + sv = &types.InvalidViewerCertificate{} } else { sv = *v } @@ -42527,13 +46590,13 @@ func awsRestxml_deserializeDocumentInvalidProtocolSettings(v **types.InvalidProt return nil } -func awsRestxml_deserializeDocumentInvalidQueryStringParameters(v **types.InvalidQueryStringParameters, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentInvalidWebACLId(v **types.InvalidWebACLId, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.InvalidQueryStringParameters + var sv *types.InvalidWebACLId if *v == nil { - sv = &types.InvalidQueryStringParameters{} + sv = &types.InvalidWebACLId{} } else { sv = *v } @@ -42576,13 +46639,13 @@ func awsRestxml_deserializeDocumentInvalidQueryStringParameters(v **types.Invali return nil } -func awsRestxml_deserializeDocumentInvalidRelativePath(v **types.InvalidRelativePath, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentIpamCidrConfig(v **types.IpamCidrConfig, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.InvalidRelativePath + var sv *types.IpamCidrConfig if *v == nil { - sv = &types.InvalidRelativePath{} + sv = &types.IpamCidrConfig{} } else { sv = *v } @@ -42598,7 +46661,7 @@ func awsRestxml_deserializeDocumentInvalidRelativePath(v **types.InvalidRelative originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("Message", t.Name.Local): + case strings.EqualFold("AnycastIp", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -42608,46 +46671,10 @@ func awsRestxml_deserializeDocumentInvalidRelativePath(v **types.InvalidRelative } { xtv := string(val) - sv.Message = ptr.String(xtv) + sv.AnycastIp = ptr.String(xtv) } - default: - // Do nothing and ignore the unexpected tag element - err = decoder.Decoder.Skip() - if err != nil { - return err - } - - } - decoder = originalDecoder - } - *v = sv - return nil -} - -func awsRestxml_deserializeDocumentInvalidRequiredProtocol(v **types.InvalidRequiredProtocol, decoder smithyxml.NodeDecoder) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - var sv *types.InvalidRequiredProtocol - if *v == nil { - sv = &types.InvalidRequiredProtocol{} - } else { - sv = *v - } - - for { - t, done, err := decoder.Token() - if err != nil { - return err - } - if done { - break - } - originalDecoder := decoder - decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) - switch { - case strings.EqualFold("Message", t.Name.Local): + case strings.EqualFold("Cidr", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -42657,46 +46684,10 @@ func awsRestxml_deserializeDocumentInvalidRequiredProtocol(v **types.InvalidRequ } { xtv := string(val) - sv.Message = ptr.String(xtv) - } - - default: - // Do nothing and ignore the unexpected tag element - err = decoder.Decoder.Skip() - if err != nil { - return err + sv.Cidr = ptr.String(xtv) } - } - decoder = originalDecoder - } - *v = sv - return nil -} - -func awsRestxml_deserializeDocumentInvalidResponseCode(v **types.InvalidResponseCode, decoder smithyxml.NodeDecoder) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - var sv *types.InvalidResponseCode - if *v == nil { - sv = &types.InvalidResponseCode{} - } else { - sv = *v - } - - for { - t, done, err := decoder.Token() - if err != nil { - return err - } - if done { - break - } - originalDecoder := decoder - decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) - switch { - case strings.EqualFold("Message", t.Name.Local): + case strings.EqualFold("IpamPoolArn", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -42706,46 +46697,10 @@ func awsRestxml_deserializeDocumentInvalidResponseCode(v **types.InvalidResponse } { xtv := string(val) - sv.Message = ptr.String(xtv) - } - - default: - // Do nothing and ignore the unexpected tag element - err = decoder.Decoder.Skip() - if err != nil { - return err + sv.IpamPoolArn = ptr.String(xtv) } - } - decoder = originalDecoder - } - *v = sv - return nil -} - -func awsRestxml_deserializeDocumentInvalidTagging(v **types.InvalidTagging, decoder smithyxml.NodeDecoder) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - var sv *types.InvalidTagging - if *v == nil { - sv = &types.InvalidTagging{} - } else { - sv = *v - } - - for { - t, done, err := decoder.Token() - if err != nil { - return err - } - if done { - break - } - originalDecoder := decoder - decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) - switch { - case strings.EqualFold("Message", t.Name.Local): + case strings.EqualFold("Status", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -42755,7 +46710,7 @@ func awsRestxml_deserializeDocumentInvalidTagging(v **types.InvalidTagging, deco } { xtv := string(val) - sv.Message = ptr.String(xtv) + sv.Status = types.IpamCidrStatus(xtv) } default: @@ -42772,17 +46727,18 @@ func awsRestxml_deserializeDocumentInvalidTagging(v **types.InvalidTagging, deco return nil } -func awsRestxml_deserializeDocumentInvalidTTLOrder(v **types.InvalidTTLOrder, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentIpamCidrConfigList(v *[]types.IpamCidrConfig, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.InvalidTTLOrder + var sv []types.IpamCidrConfig if *v == nil { - sv = &types.InvalidTTLOrder{} + sv = make([]types.IpamCidrConfig, 0) } else { sv = *v } + originalDecoder := decoder for { t, done, err := decoder.Token() if err != nil { @@ -42791,24 +46747,18 @@ func awsRestxml_deserializeDocumentInvalidTTLOrder(v **types.InvalidTTLOrder, de if done { break } - originalDecoder := decoder - decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("Message", t.Name.Local): - val, err := decoder.Value() - if err != nil { + case strings.EqualFold("IpamCidrConfig", t.Name.Local): + var col types.IpamCidrConfig + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + destAddr := &col + if err := awsRestxml_deserializeDocumentIpamCidrConfig(&destAddr, nodeDecoder); err != nil { return err } - if val == nil { - break - } - { - xtv := string(val) - sv.Message = ptr.String(xtv) - } + col = *destAddr + sv = append(sv, col) default: - // Do nothing and ignore the unexpected tag element err = decoder.Decoder.Skip() if err != nil { return err @@ -42821,62 +46771,37 @@ func awsRestxml_deserializeDocumentInvalidTTLOrder(v **types.InvalidTTLOrder, de return nil } -func awsRestxml_deserializeDocumentInvalidViewerCertificate(v **types.InvalidViewerCertificate, decoder smithyxml.NodeDecoder) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - var sv *types.InvalidViewerCertificate +func awsRestxml_deserializeDocumentIpamCidrConfigListUnwrapped(v *[]types.IpamCidrConfig, decoder smithyxml.NodeDecoder) error { + var sv []types.IpamCidrConfig if *v == nil { - sv = &types.InvalidViewerCertificate{} + sv = make([]types.IpamCidrConfig, 0) } else { sv = *v } - for { - t, done, err := decoder.Token() - if err != nil { + switch { + default: + var mv types.IpamCidrConfig + t := decoder.StartEl + _ = t + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + destAddr := &mv + if err := awsRestxml_deserializeDocumentIpamCidrConfig(&destAddr, nodeDecoder); err != nil { return err } - if done { - break - } - originalDecoder := decoder - decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) - switch { - case strings.EqualFold("Message", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - sv.Message = ptr.String(xtv) - } - - default: - // Do nothing and ignore the unexpected tag element - err = decoder.Decoder.Skip() - if err != nil { - return err - } - - } - decoder = originalDecoder + mv = *destAddr + sv = append(sv, mv) } *v = sv return nil } - -func awsRestxml_deserializeDocumentInvalidWebACLId(v **types.InvalidWebACLId, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentIpamConfig(v **types.IpamConfig, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.InvalidWebACLId + var sv *types.IpamConfig if *v == nil { - sv = &types.InvalidWebACLId{} + sv = &types.IpamConfig{} } else { sv = *v } @@ -42892,7 +46817,13 @@ func awsRestxml_deserializeDocumentInvalidWebACLId(v **types.InvalidWebACLId, de originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("Message", t.Name.Local): + case strings.EqualFold("IpamCidrConfigs", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentIpamCidrConfigList(&sv.IpamCidrConfigs, nodeDecoder); err != nil { + return err + } + + case strings.EqualFold("Quantity", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -42902,7 +46833,11 @@ func awsRestxml_deserializeDocumentInvalidWebACLId(v **types.InvalidWebACLId, de } { xtv := string(val) - sv.Message = ptr.String(xtv) + i64, err := strconv.ParseInt(xtv, 10, 64) + if err != nil { + return err + } + sv.Quantity = ptr.Int32(int32(i64)) } default: @@ -46935,6 +50870,55 @@ func awsRestxml_deserializeDocumentOriginListUnwrapped(v *[]types.Origin, decode *v = sv return nil } +func awsRestxml_deserializeDocumentOriginMtlsConfig(v **types.OriginMtlsConfig, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.OriginMtlsConfig + if *v == nil { + sv = &types.OriginMtlsConfig{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("ClientCertificateArn", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.ClientCertificateArn = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + func awsRestxml_deserializeDocumentOriginRequestPolicy(v **types.OriginRequestPolicy, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -54136,111 +58120,258 @@ func awsRestxml_deserializeDocumentTooManyCookieNamesInWhiteList(v **types.TooMa return nil } -func awsRestxml_deserializeDocumentTooManyCookiesInCachePolicy(v **types.TooManyCookiesInCachePolicy, decoder smithyxml.NodeDecoder) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - var sv *types.TooManyCookiesInCachePolicy - if *v == nil { - sv = &types.TooManyCookiesInCachePolicy{} - } else { - sv = *v - } - - for { - t, done, err := decoder.Token() - if err != nil { - return err - } - if done { - break - } - originalDecoder := decoder - decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) - switch { - case strings.EqualFold("Message", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - sv.Message = ptr.String(xtv) - } - - default: - // Do nothing and ignore the unexpected tag element - err = decoder.Decoder.Skip() - if err != nil { - return err - } - - } - decoder = originalDecoder - } - *v = sv - return nil -} - -func awsRestxml_deserializeDocumentTooManyCookiesInOriginRequestPolicy(v **types.TooManyCookiesInOriginRequestPolicy, decoder smithyxml.NodeDecoder) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - var sv *types.TooManyCookiesInOriginRequestPolicy - if *v == nil { - sv = &types.TooManyCookiesInOriginRequestPolicy{} - } else { - sv = *v - } - - for { - t, done, err := decoder.Token() - if err != nil { - return err - } - if done { - break - } - originalDecoder := decoder - decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) - switch { - case strings.EqualFold("Message", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - sv.Message = ptr.String(xtv) - } - - default: - // Do nothing and ignore the unexpected tag element - err = decoder.Decoder.Skip() - if err != nil { - return err - } - - } - decoder = originalDecoder - } - *v = sv - return nil -} - -func awsRestxml_deserializeDocumentTooManyCustomHeadersInResponseHeadersPolicy(v **types.TooManyCustomHeadersInResponseHeadersPolicy, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyCookiesInCachePolicy(v **types.TooManyCookiesInCachePolicy, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.TooManyCookiesInCachePolicy + if *v == nil { + sv = &types.TooManyCookiesInCachePolicy{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentTooManyCookiesInOriginRequestPolicy(v **types.TooManyCookiesInOriginRequestPolicy, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.TooManyCookiesInOriginRequestPolicy + if *v == nil { + sv = &types.TooManyCookiesInOriginRequestPolicy{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentTooManyCustomHeadersInResponseHeadersPolicy(v **types.TooManyCustomHeadersInResponseHeadersPolicy, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.TooManyCustomHeadersInResponseHeadersPolicy + if *v == nil { + sv = &types.TooManyCustomHeadersInResponseHeadersPolicy{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentTooManyDistributionCNAMEs(v **types.TooManyDistributionCNAMEs, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.TooManyDistributionCNAMEs + if *v == nil { + sv = &types.TooManyDistributionCNAMEs{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentTooManyDistributions(v **types.TooManyDistributions, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.TooManyDistributions + if *v == nil { + sv = &types.TooManyDistributions{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentTooManyDistributionsAssociatedToCachePolicy(v **types.TooManyDistributionsAssociatedToCachePolicy, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyCustomHeadersInResponseHeadersPolicy + var sv *types.TooManyDistributionsAssociatedToCachePolicy if *v == nil { - sv = &types.TooManyCustomHeadersInResponseHeadersPolicy{} + sv = &types.TooManyDistributionsAssociatedToCachePolicy{} } else { sv = *v } @@ -54283,13 +58414,13 @@ func awsRestxml_deserializeDocumentTooManyCustomHeadersInResponseHeadersPolicy(v return nil } -func awsRestxml_deserializeDocumentTooManyDistributionCNAMEs(v **types.TooManyDistributionCNAMEs, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyDistributionsAssociatedToFieldLevelEncryptionConfig(v **types.TooManyDistributionsAssociatedToFieldLevelEncryptionConfig, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyDistributionCNAMEs + var sv *types.TooManyDistributionsAssociatedToFieldLevelEncryptionConfig if *v == nil { - sv = &types.TooManyDistributionCNAMEs{} + sv = &types.TooManyDistributionsAssociatedToFieldLevelEncryptionConfig{} } else { sv = *v } @@ -54332,13 +58463,13 @@ func awsRestxml_deserializeDocumentTooManyDistributionCNAMEs(v **types.TooManyDi return nil } -func awsRestxml_deserializeDocumentTooManyDistributions(v **types.TooManyDistributions, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyDistributionsAssociatedToKeyGroup(v **types.TooManyDistributionsAssociatedToKeyGroup, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyDistributions + var sv *types.TooManyDistributionsAssociatedToKeyGroup if *v == nil { - sv = &types.TooManyDistributions{} + sv = &types.TooManyDistributionsAssociatedToKeyGroup{} } else { sv = *v } @@ -54381,13 +58512,13 @@ func awsRestxml_deserializeDocumentTooManyDistributions(v **types.TooManyDistrib return nil } -func awsRestxml_deserializeDocumentTooManyDistributionsAssociatedToCachePolicy(v **types.TooManyDistributionsAssociatedToCachePolicy, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyDistributionsAssociatedToOriginAccessControl(v **types.TooManyDistributionsAssociatedToOriginAccessControl, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyDistributionsAssociatedToCachePolicy + var sv *types.TooManyDistributionsAssociatedToOriginAccessControl if *v == nil { - sv = &types.TooManyDistributionsAssociatedToCachePolicy{} + sv = &types.TooManyDistributionsAssociatedToOriginAccessControl{} } else { sv = *v } @@ -54430,13 +58561,13 @@ func awsRestxml_deserializeDocumentTooManyDistributionsAssociatedToCachePolicy(v return nil } -func awsRestxml_deserializeDocumentTooManyDistributionsAssociatedToFieldLevelEncryptionConfig(v **types.TooManyDistributionsAssociatedToFieldLevelEncryptionConfig, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyDistributionsAssociatedToOriginRequestPolicy(v **types.TooManyDistributionsAssociatedToOriginRequestPolicy, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyDistributionsAssociatedToFieldLevelEncryptionConfig + var sv *types.TooManyDistributionsAssociatedToOriginRequestPolicy if *v == nil { - sv = &types.TooManyDistributionsAssociatedToFieldLevelEncryptionConfig{} + sv = &types.TooManyDistributionsAssociatedToOriginRequestPolicy{} } else { sv = *v } @@ -54479,13 +58610,13 @@ func awsRestxml_deserializeDocumentTooManyDistributionsAssociatedToFieldLevelEnc return nil } -func awsRestxml_deserializeDocumentTooManyDistributionsAssociatedToKeyGroup(v **types.TooManyDistributionsAssociatedToKeyGroup, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyDistributionsAssociatedToResponseHeadersPolicy(v **types.TooManyDistributionsAssociatedToResponseHeadersPolicy, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyDistributionsAssociatedToKeyGroup + var sv *types.TooManyDistributionsAssociatedToResponseHeadersPolicy if *v == nil { - sv = &types.TooManyDistributionsAssociatedToKeyGroup{} + sv = &types.TooManyDistributionsAssociatedToResponseHeadersPolicy{} } else { sv = *v } @@ -54528,13 +58659,13 @@ func awsRestxml_deserializeDocumentTooManyDistributionsAssociatedToKeyGroup(v ** return nil } -func awsRestxml_deserializeDocumentTooManyDistributionsAssociatedToOriginAccessControl(v **types.TooManyDistributionsAssociatedToOriginAccessControl, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyDistributionsWithFunctionAssociations(v **types.TooManyDistributionsWithFunctionAssociations, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyDistributionsAssociatedToOriginAccessControl + var sv *types.TooManyDistributionsWithFunctionAssociations if *v == nil { - sv = &types.TooManyDistributionsAssociatedToOriginAccessControl{} + sv = &types.TooManyDistributionsWithFunctionAssociations{} } else { sv = *v } @@ -54577,13 +58708,13 @@ func awsRestxml_deserializeDocumentTooManyDistributionsAssociatedToOriginAccessC return nil } -func awsRestxml_deserializeDocumentTooManyDistributionsAssociatedToOriginRequestPolicy(v **types.TooManyDistributionsAssociatedToOriginRequestPolicy, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyDistributionsWithLambdaAssociations(v **types.TooManyDistributionsWithLambdaAssociations, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyDistributionsAssociatedToOriginRequestPolicy + var sv *types.TooManyDistributionsWithLambdaAssociations if *v == nil { - sv = &types.TooManyDistributionsAssociatedToOriginRequestPolicy{} + sv = &types.TooManyDistributionsWithLambdaAssociations{} } else { sv = *v } @@ -54626,13 +58757,13 @@ func awsRestxml_deserializeDocumentTooManyDistributionsAssociatedToOriginRequest return nil } -func awsRestxml_deserializeDocumentTooManyDistributionsAssociatedToResponseHeadersPolicy(v **types.TooManyDistributionsAssociatedToResponseHeadersPolicy, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyDistributionsWithSingleFunctionARN(v **types.TooManyDistributionsWithSingleFunctionARN, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyDistributionsAssociatedToResponseHeadersPolicy + var sv *types.TooManyDistributionsWithSingleFunctionARN if *v == nil { - sv = &types.TooManyDistributionsAssociatedToResponseHeadersPolicy{} + sv = &types.TooManyDistributionsWithSingleFunctionARN{} } else { sv = *v } @@ -54675,13 +58806,13 @@ func awsRestxml_deserializeDocumentTooManyDistributionsAssociatedToResponseHeade return nil } -func awsRestxml_deserializeDocumentTooManyDistributionsWithFunctionAssociations(v **types.TooManyDistributionsWithFunctionAssociations, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyFieldLevelEncryptionConfigs(v **types.TooManyFieldLevelEncryptionConfigs, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyDistributionsWithFunctionAssociations + var sv *types.TooManyFieldLevelEncryptionConfigs if *v == nil { - sv = &types.TooManyDistributionsWithFunctionAssociations{} + sv = &types.TooManyFieldLevelEncryptionConfigs{} } else { sv = *v } @@ -54724,13 +58855,13 @@ func awsRestxml_deserializeDocumentTooManyDistributionsWithFunctionAssociations( return nil } -func awsRestxml_deserializeDocumentTooManyDistributionsWithLambdaAssociations(v **types.TooManyDistributionsWithLambdaAssociations, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyFieldLevelEncryptionContentTypeProfiles(v **types.TooManyFieldLevelEncryptionContentTypeProfiles, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyDistributionsWithLambdaAssociations + var sv *types.TooManyFieldLevelEncryptionContentTypeProfiles if *v == nil { - sv = &types.TooManyDistributionsWithLambdaAssociations{} + sv = &types.TooManyFieldLevelEncryptionContentTypeProfiles{} } else { sv = *v } @@ -54773,13 +58904,13 @@ func awsRestxml_deserializeDocumentTooManyDistributionsWithLambdaAssociations(v return nil } -func awsRestxml_deserializeDocumentTooManyDistributionsWithSingleFunctionARN(v **types.TooManyDistributionsWithSingleFunctionARN, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyFieldLevelEncryptionEncryptionEntities(v **types.TooManyFieldLevelEncryptionEncryptionEntities, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyDistributionsWithSingleFunctionARN + var sv *types.TooManyFieldLevelEncryptionEncryptionEntities if *v == nil { - sv = &types.TooManyDistributionsWithSingleFunctionARN{} + sv = &types.TooManyFieldLevelEncryptionEncryptionEntities{} } else { sv = *v } @@ -54822,13 +58953,13 @@ func awsRestxml_deserializeDocumentTooManyDistributionsWithSingleFunctionARN(v * return nil } -func awsRestxml_deserializeDocumentTooManyFieldLevelEncryptionConfigs(v **types.TooManyFieldLevelEncryptionConfigs, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyFieldLevelEncryptionFieldPatterns(v **types.TooManyFieldLevelEncryptionFieldPatterns, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyFieldLevelEncryptionConfigs + var sv *types.TooManyFieldLevelEncryptionFieldPatterns if *v == nil { - sv = &types.TooManyFieldLevelEncryptionConfigs{} + sv = &types.TooManyFieldLevelEncryptionFieldPatterns{} } else { sv = *v } @@ -54871,13 +59002,13 @@ func awsRestxml_deserializeDocumentTooManyFieldLevelEncryptionConfigs(v **types. return nil } -func awsRestxml_deserializeDocumentTooManyFieldLevelEncryptionContentTypeProfiles(v **types.TooManyFieldLevelEncryptionContentTypeProfiles, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyFieldLevelEncryptionProfiles(v **types.TooManyFieldLevelEncryptionProfiles, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyFieldLevelEncryptionContentTypeProfiles + var sv *types.TooManyFieldLevelEncryptionProfiles if *v == nil { - sv = &types.TooManyFieldLevelEncryptionContentTypeProfiles{} + sv = &types.TooManyFieldLevelEncryptionProfiles{} } else { sv = *v } @@ -54920,13 +59051,13 @@ func awsRestxml_deserializeDocumentTooManyFieldLevelEncryptionContentTypeProfile return nil } -func awsRestxml_deserializeDocumentTooManyFieldLevelEncryptionEncryptionEntities(v **types.TooManyFieldLevelEncryptionEncryptionEntities, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyFieldLevelEncryptionQueryArgProfiles(v **types.TooManyFieldLevelEncryptionQueryArgProfiles, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyFieldLevelEncryptionEncryptionEntities + var sv *types.TooManyFieldLevelEncryptionQueryArgProfiles if *v == nil { - sv = &types.TooManyFieldLevelEncryptionEncryptionEntities{} + sv = &types.TooManyFieldLevelEncryptionQueryArgProfiles{} } else { sv = *v } @@ -54969,13 +59100,13 @@ func awsRestxml_deserializeDocumentTooManyFieldLevelEncryptionEncryptionEntities return nil } -func awsRestxml_deserializeDocumentTooManyFieldLevelEncryptionFieldPatterns(v **types.TooManyFieldLevelEncryptionFieldPatterns, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyFunctionAssociations(v **types.TooManyFunctionAssociations, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyFieldLevelEncryptionFieldPatterns + var sv *types.TooManyFunctionAssociations if *v == nil { - sv = &types.TooManyFieldLevelEncryptionFieldPatterns{} + sv = &types.TooManyFunctionAssociations{} } else { sv = *v } @@ -55018,13 +59149,13 @@ func awsRestxml_deserializeDocumentTooManyFieldLevelEncryptionFieldPatterns(v ** return nil } -func awsRestxml_deserializeDocumentTooManyFieldLevelEncryptionProfiles(v **types.TooManyFieldLevelEncryptionProfiles, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyFunctions(v **types.TooManyFunctions, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyFieldLevelEncryptionProfiles + var sv *types.TooManyFunctions if *v == nil { - sv = &types.TooManyFieldLevelEncryptionProfiles{} + sv = &types.TooManyFunctions{} } else { sv = *v } @@ -55067,13 +59198,13 @@ func awsRestxml_deserializeDocumentTooManyFieldLevelEncryptionProfiles(v **types return nil } -func awsRestxml_deserializeDocumentTooManyFieldLevelEncryptionQueryArgProfiles(v **types.TooManyFieldLevelEncryptionQueryArgProfiles, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyHeadersInCachePolicy(v **types.TooManyHeadersInCachePolicy, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyFieldLevelEncryptionQueryArgProfiles + var sv *types.TooManyHeadersInCachePolicy if *v == nil { - sv = &types.TooManyFieldLevelEncryptionQueryArgProfiles{} + sv = &types.TooManyHeadersInCachePolicy{} } else { sv = *v } @@ -55116,13 +59247,13 @@ func awsRestxml_deserializeDocumentTooManyFieldLevelEncryptionQueryArgProfiles(v return nil } -func awsRestxml_deserializeDocumentTooManyFunctionAssociations(v **types.TooManyFunctionAssociations, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyHeadersInForwardedValues(v **types.TooManyHeadersInForwardedValues, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyFunctionAssociations + var sv *types.TooManyHeadersInForwardedValues if *v == nil { - sv = &types.TooManyFunctionAssociations{} + sv = &types.TooManyHeadersInForwardedValues{} } else { sv = *v } @@ -55165,13 +59296,13 @@ func awsRestxml_deserializeDocumentTooManyFunctionAssociations(v **types.TooMany return nil } -func awsRestxml_deserializeDocumentTooManyFunctions(v **types.TooManyFunctions, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyHeadersInOriginRequestPolicy(v **types.TooManyHeadersInOriginRequestPolicy, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyFunctions + var sv *types.TooManyHeadersInOriginRequestPolicy if *v == nil { - sv = &types.TooManyFunctions{} + sv = &types.TooManyHeadersInOriginRequestPolicy{} } else { sv = *v } @@ -55214,13 +59345,13 @@ func awsRestxml_deserializeDocumentTooManyFunctions(v **types.TooManyFunctions, return nil } -func awsRestxml_deserializeDocumentTooManyHeadersInCachePolicy(v **types.TooManyHeadersInCachePolicy, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyInvalidationsInProgress(v **types.TooManyInvalidationsInProgress, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyHeadersInCachePolicy + var sv *types.TooManyInvalidationsInProgress if *v == nil { - sv = &types.TooManyHeadersInCachePolicy{} + sv = &types.TooManyInvalidationsInProgress{} } else { sv = *v } @@ -55263,13 +59394,13 @@ func awsRestxml_deserializeDocumentTooManyHeadersInCachePolicy(v **types.TooMany return nil } -func awsRestxml_deserializeDocumentTooManyHeadersInForwardedValues(v **types.TooManyHeadersInForwardedValues, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyKeyGroups(v **types.TooManyKeyGroups, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyHeadersInForwardedValues + var sv *types.TooManyKeyGroups if *v == nil { - sv = &types.TooManyHeadersInForwardedValues{} + sv = &types.TooManyKeyGroups{} } else { sv = *v } @@ -55312,13 +59443,13 @@ func awsRestxml_deserializeDocumentTooManyHeadersInForwardedValues(v **types.Too return nil } -func awsRestxml_deserializeDocumentTooManyHeadersInOriginRequestPolicy(v **types.TooManyHeadersInOriginRequestPolicy, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyKeyGroupsAssociatedToDistribution(v **types.TooManyKeyGroupsAssociatedToDistribution, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyHeadersInOriginRequestPolicy + var sv *types.TooManyKeyGroupsAssociatedToDistribution if *v == nil { - sv = &types.TooManyHeadersInOriginRequestPolicy{} + sv = &types.TooManyKeyGroupsAssociatedToDistribution{} } else { sv = *v } @@ -55361,13 +59492,13 @@ func awsRestxml_deserializeDocumentTooManyHeadersInOriginRequestPolicy(v **types return nil } -func awsRestxml_deserializeDocumentTooManyInvalidationsInProgress(v **types.TooManyInvalidationsInProgress, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyLambdaFunctionAssociations(v **types.TooManyLambdaFunctionAssociations, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyInvalidationsInProgress + var sv *types.TooManyLambdaFunctionAssociations if *v == nil { - sv = &types.TooManyInvalidationsInProgress{} + sv = &types.TooManyLambdaFunctionAssociations{} } else { sv = *v } @@ -55410,13 +59541,13 @@ func awsRestxml_deserializeDocumentTooManyInvalidationsInProgress(v **types.TooM return nil } -func awsRestxml_deserializeDocumentTooManyKeyGroups(v **types.TooManyKeyGroups, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyOriginAccessControls(v **types.TooManyOriginAccessControls, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyKeyGroups + var sv *types.TooManyOriginAccessControls if *v == nil { - sv = &types.TooManyKeyGroups{} + sv = &types.TooManyOriginAccessControls{} } else { sv = *v } @@ -55459,13 +59590,13 @@ func awsRestxml_deserializeDocumentTooManyKeyGroups(v **types.TooManyKeyGroups, return nil } -func awsRestxml_deserializeDocumentTooManyKeyGroupsAssociatedToDistribution(v **types.TooManyKeyGroupsAssociatedToDistribution, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyOriginCustomHeaders(v **types.TooManyOriginCustomHeaders, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyKeyGroupsAssociatedToDistribution + var sv *types.TooManyOriginCustomHeaders if *v == nil { - sv = &types.TooManyKeyGroupsAssociatedToDistribution{} + sv = &types.TooManyOriginCustomHeaders{} } else { sv = *v } @@ -55508,13 +59639,13 @@ func awsRestxml_deserializeDocumentTooManyKeyGroupsAssociatedToDistribution(v ** return nil } -func awsRestxml_deserializeDocumentTooManyLambdaFunctionAssociations(v **types.TooManyLambdaFunctionAssociations, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyOriginGroupsPerDistribution(v **types.TooManyOriginGroupsPerDistribution, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyLambdaFunctionAssociations + var sv *types.TooManyOriginGroupsPerDistribution if *v == nil { - sv = &types.TooManyLambdaFunctionAssociations{} + sv = &types.TooManyOriginGroupsPerDistribution{} } else { sv = *v } @@ -55557,13 +59688,13 @@ func awsRestxml_deserializeDocumentTooManyLambdaFunctionAssociations(v **types.T return nil } -func awsRestxml_deserializeDocumentTooManyOriginAccessControls(v **types.TooManyOriginAccessControls, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyOriginRequestPolicies(v **types.TooManyOriginRequestPolicies, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyOriginAccessControls + var sv *types.TooManyOriginRequestPolicies if *v == nil { - sv = &types.TooManyOriginAccessControls{} + sv = &types.TooManyOriginRequestPolicies{} } else { sv = *v } @@ -55606,13 +59737,13 @@ func awsRestxml_deserializeDocumentTooManyOriginAccessControls(v **types.TooMany return nil } -func awsRestxml_deserializeDocumentTooManyOriginCustomHeaders(v **types.TooManyOriginCustomHeaders, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyOrigins(v **types.TooManyOrigins, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyOriginCustomHeaders + var sv *types.TooManyOrigins if *v == nil { - sv = &types.TooManyOriginCustomHeaders{} + sv = &types.TooManyOrigins{} } else { sv = *v } @@ -55655,13 +59786,13 @@ func awsRestxml_deserializeDocumentTooManyOriginCustomHeaders(v **types.TooManyO return nil } -func awsRestxml_deserializeDocumentTooManyOriginGroupsPerDistribution(v **types.TooManyOriginGroupsPerDistribution, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyPublicKeys(v **types.TooManyPublicKeys, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyOriginGroupsPerDistribution + var sv *types.TooManyPublicKeys if *v == nil { - sv = &types.TooManyOriginGroupsPerDistribution{} + sv = &types.TooManyPublicKeys{} } else { sv = *v } @@ -55704,13 +59835,13 @@ func awsRestxml_deserializeDocumentTooManyOriginGroupsPerDistribution(v **types. return nil } -func awsRestxml_deserializeDocumentTooManyOriginRequestPolicies(v **types.TooManyOriginRequestPolicies, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyPublicKeysInKeyGroup(v **types.TooManyPublicKeysInKeyGroup, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyOriginRequestPolicies + var sv *types.TooManyPublicKeysInKeyGroup if *v == nil { - sv = &types.TooManyOriginRequestPolicies{} + sv = &types.TooManyPublicKeysInKeyGroup{} } else { sv = *v } @@ -55753,13 +59884,13 @@ func awsRestxml_deserializeDocumentTooManyOriginRequestPolicies(v **types.TooMan return nil } -func awsRestxml_deserializeDocumentTooManyOrigins(v **types.TooManyOrigins, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyQueryStringParameters(v **types.TooManyQueryStringParameters, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyOrigins + var sv *types.TooManyQueryStringParameters if *v == nil { - sv = &types.TooManyOrigins{} + sv = &types.TooManyQueryStringParameters{} } else { sv = *v } @@ -55802,13 +59933,13 @@ func awsRestxml_deserializeDocumentTooManyOrigins(v **types.TooManyOrigins, deco return nil } -func awsRestxml_deserializeDocumentTooManyPublicKeys(v **types.TooManyPublicKeys, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyQueryStringsInCachePolicy(v **types.TooManyQueryStringsInCachePolicy, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyPublicKeys + var sv *types.TooManyQueryStringsInCachePolicy if *v == nil { - sv = &types.TooManyPublicKeys{} + sv = &types.TooManyQueryStringsInCachePolicy{} } else { sv = *v } @@ -55851,13 +59982,13 @@ func awsRestxml_deserializeDocumentTooManyPublicKeys(v **types.TooManyPublicKeys return nil } -func awsRestxml_deserializeDocumentTooManyPublicKeysInKeyGroup(v **types.TooManyPublicKeysInKeyGroup, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyQueryStringsInOriginRequestPolicy(v **types.TooManyQueryStringsInOriginRequestPolicy, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyPublicKeysInKeyGroup + var sv *types.TooManyQueryStringsInOriginRequestPolicy if *v == nil { - sv = &types.TooManyPublicKeysInKeyGroup{} + sv = &types.TooManyQueryStringsInOriginRequestPolicy{} } else { sv = *v } @@ -55900,13 +60031,13 @@ func awsRestxml_deserializeDocumentTooManyPublicKeysInKeyGroup(v **types.TooMany return nil } -func awsRestxml_deserializeDocumentTooManyQueryStringParameters(v **types.TooManyQueryStringParameters, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyRealtimeLogConfigs(v **types.TooManyRealtimeLogConfigs, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyQueryStringParameters + var sv *types.TooManyRealtimeLogConfigs if *v == nil { - sv = &types.TooManyQueryStringParameters{} + sv = &types.TooManyRealtimeLogConfigs{} } else { sv = *v } @@ -55949,13 +60080,13 @@ func awsRestxml_deserializeDocumentTooManyQueryStringParameters(v **types.TooMan return nil } -func awsRestxml_deserializeDocumentTooManyQueryStringsInCachePolicy(v **types.TooManyQueryStringsInCachePolicy, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyRemoveHeadersInResponseHeadersPolicy(v **types.TooManyRemoveHeadersInResponseHeadersPolicy, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyQueryStringsInCachePolicy + var sv *types.TooManyRemoveHeadersInResponseHeadersPolicy if *v == nil { - sv = &types.TooManyQueryStringsInCachePolicy{} + sv = &types.TooManyRemoveHeadersInResponseHeadersPolicy{} } else { sv = *v } @@ -55998,13 +60129,13 @@ func awsRestxml_deserializeDocumentTooManyQueryStringsInCachePolicy(v **types.To return nil } -func awsRestxml_deserializeDocumentTooManyQueryStringsInOriginRequestPolicy(v **types.TooManyQueryStringsInOriginRequestPolicy, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyResponseHeadersPolicies(v **types.TooManyResponseHeadersPolicies, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyQueryStringsInOriginRequestPolicy + var sv *types.TooManyResponseHeadersPolicies if *v == nil { - sv = &types.TooManyQueryStringsInOriginRequestPolicy{} + sv = &types.TooManyResponseHeadersPolicies{} } else { sv = *v } @@ -56047,13 +60178,13 @@ func awsRestxml_deserializeDocumentTooManyQueryStringsInOriginRequestPolicy(v ** return nil } -func awsRestxml_deserializeDocumentTooManyRealtimeLogConfigs(v **types.TooManyRealtimeLogConfigs, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyStreamingDistributionCNAMEs(v **types.TooManyStreamingDistributionCNAMEs, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyRealtimeLogConfigs + var sv *types.TooManyStreamingDistributionCNAMEs if *v == nil { - sv = &types.TooManyRealtimeLogConfigs{} + sv = &types.TooManyStreamingDistributionCNAMEs{} } else { sv = *v } @@ -56096,13 +60227,13 @@ func awsRestxml_deserializeDocumentTooManyRealtimeLogConfigs(v **types.TooManyRe return nil } -func awsRestxml_deserializeDocumentTooManyRemoveHeadersInResponseHeadersPolicy(v **types.TooManyRemoveHeadersInResponseHeadersPolicy, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyStreamingDistributions(v **types.TooManyStreamingDistributions, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyRemoveHeadersInResponseHeadersPolicy + var sv *types.TooManyStreamingDistributions if *v == nil { - sv = &types.TooManyRemoveHeadersInResponseHeadersPolicy{} + sv = &types.TooManyStreamingDistributions{} } else { sv = *v } @@ -56145,13 +60276,13 @@ func awsRestxml_deserializeDocumentTooManyRemoveHeadersInResponseHeadersPolicy(v return nil } -func awsRestxml_deserializeDocumentTooManyResponseHeadersPolicies(v **types.TooManyResponseHeadersPolicies, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTooManyTrustedSigners(v **types.TooManyTrustedSigners, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyResponseHeadersPolicies + var sv *types.TooManyTrustedSigners if *v == nil { - sv = &types.TooManyResponseHeadersPolicies{} + sv = &types.TooManyTrustedSigners{} } else { sv = *v } @@ -56194,13 +60325,13 @@ func awsRestxml_deserializeDocumentTooManyResponseHeadersPolicies(v **types.TooM return nil } -func awsRestxml_deserializeDocumentTooManyStreamingDistributionCNAMEs(v **types.TooManyStreamingDistributionCNAMEs, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTrafficConfig(v **types.TrafficConfig, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyStreamingDistributionCNAMEs + var sv *types.TrafficConfig if *v == nil { - sv = &types.TooManyStreamingDistributionCNAMEs{} + sv = &types.TrafficConfig{} } else { sv = *v } @@ -56216,7 +60347,19 @@ func awsRestxml_deserializeDocumentTooManyStreamingDistributionCNAMEs(v **types. originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("Message", t.Name.Local): + case strings.EqualFold("SingleHeaderConfig", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentContinuousDeploymentSingleHeaderConfig(&sv.SingleHeaderConfig, nodeDecoder); err != nil { + return err + } + + case strings.EqualFold("SingleWeightConfig", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentContinuousDeploymentSingleWeightConfig(&sv.SingleWeightConfig, nodeDecoder); err != nil { + return err + } + + case strings.EqualFold("Type", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -56226,7 +60369,7 @@ func awsRestxml_deserializeDocumentTooManyStreamingDistributionCNAMEs(v **types. } { xtv := string(val) - sv.Message = ptr.String(xtv) + sv.Type = types.ContinuousDeploymentPolicyType(xtv) } default: @@ -56243,13 +60386,13 @@ func awsRestxml_deserializeDocumentTooManyStreamingDistributionCNAMEs(v **types. return nil } -func awsRestxml_deserializeDocumentTooManyStreamingDistributions(v **types.TooManyStreamingDistributions, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTrustedKeyGroupDoesNotExist(v **types.TrustedKeyGroupDoesNotExist, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyStreamingDistributions + var sv *types.TrustedKeyGroupDoesNotExist if *v == nil { - sv = &types.TooManyStreamingDistributions{} + sv = &types.TrustedKeyGroupDoesNotExist{} } else { sv = *v } @@ -56292,17 +60435,18 @@ func awsRestxml_deserializeDocumentTooManyStreamingDistributions(v **types.TooMa return nil } -func awsRestxml_deserializeDocumentTooManyTrustedSigners(v **types.TooManyTrustedSigners, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTrustedKeyGroupIdList(v *[]string, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TooManyTrustedSigners + var sv []string if *v == nil { - sv = &types.TooManyTrustedSigners{} + sv = make([]string, 0) } else { sv = *v } + originalDecoder := decoder for { t, done, err := decoder.Token() if err != nil { @@ -56311,10 +60455,11 @@ func awsRestxml_deserializeDocumentTooManyTrustedSigners(v **types.TooManyTruste if done { break } - originalDecoder := decoder - decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + memberDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + decoder = memberDecoder switch { - case strings.EqualFold("Message", t.Name.Local): + case strings.EqualFold("KeyGroup", t.Name.Local): + var col string val, err := decoder.Value() if err != nil { return err @@ -56324,11 +60469,11 @@ func awsRestxml_deserializeDocumentTooManyTrustedSigners(v **types.TooManyTruste } { xtv := string(val) - sv.Message = ptr.String(xtv) + col = xtv } + sv = append(sv, col) default: - // Do nothing and ignore the unexpected tag element err = decoder.Decoder.Skip() if err != nil { return err @@ -56341,74 +60486,42 @@ func awsRestxml_deserializeDocumentTooManyTrustedSigners(v **types.TooManyTruste return nil } -func awsRestxml_deserializeDocumentTrafficConfig(v **types.TrafficConfig, decoder smithyxml.NodeDecoder) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - var sv *types.TrafficConfig +func awsRestxml_deserializeDocumentTrustedKeyGroupIdListUnwrapped(v *[]string, decoder smithyxml.NodeDecoder) error { + var sv []string if *v == nil { - sv = &types.TrafficConfig{} + sv = make([]string, 0) } else { sv = *v } - for { - t, done, err := decoder.Token() + switch { + default: + var mv string + t := decoder.StartEl + _ = t + val, err := decoder.Value() if err != nil { return err } - if done { + if val == nil { break } - originalDecoder := decoder - decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) - switch { - case strings.EqualFold("SingleHeaderConfig", t.Name.Local): - nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentContinuousDeploymentSingleHeaderConfig(&sv.SingleHeaderConfig, nodeDecoder); err != nil { - return err - } - - case strings.EqualFold("SingleWeightConfig", t.Name.Local): - nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentContinuousDeploymentSingleWeightConfig(&sv.SingleWeightConfig, nodeDecoder); err != nil { - return err - } - - case strings.EqualFold("Type", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - sv.Type = types.ContinuousDeploymentPolicyType(xtv) - } - - default: - // Do nothing and ignore the unexpected tag element - err = decoder.Decoder.Skip() - if err != nil { - return err - } - + { + xtv := string(val) + mv = xtv } - decoder = originalDecoder + sv = append(sv, mv) } *v = sv return nil } - -func awsRestxml_deserializeDocumentTrustedKeyGroupDoesNotExist(v **types.TrustedKeyGroupDoesNotExist, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTrustedKeyGroups(v **types.TrustedKeyGroups, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TrustedKeyGroupDoesNotExist + var sv *types.TrustedKeyGroups if *v == nil { - sv = &types.TrustedKeyGroupDoesNotExist{} + sv = &types.TrustedKeyGroups{} } else { sv = *v } @@ -56424,7 +60537,29 @@ func awsRestxml_deserializeDocumentTrustedKeyGroupDoesNotExist(v **types.Trusted originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("Message", t.Name.Local): + case strings.EqualFold("Enabled", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv, err := strconv.ParseBool(string(val)) + if err != nil { + return fmt.Errorf("expected boolean to be of type *bool, got %T instead", val) + } + sv.Enabled = ptr.Bool(xtv) + } + + case strings.EqualFold("Items", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentTrustedKeyGroupIdList(&sv.Items, nodeDecoder); err != nil { + return err + } + + case strings.EqualFold("Quantity", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -56434,7 +60569,11 @@ func awsRestxml_deserializeDocumentTrustedKeyGroupDoesNotExist(v **types.Trusted } { xtv := string(val) - sv.Message = ptr.String(xtv) + i64, err := strconv.ParseInt(xtv, 10, 64) + if err != nil { + return err + } + sv.Quantity = ptr.Int32(int32(i64)) } default: @@ -56451,18 +60590,17 @@ func awsRestxml_deserializeDocumentTrustedKeyGroupDoesNotExist(v **types.Trusted return nil } -func awsRestxml_deserializeDocumentTrustedKeyGroupIdList(v *[]string, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTrustedSignerDoesNotExist(v **types.TrustedSignerDoesNotExist, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv []string + var sv *types.TrustedSignerDoesNotExist if *v == nil { - sv = make([]string, 0) + sv = &types.TrustedSignerDoesNotExist{} } else { sv = *v } - originalDecoder := decoder for { t, done, err := decoder.Token() if err != nil { @@ -56471,11 +60609,10 @@ func awsRestxml_deserializeDocumentTrustedKeyGroupIdList(v *[]string, decoder sm if done { break } - memberDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - decoder = memberDecoder + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("KeyGroup", t.Name.Local): - var col string + case strings.EqualFold("Message", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -56485,11 +60622,11 @@ func awsRestxml_deserializeDocumentTrustedKeyGroupIdList(v *[]string, decoder sm } { xtv := string(val) - col = xtv + sv.Message = ptr.String(xtv) } - sv = append(sv, col) default: + // Do nothing and ignore the unexpected tag element err = decoder.Decoder.Skip() if err != nil { return err @@ -56502,42 +60639,13 @@ func awsRestxml_deserializeDocumentTrustedKeyGroupIdList(v *[]string, decoder sm return nil } -func awsRestxml_deserializeDocumentTrustedKeyGroupIdListUnwrapped(v *[]string, decoder smithyxml.NodeDecoder) error { - var sv []string - if *v == nil { - sv = make([]string, 0) - } else { - sv = *v - } - - switch { - default: - var mv string - t := decoder.StartEl - _ = t - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - mv = xtv - } - sv = append(sv, mv) - } - *v = sv - return nil -} -func awsRestxml_deserializeDocumentTrustedKeyGroups(v **types.TrustedKeyGroups, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTrustedSigners(v **types.TrustedSigners, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TrustedKeyGroups + var sv *types.TrustedSigners if *v == nil { - sv = &types.TrustedKeyGroups{} + sv = &types.TrustedSigners{} } else { sv = *v } @@ -56571,7 +60679,7 @@ func awsRestxml_deserializeDocumentTrustedKeyGroups(v **types.TrustedKeyGroups, case strings.EqualFold("Items", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentTrustedKeyGroupIdList(&sv.Items, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentAwsAccountNumberList(&sv.Items, nodeDecoder); err != nil { return err } @@ -56606,13 +60714,13 @@ func awsRestxml_deserializeDocumentTrustedKeyGroups(v **types.TrustedKeyGroups, return nil } -func awsRestxml_deserializeDocumentTrustedSignerDoesNotExist(v **types.TrustedSignerDoesNotExist, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTrustStore(v **types.TrustStore, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TrustedSignerDoesNotExist + var sv *types.TrustStore if *v == nil { - sv = &types.TrustedSignerDoesNotExist{} + sv = &types.TrustStore{} } else { sv = *v } @@ -56628,7 +60736,7 @@ func awsRestxml_deserializeDocumentTrustedSignerDoesNotExist(v **types.TrustedSi originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("Message", t.Name.Local): + case strings.EqualFold("Arn", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -56638,7 +60746,93 @@ func awsRestxml_deserializeDocumentTrustedSignerDoesNotExist(v **types.TrustedSi } { xtv := string(val) - sv.Message = ptr.String(xtv) + sv.Arn = ptr.String(xtv) + } + + case strings.EqualFold("Id", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Id = ptr.String(xtv) + } + + case strings.EqualFold("LastModifiedTime", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + t, err := smithytime.ParseDateTime(xtv) + if err != nil { + return err + } + sv.LastModifiedTime = ptr.Time(t) + } + + case strings.EqualFold("Name", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Name = ptr.String(xtv) + } + + case strings.EqualFold("NumberOfCaCertificates", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + i64, err := strconv.ParseInt(xtv, 10, 64) + if err != nil { + return err + } + sv.NumberOfCaCertificates = ptr.Int32(int32(i64)) + } + + case strings.EqualFold("Reason", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Reason = ptr.String(xtv) + } + + case strings.EqualFold("Status", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Status = types.TrustStoreStatus(xtv) } default: @@ -56655,13 +60849,13 @@ func awsRestxml_deserializeDocumentTrustedSignerDoesNotExist(v **types.TrustedSi return nil } -func awsRestxml_deserializeDocumentTrustedSigners(v **types.TrustedSigners, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentTrustStoreConfig(v **types.TrustStoreConfig, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.TrustedSigners + var sv *types.TrustStoreConfig if *v == nil { - sv = &types.TrustedSigners{} + sv = &types.TrustStoreConfig{} } else { sv = *v } @@ -56677,7 +60871,7 @@ func awsRestxml_deserializeDocumentTrustedSigners(v **types.TrustedSigners, deco originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("Enabled", t.Name.Local): + case strings.EqualFold("AdvertiseTrustStoreCaNames", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -56690,16 +60884,212 @@ func awsRestxml_deserializeDocumentTrustedSigners(v **types.TrustedSigners, deco if err != nil { return fmt.Errorf("expected boolean to be of type *bool, got %T instead", val) } - sv.Enabled = ptr.Bool(xtv) + sv.AdvertiseTrustStoreCaNames = ptr.Bool(xtv) } - case strings.EqualFold("Items", t.Name.Local): + case strings.EqualFold("IgnoreCertificateExpiry", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv, err := strconv.ParseBool(string(val)) + if err != nil { + return fmt.Errorf("expected boolean to be of type *bool, got %T instead", val) + } + sv.IgnoreCertificateExpiry = ptr.Bool(xtv) + } + + case strings.EqualFold("TrustStoreId", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.TrustStoreId = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentTrustStoreList(v *[]types.TrustStoreSummary, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv []types.TrustStoreSummary + if *v == nil { + sv = make([]types.TrustStoreSummary, 0) + } else { + sv = *v + } + + originalDecoder := decoder + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + switch { + case strings.EqualFold("TrustStoreSummary", t.Name.Local): + var col types.TrustStoreSummary nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentAwsAccountNumberList(&sv.Items, nodeDecoder); err != nil { + destAddr := &col + if err := awsRestxml_deserializeDocumentTrustStoreSummary(&destAddr, nodeDecoder); err != nil { return err } + col = *destAddr + sv = append(sv, col) - case strings.EqualFold("Quantity", t.Name.Local): + default: + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentTrustStoreListUnwrapped(v *[]types.TrustStoreSummary, decoder smithyxml.NodeDecoder) error { + var sv []types.TrustStoreSummary + if *v == nil { + sv = make([]types.TrustStoreSummary, 0) + } else { + sv = *v + } + + switch { + default: + var mv types.TrustStoreSummary + t := decoder.StartEl + _ = t + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + destAddr := &mv + if err := awsRestxml_deserializeDocumentTrustStoreSummary(&destAddr, nodeDecoder); err != nil { + return err + } + mv = *destAddr + sv = append(sv, mv) + } + *v = sv + return nil +} +func awsRestxml_deserializeDocumentTrustStoreSummary(v **types.TrustStoreSummary, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.TrustStoreSummary + if *v == nil { + sv = &types.TrustStoreSummary{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Arn", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Arn = ptr.String(xtv) + } + + case strings.EqualFold("ETag", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.ETag = ptr.String(xtv) + } + + case strings.EqualFold("Id", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Id = ptr.String(xtv) + } + + case strings.EqualFold("LastModifiedTime", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + t, err := smithytime.ParseDateTime(xtv) + if err != nil { + return err + } + sv.LastModifiedTime = ptr.Time(t) + } + + case strings.EqualFold("Name", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Name = ptr.String(xtv) + } + + case strings.EqualFold("NumberOfCaCertificates", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -56713,7 +61103,33 @@ func awsRestxml_deserializeDocumentTrustedSigners(v **types.TrustedSigners, deco if err != nil { return err } - sv.Quantity = ptr.Int32(int32(i64)) + sv.NumberOfCaCertificates = ptr.Int32(int32(i64)) + } + + case strings.EqualFold("Reason", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Reason = ptr.String(xtv) + } + + case strings.EqualFold("Status", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Status = types.TrustStoreStatus(xtv) } default: @@ -57052,6 +61468,61 @@ func awsRestxml_deserializeDocumentViewerCertificate(v **types.ViewerCertificate return nil } +func awsRestxml_deserializeDocumentViewerMtlsConfig(v **types.ViewerMtlsConfig, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.ViewerMtlsConfig + if *v == nil { + sv = &types.ViewerMtlsConfig{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Mode", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Mode = types.ViewerMtlsMode(xtv) + } + + case strings.EqualFold("TrustStoreConfig", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentTrustStoreConfig(&sv.TrustStoreConfig, nodeDecoder); err != nil { + return err + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + func awsRestxml_deserializeDocumentVpcOrigin(v **types.VpcOrigin, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -57074,6 +61545,19 @@ func awsRestxml_deserializeDocumentVpcOrigin(v **types.VpcOrigin, decoder smithy originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { + case strings.EqualFold("AccountId", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.AccountId = ptr.String(xtv) + } + case strings.EqualFold("Arn", t.Name.Local): val, err := decoder.Value() if err != nil { @@ -57223,6 +61707,19 @@ func awsRestxml_deserializeDocumentVpcOriginConfig(v **types.VpcOriginConfig, de sv.OriginReadTimeout = ptr.Int32(int32(i64)) } + case strings.EqualFold("OwnerAccountId", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.OwnerAccountId = ptr.String(xtv) + } + case strings.EqualFold("VpcOriginId", t.Name.Local): val, err := decoder.Value() if err != nil { @@ -57505,6 +62002,19 @@ func awsRestxml_deserializeDocumentVpcOriginSummary(v **types.VpcOriginSummary, originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { + case strings.EqualFold("AccountId", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.AccountId = ptr.String(xtv) + } + case strings.EqualFold("Arn", t.Name.Local): val, err := decoder.Value() if err != nil { diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/endpoints.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/endpoints.go index 3c4233e72c..33720c5fde 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/endpoints.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/endpoints.go @@ -15,6 +15,7 @@ import ( smithy "github.com/aws/smithy-go" smithyauth "github.com/aws/smithy-go/auth" smithyendpoints "github.com/aws/smithy-go/endpoints" + "github.com/aws/smithy-go/endpoints/private/rulesfn" "github.com/aws/smithy-go/middleware" "github.com/aws/smithy-go/ptr" "github.com/aws/smithy-go/tracing" @@ -218,11 +219,15 @@ func resolveBaseEndpoint(cfg aws.Config, o *Options) { } } -func bindRegion(region string) *string { +func bindRegion(region string) (*string, error) { if region == "" { - return nil + return nil, nil + } + if !rulesfn.IsValidHostLabel(region, true) { + return nil, fmt.Errorf("invalid input region %s", region) } - return aws.String(endpoints.MapFIPSRegion(region)) + + return aws.String(endpoints.MapFIPSRegion(region)), nil } // EndpointParameters provides the parameters that influence how endpoints are @@ -637,19 +642,23 @@ type endpointParamsBinder interface { bindEndpointParams(*EndpointParameters) } -func bindEndpointParams(ctx context.Context, input interface{}, options Options) *EndpointParameters { +func bindEndpointParams(ctx context.Context, input interface{}, options Options) (*EndpointParameters, error) { params := &EndpointParameters{} params.UseDualStack = aws.Bool(options.EndpointOptions.UseDualStackEndpoint == aws.DualStackEndpointStateEnabled) params.UseFIPS = aws.Bool(options.EndpointOptions.UseFIPSEndpoint == aws.FIPSEndpointStateEnabled) params.Endpoint = options.BaseEndpoint - params.Region = bindRegion(options.Region) + region, err := bindRegion(options.Region) + if err != nil { + return nil, err + } + params.Region = region if b, ok := input.(endpointParamsBinder); ok { b.bindEndpointParams(params) } - return params + return params, nil } type resolveEndpointV2Middleware struct { @@ -679,7 +688,10 @@ func (m *resolveEndpointV2Middleware) HandleFinalize(ctx context.Context, in mid return out, metadata, fmt.Errorf("expected endpoint resolver to not be nil") } - params := bindEndpointParams(ctx, getOperationInput(ctx), m.options) + params, err := bindEndpointParams(ctx, getOperationInput(ctx), m.options) + if err != nil { + return out, metadata, fmt.Errorf("failed to bind endpoint params, %w", err) + } endpt, err := timeOperationMetric(ctx, "client.call.resolve_endpoint_duration", func() (smithyendpoints.Endpoint, error) { return m.options.EndpointResolverV2.ResolveEndpoint(ctx, *params) diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/generated.json b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/generated.json index fa5e90683e..d553e98db1 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/generated.json +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/generated.json @@ -15,6 +15,7 @@ "api_op_CreateAnycastIpList.go", "api_op_CreateCachePolicy.go", "api_op_CreateCloudFrontOriginAccessIdentity.go", + "api_op_CreateConnectionFunction.go", "api_op_CreateConnectionGroup.go", "api_op_CreateContinuousDeploymentPolicy.go", "api_op_CreateDistribution.go", @@ -35,10 +36,12 @@ "api_op_CreateResponseHeadersPolicy.go", "api_op_CreateStreamingDistribution.go", "api_op_CreateStreamingDistributionWithTags.go", + "api_op_CreateTrustStore.go", "api_op_CreateVpcOrigin.go", "api_op_DeleteAnycastIpList.go", "api_op_DeleteCachePolicy.go", "api_op_DeleteCloudFrontOriginAccessIdentity.go", + "api_op_DeleteConnectionFunction.go", "api_op_DeleteConnectionGroup.go", "api_op_DeleteContinuousDeploymentPolicy.go", "api_op_DeleteDistribution.go", @@ -53,9 +56,12 @@ "api_op_DeleteOriginRequestPolicy.go", "api_op_DeletePublicKey.go", "api_op_DeleteRealtimeLogConfig.go", + "api_op_DeleteResourcePolicy.go", "api_op_DeleteResponseHeadersPolicy.go", "api_op_DeleteStreamingDistribution.go", + "api_op_DeleteTrustStore.go", "api_op_DeleteVpcOrigin.go", + "api_op_DescribeConnectionFunction.go", "api_op_DescribeFunction.go", "api_op_DescribeKeyValueStore.go", "api_op_DisassociateDistributionTenantWebACL.go", @@ -65,6 +71,7 @@ "api_op_GetCachePolicyConfig.go", "api_op_GetCloudFrontOriginAccessIdentity.go", "api_op_GetCloudFrontOriginAccessIdentityConfig.go", + "api_op_GetConnectionFunction.go", "api_op_GetConnectionGroup.go", "api_op_GetConnectionGroupByRoutingEndpoint.go", "api_op_GetContinuousDeploymentPolicy.go", @@ -91,15 +98,18 @@ "api_op_GetPublicKey.go", "api_op_GetPublicKeyConfig.go", "api_op_GetRealtimeLogConfig.go", + "api_op_GetResourcePolicy.go", "api_op_GetResponseHeadersPolicy.go", "api_op_GetResponseHeadersPolicyConfig.go", "api_op_GetStreamingDistribution.go", "api_op_GetStreamingDistributionConfig.go", + "api_op_GetTrustStore.go", "api_op_GetVpcOrigin.go", "api_op_ListAnycastIpLists.go", "api_op_ListCachePolicies.go", "api_op_ListCloudFrontOriginAccessIdentities.go", "api_op_ListConflictingAliases.go", + "api_op_ListConnectionFunctions.go", "api_op_ListConnectionGroups.go", "api_op_ListContinuousDeploymentPolicies.go", "api_op_ListDistributionTenants.go", @@ -107,11 +117,14 @@ "api_op_ListDistributions.go", "api_op_ListDistributionsByAnycastIpListId.go", "api_op_ListDistributionsByCachePolicyId.go", + "api_op_ListDistributionsByConnectionFunction.go", "api_op_ListDistributionsByConnectionMode.go", "api_op_ListDistributionsByKeyGroup.go", "api_op_ListDistributionsByOriginRequestPolicyId.go", + "api_op_ListDistributionsByOwnedResource.go", "api_op_ListDistributionsByRealtimeLogConfig.go", "api_op_ListDistributionsByResponseHeadersPolicyId.go", + "api_op_ListDistributionsByTrustStore.go", "api_op_ListDistributionsByVpcOriginId.go", "api_op_ListDistributionsByWebACLId.go", "api_op_ListDomainConflicts.go", @@ -129,13 +142,19 @@ "api_op_ListResponseHeadersPolicies.go", "api_op_ListStreamingDistributions.go", "api_op_ListTagsForResource.go", + "api_op_ListTrustStores.go", "api_op_ListVpcOrigins.go", + "api_op_PublishConnectionFunction.go", "api_op_PublishFunction.go", + "api_op_PutResourcePolicy.go", "api_op_TagResource.go", + "api_op_TestConnectionFunction.go", "api_op_TestFunction.go", "api_op_UntagResource.go", + "api_op_UpdateAnycastIpList.go", "api_op_UpdateCachePolicy.go", "api_op_UpdateCloudFrontOriginAccessIdentity.go", + "api_op_UpdateConnectionFunction.go", "api_op_UpdateConnectionGroup.go", "api_op_UpdateContinuousDeploymentPolicy.go", "api_op_UpdateDistribution.go", @@ -153,6 +172,7 @@ "api_op_UpdateRealtimeLogConfig.go", "api_op_UpdateResponseHeadersPolicy.go", "api_op_UpdateStreamingDistribution.go", + "api_op_UpdateTrustStore.go", "api_op_UpdateVpcOrigin.go", "api_op_VerifyDnsConfiguration.go", "auth.go", @@ -172,6 +192,7 @@ "types/enums.go", "types/errors.go", "types/types.go", + "types/types_exported_test.go", "validators.go" ], "go": "1.23", diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/go_module_metadata.go index 76acafeeaf..60f00933bf 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/go_module_metadata.go @@ -3,4 +3,4 @@ package cloudfront // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.55.1" +const goModuleVersion = "1.60.0" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/internal/endpoints/endpoints.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/internal/endpoints/endpoints.go index 6e419a6454..f7b7190940 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/internal/endpoints/endpoints.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/internal/endpoints/endpoints.go @@ -203,6 +203,13 @@ var defaultPartitions = endpoints.Partitions{ { ID: "aws-eusc", Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ + { + Variant: endpoints.DualStackVariant, + }: { + Hostname: "cloudfront.{region}.api.amazonwebservices.eu", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, { Variant: endpoints.FIPSVariant, }: { @@ -210,6 +217,13 @@ var defaultPartitions = endpoints.Partitions{ Protocols: []string{"https"}, SignatureVersions: []string{"v4"}, }, + { + Variant: endpoints.FIPSVariant | endpoints.DualStackVariant, + }: { + Hostname: "cloudfront-fips.{region}.api.amazonwebservices.eu", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, { Variant: 0, }: { diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/serializers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/serializers.go index f70781d384..23c2046b36 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/serializers.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/serializers.go @@ -515,6 +515,30 @@ func awsRestxml_serializeOpHttpBindingsCreateAnycastIpListInput(v *CreateAnycast func awsRestxml_serializeOpDocumentCreateAnycastIpListInput(v *CreateAnycastIpListInput, value smithyxml.Value) error { defer value.Close() + if len(v.IpAddressType) > 0 { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "IpAddressType", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(string(v.IpAddressType)) + } + if v.IpamCidrConfigs != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "IpamCidrConfigs", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + if err := awsRestxml_serializeDocumentIpamCidrConfigList(v.IpamCidrConfigs, el); err != nil { + return err + } + } if v.IpCount != nil { rootAttr := []smithyxml.Attr{} root := smithyxml.StartElement{ @@ -717,6 +741,135 @@ func awsRestxml_serializeOpHttpBindingsCreateCloudFrontOriginAccessIdentityInput return nil } +type awsRestxml_serializeOpCreateConnectionFunction struct { +} + +func (*awsRestxml_serializeOpCreateConnectionFunction) ID() string { + return "OperationSerializer" +} + +func (m *awsRestxml_serializeOpCreateConnectionFunction) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*CreateConnectionFunctionInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/connection-function") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "POST" + var restEncoder *httpbinding.Encoder + if request.URL.RawPath == "" { + restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + } else { + request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) + restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) + } + + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + restEncoder.SetHeader("Content-Type").String("application/xml") + + xmlEncoder := smithyxml.NewEncoder(bytes.NewBuffer(nil)) + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "CreateConnectionFunctionRequest", + }, + Attr: rootAttr, + } + root.Attr = append(root.Attr, smithyxml.NewNamespaceAttribute("", "http://cloudfront.amazonaws.com/doc/2020-05-31/")) + if err := awsRestxml_serializeOpDocumentCreateConnectionFunctionInput(input, xmlEncoder.RootElement(root)); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + if request, err = request.SetStream(bytes.NewReader(xmlEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} +func awsRestxml_serializeOpHttpBindingsCreateConnectionFunctionInput(v *CreateConnectionFunctionInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + return nil +} + +func awsRestxml_serializeOpDocumentCreateConnectionFunctionInput(v *CreateConnectionFunctionInput, value smithyxml.Value) error { + defer value.Close() + if v.ConnectionFunctionCode != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "ConnectionFunctionCode", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.Base64EncodeBytes(v.ConnectionFunctionCode) + } + if v.ConnectionFunctionConfig != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "ConnectionFunctionConfig", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + if err := awsRestxml_serializeDocumentFunctionConfig(v.ConnectionFunctionConfig, el); err != nil { + return err + } + } + if v.Name != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "Name", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(*v.Name) + } + if v.Tags != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "Tags", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + if err := awsRestxml_serializeDocumentTags(v.Tags, el); err != nil { + return err + } + } + return nil +} + type awsRestxml_serializeOpCreateConnectionGroup struct { } @@ -2675,6 +2828,124 @@ func awsRestxml_serializeOpHttpBindingsCreateStreamingDistributionWithTagsInput( return nil } +type awsRestxml_serializeOpCreateTrustStore struct { +} + +func (*awsRestxml_serializeOpCreateTrustStore) ID() string { + return "OperationSerializer" +} + +func (m *awsRestxml_serializeOpCreateTrustStore) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*CreateTrustStoreInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/trust-store") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "POST" + var restEncoder *httpbinding.Encoder + if request.URL.RawPath == "" { + restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + } else { + request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) + restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) + } + + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + restEncoder.SetHeader("Content-Type").String("application/xml") + + xmlEncoder := smithyxml.NewEncoder(bytes.NewBuffer(nil)) + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "CreateTrustStoreRequest", + }, + Attr: rootAttr, + } + root.Attr = append(root.Attr, smithyxml.NewNamespaceAttribute("", "http://cloudfront.amazonaws.com/doc/2020-05-31/")) + if err := awsRestxml_serializeOpDocumentCreateTrustStoreInput(input, xmlEncoder.RootElement(root)); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + if request, err = request.SetStream(bytes.NewReader(xmlEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} +func awsRestxml_serializeOpHttpBindingsCreateTrustStoreInput(v *CreateTrustStoreInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + return nil +} + +func awsRestxml_serializeOpDocumentCreateTrustStoreInput(v *CreateTrustStoreInput, value smithyxml.Value) error { + defer value.Close() + if v.CaCertificatesBundleSource != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "CaCertificatesBundleSource", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + if err := awsRestxml_serializeDocumentCaCertificatesBundleSource(v.CaCertificatesBundleSource, el); err != nil { + return err + } + } + if v.Name != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "Name", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(*v.Name) + } + if v.Tags != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "Tags", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + if err := awsRestxml_serializeDocumentTags(v.Tags, el); err != nil { + return err + } + } + return nil +} + type awsRestxml_serializeOpCreateVpcOrigin struct { } @@ -3010,14 +3281,14 @@ func awsRestxml_serializeOpHttpBindingsDeleteCloudFrontOriginAccessIdentityInput return nil } -type awsRestxml_serializeOpDeleteConnectionGroup struct { +type awsRestxml_serializeOpDeleteConnectionFunction struct { } -func (*awsRestxml_serializeOpDeleteConnectionGroup) ID() string { +func (*awsRestxml_serializeOpDeleteConnectionFunction) ID() string { return "OperationSerializer" } -func (m *awsRestxml_serializeOpDeleteConnectionGroup) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( +func (m *awsRestxml_serializeOpDeleteConnectionFunction) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, ) { _, span := tracing.StartSpan(ctx, "OperationSerializer") @@ -3029,13 +3300,13 @@ func (m *awsRestxml_serializeOpDeleteConnectionGroup) HandleSerialize(ctx contex return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*DeleteConnectionGroupInput) + input, ok := in.Parameters.(*DeleteConnectionFunctionInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} } - opPath, opQuery := httpbinding.SplitURI("/2020-05-31/connection-group/{Id}") + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/connection-function/{Id}") request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) request.Method = "DELETE" @@ -3051,7 +3322,7 @@ func (m *awsRestxml_serializeOpDeleteConnectionGroup) HandleSerialize(ctx contex return out, metadata, &smithy.SerializationError{Err: err} } - if err := awsRestxml_serializeOpHttpBindingsDeleteConnectionGroupInput(input, restEncoder); err != nil { + if err := awsRestxml_serializeOpHttpBindingsDeleteConnectionFunctionInput(input, restEncoder); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } @@ -3064,7 +3335,7 @@ func (m *awsRestxml_serializeOpDeleteConnectionGroup) HandleSerialize(ctx contex span.End() return next.HandleSerialize(ctx, in) } -func awsRestxml_serializeOpHttpBindingsDeleteConnectionGroupInput(v *DeleteConnectionGroupInput, encoder *httpbinding.Encoder) error { +func awsRestxml_serializeOpHttpBindingsDeleteConnectionFunctionInput(v *DeleteConnectionFunctionInput, encoder *httpbinding.Encoder) error { if v == nil { return fmt.Errorf("unsupported serialization of nil %T", v) } @@ -3086,14 +3357,14 @@ func awsRestxml_serializeOpHttpBindingsDeleteConnectionGroupInput(v *DeleteConne return nil } -type awsRestxml_serializeOpDeleteContinuousDeploymentPolicy struct { +type awsRestxml_serializeOpDeleteConnectionGroup struct { } -func (*awsRestxml_serializeOpDeleteContinuousDeploymentPolicy) ID() string { +func (*awsRestxml_serializeOpDeleteConnectionGroup) ID() string { return "OperationSerializer" } -func (m *awsRestxml_serializeOpDeleteContinuousDeploymentPolicy) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( +func (m *awsRestxml_serializeOpDeleteConnectionGroup) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, ) { _, span := tracing.StartSpan(ctx, "OperationSerializer") @@ -3105,7 +3376,83 @@ func (m *awsRestxml_serializeOpDeleteContinuousDeploymentPolicy) HandleSerialize return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*DeleteContinuousDeploymentPolicyInput) + input, ok := in.Parameters.(*DeleteConnectionGroupInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/connection-group/{Id}") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "DELETE" + var restEncoder *httpbinding.Encoder + if request.URL.RawPath == "" { + restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + } else { + request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) + restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) + } + + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestxml_serializeOpHttpBindingsDeleteConnectionGroupInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} +func awsRestxml_serializeOpHttpBindingsDeleteConnectionGroupInput(v *DeleteConnectionGroupInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.Id == nil || len(*v.Id) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member Id must not be empty")} + } + if v.Id != nil { + if err := encoder.SetURI("Id").String(*v.Id); err != nil { + return err + } + } + + if v.IfMatch != nil { + locationName := "If-Match" + encoder.SetHeader(locationName).String(*v.IfMatch) + } + + return nil +} + +type awsRestxml_serializeOpDeleteContinuousDeploymentPolicy struct { +} + +func (*awsRestxml_serializeOpDeleteContinuousDeploymentPolicy) ID() string { + return "OperationSerializer" +} + +func (m *awsRestxml_serializeOpDeleteContinuousDeploymentPolicy) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*DeleteContinuousDeploymentPolicyInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} @@ -4096,6 +4443,98 @@ func awsRestxml_serializeOpDocumentDeleteRealtimeLogConfigInput(v *DeleteRealtim return nil } +type awsRestxml_serializeOpDeleteResourcePolicy struct { +} + +func (*awsRestxml_serializeOpDeleteResourcePolicy) ID() string { + return "OperationSerializer" +} + +func (m *awsRestxml_serializeOpDeleteResourcePolicy) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*DeleteResourcePolicyInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/delete-resource-policy") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "POST" + var restEncoder *httpbinding.Encoder + if request.URL.RawPath == "" { + restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + } else { + request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) + restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) + } + + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + restEncoder.SetHeader("Content-Type").String("application/xml") + + xmlEncoder := smithyxml.NewEncoder(bytes.NewBuffer(nil)) + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "DeleteResourcePolicyRequest", + }, + Attr: rootAttr, + } + root.Attr = append(root.Attr, smithyxml.NewNamespaceAttribute("", "http://cloudfront.amazonaws.com/doc/2020-05-31/")) + if err := awsRestxml_serializeOpDocumentDeleteResourcePolicyInput(input, xmlEncoder.RootElement(root)); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + if request, err = request.SetStream(bytes.NewReader(xmlEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} +func awsRestxml_serializeOpHttpBindingsDeleteResourcePolicyInput(v *DeleteResourcePolicyInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + return nil +} + +func awsRestxml_serializeOpDocumentDeleteResourcePolicyInput(v *DeleteResourcePolicyInput, value smithyxml.Value) error { + defer value.Close() + if v.ResourceArn != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "ResourceArn", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(*v.ResourceArn) + } + return nil +} + type awsRestxml_serializeOpDeleteResponseHeadersPolicy struct { } @@ -4248,14 +4687,14 @@ func awsRestxml_serializeOpHttpBindingsDeleteStreamingDistributionInput(v *Delet return nil } -type awsRestxml_serializeOpDeleteVpcOrigin struct { +type awsRestxml_serializeOpDeleteTrustStore struct { } -func (*awsRestxml_serializeOpDeleteVpcOrigin) ID() string { +func (*awsRestxml_serializeOpDeleteTrustStore) ID() string { return "OperationSerializer" } -func (m *awsRestxml_serializeOpDeleteVpcOrigin) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( +func (m *awsRestxml_serializeOpDeleteTrustStore) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, ) { _, span := tracing.StartSpan(ctx, "OperationSerializer") @@ -4267,13 +4706,13 @@ func (m *awsRestxml_serializeOpDeleteVpcOrigin) HandleSerialize(ctx context.Cont return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*DeleteVpcOriginInput) + input, ok := in.Parameters.(*DeleteTrustStoreInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} } - opPath, opQuery := httpbinding.SplitURI("/2020-05-31/vpc-origin/{Id}") + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/trust-store/{Id}") request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) request.Method = "DELETE" @@ -4289,7 +4728,7 @@ func (m *awsRestxml_serializeOpDeleteVpcOrigin) HandleSerialize(ctx context.Cont return out, metadata, &smithy.SerializationError{Err: err} } - if err := awsRestxml_serializeOpHttpBindingsDeleteVpcOriginInput(input, restEncoder); err != nil { + if err := awsRestxml_serializeOpHttpBindingsDeleteTrustStoreInput(input, restEncoder); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } @@ -4302,7 +4741,7 @@ func (m *awsRestxml_serializeOpDeleteVpcOrigin) HandleSerialize(ctx context.Cont span.End() return next.HandleSerialize(ctx, in) } -func awsRestxml_serializeOpHttpBindingsDeleteVpcOriginInput(v *DeleteVpcOriginInput, encoder *httpbinding.Encoder) error { +func awsRestxml_serializeOpHttpBindingsDeleteTrustStoreInput(v *DeleteTrustStoreInput, encoder *httpbinding.Encoder) error { if v == nil { return fmt.Errorf("unsupported serialization of nil %T", v) } @@ -4324,14 +4763,14 @@ func awsRestxml_serializeOpHttpBindingsDeleteVpcOriginInput(v *DeleteVpcOriginIn return nil } -type awsRestxml_serializeOpDescribeFunction struct { +type awsRestxml_serializeOpDeleteVpcOrigin struct { } -func (*awsRestxml_serializeOpDescribeFunction) ID() string { +func (*awsRestxml_serializeOpDeleteVpcOrigin) ID() string { return "OperationSerializer" } -func (m *awsRestxml_serializeOpDescribeFunction) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( +func (m *awsRestxml_serializeOpDeleteVpcOrigin) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, ) { _, span := tracing.StartSpan(ctx, "OperationSerializer") @@ -4343,16 +4782,16 @@ func (m *awsRestxml_serializeOpDescribeFunction) HandleSerialize(ctx context.Con return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*DescribeFunctionInput) + input, ok := in.Parameters.(*DeleteVpcOriginInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} } - opPath, opQuery := httpbinding.SplitURI("/2020-05-31/function/{Name}/describe") + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/vpc-origin/{Id}") request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "GET" + request.Method = "DELETE" var restEncoder *httpbinding.Encoder if request.URL.RawPath == "" { restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) @@ -4365,7 +4804,7 @@ func (m *awsRestxml_serializeOpDescribeFunction) HandleSerialize(ctx context.Con return out, metadata, &smithy.SerializationError{Err: err} } - if err := awsRestxml_serializeOpHttpBindingsDescribeFunctionInput(input, restEncoder); err != nil { + if err := awsRestxml_serializeOpHttpBindingsDeleteVpcOriginInput(input, restEncoder); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } @@ -4378,35 +4817,36 @@ func (m *awsRestxml_serializeOpDescribeFunction) HandleSerialize(ctx context.Con span.End() return next.HandleSerialize(ctx, in) } -func awsRestxml_serializeOpHttpBindingsDescribeFunctionInput(v *DescribeFunctionInput, encoder *httpbinding.Encoder) error { +func awsRestxml_serializeOpHttpBindingsDeleteVpcOriginInput(v *DeleteVpcOriginInput, encoder *httpbinding.Encoder) error { if v == nil { return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.Name == nil || len(*v.Name) == 0 { - return &smithy.SerializationError{Err: fmt.Errorf("input member Name must not be empty")} + if v.Id == nil || len(*v.Id) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member Id must not be empty")} } - if v.Name != nil { - if err := encoder.SetURI("Name").String(*v.Name); err != nil { + if v.Id != nil { + if err := encoder.SetURI("Id").String(*v.Id); err != nil { return err } } - if len(v.Stage) > 0 { - encoder.SetQuery("Stage").String(string(v.Stage)) + if v.IfMatch != nil { + locationName := "If-Match" + encoder.SetHeader(locationName).String(*v.IfMatch) } return nil } -type awsRestxml_serializeOpDescribeKeyValueStore struct { +type awsRestxml_serializeOpDescribeConnectionFunction struct { } -func (*awsRestxml_serializeOpDescribeKeyValueStore) ID() string { +func (*awsRestxml_serializeOpDescribeConnectionFunction) ID() string { return "OperationSerializer" } -func (m *awsRestxml_serializeOpDescribeKeyValueStore) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( +func (m *awsRestxml_serializeOpDescribeConnectionFunction) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, ) { _, span := tracing.StartSpan(ctx, "OperationSerializer") @@ -4418,13 +4858,13 @@ func (m *awsRestxml_serializeOpDescribeKeyValueStore) HandleSerialize(ctx contex return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*DescribeKeyValueStoreInput) + input, ok := in.Parameters.(*DescribeConnectionFunctionInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} } - opPath, opQuery := httpbinding.SplitURI("/2020-05-31/key-value-store/{Name}") + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/connection-function/{Identifier}/describe") request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) request.Method = "GET" @@ -4440,7 +4880,7 @@ func (m *awsRestxml_serializeOpDescribeKeyValueStore) HandleSerialize(ctx contex return out, metadata, &smithy.SerializationError{Err: err} } - if err := awsRestxml_serializeOpHttpBindingsDescribeKeyValueStoreInput(input, restEncoder); err != nil { + if err := awsRestxml_serializeOpHttpBindingsDescribeConnectionFunctionInput(input, restEncoder); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } @@ -4453,31 +4893,35 @@ func (m *awsRestxml_serializeOpDescribeKeyValueStore) HandleSerialize(ctx contex span.End() return next.HandleSerialize(ctx, in) } -func awsRestxml_serializeOpHttpBindingsDescribeKeyValueStoreInput(v *DescribeKeyValueStoreInput, encoder *httpbinding.Encoder) error { +func awsRestxml_serializeOpHttpBindingsDescribeConnectionFunctionInput(v *DescribeConnectionFunctionInput, encoder *httpbinding.Encoder) error { if v == nil { return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.Name == nil || len(*v.Name) == 0 { - return &smithy.SerializationError{Err: fmt.Errorf("input member Name must not be empty")} + if v.Identifier == nil || len(*v.Identifier) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member Identifier must not be empty")} } - if v.Name != nil { - if err := encoder.SetURI("Name").String(*v.Name); err != nil { + if v.Identifier != nil { + if err := encoder.SetURI("Identifier").String(*v.Identifier); err != nil { return err } } + if len(v.Stage) > 0 { + encoder.SetQuery("Stage").String(string(v.Stage)) + } + return nil } -type awsRestxml_serializeOpDisassociateDistributionTenantWebACL struct { +type awsRestxml_serializeOpDescribeFunction struct { } -func (*awsRestxml_serializeOpDisassociateDistributionTenantWebACL) ID() string { +func (*awsRestxml_serializeOpDescribeFunction) ID() string { return "OperationSerializer" } -func (m *awsRestxml_serializeOpDisassociateDistributionTenantWebACL) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( +func (m *awsRestxml_serializeOpDescribeFunction) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, ) { _, span := tracing.StartSpan(ctx, "OperationSerializer") @@ -4489,16 +4933,16 @@ func (m *awsRestxml_serializeOpDisassociateDistributionTenantWebACL) HandleSeria return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*DisassociateDistributionTenantWebACLInput) + input, ok := in.Parameters.(*DescribeFunctionInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} } - opPath, opQuery := httpbinding.SplitURI("/2020-05-31/distribution-tenant/{Id}/disassociate-web-acl") + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/function/{Name}/describe") request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "PUT" + request.Method = "GET" var restEncoder *httpbinding.Encoder if request.URL.RawPath == "" { restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) @@ -4511,7 +4955,7 @@ func (m *awsRestxml_serializeOpDisassociateDistributionTenantWebACL) HandleSeria return out, metadata, &smithy.SerializationError{Err: err} } - if err := awsRestxml_serializeOpHttpBindingsDisassociateDistributionTenantWebACLInput(input, restEncoder); err != nil { + if err := awsRestxml_serializeOpHttpBindingsDescribeFunctionInput(input, restEncoder); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } @@ -4524,36 +4968,35 @@ func (m *awsRestxml_serializeOpDisassociateDistributionTenantWebACL) HandleSeria span.End() return next.HandleSerialize(ctx, in) } -func awsRestxml_serializeOpHttpBindingsDisassociateDistributionTenantWebACLInput(v *DisassociateDistributionTenantWebACLInput, encoder *httpbinding.Encoder) error { +func awsRestxml_serializeOpHttpBindingsDescribeFunctionInput(v *DescribeFunctionInput, encoder *httpbinding.Encoder) error { if v == nil { return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.Id == nil || len(*v.Id) == 0 { - return &smithy.SerializationError{Err: fmt.Errorf("input member Id must not be empty")} + if v.Name == nil || len(*v.Name) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member Name must not be empty")} } - if v.Id != nil { - if err := encoder.SetURI("Id").String(*v.Id); err != nil { + if v.Name != nil { + if err := encoder.SetURI("Name").String(*v.Name); err != nil { return err } } - if v.IfMatch != nil { - locationName := "If-Match" - encoder.SetHeader(locationName).String(*v.IfMatch) + if len(v.Stage) > 0 { + encoder.SetQuery("Stage").String(string(v.Stage)) } return nil } -type awsRestxml_serializeOpDisassociateDistributionWebACL struct { +type awsRestxml_serializeOpDescribeKeyValueStore struct { } -func (*awsRestxml_serializeOpDisassociateDistributionWebACL) ID() string { +func (*awsRestxml_serializeOpDescribeKeyValueStore) ID() string { return "OperationSerializer" } -func (m *awsRestxml_serializeOpDisassociateDistributionWebACL) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( +func (m *awsRestxml_serializeOpDescribeKeyValueStore) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, ) { _, span := tracing.StartSpan(ctx, "OperationSerializer") @@ -4565,16 +5008,16 @@ func (m *awsRestxml_serializeOpDisassociateDistributionWebACL) HandleSerialize(c return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*DisassociateDistributionWebACLInput) + input, ok := in.Parameters.(*DescribeKeyValueStoreInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} } - opPath, opQuery := httpbinding.SplitURI("/2020-05-31/distribution/{Id}/disassociate-web-acl") + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/key-value-store/{Name}") request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "PUT" + request.Method = "GET" var restEncoder *httpbinding.Encoder if request.URL.RawPath == "" { restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) @@ -4587,7 +5030,7 @@ func (m *awsRestxml_serializeOpDisassociateDistributionWebACL) HandleSerialize(c return out, metadata, &smithy.SerializationError{Err: err} } - if err := awsRestxml_serializeOpHttpBindingsDisassociateDistributionWebACLInput(input, restEncoder); err != nil { + if err := awsRestxml_serializeOpHttpBindingsDescribeKeyValueStoreInput(input, restEncoder); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } @@ -4600,7 +5043,154 @@ func (m *awsRestxml_serializeOpDisassociateDistributionWebACL) HandleSerialize(c span.End() return next.HandleSerialize(ctx, in) } -func awsRestxml_serializeOpHttpBindingsDisassociateDistributionWebACLInput(v *DisassociateDistributionWebACLInput, encoder *httpbinding.Encoder) error { +func awsRestxml_serializeOpHttpBindingsDescribeKeyValueStoreInput(v *DescribeKeyValueStoreInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.Name == nil || len(*v.Name) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member Name must not be empty")} + } + if v.Name != nil { + if err := encoder.SetURI("Name").String(*v.Name); err != nil { + return err + } + } + + return nil +} + +type awsRestxml_serializeOpDisassociateDistributionTenantWebACL struct { +} + +func (*awsRestxml_serializeOpDisassociateDistributionTenantWebACL) ID() string { + return "OperationSerializer" +} + +func (m *awsRestxml_serializeOpDisassociateDistributionTenantWebACL) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*DisassociateDistributionTenantWebACLInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/distribution-tenant/{Id}/disassociate-web-acl") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "PUT" + var restEncoder *httpbinding.Encoder + if request.URL.RawPath == "" { + restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + } else { + request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) + restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) + } + + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestxml_serializeOpHttpBindingsDisassociateDistributionTenantWebACLInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} +func awsRestxml_serializeOpHttpBindingsDisassociateDistributionTenantWebACLInput(v *DisassociateDistributionTenantWebACLInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.Id == nil || len(*v.Id) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member Id must not be empty")} + } + if v.Id != nil { + if err := encoder.SetURI("Id").String(*v.Id); err != nil { + return err + } + } + + if v.IfMatch != nil { + locationName := "If-Match" + encoder.SetHeader(locationName).String(*v.IfMatch) + } + + return nil +} + +type awsRestxml_serializeOpDisassociateDistributionWebACL struct { +} + +func (*awsRestxml_serializeOpDisassociateDistributionWebACL) ID() string { + return "OperationSerializer" +} + +func (m *awsRestxml_serializeOpDisassociateDistributionWebACL) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*DisassociateDistributionWebACLInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/distribution/{Id}/disassociate-web-acl") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "PUT" + var restEncoder *httpbinding.Encoder + if request.URL.RawPath == "" { + restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + } else { + request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) + restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) + } + + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestxml_serializeOpHttpBindingsDisassociateDistributionWebACLInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} +func awsRestxml_serializeOpHttpBindingsDisassociateDistributionWebACLInput(v *DisassociateDistributionWebACLInput, encoder *httpbinding.Encoder) error { if v == nil { return fmt.Errorf("unsupported serialization of nil %T", v) } @@ -4977,6 +5567,81 @@ func awsRestxml_serializeOpHttpBindingsGetCloudFrontOriginAccessIdentityConfigIn return nil } +type awsRestxml_serializeOpGetConnectionFunction struct { +} + +func (*awsRestxml_serializeOpGetConnectionFunction) ID() string { + return "OperationSerializer" +} + +func (m *awsRestxml_serializeOpGetConnectionFunction) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*GetConnectionFunctionInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/connection-function/{Identifier}") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "GET" + var restEncoder *httpbinding.Encoder + if request.URL.RawPath == "" { + restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + } else { + request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) + restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) + } + + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestxml_serializeOpHttpBindingsGetConnectionFunctionInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} +func awsRestxml_serializeOpHttpBindingsGetConnectionFunctionInput(v *GetConnectionFunctionInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.Identifier == nil || len(*v.Identifier) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member Identifier must not be empty")} + } + if v.Identifier != nil { + if err := encoder.SetURI("Identifier").String(*v.Identifier); err != nil { + return err + } + } + + if len(v.Stage) > 0 { + encoder.SetQuery("Stage").String(string(v.Stage)) + } + + return nil +} + type awsRestxml_serializeOpGetConnectionGroup struct { } @@ -6867,14 +7532,14 @@ func awsRestxml_serializeOpDocumentGetRealtimeLogConfigInput(v *GetRealtimeLogCo return nil } -type awsRestxml_serializeOpGetResponseHeadersPolicy struct { +type awsRestxml_serializeOpGetResourcePolicy struct { } -func (*awsRestxml_serializeOpGetResponseHeadersPolicy) ID() string { +func (*awsRestxml_serializeOpGetResourcePolicy) ID() string { return "OperationSerializer" } -func (m *awsRestxml_serializeOpGetResponseHeadersPolicy) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( +func (m *awsRestxml_serializeOpGetResourcePolicy) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, ) { _, span := tracing.StartSpan(ctx, "OperationSerializer") @@ -6886,16 +7551,16 @@ func (m *awsRestxml_serializeOpGetResponseHeadersPolicy) HandleSerialize(ctx con return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*GetResponseHeadersPolicyInput) + input, ok := in.Parameters.(*GetResourcePolicyInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} } - opPath, opQuery := httpbinding.SplitURI("/2020-05-31/response-headers-policy/{Id}") + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/get-resource-policy") request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "GET" + request.Method = "POST" var restEncoder *httpbinding.Encoder if request.URL.RawPath == "" { restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) @@ -6908,7 +7573,21 @@ func (m *awsRestxml_serializeOpGetResponseHeadersPolicy) HandleSerialize(ctx con return out, metadata, &smithy.SerializationError{Err: err} } - if err := awsRestxml_serializeOpHttpBindingsGetResponseHeadersPolicyInput(input, restEncoder); err != nil { + restEncoder.SetHeader("Content-Type").String("application/xml") + + xmlEncoder := smithyxml.NewEncoder(bytes.NewBuffer(nil)) + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "GetResourcePolicyRequest", + }, + Attr: rootAttr, + } + root.Attr = append(root.Attr, smithyxml.NewNamespaceAttribute("", "http://cloudfront.amazonaws.com/doc/2020-05-31/")) + if err := awsRestxml_serializeOpDocumentGetResourcePolicyInput(input, xmlEncoder.RootElement(root)); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + if request, err = request.SetStream(bytes.NewReader(xmlEncoder.Bytes())); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } @@ -6921,24 +7600,102 @@ func (m *awsRestxml_serializeOpGetResponseHeadersPolicy) HandleSerialize(ctx con span.End() return next.HandleSerialize(ctx, in) } -func awsRestxml_serializeOpHttpBindingsGetResponseHeadersPolicyInput(v *GetResponseHeadersPolicyInput, encoder *httpbinding.Encoder) error { +func awsRestxml_serializeOpHttpBindingsGetResourcePolicyInput(v *GetResourcePolicyInput, encoder *httpbinding.Encoder) error { if v == nil { return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.Id == nil || len(*v.Id) == 0 { - return &smithy.SerializationError{Err: fmt.Errorf("input member Id must not be empty")} - } - if v.Id != nil { - if err := encoder.SetURI("Id").String(*v.Id); err != nil { - return err + return nil +} + +func awsRestxml_serializeOpDocumentGetResourcePolicyInput(v *GetResourcePolicyInput, value smithyxml.Value) error { + defer value.Close() + if v.ResourceArn != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "ResourceArn", + }, + Attr: rootAttr, } + el := value.MemberElement(root) + el.String(*v.ResourceArn) } - return nil } -type awsRestxml_serializeOpGetResponseHeadersPolicyConfig struct { +type awsRestxml_serializeOpGetResponseHeadersPolicy struct { +} + +func (*awsRestxml_serializeOpGetResponseHeadersPolicy) ID() string { + return "OperationSerializer" +} + +func (m *awsRestxml_serializeOpGetResponseHeadersPolicy) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*GetResponseHeadersPolicyInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/response-headers-policy/{Id}") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "GET" + var restEncoder *httpbinding.Encoder + if request.URL.RawPath == "" { + restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + } else { + request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) + restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) + } + + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestxml_serializeOpHttpBindingsGetResponseHeadersPolicyInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} +func awsRestxml_serializeOpHttpBindingsGetResponseHeadersPolicyInput(v *GetResponseHeadersPolicyInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.Id == nil || len(*v.Id) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member Id must not be empty")} + } + if v.Id != nil { + if err := encoder.SetURI("Id").String(*v.Id); err != nil { + return err + } + } + + return nil +} + +type awsRestxml_serializeOpGetResponseHeadersPolicyConfig struct { } func (*awsRestxml_serializeOpGetResponseHeadersPolicyConfig) ID() string { @@ -7151,6 +7908,77 @@ func awsRestxml_serializeOpHttpBindingsGetStreamingDistributionConfigInput(v *Ge return nil } +type awsRestxml_serializeOpGetTrustStore struct { +} + +func (*awsRestxml_serializeOpGetTrustStore) ID() string { + return "OperationSerializer" +} + +func (m *awsRestxml_serializeOpGetTrustStore) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*GetTrustStoreInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/trust-store/{Identifier}") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "GET" + var restEncoder *httpbinding.Encoder + if request.URL.RawPath == "" { + restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + } else { + request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) + restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) + } + + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestxml_serializeOpHttpBindingsGetTrustStoreInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} +func awsRestxml_serializeOpHttpBindingsGetTrustStoreInput(v *GetTrustStoreInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.Identifier == nil || len(*v.Identifier) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member Identifier must not be empty")} + } + if v.Identifier != nil { + if err := encoder.SetURI("Identifier").String(*v.Identifier); err != nil { + return err + } + } + + return nil +} + type awsRestxml_serializeOpGetVpcOrigin struct { } @@ -7514,6 +8342,120 @@ func awsRestxml_serializeOpHttpBindingsListConflictingAliasesInput(v *ListConfli return nil } +type awsRestxml_serializeOpListConnectionFunctions struct { +} + +func (*awsRestxml_serializeOpListConnectionFunctions) ID() string { + return "OperationSerializer" +} + +func (m *awsRestxml_serializeOpListConnectionFunctions) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ListConnectionFunctionsInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/connection-functions") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "POST" + var restEncoder *httpbinding.Encoder + if request.URL.RawPath == "" { + restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + } else { + request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) + restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) + } + + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + restEncoder.SetHeader("Content-Type").String("application/xml") + + xmlEncoder := smithyxml.NewEncoder(bytes.NewBuffer(nil)) + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "ListConnectionFunctionsRequest", + }, + Attr: rootAttr, + } + root.Attr = append(root.Attr, smithyxml.NewNamespaceAttribute("", "http://cloudfront.amazonaws.com/doc/2020-05-31/")) + if err := awsRestxml_serializeOpDocumentListConnectionFunctionsInput(input, xmlEncoder.RootElement(root)); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + if request, err = request.SetStream(bytes.NewReader(xmlEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} +func awsRestxml_serializeOpHttpBindingsListConnectionFunctionsInput(v *ListConnectionFunctionsInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + return nil +} + +func awsRestxml_serializeOpDocumentListConnectionFunctionsInput(v *ListConnectionFunctionsInput, value smithyxml.Value) error { + defer value.Close() + if v.Marker != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "Marker", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(*v.Marker) + } + if v.MaxItems != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "MaxItems", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.Integer(*v.MaxItems) + } + if len(v.Stage) > 0 { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "Stage", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(string(v.Stage)) + } + return nil +} + type awsRestxml_serializeOpListConnectionGroups struct { } @@ -7928,14 +8870,14 @@ func awsRestxml_serializeOpHttpBindingsListDistributionsByCachePolicyIdInput(v * return nil } -type awsRestxml_serializeOpListDistributionsByConnectionMode struct { +type awsRestxml_serializeOpListDistributionsByConnectionFunction struct { } -func (*awsRestxml_serializeOpListDistributionsByConnectionMode) ID() string { +func (*awsRestxml_serializeOpListDistributionsByConnectionFunction) ID() string { return "OperationSerializer" } -func (m *awsRestxml_serializeOpListDistributionsByConnectionMode) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( +func (m *awsRestxml_serializeOpListDistributionsByConnectionFunction) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, ) { _, span := tracing.StartSpan(ctx, "OperationSerializer") @@ -7947,13 +8889,13 @@ func (m *awsRestxml_serializeOpListDistributionsByConnectionMode) HandleSerializ return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*ListDistributionsByConnectionModeInput) + input, ok := in.Parameters.(*ListDistributionsByConnectionFunctionInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} } - opPath, opQuery := httpbinding.SplitURI("/2020-05-31/distributionsByConnectionMode/{ConnectionMode}") + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/distributionsByConnectionFunction") request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) request.Method = "GET" @@ -7969,7 +8911,7 @@ func (m *awsRestxml_serializeOpListDistributionsByConnectionMode) HandleSerializ return out, metadata, &smithy.SerializationError{Err: err} } - if err := awsRestxml_serializeOpHttpBindingsListDistributionsByConnectionModeInput(input, restEncoder); err != nil { + if err := awsRestxml_serializeOpHttpBindingsListDistributionsByConnectionFunctionInput(input, restEncoder); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } @@ -7982,18 +8924,13 @@ func (m *awsRestxml_serializeOpListDistributionsByConnectionMode) HandleSerializ span.End() return next.HandleSerialize(ctx, in) } -func awsRestxml_serializeOpHttpBindingsListDistributionsByConnectionModeInput(v *ListDistributionsByConnectionModeInput, encoder *httpbinding.Encoder) error { +func awsRestxml_serializeOpHttpBindingsListDistributionsByConnectionFunctionInput(v *ListDistributionsByConnectionFunctionInput, encoder *httpbinding.Encoder) error { if v == nil { return fmt.Errorf("unsupported serialization of nil %T", v) } - if len(v.ConnectionMode) == 0 { - return &smithy.SerializationError{Err: fmt.Errorf("input member ConnectionMode must not be empty")} - } - if len(v.ConnectionMode) > 0 { - if err := encoder.SetURI("ConnectionMode").String(string(v.ConnectionMode)); err != nil { - return err - } + if v.ConnectionFunctionIdentifier != nil { + encoder.SetQuery("ConnectionFunctionIdentifier").String(*v.ConnectionFunctionIdentifier) } if v.Marker != nil { @@ -8007,7 +8944,86 @@ func awsRestxml_serializeOpHttpBindingsListDistributionsByConnectionModeInput(v return nil } -type awsRestxml_serializeOpListDistributionsByKeyGroup struct { +type awsRestxml_serializeOpListDistributionsByConnectionMode struct { +} + +func (*awsRestxml_serializeOpListDistributionsByConnectionMode) ID() string { + return "OperationSerializer" +} + +func (m *awsRestxml_serializeOpListDistributionsByConnectionMode) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ListDistributionsByConnectionModeInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/distributionsByConnectionMode/{ConnectionMode}") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "GET" + var restEncoder *httpbinding.Encoder + if request.URL.RawPath == "" { + restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + } else { + request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) + restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) + } + + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestxml_serializeOpHttpBindingsListDistributionsByConnectionModeInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} +func awsRestxml_serializeOpHttpBindingsListDistributionsByConnectionModeInput(v *ListDistributionsByConnectionModeInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if len(v.ConnectionMode) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member ConnectionMode must not be empty")} + } + if len(v.ConnectionMode) > 0 { + if err := encoder.SetURI("ConnectionMode").String(string(v.ConnectionMode)); err != nil { + return err + } + } + + if v.Marker != nil { + encoder.SetQuery("Marker").String(*v.Marker) + } + + if v.MaxItems != nil { + encoder.SetQuery("MaxItems").Integer(*v.MaxItems) + } + + return nil +} + +type awsRestxml_serializeOpListDistributionsByKeyGroup struct { } func (*awsRestxml_serializeOpListDistributionsByKeyGroup) ID() string { @@ -8165,6 +9181,85 @@ func awsRestxml_serializeOpHttpBindingsListDistributionsByOriginRequestPolicyIdI return nil } +type awsRestxml_serializeOpListDistributionsByOwnedResource struct { +} + +func (*awsRestxml_serializeOpListDistributionsByOwnedResource) ID() string { + return "OperationSerializer" +} + +func (m *awsRestxml_serializeOpListDistributionsByOwnedResource) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ListDistributionsByOwnedResourceInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/distributionsByOwnedResource/{ResourceArn}") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "GET" + var restEncoder *httpbinding.Encoder + if request.URL.RawPath == "" { + restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + } else { + request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) + restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) + } + + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestxml_serializeOpHttpBindingsListDistributionsByOwnedResourceInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} +func awsRestxml_serializeOpHttpBindingsListDistributionsByOwnedResourceInput(v *ListDistributionsByOwnedResourceInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.Marker != nil { + encoder.SetQuery("Marker").String(*v.Marker) + } + + if v.MaxItems != nil { + encoder.SetQuery("MaxItems").Integer(*v.MaxItems) + } + + if v.ResourceArn == nil || len(*v.ResourceArn) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member ResourceArn must not be empty")} + } + if v.ResourceArn != nil { + if err := encoder.SetURI("ResourceArn").String(*v.ResourceArn); err != nil { + return err + } + } + + return nil +} + type awsRestxml_serializeOpListDistributionsByRealtimeLogConfig struct { } @@ -8369,6 +9464,80 @@ func awsRestxml_serializeOpHttpBindingsListDistributionsByResponseHeadersPolicyI return nil } +type awsRestxml_serializeOpListDistributionsByTrustStore struct { +} + +func (*awsRestxml_serializeOpListDistributionsByTrustStore) ID() string { + return "OperationSerializer" +} + +func (m *awsRestxml_serializeOpListDistributionsByTrustStore) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ListDistributionsByTrustStoreInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/distributionsByTrustStore") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "GET" + var restEncoder *httpbinding.Encoder + if request.URL.RawPath == "" { + restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + } else { + request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) + restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) + } + + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestxml_serializeOpHttpBindingsListDistributionsByTrustStoreInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} +func awsRestxml_serializeOpHttpBindingsListDistributionsByTrustStoreInput(v *ListDistributionsByTrustStoreInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.Marker != nil { + encoder.SetQuery("Marker").String(*v.Marker) + } + + if v.MaxItems != nil { + encoder.SetQuery("MaxItems").Integer(*v.MaxItems) + } + + if v.TrustStoreIdentifier != nil { + encoder.SetQuery("TrustStoreIdentifier").String(*v.TrustStoreIdentifier) + } + + return nil +} + type awsRestxml_serializeOpListDistributionsByVpcOriginId struct { } @@ -9905,14 +11074,14 @@ func awsRestxml_serializeOpHttpBindingsListTagsForResourceInput(v *ListTagsForRe return nil } -type awsRestxml_serializeOpListVpcOrigins struct { +type awsRestxml_serializeOpListTrustStores struct { } -func (*awsRestxml_serializeOpListVpcOrigins) ID() string { +func (*awsRestxml_serializeOpListTrustStores) ID() string { return "OperationSerializer" } -func (m *awsRestxml_serializeOpListVpcOrigins) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( +func (m *awsRestxml_serializeOpListTrustStores) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, ) { _, span := tracing.StartSpan(ctx, "OperationSerializer") @@ -9924,16 +11093,16 @@ func (m *awsRestxml_serializeOpListVpcOrigins) HandleSerialize(ctx context.Conte return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*ListVpcOriginsInput) + input, ok := in.Parameters.(*ListTrustStoresInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} } - opPath, opQuery := httpbinding.SplitURI("/2020-05-31/vpc-origin") + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/trust-stores") request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "GET" + request.Method = "POST" var restEncoder *httpbinding.Encoder if request.URL.RawPath == "" { restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) @@ -9946,7 +11115,21 @@ func (m *awsRestxml_serializeOpListVpcOrigins) HandleSerialize(ctx context.Conte return out, metadata, &smithy.SerializationError{Err: err} } - if err := awsRestxml_serializeOpHttpBindingsListVpcOriginsInput(input, restEncoder); err != nil { + restEncoder.SetHeader("Content-Type").String("application/xml") + + xmlEncoder := smithyxml.NewEncoder(bytes.NewBuffer(nil)) + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "ListTrustStoresRequest", + }, + Attr: rootAttr, + } + root.Attr = append(root.Attr, smithyxml.NewNamespaceAttribute("", "http://cloudfront.amazonaws.com/doc/2020-05-31/")) + if err := awsRestxml_serializeOpDocumentListTrustStoresInput(input, xmlEncoder.RootElement(root)); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + if request, err = request.SetStream(bytes.NewReader(xmlEncoder.Bytes())); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } @@ -9959,48 +11142,482 @@ func (m *awsRestxml_serializeOpListVpcOrigins) HandleSerialize(ctx context.Conte span.End() return next.HandleSerialize(ctx, in) } -func awsRestxml_serializeOpHttpBindingsListVpcOriginsInput(v *ListVpcOriginsInput, encoder *httpbinding.Encoder) error { +func awsRestxml_serializeOpHttpBindingsListTrustStoresInput(v *ListTrustStoresInput, encoder *httpbinding.Encoder) error { if v == nil { return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.Marker != nil { - encoder.SetQuery("Marker").String(*v.Marker) - } - - if v.MaxItems != nil { - encoder.SetQuery("MaxItems").Integer(*v.MaxItems) - } - return nil } -type awsRestxml_serializeOpPublishFunction struct { -} - -func (*awsRestxml_serializeOpPublishFunction) ID() string { - return "OperationSerializer" -} - -func (m *awsRestxml_serializeOpPublishFunction) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() +func awsRestxml_serializeOpDocumentListTrustStoresInput(v *ListTrustStoresInput, value smithyxml.Value) error { + defer value.Close() + if v.Marker != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "Marker", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(*v.Marker) + } + if v.MaxItems != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "MaxItems", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.Integer(*v.MaxItems) + } + return nil +} + +type awsRestxml_serializeOpListVpcOrigins struct { +} + +func (*awsRestxml_serializeOpListVpcOrigins) ID() string { + return "OperationSerializer" +} + +func (m *awsRestxml_serializeOpListVpcOrigins) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ListVpcOriginsInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/vpc-origin") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "GET" + var restEncoder *httpbinding.Encoder + if request.URL.RawPath == "" { + restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + } else { + request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) + restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) + } + + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestxml_serializeOpHttpBindingsListVpcOriginsInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} +func awsRestxml_serializeOpHttpBindingsListVpcOriginsInput(v *ListVpcOriginsInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.Marker != nil { + encoder.SetQuery("Marker").String(*v.Marker) + } + + if v.MaxItems != nil { + encoder.SetQuery("MaxItems").Integer(*v.MaxItems) + } + + return nil +} + +type awsRestxml_serializeOpPublishConnectionFunction struct { +} + +func (*awsRestxml_serializeOpPublishConnectionFunction) ID() string { + return "OperationSerializer" +} + +func (m *awsRestxml_serializeOpPublishConnectionFunction) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*PublishConnectionFunctionInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/connection-function/{Id}/publish") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "POST" + var restEncoder *httpbinding.Encoder + if request.URL.RawPath == "" { + restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + } else { + request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) + restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) + } + + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestxml_serializeOpHttpBindingsPublishConnectionFunctionInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} +func awsRestxml_serializeOpHttpBindingsPublishConnectionFunctionInput(v *PublishConnectionFunctionInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.Id == nil || len(*v.Id) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member Id must not be empty")} + } + if v.Id != nil { + if err := encoder.SetURI("Id").String(*v.Id); err != nil { + return err + } + } + + if v.IfMatch != nil { + locationName := "If-Match" + encoder.SetHeader(locationName).String(*v.IfMatch) + } + + return nil +} + +type awsRestxml_serializeOpPublishFunction struct { +} + +func (*awsRestxml_serializeOpPublishFunction) ID() string { + return "OperationSerializer" +} + +func (m *awsRestxml_serializeOpPublishFunction) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*PublishFunctionInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/function/{Name}/publish") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "POST" + var restEncoder *httpbinding.Encoder + if request.URL.RawPath == "" { + restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + } else { + request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) + restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) + } + + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestxml_serializeOpHttpBindingsPublishFunctionInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} +func awsRestxml_serializeOpHttpBindingsPublishFunctionInput(v *PublishFunctionInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.IfMatch != nil { + locationName := "If-Match" + encoder.SetHeader(locationName).String(*v.IfMatch) + } + + if v.Name == nil || len(*v.Name) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member Name must not be empty")} + } + if v.Name != nil { + if err := encoder.SetURI("Name").String(*v.Name); err != nil { + return err + } + } + + return nil +} + +type awsRestxml_serializeOpPutResourcePolicy struct { +} + +func (*awsRestxml_serializeOpPutResourcePolicy) ID() string { + return "OperationSerializer" +} + +func (m *awsRestxml_serializeOpPutResourcePolicy) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*PutResourcePolicyInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/put-resource-policy") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "POST" + var restEncoder *httpbinding.Encoder + if request.URL.RawPath == "" { + restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + } else { + request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) + restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) + } + + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + restEncoder.SetHeader("Content-Type").String("application/xml") + + xmlEncoder := smithyxml.NewEncoder(bytes.NewBuffer(nil)) + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "PutResourcePolicyRequest", + }, + Attr: rootAttr, + } + root.Attr = append(root.Attr, smithyxml.NewNamespaceAttribute("", "http://cloudfront.amazonaws.com/doc/2020-05-31/")) + if err := awsRestxml_serializeOpDocumentPutResourcePolicyInput(input, xmlEncoder.RootElement(root)); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + if request, err = request.SetStream(bytes.NewReader(xmlEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} +func awsRestxml_serializeOpHttpBindingsPutResourcePolicyInput(v *PutResourcePolicyInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + return nil +} + +func awsRestxml_serializeOpDocumentPutResourcePolicyInput(v *PutResourcePolicyInput, value smithyxml.Value) error { + defer value.Close() + if v.PolicyDocument != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "PolicyDocument", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(*v.PolicyDocument) + } + if v.ResourceArn != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "ResourceArn", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(*v.ResourceArn) + } + return nil +} + +type awsRestxml_serializeOpTagResource struct { +} + +func (*awsRestxml_serializeOpTagResource) ID() string { + return "OperationSerializer" +} + +func (m *awsRestxml_serializeOpTagResource) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*TagResourceInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/tagging?Operation=Tag") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "POST" + var restEncoder *httpbinding.Encoder + if request.URL.RawPath == "" { + restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + } else { + request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) + restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) + } + + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestxml_serializeOpHttpBindingsTagResourceInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if input.Tags != nil { + if !restEncoder.HasHeader("Content-Type") { + ctx = smithyhttp.SetIsContentTypeDefaultValue(ctx, true) + restEncoder.SetHeader("Content-Type").String("application/xml") + } + + xmlEncoder := smithyxml.NewEncoder(bytes.NewBuffer(nil)) + payloadRootAttr := []smithyxml.Attr{} + payloadRoot := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "Tags", + }, + Attr: payloadRootAttr, + } + payloadRoot.Attr = append(payloadRoot.Attr, smithyxml.NewNamespaceAttribute("", "http://cloudfront.amazonaws.com/doc/2020-05-31/")) + if err := awsRestxml_serializeDocumentTags(input.Tags, xmlEncoder.RootElement(payloadRoot)); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + payload := bytes.NewReader(xmlEncoder.Bytes()) + if request, err = request.SetStream(payload); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} +func awsRestxml_serializeOpHttpBindingsTagResourceInput(v *TagResourceInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.Resource != nil { + encoder.SetQuery("Resource").String(*v.Resource) + } + + return nil +} + +type awsRestxml_serializeOpTestConnectionFunction struct { +} + +func (*awsRestxml_serializeOpTestConnectionFunction) ID() string { + return "OperationSerializer" +} + +func (m *awsRestxml_serializeOpTestConnectionFunction) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() request, ok := in.Request.(*smithyhttp.Request) if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*PublishFunctionInput) + input, ok := in.Parameters.(*TestConnectionFunctionInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} } - opPath, opQuery := httpbinding.SplitURI("/2020-05-31/function/{Name}/publish") + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/connection-function/{Id}/test") request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) request.Method = "POST" @@ -10016,7 +11633,25 @@ func (m *awsRestxml_serializeOpPublishFunction) HandleSerialize(ctx context.Cont return out, metadata, &smithy.SerializationError{Err: err} } - if err := awsRestxml_serializeOpHttpBindingsPublishFunctionInput(input, restEncoder); err != nil { + if err := awsRestxml_serializeOpHttpBindingsTestConnectionFunctionInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + restEncoder.SetHeader("Content-Type").String("application/xml") + + xmlEncoder := smithyxml.NewEncoder(bytes.NewBuffer(nil)) + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "TestConnectionFunctionRequest", + }, + Attr: rootAttr, + } + root.Attr = append(root.Attr, smithyxml.NewNamespaceAttribute("", "http://cloudfront.amazonaws.com/doc/2020-05-31/")) + if err := awsRestxml_serializeOpDocumentTestConnectionFunctionInput(input, xmlEncoder.RootElement(root)); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + if request, err = request.SetStream(bytes.NewReader(xmlEncoder.Bytes())); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } @@ -10029,7 +11664,128 @@ func (m *awsRestxml_serializeOpPublishFunction) HandleSerialize(ctx context.Cont span.End() return next.HandleSerialize(ctx, in) } -func awsRestxml_serializeOpHttpBindingsPublishFunctionInput(v *PublishFunctionInput, encoder *httpbinding.Encoder) error { +func awsRestxml_serializeOpHttpBindingsTestConnectionFunctionInput(v *TestConnectionFunctionInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.Id == nil || len(*v.Id) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member Id must not be empty")} + } + if v.Id != nil { + if err := encoder.SetURI("Id").String(*v.Id); err != nil { + return err + } + } + + if v.IfMatch != nil { + locationName := "If-Match" + encoder.SetHeader(locationName).String(*v.IfMatch) + } + + return nil +} + +func awsRestxml_serializeOpDocumentTestConnectionFunctionInput(v *TestConnectionFunctionInput, value smithyxml.Value) error { + defer value.Close() + if v.ConnectionObject != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "ConnectionObject", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.Base64EncodeBytes(v.ConnectionObject) + } + if len(v.Stage) > 0 { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "Stage", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(string(v.Stage)) + } + return nil +} + +type awsRestxml_serializeOpTestFunction struct { +} + +func (*awsRestxml_serializeOpTestFunction) ID() string { + return "OperationSerializer" +} + +func (m *awsRestxml_serializeOpTestFunction) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*TestFunctionInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/function/{Name}/test") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "POST" + var restEncoder *httpbinding.Encoder + if request.URL.RawPath == "" { + restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + } else { + request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) + restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) + } + + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestxml_serializeOpHttpBindingsTestFunctionInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + restEncoder.SetHeader("Content-Type").String("application/xml") + + xmlEncoder := smithyxml.NewEncoder(bytes.NewBuffer(nil)) + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "TestFunctionRequest", + }, + Attr: rootAttr, + } + root.Attr = append(root.Attr, smithyxml.NewNamespaceAttribute("", "http://cloudfront.amazonaws.com/doc/2020-05-31/")) + if err := awsRestxml_serializeOpDocumentTestFunctionInput(input, xmlEncoder.RootElement(root)); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + if request, err = request.SetStream(bytes.NewReader(xmlEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} +func awsRestxml_serializeOpHttpBindingsTestFunctionInput(v *TestFunctionInput, encoder *httpbinding.Encoder) error { if v == nil { return fmt.Errorf("unsupported serialization of nil %T", v) } @@ -10051,14 +11807,41 @@ func awsRestxml_serializeOpHttpBindingsPublishFunctionInput(v *PublishFunctionIn return nil } -type awsRestxml_serializeOpTagResource struct { +func awsRestxml_serializeOpDocumentTestFunctionInput(v *TestFunctionInput, value smithyxml.Value) error { + defer value.Close() + if v.EventObject != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "EventObject", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.Base64EncodeBytes(v.EventObject) + } + if len(v.Stage) > 0 { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "Stage", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(string(v.Stage)) + } + return nil } -func (*awsRestxml_serializeOpTagResource) ID() string { +type awsRestxml_serializeOpUntagResource struct { +} + +func (*awsRestxml_serializeOpUntagResource) ID() string { return "OperationSerializer" } -func (m *awsRestxml_serializeOpTagResource) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( +func (m *awsRestxml_serializeOpUntagResource) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, ) { _, span := tracing.StartSpan(ctx, "OperationSerializer") @@ -10070,13 +11853,13 @@ func (m *awsRestxml_serializeOpTagResource) HandleSerialize(ctx context.Context, return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*TagResourceInput) + input, ok := in.Parameters.(*UntagResourceInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} } - opPath, opQuery := httpbinding.SplitURI("/2020-05-31/tagging?Operation=Tag") + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/tagging?Operation=Untag") request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) request.Method = "POST" @@ -10092,11 +11875,11 @@ func (m *awsRestxml_serializeOpTagResource) HandleSerialize(ctx context.Context, return out, metadata, &smithy.SerializationError{Err: err} } - if err := awsRestxml_serializeOpHttpBindingsTagResourceInput(input, restEncoder); err != nil { + if err := awsRestxml_serializeOpHttpBindingsUntagResourceInput(input, restEncoder); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } - if input.Tags != nil { + if input.TagKeys != nil { if !restEncoder.HasHeader("Content-Type") { ctx = smithyhttp.SetIsContentTypeDefaultValue(ctx, true) restEncoder.SetHeader("Content-Type").String("application/xml") @@ -10106,12 +11889,12 @@ func (m *awsRestxml_serializeOpTagResource) HandleSerialize(ctx context.Context, payloadRootAttr := []smithyxml.Attr{} payloadRoot := smithyxml.StartElement{ Name: smithyxml.Name{ - Local: "Tags", + Local: "TagKeys", }, Attr: payloadRootAttr, } payloadRoot.Attr = append(payloadRoot.Attr, smithyxml.NewNamespaceAttribute("", "http://cloudfront.amazonaws.com/doc/2020-05-31/")) - if err := awsRestxml_serializeDocumentTags(input.Tags, xmlEncoder.RootElement(payloadRoot)); err != nil { + if err := awsRestxml_serializeDocumentTagKeys(input.TagKeys, xmlEncoder.RootElement(payloadRoot)); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } payload := bytes.NewReader(xmlEncoder.Bytes()) @@ -10129,7 +11912,7 @@ func (m *awsRestxml_serializeOpTagResource) HandleSerialize(ctx context.Context, span.End() return next.HandleSerialize(ctx, in) } -func awsRestxml_serializeOpHttpBindingsTagResourceInput(v *TagResourceInput, encoder *httpbinding.Encoder) error { +func awsRestxml_serializeOpHttpBindingsUntagResourceInput(v *UntagResourceInput, encoder *httpbinding.Encoder) error { if v == nil { return fmt.Errorf("unsupported serialization of nil %T", v) } @@ -10141,14 +11924,14 @@ func awsRestxml_serializeOpHttpBindingsTagResourceInput(v *TagResourceInput, enc return nil } -type awsRestxml_serializeOpTestFunction struct { +type awsRestxml_serializeOpUpdateAnycastIpList struct { } -func (*awsRestxml_serializeOpTestFunction) ID() string { +func (*awsRestxml_serializeOpUpdateAnycastIpList) ID() string { return "OperationSerializer" } -func (m *awsRestxml_serializeOpTestFunction) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( +func (m *awsRestxml_serializeOpUpdateAnycastIpList) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, ) { _, span := tracing.StartSpan(ctx, "OperationSerializer") @@ -10160,16 +11943,16 @@ func (m *awsRestxml_serializeOpTestFunction) HandleSerialize(ctx context.Context return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*TestFunctionInput) + input, ok := in.Parameters.(*UpdateAnycastIpListInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} } - opPath, opQuery := httpbinding.SplitURI("/2020-05-31/function/{Name}/test") + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/anycast-ip-list/{Id}") request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" + request.Method = "PUT" var restEncoder *httpbinding.Encoder if request.URL.RawPath == "" { restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) @@ -10182,7 +11965,7 @@ func (m *awsRestxml_serializeOpTestFunction) HandleSerialize(ctx context.Context return out, metadata, &smithy.SerializationError{Err: err} } - if err := awsRestxml_serializeOpHttpBindingsTestFunctionInput(input, restEncoder); err != nil { + if err := awsRestxml_serializeOpHttpBindingsUpdateAnycastIpListInput(input, restEncoder); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } @@ -10192,12 +11975,12 @@ func (m *awsRestxml_serializeOpTestFunction) HandleSerialize(ctx context.Context rootAttr := []smithyxml.Attr{} root := smithyxml.StartElement{ Name: smithyxml.Name{ - Local: "TestFunctionRequest", + Local: "UpdateAnycastIpListRequest", }, Attr: rootAttr, } root.Attr = append(root.Attr, smithyxml.NewNamespaceAttribute("", "http://cloudfront.amazonaws.com/doc/2020-05-31/")) - if err := awsRestxml_serializeOpDocumentTestFunctionInput(input, xmlEncoder.RootElement(root)); err != nil { + if err := awsRestxml_serializeOpDocumentUpdateAnycastIpListInput(input, xmlEncoder.RootElement(root)); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } if request, err = request.SetStream(bytes.NewReader(xmlEncoder.Bytes())); err != nil { @@ -10213,63 +11996,52 @@ func (m *awsRestxml_serializeOpTestFunction) HandleSerialize(ctx context.Context span.End() return next.HandleSerialize(ctx, in) } -func awsRestxml_serializeOpHttpBindingsTestFunctionInput(v *TestFunctionInput, encoder *httpbinding.Encoder) error { +func awsRestxml_serializeOpHttpBindingsUpdateAnycastIpListInput(v *UpdateAnycastIpListInput, encoder *httpbinding.Encoder) error { if v == nil { return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.IfMatch != nil { - locationName := "If-Match" - encoder.SetHeader(locationName).String(*v.IfMatch) - } - - if v.Name == nil || len(*v.Name) == 0 { - return &smithy.SerializationError{Err: fmt.Errorf("input member Name must not be empty")} + if v.Id == nil || len(*v.Id) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member Id must not be empty")} } - if v.Name != nil { - if err := encoder.SetURI("Name").String(*v.Name); err != nil { + if v.Id != nil { + if err := encoder.SetURI("Id").String(*v.Id); err != nil { return err } } + if v.IfMatch != nil { + locationName := "If-Match" + encoder.SetHeader(locationName).String(*v.IfMatch) + } + return nil } -func awsRestxml_serializeOpDocumentTestFunctionInput(v *TestFunctionInput, value smithyxml.Value) error { +func awsRestxml_serializeOpDocumentUpdateAnycastIpListInput(v *UpdateAnycastIpListInput, value smithyxml.Value) error { defer value.Close() - if v.EventObject != nil { - rootAttr := []smithyxml.Attr{} - root := smithyxml.StartElement{ - Name: smithyxml.Name{ - Local: "EventObject", - }, - Attr: rootAttr, - } - el := value.MemberElement(root) - el.Base64EncodeBytes(v.EventObject) - } - if len(v.Stage) > 0 { + if len(v.IpAddressType) > 0 { rootAttr := []smithyxml.Attr{} root := smithyxml.StartElement{ Name: smithyxml.Name{ - Local: "Stage", + Local: "IpAddressType", }, Attr: rootAttr, } el := value.MemberElement(root) - el.String(string(v.Stage)) + el.String(string(v.IpAddressType)) } return nil } -type awsRestxml_serializeOpUntagResource struct { +type awsRestxml_serializeOpUpdateCachePolicy struct { } -func (*awsRestxml_serializeOpUntagResource) ID() string { +func (*awsRestxml_serializeOpUpdateCachePolicy) ID() string { return "OperationSerializer" } -func (m *awsRestxml_serializeOpUntagResource) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( +func (m *awsRestxml_serializeOpUpdateCachePolicy) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, ) { _, span := tracing.StartSpan(ctx, "OperationSerializer") @@ -10281,16 +12053,16 @@ func (m *awsRestxml_serializeOpUntagResource) HandleSerialize(ctx context.Contex return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*UntagResourceInput) + input, ok := in.Parameters.(*UpdateCachePolicyInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} } - opPath, opQuery := httpbinding.SplitURI("/2020-05-31/tagging?Operation=Untag") + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/cache-policy/{Id}") request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" + request.Method = "PUT" var restEncoder *httpbinding.Encoder if request.URL.RawPath == "" { restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) @@ -10303,11 +12075,11 @@ func (m *awsRestxml_serializeOpUntagResource) HandleSerialize(ctx context.Contex return out, metadata, &smithy.SerializationError{Err: err} } - if err := awsRestxml_serializeOpHttpBindingsUntagResourceInput(input, restEncoder); err != nil { + if err := awsRestxml_serializeOpHttpBindingsUpdateCachePolicyInput(input, restEncoder); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } - if input.TagKeys != nil { + if input.CachePolicyConfig != nil { if !restEncoder.HasHeader("Content-Type") { ctx = smithyhttp.SetIsContentTypeDefaultValue(ctx, true) restEncoder.SetHeader("Content-Type").String("application/xml") @@ -10317,12 +12089,12 @@ func (m *awsRestxml_serializeOpUntagResource) HandleSerialize(ctx context.Contex payloadRootAttr := []smithyxml.Attr{} payloadRoot := smithyxml.StartElement{ Name: smithyxml.Name{ - Local: "TagKeys", + Local: "CachePolicyConfig", }, Attr: payloadRootAttr, } payloadRoot.Attr = append(payloadRoot.Attr, smithyxml.NewNamespaceAttribute("", "http://cloudfront.amazonaws.com/doc/2020-05-31/")) - if err := awsRestxml_serializeDocumentTagKeys(input.TagKeys, xmlEncoder.RootElement(payloadRoot)); err != nil { + if err := awsRestxml_serializeDocumentCachePolicyConfig(input.CachePolicyConfig, xmlEncoder.RootElement(payloadRoot)); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } payload := bytes.NewReader(xmlEncoder.Bytes()) @@ -10340,26 +12112,36 @@ func (m *awsRestxml_serializeOpUntagResource) HandleSerialize(ctx context.Contex span.End() return next.HandleSerialize(ctx, in) } -func awsRestxml_serializeOpHttpBindingsUntagResourceInput(v *UntagResourceInput, encoder *httpbinding.Encoder) error { +func awsRestxml_serializeOpHttpBindingsUpdateCachePolicyInput(v *UpdateCachePolicyInput, encoder *httpbinding.Encoder) error { if v == nil { return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.Resource != nil { - encoder.SetQuery("Resource").String(*v.Resource) + if v.Id == nil || len(*v.Id) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member Id must not be empty")} + } + if v.Id != nil { + if err := encoder.SetURI("Id").String(*v.Id); err != nil { + return err + } + } + + if v.IfMatch != nil { + locationName := "If-Match" + encoder.SetHeader(locationName).String(*v.IfMatch) } return nil } -type awsRestxml_serializeOpUpdateCachePolicy struct { +type awsRestxml_serializeOpUpdateCloudFrontOriginAccessIdentity struct { } -func (*awsRestxml_serializeOpUpdateCachePolicy) ID() string { +func (*awsRestxml_serializeOpUpdateCloudFrontOriginAccessIdentity) ID() string { return "OperationSerializer" } -func (m *awsRestxml_serializeOpUpdateCachePolicy) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( +func (m *awsRestxml_serializeOpUpdateCloudFrontOriginAccessIdentity) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, ) { _, span := tracing.StartSpan(ctx, "OperationSerializer") @@ -10371,13 +12153,13 @@ func (m *awsRestxml_serializeOpUpdateCachePolicy) HandleSerialize(ctx context.Co return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*UpdateCachePolicyInput) + input, ok := in.Parameters.(*UpdateCloudFrontOriginAccessIdentityInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} } - opPath, opQuery := httpbinding.SplitURI("/2020-05-31/cache-policy/{Id}") + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/origin-access-identity/cloudfront/{Id}/config") request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) request.Method = "PUT" @@ -10393,11 +12175,11 @@ func (m *awsRestxml_serializeOpUpdateCachePolicy) HandleSerialize(ctx context.Co return out, metadata, &smithy.SerializationError{Err: err} } - if err := awsRestxml_serializeOpHttpBindingsUpdateCachePolicyInput(input, restEncoder); err != nil { + if err := awsRestxml_serializeOpHttpBindingsUpdateCloudFrontOriginAccessIdentityInput(input, restEncoder); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } - if input.CachePolicyConfig != nil { + if input.CloudFrontOriginAccessIdentityConfig != nil { if !restEncoder.HasHeader("Content-Type") { ctx = smithyhttp.SetIsContentTypeDefaultValue(ctx, true) restEncoder.SetHeader("Content-Type").String("application/xml") @@ -10407,12 +12189,12 @@ func (m *awsRestxml_serializeOpUpdateCachePolicy) HandleSerialize(ctx context.Co payloadRootAttr := []smithyxml.Attr{} payloadRoot := smithyxml.StartElement{ Name: smithyxml.Name{ - Local: "CachePolicyConfig", + Local: "CloudFrontOriginAccessIdentityConfig", }, Attr: payloadRootAttr, } payloadRoot.Attr = append(payloadRoot.Attr, smithyxml.NewNamespaceAttribute("", "http://cloudfront.amazonaws.com/doc/2020-05-31/")) - if err := awsRestxml_serializeDocumentCachePolicyConfig(input.CachePolicyConfig, xmlEncoder.RootElement(payloadRoot)); err != nil { + if err := awsRestxml_serializeDocumentCloudFrontOriginAccessIdentityConfig(input.CloudFrontOriginAccessIdentityConfig, xmlEncoder.RootElement(payloadRoot)); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } payload := bytes.NewReader(xmlEncoder.Bytes()) @@ -10430,7 +12212,7 @@ func (m *awsRestxml_serializeOpUpdateCachePolicy) HandleSerialize(ctx context.Co span.End() return next.HandleSerialize(ctx, in) } -func awsRestxml_serializeOpHttpBindingsUpdateCachePolicyInput(v *UpdateCachePolicyInput, encoder *httpbinding.Encoder) error { +func awsRestxml_serializeOpHttpBindingsUpdateCloudFrontOriginAccessIdentityInput(v *UpdateCloudFrontOriginAccessIdentityInput, encoder *httpbinding.Encoder) error { if v == nil { return fmt.Errorf("unsupported serialization of nil %T", v) } @@ -10452,14 +12234,14 @@ func awsRestxml_serializeOpHttpBindingsUpdateCachePolicyInput(v *UpdateCachePoli return nil } -type awsRestxml_serializeOpUpdateCloudFrontOriginAccessIdentity struct { +type awsRestxml_serializeOpUpdateConnectionFunction struct { } -func (*awsRestxml_serializeOpUpdateCloudFrontOriginAccessIdentity) ID() string { +func (*awsRestxml_serializeOpUpdateConnectionFunction) ID() string { return "OperationSerializer" } -func (m *awsRestxml_serializeOpUpdateCloudFrontOriginAccessIdentity) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( +func (m *awsRestxml_serializeOpUpdateConnectionFunction) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, ) { _, span := tracing.StartSpan(ctx, "OperationSerializer") @@ -10471,13 +12253,13 @@ func (m *awsRestxml_serializeOpUpdateCloudFrontOriginAccessIdentity) HandleSeria return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*UpdateCloudFrontOriginAccessIdentityInput) + input, ok := in.Parameters.(*UpdateConnectionFunctionInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} } - opPath, opQuery := httpbinding.SplitURI("/2020-05-31/origin-access-identity/cloudfront/{Id}/config") + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/connection-function/{Id}") request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) request.Method = "PUT" @@ -10493,32 +12275,26 @@ func (m *awsRestxml_serializeOpUpdateCloudFrontOriginAccessIdentity) HandleSeria return out, metadata, &smithy.SerializationError{Err: err} } - if err := awsRestxml_serializeOpHttpBindingsUpdateCloudFrontOriginAccessIdentityInput(input, restEncoder); err != nil { + if err := awsRestxml_serializeOpHttpBindingsUpdateConnectionFunctionInput(input, restEncoder); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } - if input.CloudFrontOriginAccessIdentityConfig != nil { - if !restEncoder.HasHeader("Content-Type") { - ctx = smithyhttp.SetIsContentTypeDefaultValue(ctx, true) - restEncoder.SetHeader("Content-Type").String("application/xml") - } + restEncoder.SetHeader("Content-Type").String("application/xml") - xmlEncoder := smithyxml.NewEncoder(bytes.NewBuffer(nil)) - payloadRootAttr := []smithyxml.Attr{} - payloadRoot := smithyxml.StartElement{ - Name: smithyxml.Name{ - Local: "CloudFrontOriginAccessIdentityConfig", - }, - Attr: payloadRootAttr, - } - payloadRoot.Attr = append(payloadRoot.Attr, smithyxml.NewNamespaceAttribute("", "http://cloudfront.amazonaws.com/doc/2020-05-31/")) - if err := awsRestxml_serializeDocumentCloudFrontOriginAccessIdentityConfig(input.CloudFrontOriginAccessIdentityConfig, xmlEncoder.RootElement(payloadRoot)); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - payload := bytes.NewReader(xmlEncoder.Bytes()) - if request, err = request.SetStream(payload); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } + xmlEncoder := smithyxml.NewEncoder(bytes.NewBuffer(nil)) + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "UpdateConnectionFunctionRequest", + }, + Attr: rootAttr, + } + root.Attr = append(root.Attr, smithyxml.NewNamespaceAttribute("", "http://cloudfront.amazonaws.com/doc/2020-05-31/")) + if err := awsRestxml_serializeOpDocumentUpdateConnectionFunctionInput(input, xmlEncoder.RootElement(root)); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + if request, err = request.SetStream(bytes.NewReader(xmlEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} } if request.Request, err = restEncoder.Encode(request.Request); err != nil { @@ -10530,7 +12306,7 @@ func (m *awsRestxml_serializeOpUpdateCloudFrontOriginAccessIdentity) HandleSeria span.End() return next.HandleSerialize(ctx, in) } -func awsRestxml_serializeOpHttpBindingsUpdateCloudFrontOriginAccessIdentityInput(v *UpdateCloudFrontOriginAccessIdentityInput, encoder *httpbinding.Encoder) error { +func awsRestxml_serializeOpHttpBindingsUpdateConnectionFunctionInput(v *UpdateConnectionFunctionInput, encoder *httpbinding.Encoder) error { if v == nil { return fmt.Errorf("unsupported serialization of nil %T", v) } @@ -10552,6 +12328,35 @@ func awsRestxml_serializeOpHttpBindingsUpdateCloudFrontOriginAccessIdentityInput return nil } +func awsRestxml_serializeOpDocumentUpdateConnectionFunctionInput(v *UpdateConnectionFunctionInput, value smithyxml.Value) error { + defer value.Close() + if v.ConnectionFunctionCode != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "ConnectionFunctionCode", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.Base64EncodeBytes(v.ConnectionFunctionCode) + } + if v.ConnectionFunctionConfig != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "ConnectionFunctionConfig", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + if err := awsRestxml_serializeDocumentFunctionConfig(v.ConnectionFunctionConfig, el); err != nil { + return err + } + } + return nil +} + type awsRestxml_serializeOpUpdateConnectionGroup struct { } @@ -12235,14 +14040,114 @@ func awsRestxml_serializeOpDocumentUpdateRealtimeLogConfigInput(v *UpdateRealtim return nil } -type awsRestxml_serializeOpUpdateResponseHeadersPolicy struct { +type awsRestxml_serializeOpUpdateResponseHeadersPolicy struct { +} + +func (*awsRestxml_serializeOpUpdateResponseHeadersPolicy) ID() string { + return "OperationSerializer" +} + +func (m *awsRestxml_serializeOpUpdateResponseHeadersPolicy) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*UpdateResponseHeadersPolicyInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/response-headers-policy/{Id}") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "PUT" + var restEncoder *httpbinding.Encoder + if request.URL.RawPath == "" { + restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + } else { + request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) + restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) + } + + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestxml_serializeOpHttpBindingsUpdateResponseHeadersPolicyInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if input.ResponseHeadersPolicyConfig != nil { + if !restEncoder.HasHeader("Content-Type") { + ctx = smithyhttp.SetIsContentTypeDefaultValue(ctx, true) + restEncoder.SetHeader("Content-Type").String("application/xml") + } + + xmlEncoder := smithyxml.NewEncoder(bytes.NewBuffer(nil)) + payloadRootAttr := []smithyxml.Attr{} + payloadRoot := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "ResponseHeadersPolicyConfig", + }, + Attr: payloadRootAttr, + } + payloadRoot.Attr = append(payloadRoot.Attr, smithyxml.NewNamespaceAttribute("", "http://cloudfront.amazonaws.com/doc/2020-05-31/")) + if err := awsRestxml_serializeDocumentResponseHeadersPolicyConfig(input.ResponseHeadersPolicyConfig, xmlEncoder.RootElement(payloadRoot)); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + payload := bytes.NewReader(xmlEncoder.Bytes()) + if request, err = request.SetStream(payload); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} +func awsRestxml_serializeOpHttpBindingsUpdateResponseHeadersPolicyInput(v *UpdateResponseHeadersPolicyInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.Id == nil || len(*v.Id) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member Id must not be empty")} + } + if v.Id != nil { + if err := encoder.SetURI("Id").String(*v.Id); err != nil { + return err + } + } + + if v.IfMatch != nil { + locationName := "If-Match" + encoder.SetHeader(locationName).String(*v.IfMatch) + } + + return nil +} + +type awsRestxml_serializeOpUpdateStreamingDistribution struct { } -func (*awsRestxml_serializeOpUpdateResponseHeadersPolicy) ID() string { +func (*awsRestxml_serializeOpUpdateStreamingDistribution) ID() string { return "OperationSerializer" } -func (m *awsRestxml_serializeOpUpdateResponseHeadersPolicy) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( +func (m *awsRestxml_serializeOpUpdateStreamingDistribution) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, ) { _, span := tracing.StartSpan(ctx, "OperationSerializer") @@ -12254,13 +14159,13 @@ func (m *awsRestxml_serializeOpUpdateResponseHeadersPolicy) HandleSerialize(ctx return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*UpdateResponseHeadersPolicyInput) + input, ok := in.Parameters.(*UpdateStreamingDistributionInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} } - opPath, opQuery := httpbinding.SplitURI("/2020-05-31/response-headers-policy/{Id}") + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/streaming-distribution/{Id}/config") request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) request.Method = "PUT" @@ -12276,11 +14181,11 @@ func (m *awsRestxml_serializeOpUpdateResponseHeadersPolicy) HandleSerialize(ctx return out, metadata, &smithy.SerializationError{Err: err} } - if err := awsRestxml_serializeOpHttpBindingsUpdateResponseHeadersPolicyInput(input, restEncoder); err != nil { + if err := awsRestxml_serializeOpHttpBindingsUpdateStreamingDistributionInput(input, restEncoder); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } - if input.ResponseHeadersPolicyConfig != nil { + if input.StreamingDistributionConfig != nil { if !restEncoder.HasHeader("Content-Type") { ctx = smithyhttp.SetIsContentTypeDefaultValue(ctx, true) restEncoder.SetHeader("Content-Type").String("application/xml") @@ -12290,12 +14195,12 @@ func (m *awsRestxml_serializeOpUpdateResponseHeadersPolicy) HandleSerialize(ctx payloadRootAttr := []smithyxml.Attr{} payloadRoot := smithyxml.StartElement{ Name: smithyxml.Name{ - Local: "ResponseHeadersPolicyConfig", + Local: "StreamingDistributionConfig", }, Attr: payloadRootAttr, } payloadRoot.Attr = append(payloadRoot.Attr, smithyxml.NewNamespaceAttribute("", "http://cloudfront.amazonaws.com/doc/2020-05-31/")) - if err := awsRestxml_serializeDocumentResponseHeadersPolicyConfig(input.ResponseHeadersPolicyConfig, xmlEncoder.RootElement(payloadRoot)); err != nil { + if err := awsRestxml_serializeDocumentStreamingDistributionConfig(input.StreamingDistributionConfig, xmlEncoder.RootElement(payloadRoot)); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } payload := bytes.NewReader(xmlEncoder.Bytes()) @@ -12313,7 +14218,7 @@ func (m *awsRestxml_serializeOpUpdateResponseHeadersPolicy) HandleSerialize(ctx span.End() return next.HandleSerialize(ctx, in) } -func awsRestxml_serializeOpHttpBindingsUpdateResponseHeadersPolicyInput(v *UpdateResponseHeadersPolicyInput, encoder *httpbinding.Encoder) error { +func awsRestxml_serializeOpHttpBindingsUpdateStreamingDistributionInput(v *UpdateStreamingDistributionInput, encoder *httpbinding.Encoder) error { if v == nil { return fmt.Errorf("unsupported serialization of nil %T", v) } @@ -12335,14 +14240,14 @@ func awsRestxml_serializeOpHttpBindingsUpdateResponseHeadersPolicyInput(v *Updat return nil } -type awsRestxml_serializeOpUpdateStreamingDistribution struct { +type awsRestxml_serializeOpUpdateTrustStore struct { } -func (*awsRestxml_serializeOpUpdateStreamingDistribution) ID() string { +func (*awsRestxml_serializeOpUpdateTrustStore) ID() string { return "OperationSerializer" } -func (m *awsRestxml_serializeOpUpdateStreamingDistribution) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( +func (m *awsRestxml_serializeOpUpdateTrustStore) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, ) { _, span := tracing.StartSpan(ctx, "OperationSerializer") @@ -12354,13 +14259,13 @@ func (m *awsRestxml_serializeOpUpdateStreamingDistribution) HandleSerialize(ctx return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*UpdateStreamingDistributionInput) + input, ok := in.Parameters.(*UpdateTrustStoreInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} } - opPath, opQuery := httpbinding.SplitURI("/2020-05-31/streaming-distribution/{Id}/config") + opPath, opQuery := httpbinding.SplitURI("/2020-05-31/trust-store/{Id}") request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) request.Method = "PUT" @@ -12376,11 +14281,11 @@ func (m *awsRestxml_serializeOpUpdateStreamingDistribution) HandleSerialize(ctx return out, metadata, &smithy.SerializationError{Err: err} } - if err := awsRestxml_serializeOpHttpBindingsUpdateStreamingDistributionInput(input, restEncoder); err != nil { + if err := awsRestxml_serializeOpHttpBindingsUpdateTrustStoreInput(input, restEncoder); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } - if input.StreamingDistributionConfig != nil { + if input.CaCertificatesBundleSource != nil { if !restEncoder.HasHeader("Content-Type") { ctx = smithyhttp.SetIsContentTypeDefaultValue(ctx, true) restEncoder.SetHeader("Content-Type").String("application/xml") @@ -12390,12 +14295,12 @@ func (m *awsRestxml_serializeOpUpdateStreamingDistribution) HandleSerialize(ctx payloadRootAttr := []smithyxml.Attr{} payloadRoot := smithyxml.StartElement{ Name: smithyxml.Name{ - Local: "StreamingDistributionConfig", + Local: "CaCertificatesBundleSource", }, Attr: payloadRootAttr, } payloadRoot.Attr = append(payloadRoot.Attr, smithyxml.NewNamespaceAttribute("", "http://cloudfront.amazonaws.com/doc/2020-05-31/")) - if err := awsRestxml_serializeDocumentStreamingDistributionConfig(input.StreamingDistributionConfig, xmlEncoder.RootElement(payloadRoot)); err != nil { + if err := awsRestxml_serializeDocumentCaCertificatesBundleSource(input.CaCertificatesBundleSource, xmlEncoder.RootElement(payloadRoot)); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } payload := bytes.NewReader(xmlEncoder.Bytes()) @@ -12413,7 +14318,7 @@ func (m *awsRestxml_serializeOpUpdateStreamingDistribution) HandleSerialize(ctx span.End() return next.HandleSerialize(ctx, in) } -func awsRestxml_serializeOpHttpBindingsUpdateStreamingDistributionInput(v *UpdateStreamingDistributionInput, encoder *httpbinding.Encoder) error { +func awsRestxml_serializeOpHttpBindingsUpdateTrustStoreInput(v *UpdateTrustStoreInput, encoder *httpbinding.Encoder) error { if v == nil { return fmt.Errorf("unsupported serialization of nil %T", v) } @@ -12829,6 +14734,78 @@ func awsRestxml_serializeDocumentAwsAccountNumberList(v []string, value smithyxm return nil } +func awsRestxml_serializeDocumentCaCertificatesBundleS3Location(v *types.CaCertificatesBundleS3Location, value smithyxml.Value) error { + defer value.Close() + if v.Bucket != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "Bucket", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(*v.Bucket) + } + if v.Key != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "Key", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(*v.Key) + } + if v.Region != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "Region", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(*v.Region) + } + if v.Version != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "Version", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(*v.Version) + } + return nil +} + +func awsRestxml_serializeDocumentCaCertificatesBundleSource(v types.CaCertificatesBundleSource, value smithyxml.Value) error { + defer value.Close() + switch uv := v.(type) { + case *types.CaCertificatesBundleSourceMemberCaCertificatesBundleS3Location: + customMemberNameAttr := []smithyxml.Attr{} + customMemberName := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "CaCertificatesBundleS3Location", + }, + Attr: customMemberNameAttr, + } + av := value.MemberElement(customMemberName) + if err := awsRestxml_serializeDocumentCaCertificatesBundleS3Location(&uv.Value, av); err != nil { + return err + } + + default: + return fmt.Errorf("attempted to serialize unknown member type %T for union %T", uv, v) + + } + return nil +} + func awsRestxml_serializeDocumentCacheBehavior(v *types.CacheBehavior, value smithyxml.Value) error { defer value.Close() if v.AllowedMethods != nil { @@ -13351,6 +15328,22 @@ func awsRestxml_serializeDocumentCloudFrontOriginAccessIdentityConfig(v *types.C return nil } +func awsRestxml_serializeDocumentConnectionFunctionAssociation(v *types.ConnectionFunctionAssociation, value smithyxml.Value) error { + defer value.Close() + if v.Id != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "Id", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(*v.Id) + } + return nil +} + func awsRestxml_serializeDocumentConnectionGroupAssociationFilter(v *types.ConnectionGroupAssociationFilter, value smithyxml.Value) error { defer value.Close() if v.AnycastIpListId != nil { @@ -13893,6 +15886,19 @@ func awsRestxml_serializeDocumentCustomOriginConfig(v *types.CustomOriginConfig, el := value.MemberElement(root) el.Integer(*v.OriginKeepaliveTimeout) } + if v.OriginMtlsConfig != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "OriginMtlsConfig", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + if err := awsRestxml_serializeDocumentOriginMtlsConfig(v.OriginMtlsConfig, el); err != nil { + return err + } + } if len(v.OriginProtocolPolicy) > 0 { rootAttr := []smithyxml.Attr{} root := smithyxml.StartElement{ @@ -14220,6 +16226,19 @@ func awsRestxml_serializeDocumentDistributionConfig(v *types.DistributionConfig, el := value.MemberElement(root) el.String(*v.Comment) } + if v.ConnectionFunctionAssociation != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "ConnectionFunctionAssociation", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + if err := awsRestxml_serializeDocumentConnectionFunctionAssociation(v.ConnectionFunctionAssociation, el); err != nil { + return err + } + } if len(v.ConnectionMode) > 0 { rootAttr := []smithyxml.Attr{} root := smithyxml.StartElement{ @@ -14412,6 +16431,19 @@ func awsRestxml_serializeDocumentDistributionConfig(v *types.DistributionConfig, return err } } + if v.ViewerMtlsConfig != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "ViewerMtlsConfig", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + if err := awsRestxml_serializeDocumentViewerMtlsConfig(v.ViewerMtlsConfig, el); err != nil { + return err + } + } if v.WebACLId != nil { rootAttr := []smithyxml.Attr{} root := smithyxml.StartElement{ @@ -15213,6 +17245,77 @@ func awsRestxml_serializeDocumentInvalidationBatch(v *types.InvalidationBatch, v return nil } +func awsRestxml_serializeDocumentIpamCidrConfig(v *types.IpamCidrConfig, value smithyxml.Value) error { + defer value.Close() + if v.AnycastIp != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "AnycastIp", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(*v.AnycastIp) + } + if v.Cidr != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "Cidr", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(*v.Cidr) + } + if v.IpamPoolArn != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "IpamPoolArn", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(*v.IpamPoolArn) + } + if len(v.Status) > 0 { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "Status", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(string(v.Status)) + } + return nil +} + +func awsRestxml_serializeDocumentIpamCidrConfigList(v []types.IpamCidrConfig, value smithyxml.Value) error { + var array *smithyxml.Array + if !value.IsFlattened() { + defer value.Close() + } + customMemberNameAttr := []smithyxml.Attr{} + customMemberName := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "IpamCidrConfig", + }, + Attr: customMemberNameAttr, + } + array = value.ArrayWithCustomName(customMemberName) + for i := range v { + am := array.Member() + if err := awsRestxml_serializeDocumentIpamCidrConfig(&v[i], am); err != nil { + return err + } + } + return nil +} + func awsRestxml_serializeDocumentKeyGroupConfig(v *types.KeyGroupConfig, value smithyxml.Value) error { defer value.Close() if v.Comment != nil { @@ -16048,6 +18151,22 @@ func awsRestxml_serializeDocumentOriginList(v []types.Origin, value smithyxml.Va return nil } +func awsRestxml_serializeDocumentOriginMtlsConfig(v *types.OriginMtlsConfig, value smithyxml.Value) error { + defer value.Close() + if v.ClientCertificateArn != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "ClientCertificateArn", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(*v.ClientCertificateArn) + } + return nil +} + func awsRestxml_serializeDocumentOriginRequestPolicyConfig(v *types.OriginRequestPolicyConfig, value smithyxml.Value) error { defer value.Close() if v.Comment != nil { @@ -18257,6 +20376,44 @@ func awsRestxml_serializeDocumentTrustedSigners(v *types.TrustedSigners, value s return nil } +func awsRestxml_serializeDocumentTrustStoreConfig(v *types.TrustStoreConfig, value smithyxml.Value) error { + defer value.Close() + if v.AdvertiseTrustStoreCaNames != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "AdvertiseTrustStoreCaNames", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.Boolean(*v.AdvertiseTrustStoreCaNames) + } + if v.IgnoreCertificateExpiry != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "IgnoreCertificateExpiry", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.Boolean(*v.IgnoreCertificateExpiry) + } + if v.TrustStoreId != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "TrustStoreId", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(*v.TrustStoreId) + } + return nil +} + func awsRestxml_serializeDocumentViewerCertificate(v *types.ViewerCertificate, value smithyxml.Value) error { defer value.Close() if v.ACMCertificateArn != nil { @@ -18339,6 +20496,35 @@ func awsRestxml_serializeDocumentViewerCertificate(v *types.ViewerCertificate, v return nil } +func awsRestxml_serializeDocumentViewerMtlsConfig(v *types.ViewerMtlsConfig, value smithyxml.Value) error { + defer value.Close() + if len(v.Mode) > 0 { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "Mode", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(string(v.Mode)) + } + if v.TrustStoreConfig != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "TrustStoreConfig", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + if err := awsRestxml_serializeDocumentTrustStoreConfig(v.TrustStoreConfig, el); err != nil { + return err + } + } + return nil +} + func awsRestxml_serializeDocumentVpcOriginConfig(v *types.VpcOriginConfig, value smithyxml.Value) error { defer value.Close() if v.OriginKeepaliveTimeout != nil { @@ -18363,6 +20549,17 @@ func awsRestxml_serializeDocumentVpcOriginConfig(v *types.VpcOriginConfig, value el := value.MemberElement(root) el.Integer(*v.OriginReadTimeout) } + if v.OwnerAccountId != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "OwnerAccountId", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(*v.OwnerAccountId) + } if v.VpcOriginId != nil { rootAttr := []smithyxml.Attr{} root := smithyxml.StartElement{ diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/types/enums.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/types/enums.go index 9cbd758fb5..25923cda2e 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/types/enums.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/types/enums.go @@ -445,6 +445,45 @@ func (IpAddressType) Values() []IpAddressType { } } +type IpamCidrStatus string + +// Enum values for IpamCidrStatus +const ( + IpamCidrStatusProvisioned IpamCidrStatus = "provisioned" + IpamCidrStatusFailedProvision IpamCidrStatus = "failed-provision" + IpamCidrStatusProvisioning IpamCidrStatus = "provisioning" + IpamCidrStatusDeprovisioned IpamCidrStatus = "deprovisioned" + IpamCidrStatusFailedDeprovision IpamCidrStatus = "failed-deprovision" + IpamCidrStatusDeprovisioning IpamCidrStatus = "deprovisioning" + IpamCidrStatusAdvertised IpamCidrStatus = "advertised" + IpamCidrStatusFailedAdvertise IpamCidrStatus = "failed-advertise" + IpamCidrStatusAdvertising IpamCidrStatus = "advertising" + IpamCidrStatusWithdrawn IpamCidrStatus = "withdrawn" + IpamCidrStatusFailedWithdraw IpamCidrStatus = "failed-withdraw" + IpamCidrStatusWithdrawing IpamCidrStatus = "withdrawing" +) + +// Values returns all known values for IpamCidrStatus. Note that this can be +// expanded in the future, and so it is only as up to date as the client. +// +// The ordering of this slice is not guaranteed to be stable across updates. +func (IpamCidrStatus) Values() []IpamCidrStatus { + return []IpamCidrStatus{ + "provisioned", + "failed-provision", + "provisioning", + "deprovisioned", + "failed-deprovision", + "deprovisioning", + "advertised", + "failed-advertise", + "advertising", + "withdrawn", + "failed-withdraw", + "withdrawing", + } +} + type ItemSelection string // Enum values for ItemSelection @@ -924,6 +963,27 @@ func (SSLSupportMethod) Values() []SSLSupportMethod { } } +type TrustStoreStatus string + +// Enum values for TrustStoreStatus +const ( + TrustStoreStatusPending TrustStoreStatus = "pending" + TrustStoreStatusActive TrustStoreStatus = "active" + TrustStoreStatusFailed TrustStoreStatus = "failed" +) + +// Values returns all known values for TrustStoreStatus. Note that this can be +// expanded in the future, and so it is only as up to date as the client. +// +// The ordering of this slice is not guaranteed to be stable across updates. +func (TrustStoreStatus) Values() []TrustStoreStatus { + return []TrustStoreStatus{ + "pending", + "active", + "failed", + } +} + type ValidationTokenHost string // Enum values for ValidationTokenHost @@ -943,6 +1003,25 @@ func (ValidationTokenHost) Values() []ValidationTokenHost { } } +type ViewerMtlsMode string + +// Enum values for ViewerMtlsMode +const ( + ViewerMtlsModeRequired ViewerMtlsMode = "required" + ViewerMtlsModeOptional ViewerMtlsMode = "optional" +) + +// Values returns all known values for ViewerMtlsMode. Note that this can be +// expanded in the future, and so it is only as up to date as the client. +// +// The ordering of this slice is not guaranteed to be stable across updates. +func (ViewerMtlsMode) Values() []ViewerMtlsMode { + return []ViewerMtlsMode{ + "required", + "optional", + } +} + type ViewerProtocolPolicy string // Enum values for ViewerProtocolPolicy diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/types/types.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/types/types.go index 7d7712ad76..2141c46e69 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/types/types.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/types/types.go @@ -200,6 +200,13 @@ type AnycastIpList struct { // This member is required. Status *string + // The IP address type for the Anycast static IP list. + IpAddressType IpAddressType + + // The IPAM configuration for the Anycast static IP list, that contains the + // quantity and list of IPAM CIDR configurations. + IpamConfig *IpamConfig + noSmithyDocumentSerde } @@ -277,9 +284,62 @@ type AnycastIpListSummary struct { // This member is required. Status *string + // The current version (ETag value) of the Anycast static IP list. + ETag *string + + // The IP address type for the Anycast static IP list. + IpAddressType IpAddressType + + // The IPAM configuration for the Anycast static IP list, that contains the + // quantity and list of IPAM CIDR configurations. + IpamConfig *IpamConfig + + noSmithyDocumentSerde +} + +// The CA certificates bundle location in Amazon S3. +type CaCertificatesBundleS3Location struct { + + // The S3 bucket. + // + // This member is required. + Bucket *string + + // The location's key. + // + // This member is required. + Key *string + + // The location's Region. + // + // This member is required. + Region *string + + // The location's version. + Version *string + + noSmithyDocumentSerde +} + +// A CA certificates bundle source. +// +// The following types satisfy this interface: +// +// CaCertificatesBundleSourceMemberCaCertificatesBundleS3Location +type CaCertificatesBundleSource interface { + isCaCertificatesBundleSource() +} + +// The CA certificates bundle location in Amazon S3. +type CaCertificatesBundleSourceMemberCaCertificatesBundleS3Location struct { + Value CaCertificatesBundleS3Location + noSmithyDocumentSerde } +func (*CaCertificatesBundleSourceMemberCaCertificatesBundleS3Location) isCaCertificatesBundleSource() { +} + // A complex type that describes how CloudFront processes requests. // // You must create at least as many cache behaviors (including the default cache @@ -1067,6 +1127,84 @@ type ConflictingAliasesList struct { noSmithyDocumentSerde } +// A connection function association. +type ConnectionFunctionAssociation struct { + + // The association's ID. + // + // This member is required. + Id *string + + noSmithyDocumentSerde +} + +// A connection function summary. +type ConnectionFunctionSummary struct { + + // The connection function Amazon Resource Name (ARN). + // + // This member is required. + ConnectionFunctionArn *string + + // Contains configuration information about a CloudFront function. + // + // This member is required. + ConnectionFunctionConfig *FunctionConfig + + // The connection function created time. + // + // This member is required. + CreatedTime *time.Time + + // The connection function ID. + // + // This member is required. + Id *string + + // The connection function last modified time. + // + // This member is required. + LastModifiedTime *time.Time + + // The connection function name. + // + // This member is required. + Name *string + + // The connection function stage. + // + // This member is required. + Stage FunctionStage + + // The connection function status. + // + // This member is required. + Status *string + + noSmithyDocumentSerde +} + +// A connection function test result. +type ConnectionFunctionTestResult struct { + + // The connection function compute utilization. + ComputeUtilization *string + + // The connection function error message. + ConnectionFunctionErrorMessage *string + + // The connection function execution logs. + ConnectionFunctionExecutionLogs []string + + // The connection function output. + ConnectionFunctionOutput *string + + // The connection function summary. + ConnectionFunctionSummary *ConnectionFunctionSummary + + noSmithyDocumentSerde +} + // The connection group for your distribution tenants. When you first create a // distribution tenant and you don't specify a connection group, CloudFront will // automatically create a default connection group for you. When you create a new @@ -1617,6 +1755,9 @@ type CustomOriginConfig struct { // [Keep-alive timeout (custom origins only)]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginKeepaliveTimeout OriginKeepaliveTimeout *int32 + // Configures mutual TLS authentication between CloudFront and your origin server. + OriginMtlsConfig *OriginMtlsConfig + // Specifies how long, in seconds, CloudFront waits for a response from the // origin. This is also known as the origin response timeout. The minimum timeout // is 1 second, the maximum is 120 seconds, and the default (if you don't specify @@ -2029,6 +2170,9 @@ type DistributionConfig struct { // A complex type that contains zero or more CacheBehavior elements. CacheBehaviors *CacheBehaviors + // The distribution's connection function association. + ConnectionFunctionAssociation *ConnectionFunctionAssociation + // This field specifies whether the connection mode is through a standard // distribution (direct) or a multi-tenant distribution with distribution tenants // (tenant-only). @@ -2205,6 +2349,9 @@ type DistributionConfig struct { // communicating with viewers. ViewerCertificate *ViewerCertificate + // The distribution's viewer mTLS configuration. + ViewerMtlsConfig *ViewerMtlsConfig + // Multi-tenant distributions only support WAF V2 web ACLs. // // A unique identifier that specifies the WAF web ACL, if any, to associate with @@ -2280,6 +2427,64 @@ type DistributionIdList struct { noSmithyDocumentSerde } +// A structure that pairs a CloudFront distribution ID with its owning Amazon Web +// Services account ID. +type DistributionIdOwner struct { + + // The ID of the distribution. + // + // This member is required. + DistributionId *string + + // The ID of the Amazon Web Services account that owns the distribution. + // + // This member is required. + OwnerAccountId *string + + noSmithyDocumentSerde +} + +// The list of distribution IDs and the Amazon Web Services accounts that they +// belong to. +type DistributionIdOwnerList struct { + + // A flag that indicates whether more DistributionIdOwner objects remain to be + // listed. If your results were truncated, you can make a follow-up pagination + // request using the Marker request parameter to retrieve more results in the list. + // + // This member is required. + IsTruncated *bool + + // Use this field when paginating results to indicate where to begin in your list + // of DistributionIdOwner objects. The response includes distributions in the list + // that occur after the marker. To get the next page of the list, set this field's + // value to the value of NextMarker from the current page's response. + // + // This member is required. + Marker *string + + // The maximum number of DistributionIdOwner objects to return. + // + // This member is required. + MaxItems *int32 + + // Specifies the actual number of DistributionIdOwner objects included in the list + // for the current page. + // + // This member is required. + Quantity *int32 + + // The number of DistributionIdOwner objects. + Items []DistributionIdOwner + + // A token used for pagination of results returned in the response. You can use + // the token from the previous request to define where the current request should + // begin. + NextMarker *string + + noSmithyDocumentSerde +} + // A distribution list. type DistributionList struct { @@ -2464,6 +2669,9 @@ type DistributionSummary struct { // ID of the Anycast static IP list that is associated with the distribution. AnycastIpListId *string + // The distribution's connection function association. + ConnectionFunctionAssociation *ConnectionFunctionAssociation + // This field specifies whether the connection mode is through a standard // distribution (direct) or a multi-tenant distribution with distribution tenants // (tenant-only). @@ -2476,6 +2684,9 @@ type DistributionSummary struct { // distribution. OriginGroups *OriginGroups + // The distribution's viewer mTLS configuration. + ViewerMtlsConfig *ViewerMtlsConfig + noSmithyDocumentSerde } @@ -3483,6 +3694,49 @@ type InvalidationSummary struct { noSmithyDocumentSerde } +// Configuration for an IPAM CIDR that defines a specific IP address range, IPAM +// pool, and associated Anycast IP address. +type IpamCidrConfig struct { + + // The CIDR that specifies the IP address range for this IPAM configuration. + // + // This member is required. + Cidr *string + + // The Amazon Resource Name (ARN) of the IPAM pool that the CIDR block is assigned + // to. + // + // This member is required. + IpamPoolArn *string + + // The specified Anycast IP address allocated from the IPAM pool for this CIDR + // configuration. + AnycastIp *string + + // The current status of the IPAM CIDR configuration. + Status IpamCidrStatus + + noSmithyDocumentSerde +} + +// The configuration IPAM settings that includes the quantity of CIDR +// configurations and the list of IPAM CIDR configurations. +type IpamConfig struct { + + // A list of IPAM CIDR configurations that define the IP address ranges, IPAM + // pools, and associated Anycast IP addresses. + // + // This member is required. + IpamCidrConfigs []IpamCidrConfig + + // The number of IPAM CIDR configurations in the IpamCidrConfigs list. + // + // This member is required. + Quantity *int32 + + noSmithyDocumentSerde +} + // A key group. // // A key group contains a list of public keys that you can use with [CloudFront signed URLs and signed cookies]. @@ -4287,6 +4541,19 @@ type OriginGroups struct { noSmithyDocumentSerde } +// Configures mutual TLS authentication between CloudFront and your origin server. +type OriginMtlsConfig struct { + + // The Amazon Resource Name (ARN) of the client certificate stored in Amazon Web + // Services Certificate Manager (ACM) that CloudFront uses to authenticate with + // your origin using Mutual TLS. + // + // This member is required. + ClientCertificateArn *string + + noSmithyDocumentSerde +} + // An origin request policy. // // When it's attached to a cache behavior, the origin request policy determines @@ -6329,6 +6596,94 @@ type TrustedSigners struct { noSmithyDocumentSerde } +// A trust store. +type TrustStore struct { + + // The trust store's Amazon Resource Name (ARN). + Arn *string + + // The trust store's ID. + Id *string + + // The trust store's last modified time. + LastModifiedTime *time.Time + + // The trust store's name. + Name *string + + // The trust store's number of CA certificates. + NumberOfCaCertificates *int32 + + // The trust store's reason. + Reason *string + + // The trust store's status. + Status TrustStoreStatus + + noSmithyDocumentSerde +} + +// A trust store configuration. +type TrustStoreConfig struct { + + // The trust store ID. + // + // This member is required. + TrustStoreId *string + + // The configuration to use to advertise trust store CA names. + AdvertiseTrustStoreCaNames *bool + + // The configuration to use to ignore certificate expiration. + IgnoreCertificateExpiry *bool + + noSmithyDocumentSerde +} + +// A trust store summary. +type TrustStoreSummary struct { + + // The trust store's Amazon Resource Name (ARN). + // + // This member is required. + Arn *string + + // The version identifier for the current version of the trust store. + // + // This member is required. + ETag *string + + // The trust store's ID. + // + // This member is required. + Id *string + + // The trust store's last modified time. + // + // This member is required. + LastModifiedTime *time.Time + + // The trust store's name. + // + // This member is required. + Name *string + + // The trust store's number of CA certificates. + // + // This member is required. + NumberOfCaCertificates *int32 + + // The trust store's status. + // + // This member is required. + Status TrustStoreStatus + + // The trust store's reason. + Reason *string + + noSmithyDocumentSerde +} + // Contains details about the validation token. type ValidationTokenDetail struct { @@ -6507,6 +6862,18 @@ type ViewerCertificate struct { noSmithyDocumentSerde } +// A viewer mTLS configuration. +type ViewerMtlsConfig struct { + + // The viewer mTLS mode. + Mode ViewerMtlsMode + + // The trust store configuration associated with the viewer mTLS configuration. + TrustStoreConfig *TrustStoreConfig + + noSmithyDocumentSerde +} + // An Amazon CloudFront VPC origin. type VpcOrigin struct { @@ -6540,6 +6907,9 @@ type VpcOrigin struct { // This member is required. VpcOriginEndpointConfig *VpcOriginEndpointConfig + // The account ID of the Amazon Web Services account that owns the VPC origin. + AccountId *string + noSmithyDocumentSerde } @@ -6570,6 +6940,9 @@ type VpcOriginConfig struct { // [Response timeout]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginResponseTimeout OriginReadTimeout *int32 + // The account ID of the Amazon Web Services account that owns the VPC origin. + OwnerAccountId *string + noSmithyDocumentSerde } @@ -6682,6 +7055,9 @@ type VpcOriginSummary struct { // This member is required. Status *string + // The account ID of the Amazon Web Services account that owns the VPC origin. + AccountId *string + noSmithyDocumentSerde } @@ -6703,3 +7079,14 @@ type WebAclCustomization struct { } type noSmithyDocumentSerde = smithydocument.NoSerde + +// UnknownUnionMember is returned when a union member is returned over the wire, +// but has an unknown tag. +type UnknownUnionMember struct { + Tag string + Value []byte + + noSmithyDocumentSerde +} + +func (*UnknownUnionMember) isCaCertificatesBundleSource() {} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/validators.go b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/validators.go index 362666359f..9a60933338 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/validators.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/cloudfront/validators.go @@ -150,6 +150,26 @@ func (m *validateOpCreateCloudFrontOriginAccessIdentity) HandleInitialize(ctx co return next.HandleInitialize(ctx, in) } +type validateOpCreateConnectionFunction struct { +} + +func (*validateOpCreateConnectionFunction) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpCreateConnectionFunction) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*CreateConnectionFunctionInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpCreateConnectionFunctionInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpCreateConnectionGroup struct { } @@ -550,6 +570,26 @@ func (m *validateOpCreateStreamingDistributionWithTags) HandleInitialize(ctx con return next.HandleInitialize(ctx, in) } +type validateOpCreateTrustStore struct { +} + +func (*validateOpCreateTrustStore) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpCreateTrustStore) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*CreateTrustStoreInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpCreateTrustStoreInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpCreateVpcOrigin struct { } @@ -630,6 +670,26 @@ func (m *validateOpDeleteCloudFrontOriginAccessIdentity) HandleInitialize(ctx co return next.HandleInitialize(ctx, in) } +type validateOpDeleteConnectionFunction struct { +} + +func (*validateOpDeleteConnectionFunction) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpDeleteConnectionFunction) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*DeleteConnectionFunctionInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpDeleteConnectionFunctionInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpDeleteConnectionGroup struct { } @@ -890,6 +950,26 @@ func (m *validateOpDeletePublicKey) HandleInitialize(ctx context.Context, in mid return next.HandleInitialize(ctx, in) } +type validateOpDeleteResourcePolicy struct { +} + +func (*validateOpDeleteResourcePolicy) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpDeleteResourcePolicy) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*DeleteResourcePolicyInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpDeleteResourcePolicyInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpDeleteResponseHeadersPolicy struct { } @@ -930,6 +1010,26 @@ func (m *validateOpDeleteStreamingDistribution) HandleInitialize(ctx context.Con return next.HandleInitialize(ctx, in) } +type validateOpDeleteTrustStore struct { +} + +func (*validateOpDeleteTrustStore) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpDeleteTrustStore) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*DeleteTrustStoreInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpDeleteTrustStoreInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpDeleteVpcOrigin struct { } @@ -950,6 +1050,26 @@ func (m *validateOpDeleteVpcOrigin) HandleInitialize(ctx context.Context, in mid return next.HandleInitialize(ctx, in) } +type validateOpDescribeConnectionFunction struct { +} + +func (*validateOpDescribeConnectionFunction) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpDescribeConnectionFunction) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*DescribeConnectionFunctionInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpDescribeConnectionFunctionInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpDescribeFunction struct { } @@ -1130,6 +1250,26 @@ func (m *validateOpGetCloudFrontOriginAccessIdentity) HandleInitialize(ctx conte return next.HandleInitialize(ctx, in) } +type validateOpGetConnectionFunction struct { +} + +func (*validateOpGetConnectionFunction) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpGetConnectionFunction) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*GetConnectionFunctionInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpGetConnectionFunctionInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpGetConnectionGroupByRoutingEndpoint struct { } @@ -1630,6 +1770,26 @@ func (m *validateOpGetPublicKey) HandleInitialize(ctx context.Context, in middle return next.HandleInitialize(ctx, in) } +type validateOpGetResourcePolicy struct { +} + +func (*validateOpGetResourcePolicy) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpGetResourcePolicy) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*GetResourcePolicyInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpGetResourcePolicyInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpGetResponseHeadersPolicyConfig struct { } @@ -1710,6 +1870,26 @@ func (m *validateOpGetStreamingDistribution) HandleInitialize(ctx context.Contex return next.HandleInitialize(ctx, in) } +type validateOpGetTrustStore struct { +} + +func (*validateOpGetTrustStore) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpGetTrustStore) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*GetTrustStoreInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpGetTrustStoreInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpGetVpcOrigin struct { } @@ -1790,6 +1970,26 @@ func (m *validateOpListDistributionsByCachePolicyId) HandleInitialize(ctx contex return next.HandleInitialize(ctx, in) } +type validateOpListDistributionsByConnectionFunction struct { +} + +func (*validateOpListDistributionsByConnectionFunction) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpListDistributionsByConnectionFunction) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*ListDistributionsByConnectionFunctionInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpListDistributionsByConnectionFunctionInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpListDistributionsByConnectionMode struct { } @@ -1850,6 +2050,26 @@ func (m *validateOpListDistributionsByOriginRequestPolicyId) HandleInitialize(ct return next.HandleInitialize(ctx, in) } +type validateOpListDistributionsByOwnedResource struct { +} + +func (*validateOpListDistributionsByOwnedResource) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpListDistributionsByOwnedResource) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*ListDistributionsByOwnedResourceInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpListDistributionsByOwnedResourceInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpListDistributionsByResponseHeadersPolicyId struct { } @@ -1870,6 +2090,26 @@ func (m *validateOpListDistributionsByResponseHeadersPolicyId) HandleInitialize( return next.HandleInitialize(ctx, in) } +type validateOpListDistributionsByTrustStore struct { +} + +func (*validateOpListDistributionsByTrustStore) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpListDistributionsByTrustStore) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*ListDistributionsByTrustStoreInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpListDistributionsByTrustStoreInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpListDistributionsByVpcOriginId struct { } @@ -1990,6 +2230,26 @@ func (m *validateOpListTagsForResource) HandleInitialize(ctx context.Context, in return next.HandleInitialize(ctx, in) } +type validateOpPublishConnectionFunction struct { +} + +func (*validateOpPublishConnectionFunction) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpPublishConnectionFunction) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*PublishConnectionFunctionInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpPublishConnectionFunctionInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpPublishFunction struct { } @@ -2010,6 +2270,26 @@ func (m *validateOpPublishFunction) HandleInitialize(ctx context.Context, in mid return next.HandleInitialize(ctx, in) } +type validateOpPutResourcePolicy struct { +} + +func (*validateOpPutResourcePolicy) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpPutResourcePolicy) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*PutResourcePolicyInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpPutResourcePolicyInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpTagResource struct { } @@ -2030,6 +2310,26 @@ func (m *validateOpTagResource) HandleInitialize(ctx context.Context, in middlew return next.HandleInitialize(ctx, in) } +type validateOpTestConnectionFunction struct { +} + +func (*validateOpTestConnectionFunction) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpTestConnectionFunction) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*TestConnectionFunctionInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpTestConnectionFunctionInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpTestFunction struct { } @@ -2070,6 +2370,26 @@ func (m *validateOpUntagResource) HandleInitialize(ctx context.Context, in middl return next.HandleInitialize(ctx, in) } +type validateOpUpdateAnycastIpList struct { +} + +func (*validateOpUpdateAnycastIpList) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpUpdateAnycastIpList) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*UpdateAnycastIpListInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpUpdateAnycastIpListInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpUpdateCachePolicy struct { } @@ -2110,6 +2430,26 @@ func (m *validateOpUpdateCloudFrontOriginAccessIdentity) HandleInitialize(ctx co return next.HandleInitialize(ctx, in) } +type validateOpUpdateConnectionFunction struct { +} + +func (*validateOpUpdateConnectionFunction) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpUpdateConnectionFunction) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*UpdateConnectionFunctionInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpUpdateConnectionFunctionInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpUpdateConnectionGroup struct { } @@ -2450,7 +2790,27 @@ func (m *validateOpUpdateStreamingDistribution) HandleInitialize(ctx context.Con return next.HandleInitialize(ctx, in) } -type validateOpUpdateVpcOrigin struct { +type validateOpUpdateTrustStore struct { +} + +func (*validateOpUpdateTrustStore) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpUpdateTrustStore) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*UpdateTrustStoreInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpUpdateTrustStoreInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpUpdateVpcOrigin struct { } func (*validateOpUpdateVpcOrigin) ID() string { @@ -2518,6 +2878,10 @@ func addOpCreateCloudFrontOriginAccessIdentityValidationMiddleware(stack *middle return stack.Initialize.Add(&validateOpCreateCloudFrontOriginAccessIdentity{}, middleware.After) } +func addOpCreateConnectionFunctionValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpCreateConnectionFunction{}, middleware.After) +} + func addOpCreateConnectionGroupValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpCreateConnectionGroup{}, middleware.After) } @@ -2598,6 +2962,10 @@ func addOpCreateStreamingDistributionWithTagsValidationMiddleware(stack *middlew return stack.Initialize.Add(&validateOpCreateStreamingDistributionWithTags{}, middleware.After) } +func addOpCreateTrustStoreValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpCreateTrustStore{}, middleware.After) +} + func addOpCreateVpcOriginValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpCreateVpcOrigin{}, middleware.After) } @@ -2614,6 +2982,10 @@ func addOpDeleteCloudFrontOriginAccessIdentityValidationMiddleware(stack *middle return stack.Initialize.Add(&validateOpDeleteCloudFrontOriginAccessIdentity{}, middleware.After) } +func addOpDeleteConnectionFunctionValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpDeleteConnectionFunction{}, middleware.After) +} + func addOpDeleteConnectionGroupValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpDeleteConnectionGroup{}, middleware.After) } @@ -2666,6 +3038,10 @@ func addOpDeletePublicKeyValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpDeletePublicKey{}, middleware.After) } +func addOpDeleteResourcePolicyValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpDeleteResourcePolicy{}, middleware.After) +} + func addOpDeleteResponseHeadersPolicyValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpDeleteResponseHeadersPolicy{}, middleware.After) } @@ -2674,10 +3050,18 @@ func addOpDeleteStreamingDistributionValidationMiddleware(stack *middleware.Stac return stack.Initialize.Add(&validateOpDeleteStreamingDistribution{}, middleware.After) } +func addOpDeleteTrustStoreValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpDeleteTrustStore{}, middleware.After) +} + func addOpDeleteVpcOriginValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpDeleteVpcOrigin{}, middleware.After) } +func addOpDescribeConnectionFunctionValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpDescribeConnectionFunction{}, middleware.After) +} + func addOpDescribeFunctionValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpDescribeFunction{}, middleware.After) } @@ -2714,6 +3098,10 @@ func addOpGetCloudFrontOriginAccessIdentityValidationMiddleware(stack *middlewar return stack.Initialize.Add(&validateOpGetCloudFrontOriginAccessIdentity{}, middleware.After) } +func addOpGetConnectionFunctionValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpGetConnectionFunction{}, middleware.After) +} + func addOpGetConnectionGroupByRoutingEndpointValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpGetConnectionGroupByRoutingEndpoint{}, middleware.After) } @@ -2814,6 +3202,10 @@ func addOpGetPublicKeyValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpGetPublicKey{}, middleware.After) } +func addOpGetResourcePolicyValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpGetResourcePolicy{}, middleware.After) +} + func addOpGetResponseHeadersPolicyConfigValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpGetResponseHeadersPolicyConfig{}, middleware.After) } @@ -2830,6 +3222,10 @@ func addOpGetStreamingDistributionValidationMiddleware(stack *middleware.Stack) return stack.Initialize.Add(&validateOpGetStreamingDistribution{}, middleware.After) } +func addOpGetTrustStoreValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpGetTrustStore{}, middleware.After) +} + func addOpGetVpcOriginValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpGetVpcOrigin{}, middleware.After) } @@ -2846,6 +3242,10 @@ func addOpListDistributionsByCachePolicyIdValidationMiddleware(stack *middleware return stack.Initialize.Add(&validateOpListDistributionsByCachePolicyId{}, middleware.After) } +func addOpListDistributionsByConnectionFunctionValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpListDistributionsByConnectionFunction{}, middleware.After) +} + func addOpListDistributionsByConnectionModeValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpListDistributionsByConnectionMode{}, middleware.After) } @@ -2858,10 +3258,18 @@ func addOpListDistributionsByOriginRequestPolicyIdValidationMiddleware(stack *mi return stack.Initialize.Add(&validateOpListDistributionsByOriginRequestPolicyId{}, middleware.After) } +func addOpListDistributionsByOwnedResourceValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpListDistributionsByOwnedResource{}, middleware.After) +} + func addOpListDistributionsByResponseHeadersPolicyIdValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpListDistributionsByResponseHeadersPolicyId{}, middleware.After) } +func addOpListDistributionsByTrustStoreValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpListDistributionsByTrustStore{}, middleware.After) +} + func addOpListDistributionsByVpcOriginIdValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpListDistributionsByVpcOriginId{}, middleware.After) } @@ -2886,14 +3294,26 @@ func addOpListTagsForResourceValidationMiddleware(stack *middleware.Stack) error return stack.Initialize.Add(&validateOpListTagsForResource{}, middleware.After) } +func addOpPublishConnectionFunctionValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpPublishConnectionFunction{}, middleware.After) +} + func addOpPublishFunctionValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpPublishFunction{}, middleware.After) } +func addOpPutResourcePolicyValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpPutResourcePolicy{}, middleware.After) +} + func addOpTagResourceValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpTagResource{}, middleware.After) } +func addOpTestConnectionFunctionValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpTestConnectionFunction{}, middleware.After) +} + func addOpTestFunctionValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpTestFunction{}, middleware.After) } @@ -2902,6 +3322,10 @@ func addOpUntagResourceValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpUntagResource{}, middleware.After) } +func addOpUpdateAnycastIpListValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpUpdateAnycastIpList{}, middleware.After) +} + func addOpUpdateCachePolicyValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpUpdateCachePolicy{}, middleware.After) } @@ -2910,6 +3334,10 @@ func addOpUpdateCloudFrontOriginAccessIdentityValidationMiddleware(stack *middle return stack.Initialize.Add(&validateOpUpdateCloudFrontOriginAccessIdentity{}, middleware.After) } +func addOpUpdateConnectionFunctionValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpUpdateConnectionFunction{}, middleware.After) +} + func addOpUpdateConnectionGroupValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpUpdateConnectionGroup{}, middleware.After) } @@ -2978,6 +3406,10 @@ func addOpUpdateStreamingDistributionValidationMiddleware(stack *middleware.Stac return stack.Initialize.Add(&validateOpUpdateStreamingDistribution{}, middleware.After) } +func addOpUpdateTrustStoreValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpUpdateTrustStore{}, middleware.After) +} + func addOpUpdateVpcOriginValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpUpdateVpcOrigin{}, middleware.After) } @@ -3024,6 +3456,46 @@ func validateAllowedMethods(v *types.AllowedMethods) error { } } +func validateCaCertificatesBundleS3Location(v *types.CaCertificatesBundleS3Location) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "CaCertificatesBundleS3Location"} + if v.Bucket == nil { + invalidParams.Add(smithy.NewErrParamRequired("Bucket")) + } + if v.Key == nil { + invalidParams.Add(smithy.NewErrParamRequired("Key")) + } + if v.Region == nil { + invalidParams.Add(smithy.NewErrParamRequired("Region")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateCaCertificatesBundleSource(v types.CaCertificatesBundleSource) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "CaCertificatesBundleSource"} + switch uv := v.(type) { + case *types.CaCertificatesBundleSourceMemberCaCertificatesBundleS3Location: + if err := validateCaCertificatesBundleS3Location(&uv.Value); err != nil { + invalidParams.AddNested("[CaCertificatesBundleS3Location]", err.(smithy.InvalidParamsError)) + } + + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateCacheBehavior(v *types.CacheBehavior) error { if v == nil { return nil @@ -3251,6 +3723,21 @@ func validateCloudFrontOriginAccessIdentityConfig(v *types.CloudFrontOriginAcces } } +func validateConnectionFunctionAssociation(v *types.ConnectionFunctionAssociation) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "ConnectionFunctionAssociation"} + if v.Id == nil { + invalidParams.Add(smithy.NewErrParamRequired("Id")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateContentTypeProfile(v *types.ContentTypeProfile) error { if v == nil { return nil @@ -3544,6 +4031,11 @@ func validateCustomOriginConfig(v *types.CustomOriginConfig) error { invalidParams.AddNested("OriginSslProtocols", err.(smithy.InvalidParamsError)) } } + if v.OriginMtlsConfig != nil { + if err := validateOriginMtlsConfig(v.OriginMtlsConfig); err != nil { + invalidParams.AddNested("OriginMtlsConfig", err.(smithy.InvalidParamsError)) + } + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -3662,6 +4154,16 @@ func validateDistributionConfig(v *types.DistributionConfig) error { invalidParams.AddNested("TenantConfig", err.(smithy.InvalidParamsError)) } } + if v.ViewerMtlsConfig != nil { + if err := validateViewerMtlsConfig(v.ViewerMtlsConfig); err != nil { + invalidParams.AddNested("ViewerMtlsConfig", err.(smithy.InvalidParamsError)) + } + } + if v.ConnectionFunctionAssociation != nil { + if err := validateConnectionFunctionAssociation(v.ConnectionFunctionAssociation); err != nil { + invalidParams.AddNested("ConnectionFunctionAssociation", err.(smithy.InvalidParamsError)) + } + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -4104,6 +4606,41 @@ func validateInvalidationBatch(v *types.InvalidationBatch) error { } } +func validateIpamCidrConfig(v *types.IpamCidrConfig) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "IpamCidrConfig"} + if v.Cidr == nil { + invalidParams.Add(smithy.NewErrParamRequired("Cidr")) + } + if v.IpamPoolArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("IpamPoolArn")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateIpamCidrConfigList(v []types.IpamCidrConfig) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "IpamCidrConfigList"} + for i := range v { + if err := validateIpamCidrConfig(&v[i]); err != nil { + invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateKeyGroupConfig(v *types.KeyGroupConfig) error { if v == nil { return nil @@ -4537,6 +5074,21 @@ func validateOriginList(v []types.Origin) error { } } +func validateOriginMtlsConfig(v *types.OriginMtlsConfig) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "OriginMtlsConfig"} + if v.ClientCertificateArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("ClientCertificateArn")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOriginRequestPolicyConfig(v *types.OriginRequestPolicyConfig) error { if v == nil { return nil @@ -5733,6 +6285,38 @@ func validateTrustedSigners(v *types.TrustedSigners) error { } } +func validateTrustStoreConfig(v *types.TrustStoreConfig) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "TrustStoreConfig"} + if v.TrustStoreId == nil { + invalidParams.Add(smithy.NewErrParamRequired("TrustStoreId")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateViewerMtlsConfig(v *types.ViewerMtlsConfig) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "ViewerMtlsConfig"} + if v.TrustStoreConfig != nil { + if err := validateTrustStoreConfig(v.TrustStoreConfig); err != nil { + invalidParams.AddNested("TrustStoreConfig", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateVpcOriginConfig(v *types.VpcOriginConfig) error { if v == nil { return nil @@ -5883,6 +6467,11 @@ func validateOpCreateAnycastIpListInput(v *CreateAnycastIpListInput) error { invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) } } + if v.IpamCidrConfigs != nil { + if err := validateIpamCidrConfigList(v.IpamCidrConfigs); err != nil { + invalidParams.AddNested("IpamCidrConfigs", err.(smithy.InvalidParamsError)) + } + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -5928,6 +6517,36 @@ func validateOpCreateCloudFrontOriginAccessIdentityInput(v *CreateCloudFrontOrig } } +func validateOpCreateConnectionFunctionInput(v *CreateConnectionFunctionInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "CreateConnectionFunctionInput"} + if v.Name == nil { + invalidParams.Add(smithy.NewErrParamRequired("Name")) + } + if v.ConnectionFunctionConfig == nil { + invalidParams.Add(smithy.NewErrParamRequired("ConnectionFunctionConfig")) + } else if v.ConnectionFunctionConfig != nil { + if err := validateFunctionConfig(v.ConnectionFunctionConfig); err != nil { + invalidParams.AddNested("ConnectionFunctionConfig", err.(smithy.InvalidParamsError)) + } + } + if v.ConnectionFunctionCode == nil { + invalidParams.Add(smithy.NewErrParamRequired("ConnectionFunctionCode")) + } + if v.Tags != nil { + if err := validateTags(v.Tags); err != nil { + invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpCreateConnectionGroupInput(v *CreateConnectionGroupInput) error { if v == nil { return nil @@ -6360,6 +6979,33 @@ func validateOpCreateStreamingDistributionWithTagsInput(v *CreateStreamingDistri } } +func validateOpCreateTrustStoreInput(v *CreateTrustStoreInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "CreateTrustStoreInput"} + if v.Name == nil { + invalidParams.Add(smithy.NewErrParamRequired("Name")) + } + if v.CaCertificatesBundleSource == nil { + invalidParams.Add(smithy.NewErrParamRequired("CaCertificatesBundleSource")) + } else if v.CaCertificatesBundleSource != nil { + if err := validateCaCertificatesBundleSource(v.CaCertificatesBundleSource); err != nil { + invalidParams.AddNested("CaCertificatesBundleSource", err.(smithy.InvalidParamsError)) + } + } + if v.Tags != nil { + if err := validateTags(v.Tags); err != nil { + invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpCreateVpcOriginInput(v *CreateVpcOriginInput) error { if v == nil { return nil @@ -6432,6 +7078,24 @@ func validateOpDeleteCloudFrontOriginAccessIdentityInput(v *DeleteCloudFrontOrig } } +func validateOpDeleteConnectionFunctionInput(v *DeleteConnectionFunctionInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "DeleteConnectionFunctionInput"} + if v.Id == nil { + invalidParams.Add(smithy.NewErrParamRequired("Id")) + } + if v.IfMatch == nil { + invalidParams.Add(smithy.NewErrParamRequired("IfMatch")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpDeleteConnectionGroupInput(v *DeleteConnectionGroupInput) error { if v == nil { return nil @@ -6639,6 +7303,21 @@ func validateOpDeletePublicKeyInput(v *DeletePublicKeyInput) error { } } +func validateOpDeleteResourcePolicyInput(v *DeleteResourcePolicyInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "DeleteResourcePolicyInput"} + if v.ResourceArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpDeleteResponseHeadersPolicyInput(v *DeleteResponseHeadersPolicyInput) error { if v == nil { return nil @@ -6669,6 +7348,24 @@ func validateOpDeleteStreamingDistributionInput(v *DeleteStreamingDistributionIn } } +func validateOpDeleteTrustStoreInput(v *DeleteTrustStoreInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "DeleteTrustStoreInput"} + if v.Id == nil { + invalidParams.Add(smithy.NewErrParamRequired("Id")) + } + if v.IfMatch == nil { + invalidParams.Add(smithy.NewErrParamRequired("IfMatch")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpDeleteVpcOriginInput(v *DeleteVpcOriginInput) error { if v == nil { return nil @@ -6687,6 +7384,21 @@ func validateOpDeleteVpcOriginInput(v *DeleteVpcOriginInput) error { } } +func validateOpDescribeConnectionFunctionInput(v *DescribeConnectionFunctionInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "DescribeConnectionFunctionInput"} + if v.Identifier == nil { + invalidParams.Add(smithy.NewErrParamRequired("Identifier")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpDescribeFunctionInput(v *DescribeFunctionInput) error { if v == nil { return nil @@ -6822,6 +7534,21 @@ func validateOpGetCloudFrontOriginAccessIdentityInput(v *GetCloudFrontOriginAcce } } +func validateOpGetConnectionFunctionInput(v *GetConnectionFunctionInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "GetConnectionFunctionInput"} + if v.Identifier == nil { + invalidParams.Add(smithy.NewErrParamRequired("Identifier")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpGetConnectionGroupByRoutingEndpointInput(v *GetConnectionGroupByRoutingEndpointInput) error { if v == nil { return nil @@ -7203,6 +7930,21 @@ func validateOpGetPublicKeyInput(v *GetPublicKeyInput) error { } } +func validateOpGetResourcePolicyInput(v *GetResourcePolicyInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "GetResourcePolicyInput"} + if v.ResourceArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpGetResponseHeadersPolicyConfigInput(v *GetResponseHeadersPolicyConfigInput) error { if v == nil { return nil @@ -7263,6 +8005,21 @@ func validateOpGetStreamingDistributionInput(v *GetStreamingDistributionInput) e } } +func validateOpGetTrustStoreInput(v *GetTrustStoreInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "GetTrustStoreInput"} + if v.Identifier == nil { + invalidParams.Add(smithy.NewErrParamRequired("Identifier")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpGetVpcOriginInput(v *GetVpcOriginInput) error { if v == nil { return nil @@ -7326,6 +8083,21 @@ func validateOpListDistributionsByCachePolicyIdInput(v *ListDistributionsByCache } } +func validateOpListDistributionsByConnectionFunctionInput(v *ListDistributionsByConnectionFunctionInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "ListDistributionsByConnectionFunctionInput"} + if v.ConnectionFunctionIdentifier == nil { + invalidParams.Add(smithy.NewErrParamRequired("ConnectionFunctionIdentifier")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpListDistributionsByConnectionModeInput(v *ListDistributionsByConnectionModeInput) error { if v == nil { return nil @@ -7371,6 +8143,21 @@ func validateOpListDistributionsByOriginRequestPolicyIdInput(v *ListDistribution } } +func validateOpListDistributionsByOwnedResourceInput(v *ListDistributionsByOwnedResourceInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "ListDistributionsByOwnedResourceInput"} + if v.ResourceArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpListDistributionsByResponseHeadersPolicyIdInput(v *ListDistributionsByResponseHeadersPolicyIdInput) error { if v == nil { return nil @@ -7386,6 +8173,21 @@ func validateOpListDistributionsByResponseHeadersPolicyIdInput(v *ListDistributi } } +func validateOpListDistributionsByTrustStoreInput(v *ListDistributionsByTrustStoreInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "ListDistributionsByTrustStoreInput"} + if v.TrustStoreIdentifier == nil { + invalidParams.Add(smithy.NewErrParamRequired("TrustStoreIdentifier")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpListDistributionsByVpcOriginIdInput(v *ListDistributionsByVpcOriginIdInput) error { if v == nil { return nil @@ -7479,6 +8281,24 @@ func validateOpListTagsForResourceInput(v *ListTagsForResourceInput) error { } } +func validateOpPublishConnectionFunctionInput(v *PublishConnectionFunctionInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "PublishConnectionFunctionInput"} + if v.Id == nil { + invalidParams.Add(smithy.NewErrParamRequired("Id")) + } + if v.IfMatch == nil { + invalidParams.Add(smithy.NewErrParamRequired("IfMatch")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpPublishFunctionInput(v *PublishFunctionInput) error { if v == nil { return nil @@ -7497,6 +8317,24 @@ func validateOpPublishFunctionInput(v *PublishFunctionInput) error { } } +func validateOpPutResourcePolicyInput(v *PutResourcePolicyInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "PutResourcePolicyInput"} + if v.ResourceArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) + } + if v.PolicyDocument == nil { + invalidParams.Add(smithy.NewErrParamRequired("PolicyDocument")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpTagResourceInput(v *TagResourceInput) error { if v == nil { return nil @@ -7519,6 +8357,27 @@ func validateOpTagResourceInput(v *TagResourceInput) error { } } +func validateOpTestConnectionFunctionInput(v *TestConnectionFunctionInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "TestConnectionFunctionInput"} + if v.Id == nil { + invalidParams.Add(smithy.NewErrParamRequired("Id")) + } + if v.IfMatch == nil { + invalidParams.Add(smithy.NewErrParamRequired("IfMatch")) + } + if v.ConnectionObject == nil { + invalidParams.Add(smithy.NewErrParamRequired("ConnectionObject")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpTestFunctionInput(v *TestFunctionInput) error { if v == nil { return nil @@ -7558,6 +8417,24 @@ func validateOpUntagResourceInput(v *UntagResourceInput) error { } } +func validateOpUpdateAnycastIpListInput(v *UpdateAnycastIpListInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "UpdateAnycastIpListInput"} + if v.Id == nil { + invalidParams.Add(smithy.NewErrParamRequired("Id")) + } + if v.IfMatch == nil { + invalidParams.Add(smithy.NewErrParamRequired("IfMatch")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpUpdateCachePolicyInput(v *UpdateCachePolicyInput) error { if v == nil { return nil @@ -7602,6 +8479,34 @@ func validateOpUpdateCloudFrontOriginAccessIdentityInput(v *UpdateCloudFrontOrig } } +func validateOpUpdateConnectionFunctionInput(v *UpdateConnectionFunctionInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "UpdateConnectionFunctionInput"} + if v.Id == nil { + invalidParams.Add(smithy.NewErrParamRequired("Id")) + } + if v.IfMatch == nil { + invalidParams.Add(smithy.NewErrParamRequired("IfMatch")) + } + if v.ConnectionFunctionConfig == nil { + invalidParams.Add(smithy.NewErrParamRequired("ConnectionFunctionConfig")) + } else if v.ConnectionFunctionConfig != nil { + if err := validateFunctionConfig(v.ConnectionFunctionConfig); err != nil { + invalidParams.AddNested("ConnectionFunctionConfig", err.(smithy.InvalidParamsError)) + } + } + if v.ConnectionFunctionCode == nil { + invalidParams.Add(smithy.NewErrParamRequired("ConnectionFunctionCode")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpUpdateConnectionGroupInput(v *UpdateConnectionGroupInput) error { if v == nil { return nil @@ -7977,6 +8882,31 @@ func validateOpUpdateStreamingDistributionInput(v *UpdateStreamingDistributionIn } } +func validateOpUpdateTrustStoreInput(v *UpdateTrustStoreInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "UpdateTrustStoreInput"} + if v.Id == nil { + invalidParams.Add(smithy.NewErrParamRequired("Id")) + } + if v.CaCertificatesBundleSource == nil { + invalidParams.Add(smithy.NewErrParamRequired("CaCertificatesBundleSource")) + } else if v.CaCertificatesBundleSource != nil { + if err := validateCaCertificatesBundleSource(v.CaCertificatesBundleSource); err != nil { + invalidParams.AddNested("CaCertificatesBundleSource", err.(smithy.InvalidParamsError)) + } + } + if v.IfMatch == nil { + invalidParams.Add(smithy.NewErrParamRequired("IfMatch")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpUpdateVpcOriginInput(v *UpdateVpcOriginInput) error { if v == nil { return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/CHANGELOG.md index 485c900c6e..2aad66d714 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/CHANGELOG.md @@ -1,3 +1,71 @@ +# v1.53.2 (2026-01-09) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.53.1 (2025-12-08) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.53.0 (2025-12-05) + +* **Feature**: Adding the ExpirationTime attribute to the delegation request resource. + +# v1.52.3 (2025-12-02) + +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.24.0. Notably this version of the library reduces the allocation footprint of the middleware system. We observe a ~10% reduction in allocations per SDK call with this change. + +# v1.52.2 (2025-11-25) + +* **Bug Fix**: Add error check for endpoint param binding during auth scheme resolution to fix panic reported in #3234 + +# v1.52.1 (2025-11-19.2) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.52.0 (2025-11-19) + +* **Feature**: Added the EnableOutboundWebIdentityFederation, DisableOutboundWebIdentityFederation and GetOutboundWebIdentityFederationInfo APIs for the IAM outbound federation feature. + +# v1.51.0 (2025-11-18) + +* **Feature**: Added the AssociateDelegationRequest, GetDelegationRequest, AcceptDelegationRequest, RejectDelegatonRequest, ListDelegationRequests, UpdateDelegationRequest, SendDelegationToken and GetHumanReadableSummary APIs for the IAM temporary delegation feature. + +# v1.50.2 (2025-11-12) + +* **Bug Fix**: Further reduce allocation overhead when the metrics system isn't in-use. +* **Bug Fix**: Reduce allocation overhead when the client doesn't have any HTTP interceptors configured. +* **Bug Fix**: Remove blank trace spans towards the beginning of the request that added no additional information. This conveys a slight reduction in overall allocations. + +# v1.50.1 (2025-11-11) + +* **Bug Fix**: Return validation error if input region is not a valid host label. + +# v1.50.0 (2025-11-10) + +* **Feature**: Added CreateDelegationRequest API, which is not available for general use at this time. + +# v1.49.2 (2025-11-04) + +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.23.2 which should convey some passive reduction of overall allocations, especially when not using the metrics system. + +# v1.49.1 (2025-10-30) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.49.0 (2025-10-27) + +* **Feature**: Fixed missing SummaryMap keys in GetAccountSummary response that were being filtered out during deserialization in AWS Java SDK v2 + +# v1.48.1 (2025-10-23) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.48.0 (2025-10-22) + +* **Feature**: Updated OIDC and SAML apis to reject multiple simultaneous requests to change a unique object. + # v1.47.8 (2025-10-16) * **Dependency Update**: Bump minimum Go version to 1.23. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_client.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_client.go index 8c439cb0f9..a52eb57620 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_client.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_client.go @@ -65,7 +65,12 @@ func timeOperationMetric[T any]( ctx context.Context, metric string, fn func() (T, error), opts ...metrics.RecordMetricOption, ) (T, error) { - instr := getOperationMetrics(ctx).histogramFor(metric) + mm := getOperationMetrics(ctx) + if mm == nil { // not using the metrics system + return fn() + } + + instr := mm.histogramFor(metric) opts = append([]metrics.RecordMetricOption{withOperationMetadata(ctx)}, opts...) start := time.Now() @@ -78,7 +83,12 @@ func timeOperationMetric[T any]( } func startMetricTimer(ctx context.Context, metric string, opts ...metrics.RecordMetricOption) func() { - instr := getOperationMetrics(ctx).histogramFor(metric) + mm := getOperationMetrics(ctx) + if mm == nil { // not using the metrics system + return func() {} + } + + instr := mm.histogramFor(metric) opts = append([]metrics.RecordMetricOption{withOperationMetadata(ctx)}, opts...) var ended bool @@ -106,6 +116,12 @@ func withOperationMetadata(ctx context.Context) metrics.RecordMetricOption { type operationMetricsKey struct{} func withOperationMetrics(parent context.Context, mp metrics.MeterProvider) (context.Context, error) { + if _, ok := mp.(metrics.NopMeterProvider); ok { + // not using the metrics system - setting up the metrics context is a memory-intensive operation + // so we should skip it in this case + return parent, nil + } + meter := mp.Meter("github.com/aws/aws-sdk-go-v2/service/iam") om := &operationMetrics{} @@ -153,7 +169,10 @@ func operationMetricTimer(m metrics.Meter, name, desc string) (metrics.Float64Hi } func getOperationMetrics(ctx context.Context) *operationMetrics { - return ctx.Value(operationMetricsKey{}).(*operationMetrics) + if v := ctx.Value(operationMetricsKey{}); v != nil { + return v.(*operationMetrics) + } + return nil } func operationTracer(p tracing.TracerProvider) tracing.Tracer { @@ -883,138 +902,49 @@ func addInterceptAttempt(stack *middleware.Stack, opts Options) error { }, "Retry", middleware.After) } -func addInterceptExecution(stack *middleware.Stack, opts Options) error { - return stack.Initialize.Add(&smithyhttp.InterceptExecution{ - BeforeExecution: opts.Interceptors.BeforeExecution, - AfterExecution: opts.Interceptors.AfterExecution, - }, middleware.Before) -} - -func addInterceptBeforeSerialization(stack *middleware.Stack, opts Options) error { - return stack.Serialize.Insert(&smithyhttp.InterceptBeforeSerialization{ - Interceptors: opts.Interceptors.BeforeSerialization, - }, "OperationSerializer", middleware.Before) -} - -func addInterceptAfterSerialization(stack *middleware.Stack, opts Options) error { - return stack.Serialize.Insert(&smithyhttp.InterceptAfterSerialization{ - Interceptors: opts.Interceptors.AfterSerialization, - }, "OperationSerializer", middleware.After) -} - -func addInterceptBeforeSigning(stack *middleware.Stack, opts Options) error { - return stack.Finalize.Insert(&smithyhttp.InterceptBeforeSigning{ - Interceptors: opts.Interceptors.BeforeSigning, - }, "Signing", middleware.Before) -} - -func addInterceptAfterSigning(stack *middleware.Stack, opts Options) error { - return stack.Finalize.Insert(&smithyhttp.InterceptAfterSigning{ - Interceptors: opts.Interceptors.AfterSigning, - }, "Signing", middleware.After) -} - -func addInterceptTransmit(stack *middleware.Stack, opts Options) error { - return stack.Deserialize.Add(&smithyhttp.InterceptTransmit{ - BeforeTransmit: opts.Interceptors.BeforeTransmit, - AfterTransmit: opts.Interceptors.AfterTransmit, - }, middleware.After) -} - -func addInterceptBeforeDeserialization(stack *middleware.Stack, opts Options) error { - return stack.Deserialize.Insert(&smithyhttp.InterceptBeforeDeserialization{ - Interceptors: opts.Interceptors.BeforeDeserialization, - }, "OperationDeserializer", middleware.After) // (deserialize stack is called in reverse) -} - -func addInterceptAfterDeserialization(stack *middleware.Stack, opts Options) error { - return stack.Deserialize.Insert(&smithyhttp.InterceptAfterDeserialization{ - Interceptors: opts.Interceptors.AfterDeserialization, - }, "OperationDeserializer", middleware.Before) -} - -type spanInitializeStart struct { -} - -func (*spanInitializeStart) ID() string { - return "spanInitializeStart" -} - -func (m *spanInitializeStart) HandleInitialize( - ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler, -) ( - middleware.InitializeOutput, middleware.Metadata, error, -) { - ctx, _ = tracing.StartSpan(ctx, "Initialize") - - return next.HandleInitialize(ctx, in) -} - -type spanInitializeEnd struct { -} - -func (*spanInitializeEnd) ID() string { - return "spanInitializeEnd" -} - -func (m *spanInitializeEnd) HandleInitialize( - ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler, -) ( - middleware.InitializeOutput, middleware.Metadata, error, -) { - ctx, span := tracing.PopSpan(ctx) - span.End() - - return next.HandleInitialize(ctx, in) -} - -type spanBuildRequestStart struct { -} - -func (*spanBuildRequestStart) ID() string { - return "spanBuildRequestStart" -} - -func (m *spanBuildRequestStart) HandleSerialize( - ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler, -) ( - middleware.SerializeOutput, middleware.Metadata, error, -) { - ctx, _ = tracing.StartSpan(ctx, "BuildRequest") - - return next.HandleSerialize(ctx, in) -} - -type spanBuildRequestEnd struct { -} - -func (*spanBuildRequestEnd) ID() string { - return "spanBuildRequestEnd" -} - -func (m *spanBuildRequestEnd) HandleBuild( - ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler, -) ( - middleware.BuildOutput, middleware.Metadata, error, -) { - ctx, span := tracing.PopSpan(ctx) - span.End() - - return next.HandleBuild(ctx, in) -} - -func addSpanInitializeStart(stack *middleware.Stack) error { - return stack.Initialize.Add(&spanInitializeStart{}, middleware.Before) -} - -func addSpanInitializeEnd(stack *middleware.Stack) error { - return stack.Initialize.Add(&spanInitializeEnd{}, middleware.After) -} - -func addSpanBuildRequestStart(stack *middleware.Stack) error { - return stack.Serialize.Add(&spanBuildRequestStart{}, middleware.Before) -} +func addInterceptors(stack *middleware.Stack, opts Options) error { + // middlewares are expensive, don't add all of these interceptor ones unless the caller + // actually has at least one interceptor configured + // + // at the moment it's all-or-nothing because some of the middlewares here are responsible for + // setting fields in the interceptor context for future ones + if len(opts.Interceptors.BeforeExecution) == 0 && + len(opts.Interceptors.BeforeSerialization) == 0 && len(opts.Interceptors.AfterSerialization) == 0 && + len(opts.Interceptors.BeforeRetryLoop) == 0 && + len(opts.Interceptors.BeforeAttempt) == 0 && + len(opts.Interceptors.BeforeSigning) == 0 && len(opts.Interceptors.AfterSigning) == 0 && + len(opts.Interceptors.BeforeTransmit) == 0 && len(opts.Interceptors.AfterTransmit) == 0 && + len(opts.Interceptors.BeforeDeserialization) == 0 && len(opts.Interceptors.AfterDeserialization) == 0 && + len(opts.Interceptors.AfterAttempt) == 0 && len(opts.Interceptors.AfterExecution) == 0 { + return nil + } -func addSpanBuildRequestEnd(stack *middleware.Stack) error { - return stack.Build.Add(&spanBuildRequestEnd{}, middleware.After) + return errors.Join( + stack.Initialize.Add(&smithyhttp.InterceptExecution{ + BeforeExecution: opts.Interceptors.BeforeExecution, + AfterExecution: opts.Interceptors.AfterExecution, + }, middleware.Before), + stack.Serialize.Insert(&smithyhttp.InterceptBeforeSerialization{ + Interceptors: opts.Interceptors.BeforeSerialization, + }, "OperationSerializer", middleware.Before), + stack.Serialize.Insert(&smithyhttp.InterceptAfterSerialization{ + Interceptors: opts.Interceptors.AfterSerialization, + }, "OperationSerializer", middleware.After), + stack.Finalize.Insert(&smithyhttp.InterceptBeforeSigning{ + Interceptors: opts.Interceptors.BeforeSigning, + }, "Signing", middleware.Before), + stack.Finalize.Insert(&smithyhttp.InterceptAfterSigning{ + Interceptors: opts.Interceptors.AfterSigning, + }, "Signing", middleware.After), + stack.Deserialize.Add(&smithyhttp.InterceptTransmit{ + BeforeTransmit: opts.Interceptors.BeforeTransmit, + AfterTransmit: opts.Interceptors.AfterTransmit, + }, middleware.After), + stack.Deserialize.Insert(&smithyhttp.InterceptBeforeDeserialization{ + Interceptors: opts.Interceptors.BeforeDeserialization, + }, "OperationDeserializer", middleware.After), // (deserialize stack is called in reverse) + stack.Deserialize.Insert(&smithyhttp.InterceptAfterDeserialization{ + Interceptors: opts.Interceptors.AfterDeserialization, + }, "OperationDeserializer", middleware.Before), + ) } diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AcceptDelegationRequest.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AcceptDelegationRequest.go new file mode 100644 index 0000000000..35f18d409e --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AcceptDelegationRequest.go @@ -0,0 +1,165 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package iam + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Accepts a delegation request, granting the requested temporary access. +// +// Once the delegation request is accepted, it is eligible to send the exchange +// token to the partner. The [SendDelegationToken]API has to be explicitly called to send the +// delegation token. +// +// At the time of acceptance, IAM records the details and the state of the +// identity that called this API. This is the identity that gets mapped to the +// delegated credential. +// +// An accepted request may be rejected before the exchange token is sent to the +// partner. +// +// [SendDelegationToken]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_SendDelegationToken.html +func (c *Client) AcceptDelegationRequest(ctx context.Context, params *AcceptDelegationRequestInput, optFns ...func(*Options)) (*AcceptDelegationRequestOutput, error) { + if params == nil { + params = &AcceptDelegationRequestInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "AcceptDelegationRequest", params, optFns, c.addOperationAcceptDelegationRequestMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*AcceptDelegationRequestOutput) + out.ResultMetadata = metadata + return out, nil +} + +type AcceptDelegationRequestInput struct { + + // The unique identifier of the delegation request to accept. + // + // This member is required. + DelegationRequestId *string + + noSmithyDocumentSerde +} + +type AcceptDelegationRequestOutput struct { + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationAcceptDelegationRequestMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsAwsquery_serializeOpAcceptDelegationRequest{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsquery_deserializeOpAcceptDelegationRequest{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "AcceptDelegationRequest"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpAcceptDelegationRequestValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptDelegationRequest(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opAcceptDelegationRequest(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "AcceptDelegationRequest", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AddClientIDToOpenIDConnectProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AddClientIDToOpenIDConnectProvider.go index 8cf6741674..aa7e48bc31 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AddClientIDToOpenIDConnectProvider.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AddClientIDToOpenIDConnectProvider.go @@ -151,40 +151,7 @@ func (c *Client) addOperationAddClientIDToOpenIDConnectProviderMiddlewares(stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AddRoleToInstanceProfile.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AddRoleToInstanceProfile.go index 1c8f6c1826..3d9f136946 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AddRoleToInstanceProfile.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AddRoleToInstanceProfile.go @@ -180,40 +180,7 @@ func (c *Client) addOperationAddRoleToInstanceProfileMiddlewares(stack *middlewa if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AddUserToGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AddUserToGroup.go index 85202c4117..fac679be19 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AddUserToGroup.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AddUserToGroup.go @@ -154,40 +154,7 @@ func (c *Client) addOperationAddUserToGroupMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AssociateDelegationRequest.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AssociateDelegationRequest.go new file mode 100644 index 0000000000..7ec6b5dd11 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AssociateDelegationRequest.go @@ -0,0 +1,169 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package iam + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Associates a delegation request with the current identity. +// +// If the partner that created the delegation request has specified the owner +// account during creation, only an identity from that owner account can call the +// AssociateDelegationRequest API for the specified delegation request. Once the +// AssociateDelegationRequest API call is successful, the ARN of the current +// calling identity will be stored as the ownerId of the request. +// +// If the partner that created the delegation request has not specified the owner +// account during creation, any caller from any account can call the +// AssociateDelegationRequest API for the delegation request. Once this API call is +// successful, the ARN of the current calling identity will be stored as the +// ownerId and the Amazon Web Services account ID of the current calling identity +// will be stored as the ownerAccount of the request. +// +// For more details, see [Managing Permissions for Delegation Requests]. +// +// [Managing Permissions for Delegation Requests]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies-temporary-delegation.html#temporary-delegation-managing-permissions +func (c *Client) AssociateDelegationRequest(ctx context.Context, params *AssociateDelegationRequestInput, optFns ...func(*Options)) (*AssociateDelegationRequestOutput, error) { + if params == nil { + params = &AssociateDelegationRequestInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "AssociateDelegationRequest", params, optFns, c.addOperationAssociateDelegationRequestMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*AssociateDelegationRequestOutput) + out.ResultMetadata = metadata + return out, nil +} + +type AssociateDelegationRequestInput struct { + + // The unique identifier of the delegation request to associate. + // + // This member is required. + DelegationRequestId *string + + noSmithyDocumentSerde +} + +type AssociateDelegationRequestOutput struct { + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationAssociateDelegationRequestMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsAwsquery_serializeOpAssociateDelegationRequest{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsquery_deserializeOpAssociateDelegationRequest{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "AssociateDelegationRequest"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpAssociateDelegationRequestValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateDelegationRequest(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opAssociateDelegationRequest(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "AssociateDelegationRequest", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AttachGroupPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AttachGroupPolicy.go index 42b7c16f43..2875471042 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AttachGroupPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AttachGroupPolicy.go @@ -165,40 +165,7 @@ func (c *Client) addOperationAttachGroupPolicyMiddlewares(stack *middleware.Stac if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AttachRolePolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AttachRolePolicy.go index 1231a9ae89..6bc9613fee 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AttachRolePolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AttachRolePolicy.go @@ -172,40 +172,7 @@ func (c *Client) addOperationAttachRolePolicyMiddlewares(stack *middleware.Stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AttachUserPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AttachUserPolicy.go index 957ed3faae..455c56f2d5 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AttachUserPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AttachUserPolicy.go @@ -165,40 +165,7 @@ func (c *Client) addOperationAttachUserPolicyMiddlewares(stack *middleware.Stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ChangePassword.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ChangePassword.go index 346a5b95f9..38b56c517e 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ChangePassword.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ChangePassword.go @@ -165,40 +165,7 @@ func (c *Client) addOperationChangePasswordMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateAccessKey.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateAccessKey.go index bfc1bb5889..30dfcbe802 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateAccessKey.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateAccessKey.go @@ -169,40 +169,7 @@ func (c *Client) addOperationCreateAccessKeyMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateAccountAlias.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateAccountAlias.go index efcf7fba81..82b0dd28c3 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateAccountAlias.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateAccountAlias.go @@ -147,40 +147,7 @@ func (c *Client) addOperationCreateAccountAliasMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateDelegationRequest.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateDelegationRequest.go new file mode 100644 index 0000000000..caf406c3d8 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateDelegationRequest.go @@ -0,0 +1,241 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package iam + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/service/iam/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Creates an IAM delegation request for temporary access delegation. +// +// This API is not available for general use. In order to use this API, a caller +// first need to go through an onboarding process described in the [partner onboarding documentation]. +// +// [partner onboarding documentation]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies-temporary-delegation-partner-guide.html +func (c *Client) CreateDelegationRequest(ctx context.Context, params *CreateDelegationRequestInput, optFns ...func(*Options)) (*CreateDelegationRequestOutput, error) { + if params == nil { + params = &CreateDelegationRequestInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "CreateDelegationRequest", params, optFns, c.addOperationCreateDelegationRequestMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*CreateDelegationRequestOutput) + out.ResultMetadata = metadata + return out, nil +} + +type CreateDelegationRequestInput struct { + + // A description of the delegation request. + // + // This member is required. + Description *string + + // The notification channel for updates about the delegation request. + // + // At this time,only SNS topic ARNs are accepted for notification. This topic ARN + // must have a resource policy granting SNS:Publish permission to the IAM service + // principal ( iam.amazonaws.com ). See [partner onboarding documentation] for more details. + // + // [partner onboarding documentation]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies-temporary-delegation-partner-guide.html + // + // This member is required. + NotificationChannel *string + + // The permissions to be delegated in this delegation request. + // + // This member is required. + Permissions *types.DelegationPermission + + // The workflow ID associated with the requestor. + // + // This is the unique identifier on the partner side that can be used to track the + // progress of the request. + // + // IAM maintains a uniqueness check on this workflow id for each request - if a + // workflow id for an existing request is passed, this API call will fail. + // + // This member is required. + RequestorWorkflowId *string + + // The duration for which the delegated session should remain active, in seconds. + // + // The active time window for the session starts when the customer calls the [SendDelegationToken] API. + // + // [SendDelegationToken]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_SendDelegationToken.html + // + // This member is required. + SessionDuration *int32 + + // Specifies whether the delegation token should only be sent by the owner. + // + // This flag prevents any party other than the owner from calling + // SendDelegationToken API for this delegation request. This behavior becomes + // useful when the delegation request owner needs to be present for subsequent + // partner interactions, but the delegation request was sent to a more privileged + // user for approval due to the owner lacking sufficient delegation permissions. + OnlySendByOwner bool + + // The Amazon Web Services account ID this delegation request is targeted to. + // + // If the account ID is not known, this parameter can be omitted, resulting in a + // request that can be associated by any account. If the account ID passed, then + // the created delegation request can only be associated with an identity of that + // target account. + OwnerAccountId *string + + // The URL to redirect to after the delegation request is processed. + // + // This URL is used by the IAM console to show a link to the customer to re-load + // the partner workflow. + RedirectUrl *string + + // A message explaining the reason for the delegation request. + // + // Requesters can utilize this field to add a custom note to the delegation + // request. This field is different from the description such that this is to be + // utilized for a custom messaging on a case-by-case basis. + // + // For example, if the current delegation request is in response to a previous + // request being rejected, this explanation can be added to the request via this + // field. + RequestMessage *string + + noSmithyDocumentSerde +} + +type CreateDelegationRequestOutput struct { + + // A deep link URL to the Amazon Web Services Management Console for managing the + // delegation request. + // + // For a console based workflow, partners should redirect the customer to this + // URL. If the customer is not logged in to any Amazon Web Services account, the + // Amazon Web Services workflow will automatically direct the customer to log in + // and then display the delegation request approval page. + ConsoleDeepLink *string + + // The unique identifier for the created delegation request. + DelegationRequestId *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationCreateDelegationRequestMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsAwsquery_serializeOpCreateDelegationRequest{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsquery_deserializeOpCreateDelegationRequest{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "CreateDelegationRequest"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpCreateDelegationRequestValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDelegationRequest(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opCreateDelegationRequest(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "CreateDelegationRequest", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateGroup.go index 57ebe36ed9..01a56dd123 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateGroup.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateGroup.go @@ -171,40 +171,7 @@ func (c *Client) addOperationCreateGroupMiddlewares(stack *middleware.Stack, opt if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateInstanceProfile.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateInstanceProfile.go index e31036711f..1ef3d125cf 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateInstanceProfile.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateInstanceProfile.go @@ -188,40 +188,7 @@ func (c *Client) addOperationCreateInstanceProfileMiddlewares(stack *middleware. if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateLoginProfile.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateLoginProfile.go index 54c7a7a689..ec1fef9f6e 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateLoginProfile.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateLoginProfile.go @@ -186,40 +186,7 @@ func (c *Client) addOperationCreateLoginProfileMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateOpenIDConnectProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateOpenIDConnectProvider.go index 1252465a82..96b711b46e 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateOpenIDConnectProvider.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateOpenIDConnectProvider.go @@ -251,40 +251,7 @@ func (c *Client) addOperationCreateOpenIDConnectProviderMiddlewares(stack *middl if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreatePolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreatePolicy.go index ef22d31e4d..3077b49e64 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreatePolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreatePolicy.go @@ -232,40 +232,7 @@ func (c *Client) addOperationCreatePolicyMiddlewares(stack *middleware.Stack, op if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreatePolicyVersion.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreatePolicyVersion.go index a2d4f4b170..c192d58477 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreatePolicyVersion.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreatePolicyVersion.go @@ -204,40 +204,7 @@ func (c *Client) addOperationCreatePolicyVersionMiddlewares(stack *middleware.St if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateRole.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateRole.go index 97e8c51dc6..234ec08ee5 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateRole.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateRole.go @@ -252,40 +252,7 @@ func (c *Client) addOperationCreateRoleMiddlewares(stack *middleware.Stack, opti if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateSAMLProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateSAMLProvider.go index 5fb5fb95de..66e1643477 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateSAMLProvider.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateSAMLProvider.go @@ -211,40 +211,7 @@ func (c *Client) addOperationCreateSAMLProviderMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateServiceLinkedRole.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateServiceLinkedRole.go index 1fd3dcca87..159655b33d 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateServiceLinkedRole.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateServiceLinkedRole.go @@ -178,40 +178,7 @@ func (c *Client) addOperationCreateServiceLinkedRoleMiddlewares(stack *middlewar if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateServiceSpecificCredential.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateServiceSpecificCredential.go index 42f5852db9..cc007d878f 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateServiceSpecificCredential.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateServiceSpecificCredential.go @@ -184,40 +184,7 @@ func (c *Client) addOperationCreateServiceSpecificCredentialMiddlewares(stack *m if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateUser.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateUser.go index 3149888f1e..56de97b2b4 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateUser.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateUser.go @@ -194,40 +194,7 @@ func (c *Client) addOperationCreateUserMiddlewares(stack *middleware.Stack, opti if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateVirtualMFADevice.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateVirtualMFADevice.go index d12b71d4de..f3db56650e 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateVirtualMFADevice.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateVirtualMFADevice.go @@ -195,40 +195,7 @@ func (c *Client) addOperationCreateVirtualMFADeviceMiddlewares(stack *middleware if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeactivateMFADevice.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeactivateMFADevice.go index 9a92d386e3..f5674e0f74 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeactivateMFADevice.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeactivateMFADevice.go @@ -164,40 +164,7 @@ func (c *Client) addOperationDeactivateMFADeviceMiddlewares(stack *middleware.St if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteAccessKey.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteAccessKey.go index 0b3dbe8818..37b44a429d 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteAccessKey.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteAccessKey.go @@ -159,40 +159,7 @@ func (c *Client) addOperationDeleteAccessKeyMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteAccountAlias.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteAccountAlias.go index ab5e53d618..392deb2af0 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteAccountAlias.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteAccountAlias.go @@ -148,40 +148,7 @@ func (c *Client) addOperationDeleteAccountAliasMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteAccountPasswordPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteAccountPasswordPolicy.go index a1ae261076..3305a03f0a 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteAccountPasswordPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteAccountPasswordPolicy.go @@ -129,40 +129,7 @@ func (c *Client) addOperationDeleteAccountPasswordPolicyMiddlewares(stack *middl if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteGroup.go index 5b7e24d625..a7dffb297f 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteGroup.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteGroup.go @@ -144,40 +144,7 @@ func (c *Client) addOperationDeleteGroupMiddlewares(stack *middleware.Stack, opt if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteGroupPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteGroupPolicy.go index 54824f1d43..1ad8e3e1f9 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteGroupPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteGroupPolicy.go @@ -162,40 +162,7 @@ func (c *Client) addOperationDeleteGroupPolicyMiddlewares(stack *middleware.Stac if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteInstanceProfile.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteInstanceProfile.go index b14c22efe5..da7e32de21 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteInstanceProfile.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteInstanceProfile.go @@ -153,40 +153,7 @@ func (c *Client) addOperationDeleteInstanceProfileMiddlewares(stack *middleware. if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteLoginProfile.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteLoginProfile.go index 124279c109..0d73402966 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteLoginProfile.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteLoginProfile.go @@ -159,40 +159,7 @@ func (c *Client) addOperationDeleteLoginProfileMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteOpenIDConnectProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteOpenIDConnectProvider.go index 7c4cc3d0f9..cd52ba9b9c 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteOpenIDConnectProvider.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteOpenIDConnectProvider.go @@ -148,40 +148,7 @@ func (c *Client) addOperationDeleteOpenIDConnectProviderMiddlewares(stack *middl if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeletePolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeletePolicy.go index 4becd6af8c..007d9812d9 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeletePolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeletePolicy.go @@ -169,40 +169,7 @@ func (c *Client) addOperationDeletePolicyMiddlewares(stack *middleware.Stack, op if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeletePolicyVersion.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeletePolicyVersion.go index 7e1568ba9e..be7b9b7a3a 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeletePolicyVersion.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeletePolicyVersion.go @@ -167,40 +167,7 @@ func (c *Client) addOperationDeletePolicyVersionMiddlewares(stack *middleware.St if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteRole.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteRole.go index fed2e16c49..69fe0ca5f0 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteRole.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteRole.go @@ -165,40 +165,7 @@ func (c *Client) addOperationDeleteRoleMiddlewares(stack *middleware.Stack, opti if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteRolePermissionsBoundary.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteRolePermissionsBoundary.go index e0c3c450cd..cd10ff281c 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteRolePermissionsBoundary.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteRolePermissionsBoundary.go @@ -144,40 +144,7 @@ func (c *Client) addOperationDeleteRolePermissionsBoundaryMiddlewares(stack *mid if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteRolePolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteRolePolicy.go index cfaa68b792..3552a39ae1 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteRolePolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteRolePolicy.go @@ -162,40 +162,7 @@ func (c *Client) addOperationDeleteRolePolicyMiddlewares(stack *middleware.Stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteSAMLProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteSAMLProvider.go index 3899f3d5fa..e1fc66ea37 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteSAMLProvider.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteSAMLProvider.go @@ -146,40 +146,7 @@ func (c *Client) addOperationDeleteSAMLProviderMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteSSHPublicKey.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteSSHPublicKey.go index 1642b9bdd8..bd8f9bd417 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteSSHPublicKey.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteSSHPublicKey.go @@ -160,40 +160,7 @@ func (c *Client) addOperationDeleteSSHPublicKeyMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteServerCertificate.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteServerCertificate.go index e063a5b116..b2f802d09e 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteServerCertificate.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteServerCertificate.go @@ -158,40 +158,7 @@ func (c *Client) addOperationDeleteServerCertificateMiddlewares(stack *middlewar if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteServiceLinkedRole.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteServiceLinkedRole.go index 658b977655..ac1898379c 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteServiceLinkedRole.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteServiceLinkedRole.go @@ -164,40 +164,7 @@ func (c *Client) addOperationDeleteServiceLinkedRoleMiddlewares(stack *middlewar if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteServiceSpecificCredential.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteServiceSpecificCredential.go index 3c903641a0..e6bcfac7a7 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteServiceSpecificCredential.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteServiceSpecificCredential.go @@ -155,40 +155,7 @@ func (c *Client) addOperationDeleteServiceSpecificCredentialMiddlewares(stack *m if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteSigningCertificate.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteSigningCertificate.go index 1aac9ef0a7..0fef48ebd2 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteSigningCertificate.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteSigningCertificate.go @@ -158,40 +158,7 @@ func (c *Client) addOperationDeleteSigningCertificateMiddlewares(stack *middlewa if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteUser.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteUser.go index 69139110a9..2e091f177b 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteUser.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteUser.go @@ -176,40 +176,7 @@ func (c *Client) addOperationDeleteUserMiddlewares(stack *middleware.Stack, opti if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteUserPermissionsBoundary.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteUserPermissionsBoundary.go index 90a7b77e1d..d4a0d826e7 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteUserPermissionsBoundary.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteUserPermissionsBoundary.go @@ -142,40 +142,7 @@ func (c *Client) addOperationDeleteUserPermissionsBoundaryMiddlewares(stack *mid if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteUserPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteUserPolicy.go index c625749e6d..0f9d8bb39d 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteUserPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteUserPolicy.go @@ -162,40 +162,7 @@ func (c *Client) addOperationDeleteUserPolicyMiddlewares(stack *middleware.Stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteVirtualMFADevice.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteVirtualMFADevice.go index 3e7dde41c8..82d915a0d0 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteVirtualMFADevice.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteVirtualMFADevice.go @@ -149,40 +149,7 @@ func (c *Client) addOperationDeleteVirtualMFADeviceMiddlewares(stack *middleware if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DetachGroupPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DetachGroupPolicy.go index cd5d650e1f..d843798236 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DetachGroupPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DetachGroupPolicy.go @@ -159,40 +159,7 @@ func (c *Client) addOperationDetachGroupPolicyMiddlewares(stack *middleware.Stac if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DetachRolePolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DetachRolePolicy.go index 6c24e835d6..e90eaee5ea 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DetachRolePolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DetachRolePolicy.go @@ -159,40 +159,7 @@ func (c *Client) addOperationDetachRolePolicyMiddlewares(stack *middleware.Stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DetachUserPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DetachUserPolicy.go index 853ba48347..8c738340f0 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DetachUserPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DetachUserPolicy.go @@ -159,40 +159,7 @@ func (c *Client) addOperationDetachUserPolicyMiddlewares(stack *middleware.Stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DisableOrganizationsRootCredentialsManagement.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DisableOrganizationsRootCredentialsManagement.go index a7629432a3..edf294638b 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DisableOrganizationsRootCredentialsManagement.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DisableOrganizationsRootCredentialsManagement.go @@ -140,40 +140,7 @@ func (c *Client) addOperationDisableOrganizationsRootCredentialsManagementMiddle if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DisableOrganizationsRootSessions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DisableOrganizationsRootSessions.go index dfbffbd021..bf50d42864 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DisableOrganizationsRootSessions.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DisableOrganizationsRootSessions.go @@ -140,40 +140,7 @@ func (c *Client) addOperationDisableOrganizationsRootSessionsMiddlewares(stack * if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DisableOutboundWebIdentityFederation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DisableOutboundWebIdentityFederation.go new file mode 100644 index 0000000000..b5901dd893 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DisableOutboundWebIdentityFederation.go @@ -0,0 +1,147 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package iam + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Disables the outbound identity federation feature for your Amazon Web Services +// account. When disabled, IAM principals in the account cannot use the +// GetWebIdentityToken API to obtain JSON Web Tokens (JWTs) for authentication with +// external services. This operation does not affect tokens that were issued before +// the feature was disabled. +func (c *Client) DisableOutboundWebIdentityFederation(ctx context.Context, params *DisableOutboundWebIdentityFederationInput, optFns ...func(*Options)) (*DisableOutboundWebIdentityFederationOutput, error) { + if params == nil { + params = &DisableOutboundWebIdentityFederationInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "DisableOutboundWebIdentityFederation", params, optFns, c.addOperationDisableOutboundWebIdentityFederationMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*DisableOutboundWebIdentityFederationOutput) + out.ResultMetadata = metadata + return out, nil +} + +type DisableOutboundWebIdentityFederationInput struct { + noSmithyDocumentSerde +} + +type DisableOutboundWebIdentityFederationOutput struct { + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationDisableOutboundWebIdentityFederationMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsAwsquery_serializeOpDisableOutboundWebIdentityFederation{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsquery_deserializeOpDisableOutboundWebIdentityFederation{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "DisableOutboundWebIdentityFederation"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableOutboundWebIdentityFederation(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opDisableOutboundWebIdentityFederation(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "DisableOutboundWebIdentityFederation", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableMFADevice.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableMFADevice.go index 3156633aec..c578f55bab 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableMFADevice.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableMFADevice.go @@ -187,40 +187,7 @@ func (c *Client) addOperationEnableMFADeviceMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableOrganizationsRootCredentialsManagement.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableOrganizationsRootCredentialsManagement.go index 8d2a2204c4..f0ec41d28c 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableOrganizationsRootCredentialsManagement.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableOrganizationsRootCredentialsManagement.go @@ -151,40 +151,7 @@ func (c *Client) addOperationEnableOrganizationsRootCredentialsManagementMiddlew if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableOrganizationsRootSessions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableOrganizationsRootSessions.go index b75911600a..18f0166586 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableOrganizationsRootSessions.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableOrganizationsRootSessions.go @@ -150,40 +150,7 @@ func (c *Client) addOperationEnableOrganizationsRootSessionsMiddlewares(stack *m if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableOutboundWebIdentityFederation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableOutboundWebIdentityFederation.go new file mode 100644 index 0000000000..df2eeff050 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableOutboundWebIdentityFederation.go @@ -0,0 +1,154 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package iam + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Enables the outbound identity federation feature for your Amazon Web Services +// account. When enabled, IAM principals in your account can use the +// GetWebIdentityToken API to obtain JSON Web Tokens (JWTs) for secure +// authentication with external services. This operation also generates a unique +// issuer URL for your Amazon Web Services account. +func (c *Client) EnableOutboundWebIdentityFederation(ctx context.Context, params *EnableOutboundWebIdentityFederationInput, optFns ...func(*Options)) (*EnableOutboundWebIdentityFederationOutput, error) { + if params == nil { + params = &EnableOutboundWebIdentityFederationInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "EnableOutboundWebIdentityFederation", params, optFns, c.addOperationEnableOutboundWebIdentityFederationMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*EnableOutboundWebIdentityFederationOutput) + out.ResultMetadata = metadata + return out, nil +} + +type EnableOutboundWebIdentityFederationInput struct { + noSmithyDocumentSerde +} + +type EnableOutboundWebIdentityFederationOutput struct { + + // A unique issuer URL for your Amazon Web Services account that hosts the OpenID + // Connect (OIDC) discovery endpoints at /.well-known/openid-configuration and + // /.well-known/jwks.json . The OpenID Connect (OIDC) discovery endpoints contain + // verification keys and metadata necessary for token verification. + IssuerIdentifier *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationEnableOutboundWebIdentityFederationMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsAwsquery_serializeOpEnableOutboundWebIdentityFederation{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsquery_deserializeOpEnableOutboundWebIdentityFederation{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "EnableOutboundWebIdentityFederation"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableOutboundWebIdentityFederation(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opEnableOutboundWebIdentityFederation(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "EnableOutboundWebIdentityFederation", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GenerateCredentialReport.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GenerateCredentialReport.go index c90aef702f..62ba0a00ac 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GenerateCredentialReport.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GenerateCredentialReport.go @@ -143,40 +143,7 @@ func (c *Client) addOperationGenerateCredentialReportMiddlewares(stack *middlewa if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GenerateOrganizationsAccessReport.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GenerateOrganizationsAccessReport.go index 11f8751aed..20b594f487 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GenerateOrganizationsAccessReport.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GenerateOrganizationsAccessReport.go @@ -267,40 +267,7 @@ func (c *Client) addOperationGenerateOrganizationsAccessReportMiddlewares(stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GenerateServiceLastAccessedDetails.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GenerateServiceLastAccessedDetails.go index cea1d7cdb0..a0c61368db 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GenerateServiceLastAccessedDetails.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GenerateServiceLastAccessedDetails.go @@ -219,40 +219,7 @@ func (c *Client) addOperationGenerateServiceLastAccessedDetailsMiddlewares(stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccessKeyLastUsed.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccessKeyLastUsed.go index 1c6637b62d..eb8bbb87a7 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccessKeyLastUsed.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccessKeyLastUsed.go @@ -159,40 +159,7 @@ func (c *Client) addOperationGetAccessKeyLastUsedMiddlewares(stack *middleware.S if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccountAuthorizationDetails.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccountAuthorizationDetails.go index 0da711f5ea..87fd6299c0 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccountAuthorizationDetails.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccountAuthorizationDetails.go @@ -198,40 +198,7 @@ func (c *Client) addOperationGetAccountAuthorizationDetailsMiddlewares(stack *mi if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccountPasswordPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccountPasswordPolicy.go index cf5cea4b6a..51b012e0f3 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccountPasswordPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccountPasswordPolicy.go @@ -143,40 +143,7 @@ func (c *Client) addOperationGetAccountPasswordPolicyMiddlewares(stack *middlewa if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccountSummary.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccountSummary.go index 65b96785ab..5a2bfc13ad 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccountSummary.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccountSummary.go @@ -141,40 +141,7 @@ func (c *Client) addOperationGetAccountSummaryMiddlewares(stack *middleware.Stac if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetContextKeysForCustomPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetContextKeysForCustomPolicy.go index 5b9883e0c8..7899e03acc 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetContextKeysForCustomPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetContextKeysForCustomPolicy.go @@ -174,40 +174,7 @@ func (c *Client) addOperationGetContextKeysForCustomPolicyMiddlewares(stack *mid if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetContextKeysForPrincipalPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetContextKeysForPrincipalPolicy.go index 77a04d616f..a63d757104 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetContextKeysForPrincipalPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetContextKeysForPrincipalPolicy.go @@ -194,40 +194,7 @@ func (c *Client) addOperationGetContextKeysForPrincipalPolicyMiddlewares(stack * if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetCredentialReport.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetCredentialReport.go index 7ac565b252..591768128e 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetCredentialReport.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetCredentialReport.go @@ -149,40 +149,7 @@ func (c *Client) addOperationGetCredentialReportMiddlewares(stack *middleware.St if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetDelegationRequest.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetDelegationRequest.go new file mode 100644 index 0000000000..8a4773c697 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetDelegationRequest.go @@ -0,0 +1,206 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package iam + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/service/iam/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Retrieves information about a specific delegation request. +// +// If a delegation request has no owner or owner account, GetDelegationRequest for +// that delegation request can be called by any account. If the owner account is +// assigned but there is no owner id, only identities within that owner account can +// call GetDelegationRequest for the delegation request. Once the delegation +// request is fully owned, the owner of the request gets a default permission to +// get that delegation request. For more details, see [Managing Permissions for Delegation Requests]. +// +// [Managing Permissions for Delegation Requests]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies-temporary-delegation.html#temporary-delegation-managing-permissions +func (c *Client) GetDelegationRequest(ctx context.Context, params *GetDelegationRequestInput, optFns ...func(*Options)) (*GetDelegationRequestOutput, error) { + if params == nil { + params = &GetDelegationRequestInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "GetDelegationRequest", params, optFns, c.addOperationGetDelegationRequestMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*GetDelegationRequestOutput) + out.ResultMetadata = metadata + return out, nil +} + +type GetDelegationRequestInput struct { + + // The unique identifier of the delegation request to retrieve. + // + // This member is required. + DelegationRequestId *string + + // Specifies whether to perform a permission check for the delegation request. + // + // If set to true, the GetDelegationRequest API call will start a permission check + // process. This process calculates whether the caller has sufficient permissions + // to cover the asks from this delegation request. + // + // Setting this parameter to true does not guarantee an answer in the response. + // See the PermissionCheckStatus and the PermissionCheckResult response attributes + // for further details. + DelegationPermissionCheck bool + + noSmithyDocumentSerde +} + +type GetDelegationRequestOutput struct { + + // The delegation request object containing all details about the request. + DelegationRequest *types.DelegationRequest + + // The result of the permission check, indicating whether the caller has + // sufficient permissions to cover the requested permissions. This is an + // approximate result. + // + // - ALLOWED : The caller has sufficient permissions cover all the requested + // permissions. + // + // - DENIED : The caller does not have sufficient permissions to cover all the + // requested permissions. + // + // - UNSURE : It is not possible to determine whether the caller has all the + // permissions needed. This output is most likely for cases when the caller has + // permissions with conditions. + PermissionCheckResult types.PermissionCheckResultType + + // The status of the permission check for the delegation request. + // + // This value indicates the status of the process to check whether the caller has + // sufficient permissions to cover the requested actions in the delegation request. + // Since this is an asynchronous process, there are three potential values: + // + // - IN_PROGRESS : The permission check process has started. + // + // - COMPLETED : The permission check process has completed. The + // PermissionCheckResult will include the result. + // + // - FAILED : The permission check process has failed. + PermissionCheckStatus types.PermissionCheckStatusType + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationGetDelegationRequestMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsAwsquery_serializeOpGetDelegationRequest{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsquery_deserializeOpGetDelegationRequest{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "GetDelegationRequest"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpGetDelegationRequestValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDelegationRequest(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opGetDelegationRequest(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "GetDelegationRequest", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetGroup.go index e03bb82ea1..6ea455600e 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetGroup.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetGroup.go @@ -189,40 +189,7 @@ func (c *Client) addOperationGetGroupMiddlewares(stack *middleware.Stack, option if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetGroupPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetGroupPolicy.go index 8e15f26a9f..cbf9f6d505 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetGroupPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetGroupPolicy.go @@ -195,40 +195,7 @@ func (c *Client) addOperationGetGroupPolicyMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetHumanReadableSummary.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetHumanReadableSummary.go new file mode 100644 index 0000000000..fb44a245d3 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetHumanReadableSummary.go @@ -0,0 +1,185 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package iam + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/service/iam/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Retrieves a human readable summary for a given entity. At this time, the only +// supported entity type is delegation-request +// +// This method uses a Large Language Model (LLM) to generate the summary. +// +// If a delegation request has no owner or owner account, GetHumanReadableSummary +// for that delegation request can be called by any account. If the owner account +// is assigned but there is no owner id, only identities within that owner account +// can call GetHumanReadableSummary for the delegation request to retrieve a +// summary of that request. Once the delegation request is fully owned, the owner +// of the request gets a default permission to get that delegation request. For +// more details, read default permissions granted to delegation requests. These rules are identical to [GetDelegationRequest] API behavior, such that a +// party who has permissions to call [GetDelegationRequest]for a given delegation request will always be +// able to retrieve the human readable summary for that request. +// +// [GetDelegationRequest]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetDelegationRequest.html +func (c *Client) GetHumanReadableSummary(ctx context.Context, params *GetHumanReadableSummaryInput, optFns ...func(*Options)) (*GetHumanReadableSummaryOutput, error) { + if params == nil { + params = &GetHumanReadableSummaryInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "GetHumanReadableSummary", params, optFns, c.addOperationGetHumanReadableSummaryMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*GetHumanReadableSummaryOutput) + out.ResultMetadata = metadata + return out, nil +} + +type GetHumanReadableSummaryInput struct { + + // Arn of the entity to be summarized. At this time, the only supported entity + // type is delegation-request + // + // This member is required. + EntityArn *string + + // A string representing the locale to use for the summary generation. The + // supported locale strings are based on the Supported languages of the Amazon Web Services Management Console. + Locale *string + + noSmithyDocumentSerde +} + +type GetHumanReadableSummaryOutput struct { + + // The locale that this response was generated for. This maps to the input locale. + Locale *string + + // Summary content in the specified locale. Summary content is non-empty only if + // the SummaryState is AVAILABLE . + SummaryContent *string + + // State of summary generation. This generation process is asynchronous and this + // attribute indicates the state of the generation process. + SummaryState types.SummaryStateType + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationGetHumanReadableSummaryMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsAwsquery_serializeOpGetHumanReadableSummary{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsquery_deserializeOpGetHumanReadableSummary{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "GetHumanReadableSummary"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpGetHumanReadableSummaryValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetHumanReadableSummary(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opGetHumanReadableSummary(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "GetHumanReadableSummary", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetInstanceProfile.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetInstanceProfile.go index 44c58ad7bf..a56fbab908 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetInstanceProfile.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetInstanceProfile.go @@ -162,40 +162,7 @@ func (c *Client) addOperationGetInstanceProfileMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetLoginProfile.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetLoginProfile.go index 3aef8a1506..81df2c4740 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetLoginProfile.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetLoginProfile.go @@ -165,40 +165,7 @@ func (c *Client) addOperationGetLoginProfileMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetMFADevice.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetMFADevice.go index f50999f9b3..52653396ac 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetMFADevice.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetMFADevice.go @@ -165,40 +165,7 @@ func (c *Client) addOperationGetMFADeviceMiddlewares(stack *middleware.Stack, op if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetOpenIDConnectProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetOpenIDConnectProvider.go index 5399dfcd38..205e101cc8 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetOpenIDConnectProvider.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetOpenIDConnectProvider.go @@ -181,40 +181,7 @@ func (c *Client) addOperationGetOpenIDConnectProviderMiddlewares(stack *middlewa if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetOrganizationsAccessReport.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetOrganizationsAccessReport.go index 61e92fd919..5eb2b479b7 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetOrganizationsAccessReport.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetOrganizationsAccessReport.go @@ -238,40 +238,7 @@ func (c *Client) addOperationGetOrganizationsAccessReportMiddlewares(stack *midd if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetOutboundWebIdentityFederationInfo.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetOutboundWebIdentityFederationInfo.go new file mode 100644 index 0000000000..25cbb5be1b --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetOutboundWebIdentityFederationInfo.go @@ -0,0 +1,160 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package iam + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Retrieves the configuration information for the outbound identity federation +// feature in your Amazon Web Services account. The response includes the unique +// issuer URL for your Amazon Web Services account and the current enabled/disabled +// status of the feature. Use this operation to obtain the issuer URL that you need +// to configure trust relationships with external services. +func (c *Client) GetOutboundWebIdentityFederationInfo(ctx context.Context, params *GetOutboundWebIdentityFederationInfoInput, optFns ...func(*Options)) (*GetOutboundWebIdentityFederationInfoOutput, error) { + if params == nil { + params = &GetOutboundWebIdentityFederationInfoInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "GetOutboundWebIdentityFederationInfo", params, optFns, c.addOperationGetOutboundWebIdentityFederationInfoMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*GetOutboundWebIdentityFederationInfoOutput) + out.ResultMetadata = metadata + return out, nil +} + +type GetOutboundWebIdentityFederationInfoInput struct { + noSmithyDocumentSerde +} + +type GetOutboundWebIdentityFederationInfoOutput struct { + + // A unique issuer URL for your Amazon Web Services account that hosts the OpenID + // Connect (OIDC) discovery endpoints at /.well-known/openid-configuration and + // /.well-known/jwks.json . The OpenID Connect (OIDC) discovery endpoints contain + // verification keys and metadata necessary for token verification. + IssuerIdentifier *string + + // Indicates whether outbound identity federation is currently enabled for your + // Amazon Web Services account. When true, IAM principals in the account can call + // the GetWebIdentityToken API to obtain JSON Web Tokens (JWTs) for authentication + // with external services. + JwtVendingEnabled bool + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationGetOutboundWebIdentityFederationInfoMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsAwsquery_serializeOpGetOutboundWebIdentityFederationInfo{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsquery_deserializeOpGetOutboundWebIdentityFederationInfo{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "GetOutboundWebIdentityFederationInfo"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOutboundWebIdentityFederationInfo(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opGetOutboundWebIdentityFederationInfo(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "GetOutboundWebIdentityFederationInfo", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetPolicy.go index e71541477e..fc412a026d 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetPolicy.go @@ -174,40 +174,7 @@ func (c *Client) addOperationGetPolicyMiddlewares(stack *middleware.Stack, optio if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetPolicyVersion.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetPolicyVersion.go index 369ba6d1ac..34b5720036 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetPolicyVersion.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetPolicyVersion.go @@ -187,40 +187,7 @@ func (c *Client) addOperationGetPolicyVersionMiddlewares(stack *middleware.Stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetRole.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetRole.go index 5d9c995aa3..d1a674aa99 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetRole.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetRole.go @@ -169,40 +169,7 @@ func (c *Client) addOperationGetRoleMiddlewares(stack *middleware.Stack, options if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetRolePolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetRolePolicy.go index 3a5b2ead65..65d1ee6283 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetRolePolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetRolePolicy.go @@ -198,40 +198,7 @@ func (c *Client) addOperationGetRolePolicyMiddlewares(stack *middleware.Stack, o if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetSAMLProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetSAMLProvider.go index e67b719d3e..bab59a126b 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetSAMLProvider.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetSAMLProvider.go @@ -179,40 +179,7 @@ func (c *Client) addOperationGetSAMLProviderMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetSSHPublicKey.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetSSHPublicKey.go index 0e5dbe83ec..355f70e97a 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetSSHPublicKey.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetSSHPublicKey.go @@ -175,40 +175,7 @@ func (c *Client) addOperationGetSSHPublicKeyMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServerCertificate.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServerCertificate.go index f90adc3ec7..c9ba83cce8 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServerCertificate.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServerCertificate.go @@ -159,40 +159,7 @@ func (c *Client) addOperationGetServerCertificateMiddlewares(stack *middleware.S if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServiceLastAccessedDetails.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServiceLastAccessedDetails.go index f65be77a2a..6a3feba911 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServiceLastAccessedDetails.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServiceLastAccessedDetails.go @@ -256,40 +256,7 @@ func (c *Client) addOperationGetServiceLastAccessedDetailsMiddlewares(stack *mid if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServiceLastAccessedDetailsWithEntities.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServiceLastAccessedDetailsWithEntities.go index 7017f78ef9..b175d7663a 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServiceLastAccessedDetailsWithEntities.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServiceLastAccessedDetailsWithEntities.go @@ -239,40 +239,7 @@ func (c *Client) addOperationGetServiceLastAccessedDetailsWithEntitiesMiddleware if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServiceLinkedRoleDeletionStatus.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServiceLinkedRoleDeletionStatus.go index 4d215b9faf..98a5f11c7d 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServiceLinkedRoleDeletionStatus.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServiceLinkedRoleDeletionStatus.go @@ -156,40 +156,7 @@ func (c *Client) addOperationGetServiceLinkedRoleDeletionStatusMiddlewares(stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetUser.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetUser.go index 76fef16079..f826a335cb 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetUser.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetUser.go @@ -178,40 +178,7 @@ func (c *Client) addOperationGetUserMiddlewares(stack *middleware.Stack, options if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetUserPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetUserPolicy.go index f50f99149a..6394fc08ac 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetUserPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetUserPolicy.go @@ -195,40 +195,7 @@ func (c *Client) addOperationGetUserPolicyMiddlewares(stack *middleware.Stack, o if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAccessKeys.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAccessKeys.go index 218f147322..7f7198b787 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAccessKeys.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAccessKeys.go @@ -193,40 +193,7 @@ func (c *Client) addOperationListAccessKeysMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAccountAliases.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAccountAliases.go index 3758cfda18..f97d32ecbd 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAccountAliases.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAccountAliases.go @@ -172,40 +172,7 @@ func (c *Client) addOperationListAccountAliasesMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAttachedGroupPolicies.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAttachedGroupPolicies.go index 5f792d7fe9..6e3f603896 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAttachedGroupPolicies.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAttachedGroupPolicies.go @@ -205,40 +205,7 @@ func (c *Client) addOperationListAttachedGroupPoliciesMiddlewares(stack *middlew if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAttachedRolePolicies.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAttachedRolePolicies.go index 9a8799b9ef..4896337d41 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAttachedRolePolicies.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAttachedRolePolicies.go @@ -205,40 +205,7 @@ func (c *Client) addOperationListAttachedRolePoliciesMiddlewares(stack *middlewa if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAttachedUserPolicies.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAttachedUserPolicies.go index bb802fa2e9..c8f19c7501 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAttachedUserPolicies.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAttachedUserPolicies.go @@ -205,40 +205,7 @@ func (c *Client) addOperationListAttachedUserPoliciesMiddlewares(stack *middlewa if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListDelegationRequests.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListDelegationRequests.go new file mode 100644 index 0000000000..e541cb2781 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListDelegationRequests.go @@ -0,0 +1,186 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package iam + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/service/iam/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Lists delegation requests based on the specified criteria. +// +// If a delegation request has no owner, even if it is assigned to a specific +// account, it will not be part of the ListDelegationRequests output for that +// account. +// +// For more details, see [Managing Permissions for Delegation Requests]. +// +// [Managing Permissions for Delegation Requests]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies-temporary-delegation.html#temporary-delegation-managing-permissions +func (c *Client) ListDelegationRequests(ctx context.Context, params *ListDelegationRequestsInput, optFns ...func(*Options)) (*ListDelegationRequestsOutput, error) { + if params == nil { + params = &ListDelegationRequestsInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ListDelegationRequests", params, optFns, c.addOperationListDelegationRequestsMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ListDelegationRequestsOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ListDelegationRequestsInput struct { + + // Use this parameter only when paginating results and only after you receive a + // response indicating that the results are truncated. Set it to the value of the + // Marker element in the response that you received to indicate where the next call + // should start. + Marker *string + + // Use this only when paginating results to indicate the maximum number of items + // you want in the response. If additional items exist beyond the maximum you + // specify, the IsTruncated response element is true . + // + // If you do not include this parameter, the number of items defaults to 100. Note + // that IAM may return fewer results, even when there are more results available. + // In that case, the IsTruncated response element returns true , and Marker + // contains a value to include in the subsequent call that tells the service where + // to continue from. + MaxItems *int32 + + // The owner ID to filter delegation requests by. + OwnerId *string + + noSmithyDocumentSerde +} + +type ListDelegationRequestsOutput struct { + + // A list of delegation requests that match the specified criteria. + DelegationRequests []types.DelegationRequest + + // A flag that indicates whether there are more items to return. If your results + // were truncated, you can make a subsequent pagination request using the Marker + // request parameter to retrieve more items. + IsTruncated bool + + // When isTruncated is true , this element is present and contains the value to use + // for the Marker parameter in a subsequent pagination request. + Marker *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationListDelegationRequestsMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsAwsquery_serializeOpListDelegationRequests{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsquery_deserializeOpListDelegationRequests{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "ListDelegationRequests"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDelegationRequests(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opListDelegationRequests(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "ListDelegationRequests", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListEntitiesForPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListEntitiesForPolicy.go index a3b6348a75..7726848662 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListEntitiesForPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListEntitiesForPolicy.go @@ -222,40 +222,7 @@ func (c *Client) addOperationListEntitiesForPolicyMiddlewares(stack *middleware. if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListGroupPolicies.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListGroupPolicies.go index bfa3f677cb..45124b42ac 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListGroupPolicies.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListGroupPolicies.go @@ -199,40 +199,7 @@ func (c *Client) addOperationListGroupPoliciesMiddlewares(stack *middleware.Stac if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListGroups.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListGroups.go index e2780cd29c..ab51fb9abd 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListGroups.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListGroups.go @@ -184,40 +184,7 @@ func (c *Client) addOperationListGroupsMiddlewares(stack *middleware.Stack, opti if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListGroupsForUser.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListGroupsForUser.go index 9a18080f05..ae9ba8e6fd 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListGroupsForUser.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListGroupsForUser.go @@ -184,40 +184,7 @@ func (c *Client) addOperationListGroupsForUserMiddlewares(stack *middleware.Stac if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListInstanceProfileTags.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListInstanceProfileTags.go index 7bf80d1d57..4a3da64f62 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListInstanceProfileTags.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListInstanceProfileTags.go @@ -185,40 +185,7 @@ func (c *Client) addOperationListInstanceProfileTagsMiddlewares(stack *middlewar if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListInstanceProfiles.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListInstanceProfiles.go index 8a05a2287e..5cc5421789 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListInstanceProfiles.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListInstanceProfiles.go @@ -194,40 +194,7 @@ func (c *Client) addOperationListInstanceProfilesMiddlewares(stack *middleware.S if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListInstanceProfilesForRole.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListInstanceProfilesForRole.go index 330cdba17e..541739924f 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListInstanceProfilesForRole.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListInstanceProfilesForRole.go @@ -188,40 +188,7 @@ func (c *Client) addOperationListInstanceProfilesForRoleMiddlewares(stack *middl if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListMFADeviceTags.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListMFADeviceTags.go index 014dd9c9d8..1214ef0a48 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListMFADeviceTags.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListMFADeviceTags.go @@ -186,40 +186,7 @@ func (c *Client) addOperationListMFADeviceTagsMiddlewares(stack *middleware.Stac if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListMFADevices.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListMFADevices.go index c66fcc56e1..85953c1168 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListMFADevices.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListMFADevices.go @@ -183,40 +183,7 @@ func (c *Client) addOperationListMFADevicesMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListOpenIDConnectProviderTags.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListOpenIDConnectProviderTags.go index 37fa02f144..6a5a925883 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListOpenIDConnectProviderTags.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListOpenIDConnectProviderTags.go @@ -190,40 +190,7 @@ func (c *Client) addOperationListOpenIDConnectProviderTagsMiddlewares(stack *mid if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListOpenIDConnectProviders.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListOpenIDConnectProviders.go index 25951f82ca..3557b32984 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListOpenIDConnectProviders.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListOpenIDConnectProviders.go @@ -145,40 +145,7 @@ func (c *Client) addOperationListOpenIDConnectProvidersMiddlewares(stack *middle if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListOrganizationsFeatures.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListOrganizationsFeatures.go index fdea5cc9c0..2d1717d150 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListOrganizationsFeatures.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListOrganizationsFeatures.go @@ -139,40 +139,7 @@ func (c *Client) addOperationListOrganizationsFeaturesMiddlewares(stack *middlew if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPolicies.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPolicies.go index 3c743d65df..ee705b7319 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPolicies.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPolicies.go @@ -222,40 +222,7 @@ func (c *Client) addOperationListPoliciesMiddlewares(stack *middleware.Stack, op if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPoliciesGrantingServiceAccess.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPoliciesGrantingServiceAccess.go index 0058205e38..b8df8228d3 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPoliciesGrantingServiceAccess.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPoliciesGrantingServiceAccess.go @@ -212,40 +212,7 @@ func (c *Client) addOperationListPoliciesGrantingServiceAccessMiddlewares(stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPolicyTags.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPolicyTags.go index 1877a20833..af44fa48d6 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPolicyTags.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPolicyTags.go @@ -185,40 +185,7 @@ func (c *Client) addOperationListPolicyTagsMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPolicyVersions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPolicyVersions.go index 6c89d7f99e..a9f70bae75 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPolicyVersions.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPolicyVersions.go @@ -189,40 +189,7 @@ func (c *Client) addOperationListPolicyVersionsMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListRolePolicies.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListRolePolicies.go index 8b43708324..0e0478abd7 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListRolePolicies.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListRolePolicies.go @@ -193,40 +193,7 @@ func (c *Client) addOperationListRolePoliciesMiddlewares(stack *middleware.Stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListRoleTags.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListRoleTags.go index ca51dace1a..05681cf67b 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListRoleTags.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListRoleTags.go @@ -185,40 +185,7 @@ func (c *Client) addOperationListRoleTagsMiddlewares(stack *middleware.Stack, op if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListRoles.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListRoles.go index f69a3b8154..fbb5942645 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListRoles.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListRoles.go @@ -201,40 +201,7 @@ func (c *Client) addOperationListRolesMiddlewares(stack *middleware.Stack, optio if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSAMLProviderTags.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSAMLProviderTags.go index faa013456d..97459eaf41 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSAMLProviderTags.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSAMLProviderTags.go @@ -190,40 +190,7 @@ func (c *Client) addOperationListSAMLProviderTagsMiddlewares(stack *middleware.S if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSAMLProviders.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSAMLProviders.go index dd1d9dc418..5fc377e513 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSAMLProviders.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSAMLProviders.go @@ -146,40 +146,7 @@ func (c *Client) addOperationListSAMLProvidersMiddlewares(stack *middleware.Stac if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSSHPublicKeys.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSSHPublicKeys.go index 91e8ff107a..cd0e261d9c 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSSHPublicKeys.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSSHPublicKeys.go @@ -188,40 +188,7 @@ func (c *Client) addOperationListSSHPublicKeysMiddlewares(stack *middleware.Stac if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListServerCertificateTags.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListServerCertificateTags.go index 56ac6d10b1..e8f7370afc 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListServerCertificateTags.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListServerCertificateTags.go @@ -191,40 +191,7 @@ func (c *Client) addOperationListServerCertificateTagsMiddlewares(stack *middlew if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListServerCertificates.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListServerCertificates.go index 90ca8f891d..7e77f73682 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListServerCertificates.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListServerCertificates.go @@ -197,40 +197,7 @@ func (c *Client) addOperationListServerCertificatesMiddlewares(stack *middleware if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListServiceSpecificCredentials.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListServiceSpecificCredentials.go index 1ccb5645b6..2e99b93cae 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListServiceSpecificCredentials.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListServiceSpecificCredentials.go @@ -183,40 +183,7 @@ func (c *Client) addOperationListServiceSpecificCredentialsMiddlewares(stack *mi if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSigningCertificates.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSigningCertificates.go index 11839a1397..1b66f4bdcc 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSigningCertificates.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSigningCertificates.go @@ -188,40 +188,7 @@ func (c *Client) addOperationListSigningCertificatesMiddlewares(stack *middlewar if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListUserPolicies.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListUserPolicies.go index 12e1b7c7d9..94cf912386 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListUserPolicies.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListUserPolicies.go @@ -192,40 +192,7 @@ func (c *Client) addOperationListUserPoliciesMiddlewares(stack *middleware.Stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListUserTags.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListUserTags.go index 30c536b016..84e34f663e 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListUserTags.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListUserTags.go @@ -185,40 +185,7 @@ func (c *Client) addOperationListUserTagsMiddlewares(stack *middleware.Stack, op if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListUsers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListUsers.go index 832cd49900..9d9471d9cc 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListUsers.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListUsers.go @@ -198,40 +198,7 @@ func (c *Client) addOperationListUsersMiddlewares(stack *middleware.Stack, optio if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListVirtualMFADevices.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListVirtualMFADevices.go index 69578f9689..b1a2f9cae4 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListVirtualMFADevices.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListVirtualMFADevices.go @@ -186,40 +186,7 @@ func (c *Client) addOperationListVirtualMFADevicesMiddlewares(stack *middleware. if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutGroupPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutGroupPolicy.go index 29e7145d99..1acafc3091 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutGroupPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutGroupPolicy.go @@ -196,40 +196,7 @@ func (c *Client) addOperationPutGroupPolicyMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutRolePermissionsBoundary.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutRolePermissionsBoundary.go index 2aa6e4e881..05c47624d0 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutRolePermissionsBoundary.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutRolePermissionsBoundary.go @@ -167,40 +167,7 @@ func (c *Client) addOperationPutRolePermissionsBoundaryMiddlewares(stack *middle if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutRolePolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutRolePolicy.go index 3f842b230e..7fbf10c960 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutRolePolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutRolePolicy.go @@ -205,40 +205,7 @@ func (c *Client) addOperationPutRolePolicyMiddlewares(stack *middleware.Stack, o if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutUserPermissionsBoundary.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutUserPermissionsBoundary.go index 17d15a2676..b1a81037db 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutUserPermissionsBoundary.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutUserPermissionsBoundary.go @@ -165,40 +165,7 @@ func (c *Client) addOperationPutUserPermissionsBoundaryMiddlewares(stack *middle if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutUserPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutUserPolicy.go index dc408110fe..6e56005f1e 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutUserPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutUserPolicy.go @@ -196,40 +196,7 @@ func (c *Client) addOperationPutUserPolicyMiddlewares(stack *middleware.Stack, o if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RejectDelegationRequest.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RejectDelegationRequest.go new file mode 100644 index 0000000000..d489466389 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RejectDelegationRequest.go @@ -0,0 +1,165 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package iam + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Rejects a delegation request, denying the requested temporary access. +// +// Once a request is rejected, it cannot be accepted or updated later. Rejected +// requests expire after 7 days. +// +// When rejecting a request, an optional explanation can be added using the Notes +// request parameter. +// +// For more details, see [Managing Permissions for Delegation Requests]. +// +// [Managing Permissions for Delegation Requests]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies-temporary-delegation.html#temporary-delegation-managing-permissions +func (c *Client) RejectDelegationRequest(ctx context.Context, params *RejectDelegationRequestInput, optFns ...func(*Options)) (*RejectDelegationRequestOutput, error) { + if params == nil { + params = &RejectDelegationRequestInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "RejectDelegationRequest", params, optFns, c.addOperationRejectDelegationRequestMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*RejectDelegationRequestOutput) + out.ResultMetadata = metadata + return out, nil +} + +type RejectDelegationRequestInput struct { + + // The unique identifier of the delegation request to reject. + // + // This member is required. + DelegationRequestId *string + + // Optional notes explaining the reason for rejecting the delegation request. + Notes *string + + noSmithyDocumentSerde +} + +type RejectDelegationRequestOutput struct { + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationRejectDelegationRequestMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsAwsquery_serializeOpRejectDelegationRequest{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsquery_deserializeOpRejectDelegationRequest{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "RejectDelegationRequest"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpRejectDelegationRequestValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRejectDelegationRequest(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opRejectDelegationRequest(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "RejectDelegationRequest", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RemoveClientIDFromOpenIDConnectProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RemoveClientIDFromOpenIDConnectProvider.go index c4b22ff0ef..dc897429e5 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RemoveClientIDFromOpenIDConnectProvider.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RemoveClientIDFromOpenIDConnectProvider.go @@ -157,40 +157,7 @@ func (c *Client) addOperationRemoveClientIDFromOpenIDConnectProviderMiddlewares( if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RemoveRoleFromInstanceProfile.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RemoveRoleFromInstanceProfile.go index 9389b21bb1..3bf647d23d 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RemoveRoleFromInstanceProfile.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RemoveRoleFromInstanceProfile.go @@ -165,40 +165,7 @@ func (c *Client) addOperationRemoveRoleFromInstanceProfileMiddlewares(stack *mid if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RemoveUserFromGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RemoveUserFromGroup.go index 9794fd221d..5be9414e92 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RemoveUserFromGroup.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RemoveUserFromGroup.go @@ -154,40 +154,7 @@ func (c *Client) addOperationRemoveUserFromGroupMiddlewares(stack *middleware.St if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ResetServiceSpecificCredential.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ResetServiceSpecificCredential.go index b1348a7962..8852691777 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ResetServiceSpecificCredential.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ResetServiceSpecificCredential.go @@ -165,40 +165,7 @@ func (c *Client) addOperationResetServiceSpecificCredentialMiddlewares(stack *mi if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ResyncMFADevice.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ResyncMFADevice.go index e264267875..7aa6200323 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ResyncMFADevice.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ResyncMFADevice.go @@ -174,40 +174,7 @@ func (c *Client) addOperationResyncMFADeviceMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SendDelegationToken.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SendDelegationToken.go new file mode 100644 index 0000000000..c08be2adea --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SendDelegationToken.go @@ -0,0 +1,164 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package iam + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Sends the exchange token for an accepted delegation request. +// +// The exchange token is sent to the partner via an asynchronous notification +// channel, established by the partner. +// +// The delegation request must be in the ACCEPTED state when calling this API. +// After the SendDelegationToken API call is successful, the request transitions +// to a FINALIZED state and cannot be rolled back. However, a user may reject an +// accepted request before the SendDelegationToken API is called. +// +// For more details, see [Managing Permissions for Delegation Requests]. +// +// [Managing Permissions for Delegation Requests]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies-temporary-delegation.html#temporary-delegation-managing-permissions +func (c *Client) SendDelegationToken(ctx context.Context, params *SendDelegationTokenInput, optFns ...func(*Options)) (*SendDelegationTokenOutput, error) { + if params == nil { + params = &SendDelegationTokenInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "SendDelegationToken", params, optFns, c.addOperationSendDelegationTokenMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*SendDelegationTokenOutput) + out.ResultMetadata = metadata + return out, nil +} + +type SendDelegationTokenInput struct { + + // The unique identifier of the delegation request for which to send the token. + // + // This member is required. + DelegationRequestId *string + + noSmithyDocumentSerde +} + +type SendDelegationTokenOutput struct { + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationSendDelegationTokenMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsAwsquery_serializeOpSendDelegationToken{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsquery_deserializeOpSendDelegationToken{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "SendDelegationToken"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpSendDelegationTokenValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendDelegationToken(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opSendDelegationToken(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "SendDelegationToken", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SetDefaultPolicyVersion.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SetDefaultPolicyVersion.go index b710f05c07..80d8a0de4c 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SetDefaultPolicyVersion.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SetDefaultPolicyVersion.go @@ -161,40 +161,7 @@ func (c *Client) addOperationSetDefaultPolicyVersionMiddlewares(stack *middlewar if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SetSecurityTokenServicePreferences.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SetSecurityTokenServicePreferences.go index 51e6e43957..bada2b2022 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SetSecurityTokenServicePreferences.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SetSecurityTokenServicePreferences.go @@ -168,40 +168,7 @@ func (c *Client) addOperationSetSecurityTokenServicePreferencesMiddlewares(stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SimulateCustomPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SimulateCustomPolicy.go index a98a8dc214..eee4e595ff 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SimulateCustomPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SimulateCustomPolicy.go @@ -378,40 +378,7 @@ func (c *Client) addOperationSimulateCustomPolicyMiddlewares(stack *middleware.S if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SimulatePrincipalPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SimulatePrincipalPolicy.go index 957e263254..e0122dc6fa 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SimulatePrincipalPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SimulatePrincipalPolicy.go @@ -403,40 +403,7 @@ func (c *Client) addOperationSimulatePrincipalPolicyMiddlewares(stack *middlewar if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagInstanceProfile.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagInstanceProfile.go index a2dbae4bbf..e9b495ce4a 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagInstanceProfile.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagInstanceProfile.go @@ -175,40 +175,7 @@ func (c *Client) addOperationTagInstanceProfileMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagMFADevice.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagMFADevice.go index bcddf70fbe..d87c627001 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagMFADevice.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagMFADevice.go @@ -177,40 +177,7 @@ func (c *Client) addOperationTagMFADeviceMiddlewares(stack *middleware.Stack, op if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagOpenIDConnectProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagOpenIDConnectProvider.go index eae737d777..ea7289c90a 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagOpenIDConnectProvider.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagOpenIDConnectProvider.go @@ -177,40 +177,7 @@ func (c *Client) addOperationTagOpenIDConnectProviderMiddlewares(stack *middlewa if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagPolicy.go index de7cb8af98..d19713f7ca 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagPolicy.go @@ -175,40 +175,7 @@ func (c *Client) addOperationTagPolicyMiddlewares(stack *middleware.Stack, optio if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagRole.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagRole.go index 4ef4afd29d..2e4cfc1294 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagRole.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagRole.go @@ -183,40 +183,7 @@ func (c *Client) addOperationTagRoleMiddlewares(stack *middleware.Stack, options if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagSAMLProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagSAMLProvider.go index 88a87d8c49..ec25f37552 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagSAMLProvider.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagSAMLProvider.go @@ -177,40 +177,7 @@ func (c *Client) addOperationTagSAMLProviderMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagServerCertificate.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagServerCertificate.go index 32052805aa..22b16e1777 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagServerCertificate.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagServerCertificate.go @@ -184,40 +184,7 @@ func (c *Client) addOperationTagServerCertificateMiddlewares(stack *middleware.S if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagUser.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagUser.go index 0371892843..e60d6ac2db 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagUser.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagUser.go @@ -182,40 +182,7 @@ func (c *Client) addOperationTagUserMiddlewares(stack *middleware.Stack, options if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagInstanceProfile.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagInstanceProfile.go index 0eb163e50c..279916c7ee 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagInstanceProfile.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagInstanceProfile.go @@ -152,40 +152,7 @@ func (c *Client) addOperationUntagInstanceProfileMiddlewares(stack *middleware.S if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagMFADevice.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagMFADevice.go index 4ec815db6c..81b6608205 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagMFADevice.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagMFADevice.go @@ -153,40 +153,7 @@ func (c *Client) addOperationUntagMFADeviceMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagOpenIDConnectProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagOpenIDConnectProvider.go index 2852ac6c41..d6f99bf108 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagOpenIDConnectProvider.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagOpenIDConnectProvider.go @@ -154,40 +154,7 @@ func (c *Client) addOperationUntagOpenIDConnectProviderMiddlewares(stack *middle if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagPolicy.go index 63a6055410..3102a52970 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagPolicy.go @@ -152,40 +152,7 @@ func (c *Client) addOperationUntagPolicyMiddlewares(stack *middleware.Stack, opt if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagRole.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagRole.go index bd117cd5d5..ef3156b8da 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagRole.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagRole.go @@ -152,40 +152,7 @@ func (c *Client) addOperationUntagRoleMiddlewares(stack *middleware.Stack, optio if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagSAMLProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagSAMLProvider.go index 5ad741122c..467656e4af 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagSAMLProvider.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagSAMLProvider.go @@ -154,40 +154,7 @@ func (c *Client) addOperationUntagSAMLProviderMiddlewares(stack *middleware.Stac if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagServerCertificate.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagServerCertificate.go index 3e75541855..88275ecc29 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagServerCertificate.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagServerCertificate.go @@ -158,40 +158,7 @@ func (c *Client) addOperationUntagServerCertificateMiddlewares(stack *middleware if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagUser.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagUser.go index 20de0612fd..b0d91da823 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagUser.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagUser.go @@ -152,40 +152,7 @@ func (c *Client) addOperationUntagUserMiddlewares(stack *middleware.Stack, optio if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateAccessKey.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateAccessKey.go index 06d17426cc..534b60d11a 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateAccessKey.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateAccessKey.go @@ -173,40 +173,7 @@ func (c *Client) addOperationUpdateAccessKeyMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateAccountPasswordPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateAccountPasswordPolicy.go index ad9eec8e1d..702e00eef1 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateAccountPasswordPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateAccountPasswordPolicy.go @@ -223,40 +223,7 @@ func (c *Client) addOperationUpdateAccountPasswordPolicyMiddlewares(stack *middl if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateAssumeRolePolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateAssumeRolePolicy.go index d369d3107e..197361b05e 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateAssumeRolePolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateAssumeRolePolicy.go @@ -171,40 +171,7 @@ func (c *Client) addOperationUpdateAssumeRolePolicyMiddlewares(stack *middleware if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateDelegationRequest.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateDelegationRequest.go new file mode 100644 index 0000000000..0f8618b6f7 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateDelegationRequest.go @@ -0,0 +1,161 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package iam + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Updates an existing delegation request with additional information. When the +// delegation request is updated, it reaches the PENDING_APPROVAL state. +// +// Once a delegation request has an owner, that owner gets a default permission to +// update the delegation request. For more details, see [Managing Permissions for Delegation Requests]. +// +// [Managing Permissions for Delegation Requests]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies-temporary-delegation.html#temporary-delegation-managing-permissions +func (c *Client) UpdateDelegationRequest(ctx context.Context, params *UpdateDelegationRequestInput, optFns ...func(*Options)) (*UpdateDelegationRequestOutput, error) { + if params == nil { + params = &UpdateDelegationRequestInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "UpdateDelegationRequest", params, optFns, c.addOperationUpdateDelegationRequestMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*UpdateDelegationRequestOutput) + out.ResultMetadata = metadata + return out, nil +} + +type UpdateDelegationRequestInput struct { + + // The unique identifier of the delegation request to update. + // + // This member is required. + DelegationRequestId *string + + // Additional notes or comments to add to the delegation request. + Notes *string + + noSmithyDocumentSerde +} + +type UpdateDelegationRequestOutput struct { + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationUpdateDelegationRequestMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsAwsquery_serializeOpUpdateDelegationRequest{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsquery_deserializeOpUpdateDelegationRequest{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "UpdateDelegationRequest"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpUpdateDelegationRequestValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDelegationRequest(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opUpdateDelegationRequest(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "UpdateDelegationRequest", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateGroup.go index bbfb72de14..d955a807b1 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateGroup.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateGroup.go @@ -175,40 +175,7 @@ func (c *Client) addOperationUpdateGroupMiddlewares(stack *middleware.Stack, opt if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateLoginProfile.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateLoginProfile.go index e4d028134f..09414c741c 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateLoginProfile.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateLoginProfile.go @@ -177,40 +177,7 @@ func (c *Client) addOperationUpdateLoginProfileMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateOpenIDConnectProviderThumbprint.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateOpenIDConnectProviderThumbprint.go index ddacf14abd..43ca0dfc3d 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateOpenIDConnectProviderThumbprint.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateOpenIDConnectProviderThumbprint.go @@ -172,40 +172,7 @@ func (c *Client) addOperationUpdateOpenIDConnectProviderThumbprintMiddlewares(st if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateRole.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateRole.go index e6d9f1b2b1..924e73cfbf 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateRole.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateRole.go @@ -161,40 +161,7 @@ func (c *Client) addOperationUpdateRoleMiddlewares(stack *middleware.Stack, opti if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateRoleDescription.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateRoleDescription.go index 5f48026ccd..48bc523342 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateRoleDescription.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateRoleDescription.go @@ -152,40 +152,7 @@ func (c *Client) addOperationUpdateRoleDescriptionMiddlewares(stack *middleware. if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateSAMLProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateSAMLProvider.go index 3a05a96942..0446637530 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateSAMLProvider.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateSAMLProvider.go @@ -170,40 +170,7 @@ func (c *Client) addOperationUpdateSAMLProviderMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateSSHPublicKey.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateSSHPublicKey.go index b0eab0bdfb..a92ca36787 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateSSHPublicKey.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateSSHPublicKey.go @@ -171,40 +171,7 @@ func (c *Client) addOperationUpdateSSHPublicKeyMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateServerCertificate.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateServerCertificate.go index 23554b85e5..1e9c70abcf 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateServerCertificate.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateServerCertificate.go @@ -186,40 +186,7 @@ func (c *Client) addOperationUpdateServerCertificateMiddlewares(stack *middlewar if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateServiceSpecificCredential.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateServiceSpecificCredential.go index 508a336fc9..8554c688be 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateServiceSpecificCredential.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateServiceSpecificCredential.go @@ -162,40 +162,7 @@ func (c *Client) addOperationUpdateServiceSpecificCredentialMiddlewares(stack *m if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateSigningCertificate.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateSigningCertificate.go index b6119daeae..f56293dd70 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateSigningCertificate.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateSigningCertificate.go @@ -168,40 +168,7 @@ func (c *Client) addOperationUpdateSigningCertificateMiddlewares(stack *middlewa if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateUser.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateUser.go index b427315737..a3b76a7c3b 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateUser.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateUser.go @@ -176,40 +176,7 @@ func (c *Client) addOperationUpdateUserMiddlewares(stack *middleware.Stack, opti if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UploadSSHPublicKey.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UploadSSHPublicKey.go index 385922b986..0879342601 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UploadSSHPublicKey.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UploadSSHPublicKey.go @@ -179,40 +179,7 @@ func (c *Client) addOperationUploadSSHPublicKeyMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UploadServerCertificate.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UploadServerCertificate.go index 855752b05f..e192c72d2e 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UploadServerCertificate.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UploadServerCertificate.go @@ -274,40 +274,7 @@ func (c *Client) addOperationUploadServerCertificateMiddlewares(stack *middlewar if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UploadSigningCertificate.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UploadSigningCertificate.go index b49267e574..e44b71d4c4 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UploadSigningCertificate.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UploadSigningCertificate.go @@ -193,40 +193,7 @@ func (c *Client) addOperationUploadSigningCertificateMiddlewares(stack *middlewa if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/auth.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/auth.go index 9eac0615de..933038a6ac 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/auth.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/auth.go @@ -16,8 +16,9 @@ import ( "strings" ) -func bindAuthParamsRegion(_ interface{}, params *AuthResolverParameters, _ interface{}, options Options) { +func bindAuthParamsRegion(_ interface{}, params *AuthResolverParameters, _ interface{}, options Options) error { params.Region = options.Region + return nil } type setLegacyContextSigningOptionsMiddleware struct { @@ -94,14 +95,16 @@ type AuthResolverParameters struct { Region string } -func bindAuthResolverParams(ctx context.Context, operation string, input interface{}, options Options) *AuthResolverParameters { +func bindAuthResolverParams(ctx context.Context, operation string, input interface{}, options Options) (*AuthResolverParameters, error) { params := &AuthResolverParameters{ Operation: operation, } - bindAuthParamsRegion(ctx, params, input, options) + if err := bindAuthParamsRegion(ctx, params, input, options); err != nil { + return nil, err + } - return params + return params, nil } // AuthSchemeResolver returns a set of possible authentication options for an @@ -152,7 +155,10 @@ func (m *resolveAuthSchemeMiddleware) HandleFinalize(ctx context.Context, in mid _, span := tracing.StartSpan(ctx, "ResolveAuthScheme") defer span.End() - params := bindAuthResolverParams(ctx, m.operation, getOperationInput(ctx), m.options) + params, err := bindAuthResolverParams(ctx, m.operation, getOperationInput(ctx), m.options) + if err != nil { + return out, metadata, fmt.Errorf("bind auth scheme params: %w", err) + } options, err := m.options.AuthSchemeResolver.ResolveAuthSchemes(ctx, params) if err != nil { return out, metadata, fmt.Errorf("resolve auth scheme: %w", err) diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/deserializers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/deserializers.go index 32c3ca27b2..e315b56183 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/deserializers.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/deserializers.go @@ -25,6 +25,89 @@ import ( "strings" ) +type awsAwsquery_deserializeOpAcceptDelegationRequest struct { +} + +func (*awsAwsquery_deserializeOpAcceptDelegationRequest) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsquery_deserializeOpAcceptDelegationRequest) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsquery_deserializeOpErrorAcceptDelegationRequest(response, &metadata) + } + output := &AcceptDelegationRequestOutput{} + out.Result = output + + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), + } + } + + return out, metadata, err +} + +func awsAwsquery_deserializeOpErrorAcceptDelegationRequest(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("ConcurrentModification", errorCode): + return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) + + case strings.EqualFold("NoSuchEntity", errorCode): + return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + + case strings.EqualFold("ServiceFailure", errorCode): + return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + type awsAwsquery_deserializeOpAddClientIDToOpenIDConnectProvider struct { } @@ -89,6 +172,9 @@ func awsAwsquery_deserializeOpErrorAddClientIDToOpenIDConnectProvider(response * } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("ConcurrentModification", errorCode): + return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) + case strings.EqualFold("InvalidInput", errorCode): return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) @@ -283,6 +369,92 @@ func awsAwsquery_deserializeOpErrorAddUserToGroup(response *smithyhttp.Response, } } +type awsAwsquery_deserializeOpAssociateDelegationRequest struct { +} + +func (*awsAwsquery_deserializeOpAssociateDelegationRequest) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsquery_deserializeOpAssociateDelegationRequest) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsquery_deserializeOpErrorAssociateDelegationRequest(response, &metadata) + } + output := &AssociateDelegationRequestOutput{} + out.Result = output + + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), + } + } + + return out, metadata, err +} + +func awsAwsquery_deserializeOpErrorAssociateDelegationRequest(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("ConcurrentModification", errorCode): + return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) + + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + + case strings.EqualFold("NoSuchEntity", errorCode): + return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + + case strings.EqualFold("ServiceFailure", errorCode): + return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + type awsAwsquery_deserializeOpAttachGroupPolicy struct { } @@ -849,14 +1021,14 @@ func awsAwsquery_deserializeOpErrorCreateAccountAlias(response *smithyhttp.Respo } } -type awsAwsquery_deserializeOpCreateGroup struct { +type awsAwsquery_deserializeOpCreateDelegationRequest struct { } -func (*awsAwsquery_deserializeOpCreateGroup) ID() string { +func (*awsAwsquery_deserializeOpCreateDelegationRequest) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpCreateGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpCreateDelegationRequest) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -874,9 +1046,9 @@ func (m *awsAwsquery_deserializeOpCreateGroup) HandleDeserialize(ctx context.Con } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorCreateGroup(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorCreateDelegationRequest(response, &metadata) } - output := &CreateGroupOutput{} + output := &CreateDelegationRequestOutput{} out.Result = output var buff [1024]byte @@ -897,7 +1069,7 @@ func (m *awsAwsquery_deserializeOpCreateGroup) HandleDeserialize(ctx context.Con } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("CreateGroupResult") + t, err = decoder.GetElement("CreateDelegationRequestResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -909,7 +1081,7 @@ func (m *awsAwsquery_deserializeOpCreateGroup) HandleDeserialize(ctx context.Con } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentCreateGroupOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentCreateDelegationRequestOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -923,7 +1095,7 @@ func (m *awsAwsquery_deserializeOpCreateGroup) HandleDeserialize(ctx context.Con return out, metadata, err } -func awsAwsquery_deserializeOpErrorCreateGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorCreateDelegationRequest(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -948,15 +1120,18 @@ func awsAwsquery_deserializeOpErrorCreateGroup(response *smithyhttp.Response, me } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("ConcurrentModification", errorCode): + return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) + case strings.EqualFold("EntityAlreadyExists", errorCode): return awsAwsquery_deserializeErrorEntityAlreadyExistsException(response, errorBody) + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + case strings.EqualFold("LimitExceeded", errorCode): return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) - case strings.EqualFold("NoSuchEntity", errorCode): - return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) - case strings.EqualFold("ServiceFailure", errorCode): return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) @@ -970,14 +1145,14 @@ func awsAwsquery_deserializeOpErrorCreateGroup(response *smithyhttp.Response, me } } -type awsAwsquery_deserializeOpCreateInstanceProfile struct { +type awsAwsquery_deserializeOpCreateGroup struct { } -func (*awsAwsquery_deserializeOpCreateInstanceProfile) ID() string { +func (*awsAwsquery_deserializeOpCreateGroup) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpCreateInstanceProfile) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpCreateGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -995,9 +1170,9 @@ func (m *awsAwsquery_deserializeOpCreateInstanceProfile) HandleDeserialize(ctx c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorCreateInstanceProfile(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorCreateGroup(response, &metadata) } - output := &CreateInstanceProfileOutput{} + output := &CreateGroupOutput{} out.Result = output var buff [1024]byte @@ -1018,7 +1193,7 @@ func (m *awsAwsquery_deserializeOpCreateInstanceProfile) HandleDeserialize(ctx c } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("CreateInstanceProfileResult") + t, err = decoder.GetElement("CreateGroupResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -1030,7 +1205,7 @@ func (m *awsAwsquery_deserializeOpCreateInstanceProfile) HandleDeserialize(ctx c } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentCreateInstanceProfileOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentCreateGroupOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -1044,7 +1219,7 @@ func (m *awsAwsquery_deserializeOpCreateInstanceProfile) HandleDeserialize(ctx c return out, metadata, err } -func awsAwsquery_deserializeOpErrorCreateInstanceProfile(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorCreateGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -1069,18 +1244,15 @@ func awsAwsquery_deserializeOpErrorCreateInstanceProfile(response *smithyhttp.Re } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("ConcurrentModification", errorCode): - return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) - case strings.EqualFold("EntityAlreadyExists", errorCode): return awsAwsquery_deserializeErrorEntityAlreadyExistsException(response, errorBody) - case strings.EqualFold("InvalidInput", errorCode): - return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) - case strings.EqualFold("LimitExceeded", errorCode): return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) + case strings.EqualFold("NoSuchEntity", errorCode): + return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + case strings.EqualFold("ServiceFailure", errorCode): return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) @@ -1094,14 +1266,14 @@ func awsAwsquery_deserializeOpErrorCreateInstanceProfile(response *smithyhttp.Re } } -type awsAwsquery_deserializeOpCreateLoginProfile struct { +type awsAwsquery_deserializeOpCreateInstanceProfile struct { } -func (*awsAwsquery_deserializeOpCreateLoginProfile) ID() string { +func (*awsAwsquery_deserializeOpCreateInstanceProfile) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpCreateLoginProfile) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpCreateInstanceProfile) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -1119,9 +1291,9 @@ func (m *awsAwsquery_deserializeOpCreateLoginProfile) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorCreateLoginProfile(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorCreateInstanceProfile(response, &metadata) } - output := &CreateLoginProfileOutput{} + output := &CreateInstanceProfileOutput{} out.Result = output var buff [1024]byte @@ -1142,7 +1314,7 @@ func (m *awsAwsquery_deserializeOpCreateLoginProfile) HandleDeserialize(ctx cont } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("CreateLoginProfileResult") + t, err = decoder.GetElement("CreateInstanceProfileResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -1154,7 +1326,7 @@ func (m *awsAwsquery_deserializeOpCreateLoginProfile) HandleDeserialize(ctx cont } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentCreateLoginProfileOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentCreateInstanceProfileOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -1168,7 +1340,7 @@ func (m *awsAwsquery_deserializeOpCreateLoginProfile) HandleDeserialize(ctx cont return out, metadata, err } -func awsAwsquery_deserializeOpErrorCreateLoginProfile(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorCreateInstanceProfile(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -1193,18 +1365,18 @@ func awsAwsquery_deserializeOpErrorCreateLoginProfile(response *smithyhttp.Respo } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("ConcurrentModification", errorCode): + return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) + case strings.EqualFold("EntityAlreadyExists", errorCode): return awsAwsquery_deserializeErrorEntityAlreadyExistsException(response, errorBody) + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + case strings.EqualFold("LimitExceeded", errorCode): return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) - case strings.EqualFold("NoSuchEntity", errorCode): - return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) - - case strings.EqualFold("PasswordPolicyViolation", errorCode): - return awsAwsquery_deserializeErrorPasswordPolicyViolationException(response, errorBody) - case strings.EqualFold("ServiceFailure", errorCode): return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) @@ -1218,14 +1390,14 @@ func awsAwsquery_deserializeOpErrorCreateLoginProfile(response *smithyhttp.Respo } } -type awsAwsquery_deserializeOpCreateOpenIDConnectProvider struct { +type awsAwsquery_deserializeOpCreateLoginProfile struct { } -func (*awsAwsquery_deserializeOpCreateOpenIDConnectProvider) ID() string { +func (*awsAwsquery_deserializeOpCreateLoginProfile) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpCreateOpenIDConnectProvider) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpCreateLoginProfile) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -1243,9 +1415,9 @@ func (m *awsAwsquery_deserializeOpCreateOpenIDConnectProvider) HandleDeserialize } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorCreateOpenIDConnectProvider(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorCreateLoginProfile(response, &metadata) } - output := &CreateOpenIDConnectProviderOutput{} + output := &CreateLoginProfileOutput{} out.Result = output var buff [1024]byte @@ -1266,7 +1438,7 @@ func (m *awsAwsquery_deserializeOpCreateOpenIDConnectProvider) HandleDeserialize } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("CreateOpenIDConnectProviderResult") + t, err = decoder.GetElement("CreateLoginProfileResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -1278,7 +1450,7 @@ func (m *awsAwsquery_deserializeOpCreateOpenIDConnectProvider) HandleDeserialize } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentCreateOpenIDConnectProviderOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentCreateLoginProfileOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -1292,7 +1464,7 @@ func (m *awsAwsquery_deserializeOpCreateOpenIDConnectProvider) HandleDeserialize return out, metadata, err } -func awsAwsquery_deserializeOpErrorCreateOpenIDConnectProvider(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorCreateLoginProfile(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -1317,20 +1489,144 @@ func awsAwsquery_deserializeOpErrorCreateOpenIDConnectProvider(response *smithyh } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("ConcurrentModification", errorCode): - return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) - case strings.EqualFold("EntityAlreadyExists", errorCode): return awsAwsquery_deserializeErrorEntityAlreadyExistsException(response, errorBody) - case strings.EqualFold("InvalidInput", errorCode): - return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) - case strings.EqualFold("LimitExceeded", errorCode): return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) - case strings.EqualFold("OpenIdIdpCommunicationError", errorCode): - return awsAwsquery_deserializeErrorOpenIdIdpCommunicationErrorException(response, errorBody) + case strings.EqualFold("NoSuchEntity", errorCode): + return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + + case strings.EqualFold("PasswordPolicyViolation", errorCode): + return awsAwsquery_deserializeErrorPasswordPolicyViolationException(response, errorBody) + + case strings.EqualFold("ServiceFailure", errorCode): + return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsquery_deserializeOpCreateOpenIDConnectProvider struct { +} + +func (*awsAwsquery_deserializeOpCreateOpenIDConnectProvider) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsquery_deserializeOpCreateOpenIDConnectProvider) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsquery_deserializeOpErrorCreateOpenIDConnectProvider(response, &metadata) + } + output := &CreateOpenIDConnectProviderOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + t, err = decoder.GetElement("CreateOpenIDConnectProviderResult") + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) + err = awsAwsquery_deserializeOpDocumentCreateOpenIDConnectProviderOutput(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsquery_deserializeOpErrorCreateOpenIDConnectProvider(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("ConcurrentModification", errorCode): + return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) + + case strings.EqualFold("EntityAlreadyExists", errorCode): + return awsAwsquery_deserializeErrorEntityAlreadyExistsException(response, errorBody) + + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + + case strings.EqualFold("LimitExceeded", errorCode): + return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) + + case strings.EqualFold("OpenIdIdpCommunicationError", errorCode): + return awsAwsquery_deserializeErrorOpenIdIdpCommunicationErrorException(response, errorBody) case strings.EqualFold("ServiceFailure", errorCode): return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) @@ -4915,6 +5211,83 @@ func awsAwsquery_deserializeOpErrorDisableOrganizationsRootSessions(response *sm } } +type awsAwsquery_deserializeOpDisableOutboundWebIdentityFederation struct { +} + +func (*awsAwsquery_deserializeOpDisableOutboundWebIdentityFederation) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsquery_deserializeOpDisableOutboundWebIdentityFederation) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsquery_deserializeOpErrorDisableOutboundWebIdentityFederation(response, &metadata) + } + output := &DisableOutboundWebIdentityFederationOutput{} + out.Result = output + + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), + } + } + + return out, metadata, err +} + +func awsAwsquery_deserializeOpErrorDisableOutboundWebIdentityFederation(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("FeatureDisabled", errorCode): + return awsAwsquery_deserializeErrorFeatureDisabledException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + type awsAwsquery_deserializeOpEnableMFADevice struct { } @@ -5258,14 +5631,14 @@ func awsAwsquery_deserializeOpErrorEnableOrganizationsRootSessions(response *smi } } -type awsAwsquery_deserializeOpGenerateCredentialReport struct { +type awsAwsquery_deserializeOpEnableOutboundWebIdentityFederation struct { } -func (*awsAwsquery_deserializeOpGenerateCredentialReport) ID() string { +func (*awsAwsquery_deserializeOpEnableOutboundWebIdentityFederation) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpGenerateCredentialReport) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpEnableOutboundWebIdentityFederation) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -5283,9 +5656,9 @@ func (m *awsAwsquery_deserializeOpGenerateCredentialReport) HandleDeserialize(ct } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorGenerateCredentialReport(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorEnableOutboundWebIdentityFederation(response, &metadata) } - output := &GenerateCredentialReportOutput{} + output := &EnableOutboundWebIdentityFederationOutput{} out.Result = output var buff [1024]byte @@ -5306,7 +5679,7 @@ func (m *awsAwsquery_deserializeOpGenerateCredentialReport) HandleDeserialize(ct } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("GenerateCredentialReportResult") + t, err = decoder.GetElement("EnableOutboundWebIdentityFederationResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -5318,7 +5691,7 @@ func (m *awsAwsquery_deserializeOpGenerateCredentialReport) HandleDeserialize(ct } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentGenerateCredentialReportOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentEnableOutboundWebIdentityFederationOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -5332,7 +5705,7 @@ func (m *awsAwsquery_deserializeOpGenerateCredentialReport) HandleDeserialize(ct return out, metadata, err } -func awsAwsquery_deserializeOpErrorGenerateCredentialReport(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorEnableOutboundWebIdentityFederation(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -5357,11 +5730,8 @@ func awsAwsquery_deserializeOpErrorGenerateCredentialReport(response *smithyhttp } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("LimitExceeded", errorCode): - return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) - - case strings.EqualFold("ServiceFailure", errorCode): - return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) + case strings.EqualFold("FeatureEnabled", errorCode): + return awsAwsquery_deserializeErrorFeatureEnabledException(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -5373,14 +5743,14 @@ func awsAwsquery_deserializeOpErrorGenerateCredentialReport(response *smithyhttp } } -type awsAwsquery_deserializeOpGenerateOrganizationsAccessReport struct { +type awsAwsquery_deserializeOpGenerateCredentialReport struct { } -func (*awsAwsquery_deserializeOpGenerateOrganizationsAccessReport) ID() string { +func (*awsAwsquery_deserializeOpGenerateCredentialReport) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpGenerateOrganizationsAccessReport) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpGenerateCredentialReport) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -5398,9 +5768,9 @@ func (m *awsAwsquery_deserializeOpGenerateOrganizationsAccessReport) HandleDeser } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorGenerateOrganizationsAccessReport(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorGenerateCredentialReport(response, &metadata) } - output := &GenerateOrganizationsAccessReportOutput{} + output := &GenerateCredentialReportOutput{} out.Result = output var buff [1024]byte @@ -5421,7 +5791,7 @@ func (m *awsAwsquery_deserializeOpGenerateOrganizationsAccessReport) HandleDeser } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("GenerateOrganizationsAccessReportResult") + t, err = decoder.GetElement("GenerateCredentialReportResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -5433,7 +5803,7 @@ func (m *awsAwsquery_deserializeOpGenerateOrganizationsAccessReport) HandleDeser } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentGenerateOrganizationsAccessReportOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentGenerateCredentialReportOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -5447,7 +5817,7 @@ func (m *awsAwsquery_deserializeOpGenerateOrganizationsAccessReport) HandleDeser return out, metadata, err } -func awsAwsquery_deserializeOpErrorGenerateOrganizationsAccessReport(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorGenerateCredentialReport(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -5472,8 +5842,11 @@ func awsAwsquery_deserializeOpErrorGenerateOrganizationsAccessReport(response *s } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("ReportGenerationLimitExceeded", errorCode): - return awsAwsquery_deserializeErrorReportGenerationLimitExceededException(response, errorBody) + case strings.EqualFold("LimitExceeded", errorCode): + return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) + + case strings.EqualFold("ServiceFailure", errorCode): + return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -5485,14 +5858,14 @@ func awsAwsquery_deserializeOpErrorGenerateOrganizationsAccessReport(response *s } } -type awsAwsquery_deserializeOpGenerateServiceLastAccessedDetails struct { +type awsAwsquery_deserializeOpGenerateOrganizationsAccessReport struct { } -func (*awsAwsquery_deserializeOpGenerateServiceLastAccessedDetails) ID() string { +func (*awsAwsquery_deserializeOpGenerateOrganizationsAccessReport) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpGenerateServiceLastAccessedDetails) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpGenerateOrganizationsAccessReport) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -5510,9 +5883,9 @@ func (m *awsAwsquery_deserializeOpGenerateServiceLastAccessedDetails) HandleDese } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorGenerateServiceLastAccessedDetails(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorGenerateOrganizationsAccessReport(response, &metadata) } - output := &GenerateServiceLastAccessedDetailsOutput{} + output := &GenerateOrganizationsAccessReportOutput{} out.Result = output var buff [1024]byte @@ -5533,7 +5906,7 @@ func (m *awsAwsquery_deserializeOpGenerateServiceLastAccessedDetails) HandleDese } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("GenerateServiceLastAccessedDetailsResult") + t, err = decoder.GetElement("GenerateOrganizationsAccessReportResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -5545,7 +5918,7 @@ func (m *awsAwsquery_deserializeOpGenerateServiceLastAccessedDetails) HandleDese } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentGenerateServiceLastAccessedDetailsOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentGenerateOrganizationsAccessReportOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -5559,7 +5932,7 @@ func (m *awsAwsquery_deserializeOpGenerateServiceLastAccessedDetails) HandleDese return out, metadata, err } -func awsAwsquery_deserializeOpErrorGenerateServiceLastAccessedDetails(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorGenerateOrganizationsAccessReport(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -5584,10 +5957,122 @@ func awsAwsquery_deserializeOpErrorGenerateServiceLastAccessedDetails(response * } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("InvalidInput", errorCode): - return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + case strings.EqualFold("ReportGenerationLimitExceeded", errorCode): + return awsAwsquery_deserializeErrorReportGenerationLimitExceededException(response, errorBody) - case strings.EqualFold("NoSuchEntity", errorCode): + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsquery_deserializeOpGenerateServiceLastAccessedDetails struct { +} + +func (*awsAwsquery_deserializeOpGenerateServiceLastAccessedDetails) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsquery_deserializeOpGenerateServiceLastAccessedDetails) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsquery_deserializeOpErrorGenerateServiceLastAccessedDetails(response, &metadata) + } + output := &GenerateServiceLastAccessedDetailsOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + t, err = decoder.GetElement("GenerateServiceLastAccessedDetailsResult") + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) + err = awsAwsquery_deserializeOpDocumentGenerateServiceLastAccessedDetailsOutput(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsquery_deserializeOpErrorGenerateServiceLastAccessedDetails(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + + case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) default: @@ -6396,14 +6881,14 @@ func awsAwsquery_deserializeOpErrorGetCredentialReport(response *smithyhttp.Resp } } -type awsAwsquery_deserializeOpGetGroup struct { +type awsAwsquery_deserializeOpGetDelegationRequest struct { } -func (*awsAwsquery_deserializeOpGetGroup) ID() string { +func (*awsAwsquery_deserializeOpGetDelegationRequest) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpGetGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpGetDelegationRequest) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -6421,9 +6906,9 @@ func (m *awsAwsquery_deserializeOpGetGroup) HandleDeserialize(ctx context.Contex } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorGetGroup(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorGetDelegationRequest(response, &metadata) } - output := &GetGroupOutput{} + output := &GetDelegationRequestOutput{} out.Result = output var buff [1024]byte @@ -6444,7 +6929,7 @@ func (m *awsAwsquery_deserializeOpGetGroup) HandleDeserialize(ctx context.Contex } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("GetGroupResult") + t, err = decoder.GetElement("GetDelegationRequestResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -6456,7 +6941,7 @@ func (m *awsAwsquery_deserializeOpGetGroup) HandleDeserialize(ctx context.Contex } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentGetGroupOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentGetDelegationRequestOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -6470,7 +6955,7 @@ func (m *awsAwsquery_deserializeOpGetGroup) HandleDeserialize(ctx context.Contex return out, metadata, err } -func awsAwsquery_deserializeOpErrorGetGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorGetDelegationRequest(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -6511,14 +6996,14 @@ func awsAwsquery_deserializeOpErrorGetGroup(response *smithyhttp.Response, metad } } -type awsAwsquery_deserializeOpGetGroupPolicy struct { +type awsAwsquery_deserializeOpGetGroup struct { } -func (*awsAwsquery_deserializeOpGetGroupPolicy) ID() string { +func (*awsAwsquery_deserializeOpGetGroup) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpGetGroupPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpGetGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -6536,9 +7021,9 @@ func (m *awsAwsquery_deserializeOpGetGroupPolicy) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorGetGroupPolicy(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorGetGroup(response, &metadata) } - output := &GetGroupPolicyOutput{} + output := &GetGroupOutput{} out.Result = output var buff [1024]byte @@ -6559,7 +7044,7 @@ func (m *awsAwsquery_deserializeOpGetGroupPolicy) HandleDeserialize(ctx context. } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("GetGroupPolicyResult") + t, err = decoder.GetElement("GetGroupResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -6571,7 +7056,7 @@ func (m *awsAwsquery_deserializeOpGetGroupPolicy) HandleDeserialize(ctx context. } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentGetGroupPolicyOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentGetGroupOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -6585,7 +7070,7 @@ func (m *awsAwsquery_deserializeOpGetGroupPolicy) HandleDeserialize(ctx context. return out, metadata, err } -func awsAwsquery_deserializeOpErrorGetGroupPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorGetGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -6626,14 +7111,14 @@ func awsAwsquery_deserializeOpErrorGetGroupPolicy(response *smithyhttp.Response, } } -type awsAwsquery_deserializeOpGetInstanceProfile struct { +type awsAwsquery_deserializeOpGetGroupPolicy struct { } -func (*awsAwsquery_deserializeOpGetInstanceProfile) ID() string { +func (*awsAwsquery_deserializeOpGetGroupPolicy) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpGetInstanceProfile) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpGetGroupPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -6651,9 +7136,9 @@ func (m *awsAwsquery_deserializeOpGetInstanceProfile) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorGetInstanceProfile(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorGetGroupPolicy(response, &metadata) } - output := &GetInstanceProfileOutput{} + output := &GetGroupPolicyOutput{} out.Result = output var buff [1024]byte @@ -6674,7 +7159,7 @@ func (m *awsAwsquery_deserializeOpGetInstanceProfile) HandleDeserialize(ctx cont } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("GetInstanceProfileResult") + t, err = decoder.GetElement("GetGroupPolicyResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -6686,7 +7171,7 @@ func (m *awsAwsquery_deserializeOpGetInstanceProfile) HandleDeserialize(ctx cont } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentGetInstanceProfileOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentGetGroupPolicyOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -6700,7 +7185,7 @@ func (m *awsAwsquery_deserializeOpGetInstanceProfile) HandleDeserialize(ctx cont return out, metadata, err } -func awsAwsquery_deserializeOpErrorGetInstanceProfile(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorGetGroupPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -6741,14 +7226,14 @@ func awsAwsquery_deserializeOpErrorGetInstanceProfile(response *smithyhttp.Respo } } -type awsAwsquery_deserializeOpGetLoginProfile struct { +type awsAwsquery_deserializeOpGetHumanReadableSummary struct { } -func (*awsAwsquery_deserializeOpGetLoginProfile) ID() string { +func (*awsAwsquery_deserializeOpGetHumanReadableSummary) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpGetLoginProfile) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpGetHumanReadableSummary) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -6766,9 +7251,9 @@ func (m *awsAwsquery_deserializeOpGetLoginProfile) HandleDeserialize(ctx context } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorGetLoginProfile(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorGetHumanReadableSummary(response, &metadata) } - output := &GetLoginProfileOutput{} + output := &GetHumanReadableSummaryOutput{} out.Result = output var buff [1024]byte @@ -6789,7 +7274,7 @@ func (m *awsAwsquery_deserializeOpGetLoginProfile) HandleDeserialize(ctx context } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("GetLoginProfileResult") + t, err = decoder.GetElement("GetHumanReadableSummaryResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -6801,7 +7286,7 @@ func (m *awsAwsquery_deserializeOpGetLoginProfile) HandleDeserialize(ctx context } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentGetLoginProfileOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentGetHumanReadableSummaryOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -6815,7 +7300,7 @@ func (m *awsAwsquery_deserializeOpGetLoginProfile) HandleDeserialize(ctx context return out, metadata, err } -func awsAwsquery_deserializeOpErrorGetLoginProfile(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorGetHumanReadableSummary(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -6840,6 +7325,9 @@ func awsAwsquery_deserializeOpErrorGetLoginProfile(response *smithyhttp.Response } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -6856,14 +7344,14 @@ func awsAwsquery_deserializeOpErrorGetLoginProfile(response *smithyhttp.Response } } -type awsAwsquery_deserializeOpGetMFADevice struct { +type awsAwsquery_deserializeOpGetInstanceProfile struct { } -func (*awsAwsquery_deserializeOpGetMFADevice) ID() string { +func (*awsAwsquery_deserializeOpGetInstanceProfile) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpGetMFADevice) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpGetInstanceProfile) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -6881,9 +7369,9 @@ func (m *awsAwsquery_deserializeOpGetMFADevice) HandleDeserialize(ctx context.Co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorGetMFADevice(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorGetInstanceProfile(response, &metadata) } - output := &GetMFADeviceOutput{} + output := &GetInstanceProfileOutput{} out.Result = output var buff [1024]byte @@ -6904,7 +7392,7 @@ func (m *awsAwsquery_deserializeOpGetMFADevice) HandleDeserialize(ctx context.Co } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("GetMFADeviceResult") + t, err = decoder.GetElement("GetInstanceProfileResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -6916,7 +7404,7 @@ func (m *awsAwsquery_deserializeOpGetMFADevice) HandleDeserialize(ctx context.Co } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentGetMFADeviceOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentGetInstanceProfileOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -6930,7 +7418,7 @@ func (m *awsAwsquery_deserializeOpGetMFADevice) HandleDeserialize(ctx context.Co return out, metadata, err } -func awsAwsquery_deserializeOpErrorGetMFADevice(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorGetInstanceProfile(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -6971,14 +7459,14 @@ func awsAwsquery_deserializeOpErrorGetMFADevice(response *smithyhttp.Response, m } } -type awsAwsquery_deserializeOpGetOpenIDConnectProvider struct { +type awsAwsquery_deserializeOpGetLoginProfile struct { } -func (*awsAwsquery_deserializeOpGetOpenIDConnectProvider) ID() string { +func (*awsAwsquery_deserializeOpGetLoginProfile) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpGetOpenIDConnectProvider) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpGetLoginProfile) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -6996,9 +7484,9 @@ func (m *awsAwsquery_deserializeOpGetOpenIDConnectProvider) HandleDeserialize(ct } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorGetOpenIDConnectProvider(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorGetLoginProfile(response, &metadata) } - output := &GetOpenIDConnectProviderOutput{} + output := &GetLoginProfileOutput{} out.Result = output var buff [1024]byte @@ -7019,7 +7507,7 @@ func (m *awsAwsquery_deserializeOpGetOpenIDConnectProvider) HandleDeserialize(ct } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("GetOpenIDConnectProviderResult") + t, err = decoder.GetElement("GetLoginProfileResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7031,7 +7519,7 @@ func (m *awsAwsquery_deserializeOpGetOpenIDConnectProvider) HandleDeserialize(ct } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentGetOpenIDConnectProviderOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentGetLoginProfileOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7045,7 +7533,7 @@ func (m *awsAwsquery_deserializeOpGetOpenIDConnectProvider) HandleDeserialize(ct return out, metadata, err } -func awsAwsquery_deserializeOpErrorGetOpenIDConnectProvider(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorGetLoginProfile(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7070,9 +7558,6 @@ func awsAwsquery_deserializeOpErrorGetOpenIDConnectProvider(response *smithyhttp } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("InvalidInput", errorCode): - return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) - case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -7089,14 +7574,14 @@ func awsAwsquery_deserializeOpErrorGetOpenIDConnectProvider(response *smithyhttp } } -type awsAwsquery_deserializeOpGetOrganizationsAccessReport struct { +type awsAwsquery_deserializeOpGetMFADevice struct { } -func (*awsAwsquery_deserializeOpGetOrganizationsAccessReport) ID() string { +func (*awsAwsquery_deserializeOpGetMFADevice) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpGetOrganizationsAccessReport) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpGetMFADevice) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7114,9 +7599,9 @@ func (m *awsAwsquery_deserializeOpGetOrganizationsAccessReport) HandleDeserializ } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorGetOrganizationsAccessReport(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorGetMFADevice(response, &metadata) } - output := &GetOrganizationsAccessReportOutput{} + output := &GetMFADeviceOutput{} out.Result = output var buff [1024]byte @@ -7137,7 +7622,7 @@ func (m *awsAwsquery_deserializeOpGetOrganizationsAccessReport) HandleDeserializ } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("GetOrganizationsAccessReportResult") + t, err = decoder.GetElement("GetMFADeviceResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7149,7 +7634,7 @@ func (m *awsAwsquery_deserializeOpGetOrganizationsAccessReport) HandleDeserializ } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentGetOrganizationsAccessReportOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentGetMFADeviceOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7163,7 +7648,7 @@ func (m *awsAwsquery_deserializeOpGetOrganizationsAccessReport) HandleDeserializ return out, metadata, err } -func awsAwsquery_deserializeOpErrorGetOrganizationsAccessReport(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorGetMFADevice(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7191,6 +7676,9 @@ func awsAwsquery_deserializeOpErrorGetOrganizationsAccessReport(response *smithy case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + case strings.EqualFold("ServiceFailure", errorCode): + return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -7201,14 +7689,14 @@ func awsAwsquery_deserializeOpErrorGetOrganizationsAccessReport(response *smithy } } -type awsAwsquery_deserializeOpGetPolicy struct { +type awsAwsquery_deserializeOpGetOpenIDConnectProvider struct { } -func (*awsAwsquery_deserializeOpGetPolicy) ID() string { +func (*awsAwsquery_deserializeOpGetOpenIDConnectProvider) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpGetPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpGetOpenIDConnectProvider) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7226,9 +7714,9 @@ func (m *awsAwsquery_deserializeOpGetPolicy) HandleDeserialize(ctx context.Conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorGetPolicy(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorGetOpenIDConnectProvider(response, &metadata) } - output := &GetPolicyOutput{} + output := &GetOpenIDConnectProviderOutput{} out.Result = output var buff [1024]byte @@ -7249,7 +7737,7 @@ func (m *awsAwsquery_deserializeOpGetPolicy) HandleDeserialize(ctx context.Conte } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("GetPolicyResult") + t, err = decoder.GetElement("GetOpenIDConnectProviderResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7261,7 +7749,7 @@ func (m *awsAwsquery_deserializeOpGetPolicy) HandleDeserialize(ctx context.Conte } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentGetPolicyOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentGetOpenIDConnectProviderOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7275,7 +7763,7 @@ func (m *awsAwsquery_deserializeOpGetPolicy) HandleDeserialize(ctx context.Conte return out, metadata, err } -func awsAwsquery_deserializeOpErrorGetPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorGetOpenIDConnectProvider(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7319,14 +7807,14 @@ func awsAwsquery_deserializeOpErrorGetPolicy(response *smithyhttp.Response, meta } } -type awsAwsquery_deserializeOpGetPolicyVersion struct { +type awsAwsquery_deserializeOpGetOrganizationsAccessReport struct { } -func (*awsAwsquery_deserializeOpGetPolicyVersion) ID() string { +func (*awsAwsquery_deserializeOpGetOrganizationsAccessReport) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpGetPolicyVersion) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpGetOrganizationsAccessReport) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7344,9 +7832,9 @@ func (m *awsAwsquery_deserializeOpGetPolicyVersion) HandleDeserialize(ctx contex } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorGetPolicyVersion(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorGetOrganizationsAccessReport(response, &metadata) } - output := &GetPolicyVersionOutput{} + output := &GetOrganizationsAccessReportOutput{} out.Result = output var buff [1024]byte @@ -7367,7 +7855,7 @@ func (m *awsAwsquery_deserializeOpGetPolicyVersion) HandleDeserialize(ctx contex } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("GetPolicyVersionResult") + t, err = decoder.GetElement("GetOrganizationsAccessReportResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7379,7 +7867,7 @@ func (m *awsAwsquery_deserializeOpGetPolicyVersion) HandleDeserialize(ctx contex } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentGetPolicyVersionOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentGetOrganizationsAccessReportOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7393,7 +7881,7 @@ func (m *awsAwsquery_deserializeOpGetPolicyVersion) HandleDeserialize(ctx contex return out, metadata, err } -func awsAwsquery_deserializeOpErrorGetPolicyVersion(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorGetOrganizationsAccessReport(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7418,15 +7906,9 @@ func awsAwsquery_deserializeOpErrorGetPolicyVersion(response *smithyhttp.Respons } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("InvalidInput", errorCode): - return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) - case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) - case strings.EqualFold("ServiceFailure", errorCode): - return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -7437,14 +7919,14 @@ func awsAwsquery_deserializeOpErrorGetPolicyVersion(response *smithyhttp.Respons } } -type awsAwsquery_deserializeOpGetRole struct { +type awsAwsquery_deserializeOpGetOutboundWebIdentityFederationInfo struct { } -func (*awsAwsquery_deserializeOpGetRole) ID() string { +func (*awsAwsquery_deserializeOpGetOutboundWebIdentityFederationInfo) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpGetRole) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpGetOutboundWebIdentityFederationInfo) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7462,9 +7944,9 @@ func (m *awsAwsquery_deserializeOpGetRole) HandleDeserialize(ctx context.Context } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorGetRole(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorGetOutboundWebIdentityFederationInfo(response, &metadata) } - output := &GetRoleOutput{} + output := &GetOutboundWebIdentityFederationInfoOutput{} out.Result = output var buff [1024]byte @@ -7485,7 +7967,7 @@ func (m *awsAwsquery_deserializeOpGetRole) HandleDeserialize(ctx context.Context } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("GetRoleResult") + t, err = decoder.GetElement("GetOutboundWebIdentityFederationInfoResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7497,7 +7979,7 @@ func (m *awsAwsquery_deserializeOpGetRole) HandleDeserialize(ctx context.Context } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentGetRoleOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentGetOutboundWebIdentityFederationInfoOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7511,7 +7993,7 @@ func (m *awsAwsquery_deserializeOpGetRole) HandleDeserialize(ctx context.Context return out, metadata, err } -func awsAwsquery_deserializeOpErrorGetRole(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorGetOutboundWebIdentityFederationInfo(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7536,11 +8018,8 @@ func awsAwsquery_deserializeOpErrorGetRole(response *smithyhttp.Response, metada } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("NoSuchEntity", errorCode): - return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) - - case strings.EqualFold("ServiceFailure", errorCode): - return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) + case strings.EqualFold("FeatureDisabled", errorCode): + return awsAwsquery_deserializeErrorFeatureDisabledException(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -7552,14 +8031,14 @@ func awsAwsquery_deserializeOpErrorGetRole(response *smithyhttp.Response, metada } } -type awsAwsquery_deserializeOpGetRolePolicy struct { +type awsAwsquery_deserializeOpGetPolicy struct { } -func (*awsAwsquery_deserializeOpGetRolePolicy) ID() string { +func (*awsAwsquery_deserializeOpGetPolicy) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpGetRolePolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpGetPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7577,9 +8056,9 @@ func (m *awsAwsquery_deserializeOpGetRolePolicy) HandleDeserialize(ctx context.C } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorGetRolePolicy(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorGetPolicy(response, &metadata) } - output := &GetRolePolicyOutput{} + output := &GetPolicyOutput{} out.Result = output var buff [1024]byte @@ -7600,7 +8079,7 @@ func (m *awsAwsquery_deserializeOpGetRolePolicy) HandleDeserialize(ctx context.C } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("GetRolePolicyResult") + t, err = decoder.GetElement("GetPolicyResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7612,7 +8091,7 @@ func (m *awsAwsquery_deserializeOpGetRolePolicy) HandleDeserialize(ctx context.C } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentGetRolePolicyOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentGetPolicyOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7626,7 +8105,7 @@ func (m *awsAwsquery_deserializeOpGetRolePolicy) HandleDeserialize(ctx context.C return out, metadata, err } -func awsAwsquery_deserializeOpErrorGetRolePolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorGetPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7651,6 +8130,9 @@ func awsAwsquery_deserializeOpErrorGetRolePolicy(response *smithyhttp.Response, } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -7667,14 +8149,14 @@ func awsAwsquery_deserializeOpErrorGetRolePolicy(response *smithyhttp.Response, } } -type awsAwsquery_deserializeOpGetSAMLProvider struct { +type awsAwsquery_deserializeOpGetPolicyVersion struct { } -func (*awsAwsquery_deserializeOpGetSAMLProvider) ID() string { +func (*awsAwsquery_deserializeOpGetPolicyVersion) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpGetSAMLProvider) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpGetPolicyVersion) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7692,9 +8174,9 @@ func (m *awsAwsquery_deserializeOpGetSAMLProvider) HandleDeserialize(ctx context } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorGetSAMLProvider(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorGetPolicyVersion(response, &metadata) } - output := &GetSAMLProviderOutput{} + output := &GetPolicyVersionOutput{} out.Result = output var buff [1024]byte @@ -7715,7 +8197,7 @@ func (m *awsAwsquery_deserializeOpGetSAMLProvider) HandleDeserialize(ctx context } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("GetSAMLProviderResult") + t, err = decoder.GetElement("GetPolicyVersionResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7727,7 +8209,7 @@ func (m *awsAwsquery_deserializeOpGetSAMLProvider) HandleDeserialize(ctx context } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentGetSAMLProviderOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentGetPolicyVersionOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7741,7 +8223,7 @@ func (m *awsAwsquery_deserializeOpGetSAMLProvider) HandleDeserialize(ctx context return out, metadata, err } -func awsAwsquery_deserializeOpErrorGetSAMLProvider(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorGetPolicyVersion(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7785,14 +8267,14 @@ func awsAwsquery_deserializeOpErrorGetSAMLProvider(response *smithyhttp.Response } } -type awsAwsquery_deserializeOpGetServerCertificate struct { +type awsAwsquery_deserializeOpGetRole struct { } -func (*awsAwsquery_deserializeOpGetServerCertificate) ID() string { +func (*awsAwsquery_deserializeOpGetRole) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpGetServerCertificate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpGetRole) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7810,9 +8292,9 @@ func (m *awsAwsquery_deserializeOpGetServerCertificate) HandleDeserialize(ctx co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorGetServerCertificate(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorGetRole(response, &metadata) } - output := &GetServerCertificateOutput{} + output := &GetRoleOutput{} out.Result = output var buff [1024]byte @@ -7833,7 +8315,7 @@ func (m *awsAwsquery_deserializeOpGetServerCertificate) HandleDeserialize(ctx co } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("GetServerCertificateResult") + t, err = decoder.GetElement("GetRoleResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7845,7 +8327,7 @@ func (m *awsAwsquery_deserializeOpGetServerCertificate) HandleDeserialize(ctx co } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentGetServerCertificateOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentGetRoleOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7859,7 +8341,7 @@ func (m *awsAwsquery_deserializeOpGetServerCertificate) HandleDeserialize(ctx co return out, metadata, err } -func awsAwsquery_deserializeOpErrorGetServerCertificate(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorGetRole(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7900,14 +8382,14 @@ func awsAwsquery_deserializeOpErrorGetServerCertificate(response *smithyhttp.Res } } -type awsAwsquery_deserializeOpGetServiceLastAccessedDetails struct { +type awsAwsquery_deserializeOpGetRolePolicy struct { } -func (*awsAwsquery_deserializeOpGetServiceLastAccessedDetails) ID() string { +func (*awsAwsquery_deserializeOpGetRolePolicy) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpGetServiceLastAccessedDetails) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpGetRolePolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7925,9 +8407,9 @@ func (m *awsAwsquery_deserializeOpGetServiceLastAccessedDetails) HandleDeseriali } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorGetServiceLastAccessedDetails(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorGetRolePolicy(response, &metadata) } - output := &GetServiceLastAccessedDetailsOutput{} + output := &GetRolePolicyOutput{} out.Result = output var buff [1024]byte @@ -7948,7 +8430,7 @@ func (m *awsAwsquery_deserializeOpGetServiceLastAccessedDetails) HandleDeseriali } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("GetServiceLastAccessedDetailsResult") + t, err = decoder.GetElement("GetRolePolicyResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7960,7 +8442,7 @@ func (m *awsAwsquery_deserializeOpGetServiceLastAccessedDetails) HandleDeseriali } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentGetServiceLastAccessedDetailsOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentGetRolePolicyOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7974,7 +8456,7 @@ func (m *awsAwsquery_deserializeOpGetServiceLastAccessedDetails) HandleDeseriali return out, metadata, err } -func awsAwsquery_deserializeOpErrorGetServiceLastAccessedDetails(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorGetRolePolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7999,12 +8481,12 @@ func awsAwsquery_deserializeOpErrorGetServiceLastAccessedDetails(response *smith } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("InvalidInput", errorCode): - return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) - case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + case strings.EqualFold("ServiceFailure", errorCode): + return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -8015,14 +8497,14 @@ func awsAwsquery_deserializeOpErrorGetServiceLastAccessedDetails(response *smith } } -type awsAwsquery_deserializeOpGetServiceLastAccessedDetailsWithEntities struct { +type awsAwsquery_deserializeOpGetSAMLProvider struct { } -func (*awsAwsquery_deserializeOpGetServiceLastAccessedDetailsWithEntities) ID() string { +func (*awsAwsquery_deserializeOpGetSAMLProvider) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpGetServiceLastAccessedDetailsWithEntities) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpGetSAMLProvider) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -8040,9 +8522,9 @@ func (m *awsAwsquery_deserializeOpGetServiceLastAccessedDetailsWithEntities) Han } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorGetServiceLastAccessedDetailsWithEntities(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorGetSAMLProvider(response, &metadata) } - output := &GetServiceLastAccessedDetailsWithEntitiesOutput{} + output := &GetSAMLProviderOutput{} out.Result = output var buff [1024]byte @@ -8063,7 +8545,7 @@ func (m *awsAwsquery_deserializeOpGetServiceLastAccessedDetailsWithEntities) Han } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("GetServiceLastAccessedDetailsWithEntitiesResult") + t, err = decoder.GetElement("GetSAMLProviderResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8075,7 +8557,7 @@ func (m *awsAwsquery_deserializeOpGetServiceLastAccessedDetailsWithEntities) Han } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentGetServiceLastAccessedDetailsWithEntitiesOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentGetSAMLProviderOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8089,7 +8571,7 @@ func (m *awsAwsquery_deserializeOpGetServiceLastAccessedDetailsWithEntities) Han return out, metadata, err } -func awsAwsquery_deserializeOpErrorGetServiceLastAccessedDetailsWithEntities(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorGetSAMLProvider(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -8120,6 +8602,9 @@ func awsAwsquery_deserializeOpErrorGetServiceLastAccessedDetailsWithEntities(res case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + case strings.EqualFold("ServiceFailure", errorCode): + return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -8130,14 +8615,14 @@ func awsAwsquery_deserializeOpErrorGetServiceLastAccessedDetailsWithEntities(res } } -type awsAwsquery_deserializeOpGetServiceLinkedRoleDeletionStatus struct { +type awsAwsquery_deserializeOpGetServerCertificate struct { } -func (*awsAwsquery_deserializeOpGetServiceLinkedRoleDeletionStatus) ID() string { +func (*awsAwsquery_deserializeOpGetServerCertificate) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpGetServiceLinkedRoleDeletionStatus) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpGetServerCertificate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -8155,9 +8640,9 @@ func (m *awsAwsquery_deserializeOpGetServiceLinkedRoleDeletionStatus) HandleDese } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorGetServiceLinkedRoleDeletionStatus(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorGetServerCertificate(response, &metadata) } - output := &GetServiceLinkedRoleDeletionStatusOutput{} + output := &GetServerCertificateOutput{} out.Result = output var buff [1024]byte @@ -8178,7 +8663,7 @@ func (m *awsAwsquery_deserializeOpGetServiceLinkedRoleDeletionStatus) HandleDese } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("GetServiceLinkedRoleDeletionStatusResult") + t, err = decoder.GetElement("GetServerCertificateResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8190,7 +8675,7 @@ func (m *awsAwsquery_deserializeOpGetServiceLinkedRoleDeletionStatus) HandleDese } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentGetServiceLinkedRoleDeletionStatusOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentGetServerCertificateOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8204,7 +8689,7 @@ func (m *awsAwsquery_deserializeOpGetServiceLinkedRoleDeletionStatus) HandleDese return out, metadata, err } -func awsAwsquery_deserializeOpErrorGetServiceLinkedRoleDeletionStatus(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorGetServerCertificate(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -8229,9 +8714,6 @@ func awsAwsquery_deserializeOpErrorGetServiceLinkedRoleDeletionStatus(response * } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("InvalidInput", errorCode): - return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) - case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -8248,14 +8730,14 @@ func awsAwsquery_deserializeOpErrorGetServiceLinkedRoleDeletionStatus(response * } } -type awsAwsquery_deserializeOpGetSSHPublicKey struct { +type awsAwsquery_deserializeOpGetServiceLastAccessedDetails struct { } -func (*awsAwsquery_deserializeOpGetSSHPublicKey) ID() string { +func (*awsAwsquery_deserializeOpGetServiceLastAccessedDetails) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpGetSSHPublicKey) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpGetServiceLastAccessedDetails) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -8273,9 +8755,9 @@ func (m *awsAwsquery_deserializeOpGetSSHPublicKey) HandleDeserialize(ctx context } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorGetSSHPublicKey(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorGetServiceLastAccessedDetails(response, &metadata) } - output := &GetSSHPublicKeyOutput{} + output := &GetServiceLastAccessedDetailsOutput{} out.Result = output var buff [1024]byte @@ -8296,7 +8778,7 @@ func (m *awsAwsquery_deserializeOpGetSSHPublicKey) HandleDeserialize(ctx context } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("GetSSHPublicKeyResult") + t, err = decoder.GetElement("GetServiceLastAccessedDetailsResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8308,7 +8790,7 @@ func (m *awsAwsquery_deserializeOpGetSSHPublicKey) HandleDeserialize(ctx context } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentGetSSHPublicKeyOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentGetServiceLastAccessedDetailsOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8322,7 +8804,7 @@ func (m *awsAwsquery_deserializeOpGetSSHPublicKey) HandleDeserialize(ctx context return out, metadata, err } -func awsAwsquery_deserializeOpErrorGetSSHPublicKey(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorGetServiceLastAccessedDetails(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -8347,12 +8829,12 @@ func awsAwsquery_deserializeOpErrorGetSSHPublicKey(response *smithyhttp.Response } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) - case strings.EqualFold("UnrecognizedPublicKeyEncoding", errorCode): - return awsAwsquery_deserializeErrorUnrecognizedPublicKeyEncodingException(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -8363,14 +8845,14 @@ func awsAwsquery_deserializeOpErrorGetSSHPublicKey(response *smithyhttp.Response } } -type awsAwsquery_deserializeOpGetUser struct { +type awsAwsquery_deserializeOpGetServiceLastAccessedDetailsWithEntities struct { } -func (*awsAwsquery_deserializeOpGetUser) ID() string { +func (*awsAwsquery_deserializeOpGetServiceLastAccessedDetailsWithEntities) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpGetUser) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpGetServiceLastAccessedDetailsWithEntities) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -8388,9 +8870,9 @@ func (m *awsAwsquery_deserializeOpGetUser) HandleDeserialize(ctx context.Context } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorGetUser(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorGetServiceLastAccessedDetailsWithEntities(response, &metadata) } - output := &GetUserOutput{} + output := &GetServiceLastAccessedDetailsWithEntitiesOutput{} out.Result = output var buff [1024]byte @@ -8411,7 +8893,7 @@ func (m *awsAwsquery_deserializeOpGetUser) HandleDeserialize(ctx context.Context } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("GetUserResult") + t, err = decoder.GetElement("GetServiceLastAccessedDetailsWithEntitiesResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8423,7 +8905,7 @@ func (m *awsAwsquery_deserializeOpGetUser) HandleDeserialize(ctx context.Context } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentGetUserOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentGetServiceLastAccessedDetailsWithEntitiesOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8437,7 +8919,7 @@ func (m *awsAwsquery_deserializeOpGetUser) HandleDeserialize(ctx context.Context return out, metadata, err } -func awsAwsquery_deserializeOpErrorGetUser(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorGetServiceLastAccessedDetailsWithEntities(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -8462,12 +8944,12 @@ func awsAwsquery_deserializeOpErrorGetUser(response *smithyhttp.Response, metada } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) - case strings.EqualFold("ServiceFailure", errorCode): - return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -8478,14 +8960,14 @@ func awsAwsquery_deserializeOpErrorGetUser(response *smithyhttp.Response, metada } } -type awsAwsquery_deserializeOpGetUserPolicy struct { +type awsAwsquery_deserializeOpGetServiceLinkedRoleDeletionStatus struct { } -func (*awsAwsquery_deserializeOpGetUserPolicy) ID() string { +func (*awsAwsquery_deserializeOpGetServiceLinkedRoleDeletionStatus) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpGetUserPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpGetServiceLinkedRoleDeletionStatus) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -8503,9 +8985,9 @@ func (m *awsAwsquery_deserializeOpGetUserPolicy) HandleDeserialize(ctx context.C } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorGetUserPolicy(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorGetServiceLinkedRoleDeletionStatus(response, &metadata) } - output := &GetUserPolicyOutput{} + output := &GetServiceLinkedRoleDeletionStatusOutput{} out.Result = output var buff [1024]byte @@ -8526,7 +9008,7 @@ func (m *awsAwsquery_deserializeOpGetUserPolicy) HandleDeserialize(ctx context.C } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("GetUserPolicyResult") + t, err = decoder.GetElement("GetServiceLinkedRoleDeletionStatusResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8538,7 +9020,7 @@ func (m *awsAwsquery_deserializeOpGetUserPolicy) HandleDeserialize(ctx context.C } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentGetUserPolicyOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentGetServiceLinkedRoleDeletionStatusOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8552,7 +9034,7 @@ func (m *awsAwsquery_deserializeOpGetUserPolicy) HandleDeserialize(ctx context.C return out, metadata, err } -func awsAwsquery_deserializeOpErrorGetUserPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorGetServiceLinkedRoleDeletionStatus(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -8577,6 +9059,9 @@ func awsAwsquery_deserializeOpErrorGetUserPolicy(response *smithyhttp.Response, } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -8593,14 +9078,14 @@ func awsAwsquery_deserializeOpErrorGetUserPolicy(response *smithyhttp.Response, } } -type awsAwsquery_deserializeOpListAccessKeys struct { +type awsAwsquery_deserializeOpGetSSHPublicKey struct { } -func (*awsAwsquery_deserializeOpListAccessKeys) ID() string { +func (*awsAwsquery_deserializeOpGetSSHPublicKey) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListAccessKeys) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpGetSSHPublicKey) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -8618,9 +9103,9 @@ func (m *awsAwsquery_deserializeOpListAccessKeys) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListAccessKeys(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorGetSSHPublicKey(response, &metadata) } - output := &ListAccessKeysOutput{} + output := &GetSSHPublicKeyOutput{} out.Result = output var buff [1024]byte @@ -8641,7 +9126,7 @@ func (m *awsAwsquery_deserializeOpListAccessKeys) HandleDeserialize(ctx context. } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListAccessKeysResult") + t, err = decoder.GetElement("GetSSHPublicKeyResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8653,7 +9138,7 @@ func (m *awsAwsquery_deserializeOpListAccessKeys) HandleDeserialize(ctx context. } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListAccessKeysOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentGetSSHPublicKeyOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8667,7 +9152,7 @@ func (m *awsAwsquery_deserializeOpListAccessKeys) HandleDeserialize(ctx context. return out, metadata, err } -func awsAwsquery_deserializeOpErrorListAccessKeys(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorGetSSHPublicKey(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -8695,8 +9180,8 @@ func awsAwsquery_deserializeOpErrorListAccessKeys(response *smithyhttp.Response, case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) - case strings.EqualFold("ServiceFailure", errorCode): - return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) + case strings.EqualFold("UnrecognizedPublicKeyEncoding", errorCode): + return awsAwsquery_deserializeErrorUnrecognizedPublicKeyEncodingException(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -8708,14 +9193,14 @@ func awsAwsquery_deserializeOpErrorListAccessKeys(response *smithyhttp.Response, } } -type awsAwsquery_deserializeOpListAccountAliases struct { +type awsAwsquery_deserializeOpGetUser struct { } -func (*awsAwsquery_deserializeOpListAccountAliases) ID() string { +func (*awsAwsquery_deserializeOpGetUser) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListAccountAliases) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpGetUser) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -8733,9 +9218,9 @@ func (m *awsAwsquery_deserializeOpListAccountAliases) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListAccountAliases(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorGetUser(response, &metadata) } - output := &ListAccountAliasesOutput{} + output := &GetUserOutput{} out.Result = output var buff [1024]byte @@ -8756,7 +9241,7 @@ func (m *awsAwsquery_deserializeOpListAccountAliases) HandleDeserialize(ctx cont } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListAccountAliasesResult") + t, err = decoder.GetElement("GetUserResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8768,7 +9253,7 @@ func (m *awsAwsquery_deserializeOpListAccountAliases) HandleDeserialize(ctx cont } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListAccountAliasesOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentGetUserOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8782,7 +9267,7 @@ func (m *awsAwsquery_deserializeOpListAccountAliases) HandleDeserialize(ctx cont return out, metadata, err } -func awsAwsquery_deserializeOpErrorListAccountAliases(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorGetUser(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -8807,6 +9292,9 @@ func awsAwsquery_deserializeOpErrorListAccountAliases(response *smithyhttp.Respo } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("NoSuchEntity", errorCode): + return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + case strings.EqualFold("ServiceFailure", errorCode): return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) @@ -8820,14 +9308,14 @@ func awsAwsquery_deserializeOpErrorListAccountAliases(response *smithyhttp.Respo } } -type awsAwsquery_deserializeOpListAttachedGroupPolicies struct { +type awsAwsquery_deserializeOpGetUserPolicy struct { } -func (*awsAwsquery_deserializeOpListAttachedGroupPolicies) ID() string { +func (*awsAwsquery_deserializeOpGetUserPolicy) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListAttachedGroupPolicies) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpGetUserPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -8845,9 +9333,9 @@ func (m *awsAwsquery_deserializeOpListAttachedGroupPolicies) HandleDeserialize(c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListAttachedGroupPolicies(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorGetUserPolicy(response, &metadata) } - output := &ListAttachedGroupPoliciesOutput{} + output := &GetUserPolicyOutput{} out.Result = output var buff [1024]byte @@ -8868,7 +9356,7 @@ func (m *awsAwsquery_deserializeOpListAttachedGroupPolicies) HandleDeserialize(c } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListAttachedGroupPoliciesResult") + t, err = decoder.GetElement("GetUserPolicyResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8880,7 +9368,7 @@ func (m *awsAwsquery_deserializeOpListAttachedGroupPolicies) HandleDeserialize(c } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListAttachedGroupPoliciesOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentGetUserPolicyOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8894,7 +9382,7 @@ func (m *awsAwsquery_deserializeOpListAttachedGroupPolicies) HandleDeserialize(c return out, metadata, err } -func awsAwsquery_deserializeOpErrorListAttachedGroupPolicies(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorGetUserPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -8919,9 +9407,6 @@ func awsAwsquery_deserializeOpErrorListAttachedGroupPolicies(response *smithyhtt } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("InvalidInput", errorCode): - return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) - case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -8938,14 +9423,14 @@ func awsAwsquery_deserializeOpErrorListAttachedGroupPolicies(response *smithyhtt } } -type awsAwsquery_deserializeOpListAttachedRolePolicies struct { +type awsAwsquery_deserializeOpListAccessKeys struct { } -func (*awsAwsquery_deserializeOpListAttachedRolePolicies) ID() string { +func (*awsAwsquery_deserializeOpListAccessKeys) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListAttachedRolePolicies) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListAccessKeys) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -8963,9 +9448,9 @@ func (m *awsAwsquery_deserializeOpListAttachedRolePolicies) HandleDeserialize(ct } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListAttachedRolePolicies(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListAccessKeys(response, &metadata) } - output := &ListAttachedRolePoliciesOutput{} + output := &ListAccessKeysOutput{} out.Result = output var buff [1024]byte @@ -8986,7 +9471,7 @@ func (m *awsAwsquery_deserializeOpListAttachedRolePolicies) HandleDeserialize(ct } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListAttachedRolePoliciesResult") + t, err = decoder.GetElement("ListAccessKeysResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8998,7 +9483,7 @@ func (m *awsAwsquery_deserializeOpListAttachedRolePolicies) HandleDeserialize(ct } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListAttachedRolePoliciesOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListAccessKeysOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9012,7 +9497,7 @@ func (m *awsAwsquery_deserializeOpListAttachedRolePolicies) HandleDeserialize(ct return out, metadata, err } -func awsAwsquery_deserializeOpErrorListAttachedRolePolicies(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListAccessKeys(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9037,9 +9522,6 @@ func awsAwsquery_deserializeOpErrorListAttachedRolePolicies(response *smithyhttp } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("InvalidInput", errorCode): - return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) - case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -9056,14 +9538,14 @@ func awsAwsquery_deserializeOpErrorListAttachedRolePolicies(response *smithyhttp } } -type awsAwsquery_deserializeOpListAttachedUserPolicies struct { +type awsAwsquery_deserializeOpListAccountAliases struct { } -func (*awsAwsquery_deserializeOpListAttachedUserPolicies) ID() string { +func (*awsAwsquery_deserializeOpListAccountAliases) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListAttachedUserPolicies) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListAccountAliases) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -9081,9 +9563,9 @@ func (m *awsAwsquery_deserializeOpListAttachedUserPolicies) HandleDeserialize(ct } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListAttachedUserPolicies(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListAccountAliases(response, &metadata) } - output := &ListAttachedUserPoliciesOutput{} + output := &ListAccountAliasesOutput{} out.Result = output var buff [1024]byte @@ -9104,7 +9586,7 @@ func (m *awsAwsquery_deserializeOpListAttachedUserPolicies) HandleDeserialize(ct } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListAttachedUserPoliciesResult") + t, err = decoder.GetElement("ListAccountAliasesResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9116,7 +9598,7 @@ func (m *awsAwsquery_deserializeOpListAttachedUserPolicies) HandleDeserialize(ct } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListAttachedUserPoliciesOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListAccountAliasesOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9130,7 +9612,7 @@ func (m *awsAwsquery_deserializeOpListAttachedUserPolicies) HandleDeserialize(ct return out, metadata, err } -func awsAwsquery_deserializeOpErrorListAttachedUserPolicies(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListAccountAliases(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9155,12 +9637,6 @@ func awsAwsquery_deserializeOpErrorListAttachedUserPolicies(response *smithyhttp } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("InvalidInput", errorCode): - return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) - - case strings.EqualFold("NoSuchEntity", errorCode): - return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) - case strings.EqualFold("ServiceFailure", errorCode): return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) @@ -9174,14 +9650,14 @@ func awsAwsquery_deserializeOpErrorListAttachedUserPolicies(response *smithyhttp } } -type awsAwsquery_deserializeOpListEntitiesForPolicy struct { +type awsAwsquery_deserializeOpListAttachedGroupPolicies struct { } -func (*awsAwsquery_deserializeOpListEntitiesForPolicy) ID() string { +func (*awsAwsquery_deserializeOpListAttachedGroupPolicies) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListEntitiesForPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListAttachedGroupPolicies) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -9199,9 +9675,9 @@ func (m *awsAwsquery_deserializeOpListEntitiesForPolicy) HandleDeserialize(ctx c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListEntitiesForPolicy(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListAttachedGroupPolicies(response, &metadata) } - output := &ListEntitiesForPolicyOutput{} + output := &ListAttachedGroupPoliciesOutput{} out.Result = output var buff [1024]byte @@ -9222,7 +9698,7 @@ func (m *awsAwsquery_deserializeOpListEntitiesForPolicy) HandleDeserialize(ctx c } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListEntitiesForPolicyResult") + t, err = decoder.GetElement("ListAttachedGroupPoliciesResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9234,7 +9710,7 @@ func (m *awsAwsquery_deserializeOpListEntitiesForPolicy) HandleDeserialize(ctx c } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListEntitiesForPolicyOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListAttachedGroupPoliciesOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9248,7 +9724,7 @@ func (m *awsAwsquery_deserializeOpListEntitiesForPolicy) HandleDeserialize(ctx c return out, metadata, err } -func awsAwsquery_deserializeOpErrorListEntitiesForPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListAttachedGroupPolicies(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9292,14 +9768,14 @@ func awsAwsquery_deserializeOpErrorListEntitiesForPolicy(response *smithyhttp.Re } } -type awsAwsquery_deserializeOpListGroupPolicies struct { +type awsAwsquery_deserializeOpListAttachedRolePolicies struct { } -func (*awsAwsquery_deserializeOpListGroupPolicies) ID() string { +func (*awsAwsquery_deserializeOpListAttachedRolePolicies) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListGroupPolicies) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListAttachedRolePolicies) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -9317,9 +9793,9 @@ func (m *awsAwsquery_deserializeOpListGroupPolicies) HandleDeserialize(ctx conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListGroupPolicies(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListAttachedRolePolicies(response, &metadata) } - output := &ListGroupPoliciesOutput{} + output := &ListAttachedRolePoliciesOutput{} out.Result = output var buff [1024]byte @@ -9340,7 +9816,7 @@ func (m *awsAwsquery_deserializeOpListGroupPolicies) HandleDeserialize(ctx conte } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListGroupPoliciesResult") + t, err = decoder.GetElement("ListAttachedRolePoliciesResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9352,7 +9828,7 @@ func (m *awsAwsquery_deserializeOpListGroupPolicies) HandleDeserialize(ctx conte } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListGroupPoliciesOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListAttachedRolePoliciesOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9366,7 +9842,7 @@ func (m *awsAwsquery_deserializeOpListGroupPolicies) HandleDeserialize(ctx conte return out, metadata, err } -func awsAwsquery_deserializeOpErrorListGroupPolicies(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListAttachedRolePolicies(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9391,6 +9867,9 @@ func awsAwsquery_deserializeOpErrorListGroupPolicies(response *smithyhttp.Respon } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -9407,14 +9886,14 @@ func awsAwsquery_deserializeOpErrorListGroupPolicies(response *smithyhttp.Respon } } -type awsAwsquery_deserializeOpListGroups struct { +type awsAwsquery_deserializeOpListAttachedUserPolicies struct { } -func (*awsAwsquery_deserializeOpListGroups) ID() string { +func (*awsAwsquery_deserializeOpListAttachedUserPolicies) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListGroups) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListAttachedUserPolicies) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -9432,9 +9911,9 @@ func (m *awsAwsquery_deserializeOpListGroups) HandleDeserialize(ctx context.Cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListGroups(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListAttachedUserPolicies(response, &metadata) } - output := &ListGroupsOutput{} + output := &ListAttachedUserPoliciesOutput{} out.Result = output var buff [1024]byte @@ -9455,7 +9934,7 @@ func (m *awsAwsquery_deserializeOpListGroups) HandleDeserialize(ctx context.Cont } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListGroupsResult") + t, err = decoder.GetElement("ListAttachedUserPoliciesResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9467,7 +9946,7 @@ func (m *awsAwsquery_deserializeOpListGroups) HandleDeserialize(ctx context.Cont } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListGroupsOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListAttachedUserPoliciesOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9481,7 +9960,7 @@ func (m *awsAwsquery_deserializeOpListGroups) HandleDeserialize(ctx context.Cont return out, metadata, err } -func awsAwsquery_deserializeOpErrorListGroups(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListAttachedUserPolicies(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9506,6 +9985,12 @@ func awsAwsquery_deserializeOpErrorListGroups(response *smithyhttp.Response, met } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + + case strings.EqualFold("NoSuchEntity", errorCode): + return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + case strings.EqualFold("ServiceFailure", errorCode): return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) @@ -9519,14 +10004,14 @@ func awsAwsquery_deserializeOpErrorListGroups(response *smithyhttp.Response, met } } -type awsAwsquery_deserializeOpListGroupsForUser struct { +type awsAwsquery_deserializeOpListDelegationRequests struct { } -func (*awsAwsquery_deserializeOpListGroupsForUser) ID() string { +func (*awsAwsquery_deserializeOpListDelegationRequests) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListGroupsForUser) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListDelegationRequests) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -9544,9 +10029,9 @@ func (m *awsAwsquery_deserializeOpListGroupsForUser) HandleDeserialize(ctx conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListGroupsForUser(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListDelegationRequests(response, &metadata) } - output := &ListGroupsForUserOutput{} + output := &ListDelegationRequestsOutput{} out.Result = output var buff [1024]byte @@ -9567,7 +10052,7 @@ func (m *awsAwsquery_deserializeOpListGroupsForUser) HandleDeserialize(ctx conte } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListGroupsForUserResult") + t, err = decoder.GetElement("ListDelegationRequestsResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9579,7 +10064,7 @@ func (m *awsAwsquery_deserializeOpListGroupsForUser) HandleDeserialize(ctx conte } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListGroupsForUserOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListDelegationRequestsOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9593,7 +10078,7 @@ func (m *awsAwsquery_deserializeOpListGroupsForUser) HandleDeserialize(ctx conte return out, metadata, err } -func awsAwsquery_deserializeOpErrorListGroupsForUser(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListDelegationRequests(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9618,6 +10103,9 @@ func awsAwsquery_deserializeOpErrorListGroupsForUser(response *smithyhttp.Respon } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -9634,14 +10122,14 @@ func awsAwsquery_deserializeOpErrorListGroupsForUser(response *smithyhttp.Respon } } -type awsAwsquery_deserializeOpListInstanceProfiles struct { +type awsAwsquery_deserializeOpListEntitiesForPolicy struct { } -func (*awsAwsquery_deserializeOpListInstanceProfiles) ID() string { +func (*awsAwsquery_deserializeOpListEntitiesForPolicy) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListInstanceProfiles) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListEntitiesForPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -9659,9 +10147,9 @@ func (m *awsAwsquery_deserializeOpListInstanceProfiles) HandleDeserialize(ctx co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListInstanceProfiles(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListEntitiesForPolicy(response, &metadata) } - output := &ListInstanceProfilesOutput{} + output := &ListEntitiesForPolicyOutput{} out.Result = output var buff [1024]byte @@ -9682,7 +10170,7 @@ func (m *awsAwsquery_deserializeOpListInstanceProfiles) HandleDeserialize(ctx co } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListInstanceProfilesResult") + t, err = decoder.GetElement("ListEntitiesForPolicyResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9694,7 +10182,7 @@ func (m *awsAwsquery_deserializeOpListInstanceProfiles) HandleDeserialize(ctx co } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListInstanceProfilesOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListEntitiesForPolicyOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9708,7 +10196,7 @@ func (m *awsAwsquery_deserializeOpListInstanceProfiles) HandleDeserialize(ctx co return out, metadata, err } -func awsAwsquery_deserializeOpErrorListInstanceProfiles(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListEntitiesForPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9733,6 +10221,12 @@ func awsAwsquery_deserializeOpErrorListInstanceProfiles(response *smithyhttp.Res } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + + case strings.EqualFold("NoSuchEntity", errorCode): + return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + case strings.EqualFold("ServiceFailure", errorCode): return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) @@ -9746,14 +10240,14 @@ func awsAwsquery_deserializeOpErrorListInstanceProfiles(response *smithyhttp.Res } } -type awsAwsquery_deserializeOpListInstanceProfilesForRole struct { +type awsAwsquery_deserializeOpListGroupPolicies struct { } -func (*awsAwsquery_deserializeOpListInstanceProfilesForRole) ID() string { +func (*awsAwsquery_deserializeOpListGroupPolicies) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListInstanceProfilesForRole) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListGroupPolicies) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -9771,9 +10265,9 @@ func (m *awsAwsquery_deserializeOpListInstanceProfilesForRole) HandleDeserialize } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListInstanceProfilesForRole(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListGroupPolicies(response, &metadata) } - output := &ListInstanceProfilesForRoleOutput{} + output := &ListGroupPoliciesOutput{} out.Result = output var buff [1024]byte @@ -9794,7 +10288,7 @@ func (m *awsAwsquery_deserializeOpListInstanceProfilesForRole) HandleDeserialize } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListInstanceProfilesForRoleResult") + t, err = decoder.GetElement("ListGroupPoliciesResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9806,7 +10300,7 @@ func (m *awsAwsquery_deserializeOpListInstanceProfilesForRole) HandleDeserialize } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListInstanceProfilesForRoleOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListGroupPoliciesOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9820,7 +10314,7 @@ func (m *awsAwsquery_deserializeOpListInstanceProfilesForRole) HandleDeserialize return out, metadata, err } -func awsAwsquery_deserializeOpErrorListInstanceProfilesForRole(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListGroupPolicies(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9861,14 +10355,14 @@ func awsAwsquery_deserializeOpErrorListInstanceProfilesForRole(response *smithyh } } -type awsAwsquery_deserializeOpListInstanceProfileTags struct { +type awsAwsquery_deserializeOpListGroups struct { } -func (*awsAwsquery_deserializeOpListInstanceProfileTags) ID() string { +func (*awsAwsquery_deserializeOpListGroups) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListInstanceProfileTags) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListGroups) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -9886,9 +10380,9 @@ func (m *awsAwsquery_deserializeOpListInstanceProfileTags) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListInstanceProfileTags(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListGroups(response, &metadata) } - output := &ListInstanceProfileTagsOutput{} + output := &ListGroupsOutput{} out.Result = output var buff [1024]byte @@ -9909,7 +10403,7 @@ func (m *awsAwsquery_deserializeOpListInstanceProfileTags) HandleDeserialize(ctx } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListInstanceProfileTagsResult") + t, err = decoder.GetElement("ListGroupsResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9921,7 +10415,7 @@ func (m *awsAwsquery_deserializeOpListInstanceProfileTags) HandleDeserialize(ctx } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListInstanceProfileTagsOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListGroupsOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9935,7 +10429,7 @@ func (m *awsAwsquery_deserializeOpListInstanceProfileTags) HandleDeserialize(ctx return out, metadata, err } -func awsAwsquery_deserializeOpErrorListInstanceProfileTags(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListGroups(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9960,9 +10454,6 @@ func awsAwsquery_deserializeOpErrorListInstanceProfileTags(response *smithyhttp. } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("NoSuchEntity", errorCode): - return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) - case strings.EqualFold("ServiceFailure", errorCode): return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) @@ -9976,14 +10467,14 @@ func awsAwsquery_deserializeOpErrorListInstanceProfileTags(response *smithyhttp. } } -type awsAwsquery_deserializeOpListMFADevices struct { +type awsAwsquery_deserializeOpListGroupsForUser struct { } -func (*awsAwsquery_deserializeOpListMFADevices) ID() string { +func (*awsAwsquery_deserializeOpListGroupsForUser) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListMFADevices) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListGroupsForUser) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -10001,9 +10492,9 @@ func (m *awsAwsquery_deserializeOpListMFADevices) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListMFADevices(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListGroupsForUser(response, &metadata) } - output := &ListMFADevicesOutput{} + output := &ListGroupsForUserOutput{} out.Result = output var buff [1024]byte @@ -10024,7 +10515,7 @@ func (m *awsAwsquery_deserializeOpListMFADevices) HandleDeserialize(ctx context. } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListMFADevicesResult") + t, err = decoder.GetElement("ListGroupsForUserResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10036,7 +10527,7 @@ func (m *awsAwsquery_deserializeOpListMFADevices) HandleDeserialize(ctx context. } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListMFADevicesOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListGroupsForUserOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10050,7 +10541,7 @@ func (m *awsAwsquery_deserializeOpListMFADevices) HandleDeserialize(ctx context. return out, metadata, err } -func awsAwsquery_deserializeOpErrorListMFADevices(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListGroupsForUser(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -10091,14 +10582,14 @@ func awsAwsquery_deserializeOpErrorListMFADevices(response *smithyhttp.Response, } } -type awsAwsquery_deserializeOpListMFADeviceTags struct { +type awsAwsquery_deserializeOpListInstanceProfiles struct { } -func (*awsAwsquery_deserializeOpListMFADeviceTags) ID() string { +func (*awsAwsquery_deserializeOpListInstanceProfiles) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListMFADeviceTags) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListInstanceProfiles) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -10116,9 +10607,9 @@ func (m *awsAwsquery_deserializeOpListMFADeviceTags) HandleDeserialize(ctx conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListMFADeviceTags(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListInstanceProfiles(response, &metadata) } - output := &ListMFADeviceTagsOutput{} + output := &ListInstanceProfilesOutput{} out.Result = output var buff [1024]byte @@ -10139,7 +10630,7 @@ func (m *awsAwsquery_deserializeOpListMFADeviceTags) HandleDeserialize(ctx conte } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListMFADeviceTagsResult") + t, err = decoder.GetElement("ListInstanceProfilesResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10151,7 +10642,7 @@ func (m *awsAwsquery_deserializeOpListMFADeviceTags) HandleDeserialize(ctx conte } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListMFADeviceTagsOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListInstanceProfilesOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10165,7 +10656,7 @@ func (m *awsAwsquery_deserializeOpListMFADeviceTags) HandleDeserialize(ctx conte return out, metadata, err } -func awsAwsquery_deserializeOpErrorListMFADeviceTags(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListInstanceProfiles(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -10190,12 +10681,6 @@ func awsAwsquery_deserializeOpErrorListMFADeviceTags(response *smithyhttp.Respon } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("InvalidInput", errorCode): - return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) - - case strings.EqualFold("NoSuchEntity", errorCode): - return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) - case strings.EqualFold("ServiceFailure", errorCode): return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) @@ -10209,14 +10694,14 @@ func awsAwsquery_deserializeOpErrorListMFADeviceTags(response *smithyhttp.Respon } } -type awsAwsquery_deserializeOpListOpenIDConnectProviders struct { +type awsAwsquery_deserializeOpListInstanceProfilesForRole struct { } -func (*awsAwsquery_deserializeOpListOpenIDConnectProviders) ID() string { +func (*awsAwsquery_deserializeOpListInstanceProfilesForRole) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListOpenIDConnectProviders) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListInstanceProfilesForRole) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -10234,9 +10719,9 @@ func (m *awsAwsquery_deserializeOpListOpenIDConnectProviders) HandleDeserialize( } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListOpenIDConnectProviders(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListInstanceProfilesForRole(response, &metadata) } - output := &ListOpenIDConnectProvidersOutput{} + output := &ListInstanceProfilesForRoleOutput{} out.Result = output var buff [1024]byte @@ -10257,7 +10742,7 @@ func (m *awsAwsquery_deserializeOpListOpenIDConnectProviders) HandleDeserialize( } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListOpenIDConnectProvidersResult") + t, err = decoder.GetElement("ListInstanceProfilesForRoleResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10269,7 +10754,7 @@ func (m *awsAwsquery_deserializeOpListOpenIDConnectProviders) HandleDeserialize( } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListOpenIDConnectProvidersOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListInstanceProfilesForRoleOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10283,7 +10768,7 @@ func (m *awsAwsquery_deserializeOpListOpenIDConnectProviders) HandleDeserialize( return out, metadata, err } -func awsAwsquery_deserializeOpErrorListOpenIDConnectProviders(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListInstanceProfilesForRole(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -10308,6 +10793,9 @@ func awsAwsquery_deserializeOpErrorListOpenIDConnectProviders(response *smithyht } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("NoSuchEntity", errorCode): + return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + case strings.EqualFold("ServiceFailure", errorCode): return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) @@ -10321,14 +10809,14 @@ func awsAwsquery_deserializeOpErrorListOpenIDConnectProviders(response *smithyht } } -type awsAwsquery_deserializeOpListOpenIDConnectProviderTags struct { +type awsAwsquery_deserializeOpListInstanceProfileTags struct { } -func (*awsAwsquery_deserializeOpListOpenIDConnectProviderTags) ID() string { +func (*awsAwsquery_deserializeOpListInstanceProfileTags) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListOpenIDConnectProviderTags) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListInstanceProfileTags) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -10346,9 +10834,9 @@ func (m *awsAwsquery_deserializeOpListOpenIDConnectProviderTags) HandleDeseriali } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListOpenIDConnectProviderTags(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListInstanceProfileTags(response, &metadata) } - output := &ListOpenIDConnectProviderTagsOutput{} + output := &ListInstanceProfileTagsOutput{} out.Result = output var buff [1024]byte @@ -10369,7 +10857,7 @@ func (m *awsAwsquery_deserializeOpListOpenIDConnectProviderTags) HandleDeseriali } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListOpenIDConnectProviderTagsResult") + t, err = decoder.GetElement("ListInstanceProfileTagsResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10381,7 +10869,7 @@ func (m *awsAwsquery_deserializeOpListOpenIDConnectProviderTags) HandleDeseriali } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListOpenIDConnectProviderTagsOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListInstanceProfileTagsOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10395,7 +10883,7 @@ func (m *awsAwsquery_deserializeOpListOpenIDConnectProviderTags) HandleDeseriali return out, metadata, err } -func awsAwsquery_deserializeOpErrorListOpenIDConnectProviderTags(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListInstanceProfileTags(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -10420,9 +10908,6 @@ func awsAwsquery_deserializeOpErrorListOpenIDConnectProviderTags(response *smith } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("InvalidInput", errorCode): - return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) - case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -10439,14 +10924,14 @@ func awsAwsquery_deserializeOpErrorListOpenIDConnectProviderTags(response *smith } } -type awsAwsquery_deserializeOpListOrganizationsFeatures struct { +type awsAwsquery_deserializeOpListMFADevices struct { } -func (*awsAwsquery_deserializeOpListOrganizationsFeatures) ID() string { +func (*awsAwsquery_deserializeOpListMFADevices) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListOrganizationsFeatures) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListMFADevices) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -10464,9 +10949,9 @@ func (m *awsAwsquery_deserializeOpListOrganizationsFeatures) HandleDeserialize(c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListOrganizationsFeatures(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListMFADevices(response, &metadata) } - output := &ListOrganizationsFeaturesOutput{} + output := &ListMFADevicesOutput{} out.Result = output var buff [1024]byte @@ -10487,7 +10972,7 @@ func (m *awsAwsquery_deserializeOpListOrganizationsFeatures) HandleDeserialize(c } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListOrganizationsFeaturesResult") + t, err = decoder.GetElement("ListMFADevicesResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10499,7 +10984,7 @@ func (m *awsAwsquery_deserializeOpListOrganizationsFeatures) HandleDeserialize(c } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListOrganizationsFeaturesOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListMFADevicesOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10513,7 +10998,7 @@ func (m *awsAwsquery_deserializeOpListOrganizationsFeatures) HandleDeserialize(c return out, metadata, err } -func awsAwsquery_deserializeOpErrorListOrganizationsFeatures(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListMFADevices(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -10538,17 +11023,11 @@ func awsAwsquery_deserializeOpErrorListOrganizationsFeatures(response *smithyhtt } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("AccountNotManagementOrDelegatedAdministratorException", errorCode): - return awsAwsquery_deserializeErrorAccountNotManagementOrDelegatedAdministratorException(response, errorBody) + case strings.EqualFold("NoSuchEntity", errorCode): + return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) - case strings.EqualFold("OrganizationNotFoundException", errorCode): - return awsAwsquery_deserializeErrorOrganizationNotFoundException(response, errorBody) - - case strings.EqualFold("OrganizationNotInAllFeaturesModeException", errorCode): - return awsAwsquery_deserializeErrorOrganizationNotInAllFeaturesModeException(response, errorBody) - - case strings.EqualFold("ServiceAccessNotEnabledException", errorCode): - return awsAwsquery_deserializeErrorServiceAccessNotEnabledException(response, errorBody) + case strings.EqualFold("ServiceFailure", errorCode): + return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -10560,14 +11039,14 @@ func awsAwsquery_deserializeOpErrorListOrganizationsFeatures(response *smithyhtt } } -type awsAwsquery_deserializeOpListPolicies struct { +type awsAwsquery_deserializeOpListMFADeviceTags struct { } -func (*awsAwsquery_deserializeOpListPolicies) ID() string { +func (*awsAwsquery_deserializeOpListMFADeviceTags) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListPolicies) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListMFADeviceTags) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -10585,9 +11064,9 @@ func (m *awsAwsquery_deserializeOpListPolicies) HandleDeserialize(ctx context.Co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListPolicies(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListMFADeviceTags(response, &metadata) } - output := &ListPoliciesOutput{} + output := &ListMFADeviceTagsOutput{} out.Result = output var buff [1024]byte @@ -10608,7 +11087,7 @@ func (m *awsAwsquery_deserializeOpListPolicies) HandleDeserialize(ctx context.Co } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListPoliciesResult") + t, err = decoder.GetElement("ListMFADeviceTagsResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10620,7 +11099,7 @@ func (m *awsAwsquery_deserializeOpListPolicies) HandleDeserialize(ctx context.Co } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListPoliciesOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListMFADeviceTagsOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10634,7 +11113,7 @@ func (m *awsAwsquery_deserializeOpListPolicies) HandleDeserialize(ctx context.Co return out, metadata, err } -func awsAwsquery_deserializeOpErrorListPolicies(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListMFADeviceTags(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -10659,6 +11138,12 @@ func awsAwsquery_deserializeOpErrorListPolicies(response *smithyhttp.Response, m } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + + case strings.EqualFold("NoSuchEntity", errorCode): + return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + case strings.EqualFold("ServiceFailure", errorCode): return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) @@ -10672,14 +11157,14 @@ func awsAwsquery_deserializeOpErrorListPolicies(response *smithyhttp.Response, m } } -type awsAwsquery_deserializeOpListPoliciesGrantingServiceAccess struct { +type awsAwsquery_deserializeOpListOpenIDConnectProviders struct { } -func (*awsAwsquery_deserializeOpListPoliciesGrantingServiceAccess) ID() string { +func (*awsAwsquery_deserializeOpListOpenIDConnectProviders) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListPoliciesGrantingServiceAccess) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListOpenIDConnectProviders) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -10697,9 +11182,9 @@ func (m *awsAwsquery_deserializeOpListPoliciesGrantingServiceAccess) HandleDeser } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListPoliciesGrantingServiceAccess(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListOpenIDConnectProviders(response, &metadata) } - output := &ListPoliciesGrantingServiceAccessOutput{} + output := &ListOpenIDConnectProvidersOutput{} out.Result = output var buff [1024]byte @@ -10720,7 +11205,7 @@ func (m *awsAwsquery_deserializeOpListPoliciesGrantingServiceAccess) HandleDeser } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListPoliciesGrantingServiceAccessResult") + t, err = decoder.GetElement("ListOpenIDConnectProvidersResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10732,7 +11217,7 @@ func (m *awsAwsquery_deserializeOpListPoliciesGrantingServiceAccess) HandleDeser } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListPoliciesGrantingServiceAccessOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListOpenIDConnectProvidersOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10746,7 +11231,7 @@ func (m *awsAwsquery_deserializeOpListPoliciesGrantingServiceAccess) HandleDeser return out, metadata, err } -func awsAwsquery_deserializeOpErrorListPoliciesGrantingServiceAccess(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListOpenIDConnectProviders(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -10771,11 +11256,8 @@ func awsAwsquery_deserializeOpErrorListPoliciesGrantingServiceAccess(response *s } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("InvalidInput", errorCode): - return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) - - case strings.EqualFold("NoSuchEntity", errorCode): - return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + case strings.EqualFold("ServiceFailure", errorCode): + return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -10787,14 +11269,14 @@ func awsAwsquery_deserializeOpErrorListPoliciesGrantingServiceAccess(response *s } } -type awsAwsquery_deserializeOpListPolicyTags struct { +type awsAwsquery_deserializeOpListOpenIDConnectProviderTags struct { } -func (*awsAwsquery_deserializeOpListPolicyTags) ID() string { +func (*awsAwsquery_deserializeOpListOpenIDConnectProviderTags) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListPolicyTags) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListOpenIDConnectProviderTags) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -10812,9 +11294,9 @@ func (m *awsAwsquery_deserializeOpListPolicyTags) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListPolicyTags(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListOpenIDConnectProviderTags(response, &metadata) } - output := &ListPolicyTagsOutput{} + output := &ListOpenIDConnectProviderTagsOutput{} out.Result = output var buff [1024]byte @@ -10835,7 +11317,7 @@ func (m *awsAwsquery_deserializeOpListPolicyTags) HandleDeserialize(ctx context. } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListPolicyTagsResult") + t, err = decoder.GetElement("ListOpenIDConnectProviderTagsResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10847,7 +11329,7 @@ func (m *awsAwsquery_deserializeOpListPolicyTags) HandleDeserialize(ctx context. } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListPolicyTagsOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListOpenIDConnectProviderTagsOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10861,7 +11343,7 @@ func (m *awsAwsquery_deserializeOpListPolicyTags) HandleDeserialize(ctx context. return out, metadata, err } -func awsAwsquery_deserializeOpErrorListPolicyTags(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListOpenIDConnectProviderTags(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -10905,14 +11387,14 @@ func awsAwsquery_deserializeOpErrorListPolicyTags(response *smithyhttp.Response, } } -type awsAwsquery_deserializeOpListPolicyVersions struct { +type awsAwsquery_deserializeOpListOrganizationsFeatures struct { } -func (*awsAwsquery_deserializeOpListPolicyVersions) ID() string { +func (*awsAwsquery_deserializeOpListOrganizationsFeatures) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListPolicyVersions) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListOrganizationsFeatures) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -10930,9 +11412,9 @@ func (m *awsAwsquery_deserializeOpListPolicyVersions) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListPolicyVersions(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListOrganizationsFeatures(response, &metadata) } - output := &ListPolicyVersionsOutput{} + output := &ListOrganizationsFeaturesOutput{} out.Result = output var buff [1024]byte @@ -10953,7 +11435,7 @@ func (m *awsAwsquery_deserializeOpListPolicyVersions) HandleDeserialize(ctx cont } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListPolicyVersionsResult") + t, err = decoder.GetElement("ListOrganizationsFeaturesResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10965,7 +11447,7 @@ func (m *awsAwsquery_deserializeOpListPolicyVersions) HandleDeserialize(ctx cont } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListPolicyVersionsOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListOrganizationsFeaturesOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10979,7 +11461,7 @@ func (m *awsAwsquery_deserializeOpListPolicyVersions) HandleDeserialize(ctx cont return out, metadata, err } -func awsAwsquery_deserializeOpErrorListPolicyVersions(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListOrganizationsFeatures(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11004,14 +11486,17 @@ func awsAwsquery_deserializeOpErrorListPolicyVersions(response *smithyhttp.Respo } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("InvalidInput", errorCode): - return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + case strings.EqualFold("AccountNotManagementOrDelegatedAdministratorException", errorCode): + return awsAwsquery_deserializeErrorAccountNotManagementOrDelegatedAdministratorException(response, errorBody) - case strings.EqualFold("NoSuchEntity", errorCode): - return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + case strings.EqualFold("OrganizationNotFoundException", errorCode): + return awsAwsquery_deserializeErrorOrganizationNotFoundException(response, errorBody) - case strings.EqualFold("ServiceFailure", errorCode): - return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) + case strings.EqualFold("OrganizationNotInAllFeaturesModeException", errorCode): + return awsAwsquery_deserializeErrorOrganizationNotInAllFeaturesModeException(response, errorBody) + + case strings.EqualFold("ServiceAccessNotEnabledException", errorCode): + return awsAwsquery_deserializeErrorServiceAccessNotEnabledException(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -11023,14 +11508,14 @@ func awsAwsquery_deserializeOpErrorListPolicyVersions(response *smithyhttp.Respo } } -type awsAwsquery_deserializeOpListRolePolicies struct { +type awsAwsquery_deserializeOpListPolicies struct { } -func (*awsAwsquery_deserializeOpListRolePolicies) ID() string { +func (*awsAwsquery_deserializeOpListPolicies) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListRolePolicies) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListPolicies) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11048,9 +11533,9 @@ func (m *awsAwsquery_deserializeOpListRolePolicies) HandleDeserialize(ctx contex } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListRolePolicies(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListPolicies(response, &metadata) } - output := &ListRolePoliciesOutput{} + output := &ListPoliciesOutput{} out.Result = output var buff [1024]byte @@ -11071,7 +11556,7 @@ func (m *awsAwsquery_deserializeOpListRolePolicies) HandleDeserialize(ctx contex } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListRolePoliciesResult") + t, err = decoder.GetElement("ListPoliciesResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11083,7 +11568,7 @@ func (m *awsAwsquery_deserializeOpListRolePolicies) HandleDeserialize(ctx contex } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListRolePoliciesOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListPoliciesOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11097,7 +11582,7 @@ func (m *awsAwsquery_deserializeOpListRolePolicies) HandleDeserialize(ctx contex return out, metadata, err } -func awsAwsquery_deserializeOpErrorListRolePolicies(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListPolicies(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11122,9 +11607,6 @@ func awsAwsquery_deserializeOpErrorListRolePolicies(response *smithyhttp.Respons } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("NoSuchEntity", errorCode): - return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) - case strings.EqualFold("ServiceFailure", errorCode): return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) @@ -11138,14 +11620,14 @@ func awsAwsquery_deserializeOpErrorListRolePolicies(response *smithyhttp.Respons } } -type awsAwsquery_deserializeOpListRoles struct { +type awsAwsquery_deserializeOpListPoliciesGrantingServiceAccess struct { } -func (*awsAwsquery_deserializeOpListRoles) ID() string { +func (*awsAwsquery_deserializeOpListPoliciesGrantingServiceAccess) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListRoles) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListPoliciesGrantingServiceAccess) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11163,9 +11645,9 @@ func (m *awsAwsquery_deserializeOpListRoles) HandleDeserialize(ctx context.Conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListRoles(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListPoliciesGrantingServiceAccess(response, &metadata) } - output := &ListRolesOutput{} + output := &ListPoliciesGrantingServiceAccessOutput{} out.Result = output var buff [1024]byte @@ -11186,7 +11668,7 @@ func (m *awsAwsquery_deserializeOpListRoles) HandleDeserialize(ctx context.Conte } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListRolesResult") + t, err = decoder.GetElement("ListPoliciesGrantingServiceAccessResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11198,7 +11680,7 @@ func (m *awsAwsquery_deserializeOpListRoles) HandleDeserialize(ctx context.Conte } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListRolesOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListPoliciesGrantingServiceAccessOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11212,7 +11694,7 @@ func (m *awsAwsquery_deserializeOpListRoles) HandleDeserialize(ctx context.Conte return out, metadata, err } -func awsAwsquery_deserializeOpErrorListRoles(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListPoliciesGrantingServiceAccess(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11237,8 +11719,11 @@ func awsAwsquery_deserializeOpErrorListRoles(response *smithyhttp.Response, meta } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("ServiceFailure", errorCode): - return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + + case strings.EqualFold("NoSuchEntity", errorCode): + return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -11250,14 +11735,14 @@ func awsAwsquery_deserializeOpErrorListRoles(response *smithyhttp.Response, meta } } -type awsAwsquery_deserializeOpListRoleTags struct { +type awsAwsquery_deserializeOpListPolicyTags struct { } -func (*awsAwsquery_deserializeOpListRoleTags) ID() string { +func (*awsAwsquery_deserializeOpListPolicyTags) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListRoleTags) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListPolicyTags) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11275,9 +11760,9 @@ func (m *awsAwsquery_deserializeOpListRoleTags) HandleDeserialize(ctx context.Co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListRoleTags(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListPolicyTags(response, &metadata) } - output := &ListRoleTagsOutput{} + output := &ListPolicyTagsOutput{} out.Result = output var buff [1024]byte @@ -11298,7 +11783,7 @@ func (m *awsAwsquery_deserializeOpListRoleTags) HandleDeserialize(ctx context.Co } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListRoleTagsResult") + t, err = decoder.GetElement("ListPolicyTagsResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11310,7 +11795,7 @@ func (m *awsAwsquery_deserializeOpListRoleTags) HandleDeserialize(ctx context.Co } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListRoleTagsOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListPolicyTagsOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11324,7 +11809,7 @@ func (m *awsAwsquery_deserializeOpListRoleTags) HandleDeserialize(ctx context.Co return out, metadata, err } -func awsAwsquery_deserializeOpErrorListRoleTags(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListPolicyTags(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11349,6 +11834,9 @@ func awsAwsquery_deserializeOpErrorListRoleTags(response *smithyhttp.Response, m } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -11365,14 +11853,14 @@ func awsAwsquery_deserializeOpErrorListRoleTags(response *smithyhttp.Response, m } } -type awsAwsquery_deserializeOpListSAMLProviders struct { +type awsAwsquery_deserializeOpListPolicyVersions struct { } -func (*awsAwsquery_deserializeOpListSAMLProviders) ID() string { +func (*awsAwsquery_deserializeOpListPolicyVersions) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListSAMLProviders) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListPolicyVersions) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11390,9 +11878,9 @@ func (m *awsAwsquery_deserializeOpListSAMLProviders) HandleDeserialize(ctx conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListSAMLProviders(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListPolicyVersions(response, &metadata) } - output := &ListSAMLProvidersOutput{} + output := &ListPolicyVersionsOutput{} out.Result = output var buff [1024]byte @@ -11413,7 +11901,7 @@ func (m *awsAwsquery_deserializeOpListSAMLProviders) HandleDeserialize(ctx conte } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListSAMLProvidersResult") + t, err = decoder.GetElement("ListPolicyVersionsResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11425,7 +11913,7 @@ func (m *awsAwsquery_deserializeOpListSAMLProviders) HandleDeserialize(ctx conte } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListSAMLProvidersOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListPolicyVersionsOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11439,7 +11927,7 @@ func (m *awsAwsquery_deserializeOpListSAMLProviders) HandleDeserialize(ctx conte return out, metadata, err } -func awsAwsquery_deserializeOpErrorListSAMLProviders(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListPolicyVersions(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11464,6 +11952,12 @@ func awsAwsquery_deserializeOpErrorListSAMLProviders(response *smithyhttp.Respon } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + + case strings.EqualFold("NoSuchEntity", errorCode): + return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + case strings.EqualFold("ServiceFailure", errorCode): return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) @@ -11477,14 +11971,14 @@ func awsAwsquery_deserializeOpErrorListSAMLProviders(response *smithyhttp.Respon } } -type awsAwsquery_deserializeOpListSAMLProviderTags struct { +type awsAwsquery_deserializeOpListRolePolicies struct { } -func (*awsAwsquery_deserializeOpListSAMLProviderTags) ID() string { +func (*awsAwsquery_deserializeOpListRolePolicies) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListSAMLProviderTags) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListRolePolicies) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11502,9 +11996,9 @@ func (m *awsAwsquery_deserializeOpListSAMLProviderTags) HandleDeserialize(ctx co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListSAMLProviderTags(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListRolePolicies(response, &metadata) } - output := &ListSAMLProviderTagsOutput{} + output := &ListRolePoliciesOutput{} out.Result = output var buff [1024]byte @@ -11525,7 +12019,7 @@ func (m *awsAwsquery_deserializeOpListSAMLProviderTags) HandleDeserialize(ctx co } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListSAMLProviderTagsResult") + t, err = decoder.GetElement("ListRolePoliciesResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11537,7 +12031,7 @@ func (m *awsAwsquery_deserializeOpListSAMLProviderTags) HandleDeserialize(ctx co } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListSAMLProviderTagsOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListRolePoliciesOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11551,7 +12045,7 @@ func (m *awsAwsquery_deserializeOpListSAMLProviderTags) HandleDeserialize(ctx co return out, metadata, err } -func awsAwsquery_deserializeOpErrorListSAMLProviderTags(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListRolePolicies(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11576,9 +12070,6 @@ func awsAwsquery_deserializeOpErrorListSAMLProviderTags(response *smithyhttp.Res } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("InvalidInput", errorCode): - return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) - case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -11595,14 +12086,14 @@ func awsAwsquery_deserializeOpErrorListSAMLProviderTags(response *smithyhttp.Res } } -type awsAwsquery_deserializeOpListServerCertificates struct { +type awsAwsquery_deserializeOpListRoles struct { } -func (*awsAwsquery_deserializeOpListServerCertificates) ID() string { +func (*awsAwsquery_deserializeOpListRoles) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListServerCertificates) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListRoles) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11620,9 +12111,9 @@ func (m *awsAwsquery_deserializeOpListServerCertificates) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListServerCertificates(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListRoles(response, &metadata) } - output := &ListServerCertificatesOutput{} + output := &ListRolesOutput{} out.Result = output var buff [1024]byte @@ -11643,7 +12134,7 @@ func (m *awsAwsquery_deserializeOpListServerCertificates) HandleDeserialize(ctx } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListServerCertificatesResult") + t, err = decoder.GetElement("ListRolesResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11655,7 +12146,7 @@ func (m *awsAwsquery_deserializeOpListServerCertificates) HandleDeserialize(ctx } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListServerCertificatesOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListRolesOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11669,7 +12160,7 @@ func (m *awsAwsquery_deserializeOpListServerCertificates) HandleDeserialize(ctx return out, metadata, err } -func awsAwsquery_deserializeOpErrorListServerCertificates(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListRoles(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11707,14 +12198,14 @@ func awsAwsquery_deserializeOpErrorListServerCertificates(response *smithyhttp.R } } -type awsAwsquery_deserializeOpListServerCertificateTags struct { +type awsAwsquery_deserializeOpListRoleTags struct { } -func (*awsAwsquery_deserializeOpListServerCertificateTags) ID() string { +func (*awsAwsquery_deserializeOpListRoleTags) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListServerCertificateTags) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListRoleTags) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11732,9 +12223,9 @@ func (m *awsAwsquery_deserializeOpListServerCertificateTags) HandleDeserialize(c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListServerCertificateTags(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListRoleTags(response, &metadata) } - output := &ListServerCertificateTagsOutput{} + output := &ListRoleTagsOutput{} out.Result = output var buff [1024]byte @@ -11755,7 +12246,7 @@ func (m *awsAwsquery_deserializeOpListServerCertificateTags) HandleDeserialize(c } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListServerCertificateTagsResult") + t, err = decoder.GetElement("ListRoleTagsResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11767,7 +12258,7 @@ func (m *awsAwsquery_deserializeOpListServerCertificateTags) HandleDeserialize(c } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListServerCertificateTagsOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListRoleTagsOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11781,7 +12272,7 @@ func (m *awsAwsquery_deserializeOpListServerCertificateTags) HandleDeserialize(c return out, metadata, err } -func awsAwsquery_deserializeOpErrorListServerCertificateTags(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListRoleTags(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11822,14 +12313,14 @@ func awsAwsquery_deserializeOpErrorListServerCertificateTags(response *smithyhtt } } -type awsAwsquery_deserializeOpListServiceSpecificCredentials struct { +type awsAwsquery_deserializeOpListSAMLProviders struct { } -func (*awsAwsquery_deserializeOpListServiceSpecificCredentials) ID() string { +func (*awsAwsquery_deserializeOpListSAMLProviders) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListServiceSpecificCredentials) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListSAMLProviders) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11847,9 +12338,9 @@ func (m *awsAwsquery_deserializeOpListServiceSpecificCredentials) HandleDeserial } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListServiceSpecificCredentials(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListSAMLProviders(response, &metadata) } - output := &ListServiceSpecificCredentialsOutput{} + output := &ListSAMLProvidersOutput{} out.Result = output var buff [1024]byte @@ -11870,7 +12361,7 @@ func (m *awsAwsquery_deserializeOpListServiceSpecificCredentials) HandleDeserial } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListServiceSpecificCredentialsResult") + t, err = decoder.GetElement("ListSAMLProvidersResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11882,7 +12373,7 @@ func (m *awsAwsquery_deserializeOpListServiceSpecificCredentials) HandleDeserial } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListServiceSpecificCredentialsOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListSAMLProvidersOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11896,7 +12387,7 @@ func (m *awsAwsquery_deserializeOpListServiceSpecificCredentials) HandleDeserial return out, metadata, err } -func awsAwsquery_deserializeOpErrorListServiceSpecificCredentials(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListSAMLProviders(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11921,11 +12412,8 @@ func awsAwsquery_deserializeOpErrorListServiceSpecificCredentials(response *smit } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("NoSuchEntity", errorCode): - return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) - - case strings.EqualFold("NotSupportedService", errorCode): - return awsAwsquery_deserializeErrorServiceNotSupportedException(response, errorBody) + case strings.EqualFold("ServiceFailure", errorCode): + return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -11937,14 +12425,14 @@ func awsAwsquery_deserializeOpErrorListServiceSpecificCredentials(response *smit } } -type awsAwsquery_deserializeOpListSigningCertificates struct { +type awsAwsquery_deserializeOpListSAMLProviderTags struct { } -func (*awsAwsquery_deserializeOpListSigningCertificates) ID() string { +func (*awsAwsquery_deserializeOpListSAMLProviderTags) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListSigningCertificates) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListSAMLProviderTags) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11962,9 +12450,9 @@ func (m *awsAwsquery_deserializeOpListSigningCertificates) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListSigningCertificates(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListSAMLProviderTags(response, &metadata) } - output := &ListSigningCertificatesOutput{} + output := &ListSAMLProviderTagsOutput{} out.Result = output var buff [1024]byte @@ -11985,7 +12473,7 @@ func (m *awsAwsquery_deserializeOpListSigningCertificates) HandleDeserialize(ctx } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListSigningCertificatesResult") + t, err = decoder.GetElement("ListSAMLProviderTagsResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11997,7 +12485,7 @@ func (m *awsAwsquery_deserializeOpListSigningCertificates) HandleDeserialize(ctx } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListSigningCertificatesOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListSAMLProviderTagsOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12011,7 +12499,7 @@ func (m *awsAwsquery_deserializeOpListSigningCertificates) HandleDeserialize(ctx return out, metadata, err } -func awsAwsquery_deserializeOpErrorListSigningCertificates(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListSAMLProviderTags(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -12036,6 +12524,9 @@ func awsAwsquery_deserializeOpErrorListSigningCertificates(response *smithyhttp. } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -12052,14 +12543,14 @@ func awsAwsquery_deserializeOpErrorListSigningCertificates(response *smithyhttp. } } -type awsAwsquery_deserializeOpListSSHPublicKeys struct { +type awsAwsquery_deserializeOpListServerCertificates struct { } -func (*awsAwsquery_deserializeOpListSSHPublicKeys) ID() string { +func (*awsAwsquery_deserializeOpListServerCertificates) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListSSHPublicKeys) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListServerCertificates) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -12077,9 +12568,9 @@ func (m *awsAwsquery_deserializeOpListSSHPublicKeys) HandleDeserialize(ctx conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListSSHPublicKeys(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListServerCertificates(response, &metadata) } - output := &ListSSHPublicKeysOutput{} + output := &ListServerCertificatesOutput{} out.Result = output var buff [1024]byte @@ -12100,7 +12591,7 @@ func (m *awsAwsquery_deserializeOpListSSHPublicKeys) HandleDeserialize(ctx conte } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListSSHPublicKeysResult") + t, err = decoder.GetElement("ListServerCertificatesResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12112,7 +12603,7 @@ func (m *awsAwsquery_deserializeOpListSSHPublicKeys) HandleDeserialize(ctx conte } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListSSHPublicKeysOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListServerCertificatesOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12126,7 +12617,7 @@ func (m *awsAwsquery_deserializeOpListSSHPublicKeys) HandleDeserialize(ctx conte return out, metadata, err } -func awsAwsquery_deserializeOpErrorListSSHPublicKeys(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListServerCertificates(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -12151,8 +12642,8 @@ func awsAwsquery_deserializeOpErrorListSSHPublicKeys(response *smithyhttp.Respon } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("NoSuchEntity", errorCode): - return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + case strings.EqualFold("ServiceFailure", errorCode): + return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -12164,14 +12655,14 @@ func awsAwsquery_deserializeOpErrorListSSHPublicKeys(response *smithyhttp.Respon } } -type awsAwsquery_deserializeOpListUserPolicies struct { +type awsAwsquery_deserializeOpListServerCertificateTags struct { } -func (*awsAwsquery_deserializeOpListUserPolicies) ID() string { +func (*awsAwsquery_deserializeOpListServerCertificateTags) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListUserPolicies) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListServerCertificateTags) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -12189,9 +12680,9 @@ func (m *awsAwsquery_deserializeOpListUserPolicies) HandleDeserialize(ctx contex } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListUserPolicies(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListServerCertificateTags(response, &metadata) } - output := &ListUserPoliciesOutput{} + output := &ListServerCertificateTagsOutput{} out.Result = output var buff [1024]byte @@ -12212,7 +12703,7 @@ func (m *awsAwsquery_deserializeOpListUserPolicies) HandleDeserialize(ctx contex } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListUserPoliciesResult") + t, err = decoder.GetElement("ListServerCertificateTagsResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12224,7 +12715,7 @@ func (m *awsAwsquery_deserializeOpListUserPolicies) HandleDeserialize(ctx contex } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListUserPoliciesOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListServerCertificateTagsOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12238,7 +12729,7 @@ func (m *awsAwsquery_deserializeOpListUserPolicies) HandleDeserialize(ctx contex return out, metadata, err } -func awsAwsquery_deserializeOpErrorListUserPolicies(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListServerCertificateTags(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -12279,14 +12770,14 @@ func awsAwsquery_deserializeOpErrorListUserPolicies(response *smithyhttp.Respons } } -type awsAwsquery_deserializeOpListUsers struct { +type awsAwsquery_deserializeOpListServiceSpecificCredentials struct { } -func (*awsAwsquery_deserializeOpListUsers) ID() string { +func (*awsAwsquery_deserializeOpListServiceSpecificCredentials) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListUsers) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListServiceSpecificCredentials) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -12304,9 +12795,9 @@ func (m *awsAwsquery_deserializeOpListUsers) HandleDeserialize(ctx context.Conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListUsers(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListServiceSpecificCredentials(response, &metadata) } - output := &ListUsersOutput{} + output := &ListServiceSpecificCredentialsOutput{} out.Result = output var buff [1024]byte @@ -12327,7 +12818,7 @@ func (m *awsAwsquery_deserializeOpListUsers) HandleDeserialize(ctx context.Conte } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListUsersResult") + t, err = decoder.GetElement("ListServiceSpecificCredentialsResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12339,7 +12830,7 @@ func (m *awsAwsquery_deserializeOpListUsers) HandleDeserialize(ctx context.Conte } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListUsersOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListServiceSpecificCredentialsOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12353,7 +12844,7 @@ func (m *awsAwsquery_deserializeOpListUsers) HandleDeserialize(ctx context.Conte return out, metadata, err } -func awsAwsquery_deserializeOpErrorListUsers(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListServiceSpecificCredentials(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -12378,8 +12869,11 @@ func awsAwsquery_deserializeOpErrorListUsers(response *smithyhttp.Response, meta } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("ServiceFailure", errorCode): - return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) + case strings.EqualFold("NoSuchEntity", errorCode): + return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + + case strings.EqualFold("NotSupportedService", errorCode): + return awsAwsquery_deserializeErrorServiceNotSupportedException(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -12391,14 +12885,14 @@ func awsAwsquery_deserializeOpErrorListUsers(response *smithyhttp.Response, meta } } -type awsAwsquery_deserializeOpListUserTags struct { +type awsAwsquery_deserializeOpListSigningCertificates struct { } -func (*awsAwsquery_deserializeOpListUserTags) ID() string { +func (*awsAwsquery_deserializeOpListSigningCertificates) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListUserTags) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListSigningCertificates) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -12416,9 +12910,9 @@ func (m *awsAwsquery_deserializeOpListUserTags) HandleDeserialize(ctx context.Co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListUserTags(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListSigningCertificates(response, &metadata) } - output := &ListUserTagsOutput{} + output := &ListSigningCertificatesOutput{} out.Result = output var buff [1024]byte @@ -12439,7 +12933,7 @@ func (m *awsAwsquery_deserializeOpListUserTags) HandleDeserialize(ctx context.Co } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListUserTagsResult") + t, err = decoder.GetElement("ListSigningCertificatesResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12451,7 +12945,7 @@ func (m *awsAwsquery_deserializeOpListUserTags) HandleDeserialize(ctx context.Co } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListUserTagsOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListSigningCertificatesOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12465,7 +12959,7 @@ func (m *awsAwsquery_deserializeOpListUserTags) HandleDeserialize(ctx context.Co return out, metadata, err } -func awsAwsquery_deserializeOpErrorListUserTags(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListSigningCertificates(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -12506,14 +13000,14 @@ func awsAwsquery_deserializeOpErrorListUserTags(response *smithyhttp.Response, m } } -type awsAwsquery_deserializeOpListVirtualMFADevices struct { +type awsAwsquery_deserializeOpListSSHPublicKeys struct { } -func (*awsAwsquery_deserializeOpListVirtualMFADevices) ID() string { +func (*awsAwsquery_deserializeOpListSSHPublicKeys) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpListVirtualMFADevices) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListSSHPublicKeys) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -12531,9 +13025,9 @@ func (m *awsAwsquery_deserializeOpListVirtualMFADevices) HandleDeserialize(ctx c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorListVirtualMFADevices(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListSSHPublicKeys(response, &metadata) } - output := &ListVirtualMFADevicesOutput{} + output := &ListSSHPublicKeysOutput{} out.Result = output var buff [1024]byte @@ -12554,7 +13048,7 @@ func (m *awsAwsquery_deserializeOpListVirtualMFADevices) HandleDeserialize(ctx c } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ListVirtualMFADevicesResult") + t, err = decoder.GetElement("ListSSHPublicKeysResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12566,7 +13060,7 @@ func (m *awsAwsquery_deserializeOpListVirtualMFADevices) HandleDeserialize(ctx c } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentListVirtualMFADevicesOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentListSSHPublicKeysOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12580,7 +13074,7 @@ func (m *awsAwsquery_deserializeOpListVirtualMFADevices) HandleDeserialize(ctx c return out, metadata, err } -func awsAwsquery_deserializeOpErrorListVirtualMFADevices(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListSSHPublicKeys(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -12605,6 +13099,9 @@ func awsAwsquery_deserializeOpErrorListVirtualMFADevices(response *smithyhttp.Re } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("NoSuchEntity", errorCode): + return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -12615,14 +13112,14 @@ func awsAwsquery_deserializeOpErrorListVirtualMFADevices(response *smithyhttp.Re } } -type awsAwsquery_deserializeOpPutGroupPolicy struct { +type awsAwsquery_deserializeOpListUserPolicies struct { } -func (*awsAwsquery_deserializeOpPutGroupPolicy) ID() string { +func (*awsAwsquery_deserializeOpListUserPolicies) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpPutGroupPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListUserPolicies) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -12640,21 +13137,56 @@ func (m *awsAwsquery_deserializeOpPutGroupPolicy) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorPutGroupPolicy(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListUserPolicies(response, &metadata) } - output := &PutGroupPolicyOutput{} + output := &ListUserPoliciesOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to discard response body, %w", err), + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + t, err = decoder.GetElement("ListUserPoliciesResult") + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) + err = awsAwsquery_deserializeOpDocumentListUserPoliciesOutput(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), } + return out, metadata, err } return out, metadata, err } -func awsAwsquery_deserializeOpErrorPutGroupPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListUserPolicies(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -12679,12 +13211,6 @@ func awsAwsquery_deserializeOpErrorPutGroupPolicy(response *smithyhttp.Response, } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("LimitExceeded", errorCode): - return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) - - case strings.EqualFold("MalformedPolicyDocument", errorCode): - return awsAwsquery_deserializeErrorMalformedPolicyDocumentException(response, errorBody) - case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -12701,14 +13227,14 @@ func awsAwsquery_deserializeOpErrorPutGroupPolicy(response *smithyhttp.Response, } } -type awsAwsquery_deserializeOpPutRolePermissionsBoundary struct { +type awsAwsquery_deserializeOpListUsers struct { } -func (*awsAwsquery_deserializeOpPutRolePermissionsBoundary) ID() string { +func (*awsAwsquery_deserializeOpListUsers) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpPutRolePermissionsBoundary) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListUsers) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -12726,21 +13252,56 @@ func (m *awsAwsquery_deserializeOpPutRolePermissionsBoundary) HandleDeserialize( } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorPutRolePermissionsBoundary(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListUsers(response, &metadata) } - output := &PutRolePermissionsBoundaryOutput{} + output := &ListUsersOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to discard response body, %w", err), + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + t, err = decoder.GetElement("ListUsersResult") + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) + err = awsAwsquery_deserializeOpDocumentListUsersOutput(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), } + return out, metadata, err } return out, metadata, err } -func awsAwsquery_deserializeOpErrorPutRolePermissionsBoundary(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListUsers(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -12765,21 +13326,9 @@ func awsAwsquery_deserializeOpErrorPutRolePermissionsBoundary(response *smithyht } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("InvalidInput", errorCode): - return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) - - case strings.EqualFold("NoSuchEntity", errorCode): - return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) - - case strings.EqualFold("PolicyNotAttachable", errorCode): - return awsAwsquery_deserializeErrorPolicyNotAttachableException(response, errorBody) - case strings.EqualFold("ServiceFailure", errorCode): return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) - case strings.EqualFold("UnmodifiableEntity", errorCode): - return awsAwsquery_deserializeErrorUnmodifiableEntityException(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -12790,14 +13339,14 @@ func awsAwsquery_deserializeOpErrorPutRolePermissionsBoundary(response *smithyht } } -type awsAwsquery_deserializeOpPutRolePolicy struct { +type awsAwsquery_deserializeOpListUserTags struct { } -func (*awsAwsquery_deserializeOpPutRolePolicy) ID() string { +func (*awsAwsquery_deserializeOpListUserTags) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpPutRolePolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListUserTags) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -12815,21 +13364,56 @@ func (m *awsAwsquery_deserializeOpPutRolePolicy) HandleDeserialize(ctx context.C } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorPutRolePolicy(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListUserTags(response, &metadata) } - output := &PutRolePolicyOutput{} + output := &ListUserTagsOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to discard response body, %w", err), + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), } } + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + t, err = decoder.GetElement("ListUserTagsResult") + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) + err = awsAwsquery_deserializeOpDocumentListUserTagsOutput(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + return out, metadata, err } -func awsAwsquery_deserializeOpErrorPutRolePolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListUserTags(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -12854,21 +13438,12 @@ func awsAwsquery_deserializeOpErrorPutRolePolicy(response *smithyhttp.Response, } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("LimitExceeded", errorCode): - return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) - - case strings.EqualFold("MalformedPolicyDocument", errorCode): - return awsAwsquery_deserializeErrorMalformedPolicyDocumentException(response, errorBody) - case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) case strings.EqualFold("ServiceFailure", errorCode): return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) - case strings.EqualFold("UnmodifiableEntity", errorCode): - return awsAwsquery_deserializeErrorUnmodifiableEntityException(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -12879,14 +13454,14 @@ func awsAwsquery_deserializeOpErrorPutRolePolicy(response *smithyhttp.Response, } } -type awsAwsquery_deserializeOpPutUserPermissionsBoundary struct { +type awsAwsquery_deserializeOpListVirtualMFADevices struct { } -func (*awsAwsquery_deserializeOpPutUserPermissionsBoundary) ID() string { +func (*awsAwsquery_deserializeOpListVirtualMFADevices) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpPutUserPermissionsBoundary) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpListVirtualMFADevices) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -12904,21 +13479,56 @@ func (m *awsAwsquery_deserializeOpPutUserPermissionsBoundary) HandleDeserialize( } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorPutUserPermissionsBoundary(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorListVirtualMFADevices(response, &metadata) } - output := &PutUserPermissionsBoundaryOutput{} + output := &ListVirtualMFADevicesOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to discard response body, %w", err), + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + t, err = decoder.GetElement("ListVirtualMFADevicesResult") + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) + err = awsAwsquery_deserializeOpDocumentListVirtualMFADevicesOutput(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), } + return out, metadata, err } return out, metadata, err } -func awsAwsquery_deserializeOpErrorPutUserPermissionsBoundary(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorListVirtualMFADevices(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -12943,18 +13553,6 @@ func awsAwsquery_deserializeOpErrorPutUserPermissionsBoundary(response *smithyht } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("InvalidInput", errorCode): - return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) - - case strings.EqualFold("NoSuchEntity", errorCode): - return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) - - case strings.EqualFold("PolicyNotAttachable", errorCode): - return awsAwsquery_deserializeErrorPolicyNotAttachableException(response, errorBody) - - case strings.EqualFold("ServiceFailure", errorCode): - return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -12965,14 +13563,14 @@ func awsAwsquery_deserializeOpErrorPutUserPermissionsBoundary(response *smithyht } } -type awsAwsquery_deserializeOpPutUserPolicy struct { +type awsAwsquery_deserializeOpPutGroupPolicy struct { } -func (*awsAwsquery_deserializeOpPutUserPolicy) ID() string { +func (*awsAwsquery_deserializeOpPutGroupPolicy) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpPutUserPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpPutGroupPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -12990,9 +13588,9 @@ func (m *awsAwsquery_deserializeOpPutUserPolicy) HandleDeserialize(ctx context.C } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorPutUserPolicy(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorPutGroupPolicy(response, &metadata) } - output := &PutUserPolicyOutput{} + output := &PutGroupPolicyOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -13004,7 +13602,7 @@ func (m *awsAwsquery_deserializeOpPutUserPolicy) HandleDeserialize(ctx context.C return out, metadata, err } -func awsAwsquery_deserializeOpErrorPutUserPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorPutGroupPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13051,14 +13649,14 @@ func awsAwsquery_deserializeOpErrorPutUserPolicy(response *smithyhttp.Response, } } -type awsAwsquery_deserializeOpRemoveClientIDFromOpenIDConnectProvider struct { +type awsAwsquery_deserializeOpPutRolePermissionsBoundary struct { } -func (*awsAwsquery_deserializeOpRemoveClientIDFromOpenIDConnectProvider) ID() string { +func (*awsAwsquery_deserializeOpPutRolePermissionsBoundary) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpRemoveClientIDFromOpenIDConnectProvider) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpPutRolePermissionsBoundary) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13076,9 +13674,9 @@ func (m *awsAwsquery_deserializeOpRemoveClientIDFromOpenIDConnectProvider) Handl } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorRemoveClientIDFromOpenIDConnectProvider(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorPutRolePermissionsBoundary(response, &metadata) } - output := &RemoveClientIDFromOpenIDConnectProviderOutput{} + output := &PutRolePermissionsBoundaryOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -13090,7 +13688,7 @@ func (m *awsAwsquery_deserializeOpRemoveClientIDFromOpenIDConnectProvider) Handl return out, metadata, err } -func awsAwsquery_deserializeOpErrorRemoveClientIDFromOpenIDConnectProvider(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorPutRolePermissionsBoundary(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13121,9 +13719,15 @@ func awsAwsquery_deserializeOpErrorRemoveClientIDFromOpenIDConnectProvider(respo case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + case strings.EqualFold("PolicyNotAttachable", errorCode): + return awsAwsquery_deserializeErrorPolicyNotAttachableException(response, errorBody) + case strings.EqualFold("ServiceFailure", errorCode): return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) + case strings.EqualFold("UnmodifiableEntity", errorCode): + return awsAwsquery_deserializeErrorUnmodifiableEntityException(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -13134,14 +13738,14 @@ func awsAwsquery_deserializeOpErrorRemoveClientIDFromOpenIDConnectProvider(respo } } -type awsAwsquery_deserializeOpRemoveRoleFromInstanceProfile struct { +type awsAwsquery_deserializeOpPutRolePolicy struct { } -func (*awsAwsquery_deserializeOpRemoveRoleFromInstanceProfile) ID() string { +func (*awsAwsquery_deserializeOpPutRolePolicy) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpRemoveRoleFromInstanceProfile) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpPutRolePolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13159,9 +13763,9 @@ func (m *awsAwsquery_deserializeOpRemoveRoleFromInstanceProfile) HandleDeseriali } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorRemoveRoleFromInstanceProfile(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorPutRolePolicy(response, &metadata) } - output := &RemoveRoleFromInstanceProfileOutput{} + output := &PutRolePolicyOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -13173,7 +13777,7 @@ func (m *awsAwsquery_deserializeOpRemoveRoleFromInstanceProfile) HandleDeseriali return out, metadata, err } -func awsAwsquery_deserializeOpErrorRemoveRoleFromInstanceProfile(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorPutRolePolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13201,6 +13805,9 @@ func awsAwsquery_deserializeOpErrorRemoveRoleFromInstanceProfile(response *smith case strings.EqualFold("LimitExceeded", errorCode): return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) + case strings.EqualFold("MalformedPolicyDocument", errorCode): + return awsAwsquery_deserializeErrorMalformedPolicyDocumentException(response, errorBody) + case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -13220,14 +13827,14 @@ func awsAwsquery_deserializeOpErrorRemoveRoleFromInstanceProfile(response *smith } } -type awsAwsquery_deserializeOpRemoveUserFromGroup struct { +type awsAwsquery_deserializeOpPutUserPermissionsBoundary struct { } -func (*awsAwsquery_deserializeOpRemoveUserFromGroup) ID() string { +func (*awsAwsquery_deserializeOpPutUserPermissionsBoundary) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpRemoveUserFromGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpPutUserPermissionsBoundary) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13245,9 +13852,9 @@ func (m *awsAwsquery_deserializeOpRemoveUserFromGroup) HandleDeserialize(ctx con } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorRemoveUserFromGroup(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorPutUserPermissionsBoundary(response, &metadata) } - output := &RemoveUserFromGroupOutput{} + output := &PutUserPermissionsBoundaryOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -13259,7 +13866,7 @@ func (m *awsAwsquery_deserializeOpRemoveUserFromGroup) HandleDeserialize(ctx con return out, metadata, err } -func awsAwsquery_deserializeOpErrorRemoveUserFromGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorPutUserPermissionsBoundary(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13284,12 +13891,15 @@ func awsAwsquery_deserializeOpErrorRemoveUserFromGroup(response *smithyhttp.Resp } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("LimitExceeded", errorCode): - return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + case strings.EqualFold("PolicyNotAttachable", errorCode): + return awsAwsquery_deserializeErrorPolicyNotAttachableException(response, errorBody) + case strings.EqualFold("ServiceFailure", errorCode): return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) @@ -13303,14 +13913,14 @@ func awsAwsquery_deserializeOpErrorRemoveUserFromGroup(response *smithyhttp.Resp } } -type awsAwsquery_deserializeOpResetServiceSpecificCredential struct { +type awsAwsquery_deserializeOpPutUserPolicy struct { } -func (*awsAwsquery_deserializeOpResetServiceSpecificCredential) ID() string { +func (*awsAwsquery_deserializeOpPutUserPolicy) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpResetServiceSpecificCredential) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpPutUserPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13328,56 +13938,21 @@ func (m *awsAwsquery_deserializeOpResetServiceSpecificCredential) HandleDeserial } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorResetServiceSpecificCredential(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorPutUserPolicy(response, &metadata) } - output := &ResetServiceSpecificCredentialOutput{} + output := &PutUserPolicyOutput{} out.Result = output - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - body := io.TeeReader(response.Body, ringBuffer) - rootDecoder := xml.NewDecoder(body) - t, err := smithyxml.FetchRootElement(rootDecoder) - if err == io.EOF { - return out, metadata, nil - } - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("ResetServiceSpecificCredentialResult") - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentResetServiceSpecificCredentialOutput(&output, decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), + Err: fmt.Errorf("failed to discard response body, %w", err), } - return out, metadata, err } return out, metadata, err } -func awsAwsquery_deserializeOpErrorResetServiceSpecificCredential(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorPutUserPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13402,9 +13977,18 @@ func awsAwsquery_deserializeOpErrorResetServiceSpecificCredential(response *smit } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("LimitExceeded", errorCode): + return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) + + case strings.EqualFold("MalformedPolicyDocument", errorCode): + return awsAwsquery_deserializeErrorMalformedPolicyDocumentException(response, errorBody) + case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + case strings.EqualFold("ServiceFailure", errorCode): + return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -13415,14 +13999,14 @@ func awsAwsquery_deserializeOpErrorResetServiceSpecificCredential(response *smit } } -type awsAwsquery_deserializeOpResyncMFADevice struct { +type awsAwsquery_deserializeOpRejectDelegationRequest struct { } -func (*awsAwsquery_deserializeOpResyncMFADevice) ID() string { +func (*awsAwsquery_deserializeOpRejectDelegationRequest) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpResyncMFADevice) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpRejectDelegationRequest) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13440,9 +14024,9 @@ func (m *awsAwsquery_deserializeOpResyncMFADevice) HandleDeserialize(ctx context } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorResyncMFADevice(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorRejectDelegationRequest(response, &metadata) } - output := &ResyncMFADeviceOutput{} + output := &RejectDelegationRequestOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -13454,7 +14038,7 @@ func (m *awsAwsquery_deserializeOpResyncMFADevice) HandleDeserialize(ctx context return out, metadata, err } -func awsAwsquery_deserializeOpErrorResyncMFADevice(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorRejectDelegationRequest(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13482,11 +14066,8 @@ func awsAwsquery_deserializeOpErrorResyncMFADevice(response *smithyhttp.Response case strings.EqualFold("ConcurrentModification", errorCode): return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) - case strings.EqualFold("InvalidAuthenticationCode", errorCode): - return awsAwsquery_deserializeErrorInvalidAuthenticationCodeException(response, errorBody) - - case strings.EqualFold("LimitExceeded", errorCode): - return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -13504,14 +14085,14 @@ func awsAwsquery_deserializeOpErrorResyncMFADevice(response *smithyhttp.Response } } -type awsAwsquery_deserializeOpSetDefaultPolicyVersion struct { +type awsAwsquery_deserializeOpRemoveClientIDFromOpenIDConnectProvider struct { } -func (*awsAwsquery_deserializeOpSetDefaultPolicyVersion) ID() string { +func (*awsAwsquery_deserializeOpRemoveClientIDFromOpenIDConnectProvider) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpSetDefaultPolicyVersion) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpRemoveClientIDFromOpenIDConnectProvider) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13529,9 +14110,9 @@ func (m *awsAwsquery_deserializeOpSetDefaultPolicyVersion) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorSetDefaultPolicyVersion(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorRemoveClientIDFromOpenIDConnectProvider(response, &metadata) } - output := &SetDefaultPolicyVersionOutput{} + output := &RemoveClientIDFromOpenIDConnectProviderOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -13543,7 +14124,7 @@ func (m *awsAwsquery_deserializeOpSetDefaultPolicyVersion) HandleDeserialize(ctx return out, metadata, err } -func awsAwsquery_deserializeOpErrorSetDefaultPolicyVersion(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorRemoveClientIDFromOpenIDConnectProvider(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13568,12 +14149,12 @@ func awsAwsquery_deserializeOpErrorSetDefaultPolicyVersion(response *smithyhttp. } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("ConcurrentModification", errorCode): + return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) + case strings.EqualFold("InvalidInput", errorCode): return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) - case strings.EqualFold("LimitExceeded", errorCode): - return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) - case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -13590,14 +14171,14 @@ func awsAwsquery_deserializeOpErrorSetDefaultPolicyVersion(response *smithyhttp. } } -type awsAwsquery_deserializeOpSetSecurityTokenServicePreferences struct { +type awsAwsquery_deserializeOpRemoveRoleFromInstanceProfile struct { } -func (*awsAwsquery_deserializeOpSetSecurityTokenServicePreferences) ID() string { +func (*awsAwsquery_deserializeOpRemoveRoleFromInstanceProfile) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpSetSecurityTokenServicePreferences) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpRemoveRoleFromInstanceProfile) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13615,9 +14196,9 @@ func (m *awsAwsquery_deserializeOpSetSecurityTokenServicePreferences) HandleDese } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorSetSecurityTokenServicePreferences(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorRemoveRoleFromInstanceProfile(response, &metadata) } - output := &SetSecurityTokenServicePreferencesOutput{} + output := &RemoveRoleFromInstanceProfileOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -13629,7 +14210,7 @@ func (m *awsAwsquery_deserializeOpSetSecurityTokenServicePreferences) HandleDese return out, metadata, err } -func awsAwsquery_deserializeOpErrorSetSecurityTokenServicePreferences(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorRemoveRoleFromInstanceProfile(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13654,9 +14235,18 @@ func awsAwsquery_deserializeOpErrorSetSecurityTokenServicePreferences(response * } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("LimitExceeded", errorCode): + return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) + + case strings.EqualFold("NoSuchEntity", errorCode): + return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + case strings.EqualFold("ServiceFailure", errorCode): return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) + case strings.EqualFold("UnmodifiableEntity", errorCode): + return awsAwsquery_deserializeErrorUnmodifiableEntityException(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -13667,14 +14257,14 @@ func awsAwsquery_deserializeOpErrorSetSecurityTokenServicePreferences(response * } } -type awsAwsquery_deserializeOpSimulateCustomPolicy struct { +type awsAwsquery_deserializeOpRemoveUserFromGroup struct { } -func (*awsAwsquery_deserializeOpSimulateCustomPolicy) ID() string { +func (*awsAwsquery_deserializeOpRemoveUserFromGroup) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpSimulateCustomPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpRemoveUserFromGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13692,56 +14282,21 @@ func (m *awsAwsquery_deserializeOpSimulateCustomPolicy) HandleDeserialize(ctx co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorSimulateCustomPolicy(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorRemoveUserFromGroup(response, &metadata) } - output := &SimulateCustomPolicyOutput{} + output := &RemoveUserFromGroupOutput{} out.Result = output - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - body := io.TeeReader(response.Body, ringBuffer) - rootDecoder := xml.NewDecoder(body) - t, err := smithyxml.FetchRootElement(rootDecoder) - if err == io.EOF { - return out, metadata, nil - } - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("SimulateCustomPolicyResult") - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentSimulateCustomPolicyOutput(&output, decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), + Err: fmt.Errorf("failed to discard response body, %w", err), } - return out, metadata, err } return out, metadata, err } -func awsAwsquery_deserializeOpErrorSimulateCustomPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorRemoveUserFromGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13766,11 +14321,14 @@ func awsAwsquery_deserializeOpErrorSimulateCustomPolicy(response *smithyhttp.Res } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("InvalidInput", errorCode): - return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + case strings.EqualFold("LimitExceeded", errorCode): + return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) - case strings.EqualFold("PolicyEvaluation", errorCode): - return awsAwsquery_deserializeErrorPolicyEvaluationException(response, errorBody) + case strings.EqualFold("NoSuchEntity", errorCode): + return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + + case strings.EqualFold("ServiceFailure", errorCode): + return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -13782,14 +14340,14 @@ func awsAwsquery_deserializeOpErrorSimulateCustomPolicy(response *smithyhttp.Res } } -type awsAwsquery_deserializeOpSimulatePrincipalPolicy struct { +type awsAwsquery_deserializeOpResetServiceSpecificCredential struct { } -func (*awsAwsquery_deserializeOpSimulatePrincipalPolicy) ID() string { +func (*awsAwsquery_deserializeOpResetServiceSpecificCredential) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpSimulatePrincipalPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpResetServiceSpecificCredential) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13807,9 +14365,9 @@ func (m *awsAwsquery_deserializeOpSimulatePrincipalPolicy) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorSimulatePrincipalPolicy(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorResetServiceSpecificCredential(response, &metadata) } - output := &SimulatePrincipalPolicyOutput{} + output := &ResetServiceSpecificCredentialOutput{} out.Result = output var buff [1024]byte @@ -13830,7 +14388,7 @@ func (m *awsAwsquery_deserializeOpSimulatePrincipalPolicy) HandleDeserialize(ctx } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("SimulatePrincipalPolicyResult") + t, err = decoder.GetElement("ResetServiceSpecificCredentialResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -13842,7 +14400,7 @@ func (m *awsAwsquery_deserializeOpSimulatePrincipalPolicy) HandleDeserialize(ctx } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentSimulatePrincipalPolicyOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentResetServiceSpecificCredentialOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -13856,7 +14414,7 @@ func (m *awsAwsquery_deserializeOpSimulatePrincipalPolicy) HandleDeserialize(ctx return out, metadata, err } -func awsAwsquery_deserializeOpErrorSimulatePrincipalPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorResetServiceSpecificCredential(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13881,15 +14439,9 @@ func awsAwsquery_deserializeOpErrorSimulatePrincipalPolicy(response *smithyhttp. } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("InvalidInput", errorCode): - return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) - case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) - case strings.EqualFold("PolicyEvaluation", errorCode): - return awsAwsquery_deserializeErrorPolicyEvaluationException(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -13900,14 +14452,14 @@ func awsAwsquery_deserializeOpErrorSimulatePrincipalPolicy(response *smithyhttp. } } -type awsAwsquery_deserializeOpTagInstanceProfile struct { +type awsAwsquery_deserializeOpResyncMFADevice struct { } -func (*awsAwsquery_deserializeOpTagInstanceProfile) ID() string { +func (*awsAwsquery_deserializeOpResyncMFADevice) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpTagInstanceProfile) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpResyncMFADevice) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13925,9 +14477,9 @@ func (m *awsAwsquery_deserializeOpTagInstanceProfile) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorTagInstanceProfile(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorResyncMFADevice(response, &metadata) } - output := &TagInstanceProfileOutput{} + output := &ResyncMFADeviceOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -13939,7 +14491,7 @@ func (m *awsAwsquery_deserializeOpTagInstanceProfile) HandleDeserialize(ctx cont return out, metadata, err } -func awsAwsquery_deserializeOpErrorTagInstanceProfile(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorResyncMFADevice(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13967,8 +14519,8 @@ func awsAwsquery_deserializeOpErrorTagInstanceProfile(response *smithyhttp.Respo case strings.EqualFold("ConcurrentModification", errorCode): return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) - case strings.EqualFold("InvalidInput", errorCode): - return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + case strings.EqualFold("InvalidAuthenticationCode", errorCode): + return awsAwsquery_deserializeErrorInvalidAuthenticationCodeException(response, errorBody) case strings.EqualFold("LimitExceeded", errorCode): return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) @@ -13989,14 +14541,14 @@ func awsAwsquery_deserializeOpErrorTagInstanceProfile(response *smithyhttp.Respo } } -type awsAwsquery_deserializeOpTagMFADevice struct { +type awsAwsquery_deserializeOpSendDelegationToken struct { } -func (*awsAwsquery_deserializeOpTagMFADevice) ID() string { +func (*awsAwsquery_deserializeOpSendDelegationToken) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpTagMFADevice) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpSendDelegationToken) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14014,9 +14566,9 @@ func (m *awsAwsquery_deserializeOpTagMFADevice) HandleDeserialize(ctx context.Co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorTagMFADevice(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorSendDelegationToken(response, &metadata) } - output := &TagMFADeviceOutput{} + output := &SendDelegationTokenOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -14028,7 +14580,7 @@ func (m *awsAwsquery_deserializeOpTagMFADevice) HandleDeserialize(ctx context.Co return out, metadata, err } -func awsAwsquery_deserializeOpErrorTagMFADevice(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorSendDelegationToken(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14059,9 +14611,6 @@ func awsAwsquery_deserializeOpErrorTagMFADevice(response *smithyhttp.Response, m case strings.EqualFold("InvalidInput", errorCode): return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) - case strings.EqualFold("LimitExceeded", errorCode): - return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) - case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -14078,14 +14627,14 @@ func awsAwsquery_deserializeOpErrorTagMFADevice(response *smithyhttp.Response, m } } -type awsAwsquery_deserializeOpTagOpenIDConnectProvider struct { +type awsAwsquery_deserializeOpSetDefaultPolicyVersion struct { } -func (*awsAwsquery_deserializeOpTagOpenIDConnectProvider) ID() string { +func (*awsAwsquery_deserializeOpSetDefaultPolicyVersion) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpTagOpenIDConnectProvider) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpSetDefaultPolicyVersion) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14103,9 +14652,9 @@ func (m *awsAwsquery_deserializeOpTagOpenIDConnectProvider) HandleDeserialize(ct } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorTagOpenIDConnectProvider(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorSetDefaultPolicyVersion(response, &metadata) } - output := &TagOpenIDConnectProviderOutput{} + output := &SetDefaultPolicyVersionOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -14117,7 +14666,7 @@ func (m *awsAwsquery_deserializeOpTagOpenIDConnectProvider) HandleDeserialize(ct return out, metadata, err } -func awsAwsquery_deserializeOpErrorTagOpenIDConnectProvider(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorSetDefaultPolicyVersion(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14142,9 +14691,6 @@ func awsAwsquery_deserializeOpErrorTagOpenIDConnectProvider(response *smithyhttp } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("ConcurrentModification", errorCode): - return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) - case strings.EqualFold("InvalidInput", errorCode): return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) @@ -14167,14 +14713,14 @@ func awsAwsquery_deserializeOpErrorTagOpenIDConnectProvider(response *smithyhttp } } -type awsAwsquery_deserializeOpTagPolicy struct { +type awsAwsquery_deserializeOpSetSecurityTokenServicePreferences struct { } -func (*awsAwsquery_deserializeOpTagPolicy) ID() string { +func (*awsAwsquery_deserializeOpSetSecurityTokenServicePreferences) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpTagPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpSetSecurityTokenServicePreferences) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14192,9 +14738,9 @@ func (m *awsAwsquery_deserializeOpTagPolicy) HandleDeserialize(ctx context.Conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorTagPolicy(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorSetSecurityTokenServicePreferences(response, &metadata) } - output := &TagPolicyOutput{} + output := &SetSecurityTokenServicePreferencesOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -14206,7 +14752,7 @@ func (m *awsAwsquery_deserializeOpTagPolicy) HandleDeserialize(ctx context.Conte return out, metadata, err } -func awsAwsquery_deserializeOpErrorTagPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorSetSecurityTokenServicePreferences(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14231,18 +14777,6 @@ func awsAwsquery_deserializeOpErrorTagPolicy(response *smithyhttp.Response, meta } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("ConcurrentModification", errorCode): - return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) - - case strings.EqualFold("InvalidInput", errorCode): - return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) - - case strings.EqualFold("LimitExceeded", errorCode): - return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) - - case strings.EqualFold("NoSuchEntity", errorCode): - return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) - case strings.EqualFold("ServiceFailure", errorCode): return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) @@ -14256,14 +14790,14 @@ func awsAwsquery_deserializeOpErrorTagPolicy(response *smithyhttp.Response, meta } } -type awsAwsquery_deserializeOpTagRole struct { +type awsAwsquery_deserializeOpSimulateCustomPolicy struct { } -func (*awsAwsquery_deserializeOpTagRole) ID() string { +func (*awsAwsquery_deserializeOpSimulateCustomPolicy) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpTagRole) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpSimulateCustomPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14281,21 +14815,56 @@ func (m *awsAwsquery_deserializeOpTagRole) HandleDeserialize(ctx context.Context } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorTagRole(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorSimulateCustomPolicy(response, &metadata) } - output := &TagRoleOutput{} + output := &SimulateCustomPolicyOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to discard response body, %w", err), + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + t, err = decoder.GetElement("SimulateCustomPolicyResult") + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) + err = awsAwsquery_deserializeOpDocumentSimulateCustomPolicyOutput(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), } + return out, metadata, err } return out, metadata, err } -func awsAwsquery_deserializeOpErrorTagRole(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorSimulateCustomPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14320,20 +14889,11 @@ func awsAwsquery_deserializeOpErrorTagRole(response *smithyhttp.Response, metada } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("ConcurrentModification", errorCode): - return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) - case strings.EqualFold("InvalidInput", errorCode): return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) - case strings.EqualFold("LimitExceeded", errorCode): - return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) - - case strings.EqualFold("NoSuchEntity", errorCode): - return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) - - case strings.EqualFold("ServiceFailure", errorCode): - return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) + case strings.EqualFold("PolicyEvaluation", errorCode): + return awsAwsquery_deserializeErrorPolicyEvaluationException(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -14345,14 +14905,14 @@ func awsAwsquery_deserializeOpErrorTagRole(response *smithyhttp.Response, metada } } -type awsAwsquery_deserializeOpTagSAMLProvider struct { +type awsAwsquery_deserializeOpSimulatePrincipalPolicy struct { } -func (*awsAwsquery_deserializeOpTagSAMLProvider) ID() string { +func (*awsAwsquery_deserializeOpSimulatePrincipalPolicy) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpTagSAMLProvider) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpSimulatePrincipalPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14370,21 +14930,56 @@ func (m *awsAwsquery_deserializeOpTagSAMLProvider) HandleDeserialize(ctx context } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorTagSAMLProvider(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorSimulatePrincipalPolicy(response, &metadata) } - output := &TagSAMLProviderOutput{} + output := &SimulatePrincipalPolicyOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to discard response body, %w", err), + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), } } - return out, metadata, err + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + t, err = decoder.GetElement("SimulatePrincipalPolicyResult") + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) + err = awsAwsquery_deserializeOpDocumentSimulatePrincipalPolicyOutput(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err } -func awsAwsquery_deserializeOpErrorTagSAMLProvider(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorSimulatePrincipalPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14409,20 +15004,14 @@ func awsAwsquery_deserializeOpErrorTagSAMLProvider(response *smithyhttp.Response } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("ConcurrentModification", errorCode): - return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) - case strings.EqualFold("InvalidInput", errorCode): return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) - case strings.EqualFold("LimitExceeded", errorCode): - return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) - case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) - case strings.EqualFold("ServiceFailure", errorCode): - return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) + case strings.EqualFold("PolicyEvaluation", errorCode): + return awsAwsquery_deserializeErrorPolicyEvaluationException(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -14434,14 +15023,14 @@ func awsAwsquery_deserializeOpErrorTagSAMLProvider(response *smithyhttp.Response } } -type awsAwsquery_deserializeOpTagServerCertificate struct { +type awsAwsquery_deserializeOpTagInstanceProfile struct { } -func (*awsAwsquery_deserializeOpTagServerCertificate) ID() string { +func (*awsAwsquery_deserializeOpTagInstanceProfile) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpTagServerCertificate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpTagInstanceProfile) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14459,9 +15048,9 @@ func (m *awsAwsquery_deserializeOpTagServerCertificate) HandleDeserialize(ctx co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorTagServerCertificate(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorTagInstanceProfile(response, &metadata) } - output := &TagServerCertificateOutput{} + output := &TagInstanceProfileOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -14473,7 +15062,7 @@ func (m *awsAwsquery_deserializeOpTagServerCertificate) HandleDeserialize(ctx co return out, metadata, err } -func awsAwsquery_deserializeOpErrorTagServerCertificate(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorTagInstanceProfile(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14523,14 +15112,14 @@ func awsAwsquery_deserializeOpErrorTagServerCertificate(response *smithyhttp.Res } } -type awsAwsquery_deserializeOpTagUser struct { +type awsAwsquery_deserializeOpTagMFADevice struct { } -func (*awsAwsquery_deserializeOpTagUser) ID() string { +func (*awsAwsquery_deserializeOpTagMFADevice) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpTagUser) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpTagMFADevice) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14548,9 +15137,9 @@ func (m *awsAwsquery_deserializeOpTagUser) HandleDeserialize(ctx context.Context } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorTagUser(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorTagMFADevice(response, &metadata) } - output := &TagUserOutput{} + output := &TagMFADeviceOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -14562,7 +15151,7 @@ func (m *awsAwsquery_deserializeOpTagUser) HandleDeserialize(ctx context.Context return out, metadata, err } -func awsAwsquery_deserializeOpErrorTagUser(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorTagMFADevice(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14612,14 +15201,14 @@ func awsAwsquery_deserializeOpErrorTagUser(response *smithyhttp.Response, metada } } -type awsAwsquery_deserializeOpUntagInstanceProfile struct { +type awsAwsquery_deserializeOpTagOpenIDConnectProvider struct { } -func (*awsAwsquery_deserializeOpUntagInstanceProfile) ID() string { +func (*awsAwsquery_deserializeOpTagOpenIDConnectProvider) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpUntagInstanceProfile) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpTagOpenIDConnectProvider) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14637,9 +15226,9 @@ func (m *awsAwsquery_deserializeOpUntagInstanceProfile) HandleDeserialize(ctx co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorUntagInstanceProfile(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorTagOpenIDConnectProvider(response, &metadata) } - output := &UntagInstanceProfileOutput{} + output := &TagOpenIDConnectProviderOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -14651,7 +15240,7 @@ func (m *awsAwsquery_deserializeOpUntagInstanceProfile) HandleDeserialize(ctx co return out, metadata, err } -func awsAwsquery_deserializeOpErrorUntagInstanceProfile(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorTagOpenIDConnectProvider(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14682,6 +15271,9 @@ func awsAwsquery_deserializeOpErrorUntagInstanceProfile(response *smithyhttp.Res case strings.EqualFold("InvalidInput", errorCode): return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + case strings.EqualFold("LimitExceeded", errorCode): + return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) + case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -14698,14 +15290,14 @@ func awsAwsquery_deserializeOpErrorUntagInstanceProfile(response *smithyhttp.Res } } -type awsAwsquery_deserializeOpUntagMFADevice struct { +type awsAwsquery_deserializeOpTagPolicy struct { } -func (*awsAwsquery_deserializeOpUntagMFADevice) ID() string { +func (*awsAwsquery_deserializeOpTagPolicy) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpUntagMFADevice) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpTagPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14723,9 +15315,9 @@ func (m *awsAwsquery_deserializeOpUntagMFADevice) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorUntagMFADevice(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorTagPolicy(response, &metadata) } - output := &UntagMFADeviceOutput{} + output := &TagPolicyOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -14737,7 +15329,7 @@ func (m *awsAwsquery_deserializeOpUntagMFADevice) HandleDeserialize(ctx context. return out, metadata, err } -func awsAwsquery_deserializeOpErrorUntagMFADevice(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorTagPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14768,6 +15360,9 @@ func awsAwsquery_deserializeOpErrorUntagMFADevice(response *smithyhttp.Response, case strings.EqualFold("InvalidInput", errorCode): return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + case strings.EqualFold("LimitExceeded", errorCode): + return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) + case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -14784,14 +15379,14 @@ func awsAwsquery_deserializeOpErrorUntagMFADevice(response *smithyhttp.Response, } } -type awsAwsquery_deserializeOpUntagOpenIDConnectProvider struct { +type awsAwsquery_deserializeOpTagRole struct { } -func (*awsAwsquery_deserializeOpUntagOpenIDConnectProvider) ID() string { +func (*awsAwsquery_deserializeOpTagRole) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpUntagOpenIDConnectProvider) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpTagRole) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14809,9 +15404,9 @@ func (m *awsAwsquery_deserializeOpUntagOpenIDConnectProvider) HandleDeserialize( } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorUntagOpenIDConnectProvider(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorTagRole(response, &metadata) } - output := &UntagOpenIDConnectProviderOutput{} + output := &TagRoleOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -14823,7 +15418,7 @@ func (m *awsAwsquery_deserializeOpUntagOpenIDConnectProvider) HandleDeserialize( return out, metadata, err } -func awsAwsquery_deserializeOpErrorUntagOpenIDConnectProvider(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorTagRole(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14854,6 +15449,9 @@ func awsAwsquery_deserializeOpErrorUntagOpenIDConnectProvider(response *smithyht case strings.EqualFold("InvalidInput", errorCode): return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + case strings.EqualFold("LimitExceeded", errorCode): + return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) + case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -14870,14 +15468,14 @@ func awsAwsquery_deserializeOpErrorUntagOpenIDConnectProvider(response *smithyht } } -type awsAwsquery_deserializeOpUntagPolicy struct { +type awsAwsquery_deserializeOpTagSAMLProvider struct { } -func (*awsAwsquery_deserializeOpUntagPolicy) ID() string { +func (*awsAwsquery_deserializeOpTagSAMLProvider) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpUntagPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpTagSAMLProvider) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14895,9 +15493,9 @@ func (m *awsAwsquery_deserializeOpUntagPolicy) HandleDeserialize(ctx context.Con } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorUntagPolicy(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorTagSAMLProvider(response, &metadata) } - output := &UntagPolicyOutput{} + output := &TagSAMLProviderOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -14909,7 +15507,7 @@ func (m *awsAwsquery_deserializeOpUntagPolicy) HandleDeserialize(ctx context.Con return out, metadata, err } -func awsAwsquery_deserializeOpErrorUntagPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorTagSAMLProvider(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14940,6 +15538,9 @@ func awsAwsquery_deserializeOpErrorUntagPolicy(response *smithyhttp.Response, me case strings.EqualFold("InvalidInput", errorCode): return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + case strings.EqualFold("LimitExceeded", errorCode): + return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) + case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -14956,14 +15557,14 @@ func awsAwsquery_deserializeOpErrorUntagPolicy(response *smithyhttp.Response, me } } -type awsAwsquery_deserializeOpUntagRole struct { +type awsAwsquery_deserializeOpTagServerCertificate struct { } -func (*awsAwsquery_deserializeOpUntagRole) ID() string { +func (*awsAwsquery_deserializeOpTagServerCertificate) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpUntagRole) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpTagServerCertificate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14981,9 +15582,9 @@ func (m *awsAwsquery_deserializeOpUntagRole) HandleDeserialize(ctx context.Conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorUntagRole(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorTagServerCertificate(response, &metadata) } - output := &UntagRoleOutput{} + output := &TagServerCertificateOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -14995,7 +15596,7 @@ func (m *awsAwsquery_deserializeOpUntagRole) HandleDeserialize(ctx context.Conte return out, metadata, err } -func awsAwsquery_deserializeOpErrorUntagRole(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorTagServerCertificate(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -15023,6 +15624,12 @@ func awsAwsquery_deserializeOpErrorUntagRole(response *smithyhttp.Response, meta case strings.EqualFold("ConcurrentModification", errorCode): return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + + case strings.EqualFold("LimitExceeded", errorCode): + return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) + case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -15039,14 +15646,14 @@ func awsAwsquery_deserializeOpErrorUntagRole(response *smithyhttp.Response, meta } } -type awsAwsquery_deserializeOpUntagSAMLProvider struct { +type awsAwsquery_deserializeOpTagUser struct { } -func (*awsAwsquery_deserializeOpUntagSAMLProvider) ID() string { +func (*awsAwsquery_deserializeOpTagUser) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpUntagSAMLProvider) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpTagUser) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -15064,9 +15671,9 @@ func (m *awsAwsquery_deserializeOpUntagSAMLProvider) HandleDeserialize(ctx conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorUntagSAMLProvider(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorTagUser(response, &metadata) } - output := &UntagSAMLProviderOutput{} + output := &TagUserOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -15078,7 +15685,7 @@ func (m *awsAwsquery_deserializeOpUntagSAMLProvider) HandleDeserialize(ctx conte return out, metadata, err } -func awsAwsquery_deserializeOpErrorUntagSAMLProvider(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorTagUser(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -15109,6 +15716,9 @@ func awsAwsquery_deserializeOpErrorUntagSAMLProvider(response *smithyhttp.Respon case strings.EqualFold("InvalidInput", errorCode): return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + case strings.EqualFold("LimitExceeded", errorCode): + return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) + case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -15125,14 +15735,14 @@ func awsAwsquery_deserializeOpErrorUntagSAMLProvider(response *smithyhttp.Respon } } -type awsAwsquery_deserializeOpUntagServerCertificate struct { +type awsAwsquery_deserializeOpUntagInstanceProfile struct { } -func (*awsAwsquery_deserializeOpUntagServerCertificate) ID() string { +func (*awsAwsquery_deserializeOpUntagInstanceProfile) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpUntagServerCertificate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpUntagInstanceProfile) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -15150,9 +15760,9 @@ func (m *awsAwsquery_deserializeOpUntagServerCertificate) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorUntagServerCertificate(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorUntagInstanceProfile(response, &metadata) } - output := &UntagServerCertificateOutput{} + output := &UntagInstanceProfileOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -15164,7 +15774,7 @@ func (m *awsAwsquery_deserializeOpUntagServerCertificate) HandleDeserialize(ctx return out, metadata, err } -func awsAwsquery_deserializeOpErrorUntagServerCertificate(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorUntagInstanceProfile(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -15211,14 +15821,14 @@ func awsAwsquery_deserializeOpErrorUntagServerCertificate(response *smithyhttp.R } } -type awsAwsquery_deserializeOpUntagUser struct { +type awsAwsquery_deserializeOpUntagMFADevice struct { } -func (*awsAwsquery_deserializeOpUntagUser) ID() string { +func (*awsAwsquery_deserializeOpUntagMFADevice) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpUntagUser) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpUntagMFADevice) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -15236,9 +15846,9 @@ func (m *awsAwsquery_deserializeOpUntagUser) HandleDeserialize(ctx context.Conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorUntagUser(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorUntagMFADevice(response, &metadata) } - output := &UntagUserOutput{} + output := &UntagMFADeviceOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -15250,7 +15860,7 @@ func (m *awsAwsquery_deserializeOpUntagUser) HandleDeserialize(ctx context.Conte return out, metadata, err } -func awsAwsquery_deserializeOpErrorUntagUser(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorUntagMFADevice(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -15278,6 +15888,9 @@ func awsAwsquery_deserializeOpErrorUntagUser(response *smithyhttp.Response, meta case strings.EqualFold("ConcurrentModification", errorCode): return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -15294,14 +15907,14 @@ func awsAwsquery_deserializeOpErrorUntagUser(response *smithyhttp.Response, meta } } -type awsAwsquery_deserializeOpUpdateAccessKey struct { +type awsAwsquery_deserializeOpUntagOpenIDConnectProvider struct { } -func (*awsAwsquery_deserializeOpUpdateAccessKey) ID() string { +func (*awsAwsquery_deserializeOpUntagOpenIDConnectProvider) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpUpdateAccessKey) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpUntagOpenIDConnectProvider) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -15319,9 +15932,9 @@ func (m *awsAwsquery_deserializeOpUpdateAccessKey) HandleDeserialize(ctx context } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorUpdateAccessKey(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorUntagOpenIDConnectProvider(response, &metadata) } - output := &UpdateAccessKeyOutput{} + output := &UntagOpenIDConnectProviderOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -15333,7 +15946,7 @@ func (m *awsAwsquery_deserializeOpUpdateAccessKey) HandleDeserialize(ctx context return out, metadata, err } -func awsAwsquery_deserializeOpErrorUpdateAccessKey(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorUntagOpenIDConnectProvider(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -15358,12 +15971,12 @@ func awsAwsquery_deserializeOpErrorUpdateAccessKey(response *smithyhttp.Response } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("ConcurrentModification", errorCode): + return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) + case strings.EqualFold("InvalidInput", errorCode): return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) - case strings.EqualFold("LimitExceeded", errorCode): - return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) - case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -15380,14 +15993,14 @@ func awsAwsquery_deserializeOpErrorUpdateAccessKey(response *smithyhttp.Response } } -type awsAwsquery_deserializeOpUpdateAccountPasswordPolicy struct { +type awsAwsquery_deserializeOpUntagPolicy struct { } -func (*awsAwsquery_deserializeOpUpdateAccountPasswordPolicy) ID() string { +func (*awsAwsquery_deserializeOpUntagPolicy) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpUpdateAccountPasswordPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpUntagPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -15405,9 +16018,9 @@ func (m *awsAwsquery_deserializeOpUpdateAccountPasswordPolicy) HandleDeserialize } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorUpdateAccountPasswordPolicy(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorUntagPolicy(response, &metadata) } - output := &UpdateAccountPasswordPolicyOutput{} + output := &UntagPolicyOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -15419,7 +16032,7 @@ func (m *awsAwsquery_deserializeOpUpdateAccountPasswordPolicy) HandleDeserialize return out, metadata, err } -func awsAwsquery_deserializeOpErrorUpdateAccountPasswordPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorUntagPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -15444,11 +16057,11 @@ func awsAwsquery_deserializeOpErrorUpdateAccountPasswordPolicy(response *smithyh } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("LimitExceeded", errorCode): - return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) + case strings.EqualFold("ConcurrentModification", errorCode): + return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) - case strings.EqualFold("MalformedPolicyDocument", errorCode): - return awsAwsquery_deserializeErrorMalformedPolicyDocumentException(response, errorBody) + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -15466,14 +16079,14 @@ func awsAwsquery_deserializeOpErrorUpdateAccountPasswordPolicy(response *smithyh } } -type awsAwsquery_deserializeOpUpdateAssumeRolePolicy struct { +type awsAwsquery_deserializeOpUntagRole struct { } -func (*awsAwsquery_deserializeOpUpdateAssumeRolePolicy) ID() string { +func (*awsAwsquery_deserializeOpUntagRole) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpUpdateAssumeRolePolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpUntagRole) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -15491,9 +16104,9 @@ func (m *awsAwsquery_deserializeOpUpdateAssumeRolePolicy) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorUpdateAssumeRolePolicy(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorUntagRole(response, &metadata) } - output := &UpdateAssumeRolePolicyOutput{} + output := &UntagRoleOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -15505,7 +16118,7 @@ func (m *awsAwsquery_deserializeOpUpdateAssumeRolePolicy) HandleDeserialize(ctx return out, metadata, err } -func awsAwsquery_deserializeOpErrorUpdateAssumeRolePolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorUntagRole(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -15530,11 +16143,8 @@ func awsAwsquery_deserializeOpErrorUpdateAssumeRolePolicy(response *smithyhttp.R } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("LimitExceeded", errorCode): - return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) - - case strings.EqualFold("MalformedPolicyDocument", errorCode): - return awsAwsquery_deserializeErrorMalformedPolicyDocumentException(response, errorBody) + case strings.EqualFold("ConcurrentModification", errorCode): + return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -15542,9 +16152,6 @@ func awsAwsquery_deserializeOpErrorUpdateAssumeRolePolicy(response *smithyhttp.R case strings.EqualFold("ServiceFailure", errorCode): return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) - case strings.EqualFold("UnmodifiableEntity", errorCode): - return awsAwsquery_deserializeErrorUnmodifiableEntityException(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -15555,14 +16162,14 @@ func awsAwsquery_deserializeOpErrorUpdateAssumeRolePolicy(response *smithyhttp.R } } -type awsAwsquery_deserializeOpUpdateGroup struct { +type awsAwsquery_deserializeOpUntagSAMLProvider struct { } -func (*awsAwsquery_deserializeOpUpdateGroup) ID() string { +func (*awsAwsquery_deserializeOpUntagSAMLProvider) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpUpdateGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpUntagSAMLProvider) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -15580,9 +16187,9 @@ func (m *awsAwsquery_deserializeOpUpdateGroup) HandleDeserialize(ctx context.Con } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorUpdateGroup(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorUntagSAMLProvider(response, &metadata) } - output := &UpdateGroupOutput{} + output := &UntagSAMLProviderOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -15594,7 +16201,7 @@ func (m *awsAwsquery_deserializeOpUpdateGroup) HandleDeserialize(ctx context.Con return out, metadata, err } -func awsAwsquery_deserializeOpErrorUpdateGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorUntagSAMLProvider(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -15619,11 +16226,11 @@ func awsAwsquery_deserializeOpErrorUpdateGroup(response *smithyhttp.Response, me } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("EntityAlreadyExists", errorCode): - return awsAwsquery_deserializeErrorEntityAlreadyExistsException(response, errorBody) - - case strings.EqualFold("LimitExceeded", errorCode): - return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) + case strings.EqualFold("ConcurrentModification", errorCode): + return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) + + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -15641,14 +16248,14 @@ func awsAwsquery_deserializeOpErrorUpdateGroup(response *smithyhttp.Response, me } } -type awsAwsquery_deserializeOpUpdateLoginProfile struct { +type awsAwsquery_deserializeOpUntagServerCertificate struct { } -func (*awsAwsquery_deserializeOpUpdateLoginProfile) ID() string { +func (*awsAwsquery_deserializeOpUntagServerCertificate) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpUpdateLoginProfile) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpUntagServerCertificate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -15666,9 +16273,9 @@ func (m *awsAwsquery_deserializeOpUpdateLoginProfile) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorUpdateLoginProfile(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorUntagServerCertificate(response, &metadata) } - output := &UpdateLoginProfileOutput{} + output := &UntagServerCertificateOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -15680,7 +16287,7 @@ func (m *awsAwsquery_deserializeOpUpdateLoginProfile) HandleDeserialize(ctx cont return out, metadata, err } -func awsAwsquery_deserializeOpErrorUpdateLoginProfile(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorUntagServerCertificate(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -15705,18 +16312,15 @@ func awsAwsquery_deserializeOpErrorUpdateLoginProfile(response *smithyhttp.Respo } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("EntityTemporarilyUnmodifiable", errorCode): - return awsAwsquery_deserializeErrorEntityTemporarilyUnmodifiableException(response, errorBody) + case strings.EqualFold("ConcurrentModification", errorCode): + return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) - case strings.EqualFold("LimitExceeded", errorCode): - return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) - case strings.EqualFold("PasswordPolicyViolation", errorCode): - return awsAwsquery_deserializeErrorPasswordPolicyViolationException(response, errorBody) - case strings.EqualFold("ServiceFailure", errorCode): return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) @@ -15730,14 +16334,14 @@ func awsAwsquery_deserializeOpErrorUpdateLoginProfile(response *smithyhttp.Respo } } -type awsAwsquery_deserializeOpUpdateOpenIDConnectProviderThumbprint struct { +type awsAwsquery_deserializeOpUntagUser struct { } -func (*awsAwsquery_deserializeOpUpdateOpenIDConnectProviderThumbprint) ID() string { +func (*awsAwsquery_deserializeOpUntagUser) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpUpdateOpenIDConnectProviderThumbprint) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpUntagUser) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -15755,9 +16359,9 @@ func (m *awsAwsquery_deserializeOpUpdateOpenIDConnectProviderThumbprint) HandleD } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorUpdateOpenIDConnectProviderThumbprint(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorUntagUser(response, &metadata) } - output := &UpdateOpenIDConnectProviderThumbprintOutput{} + output := &UntagUserOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -15769,7 +16373,7 @@ func (m *awsAwsquery_deserializeOpUpdateOpenIDConnectProviderThumbprint) HandleD return out, metadata, err } -func awsAwsquery_deserializeOpErrorUpdateOpenIDConnectProviderThumbprint(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorUntagUser(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -15794,8 +16398,8 @@ func awsAwsquery_deserializeOpErrorUpdateOpenIDConnectProviderThumbprint(respons } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("InvalidInput", errorCode): - return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + case strings.EqualFold("ConcurrentModification", errorCode): + return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -15813,14 +16417,14 @@ func awsAwsquery_deserializeOpErrorUpdateOpenIDConnectProviderThumbprint(respons } } -type awsAwsquery_deserializeOpUpdateRole struct { +type awsAwsquery_deserializeOpUpdateAccessKey struct { } -func (*awsAwsquery_deserializeOpUpdateRole) ID() string { +func (*awsAwsquery_deserializeOpUpdateAccessKey) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpUpdateRole) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpUpdateAccessKey) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -15838,56 +16442,21 @@ func (m *awsAwsquery_deserializeOpUpdateRole) HandleDeserialize(ctx context.Cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorUpdateRole(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorUpdateAccessKey(response, &metadata) } - output := &UpdateRoleOutput{} + output := &UpdateAccessKeyOutput{} out.Result = output - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - body := io.TeeReader(response.Body, ringBuffer) - rootDecoder := xml.NewDecoder(body) - t, err := smithyxml.FetchRootElement(rootDecoder) - if err == io.EOF { - return out, metadata, nil - } - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("UpdateRoleResult") - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentUpdateRoleOutput(&output, decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), + Err: fmt.Errorf("failed to discard response body, %w", err), } - return out, metadata, err } return out, metadata, err } -func awsAwsquery_deserializeOpErrorUpdateRole(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorUpdateAccessKey(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -15912,15 +16481,18 @@ func awsAwsquery_deserializeOpErrorUpdateRole(response *smithyhttp.Response, met } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + + case strings.EqualFold("LimitExceeded", errorCode): + return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) + case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) case strings.EqualFold("ServiceFailure", errorCode): return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) - case strings.EqualFold("UnmodifiableEntity", errorCode): - return awsAwsquery_deserializeErrorUnmodifiableEntityException(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -15931,14 +16503,14 @@ func awsAwsquery_deserializeOpErrorUpdateRole(response *smithyhttp.Response, met } } -type awsAwsquery_deserializeOpUpdateRoleDescription struct { +type awsAwsquery_deserializeOpUpdateAccountPasswordPolicy struct { } -func (*awsAwsquery_deserializeOpUpdateRoleDescription) ID() string { +func (*awsAwsquery_deserializeOpUpdateAccountPasswordPolicy) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpUpdateRoleDescription) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpUpdateAccountPasswordPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -15956,56 +16528,21 @@ func (m *awsAwsquery_deserializeOpUpdateRoleDescription) HandleDeserialize(ctx c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorUpdateRoleDescription(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorUpdateAccountPasswordPolicy(response, &metadata) } - output := &UpdateRoleDescriptionOutput{} + output := &UpdateAccountPasswordPolicyOutput{} out.Result = output - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - body := io.TeeReader(response.Body, ringBuffer) - rootDecoder := xml.NewDecoder(body) - t, err := smithyxml.FetchRootElement(rootDecoder) - if err == io.EOF { - return out, metadata, nil - } - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("UpdateRoleDescriptionResult") - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentUpdateRoleDescriptionOutput(&output, decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), + Err: fmt.Errorf("failed to discard response body, %w", err), } - return out, metadata, err } return out, metadata, err } -func awsAwsquery_deserializeOpErrorUpdateRoleDescription(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorUpdateAccountPasswordPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -16030,15 +16567,18 @@ func awsAwsquery_deserializeOpErrorUpdateRoleDescription(response *smithyhttp.Re } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("LimitExceeded", errorCode): + return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) + + case strings.EqualFold("MalformedPolicyDocument", errorCode): + return awsAwsquery_deserializeErrorMalformedPolicyDocumentException(response, errorBody) + case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) case strings.EqualFold("ServiceFailure", errorCode): return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) - case strings.EqualFold("UnmodifiableEntity", errorCode): - return awsAwsquery_deserializeErrorUnmodifiableEntityException(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -16049,14 +16589,14 @@ func awsAwsquery_deserializeOpErrorUpdateRoleDescription(response *smithyhttp.Re } } -type awsAwsquery_deserializeOpUpdateSAMLProvider struct { +type awsAwsquery_deserializeOpUpdateAssumeRolePolicy struct { } -func (*awsAwsquery_deserializeOpUpdateSAMLProvider) ID() string { +func (*awsAwsquery_deserializeOpUpdateAssumeRolePolicy) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpUpdateSAMLProvider) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpUpdateAssumeRolePolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -16074,56 +16614,21 @@ func (m *awsAwsquery_deserializeOpUpdateSAMLProvider) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorUpdateSAMLProvider(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorUpdateAssumeRolePolicy(response, &metadata) } - output := &UpdateSAMLProviderOutput{} + output := &UpdateAssumeRolePolicyOutput{} out.Result = output - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - body := io.TeeReader(response.Body, ringBuffer) - rootDecoder := xml.NewDecoder(body) - t, err := smithyxml.FetchRootElement(rootDecoder) - if err == io.EOF { - return out, metadata, nil - } - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("UpdateSAMLProviderResult") - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentUpdateSAMLProviderOutput(&output, decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), + Err: fmt.Errorf("failed to discard response body, %w", err), } - return out, metadata, err } return out, metadata, err } -func awsAwsquery_deserializeOpErrorUpdateSAMLProvider(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorUpdateAssumeRolePolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -16148,18 +16653,21 @@ func awsAwsquery_deserializeOpErrorUpdateSAMLProvider(response *smithyhttp.Respo } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("InvalidInput", errorCode): - return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) - case strings.EqualFold("LimitExceeded", errorCode): return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) + case strings.EqualFold("MalformedPolicyDocument", errorCode): + return awsAwsquery_deserializeErrorMalformedPolicyDocumentException(response, errorBody) + case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) case strings.EqualFold("ServiceFailure", errorCode): return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) + case strings.EqualFold("UnmodifiableEntity", errorCode): + return awsAwsquery_deserializeErrorUnmodifiableEntityException(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -16170,14 +16678,14 @@ func awsAwsquery_deserializeOpErrorUpdateSAMLProvider(response *smithyhttp.Respo } } -type awsAwsquery_deserializeOpUpdateServerCertificate struct { +type awsAwsquery_deserializeOpUpdateDelegationRequest struct { } -func (*awsAwsquery_deserializeOpUpdateServerCertificate) ID() string { +func (*awsAwsquery_deserializeOpUpdateDelegationRequest) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpUpdateServerCertificate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpUpdateDelegationRequest) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -16195,9 +16703,9 @@ func (m *awsAwsquery_deserializeOpUpdateServerCertificate) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorUpdateServerCertificate(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorUpdateDelegationRequest(response, &metadata) } - output := &UpdateServerCertificateOutput{} + output := &UpdateDelegationRequestOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -16209,7 +16717,7 @@ func (m *awsAwsquery_deserializeOpUpdateServerCertificate) HandleDeserialize(ctx return out, metadata, err } -func awsAwsquery_deserializeOpErrorUpdateServerCertificate(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorUpdateDelegationRequest(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -16234,11 +16742,11 @@ func awsAwsquery_deserializeOpErrorUpdateServerCertificate(response *smithyhttp. } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("EntityAlreadyExists", errorCode): - return awsAwsquery_deserializeErrorEntityAlreadyExistsException(response, errorBody) + case strings.EqualFold("ConcurrentModification", errorCode): + return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) - case strings.EqualFold("LimitExceeded", errorCode): - return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -16256,14 +16764,14 @@ func awsAwsquery_deserializeOpErrorUpdateServerCertificate(response *smithyhttp. } } -type awsAwsquery_deserializeOpUpdateServiceSpecificCredential struct { +type awsAwsquery_deserializeOpUpdateGroup struct { } -func (*awsAwsquery_deserializeOpUpdateServiceSpecificCredential) ID() string { +func (*awsAwsquery_deserializeOpUpdateGroup) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpUpdateServiceSpecificCredential) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpUpdateGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -16281,9 +16789,9 @@ func (m *awsAwsquery_deserializeOpUpdateServiceSpecificCredential) HandleDeseria } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorUpdateServiceSpecificCredential(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorUpdateGroup(response, &metadata) } - output := &UpdateServiceSpecificCredentialOutput{} + output := &UpdateGroupOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -16295,7 +16803,7 @@ func (m *awsAwsquery_deserializeOpUpdateServiceSpecificCredential) HandleDeseria return out, metadata, err } -func awsAwsquery_deserializeOpErrorUpdateServiceSpecificCredential(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorUpdateGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -16320,8 +16828,17 @@ func awsAwsquery_deserializeOpErrorUpdateServiceSpecificCredential(response *smi } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("NoSuchEntity", errorCode): - return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + case strings.EqualFold("EntityAlreadyExists", errorCode): + return awsAwsquery_deserializeErrorEntityAlreadyExistsException(response, errorBody) + + case strings.EqualFold("LimitExceeded", errorCode): + return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) + + case strings.EqualFold("NoSuchEntity", errorCode): + return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + + case strings.EqualFold("ServiceFailure", errorCode): + return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -16333,14 +16850,14 @@ func awsAwsquery_deserializeOpErrorUpdateServiceSpecificCredential(response *smi } } -type awsAwsquery_deserializeOpUpdateSigningCertificate struct { +type awsAwsquery_deserializeOpUpdateLoginProfile struct { } -func (*awsAwsquery_deserializeOpUpdateSigningCertificate) ID() string { +func (*awsAwsquery_deserializeOpUpdateLoginProfile) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpUpdateSigningCertificate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpUpdateLoginProfile) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -16358,9 +16875,9 @@ func (m *awsAwsquery_deserializeOpUpdateSigningCertificate) HandleDeserialize(ct } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorUpdateSigningCertificate(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorUpdateLoginProfile(response, &metadata) } - output := &UpdateSigningCertificateOutput{} + output := &UpdateLoginProfileOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -16372,7 +16889,7 @@ func (m *awsAwsquery_deserializeOpUpdateSigningCertificate) HandleDeserialize(ct return out, metadata, err } -func awsAwsquery_deserializeOpErrorUpdateSigningCertificate(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorUpdateLoginProfile(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -16397,8 +16914,8 @@ func awsAwsquery_deserializeOpErrorUpdateSigningCertificate(response *smithyhttp } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("InvalidInput", errorCode): - return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + case strings.EqualFold("EntityTemporarilyUnmodifiable", errorCode): + return awsAwsquery_deserializeErrorEntityTemporarilyUnmodifiableException(response, errorBody) case strings.EqualFold("LimitExceeded", errorCode): return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) @@ -16406,6 +16923,9 @@ func awsAwsquery_deserializeOpErrorUpdateSigningCertificate(response *smithyhttp case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + case strings.EqualFold("PasswordPolicyViolation", errorCode): + return awsAwsquery_deserializeErrorPasswordPolicyViolationException(response, errorBody) + case strings.EqualFold("ServiceFailure", errorCode): return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) @@ -16419,14 +16939,14 @@ func awsAwsquery_deserializeOpErrorUpdateSigningCertificate(response *smithyhttp } } -type awsAwsquery_deserializeOpUpdateSSHPublicKey struct { +type awsAwsquery_deserializeOpUpdateOpenIDConnectProviderThumbprint struct { } -func (*awsAwsquery_deserializeOpUpdateSSHPublicKey) ID() string { +func (*awsAwsquery_deserializeOpUpdateOpenIDConnectProviderThumbprint) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpUpdateSSHPublicKey) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpUpdateOpenIDConnectProviderThumbprint) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -16444,9 +16964,9 @@ func (m *awsAwsquery_deserializeOpUpdateSSHPublicKey) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorUpdateSSHPublicKey(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorUpdateOpenIDConnectProviderThumbprint(response, &metadata) } - output := &UpdateSSHPublicKeyOutput{} + output := &UpdateOpenIDConnectProviderThumbprintOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -16458,7 +16978,7 @@ func (m *awsAwsquery_deserializeOpUpdateSSHPublicKey) HandleDeserialize(ctx cont return out, metadata, err } -func awsAwsquery_deserializeOpErrorUpdateSSHPublicKey(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorUpdateOpenIDConnectProviderThumbprint(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -16483,12 +17003,18 @@ func awsAwsquery_deserializeOpErrorUpdateSSHPublicKey(response *smithyhttp.Respo } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("ConcurrentModification", errorCode): + return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) + case strings.EqualFold("InvalidInput", errorCode): return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + case strings.EqualFold("ServiceFailure", errorCode): + return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -16499,14 +17025,14 @@ func awsAwsquery_deserializeOpErrorUpdateSSHPublicKey(response *smithyhttp.Respo } } -type awsAwsquery_deserializeOpUpdateUser struct { +type awsAwsquery_deserializeOpUpdateRole struct { } -func (*awsAwsquery_deserializeOpUpdateUser) ID() string { +func (*awsAwsquery_deserializeOpUpdateRole) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpUpdateUser) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpUpdateRole) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -16524,21 +17050,56 @@ func (m *awsAwsquery_deserializeOpUpdateUser) HandleDeserialize(ctx context.Cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorUpdateUser(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorUpdateRole(response, &metadata) } - output := &UpdateUserOutput{} + output := &UpdateRoleOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to discard response body, %w", err), + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + t, err = decoder.GetElement("UpdateRoleResult") + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) + err = awsAwsquery_deserializeOpDocumentUpdateRoleOutput(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), } + return out, metadata, err } return out, metadata, err } -func awsAwsquery_deserializeOpErrorUpdateUser(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorUpdateRole(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -16563,24 +17124,15 @@ func awsAwsquery_deserializeOpErrorUpdateUser(response *smithyhttp.Response, met } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("ConcurrentModification", errorCode): - return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) - - case strings.EqualFold("EntityAlreadyExists", errorCode): - return awsAwsquery_deserializeErrorEntityAlreadyExistsException(response, errorBody) - - case strings.EqualFold("EntityTemporarilyUnmodifiable", errorCode): - return awsAwsquery_deserializeErrorEntityTemporarilyUnmodifiableException(response, errorBody) - - case strings.EqualFold("LimitExceeded", errorCode): - return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) - case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) case strings.EqualFold("ServiceFailure", errorCode): return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) + case strings.EqualFold("UnmodifiableEntity", errorCode): + return awsAwsquery_deserializeErrorUnmodifiableEntityException(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -16591,14 +17143,14 @@ func awsAwsquery_deserializeOpErrorUpdateUser(response *smithyhttp.Response, met } } -type awsAwsquery_deserializeOpUploadServerCertificate struct { +type awsAwsquery_deserializeOpUpdateRoleDescription struct { } -func (*awsAwsquery_deserializeOpUploadServerCertificate) ID() string { +func (*awsAwsquery_deserializeOpUpdateRoleDescription) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpUploadServerCertificate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpUpdateRoleDescription) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -16616,9 +17168,9 @@ func (m *awsAwsquery_deserializeOpUploadServerCertificate) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorUploadServerCertificate(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorUpdateRoleDescription(response, &metadata) } - output := &UploadServerCertificateOutput{} + output := &UpdateRoleDescriptionOutput{} out.Result = output var buff [1024]byte @@ -16639,7 +17191,7 @@ func (m *awsAwsquery_deserializeOpUploadServerCertificate) HandleDeserialize(ctx } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("UploadServerCertificateResult") + t, err = decoder.GetElement("UpdateRoleDescriptionResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -16651,7 +17203,7 @@ func (m *awsAwsquery_deserializeOpUploadServerCertificate) HandleDeserialize(ctx } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentUploadServerCertificateOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentUpdateRoleDescriptionOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -16665,7 +17217,7 @@ func (m *awsAwsquery_deserializeOpUploadServerCertificate) HandleDeserialize(ctx return out, metadata, err } -func awsAwsquery_deserializeOpErrorUploadServerCertificate(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorUpdateRoleDescription(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -16690,27 +17242,15 @@ func awsAwsquery_deserializeOpErrorUploadServerCertificate(response *smithyhttp. } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("ConcurrentModification", errorCode): - return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) - - case strings.EqualFold("EntityAlreadyExists", errorCode): - return awsAwsquery_deserializeErrorEntityAlreadyExistsException(response, errorBody) - - case strings.EqualFold("InvalidInput", errorCode): - return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) - - case strings.EqualFold("KeyPairMismatch", errorCode): - return awsAwsquery_deserializeErrorKeyPairMismatchException(response, errorBody) - - case strings.EqualFold("LimitExceeded", errorCode): - return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) - - case strings.EqualFold("MalformedCertificate", errorCode): - return awsAwsquery_deserializeErrorMalformedCertificateException(response, errorBody) + case strings.EqualFold("NoSuchEntity", errorCode): + return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) case strings.EqualFold("ServiceFailure", errorCode): return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) + case strings.EqualFold("UnmodifiableEntity", errorCode): + return awsAwsquery_deserializeErrorUnmodifiableEntityException(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -16721,14 +17261,14 @@ func awsAwsquery_deserializeOpErrorUploadServerCertificate(response *smithyhttp. } } -type awsAwsquery_deserializeOpUploadSigningCertificate struct { +type awsAwsquery_deserializeOpUpdateSAMLProvider struct { } -func (*awsAwsquery_deserializeOpUploadSigningCertificate) ID() string { +func (*awsAwsquery_deserializeOpUpdateSAMLProvider) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpUploadSigningCertificate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpUpdateSAMLProvider) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -16746,9 +17286,9 @@ func (m *awsAwsquery_deserializeOpUploadSigningCertificate) HandleDeserialize(ct } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorUploadSigningCertificate(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorUpdateSAMLProvider(response, &metadata) } - output := &UploadSigningCertificateOutput{} + output := &UpdateSAMLProviderOutput{} out.Result = output var buff [1024]byte @@ -16769,7 +17309,7 @@ func (m *awsAwsquery_deserializeOpUploadSigningCertificate) HandleDeserialize(ct } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("UploadSigningCertificateResult") + t, err = decoder.GetElement("UpdateSAMLProviderResult") if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -16781,7 +17321,7 @@ func (m *awsAwsquery_deserializeOpUploadSigningCertificate) HandleDeserialize(ct } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentUploadSigningCertificateOutput(&output, decoder) + err = awsAwsquery_deserializeOpDocumentUpdateSAMLProviderOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -16795,7 +17335,7 @@ func (m *awsAwsquery_deserializeOpUploadSigningCertificate) HandleDeserialize(ct return out, metadata, err } -func awsAwsquery_deserializeOpErrorUploadSigningCertificate(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorUpdateSAMLProvider(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -16823,21 +17363,12 @@ func awsAwsquery_deserializeOpErrorUploadSigningCertificate(response *smithyhttp case strings.EqualFold("ConcurrentModification", errorCode): return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) - case strings.EqualFold("DuplicateCertificate", errorCode): - return awsAwsquery_deserializeErrorDuplicateCertificateException(response, errorBody) - - case strings.EqualFold("EntityAlreadyExists", errorCode): - return awsAwsquery_deserializeErrorEntityAlreadyExistsException(response, errorBody) - - case strings.EqualFold("InvalidCertificate", errorCode): - return awsAwsquery_deserializeErrorInvalidCertificateException(response, errorBody) + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) case strings.EqualFold("LimitExceeded", errorCode): return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) - case strings.EqualFold("MalformedCertificate", errorCode): - return awsAwsquery_deserializeErrorMalformedCertificateException(response, errorBody) - case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) @@ -16854,14 +17385,14 @@ func awsAwsquery_deserializeOpErrorUploadSigningCertificate(response *smithyhttp } } -type awsAwsquery_deserializeOpUploadSSHPublicKey struct { +type awsAwsquery_deserializeOpUpdateServerCertificate struct { } -func (*awsAwsquery_deserializeOpUploadSSHPublicKey) ID() string { +func (*awsAwsquery_deserializeOpUpdateServerCertificate) ID() string { return "OperationDeserializer" } -func (m *awsAwsquery_deserializeOpUploadSSHPublicKey) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsquery_deserializeOpUpdateServerCertificate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -16879,56 +17410,21 @@ func (m *awsAwsquery_deserializeOpUploadSSHPublicKey) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsquery_deserializeOpErrorUploadSSHPublicKey(response, &metadata) + return out, metadata, awsAwsquery_deserializeOpErrorUpdateServerCertificate(response, &metadata) } - output := &UploadSSHPublicKeyOutput{} + output := &UpdateServerCertificateOutput{} out.Result = output - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - body := io.TeeReader(response.Body, ringBuffer) - rootDecoder := xml.NewDecoder(body) - t, err := smithyxml.FetchRootElement(rootDecoder) - if err == io.EOF { - return out, metadata, nil - } - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("UploadSSHPublicKeyResult") - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeOpDocumentUploadSSHPublicKeyOutput(&output, decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), + Err: fmt.Errorf("failed to discard response body, %w", err), } - return out, metadata, err } return out, metadata, err } -func awsAwsquery_deserializeOpErrorUploadSSHPublicKey(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsquery_deserializeOpErrorUpdateServerCertificate(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -16953,11 +17449,8 @@ func awsAwsquery_deserializeOpErrorUploadSSHPublicKey(response *smithyhttp.Respo } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("DuplicateSSHPublicKey", errorCode): - return awsAwsquery_deserializeErrorDuplicateSSHPublicKeyException(response, errorBody) - - case strings.EqualFold("InvalidPublicKey", errorCode): - return awsAwsquery_deserializeErrorInvalidPublicKeyException(response, errorBody) + case strings.EqualFold("EntityAlreadyExists", errorCode): + return awsAwsquery_deserializeErrorEntityAlreadyExistsException(response, errorBody) case strings.EqualFold("LimitExceeded", errorCode): return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) @@ -16965,8 +17458,8 @@ func awsAwsquery_deserializeOpErrorUploadSSHPublicKey(response *smithyhttp.Respo case strings.EqualFold("NoSuchEntity", errorCode): return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) - case strings.EqualFold("UnrecognizedPublicKeyEncoding", errorCode): - return awsAwsquery_deserializeErrorUnrecognizedPublicKeyEncodingException(response, errorBody) + case strings.EqualFold("ServiceFailure", errorCode): + return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -16978,21 +17471,831 @@ func awsAwsquery_deserializeOpErrorUploadSSHPublicKey(response *smithyhttp.Respo } } -func awsAwsquery_deserializeErrorAccountNotManagementOrDelegatedAdministratorException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.AccountNotManagementOrDelegatedAdministratorException{} - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - body := io.TeeReader(errorBody, ringBuffer) - rootDecoder := xml.NewDecoder(body) - t, err := smithyxml.FetchRootElement(rootDecoder) - if err == io.EOF { - return output - } - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), +type awsAwsquery_deserializeOpUpdateServiceSpecificCredential struct { +} + +func (*awsAwsquery_deserializeOpUpdateServiceSpecificCredential) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsquery_deserializeOpUpdateServiceSpecificCredential) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsquery_deserializeOpErrorUpdateServiceSpecificCredential(response, &metadata) + } + output := &UpdateServiceSpecificCredentialOutput{} + out.Result = output + + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), + } + } + + return out, metadata, err +} + +func awsAwsquery_deserializeOpErrorUpdateServiceSpecificCredential(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("NoSuchEntity", errorCode): + return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsquery_deserializeOpUpdateSigningCertificate struct { +} + +func (*awsAwsquery_deserializeOpUpdateSigningCertificate) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsquery_deserializeOpUpdateSigningCertificate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsquery_deserializeOpErrorUpdateSigningCertificate(response, &metadata) + } + output := &UpdateSigningCertificateOutput{} + out.Result = output + + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), + } + } + + return out, metadata, err +} + +func awsAwsquery_deserializeOpErrorUpdateSigningCertificate(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + + case strings.EqualFold("LimitExceeded", errorCode): + return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) + + case strings.EqualFold("NoSuchEntity", errorCode): + return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + + case strings.EqualFold("ServiceFailure", errorCode): + return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsquery_deserializeOpUpdateSSHPublicKey struct { +} + +func (*awsAwsquery_deserializeOpUpdateSSHPublicKey) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsquery_deserializeOpUpdateSSHPublicKey) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsquery_deserializeOpErrorUpdateSSHPublicKey(response, &metadata) + } + output := &UpdateSSHPublicKeyOutput{} + out.Result = output + + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), + } + } + + return out, metadata, err +} + +func awsAwsquery_deserializeOpErrorUpdateSSHPublicKey(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + + case strings.EqualFold("NoSuchEntity", errorCode): + return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsquery_deserializeOpUpdateUser struct { +} + +func (*awsAwsquery_deserializeOpUpdateUser) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsquery_deserializeOpUpdateUser) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsquery_deserializeOpErrorUpdateUser(response, &metadata) + } + output := &UpdateUserOutput{} + out.Result = output + + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), + } + } + + return out, metadata, err +} + +func awsAwsquery_deserializeOpErrorUpdateUser(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("ConcurrentModification", errorCode): + return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) + + case strings.EqualFold("EntityAlreadyExists", errorCode): + return awsAwsquery_deserializeErrorEntityAlreadyExistsException(response, errorBody) + + case strings.EqualFold("EntityTemporarilyUnmodifiable", errorCode): + return awsAwsquery_deserializeErrorEntityTemporarilyUnmodifiableException(response, errorBody) + + case strings.EqualFold("LimitExceeded", errorCode): + return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) + + case strings.EqualFold("NoSuchEntity", errorCode): + return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + + case strings.EqualFold("ServiceFailure", errorCode): + return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsquery_deserializeOpUploadServerCertificate struct { +} + +func (*awsAwsquery_deserializeOpUploadServerCertificate) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsquery_deserializeOpUploadServerCertificate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsquery_deserializeOpErrorUploadServerCertificate(response, &metadata) + } + output := &UploadServerCertificateOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + t, err = decoder.GetElement("UploadServerCertificateResult") + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) + err = awsAwsquery_deserializeOpDocumentUploadServerCertificateOutput(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsquery_deserializeOpErrorUploadServerCertificate(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("ConcurrentModification", errorCode): + return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) + + case strings.EqualFold("EntityAlreadyExists", errorCode): + return awsAwsquery_deserializeErrorEntityAlreadyExistsException(response, errorBody) + + case strings.EqualFold("InvalidInput", errorCode): + return awsAwsquery_deserializeErrorInvalidInputException(response, errorBody) + + case strings.EqualFold("KeyPairMismatch", errorCode): + return awsAwsquery_deserializeErrorKeyPairMismatchException(response, errorBody) + + case strings.EqualFold("LimitExceeded", errorCode): + return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) + + case strings.EqualFold("MalformedCertificate", errorCode): + return awsAwsquery_deserializeErrorMalformedCertificateException(response, errorBody) + + case strings.EqualFold("ServiceFailure", errorCode): + return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsquery_deserializeOpUploadSigningCertificate struct { +} + +func (*awsAwsquery_deserializeOpUploadSigningCertificate) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsquery_deserializeOpUploadSigningCertificate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsquery_deserializeOpErrorUploadSigningCertificate(response, &metadata) + } + output := &UploadSigningCertificateOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + t, err = decoder.GetElement("UploadSigningCertificateResult") + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) + err = awsAwsquery_deserializeOpDocumentUploadSigningCertificateOutput(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsquery_deserializeOpErrorUploadSigningCertificate(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("ConcurrentModification", errorCode): + return awsAwsquery_deserializeErrorConcurrentModificationException(response, errorBody) + + case strings.EqualFold("DuplicateCertificate", errorCode): + return awsAwsquery_deserializeErrorDuplicateCertificateException(response, errorBody) + + case strings.EqualFold("EntityAlreadyExists", errorCode): + return awsAwsquery_deserializeErrorEntityAlreadyExistsException(response, errorBody) + + case strings.EqualFold("InvalidCertificate", errorCode): + return awsAwsquery_deserializeErrorInvalidCertificateException(response, errorBody) + + case strings.EqualFold("LimitExceeded", errorCode): + return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) + + case strings.EqualFold("MalformedCertificate", errorCode): + return awsAwsquery_deserializeErrorMalformedCertificateException(response, errorBody) + + case strings.EqualFold("NoSuchEntity", errorCode): + return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + + case strings.EqualFold("ServiceFailure", errorCode): + return awsAwsquery_deserializeErrorServiceFailureException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsquery_deserializeOpUploadSSHPublicKey struct { +} + +func (*awsAwsquery_deserializeOpUploadSSHPublicKey) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsquery_deserializeOpUploadSSHPublicKey) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsquery_deserializeOpErrorUploadSSHPublicKey(response, &metadata) + } + output := &UploadSSHPublicKeyOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + t, err = decoder.GetElement("UploadSSHPublicKeyResult") + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) + err = awsAwsquery_deserializeOpDocumentUploadSSHPublicKeyOutput(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsquery_deserializeOpErrorUploadSSHPublicKey(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("DuplicateSSHPublicKey", errorCode): + return awsAwsquery_deserializeErrorDuplicateSSHPublicKeyException(response, errorBody) + + case strings.EqualFold("InvalidPublicKey", errorCode): + return awsAwsquery_deserializeErrorInvalidPublicKeyException(response, errorBody) + + case strings.EqualFold("LimitExceeded", errorCode): + return awsAwsquery_deserializeErrorLimitExceededException(response, errorBody) + + case strings.EqualFold("NoSuchEntity", errorCode): + return awsAwsquery_deserializeErrorNoSuchEntityException(response, errorBody) + + case strings.EqualFold("UnrecognizedPublicKeyEncoding", errorCode): + return awsAwsquery_deserializeErrorUnrecognizedPublicKeyEncodingException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsAwsquery_deserializeErrorAccountNotManagementOrDelegatedAdministratorException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.AccountNotManagementOrDelegatedAdministratorException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + t, err = decoder.GetElement("Error") + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) + err = awsAwsquery_deserializeDocumentAccountNotManagementOrDelegatedAdministratorException(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return output +} + +func awsAwsquery_deserializeErrorCallerIsNotManagementAccountException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.CallerIsNotManagementAccountException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + t, err = decoder.GetElement("Error") + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) + err = awsAwsquery_deserializeDocumentCallerIsNotManagementAccountException(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return output +} + +func awsAwsquery_deserializeErrorConcurrentModificationException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.ConcurrentModificationException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), Snapshot: snapshot.Bytes(), } } @@ -17009,7 +18312,7 @@ func awsAwsquery_deserializeErrorAccountNotManagementOrDelegatedAdministratorExc } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeDocumentAccountNotManagementOrDelegatedAdministratorException(&output, decoder) + err = awsAwsquery_deserializeDocumentConcurrentModificationException(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -17022,8 +18325,8 @@ func awsAwsquery_deserializeErrorAccountNotManagementOrDelegatedAdministratorExc return output } -func awsAwsquery_deserializeErrorCallerIsNotManagementAccountException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.CallerIsNotManagementAccountException{} +func awsAwsquery_deserializeErrorCredentialReportExpiredException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.CredentialReportExpiredException{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -17053,7 +18356,7 @@ func awsAwsquery_deserializeErrorCallerIsNotManagementAccountException(response } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeDocumentCallerIsNotManagementAccountException(&output, decoder) + err = awsAwsquery_deserializeDocumentCredentialReportExpiredException(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -17066,8 +18369,8 @@ func awsAwsquery_deserializeErrorCallerIsNotManagementAccountException(response return output } -func awsAwsquery_deserializeErrorConcurrentModificationException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.ConcurrentModificationException{} +func awsAwsquery_deserializeErrorCredentialReportNotPresentException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.CredentialReportNotPresentException{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -17097,7 +18400,7 @@ func awsAwsquery_deserializeErrorConcurrentModificationException(response *smith } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeDocumentConcurrentModificationException(&output, decoder) + err = awsAwsquery_deserializeDocumentCredentialReportNotPresentException(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -17110,8 +18413,8 @@ func awsAwsquery_deserializeErrorConcurrentModificationException(response *smith return output } -func awsAwsquery_deserializeErrorCredentialReportExpiredException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.CredentialReportExpiredException{} +func awsAwsquery_deserializeErrorCredentialReportNotReadyException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.CredentialReportNotReadyException{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -17141,7 +18444,7 @@ func awsAwsquery_deserializeErrorCredentialReportExpiredException(response *smit } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeDocumentCredentialReportExpiredException(&output, decoder) + err = awsAwsquery_deserializeDocumentCredentialReportNotReadyException(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -17154,8 +18457,8 @@ func awsAwsquery_deserializeErrorCredentialReportExpiredException(response *smit return output } -func awsAwsquery_deserializeErrorCredentialReportNotPresentException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.CredentialReportNotPresentException{} +func awsAwsquery_deserializeErrorDeleteConflictException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.DeleteConflictException{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -17185,7 +18488,7 @@ func awsAwsquery_deserializeErrorCredentialReportNotPresentException(response *s } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeDocumentCredentialReportNotPresentException(&output, decoder) + err = awsAwsquery_deserializeDocumentDeleteConflictException(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -17198,8 +18501,8 @@ func awsAwsquery_deserializeErrorCredentialReportNotPresentException(response *s return output } -func awsAwsquery_deserializeErrorCredentialReportNotReadyException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.CredentialReportNotReadyException{} +func awsAwsquery_deserializeErrorDuplicateCertificateException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.DuplicateCertificateException{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -17229,7 +18532,7 @@ func awsAwsquery_deserializeErrorCredentialReportNotReadyException(response *smi } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeDocumentCredentialReportNotReadyException(&output, decoder) + err = awsAwsquery_deserializeDocumentDuplicateCertificateException(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -17242,8 +18545,8 @@ func awsAwsquery_deserializeErrorCredentialReportNotReadyException(response *smi return output } -func awsAwsquery_deserializeErrorDeleteConflictException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.DeleteConflictException{} +func awsAwsquery_deserializeErrorDuplicateSSHPublicKeyException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.DuplicateSSHPublicKeyException{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -17273,7 +18576,7 @@ func awsAwsquery_deserializeErrorDeleteConflictException(response *smithyhttp.Re } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeDocumentDeleteConflictException(&output, decoder) + err = awsAwsquery_deserializeDocumentDuplicateSSHPublicKeyException(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -17286,8 +18589,8 @@ func awsAwsquery_deserializeErrorDeleteConflictException(response *smithyhttp.Re return output } -func awsAwsquery_deserializeErrorDuplicateCertificateException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.DuplicateCertificateException{} +func awsAwsquery_deserializeErrorEntityAlreadyExistsException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.EntityAlreadyExistsException{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -17317,7 +18620,7 @@ func awsAwsquery_deserializeErrorDuplicateCertificateException(response *smithyh } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeDocumentDuplicateCertificateException(&output, decoder) + err = awsAwsquery_deserializeDocumentEntityAlreadyExistsException(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -17330,8 +18633,8 @@ func awsAwsquery_deserializeErrorDuplicateCertificateException(response *smithyh return output } -func awsAwsquery_deserializeErrorDuplicateSSHPublicKeyException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.DuplicateSSHPublicKeyException{} +func awsAwsquery_deserializeErrorEntityTemporarilyUnmodifiableException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.EntityTemporarilyUnmodifiableException{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -17361,7 +18664,7 @@ func awsAwsquery_deserializeErrorDuplicateSSHPublicKeyException(response *smithy } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeDocumentDuplicateSSHPublicKeyException(&output, decoder) + err = awsAwsquery_deserializeDocumentEntityTemporarilyUnmodifiableException(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -17374,8 +18677,8 @@ func awsAwsquery_deserializeErrorDuplicateSSHPublicKeyException(response *smithy return output } -func awsAwsquery_deserializeErrorEntityAlreadyExistsException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.EntityAlreadyExistsException{} +func awsAwsquery_deserializeErrorFeatureDisabledException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.FeatureDisabledException{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -17405,7 +18708,7 @@ func awsAwsquery_deserializeErrorEntityAlreadyExistsException(response *smithyht } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeDocumentEntityAlreadyExistsException(&output, decoder) + err = awsAwsquery_deserializeDocumentFeatureDisabledException(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -17418,8 +18721,8 @@ func awsAwsquery_deserializeErrorEntityAlreadyExistsException(response *smithyht return output } -func awsAwsquery_deserializeErrorEntityTemporarilyUnmodifiableException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.EntityTemporarilyUnmodifiableException{} +func awsAwsquery_deserializeErrorFeatureEnabledException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.FeatureEnabledException{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -17449,7 +18752,7 @@ func awsAwsquery_deserializeErrorEntityTemporarilyUnmodifiableException(response } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeDocumentEntityTemporarilyUnmodifiableException(&output, decoder) + err = awsAwsquery_deserializeDocumentFeatureEnabledException(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -19168,18 +20471,210 @@ func awsAwsquery_deserializeDocumentArnListTypeUnwrapped(v *[]string, decoder sm xtv := string(val) mv = xtv } - sv = append(sv, mv) + sv = append(sv, mv) + } + *v = sv + return nil +} +func awsAwsquery_deserializeDocumentAttachedPermissionsBoundary(v **types.AttachedPermissionsBoundary, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.AttachedPermissionsBoundary + if *v == nil { + sv = &types.AttachedPermissionsBoundary{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("PermissionsBoundaryArn", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.PermissionsBoundaryArn = ptr.String(xtv) + } + + case strings.EqualFold("PermissionsBoundaryType", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.PermissionsBoundaryType = types.PermissionsBoundaryAttachmentType(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsAwsquery_deserializeDocumentAttachedPoliciesListType(v *[]types.AttachedPolicy, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv []types.AttachedPolicy + if *v == nil { + sv = make([]types.AttachedPolicy, 0) + } else { + sv = *v + } + + originalDecoder := decoder + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + switch { + case strings.EqualFold("member", t.Name.Local): + var col types.AttachedPolicy + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + destAddr := &col + if err := awsAwsquery_deserializeDocumentAttachedPolicy(&destAddr, nodeDecoder); err != nil { + return err + } + col = *destAddr + sv = append(sv, col) + + default: + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsAwsquery_deserializeDocumentAttachedPoliciesListTypeUnwrapped(v *[]types.AttachedPolicy, decoder smithyxml.NodeDecoder) error { + var sv []types.AttachedPolicy + if *v == nil { + sv = make([]types.AttachedPolicy, 0) + } else { + sv = *v + } + + switch { + default: + var mv types.AttachedPolicy + t := decoder.StartEl + _ = t + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + destAddr := &mv + if err := awsAwsquery_deserializeDocumentAttachedPolicy(&destAddr, nodeDecoder); err != nil { + return err + } + mv = *destAddr + sv = append(sv, mv) + } + *v = sv + return nil +} +func awsAwsquery_deserializeDocumentAttachedPolicy(v **types.AttachedPolicy, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.AttachedPolicy + if *v == nil { + sv = &types.AttachedPolicy{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("PolicyArn", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.PolicyArn = ptr.String(xtv) + } + + case strings.EqualFold("PolicyName", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.PolicyName = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder } *v = sv return nil } -func awsAwsquery_deserializeDocumentAttachedPermissionsBoundary(v **types.AttachedPermissionsBoundary, decoder smithyxml.NodeDecoder) error { + +func awsAwsquery_deserializeDocumentCallerIsNotManagementAccountException(v **types.CallerIsNotManagementAccountException, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.AttachedPermissionsBoundary + var sv *types.CallerIsNotManagementAccountException if *v == nil { - sv = &types.AttachedPermissionsBoundary{} + sv = &types.CallerIsNotManagementAccountException{} } else { sv = *v } @@ -19195,20 +20690,7 @@ func awsAwsquery_deserializeDocumentAttachedPermissionsBoundary(v **types.Attach originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("PermissionsBoundaryArn", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - sv.PermissionsBoundaryArn = ptr.String(xtv) - } - - case strings.EqualFold("PermissionsBoundaryType", t.Name.Local): + case strings.EqualFold("Message", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -19218,7 +20700,7 @@ func awsAwsquery_deserializeDocumentAttachedPermissionsBoundary(v **types.Attach } { xtv := string(val) - sv.PermissionsBoundaryType = types.PermissionsBoundaryAttachmentType(xtv) + sv.Message = ptr.String(xtv) } default: @@ -19235,13 +20717,13 @@ func awsAwsquery_deserializeDocumentAttachedPermissionsBoundary(v **types.Attach return nil } -func awsAwsquery_deserializeDocumentAttachedPoliciesListType(v *[]types.AttachedPolicy, decoder smithyxml.NodeDecoder) error { +func awsAwsquery_deserializeDocumentCertificateListType(v *[]types.SigningCertificate, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv []types.AttachedPolicy + var sv []types.SigningCertificate if *v == nil { - sv = make([]types.AttachedPolicy, 0) + sv = make([]types.SigningCertificate, 0) } else { sv = *v } @@ -19257,10 +20739,10 @@ func awsAwsquery_deserializeDocumentAttachedPoliciesListType(v *[]types.Attached } switch { case strings.EqualFold("member", t.Name.Local): - var col types.AttachedPolicy + var col types.SigningCertificate nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) destAddr := &col - if err := awsAwsquery_deserializeDocumentAttachedPolicy(&destAddr, nodeDecoder); err != nil { + if err := awsAwsquery_deserializeDocumentSigningCertificate(&destAddr, nodeDecoder); err != nil { return err } col = *destAddr @@ -19279,22 +20761,22 @@ func awsAwsquery_deserializeDocumentAttachedPoliciesListType(v *[]types.Attached return nil } -func awsAwsquery_deserializeDocumentAttachedPoliciesListTypeUnwrapped(v *[]types.AttachedPolicy, decoder smithyxml.NodeDecoder) error { - var sv []types.AttachedPolicy +func awsAwsquery_deserializeDocumentCertificateListTypeUnwrapped(v *[]types.SigningCertificate, decoder smithyxml.NodeDecoder) error { + var sv []types.SigningCertificate if *v == nil { - sv = make([]types.AttachedPolicy, 0) + sv = make([]types.SigningCertificate, 0) } else { sv = *v } switch { default: - var mv types.AttachedPolicy + var mv types.SigningCertificate t := decoder.StartEl _ = t nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) destAddr := &mv - if err := awsAwsquery_deserializeDocumentAttachedPolicy(&destAddr, nodeDecoder); err != nil { + if err := awsAwsquery_deserializeDocumentSigningCertificate(&destAddr, nodeDecoder); err != nil { return err } mv = *destAddr @@ -19303,29 +20785,67 @@ func awsAwsquery_deserializeDocumentAttachedPoliciesListTypeUnwrapped(v *[]types *v = sv return nil } -func awsAwsquery_deserializeDocumentAttachedPolicy(v **types.AttachedPolicy, decoder smithyxml.NodeDecoder) error { +func awsAwsquery_deserializeDocumentCertificationMapType(v *map[string]string, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.AttachedPolicy + var sv map[string]string if *v == nil { - sv = &types.AttachedPolicy{} + sv = make(map[string]string, 0) + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + switch { + case strings.EqualFold("entry", t.Name.Local): + entryDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsAwsquery_deserializeDocumentCertificationMapTypeUnwrapped(&sv, entryDecoder); err != nil { + return err + } + + default: + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + } + *v = sv + return nil +} + +func awsAwsquery_deserializeDocumentCertificationMapTypeUnwrapped(v *map[string]string, decoder smithyxml.NodeDecoder) error { + var sv map[string]string + if *v == nil { + sv = make(map[string]string, 0) } else { sv = *v } + var ek string + var ev string for { t, done, err := decoder.Token() if err != nil { return err } if done { + sv[ek] = ev break } originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("PolicyArn", t.Name.Local): + case strings.EqualFold("key", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -19335,10 +20855,10 @@ func awsAwsquery_deserializeDocumentAttachedPolicy(v **types.AttachedPolicy, dec } { xtv := string(val) - sv.PolicyArn = ptr.String(xtv) + ek = xtv } - case strings.EqualFold("PolicyName", t.Name.Local): + case strings.EqualFold("value", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -19348,11 +20868,10 @@ func awsAwsquery_deserializeDocumentAttachedPolicy(v **types.AttachedPolicy, dec } { xtv := string(val) - sv.PolicyName = ptr.String(xtv) + ev = xtv } default: - // Do nothing and ignore the unexpected tag element err = decoder.Decoder.Skip() if err != nil { return err @@ -19364,14 +20883,93 @@ func awsAwsquery_deserializeDocumentAttachedPolicy(v **types.AttachedPolicy, dec *v = sv return nil } +func awsAwsquery_deserializeDocumentClientIDListType(v *[]string, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv []string + if *v == nil { + sv = make([]string, 0) + } else { + sv = *v + } -func awsAwsquery_deserializeDocumentCallerIsNotManagementAccountException(v **types.CallerIsNotManagementAccountException, decoder smithyxml.NodeDecoder) error { + originalDecoder := decoder + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + memberDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + decoder = memberDecoder + switch { + case strings.EqualFold("member", t.Name.Local): + var col string + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + col = xtv + } + sv = append(sv, col) + + default: + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsAwsquery_deserializeDocumentClientIDListTypeUnwrapped(v *[]string, decoder smithyxml.NodeDecoder) error { + var sv []string + if *v == nil { + sv = make([]string, 0) + } else { + sv = *v + } + + switch { + default: + var mv string + t := decoder.StartEl + _ = t + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + mv = xtv + } + sv = append(sv, mv) + } + *v = sv + return nil +} +func awsAwsquery_deserializeDocumentConcurrentModificationException(v **types.ConcurrentModificationException, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.CallerIsNotManagementAccountException + var sv *types.ConcurrentModificationException if *v == nil { - sv = &types.CallerIsNotManagementAccountException{} + sv = &types.ConcurrentModificationException{} } else { sv = *v } @@ -19387,7 +20985,7 @@ func awsAwsquery_deserializeDocumentCallerIsNotManagementAccountException(v **ty originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("Message", t.Name.Local): + case strings.EqualFold("message", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -19414,13 +21012,13 @@ func awsAwsquery_deserializeDocumentCallerIsNotManagementAccountException(v **ty return nil } -func awsAwsquery_deserializeDocumentCertificateListType(v *[]types.SigningCertificate, decoder smithyxml.NodeDecoder) error { +func awsAwsquery_deserializeDocumentContextKeyNamesResultListType(v *[]string, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv []types.SigningCertificate + var sv []string if *v == nil { - sv = make([]types.SigningCertificate, 0) + sv = make([]string, 0) } else { sv = *v } @@ -19434,15 +21032,22 @@ func awsAwsquery_deserializeDocumentCertificateListType(v *[]types.SigningCertif if done { break } + memberDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + decoder = memberDecoder switch { case strings.EqualFold("member", t.Name.Local): - var col types.SigningCertificate - nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - destAddr := &col - if err := awsAwsquery_deserializeDocumentSigningCertificate(&destAddr, nodeDecoder); err != nil { + var col string + val, err := decoder.Value() + if err != nil { return err } - col = *destAddr + if val == nil { + break + } + { + xtv := string(val) + col = xtv + } sv = append(sv, col) default: @@ -19458,37 +21063,42 @@ func awsAwsquery_deserializeDocumentCertificateListType(v *[]types.SigningCertif return nil } -func awsAwsquery_deserializeDocumentCertificateListTypeUnwrapped(v *[]types.SigningCertificate, decoder smithyxml.NodeDecoder) error { - var sv []types.SigningCertificate +func awsAwsquery_deserializeDocumentContextKeyNamesResultListTypeUnwrapped(v *[]string, decoder smithyxml.NodeDecoder) error { + var sv []string if *v == nil { - sv = make([]types.SigningCertificate, 0) + sv = make([]string, 0) } else { sv = *v } switch { default: - var mv types.SigningCertificate + var mv string t := decoder.StartEl _ = t - nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - destAddr := &mv - if err := awsAwsquery_deserializeDocumentSigningCertificate(&destAddr, nodeDecoder); err != nil { + val, err := decoder.Value() + if err != nil { return err } - mv = *destAddr + if val == nil { + break + } + { + xtv := string(val) + mv = xtv + } sv = append(sv, mv) } *v = sv return nil } -func awsAwsquery_deserializeDocumentCertificationMapType(v *map[string]string, decoder smithyxml.NodeDecoder) error { +func awsAwsquery_deserializeDocumentCredentialReportExpiredException(v **types.CredentialReportExpiredException, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv map[string]string + var sv *types.CredentialReportExpiredException if *v == nil { - sv = make(map[string]string, 0) + sv = &types.CredentialReportExpiredException{} } else { sv = *v } @@ -19501,61 +21111,59 @@ func awsAwsquery_deserializeDocumentCertificationMapType(v *map[string]string, d if done { break } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("entry", t.Name.Local): - entryDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsAwsquery_deserializeDocumentCertificationMapTypeUnwrapped(&sv, entryDecoder); err != nil { + case strings.EqualFold("message", t.Name.Local): + val, err := decoder.Value() + if err != nil { return err } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } default: + // Do nothing and ignore the unexpected tag element err = decoder.Decoder.Skip() if err != nil { return err } } + decoder = originalDecoder } *v = sv return nil } -func awsAwsquery_deserializeDocumentCertificationMapTypeUnwrapped(v *map[string]string, decoder smithyxml.NodeDecoder) error { - var sv map[string]string +func awsAwsquery_deserializeDocumentCredentialReportNotPresentException(v **types.CredentialReportNotPresentException, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.CredentialReportNotPresentException if *v == nil { - sv = make(map[string]string, 0) + sv = &types.CredentialReportNotPresentException{} } else { sv = *v } - var ek string - var ev string for { t, done, err := decoder.Token() if err != nil { return err } if done { - sv[ek] = ev break } originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("key", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - ek = xtv - } - - case strings.EqualFold("value", t.Name.Local): + case strings.EqualFold("message", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -19565,10 +21173,11 @@ func awsAwsquery_deserializeDocumentCertificationMapTypeUnwrapped(v *map[string] } { xtv := string(val) - ev = xtv + sv.Message = ptr.String(xtv) } default: + // Do nothing and ignore the unexpected tag element err = decoder.Decoder.Skip() if err != nil { return err @@ -19580,18 +21189,18 @@ func awsAwsquery_deserializeDocumentCertificationMapTypeUnwrapped(v *map[string] *v = sv return nil } -func awsAwsquery_deserializeDocumentClientIDListType(v *[]string, decoder smithyxml.NodeDecoder) error { + +func awsAwsquery_deserializeDocumentCredentialReportNotReadyException(v **types.CredentialReportNotReadyException, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv []string + var sv *types.CredentialReportNotReadyException if *v == nil { - sv = make([]string, 0) + sv = &types.CredentialReportNotReadyException{} } else { sv = *v } - originalDecoder := decoder for { t, done, err := decoder.Token() if err != nil { @@ -19600,11 +21209,10 @@ func awsAwsquery_deserializeDocumentClientIDListType(v *[]string, decoder smithy if done { break } - memberDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - decoder = memberDecoder + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("member", t.Name.Local): - var col string + case strings.EqualFold("message", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -19614,11 +21222,11 @@ func awsAwsquery_deserializeDocumentClientIDListType(v *[]string, decoder smithy } { xtv := string(val) - col = xtv + sv.Message = ptr.String(xtv) } - sv = append(sv, col) default: + // Do nothing and ignore the unexpected tag element err = decoder.Decoder.Skip() if err != nil { return err @@ -19631,42 +21239,13 @@ func awsAwsquery_deserializeDocumentClientIDListType(v *[]string, decoder smithy return nil } -func awsAwsquery_deserializeDocumentClientIDListTypeUnwrapped(v *[]string, decoder smithyxml.NodeDecoder) error { - var sv []string - if *v == nil { - sv = make([]string, 0) - } else { - sv = *v - } - - switch { - default: - var mv string - t := decoder.StartEl - _ = t - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - mv = xtv - } - sv = append(sv, mv) - } - *v = sv - return nil -} -func awsAwsquery_deserializeDocumentConcurrentModificationException(v **types.ConcurrentModificationException, decoder smithyxml.NodeDecoder) error { +func awsAwsquery_deserializeDocumentDelegationPermission(v **types.DelegationPermission, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.ConcurrentModificationException + var sv *types.DelegationPermission if *v == nil { - sv = &types.ConcurrentModificationException{} + sv = &types.DelegationPermission{} } else { sv = *v } @@ -19682,7 +21261,13 @@ func awsAwsquery_deserializeDocumentConcurrentModificationException(v **types.Co originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("message", t.Name.Local): + case strings.EqualFold("Parameters", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsAwsquery_deserializeDocumentPolicyParameterListType(&sv.Parameters, nodeDecoder); err != nil { + return err + } + + case strings.EqualFold("PolicyTemplateArn", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -19692,7 +21277,7 @@ func awsAwsquery_deserializeDocumentConcurrentModificationException(v **types.Co } { xtv := string(val) - sv.Message = ptr.String(xtv) + sv.PolicyTemplateArn = ptr.String(xtv) } default: @@ -19709,18 +21294,17 @@ func awsAwsquery_deserializeDocumentConcurrentModificationException(v **types.Co return nil } -func awsAwsquery_deserializeDocumentContextKeyNamesResultListType(v *[]string, decoder smithyxml.NodeDecoder) error { +func awsAwsquery_deserializeDocumentDelegationRequest(v **types.DelegationRequest, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv []string + var sv *types.DelegationRequest if *v == nil { - sv = make([]string, 0) + sv = &types.DelegationRequest{} } else { sv = *v } - originalDecoder := decoder for { t, done, err := decoder.Token() if err != nil { @@ -19729,11 +21313,196 @@ func awsAwsquery_deserializeDocumentContextKeyNamesResultListType(v *[]string, d if done { break } - memberDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - decoder = memberDecoder + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("member", t.Name.Local): - var col string + case strings.EqualFold("ApproverId", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.ApproverId = ptr.String(xtv) + } + + case strings.EqualFold("CreateDate", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + t, err := smithytime.ParseDateTime(xtv) + if err != nil { + return err + } + sv.CreateDate = ptr.Time(t) + } + + case strings.EqualFold("DelegationRequestId", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.DelegationRequestId = ptr.String(xtv) + } + + case strings.EqualFold("Description", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Description = ptr.String(xtv) + } + + case strings.EqualFold("ExpirationTime", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + t, err := smithytime.ParseDateTime(xtv) + if err != nil { + return err + } + sv.ExpirationTime = ptr.Time(t) + } + + case strings.EqualFold("Notes", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Notes = ptr.String(xtv) + } + + case strings.EqualFold("OnlySendByOwner", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv, err := strconv.ParseBool(string(val)) + if err != nil { + return fmt.Errorf("expected booleanType to be of type *bool, got %T instead", val) + } + sv.OnlySendByOwner = xtv + } + + case strings.EqualFold("OwnerAccountId", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.OwnerAccountId = ptr.String(xtv) + } + + case strings.EqualFold("OwnerId", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.OwnerId = ptr.String(xtv) + } + + case strings.EqualFold("PermissionPolicy", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.PermissionPolicy = ptr.String(xtv) + } + + case strings.EqualFold("Permissions", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsAwsquery_deserializeDocumentDelegationPermission(&sv.Permissions, nodeDecoder); err != nil { + return err + } + + case strings.EqualFold("RedirectUrl", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.RedirectUrl = ptr.String(xtv) + } + + case strings.EqualFold("RejectionReason", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.RejectionReason = ptr.String(xtv) + } + + case strings.EqualFold("RequestMessage", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.RequestMessage = ptr.String(xtv) + } + + case strings.EqualFold("RequestorId", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -19743,75 +21512,29 @@ func awsAwsquery_deserializeDocumentContextKeyNamesResultListType(v *[]string, d } { xtv := string(val) - col = xtv + sv.RequestorId = ptr.String(xtv) } - sv = append(sv, col) - default: - err = decoder.Decoder.Skip() + case strings.EqualFold("RequestorName", t.Name.Local): + val, err := decoder.Value() if err != nil { return err } + if val == nil { + break + } + { + xtv := string(val) + sv.RequestorName = ptr.String(xtv) + } - } - decoder = originalDecoder - } - *v = sv - return nil -} - -func awsAwsquery_deserializeDocumentContextKeyNamesResultListTypeUnwrapped(v *[]string, decoder smithyxml.NodeDecoder) error { - var sv []string - if *v == nil { - sv = make([]string, 0) - } else { - sv = *v - } - - switch { - default: - var mv string - t := decoder.StartEl - _ = t - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - mv = xtv - } - sv = append(sv, mv) - } - *v = sv - return nil -} -func awsAwsquery_deserializeDocumentCredentialReportExpiredException(v **types.CredentialReportExpiredException, decoder smithyxml.NodeDecoder) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - var sv *types.CredentialReportExpiredException - if *v == nil { - sv = &types.CredentialReportExpiredException{} - } else { - sv = *v - } + case strings.EqualFold("RolePermissionRestrictionArns", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsAwsquery_deserializeDocumentRolePermissionRestrictionArnListType(&sv.RolePermissionRestrictionArns, nodeDecoder); err != nil { + return err + } - for { - t, done, err := decoder.Token() - if err != nil { - return err - } - if done { - break - } - originalDecoder := decoder - decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) - switch { - case strings.EqualFold("message", t.Name.Local): + case strings.EqualFold("SessionDuration", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -19821,46 +21544,27 @@ func awsAwsquery_deserializeDocumentCredentialReportExpiredException(v **types.C } { xtv := string(val) - sv.Message = ptr.String(xtv) + i64, err := strconv.ParseInt(xtv, 10, 64) + if err != nil { + return err + } + sv.SessionDuration = ptr.Int32(int32(i64)) } - default: - // Do nothing and ignore the unexpected tag element - err = decoder.Decoder.Skip() + case strings.EqualFold("State", t.Name.Local): + val, err := decoder.Value() if err != nil { return err } + if val == nil { + break + } + { + xtv := string(val) + sv.State = types.StateType(xtv) + } - } - decoder = originalDecoder - } - *v = sv - return nil -} - -func awsAwsquery_deserializeDocumentCredentialReportNotPresentException(v **types.CredentialReportNotPresentException, decoder smithyxml.NodeDecoder) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - var sv *types.CredentialReportNotPresentException - if *v == nil { - sv = &types.CredentialReportNotPresentException{} - } else { - sv = *v - } - - for { - t, done, err := decoder.Token() - if err != nil { - return err - } - if done { - break - } - originalDecoder := decoder - decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) - switch { - case strings.EqualFold("message", t.Name.Local): + case strings.EqualFold("UpdatedTime", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -19870,7 +21574,11 @@ func awsAwsquery_deserializeDocumentCredentialReportNotPresentException(v **type } { xtv := string(val) - sv.Message = ptr.String(xtv) + t, err := smithytime.ParseDateTime(xtv) + if err != nil { + return err + } + sv.UpdatedTime = ptr.Time(t) } default: @@ -19887,17 +21595,18 @@ func awsAwsquery_deserializeDocumentCredentialReportNotPresentException(v **type return nil } -func awsAwsquery_deserializeDocumentCredentialReportNotReadyException(v **types.CredentialReportNotReadyException, decoder smithyxml.NodeDecoder) error { +func awsAwsquery_deserializeDocumentDelegationRequestsListType(v *[]types.DelegationRequest, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.CredentialReportNotReadyException + var sv []types.DelegationRequest if *v == nil { - sv = &types.CredentialReportNotReadyException{} + sv = make([]types.DelegationRequest, 0) } else { sv = *v } + originalDecoder := decoder for { t, done, err := decoder.Token() if err != nil { @@ -19906,24 +21615,18 @@ func awsAwsquery_deserializeDocumentCredentialReportNotReadyException(v **types. if done { break } - originalDecoder := decoder - decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("message", t.Name.Local): - val, err := decoder.Value() - if err != nil { + case strings.EqualFold("member", t.Name.Local): + var col types.DelegationRequest + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + destAddr := &col + if err := awsAwsquery_deserializeDocumentDelegationRequest(&destAddr, nodeDecoder); err != nil { return err } - if val == nil { - break - } - { - xtv := string(val) - sv.Message = ptr.String(xtv) - } + col = *destAddr + sv = append(sv, col) default: - // Do nothing and ignore the unexpected tag element err = decoder.Decoder.Skip() if err != nil { return err @@ -19936,6 +21639,30 @@ func awsAwsquery_deserializeDocumentCredentialReportNotReadyException(v **types. return nil } +func awsAwsquery_deserializeDocumentDelegationRequestsListTypeUnwrapped(v *[]types.DelegationRequest, decoder smithyxml.NodeDecoder) error { + var sv []types.DelegationRequest + if *v == nil { + sv = make([]types.DelegationRequest, 0) + } else { + sv = *v + } + + switch { + default: + var mv types.DelegationRequest + t := decoder.StartEl + _ = t + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + destAddr := &mv + if err := awsAwsquery_deserializeDocumentDelegationRequest(&destAddr, nodeDecoder); err != nil { + return err + } + mv = *destAddr + sv = append(sv, mv) + } + *v = sv + return nil +} func awsAwsquery_deserializeDocumentDeleteConflictException(v **types.DeleteConflictException, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -20803,6 +22530,104 @@ func awsAwsquery_deserializeDocumentEvaluationResultsListTypeUnwrapped(v *[]type *v = sv return nil } +func awsAwsquery_deserializeDocumentFeatureDisabledException(v **types.FeatureDisabledException, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.FeatureDisabledException + if *v == nil { + sv = &types.FeatureDisabledException{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsAwsquery_deserializeDocumentFeatureEnabledException(v **types.FeatureEnabledException, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.FeatureEnabledException + if *v == nil { + sv = &types.FeatureEnabledException{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + func awsAwsquery_deserializeDocumentFeaturesListType(v *[]types.FeatureType, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -23980,19 +25805,284 @@ func awsAwsquery_deserializeDocumentPolicyGroupListTypeUnwrapped(v *[]types.Poli if err := awsAwsquery_deserializeDocumentPolicyGroup(&destAddr, nodeDecoder); err != nil { return err } - mv = *destAddr - sv = append(sv, mv) + mv = *destAddr + sv = append(sv, mv) + } + *v = sv + return nil +} +func awsAwsquery_deserializeDocumentPolicyListType(v *[]types.Policy, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv []types.Policy + if *v == nil { + sv = make([]types.Policy, 0) + } else { + sv = *v + } + + originalDecoder := decoder + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + switch { + case strings.EqualFold("member", t.Name.Local): + var col types.Policy + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + destAddr := &col + if err := awsAwsquery_deserializeDocumentPolicy(&destAddr, nodeDecoder); err != nil { + return err + } + col = *destAddr + sv = append(sv, col) + + default: + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsAwsquery_deserializeDocumentPolicyListTypeUnwrapped(v *[]types.Policy, decoder smithyxml.NodeDecoder) error { + var sv []types.Policy + if *v == nil { + sv = make([]types.Policy, 0) + } else { + sv = *v + } + + switch { + default: + var mv types.Policy + t := decoder.StartEl + _ = t + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + destAddr := &mv + if err := awsAwsquery_deserializeDocumentPolicy(&destAddr, nodeDecoder); err != nil { + return err + } + mv = *destAddr + sv = append(sv, mv) + } + *v = sv + return nil +} +func awsAwsquery_deserializeDocumentPolicyNameListType(v *[]string, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv []string + if *v == nil { + sv = make([]string, 0) + } else { + sv = *v + } + + originalDecoder := decoder + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + memberDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + decoder = memberDecoder + switch { + case strings.EqualFold("member", t.Name.Local): + var col string + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + col = xtv + } + sv = append(sv, col) + + default: + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsAwsquery_deserializeDocumentPolicyNameListTypeUnwrapped(v *[]string, decoder smithyxml.NodeDecoder) error { + var sv []string + if *v == nil { + sv = make([]string, 0) + } else { + sv = *v + } + + switch { + default: + var mv string + t := decoder.StartEl + _ = t + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + mv = xtv + } + sv = append(sv, mv) + } + *v = sv + return nil +} +func awsAwsquery_deserializeDocumentPolicyNotAttachableException(v **types.PolicyNotAttachableException, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.PolicyNotAttachableException + if *v == nil { + sv = &types.PolicyNotAttachableException{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsAwsquery_deserializeDocumentPolicyParameter(v **types.PolicyParameter, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.PolicyParameter + if *v == nil { + sv = &types.PolicyParameter{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Name", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Name = ptr.String(xtv) + } + + case strings.EqualFold("Type", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Type = types.PolicyParameterTypeEnum(xtv) + } + + case strings.EqualFold("Values", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsAwsquery_deserializeDocumentPolicyParameterValuesListType(&sv.Values, nodeDecoder); err != nil { + return err + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder } *v = sv return nil } -func awsAwsquery_deserializeDocumentPolicyListType(v *[]types.Policy, decoder smithyxml.NodeDecoder) error { + +func awsAwsquery_deserializeDocumentPolicyParameterListType(v *[]types.PolicyParameter, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv []types.Policy + var sv []types.PolicyParameter if *v == nil { - sv = make([]types.Policy, 0) + sv = make([]types.PolicyParameter, 0) } else { sv = *v } @@ -24008,10 +26098,10 @@ func awsAwsquery_deserializeDocumentPolicyListType(v *[]types.Policy, decoder sm } switch { case strings.EqualFold("member", t.Name.Local): - var col types.Policy + var col types.PolicyParameter nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) destAddr := &col - if err := awsAwsquery_deserializeDocumentPolicy(&destAddr, nodeDecoder); err != nil { + if err := awsAwsquery_deserializeDocumentPolicyParameter(&destAddr, nodeDecoder); err != nil { return err } col = *destAddr @@ -24030,22 +26120,22 @@ func awsAwsquery_deserializeDocumentPolicyListType(v *[]types.Policy, decoder sm return nil } -func awsAwsquery_deserializeDocumentPolicyListTypeUnwrapped(v *[]types.Policy, decoder smithyxml.NodeDecoder) error { - var sv []types.Policy +func awsAwsquery_deserializeDocumentPolicyParameterListTypeUnwrapped(v *[]types.PolicyParameter, decoder smithyxml.NodeDecoder) error { + var sv []types.PolicyParameter if *v == nil { - sv = make([]types.Policy, 0) + sv = make([]types.PolicyParameter, 0) } else { sv = *v } switch { default: - var mv types.Policy + var mv types.PolicyParameter t := decoder.StartEl _ = t nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) destAddr := &mv - if err := awsAwsquery_deserializeDocumentPolicy(&destAddr, nodeDecoder); err != nil { + if err := awsAwsquery_deserializeDocumentPolicyParameter(&destAddr, nodeDecoder); err != nil { return err } mv = *destAddr @@ -24054,7 +26144,7 @@ func awsAwsquery_deserializeDocumentPolicyListTypeUnwrapped(v *[]types.Policy, d *v = sv return nil } -func awsAwsquery_deserializeDocumentPolicyNameListType(v *[]string, decoder smithyxml.NodeDecoder) error { +func awsAwsquery_deserializeDocumentPolicyParameterValuesListType(v *[]string, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -24105,7 +26195,7 @@ func awsAwsquery_deserializeDocumentPolicyNameListType(v *[]string, decoder smit return nil } -func awsAwsquery_deserializeDocumentPolicyNameListTypeUnwrapped(v *[]string, decoder smithyxml.NodeDecoder) error { +func awsAwsquery_deserializeDocumentPolicyParameterValuesListTypeUnwrapped(v *[]string, decoder smithyxml.NodeDecoder) error { var sv []string if *v == nil { sv = make([]string, 0) @@ -24134,55 +26224,6 @@ func awsAwsquery_deserializeDocumentPolicyNameListTypeUnwrapped(v *[]string, dec *v = sv return nil } -func awsAwsquery_deserializeDocumentPolicyNotAttachableException(v **types.PolicyNotAttachableException, decoder smithyxml.NodeDecoder) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - var sv *types.PolicyNotAttachableException - if *v == nil { - sv = &types.PolicyNotAttachableException{} - } else { - sv = *v - } - - for { - t, done, err := decoder.Token() - if err != nil { - return err - } - if done { - break - } - originalDecoder := decoder - decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) - switch { - case strings.EqualFold("message", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - sv.Message = ptr.String(xtv) - } - - default: - // Do nothing and ignore the unexpected tag element - err = decoder.Decoder.Skip() - if err != nil { - return err - } - - } - decoder = originalDecoder - } - *v = sv - return nil -} - func awsAwsquery_deserializeDocumentPolicyRole(v **types.PolicyRole, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -25401,6 +27442,86 @@ func awsAwsquery_deserializeDocumentRoleListTypeUnwrapped(v *[]types.Role, decod *v = sv return nil } +func awsAwsquery_deserializeDocumentRolePermissionRestrictionArnListType(v *[]string, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv []string + if *v == nil { + sv = make([]string, 0) + } else { + sv = *v + } + + originalDecoder := decoder + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + memberDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + decoder = memberDecoder + switch { + case strings.EqualFold("member", t.Name.Local): + var col string + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + col = xtv + } + sv = append(sv, col) + + default: + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsAwsquery_deserializeDocumentRolePermissionRestrictionArnListTypeUnwrapped(v *[]string, decoder smithyxml.NodeDecoder) error { + var sv []string + if *v == nil { + sv = make([]string, 0) + } else { + sv = *v + } + + switch { + default: + var mv string + t := decoder.StartEl + _ = t + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + mv = xtv + } + sv = append(sv, mv) + } + *v = sv + return nil +} func awsAwsquery_deserializeDocumentRoleUsageListType(v *[]types.RoleUsageType, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -28462,6 +30583,68 @@ func awsAwsquery_deserializeOpDocumentCreateAccessKeyOutput(v **CreateAccessKeyO return nil } +func awsAwsquery_deserializeOpDocumentCreateDelegationRequestOutput(v **CreateDelegationRequestOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *CreateDelegationRequestOutput + if *v == nil { + sv = &CreateDelegationRequestOutput{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("ConsoleDeepLink", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.ConsoleDeepLink = ptr.String(xtv) + } + + case strings.EqualFold("DelegationRequestId", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.DelegationRequestId = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + func awsAwsquery_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -29228,13 +31411,62 @@ func awsAwsquery_deserializeOpDocumentEnableOrganizationsRootSessionsOutput(v ** originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("EnabledFeatures", t.Name.Local): - nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsAwsquery_deserializeDocumentFeaturesListType(&sv.EnabledFeatures, nodeDecoder); err != nil { - return err - } - - case strings.EqualFold("OrganizationId", t.Name.Local): + case strings.EqualFold("EnabledFeatures", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsAwsquery_deserializeDocumentFeaturesListType(&sv.EnabledFeatures, nodeDecoder); err != nil { + return err + } + + case strings.EqualFold("OrganizationId", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.OrganizationId = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsAwsquery_deserializeOpDocumentEnableOutboundWebIdentityFederationOutput(v **EnableOutboundWebIdentityFederationOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *EnableOutboundWebIdentityFederationOutput + if *v == nil { + sv = &EnableOutboundWebIdentityFederationOutput{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("IssuerIdentifier", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -29244,7 +31476,7 @@ func awsAwsquery_deserializeOpDocumentEnableOrganizationsRootSessionsOutput(v ** } { xtv := string(val) - sv.OrganizationId = ptr.String(xtv) + sv.IssuerIdentifier = ptr.String(xtv) } default: @@ -29817,6 +32049,74 @@ func awsAwsquery_deserializeOpDocumentGetCredentialReportOutput(v **GetCredentia return nil } +func awsAwsquery_deserializeOpDocumentGetDelegationRequestOutput(v **GetDelegationRequestOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *GetDelegationRequestOutput + if *v == nil { + sv = &GetDelegationRequestOutput{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("DelegationRequest", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsAwsquery_deserializeDocumentDelegationRequest(&sv.DelegationRequest, nodeDecoder); err != nil { + return err + } + + case strings.EqualFold("PermissionCheckResult", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.PermissionCheckResult = types.PermissionCheckResultType(xtv) + } + + case strings.EqualFold("PermissionCheckStatus", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.PermissionCheckStatus = types.PermissionCheckStatusType(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + func awsAwsquery_deserializeOpDocumentGetGroupOutput(v **GetGroupOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -29969,6 +32269,81 @@ func awsAwsquery_deserializeOpDocumentGetGroupPolicyOutput(v **GetGroupPolicyOut return nil } +func awsAwsquery_deserializeOpDocumentGetHumanReadableSummaryOutput(v **GetHumanReadableSummaryOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *GetHumanReadableSummaryOutput + if *v == nil { + sv = &GetHumanReadableSummaryOutput{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Locale", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Locale = ptr.String(xtv) + } + + case strings.EqualFold("SummaryContent", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.SummaryContent = ptr.String(xtv) + } + + case strings.EqualFold("SummaryState", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.SummaryState = types.SummaryStateType(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + func awsAwsquery_deserializeOpDocumentGetInstanceProfileOutput(v **GetInstanceProfileOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -30380,6 +32755,71 @@ func awsAwsquery_deserializeOpDocumentGetOrganizationsAccessReportOutput(v **Get return nil } +func awsAwsquery_deserializeOpDocumentGetOutboundWebIdentityFederationInfoOutput(v **GetOutboundWebIdentityFederationInfoOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *GetOutboundWebIdentityFederationInfoOutput + if *v == nil { + sv = &GetOutboundWebIdentityFederationInfoOutput{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("IssuerIdentifier", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.IssuerIdentifier = ptr.String(xtv) + } + + case strings.EqualFold("JwtVendingEnabled", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv, err := strconv.ParseBool(string(val)) + if err != nil { + return fmt.Errorf("expected booleanType to be of type *bool, got %T instead", val) + } + sv.JwtVendingEnabled = xtv + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + func awsAwsquery_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -31574,6 +34014,77 @@ func awsAwsquery_deserializeOpDocumentListAttachedUserPoliciesOutput(v **ListAtt return nil } +func awsAwsquery_deserializeOpDocumentListDelegationRequestsOutput(v **ListDelegationRequestsOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *ListDelegationRequestsOutput + if *v == nil { + sv = &ListDelegationRequestsOutput{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("DelegationRequests", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsAwsquery_deserializeDocumentDelegationRequestsListType(&sv.DelegationRequests, nodeDecoder); err != nil { + return err + } + + case strings.EqualFold("isTruncated", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv, err := strconv.ParseBool(string(val)) + if err != nil { + return fmt.Errorf("expected booleanType to be of type *bool, got %T instead", val) + } + sv.IsTruncated = xtv + } + + case strings.EqualFold("Marker", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Marker = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + func awsAwsquery_deserializeOpDocumentListEntitiesForPolicyOutput(v **ListEntitiesForPolicyOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/endpoints.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/endpoints.go index 97e4cea8d7..803ed8955f 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/endpoints.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/endpoints.go @@ -15,6 +15,7 @@ import ( smithy "github.com/aws/smithy-go" smithyauth "github.com/aws/smithy-go/auth" smithyendpoints "github.com/aws/smithy-go/endpoints" + "github.com/aws/smithy-go/endpoints/private/rulesfn" "github.com/aws/smithy-go/middleware" "github.com/aws/smithy-go/ptr" "github.com/aws/smithy-go/tracing" @@ -218,11 +219,15 @@ func resolveBaseEndpoint(cfg aws.Config, o *Options) { } } -func bindRegion(region string) *string { +func bindRegion(region string) (*string, error) { if region == "" { - return nil + return nil, nil + } + if !rulesfn.IsValidHostLabel(region, true) { + return nil, fmt.Errorf("invalid input region %s", region) } - return aws.String(endpoints.MapFIPSRegion(region)) + + return aws.String(endpoints.MapFIPSRegion(region)), nil } // EndpointParameters provides the parameters that influence how endpoints are @@ -978,19 +983,23 @@ type endpointParamsBinder interface { bindEndpointParams(*EndpointParameters) } -func bindEndpointParams(ctx context.Context, input interface{}, options Options) *EndpointParameters { +func bindEndpointParams(ctx context.Context, input interface{}, options Options) (*EndpointParameters, error) { params := &EndpointParameters{} params.UseDualStack = aws.Bool(options.EndpointOptions.UseDualStackEndpoint == aws.DualStackEndpointStateEnabled) params.UseFIPS = aws.Bool(options.EndpointOptions.UseFIPSEndpoint == aws.FIPSEndpointStateEnabled) params.Endpoint = options.BaseEndpoint - params.Region = bindRegion(options.Region) + region, err := bindRegion(options.Region) + if err != nil { + return nil, err + } + params.Region = region if b, ok := input.(endpointParamsBinder); ok { b.bindEndpointParams(params) } - return params + return params, nil } type resolveEndpointV2Middleware struct { @@ -1020,7 +1029,10 @@ func (m *resolveEndpointV2Middleware) HandleFinalize(ctx context.Context, in mid return out, metadata, fmt.Errorf("expected endpoint resolver to not be nil") } - params := bindEndpointParams(ctx, getOperationInput(ctx), m.options) + params, err := bindEndpointParams(ctx, getOperationInput(ctx), m.options) + if err != nil { + return out, metadata, fmt.Errorf("failed to bind endpoint params, %w", err) + } endpt, err := timeOperationMetric(ctx, "client.call.resolve_endpoint_duration", func() (smithyendpoints.Endpoint, error) { return m.options.EndpointResolverV2.ResolveEndpoint(ctx, *params) diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/generated.json b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/generated.json index 8ea52938c2..bfd152e8f8 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/generated.json +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/generated.json @@ -8,15 +8,18 @@ "files": [ "api_client.go", "api_client_test.go", + "api_op_AcceptDelegationRequest.go", "api_op_AddClientIDToOpenIDConnectProvider.go", "api_op_AddRoleToInstanceProfile.go", "api_op_AddUserToGroup.go", + "api_op_AssociateDelegationRequest.go", "api_op_AttachGroupPolicy.go", "api_op_AttachRolePolicy.go", "api_op_AttachUserPolicy.go", "api_op_ChangePassword.go", "api_op_CreateAccessKey.go", "api_op_CreateAccountAlias.go", + "api_op_CreateDelegationRequest.go", "api_op_CreateGroup.go", "api_op_CreateInstanceProfile.go", "api_op_CreateLoginProfile.go", @@ -58,9 +61,11 @@ "api_op_DetachUserPolicy.go", "api_op_DisableOrganizationsRootCredentialsManagement.go", "api_op_DisableOrganizationsRootSessions.go", + "api_op_DisableOutboundWebIdentityFederation.go", "api_op_EnableMFADevice.go", "api_op_EnableOrganizationsRootCredentialsManagement.go", "api_op_EnableOrganizationsRootSessions.go", + "api_op_EnableOutboundWebIdentityFederation.go", "api_op_GenerateCredentialReport.go", "api_op_GenerateOrganizationsAccessReport.go", "api_op_GenerateServiceLastAccessedDetails.go", @@ -71,13 +76,16 @@ "api_op_GetContextKeysForCustomPolicy.go", "api_op_GetContextKeysForPrincipalPolicy.go", "api_op_GetCredentialReport.go", + "api_op_GetDelegationRequest.go", "api_op_GetGroup.go", "api_op_GetGroupPolicy.go", + "api_op_GetHumanReadableSummary.go", "api_op_GetInstanceProfile.go", "api_op_GetLoginProfile.go", "api_op_GetMFADevice.go", "api_op_GetOpenIDConnectProvider.go", "api_op_GetOrganizationsAccessReport.go", + "api_op_GetOutboundWebIdentityFederationInfo.go", "api_op_GetPolicy.go", "api_op_GetPolicyVersion.go", "api_op_GetRole.go", @@ -95,6 +103,7 @@ "api_op_ListAttachedGroupPolicies.go", "api_op_ListAttachedRolePolicies.go", "api_op_ListAttachedUserPolicies.go", + "api_op_ListDelegationRequests.go", "api_op_ListEntitiesForPolicy.go", "api_op_ListGroupPolicies.go", "api_op_ListGroups.go", @@ -130,11 +139,13 @@ "api_op_PutRolePolicy.go", "api_op_PutUserPermissionsBoundary.go", "api_op_PutUserPolicy.go", + "api_op_RejectDelegationRequest.go", "api_op_RemoveClientIDFromOpenIDConnectProvider.go", "api_op_RemoveRoleFromInstanceProfile.go", "api_op_RemoveUserFromGroup.go", "api_op_ResetServiceSpecificCredential.go", "api_op_ResyncMFADevice.go", + "api_op_SendDelegationToken.go", "api_op_SetDefaultPolicyVersion.go", "api_op_SetSecurityTokenServicePreferences.go", "api_op_SimulateCustomPolicy.go", @@ -158,6 +169,7 @@ "api_op_UpdateAccessKey.go", "api_op_UpdateAccountPasswordPolicy.go", "api_op_UpdateAssumeRolePolicy.go", + "api_op_UpdateDelegationRequest.go", "api_op_UpdateGroup.go", "api_op_UpdateLoginProfile.go", "api_op_UpdateOpenIDConnectProviderThumbprint.go", diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/go_module_metadata.go index 74ce27a8c7..8ca3520a11 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/go_module_metadata.go @@ -3,4 +3,4 @@ package iam // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.47.8" +const goModuleVersion = "1.53.2" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/internal/endpoints/endpoints.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/internal/endpoints/endpoints.go index 3f229814f6..e70ebb96e0 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/internal/endpoints/endpoints.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/internal/endpoints/endpoints.go @@ -255,6 +255,13 @@ var defaultPartitions = endpoints.Partitions{ { ID: "aws-eusc", Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ + { + Variant: endpoints.DualStackVariant, + }: { + Hostname: "iam.{region}.api.amazonwebservices.eu", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, { Variant: endpoints.FIPSVariant, }: { @@ -262,6 +269,13 @@ var defaultPartitions = endpoints.Partitions{ Protocols: []string{"https"}, SignatureVersions: []string{"v4"}, }, + { + Variant: endpoints.FIPSVariant | endpoints.DualStackVariant, + }: { + Hostname: "iam-fips.{region}.api.amazonwebservices.eu", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, { Variant: 0, }: { diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/serializers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/serializers.go index 8a587db760..adb0d26793 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/serializers.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/serializers.go @@ -16,6 +16,76 @@ import ( "path" ) +type awsAwsquery_serializeOpAcceptDelegationRequest struct { +} + +func (*awsAwsquery_serializeOpAcceptDelegationRequest) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsquery_serializeOpAcceptDelegationRequest) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*AcceptDelegationRequestInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-www-form-urlencoded") + + bodyWriter := bytes.NewBuffer(nil) + bodyEncoder := query.NewEncoder(bodyWriter) + body := bodyEncoder.Object() + body.Key("Action").String("AcceptDelegationRequest") + body.Key("Version").String("2010-05-08") + + if err := awsAwsquery_serializeOpDocumentAcceptDelegationRequestInput(input, bodyEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + err = bodyEncoder.Encode() + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(bodyWriter.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} + type awsAwsquery_serializeOpAddClientIDToOpenIDConnectProvider struct { } @@ -226,6 +296,76 @@ func (m *awsAwsquery_serializeOpAddUserToGroup) HandleSerialize(ctx context.Cont return next.HandleSerialize(ctx, in) } +type awsAwsquery_serializeOpAssociateDelegationRequest struct { +} + +func (*awsAwsquery_serializeOpAssociateDelegationRequest) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsquery_serializeOpAssociateDelegationRequest) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*AssociateDelegationRequestInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-www-form-urlencoded") + + bodyWriter := bytes.NewBuffer(nil) + bodyEncoder := query.NewEncoder(bodyWriter) + body := bodyEncoder.Object() + body.Key("Action").String("AssociateDelegationRequest") + body.Key("Version").String("2010-05-08") + + if err := awsAwsquery_serializeOpDocumentAssociateDelegationRequestInput(input, bodyEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + err = bodyEncoder.Encode() + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(bodyWriter.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} + type awsAwsquery_serializeOpAttachGroupPolicy struct { } @@ -646,6 +786,76 @@ func (m *awsAwsquery_serializeOpCreateAccountAlias) HandleSerialize(ctx context. return next.HandleSerialize(ctx, in) } +type awsAwsquery_serializeOpCreateDelegationRequest struct { +} + +func (*awsAwsquery_serializeOpCreateDelegationRequest) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsquery_serializeOpCreateDelegationRequest) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*CreateDelegationRequestInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-www-form-urlencoded") + + bodyWriter := bytes.NewBuffer(nil) + bodyEncoder := query.NewEncoder(bodyWriter) + body := bodyEncoder.Object() + body.Key("Action").String("CreateDelegationRequest") + body.Key("Version").String("2010-05-08") + + if err := awsAwsquery_serializeOpDocumentCreateDelegationRequestInput(input, bodyEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + err = bodyEncoder.Encode() + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(bodyWriter.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} + type awsAwsquery_serializeOpCreateGroup struct { } @@ -3504,6 +3714,72 @@ func (m *awsAwsquery_serializeOpDisableOrganizationsRootSessions) HandleSerializ return next.HandleSerialize(ctx, in) } +type awsAwsquery_serializeOpDisableOutboundWebIdentityFederation struct { +} + +func (*awsAwsquery_serializeOpDisableOutboundWebIdentityFederation) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsquery_serializeOpDisableOutboundWebIdentityFederation) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*DisableOutboundWebIdentityFederationInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-www-form-urlencoded") + + bodyWriter := bytes.NewBuffer(nil) + bodyEncoder := query.NewEncoder(bodyWriter) + body := bodyEncoder.Object() + body.Key("Action").String("DisableOutboundWebIdentityFederation") + body.Key("Version").String("2010-05-08") + + err = bodyEncoder.Encode() + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(bodyWriter.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} + type awsAwsquery_serializeOpEnableMFADevice struct { } @@ -3706,6 +3982,72 @@ func (m *awsAwsquery_serializeOpEnableOrganizationsRootSessions) HandleSerialize return next.HandleSerialize(ctx, in) } +type awsAwsquery_serializeOpEnableOutboundWebIdentityFederation struct { +} + +func (*awsAwsquery_serializeOpEnableOutboundWebIdentityFederation) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsquery_serializeOpEnableOutboundWebIdentityFederation) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*EnableOutboundWebIdentityFederationInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-www-form-urlencoded") + + bodyWriter := bytes.NewBuffer(nil) + bodyEncoder := query.NewEncoder(bodyWriter) + body := bodyEncoder.Object() + body.Key("Action").String("EnableOutboundWebIdentityFederation") + body.Key("Version").String("2010-05-08") + + err = bodyEncoder.Encode() + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(bodyWriter.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} + type awsAwsquery_serializeOpGenerateCredentialReport struct { } @@ -4390,6 +4732,76 @@ func (m *awsAwsquery_serializeOpGetCredentialReport) HandleSerialize(ctx context return next.HandleSerialize(ctx, in) } +type awsAwsquery_serializeOpGetDelegationRequest struct { +} + +func (*awsAwsquery_serializeOpGetDelegationRequest) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsquery_serializeOpGetDelegationRequest) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*GetDelegationRequestInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-www-form-urlencoded") + + bodyWriter := bytes.NewBuffer(nil) + bodyEncoder := query.NewEncoder(bodyWriter) + body := bodyEncoder.Object() + body.Key("Action").String("GetDelegationRequest") + body.Key("Version").String("2010-05-08") + + if err := awsAwsquery_serializeOpDocumentGetDelegationRequestInput(input, bodyEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + err = bodyEncoder.Encode() + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(bodyWriter.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} + type awsAwsquery_serializeOpGetGroup struct { } @@ -4507,7 +4919,147 @@ func (m *awsAwsquery_serializeOpGetGroupPolicy) HandleSerialize(ctx context.Cont body.Key("Action").String("GetGroupPolicy") body.Key("Version").String("2010-05-08") - if err := awsAwsquery_serializeOpDocumentGetGroupPolicyInput(input, bodyEncoder.Value); err != nil { + if err := awsAwsquery_serializeOpDocumentGetGroupPolicyInput(input, bodyEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + err = bodyEncoder.Encode() + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(bodyWriter.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} + +type awsAwsquery_serializeOpGetHumanReadableSummary struct { +} + +func (*awsAwsquery_serializeOpGetHumanReadableSummary) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsquery_serializeOpGetHumanReadableSummary) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*GetHumanReadableSummaryInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-www-form-urlencoded") + + bodyWriter := bytes.NewBuffer(nil) + bodyEncoder := query.NewEncoder(bodyWriter) + body := bodyEncoder.Object() + body.Key("Action").String("GetHumanReadableSummary") + body.Key("Version").String("2010-05-08") + + if err := awsAwsquery_serializeOpDocumentGetHumanReadableSummaryInput(input, bodyEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + err = bodyEncoder.Encode() + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(bodyWriter.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} + +type awsAwsquery_serializeOpGetInstanceProfile struct { +} + +func (*awsAwsquery_serializeOpGetInstanceProfile) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsquery_serializeOpGetInstanceProfile) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*GetInstanceProfileInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-www-form-urlencoded") + + bodyWriter := bytes.NewBuffer(nil) + bodyEncoder := query.NewEncoder(bodyWriter) + body := bodyEncoder.Object() + body.Key("Action").String("GetInstanceProfile") + body.Key("Version").String("2010-05-08") + + if err := awsAwsquery_serializeOpDocumentGetInstanceProfileInput(input, bodyEncoder.Value); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } @@ -4530,14 +5082,14 @@ func (m *awsAwsquery_serializeOpGetGroupPolicy) HandleSerialize(ctx context.Cont return next.HandleSerialize(ctx, in) } -type awsAwsquery_serializeOpGetInstanceProfile struct { +type awsAwsquery_serializeOpGetLoginProfile struct { } -func (*awsAwsquery_serializeOpGetInstanceProfile) ID() string { +func (*awsAwsquery_serializeOpGetLoginProfile) ID() string { return "OperationSerializer" } -func (m *awsAwsquery_serializeOpGetInstanceProfile) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( +func (m *awsAwsquery_serializeOpGetLoginProfile) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, ) { _, span := tracing.StartSpan(ctx, "OperationSerializer") @@ -4549,7 +5101,7 @@ func (m *awsAwsquery_serializeOpGetInstanceProfile) HandleSerialize(ctx context. return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*GetInstanceProfileInput) + input, ok := in.Parameters.(*GetLoginProfileInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} @@ -4574,10 +5126,10 @@ func (m *awsAwsquery_serializeOpGetInstanceProfile) HandleSerialize(ctx context. bodyWriter := bytes.NewBuffer(nil) bodyEncoder := query.NewEncoder(bodyWriter) body := bodyEncoder.Object() - body.Key("Action").String("GetInstanceProfile") + body.Key("Action").String("GetLoginProfile") body.Key("Version").String("2010-05-08") - if err := awsAwsquery_serializeOpDocumentGetInstanceProfileInput(input, bodyEncoder.Value); err != nil { + if err := awsAwsquery_serializeOpDocumentGetLoginProfileInput(input, bodyEncoder.Value); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } @@ -4600,14 +5152,14 @@ func (m *awsAwsquery_serializeOpGetInstanceProfile) HandleSerialize(ctx context. return next.HandleSerialize(ctx, in) } -type awsAwsquery_serializeOpGetLoginProfile struct { +type awsAwsquery_serializeOpGetMFADevice struct { } -func (*awsAwsquery_serializeOpGetLoginProfile) ID() string { +func (*awsAwsquery_serializeOpGetMFADevice) ID() string { return "OperationSerializer" } -func (m *awsAwsquery_serializeOpGetLoginProfile) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( +func (m *awsAwsquery_serializeOpGetMFADevice) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, ) { _, span := tracing.StartSpan(ctx, "OperationSerializer") @@ -4619,7 +5171,7 @@ func (m *awsAwsquery_serializeOpGetLoginProfile) HandleSerialize(ctx context.Con return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*GetLoginProfileInput) + input, ok := in.Parameters.(*GetMFADeviceInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} @@ -4644,10 +5196,10 @@ func (m *awsAwsquery_serializeOpGetLoginProfile) HandleSerialize(ctx context.Con bodyWriter := bytes.NewBuffer(nil) bodyEncoder := query.NewEncoder(bodyWriter) body := bodyEncoder.Object() - body.Key("Action").String("GetLoginProfile") + body.Key("Action").String("GetMFADevice") body.Key("Version").String("2010-05-08") - if err := awsAwsquery_serializeOpDocumentGetLoginProfileInput(input, bodyEncoder.Value); err != nil { + if err := awsAwsquery_serializeOpDocumentGetMFADeviceInput(input, bodyEncoder.Value); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } @@ -4670,14 +5222,14 @@ func (m *awsAwsquery_serializeOpGetLoginProfile) HandleSerialize(ctx context.Con return next.HandleSerialize(ctx, in) } -type awsAwsquery_serializeOpGetMFADevice struct { +type awsAwsquery_serializeOpGetOpenIDConnectProvider struct { } -func (*awsAwsquery_serializeOpGetMFADevice) ID() string { +func (*awsAwsquery_serializeOpGetOpenIDConnectProvider) ID() string { return "OperationSerializer" } -func (m *awsAwsquery_serializeOpGetMFADevice) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( +func (m *awsAwsquery_serializeOpGetOpenIDConnectProvider) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, ) { _, span := tracing.StartSpan(ctx, "OperationSerializer") @@ -4689,7 +5241,7 @@ func (m *awsAwsquery_serializeOpGetMFADevice) HandleSerialize(ctx context.Contex return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*GetMFADeviceInput) + input, ok := in.Parameters.(*GetOpenIDConnectProviderInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} @@ -4714,10 +5266,10 @@ func (m *awsAwsquery_serializeOpGetMFADevice) HandleSerialize(ctx context.Contex bodyWriter := bytes.NewBuffer(nil) bodyEncoder := query.NewEncoder(bodyWriter) body := bodyEncoder.Object() - body.Key("Action").String("GetMFADevice") + body.Key("Action").String("GetOpenIDConnectProvider") body.Key("Version").String("2010-05-08") - if err := awsAwsquery_serializeOpDocumentGetMFADeviceInput(input, bodyEncoder.Value); err != nil { + if err := awsAwsquery_serializeOpDocumentGetOpenIDConnectProviderInput(input, bodyEncoder.Value); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } @@ -4740,14 +5292,14 @@ func (m *awsAwsquery_serializeOpGetMFADevice) HandleSerialize(ctx context.Contex return next.HandleSerialize(ctx, in) } -type awsAwsquery_serializeOpGetOpenIDConnectProvider struct { +type awsAwsquery_serializeOpGetOrganizationsAccessReport struct { } -func (*awsAwsquery_serializeOpGetOpenIDConnectProvider) ID() string { +func (*awsAwsquery_serializeOpGetOrganizationsAccessReport) ID() string { return "OperationSerializer" } -func (m *awsAwsquery_serializeOpGetOpenIDConnectProvider) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( +func (m *awsAwsquery_serializeOpGetOrganizationsAccessReport) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, ) { _, span := tracing.StartSpan(ctx, "OperationSerializer") @@ -4759,7 +5311,7 @@ func (m *awsAwsquery_serializeOpGetOpenIDConnectProvider) HandleSerialize(ctx co return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*GetOpenIDConnectProviderInput) + input, ok := in.Parameters.(*GetOrganizationsAccessReportInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} @@ -4784,10 +5336,10 @@ func (m *awsAwsquery_serializeOpGetOpenIDConnectProvider) HandleSerialize(ctx co bodyWriter := bytes.NewBuffer(nil) bodyEncoder := query.NewEncoder(bodyWriter) body := bodyEncoder.Object() - body.Key("Action").String("GetOpenIDConnectProvider") + body.Key("Action").String("GetOrganizationsAccessReport") body.Key("Version").String("2010-05-08") - if err := awsAwsquery_serializeOpDocumentGetOpenIDConnectProviderInput(input, bodyEncoder.Value); err != nil { + if err := awsAwsquery_serializeOpDocumentGetOrganizationsAccessReportInput(input, bodyEncoder.Value); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } @@ -4810,14 +5362,14 @@ func (m *awsAwsquery_serializeOpGetOpenIDConnectProvider) HandleSerialize(ctx co return next.HandleSerialize(ctx, in) } -type awsAwsquery_serializeOpGetOrganizationsAccessReport struct { +type awsAwsquery_serializeOpGetOutboundWebIdentityFederationInfo struct { } -func (*awsAwsquery_serializeOpGetOrganizationsAccessReport) ID() string { +func (*awsAwsquery_serializeOpGetOutboundWebIdentityFederationInfo) ID() string { return "OperationSerializer" } -func (m *awsAwsquery_serializeOpGetOrganizationsAccessReport) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( +func (m *awsAwsquery_serializeOpGetOutboundWebIdentityFederationInfo) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, ) { _, span := tracing.StartSpan(ctx, "OperationSerializer") @@ -4829,7 +5381,7 @@ func (m *awsAwsquery_serializeOpGetOrganizationsAccessReport) HandleSerialize(ct return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*GetOrganizationsAccessReportInput) + input, ok := in.Parameters.(*GetOutboundWebIdentityFederationInfoInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} @@ -4854,13 +5406,9 @@ func (m *awsAwsquery_serializeOpGetOrganizationsAccessReport) HandleSerialize(ct bodyWriter := bytes.NewBuffer(nil) bodyEncoder := query.NewEncoder(bodyWriter) body := bodyEncoder.Object() - body.Key("Action").String("GetOrganizationsAccessReport") + body.Key("Action").String("GetOutboundWebIdentityFederationInfo") body.Key("Version").String("2010-05-08") - if err := awsAwsquery_serializeOpDocumentGetOrganizationsAccessReportInput(input, bodyEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - err = bodyEncoder.Encode() if err != nil { return out, metadata, &smithy.SerializationError{Err: err} @@ -6070,6 +6618,76 @@ func (m *awsAwsquery_serializeOpListAttachedUserPolicies) HandleSerialize(ctx co return next.HandleSerialize(ctx, in) } +type awsAwsquery_serializeOpListDelegationRequests struct { +} + +func (*awsAwsquery_serializeOpListDelegationRequests) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsquery_serializeOpListDelegationRequests) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ListDelegationRequestsInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-www-form-urlencoded") + + bodyWriter := bytes.NewBuffer(nil) + bodyEncoder := query.NewEncoder(bodyWriter) + body := bodyEncoder.Object() + body.Key("Action").String("ListDelegationRequests") + body.Key("Version").String("2010-05-08") + + if err := awsAwsquery_serializeOpDocumentListDelegationRequestsInput(input, bodyEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + err = bodyEncoder.Encode() + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(bodyWriter.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} + type awsAwsquery_serializeOpListEntitiesForPolicy struct { } @@ -8508,6 +9126,76 @@ func (m *awsAwsquery_serializeOpPutUserPolicy) HandleSerialize(ctx context.Conte return next.HandleSerialize(ctx, in) } +type awsAwsquery_serializeOpRejectDelegationRequest struct { +} + +func (*awsAwsquery_serializeOpRejectDelegationRequest) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsquery_serializeOpRejectDelegationRequest) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*RejectDelegationRequestInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-www-form-urlencoded") + + bodyWriter := bytes.NewBuffer(nil) + bodyEncoder := query.NewEncoder(bodyWriter) + body := bodyEncoder.Object() + body.Key("Action").String("RejectDelegationRequest") + body.Key("Version").String("2010-05-08") + + if err := awsAwsquery_serializeOpDocumentRejectDelegationRequestInput(input, bodyEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + err = bodyEncoder.Encode() + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(bodyWriter.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} + type awsAwsquery_serializeOpRemoveClientIDFromOpenIDConnectProvider struct { } @@ -8625,7 +9313,77 @@ func (m *awsAwsquery_serializeOpRemoveRoleFromInstanceProfile) HandleSerialize(c body.Key("Action").String("RemoveRoleFromInstanceProfile") body.Key("Version").String("2010-05-08") - if err := awsAwsquery_serializeOpDocumentRemoveRoleFromInstanceProfileInput(input, bodyEncoder.Value); err != nil { + if err := awsAwsquery_serializeOpDocumentRemoveRoleFromInstanceProfileInput(input, bodyEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + err = bodyEncoder.Encode() + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(bodyWriter.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} + +type awsAwsquery_serializeOpRemoveUserFromGroup struct { +} + +func (*awsAwsquery_serializeOpRemoveUserFromGroup) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsquery_serializeOpRemoveUserFromGroup) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*RemoveUserFromGroupInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-www-form-urlencoded") + + bodyWriter := bytes.NewBuffer(nil) + bodyEncoder := query.NewEncoder(bodyWriter) + body := bodyEncoder.Object() + body.Key("Action").String("RemoveUserFromGroup") + body.Key("Version").String("2010-05-08") + + if err := awsAwsquery_serializeOpDocumentRemoveUserFromGroupInput(input, bodyEncoder.Value); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } @@ -8648,14 +9406,14 @@ func (m *awsAwsquery_serializeOpRemoveRoleFromInstanceProfile) HandleSerialize(c return next.HandleSerialize(ctx, in) } -type awsAwsquery_serializeOpRemoveUserFromGroup struct { +type awsAwsquery_serializeOpResetServiceSpecificCredential struct { } -func (*awsAwsquery_serializeOpRemoveUserFromGroup) ID() string { +func (*awsAwsquery_serializeOpResetServiceSpecificCredential) ID() string { return "OperationSerializer" } -func (m *awsAwsquery_serializeOpRemoveUserFromGroup) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( +func (m *awsAwsquery_serializeOpResetServiceSpecificCredential) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, ) { _, span := tracing.StartSpan(ctx, "OperationSerializer") @@ -8667,7 +9425,7 @@ func (m *awsAwsquery_serializeOpRemoveUserFromGroup) HandleSerialize(ctx context return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*RemoveUserFromGroupInput) + input, ok := in.Parameters.(*ResetServiceSpecificCredentialInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} @@ -8692,10 +9450,10 @@ func (m *awsAwsquery_serializeOpRemoveUserFromGroup) HandleSerialize(ctx context bodyWriter := bytes.NewBuffer(nil) bodyEncoder := query.NewEncoder(bodyWriter) body := bodyEncoder.Object() - body.Key("Action").String("RemoveUserFromGroup") + body.Key("Action").String("ResetServiceSpecificCredential") body.Key("Version").String("2010-05-08") - if err := awsAwsquery_serializeOpDocumentRemoveUserFromGroupInput(input, bodyEncoder.Value); err != nil { + if err := awsAwsquery_serializeOpDocumentResetServiceSpecificCredentialInput(input, bodyEncoder.Value); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } @@ -8718,14 +9476,14 @@ func (m *awsAwsquery_serializeOpRemoveUserFromGroup) HandleSerialize(ctx context return next.HandleSerialize(ctx, in) } -type awsAwsquery_serializeOpResetServiceSpecificCredential struct { +type awsAwsquery_serializeOpResyncMFADevice struct { } -func (*awsAwsquery_serializeOpResetServiceSpecificCredential) ID() string { +func (*awsAwsquery_serializeOpResyncMFADevice) ID() string { return "OperationSerializer" } -func (m *awsAwsquery_serializeOpResetServiceSpecificCredential) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( +func (m *awsAwsquery_serializeOpResyncMFADevice) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, ) { _, span := tracing.StartSpan(ctx, "OperationSerializer") @@ -8737,7 +9495,7 @@ func (m *awsAwsquery_serializeOpResetServiceSpecificCredential) HandleSerialize( return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*ResetServiceSpecificCredentialInput) + input, ok := in.Parameters.(*ResyncMFADeviceInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} @@ -8762,10 +9520,10 @@ func (m *awsAwsquery_serializeOpResetServiceSpecificCredential) HandleSerialize( bodyWriter := bytes.NewBuffer(nil) bodyEncoder := query.NewEncoder(bodyWriter) body := bodyEncoder.Object() - body.Key("Action").String("ResetServiceSpecificCredential") + body.Key("Action").String("ResyncMFADevice") body.Key("Version").String("2010-05-08") - if err := awsAwsquery_serializeOpDocumentResetServiceSpecificCredentialInput(input, bodyEncoder.Value); err != nil { + if err := awsAwsquery_serializeOpDocumentResyncMFADeviceInput(input, bodyEncoder.Value); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } @@ -8788,14 +9546,14 @@ func (m *awsAwsquery_serializeOpResetServiceSpecificCredential) HandleSerialize( return next.HandleSerialize(ctx, in) } -type awsAwsquery_serializeOpResyncMFADevice struct { +type awsAwsquery_serializeOpSendDelegationToken struct { } -func (*awsAwsquery_serializeOpResyncMFADevice) ID() string { +func (*awsAwsquery_serializeOpSendDelegationToken) ID() string { return "OperationSerializer" } -func (m *awsAwsquery_serializeOpResyncMFADevice) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( +func (m *awsAwsquery_serializeOpSendDelegationToken) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, ) { _, span := tracing.StartSpan(ctx, "OperationSerializer") @@ -8807,7 +9565,7 @@ func (m *awsAwsquery_serializeOpResyncMFADevice) HandleSerialize(ctx context.Con return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*ResyncMFADeviceInput) + input, ok := in.Parameters.(*SendDelegationTokenInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} @@ -8832,10 +9590,10 @@ func (m *awsAwsquery_serializeOpResyncMFADevice) HandleSerialize(ctx context.Con bodyWriter := bytes.NewBuffer(nil) bodyEncoder := query.NewEncoder(bodyWriter) body := bodyEncoder.Object() - body.Key("Action").String("ResyncMFADevice") + body.Key("Action").String("SendDelegationToken") body.Key("Version").String("2010-05-08") - if err := awsAwsquery_serializeOpDocumentResyncMFADeviceInput(input, bodyEncoder.Value); err != nil { + if err := awsAwsquery_serializeOpDocumentSendDelegationTokenInput(input, bodyEncoder.Value); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } @@ -10468,6 +11226,76 @@ func (m *awsAwsquery_serializeOpUpdateAssumeRolePolicy) HandleSerialize(ctx cont return next.HandleSerialize(ctx, in) } +type awsAwsquery_serializeOpUpdateDelegationRequest struct { +} + +func (*awsAwsquery_serializeOpUpdateDelegationRequest) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsquery_serializeOpUpdateDelegationRequest) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*UpdateDelegationRequestInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-www-form-urlencoded") + + bodyWriter := bytes.NewBuffer(nil) + bodyEncoder := query.NewEncoder(bodyWriter) + body := bodyEncoder.Object() + body.Key("Action").String("UpdateDelegationRequest") + body.Key("Version").String("2010-05-08") + + if err := awsAwsquery_serializeOpDocumentUpdateDelegationRequestInput(input, bodyEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + err = bodyEncoder.Encode() + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(bodyWriter.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} + type awsAwsquery_serializeOpUpdateGroup struct { } @@ -11513,6 +12341,25 @@ func awsAwsquery_serializeDocumentContextKeyValueListType(v []string, value quer return nil } +func awsAwsquery_serializeDocumentDelegationPermission(v *types.DelegationPermission, value query.Value) error { + object := value.Object() + _ = object + + if v.Parameters != nil { + objectKey := object.Key("Parameters") + if err := awsAwsquery_serializeDocumentPolicyParameterListType(v.Parameters, objectKey); err != nil { + return err + } + } + + if v.PolicyTemplateArn != nil { + objectKey := object.Key("PolicyTemplateArn") + objectKey.String(*v.PolicyTemplateArn) + } + + return nil +} + func awsAwsquery_serializeDocumentEntityListType(v []types.EntityType, value query.Value) error { array := value.Array("member") @@ -11523,6 +12370,52 @@ func awsAwsquery_serializeDocumentEntityListType(v []types.EntityType, value que return nil } +func awsAwsquery_serializeDocumentPolicyParameter(v *types.PolicyParameter, value query.Value) error { + object := value.Object() + _ = object + + if v.Name != nil { + objectKey := object.Key("Name") + objectKey.String(*v.Name) + } + + if len(v.Type) > 0 { + objectKey := object.Key("Type") + objectKey.String(string(v.Type)) + } + + if v.Values != nil { + objectKey := object.Key("Values") + if err := awsAwsquery_serializeDocumentPolicyParameterValuesListType(v.Values, objectKey); err != nil { + return err + } + } + + return nil +} + +func awsAwsquery_serializeDocumentPolicyParameterListType(v []types.PolicyParameter, value query.Value) error { + array := value.Array("member") + + for i := range v { + av := array.Value() + if err := awsAwsquery_serializeDocumentPolicyParameter(&v[i], av); err != nil { + return err + } + } + return nil +} + +func awsAwsquery_serializeDocumentPolicyParameterValuesListType(v []string, value query.Value) error { + array := value.Array("member") + + for i := range v { + av := array.Value() + av.String(v[i]) + } + return nil +} + func awsAwsquery_serializeDocumentResourceNameListType(v []string, value query.Value) error { array := value.Array("member") @@ -11602,6 +12495,18 @@ func awsAwsquery_serializeDocumentThumbprintListType(v []string, value query.Val return nil } +func awsAwsquery_serializeOpDocumentAcceptDelegationRequestInput(v *AcceptDelegationRequestInput, value query.Value) error { + object := value.Object() + _ = object + + if v.DelegationRequestId != nil { + objectKey := object.Key("DelegationRequestId") + objectKey.String(*v.DelegationRequestId) + } + + return nil +} + func awsAwsquery_serializeOpDocumentAddClientIDToOpenIDConnectProviderInput(v *AddClientIDToOpenIDConnectProviderInput, value query.Value) error { object := value.Object() _ = object @@ -11653,6 +12558,18 @@ func awsAwsquery_serializeOpDocumentAddUserToGroupInput(v *AddUserToGroupInput, return nil } +func awsAwsquery_serializeOpDocumentAssociateDelegationRequestInput(v *AssociateDelegationRequestInput, value query.Value) error { + object := value.Object() + _ = object + + if v.DelegationRequestId != nil { + objectKey := object.Key("DelegationRequestId") + objectKey.String(*v.DelegationRequestId) + } + + return nil +} + func awsAwsquery_serializeOpDocumentAttachGroupPolicyInput(v *AttachGroupPolicyInput, value query.Value) error { object := value.Object() _ = object @@ -11745,6 +12662,60 @@ func awsAwsquery_serializeOpDocumentCreateAccountAliasInput(v *CreateAccountAlia return nil } +func awsAwsquery_serializeOpDocumentCreateDelegationRequestInput(v *CreateDelegationRequestInput, value query.Value) error { + object := value.Object() + _ = object + + if v.Description != nil { + objectKey := object.Key("Description") + objectKey.String(*v.Description) + } + + if v.NotificationChannel != nil { + objectKey := object.Key("NotificationChannel") + objectKey.String(*v.NotificationChannel) + } + + if v.OnlySendByOwner { + objectKey := object.Key("OnlySendByOwner") + objectKey.Boolean(v.OnlySendByOwner) + } + + if v.OwnerAccountId != nil { + objectKey := object.Key("OwnerAccountId") + objectKey.String(*v.OwnerAccountId) + } + + if v.Permissions != nil { + objectKey := object.Key("Permissions") + if err := awsAwsquery_serializeDocumentDelegationPermission(v.Permissions, objectKey); err != nil { + return err + } + } + + if v.RedirectUrl != nil { + objectKey := object.Key("RedirectUrl") + objectKey.String(*v.RedirectUrl) + } + + if v.RequestMessage != nil { + objectKey := object.Key("RequestMessage") + objectKey.String(*v.RequestMessage) + } + + if v.RequestorWorkflowId != nil { + objectKey := object.Key("RequestorWorkflowId") + objectKey.String(*v.RequestorWorkflowId) + } + + if v.SessionDuration != nil { + objectKey := object.Key("SessionDuration") + objectKey.Integer(*v.SessionDuration) + } + + return nil +} + func awsAwsquery_serializeOpDocumentCreateGroupInput(v *CreateGroupInput, value query.Value) error { object := value.Object() _ = object @@ -12602,6 +13573,23 @@ func awsAwsquery_serializeOpDocumentGetContextKeysForPrincipalPolicyInput(v *Get return nil } +func awsAwsquery_serializeOpDocumentGetDelegationRequestInput(v *GetDelegationRequestInput, value query.Value) error { + object := value.Object() + _ = object + + if v.DelegationPermissionCheck { + objectKey := object.Key("DelegationPermissionCheck") + objectKey.Boolean(v.DelegationPermissionCheck) + } + + if v.DelegationRequestId != nil { + objectKey := object.Key("DelegationRequestId") + objectKey.String(*v.DelegationRequestId) + } + + return nil +} + func awsAwsquery_serializeOpDocumentGetGroupInput(v *GetGroupInput, value query.Value) error { object := value.Object() _ = object @@ -12641,6 +13629,23 @@ func awsAwsquery_serializeOpDocumentGetGroupPolicyInput(v *GetGroupPolicyInput, return nil } +func awsAwsquery_serializeOpDocumentGetHumanReadableSummaryInput(v *GetHumanReadableSummaryInput, value query.Value) error { + object := value.Object() + _ = object + + if v.EntityArn != nil { + objectKey := object.Key("EntityArn") + objectKey.String(*v.EntityArn) + } + + if v.Locale != nil { + objectKey := object.Key("Locale") + objectKey.String(*v.Locale) + } + + return nil +} + func awsAwsquery_serializeOpDocumentGetInstanceProfileInput(v *GetInstanceProfileInput, value query.Value) error { object := value.Object() _ = object @@ -13035,6 +14040,28 @@ func awsAwsquery_serializeOpDocumentListAttachedUserPoliciesInput(v *ListAttache return nil } +func awsAwsquery_serializeOpDocumentListDelegationRequestsInput(v *ListDelegationRequestsInput, value query.Value) error { + object := value.Object() + _ = object + + if v.Marker != nil { + objectKey := object.Key("Marker") + objectKey.String(*v.Marker) + } + + if v.MaxItems != nil { + objectKey := object.Key("MaxItems") + objectKey.Integer(*v.MaxItems) + } + + if v.OwnerId != nil { + objectKey := object.Key("OwnerId") + objectKey.String(*v.OwnerId) + } + + return nil +} + func awsAwsquery_serializeOpDocumentListEntitiesForPolicyInput(v *ListEntitiesForPolicyInput, value query.Value) error { object := value.Object() _ = object @@ -13792,6 +14819,23 @@ func awsAwsquery_serializeOpDocumentPutUserPolicyInput(v *PutUserPolicyInput, va return nil } +func awsAwsquery_serializeOpDocumentRejectDelegationRequestInput(v *RejectDelegationRequestInput, value query.Value) error { + object := value.Object() + _ = object + + if v.DelegationRequestId != nil { + objectKey := object.Key("DelegationRequestId") + objectKey.String(*v.DelegationRequestId) + } + + if v.Notes != nil { + objectKey := object.Key("Notes") + objectKey.String(*v.Notes) + } + + return nil +} + func awsAwsquery_serializeOpDocumentRemoveClientIDFromOpenIDConnectProviderInput(v *RemoveClientIDFromOpenIDConnectProviderInput, value query.Value) error { object := value.Object() _ = object @@ -13887,6 +14931,18 @@ func awsAwsquery_serializeOpDocumentResyncMFADeviceInput(v *ResyncMFADeviceInput return nil } +func awsAwsquery_serializeOpDocumentSendDelegationTokenInput(v *SendDelegationTokenInput, value query.Value) error { + object := value.Object() + _ = object + + if v.DelegationRequestId != nil { + objectKey := object.Key("DelegationRequestId") + objectKey.String(*v.DelegationRequestId) + } + + return nil +} + func awsAwsquery_serializeOpDocumentSetDefaultPolicyVersionInput(v *SetDefaultPolicyVersionInput, value query.Value) error { object := value.Object() _ = object @@ -14460,6 +15516,23 @@ func awsAwsquery_serializeOpDocumentUpdateAssumeRolePolicyInput(v *UpdateAssumeR return nil } +func awsAwsquery_serializeOpDocumentUpdateDelegationRequestInput(v *UpdateDelegationRequestInput, value query.Value) error { + object := value.Object() + _ = object + + if v.DelegationRequestId != nil { + objectKey := object.Key("DelegationRequestId") + objectKey.String(*v.DelegationRequestId) + } + + if v.Notes != nil { + objectKey := object.Key("Notes") + objectKey.String(*v.Notes) + } + + return nil +} + func awsAwsquery_serializeOpDocumentUpdateGroupInput(v *UpdateGroupInput, value query.Value) error { object := value.Object() _ = object diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/types/enums.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/types/enums.go index b7af504878..bc9bda74f4 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/types/enums.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/types/enums.go @@ -227,6 +227,48 @@ func (JobStatusType) Values() []JobStatusType { } } +type PermissionCheckResultType string + +// Enum values for PermissionCheckResultType +const ( + PermissionCheckResultTypeAllowed PermissionCheckResultType = "ALLOWED" + PermissionCheckResultTypeDenied PermissionCheckResultType = "DENIED" + PermissionCheckResultTypeUnsure PermissionCheckResultType = "UNSURE" +) + +// Values returns all known values for PermissionCheckResultType. Note that this +// can be expanded in the future, and so it is only as up to date as the client. +// +// The ordering of this slice is not guaranteed to be stable across updates. +func (PermissionCheckResultType) Values() []PermissionCheckResultType { + return []PermissionCheckResultType{ + "ALLOWED", + "DENIED", + "UNSURE", + } +} + +type PermissionCheckStatusType string + +// Enum values for PermissionCheckStatusType +const ( + PermissionCheckStatusTypeComplete PermissionCheckStatusType = "COMPLETE" + PermissionCheckStatusTypeInProgress PermissionCheckStatusType = "IN_PROGRESS" + PermissionCheckStatusTypeFailed PermissionCheckStatusType = "FAILED" +) + +// Values returns all known values for PermissionCheckStatusType. Note that this +// can be expanded in the future, and so it is only as up to date as the client. +// +// The ordering of this slice is not guaranteed to be stable across updates. +func (PermissionCheckStatusType) Values() []PermissionCheckStatusType { + return []PermissionCheckStatusType{ + "COMPLETE", + "IN_PROGRESS", + "FAILED", + } +} + type PermissionsBoundaryAttachmentType string // Enum values for PermissionsBoundaryAttachmentType @@ -288,6 +330,25 @@ func (PolicyOwnerEntityType) Values() []PolicyOwnerEntityType { } } +type PolicyParameterTypeEnum string + +// Enum values for PolicyParameterTypeEnum +const ( + PolicyParameterTypeEnumString PolicyParameterTypeEnum = "string" + PolicyParameterTypeEnumStringList PolicyParameterTypeEnum = "stringList" +) + +// Values returns all known values for PolicyParameterTypeEnum. Note that this can +// be expanded in the future, and so it is only as up to date as the client. +// +// The ordering of this slice is not guaranteed to be stable across updates. +func (PolicyParameterTypeEnum) Values() []PolicyParameterTypeEnum { + return []PolicyParameterTypeEnum{ + "string", + "stringList", + } +} + type PolicyScopeType string // Enum values for PolicyScopeType @@ -437,6 +498,35 @@ func (SortKeyType) Values() []SortKeyType { } } +type StateType string + +// Enum values for StateType +const ( + StateTypeUnassigned StateType = "UNASSIGNED" + StateTypeAssigned StateType = "ASSIGNED" + StateTypePendingApproval StateType = "PENDING_APPROVAL" + StateTypeFinalized StateType = "FINALIZED" + StateTypeAccepted StateType = "ACCEPTED" + StateTypeRejected StateType = "REJECTED" + StateTypeExpired StateType = "EXPIRED" +) + +// Values returns all known values for StateType. Note that this can be expanded +// in the future, and so it is only as up to date as the client. +// +// The ordering of this slice is not guaranteed to be stable across updates. +func (StateType) Values() []StateType { + return []StateType{ + "UNASSIGNED", + "ASSIGNED", + "PENDING_APPROVAL", + "FINALIZED", + "ACCEPTED", + "REJECTED", + "EXPIRED", + } +} + type StatusType string // Enum values for StatusType @@ -489,6 +579,13 @@ const ( SummaryKeyTypePolicyVersionsInUseQuota SummaryKeyType = "PolicyVersionsInUseQuota" SummaryKeyTypeVersionsPerPolicyQuota SummaryKeyType = "VersionsPerPolicyQuota" SummaryKeyTypeGlobalEndpointTokenVersion SummaryKeyType = "GlobalEndpointTokenVersion" + SummaryKeyTypeAssumeRolePolicySizeQuota SummaryKeyType = "AssumeRolePolicySizeQuota" + SummaryKeyTypeInstanceProfiles SummaryKeyType = "InstanceProfiles" + SummaryKeyTypeInstanceProfilesQuota SummaryKeyType = "InstanceProfilesQuota" + SummaryKeyTypeProviders SummaryKeyType = "Providers" + SummaryKeyTypeRolePolicySizeQuota SummaryKeyType = "RolePolicySizeQuota" + SummaryKeyTypeRoles SummaryKeyType = "Roles" + SummaryKeyTypeRolesQuota SummaryKeyType = "RolesQuota" ) // Values returns all known values for SummaryKeyType. Note that this can be @@ -524,5 +621,35 @@ func (SummaryKeyType) Values() []SummaryKeyType { "PolicyVersionsInUseQuota", "VersionsPerPolicyQuota", "GlobalEndpointTokenVersion", + "AssumeRolePolicySizeQuota", + "InstanceProfiles", + "InstanceProfilesQuota", + "Providers", + "RolePolicySizeQuota", + "Roles", + "RolesQuota", + } +} + +type SummaryStateType string + +// Enum values for SummaryStateType +const ( + SummaryStateTypeAvailable SummaryStateType = "AVAILABLE" + SummaryStateTypeNotAvailable SummaryStateType = "NOT_AVAILABLE" + SummaryStateTypeNotSupported SummaryStateType = "NOT_SUPPORTED" + SummaryStateTypeFailed SummaryStateType = "FAILED" +) + +// Values returns all known values for SummaryStateType. Note that this can be +// expanded in the future, and so it is only as up to date as the client. +// +// The ordering of this slice is not guaranteed to be stable across updates. +func (SummaryStateType) Values() []SummaryStateType { + return []SummaryStateType{ + "AVAILABLE", + "NOT_AVAILABLE", + "NOT_SUPPORTED", + "FAILED", } } diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/types/errors.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/types/errors.go index db045b7379..15388385d1 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/types/errors.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/types/errors.go @@ -321,6 +321,62 @@ func (e *EntityTemporarilyUnmodifiableException) ErrorFault() smithy.ErrorFault return smithy.FaultClient } +// The request failed because outbound identity federation is already disabled for +// your Amazon Web Services account. You cannot disable the feature multiple times +type FeatureDisabledException struct { + Message *string + + ErrorCodeOverride *string + + noSmithyDocumentSerde +} + +func (e *FeatureDisabledException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *FeatureDisabledException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *FeatureDisabledException) ErrorCode() string { + if e == nil || e.ErrorCodeOverride == nil { + return "FeatureDisabled" + } + return *e.ErrorCodeOverride +} +func (e *FeatureDisabledException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } + +// The request failed because outbound identity federation is already enabled for +// your Amazon Web Services account. You cannot enable the feature multiple times. +// To fetch the current configuration (including the unique issuer URL), use the +// GetOutboundWebIdentityFederationInfo operation. +type FeatureEnabledException struct { + Message *string + + ErrorCodeOverride *string + + noSmithyDocumentSerde +} + +func (e *FeatureEnabledException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *FeatureEnabledException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *FeatureEnabledException) ErrorCode() string { + if e == nil || e.ErrorCodeOverride == nil { + return "FeatureEnabled" + } + return *e.ErrorCodeOverride +} +func (e *FeatureEnabledException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } + // The request was rejected because the authentication code was not recognized. // The error message describes the specific error. type InvalidAuthenticationCodeException struct { diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/types/types.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/types/types.go index 10f4c0a1b7..eded7a6a2c 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/types/types.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/types/types.go @@ -270,6 +270,117 @@ type ContextEntry struct { noSmithyDocumentSerde } +// Contains information about the permissions being delegated in a delegation +// request. +type DelegationPermission struct { + + // A list of policy parameters that define the scope and constraints of the + // delegated permissions. + Parameters []PolicyParameter + + // This ARN maps to a pre-registered policy content for this partner. See the partner onboarding documentation to + // understand how to create a delegation template. + PolicyTemplateArn *string + + noSmithyDocumentSerde +} + +// Contains information about a delegation request, including its status, +// permissions, and associated metadata. +type DelegationRequest struct { + + // The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon Web + // Services resources. + // + // For more information about ARNs, go to [Amazon Resource Names (ARNs)] in the Amazon Web Services General + // Reference. + // + // [Amazon Resource Names (ARNs)]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html + ApproverId *string + + // Creation date (timestamp) of this delegation request. + CreateDate *time.Time + + // The unique identifier for the delegation request. + DelegationRequestId *string + + // Description of the delegation request. This is a message that is provided by + // the Amazon Web Services partner that filed the delegation request. + Description *string + + // The expiry time of this delegation request + // + // See the Understanding the Request Lifecycle for details on the life time of a delegation request at each state. + ExpirationTime *time.Time + + // Notes added to this delegation request, if this request was updated via the [UpdateDelegationRequest] + // API. + // + // [UpdateDelegationRequest]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateDelegationRequest.html + Notes *string + + // A flag indicating whether the [SendDelegationToken] must be called by the owner of this delegation + // request. This is set by the requesting partner. + // + // [SendDelegationToken]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_SendDelegationToken.html + OnlySendByOwner bool + + // Amazon Web Services account ID of the owner of the delegation request. + OwnerAccountId *string + + // ARN of the owner of this delegation request. + OwnerId *string + + // JSON content of the associated permission policy of this delegation request. + PermissionPolicy *string + + // Contains information about the permissions being delegated in a delegation + // request. + Permissions *DelegationPermission + + // A URL to be redirected to once the delegation request is approved. Partners + // provide this URL when creating the delegation request. + RedirectUrl *string + + // Reasons for rejecting this delegation request, if this request was rejected. + // See also [RejectDelegationRequest]API documentation. + // + // [RejectDelegationRequest]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_RejectDelegationRequest.html + RejectionReason *string + + // A custom message that is added to the delegation request by the partner. + // + // This element is different from the Description element such that this is a + // request specific message injected by the partner. The Description is typically + // a generic explanation of what the delegation request is targeted to do. + RequestMessage *string + + // Identity of the requestor of this delegation request. This will be an Amazon + // Web Services account ID. + RequestorId *string + + // A friendly name of the requestor. + RequestorName *string + + // If the PermissionPolicy includes role creation permissions, this element will + // include the list of permissions boundary policies associated with the role + // creation. See Permissions boundaries for IAM entitiesfor more details about IAM permission boundaries. + RolePermissionRestrictionArns []string + + // The life-time of the requested session credential. + SessionDuration *int32 + + // The state of this delegation request. + // + // See the Understanding the Request Lifecycle for an explanation of how these states are transitioned. + State StateType + + // Last updated timestamp of the request. + UpdatedTime *time.Time + + noSmithyDocumentSerde +} + // The reason that the service-linked role deletion failed. // // This data type is used as a response element in the [GetServiceLinkedRoleDeletionStatus] operation. @@ -1063,6 +1174,22 @@ type PolicyGroup struct { noSmithyDocumentSerde } +// Contains information about a policy parameter used to customize delegated +// permissions. +type PolicyParameter struct { + + // The name of the policy parameter. + Name *string + + // The data type of the policy parameter value. + Type PolicyParameterTypeEnum + + // The allowed values for the policy parameter. + Values []string + + noSmithyDocumentSerde +} + // Contains information about a role that a managed policy is attached to. // // This data type is used as a response element in the [ListEntitiesForPolicy] operation. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/validators.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/validators.go index cf06e77e1b..08ab7d9c17 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/validators.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/validators.go @@ -10,6 +10,26 @@ import ( "github.com/aws/smithy-go/middleware" ) +type validateOpAcceptDelegationRequest struct { +} + +func (*validateOpAcceptDelegationRequest) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpAcceptDelegationRequest) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*AcceptDelegationRequestInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpAcceptDelegationRequestInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpAddClientIDToOpenIDConnectProvider struct { } @@ -70,6 +90,26 @@ func (m *validateOpAddUserToGroup) HandleInitialize(ctx context.Context, in midd return next.HandleInitialize(ctx, in) } +type validateOpAssociateDelegationRequest struct { +} + +func (*validateOpAssociateDelegationRequest) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpAssociateDelegationRequest) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*AssociateDelegationRequestInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpAssociateDelegationRequestInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpAttachGroupPolicy struct { } @@ -170,6 +210,26 @@ func (m *validateOpCreateAccountAlias) HandleInitialize(ctx context.Context, in return next.HandleInitialize(ctx, in) } +type validateOpCreateDelegationRequest struct { +} + +func (*validateOpCreateDelegationRequest) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpCreateDelegationRequest) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*CreateDelegationRequestInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpCreateDelegationRequestInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpCreateGroup struct { } @@ -1010,6 +1070,26 @@ func (m *validateOpGetContextKeysForPrincipalPolicy) HandleInitialize(ctx contex return next.HandleInitialize(ctx, in) } +type validateOpGetDelegationRequest struct { +} + +func (*validateOpGetDelegationRequest) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpGetDelegationRequest) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*GetDelegationRequestInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpGetDelegationRequestInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpGetGroup struct { } @@ -1050,6 +1130,26 @@ func (m *validateOpGetGroupPolicy) HandleInitialize(ctx context.Context, in midd return next.HandleInitialize(ctx, in) } +type validateOpGetHumanReadableSummary struct { +} + +func (*validateOpGetHumanReadableSummary) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpGetHumanReadableSummary) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*GetHumanReadableSummaryInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpGetHumanReadableSummaryInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpGetInstanceProfile struct { } @@ -1830,6 +1930,26 @@ func (m *validateOpPutUserPolicy) HandleInitialize(ctx context.Context, in middl return next.HandleInitialize(ctx, in) } +type validateOpRejectDelegationRequest struct { +} + +func (*validateOpRejectDelegationRequest) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpRejectDelegationRequest) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*RejectDelegationRequestInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpRejectDelegationRequestInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpRemoveClientIDFromOpenIDConnectProvider struct { } @@ -1930,6 +2050,26 @@ func (m *validateOpResyncMFADevice) HandleInitialize(ctx context.Context, in mid return next.HandleInitialize(ctx, in) } +type validateOpSendDelegationToken struct { +} + +func (*validateOpSendDelegationToken) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpSendDelegationToken) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*SendDelegationTokenInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpSendDelegationTokenInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpSetDefaultPolicyVersion struct { } @@ -2370,6 +2510,26 @@ func (m *validateOpUpdateAssumeRolePolicy) HandleInitialize(ctx context.Context, return next.HandleInitialize(ctx, in) } +type validateOpUpdateDelegationRequest struct { +} + +func (*validateOpUpdateDelegationRequest) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpUpdateDelegationRequest) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*UpdateDelegationRequestInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpUpdateDelegationRequestInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpUpdateGroup struct { } @@ -2650,6 +2810,10 @@ func (m *validateOpUploadSSHPublicKey) HandleInitialize(ctx context.Context, in return next.HandleInitialize(ctx, in) } +func addOpAcceptDelegationRequestValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpAcceptDelegationRequest{}, middleware.After) +} + func addOpAddClientIDToOpenIDConnectProviderValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpAddClientIDToOpenIDConnectProvider{}, middleware.After) } @@ -2662,6 +2826,10 @@ func addOpAddUserToGroupValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpAddUserToGroup{}, middleware.After) } +func addOpAssociateDelegationRequestValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpAssociateDelegationRequest{}, middleware.After) +} + func addOpAttachGroupPolicyValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpAttachGroupPolicy{}, middleware.After) } @@ -2682,6 +2850,10 @@ func addOpCreateAccountAliasValidationMiddleware(stack *middleware.Stack) error return stack.Initialize.Add(&validateOpCreateAccountAlias{}, middleware.After) } +func addOpCreateDelegationRequestValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpCreateDelegationRequest{}, middleware.After) +} + func addOpCreateGroupValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpCreateGroup{}, middleware.After) } @@ -2850,6 +3022,10 @@ func addOpGetContextKeysForPrincipalPolicyValidationMiddleware(stack *middleware return stack.Initialize.Add(&validateOpGetContextKeysForPrincipalPolicy{}, middleware.After) } +func addOpGetDelegationRequestValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpGetDelegationRequest{}, middleware.After) +} + func addOpGetGroupValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpGetGroup{}, middleware.After) } @@ -2858,6 +3034,10 @@ func addOpGetGroupPolicyValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpGetGroupPolicy{}, middleware.After) } +func addOpGetHumanReadableSummaryValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpGetHumanReadableSummary{}, middleware.After) +} + func addOpGetInstanceProfileValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpGetInstanceProfile{}, middleware.After) } @@ -3014,6 +3194,10 @@ func addOpPutUserPolicyValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpPutUserPolicy{}, middleware.After) } +func addOpRejectDelegationRequestValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpRejectDelegationRequest{}, middleware.After) +} + func addOpRemoveClientIDFromOpenIDConnectProviderValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpRemoveClientIDFromOpenIDConnectProvider{}, middleware.After) } @@ -3034,6 +3218,10 @@ func addOpResyncMFADeviceValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpResyncMFADevice{}, middleware.After) } +func addOpSendDelegationTokenValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpSendDelegationToken{}, middleware.After) +} + func addOpSetDefaultPolicyVersionValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpSetDefaultPolicyVersion{}, middleware.After) } @@ -3122,6 +3310,10 @@ func addOpUpdateAssumeRolePolicyValidationMiddleware(stack *middleware.Stack) er return stack.Initialize.Add(&validateOpUpdateAssumeRolePolicy{}, middleware.After) } +func addOpUpdateDelegationRequestValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpUpdateDelegationRequest{}, middleware.After) +} + func addOpUpdateGroupValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpUpdateGroup{}, middleware.After) } @@ -3213,6 +3405,21 @@ func validateTagListType(v []types.Tag) error { } } +func validateOpAcceptDelegationRequestInput(v *AcceptDelegationRequestInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "AcceptDelegationRequestInput"} + if v.DelegationRequestId == nil { + invalidParams.Add(smithy.NewErrParamRequired("DelegationRequestId")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpAddClientIDToOpenIDConnectProviderInput(v *AddClientIDToOpenIDConnectProviderInput) error { if v == nil { return nil @@ -3267,6 +3474,21 @@ func validateOpAddUserToGroupInput(v *AddUserToGroupInput) error { } } +func validateOpAssociateDelegationRequestInput(v *AssociateDelegationRequestInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "AssociateDelegationRequestInput"} + if v.DelegationRequestId == nil { + invalidParams.Add(smithy.NewErrParamRequired("DelegationRequestId")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpAttachGroupPolicyInput(v *AttachGroupPolicyInput) error { if v == nil { return nil @@ -3354,6 +3576,33 @@ func validateOpCreateAccountAliasInput(v *CreateAccountAliasInput) error { } } +func validateOpCreateDelegationRequestInput(v *CreateDelegationRequestInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "CreateDelegationRequestInput"} + if v.Description == nil { + invalidParams.Add(smithy.NewErrParamRequired("Description")) + } + if v.Permissions == nil { + invalidParams.Add(smithy.NewErrParamRequired("Permissions")) + } + if v.RequestorWorkflowId == nil { + invalidParams.Add(smithy.NewErrParamRequired("RequestorWorkflowId")) + } + if v.NotificationChannel == nil { + invalidParams.Add(smithy.NewErrParamRequired("NotificationChannel")) + } + if v.SessionDuration == nil { + invalidParams.Add(smithy.NewErrParamRequired("SessionDuration")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpCreateGroupInput(v *CreateGroupInput) error { if v == nil { return nil @@ -4067,6 +4316,21 @@ func validateOpGetContextKeysForPrincipalPolicyInput(v *GetContextKeysForPrincip } } +func validateOpGetDelegationRequestInput(v *GetDelegationRequestInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "GetDelegationRequestInput"} + if v.DelegationRequestId == nil { + invalidParams.Add(smithy.NewErrParamRequired("DelegationRequestId")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpGetGroupInput(v *GetGroupInput) error { if v == nil { return nil @@ -4100,6 +4364,21 @@ func validateOpGetGroupPolicyInput(v *GetGroupPolicyInput) error { } } +func validateOpGetHumanReadableSummaryInput(v *GetHumanReadableSummaryInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "GetHumanReadableSummaryInput"} + if v.EntityArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("EntityArn")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpGetInstanceProfileInput(v *GetInstanceProfileInput) error { if v == nil { return nil @@ -4730,6 +5009,21 @@ func validateOpPutUserPolicyInput(v *PutUserPolicyInput) error { } } +func validateOpRejectDelegationRequestInput(v *RejectDelegationRequestInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "RejectDelegationRequestInput"} + if v.DelegationRequestId == nil { + invalidParams.Add(smithy.NewErrParamRequired("DelegationRequestId")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpRemoveClientIDFromOpenIDConnectProviderInput(v *RemoveClientIDFromOpenIDConnectProviderInput) error { if v == nil { return nil @@ -4823,6 +5117,21 @@ func validateOpResyncMFADeviceInput(v *ResyncMFADeviceInput) error { } } +func validateOpSendDelegationTokenInput(v *SendDelegationTokenInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "SendDelegationTokenInput"} + if v.DelegationRequestId == nil { + invalidParams.Add(smithy.NewErrParamRequired("DelegationRequestId")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpSetDefaultPolicyVersionInput(v *SetDefaultPolicyVersionInput) error { if v == nil { return nil @@ -5248,6 +5557,21 @@ func validateOpUpdateAssumeRolePolicyInput(v *UpdateAssumeRolePolicyInput) error } } +func validateOpUpdateDelegationRequestInput(v *UpdateDelegationRequestInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "UpdateDelegationRequestInput"} + if v.DelegationRequestId == nil { + invalidParams.Add(smithy.NewErrParamRequired("DelegationRequestId")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpUpdateGroupInput(v *UpdateGroupInput) error { if v == nil { return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding/CHANGELOG.md index a57fe5681c..6ffbf3fe4a 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.13.4 (2025-12-02) + +* **Dependency Update**: Upgrade to smithy-go v1.24.0. Notably this version of the library reduces the allocation footprint of the middleware system. We observe a ~10% reduction in allocations per SDK call with this change. + +# v1.13.3 (2025-11-04) + +* **Dependency Update**: Upgrade to smithy-go v1.23.2 which should convey some passive reduction of overall allocations, especially when not using the metrics system. + # v1.13.2 (2025-10-16) * **Dependency Update**: Bump minimum Go version to 1.23. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding/go_module_metadata.go index 5679801451..970bb210ec 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding/go_module_metadata.go @@ -3,4 +3,4 @@ package acceptencoding // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.2" +const goModuleVersion = "1.13.4" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/CHANGELOG.md index b0d3c66765..2f7cf77c32 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/CHANGELOG.md @@ -1,3 +1,33 @@ +# v1.9.8 (2026-01-09) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.9.7 (2025-12-08) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.9.6 (2025-12-02) + +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.24.0. Notably this version of the library reduces the allocation footprint of the middleware system. We observe a ~10% reduction in allocations per SDK call with this change. + +# v1.9.5 (2025-11-19.2) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.9.4 (2025-11-04) + +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.23.2 which should convey some passive reduction of overall allocations, especially when not using the metrics system. + +# v1.9.3 (2025-10-30) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.9.2 (2025-10-23) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.9.1 (2025-10-16) * **Dependency Update**: Bump minimum Go version to 1.23. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/go_module_metadata.go index 0fc2585b9b..1021b2f0eb 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/go_module_metadata.go @@ -3,4 +3,4 @@ package checksum // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.9.1" +const goModuleVersion = "1.9.8" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/CHANGELOG.md index 9f70bffbb3..81fbac09c1 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/CHANGELOG.md @@ -1,3 +1,33 @@ +# v1.13.17 (2026-01-09) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.13.16 (2025-12-08) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.13.15 (2025-12-02) + +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.24.0. Notably this version of the library reduces the allocation footprint of the middleware system. We observe a ~10% reduction in allocations per SDK call with this change. + +# v1.13.14 (2025-11-19.2) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.13.13 (2025-11-04) + +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.23.2 which should convey some passive reduction of overall allocations, especially when not using the metrics system. + +# v1.13.12 (2025-10-30) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.13.11 (2025-10-23) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.10 (2025-10-16) * **Dependency Update**: Bump minimum Go version to 1.23. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/go_module_metadata.go index 021167d0e6..d7c886c139 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/go_module_metadata.go @@ -3,4 +3,4 @@ package presignedurl // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.10" +const goModuleVersion = "1.13.17" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/s3shared/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/s3shared/CHANGELOG.md index 3df2955094..c44d816bab 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/s3shared/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/s3shared/CHANGELOG.md @@ -1,3 +1,33 @@ +# v1.19.17 (2026-01-09) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.19.16 (2025-12-08) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.19.15 (2025-12-02) + +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.24.0. Notably this version of the library reduces the allocation footprint of the middleware system. We observe a ~10% reduction in allocations per SDK call with this change. + +# v1.19.14 (2025-11-19.2) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.19.13 (2025-11-04) + +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.23.2 which should convey some passive reduction of overall allocations, especially when not using the metrics system. + +# v1.19.12 (2025-10-30) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.19.11 (2025-10-23) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.19.10 (2025-10-16) * **Dependency Update**: Bump minimum Go version to 1.23. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/s3shared/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/s3shared/go_module_metadata.go index 8634982247..e4601bb1cb 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/s3shared/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/s3shared/go_module_metadata.go @@ -3,4 +3,4 @@ package s3shared // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.19.10" +const goModuleVersion = "1.19.17" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/CHANGELOG.md index 066d08ff76..335069bcf7 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/CHANGELOG.md @@ -1,3 +1,85 @@ +# v1.96.0 (2026-01-28) + +* **Feature**: Adds support for the UpdateObjectEncryption API to change the server-side encryption type of objects in general purpose buckets. + +# v1.95.1 (2026-01-09) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.95.0 (2025-12-23) + +* **Feature**: Add additional validation to Outpost bucket names. + +# v1.94.0 (2025-12-15) + +* **Feature**: This release adds support for the new optional field 'LifecycleExpirationDate' in S3 Inventory configurations. + +# v1.93.2 (2025-12-09) + +* No change notes available for this release. + +# v1.93.1 (2025-12-08) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.93.0 (2025-12-02) + +* **Feature**: New S3 Storage Class FSX_ONTAP +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.24.0. Notably this version of the library reduces the allocation footprint of the middleware system. We observe a ~10% reduction in allocations per SDK call with this change. + +# v1.92.1 (2025-11-25) + +* **Bug Fix**: Add error check for endpoint param binding during auth scheme resolution to fix panic reported in #3234 +* **Bug Fix**: Fix missing error message when service returns a specific type of error. + +# v1.92.0 (2025-11-20) + +* **Feature**: Enable / Disable ABAC on a general purpose bucket. + +# v1.91.1 (2025-11-19.2) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.91.0 (2025-11-19) + +* **Feature**: Adds support for blocking SSE-C writes to general purpose buckets. + +# v1.90.2 (2025-11-12) + +* **Bug Fix**: Further reduce allocation overhead when the metrics system isn't in-use. +* **Bug Fix**: Reduce allocation overhead when the client doesn't have any HTTP interceptors configured. +* **Bug Fix**: Remove blank trace spans towards the beginning of the request that added no additional information. This conveys a slight reduction in overall allocations. + +# v1.90.1 (2025-11-11) + +* **Bug Fix**: Return validation error if input region is not a valid host label. + +# v1.90.0 (2025-11-05) + +* **Feature**: Launch IPv6 dual-stack support for S3 Express + +# v1.89.2 (2025-11-04) + +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.23.2 which should convey some passive reduction of overall allocations, especially when not using the metrics system. + +# v1.89.1 (2025-10-30) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.89.0 (2025-10-28) + +* **Feature**: Amazon Simple Storage Service / Features: Add conditional writes in CopyObject on destination key to prevent unintended object modifications. + +# v1.88.7 (2025-10-23) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.88.6 (2025-10-22) + +* No change notes available for this release. + # v1.88.5 (2025-10-16) * **Dependency Update**: Bump minimum Go version to 1.23. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_client.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_client.go index d6637410a8..e5e18d641c 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_client.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_client.go @@ -74,7 +74,12 @@ func timeOperationMetric[T any]( ctx context.Context, metric string, fn func() (T, error), opts ...metrics.RecordMetricOption, ) (T, error) { - instr := getOperationMetrics(ctx).histogramFor(metric) + mm := getOperationMetrics(ctx) + if mm == nil { // not using the metrics system + return fn() + } + + instr := mm.histogramFor(metric) opts = append([]metrics.RecordMetricOption{withOperationMetadata(ctx)}, opts...) start := time.Now() @@ -87,7 +92,12 @@ func timeOperationMetric[T any]( } func startMetricTimer(ctx context.Context, metric string, opts ...metrics.RecordMetricOption) func() { - instr := getOperationMetrics(ctx).histogramFor(metric) + mm := getOperationMetrics(ctx) + if mm == nil { // not using the metrics system + return func() {} + } + + instr := mm.histogramFor(metric) opts = append([]metrics.RecordMetricOption{withOperationMetadata(ctx)}, opts...) var ended bool @@ -115,6 +125,12 @@ func withOperationMetadata(ctx context.Context) metrics.RecordMetricOption { type operationMetricsKey struct{} func withOperationMetrics(parent context.Context, mp metrics.MeterProvider) (context.Context, error) { + if _, ok := mp.(metrics.NopMeterProvider); ok { + // not using the metrics system - setting up the metrics context is a memory-intensive operation + // so we should skip it in this case + return parent, nil + } + meter := mp.Meter("github.com/aws/aws-sdk-go-v2/service/s3") om := &operationMetrics{} @@ -162,7 +178,10 @@ func operationMetricTimer(m metrics.Meter, name, desc string) (metrics.Float64Hi } func getOperationMetrics(ctx context.Context) *operationMetrics { - return ctx.Value(operationMetricsKey{}).(*operationMetrics) + if v := ctx.Value(operationMetricsKey{}); v != nil { + return v.(*operationMetrics) + } + return nil } func operationTracer(p tracing.TracerProvider) tracing.Tracer { @@ -1324,138 +1343,49 @@ func addInterceptAttempt(stack *middleware.Stack, opts Options) error { }, "Retry", middleware.After) } -func addInterceptExecution(stack *middleware.Stack, opts Options) error { - return stack.Initialize.Add(&smithyhttp.InterceptExecution{ - BeforeExecution: opts.Interceptors.BeforeExecution, - AfterExecution: opts.Interceptors.AfterExecution, - }, middleware.Before) -} - -func addInterceptBeforeSerialization(stack *middleware.Stack, opts Options) error { - return stack.Serialize.Insert(&smithyhttp.InterceptBeforeSerialization{ - Interceptors: opts.Interceptors.BeforeSerialization, - }, "OperationSerializer", middleware.Before) -} - -func addInterceptAfterSerialization(stack *middleware.Stack, opts Options) error { - return stack.Serialize.Insert(&smithyhttp.InterceptAfterSerialization{ - Interceptors: opts.Interceptors.AfterSerialization, - }, "OperationSerializer", middleware.After) -} - -func addInterceptBeforeSigning(stack *middleware.Stack, opts Options) error { - return stack.Finalize.Insert(&smithyhttp.InterceptBeforeSigning{ - Interceptors: opts.Interceptors.BeforeSigning, - }, "Signing", middleware.Before) -} - -func addInterceptAfterSigning(stack *middleware.Stack, opts Options) error { - return stack.Finalize.Insert(&smithyhttp.InterceptAfterSigning{ - Interceptors: opts.Interceptors.AfterSigning, - }, "Signing", middleware.After) -} - -func addInterceptTransmit(stack *middleware.Stack, opts Options) error { - return stack.Deserialize.Add(&smithyhttp.InterceptTransmit{ - BeforeTransmit: opts.Interceptors.BeforeTransmit, - AfterTransmit: opts.Interceptors.AfterTransmit, - }, middleware.After) -} - -func addInterceptBeforeDeserialization(stack *middleware.Stack, opts Options) error { - return stack.Deserialize.Insert(&smithyhttp.InterceptBeforeDeserialization{ - Interceptors: opts.Interceptors.BeforeDeserialization, - }, "OperationDeserializer", middleware.After) // (deserialize stack is called in reverse) -} - -func addInterceptAfterDeserialization(stack *middleware.Stack, opts Options) error { - return stack.Deserialize.Insert(&smithyhttp.InterceptAfterDeserialization{ - Interceptors: opts.Interceptors.AfterDeserialization, - }, "OperationDeserializer", middleware.Before) -} - -type spanInitializeStart struct { -} - -func (*spanInitializeStart) ID() string { - return "spanInitializeStart" -} - -func (m *spanInitializeStart) HandleInitialize( - ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler, -) ( - middleware.InitializeOutput, middleware.Metadata, error, -) { - ctx, _ = tracing.StartSpan(ctx, "Initialize") - - return next.HandleInitialize(ctx, in) -} - -type spanInitializeEnd struct { -} - -func (*spanInitializeEnd) ID() string { - return "spanInitializeEnd" -} - -func (m *spanInitializeEnd) HandleInitialize( - ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler, -) ( - middleware.InitializeOutput, middleware.Metadata, error, -) { - ctx, span := tracing.PopSpan(ctx) - span.End() - - return next.HandleInitialize(ctx, in) -} - -type spanBuildRequestStart struct { -} - -func (*spanBuildRequestStart) ID() string { - return "spanBuildRequestStart" -} - -func (m *spanBuildRequestStart) HandleSerialize( - ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler, -) ( - middleware.SerializeOutput, middleware.Metadata, error, -) { - ctx, _ = tracing.StartSpan(ctx, "BuildRequest") - - return next.HandleSerialize(ctx, in) -} - -type spanBuildRequestEnd struct { -} - -func (*spanBuildRequestEnd) ID() string { - return "spanBuildRequestEnd" -} - -func (m *spanBuildRequestEnd) HandleBuild( - ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler, -) ( - middleware.BuildOutput, middleware.Metadata, error, -) { - ctx, span := tracing.PopSpan(ctx) - span.End() - - return next.HandleBuild(ctx, in) -} - -func addSpanInitializeStart(stack *middleware.Stack) error { - return stack.Initialize.Add(&spanInitializeStart{}, middleware.Before) -} - -func addSpanInitializeEnd(stack *middleware.Stack) error { - return stack.Initialize.Add(&spanInitializeEnd{}, middleware.After) -} - -func addSpanBuildRequestStart(stack *middleware.Stack) error { - return stack.Serialize.Add(&spanBuildRequestStart{}, middleware.Before) -} +func addInterceptors(stack *middleware.Stack, opts Options) error { + // middlewares are expensive, don't add all of these interceptor ones unless the caller + // actually has at least one interceptor configured + // + // at the moment it's all-or-nothing because some of the middlewares here are responsible for + // setting fields in the interceptor context for future ones + if len(opts.Interceptors.BeforeExecution) == 0 && + len(opts.Interceptors.BeforeSerialization) == 0 && len(opts.Interceptors.AfterSerialization) == 0 && + len(opts.Interceptors.BeforeRetryLoop) == 0 && + len(opts.Interceptors.BeforeAttempt) == 0 && + len(opts.Interceptors.BeforeSigning) == 0 && len(opts.Interceptors.AfterSigning) == 0 && + len(opts.Interceptors.BeforeTransmit) == 0 && len(opts.Interceptors.AfterTransmit) == 0 && + len(opts.Interceptors.BeforeDeserialization) == 0 && len(opts.Interceptors.AfterDeserialization) == 0 && + len(opts.Interceptors.AfterAttempt) == 0 && len(opts.Interceptors.AfterExecution) == 0 { + return nil + } -func addSpanBuildRequestEnd(stack *middleware.Stack) error { - return stack.Build.Add(&spanBuildRequestEnd{}, middleware.After) + return errors.Join( + stack.Initialize.Add(&smithyhttp.InterceptExecution{ + BeforeExecution: opts.Interceptors.BeforeExecution, + AfterExecution: opts.Interceptors.AfterExecution, + }, middleware.Before), + stack.Serialize.Insert(&smithyhttp.InterceptBeforeSerialization{ + Interceptors: opts.Interceptors.BeforeSerialization, + }, "OperationSerializer", middleware.Before), + stack.Serialize.Insert(&smithyhttp.InterceptAfterSerialization{ + Interceptors: opts.Interceptors.AfterSerialization, + }, "OperationSerializer", middleware.After), + stack.Finalize.Insert(&smithyhttp.InterceptBeforeSigning{ + Interceptors: opts.Interceptors.BeforeSigning, + }, "Signing", middleware.Before), + stack.Finalize.Insert(&smithyhttp.InterceptAfterSigning{ + Interceptors: opts.Interceptors.AfterSigning, + }, "Signing", middleware.After), + stack.Deserialize.Add(&smithyhttp.InterceptTransmit{ + BeforeTransmit: opts.Interceptors.BeforeTransmit, + AfterTransmit: opts.Interceptors.AfterTransmit, + }, middleware.After), + stack.Deserialize.Insert(&smithyhttp.InterceptBeforeDeserialization{ + Interceptors: opts.Interceptors.BeforeDeserialization, + }, "OperationDeserializer", middleware.After), // (deserialize stack is called in reverse) + stack.Deserialize.Insert(&smithyhttp.InterceptAfterDeserialization{ + Interceptors: opts.Interceptors.AfterDeserialization, + }, "OperationDeserializer", middleware.Before), + ) } diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_AbortMultipartUpload.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_AbortMultipartUpload.go index 35d55ea811..fe2eb303e6 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_AbortMultipartUpload.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_AbortMultipartUpload.go @@ -72,6 +72,10 @@ import ( // // [ListMultipartUploads] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [ListParts]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html // [Concepts for directory buckets in Local Zones]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html // [UploadPart]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html @@ -164,9 +168,8 @@ type AbortMultipartUploadInput struct { // Confirms that the requester knows that they will be charged for the request. // Bucket owners need not specify this parameter in their requests. If either the // source or destination S3 bucket has Requester Pays enabled, the requester will - // pay for corresponding charges to copy the object. For information about - // downloading objects from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User - // Guide. + // pay for the corresponding charges. For information about downloading objects + // from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User Guide. // // This functionality is not supported for directory buckets. // @@ -312,40 +315,7 @@ func (c *Client) addOperationAbortMultipartUploadMiddlewares(stack *middleware.S if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CompleteMultipartUpload.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CompleteMultipartUpload.go index d428c98c9d..881f4c27da 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CompleteMultipartUpload.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CompleteMultipartUpload.go @@ -131,6 +131,10 @@ import ( // // [ListMultipartUploads] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Uploading Objects Using Multipart Upload]: https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html // [Amazon S3 Error Best Practices]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ErrorBestPractices.html // [Concepts for directory buckets in Local Zones]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html @@ -310,9 +314,8 @@ type CompleteMultipartUploadInput struct { // Confirms that the requester knows that they will be charged for the request. // Bucket owners need not specify this parameter in their requests. If either the // source or destination S3 bucket has Requester Pays enabled, the requester will - // pay for corresponding charges to copy the object. For information about - // downloading objects from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User - // Guide. + // pay for the corresponding charges. For information about downloading objects + // from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User Guide. // // This functionality is not supported for directory buckets. // @@ -370,7 +373,7 @@ type CompleteMultipartUploadOutput struct { BucketKeyEnabled *bool // The Base64 encoded, 32-bit CRC32 checksum of the object. This checksum is only - // be present if the checksum was uploaded with the object. When you use an API + // present if the checksum was uploaded with the object. When you use an API // operation on an object that was uploaded using multipart uploads, this value may // not be a direct checksum value of the full object. Instead, it's a calculation // based on the checksum values of each individual part. For more information about @@ -399,8 +402,8 @@ type CompleteMultipartUploadOutput struct { // [Checking object integrity in the Amazon S3 User Guide]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html ChecksumCRC64NVME *string - // The Base64 encoded, 160-bit SHA1 digest of the object. This will only be - // present if the object was uploaded with the object. When you use the API + // The Base64 encoded, 160-bit SHA1 digest of the object. This checksum is only + // present if the checksum was uploaded with the object. When you use the API // operation on an object that was uploaded using multipart uploads, this value may // not be a direct checksum value of the full object. Instead, it's a calculation // based on the checksum values of each individual part. For more information about @@ -410,8 +413,8 @@ type CompleteMultipartUploadOutput struct { // [Checking object integrity]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums ChecksumSHA1 *string - // The Base64 encoded, 256-bit SHA256 digest of the object. This will only be - // present if the object was uploaded with the object. When you use an API + // The Base64 encoded, 256-bit SHA256 digest of the object. This checksum is only + // present if the checksum was uploaded with the object. When you use an API // operation on an object that was uploaded using multipart uploads, this value may // not be a direct checksum value of the full object. Instead, it's a calculation // based on the checksum values of each individual part. For more information about @@ -598,40 +601,7 @@ func (c *Client) addOperationCompleteMultipartUploadMiddlewares(stack *middlewar if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CopyObject.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CopyObject.go index f593667eaf..b50e49e346 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CopyObject.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CopyObject.go @@ -15,21 +15,19 @@ import ( "time" ) -// End of support notice: Beginning October 1, 2025, Amazon S3 will discontinue -// support for creating new Email Grantee Access Control Lists (ACL). Email Grantee -// ACLs created prior to this date will continue to work and remain accessible -// through the Amazon Web Services Management Console, Command Line Interface -// (CLI), SDKs, and REST API. However, you will no longer be able to create new -// Email Grantee ACLs. +// Creates a copy of an object that is already stored in Amazon S3. // -// This change affects the following Amazon Web Services Regions: US East (N. -// Virginia) Region, US West (N. California) Region, US West (Oregon) Region, Asia -// Pacific (Singapore) Region, Asia Pacific (Sydney) Region, Asia Pacific (Tokyo) -// Region, Europe (Ireland) Region, and South America (São Paulo) Region. +// End of support notice: As of October 1, 2025, Amazon S3 has discontinued +// support for Email Grantee Access Control Lists (ACLs). If you attempt to use an +// Email Grantee ACL in a request after October 1, 2025, the request will receive +// an HTTP 405 (Method Not Allowed) error. // -// Creates a copy of an object that is already stored in Amazon S3. +// This change affects the following Amazon Web Services Regions: US East (N. +// Virginia), US West (N. California), US West (Oregon), Asia Pacific (Singapore), +// Asia Pacific (Sydney), Asia Pacific (Tokyo), Europe (Ireland), and South America +// (São Paulo). // -// You can store individual objects of up to 5 TB in Amazon S3. You create a copy +// You can store individual objects of up to 50 TB in Amazon S3. You create a copy // of your object up to 5 GB in size in a single atomic action using this API. // However, to copy an object greater than 5 GB, you must use the multipart upload // Upload Part - Copy (UploadPartCopy) API. For more information, see [Copy Object Using the REST Multipart Upload API]. @@ -164,6 +162,10 @@ import ( // // [GetObject] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Concepts for directory buckets in Local Zones]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html // [Amazon Web Services Identity and Access Management (IAM) identity-based policies for S3 Express One Zone]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-identity-policies.html // [Resolve the Error 200 response when copying objects to Amazon S3]: https://repost.aws/knowledge-center/s3-resolve-200-internalerror @@ -518,6 +520,32 @@ type CopyObjectInput struct { // - This functionality is not supported for Amazon S3 on Outposts. GrantWriteACP *string + // Copies the object if the entity tag (ETag) of the destination object matches + // the specified tag. If the ETag values do not match, the operation returns a 412 + // Precondition Failed error. If a concurrent operation occurs during the upload S3 + // returns a 409 ConditionalRequestConflict response. On a 409 failure you should + // fetch the object's ETag and retry the upload. + // + // Expects the ETag value as a string. + // + // For more information about conditional requests, see [RFC 7232]. + // + // [RFC 7232]: https://tools.ietf.org/html/rfc7232 + IfMatch *string + + // Copies the object only if the object key name at the destination does not + // already exist in the bucket specified. Otherwise, Amazon S3 returns a 412 + // Precondition Failed error. If a concurrent operation occurs during the upload S3 + // returns a 409 ConditionalRequestConflict response. On a 409 failure you should + // retry the upload. + // + // Expects the '*' (asterisk) character. + // + // For more information about conditional requests, see [RFC 7232]. + // + // [RFC 7232]: https://tools.ietf.org/html/rfc7232 + IfNoneMatch *string + // A map of metadata to store with the object in S3. Metadata map[string]string @@ -556,9 +584,8 @@ type CopyObjectInput struct { // Confirms that the requester knows that they will be charged for the request. // Bucket owners need not specify this parameter in their requests. If either the // source or destination S3 bucket has Requester Pays enabled, the requester will - // pay for corresponding charges to copy the object. For information about - // downloading objects from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User - // Guide. + // pay for the corresponding charges. For information about downloading objects + // from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User Guide. // // This functionality is not supported for directory buckets. // @@ -1033,40 +1060,7 @@ func (c *Client) addOperationCopyObjectMiddlewares(stack *middleware.Stack, opti if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateBucket.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateBucket.go index e5365fbf2b..a889220ab1 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateBucket.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateBucket.go @@ -14,29 +14,6 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// End of support notice: Beginning October 1, 2025, Amazon S3 will discontinue -// support for creating new Email Grantee Access Control Lists (ACL). Email Grantee -// ACLs created prior to this date will continue to work and remain accessible -// through the Amazon Web Services Management Console, Command Line Interface -// (CLI), SDKs, and REST API. However, you will no longer be able to create new -// Email Grantee ACLs. -// -// This change affects the following Amazon Web Services Regions: US East (N. -// Virginia) Region, US West (N. California) Region, US West (Oregon) Region, Asia -// Pacific (Singapore) Region, Asia Pacific (Sydney) Region, Asia Pacific (Tokyo) -// Region, Europe (Ireland) Region, and South America (São Paulo) Region. -// -// End of support notice: Beginning October 1, 2025, Amazon S3 will stop returning -// DisplayName . Update your applications to use canonical IDs (unique identifier -// for Amazon Web Services accounts), Amazon Web Services account ID (12 digit -// identifier) or IAM ARNs (full resource naming) as a direct replacement of -// DisplayName . -// -// This change affects the following Amazon Web Services Regions: US East (N. -// Virginia) Region, US West (N. California) Region, US West (Oregon) Region, Asia -// Pacific (Singapore) Region, Asia Pacific (Sydney) Region, Asia Pacific (Tokyo) -// Region, Europe (Ireland) Region, and South America (São Paulo) Region. -// // This action creates an Amazon S3 bucket. To create an Amazon S3 on Outposts // bucket, see [CreateBucket]CreateBucket . // @@ -136,6 +113,10 @@ import ( // // [DeleteBucket] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Creating, configuring, and working with Amazon S3 buckets]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-buckets-s3.html // [Concepts for directory buckets in Local Zones]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html // [PutObject]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html @@ -398,40 +379,7 @@ func (c *Client) addOperationCreateBucketMiddlewares(stack *middleware.Stack, op if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateBucketMetadataConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateBucketMetadataConfiguration.go index aef91a974a..a46a907b85 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateBucketMetadataConfiguration.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateBucketMetadataConfiguration.go @@ -60,6 +60,10 @@ import ( // // [UpdateBucketMetadataJournalTableConfiguration] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [GetBucketMetadataConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetadataConfiguration.html // [Setting up permissions for configuring metadata tables]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-permissions.html // [UpdateBucketMetadataJournalTableConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UpdateBucketMetadataJournalTableConfiguration.html @@ -243,40 +247,7 @@ func (c *Client) addOperationCreateBucketMetadataConfigurationMiddlewares(stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateBucketMetadataTableConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateBucketMetadataTableConfiguration.go index f920f7aaf3..6976b1ceff 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateBucketMetadataTableConfiguration.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateBucketMetadataTableConfiguration.go @@ -54,6 +54,10 @@ import ( // // [GetBucketMetadataTableConfiguration] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Setting up permissions for configuring metadata tables]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-permissions.html // [GetBucketMetadataTableConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetadataTableConfiguration.html // [DeleteBucketMetadataTableConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketMetadataTableConfiguration.html @@ -235,40 +239,7 @@ func (c *Client) addOperationCreateBucketMetadataTableConfigurationMiddlewares(s if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateMultipartUpload.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateMultipartUpload.go index 1195c232d0..72d3d3331e 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateMultipartUpload.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateMultipartUpload.go @@ -14,17 +14,15 @@ import ( "time" ) -// End of support notice: Beginning October 1, 2025, Amazon S3 will discontinue -// support for creating new Email Grantee Access Control Lists (ACL). Email Grantee -// ACLs created prior to this date will continue to work and remain accessible -// through the Amazon Web Services Management Console, Command Line Interface -// (CLI), SDKs, and REST API. However, you will no longer be able to create new -// Email Grantee ACLs. +// End of support notice: As of October 1, 2025, Amazon S3 has discontinued +// support for Email Grantee Access Control Lists (ACLs). If you attempt to use an +// Email Grantee ACL in a request after October 1, 2025, the request will receive +// an HTTP 405 (Method Not Allowed) error. // // This change affects the following Amazon Web Services Regions: US East (N. -// Virginia) Region, US West (N. California) Region, US West (Oregon) Region, Asia -// Pacific (Singapore) Region, Asia Pacific (Sydney) Region, Asia Pacific (Tokyo) -// Region, Europe (Ireland) Region, and South America (São Paulo) Region. +// Virginia), US West (N. California), US West (Oregon), Asia Pacific (Singapore), +// Asia Pacific (Sydney), Asia Pacific (Tokyo), Europe (Ireland), and South America +// (São Paulo). // // This action initiates a multipart upload and returns an upload ID. This upload // ID is used to associate all of the parts in the specific multipart upload. You @@ -214,6 +212,10 @@ import ( // // [ListMultipartUploads] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Concepts for directory buckets in Local Zones]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html // [ListParts]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html // [UploadPart]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html @@ -619,9 +621,8 @@ type CreateMultipartUploadInput struct { // Confirms that the requester knows that they will be charged for the request. // Bucket owners need not specify this parameter in their requests. If either the // source or destination S3 bucket has Requester Pays enabled, the requester will - // pay for corresponding charges to copy the object. For information about - // downloading objects from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User - // Guide. + // pay for the corresponding charges. For information about downloading objects + // from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User Guide. // // This functionality is not supported for directory buckets. // @@ -975,40 +976,7 @@ func (c *Client) addOperationCreateMultipartUploadMiddlewares(stack *middleware. if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateSession.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateSession.go index 2ed480363d..3b9f1a5ea3 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateSession.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateSession.go @@ -123,6 +123,10 @@ import ( // HTTP Host header syntax Directory buckets - The HTTP Host header syntax is // Bucket-name.s3express-zone-id.region-code.amazonaws.com . // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Specifying server-side encryption with KMS for new object uploads]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html // [Concepts for directory buckets in Local Zones]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html // [Performance guidelines and design patterns]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-optimizing-performance-guidelines-design-patterns.html#s3-express-optimizing-performance-session-authentication @@ -394,40 +398,7 @@ func (c *Client) addOperationCreateSessionMiddlewares(stack *middleware.Stack, o if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucket.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucket.go index dda0b97174..676ac76be5 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucket.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucket.go @@ -49,6 +49,10 @@ import ( // // [DeleteObject] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Concepts for directory buckets in Local Zones]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html // [DeleteObject]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html // [CreateBucket]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html @@ -224,40 +228,7 @@ func (c *Client) addOperationDeleteBucketMiddlewares(stack *middleware.Stack, op if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketAnalyticsConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketAnalyticsConfiguration.go index f1b1e21495..9fef769a8e 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketAnalyticsConfiguration.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketAnalyticsConfiguration.go @@ -33,6 +33,10 @@ import ( // // [PutBucketAnalyticsConfiguration] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Amazon S3 Analytics – Storage Class Analysis]: https://docs.aws.amazon.com/AmazonS3/latest/dev/analytics-storage-class.html // [Permissions Related to Bucket Subresource Operations]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources // [GetBucketAnalyticsConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketAnalyticsConfiguration.html @@ -199,40 +203,7 @@ func (c *Client) addOperationDeleteBucketAnalyticsConfigurationMiddlewares(stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketCors.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketCors.go index d45bed38b6..aa91cea7e9 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketCors.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketCors.go @@ -29,6 +29,10 @@ import ( // // [RESTOPTIONSobject] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [PutBucketCors]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketCors.html // [Enabling Cross-Origin Resource Sharing]: https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html // [RESTOPTIONSobject]: https://docs.aws.amazon.com/AmazonS3/latest/API/RESTOPTIONSobject.html @@ -187,40 +191,7 @@ func (c *Client) addOperationDeleteBucketCorsMiddlewares(stack *middleware.Stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketEncryption.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketEncryption.go index 310e48b31c..a7fbc308a4 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketEncryption.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketEncryption.go @@ -46,6 +46,10 @@ import ( // // [GetBucketEncryption] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [GetBucketEncryption]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketEncryption.html // [PutBucketEncryption]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketEncryption.html // [Setting default server-side encryption behavior for directory buckets]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-bucket-encryption.html @@ -224,40 +228,7 @@ func (c *Client) addOperationDeleteBucketEncryptionMiddlewares(stack *middleware if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketIntelligentTieringConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketIntelligentTieringConfiguration.go index b6fdc8d4aa..2e59d7e551 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketIntelligentTieringConfiguration.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketIntelligentTieringConfiguration.go @@ -41,6 +41,10 @@ import ( // // [ListBucketIntelligentTieringConfigurations] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [ListBucketIntelligentTieringConfigurations]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketIntelligentTieringConfigurations.html // [GetBucketIntelligentTieringConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketIntelligentTieringConfiguration.html // [PutBucketIntelligentTieringConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketIntelligentTieringConfiguration.html @@ -206,40 +210,7 @@ func (c *Client) addOperationDeleteBucketIntelligentTieringConfigurationMiddlewa if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketInventoryConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketInventoryConfiguration.go index 40ce037714..86511bbb24 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketInventoryConfiguration.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketInventoryConfiguration.go @@ -33,6 +33,10 @@ import ( // // [ListBucketInventoryConfigurations] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Amazon S3 Inventory]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-inventory.html // [ListBucketInventoryConfigurations]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketInventoryConfigurations.html // [Permissions Related to Bucket Subresource Operations]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources @@ -199,40 +203,7 @@ func (c *Client) addOperationDeleteBucketInventoryConfigurationMiddlewares(stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketLifecycle.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketLifecycle.go index 1871b26887..e74e538dee 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketLifecycle.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketLifecycle.go @@ -60,6 +60,10 @@ import ( // // [GetBucketLifecycleConfiguration] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [PutBucketLifecycleConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html // [Elements to Describe Lifecycle Actions]: https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#intro-lifecycle-rules-actions // [GetBucketLifecycleConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycleConfiguration.html @@ -226,40 +230,7 @@ func (c *Client) addOperationDeleteBucketLifecycleMiddlewares(stack *middleware. if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketMetadataConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketMetadataConfiguration.go index 1fa3599ee3..adbaa342e4 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketMetadataConfiguration.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketMetadataConfiguration.go @@ -38,6 +38,10 @@ import ( // // [UpdateBucketMetadataJournalTableConfiguration] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [GetBucketMetadataConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetadataConfiguration.html // [Setting up permissions for configuring metadata tables]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-permissions.html // [UpdateBucketMetadataJournalTableConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UpdateBucketMetadataJournalTableConfiguration.html @@ -199,40 +203,7 @@ func (c *Client) addOperationDeleteBucketMetadataConfigurationMiddlewares(stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketMetadataTableConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketMetadataTableConfiguration.go index 1ef17a3595..1300dac9dd 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketMetadataTableConfiguration.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketMetadataTableConfiguration.go @@ -44,6 +44,10 @@ import ( // // [GetBucketMetadataTableConfiguration] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Setting up permissions for configuring metadata tables]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-permissions.html // [GetBucketMetadataTableConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetadataTableConfiguration.html // [CreateBucketMetadataTableConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataTableConfiguration.html @@ -206,40 +210,7 @@ func (c *Client) addOperationDeleteBucketMetadataTableConfigurationMiddlewares(s if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketMetricsConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketMetricsConfiguration.go index 68e6a5b737..cd65675d90 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketMetricsConfiguration.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketMetricsConfiguration.go @@ -36,6 +36,10 @@ import ( // // [Monitoring Metrics with Amazon CloudWatch] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Permissions Related to Bucket Subresource Operations]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources // [Monitoring Metrics with Amazon CloudWatch]: https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudwatch-monitoring.html // [GetBucketMetricsConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetricsConfiguration.html @@ -203,40 +207,7 @@ func (c *Client) addOperationDeleteBucketMetricsConfigurationMiddlewares(stack * if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketOwnershipControls.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketOwnershipControls.go index 341f123cf9..eba1b6675d 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketOwnershipControls.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketOwnershipControls.go @@ -27,6 +27,10 @@ import ( // // # PutBucketOwnershipControls // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Using Object Ownership]: https://docs.aws.amazon.com/AmazonS3/latest/dev/about-object-ownership.html // [Specifying Permissions in a Policy]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html func (c *Client) DeleteBucketOwnershipControls(ctx context.Context, params *DeleteBucketOwnershipControlsInput, optFns ...func(*Options)) (*DeleteBucketOwnershipControlsOutput, error) { @@ -184,40 +188,7 @@ func (c *Client) addOperationDeleteBucketOwnershipControlsMiddlewares(stack *mid if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketPolicy.go index 564fba34f6..4febe901d8 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketPolicy.go @@ -60,6 +60,10 @@ import ( // // [DeleteObject] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Concepts for directory buckets in Local Zones]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html // [DeleteObject]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html // [Using Bucket Policies and User Policies]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html @@ -236,40 +240,7 @@ func (c *Client) addOperationDeleteBucketPolicyMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketReplication.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketReplication.go index 1fa0f46986..990841f3c7 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketReplication.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketReplication.go @@ -34,6 +34,10 @@ import ( // // [GetBucketReplication] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [GetBucketReplication]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketReplication.html // [Permissions Related to Bucket Subresource Operations]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources // [PutBucketReplication]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketReplication.html @@ -194,40 +198,7 @@ func (c *Client) addOperationDeleteBucketReplicationMiddlewares(stack *middlewar if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketTagging.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketTagging.go index 9d678376c5..d46c4a1350 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketTagging.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketTagging.go @@ -15,7 +15,12 @@ import ( // This operation is not supported for directory buckets. // -// Deletes the tags from the bucket. +// Deletes tags from the general purpose bucket if attribute based access control +// (ABAC) is not enabled for the bucket. When you [enable ABAC for a general purpose bucket], you can no longer use this +// operation for that bucket and must use [UntagResource]instead. +// +// if ABAC is not enabled for the bucket. When you [enable ABAC for a general purpose bucket], you can no longer use this +// operation for that bucket and must use [UntagResource]instead. // // To use this operation, you must have permission to perform the // s3:PutBucketTagging action. By default, the bucket owner has this permission and @@ -27,8 +32,14 @@ import ( // // [PutBucketTagging] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [GetBucketTagging]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketTagging.html // [PutBucketTagging]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketTagging.html +// [enable ABAC for a general purpose bucket]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging-enable-abac.html +// [UntagResource]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UntagResource.html func (c *Client) DeleteBucketTagging(ctx context.Context, params *DeleteBucketTaggingInput, optFns ...func(*Options)) (*DeleteBucketTaggingOutput, error) { if params == nil { params = &DeleteBucketTaggingInput{} @@ -184,40 +195,7 @@ func (c *Client) addOperationDeleteBucketTaggingMiddlewares(stack *middleware.St if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketWebsite.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketWebsite.go index bd0eadf38d..6436483541 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketWebsite.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketWebsite.go @@ -35,6 +35,10 @@ import ( // // [PutBucketWebsite] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [GetBucketWebsite]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketWebsite.html // [PutBucketWebsite]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketWebsite.html // [Hosting Websites on Amazon S3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html @@ -193,40 +197,7 @@ func (c *Client) addOperationDeleteBucketWebsiteMiddlewares(stack *middleware.St if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObject.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObject.go index 454f15b07a..b6cfa523c3 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObject.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObject.go @@ -77,17 +77,22 @@ import ( // - s3:DeleteObjectVersion - To delete a specific version of an object from a // versioning-enabled bucket, you must have the s3:DeleteObjectVersion permission. // -// - Directory bucket permissions - To grant access to this API operation on a -// directory bucket, we recommend that you use the [CreateSession]CreateSession API operation -// for session-based authorization. Specifically, you grant the -// s3express:CreateSession permission to the directory bucket in a bucket policy -// or an IAM identity-based policy. Then, you make the CreateSession API call on -// the bucket to obtain a session token. With the session token in your request -// header, you can make API requests to this operation. After the session token -// expires, you make another CreateSession API call to generate a new session -// token for use. Amazon Web Services CLI or SDKs create session and refresh the -// session token automatically to avoid service interruptions when a session -// expires. For more information about authorization, see [CreateSession]CreateSession . +// If the s3:DeleteObject or s3:DeleteObjectVersion permissions are explicitly +// +// denied in your bucket policy, attempts to delete any unversioned objects result +// in a 403 Access Denied error. +// +// - Directory bucket permissions - To grant access to this API operation on a +// directory bucket, we recommend that you use the [CreateSession]CreateSession API operation +// for session-based authorization. Specifically, you grant the +// s3express:CreateSession permission to the directory bucket in a bucket policy +// or an IAM identity-based policy. Then, you make the CreateSession API call on +// the bucket to obtain a session token. With the session token in your request +// header, you can make API requests to this operation. After the session token +// expires, you make another CreateSession API call to generate a new session +// token for use. Amazon Web Services CLI or SDKs create session and refresh the +// session token automatically to avoid service interruptions when a session +// expires. For more information about authorization, see [CreateSession]CreateSession . // // HTTP Host header syntax Directory buckets - The HTTP Host header syntax is // Bucket-name.s3express-zone-id.region-code.amazonaws.com . @@ -96,15 +101,24 @@ import ( // // [PutObject] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// +// The If-Match header is supported for both general purpose and directory +// buckets. IfMatchLastModifiedTime and IfMatchSize is only supported for +// directory buckets. +// // [Sample Request]: https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectDELETE.html#ExampleVersionObjectDelete // [Concepts for directory buckets in Local Zones]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html // [Deleting objects from versioning-suspended buckets]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeletingObjectsfromVersioningSuspendedBuckets.html // [PutObject]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html // [PutBucketLifecycle]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycle.html -// [CreateSession]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html // [Deleting object versions from a versioning-enabled bucket]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeletingObjectVersions.html // [Regional and Zonal endpoints for directory buckets in Availability Zones]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html // [Using MFA Delete]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMFADelete.html +// +// [CreateSession]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html func (c *Client) DeleteObject(ctx context.Context, params *DeleteObjectInput, optFns ...func(*Options)) (*DeleteObjectOutput, error) { if params == nil { params = &DeleteObjectInput{} @@ -177,14 +191,14 @@ type DeleteObjectInput struct { // status code 403 Forbidden (access denied). ExpectedBucketOwner *string - // The If-Match header field makes the request method conditional on ETags. If the - // ETag value does not match, the operation returns a 412 Precondition Failed - // error. If the ETag matches or if the object doesn't exist, the operation will - // return a 204 Success (No Content) response . + // Deletes the object if the ETag (entity tag) value provided during the delete + // operation matches the ETag of the object in S3. If the ETag values do not match, + // the operation returns a 412 Precondition Failed error. // - // For more information about conditional requests, see [RFC 7232]. + // Expects the ETag value as a string. If-Match does accept a string value of an + // '*' (asterisk) character to denote a match of any ETag. // - // This functionality is only supported for directory buckets. + // For more information about conditional requests, see [RFC 7232]. // // [RFC 7232]: https://tools.ietf.org/html/rfc7232 IfMatch *string @@ -220,9 +234,8 @@ type DeleteObjectInput struct { // Confirms that the requester knows that they will be charged for the request. // Bucket owners need not specify this parameter in their requests. If either the // source or destination S3 bucket has Requester Pays enabled, the requester will - // pay for corresponding charges to copy the object. For information about - // downloading objects from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User - // Guide. + // pay for the corresponding charges. For information about downloading objects + // from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User Guide. // // This functionality is not supported for directory buckets. // @@ -390,40 +403,7 @@ func (c *Client) addOperationDeleteObjectMiddlewares(stack *middleware.Stack, op if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObjectTagging.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObjectTagging.go index f105f09628..f8a5a185eb 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObjectTagging.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObjectTagging.go @@ -30,6 +30,10 @@ import ( // // [GetObjectTagging] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [PutObjectTagging]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectTagging.html // [Object Tagging]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-tagging.html // [GetObjectTagging]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html @@ -221,40 +225,7 @@ func (c *Client) addOperationDeleteObjectTaggingMiddlewares(stack *middleware.St if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObjects.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObjects.go index 53424ad6a4..609581a312 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObjects.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObjects.go @@ -66,17 +66,22 @@ import ( // versioning-enabled bucket, you must specify the s3:DeleteObjectVersion // permission. // -// - Directory bucket permissions - To grant access to this API operation on a -// directory bucket, we recommend that you use the [CreateSession]CreateSession API operation -// for session-based authorization. Specifically, you grant the -// s3express:CreateSession permission to the directory bucket in a bucket policy -// or an IAM identity-based policy. Then, you make the CreateSession API call on -// the bucket to obtain a session token. With the session token in your request -// header, you can make API requests to this operation. After the session token -// expires, you make another CreateSession API call to generate a new session -// token for use. Amazon Web Services CLI or SDKs create session and refresh the -// session token automatically to avoid service interruptions when a session -// expires. For more information about authorization, see [CreateSession]CreateSession . +// If the s3:DeleteObject or s3:DeleteObjectVersion permissions are explicitly +// +// denied in your bucket policy, attempts to delete any unversioned objects result +// in a 403 Access Denied error. +// +// - Directory bucket permissions - To grant access to this API operation on a +// directory bucket, we recommend that you use the [CreateSession]CreateSession API operation +// for session-based authorization. Specifically, you grant the +// s3express:CreateSession permission to the directory bucket in a bucket policy +// or an IAM identity-based policy. Then, you make the CreateSession API call on +// the bucket to obtain a session token. With the session token in your request +// header, you can make API requests to this operation. After the session token +// expires, you make another CreateSession API call to generate a new session +// token for use. Amazon Web Services CLI or SDKs create session and refresh the +// session token automatically to avoid service interruptions when a session +// expires. For more information about authorization, see [CreateSession]CreateSession . // // Content-MD5 request header // @@ -104,15 +109,20 @@ import ( // // [AbortMultipartUpload] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Concepts for directory buckets in Local Zones]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html // [ListParts]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html // [AbortMultipartUpload]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html // [UploadPart]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html -// [CreateSession]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html // [CompleteMultipartUpload]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html // [Regional and Zonal endpoints for directory buckets in Availability Zones]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html // [MFA Delete]: https://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html#MultiFactorAuthenticationDelete // [CreateMultipartUpload]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html +// +// [CreateSession]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html func (c *Client) DeleteObjects(ctx context.Context, params *DeleteObjectsInput, optFns ...func(*Options)) (*DeleteObjectsOutput, error) { if params == nil { params = &DeleteObjectsInput{} @@ -238,9 +248,8 @@ type DeleteObjectsInput struct { // Confirms that the requester knows that they will be charged for the request. // Bucket owners need not specify this parameter in their requests. If either the // source or destination S3 bucket has Requester Pays enabled, the requester will - // pay for corresponding charges to copy the object. For information about - // downloading objects from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User - // Guide. + // pay for the corresponding charges. For information about downloading objects + // from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User Guide. // // This functionality is not supported for directory buckets. // @@ -402,40 +411,7 @@ func (c *Client) addOperationDeleteObjectsMiddlewares(stack *middleware.Stack, o if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeletePublicAccessBlock.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeletePublicAccessBlock.go index 6096be7b78..baa8173c42 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeletePublicAccessBlock.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeletePublicAccessBlock.go @@ -15,9 +15,12 @@ import ( // This operation is not supported for directory buckets. // -// Removes the PublicAccessBlock configuration for an Amazon S3 bucket. To use -// this operation, you must have the s3:PutBucketPublicAccessBlock permission. For -// more information about permissions, see [Permissions Related to Bucket Subresource Operations]and [Managing Access Permissions to Your Amazon S3 Resources]. +// Removes the PublicAccessBlock configuration for an Amazon S3 bucket. This +// operation removes the bucket-level configuration only. The effective public +// access behavior will still be governed by account-level settings (which may +// inherit from organization-level policies). To use this operation, you must have +// the s3:PutBucketPublicAccessBlock permission. For more information about +// permissions, see [Permissions Related to Bucket Subresource Operations]and [Managing Access Permissions to Your Amazon S3 Resources]. // // The following operations are related to DeletePublicAccessBlock : // @@ -29,6 +32,10 @@ import ( // // [GetBucketPolicyStatus] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [GetPublicAccessBlock]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetPublicAccessBlock.html // [PutPublicAccessBlock]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutPublicAccessBlock.html // [Permissions Related to Bucket Subresource Operations]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources @@ -190,40 +197,7 @@ func (c *Client) addOperationDeletePublicAccessBlockMiddlewares(stack *middlewar if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAbac.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAbac.go new file mode 100644 index 0000000000..1d57cd2093 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAbac.go @@ -0,0 +1,223 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package s3 + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + s3cust "github.com/aws/aws-sdk-go-v2/service/s3/internal/customizations" + "github.com/aws/aws-sdk-go-v2/service/s3/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Returns the attribute-based access control (ABAC) property of the general +// purpose bucket. If ABAC is enabled on your bucket, you can use tags on the +// bucket for access control. For more information, see [Enabling ABAC in general purpose buckets]. +// +// [Enabling ABAC in general purpose buckets]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging-enable-abac.html +func (c *Client) GetBucketAbac(ctx context.Context, params *GetBucketAbacInput, optFns ...func(*Options)) (*GetBucketAbacOutput, error) { + if params == nil { + params = &GetBucketAbacInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "GetBucketAbac", params, optFns, c.addOperationGetBucketAbacMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*GetBucketAbacOutput) + out.ResultMetadata = metadata + return out, nil +} + +type GetBucketAbacInput struct { + + // The name of the general purpose bucket. + // + // This member is required. + Bucket *string + + // The Amazon Web Services account ID of the general purpose bucket's owner. + ExpectedBucketOwner *string + + noSmithyDocumentSerde +} + +func (in *GetBucketAbacInput) bindEndpointParams(p *EndpointParameters) { + + p.Bucket = in.Bucket + +} + +type GetBucketAbacOutput struct { + + // The ABAC status of the general purpose bucket. + AbacStatus *types.AbacStatus + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationGetBucketAbacMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsRestxml_serializeOpGetBucketAbac{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestxml_deserializeOpGetBucketAbac{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "GetBucketAbac"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addPutBucketContextMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addIsExpressUserAgent(stack); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpGetBucketAbacValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBucketAbac(options.Region), middleware.Before); err != nil { + return err + } + if err = addMetadataRetrieverMiddleware(stack); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addGetBucketAbacUpdateEndpoint(stack, options); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = v4.AddContentSHA256HeaderMiddleware(stack); err != nil { + return err + } + if err = disableAcceptEncodingGzip(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addSerializeImmutableHostnameBucketMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func (v *GetBucketAbacInput) bucket() (string, bool) { + if v.Bucket == nil { + return "", false + } + return *v.Bucket, true +} + +func newServiceMetadataMiddleware_opGetBucketAbac(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "GetBucketAbac", + } +} + +// getGetBucketAbacBucketMember returns a pointer to string denoting a provided +// bucket member valueand a boolean indicating if the input has a modeled bucket +// name, +func getGetBucketAbacBucketMember(input interface{}) (*string, bool) { + in := input.(*GetBucketAbacInput) + if in.Bucket == nil { + return nil, false + } + return in.Bucket, true +} +func addGetBucketAbacUpdateEndpoint(stack *middleware.Stack, options Options) error { + return s3cust.UpdateEndpoint(stack, s3cust.UpdateEndpointOptions{ + Accessor: s3cust.UpdateEndpointParameterAccessor{ + GetBucketFromInput: getGetBucketAbacBucketMember, + }, + UsePathStyle: options.UsePathStyle, + UseAccelerate: options.UseAccelerate, + SupportsAccelerate: true, + TargetS3ObjectLambda: false, + EndpointResolver: options.EndpointResolver, + EndpointResolverOptions: options.EndpointOptions, + UseARNRegion: options.UseARNRegion, + DisableMultiRegionAccessPoints: options.DisableMultiRegionAccessPoints, + }) +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAccelerateConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAccelerateConfiguration.go index d905b6a724..8ae052c841 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAccelerateConfiguration.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAccelerateConfiguration.go @@ -40,6 +40,10 @@ import ( // // [PutBucketAccelerateConfiguration] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [PutBucketAccelerateConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketAccelerateConfiguration.html // [Permissions Related to Bucket Subresource Operations]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources // [Managing Access Permissions to your Amazon S3 Resources]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html @@ -74,9 +78,8 @@ type GetBucketAccelerateConfigurationInput struct { // Confirms that the requester knows that they will be charged for the request. // Bucket owners need not specify this parameter in their requests. If either the // source or destination S3 bucket has Requester Pays enabled, the requester will - // pay for corresponding charges to copy the object. For information about - // downloading objects from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User - // Guide. + // pay for the corresponding charges. For information about downloading objects + // from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User Guide. // // This functionality is not supported for directory buckets. // @@ -224,40 +227,7 @@ func (c *Client) addOperationGetBucketAccelerateConfigurationMiddlewares(stack * if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAcl.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAcl.go index 6fd57ef54d..8c7b449dc1 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAcl.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAcl.go @@ -14,17 +14,6 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// End of support notice: Beginning October 1, 2025, Amazon S3 will stop returning -// DisplayName . Update your applications to use canonical IDs (unique identifier -// for Amazon Web Services accounts), Amazon Web Services account ID (12 digit -// identifier) or IAM ARNs (full resource naming) as a direct replacement of -// DisplayName . -// -// This change affects the following Amazon Web Services Regions: US East (N. -// Virginia) Region, US West (N. California) Region, US West (Oregon) Region, Asia -// Pacific (Singapore) Region, Asia Pacific (Sydney) Region, Asia Pacific (Tokyo) -// Region, Europe (Ireland) Region, and South America (São Paulo) Region. -// // This operation is not supported for directory buckets. // // This implementation of the GET action uses the acl subresource to return the @@ -47,6 +36,10 @@ import ( // bucket-owner-full-control ACL with the owner being the account that created the // bucket. For more information, see [Controlling object ownership and disabling ACLs]in the Amazon S3 User Guide. // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // The following operations are related to GetBucketAcl : // // [ListObjects] @@ -106,7 +99,7 @@ type GetBucketAclOutput struct { // A list of grants. Grants []types.Grant - // Container for the bucket owner's display name and ID. + // Container for the bucket owner's ID. Owner *types.Owner // Metadata pertaining to the operation's result. @@ -227,40 +220,7 @@ func (c *Client) addOperationGetBucketAclMiddlewares(stack *middleware.Stack, op if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAnalyticsConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAnalyticsConfiguration.go index 2d1f41fe7c..83c23dc0e4 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAnalyticsConfiguration.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAnalyticsConfiguration.go @@ -35,6 +35,10 @@ import ( // // [PutBucketAnalyticsConfiguration] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Amazon S3 Analytics – Storage Class Analysis]: https://docs.aws.amazon.com/AmazonS3/latest/dev/analytics-storage-class.html // [DeleteBucketAnalyticsConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketAnalyticsConfiguration.html // [Permissions Related to Bucket Subresource Operations]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources @@ -205,40 +209,7 @@ func (c *Client) addOperationGetBucketAnalyticsConfigurationMiddlewares(stack *m if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketCors.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketCors.go index 0fa6c3eb32..d46b1a3758 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketCors.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketCors.go @@ -40,6 +40,10 @@ import ( // // [DeleteBucketCors] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [PutBucketCors]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketCors.html // [Enabling Cross-Origin Resource Sharing]: https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html // [List of Error Codes]: https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList @@ -215,40 +219,7 @@ func (c *Client) addOperationGetBucketCorsMiddlewares(stack *middleware.Stack, o if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketEncryption.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketEncryption.go index 183bca4960..f99e96ca1f 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketEncryption.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketEncryption.go @@ -16,7 +16,8 @@ import ( // Returns the default encryption configuration for an Amazon S3 bucket. By // default, all buckets have a default encryption configuration that uses -// server-side encryption with Amazon S3 managed keys (SSE-S3). +// server-side encryption with Amazon S3 managed keys (SSE-S3). This operation also +// returns the [BucketKeyEnabled]and [BlockedEncryptionTypes] statuses. // // - General purpose buckets - For information about the bucket default // encryption feature, see [Amazon S3 Bucket Default Encryption]in the Amazon S3 User Guide. @@ -48,10 +49,16 @@ import ( // // [DeleteBucketEncryption] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// +// [BucketKeyEnabled]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ServerSideEncryptionRule.html#AmazonS3-Type-ServerSideEncryptionRule-BucketKeyEnabled +// [BlockedEncryptionTypes]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ServerSideEncryptionRule.html#AmazonS3-Type-ServerSideEncryptionRule-BlockedEncryptionTypes // [DeleteBucketEncryption]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketEncryption.html // [PutBucketEncryption]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketEncryption.html // [Setting default server-side encryption behavior for directory buckets]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-bucket-encryption.html -// [Amazon S3 Bucket Default Encryption]: https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html +// [Amazon S3 Bucket Default Encryption]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-encryption.html // [Managing Access Permissions to Your Amazon S3 Resources]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html // [Permissions Related to Bucket Operations]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources // [Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html @@ -230,40 +237,7 @@ func (c *Client) addOperationGetBucketEncryptionMiddlewares(stack *middleware.St if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketIntelligentTieringConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketIntelligentTieringConfiguration.go index 29969eae58..9ff70f9ab6 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketIntelligentTieringConfiguration.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketIntelligentTieringConfiguration.go @@ -42,6 +42,10 @@ import ( // // [ListBucketIntelligentTieringConfigurations] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [ListBucketIntelligentTieringConfigurations]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketIntelligentTieringConfigurations.html // [PutBucketIntelligentTieringConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketIntelligentTieringConfiguration.html // [Storage class for automatically optimizing frequently and infrequently accessed objects]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-dynamic-data-access @@ -211,40 +215,7 @@ func (c *Client) addOperationGetBucketIntelligentTieringConfigurationMiddlewares if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketInventoryConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketInventoryConfiguration.go index 2bfff901c3..8c39d00548 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketInventoryConfiguration.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketInventoryConfiguration.go @@ -34,6 +34,10 @@ import ( // // [PutBucketInventoryConfiguration] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Amazon S3 Inventory]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-inventory.html // [ListBucketInventoryConfigurations]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketInventoryConfigurations.html // [Permissions Related to Bucket Subresource Operations]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources @@ -204,40 +208,7 @@ func (c *Client) addOperationGetBucketInventoryConfigurationMiddlewares(stack *m if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLifecycleConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLifecycleConfiguration.go index 89f2b1f239..b91ca5ffc0 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLifecycleConfiguration.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLifecycleConfiguration.go @@ -80,6 +80,10 @@ import ( // // [DeleteBucketLifecycle] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [GetBucketLifecycle]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycle.html // [Object Lifecycle Management]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html // [Authorizing Regional endpoint APIs with IAM]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html @@ -270,40 +274,7 @@ func (c *Client) addOperationGetBucketLifecycleConfigurationMiddlewares(stack *m if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLocation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLocation.go index 10b7813924..7b61199a97 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLocation.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLocation.go @@ -20,12 +20,23 @@ import ( "io" ) -// This operation is not supported for directory buckets. +// Using the GetBucketLocation operation is no longer a best practice. To return +// the Region that a bucket resides in, we recommend that you use the [HeadBucket]operation +// instead. For backward compatibility, Amazon S3 continues to support the +// GetBucketLocation operation. // // Returns the Region the bucket resides in. You set the bucket's Region using the // LocationConstraint request parameter in a CreateBucket request. For more // information, see [CreateBucket]. // +// In a bucket's home Region, calls to the GetBucketLocation operation are +// governed by the bucket's policy. In other Regions, the bucket policy doesn't +// apply, which means that cross-account access won't be authorized. However, calls +// to the HeadBucket operation always return the bucket’s location through an HTTP +// response header, whether access to the bucket is authorized or not. Therefore, +// we recommend using the HeadBucket operation for bucket Region discovery and to +// avoid using the GetBucketLocation operation. +// // When you use this API operation with an access point, provide the alias of the // access point in place of the bucket name. // @@ -35,8 +46,7 @@ import ( // InvalidAccessPointAliasError is returned. For more information about // InvalidAccessPointAliasError , see [List of Error Codes]. // -// We recommend that you use [HeadBucket] to return the Region that a bucket resides in. For -// backward compatibility, Amazon S3 continues to support GetBucketLocation. +// This operation is not supported for directory buckets. // // The following operations are related to GetBucketLocation : // @@ -44,6 +54,10 @@ import ( // // [CreateBucket] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [List of Error Codes]: https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList // [CreateBucket]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html // [GetObject]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html @@ -227,40 +241,7 @@ func (c *Client) addOperationGetBucketLocationMiddlewares(stack *middleware.Stac if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLogging.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLogging.go index 45142425b9..6387c434ce 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLogging.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLogging.go @@ -14,17 +14,6 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// End of support notice: Beginning October 1, 2025, Amazon S3 will stop returning -// DisplayName . Update your applications to use canonical IDs (unique identifier -// for Amazon Web Services accounts), Amazon Web Services account ID (12 digit -// identifier) or IAM ARNs (full resource naming) as a direct replacement of -// DisplayName . -// -// This change affects the following Amazon Web Services Regions: US East (N. -// Virginia) Region, US West (N. California) Region, US West (Oregon) Region, Asia -// Pacific (Singapore) Region, Asia Pacific (Sydney) Region, Asia Pacific (Tokyo) -// Region, Europe (Ireland) Region, and South America (São Paulo) Region. -// // This operation is not supported for directory buckets. // // Returns the logging status of a bucket and the permissions users have to view @@ -36,6 +25,10 @@ import ( // // [PutBucketLogging] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [PutBucketLogging]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLogging.html // [CreateBucket]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html func (c *Client) GetBucketLogging(ctx context.Context, params *GetBucketLoggingInput, optFns ...func(*Options)) (*GetBucketLoggingOutput, error) { @@ -201,40 +194,7 @@ func (c *Client) addOperationGetBucketLoggingMiddlewares(stack *middleware.Stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketMetadataConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketMetadataConfiguration.go index 8f6b2609d8..4585291887 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketMetadataConfiguration.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketMetadataConfiguration.go @@ -38,6 +38,10 @@ import ( // // [UpdateBucketMetadataJournalTableConfiguration] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Setting up permissions for configuring metadata tables]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-permissions.html // [UpdateBucketMetadataJournalTableConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UpdateBucketMetadataJournalTableConfiguration.html // [Accelerating data discovery with S3 Metadata]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-overview.html @@ -203,40 +207,7 @@ func (c *Client) addOperationGetBucketMetadataConfigurationMiddlewares(stack *mi if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketMetadataTableConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketMetadataTableConfiguration.go index eccbb6bee0..dcf5355e11 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketMetadataTableConfiguration.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketMetadataTableConfiguration.go @@ -45,6 +45,10 @@ import ( // // [DeleteBucketMetadataTableConfiguration] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Setting up permissions for configuring metadata tables]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-permissions.html // [CreateBucketMetadataTableConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataTableConfiguration.html // [DeleteBucketMetadataTableConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketMetadataTableConfiguration.html @@ -211,40 +215,7 @@ func (c *Client) addOperationGetBucketMetadataTableConfigurationMiddlewares(stac if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketMetricsConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketMetricsConfiguration.go index 54a3027d20..ea5293f95d 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketMetricsConfiguration.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketMetricsConfiguration.go @@ -36,6 +36,10 @@ import ( // // [Monitoring Metrics with Amazon CloudWatch] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Permissions Related to Bucket Subresource Operations]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources // [Monitoring Metrics with Amazon CloudWatch]: https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudwatch-monitoring.html // [ListBucketMetricsConfigurations]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketMetricsConfigurations.html @@ -207,40 +211,7 @@ func (c *Client) addOperationGetBucketMetricsConfigurationMiddlewares(stack *mid if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketNotificationConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketNotificationConfiguration.go index d2de8bc5fa..a651f59c4d 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketNotificationConfiguration.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketNotificationConfiguration.go @@ -42,6 +42,10 @@ import ( // // [PutBucketNotification] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Using Bucket Policies]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html // [Setting Up Notification of Bucket Events]: https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html // [List of Error Codes]: https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList @@ -230,40 +234,7 @@ func (c *Client) addOperationGetBucketNotificationConfigurationMiddlewares(stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketOwnershipControls.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketOwnershipControls.go index 0c492f5eb0..1bc4048f8c 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketOwnershipControls.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketOwnershipControls.go @@ -38,6 +38,10 @@ import ( // // # DeleteBucketOwnershipControls // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Using Object Ownership]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html // [Specifying permissions in a policy]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html func (c *Client) GetBucketOwnershipControls(ctx context.Context, params *GetBucketOwnershipControlsInput, optFns ...func(*Options)) (*GetBucketOwnershipControlsOutput, error) { @@ -200,40 +204,7 @@ func (c *Client) addOperationGetBucketOwnershipControlsMiddlewares(stack *middle if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketPolicy.go index 6cc341d7d8..ce97110825 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketPolicy.go @@ -63,6 +63,10 @@ import ( // // [GetObject] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Bucket policy examples]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-bucket-policies.html // [Concepts for directory buckets in Local Zones]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html // [Example bucket policies for S3 Express One Zone]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-example-bucket-policies.html @@ -256,40 +260,7 @@ func (c *Client) addOperationGetBucketPolicyMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketPolicyStatus.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketPolicyStatus.go index 76a10e132b..2edef93bbc 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketPolicyStatus.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketPolicyStatus.go @@ -33,6 +33,10 @@ import ( // // [DeletePublicAccessBlock] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [GetPublicAccessBlock]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetPublicAccessBlock.html // [PutPublicAccessBlock]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutPublicAccessBlock.html // [DeletePublicAccessBlock]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeletePublicAccessBlock.html @@ -198,40 +202,7 @@ func (c *Client) addOperationGetBucketPolicyStatusMiddlewares(stack *middleware. if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketReplication.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketReplication.go index dec0e0a657..338fb39b39 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketReplication.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketReplication.go @@ -40,6 +40,10 @@ import ( // // [DeleteBucketReplication] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [PutBucketReplication]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketReplication.html // [Using Bucket Policies and User Policies]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html // [Replication]: https://docs.aws.amazon.com/AmazonS3/latest/dev/replication.html @@ -205,40 +209,7 @@ func (c *Client) addOperationGetBucketReplicationMiddlewares(stack *middleware.S if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketRequestPayment.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketRequestPayment.go index 81e855209a..64411ad6b4 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketRequestPayment.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketRequestPayment.go @@ -23,6 +23,10 @@ import ( // // [ListObjects] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [ListObjects]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjects.html // [Requester Pays Buckets]: https://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html func (c *Client) GetBucketRequestPayment(ctx context.Context, params *GetBucketRequestPaymentInput, optFns ...func(*Options)) (*GetBucketRequestPaymentOutput, error) { @@ -184,40 +188,7 @@ func (c *Client) addOperationGetBucketRequestPaymentMiddlewares(stack *middlewar if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketTagging.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketTagging.go index 29a440048c..c5bb22aac3 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketTagging.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketTagging.go @@ -16,7 +16,10 @@ import ( // This operation is not supported for directory buckets. // -// Returns the tag set associated with the bucket. +// Returns the tag set associated with the general purpose bucket. +// +// if ABAC is not enabled for the bucket. When you [enable ABAC for a general purpose bucket], you can no longer use this +// operation for that bucket and must use [ListTagsForResource]instead. // // To use this operation, you must have permission to perform the // s3:GetBucketTagging action. By default, the bucket owner has this permission and @@ -34,8 +37,14 @@ import ( // // [DeleteBucketTagging] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [PutBucketTagging]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketTagging.html +// [enable ABAC for a general purpose bucket]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging-enable-abac.html // [DeleteBucketTagging]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketTagging.html +// [ListTagsForResource]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListTagsForResource.html func (c *Client) GetBucketTagging(ctx context.Context, params *GetBucketTaggingInput, optFns ...func(*Options)) (*GetBucketTaggingOutput, error) { if params == nil { params = &GetBucketTaggingInput{} @@ -197,40 +206,7 @@ func (c *Client) addOperationGetBucketTaggingMiddlewares(stack *middleware.Stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketVersioning.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketVersioning.go index 7f91571619..0ea2905066 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketVersioning.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketVersioning.go @@ -32,6 +32,10 @@ import ( // // [DeleteObject] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [DeleteObject]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html // [PutObject]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html // [GetObject]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html @@ -199,40 +203,7 @@ func (c *Client) addOperationGetBucketVersioningMiddlewares(stack *middleware.St if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketWebsite.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketWebsite.go index a0601bc0d7..b3ed6e4dc8 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketWebsite.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketWebsite.go @@ -31,6 +31,10 @@ import ( // // [PutBucketWebsite] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [PutBucketWebsite]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketWebsite.html // [Hosting Websites on Amazon S3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html // [DeleteBucketWebsite]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketWebsite.html @@ -203,40 +207,7 @@ func (c *Client) addOperationGetBucketWebsiteMiddlewares(stack *middleware.Stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObject.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObject.go index 6d18100eda..af0ed08e73 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObject.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObject.go @@ -153,6 +153,10 @@ import ( // // [GetObjectAcl] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Concepts for directory buckets in Local Zones]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html // [RestoreObject]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html // [Protecting data with server-side encryption]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html @@ -305,9 +309,8 @@ type GetObjectInput struct { // Confirms that the requester knows that they will be charged for the request. // Bucket owners need not specify this parameter in their requests. If either the // source or destination S3 bucket has Requester Pays enabled, the requester will - // pay for corresponding charges to copy the object. For information about - // downloading objects from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User - // Guide. + // pay for the corresponding charges. For information about downloading objects + // from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User Guide. // // This functionality is not supported for directory buckets. // @@ -450,8 +453,8 @@ type GetObjectOutput struct { // [Checking object integrity]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html ChecksumCRC32 *string - // The Base64 encoded, 32-bit CRC32C checksum of the object. This will only be - // present if the object was uploaded with the object. For more information, see [Checking object integrity] + // The Base64 encoded, 32-bit CRC32C checksum of the object. This checksum is only + // present if the checksum was uploaded with the object. For more information, see [Checking object integrity] // in the Amazon S3 User Guide. // // [Checking object integrity]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html @@ -463,15 +466,15 @@ type GetObjectOutput struct { // [Checking object integrity in the Amazon S3 User Guide]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html ChecksumCRC64NVME *string - // The Base64 encoded, 160-bit SHA1 digest of the object. This will only be - // present if the object was uploaded with the object. For more information, see [Checking object integrity] + // The Base64 encoded, 160-bit SHA1 digest of the object. This checksum is only + // present if the checksum was uploaded with the object. For more information, see [Checking object integrity] // in the Amazon S3 User Guide. // // [Checking object integrity]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html ChecksumSHA1 *string - // The Base64 encoded, 256-bit SHA256 digest of the object. This will only be - // present if the object was uploaded with the object. For more information, see [Checking object integrity] + // The Base64 encoded, 256-bit SHA256 digest of the object. This checksum is only + // present if the checksum was uploaded with the object. For more information, see [Checking object integrity] // in the Amazon S3 User Guide. // // [Checking object integrity]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html @@ -786,40 +789,7 @@ func (c *Client) addOperationGetObjectMiddlewares(stack *middleware.Stack, optio if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectAcl.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectAcl.go index ec7554529b..75cfdee0cb 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectAcl.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectAcl.go @@ -40,6 +40,10 @@ import ( // // [PutObject] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [DeleteObject]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html // [Mapping of ACL permissions and access policy permissions]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#acl-access-policy-permission-mapping // [GetObjectAttributes]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html @@ -94,9 +98,8 @@ type GetObjectAclInput struct { // Confirms that the requester knows that they will be charged for the request. // Bucket owners need not specify this parameter in their requests. If either the // source or destination S3 bucket has Requester Pays enabled, the requester will - // pay for corresponding charges to copy the object. For information about - // downloading objects from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User - // Guide. + // pay for the corresponding charges. For information about downloading objects + // from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User Guide. // // This functionality is not supported for directory buckets. // @@ -123,7 +126,7 @@ type GetObjectAclOutput struct { // A list of grants. Grants []types.Grant - // Container for the bucket owner's display name and ID. + // Container for the bucket owner's ID. Owner *types.Owner // If present, indicates that the requester was successfully charged for the @@ -253,40 +256,7 @@ func (c *Client) addOperationGetObjectAclMiddlewares(stack *middleware.Stack, op if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectAttributes.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectAttributes.go index d4c0f41c64..ca742517c6 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectAttributes.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectAttributes.go @@ -157,6 +157,10 @@ import ( // // [ListParts] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Specifying server-side encryption with KMS for new object uploads]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html // [GetObjectLegalHold]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectLegalHold.html // [Concepts for directory buckets in Local Zones]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html @@ -261,9 +265,8 @@ type GetObjectAttributesInput struct { // Confirms that the requester knows that they will be charged for the request. // Bucket owners need not specify this parameter in their requests. If either the // source or destination S3 bucket has Requester Pays enabled, the requester will - // pay for corresponding charges to copy the object. For information about - // downloading objects from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User - // Guide. + // pay for the corresponding charges. For information about downloading objects + // from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User Guide. // // This functionality is not supported for directory buckets. // @@ -479,40 +482,7 @@ func (c *Client) addOperationGetObjectAttributesMiddlewares(stack *middleware.St if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectLegalHold.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectLegalHold.go index 2ceb969b05..e855ece46a 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectLegalHold.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectLegalHold.go @@ -23,6 +23,10 @@ import ( // // [GetObjectAttributes] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [GetObjectAttributes]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html // [Locking Objects]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html func (c *Client) GetObjectLegalHold(ctx context.Context, params *GetObjectLegalHoldInput, optFns ...func(*Options)) (*GetObjectLegalHoldOutput, error) { @@ -74,9 +78,8 @@ type GetObjectLegalHoldInput struct { // Confirms that the requester knows that they will be charged for the request. // Bucket owners need not specify this parameter in their requests. If either the // source or destination S3 bucket has Requester Pays enabled, the requester will - // pay for corresponding charges to copy the object. For information about - // downloading objects from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User - // Guide. + // pay for the corresponding charges. For information about downloading objects + // from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User Guide. // // This functionality is not supported for directory buckets. // @@ -218,40 +221,7 @@ func (c *Client) addOperationGetObjectLegalHoldMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectLockConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectLockConfiguration.go index 401fe9c235..8be2b56fb8 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectLockConfiguration.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectLockConfiguration.go @@ -23,6 +23,10 @@ import ( // // [GetObjectAttributes] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [GetObjectAttributes]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html // [Locking Objects]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html func (c *Client) GetObjectLockConfiguration(ctx context.Context, params *GetObjectLockConfigurationInput, optFns ...func(*Options)) (*GetObjectLockConfigurationOutput, error) { @@ -197,40 +201,7 @@ func (c *Client) addOperationGetObjectLockConfigurationMiddlewares(stack *middle if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectRetention.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectRetention.go index 58289b515a..c65cde1166 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectRetention.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectRetention.go @@ -23,6 +23,10 @@ import ( // // [GetObjectAttributes] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [GetObjectAttributes]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html // [Locking Objects]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html func (c *Client) GetObjectRetention(ctx context.Context, params *GetObjectRetentionInput, optFns ...func(*Options)) (*GetObjectRetentionOutput, error) { @@ -74,9 +78,8 @@ type GetObjectRetentionInput struct { // Confirms that the requester knows that they will be charged for the request. // Bucket owners need not specify this parameter in their requests. If either the // source or destination S3 bucket has Requester Pays enabled, the requester will - // pay for corresponding charges to copy the object. For information about - // downloading objects from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User - // Guide. + // pay for the corresponding charges. For information about downloading objects + // from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User Guide. // // This functionality is not supported for directory buckets. // @@ -218,40 +221,7 @@ func (c *Client) addOperationGetObjectRetentionMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectTagging.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectTagging.go index fac5d36b9e..24e5f525b8 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectTagging.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectTagging.go @@ -38,6 +38,10 @@ import ( // // [PutObjectTagging] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [DeleteObjectTagging]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObjectTagging.html // [PutObjectTagging]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectTagging.html // [GetObjectAttributes]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html @@ -98,9 +102,8 @@ type GetObjectTaggingInput struct { // Confirms that the requester knows that they will be charged for the request. // Bucket owners need not specify this parameter in their requests. If either the // source or destination S3 bucket has Requester Pays enabled, the requester will - // pay for corresponding charges to copy the object. For information about - // downloading objects from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User - // Guide. + // pay for the corresponding charges. For information about downloading objects + // from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User Guide. // // This functionality is not supported for directory buckets. // @@ -247,40 +250,7 @@ func (c *Client) addOperationGetObjectTaggingMiddlewares(stack *middleware.Stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectTorrent.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectTorrent.go index 1fa6a28626..f49b13dae3 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectTorrent.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectTorrent.go @@ -31,6 +31,10 @@ import ( // // [GetObject] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [GetObject]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html func (c *Client) GetObjectTorrent(ctx context.Context, params *GetObjectTorrentInput, optFns ...func(*Options)) (*GetObjectTorrentOutput, error) { if params == nil { @@ -67,9 +71,8 @@ type GetObjectTorrentInput struct { // Confirms that the requester knows that they will be charged for the request. // Bucket owners need not specify this parameter in their requests. If either the // source or destination S3 bucket has Requester Pays enabled, the requester will - // pay for corresponding charges to copy the object. For information about - // downloading objects from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User - // Guide. + // pay for the corresponding charges. For information about downloading objects + // from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User Guide. // // This functionality is not supported for directory buckets. // @@ -214,40 +217,7 @@ func (c *Client) addOperationGetObjectTorrentMiddlewares(stack *middleware.Stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetPublicAccessBlock.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetPublicAccessBlock.go index 417ca07a77..070e9add50 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetPublicAccessBlock.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetPublicAccessBlock.go @@ -16,16 +16,20 @@ import ( // This operation is not supported for directory buckets. // -// Retrieves the PublicAccessBlock configuration for an Amazon S3 bucket. To use -// this operation, you must have the s3:GetBucketPublicAccessBlock permission. For -// more information about Amazon S3 permissions, see [Specifying Permissions in a Policy]. +// Retrieves the PublicAccessBlock configuration for an Amazon S3 bucket. This +// operation returns the bucket-level configuration only. To understand the +// effective public access behavior, you must also consider account-level settings +// (which may inherit from organization-level policies). To use this operation, you +// must have the s3:GetBucketPublicAccessBlock permission. For more information +// about Amazon S3 permissions, see [Specifying Permissions in a Policy]. // // When Amazon S3 evaluates the PublicAccessBlock configuration for a bucket or an // object, it checks the PublicAccessBlock configuration for both the bucket (or -// the bucket that contains the object) and the bucket owner's account. If the -// PublicAccessBlock settings are different between the bucket and the account, -// Amazon S3 uses the most restrictive combination of the bucket-level and -// account-level settings. +// the bucket that contains the object) and the bucket owner's account. +// Account-level settings automatically inherit from organization-level policies +// when present. If the PublicAccessBlock settings are different between the +// bucket and the account, Amazon S3 uses the most restrictive combination of the +// bucket-level and account-level settings. // // For more information about when Amazon S3 considers a bucket or an object // public, see [The Meaning of "Public"]. @@ -40,6 +44,10 @@ import ( // // [DeletePublicAccessBlock] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [GetPublicAccessBlock]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetPublicAccessBlock.html // [PutPublicAccessBlock]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutPublicAccessBlock.html // [DeletePublicAccessBlock]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeletePublicAccessBlock.html @@ -207,40 +215,7 @@ func (c *Client) addOperationGetPublicAccessBlockMiddlewares(stack *middleware.S if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_HeadBucket.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_HeadBucket.go index 80a8011b51..29e413e143 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_HeadBucket.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_HeadBucket.go @@ -18,13 +18,17 @@ import ( ) // You can use this operation to determine if a bucket exists and if you have -// permission to access it. The action returns a 200 OK if the bucket exists and -// you have permission to access it. +// permission to access it. The action returns a 200 OK HTTP status code if the +// bucket exists and you have permission to access it. You can make a HeadBucket +// call on any bucket name to any Region in the partition, and regardless of the +// permissions on the bucket, you will receive a response header with the correct +// bucket location so that you can then make a proper, signed request to the +// appropriate Regional endpoint. // -// If the bucket does not exist or you do not have permission to access it, the -// HEAD request returns a generic 400 Bad Request , 403 Forbidden or 404 Not Found -// code. A message body is not included, so you cannot determine the exception -// beyond these HTTP response codes. +// If the bucket doesn't exist or you don't have permission to access it, the HEAD +// request returns a generic 400 Bad Request , 403 Forbidden , or 404 Not Found +// HTTP status code. A message body isn't included, so you can't determine the +// exception beyond these HTTP response codes. // // Authentication and authorization General purpose buckets - Request to public // buckets that grant the s3:ListBucket permission publicly do not need to be @@ -66,6 +70,10 @@ import ( // Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones]in the Amazon S3 User Guide. For more information about endpoints in // Local Zones, see [Concepts for directory buckets in Local Zones]in the Amazon S3 User Guide. // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Amazon Web Services Identity and Access Management (IAM) identity-based policies for S3 Express One Zone]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-identity-policies.html // [Concepts for directory buckets in Local Zones]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html // [REST Authentication]: https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html @@ -299,40 +307,7 @@ func (c *Client) addOperationHeadBucketMiddlewares(stack *middleware.Stack, opti if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_HeadObject.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_HeadObject.go index bf93bcfe10..0b36228e07 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_HeadObject.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_HeadObject.go @@ -129,6 +129,10 @@ import ( // // [GetObjectAttributes] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Concepts for directory buckets in Local Zones]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html // [Server-Side Encryption (Using Customer-Provided Encryption Keys)]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html // [GetObjectAttributes]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html @@ -301,9 +305,8 @@ type HeadObjectInput struct { // Confirms that the requester knows that they will be charged for the request. // Bucket owners need not specify this parameter in their requests. If either the // source or destination S3 bucket has Requester Pays enabled, the requester will - // pay for corresponding charges to copy the object. For information about - // downloading objects from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User - // Guide. + // pay for the corresponding charges. For information about downloading objects + // from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User Guide. // // This functionality is not supported for directory buckets. // @@ -383,7 +386,7 @@ type HeadObjectOutput struct { CacheControl *string // The Base64 encoded, 32-bit CRC32 checksum of the object. This checksum is only - // be present if the checksum was uploaded with the object. When you use an API + // present if the checksum was uploaded with the object. When you use an API // operation on an object that was uploaded using multipart uploads, this value may // not be a direct checksum value of the full object. Instead, it's a calculation // based on the checksum values of each individual part. For more information about @@ -410,8 +413,8 @@ type HeadObjectOutput struct { // [Checking object integrity in the Amazon S3 User Guide]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html ChecksumCRC64NVME *string - // The Base64 encoded, 160-bit SHA1 digest of the object. This will only be - // present if the object was uploaded with the object. When you use the API + // The Base64 encoded, 160-bit SHA1 digest of the object. This checksum is only + // present if the checksum was uploaded with the object. When you use the API // operation on an object that was uploaded using multipart uploads, this value may // not be a direct checksum value of the full object. Instead, it's a calculation // based on the checksum values of each individual part. For more information about @@ -421,8 +424,8 @@ type HeadObjectOutput struct { // [Checking object integrity]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums ChecksumSHA1 *string - // The Base64 encoded, 256-bit SHA256 digest of the object. This will only be - // present if the object was uploaded with the object. When you use an API + // The Base64 encoded, 256-bit SHA256 digest of the object. This checksum is only + // present if the checksum was uploaded with the object. When you use an API // operation on an object that was uploaded using multipart uploads, this value may // not be a direct checksum value of the full object. Instead, it's a calculation // based on the checksum values of each individual part. For more information about @@ -788,40 +791,7 @@ func (c *Client) addOperationHeadObjectMiddlewares(stack *middleware.Stack, opti if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketAnalyticsConfigurations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketAnalyticsConfigurations.go index 985bfc4868..dadb149af3 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketAnalyticsConfigurations.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketAnalyticsConfigurations.go @@ -42,6 +42,10 @@ import ( // // [PutBucketAnalyticsConfiguration] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Amazon S3 Analytics – Storage Class Analysis]: https://docs.aws.amazon.com/AmazonS3/latest/dev/analytics-storage-class.html // [DeleteBucketAnalyticsConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketAnalyticsConfiguration.html // [Permissions Related to Bucket Subresource Operations]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources @@ -225,40 +229,7 @@ func (c *Client) addOperationListBucketAnalyticsConfigurationsMiddlewares(stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketIntelligentTieringConfigurations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketIntelligentTieringConfigurations.go index c800119a14..3456ca9d47 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketIntelligentTieringConfigurations.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketIntelligentTieringConfigurations.go @@ -42,6 +42,10 @@ import ( // // [GetBucketIntelligentTieringConfiguration] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [GetBucketIntelligentTieringConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketIntelligentTieringConfiguration.html // [PutBucketIntelligentTieringConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketIntelligentTieringConfiguration.html // [Storage class for automatically optimizing frequently and infrequently accessed objects]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-dynamic-data-access @@ -224,40 +228,7 @@ func (c *Client) addOperationListBucketIntelligentTieringConfigurationsMiddlewar if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketInventoryConfigurations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketInventoryConfigurations.go index 90d3a33bc0..e8f72db9dc 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketInventoryConfigurations.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketInventoryConfigurations.go @@ -17,7 +17,7 @@ import ( // This operation is not supported for directory buckets. // // Returns a list of S3 Inventory configurations for the bucket. You can have up -// to 1,000 analytics configurations per bucket. +// to 1,000 inventory configurations per bucket. // // This action supports list pagination and does not return more than 100 // configurations at a time. Always check the IsTruncated element in the response. @@ -42,6 +42,10 @@ import ( // // [PutBucketInventoryConfiguration] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Amazon S3 Inventory]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-inventory.html // [Permissions Related to Bucket Subresource Operations]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources // [DeleteBucketInventoryConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketInventoryConfiguration.html @@ -227,40 +231,7 @@ func (c *Client) addOperationListBucketInventoryConfigurationsMiddlewares(stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketMetricsConfigurations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketMetricsConfigurations.go index 4f9402d666..998a7b6845 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketMetricsConfigurations.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketMetricsConfigurations.go @@ -43,6 +43,10 @@ import ( // // [DeleteBucketMetricsConfiguration] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Permissions Related to Bucket Subresource Operations]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources // [Monitoring Metrics with Amazon CloudWatch]: https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudwatch-monitoring.html // [GetBucketMetricsConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetricsConfiguration.html @@ -229,40 +233,7 @@ func (c *Client) addOperationListBucketMetricsConfigurationsMiddlewares(stack *m if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBuckets.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBuckets.go index 21c03cd374..ce0c5d4e69 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBuckets.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBuckets.go @@ -13,17 +13,6 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// End of support notice: Beginning October 1, 2025, Amazon S3 will stop returning -// DisplayName . Update your applications to use canonical IDs (unique identifier -// for Amazon Web Services accounts), Amazon Web Services account ID (12 digit -// identifier) or IAM ARNs (full resource naming) as a direct replacement of -// DisplayName . -// -// This change affects the following Amazon Web Services Regions: US East (N. -// Virginia) Region, US West (N. California) Region, US West (Oregon) Region, Asia -// Pacific (Singapore) Region, Asia Pacific (Sydney) Region, Asia Pacific (Tokyo) -// Region, Europe (Ireland) Region, and South America (São Paulo) Region. -// // This operation is not supported for directory buckets. // // Returns a list of all buckets owned by the authenticated sender of the request. @@ -40,6 +29,10 @@ import ( // will be rejected for Amazon Web Services accounts with a general purpose bucket // quota greater than 10,000. // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Creating, configuring, and working with Amazon S3 buckets]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-buckets-s3.html func (c *Client) ListBuckets(ctx context.Context, params *ListBucketsInput, optFns ...func(*Options)) (*ListBucketsOutput, error) { if params == nil { @@ -232,40 +225,7 @@ func (c *Client) addOperationListBucketsMiddlewares(stack *middleware.Stack, opt if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListDirectoryBuckets.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListDirectoryBuckets.go index edf98a062b..4fcf9258bd 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListDirectoryBuckets.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListDirectoryBuckets.go @@ -37,6 +37,10 @@ import ( // The BucketRegion response element is not part of the ListDirectoryBuckets // Response Syntax. // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Concepts for directory buckets in Local Zones]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html // [Directory buckets]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html // [Regional and Zonal endpoints for directory buckets in Availability Zones]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html @@ -201,40 +205,7 @@ func (c *Client) addOperationListDirectoryBucketsMiddlewares(stack *middleware.S if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListMultipartUploads.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListMultipartUploads.go index 3de297cc64..fe27253e0f 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListMultipartUploads.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListMultipartUploads.go @@ -13,17 +13,6 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// End of support notice: Beginning October 1, 2025, Amazon S3 will stop returning -// DisplayName . Update your applications to use canonical IDs (unique identifier -// for Amazon Web Services accounts), Amazon Web Services account ID (12 digit -// identifier) or IAM ARNs (full resource naming) as a direct replacement of -// DisplayName . -// -// This change affects the following Amazon Web Services Regions: US East (N. -// Virginia) Region, US West (N. California) Region, US West (Oregon) Region, Asia -// Pacific (Singapore) Region, Asia Pacific (Sydney) Region, Asia Pacific (Tokyo) -// Region, Europe (Ireland) Region, and South America (São Paulo) Region. -// // This operation lists in-progress multipart uploads in a bucket. An in-progress // multipart upload is a multipart upload that has been initiated by the // CreateMultipartUpload request, but has not yet been completed or aborted. @@ -110,6 +99,10 @@ import ( // // [AbortMultipartUpload] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Uploading Objects Using Multipart Upload]: https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html // [Concepts for directory buckets in Local Zones]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html // [ListParts]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html @@ -250,9 +243,8 @@ type ListMultipartUploadsInput struct { // Confirms that the requester knows that they will be charged for the request. // Bucket owners need not specify this parameter in their requests. If either the // source or destination S3 bucket has Requester Pays enabled, the requester will - // pay for corresponding charges to copy the object. For information about - // downloading objects from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User - // Guide. + // pay for the corresponding charges. For information about downloading objects + // from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User Guide. // // This functionality is not supported for directory buckets. // @@ -477,40 +469,7 @@ func (c *Client) addOperationListMultipartUploadsMiddlewares(stack *middleware.S if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjectVersions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjectVersions.go index 1d44323661..e9da79c0ce 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjectVersions.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjectVersions.go @@ -13,17 +13,6 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// End of support notice: Beginning October 1, 2025, Amazon S3 will stop returning -// DisplayName . Update your applications to use canonical IDs (unique identifier -// for Amazon Web Services accounts), Amazon Web Services account ID (12 digit -// identifier) or IAM ARNs (full resource naming) as a direct replacement of -// DisplayName . -// -// This change affects the following Amazon Web Services Regions: US East (N. -// Virginia) Region, US West (N. California) Region, US West (Oregon) Region, Asia -// Pacific (Singapore) Region, Asia Pacific (Sydney) Region, Asia Pacific (Tokyo) -// Region, Europe (Ireland) Region, and South America (São Paulo) Region. -// // This operation is not supported for directory buckets. // // Returns metadata about all versions of the objects in a bucket. You can also @@ -48,6 +37,10 @@ import ( // // [DeleteObject] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [DeleteObject]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html // [PutObject]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html // [GetObject]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html @@ -129,9 +122,8 @@ type ListObjectVersionsInput struct { // Confirms that the requester knows that they will be charged for the request. // Bucket owners need not specify this parameter in their requests. If either the // source or destination S3 bucket has Requester Pays enabled, the requester will - // pay for corresponding charges to copy the object. For information about - // downloading objects from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User - // Guide. + // pay for the corresponding charges. For information about downloading objects + // from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User Guide. // // This functionality is not supported for directory buckets. // @@ -342,40 +334,7 @@ func (c *Client) addOperationListObjectVersionsMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjects.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjects.go index abb77c5089..b524539688 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjects.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjects.go @@ -13,17 +13,6 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// End of support notice: Beginning October 1, 2025, Amazon S3 will stop returning -// DisplayName . Update your applications to use canonical IDs (unique identifier -// for Amazon Web Services accounts), Amazon Web Services account ID (12 digit -// identifier) or IAM ARNs (full resource naming) as a direct replacement of -// DisplayName . -// -// This change affects the following Amazon Web Services Regions: US East (N. -// Virginia) Region, US West (N. California) Region, US West (Oregon) Region, Asia -// Pacific (Singapore) Region, Asia Pacific (Sydney) Region, Asia Pacific (Tokyo) -// Region, Europe (Ireland) Region, and South America (São Paulo) Region. -// // This operation is not supported for directory buckets. // // Returns some or all (up to 1,000) of the objects in a bucket. You can use the @@ -48,6 +37,10 @@ import ( // // [ListBuckets] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [ListBuckets]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBuckets.html // [PutObject]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html // [GetObject]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html @@ -366,40 +359,7 @@ func (c *Client) addOperationListObjectsMiddlewares(stack *middleware.Stack, opt if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjectsV2.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjectsV2.go index bf3a492df2..f61df6e9ca 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjectsV2.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjectsV2.go @@ -78,6 +78,10 @@ import ( // // [CreateBucket] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [ListObjects]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjects.html // [Concepts for directory buckets in Local Zones]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html // [Permissions Related to Bucket Subresource Operations]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources @@ -449,40 +453,7 @@ func (c *Client) addOperationListObjectsV2Middlewares(stack *middleware.Stack, o if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListParts.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListParts.go index cd2184077d..15836da779 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListParts.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListParts.go @@ -14,17 +14,6 @@ import ( "time" ) -// End of support notice: Beginning October 1, 2025, Amazon S3 will stop returning -// DisplayName . Update your applications to use canonical IDs (unique identifier -// for Amazon Web Services accounts), Amazon Web Services account ID (12 digit -// identifier) or IAM ARNs (full resource naming) as a direct replacement of -// DisplayName . -// -// This change affects the following Amazon Web Services Regions: US East (N. -// Virginia) Region, US West (N. California) Region, US West (Oregon) Region, Asia -// Pacific (Singapore) Region, Asia Pacific (Sydney) Region, Asia Pacific (Tokyo) -// Region, Europe (Ireland) Region, and South America (São Paulo) Region. -// // Lists the parts that have been uploaded for a specific multipart upload. // // To use this operation, you must provide the upload ID in the request. You @@ -88,6 +77,10 @@ import ( // // [ListMultipartUploads] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Uploading Objects Using Multipart Upload]: https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html // [Concepts for directory buckets in Local Zones]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html // [AbortMultipartUpload]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html @@ -180,9 +173,8 @@ type ListPartsInput struct { // Confirms that the requester knows that they will be charged for the request. // Bucket owners need not specify this parameter in their requests. If either the // source or destination S3 bucket has Requester Pays enabled, the requester will - // pay for corresponding charges to copy the object. For information about - // downloading objects from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User - // Guide. + // pay for the corresponding charges. For information about downloading objects + // from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User Guide. // // This functionality is not supported for directory buckets. // @@ -268,7 +260,7 @@ type ListPartsOutput struct { // Container element that identifies who initiated the multipart upload. If the // initiator is an Amazon Web Services account, this element provides the same // information as the Owner element. If the initiator is an IAM User, this element - // provides the user ARN and display name. + // provides the user ARN. Initiator *types.Initiator // Indicates whether the returned list of parts is truncated. A true value @@ -289,7 +281,7 @@ type ListPartsOutput struct { // Container element that identifies the object owner, after the object is // created. If multipart upload is initiated by an IAM user, this element provides - // the parent account ID and display name. + // the parent account ID. // // Directory buckets - The bucket owner is returned as the object owner for all // the parts. @@ -440,40 +432,7 @@ func (c *Client) addOperationListPartsMiddlewares(stack *middleware.Stack, optio if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAbac.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAbac.go new file mode 100644 index 0000000000..6bba5d90b1 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAbac.go @@ -0,0 +1,277 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package s3 + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + internalChecksum "github.com/aws/aws-sdk-go-v2/service/internal/checksum" + s3cust "github.com/aws/aws-sdk-go-v2/service/s3/internal/customizations" + "github.com/aws/aws-sdk-go-v2/service/s3/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Sets the attribute-based access control (ABAC) property of the general purpose +// bucket. You must have s3:PutBucketABAC permission to perform this action. When +// you enable ABAC, you can use tags for access control on your buckets. +// Additionally, when ABAC is enabled, you must use the [TagResource]and [UntagResource] actions to manage +// tags on your buckets. You can nolonger use the [PutBucketTagging]and [DeleteBucketTagging] actions to tag your bucket. +// For more information, see [Enabling ABAC in general purpose buckets]. +// +// [PutBucketTagging]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketTagging.html +// [DeleteBucketTagging]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketTagging.html +// [TagResource]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_TagResource.html +// [UntagResource]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UntagResource.html +// [Enabling ABAC in general purpose buckets]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging-enable-abac.html +func (c *Client) PutBucketAbac(ctx context.Context, params *PutBucketAbacInput, optFns ...func(*Options)) (*PutBucketAbacOutput, error) { + if params == nil { + params = &PutBucketAbacInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "PutBucketAbac", params, optFns, c.addOperationPutBucketAbacMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*PutBucketAbacOutput) + out.ResultMetadata = metadata + return out, nil +} + +type PutBucketAbacInput struct { + + // The ABAC status of the general purpose bucket. When ABAC is enabled for the + // general purpose bucket, you can use tags to manage access to the general purpose + // buckets as well as for cost tracking purposes. When ABAC is disabled for the + // general purpose buckets, you can only use tags for cost tracking purposes. For + // more information, see [Using tags with S3 general purpose buckets]. + // + // [Using tags with S3 general purpose buckets]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging.html + // + // This member is required. + AbacStatus *types.AbacStatus + + // The name of the general purpose bucket. + // + // This member is required. + Bucket *string + + // Indicates the algorithm that you want Amazon S3 to use to create the checksum. + // For more information, see [Checking object integrity]in the Amazon S3 User Guide. + // + // [Checking object integrity]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html + ChecksumAlgorithm types.ChecksumAlgorithm + + // The MD5 hash of the PutBucketAbac request body. + // + // For requests made using the Amazon Web Services Command Line Interface (CLI) or + // Amazon Web Services SDKs, this field is calculated automatically. + ContentMD5 *string + + // The Amazon Web Services account ID of the general purpose bucket's owner. + ExpectedBucketOwner *string + + noSmithyDocumentSerde +} + +func (in *PutBucketAbacInput) bindEndpointParams(p *EndpointParameters) { + + p.Bucket = in.Bucket + +} + +type PutBucketAbacOutput struct { + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationPutBucketAbacMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsRestxml_serializeOpPutBucketAbac{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestxml_deserializeOpPutBucketAbac{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "PutBucketAbac"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addPutBucketContextMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addIsExpressUserAgent(stack); err != nil { + return err + } + if err = addRequestChecksumMetricsTracking(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpPutBucketAbacValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutBucketAbac(options.Region), middleware.Before); err != nil { + return err + } + if err = addMetadataRetrieverMiddleware(stack); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addPutBucketAbacInputChecksumMiddlewares(stack, options); err != nil { + return err + } + if err = addPutBucketAbacUpdateEndpoint(stack, options); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = v4.AddContentSHA256HeaderMiddleware(stack); err != nil { + return err + } + if err = disableAcceptEncodingGzip(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addSerializeImmutableHostnameBucketMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func (v *PutBucketAbacInput) bucket() (string, bool) { + if v.Bucket == nil { + return "", false + } + return *v.Bucket, true +} + +func newServiceMetadataMiddleware_opPutBucketAbac(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "PutBucketAbac", + } +} + +// getPutBucketAbacRequestAlgorithmMember gets the request checksum algorithm +// value provided as input. +func getPutBucketAbacRequestAlgorithmMember(input interface{}) (string, bool) { + in := input.(*PutBucketAbacInput) + if len(in.ChecksumAlgorithm) == 0 { + return "", false + } + return string(in.ChecksumAlgorithm), true +} + +func addPutBucketAbacInputChecksumMiddlewares(stack *middleware.Stack, options Options) error { + return addInputChecksumMiddleware(stack, internalChecksum.InputMiddlewareOptions{ + GetAlgorithm: getPutBucketAbacRequestAlgorithmMember, + RequireChecksum: false, + RequestChecksumCalculation: options.RequestChecksumCalculation, + EnableTrailingChecksum: false, + EnableComputeSHA256PayloadHash: true, + EnableDecodedContentLengthHeader: true, + }) +} + +// getPutBucketAbacBucketMember returns a pointer to string denoting a provided +// bucket member valueand a boolean indicating if the input has a modeled bucket +// name, +func getPutBucketAbacBucketMember(input interface{}) (*string, bool) { + in := input.(*PutBucketAbacInput) + if in.Bucket == nil { + return nil, false + } + return in.Bucket, true +} +func addPutBucketAbacUpdateEndpoint(stack *middleware.Stack, options Options) error { + return s3cust.UpdateEndpoint(stack, s3cust.UpdateEndpointOptions{ + Accessor: s3cust.UpdateEndpointParameterAccessor{ + GetBucketFromInput: getPutBucketAbacBucketMember, + }, + UsePathStyle: options.UsePathStyle, + UseAccelerate: options.UseAccelerate, + SupportsAccelerate: true, + TargetS3ObjectLambda: false, + EndpointResolver: options.EndpointResolver, + EndpointResolverOptions: options.EndpointOptions, + UseARNRegion: options.UseARNRegion, + DisableMultiRegionAccessPoints: options.DisableMultiRegionAccessPoints, + }) +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAccelerateConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAccelerateConfiguration.go index f8f349db72..6fed987c41 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAccelerateConfiguration.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAccelerateConfiguration.go @@ -49,6 +49,10 @@ import ( // // [CreateBucket] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Permissions Related to Bucket Subresource Operations]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources // [Transfer Acceleration]: https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html // [GetBucketAccelerateConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketAccelerateConfiguration.html @@ -233,40 +237,7 @@ func (c *Client) addOperationPutBucketAccelerateConfigurationMiddlewares(stack * if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAcl.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAcl.go index 045fa12c02..25aaf33d48 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAcl.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAcl.go @@ -15,17 +15,15 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// End of support notice: Beginning October 1, 2025, Amazon S3 will discontinue -// support for creating new Email Grantee Access Control Lists (ACL). Email Grantee -// ACLs created prior to this date will continue to work and remain accessible -// through the Amazon Web Services Management Console, Command Line Interface -// (CLI), SDKs, and REST API. However, you will no longer be able to create new -// Email Grantee ACLs. +// End of support notice: As of October 1, 2025, Amazon S3 has discontinued +// support for Email Grantee Access Control Lists (ACLs). If you attempt to use an +// Email Grantee ACL in a request after October 1, 2025, the request will receive +// an HTTP 405 (Method Not Allowed) error. // // This change affects the following Amazon Web Services Regions: US East (N. -// Virginia) Region, US West (N. California) Region, US West (Oregon) Region, Asia -// Pacific (Singapore) Region, Asia Pacific (Sydney) Region, Asia Pacific (Tokyo) -// Region, Europe (Ireland) Region, and South America (São Paulo) Region. +// Virginia), US West (N. California), US West (Oregon), Asia Pacific (Singapore), +// Asia Pacific (Sydney), Asia Pacific (Tokyo), Europe (Ireland), and South America +// (São Paulo). // // This operation is not supported for directory buckets. // @@ -174,6 +172,10 @@ import ( // // [GetObjectAcl] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Regions and Endpoints]: https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region // [Access Control List (ACL) Overview]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html // [Controlling object ownership]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html @@ -395,40 +397,7 @@ func (c *Client) addOperationPutBucketAclMiddlewares(stack *middleware.Stack, op if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAnalyticsConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAnalyticsConfiguration.go index 76658c53c6..469ad37e1b 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAnalyticsConfiguration.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAnalyticsConfiguration.go @@ -68,6 +68,10 @@ import ( // // [ListBucketAnalyticsConfigurations] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Amazon S3 Analytics – Storage Class Analysis]: https://docs.aws.amazon.com/AmazonS3/latest/dev/analytics-storage-class.html // [Granting Permissions for Amazon S3 Inventory and Storage Class Analysis]: https://docs.aws.amazon.com/AmazonS3/latest/dev/example-bucket-policies.html#example-bucket-policies-use-case-9 // [DeleteBucketAnalyticsConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketAnalyticsConfiguration.html @@ -240,40 +244,7 @@ func (c *Client) addOperationPutBucketAnalyticsConfigurationMiddlewares(stack *m if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketCors.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketCors.go index d241ba8d37..65ff2da330 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketCors.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketCors.go @@ -59,6 +59,10 @@ import ( // // [RESTOPTIONSobject] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [GetBucketCors]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketCors.html // [Enabling Cross-Origin Resource Sharing]: https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html // [RESTOPTIONSobject]: https://docs.aws.amazon.com/AmazonS3/latest/API/RESTOPTIONSobject.html @@ -258,40 +262,7 @@ func (c *Client) addOperationPutBucketCorsMiddlewares(stack *middleware.Stack, o if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketEncryption.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketEncryption.go index 197a4f184f..8a84adbf2d 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketEncryption.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketEncryption.go @@ -16,7 +16,7 @@ import ( ) // This operation configures default encryption and Amazon S3 Bucket Keys for an -// existing bucket. +// existing bucket. You can also [block encryption types]using this operation. // // Directory buckets - For directory buckets, you must make requests for this API // operation to the Regional endpoint. These endpoints support path-style requests @@ -106,6 +106,10 @@ import ( // // [DeleteBucketEncryption] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Specifying server-side encryption with KMS for new object uploads]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html // [Concepts for directory buckets in Local Zones]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html // [KMS customer managed key]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk @@ -121,6 +125,7 @@ import ( // [GetBucketEncryption]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketEncryption.html // [DeleteBucketEncryption]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketEncryption.html // [customer managed key]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk +// [block encryption types]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_BlockedEncryptionTypes.html // [default bucket encryption]: https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html // [the import jobs]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-import-job // [the Copy operation in Batch Operations]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-objects-Batch-Ops @@ -335,40 +340,7 @@ func (c *Client) addOperationPutBucketEncryptionMiddlewares(stack *middleware.St if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketIntelligentTieringConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketIntelligentTieringConfiguration.go index 5a7b8989bb..715d193d33 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketIntelligentTieringConfiguration.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketIntelligentTieringConfiguration.go @@ -62,6 +62,10 @@ import ( // or you do not have the s3:PutIntelligentTieringConfiguration bucket permission // to set the configuration on the bucket. // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [ListBucketIntelligentTieringConfigurations]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketIntelligentTieringConfigurations.html // [GetBucketIntelligentTieringConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketIntelligentTieringConfiguration.html // [Storage class for automatically optimizing frequently and infrequently accessed objects]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-dynamic-data-access @@ -232,40 +236,7 @@ func (c *Client) addOperationPutBucketIntelligentTieringConfigurationMiddlewares if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketInventoryConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketInventoryConfiguration.go index 162ac031ab..8138acc84c 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketInventoryConfiguration.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketInventoryConfiguration.go @@ -74,6 +74,10 @@ import ( // // [ListBucketInventoryConfigurations] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Granting Permissions for Amazon S3 Inventory and Storage Class Analysis]: https://docs.aws.amazon.com/AmazonS3/latest/dev/example-bucket-policies.html#example-bucket-policies-use-case-9 // [Amazon S3 Inventory]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-inventory.html // [ListBucketInventoryConfigurations]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketInventoryConfigurations.html @@ -249,40 +253,7 @@ func (c *Client) addOperationPutBucketInventoryConfigurationMiddlewares(stack *m if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketLifecycleConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketLifecycleConfiguration.go index df97237210..d9f556c219 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketLifecycleConfiguration.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketLifecycleConfiguration.go @@ -28,10 +28,10 @@ import ( // prefix, which is supported for backward compatibility. For the related API // description, see [PutBucketLifecycle]. // -// Rules Permissions HTTP Host header syntax You specify the lifecycle -// configuration in your request body. The lifecycle configuration is specified as -// XML consisting of one or more rules. An Amazon S3 Lifecycle configuration can -// have up to 1,000 rules. This limit is not adjustable. +// Rules You specify the lifecycle configuration in your request body. The +// lifecycle configuration is specified as XML consisting of one or more rules. An +// Amazon S3 Lifecycle configuration can have up to 1,000 rules. This limit is not +// adjustable. // // Bucket lifecycle configuration supports specifying a lifecycle rule using an // object key name prefix, one or more object tags, object size, or any combination @@ -61,6 +61,7 @@ import ( // // For more information, see [Object Lifecycle Management] and [Lifecycle Configuration Elements]. // +// Permissions // - General purpose bucket permissions - By default, all Amazon S3 resources // are private, including buckets, objects, and related subresources (for example, // lifecycle configuration and website configuration). Only the resource owner @@ -102,7 +103,7 @@ import ( // endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones]in the Amazon S3 User Guide. For more // information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones]in the Amazon S3 User Guide. // -// Directory buckets - The HTTP Host header syntax is +// HTTP Host header syntax Directory buckets - The HTTP Host header syntax is // s3express-control.region.amazonaws.com . // // The following operations are related to PutBucketLifecycleConfiguration : @@ -111,6 +112,10 @@ import ( // // [DeleteBucketLifecycle] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Object Lifecycle Management]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html // [Lifecycle Configuration Elements]: https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html // [GetBucketLifecycleConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycleConfiguration.html @@ -344,40 +349,7 @@ func (c *Client) addOperationPutBucketLifecycleConfigurationMiddlewares(stack *m if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketLogging.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketLogging.go index 0603411285..15b3fcc1ab 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketLogging.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketLogging.go @@ -15,17 +15,15 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// End of support notice: Beginning October 1, 2025, Amazon S3 will discontinue -// support for creating new Email Grantee Access Control Lists (ACL). Email Grantee -// ACLs created prior to this date will continue to work and remain accessible -// through the Amazon Web Services Management Console, Command Line Interface -// (CLI), SDKs, and REST API. However, you will no longer be able to create new -// Email Grantee ACLs. +// End of support notice: As of October 1, 2025, Amazon S3 has discontinued +// support for Email Grantee Access Control Lists (ACLs). If you attempt to use an +// Email Grantee ACL in a request after October 1, 2025, the request will receive +// an HTTP 405 (Method Not Allowed) error. // // This change affects the following Amazon Web Services Regions: US East (N. -// Virginia) Region, US West (N. California) Region, US West (Oregon) Region, Asia -// Pacific (Singapore) Region, Asia Pacific (Sydney) Region, Asia Pacific (Tokyo) -// Region, Europe (Ireland) Region, and South America (São Paulo) Region. +// Virginia), US West (N. California), US West (Oregon), Asia Pacific (Singapore), +// Asia Pacific (Sydney), Asia Pacific (Tokyo), Europe (Ireland), and South America +// (São Paulo). // // This operation is not supported for directory buckets. // @@ -85,6 +83,10 @@ import ( // // [GetBucketLogging] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Permissions for server access log delivery]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html#grant-log-delivery-permissions-general // [DeleteBucket]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html // [GetBucketLogging]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLogging.html @@ -280,40 +282,7 @@ func (c *Client) addOperationPutBucketLoggingMiddlewares(stack *middleware.Stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketMetricsConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketMetricsConfiguration.go index c665b2efec..5e1ad6a1e7 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketMetricsConfiguration.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketMetricsConfiguration.go @@ -46,6 +46,10 @@ import ( // // - HTTP Status Code: HTTP 400 Bad Request // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Permissions Related to Bucket Subresource Operations]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources // [Monitoring Metrics with Amazon CloudWatch]: https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudwatch-monitoring.html // [GetBucketMetricsConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetricsConfiguration.html @@ -218,40 +222,7 @@ func (c *Client) addOperationPutBucketMetricsConfigurationMiddlewares(stack *mid if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketNotificationConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketNotificationConfiguration.go index 6ec91374fc..5eb942ee89 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketNotificationConfiguration.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketNotificationConfiguration.go @@ -63,6 +63,10 @@ import ( // // [GetBucketNotificationConfiguration] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Configuring Notifications for Amazon S3 Events]: https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html // [Amazon S3 service quotas]: https://docs.aws.amazon.com/general/latest/gr/s3.html#limits_s3 // [GetBucketNotificationConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketNotificationConfiguration.html @@ -232,40 +236,7 @@ func (c *Client) addOperationPutBucketNotificationConfigurationMiddlewares(stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketOwnershipControls.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketOwnershipControls.go index e84f53627c..3f21272002 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketOwnershipControls.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketOwnershipControls.go @@ -29,6 +29,10 @@ import ( // // # DeleteBucketOwnershipControls // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Specifying permissions in a policy]: https://docs.aws.amazon.com/AmazonS3/latest/user-guide/using-with-s3-actions.html // [Using object ownership]: https://docs.aws.amazon.com/AmazonS3/latest/user-guide/about-object-ownership.html func (c *Client) PutBucketOwnershipControls(ctx context.Context, params *PutBucketOwnershipControlsInput, optFns ...func(*Options)) (*PutBucketOwnershipControlsOutput, error) { @@ -220,40 +224,7 @@ func (c *Client) addOperationPutBucketOwnershipControlsMiddlewares(stack *middle if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketPolicy.go index 6c32679269..a96c3fb0ca 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketPolicy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketPolicy.go @@ -67,6 +67,10 @@ import ( // // [DeleteBucket] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Bucket policy examples]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-bucket-policies.html // [Concepts for directory buckets in Local Zones]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html // [Example bucket policies for S3 Express One Zone]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-example-bucket-policies.html @@ -308,40 +312,7 @@ func (c *Client) addOperationPutBucketPolicyMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketReplication.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketReplication.go index 0ce30ce236..dc36ec94bf 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketReplication.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketReplication.go @@ -69,6 +69,10 @@ import ( // // [DeleteBucketReplication] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [iam:PassRole]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html // [GetBucketReplication]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketReplication.html // [aws:RequestedRegion]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-requestedregion @@ -276,40 +280,7 @@ func (c *Client) addOperationPutBucketReplicationMiddlewares(stack *middleware.S if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketRequestPayment.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketRequestPayment.go index e2f172eb18..25504da9f1 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketRequestPayment.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketRequestPayment.go @@ -28,6 +28,10 @@ import ( // // [GetBucketRequestPayment] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [GetBucketRequestPayment]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketRequestPayment.html // [Requester Pays Buckets]: https://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html // [CreateBucket]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html @@ -223,40 +227,7 @@ func (c *Client) addOperationPutBucketRequestPaymentMiddlewares(stack *middlewar if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketTagging.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketTagging.go index a5a58186a1..50ff225110 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketTagging.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketTagging.go @@ -17,7 +17,9 @@ import ( // This operation is not supported for directory buckets. // -// Sets the tags for a bucket. +// Sets the tags for a general purpose bucket if attribute based access control +// (ABAC) is not enabled for the bucket. When you [enable ABAC for a general purpose bucket], you can no longer use this +// operation for that bucket and must use the [TagResource]or [UntagResource] operations instead. // // Use tags to organize your Amazon Web Services bill to reflect your own cost // structure. To do this, sign up to get your Amazon Web Services account bill with @@ -56,11 +58,18 @@ import ( // // [DeleteBucketTagging] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Error Responses]: https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html // [GetBucketTagging]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketTagging.html // [Cost Allocation and Tagging]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html +// [enable ABAC for a general purpose bucket]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging-enable-abac.html // [Permissions Related to Bucket Subresource Operations]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources // [DeleteBucketTagging]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketTagging.html +// [TagResource]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_TagResource.html +// [UntagResource]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UntagResource.html // [Using Cost Allocation in Amazon S3 Bucket Tags]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/CostAllocTagging.html // [Managing Access Permissions to Your Amazon S3 Resources]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html func (c *Client) PutBucketTagging(ctx context.Context, params *PutBucketTaggingInput, optFns ...func(*Options)) (*PutBucketTaggingOutput, error) { @@ -255,40 +264,7 @@ func (c *Client) addOperationPutBucketTaggingMiddlewares(stack *middleware.Stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketVersioning.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketVersioning.go index c30435638f..1d9154e2e8 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketVersioning.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketVersioning.go @@ -59,6 +59,10 @@ import ( // // [GetBucketVersioning] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [DeleteBucket]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html // [CreateBucket]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html // [Lifecycle and Versioning]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html#lifecycle-and-other-bucket-config @@ -119,7 +123,14 @@ type PutBucketVersioningInput struct { ExpectedBucketOwner *string // The concatenation of the authentication device's serial number, a space, and - // the value that is displayed on your authentication device. + // the value that is displayed on your authentication device. The serial number is + // the number that uniquely identifies the MFA device. For physical MFA devices, + // this is the unique serial number that's provided with the device. For virtual + // MFA devices, the serial number is the device ARN. For more information, see [Enabling versioning on buckets]and [Configuring MFA delete] + // in the Amazon Simple Storage Service User Guide. + // + // [Enabling versioning on buckets]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/manage-versioning-examples.html + // [Configuring MFA delete]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/MultiFactorAuthenticationDelete.html MFA *string noSmithyDocumentSerde @@ -259,40 +270,7 @@ func (c *Client) addOperationPutBucketVersioningMiddlewares(stack *middleware.St if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketWebsite.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketWebsite.go index 9c8222ba8a..a558715e8c 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketWebsite.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketWebsite.go @@ -84,6 +84,10 @@ import ( // // The maximum request length is limited to 128 KB. // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Hosting Websites on Amazon S3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html // [Configuring an Object Redirect]: https://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html func (c *Client) PutBucketWebsite(ctx context.Context, params *PutBucketWebsiteInput, optFns ...func(*Options)) (*PutBucketWebsiteOutput, error) { @@ -278,40 +282,7 @@ func (c *Client) addOperationPutBucketWebsiteMiddlewares(stack *middleware.Stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObject.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObject.go index 774134be49..5af7a7ea28 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObject.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObject.go @@ -17,17 +17,15 @@ import ( "time" ) -// End of support notice: Beginning October 1, 2025, Amazon S3 will discontinue -// support for creating new Email Grantee Access Control Lists (ACL). Email Grantee -// ACLs created prior to this date will continue to work and remain accessible -// through the Amazon Web Services Management Console, Command Line Interface -// (CLI), SDKs, and REST API. However, you will no longer be able to create new -// Email Grantee ACLs. +// End of support notice: As of October 1, 2025, Amazon S3 has discontinued +// support for Email Grantee Access Control Lists (ACLs). If you attempt to use an +// Email Grantee ACL in a request after October 1, 2025, the request will receive +// an HTTP 405 (Method Not Allowed) error. // // This change affects the following Amazon Web Services Regions: US East (N. -// Virginia) Region, US West (N. California) Region, US West (Oregon) Region, Asia -// Pacific (Singapore) Region, Asia Pacific (Sydney) Region, Asia Pacific (Tokyo) -// Region, Europe (Ireland) Region, and South America (São Paulo) Region. +// Virginia), US West (N. California), US West (Oregon), Asia Pacific (Singapore), +// Asia Pacific (Sydney), Asia Pacific (Tokyo), Europe (Ireland), and South America +// (São Paulo). // // Adds an object to a bucket. // @@ -126,12 +124,29 @@ import ( // HTTP Host header syntax Directory buckets - The HTTP Host header syntax is // Bucket-name.s3express-zone-id.region-code.amazonaws.com . // +// Errors +// +// - You might receive an InvalidRequest error for several reasons. Depending on +// the reason for the error, you might receive one of the following messages: +// +// - Cannot specify both a write offset value and user-defined object metadata +// for existing objects. +// +// - Checksum Type mismatch occurred, expected checksum Type: sha1, actual +// checksum Type: crc32c. +// +// - Request body cannot be empty when 'write offset' is specified. +// // For more information about related Amazon S3 APIs, see the following: // // [CopyObject] // // [DeleteObject] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Concepts for directory buckets in Local Zones]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html // [Amazon S3 Object Lock]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html // [DeleteObject]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html @@ -477,9 +492,8 @@ type PutObjectInput struct { // Confirms that the requester knows that they will be charged for the request. // Bucket owners need not specify this parameter in their requests. If either the // source or destination S3 bucket has Requester Pays enabled, the requester will - // pay for corresponding charges to copy the object. For information about - // downloading objects from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User - // Guide. + // pay for the corresponding charges. For information about downloading objects + // from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User Guide. // // This functionality is not supported for directory buckets. // @@ -680,7 +694,7 @@ type PutObjectOutput struct { BucketKeyEnabled *bool // The Base64 encoded, 32-bit CRC32 checksum of the object. This checksum is only - // be present if the checksum was uploaded with the object. When you use an API + // present if the checksum was uploaded with the object. When you use an API // operation on an object that was uploaded using multipart uploads, this value may // not be a direct checksum value of the full object. Instead, it's a calculation // based on the checksum values of each individual part. For more information about @@ -710,8 +724,8 @@ type PutObjectOutput struct { // [Checking object integrity in the Amazon S3 User Guide]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html ChecksumCRC64NVME *string - // The Base64 encoded, 160-bit SHA1 digest of the object. This will only be - // present if the object was uploaded with the object. When you use the API + // The Base64 encoded, 160-bit SHA1 digest of the object. This checksum is only + // present if the checksum was uploaded with the object. When you use the API // operation on an object that was uploaded using multipart uploads, this value may // not be a direct checksum value of the full object. Instead, it's a calculation // based on the checksum values of each individual part. For more information about @@ -721,8 +735,8 @@ type PutObjectOutput struct { // [Checking object integrity]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums ChecksumSHA1 *string - // The Base64 encoded, 256-bit SHA256 digest of the object. This will only be - // present if the object was uploaded with the object. When you use an API + // The Base64 encoded, 256-bit SHA256 digest of the object. This checksum is only + // present if the checksum was uploaded with the object. When you use an API // operation on an object that was uploaded using multipart uploads, this value may // not be a direct checksum value of the full object. Instead, it's a calculation // based on the checksum values of each individual part. For more information about @@ -957,40 +971,7 @@ func (c *Client) addOperationPutObjectMiddlewares(stack *middleware.Stack, optio if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectAcl.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectAcl.go index 110cf08cae..ff5cf99ab7 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectAcl.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectAcl.go @@ -14,6 +14,16 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) +// End of support notice: As of October 1, 2025, Amazon S3 has discontinued +// support for Email Grantee Access Control Lists (ACLs). If you attempt to use an +// Email Grantee ACL in a request after October 1, 2025, the request will receive +// an HTTP 405 (Method Not Allowed) error. +// +// This change affects the following Amazon Web Services Regions: US East (N. +// Virginia), US West (N. California), US West (Oregon), Asia Pacific (Singapore), +// Asia Pacific (Sydney), Asia Pacific (Tokyo), Europe (Ireland), and South America +// (São Paulo). +// // This operation is not supported for directory buckets. // // Uses the acl subresource to set the access control list (ACL) permissions for a @@ -155,6 +165,10 @@ import ( // // [GetObject] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Regions and Endpoints]: https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region // [Access Control List (ACL) Overview]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html // [Controlling object ownership]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html @@ -277,9 +291,8 @@ type PutObjectAclInput struct { // Confirms that the requester knows that they will be charged for the request. // Bucket owners need not specify this parameter in their requests. If either the // source or destination S3 bucket has Requester Pays enabled, the requester will - // pay for corresponding charges to copy the object. For information about - // downloading objects from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User - // Guide. + // pay for the corresponding charges. For information about downloading objects + // from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User Guide. // // This functionality is not supported for directory buckets. // @@ -439,40 +452,7 @@ func (c *Client) addOperationPutObjectAclMiddlewares(stack *middleware.Stack, op if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectLegalHold.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectLegalHold.go index 1c937604c7..73e5e730fc 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectLegalHold.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectLegalHold.go @@ -21,6 +21,10 @@ import ( // // This functionality is not supported for Amazon S3 on Outposts. // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Locking Objects]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html func (c *Client) PutObjectLegalHold(ctx context.Context, params *PutObjectLegalHoldInput, optFns ...func(*Options)) (*PutObjectLegalHoldOutput, error) { if params == nil { @@ -93,9 +97,8 @@ type PutObjectLegalHoldInput struct { // Confirms that the requester knows that they will be charged for the request. // Bucket owners need not specify this parameter in their requests. If either the // source or destination S3 bucket has Requester Pays enabled, the requester will - // pay for corresponding charges to copy the object. For information about - // downloading objects from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User - // Guide. + // pay for the corresponding charges. For information about downloading objects + // from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User Guide. // // This functionality is not supported for directory buckets. // @@ -252,40 +255,7 @@ func (c *Client) addOperationPutObjectLegalHoldMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectLockConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectLockConfiguration.go index 14837e1013..96318bc586 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectLockConfiguration.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectLockConfiguration.go @@ -28,6 +28,10 @@ import ( // - You can enable Object Lock for new or existing buckets. For more // information, see [Configuring Object Lock]. // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Configuring Object Lock]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-configure.html // [Locking Objects]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html func (c *Client) PutObjectLockConfiguration(ctx context.Context, params *PutObjectLockConfigurationInput, optFns ...func(*Options)) (*PutObjectLockConfigurationOutput, error) { @@ -82,9 +86,8 @@ type PutObjectLockConfigurationInput struct { // Confirms that the requester knows that they will be charged for the request. // Bucket owners need not specify this parameter in their requests. If either the // source or destination S3 bucket has Requester Pays enabled, the requester will - // pay for corresponding charges to copy the object. For information about - // downloading objects from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User - // Guide. + // pay for the corresponding charges. For information about downloading objects + // from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User Guide. // // This functionality is not supported for directory buckets. // @@ -241,40 +244,7 @@ func (c *Client) addOperationPutObjectLockConfigurationMiddlewares(stack *middle if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectRetention.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectRetention.go index f0ef2185c1..86c97d2f91 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectRetention.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectRetention.go @@ -23,6 +23,10 @@ import ( // // This functionality is not supported for Amazon S3 on Outposts. // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Locking Objects]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html func (c *Client) PutObjectRetention(ctx context.Context, params *PutObjectRetentionInput, optFns ...func(*Options)) (*PutObjectRetentionOutput, error) { if params == nil { @@ -96,9 +100,8 @@ type PutObjectRetentionInput struct { // Confirms that the requester knows that they will be charged for the request. // Bucket owners need not specify this parameter in their requests. If either the // source or destination S3 bucket has Requester Pays enabled, the requester will - // pay for corresponding charges to copy the object. For information about - // downloading objects from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User - // Guide. + // pay for the corresponding charges. For information about downloading objects + // from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User Guide. // // This functionality is not supported for directory buckets. // @@ -259,40 +262,7 @@ func (c *Client) addOperationPutObjectRetentionMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectTagging.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectTagging.go index 7c59221c01..a6838041ec 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectTagging.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectTagging.go @@ -53,6 +53,10 @@ import ( // // [DeleteObjectTagging] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Error Responses]: https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html // [DeleteObjectTagging]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObjectTagging.html // [Object Tagging]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-tagging.html @@ -135,16 +139,9 @@ type PutObjectTaggingInput struct { // status code 403 Forbidden (access denied). ExpectedBucketOwner *string - // Confirms that the requester knows that they will be charged for the request. - // Bucket owners need not specify this parameter in their requests. If either the - // source or destination S3 bucket has Requester Pays enabled, the requester will - // pay for corresponding charges to copy the object. For information about - // downloading objects from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User - // Guide. - // - // This functionality is not supported for directory buckets. - // - // [Downloading Objects in Requester Pays Buckets]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html + // Confirms that the requester knows that she or he will be charged for the + // tagging object request. Bucket owners need not specify this parameter in their + // requests. RequestPayer types.RequestPayer // The versionId of the object that the tag-set will be added to. @@ -291,40 +288,7 @@ func (c *Client) addOperationPutObjectTaggingMiddlewares(stack *middleware.Stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutPublicAccessBlock.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutPublicAccessBlock.go index 8f79019b10..9554112593 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutPublicAccessBlock.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutPublicAccessBlock.go @@ -23,10 +23,11 @@ import ( // // When Amazon S3 evaluates the PublicAccessBlock configuration for a bucket or an // object, it checks the PublicAccessBlock configuration for both the bucket (or -// the bucket that contains the object) and the bucket owner's account. If the -// PublicAccessBlock configurations are different between the bucket and the -// account, Amazon S3 uses the most restrictive combination of the bucket-level and -// account-level settings. +// the bucket that contains the object) and the bucket owner's account. +// Account-level settings automatically inherit from organization-level policies +// when present. If the PublicAccessBlock configurations are different between the +// bucket and the account, Amazon S3 uses the most restrictive combination of the +// bucket-level and account-level settings. // // For more information about when Amazon S3 considers a bucket or an object // public, see [The Meaning of "Public"]. @@ -41,6 +42,10 @@ import ( // // [Using Amazon S3 Block Public Access] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [GetPublicAccessBlock]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetPublicAccessBlock.html // [DeletePublicAccessBlock]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeletePublicAccessBlock.html // [Using Amazon S3 Block Public Access]: https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html @@ -241,40 +246,7 @@ func (c *Client) addOperationPutPublicAccessBlockMiddlewares(stack *middleware.S if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_RenameObject.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_RenameObject.go index ab057ffa6c..a97b8f2974 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_RenameObject.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_RenameObject.go @@ -51,6 +51,10 @@ import ( // HTTP Host header syntax Directory buckets - The HTTP Host header syntax is // Bucket-name.s3express-zone-id.region-code.amazonaws.com . // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [CreateSession]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html // [RFC 7232]: https://datatracker.ietf.org/doc/rfc7232/ // [Authorizing Zonal endpoint API operations with CreateSession]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-create-session.html @@ -283,40 +287,7 @@ func (c *Client) addOperationRenameObjectMiddlewares(stack *middleware.Stack, op if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_RestoreObject.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_RestoreObject.go index 75c6957be0..ce162b9251 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_RestoreObject.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_RestoreObject.go @@ -149,6 +149,10 @@ import ( // // [GetBucketNotificationConfiguration] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [PutBucketLifecycleConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html // [Object Lifecycle Management]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html // [Permissions Related to Bucket Subresource Operations]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources @@ -229,9 +233,8 @@ type RestoreObjectInput struct { // Confirms that the requester knows that they will be charged for the request. // Bucket owners need not specify this parameter in their requests. If either the // source or destination S3 bucket has Requester Pays enabled, the requester will - // pay for corresponding charges to copy the object. For information about - // downloading objects from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User - // Guide. + // pay for the corresponding charges. For information about downloading objects + // from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User Guide. // // This functionality is not supported for directory buckets. // @@ -392,40 +395,7 @@ func (c *Client) addOperationRestoreObjectMiddlewares(stack *middleware.Stack, o if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_SelectObjectContent.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_SelectObjectContent.go index 2051618a33..f9ad31539a 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_SelectObjectContent.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_SelectObjectContent.go @@ -89,6 +89,10 @@ import ( // // [PutBucketLifecycleConfiguration] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Appendix: SelectObjectContent Response]: https://docs.aws.amazon.com/AmazonS3/latest/API/RESTSelectObjectAppendix.html // [Selecting Content from Objects]: https://docs.aws.amazon.com/AmazonS3/latest/dev/selecting-content-from-objects.html // [PutBucketLifecycleConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html @@ -337,40 +341,7 @@ func (c *Client) addOperationSelectObjectContentMiddlewares(stack *middleware.St if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UpdateBucketMetadataInventoryTableConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UpdateBucketMetadataInventoryTableConfiguration.go index 6e919c9b90..aff76062c1 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UpdateBucketMetadataInventoryTableConfiguration.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UpdateBucketMetadataInventoryTableConfiguration.go @@ -52,6 +52,10 @@ import ( // // [UpdateBucketMetadataJournalTableConfiguration] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [GetBucketMetadataConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetadataConfiguration.html // [Setting up permissions for configuring metadata tables]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-permissions.html // [UpdateBucketMetadataJournalTableConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UpdateBucketMetadataJournalTableConfiguration.html @@ -234,40 +238,7 @@ func (c *Client) addOperationUpdateBucketMetadataInventoryTableConfigurationMidd if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UpdateBucketMetadataJournalTableConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UpdateBucketMetadataJournalTableConfiguration.go index 9c16afea3a..22f33a8686 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UpdateBucketMetadataJournalTableConfiguration.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UpdateBucketMetadataJournalTableConfiguration.go @@ -34,6 +34,10 @@ import ( // // [UpdateBucketMetadataInventoryTableConfiguration] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [GetBucketMetadataConfiguration]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetadataConfiguration.html // [Setting up permissions for configuring metadata tables]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-permissions.html // [Accelerating data discovery with S3 Metadata]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-overview.html @@ -216,40 +220,7 @@ func (c *Client) addOperationUpdateBucketMetadataJournalTableConfigurationMiddle if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UpdateObjectEncryption.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UpdateObjectEncryption.go new file mode 100644 index 0000000000..0e3eb89303 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UpdateObjectEncryption.go @@ -0,0 +1,435 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package s3 + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + internalChecksum "github.com/aws/aws-sdk-go-v2/service/internal/checksum" + s3cust "github.com/aws/aws-sdk-go-v2/service/s3/internal/customizations" + "github.com/aws/aws-sdk-go-v2/service/s3/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// This operation is not supported for directory buckets or Amazon S3 on Outposts +// buckets. +// +// Updates the server-side encryption type of an existing encrypted object in a +// general purpose bucket. You can use the UpdateObjectEncryption operation to +// change encrypted objects from server-side encryption with Amazon S3 managed keys +// (SSE-S3) to server-side encryption with Key Management Service (KMS) keys +// (SSE-KMS), or to apply S3 Bucket Keys. You can also use the +// UpdateObjectEncryption operation to change the customer-managed KMS key used to +// encrypt your data so that you can comply with custom key-rotation standards. +// +// Using the UpdateObjectEncryption operation, you can atomically update the +// server-side encryption type of an existing object in a general purpose bucket +// without any data movement. The UpdateObjectEncryption operation uses envelope +// encryption to re-encrypt the data key used to encrypt and decrypt your object +// with your newly specified server-side encryption type. In other words, when you +// use the UpdateObjectEncryption operation, your data isn't copied, archived +// objects in the S3 Glacier Flexible Retrieval and S3 Glacier Deep Archive storage +// classes aren't restored, and objects in the S3 Intelligent-Tiering storage class +// aren't moved between tiers. Additionally, the UpdateObjectEncryption operation +// preserves all object metadata properties, including the storage class, creation +// date, last modified date, ETag, and checksum properties. For more information, +// see [Updating server-side encryption for existing objects]in the Amazon S3 User Guide. +// +// By default, all UpdateObjectEncryption requests that specify a customer-managed +// KMS key are restricted to KMS keys that are owned by the bucket owner's Amazon +// Web Services account. If you're using Organizations, you can request the ability +// to use KMS keys owned by other member accounts within your organization by +// contacting Amazon Web Services Support. +// +// Source objects that are unencrypted, or encrypted with either dual-layer +// server-side encryption with KMS keys (DSSE-KMS) or server-side encryption with +// customer-provided keys (SSE-C) aren't supported by this operation. Additionally, +// you cannot specify SSE-S3 encryption as the requested new encryption type +// UpdateObjectEncryption request. +// +// Permissions +// +// - To use the UpdateObjectEncryption operation, you must have the following +// permissions: +// +// - s3:PutObject +// +// - s3:UpdateObjectEncryption +// +// - kms:Encrypt +// +// - kms:Decrypt +// +// - kms:GenerateDataKey +// +// - kms:ReEncrypt* +// +// - If you're using Organizations, to use this operation with customer-managed +// KMS keys from other Amazon Web Services accounts within your organization, you +// must have the organizations:DescribeAccount permission. +// +// Errors +// +// - You might receive an InvalidRequest error for several reasons. Depending on +// the reason for the error, you might receive one of the following messages: +// +// - The UpdateObjectEncryption operation doesn't supported unencrypted source +// objects. Only source objects encrypted with SSE-S3 or SSE-KMS are supported. +// +// - The UpdateObjectEncryption operation doesn't support source objects with the +// encryption type DSSE-KMS or SSE-C. Only source objects encrypted with SSE-S3 or +// SSE-KMS are supported. +// +// - The UpdateObjectEncryption operation doesn't support updating the encryption +// type to DSSE-KMS or SSE-C. Modify the request to specify SSE-KMS for the updated +// encryption type, and then try again. +// +// - Requests that modify an object encryption configuration require Amazon Web +// Services Signature Version 4. Modify the request to use Amazon Web Services +// Signature Version 4, and then try again. +// +// - Requests that modify an object encryption configuration require a valid new +// encryption type. Valid values are SSEKMS . Modify the request to specify +// SSE-KMS for the updated encryption type, and then try again. +// +// - Requests that modify an object's encryption type to SSE-KMS require an +// Amazon Web Services KMS key Amazon Resource Name (ARN). Modify the request to +// specify a KMS key ARN, and then try again. +// +// - Requests that modify an object's encryption type to SSE-KMS require a valid +// Amazon Web Services KMS key Amazon Resource Name (ARN). Confirm that you have a +// correctly formatted KMS key ARN in your request, and then try again. +// +// - The BucketKeyEnabled value isn't valid. Valid values are true or false . +// Modify the request to specify a valid value, and then try again. +// +// - You might receive an AccessDenied error for several reasons. Depending on +// the reason for the error, you might receive one of the following messages: +// +// - The Amazon Web Services KMS key in the request must be owned by the same +// account as the bucket. Modify the request to specify a KMS key from the same +// account, and then try again. +// +// - The bucket owner's account was approved to make UpdateObjectEncryption +// requests that use any Amazon Web Services KMS key in their organization, but the +// bucket owner's account isn't part of an organization in Organizations. Make sure +// that the bucket owner's account and the specified KMS key belong to the same +// organization, and then try again. +// +// - The specified Amazon Web Services KMS key must be from the same +// organization in Organizations as the bucket. Specify a KMS key that belongs to +// the same organization as the bucket, and then try again. +// +// - The encryption type for the specified object can’t be updated because that +// object is protected by S3 Object Lock. If the object has a governance-mode +// retention period or a legal hold, you must first remove the Object Lock status +// on the object before you issue your UpdateObjectEncryption request. You can't +// use the UpdateObjectEncryption operation with objects that have an Object Lock +// compliance mode retention period applied to them. +// +// [Updating server-side encryption for existing objects]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/update-sse-encryption.html +func (c *Client) UpdateObjectEncryption(ctx context.Context, params *UpdateObjectEncryptionInput, optFns ...func(*Options)) (*UpdateObjectEncryptionOutput, error) { + if params == nil { + params = &UpdateObjectEncryptionInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "UpdateObjectEncryption", params, optFns, c.addOperationUpdateObjectEncryptionMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*UpdateObjectEncryptionOutput) + out.ResultMetadata = metadata + return out, nil +} + +type UpdateObjectEncryptionInput struct { + + // The name of the general purpose bucket that contains the specified object key + // name. + // + // When you use this operation with an access point attached to a general purpose + // bucket, you must either provide the alias of the access point in place of the + // bucket name or you must specify the access point Amazon Resource Name (ARN). + // When using the access point ARN, you must direct requests to the access point + // hostname. The access point hostname takes the form + // AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com . When using this + // operation with an access point through the Amazon Web Services SDKs, you provide + // the access point ARN in place of the bucket name. For more information about + // access point ARNs, see [Referencing access points]in the Amazon S3 User Guide. + // + // [Referencing access points]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points-naming.html + // + // This member is required. + Bucket *string + + // The key name of the object that you want to update the server-side encryption + // type for. + // + // This member is required. + Key *string + + // The updated server-side encryption type for this object. The + // UpdateObjectEncryption operation supports the SSE-S3 and SSE-KMS encryption + // types. + // + // Valid Values: SSES3 | SSEKMS + // + // This member is required. + ObjectEncryption types.ObjectEncryption + + // Indicates the algorithm used to create the checksum for the object when you + // use an Amazon Web Services SDK. This header doesn't provide any additional + // functionality if you don't use the SDK. When you send this header, there must be + // a corresponding x-amz-checksum or x-amz-trailer header sent. Otherwise, Amazon + // S3 fails the request with the HTTP status code 400 Bad Request . For more + // information, see [Checking object integrity]in the Amazon S3 User Guide. + // + // If you provide an individual checksum, Amazon S3 ignores any provided + // ChecksumAlgorithm parameter. + // + // [Checking object integrity]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html + ChecksumAlgorithm types.ChecksumAlgorithm + + // The MD5 hash for the request body. For requests made using the Amazon Web + // Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is + // calculated automatically. + ContentMD5 *string + + // The account ID of the expected bucket owner. If the account ID that you + // provide doesn't match the actual owner of the bucket, the request fails with the + // HTTP status code 403 Forbidden (access denied). + ExpectedBucketOwner *string + + // Confirms that the requester knows that they will be charged for the request. + // Bucket owners need not specify this parameter in their requests. If either the + // source or destination S3 bucket has Requester Pays enabled, the requester will + // pay for the corresponding charges. For information about downloading objects + // from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User Guide. + // + // This functionality is not supported for directory buckets. + // + // [Downloading Objects in Requester Pays Buckets]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html + RequestPayer types.RequestPayer + + // The version ID of the object that you want to update the server-side + // encryption type for. + VersionId *string + + noSmithyDocumentSerde +} + +func (in *UpdateObjectEncryptionInput) bindEndpointParams(p *EndpointParameters) { + + p.Bucket = in.Bucket + +} + +type UpdateObjectEncryptionOutput struct { + + // If present, indicates that the requester was successfully charged for the + // request. For more information, see [Using Requester Pays buckets for storage transfers and usage]in the Amazon Simple Storage Service user + // guide. + // + // This functionality is not supported for directory buckets. + // + // [Using Requester Pays buckets for storage transfers and usage]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html + RequestCharged types.RequestCharged + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationUpdateObjectEncryptionMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsRestxml_serializeOpUpdateObjectEncryption{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestxml_deserializeOpUpdateObjectEncryption{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "UpdateObjectEncryption"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addPutBucketContextMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addIsExpressUserAgent(stack); err != nil { + return err + } + if err = addRequestChecksumMetricsTracking(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpUpdateObjectEncryptionValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateObjectEncryption(options.Region), middleware.Before); err != nil { + return err + } + if err = addMetadataRetrieverMiddleware(stack); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addUpdateObjectEncryptionInputChecksumMiddlewares(stack, options); err != nil { + return err + } + if err = addUpdateObjectEncryptionUpdateEndpoint(stack, options); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = v4.AddContentSHA256HeaderMiddleware(stack); err != nil { + return err + } + if err = disableAcceptEncodingGzip(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addSerializeImmutableHostnameBucketMiddleware(stack, options); err != nil { + return err + } + if err = s3cust.AddExpressDefaultChecksumMiddleware(stack); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func (v *UpdateObjectEncryptionInput) bucket() (string, bool) { + if v.Bucket == nil { + return "", false + } + return *v.Bucket, true +} + +func newServiceMetadataMiddleware_opUpdateObjectEncryption(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "UpdateObjectEncryption", + } +} + +// getUpdateObjectEncryptionRequestAlgorithmMember gets the request checksum +// algorithm value provided as input. +func getUpdateObjectEncryptionRequestAlgorithmMember(input interface{}) (string, bool) { + in := input.(*UpdateObjectEncryptionInput) + if len(in.ChecksumAlgorithm) == 0 { + return "", false + } + return string(in.ChecksumAlgorithm), true +} + +func addUpdateObjectEncryptionInputChecksumMiddlewares(stack *middleware.Stack, options Options) error { + return addInputChecksumMiddleware(stack, internalChecksum.InputMiddlewareOptions{ + GetAlgorithm: getUpdateObjectEncryptionRequestAlgorithmMember, + RequireChecksum: true, + RequestChecksumCalculation: options.RequestChecksumCalculation, + EnableTrailingChecksum: false, + EnableComputeSHA256PayloadHash: true, + EnableDecodedContentLengthHeader: true, + }) +} + +// getUpdateObjectEncryptionBucketMember returns a pointer to string denoting a +// provided bucket member valueand a boolean indicating if the input has a modeled +// bucket name, +func getUpdateObjectEncryptionBucketMember(input interface{}) (*string, bool) { + in := input.(*UpdateObjectEncryptionInput) + if in.Bucket == nil { + return nil, false + } + return in.Bucket, true +} +func addUpdateObjectEncryptionUpdateEndpoint(stack *middleware.Stack, options Options) error { + return s3cust.UpdateEndpoint(stack, s3cust.UpdateEndpointOptions{ + Accessor: s3cust.UpdateEndpointParameterAccessor{ + GetBucketFromInput: getUpdateObjectEncryptionBucketMember, + }, + UsePathStyle: options.UsePathStyle, + UseAccelerate: options.UseAccelerate, + SupportsAccelerate: true, + TargetS3ObjectLambda: false, + EndpointResolver: options.EndpointResolver, + EndpointResolverOptions: options.EndpointOptions, + UseARNRegion: options.UseARNRegion, + DisableMultiRegionAccessPoints: options.DisableMultiRegionAccessPoints, + }) +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UploadPart.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UploadPart.go index 17f82aecb1..d7950f612f 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UploadPart.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UploadPart.go @@ -113,6 +113,12 @@ import ( // only need to specify the server-side encryption parameters in the initial // Initiate Multipart request. For more information, see [CreateMultipartUpload]. // +// If you have server-side encryption with customer-provided keys (SSE-C) blocked +// +// for your general purpose bucket, you will get an HTTP 403 Access Denied error +// when you specify the SSE-C request headers while writing new data to your +// bucket. For more information, see [Blocking or unblocking SSE-C for a general purpose bucket]. +// // If you request server-side encryption using a customer-provided encryption key // // (SSE-C) in your initiate multipart upload request, you must provide identical @@ -157,6 +163,10 @@ import ( // // [ListMultipartUploads] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Concepts for directory buckets in Local Zones]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html // [ListParts]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html // [Authenticating Requests: Using the Authorization Header (Amazon Web Services Signature Version 4)]: https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-auth-using-authorization-header.html @@ -174,6 +184,7 @@ import ( // [Multipart upload and permissions]: https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html // [CreateSession]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html // [Multipart upload API and permissions]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html#mpuAndPermissions +// [Blocking or unblocking SSE-C for a general purpose bucket]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/blocking-unblocking-s3-c-encryption-gpb.html func (c *Client) UploadPart(ctx context.Context, params *UploadPartInput, optFns ...func(*Options)) (*UploadPartOutput, error) { if params == nil { params = &UploadPartInput{} @@ -323,9 +334,8 @@ type UploadPartInput struct { // Confirms that the requester knows that they will be charged for the request. // Bucket owners need not specify this parameter in their requests. If either the // source or destination S3 bucket has Requester Pays enabled, the requester will - // pay for corresponding charges to copy the object. For information about - // downloading objects from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User - // Guide. + // pay for the corresponding charges. For information about downloading objects + // from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User Guide. // // This functionality is not supported for directory buckets. // @@ -371,7 +381,7 @@ type UploadPartOutput struct { BucketKeyEnabled *bool // The Base64 encoded, 32-bit CRC32 checksum of the object. This checksum is only - // be present if the checksum was uploaded with the object. When you use an API + // present if the checksum was uploaded with the object. When you use an API // operation on an object that was uploaded using multipart uploads, this value may // not be a direct checksum value of the full object. Instead, it's a calculation // based on the checksum values of each individual part. For more information about @@ -400,8 +410,8 @@ type UploadPartOutput struct { // [Checking object integrity]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html ChecksumCRC64NVME *string - // The Base64 encoded, 160-bit SHA1 digest of the object. This will only be - // present if the object was uploaded with the object. When you use the API + // The Base64 encoded, 160-bit SHA1 digest of the object. This checksum is only + // present if the checksum was uploaded with the object. When you use the API // operation on an object that was uploaded using multipart uploads, this value may // not be a direct checksum value of the full object. Instead, it's a calculation // based on the checksum values of each individual part. For more information about @@ -411,8 +421,8 @@ type UploadPartOutput struct { // [Checking object integrity]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums ChecksumSHA1 *string - // The Base64 encoded, 256-bit SHA256 digest of the object. This will only be - // present if the object was uploaded with the object. When you use an API + // The Base64 encoded, 256-bit SHA256 digest of the object. This checksum is only + // present if the checksum was uploaded with the object. When you use an API // operation on an object that was uploaded using multipart uploads, this value may // not be a direct checksum value of the full object. Instead, it's a calculation // based on the checksum values of each individual part. For more information about @@ -588,40 +598,7 @@ func (c *Client) addOperationUploadPartMiddlewares(stack *middleware.Stack, opti if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UploadPartCopy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UploadPartCopy.go index d2ef00bb31..f6a7126e7c 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UploadPartCopy.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UploadPartCopy.go @@ -101,15 +101,20 @@ import ( // For example policies, see [Example bucket policies for S3 Express One Zone]and [Amazon Web Services Identity and Access Management (IAM) identity-based policies for S3 Express One Zone]in the Amazon S3 User Guide. // // Encryption -// // - General purpose buckets - For information about using server-side // encryption with customer-provided encryption keys with the UploadPartCopy // operation, see [CopyObject]and [UploadPart]. // -// - Directory buckets - For directory buckets, there are only two supported -// options for server-side encryption: server-side encryption with Amazon S3 -// managed keys (SSE-S3) ( AES256 ) and server-side encryption with KMS keys -// (SSE-KMS) ( aws:kms ). For more information, see [Protecting data with server-side encryption]in the Amazon S3 User Guide. +// If you have server-side encryption with customer-provided keys (SSE-C) blocked +// +// for your general purpose bucket, you will get an HTTP 403 Access Denied error +// when you specify the SSE-C request headers while writing new data to your +// bucket. For more information, see [Blocking or unblocking SSE-C for a general purpose bucket]. +// +// - Directory buckets - For directory buckets, there are only two supported +// options for server-side encryption: server-side encryption with Amazon S3 +// managed keys (SSE-S3) ( AES256 ) and server-side encryption with KMS keys +// (SSE-KMS) ( aws:kms ). For more information, see [Protecting data with server-side encryption]in the Amazon S3 User Guide. // // For directory buckets, when you perform a CreateMultipartUpload operation and an // @@ -157,6 +162,10 @@ import ( // // [ListMultipartUploads] // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Uploading Objects Using Multipart Upload]: https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html // [Concepts for directory buckets in Local Zones]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html // [ListParts]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html @@ -173,11 +182,12 @@ import ( // [REST Authentication]: https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html // [Example bucket policies for S3 Express One Zone]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-example-bucket-policies.html // [Operations on Objects]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectOperations.html -// [Protecting data with server-side encryption]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html // [ListMultipartUploads]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html // [Regional and Zonal endpoints for directory buckets in Availability Zones]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html // +// [Blocking or unblocking SSE-C for a general purpose bucket]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/blocking-unblocking-s3-c-encryption-gpb.html // [UploadPartCopy]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html +// [Protecting data with server-side encryption]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html func (c *Client) UploadPartCopy(ctx context.Context, params *UploadPartCopyInput, optFns ...func(*Options)) (*UploadPartCopyOutput, error) { if params == nil { params = &UploadPartCopyInput{} @@ -404,9 +414,8 @@ type UploadPartCopyInput struct { // Confirms that the requester knows that they will be charged for the request. // Bucket owners need not specify this parameter in their requests. If either the // source or destination S3 bucket has Requester Pays enabled, the requester will - // pay for corresponding charges to copy the object. For information about - // downloading objects from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User - // Guide. + // pay for the corresponding charges. For information about downloading objects + // from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets]in the Amazon S3 User Guide. // // This functionality is not supported for directory buckets. // @@ -617,40 +626,7 @@ func (c *Client) addOperationUploadPartCopyMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_WriteGetObjectResponse.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_WriteGetObjectResponse.go index fefeb1be61..45c3043d1f 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_WriteGetObjectResponse.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_WriteGetObjectResponse.go @@ -63,6 +63,10 @@ import ( // For information on how to view and use these functions, see [Using Amazon Web Services built Lambda functions] in the Amazon S3 // User Guide. // +// You must URL encode any signed header values that contain spaces. For example, +// if your header value is my file.txt , containing two spaces after my , you must +// URL encode this value to my%20%20file.txt . +// // [Transforming objects with Object Lambda access points]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/transforming-objects.html // [Using Amazon Web Services built Lambda functions]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/olap-examples.html // [GetObject]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html @@ -470,40 +474,7 @@ func (c *Client) addOperationWriteGetObjectResponseMiddlewares(stack *middleware if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/auth.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/auth.go index f358f3aa88..29ed5d2446 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/auth.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/auth.go @@ -16,12 +16,14 @@ import ( "strings" ) -func bindAuthParamsRegion(_ interface{}, params *AuthResolverParameters, _ interface{}, options Options) { +func bindAuthParamsRegion(_ interface{}, params *AuthResolverParameters, _ interface{}, options Options) error { params.Region = options.Region + return nil } -func bindAuthEndpointParams(ctx context.Context, params *AuthResolverParameters, input interface{}, options Options) { - params.endpointParams = bindEndpointParams(ctx, input, options) +func bindAuthEndpointParams(ctx context.Context, params *AuthResolverParameters, input interface{}, options Options) (err error) { + params.endpointParams, err = bindEndpointParams(ctx, input, options) + return } type setLegacyContextSigningOptionsMiddleware struct { @@ -102,15 +104,20 @@ type AuthResolverParameters struct { Region string } -func bindAuthResolverParams(ctx context.Context, operation string, input interface{}, options Options) *AuthResolverParameters { +func bindAuthResolverParams(ctx context.Context, operation string, input interface{}, options Options) (*AuthResolverParameters, error) { params := &AuthResolverParameters{ Operation: operation, } - bindAuthEndpointParams(ctx, params, input, options) - bindAuthParamsRegion(ctx, params, input, options) + if err := bindAuthEndpointParams(ctx, params, input, options); err != nil { + return nil, err + } - return params + if err := bindAuthParamsRegion(ctx, params, input, options); err != nil { + return nil, err + } + + return params, nil } // AuthSchemeResolver returns a set of possible authentication options for an @@ -186,7 +193,10 @@ func (m *resolveAuthSchemeMiddleware) HandleFinalize(ctx context.Context, in mid _, span := tracing.StartSpan(ctx, "ResolveAuthScheme") defer span.End() - params := bindAuthResolverParams(ctx, m.operation, getOperationInput(ctx), m.options) + params, err := bindAuthResolverParams(ctx, m.operation, getOperationInput(ctx), m.options) + if err != nil { + return out, metadata, fmt.Errorf("bind auth scheme params: %w", err) + } options, err := m.options.AuthSchemeResolver.ResolveAuthSchemes(ctx, params) if err != nil { return out, metadata, fmt.Errorf("resolve auth scheme: %w", err) diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/deserializers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/deserializers.go index 26f1235b16..40d843272a 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/deserializers.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/deserializers.go @@ -3002,6 +3002,150 @@ func awsRestxml_deserializeOpErrorDeletePublicAccessBlock(response *smithyhttp.R } } +type awsRestxml_deserializeOpGetBucketAbac struct { +} + +func (*awsRestxml_deserializeOpGetBucketAbac) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpGetBucketAbac) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorGetBucketAbac(response, &metadata) + } + output := &GetBucketAbacOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentAbacStatus(&output.AbacStatus, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + span.End() + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorGetBucketAbac(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, s3shared.ErrorResponseDeserializerOptions{ + UseStatusCode: true, StatusCode: response.StatusCode, + }) + if err != nil { + return err + } + if hostID := errorComponents.HostID; len(hostID) != 0 { + s3shared.SetHostIDMetadata(metadata, hostID) + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestxml_deserializeOpDocumentGetBucketAbacOutput(v **GetBucketAbacOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *GetBucketAbacOutput + if *v == nil { + sv = &GetBucketAbacOutput{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("AbacStatus", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentAbacStatus(&sv.AbacStatus, nodeDecoder); err != nil { + return err + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + type awsRestxml_deserializeOpGetBucketAccelerateConfiguration struct { } @@ -10878,6 +11022,86 @@ func awsRestxml_deserializeOpDocumentListPartsOutput(v **ListPartsOutput, decode return nil } +type awsRestxml_deserializeOpPutBucketAbac struct { +} + +func (*awsRestxml_deserializeOpPutBucketAbac) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpPutBucketAbac) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorPutBucketAbac(response, &metadata) + } + output := &PutBucketAbacOutput{} + out.Result = output + + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), + } + } + + span.End() + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorPutBucketAbac(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, s3shared.ErrorResponseDeserializerOptions{ + UseStatusCode: true, StatusCode: response.StatusCode, + }) + if err != nil { + return err + } + if hostID := errorComponents.HostID; len(hostID) != 0 { + s3shared.SetHostIDMetadata(metadata, hostID) + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + type awsRestxml_deserializeOpPutBucketAccelerateConfiguration struct { } @@ -13476,14 +13700,14 @@ func awsRestxml_deserializeOpErrorUpdateBucketMetadataJournalTableConfiguration( } } -type awsRestxml_deserializeOpUploadPart struct { +type awsRestxml_deserializeOpUpdateObjectEncryption struct { } -func (*awsRestxml_deserializeOpUploadPart) ID() string { +func (*awsRestxml_deserializeOpUpdateObjectEncryption) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpUploadPart) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpUpdateObjectEncryption) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13501,12 +13725,12 @@ func (m *awsRestxml_deserializeOpUploadPart) HandleDeserialize(ctx context.Conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorUploadPart(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorUpdateObjectEncryption(response, &metadata) } - output := &UploadPartOutput{} + output := &UpdateObjectEncryptionOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsUploadPartOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsUpdateObjectEncryptionOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -13515,7 +13739,7 @@ func (m *awsRestxml_deserializeOpUploadPart) HandleDeserialize(ctx context.Conte return out, metadata, err } -func awsRestxml_deserializeOpErrorUploadPart(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorUpdateObjectEncryption(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13545,6 +13769,15 @@ func awsRestxml_deserializeOpErrorUploadPart(response *smithyhttp.Response, meta } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("AccessDenied", errorCode): + return awsRestxml_deserializeErrorAccessDenied(response, errorBody) + + case strings.EqualFold("InvalidRequest", errorCode): + return awsRestxml_deserializeErrorInvalidRequest(response, errorBody) + + case strings.EqualFold("NoSuchKey", errorCode): + return awsRestxml_deserializeErrorNoSuchKey(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -13555,37 +13788,129 @@ func awsRestxml_deserializeOpErrorUploadPart(response *smithyhttp.Response, meta } } -func awsRestxml_deserializeOpHttpBindingsUploadPartOutput(v *UploadPartOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsUpdateObjectEncryptionOutput(v *UpdateObjectEncryptionOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } - if headerValues := response.Header.Values("x-amz-server-side-encryption-bucket-key-enabled"); len(headerValues) != 0 { + if headerValues := response.Header.Values("x-amz-request-charged"); len(headerValues) != 0 { headerValues[0] = strings.TrimSpace(headerValues[0]) - vv, err := strconv.ParseBool(headerValues[0]) - if err != nil { - return err - } - v.BucketKeyEnabled = ptr.Bool(vv) + v.RequestCharged = types.RequestCharged(headerValues[0]) } - if headerValues := response.Header.Values("x-amz-checksum-crc32"); len(headerValues) != 0 { - headerValues[0] = strings.TrimSpace(headerValues[0]) - v.ChecksumCRC32 = ptr.String(headerValues[0]) - } + return nil +} - if headerValues := response.Header.Values("x-amz-checksum-crc32c"); len(headerValues) != 0 { - headerValues[0] = strings.TrimSpace(headerValues[0]) - v.ChecksumCRC32C = ptr.String(headerValues[0]) - } +type awsRestxml_deserializeOpUploadPart struct { +} - if headerValues := response.Header.Values("x-amz-checksum-crc64nvme"); len(headerValues) != 0 { - headerValues[0] = strings.TrimSpace(headerValues[0]) - v.ChecksumCRC64NVME = ptr.String(headerValues[0]) +func (*awsRestxml_deserializeOpUploadPart) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpUploadPart) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err } - if headerValues := response.Header.Values("x-amz-checksum-sha1"); len(headerValues) != 0 { - headerValues[0] = strings.TrimSpace(headerValues[0]) + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorUploadPart(response, &metadata) + } + output := &UploadPartOutput{} + out.Result = output + + err = awsRestxml_deserializeOpHttpBindingsUploadPartOutput(output, response) + if err != nil { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} + } + + span.End() + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorUploadPart(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, s3shared.ErrorResponseDeserializerOptions{ + UseStatusCode: true, StatusCode: response.StatusCode, + }) + if err != nil { + return err + } + if hostID := errorComponents.HostID; len(hostID) != 0 { + s3shared.SetHostIDMetadata(metadata, hostID) + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestxml_deserializeOpHttpBindingsUploadPartOutput(v *UploadPartOutput, response *smithyhttp.Response) error { + if v == nil { + return fmt.Errorf("unsupported deserialization for nil %T", v) + } + + if headerValues := response.Header.Values("x-amz-server-side-encryption-bucket-key-enabled"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + vv, err := strconv.ParseBool(headerValues[0]) + if err != nil { + return err + } + v.BucketKeyEnabled = ptr.Bool(vv) + } + + if headerValues := response.Header.Values("x-amz-checksum-crc32"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.ChecksumCRC32 = ptr.String(headerValues[0]) + } + + if headerValues := response.Header.Values("x-amz-checksum-crc32c"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.ChecksumCRC32C = ptr.String(headerValues[0]) + } + + if headerValues := response.Header.Values("x-amz-checksum-crc64nvme"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.ChecksumCRC64NVME = ptr.String(headerValues[0]) + } + + if headerValues := response.Header.Values("x-amz-checksum-sha1"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) v.ChecksumSHA1 = ptr.String(headerValues[0]) } @@ -14410,23 +14735,168 @@ func awsRestxml_deserializeDocumentStats(v **types.Stats, decoder smithyxml.Node return nil } +func awsRestxml_deserializeErrorAccessDenied(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.AccessDenied{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentAccessDenied(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return output +} + func awsRestxml_deserializeErrorBucketAlreadyExists(response *smithyhttp.Response, errorBody *bytes.Reader) error { output := &types.BucketAlreadyExists{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentBucketAlreadyExists(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + return output } func awsRestxml_deserializeErrorBucketAlreadyOwnedByYou(response *smithyhttp.Response, errorBody *bytes.Reader) error { output := &types.BucketAlreadyOwnedByYou{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentBucketAlreadyOwnedByYou(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + return output } func awsRestxml_deserializeErrorEncryptionTypeMismatch(response *smithyhttp.Response, errorBody *bytes.Reader) error { output := &types.EncryptionTypeMismatch{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentEncryptionTypeMismatch(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + return output } func awsRestxml_deserializeErrorIdempotencyParameterMismatch(response *smithyhttp.Response, errorBody *bytes.Reader) error { output := &types.IdempotencyParameterMismatch{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentIdempotencyParameterMismatch(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + return output } @@ -14465,49 +14935,350 @@ func awsRestxml_deserializeErrorInvalidObjectState(response *smithyhttp.Response func awsRestxml_deserializeErrorInvalidRequest(response *smithyhttp.Response, errorBody *bytes.Reader) error { output := &types.InvalidRequest{} - return output -} - -func awsRestxml_deserializeErrorInvalidWriteOffset(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.InvalidWriteOffset{} - return output -} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentInvalidRequest(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return output +} + +func awsRestxml_deserializeErrorInvalidWriteOffset(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.InvalidWriteOffset{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentInvalidWriteOffset(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return output +} func awsRestxml_deserializeErrorNoSuchBucket(response *smithyhttp.Response, errorBody *bytes.Reader) error { output := &types.NoSuchBucket{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentNoSuchBucket(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + return output } func awsRestxml_deserializeErrorNoSuchKey(response *smithyhttp.Response, errorBody *bytes.Reader) error { output := &types.NoSuchKey{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentNoSuchKey(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + return output } func awsRestxml_deserializeErrorNoSuchUpload(response *smithyhttp.Response, errorBody *bytes.Reader) error { output := &types.NoSuchUpload{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentNoSuchUpload(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + return output } func awsRestxml_deserializeErrorNotFound(response *smithyhttp.Response, errorBody *bytes.Reader) error { output := &types.NotFound{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentNotFound(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + return output } func awsRestxml_deserializeErrorObjectAlreadyInActiveTierError(response *smithyhttp.Response, errorBody *bytes.Reader) error { output := &types.ObjectAlreadyInActiveTierError{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentObjectAlreadyInActiveTierError(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + return output } func awsRestxml_deserializeErrorObjectNotInActiveTierError(response *smithyhttp.Response, errorBody *bytes.Reader) error { output := &types.ObjectNotInActiveTierError{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentObjectNotInActiveTierError(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + return output } func awsRestxml_deserializeErrorTooManyParts(response *smithyhttp.Response, errorBody *bytes.Reader) error { output := &types.TooManyParts{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeDocumentTooManyParts(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + return output } +func awsRestxml_deserializeDocumentAbacStatus(v **types.AbacStatus, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.AbacStatus + if *v == nil { + sv = &types.AbacStatus{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Status", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Status = types.BucketAbacStatus(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + func awsRestxml_deserializeDocumentAbortIncompleteMultipartUpload(v **types.AbortIncompleteMultipartUpload, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -14610,6 +15381,55 @@ func awsRestxml_deserializeDocumentAccessControlTranslation(v **types.AccessCont return nil } +func awsRestxml_deserializeDocumentAccessDenied(v **types.AccessDenied, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.AccessDenied + if *v == nil { + sv = &types.AccessDenied{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + func awsRestxml_deserializeDocumentAllowedHeaders(v *[]string, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -15235,6 +16055,48 @@ func awsRestxml_deserializeDocumentAnalyticsS3BucketDestination(v **types.Analyt return nil } +func awsRestxml_deserializeDocumentBlockedEncryptionTypes(v **types.BlockedEncryptionTypes, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.BlockedEncryptionTypes + if *v == nil { + sv = &types.BlockedEncryptionTypes{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("EncryptionType", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentEncryptionTypeListUnwrapped(&sv.EncryptionType, nodeDecoder); err != nil { + return err + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + func awsRestxml_deserializeDocumentBucket(v **types.Bucket, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -15349,6 +16211,19 @@ func awsRestxml_deserializeDocumentBucketAlreadyExists(v **types.BucketAlreadyEx originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { + case strings.EqualFold("Message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + default: // Do nothing and ignore the unexpected tag element err = decoder.Decoder.Skip() @@ -15385,6 +16260,19 @@ func awsRestxml_deserializeDocumentBucketAlreadyOwnedByYou(v **types.BucketAlrea originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { + case strings.EqualFold("Message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + default: // Do nothing and ignore the unexpected tag element err = decoder.Decoder.Skip() @@ -16956,6 +17844,86 @@ func awsRestxml_deserializeDocumentEncryptionConfiguration(v **types.EncryptionC return nil } +func awsRestxml_deserializeDocumentEncryptionTypeList(v *[]types.EncryptionType, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv []types.EncryptionType + if *v == nil { + sv = make([]types.EncryptionType, 0) + } else { + sv = *v + } + + originalDecoder := decoder + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + memberDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + decoder = memberDecoder + switch { + case strings.EqualFold("EncryptionType", t.Name.Local): + var col types.EncryptionType + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + col = types.EncryptionType(xtv) + } + sv = append(sv, col) + + default: + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentEncryptionTypeListUnwrapped(v *[]types.EncryptionType, decoder smithyxml.NodeDecoder) error { + var sv []types.EncryptionType + if *v == nil { + sv = make([]types.EncryptionType, 0) + } else { + sv = *v + } + + switch { + default: + var mv types.EncryptionType + t := decoder.StartEl + _ = t + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + mv = types.EncryptionType(xtv) + } + sv = append(sv, mv) + } + *v = sv + return nil +} func awsRestxml_deserializeDocumentEncryptionTypeMismatch(v **types.EncryptionTypeMismatch, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -16978,6 +17946,19 @@ func awsRestxml_deserializeDocumentEncryptionTypeMismatch(v **types.EncryptionTy originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { + case strings.EqualFold("Message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + default: // Do nothing and ignore the unexpected tag element err = decoder.Decoder.Skip() @@ -18103,6 +19084,19 @@ func awsRestxml_deserializeDocumentIdempotencyParameterMismatch(v **types.Idempo originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { + case strings.EqualFold("Message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + default: // Do nothing and ignore the unexpected tag element err = decoder.Decoder.Skip() @@ -18521,6 +19515,19 @@ func awsRestxml_deserializeDocumentInvalidObjectState(v **types.InvalidObjectSta sv.AccessTier = types.IntelligentTieringAccessTier(xtv) } + case strings.EqualFold("Message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + case strings.EqualFold("StorageClass", t.Name.Local): val, err := decoder.Value() if err != nil { @@ -18570,6 +19577,19 @@ func awsRestxml_deserializeDocumentInvalidRequest(v **types.InvalidRequest, deco originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { + case strings.EqualFold("Message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + default: // Do nothing and ignore the unexpected tag element err = decoder.Decoder.Skip() @@ -18606,6 +19626,19 @@ func awsRestxml_deserializeDocumentInvalidWriteOffset(v **types.InvalidWriteOffs originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { + case strings.EqualFold("Message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + default: // Do nothing and ignore the unexpected tag element err = decoder.Decoder.Skip() @@ -20868,6 +21901,19 @@ func awsRestxml_deserializeDocumentNoSuchBucket(v **types.NoSuchBucket, decoder originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { + case strings.EqualFold("Message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + default: // Do nothing and ignore the unexpected tag element err = decoder.Decoder.Skip() @@ -20904,6 +21950,19 @@ func awsRestxml_deserializeDocumentNoSuchKey(v **types.NoSuchKey, decoder smithy originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { + case strings.EqualFold("Message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + default: // Do nothing and ignore the unexpected tag element err = decoder.Decoder.Skip() @@ -20940,6 +21999,19 @@ func awsRestxml_deserializeDocumentNoSuchUpload(v **types.NoSuchUpload, decoder originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { + case strings.EqualFold("Message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + default: // Do nothing and ignore the unexpected tag element err = decoder.Decoder.Skip() @@ -20976,6 +22048,19 @@ func awsRestxml_deserializeDocumentNotFound(v **types.NotFound, decoder smithyxm originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { + case strings.EqualFold("Message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + default: // Do nothing and ignore the unexpected tag element err = decoder.Decoder.Skip() @@ -21194,6 +22279,19 @@ func awsRestxml_deserializeDocumentObjectAlreadyInActiveTierError(v **types.Obje originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { + case strings.EqualFold("Message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + default: // Do nothing and ignore the unexpected tag element err = decoder.Decoder.Skip() @@ -21510,6 +22608,19 @@ func awsRestxml_deserializeDocumentObjectNotInActiveTierError(v **types.ObjectNo originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { + case strings.EqualFold("Message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + default: // Do nothing and ignore the unexpected tag element err = decoder.Decoder.Skip() @@ -23955,6 +25066,12 @@ func awsRestxml_deserializeDocumentServerSideEncryptionRule(v **types.ServerSide return err } + case strings.EqualFold("BlockedEncryptionTypes", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentBlockedEncryptionTypes(&sv.BlockedEncryptionTypes, nodeDecoder); err != nil { + return err + } + case strings.EqualFold("BucketKeyEnabled", t.Name.Local): val, err := decoder.Value() if err != nil { @@ -24917,6 +26034,19 @@ func awsRestxml_deserializeDocumentTooManyParts(v **types.TooManyParts, decoder originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { + case strings.EqualFold("Message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + default: // Do nothing and ignore the unexpected tag element err = decoder.Decoder.Skip() diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/endpoints.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/endpoints.go index 578f0225e1..2e0197ec9a 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/endpoints.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/endpoints.go @@ -229,11 +229,15 @@ func resolveBaseEndpoint(cfg aws.Config, o *Options) { } } -func bindRegion(region string) *string { +func bindRegion(region string) (*string, error) { if region == "" { - return nil + return nil, nil + } + if !rulesfn.IsValidHostLabel(region, true) { + return nil, fmt.Errorf("invalid input region %s", region) } - return aws.String(endpoints.MapFIPSRegion(region)) + + return aws.String(endpoints.MapFIPSRegion(region)), nil } // EndpointParameters provides the parameters that influence how endpoints are @@ -523,9 +527,6 @@ func (r *resolver) ResolveEndpoint( _bucketSuffix := *exprVal _ = _bucketSuffix if _bucketSuffix == "--x-s3" { - if _UseDualStack == true { - return endpoint, fmt.Errorf("endpoint rule error, %s", "S3Express does not support Dual-stack.") - } if _Accelerate == true { return endpoint, fmt.Errorf("endpoint rule error, %s", "S3Express does not support S3 Accelerate.") } @@ -728,87 +729,182 @@ func (r *resolver) ResolveEndpoint( _ = _uri_encoded_bucket if !(params.Endpoint != nil) { if _UseFIPS == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3express-control-fips.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - out.WriteString("/") - out.WriteString(_uri_encoded_bucket) - return out.String() - }() + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://s3express-control-fips.dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + out.WriteString("/") + out.WriteString(_uri_encoded_bucket) + return out.String() + }() - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil } + } + if _UseFIPS == true { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://s3express-control-fips.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + out.WriteString("/") + out.WriteString(_uri_encoded_bucket) + return out.String() + }() - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } } - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3express-control.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - out.WriteString("/") - out.WriteString(_uri_encoded_bucket) - return out.String() - }() + if _UseFIPS == false { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://s3express-control.dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + out.WriteString("/") + out.WriteString(_uri_encoded_bucket) + return out.String() + }() - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } } + if _UseFIPS == false { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://s3express-control.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + out.WriteString("/") + out.WriteString(_uri_encoded_bucket) + return out.String() + }() - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") } return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") } @@ -831,1053 +927,2040 @@ func (r *resolver) ResolveEndpoint( _ = _s3expressAvailabilityZoneDelim if _s3expressAvailabilityZoneDelim == "--" { if _UseFIPS == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } } + if _UseFIPS == true { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - if exprVal := rulesfn.SubString(_Bucket, 6, 15, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 15, 17, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil } + } + if _UseFIPS == false { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } } + if _UseFIPS == false { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") } } } - if exprVal := rulesfn.SubString(_Bucket, 6, 19, true); exprVal != nil { + if exprVal := rulesfn.SubString(_Bucket, 6, 15, true); exprVal != nil { _s3expressAvailabilityZoneId := *exprVal _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 19, 21, true); exprVal != nil { + if exprVal := rulesfn.SubString(_Bucket, 15, 17, true); exprVal != nil { _s3expressAvailabilityZoneDelim := *exprVal _ = _s3expressAvailabilityZoneDelim if _s3expressAvailabilityZoneDelim == "--" { if _UseFIPS == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil } + } + if _UseFIPS == true { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } } - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() + if _UseFIPS == false { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } } + if _UseFIPS == false { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") } } } - if exprVal := rulesfn.SubString(_Bucket, 6, 20, true); exprVal != nil { + if exprVal := rulesfn.SubString(_Bucket, 6, 19, true); exprVal != nil { _s3expressAvailabilityZoneId := *exprVal _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 20, 22, true); exprVal != nil { + if exprVal := rulesfn.SubString(_Bucket, 19, 21, true); exprVal != nil { _s3expressAvailabilityZoneDelim := *exprVal _ = _s3expressAvailabilityZoneDelim if _s3expressAvailabilityZoneDelim == "--" { if _UseFIPS == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } } - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() + if _UseFIPS == true { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } } + if _UseFIPS == false { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == false { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") } } } - if exprVal := rulesfn.SubString(_Bucket, 6, 26, true); exprVal != nil { + if exprVal := rulesfn.SubString(_Bucket, 6, 20, true); exprVal != nil { _s3expressAvailabilityZoneId := *exprVal _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 26, 28, true); exprVal != nil { + if exprVal := rulesfn.SubString(_Bucket, 20, 22, true); exprVal != nil { _s3expressAvailabilityZoneDelim := *exprVal _ = _s3expressAvailabilityZoneDelim if _s3expressAvailabilityZoneDelim == "--" { if _UseFIPS == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } } - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "Unrecognized S3Express bucket name format.") - } - } - if exprVal := rulesfn.SubString(_Bucket, 6, 14, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 14, 16, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() + if _UseFIPS == true { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out }(), - }, - }) - return out - }(), - }, nil - } - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() + }, nil + } + } + if _UseFIPS == false { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - if exprVal := rulesfn.SubString(_Bucket, 6, 15, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 15, 17, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == false { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out }(), - }, - }) - return out - }(), - }, nil + }, nil + } + } + return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") + } } - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() + } + if exprVal := rulesfn.SubString(_Bucket, 6, 26, true); exprVal != nil { + _s3expressAvailabilityZoneId := *exprVal + _ = _s3expressAvailabilityZoneId + if exprVal := rulesfn.SubString(_Bucket, 26, 28, true); exprVal != nil { + _s3expressAvailabilityZoneDelim := *exprVal + _ = _s3expressAvailabilityZoneDelim + if _s3expressAvailabilityZoneDelim == "--" { + if _UseFIPS == true { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == true { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == false { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == false { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") + } + } } + return endpoint, fmt.Errorf("endpoint rule error, %s", "Unrecognized S3Express bucket name format.") } } - if exprVal := rulesfn.SubString(_Bucket, 6, 19, true); exprVal != nil { + if exprVal := rulesfn.SubString(_Bucket, 6, 14, true); exprVal != nil { _s3expressAvailabilityZoneId := *exprVal _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 19, 21, true); exprVal != nil { + if exprVal := rulesfn.SubString(_Bucket, 14, 16, true); exprVal != nil { _s3expressAvailabilityZoneDelim := *exprVal _ = _s3expressAvailabilityZoneDelim if _s3expressAvailabilityZoneDelim == "--" { if _UseFIPS == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } } + if _UseFIPS == true { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - if exprVal := rulesfn.SubString(_Bucket, 6, 20, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 20, 22, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil } + } + if _UseFIPS == false { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } } + if _UseFIPS == false { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") } } } - if exprVal := rulesfn.SubString(_Bucket, 6, 26, true); exprVal != nil { + if exprVal := rulesfn.SubString(_Bucket, 6, 15, true); exprVal != nil { _s3expressAvailabilityZoneId := *exprVal _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 26, 28, true); exprVal != nil { + if exprVal := rulesfn.SubString(_Bucket, 15, 17, true); exprVal != nil { _s3expressAvailabilityZoneDelim := *exprVal _ = _s3expressAvailabilityZoneDelim if _s3expressAvailabilityZoneDelim == "--" { if _UseFIPS == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } } + if _UseFIPS == true { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "Unrecognized S3Express bucket name format.") - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "S3Express bucket name is not a valid virtual hostable name.") - } - } - } - if exprVal := params.Bucket; exprVal != nil { - _Bucket := *exprVal - _ = _Bucket - if exprVal := rulesfn.SubString(_Bucket, 0, 7, true); exprVal != nil { - _accessPointSuffix := *exprVal - _ = _accessPointSuffix - if _accessPointSuffix == "--xa-s3" { - if _UseDualStack == true { - return endpoint, fmt.Errorf("endpoint rule error, %s", "S3Express does not support Dual-stack.") - } - if _Accelerate == true { - return endpoint, fmt.Errorf("endpoint rule error, %s", "S3Express does not support S3 Accelerate.") - } - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - if exprVal := rulesfn.ParseURL(_Endpoint); exprVal != nil { - _url := *exprVal - _ = _url - if exprVal := params.DisableS3ExpressSessionAuth; exprVal != nil { - _DisableS3ExpressSessionAuth := *exprVal - _ = _DisableS3ExpressSessionAuth - if _DisableS3ExpressSessionAuth == true { - if _url.IsIp == true { - _uri_encoded_bucket := rulesfn.URIEncode(_Bucket) - _ = _uri_encoded_bucket - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_url.Authority) - out.WriteString("/") - out.WriteString(_uri_encoded_bucket) - out.WriteString(_url.Path) - return out.String() - }() + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } } + if _UseFIPS == false { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - if awsrulesfn.IsVirtualHostableS3Bucket(_Bucket, false) { - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_Bucket) - out.WriteString(".") - out.WriteString(_url.Authority) - out.WriteString(_url.Path) - return out.String() - }() + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } } - + if _UseFIPS == false { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") + } + } + } + if exprVal := rulesfn.SubString(_Bucket, 6, 19, true); exprVal != nil { + _s3expressAvailabilityZoneId := *exprVal + _ = _s3expressAvailabilityZoneId + if exprVal := rulesfn.SubString(_Bucket, 19, 21, true); exprVal != nil { + _s3expressAvailabilityZoneDelim := *exprVal + _ = _s3expressAvailabilityZoneDelim + if _s3expressAvailabilityZoneDelim == "--" { + if _UseFIPS == true { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == true { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == false { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == false { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") + } + } + } + if exprVal := rulesfn.SubString(_Bucket, 6, 20, true); exprVal != nil { + _s3expressAvailabilityZoneId := *exprVal + _ = _s3expressAvailabilityZoneId + if exprVal := rulesfn.SubString(_Bucket, 20, 22, true); exprVal != nil { + _s3expressAvailabilityZoneDelim := *exprVal + _ = _s3expressAvailabilityZoneDelim + if _s3expressAvailabilityZoneDelim == "--" { + if _UseFIPS == true { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == true { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == false { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == false { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") + } + } + } + if exprVal := rulesfn.SubString(_Bucket, 6, 26, true); exprVal != nil { + _s3expressAvailabilityZoneId := *exprVal + _ = _s3expressAvailabilityZoneId + if exprVal := rulesfn.SubString(_Bucket, 26, 28, true); exprVal != nil { + _s3expressAvailabilityZoneDelim := *exprVal + _ = _s3expressAvailabilityZoneDelim + if _s3expressAvailabilityZoneDelim == "--" { + if _UseFIPS == true { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == true { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == false { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == false { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") + } + } + } + return endpoint, fmt.Errorf("endpoint rule error, %s", "Unrecognized S3Express bucket name format.") + } + return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") + } + return endpoint, fmt.Errorf("endpoint rule error, %s", "S3Express bucket name is not a valid virtual hostable name.") + } + } + } + if exprVal := params.Bucket; exprVal != nil { + _Bucket := *exprVal + _ = _Bucket + if exprVal := rulesfn.SubString(_Bucket, 0, 7, true); exprVal != nil { + _accessPointSuffix := *exprVal + _ = _accessPointSuffix + if _accessPointSuffix == "--xa-s3" { + if _Accelerate == true { + return endpoint, fmt.Errorf("endpoint rule error, %s", "S3Express does not support S3 Accelerate.") + } + if exprVal := params.Endpoint; exprVal != nil { + _Endpoint := *exprVal + _ = _Endpoint + if exprVal := rulesfn.ParseURL(_Endpoint); exprVal != nil { + _url := *exprVal + _ = _url + if exprVal := params.DisableS3ExpressSessionAuth; exprVal != nil { + _DisableS3ExpressSessionAuth := *exprVal + _ = _DisableS3ExpressSessionAuth + if _DisableS3ExpressSessionAuth == true { + if _url.IsIp == true { + _uri_encoded_bucket := rulesfn.URIEncode(_Bucket) + _ = _uri_encoded_bucket + uriString := func() string { + var out strings.Builder + out.WriteString(_url.Scheme) + out.WriteString("://") + out.WriteString(_url.Authority) + out.WriteString("/") + out.WriteString(_uri_encoded_bucket) + out.WriteString(_url.Path) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + if awsrulesfn.IsVirtualHostableS3Bucket(_Bucket, false) { + uriString := func() string { + var out strings.Builder + out.WriteString(_url.Scheme) + out.WriteString("://") + out.WriteString(_Bucket) + out.WriteString(".") + out.WriteString(_url.Authority) + out.WriteString(_url.Path) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ URI: *uri, Headers: http.Header{}, @@ -1891,176 +2974,1399 @@ func (r *resolver) ResolveEndpoint( var sp smithy.Properties smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + return endpoint, fmt.Errorf("endpoint rule error, %s", "S3Express bucket name is not a valid virtual hostable name.") + } + } + if _url.IsIp == true { + _uri_encoded_bucket := rulesfn.URIEncode(_Bucket) + _ = _uri_encoded_bucket + uriString := func() string { + var out strings.Builder + out.WriteString(_url.Scheme) + out.WriteString("://") + out.WriteString(_url.Authority) + out.WriteString("/") + out.WriteString(_uri_encoded_bucket) + out.WriteString(_url.Path) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + if awsrulesfn.IsVirtualHostableS3Bucket(_Bucket, false) { + uriString := func() string { + var out strings.Builder + out.WriteString(_url.Scheme) + out.WriteString("://") + out.WriteString(_Bucket) + out.WriteString(".") + out.WriteString(_url.Authority) + out.WriteString(_url.Path) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + return endpoint, fmt.Errorf("endpoint rule error, %s", "S3Express bucket name is not a valid virtual hostable name.") + } + } + if awsrulesfn.IsVirtualHostableS3Bucket(_Bucket, false) { + if exprVal := awsrulesfn.GetPartition(_Region); exprVal != nil { + _partitionResult := *exprVal + _ = _partitionResult + if exprVal := params.DisableS3ExpressSessionAuth; exprVal != nil { + _DisableS3ExpressSessionAuth := *exprVal + _ = _DisableS3ExpressSessionAuth + if _DisableS3ExpressSessionAuth == true { + if exprVal := rulesfn.SubString(_Bucket, 7, 15, true); exprVal != nil { + _s3expressAvailabilityZoneId := *exprVal + _ = _s3expressAvailabilityZoneId + if exprVal := rulesfn.SubString(_Bucket, 15, 17, true); exprVal != nil { + _s3expressAvailabilityZoneDelim := *exprVal + _ = _s3expressAvailabilityZoneDelim + if _s3expressAvailabilityZoneDelim == "--" { + if _UseFIPS == true { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == true { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == false { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == false { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") + } + } + } + if exprVal := rulesfn.SubString(_Bucket, 7, 16, true); exprVal != nil { + _s3expressAvailabilityZoneId := *exprVal + _ = _s3expressAvailabilityZoneId + if exprVal := rulesfn.SubString(_Bucket, 16, 18, true); exprVal != nil { + _s3expressAvailabilityZoneDelim := *exprVal + _ = _s3expressAvailabilityZoneDelim + if _s3expressAvailabilityZoneDelim == "--" { + if _UseFIPS == true { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == true { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == false { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == false { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") + } + } + } + if exprVal := rulesfn.SubString(_Bucket, 7, 20, true); exprVal != nil { + _s3expressAvailabilityZoneId := *exprVal + _ = _s3expressAvailabilityZoneId + if exprVal := rulesfn.SubString(_Bucket, 20, 22, true); exprVal != nil { + _s3expressAvailabilityZoneDelim := *exprVal + _ = _s3expressAvailabilityZoneDelim + if _s3expressAvailabilityZoneDelim == "--" { + if _UseFIPS == true { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == true { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == false { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == false { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") + } + } + } + if exprVal := rulesfn.SubString(_Bucket, 7, 21, true); exprVal != nil { + _s3expressAvailabilityZoneId := *exprVal + _ = _s3expressAvailabilityZoneId + if exprVal := rulesfn.SubString(_Bucket, 21, 23, true); exprVal != nil { + _s3expressAvailabilityZoneDelim := *exprVal + _ = _s3expressAvailabilityZoneDelim + if _s3expressAvailabilityZoneDelim == "--" { + if _UseFIPS == true { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == true { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == false { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == false { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") + } + } + } + if exprVal := rulesfn.SubString(_Bucket, 7, 27, true); exprVal != nil { + _s3expressAvailabilityZoneId := *exprVal + _ = _s3expressAvailabilityZoneId + if exprVal := rulesfn.SubString(_Bucket, 27, 29, true); exprVal != nil { + _s3expressAvailabilityZoneDelim := *exprVal + _ = _s3expressAvailabilityZoneDelim + if _s3expressAvailabilityZoneDelim == "--" { + if _UseFIPS == true { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == true { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == false { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == false { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") + } + } } - return endpoint, fmt.Errorf("endpoint rule error, %s", "S3Express bucket name is not a valid virtual hostable name.") + return endpoint, fmt.Errorf("endpoint rule error, %s", "Unrecognized S3Express bucket name format.") } } - if _url.IsIp == true { - _uri_encoded_bucket := rulesfn.URIEncode(_Bucket) - _ = _uri_encoded_bucket - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_url.Authority) - out.WriteString("/") - out.WriteString(_uri_encoded_bucket) - out.WriteString(_url.Path) - return out.String() - }() + if exprVal := rulesfn.SubString(_Bucket, 7, 15, true); exprVal != nil { + _s3expressAvailabilityZoneId := *exprVal + _ = _s3expressAvailabilityZoneId + if exprVal := rulesfn.SubString(_Bucket, 15, 17, true); exprVal != nil { + _s3expressAvailabilityZoneDelim := *exprVal + _ = _s3expressAvailabilityZoneDelim + if _s3expressAvailabilityZoneDelim == "--" { + if _UseFIPS == true { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == true { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == false { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == false { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - if awsrulesfn.IsVirtualHostableS3Bucket(_Bucket, false) { - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_Bucket) - out.WriteString(".") - out.WriteString(_url.Authority) - out.WriteString(_url.Path) - return out.String() - }() + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") + } } + } + if exprVal := rulesfn.SubString(_Bucket, 7, 16, true); exprVal != nil { + _s3expressAvailabilityZoneId := *exprVal + _ = _s3expressAvailabilityZoneId + if exprVal := rulesfn.SubString(_Bucket, 16, 18, true); exprVal != nil { + _s3expressAvailabilityZoneDelim := *exprVal + _ = _s3expressAvailabilityZoneDelim + if _s3expressAvailabilityZoneDelim == "--" { + if _UseFIPS == true { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "S3Express bucket name is not a valid virtual hostable name.") - } - } - if awsrulesfn.IsVirtualHostableS3Bucket(_Bucket, false) { - if exprVal := awsrulesfn.GetPartition(_Region); exprVal != nil { - _partitionResult := *exprVal - _ = _partitionResult - if exprVal := params.DisableS3ExpressSessionAuth; exprVal != nil { - _DisableS3ExpressSessionAuth := *exprVal - _ = _DisableS3ExpressSessionAuth - if _DisableS3ExpressSessionAuth == true { - if exprVal := rulesfn.SubString(_Bucket, 7, 15, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 15, 17, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == true { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == false { + if _UseDualStack == true { uriString := func() string { var out strings.Builder out.WriteString("https://") out.WriteString(_Bucket) out.WriteString(".s3express-") out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") + out.WriteString(".dualstack.") out.WriteString(_Region) out.WriteString(".") out.WriteString(_partitionResult.DnsSuffix) @@ -2080,7 +4386,7 @@ func (r *resolver) ResolveEndpoint( out.Set("backend", "S3Express") smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ { - SchemeID: "aws.auth#sigv4", + SchemeID: "sigv4-s3express", SignerProperties: func() smithy.Properties { var sp smithy.Properties smithyhttp.SetDisableDoubleEncoding(&sp, true) @@ -2098,58 +4404,8 @@ func (r *resolver) ResolveEndpoint( }, nil } } - } - if exprVal := rulesfn.SubString(_Bucket, 7, 16, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 16, 18, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } + if _UseFIPS == false { + if _UseDualStack == false { uriString := func() string { var out strings.Builder out.WriteString("https://") @@ -2176,7 +4432,7 @@ func (r *resolver) ResolveEndpoint( out.Set("backend", "S3Express") smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ { - SchemeID: "aws.auth#sigv4", + SchemeID: "sigv4-s3express", SignerProperties: func() smithy.Properties { var sp smithy.Properties smithyhttp.SetDisableDoubleEncoding(&sp, true) @@ -2194,63 +4450,70 @@ func (r *resolver) ResolveEndpoint( }, nil } } + return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") } - if exprVal := rulesfn.SubString(_Bucket, 7, 20, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 20, 22, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() + } + } + if exprVal := rulesfn.SubString(_Bucket, 7, 20, true); exprVal != nil { + _s3expressAvailabilityZoneId := *exprVal + _ = _s3expressAvailabilityZoneId + if exprVal := rulesfn.SubString(_Bucket, 20, 22, true); exprVal != nil { + _s3expressAvailabilityZoneDelim := *exprVal + _ = _s3expressAvailabilityZoneDelim + if _s3expressAvailabilityZoneDelim == "--" { + if _UseFIPS == true { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == true { + if _UseDualStack == false { uriString := func() string { var out strings.Builder out.WriteString("https://") out.WriteString(_Bucket) - out.WriteString(".s3express-") + out.WriteString(".s3express-fips-") out.WriteString(_s3expressAvailabilityZoneId) out.WriteString(".") out.WriteString(_Region) @@ -2272,7 +4535,7 @@ func (r *resolver) ResolveEndpoint( out.Set("backend", "S3Express") smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ { - SchemeID: "aws.auth#sigv4", + SchemeID: "sigv4-s3express", SignerProperties: func() smithy.Properties { var sp smithy.Properties smithyhttp.SetDisableDoubleEncoding(&sp, true) @@ -2290,65 +4553,118 @@ func (r *resolver) ResolveEndpoint( }, nil } } - } - if exprVal := rulesfn.SubString(_Bucket, 7, 21, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 21, 23, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() + if _UseFIPS == false { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == false { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") + } + } + } + if exprVal := rulesfn.SubString(_Bucket, 7, 21, true); exprVal != nil { + _s3expressAvailabilityZoneId := *exprVal + _ = _s3expressAvailabilityZoneId + if exprVal := rulesfn.SubString(_Bucket, 21, 23, true); exprVal != nil { + _s3expressAvailabilityZoneDelim := *exprVal + _ = _s3expressAvailabilityZoneDelim + if _s3expressAvailabilityZoneDelim == "--" { + if _UseFIPS == true { + if _UseDualStack == true { uriString := func() string { var out strings.Builder out.WriteString("https://") out.WriteString(_Bucket) - out.WriteString(".s3express-") + out.WriteString(".s3express-fips-") out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") + out.WriteString(".dualstack.") out.WriteString(_Region) out.WriteString(".") out.WriteString(_partitionResult.DnsSuffix) @@ -2368,7 +4684,7 @@ func (r *resolver) ResolveEndpoint( out.Set("backend", "S3Express") smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ { - SchemeID: "aws.auth#sigv4", + SchemeID: "sigv4-s3express", SignerProperties: func() smithy.Properties { var sp smithy.Properties smithyhttp.SetDisableDoubleEncoding(&sp, true) @@ -2386,63 +4702,13 @@ func (r *resolver) ResolveEndpoint( }, nil } } - } - if exprVal := rulesfn.SubString(_Bucket, 7, 27, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 27, 29, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } + if _UseFIPS == true { + if _UseDualStack == false { uriString := func() string { var out strings.Builder out.WriteString("https://") out.WriteString(_Bucket) - out.WriteString(".s3express-") + out.WriteString(".s3express-fips-") out.WriteString(_s3expressAvailabilityZoneId) out.WriteString(".") out.WriteString(_Region) @@ -2464,7 +4730,7 @@ func (r *resolver) ResolveEndpoint( out.Set("backend", "S3Express") smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ { - SchemeID: "aws.auth#sigv4", + SchemeID: "sigv4-s3express", SignerProperties: func() smithy.Properties { var sp smithy.Properties smithyhttp.SetDisableDoubleEncoding(&sp, true) @@ -2482,518 +4748,409 @@ func (r *resolver) ResolveEndpoint( }, nil } } - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "Unrecognized S3Express bucket name format.") - } - } - if exprVal := rulesfn.SubString(_Bucket, 7, 15, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 15, 17, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - if exprVal := rulesfn.SubString(_Bucket, 7, 16, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 16, 18, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + if _UseFIPS == false { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } } + if _UseFIPS == false { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") } } } - if exprVal := rulesfn.SubString(_Bucket, 7, 20, true); exprVal != nil { + if exprVal := rulesfn.SubString(_Bucket, 7, 27, true); exprVal != nil { _s3expressAvailabilityZoneId := *exprVal _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 20, 22, true); exprVal != nil { + if exprVal := rulesfn.SubString(_Bucket, 27, 29, true); exprVal != nil { _s3expressAvailabilityZoneDelim := *exprVal _ = _s3expressAvailabilityZoneDelim if _s3expressAvailabilityZoneDelim == "--" { if _UseFIPS == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } } + if _UseFIPS == true { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-fips-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - if exprVal := rulesfn.SubString(_Bucket, 7, 21, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 21, 23, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil } + } + if _UseFIPS == false { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } } - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() + if _UseFIPS == false { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".s3express-") + out.WriteString(_s3expressAvailabilityZoneId) + out.WriteString(".") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4-s3express", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") } } } - if exprVal := rulesfn.SubString(_Bucket, 7, 27, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 27, 29, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() + return endpoint, fmt.Errorf("endpoint rule error, %s", "Unrecognized S3Express bucket name format.") + } + return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") + } + return endpoint, fmt.Errorf("endpoint rule error, %s", "S3Express bucket name is not a valid virtual hostable name.") + } + } + } + if !(params.Bucket != nil) { + if exprVal := params.UseS3ExpressControlEndpoint; exprVal != nil { + _UseS3ExpressControlEndpoint := *exprVal + _ = _UseS3ExpressControlEndpoint + if _UseS3ExpressControlEndpoint == true { + if exprVal := awsrulesfn.GetPartition(_Region); exprVal != nil { + _partitionResult := *exprVal + _ = _partitionResult + if exprVal := params.Endpoint; exprVal != nil { + _Endpoint := *exprVal + _ = _Endpoint + if exprVal := rulesfn.ParseURL(_Endpoint); exprVal != nil { + _url := *exprVal + _ = _url + uriString := func() string { + var out strings.Builder + out.WriteString(_url.Scheme) + out.WriteString("://") + out.WriteString(_url.Authority) + out.WriteString(_url.Path) + return out.String() + }() - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp }(), - }, nil - } - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() + }, + }) + return out + }(), + }, nil + } + } + if _UseFIPS == true { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://s3express-control-fips.dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil } - return endpoint, fmt.Errorf("endpoint rule error, %s", "Unrecognized S3Express bucket name format.") } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "S3Express bucket name is not a valid virtual hostable name.") - } - } - } - if !(params.Bucket != nil) { - if exprVal := params.UseS3ExpressControlEndpoint; exprVal != nil { - _UseS3ExpressControlEndpoint := *exprVal - _ = _UseS3ExpressControlEndpoint - if _UseS3ExpressControlEndpoint == true { - if exprVal := awsrulesfn.GetPartition(_Region); exprVal != nil { - _partitionResult := *exprVal - _ = _partitionResult - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - if exprVal := rulesfn.ParseURL(_Endpoint); exprVal != nil { - _url := *exprVal - _ = _url + if _UseFIPS == true { + if _UseDualStack == false { uriString := func() string { var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_url.Authority) - out.WriteString(_url.Path) + out.WriteString("https://s3express-control-fips.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) return out.String() }() @@ -3028,84 +5185,91 @@ func (r *resolver) ResolveEndpoint( }, nil } } - if _UseFIPS == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3express-control-fips.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() + if _UseFIPS == false { + if _UseDualStack == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://s3express-control.dualstack.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } } - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3express-control.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() + if _UseFIPS == false { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://s3express-control.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_partitionResult.DnsSuffix) + return out.String() + }() - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + } + return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") } return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") } @@ -3131,253 +5295,256 @@ func (r *resolver) ResolveEndpoint( _ = _regionPartition if _bucketAliasSuffix == "--op-s3" { if rulesfn.IsValidHostLabel(_outpostId, false) { - if _hardwareType == "e" { - if _regionPrefix == "beta" { - if !(params.Endpoint != nil) { - return endpoint, fmt.Errorf("endpoint rule error, %s", "Expected a endpoint to be specified but no endpoint was found") - } - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - if exprVal := rulesfn.ParseURL(_Endpoint); exprVal != nil { - _url := *exprVal - _ = _url - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".ec2.") - out.WriteString(_url.Authority) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4a", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + if awsrulesfn.IsVirtualHostableS3Bucket(_Bucket, false) { + if _hardwareType == "e" { + if _regionPrefix == "beta" { + if !(params.Endpoint != nil) { + return endpoint, fmt.Errorf("endpoint rule error, %s", "Expected a endpoint to be specified but no endpoint was found") + } + if exprVal := params.Endpoint; exprVal != nil { + _Endpoint := *exprVal + _ = _Endpoint + if exprVal := rulesfn.ParseURL(_Endpoint); exprVal != nil { + _url := *exprVal + _ = _url + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".ec2.") + out.WriteString(_url.Authority) + return out.String() + }() - smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") - smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - smithyhttp.SetSigV4ASigningRegions(&sp, []string{"*"}) - return sp - }(), - }, - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4a", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") - smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") + smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") + smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil + smithyhttp.SetSigV4ASigningRegions(&sp, []string{"*"}) + return sp + }(), + }, + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") + smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") + + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } } + return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".ec2.s3-outposts.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_regionPartition.DnsSuffix) - return out.String() - }() + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".ec2.s3-outposts.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_regionPartition.DnsSuffix) + return out.String() + }() - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4a", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4a", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") - smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") + smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") + smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") - smithyhttp.SetSigV4ASigningRegions(&sp, []string{"*"}) - return sp - }(), - }, - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + smithyhttp.SetSigV4ASigningRegions(&sp, []string{"*"}) + return sp + }(), + }, + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") - smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") + smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") + smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - if _hardwareType == "o" { - if _regionPrefix == "beta" { - if !(params.Endpoint != nil) { - return endpoint, fmt.Errorf("endpoint rule error, %s", "Expected a endpoint to be specified but no endpoint was found") - } - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - if exprVal := rulesfn.ParseURL(_Endpoint); exprVal != nil { - _url := *exprVal - _ = _url - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".op-") - out.WriteString(_outpostId) - out.WriteString(".") - out.WriteString(_url.Authority) - return out.String() - }() + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + if _hardwareType == "o" { + if _regionPrefix == "beta" { + if !(params.Endpoint != nil) { + return endpoint, fmt.Errorf("endpoint rule error, %s", "Expected a endpoint to be specified but no endpoint was found") + } + if exprVal := params.Endpoint; exprVal != nil { + _Endpoint := *exprVal + _ = _Endpoint + if exprVal := rulesfn.ParseURL(_Endpoint); exprVal != nil { + _url := *exprVal + _ = _url + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".op-") + out.WriteString(_outpostId) + out.WriteString(".") + out.WriteString(_url.Authority) + return out.String() + }() - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4a", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4a", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") - smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") + smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") + smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") - smithyhttp.SetSigV4ASigningRegions(&sp, []string{"*"}) - return sp - }(), - }, - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + smithyhttp.SetSigV4ASigningRegions(&sp, []string{"*"}) + return sp + }(), + }, + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") - smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") + smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") + smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } } + return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".op-") - out.WriteString(_outpostId) - out.WriteString(".s3-outposts.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_regionPartition.DnsSuffix) - return out.String() - }() + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Bucket) + out.WriteString(".op-") + out.WriteString(_outpostId) + out.WriteString(".s3-outposts.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_regionPartition.DnsSuffix) + return out.String() + }() - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4a", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "aws.auth#sigv4a", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") - smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") + smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") + smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") - smithyhttp.SetSigV4ASigningRegions(&sp, []string{"*"}) - return sp - }(), - }, - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) + smithyhttp.SetSigV4ASigningRegions(&sp, []string{"*"}) + return sp + }(), + }, + { + SchemeID: "aws.auth#sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) - smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") - smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") + smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") + smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil + smithyhttp.SetSigV4SigningRegion(&sp, _Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + } + return endpoint, fmt.Errorf("endpoint rule error, %s", func() string { + var out strings.Builder + out.WriteString("Unrecognized hardware type: \"Expected hardware type o or e but got ") + out.WriteString(_hardwareType) + out.WriteString("\"") + return out.String() + }()) } - return endpoint, fmt.Errorf("endpoint rule error, %s", func() string { - var out strings.Builder - out.WriteString("Unrecognized hardware type: \"Expected hardware type o or e but got ") - out.WriteString(_hardwareType) - out.WriteString("\"") - return out.String() - }()) + return endpoint, fmt.Errorf("endpoint rule error, %s", "Invalid Outposts Bucket alias - it must be a valid bucket name.") } return endpoint, fmt.Errorf("endpoint rule error, %s", "Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`.") } @@ -5546,8 +7713,8 @@ func (r *resolver) ResolveEndpoint( return endpoint, fmt.Errorf("endpoint rule error, %s", "S3 Outposts does not support S3 Accelerate") } if exprVal := _bucketArn.ResourceId.Get(4); exprVal != nil { - _var_321 := *exprVal - _ = _var_321 + _var_474 := *exprVal + _ = _var_474 return endpoint, fmt.Errorf("endpoint rule error, %s", "Invalid Arn: Outpost Access Point ARN contains sub resources") } if exprVal := _bucketArn.ResourceId.Get(1); exprVal != nil { @@ -5790,8 +7957,8 @@ func (r *resolver) ResolveEndpoint( } if _ForcePathStyle == true { if exprVal := awsrulesfn.ParseARN(_Bucket); exprVal != nil { - _var_334 := *exprVal - _ = _var_334 + _var_487 := *exprVal + _ = _var_487 return endpoint, fmt.Errorf("endpoint rule error, %s", "Path-style addressing cannot be used with ARN buckets") } } @@ -7560,10 +9727,15 @@ type endpointParamsBinder interface { bindEndpointParams(*EndpointParameters) } -func bindEndpointParams(ctx context.Context, input interface{}, options Options) *EndpointParameters { +func bindEndpointParams(ctx context.Context, input interface{}, options Options) (*EndpointParameters, error) { params := &EndpointParameters{} - params.Region = bindRegion(options.Region) + region, err := bindRegion(options.Region) + if err != nil { + return nil, err + } + params.Region = region + params.UseFIPS = aws.Bool(options.EndpointOptions.UseFIPSEndpoint == aws.FIPSEndpointStateEnabled) params.UseDualStack = aws.Bool(options.EndpointOptions.UseDualStackEndpoint == aws.DualStackEndpointStateEnabled) params.Endpoint = options.BaseEndpoint @@ -7578,7 +9750,7 @@ func bindEndpointParams(ctx context.Context, input interface{}, options Options) b.bindEndpointParams(params) } - return params + return params, nil } type resolveEndpointV2Middleware struct { @@ -7608,7 +9780,10 @@ func (m *resolveEndpointV2Middleware) HandleFinalize(ctx context.Context, in mid return out, metadata, fmt.Errorf("expected endpoint resolver to not be nil") } - params := bindEndpointParams(ctx, getOperationInput(ctx), m.options) + params, err := bindEndpointParams(ctx, getOperationInput(ctx), m.options) + if err != nil { + return out, metadata, fmt.Errorf("failed to bind endpoint params, %w", err) + } endpt, err := timeOperationMetric(ctx, "client.call.resolve_endpoint_duration", func() (smithyendpoints.Endpoint, error) { return m.options.EndpointResolverV2.ResolveEndpoint(ctx, *params) diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/generated.json b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/generated.json index c72a5cf1c0..7b4d95abf1 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/generated.json +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/generated.json @@ -41,6 +41,7 @@ "api_op_DeleteObjectTagging.go", "api_op_DeleteObjects.go", "api_op_DeletePublicAccessBlock.go", + "api_op_GetBucketAbac.go", "api_op_GetBucketAccelerateConfiguration.go", "api_op_GetBucketAcl.go", "api_op_GetBucketAnalyticsConfiguration.go", @@ -85,6 +86,7 @@ "api_op_ListObjects.go", "api_op_ListObjectsV2.go", "api_op_ListParts.go", + "api_op_PutBucketAbac.go", "api_op_PutBucketAccelerateConfiguration.go", "api_op_PutBucketAcl.go", "api_op_PutBucketAnalyticsConfiguration.go", @@ -115,6 +117,7 @@ "api_op_SelectObjectContent.go", "api_op_UpdateBucketMetadataInventoryTableConfiguration.go", "api_op_UpdateBucketMetadataJournalTableConfiguration.go", + "api_op_UpdateObjectEncryption.go", "api_op_UploadPart.go", "api_op_UploadPartCopy.go", "api_op_WriteGetObjectResponse.go", diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/go_module_metadata.go index 304f0731b9..1cfa1b2e43 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/go_module_metadata.go @@ -3,4 +3,4 @@ package s3 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.88.5" +const goModuleVersion = "1.96.0" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/internal/endpoints/endpoints.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/internal/endpoints/endpoints.go index 2541f39d6c..3a9aa90317 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/internal/endpoints/endpoints.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/internal/endpoints/endpoints.go @@ -679,6 +679,13 @@ var defaultPartitions = endpoints.Partitions{ { ID: "aws-eusc", Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ + { + Variant: endpoints.DualStackVariant, + }: { + Hostname: "s3.{region}.api.amazonwebservices.eu", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, { Variant: endpoints.FIPSVariant, }: { @@ -686,6 +693,13 @@ var defaultPartitions = endpoints.Partitions{ Protocols: []string{"https"}, SignatureVersions: []string{"v4"}, }, + { + Variant: endpoints.FIPSVariant | endpoints.DualStackVariant, + }: { + Hostname: "s3-fips.{region}.api.amazonwebservices.eu", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, { Variant: 0, }: { @@ -696,6 +710,11 @@ var defaultPartitions = endpoints.Partitions{ }, RegionRegex: partitionRegexp.AwsEusc, IsRegionalized: true, + Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "eusc-de-east-1", + }: endpoints.Endpoint{}, + }, }, { ID: "aws-iso", @@ -820,6 +839,9 @@ var defaultPartitions = endpoints.Partitions{ }: { Hostname: "s3-fips.us-isob-east-1.sc2s.sgov.gov", }, + endpoints.EndpointKey{ + Region: "us-isob-west-1", + }: endpoints.Endpoint{}, }, }, { @@ -1018,9 +1040,15 @@ func GetDNSSuffix(id string, options Options) (string, error) { case strings.EqualFold(id, "aws-eusc"): switch variant { + case endpoints.DualStackVariant: + return "api.amazonwebservices.eu", nil + case endpoints.FIPSVariant: return "amazonaws.eu", nil + case endpoints.FIPSVariant | endpoints.DualStackVariant: + return "api.amazonwebservices.eu", nil + case 0: return "amazonaws.eu", nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/serializers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/serializers.go index 050717e855..4730b7a16e 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/serializers.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/serializers.go @@ -452,6 +452,16 @@ func awsRestxml_serializeOpHttpBindingsCopyObjectInput(v *CopyObjectInput, encod encoder.SetHeader(locationName).String(*v.GrantWriteACP) } + if v.IfMatch != nil { + locationName := "If-Match" + encoder.SetHeader(locationName).String(*v.IfMatch) + } + + if v.IfNoneMatch != nil { + locationName := "If-None-Match" + encoder.SetHeader(locationName).String(*v.IfNoneMatch) + } + if v.Key == nil || len(*v.Key) == 0 { return &smithy.SerializationError{Err: fmt.Errorf("input member Key must not be empty")} } @@ -2568,6 +2578,73 @@ func awsRestxml_serializeOpHttpBindingsDeletePublicAccessBlockInput(v *DeletePub return nil } +type awsRestxml_serializeOpGetBucketAbac struct { +} + +func (*awsRestxml_serializeOpGetBucketAbac) ID() string { + return "OperationSerializer" +} + +func (m *awsRestxml_serializeOpGetBucketAbac) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*GetBucketAbacInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/?abac") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "GET" + var restEncoder *httpbinding.Encoder + if request.URL.RawPath == "" { + restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + } else { + request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) + restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) + } + + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestxml_serializeOpHttpBindingsGetBucketAbacInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} +func awsRestxml_serializeOpHttpBindingsGetBucketAbacInput(v *GetBucketAbacInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.ExpectedBucketOwner != nil { + locationName := "X-Amz-Expected-Bucket-Owner" + encoder.SetHeader(locationName).String(*v.ExpectedBucketOwner) + } + + return nil +} + type awsRestxml_serializeOpGetBucketAccelerateConfiguration struct { } @@ -6103,6 +6180,107 @@ func awsRestxml_serializeOpHttpBindingsListPartsInput(v *ListPartsInput, encoder return nil } +type awsRestxml_serializeOpPutBucketAbac struct { +} + +func (*awsRestxml_serializeOpPutBucketAbac) ID() string { + return "OperationSerializer" +} + +func (m *awsRestxml_serializeOpPutBucketAbac) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*PutBucketAbacInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/?abac") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "PUT" + var restEncoder *httpbinding.Encoder + if request.URL.RawPath == "" { + restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + } else { + request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) + restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) + } + + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestxml_serializeOpHttpBindingsPutBucketAbacInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if input.AbacStatus != nil { + if !restEncoder.HasHeader("Content-Type") { + ctx = smithyhttp.SetIsContentTypeDefaultValue(ctx, true) + restEncoder.SetHeader("Content-Type").String("application/xml") + } + + xmlEncoder := smithyxml.NewEncoder(bytes.NewBuffer(nil)) + payloadRootAttr := []smithyxml.Attr{} + payloadRoot := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "AbacStatus", + }, + Attr: payloadRootAttr, + } + payloadRoot.Attr = append(payloadRoot.Attr, smithyxml.NewNamespaceAttribute("", "http://s3.amazonaws.com/doc/2006-03-01/")) + if err := awsRestxml_serializeDocumentAbacStatus(input.AbacStatus, xmlEncoder.RootElement(payloadRoot)); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + payload := bytes.NewReader(xmlEncoder.Bytes()) + if request, err = request.SetStream(payload); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} +func awsRestxml_serializeOpHttpBindingsPutBucketAbacInput(v *PutBucketAbacInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if len(v.ChecksumAlgorithm) > 0 { + locationName := "X-Amz-Sdk-Checksum-Algorithm" + encoder.SetHeader(locationName).String(string(v.ChecksumAlgorithm)) + } + + if v.ContentMD5 != nil { + locationName := "Content-Md5" + encoder.SetHeader(locationName).String(*v.ContentMD5) + } + + if v.ExpectedBucketOwner != nil { + locationName := "X-Amz-Expected-Bucket-Owner" + encoder.SetHeader(locationName).String(*v.ExpectedBucketOwner) + } + + return nil +} + type awsRestxml_serializeOpPutBucketAccelerateConfiguration struct { } @@ -9543,6 +9721,125 @@ func awsRestxml_serializeOpHttpBindingsUpdateBucketMetadataJournalTableConfigura return nil } +type awsRestxml_serializeOpUpdateObjectEncryption struct { +} + +func (*awsRestxml_serializeOpUpdateObjectEncryption) ID() string { + return "OperationSerializer" +} + +func (m *awsRestxml_serializeOpUpdateObjectEncryption) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*UpdateObjectEncryptionInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/{Key+}?encryption") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "PUT" + var restEncoder *httpbinding.Encoder + if request.URL.RawPath == "" { + restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + } else { + request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) + restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) + } + + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestxml_serializeOpHttpBindingsUpdateObjectEncryptionInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if input.ObjectEncryption != nil { + if !restEncoder.HasHeader("Content-Type") { + ctx = smithyhttp.SetIsContentTypeDefaultValue(ctx, true) + restEncoder.SetHeader("Content-Type").String("application/xml") + } + + xmlEncoder := smithyxml.NewEncoder(bytes.NewBuffer(nil)) + payloadRootAttr := []smithyxml.Attr{} + payloadRoot := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "ObjectEncryption", + }, + Attr: payloadRootAttr, + } + payloadRoot.Attr = append(payloadRoot.Attr, smithyxml.NewNamespaceAttribute("", "http://s3.amazonaws.com/doc/2006-03-01/")) + if err := awsRestxml_serializeDocumentObjectEncryption(input.ObjectEncryption, xmlEncoder.RootElement(payloadRoot)); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + payload := bytes.NewReader(xmlEncoder.Bytes()) + if request, err = request.SetStream(payload); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} +func awsRestxml_serializeOpHttpBindingsUpdateObjectEncryptionInput(v *UpdateObjectEncryptionInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if len(v.ChecksumAlgorithm) > 0 { + locationName := "X-Amz-Sdk-Checksum-Algorithm" + encoder.SetHeader(locationName).String(string(v.ChecksumAlgorithm)) + } + + if v.ContentMD5 != nil { + locationName := "Content-Md5" + encoder.SetHeader(locationName).String(*v.ContentMD5) + } + + if v.ExpectedBucketOwner != nil { + locationName := "X-Amz-Expected-Bucket-Owner" + encoder.SetHeader(locationName).String(*v.ExpectedBucketOwner) + } + + if v.Key == nil || len(*v.Key) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member Key must not be empty")} + } + if v.Key != nil { + if err := encoder.SetURI("Key").String(*v.Key); err != nil { + return err + } + } + + if len(v.RequestPayer) > 0 { + locationName := "X-Amz-Request-Payer" + encoder.SetHeader(locationName).String(string(v.RequestPayer)) + } + + if v.VersionId != nil { + encoder.SetQuery("versionId").String(*v.VersionId) + } + + return nil +} + type awsRestxml_serializeOpUploadPart struct { } @@ -10129,6 +10426,22 @@ func awsRestxml_serializeOpHttpBindingsWriteGetObjectResponseInput(v *WriteGetOb return nil } +func awsRestxml_serializeDocumentAbacStatus(v *types.AbacStatus, value smithyxml.Value) error { + defer value.Close() + if len(v.Status) > 0 { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "Status", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(string(v.Status)) + } + return nil +} + func awsRestxml_serializeDocumentAbortIncompleteMultipartUpload(v *types.AbortIncompleteMultipartUpload, value smithyxml.Value) error { defer value.Close() if v.DaysAfterInitiation != nil { @@ -10432,6 +10745,24 @@ func awsRestxml_serializeDocumentAnalyticsS3BucketDestination(v *types.Analytics return nil } +func awsRestxml_serializeDocumentBlockedEncryptionTypes(v *types.BlockedEncryptionTypes, value smithyxml.Value) error { + defer value.Close() + if v.EncryptionType != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "EncryptionType", + }, + Attr: rootAttr, + } + el := value.FlattenedElement(root) + if err := awsRestxml_serializeDocumentEncryptionTypeList(v.EncryptionType, el); err != nil { + return err + } + } + return nil +} + func awsRestxml_serializeDocumentBucketInfo(v *types.BucketInfo, value smithyxml.Value) error { defer value.Close() if len(v.DataRedundancy) > 0 { @@ -11173,6 +11504,26 @@ func awsRestxml_serializeDocumentEncryptionConfiguration(v *types.EncryptionConf return nil } +func awsRestxml_serializeDocumentEncryptionTypeList(v []types.EncryptionType, value smithyxml.Value) error { + var array *smithyxml.Array + if !value.IsFlattened() { + defer value.Close() + } + customMemberNameAttr := []smithyxml.Attr{} + customMemberName := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "EncryptionType", + }, + Attr: customMemberNameAttr, + } + array = value.ArrayWithCustomName(customMemberName) + for i := range v { + am := array.Member() + am.String(string(v[i])) + } + return nil +} + func awsRestxml_serializeDocumentErrorDocument(v *types.ErrorDocument, value smithyxml.Value) error { defer value.Close() if v.Key != nil { @@ -12833,6 +13184,29 @@ func awsRestxml_serializeDocumentNotificationConfigurationFilter(v *types.Notifi return nil } +func awsRestxml_serializeDocumentObjectEncryption(v types.ObjectEncryption, value smithyxml.Value) error { + defer value.Close() + switch uv := v.(type) { + case *types.ObjectEncryptionMemberSSEKMS: + customMemberNameAttr := []smithyxml.Attr{} + customMemberName := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "SSE-KMS", + }, + Attr: customMemberNameAttr, + } + av := value.MemberElement(customMemberName) + if err := awsRestxml_serializeDocumentSSEKMSEncryption(&uv.Value, av); err != nil { + return err + } + + default: + return fmt.Errorf("attempted to serialize unknown member type %T for union %T", uv, v) + + } + return nil +} + func awsRestxml_serializeDocumentObjectIdentifier(v *types.ObjectIdentifier, value smithyxml.Value) error { defer value.Close() if v.ETag != nil { @@ -14124,6 +14498,19 @@ func awsRestxml_serializeDocumentServerSideEncryptionRule(v *types.ServerSideEnc return err } } + if v.BlockedEncryptionTypes != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "BlockedEncryptionTypes", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + if err := awsRestxml_serializeDocumentBlockedEncryptionTypes(v.BlockedEncryptionTypes, el); err != nil { + return err + } + } if v.BucketKeyEnabled != nil { rootAttr := []smithyxml.Attr{} root := smithyxml.StartElement{ @@ -14221,6 +14608,33 @@ func awsRestxml_serializeDocumentSseKmsEncryptedObjects(v *types.SseKmsEncrypted return nil } +func awsRestxml_serializeDocumentSSEKMSEncryption(v *types.SSEKMSEncryption, value smithyxml.Value) error { + defer value.Close() + if v.BucketKeyEnabled != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "BucketKeyEnabled", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.Boolean(*v.BucketKeyEnabled) + } + if v.KMSKeyArn != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "KMSKeyArn", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(*v.KMSKeyArn) + } + return nil +} + func awsRestxml_serializeDocumentSSES3(v *types.SSES3, value smithyxml.Value) error { defer value.Close() return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/types/enums.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/types/enums.go index e3c2c41526..1a4d118f72 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/types/enums.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/types/enums.go @@ -38,6 +38,25 @@ func (ArchiveStatus) Values() []ArchiveStatus { } } +type BucketAbacStatus string + +// Enum values for BucketAbacStatus +const ( + BucketAbacStatusEnabled BucketAbacStatus = "Enabled" + BucketAbacStatusDisabled BucketAbacStatus = "Disabled" +) + +// Values returns all known values for BucketAbacStatus. Note that this can be +// expanded in the future, and so it is only as up to date as the client. +// +// The ordering of this slice is not guaranteed to be stable across updates. +func (BucketAbacStatus) Values() []BucketAbacStatus { + return []BucketAbacStatus{ + "Enabled", + "Disabled", + } +} + type BucketAccelerateStatus string // Enum values for BucketAccelerateStatus @@ -356,6 +375,25 @@ func (EncodingType) Values() []EncodingType { } } +type EncryptionType string + +// Enum values for EncryptionType +const ( + EncryptionTypeNone EncryptionType = "NONE" + EncryptionTypeSseC EncryptionType = "SSE-C" +) + +// Values returns all known values for EncryptionType. Note that this can be +// expanded in the future, and so it is only as up to date as the client. +// +// The ordering of this slice is not guaranteed to be stable across updates. +func (EncryptionType) Values() []EncryptionType { + return []EncryptionType{ + "NONE", + "SSE-C", + } +} + type Event string // Enum values for Event @@ -677,6 +715,7 @@ const ( InventoryOptionalFieldChecksumAlgorithm InventoryOptionalField = "ChecksumAlgorithm" InventoryOptionalFieldObjectAccessControlList InventoryOptionalField = "ObjectAccessControlList" InventoryOptionalFieldObjectOwner InventoryOptionalField = "ObjectOwner" + InventoryOptionalFieldLifecycleExpirationDate InventoryOptionalField = "LifecycleExpirationDate" ) // Values returns all known values for InventoryOptionalField. Note that this can @@ -700,6 +739,7 @@ func (InventoryOptionalField) Values() []InventoryOptionalField { "ChecksumAlgorithm", "ObjectAccessControlList", "ObjectOwner", + "LifecycleExpirationDate", } } @@ -982,6 +1022,7 @@ const ( ObjectStorageClassSnow ObjectStorageClass = "SNOW" ObjectStorageClassExpressOnezone ObjectStorageClass = "EXPRESS_ONEZONE" ObjectStorageClassFsxOpenzfs ObjectStorageClass = "FSX_OPENZFS" + ObjectStorageClassFsxOntap ObjectStorageClass = "FSX_ONTAP" ) // Values returns all known values for ObjectStorageClass. Note that this can be @@ -1002,6 +1043,7 @@ func (ObjectStorageClass) Values() []ObjectStorageClass { "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS", + "FSX_ONTAP", } } @@ -1387,6 +1429,7 @@ const ( StorageClassSnow StorageClass = "SNOW" StorageClassExpressOnezone StorageClass = "EXPRESS_ONEZONE" StorageClassFsxOpenzfs StorageClass = "FSX_OPENZFS" + StorageClassFsxOntap StorageClass = "FSX_ONTAP" ) // Values returns all known values for StorageClass. Note that this can be @@ -1407,6 +1450,7 @@ func (StorageClass) Values() []StorageClass { "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS", + "FSX_ONTAP", } } diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/types/errors.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/types/errors.go index 9de828f6fc..eacb7ca466 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/types/errors.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/types/errors.go @@ -7,6 +7,34 @@ import ( smithy "github.com/aws/smithy-go" ) +// You might receive this error for several reasons. For details, see the +// +// description of this API operation. +type AccessDenied struct { + Message *string + + ErrorCodeOverride *string + + noSmithyDocumentSerde +} + +func (e *AccessDenied) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *AccessDenied) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *AccessDenied) ErrorCode() string { + if e == nil || e.ErrorCodeOverride == nil { + return "AccessDenied" + } + return *e.ErrorCodeOverride +} +func (e *AccessDenied) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } + // The requested bucket name is not available. The bucket namespace is shared by // all users of the system. Select a different name and try again. type BucketAlreadyExists struct { @@ -167,16 +195,8 @@ func (e *InvalidObjectState) ErrorCode() string { } func (e *InvalidObjectState) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } -// You may receive this error in multiple cases. Depending on the reason for the -// error, you may receive one of the messages below: -// -// - Cannot specify both a write offset value and user-defined object metadata -// for existing objects. -// -// - Checksum Type mismatch occurred, expected checksum Type: sha1, actual -// checksum Type: crc32c. -// -// - Request body cannot be empty when 'write offset' is specified. +// A parameter or header in your request isn't valid. For details, see the +// description of this API operation. type InvalidRequest struct { Message *string diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/types/types.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/types/types.go index 3e9c0c2eb4..e362907699 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/types/types.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/types/types.go @@ -7,6 +7,21 @@ import ( "time" ) +// The ABAC status of the general purpose bucket. When ABAC is enabled for the +// general purpose bucket, you can use tags to manage access to the general purpose +// buckets as well as for cost tracking purposes. When ABAC is disabled for the +// general purpose buckets, you can only use tags for cost tracking purposes. For +// more information, see [Using tags with S3 general purpose buckets]. +// +// [Using tags with S3 general purpose buckets]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging.html +type AbacStatus struct { + + // The ABAC status of the general purpose bucket. + Status BucketAbacStatus + + noSmithyDocumentSerde +} + // Specifies the days since the initiation of an incomplete multipart upload that // Amazon S3 will wait before permanently removing all parts of the upload. For // more information, see [Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Configuration]in the Amazon S3 User Guide. @@ -176,6 +191,47 @@ type AnalyticsS3BucketDestination struct { noSmithyDocumentSerde } +// A bucket-level setting for Amazon S3 general purpose buckets used to prevent +// the upload of new objects encrypted with the specified server-side encryption +// type. For example, blocking an encryption type will block PutObject , CopyObject +// , PostObject , multipart upload, and replication requests to the bucket for +// objects with the specified encryption type. However, you can continue to read +// and list any pre-existing objects already encrypted with the specified +// encryption type. For more information, see [Blocking or unblocking SSE-C for a general purpose bucket]. +// +// This data type is used with the following actions: +// +// [PutBucketEncryption] +// +// [GetBucketEncryption] +// +// [DeleteBucketEncryption] +// +// Permissions You must have the s3:PutEncryptionConfiguration permission to block +// or unblock an encryption type for a bucket. +// +// You must have the s3:GetEncryptionConfiguration permission to view a bucket's +// encryption type. +// +// [GetBucketEncryption]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketEncryption.html +// [DeleteBucketEncryption]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketEncryption.html +// [PutBucketEncryption]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketEncryption.html +// [Blocking or unblocking SSE-C for a general purpose bucket]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/blocking-unblocking-s3-c-encryption-gpb.html +type BlockedEncryptionTypes struct { + + // The object encryption type that you want to block or unblock for an Amazon S3 + // general purpose bucket. + // + // Currently, this parameter only supports blocking or unblocking server side + // encryption with customer-provided keys (SSE-C). For more information about + // SSE-C, see [Using server-side encryption with customer-provided keys (SSE-C)]. + // + // [Using server-side encryption with customer-provided keys (SSE-C)]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html + EncryptionType []EncryptionType + + noSmithyDocumentSerde +} + // In terms of implementation, a Bucket is a resource. type Bucket struct { @@ -252,7 +308,7 @@ type BucketLoggingStatus struct { type Checksum struct { // The Base64 encoded, 32-bit CRC32 checksum of the object. This checksum is only - // be present if the checksum was uploaded with the object. When you use an API + // present if the checksum was uploaded with the object. When you use an API // operation on an object that was uploaded using multipart uploads, this value may // not be a direct checksum value of the full object. Instead, it's a calculation // based on the checksum values of each individual part. For more information about @@ -282,8 +338,8 @@ type Checksum struct { // [Checking object integrity]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html ChecksumCRC64NVME *string - // The Base64 encoded, 160-bit SHA1 digest of the object. This will only be - // present if the object was uploaded with the object. When you use the API + // The Base64 encoded, 160-bit SHA1 digest of the object. This checksum is only + // present if the checksum was uploaded with the object. When you use the API // operation on an object that was uploaded using multipart uploads, this value may // not be a direct checksum value of the full object. Instead, it's a calculation // based on the checksum values of each individual part. For more information about @@ -293,8 +349,8 @@ type Checksum struct { // [Checking object integrity]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums ChecksumSHA1 *string - // The Base64 encoded, 256-bit SHA256 digest of the object. This will only be - // present if the object was uploaded with the object. When you use an API + // The Base64 encoded, 256-bit SHA256 digest of the object. This checksum is only + // present if the checksum was uploaded with the object. When you use an API // operation on an object that was uploaded using multipart uploads, this value may // not be a direct checksum value of the full object. Instead, it's a calculation // based on the checksum values of each individual part. For more information about @@ -441,8 +497,8 @@ type CopyObjectResult struct { // [Checking object integrity]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html ChecksumCRC32 *string - // The Base64 encoded, 32-bit CRC32C checksum of the object. This will only be - // present if the object was uploaded with the object. For more information, see [Checking object integrity] + // The Base64 encoded, 32-bit CRC32C checksum of the object. This checksum is only + // present if the checksum was uploaded with the object. For more information, see [Checking object integrity] // in the Amazon S3 User Guide. // // [Checking object integrity]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html @@ -457,15 +513,15 @@ type CopyObjectResult struct { // [Checking object integrity]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html ChecksumCRC64NVME *string - // The Base64 encoded, 160-bit SHA1 digest of the object. This will only be - // present if the object was uploaded with the object. For more information, see [Checking object integrity] + // The Base64 encoded, 160-bit SHA1 digest of the object. This checksum is only + // present if the checksum was uploaded with the object. For more information, see [Checking object integrity] // in the Amazon S3 User Guide. // // [Checking object integrity]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html ChecksumSHA1 *string - // The Base64 encoded, 256-bit SHA256 digest of the object. This will only be - // present if the object was uploaded with the object. For more information, see [Checking object integrity] + // The Base64 encoded, 256-bit SHA256 digest of the object. This checksum is only + // present if the checksum was uploaded with the object. For more information, see [Checking object integrity] // in the Amazon S3 User Guide. // // [Checking object integrity]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html @@ -628,10 +684,15 @@ type CreateBucketConfiguration struct { // are key-value pairs of metadata used to categorize and organize your buckets, // track costs, and control access. // - // This parameter is only supported for S3 directory buckets. For more - // information, see [Using tags with directory buckets]. + // You must have the s3:TagResource permission to create a general purpose bucket + // with tags or the s3express:TagResource permission to create a directory bucket + // with tags. // - // [Using tags with directory buckets]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-tagging.html + // When creating buckets with tags, note that tag-based conditions using + // aws:ResourceTag and s3:BucketTag condition keys are applicable only after ABAC + // is enabled on the bucket. To learn more, see [Enabling ABAC in general purpose buckets]. + // + // [Enabling ABAC in general purpose buckets]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging-enable-abac.html Tags []Tag noSmithyDocumentSerde @@ -2120,34 +2181,10 @@ type Grantee struct { // This member is required. Type Type - // Screen name of the grantee. + // DisplayName *string - // Email address of the grantee. - // - // Using email addresses to specify a grantee is only supported in the following - // Amazon Web Services Regions: - // - // - US East (N. Virginia) // - // - US West (N. California) - // - // - US West (Oregon) - // - // - Asia Pacific (Singapore) - // - // - Asia Pacific (Sydney) - // - // - Asia Pacific (Tokyo) - // - // - Europe (Ireland) - // - // - South America (São Paulo) - // - // For a list of all the Amazon S3 supported Regions and endpoints, see [Regions and Endpoints] in the - // Amazon Web Services General Reference. - // - // [Regions and Endpoints]: https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region EmailAddress *string // The canonical user ID of the grantee. @@ -2182,8 +2219,6 @@ type IndexDocument struct { // Container element that identifies who initiated the multipart upload. type Initiator struct { - // Name of the Principal. - // // This functionality is not supported for directory buckets. DisplayName *string @@ -2698,8 +2733,10 @@ type LifecycleRule struct { // directory bucket lifecycle configurations. NoncurrentVersionTransitions []NoncurrentVersionTransition - // Prefix identifying one or more objects to which the rule applies. This is no - // longer used; use Filter instead. + // The general purpose bucket prefix that identifies one or more objects to which + // the rule applies. We recommend using Filter instead of Prefix for new PUTs. + // Previous configurations where a prefix is defined will continue to operate as + // before. // // Replacement must be made for object keys containing special characters (such as // carriage returns) when using XML requests. For more information, see [XML related object key constraints]. @@ -3267,6 +3304,31 @@ type Object struct { noSmithyDocumentSerde } +// The updated server-side encryption type for this object. The +// +// UpdateObjectEncryption operation supports the SSE-S3 and SSE-KMS encryption +// types. +// +// Valid Values: SSES3 | SSEKMS +// +// The following types satisfy this interface: +// +// ObjectEncryptionMemberSSEKMS +type ObjectEncryption interface { + isObjectEncryption() +} + +// Specifies to update the object encryption type to server-side encryption with +// +// Key Management Service (KMS) keys (SSE-KMS). +type ObjectEncryptionMemberSSEKMS struct { + Value SSEKMSEncryption + + noSmithyDocumentSerde +} + +func (*ObjectEncryptionMemberSSEKMS) isObjectEncryption() {} + // Object Identifier is unique value to identify objects. type ObjectIdentifier struct { @@ -3476,40 +3538,10 @@ type OutputSerialization struct { noSmithyDocumentSerde } -// End of support notice: Beginning October 1, 2025, Amazon S3 will stop returning -// DisplayName . Update your applications to use canonical IDs (unique identifier -// for Amazon Web Services accounts), Amazon Web Services account ID (12 digit -// identifier) or IAM ARNs (full resource naming) as a direct replacement of -// DisplayName . -// -// This change affects the following Amazon Web Services Regions: US East (N. -// Virginia) Region, US West (N. California) Region, US West (Oregon) Region, Asia -// Pacific (Singapore) Region, Asia Pacific (Sydney) Region, Asia Pacific (Tokyo) -// Region, Europe (Ireland) Region, and South America (São Paulo) Region. -// // Container for the owner's display name and ID. type Owner struct { - // Container for the display name of the owner. This value is only supported in - // the following Amazon Web Services Regions: - // - // - US East (N. Virginia) - // - // - US West (N. California) - // - // - US West (Oregon) - // - // - Asia Pacific (Singapore) - // - // - Asia Pacific (Sydney) - // - // - Asia Pacific (Tokyo) // - // - Europe (Ireland) - // - // - South America (São Paulo) - // - // This functionality is not supported for directory buckets. DisplayName *string // Container for the ID of the owner. @@ -3682,9 +3714,10 @@ type ProgressEvent struct { } // The PublicAccessBlock configuration that you want to apply to this Amazon S3 -// bucket. You can enable the configuration options in any combination. For more -// information about when Amazon S3 considers a bucket or object public, see [The Meaning of "Public"]in -// the Amazon S3 User Guide. +// bucket. You can enable the configuration options in any combination. +// Bucket-level settings work alongside account-level settings (which may inherit +// from organization-level policies). For more information about when Amazon S3 +// considers a bucket or object public, see [The Meaning of "Public"]in the Amazon S3 User Guide. // // [The Meaning of "Public"]: https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status type PublicAccessBlockConfiguration struct { @@ -4529,6 +4562,22 @@ type ServerSideEncryptionRule struct { // default encryption will be applied. ApplyServerSideEncryptionByDefault *ServerSideEncryptionByDefault + // A bucket-level setting for Amazon S3 general purpose buckets used to prevent + // the upload of new objects encrypted with the specified server-side encryption + // type. For example, blocking an encryption type will block PutObject , CopyObject + // , PostObject , multipart upload, and replication requests to the bucket for + // objects with the specified encryption type. However, you can continue to read + // and list any pre-existing objects already encrypted with the specified + // encryption type. For more information, see [Blocking or unblocking SSE-C for a general purpose bucket]. + // + // Currently, this parameter only supports blocking or unblocking server-side + // encryption with customer-provided keys (SSE-C). For more information about + // SSE-C, see [Using server-side encryption with customer-provided keys (SSE-C)]. + // + // [Blocking or unblocking SSE-C for a general purpose bucket]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/blocking-unblocking-s3-c-encryption-gpb.html + // [Using server-side encryption with customer-provided keys (SSE-C)]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html + BlockedEncryptionTypes *BlockedEncryptionTypes + // Specifies whether Amazon S3 should use an S3 Bucket Key with server-side // encryption using KMS (SSE-KMS) for new objects in the bucket. Existing objects // are not affected. Setting the BucketKeyEnabled element to true causes Amazon S3 @@ -4653,6 +4702,39 @@ type SseKmsEncryptedObjects struct { noSmithyDocumentSerde } +// If SSEKMS is specified for ObjectEncryption , this data type specifies the +// +// Amazon Web Services KMS key Amazon Resource Name (ARN) to use and whether to use +// an S3 Bucket Key for server-side encryption using Key Management Service (KMS) +// keys (SSE-KMS). +type SSEKMSEncryption struct { + + // Specifies the Amazon Web Services KMS key Amazon Resource Name (ARN) to use + // for the updated server-side encryption type. Required if ObjectEncryption + // specifies SSEKMS . + // + // You must specify the full Amazon Web Services KMS key ARN. The KMS key ID and + // KMS key alias aren't supported. + // + // Pattern: ( arn:aws[-a-z0-9]*:kms:[-a-z0-9]*:[0-9]{12}:key/.+ ) + // + // This member is required. + KMSKeyArn *string + + // Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption + // with server-side encryption using Key Management Service (KMS) keys (SSE-KMS). + // If this value isn't specified, it defaults to false . Setting this value to true + // causes Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS. For + // more information, see [Using Amazon S3 Bucket Keys]in the Amazon S3 User Guide. + // + // Valid Values: true | false + // + // [Using Amazon S3 Bucket Keys]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-key.html + BucketKeyEnabled *bool + + noSmithyDocumentSerde +} + // Specifies the use of SSE-S3 to encrypt delivered inventory reports. type SSES3 struct { noSmithyDocumentSerde @@ -4904,4 +4986,5 @@ type UnknownUnionMember struct { func (*UnknownUnionMember) isAnalyticsFilter() {} func (*UnknownUnionMember) isMetricsFilter() {} +func (*UnknownUnionMember) isObjectEncryption() {} func (*UnknownUnionMember) isSelectObjectContentEventStream() {} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/validators.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/validators.go index 8c1ca8ee32..47bbc2b238 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/validators.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/validators.go @@ -550,6 +550,26 @@ func (m *validateOpDeletePublicAccessBlock) HandleInitialize(ctx context.Context return next.HandleInitialize(ctx, in) } +type validateOpGetBucketAbac struct { +} + +func (*validateOpGetBucketAbac) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpGetBucketAbac) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*GetBucketAbacInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpGetBucketAbacInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpGetBucketAccelerateConfiguration struct { } @@ -1390,6 +1410,26 @@ func (m *validateOpListParts) HandleInitialize(ctx context.Context, in middlewar return next.HandleInitialize(ctx, in) } +type validateOpPutBucketAbac struct { +} + +func (*validateOpPutBucketAbac) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpPutBucketAbac) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*PutBucketAbacInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpPutBucketAbacInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpPutBucketAccelerateConfiguration struct { } @@ -1990,6 +2030,26 @@ func (m *validateOpUpdateBucketMetadataJournalTableConfiguration) HandleInitiali return next.HandleInitialize(ctx, in) } +type validateOpUpdateObjectEncryption struct { +} + +func (*validateOpUpdateObjectEncryption) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpUpdateObjectEncryption) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*UpdateObjectEncryptionInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpUpdateObjectEncryptionInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpUploadPartCopy struct { } @@ -2158,6 +2218,10 @@ func addOpDeletePublicAccessBlockValidationMiddleware(stack *middleware.Stack) e return stack.Initialize.Add(&validateOpDeletePublicAccessBlock{}, middleware.After) } +func addOpGetBucketAbacValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpGetBucketAbac{}, middleware.After) +} + func addOpGetBucketAccelerateConfigurationValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpGetBucketAccelerateConfiguration{}, middleware.After) } @@ -2326,6 +2390,10 @@ func addOpListPartsValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpListParts{}, middleware.After) } +func addOpPutBucketAbacValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpPutBucketAbac{}, middleware.After) +} + func addOpPutBucketAccelerateConfigurationValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpPutBucketAccelerateConfiguration{}, middleware.After) } @@ -2446,6 +2514,10 @@ func addOpUpdateBucketMetadataJournalTableConfigurationValidationMiddleware(stac return stack.Initialize.Add(&validateOpUpdateBucketMetadataJournalTableConfiguration{}, middleware.After) } +func addOpUpdateObjectEncryptionValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpUpdateObjectEncryption{}, middleware.After) +} + func addOpUploadPartCopyValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpUploadPartCopy{}, middleware.After) } @@ -3451,6 +3523,25 @@ func validateNotificationConfiguration(v *types.NotificationConfiguration) error } } +func validateObjectEncryption(v types.ObjectEncryption) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "ObjectEncryption"} + switch uv := v.(type) { + case *types.ObjectEncryptionMemberSSEKMS: + if err := validateSSEKMSEncryption(&uv.Value); err != nil { + invalidParams.AddNested("[SSEKMS]", err.(smithy.InvalidParamsError)) + } + + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateObjectIdentifier(v *types.ObjectIdentifier) error { if v == nil { return nil @@ -4033,6 +4124,21 @@ func validateSseKmsEncryptedObjects(v *types.SseKmsEncryptedObjects) error { } } +func validateSSEKMSEncryption(v *types.SSEKMSEncryption) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "SSEKMSEncryption"} + if v.KMSKeyArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("KMSKeyArn")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateStorageClassAnalysis(v *types.StorageClassAnalysis) error { if v == nil { return nil @@ -4732,6 +4838,21 @@ func validateOpDeletePublicAccessBlockInput(v *DeletePublicAccessBlockInput) err } } +func validateOpGetBucketAbacInput(v *GetBucketAbacInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "GetBucketAbacInput"} + if v.Bucket == nil { + invalidParams.Add(smithy.NewErrParamRequired("Bucket")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpGetBucketAccelerateConfigurationInput(v *GetBucketAccelerateConfigurationInput) error { if v == nil { return nil @@ -5407,6 +5528,24 @@ func validateOpListPartsInput(v *ListPartsInput) error { } } +func validateOpPutBucketAbacInput(v *PutBucketAbacInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "PutBucketAbacInput"} + if v.Bucket == nil { + invalidParams.Add(smithy.NewErrParamRequired("Bucket")) + } + if v.AbacStatus == nil { + invalidParams.Add(smithy.NewErrParamRequired("AbacStatus")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpPutBucketAccelerateConfigurationInput(v *PutBucketAccelerateConfigurationInput) error { if v == nil { return nil @@ -6052,6 +6191,31 @@ func validateOpUpdateBucketMetadataJournalTableConfigurationInput(v *UpdateBucke } } +func validateOpUpdateObjectEncryptionInput(v *UpdateObjectEncryptionInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "UpdateObjectEncryptionInput"} + if v.Bucket == nil { + invalidParams.Add(smithy.NewErrParamRequired("Bucket")) + } + if v.Key == nil { + invalidParams.Add(smithy.NewErrParamRequired("Key")) + } + if v.ObjectEncryption == nil { + invalidParams.Add(smithy.NewErrParamRequired("ObjectEncryption")) + } else if v.ObjectEncryption != nil { + if err := validateObjectEncryption(v.ObjectEncryption); err != nil { + invalidParams.AddNested("ObjectEncryption", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpUploadPartCopyInput(v *UploadPartCopyInput) error { if v == nil { return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/signin/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/CHANGELOG.md new file mode 100644 index 0000000000..38c6edd4a8 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/CHANGELOG.md @@ -0,0 +1,26 @@ +# v1.0.5 (2026-01-09) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.0.4 (2025-12-08) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.0.3 (2025-12-02) + +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.24.0. Notably this version of the library reduces the allocation footprint of the middleware system. We observe a ~10% reduction in allocations per SDK call with this change. + +# v1.0.2 (2025-11-25) + +* **Bug Fix**: Add error check for endpoint param binding during auth scheme resolution to fix panic reported in #3234 + +# v1.0.1 (2025-11-19.2) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.0.0 (2025-11-19) + +* **Release**: New AWS service client module +* **Feature**: AWS Sign-In manages authentication for AWS services. This service provides secure authentication flows for accessing AWS resources from the console and developer tools. This release adds the CreateOAuth2Token API, which can be used to fetch OAuth2 access tokens and refresh tokens from Sign-In. + diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/signin/LICENSE.txt b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/LICENSE.txt new file mode 100644 index 0000000000..d645695673 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/LICENSE.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/signin/api_client.go b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/api_client.go new file mode 100644 index 0000000000..d2db11d2aa --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/api_client.go @@ -0,0 +1,949 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package signin + +import ( + "context" + "errors" + "fmt" + "github.com/aws/aws-sdk-go-v2/aws" + "github.com/aws/aws-sdk-go-v2/aws/defaults" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/retry" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + awshttp "github.com/aws/aws-sdk-go-v2/aws/transport/http" + internalauth "github.com/aws/aws-sdk-go-v2/internal/auth" + internalauthsmithy "github.com/aws/aws-sdk-go-v2/internal/auth/smithy" + internalConfig "github.com/aws/aws-sdk-go-v2/internal/configsources" + internalmiddleware "github.com/aws/aws-sdk-go-v2/internal/middleware" + smithy "github.com/aws/smithy-go" + smithyauth "github.com/aws/smithy-go/auth" + smithydocument "github.com/aws/smithy-go/document" + "github.com/aws/smithy-go/logging" + "github.com/aws/smithy-go/metrics" + "github.com/aws/smithy-go/middleware" + "github.com/aws/smithy-go/tracing" + smithyhttp "github.com/aws/smithy-go/transport/http" + "net" + "net/http" + "sync/atomic" + "time" +) + +const ServiceID = "Signin" +const ServiceAPIVersion = "2023-01-01" + +type operationMetrics struct { + Duration metrics.Float64Histogram + SerializeDuration metrics.Float64Histogram + ResolveIdentityDuration metrics.Float64Histogram + ResolveEndpointDuration metrics.Float64Histogram + SignRequestDuration metrics.Float64Histogram + DeserializeDuration metrics.Float64Histogram +} + +func (m *operationMetrics) histogramFor(name string) metrics.Float64Histogram { + switch name { + case "client.call.duration": + return m.Duration + case "client.call.serialization_duration": + return m.SerializeDuration + case "client.call.resolve_identity_duration": + return m.ResolveIdentityDuration + case "client.call.resolve_endpoint_duration": + return m.ResolveEndpointDuration + case "client.call.signing_duration": + return m.SignRequestDuration + case "client.call.deserialization_duration": + return m.DeserializeDuration + default: + panic("unrecognized operation metric") + } +} + +func timeOperationMetric[T any]( + ctx context.Context, metric string, fn func() (T, error), + opts ...metrics.RecordMetricOption, +) (T, error) { + mm := getOperationMetrics(ctx) + if mm == nil { // not using the metrics system + return fn() + } + + instr := mm.histogramFor(metric) + opts = append([]metrics.RecordMetricOption{withOperationMetadata(ctx)}, opts...) + + start := time.Now() + v, err := fn() + end := time.Now() + + elapsed := end.Sub(start) + instr.Record(ctx, float64(elapsed)/1e9, opts...) + return v, err +} + +func startMetricTimer(ctx context.Context, metric string, opts ...metrics.RecordMetricOption) func() { + mm := getOperationMetrics(ctx) + if mm == nil { // not using the metrics system + return func() {} + } + + instr := mm.histogramFor(metric) + opts = append([]metrics.RecordMetricOption{withOperationMetadata(ctx)}, opts...) + + var ended bool + start := time.Now() + return func() { + if ended { + return + } + ended = true + + end := time.Now() + + elapsed := end.Sub(start) + instr.Record(ctx, float64(elapsed)/1e9, opts...) + } +} + +func withOperationMetadata(ctx context.Context) metrics.RecordMetricOption { + return func(o *metrics.RecordMetricOptions) { + o.Properties.Set("rpc.service", middleware.GetServiceID(ctx)) + o.Properties.Set("rpc.method", middleware.GetOperationName(ctx)) + } +} + +type operationMetricsKey struct{} + +func withOperationMetrics(parent context.Context, mp metrics.MeterProvider) (context.Context, error) { + if _, ok := mp.(metrics.NopMeterProvider); ok { + // not using the metrics system - setting up the metrics context is a memory-intensive operation + // so we should skip it in this case + return parent, nil + } + + meter := mp.Meter("github.com/aws/aws-sdk-go-v2/service/signin") + om := &operationMetrics{} + + var err error + + om.Duration, err = operationMetricTimer(meter, "client.call.duration", + "Overall call duration (including retries and time to send or receive request and response body)") + if err != nil { + return nil, err + } + om.SerializeDuration, err = operationMetricTimer(meter, "client.call.serialization_duration", + "The time it takes to serialize a message body") + if err != nil { + return nil, err + } + om.ResolveIdentityDuration, err = operationMetricTimer(meter, "client.call.auth.resolve_identity_duration", + "The time taken to acquire an identity (AWS credentials, bearer token, etc) from an Identity Provider") + if err != nil { + return nil, err + } + om.ResolveEndpointDuration, err = operationMetricTimer(meter, "client.call.resolve_endpoint_duration", + "The time it takes to resolve an endpoint (endpoint resolver, not DNS) for the request") + if err != nil { + return nil, err + } + om.SignRequestDuration, err = operationMetricTimer(meter, "client.call.auth.signing_duration", + "The time it takes to sign a request") + if err != nil { + return nil, err + } + om.DeserializeDuration, err = operationMetricTimer(meter, "client.call.deserialization_duration", + "The time it takes to deserialize a message body") + if err != nil { + return nil, err + } + + return context.WithValue(parent, operationMetricsKey{}, om), nil +} + +func operationMetricTimer(m metrics.Meter, name, desc string) (metrics.Float64Histogram, error) { + return m.Float64Histogram(name, func(o *metrics.InstrumentOptions) { + o.UnitLabel = "s" + o.Description = desc + }) +} + +func getOperationMetrics(ctx context.Context) *operationMetrics { + if v := ctx.Value(operationMetricsKey{}); v != nil { + return v.(*operationMetrics) + } + return nil +} + +func operationTracer(p tracing.TracerProvider) tracing.Tracer { + return p.Tracer("github.com/aws/aws-sdk-go-v2/service/signin") +} + +// Client provides the API client to make operations call for AWS Sign-In Service. +type Client struct { + options Options + + // Difference between the time reported by the server and the client + timeOffset *atomic.Int64 +} + +// New returns an initialized Client based on the functional options. Provide +// additional functional options to further configure the behavior of the client, +// such as changing the client's endpoint or adding custom middleware behavior. +func New(options Options, optFns ...func(*Options)) *Client { + options = options.Copy() + + resolveDefaultLogger(&options) + + setResolvedDefaultsMode(&options) + + resolveRetryer(&options) + + resolveHTTPClient(&options) + + resolveHTTPSignerV4(&options) + + resolveEndpointResolverV2(&options) + + resolveTracerProvider(&options) + + resolveMeterProvider(&options) + + resolveAuthSchemeResolver(&options) + + for _, fn := range optFns { + fn(&options) + } + + finalizeRetryMaxAttempts(&options) + + ignoreAnonymousAuth(&options) + + wrapWithAnonymousAuth(&options) + + resolveAuthSchemes(&options) + + client := &Client{ + options: options, + } + + initializeTimeOffsetResolver(client) + + return client +} + +// Options returns a copy of the client configuration. +// +// Callers SHOULD NOT perform mutations on any inner structures within client +// config. Config overrides should instead be made on a per-operation basis through +// functional options. +func (c *Client) Options() Options { + return c.options.Copy() +} + +func (c *Client) invokeOperation( + ctx context.Context, opID string, params interface{}, optFns []func(*Options), stackFns ...func(*middleware.Stack, Options) error, +) ( + result interface{}, metadata middleware.Metadata, err error, +) { + ctx = middleware.ClearStackValues(ctx) + ctx = middleware.WithServiceID(ctx, ServiceID) + ctx = middleware.WithOperationName(ctx, opID) + + stack := middleware.NewStack(opID, smithyhttp.NewStackRequest) + options := c.options.Copy() + + for _, fn := range optFns { + fn(&options) + } + + finalizeOperationRetryMaxAttempts(&options, *c) + + finalizeClientEndpointResolverOptions(&options) + + for _, fn := range stackFns { + if err := fn(stack, options); err != nil { + return nil, metadata, err + } + } + + for _, fn := range options.APIOptions { + if err := fn(stack); err != nil { + return nil, metadata, err + } + } + + ctx, err = withOperationMetrics(ctx, options.MeterProvider) + if err != nil { + return nil, metadata, err + } + + tracer := operationTracer(options.TracerProvider) + spanName := fmt.Sprintf("%s.%s", ServiceID, opID) + + ctx = tracing.WithOperationTracer(ctx, tracer) + + ctx, span := tracer.StartSpan(ctx, spanName, func(o *tracing.SpanOptions) { + o.Kind = tracing.SpanKindClient + o.Properties.Set("rpc.system", "aws-api") + o.Properties.Set("rpc.method", opID) + o.Properties.Set("rpc.service", ServiceID) + }) + endTimer := startMetricTimer(ctx, "client.call.duration") + defer endTimer() + defer span.End() + + handler := smithyhttp.NewClientHandlerWithOptions(options.HTTPClient, func(o *smithyhttp.ClientHandler) { + o.Meter = options.MeterProvider.Meter("github.com/aws/aws-sdk-go-v2/service/signin") + }) + decorated := middleware.DecorateHandler(handler, stack) + result, metadata, err = decorated.Handle(ctx, params) + if err != nil { + span.SetProperty("exception.type", fmt.Sprintf("%T", err)) + span.SetProperty("exception.message", err.Error()) + + var aerr smithy.APIError + if errors.As(err, &aerr) { + span.SetProperty("api.error_code", aerr.ErrorCode()) + span.SetProperty("api.error_message", aerr.ErrorMessage()) + span.SetProperty("api.error_fault", aerr.ErrorFault().String()) + } + + err = &smithy.OperationError{ + ServiceID: ServiceID, + OperationName: opID, + Err: err, + } + } + + span.SetProperty("error", err != nil) + if err == nil { + span.SetStatus(tracing.SpanStatusOK) + } else { + span.SetStatus(tracing.SpanStatusError) + } + + return result, metadata, err +} + +type operationInputKey struct{} + +func setOperationInput(ctx context.Context, input interface{}) context.Context { + return middleware.WithStackValue(ctx, operationInputKey{}, input) +} + +func getOperationInput(ctx context.Context) interface{} { + return middleware.GetStackValue(ctx, operationInputKey{}) +} + +type setOperationInputMiddleware struct { +} + +func (*setOperationInputMiddleware) ID() string { + return "setOperationInput" +} + +func (m *setOperationInputMiddleware) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + ctx = setOperationInput(ctx, in.Parameters) + return next.HandleSerialize(ctx, in) +} + +func addProtocolFinalizerMiddlewares(stack *middleware.Stack, options Options, operation string) error { + if err := stack.Finalize.Add(&resolveAuthSchemeMiddleware{operation: operation, options: options}, middleware.Before); err != nil { + return fmt.Errorf("add ResolveAuthScheme: %w", err) + } + if err := stack.Finalize.Insert(&getIdentityMiddleware{options: options}, "ResolveAuthScheme", middleware.After); err != nil { + return fmt.Errorf("add GetIdentity: %v", err) + } + if err := stack.Finalize.Insert(&resolveEndpointV2Middleware{options: options}, "GetIdentity", middleware.After); err != nil { + return fmt.Errorf("add ResolveEndpointV2: %v", err) + } + if err := stack.Finalize.Insert(&signRequestMiddleware{options: options}, "ResolveEndpointV2", middleware.After); err != nil { + return fmt.Errorf("add Signing: %w", err) + } + return nil +} +func resolveAuthSchemeResolver(options *Options) { + if options.AuthSchemeResolver == nil { + options.AuthSchemeResolver = &defaultAuthSchemeResolver{} + } +} + +func resolveAuthSchemes(options *Options) { + if options.AuthSchemes == nil { + options.AuthSchemes = []smithyhttp.AuthScheme{ + internalauth.NewHTTPAuthScheme("aws.auth#sigv4", &internalauthsmithy.V4SignerAdapter{ + Signer: options.HTTPSignerV4, + Logger: options.Logger, + LogSigning: options.ClientLogMode.IsSigning(), + }), + } + } +} + +type noSmithyDocumentSerde = smithydocument.NoSerde + +type legacyEndpointContextSetter struct { + LegacyResolver EndpointResolver +} + +func (*legacyEndpointContextSetter) ID() string { + return "legacyEndpointContextSetter" +} + +func (m *legacyEndpointContextSetter) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + if m.LegacyResolver != nil { + ctx = awsmiddleware.SetRequiresLegacyEndpoints(ctx, true) + } + + return next.HandleInitialize(ctx, in) + +} +func addlegacyEndpointContextSetter(stack *middleware.Stack, o Options) error { + return stack.Initialize.Add(&legacyEndpointContextSetter{ + LegacyResolver: o.EndpointResolver, + }, middleware.Before) +} + +func resolveDefaultLogger(o *Options) { + if o.Logger != nil { + return + } + o.Logger = logging.Nop{} +} + +func addSetLoggerMiddleware(stack *middleware.Stack, o Options) error { + return middleware.AddSetLoggerMiddleware(stack, o.Logger) +} + +func setResolvedDefaultsMode(o *Options) { + if len(o.resolvedDefaultsMode) > 0 { + return + } + + var mode aws.DefaultsMode + mode.SetFromString(string(o.DefaultsMode)) + + if mode == aws.DefaultsModeAuto { + mode = defaults.ResolveDefaultsModeAuto(o.Region, o.RuntimeEnvironment) + } + + o.resolvedDefaultsMode = mode +} + +// NewFromConfig returns a new client from the provided config. +func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client { + opts := Options{ + Region: cfg.Region, + DefaultsMode: cfg.DefaultsMode, + RuntimeEnvironment: cfg.RuntimeEnvironment, + HTTPClient: cfg.HTTPClient, + Credentials: cfg.Credentials, + APIOptions: cfg.APIOptions, + Logger: cfg.Logger, + ClientLogMode: cfg.ClientLogMode, + AppID: cfg.AppID, + AuthSchemePreference: cfg.AuthSchemePreference, + } + resolveAWSRetryerProvider(cfg, &opts) + resolveAWSRetryMaxAttempts(cfg, &opts) + resolveAWSRetryMode(cfg, &opts) + resolveAWSEndpointResolver(cfg, &opts) + resolveInterceptors(cfg, &opts) + resolveUseDualStackEndpoint(cfg, &opts) + resolveUseFIPSEndpoint(cfg, &opts) + resolveBaseEndpoint(cfg, &opts) + return New(opts, func(o *Options) { + for _, opt := range cfg.ServiceOptions { + opt(ServiceID, o) + } + for _, opt := range optFns { + opt(o) + } + }) +} + +func resolveHTTPClient(o *Options) { + var buildable *awshttp.BuildableClient + + if o.HTTPClient != nil { + var ok bool + buildable, ok = o.HTTPClient.(*awshttp.BuildableClient) + if !ok { + return + } + } else { + buildable = awshttp.NewBuildableClient() + } + + modeConfig, err := defaults.GetModeConfiguration(o.resolvedDefaultsMode) + if err == nil { + buildable = buildable.WithDialerOptions(func(dialer *net.Dialer) { + if dialerTimeout, ok := modeConfig.GetConnectTimeout(); ok { + dialer.Timeout = dialerTimeout + } + }) + + buildable = buildable.WithTransportOptions(func(transport *http.Transport) { + if tlsHandshakeTimeout, ok := modeConfig.GetTLSNegotiationTimeout(); ok { + transport.TLSHandshakeTimeout = tlsHandshakeTimeout + } + }) + } + + o.HTTPClient = buildable +} + +func resolveRetryer(o *Options) { + if o.Retryer != nil { + return + } + + if len(o.RetryMode) == 0 { + modeConfig, err := defaults.GetModeConfiguration(o.resolvedDefaultsMode) + if err == nil { + o.RetryMode = modeConfig.RetryMode + } + } + if len(o.RetryMode) == 0 { + o.RetryMode = aws.RetryModeStandard + } + + var standardOptions []func(*retry.StandardOptions) + if v := o.RetryMaxAttempts; v != 0 { + standardOptions = append(standardOptions, func(so *retry.StandardOptions) { + so.MaxAttempts = v + }) + } + + switch o.RetryMode { + case aws.RetryModeAdaptive: + var adaptiveOptions []func(*retry.AdaptiveModeOptions) + if len(standardOptions) != 0 { + adaptiveOptions = append(adaptiveOptions, func(ao *retry.AdaptiveModeOptions) { + ao.StandardOptions = append(ao.StandardOptions, standardOptions...) + }) + } + o.Retryer = retry.NewAdaptiveMode(adaptiveOptions...) + + default: + o.Retryer = retry.NewStandard(standardOptions...) + } +} + +func resolveAWSRetryerProvider(cfg aws.Config, o *Options) { + if cfg.Retryer == nil { + return + } + o.Retryer = cfg.Retryer() +} + +func resolveAWSRetryMode(cfg aws.Config, o *Options) { + if len(cfg.RetryMode) == 0 { + return + } + o.RetryMode = cfg.RetryMode +} +func resolveAWSRetryMaxAttempts(cfg aws.Config, o *Options) { + if cfg.RetryMaxAttempts == 0 { + return + } + o.RetryMaxAttempts = cfg.RetryMaxAttempts +} + +func finalizeRetryMaxAttempts(o *Options) { + if o.RetryMaxAttempts == 0 { + return + } + + o.Retryer = retry.AddWithMaxAttempts(o.Retryer, o.RetryMaxAttempts) +} + +func finalizeOperationRetryMaxAttempts(o *Options, client Client) { + if v := o.RetryMaxAttempts; v == 0 || v == client.options.RetryMaxAttempts { + return + } + + o.Retryer = retry.AddWithMaxAttempts(o.Retryer, o.RetryMaxAttempts) +} + +func resolveAWSEndpointResolver(cfg aws.Config, o *Options) { + if cfg.EndpointResolver == nil && cfg.EndpointResolverWithOptions == nil { + return + } + o.EndpointResolver = withEndpointResolver(cfg.EndpointResolver, cfg.EndpointResolverWithOptions) +} + +func resolveInterceptors(cfg aws.Config, o *Options) { + o.Interceptors = cfg.Interceptors.Copy() +} + +func addClientUserAgent(stack *middleware.Stack, options Options) error { + ua, err := getOrAddRequestUserAgent(stack) + if err != nil { + return err + } + + ua.AddSDKAgentKeyValue(awsmiddleware.APIMetadata, "signin", goModuleVersion) + if len(options.AppID) > 0 { + ua.AddSDKAgentKey(awsmiddleware.ApplicationIdentifier, options.AppID) + } + + return nil +} + +func getOrAddRequestUserAgent(stack *middleware.Stack) (*awsmiddleware.RequestUserAgent, error) { + id := (*awsmiddleware.RequestUserAgent)(nil).ID() + mw, ok := stack.Build.Get(id) + if !ok { + mw = awsmiddleware.NewRequestUserAgent() + if err := stack.Build.Add(mw, middleware.After); err != nil { + return nil, err + } + } + + ua, ok := mw.(*awsmiddleware.RequestUserAgent) + if !ok { + return nil, fmt.Errorf("%T for %s middleware did not match expected type", mw, id) + } + + return ua, nil +} + +type HTTPSignerV4 interface { + SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time, optFns ...func(*v4.SignerOptions)) error +} + +func resolveHTTPSignerV4(o *Options) { + if o.HTTPSignerV4 != nil { + return + } + o.HTTPSignerV4 = newDefaultV4Signer(*o) +} + +func newDefaultV4Signer(o Options) *v4.Signer { + return v4.NewSigner(func(so *v4.SignerOptions) { + so.Logger = o.Logger + so.LogSigning = o.ClientLogMode.IsSigning() + }) +} + +func addClientRequestID(stack *middleware.Stack) error { + return stack.Build.Add(&awsmiddleware.ClientRequestID{}, middleware.After) +} + +func addComputeContentLength(stack *middleware.Stack) error { + return stack.Build.Add(&smithyhttp.ComputeContentLength{}, middleware.After) +} + +func addRawResponseToMetadata(stack *middleware.Stack) error { + return stack.Deserialize.Add(&awsmiddleware.AddRawResponse{}, middleware.Before) +} + +func addRecordResponseTiming(stack *middleware.Stack) error { + return stack.Deserialize.Add(&awsmiddleware.RecordResponseTiming{}, middleware.After) +} + +func addSpanRetryLoop(stack *middleware.Stack, options Options) error { + return stack.Finalize.Insert(&spanRetryLoop{options: options}, "Retry", middleware.Before) +} + +type spanRetryLoop struct { + options Options +} + +func (*spanRetryLoop) ID() string { + return "spanRetryLoop" +} + +func (m *spanRetryLoop) HandleFinalize( + ctx context.Context, in middleware.FinalizeInput, next middleware.FinalizeHandler, +) ( + middleware.FinalizeOutput, middleware.Metadata, error, +) { + tracer := operationTracer(m.options.TracerProvider) + ctx, span := tracer.StartSpan(ctx, "RetryLoop") + defer span.End() + + return next.HandleFinalize(ctx, in) +} +func addStreamingEventsPayload(stack *middleware.Stack) error { + return stack.Finalize.Add(&v4.StreamingEventsPayload{}, middleware.Before) +} + +func addUnsignedPayload(stack *middleware.Stack) error { + return stack.Finalize.Insert(&v4.UnsignedPayload{}, "ResolveEndpointV2", middleware.After) +} + +func addComputePayloadSHA256(stack *middleware.Stack) error { + return stack.Finalize.Insert(&v4.ComputePayloadSHA256{}, "ResolveEndpointV2", middleware.After) +} + +func addContentSHA256Header(stack *middleware.Stack) error { + return stack.Finalize.Insert(&v4.ContentSHA256Header{}, (*v4.ComputePayloadSHA256)(nil).ID(), middleware.After) +} + +func addIsWaiterUserAgent(o *Options) { + o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { + ua, err := getOrAddRequestUserAgent(stack) + if err != nil { + return err + } + + ua.AddUserAgentFeature(awsmiddleware.UserAgentFeatureWaiter) + return nil + }) +} + +func addIsPaginatorUserAgent(o *Options) { + o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { + ua, err := getOrAddRequestUserAgent(stack) + if err != nil { + return err + } + + ua.AddUserAgentFeature(awsmiddleware.UserAgentFeaturePaginator) + return nil + }) +} + +func addRetry(stack *middleware.Stack, o Options) error { + attempt := retry.NewAttemptMiddleware(o.Retryer, smithyhttp.RequestCloner, func(m *retry.Attempt) { + m.LogAttempts = o.ClientLogMode.IsRetries() + m.OperationMeter = o.MeterProvider.Meter("github.com/aws/aws-sdk-go-v2/service/signin") + }) + if err := stack.Finalize.Insert(attempt, "ResolveAuthScheme", middleware.Before); err != nil { + return err + } + if err := stack.Finalize.Insert(&retry.MetricsHeader{}, attempt.ID(), middleware.After); err != nil { + return err + } + return nil +} + +// resolves dual-stack endpoint configuration +func resolveUseDualStackEndpoint(cfg aws.Config, o *Options) error { + if len(cfg.ConfigSources) == 0 { + return nil + } + value, found, err := internalConfig.ResolveUseDualStackEndpoint(context.Background(), cfg.ConfigSources) + if err != nil { + return err + } + if found { + o.EndpointOptions.UseDualStackEndpoint = value + } + return nil +} + +// resolves FIPS endpoint configuration +func resolveUseFIPSEndpoint(cfg aws.Config, o *Options) error { + if len(cfg.ConfigSources) == 0 { + return nil + } + value, found, err := internalConfig.ResolveUseFIPSEndpoint(context.Background(), cfg.ConfigSources) + if err != nil { + return err + } + if found { + o.EndpointOptions.UseFIPSEndpoint = value + } + return nil +} + +func resolveAccountID(identity smithyauth.Identity, mode aws.AccountIDEndpointMode) *string { + if mode == aws.AccountIDEndpointModeDisabled { + return nil + } + + if ca, ok := identity.(*internalauthsmithy.CredentialsAdapter); ok && ca.Credentials.AccountID != "" { + return aws.String(ca.Credentials.AccountID) + } + + return nil +} + +func addTimeOffsetBuild(stack *middleware.Stack, c *Client) error { + mw := internalmiddleware.AddTimeOffsetMiddleware{Offset: c.timeOffset} + if err := stack.Build.Add(&mw, middleware.After); err != nil { + return err + } + return stack.Deserialize.Insert(&mw, "RecordResponseTiming", middleware.Before) +} +func initializeTimeOffsetResolver(c *Client) { + c.timeOffset = new(atomic.Int64) +} + +func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { + ua, err := getOrAddRequestUserAgent(stack) + if err != nil { + return err + } + + switch options.Retryer.(type) { + case *retry.Standard: + ua.AddUserAgentFeature(awsmiddleware.UserAgentFeatureRetryModeStandard) + case *retry.AdaptiveMode: + ua.AddUserAgentFeature(awsmiddleware.UserAgentFeatureRetryModeAdaptive) + } + return nil +} + +type setCredentialSourceMiddleware struct { + ua *awsmiddleware.RequestUserAgent + options Options +} + +func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } + +func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( + out middleware.BuildOutput, metadata middleware.Metadata, err error, +) { + asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) + if !ok { + return next.HandleBuild(ctx, in) + } + providerSources := asProviderSource.ProviderSources() + for _, source := range providerSources { + m.ua.AddCredentialsSource(source) + } + return next.HandleBuild(ctx, in) +} + +func addCredentialSource(stack *middleware.Stack, options Options) error { + ua, err := getOrAddRequestUserAgent(stack) + if err != nil { + return err + } + + mw := setCredentialSourceMiddleware{ua: ua, options: options} + return stack.Build.Insert(&mw, "UserAgent", middleware.Before) +} + +func resolveTracerProvider(options *Options) { + if options.TracerProvider == nil { + options.TracerProvider = &tracing.NopTracerProvider{} + } +} + +func resolveMeterProvider(options *Options) { + if options.MeterProvider == nil { + options.MeterProvider = metrics.NopMeterProvider{} + } +} + +func addRecursionDetection(stack *middleware.Stack) error { + return stack.Build.Add(&awsmiddleware.RecursionDetection{}, middleware.After) +} + +func addRequestIDRetrieverMiddleware(stack *middleware.Stack) error { + return stack.Deserialize.Insert(&awsmiddleware.RequestIDRetriever{}, "OperationDeserializer", middleware.Before) + +} + +func addResponseErrorMiddleware(stack *middleware.Stack) error { + return stack.Deserialize.Insert(&awshttp.ResponseErrorWrapper{}, "RequestIDRetriever", middleware.Before) + +} + +func addRequestResponseLogging(stack *middleware.Stack, o Options) error { + return stack.Deserialize.Add(&smithyhttp.RequestResponseLogger{ + LogRequest: o.ClientLogMode.IsRequest(), + LogRequestWithBody: o.ClientLogMode.IsRequestWithBody(), + LogResponse: o.ClientLogMode.IsResponse(), + LogResponseWithBody: o.ClientLogMode.IsResponseWithBody(), + }, middleware.After) +} + +type disableHTTPSMiddleware struct { + DisableHTTPS bool +} + +func (*disableHTTPSMiddleware) ID() string { + return "disableHTTPS" +} + +func (m *disableHTTPSMiddleware) HandleFinalize(ctx context.Context, in middleware.FinalizeInput, next middleware.FinalizeHandler) ( + out middleware.FinalizeOutput, metadata middleware.Metadata, err error, +) { + req, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, fmt.Errorf("unknown transport type %T", in.Request) + } + + if m.DisableHTTPS && !smithyhttp.GetHostnameImmutable(ctx) { + req.URL.Scheme = "http" + } + + return next.HandleFinalize(ctx, in) +} + +func addDisableHTTPSMiddleware(stack *middleware.Stack, o Options) error { + return stack.Finalize.Insert(&disableHTTPSMiddleware{ + DisableHTTPS: o.EndpointOptions.DisableHTTPS, + }, "ResolveEndpointV2", middleware.After) +} + +func addInterceptBeforeRetryLoop(stack *middleware.Stack, opts Options) error { + return stack.Finalize.Insert(&smithyhttp.InterceptBeforeRetryLoop{ + Interceptors: opts.Interceptors.BeforeRetryLoop, + }, "Retry", middleware.Before) +} + +func addInterceptAttempt(stack *middleware.Stack, opts Options) error { + return stack.Finalize.Insert(&smithyhttp.InterceptAttempt{ + BeforeAttempt: opts.Interceptors.BeforeAttempt, + AfterAttempt: opts.Interceptors.AfterAttempt, + }, "Retry", middleware.After) +} + +func addInterceptors(stack *middleware.Stack, opts Options) error { + // middlewares are expensive, don't add all of these interceptor ones unless the caller + // actually has at least one interceptor configured + // + // at the moment it's all-or-nothing because some of the middlewares here are responsible for + // setting fields in the interceptor context for future ones + if len(opts.Interceptors.BeforeExecution) == 0 && + len(opts.Interceptors.BeforeSerialization) == 0 && len(opts.Interceptors.AfterSerialization) == 0 && + len(opts.Interceptors.BeforeRetryLoop) == 0 && + len(opts.Interceptors.BeforeAttempt) == 0 && + len(opts.Interceptors.BeforeSigning) == 0 && len(opts.Interceptors.AfterSigning) == 0 && + len(opts.Interceptors.BeforeTransmit) == 0 && len(opts.Interceptors.AfterTransmit) == 0 && + len(opts.Interceptors.BeforeDeserialization) == 0 && len(opts.Interceptors.AfterDeserialization) == 0 && + len(opts.Interceptors.AfterAttempt) == 0 && len(opts.Interceptors.AfterExecution) == 0 { + return nil + } + + return errors.Join( + stack.Initialize.Add(&smithyhttp.InterceptExecution{ + BeforeExecution: opts.Interceptors.BeforeExecution, + AfterExecution: opts.Interceptors.AfterExecution, + }, middleware.Before), + stack.Serialize.Insert(&smithyhttp.InterceptBeforeSerialization{ + Interceptors: opts.Interceptors.BeforeSerialization, + }, "OperationSerializer", middleware.Before), + stack.Serialize.Insert(&smithyhttp.InterceptAfterSerialization{ + Interceptors: opts.Interceptors.AfterSerialization, + }, "OperationSerializer", middleware.After), + stack.Finalize.Insert(&smithyhttp.InterceptBeforeSigning{ + Interceptors: opts.Interceptors.BeforeSigning, + }, "Signing", middleware.Before), + stack.Finalize.Insert(&smithyhttp.InterceptAfterSigning{ + Interceptors: opts.Interceptors.AfterSigning, + }, "Signing", middleware.After), + stack.Deserialize.Add(&smithyhttp.InterceptTransmit{ + BeforeTransmit: opts.Interceptors.BeforeTransmit, + AfterTransmit: opts.Interceptors.AfterTransmit, + }, middleware.After), + stack.Deserialize.Insert(&smithyhttp.InterceptBeforeDeserialization{ + Interceptors: opts.Interceptors.BeforeDeserialization, + }, "OperationDeserializer", middleware.After), // (deserialize stack is called in reverse) + stack.Deserialize.Insert(&smithyhttp.InterceptAfterDeserialization{ + Interceptors: opts.Interceptors.AfterDeserialization, + }, "OperationDeserializer", middleware.Before), + ) +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/signin/api_op_CreateOAuth2Token.go b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/api_op_CreateOAuth2Token.go new file mode 100644 index 0000000000..54ba42422d --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/api_op_CreateOAuth2Token.go @@ -0,0 +1,209 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package signin + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/service/signin/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// CreateOAuth2Token API +// +// Path: /v1/token Request Method: POST Content-Type: application/json or +// application/x-www-form-urlencoded +// +// This API implements OAuth 2.0 flows for AWS Sign-In CLI clients, supporting +// both: +// +// - Authorization code redemption (grant_type=authorization_code) - NOT +// idempotent +// - Token refresh (grant_type=refresh_token) - Idempotent within token validity +// window +// +// The operation behavior is determined by the grant_type parameter in the request +// body: +// +// Authorization Code Flow (NOT Idempotent): +// +// - JSON or form-encoded body with client_id, grant_type=authorization_code, +// code, redirect_uri, code_verifier +// - Returns access_token, token_type, expires_in, refresh_token, and id_token +// - Each authorization code can only be used ONCE for security (prevents replay +// attacks) +// +// Token Refresh Flow (Idempotent): +// +// - JSON or form-encoded body with client_id, grant_type=refresh_token, +// refresh_token +// - Returns access_token, token_type, expires_in, and refresh_token (no +// id_token) +// - Multiple calls with same refresh_token return consistent results within +// validity window +// +// Authentication and authorization: +// +// - Confidential clients: sigv4 signing required with signin:ExchangeToken +// permissions +// - CLI clients (public): authn/authz skipped based on client_id & grant_type +// +// Note: This operation cannot be marked as @idempotent because it handles both +// idempotent (token refresh) and non-idempotent (auth code redemption) flows in a +// single endpoint. +func (c *Client) CreateOAuth2Token(ctx context.Context, params *CreateOAuth2TokenInput, optFns ...func(*Options)) (*CreateOAuth2TokenOutput, error) { + if params == nil { + params = &CreateOAuth2TokenInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "CreateOAuth2Token", params, optFns, c.addOperationCreateOAuth2TokenMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*CreateOAuth2TokenOutput) + out.ResultMetadata = metadata + return out, nil +} + +// Input structure for CreateOAuth2Token operation +// +// Contains flattened token operation inputs for both authorization code and +// refresh token flows. The operation type is determined by the grant_type +// parameter in the request body. +type CreateOAuth2TokenInput struct { + + // Flattened token operation inputs The specific operation is determined by + // grant_type in the request body + // + // This member is required. + TokenInput *types.CreateOAuth2TokenRequestBody + + noSmithyDocumentSerde +} + +// Output structure for CreateOAuth2Token operation +// +// Contains flattened token operation outputs for both authorization code and +// refresh token flows. The response content depends on the grant_type from the +// original request. +type CreateOAuth2TokenOutput struct { + + // Flattened token operation outputs The specific response fields depend on the + // grant_type used in the request + // + // This member is required. + TokenOutput *types.CreateOAuth2TokenResponseBody + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationCreateOAuth2TokenMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsRestjson1_serializeOpCreateOAuth2Token{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpCreateOAuth2Token{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "CreateOAuth2Token"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpCreateOAuth2TokenValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateOAuth2Token(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opCreateOAuth2Token(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "CreateOAuth2Token", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/signin/auth.go b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/auth.go new file mode 100644 index 0000000000..cf6b365041 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/auth.go @@ -0,0 +1,351 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package signin + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + smithy "github.com/aws/smithy-go" + smithyauth "github.com/aws/smithy-go/auth" + "github.com/aws/smithy-go/metrics" + "github.com/aws/smithy-go/middleware" + "github.com/aws/smithy-go/tracing" + smithyhttp "github.com/aws/smithy-go/transport/http" + "slices" + "strings" +) + +func bindAuthParamsRegion(_ interface{}, params *AuthResolverParameters, _ interface{}, options Options) error { + params.Region = options.Region + return nil +} + +type setLegacyContextSigningOptionsMiddleware struct { +} + +func (*setLegacyContextSigningOptionsMiddleware) ID() string { + return "setLegacyContextSigningOptions" +} + +func (m *setLegacyContextSigningOptionsMiddleware) HandleFinalize(ctx context.Context, in middleware.FinalizeInput, next middleware.FinalizeHandler) ( + out middleware.FinalizeOutput, metadata middleware.Metadata, err error, +) { + rscheme := getResolvedAuthScheme(ctx) + schemeID := rscheme.Scheme.SchemeID() + + if sn := awsmiddleware.GetSigningName(ctx); sn != "" { + if schemeID == "aws.auth#sigv4" { + smithyhttp.SetSigV4SigningName(&rscheme.SignerProperties, sn) + } else if schemeID == "aws.auth#sigv4a" { + smithyhttp.SetSigV4ASigningName(&rscheme.SignerProperties, sn) + } + } + + if sr := awsmiddleware.GetSigningRegion(ctx); sr != "" { + if schemeID == "aws.auth#sigv4" { + smithyhttp.SetSigV4SigningRegion(&rscheme.SignerProperties, sr) + } else if schemeID == "aws.auth#sigv4a" { + smithyhttp.SetSigV4ASigningRegions(&rscheme.SignerProperties, []string{sr}) + } + } + + return next.HandleFinalize(ctx, in) +} + +func addSetLegacyContextSigningOptionsMiddleware(stack *middleware.Stack) error { + return stack.Finalize.Insert(&setLegacyContextSigningOptionsMiddleware{}, "Signing", middleware.Before) +} + +type withAnonymous struct { + resolver AuthSchemeResolver +} + +var _ AuthSchemeResolver = (*withAnonymous)(nil) + +func (v *withAnonymous) ResolveAuthSchemes(ctx context.Context, params *AuthResolverParameters) ([]*smithyauth.Option, error) { + opts, err := v.resolver.ResolveAuthSchemes(ctx, params) + if err != nil { + return nil, err + } + + opts = append(opts, &smithyauth.Option{ + SchemeID: smithyauth.SchemeIDAnonymous, + }) + return opts, nil +} + +func wrapWithAnonymousAuth(options *Options) { + if _, ok := options.AuthSchemeResolver.(*defaultAuthSchemeResolver); !ok { + return + } + + options.AuthSchemeResolver = &withAnonymous{ + resolver: options.AuthSchemeResolver, + } +} + +// AuthResolverParameters contains the set of inputs necessary for auth scheme +// resolution. +type AuthResolverParameters struct { + // The name of the operation being invoked. + Operation string + + // The region in which the operation is being invoked. + Region string +} + +func bindAuthResolverParams(ctx context.Context, operation string, input interface{}, options Options) (*AuthResolverParameters, error) { + params := &AuthResolverParameters{ + Operation: operation, + } + + if err := bindAuthParamsRegion(ctx, params, input, options); err != nil { + return nil, err + } + + return params, nil +} + +// AuthSchemeResolver returns a set of possible authentication options for an +// operation. +type AuthSchemeResolver interface { + ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error) +} + +type defaultAuthSchemeResolver struct{} + +var _ AuthSchemeResolver = (*defaultAuthSchemeResolver)(nil) + +func (*defaultAuthSchemeResolver) ResolveAuthSchemes(ctx context.Context, params *AuthResolverParameters) ([]*smithyauth.Option, error) { + if overrides, ok := operationAuthOptions[params.Operation]; ok { + return overrides(params), nil + } + return serviceAuthOptions(params), nil +} + +var operationAuthOptions = map[string]func(*AuthResolverParameters) []*smithyauth.Option{ + "CreateOAuth2Token": func(params *AuthResolverParameters) []*smithyauth.Option { + return []*smithyauth.Option{ + {SchemeID: smithyauth.SchemeIDAnonymous}, + } + }, +} + +func serviceAuthOptions(params *AuthResolverParameters) []*smithyauth.Option { + return []*smithyauth.Option{ + { + SchemeID: smithyauth.SchemeIDSigV4, + SignerProperties: func() smithy.Properties { + var props smithy.Properties + smithyhttp.SetSigV4SigningName(&props, "signin") + smithyhttp.SetSigV4SigningRegion(&props, params.Region) + return props + }(), + }, + } +} + +type resolveAuthSchemeMiddleware struct { + operation string + options Options +} + +func (*resolveAuthSchemeMiddleware) ID() string { + return "ResolveAuthScheme" +} + +func (m *resolveAuthSchemeMiddleware) HandleFinalize(ctx context.Context, in middleware.FinalizeInput, next middleware.FinalizeHandler) ( + out middleware.FinalizeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "ResolveAuthScheme") + defer span.End() + + params, err := bindAuthResolverParams(ctx, m.operation, getOperationInput(ctx), m.options) + if err != nil { + return out, metadata, fmt.Errorf("bind auth scheme params: %w", err) + } + options, err := m.options.AuthSchemeResolver.ResolveAuthSchemes(ctx, params) + if err != nil { + return out, metadata, fmt.Errorf("resolve auth scheme: %w", err) + } + + scheme, ok := m.selectScheme(options) + if !ok { + return out, metadata, fmt.Errorf("could not select an auth scheme") + } + + ctx = setResolvedAuthScheme(ctx, scheme) + + span.SetProperty("auth.scheme_id", scheme.Scheme.SchemeID()) + span.End() + return next.HandleFinalize(ctx, in) +} + +func (m *resolveAuthSchemeMiddleware) selectScheme(options []*smithyauth.Option) (*resolvedAuthScheme, bool) { + sorted := sortAuthOptions(options, m.options.AuthSchemePreference) + for _, option := range sorted { + if option.SchemeID == smithyauth.SchemeIDAnonymous { + return newResolvedAuthScheme(smithyhttp.NewAnonymousScheme(), option), true + } + + for _, scheme := range m.options.AuthSchemes { + if scheme.SchemeID() != option.SchemeID { + continue + } + + if scheme.IdentityResolver(m.options) != nil { + return newResolvedAuthScheme(scheme, option), true + } + } + } + + return nil, false +} + +func sortAuthOptions(options []*smithyauth.Option, preferred []string) []*smithyauth.Option { + byPriority := make([]*smithyauth.Option, 0, len(options)) + for _, prefName := range preferred { + for _, option := range options { + optName := option.SchemeID + if parts := strings.Split(option.SchemeID, "#"); len(parts) == 2 { + optName = parts[1] + } + if prefName == optName { + byPriority = append(byPriority, option) + } + } + } + for _, option := range options { + if !slices.ContainsFunc(byPriority, func(o *smithyauth.Option) bool { + return o.SchemeID == option.SchemeID + }) { + byPriority = append(byPriority, option) + } + } + return byPriority +} + +type resolvedAuthSchemeKey struct{} + +type resolvedAuthScheme struct { + Scheme smithyhttp.AuthScheme + IdentityProperties smithy.Properties + SignerProperties smithy.Properties +} + +func newResolvedAuthScheme(scheme smithyhttp.AuthScheme, option *smithyauth.Option) *resolvedAuthScheme { + return &resolvedAuthScheme{ + Scheme: scheme, + IdentityProperties: option.IdentityProperties, + SignerProperties: option.SignerProperties, + } +} + +func setResolvedAuthScheme(ctx context.Context, scheme *resolvedAuthScheme) context.Context { + return middleware.WithStackValue(ctx, resolvedAuthSchemeKey{}, scheme) +} + +func getResolvedAuthScheme(ctx context.Context) *resolvedAuthScheme { + v, _ := middleware.GetStackValue(ctx, resolvedAuthSchemeKey{}).(*resolvedAuthScheme) + return v +} + +type getIdentityMiddleware struct { + options Options +} + +func (*getIdentityMiddleware) ID() string { + return "GetIdentity" +} + +func (m *getIdentityMiddleware) HandleFinalize(ctx context.Context, in middleware.FinalizeInput, next middleware.FinalizeHandler) ( + out middleware.FinalizeOutput, metadata middleware.Metadata, err error, +) { + innerCtx, span := tracing.StartSpan(ctx, "GetIdentity") + defer span.End() + + rscheme := getResolvedAuthScheme(innerCtx) + if rscheme == nil { + return out, metadata, fmt.Errorf("no resolved auth scheme") + } + + resolver := rscheme.Scheme.IdentityResolver(m.options) + if resolver == nil { + return out, metadata, fmt.Errorf("no identity resolver") + } + + identity, err := timeOperationMetric(ctx, "client.call.resolve_identity_duration", + func() (smithyauth.Identity, error) { + return resolver.GetIdentity(innerCtx, rscheme.IdentityProperties) + }, + func(o *metrics.RecordMetricOptions) { + o.Properties.Set("auth.scheme_id", rscheme.Scheme.SchemeID()) + }) + if err != nil { + return out, metadata, fmt.Errorf("get identity: %w", err) + } + + ctx = setIdentity(ctx, identity) + + span.End() + return next.HandleFinalize(ctx, in) +} + +type identityKey struct{} + +func setIdentity(ctx context.Context, identity smithyauth.Identity) context.Context { + return middleware.WithStackValue(ctx, identityKey{}, identity) +} + +func getIdentity(ctx context.Context) smithyauth.Identity { + v, _ := middleware.GetStackValue(ctx, identityKey{}).(smithyauth.Identity) + return v +} + +type signRequestMiddleware struct { + options Options +} + +func (*signRequestMiddleware) ID() string { + return "Signing" +} + +func (m *signRequestMiddleware) HandleFinalize(ctx context.Context, in middleware.FinalizeInput, next middleware.FinalizeHandler) ( + out middleware.FinalizeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "SignRequest") + defer span.End() + + req, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, fmt.Errorf("unexpected transport type %T", in.Request) + } + + rscheme := getResolvedAuthScheme(ctx) + if rscheme == nil { + return out, metadata, fmt.Errorf("no resolved auth scheme") + } + + identity := getIdentity(ctx) + if identity == nil { + return out, metadata, fmt.Errorf("no identity") + } + + signer := rscheme.Scheme.Signer() + if signer == nil { + return out, metadata, fmt.Errorf("no signer") + } + + _, err = timeOperationMetric(ctx, "client.call.signing_duration", func() (any, error) { + return nil, signer.SignRequest(ctx, req, identity, rscheme.SignerProperties) + }, func(o *metrics.RecordMetricOptions) { + o.Properties.Set("auth.scheme_id", rscheme.Scheme.SchemeID()) + }) + if err != nil { + return out, metadata, fmt.Errorf("sign request: %w", err) + } + + span.End() + return next.HandleFinalize(ctx, in) +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/signin/deserializers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/deserializers.go new file mode 100644 index 0000000000..b74b612e6b --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/deserializers.go @@ -0,0 +1,655 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package signin + +import ( + "bytes" + "context" + "encoding/json" + "fmt" + "github.com/aws/aws-sdk-go-v2/aws/protocol/restjson" + "github.com/aws/aws-sdk-go-v2/service/signin/types" + smithy "github.com/aws/smithy-go" + smithyio "github.com/aws/smithy-go/io" + "github.com/aws/smithy-go/middleware" + "github.com/aws/smithy-go/ptr" + "github.com/aws/smithy-go/tracing" + smithyhttp "github.com/aws/smithy-go/transport/http" + "io" + "strings" +) + +type awsRestjson1_deserializeOpCreateOAuth2Token struct { +} + +func (*awsRestjson1_deserializeOpCreateOAuth2Token) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpCreateOAuth2Token) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorCreateOAuth2Token(response, &metadata) + } + output := &CreateOAuth2TokenOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeDocumentCreateOAuth2TokenResponseBody(&output.TokenOutput, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + span.End() + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorCreateOAuth2Token(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + headerCode := response.Header.Get("X-Amzn-ErrorType") + if len(headerCode) != 0 { + errorCode = restjson.SanitizeErrorCode(headerCode) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + jsonCode, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(headerCode) == 0 && len(jsonCode) != 0 { + errorCode = restjson.SanitizeErrorCode(jsonCode) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("AccessDeniedException", errorCode): + return awsRestjson1_deserializeErrorAccessDeniedException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsRestjson1_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("TooManyRequestsError", errorCode): + return awsRestjson1_deserializeErrorTooManyRequestsError(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsRestjson1_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestjson1_deserializeOpDocumentCreateOAuth2TokenOutput(v **CreateOAuth2TokenOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *CreateOAuth2TokenOutput + if *v == nil { + sv = &CreateOAuth2TokenOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "tokenOutput": + if err := awsRestjson1_deserializeDocumentCreateOAuth2TokenResponseBody(&sv.TokenOutput, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeErrorAccessDeniedException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.AccessDeniedException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + err := awsRestjson1_deserializeDocumentAccessDeniedException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + + return output +} + +func awsRestjson1_deserializeErrorInternalServerException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.InternalServerException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + err := awsRestjson1_deserializeDocumentInternalServerException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + + return output +} + +func awsRestjson1_deserializeErrorTooManyRequestsError(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.TooManyRequestsError{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + err := awsRestjson1_deserializeDocumentTooManyRequestsError(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + + return output +} + +func awsRestjson1_deserializeErrorValidationException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.ValidationException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + err := awsRestjson1_deserializeDocumentValidationException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + + return output +} + +func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDeniedException, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.AccessDeniedException + if *v == nil { + sv = &types.AccessDeniedException{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "error": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected OAuth2ErrorCode to be of type string, got %T instead", value) + } + sv.Error_ = types.OAuth2ErrorCode(jtv) + } + + case "message", "Message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentAccessToken(v **types.AccessToken, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.AccessToken + if *v == nil { + sv = &types.AccessToken{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "accessKeyId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.AccessKeyId = ptr.String(jtv) + } + + case "secretAccessKey": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.SecretAccessKey = ptr.String(jtv) + } + + case "sessionToken": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.SessionToken = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentCreateOAuth2TokenResponseBody(v **types.CreateOAuth2TokenResponseBody, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.CreateOAuth2TokenResponseBody + if *v == nil { + sv = &types.CreateOAuth2TokenResponseBody{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "accessToken": + if err := awsRestjson1_deserializeDocumentAccessToken(&sv.AccessToken, value); err != nil { + return err + } + + case "expiresIn": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected ExpiresIn to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.ExpiresIn = ptr.Int32(int32(i64)) + } + + case "idToken": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected IdToken to be of type string, got %T instead", value) + } + sv.IdToken = ptr.String(jtv) + } + + case "refreshToken": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected RefreshToken to be of type string, got %T instead", value) + } + sv.RefreshToken = ptr.String(jtv) + } + + case "tokenType": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected TokenType to be of type string, got %T instead", value) + } + sv.TokenType = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalServerException, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.InternalServerException + if *v == nil { + sv = &types.InternalServerException{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "error": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected OAuth2ErrorCode to be of type string, got %T instead", value) + } + sv.Error_ = types.OAuth2ErrorCode(jtv) + } + + case "message", "Message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentTooManyRequestsError(v **types.TooManyRequestsError, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.TooManyRequestsError + if *v == nil { + sv = &types.TooManyRequestsError{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "error": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected OAuth2ErrorCode to be of type string, got %T instead", value) + } + sv.Error_ = types.OAuth2ErrorCode(jtv) + } + + case "message", "Message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationException, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.ValidationException + if *v == nil { + sv = &types.ValidationException{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "error": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected OAuth2ErrorCode to be of type string, got %T instead", value) + } + sv.Error_ = types.OAuth2ErrorCode(jtv) + } + + case "message", "Message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/signin/doc.go b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/doc.go new file mode 100644 index 0000000000..dc1a8b62f0 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/doc.go @@ -0,0 +1,9 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +// Package signin provides the API client, operations, and parameter types for AWS +// Sign-In Service. +// +// AWS Sign-In manages authentication for AWS services. This service provides +// secure authentication flows for accessing AWS resources from the console and +// developer tools. +package signin diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/signin/endpoints.go b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/endpoints.go new file mode 100644 index 0000000000..db2e6a62a3 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/endpoints.go @@ -0,0 +1,624 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package signin + +import ( + "context" + "errors" + "fmt" + "github.com/aws/aws-sdk-go-v2/aws" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + internalConfig "github.com/aws/aws-sdk-go-v2/internal/configsources" + "github.com/aws/aws-sdk-go-v2/internal/endpoints" + "github.com/aws/aws-sdk-go-v2/internal/endpoints/awsrulesfn" + internalendpoints "github.com/aws/aws-sdk-go-v2/service/signin/internal/endpoints" + smithyauth "github.com/aws/smithy-go/auth" + smithyendpoints "github.com/aws/smithy-go/endpoints" + "github.com/aws/smithy-go/endpoints/private/rulesfn" + "github.com/aws/smithy-go/middleware" + "github.com/aws/smithy-go/ptr" + "github.com/aws/smithy-go/tracing" + smithyhttp "github.com/aws/smithy-go/transport/http" + "net/http" + "net/url" + "os" + "strings" +) + +// EndpointResolverOptions is the service endpoint resolver options +type EndpointResolverOptions = internalendpoints.Options + +// EndpointResolver interface for resolving service endpoints. +type EndpointResolver interface { + ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error) +} + +var _ EndpointResolver = &internalendpoints.Resolver{} + +// NewDefaultEndpointResolver constructs a new service endpoint resolver +func NewDefaultEndpointResolver() *internalendpoints.Resolver { + return internalendpoints.New() +} + +// EndpointResolverFunc is a helper utility that wraps a function so it satisfies +// the EndpointResolver interface. This is useful when you want to add additional +// endpoint resolving logic, or stub out specific endpoints with custom values. +type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error) + +func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error) { + return fn(region, options) +} + +// EndpointResolverFromURL returns an EndpointResolver configured using the +// provided endpoint url. By default, the resolved endpoint resolver uses the +// client region as signing region, and the endpoint source is set to +// EndpointSourceCustom.You can provide functional options to configure endpoint +// values for the resolved endpoint. +func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver { + e := aws.Endpoint{URL: url, Source: aws.EndpointSourceCustom} + for _, fn := range optFns { + fn(&e) + } + + return EndpointResolverFunc( + func(region string, options EndpointResolverOptions) (aws.Endpoint, error) { + if len(e.SigningRegion) == 0 { + e.SigningRegion = region + } + return e, nil + }, + ) +} + +type ResolveEndpoint struct { + Resolver EndpointResolver + Options EndpointResolverOptions +} + +func (*ResolveEndpoint) ID() string { + return "ResolveEndpoint" +} + +func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + if !awsmiddleware.GetRequiresLegacyEndpoints(ctx) { + return next.HandleSerialize(ctx, in) + } + + req, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, fmt.Errorf("unknown transport type %T", in.Request) + } + + if m.Resolver == nil { + return out, metadata, fmt.Errorf("expected endpoint resolver to not be nil") + } + + eo := m.Options + eo.Logger = middleware.GetLogger(ctx) + + var endpoint aws.Endpoint + endpoint, err = m.Resolver.ResolveEndpoint(awsmiddleware.GetRegion(ctx), eo) + if err != nil { + nf := (&aws.EndpointNotFoundError{}) + if errors.As(err, &nf) { + ctx = awsmiddleware.SetRequiresLegacyEndpoints(ctx, false) + return next.HandleSerialize(ctx, in) + } + return out, metadata, fmt.Errorf("failed to resolve service endpoint, %w", err) + } + + req.URL, err = url.Parse(endpoint.URL) + if err != nil { + return out, metadata, fmt.Errorf("failed to parse endpoint URL: %w", err) + } + + if len(awsmiddleware.GetSigningName(ctx)) == 0 { + signingName := endpoint.SigningName + if len(signingName) == 0 { + signingName = "signin" + } + ctx = awsmiddleware.SetSigningName(ctx, signingName) + } + ctx = awsmiddleware.SetEndpointSource(ctx, endpoint.Source) + ctx = smithyhttp.SetHostnameImmutable(ctx, endpoint.HostnameImmutable) + ctx = awsmiddleware.SetSigningRegion(ctx, endpoint.SigningRegion) + ctx = awsmiddleware.SetPartitionID(ctx, endpoint.PartitionID) + return next.HandleSerialize(ctx, in) +} +func addResolveEndpointMiddleware(stack *middleware.Stack, o Options) error { + return stack.Serialize.Insert(&ResolveEndpoint{ + Resolver: o.EndpointResolver, + Options: o.EndpointOptions, + }, "OperationSerializer", middleware.Before) +} + +func removeResolveEndpointMiddleware(stack *middleware.Stack) error { + _, err := stack.Serialize.Remove((&ResolveEndpoint{}).ID()) + return err +} + +type wrappedEndpointResolver struct { + awsResolver aws.EndpointResolverWithOptions +} + +func (w *wrappedEndpointResolver) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error) { + return w.awsResolver.ResolveEndpoint(ServiceID, region, options) +} + +type awsEndpointResolverAdaptor func(service, region string) (aws.Endpoint, error) + +func (a awsEndpointResolverAdaptor) ResolveEndpoint(service, region string, options ...interface{}) (aws.Endpoint, error) { + return a(service, region) +} + +var _ aws.EndpointResolverWithOptions = awsEndpointResolverAdaptor(nil) + +// withEndpointResolver returns an aws.EndpointResolverWithOptions that first delegates endpoint resolution to the awsResolver. +// If awsResolver returns aws.EndpointNotFoundError error, the v1 resolver middleware will swallow the error, +// and set an appropriate context flag such that fallback will occur when EndpointResolverV2 is invoked +// via its middleware. +// +// If another error (besides aws.EndpointNotFoundError) is returned, then that error will be propagated. +func withEndpointResolver(awsResolver aws.EndpointResolver, awsResolverWithOptions aws.EndpointResolverWithOptions) EndpointResolver { + var resolver aws.EndpointResolverWithOptions + + if awsResolverWithOptions != nil { + resolver = awsResolverWithOptions + } else if awsResolver != nil { + resolver = awsEndpointResolverAdaptor(awsResolver.ResolveEndpoint) + } + + return &wrappedEndpointResolver{ + awsResolver: resolver, + } +} + +func finalizeClientEndpointResolverOptions(options *Options) { + options.EndpointOptions.LogDeprecated = options.ClientLogMode.IsDeprecatedUsage() + + if len(options.EndpointOptions.ResolvedRegion) == 0 { + const fipsInfix = "-fips-" + const fipsPrefix = "fips-" + const fipsSuffix = "-fips" + + if strings.Contains(options.Region, fipsInfix) || + strings.Contains(options.Region, fipsPrefix) || + strings.Contains(options.Region, fipsSuffix) { + options.EndpointOptions.ResolvedRegion = strings.ReplaceAll(strings.ReplaceAll(strings.ReplaceAll( + options.Region, fipsInfix, "-"), fipsPrefix, ""), fipsSuffix, "") + options.EndpointOptions.UseFIPSEndpoint = aws.FIPSEndpointStateEnabled + } + } + +} + +func resolveEndpointResolverV2(options *Options) { + if options.EndpointResolverV2 == nil { + options.EndpointResolverV2 = NewDefaultEndpointResolverV2() + } +} + +func resolveBaseEndpoint(cfg aws.Config, o *Options) { + if cfg.BaseEndpoint != nil { + o.BaseEndpoint = cfg.BaseEndpoint + } + + _, g := os.LookupEnv("AWS_ENDPOINT_URL") + _, s := os.LookupEnv("AWS_ENDPOINT_URL_SIGNIN") + + if g && !s { + return + } + + value, found, err := internalConfig.ResolveServiceBaseEndpoint(context.Background(), "Signin", cfg.ConfigSources) + if found && err == nil { + o.BaseEndpoint = &value + } +} + +func bindRegion(region string) (*string, error) { + if region == "" { + return nil, nil + } + if !rulesfn.IsValidHostLabel(region, true) { + return nil, fmt.Errorf("invalid input region %s", region) + } + + return aws.String(endpoints.MapFIPSRegion(region)), nil +} + +// EndpointParameters provides the parameters that influence how endpoints are +// resolved. +type EndpointParameters struct { + // When true, use the dual-stack endpoint. If the configured endpoint does not + // support dual-stack, dispatching the request MAY return an error. + // + // Defaults to + // false if no value is provided. + // + // AWS::UseDualStack + UseDualStack *bool + + // When true, send this request to the FIPS-compliant regional endpoint. If the + // configured endpoint does not have a FIPS compliant endpoint, dispatching the + // request will return an error. + // + // Defaults to false if no value is + // provided. + // + // AWS::UseFIPS + UseFIPS *bool + + // Override the endpoint used to send this request + // + // Parameter is + // required. + // + // SDK::Endpoint + Endpoint *string + + // The AWS region used to dispatch the request. + // + // Parameter is + // required. + // + // AWS::Region + Region *string +} + +// ValidateRequired validates required parameters are set. +func (p EndpointParameters) ValidateRequired() error { + if p.UseDualStack == nil { + return fmt.Errorf("parameter UseDualStack is required") + } + + if p.UseFIPS == nil { + return fmt.Errorf("parameter UseFIPS is required") + } + + return nil +} + +// WithDefaults returns a shallow copy of EndpointParameterswith default values +// applied to members where applicable. +func (p EndpointParameters) WithDefaults() EndpointParameters { + if p.UseDualStack == nil { + p.UseDualStack = ptr.Bool(false) + } + + if p.UseFIPS == nil { + p.UseFIPS = ptr.Bool(false) + } + return p +} + +type stringSlice []string + +func (s stringSlice) Get(i int) *string { + if i < 0 || i >= len(s) { + return nil + } + + v := s[i] + return &v +} + +// EndpointResolverV2 provides the interface for resolving service endpoints. +type EndpointResolverV2 interface { + // ResolveEndpoint attempts to resolve the endpoint with the provided options, + // returning the endpoint if found. Otherwise an error is returned. + ResolveEndpoint(ctx context.Context, params EndpointParameters) ( + smithyendpoints.Endpoint, error, + ) +} + +// resolver provides the implementation for resolving endpoints. +type resolver struct{} + +func NewDefaultEndpointResolverV2() EndpointResolverV2 { + return &resolver{} +} + +// ResolveEndpoint attempts to resolve the endpoint with the provided options, +// returning the endpoint if found. Otherwise an error is returned. +func (r *resolver) ResolveEndpoint( + ctx context.Context, params EndpointParameters, +) ( + endpoint smithyendpoints.Endpoint, err error, +) { + params = params.WithDefaults() + if err = params.ValidateRequired(); err != nil { + return endpoint, fmt.Errorf("endpoint parameters are not valid, %w", err) + } + _UseDualStack := *params.UseDualStack + _ = _UseDualStack + _UseFIPS := *params.UseFIPS + _ = _UseFIPS + + if exprVal := params.Endpoint; exprVal != nil { + _Endpoint := *exprVal + _ = _Endpoint + if _UseFIPS == true { + return endpoint, fmt.Errorf("endpoint rule error, %s", "Invalid Configuration: FIPS and custom endpoint are not supported") + } + if _UseDualStack == true { + return endpoint, fmt.Errorf("endpoint rule error, %s", "Invalid Configuration: Dualstack and custom endpoint are not supported") + } + uriString := _Endpoint + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + }, nil + } + if exprVal := params.Region; exprVal != nil { + _Region := *exprVal + _ = _Region + if exprVal := awsrulesfn.GetPartition(_Region); exprVal != nil { + _PartitionResult := *exprVal + _ = _PartitionResult + if _PartitionResult.Name == "aws" { + if _UseFIPS == false { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Region) + out.WriteString(".signin.aws.amazon.com") + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + }, nil + } + } + } + if _PartitionResult.Name == "aws-cn" { + if _UseFIPS == false { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Region) + out.WriteString(".signin.amazonaws.cn") + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + }, nil + } + } + } + if _PartitionResult.Name == "aws-us-gov" { + if _UseFIPS == false { + if _UseDualStack == false { + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(_Region) + out.WriteString(".signin.amazonaws-us-gov.com") + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + }, nil + } + } + } + if _UseFIPS == true { + if _UseDualStack == true { + if true == _PartitionResult.SupportsFIPS { + if true == _PartitionResult.SupportsDualStack { + uriString := func() string { + var out strings.Builder + out.WriteString("https://signin-fips.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_PartitionResult.DualStackDnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + }, nil + } + } + return endpoint, fmt.Errorf("endpoint rule error, %s", "FIPS and DualStack are enabled, but this partition does not support one or both") + } + } + if _UseFIPS == true { + if _UseDualStack == false { + if _PartitionResult.SupportsFIPS == true { + uriString := func() string { + var out strings.Builder + out.WriteString("https://signin-fips.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_PartitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + }, nil + } + return endpoint, fmt.Errorf("endpoint rule error, %s", "FIPS is enabled but this partition does not support FIPS") + } + } + if _UseFIPS == false { + if _UseDualStack == true { + if true == _PartitionResult.SupportsDualStack { + uriString := func() string { + var out strings.Builder + out.WriteString("https://signin.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_PartitionResult.DualStackDnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + }, nil + } + return endpoint, fmt.Errorf("endpoint rule error, %s", "DualStack is enabled but this partition does not support DualStack") + } + } + uriString := func() string { + var out strings.Builder + out.WriteString("https://signin.") + out.WriteString(_Region) + out.WriteString(".") + out.WriteString(_PartitionResult.DnsSuffix) + return out.String() + }() + + uri, err := url.Parse(uriString) + if err != nil { + return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) + } + + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + }, nil + } + return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") + } + return endpoint, fmt.Errorf("endpoint rule error, %s", "Invalid Configuration: Missing Region") +} + +type endpointParamsBinder interface { + bindEndpointParams(*EndpointParameters) +} + +func bindEndpointParams(ctx context.Context, input interface{}, options Options) (*EndpointParameters, error) { + params := &EndpointParameters{} + + params.UseDualStack = aws.Bool(options.EndpointOptions.UseDualStackEndpoint == aws.DualStackEndpointStateEnabled) + params.UseFIPS = aws.Bool(options.EndpointOptions.UseFIPSEndpoint == aws.FIPSEndpointStateEnabled) + params.Endpoint = options.BaseEndpoint + region, err := bindRegion(options.Region) + if err != nil { + return nil, err + } + params.Region = region + + if b, ok := input.(endpointParamsBinder); ok { + b.bindEndpointParams(params) + } + + return params, nil +} + +type resolveEndpointV2Middleware struct { + options Options +} + +func (*resolveEndpointV2Middleware) ID() string { + return "ResolveEndpointV2" +} + +func (m *resolveEndpointV2Middleware) HandleFinalize(ctx context.Context, in middleware.FinalizeInput, next middleware.FinalizeHandler) ( + out middleware.FinalizeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "ResolveEndpoint") + defer span.End() + + if awsmiddleware.GetRequiresLegacyEndpoints(ctx) { + return next.HandleFinalize(ctx, in) + } + + req, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, fmt.Errorf("unknown transport type %T", in.Request) + } + + if m.options.EndpointResolverV2 == nil { + return out, metadata, fmt.Errorf("expected endpoint resolver to not be nil") + } + + params, err := bindEndpointParams(ctx, getOperationInput(ctx), m.options) + if err != nil { + return out, metadata, fmt.Errorf("failed to bind endpoint params, %w", err) + } + endpt, err := timeOperationMetric(ctx, "client.call.resolve_endpoint_duration", + func() (smithyendpoints.Endpoint, error) { + return m.options.EndpointResolverV2.ResolveEndpoint(ctx, *params) + }) + if err != nil { + return out, metadata, fmt.Errorf("failed to resolve service endpoint, %w", err) + } + + span.SetProperty("client.call.resolved_endpoint", endpt.URI.String()) + + if endpt.URI.RawPath == "" && req.URL.RawPath != "" { + endpt.URI.RawPath = endpt.URI.Path + } + req.URL.Scheme = endpt.URI.Scheme + req.URL.Host = endpt.URI.Host + req.URL.Path = smithyhttp.JoinPath(endpt.URI.Path, req.URL.Path) + req.URL.RawPath = smithyhttp.JoinPath(endpt.URI.RawPath, req.URL.RawPath) + for k := range endpt.Headers { + req.Header.Set(k, endpt.Headers.Get(k)) + } + + rscheme := getResolvedAuthScheme(ctx) + if rscheme == nil { + return out, metadata, fmt.Errorf("no resolved auth scheme") + } + + opts, _ := smithyauth.GetAuthOptions(&endpt.Properties) + for _, o := range opts { + rscheme.SignerProperties.SetAll(&o.SignerProperties) + } + + span.End() + return next.HandleFinalize(ctx, in) +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/signin/generated.json b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/generated.json new file mode 100644 index 0000000000..8014c56167 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/generated.json @@ -0,0 +1,34 @@ +{ + "dependencies": { + "github.com/aws/aws-sdk-go-v2": "v1.4.0", + "github.com/aws/aws-sdk-go-v2/internal/configsources": "v0.0.0-00010101000000-000000000000", + "github.com/aws/aws-sdk-go-v2/internal/endpoints/v2": "v2.0.0-00010101000000-000000000000", + "github.com/aws/smithy-go": "v1.4.0" + }, + "files": [ + "api_client.go", + "api_client_test.go", + "api_op_CreateOAuth2Token.go", + "auth.go", + "deserializers.go", + "doc.go", + "endpoints.go", + "endpoints_config_test.go", + "endpoints_test.go", + "generated.json", + "internal/endpoints/endpoints.go", + "internal/endpoints/endpoints_test.go", + "options.go", + "protocol_test.go", + "serializers.go", + "snapshot_test.go", + "sra_operation_order_test.go", + "types/enums.go", + "types/errors.go", + "types/types.go", + "validators.go" + ], + "go": "1.23", + "module": "github.com/aws/aws-sdk-go-v2/service/signin", + "unstable": false +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/signin/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/go_module_metadata.go new file mode 100644 index 0000000000..b10ad4354c --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/go_module_metadata.go @@ -0,0 +1,6 @@ +// Code generated by internal/repotools/cmd/updatemodulemeta DO NOT EDIT. + +package signin + +// goModuleVersion is the tagged release for this module +const goModuleVersion = "1.0.5" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/signin/internal/endpoints/endpoints.go b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/internal/endpoints/endpoints.go new file mode 100644 index 0000000000..cfb2efea8a --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/internal/endpoints/endpoints.go @@ -0,0 +1,333 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package endpoints + +import ( + "github.com/aws/aws-sdk-go-v2/aws" + endpoints "github.com/aws/aws-sdk-go-v2/internal/endpoints/v2" + "github.com/aws/smithy-go/logging" + "regexp" +) + +// Options is the endpoint resolver configuration options +type Options struct { + // Logger is a logging implementation that log events should be sent to. + Logger logging.Logger + + // LogDeprecated indicates that deprecated endpoints should be logged to the + // provided logger. + LogDeprecated bool + + // ResolvedRegion is used to override the region to be resolved, rather then the + // using the value passed to the ResolveEndpoint method. This value is used by the + // SDK to translate regions like fips-us-east-1 or us-east-1-fips to an alternative + // name. You must not set this value directly in your application. + ResolvedRegion string + + // DisableHTTPS informs the resolver to return an endpoint that does not use the + // HTTPS scheme. + DisableHTTPS bool + + // UseDualStackEndpoint specifies the resolver must resolve a dual-stack endpoint. + UseDualStackEndpoint aws.DualStackEndpointState + + // UseFIPSEndpoint specifies the resolver must resolve a FIPS endpoint. + UseFIPSEndpoint aws.FIPSEndpointState +} + +func (o Options) GetResolvedRegion() string { + return o.ResolvedRegion +} + +func (o Options) GetDisableHTTPS() bool { + return o.DisableHTTPS +} + +func (o Options) GetUseDualStackEndpoint() aws.DualStackEndpointState { + return o.UseDualStackEndpoint +} + +func (o Options) GetUseFIPSEndpoint() aws.FIPSEndpointState { + return o.UseFIPSEndpoint +} + +func transformToSharedOptions(options Options) endpoints.Options { + return endpoints.Options{ + Logger: options.Logger, + LogDeprecated: options.LogDeprecated, + ResolvedRegion: options.ResolvedRegion, + DisableHTTPS: options.DisableHTTPS, + UseDualStackEndpoint: options.UseDualStackEndpoint, + UseFIPSEndpoint: options.UseFIPSEndpoint, + } +} + +// Resolver Signin endpoint resolver +type Resolver struct { + partitions endpoints.Partitions +} + +// ResolveEndpoint resolves the service endpoint for the given region and options +func (r *Resolver) ResolveEndpoint(region string, options Options) (endpoint aws.Endpoint, err error) { + if len(region) == 0 { + return endpoint, &aws.MissingRegionError{} + } + + opt := transformToSharedOptions(options) + return r.partitions.ResolveEndpoint(region, opt) +} + +// New returns a new Resolver +func New() *Resolver { + return &Resolver{ + partitions: defaultPartitions, + } +} + +var partitionRegexp = struct { + Aws *regexp.Regexp + AwsCn *regexp.Regexp + AwsEusc *regexp.Regexp + AwsIso *regexp.Regexp + AwsIsoB *regexp.Regexp + AwsIsoE *regexp.Regexp + AwsIsoF *regexp.Regexp + AwsUsGov *regexp.Regexp +}{ + + Aws: regexp.MustCompile("^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$"), + AwsCn: regexp.MustCompile("^cn\\-\\w+\\-\\d+$"), + AwsEusc: regexp.MustCompile("^eusc\\-(de)\\-\\w+\\-\\d+$"), + AwsIso: regexp.MustCompile("^us\\-iso\\-\\w+\\-\\d+$"), + AwsIsoB: regexp.MustCompile("^us\\-isob\\-\\w+\\-\\d+$"), + AwsIsoE: regexp.MustCompile("^eu\\-isoe\\-\\w+\\-\\d+$"), + AwsIsoF: regexp.MustCompile("^us\\-isof\\-\\w+\\-\\d+$"), + AwsUsGov: regexp.MustCompile("^us\\-gov\\-\\w+\\-\\d+$"), +} + +var defaultPartitions = endpoints.Partitions{ + { + ID: "aws", + Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ + { + Variant: endpoints.DualStackVariant, + }: { + Hostname: "signin.{region}.api.aws", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: endpoints.FIPSVariant, + }: { + Hostname: "signin-fips.{region}.amazonaws.com", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: endpoints.FIPSVariant | endpoints.DualStackVariant, + }: { + Hostname: "signin-fips.{region}.api.aws", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: 0, + }: { + Hostname: "signin.{region}.amazonaws.com", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + }, + RegionRegex: partitionRegexp.Aws, + IsRegionalized: true, + }, + { + ID: "aws-cn", + Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ + { + Variant: endpoints.DualStackVariant, + }: { + Hostname: "signin.{region}.api.amazonwebservices.com.cn", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: endpoints.FIPSVariant, + }: { + Hostname: "signin-fips.{region}.amazonaws.com.cn", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: endpoints.FIPSVariant | endpoints.DualStackVariant, + }: { + Hostname: "signin-fips.{region}.api.amazonwebservices.com.cn", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: 0, + }: { + Hostname: "signin.{region}.amazonaws.com.cn", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + }, + RegionRegex: partitionRegexp.AwsCn, + IsRegionalized: true, + }, + { + ID: "aws-eusc", + Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ + { + Variant: endpoints.DualStackVariant, + }: { + Hostname: "signin.{region}.api.amazonwebservices.eu", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: endpoints.FIPSVariant, + }: { + Hostname: "signin-fips.{region}.amazonaws.eu", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: endpoints.FIPSVariant | endpoints.DualStackVariant, + }: { + Hostname: "signin-fips.{region}.api.amazonwebservices.eu", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: 0, + }: { + Hostname: "signin.{region}.amazonaws.eu", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + }, + RegionRegex: partitionRegexp.AwsEusc, + IsRegionalized: true, + }, + { + ID: "aws-iso", + Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ + { + Variant: endpoints.FIPSVariant, + }: { + Hostname: "signin-fips.{region}.c2s.ic.gov", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: 0, + }: { + Hostname: "signin.{region}.c2s.ic.gov", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + }, + RegionRegex: partitionRegexp.AwsIso, + IsRegionalized: true, + }, + { + ID: "aws-iso-b", + Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ + { + Variant: endpoints.FIPSVariant, + }: { + Hostname: "signin-fips.{region}.sc2s.sgov.gov", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: 0, + }: { + Hostname: "signin.{region}.sc2s.sgov.gov", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + }, + RegionRegex: partitionRegexp.AwsIsoB, + IsRegionalized: true, + }, + { + ID: "aws-iso-e", + Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ + { + Variant: endpoints.FIPSVariant, + }: { + Hostname: "signin-fips.{region}.cloud.adc-e.uk", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: 0, + }: { + Hostname: "signin.{region}.cloud.adc-e.uk", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + }, + RegionRegex: partitionRegexp.AwsIsoE, + IsRegionalized: true, + }, + { + ID: "aws-iso-f", + Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ + { + Variant: endpoints.FIPSVariant, + }: { + Hostname: "signin-fips.{region}.csp.hci.ic.gov", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: 0, + }: { + Hostname: "signin.{region}.csp.hci.ic.gov", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + }, + RegionRegex: partitionRegexp.AwsIsoF, + IsRegionalized: true, + }, + { + ID: "aws-us-gov", + Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ + { + Variant: endpoints.DualStackVariant, + }: { + Hostname: "signin.{region}.api.aws", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: endpoints.FIPSVariant, + }: { + Hostname: "signin-fips.{region}.amazonaws.com", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: endpoints.FIPSVariant | endpoints.DualStackVariant, + }: { + Hostname: "signin-fips.{region}.api.aws", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: 0, + }: { + Hostname: "signin.{region}.amazonaws.com", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + }, + RegionRegex: partitionRegexp.AwsUsGov, + IsRegionalized: true, + }, +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/signin/options.go b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/options.go new file mode 100644 index 0000000000..3262aa5822 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/options.go @@ -0,0 +1,239 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package signin + +import ( + "context" + "github.com/aws/aws-sdk-go-v2/aws" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + internalauthsmithy "github.com/aws/aws-sdk-go-v2/internal/auth/smithy" + smithyauth "github.com/aws/smithy-go/auth" + "github.com/aws/smithy-go/logging" + "github.com/aws/smithy-go/metrics" + "github.com/aws/smithy-go/middleware" + "github.com/aws/smithy-go/tracing" + smithyhttp "github.com/aws/smithy-go/transport/http" + "net/http" +) + +type HTTPClient interface { + Do(*http.Request) (*http.Response, error) +} + +type Options struct { + // Set of options to modify how an operation is invoked. These apply to all + // operations invoked for this client. Use functional options on operation call to + // modify this list for per operation behavior. + APIOptions []func(*middleware.Stack) error + + // The optional application specific identifier appended to the User-Agent header. + AppID string + + // This endpoint will be given as input to an EndpointResolverV2. It is used for + // providing a custom base endpoint that is subject to modifications by the + // processing EndpointResolverV2. + BaseEndpoint *string + + // Configures the events that will be sent to the configured logger. + ClientLogMode aws.ClientLogMode + + // The credentials object to use when signing requests. + Credentials aws.CredentialsProvider + + // The configuration DefaultsMode that the SDK should use when constructing the + // clients initial default settings. + DefaultsMode aws.DefaultsMode + + // The endpoint options to be used when attempting to resolve an endpoint. + EndpointOptions EndpointResolverOptions + + // The service endpoint resolver. + // + // Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a + // value for this field will likely prevent you from using any endpoint-related + // service features released after the introduction of EndpointResolverV2 and + // BaseEndpoint. + // + // To migrate an EndpointResolver implementation that uses a custom endpoint, set + // the client option BaseEndpoint instead. + EndpointResolver EndpointResolver + + // Resolves the endpoint used for a particular service operation. This should be + // used over the deprecated EndpointResolver. + EndpointResolverV2 EndpointResolverV2 + + // Signature Version 4 (SigV4) Signer + HTTPSignerV4 HTTPSignerV4 + + // The logger writer interface to write logging messages to. + Logger logging.Logger + + // The client meter provider. + MeterProvider metrics.MeterProvider + + // The region to send requests to. (Required) + Region string + + // RetryMaxAttempts specifies the maximum number attempts an API client will call + // an operation that fails with a retryable error. A value of 0 is ignored, and + // will not be used to configure the API client created default retryer, or modify + // per operation call's retry max attempts. + // + // If specified in an operation call's functional options with a value that is + // different than the constructed client's Options, the Client's Retryer will be + // wrapped to use the operation's specific RetryMaxAttempts value. + RetryMaxAttempts int + + // RetryMode specifies the retry mode the API client will be created with, if + // Retryer option is not also specified. + // + // When creating a new API Clients this member will only be used if the Retryer + // Options member is nil. This value will be ignored if Retryer is not nil. + // + // Currently does not support per operation call overrides, may in the future. + RetryMode aws.RetryMode + + // Retryer guides how HTTP requests should be retried in case of recoverable + // failures. When nil the API client will use a default retryer. The kind of + // default retry created by the API client can be changed with the RetryMode + // option. + Retryer aws.Retryer + + // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set + // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You + // should not populate this structure programmatically, or rely on the values here + // within your applications. + RuntimeEnvironment aws.RuntimeEnvironment + + // The client tracer provider. + TracerProvider tracing.TracerProvider + + // The initial DefaultsMode used when the client options were constructed. If the + // DefaultsMode was set to aws.DefaultsModeAuto this will store what the resolved + // value was at that point in time. + // + // Currently does not support per operation call overrides, may in the future. + resolvedDefaultsMode aws.DefaultsMode + + // The HTTP client to invoke API calls with. Defaults to client's default HTTP + // implementation if nil. + HTTPClient HTTPClient + + // Client registry of operation interceptors. + Interceptors smithyhttp.InterceptorRegistry + + // The auth scheme resolver which determines how to authenticate for each + // operation. + AuthSchemeResolver AuthSchemeResolver + + // The list of auth schemes supported by the client. + AuthSchemes []smithyhttp.AuthScheme + + // Priority list of preferred auth scheme names (e.g. sigv4a). + AuthSchemePreference []string +} + +// Copy creates a clone where the APIOptions list is deep copied. +func (o Options) Copy() Options { + to := o + to.APIOptions = make([]func(*middleware.Stack) error, len(o.APIOptions)) + copy(to.APIOptions, o.APIOptions) + to.Interceptors = o.Interceptors.Copy() + + return to +} + +func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver { + if schemeID == "aws.auth#sigv4" { + return getSigV4IdentityResolver(o) + } + if schemeID == "smithy.api#noAuth" { + return &smithyauth.AnonymousIdentityResolver{} + } + return nil +} + +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + +// Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for +// this field will likely prevent you from using any endpoint-related service +// features released after the introduction of EndpointResolverV2 and BaseEndpoint. +// +// To migrate an EndpointResolver implementation that uses a custom endpoint, set +// the client option BaseEndpoint instead. +func WithEndpointResolver(v EndpointResolver) func(*Options) { + return func(o *Options) { + o.EndpointResolver = v + } +} + +// WithEndpointResolverV2 returns a functional option for setting the Client's +// EndpointResolverV2 option. +func WithEndpointResolverV2(v EndpointResolverV2) func(*Options) { + return func(o *Options) { + o.EndpointResolverV2 = v + } +} + +func getSigV4IdentityResolver(o Options) smithyauth.IdentityResolver { + if o.Credentials != nil { + return &internalauthsmithy.CredentialsProviderAdapter{Provider: o.Credentials} + } + return nil +} + +// WithSigV4SigningName applies an override to the authentication workflow to +// use the given signing name for SigV4-authenticated operations. +// +// This is an advanced setting. The value here is FINAL, taking precedence over +// the resolved signing name from both auth scheme resolution and endpoint +// resolution. +func WithSigV4SigningName(name string) func(*Options) { + fn := func(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, + ) { + return next.HandleInitialize(awsmiddleware.SetSigningName(ctx, name), in) + } + return func(o *Options) { + o.APIOptions = append(o.APIOptions, func(s *middleware.Stack) error { + return s.Initialize.Add( + middleware.InitializeMiddlewareFunc("withSigV4SigningName", fn), + middleware.Before, + ) + }) + } +} + +// WithSigV4SigningRegion applies an override to the authentication workflow to +// use the given signing region for SigV4-authenticated operations. +// +// This is an advanced setting. The value here is FINAL, taking precedence over +// the resolved signing region from both auth scheme resolution and endpoint +// resolution. +func WithSigV4SigningRegion(region string) func(*Options) { + fn := func(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, + ) { + return next.HandleInitialize(awsmiddleware.SetSigningRegion(ctx, region), in) + } + return func(o *Options) { + o.APIOptions = append(o.APIOptions, func(s *middleware.Stack) error { + return s.Initialize.Add( + middleware.InitializeMiddlewareFunc("withSigV4SigningRegion", fn), + middleware.Before, + ) + }) + } +} + +func ignoreAnonymousAuth(options *Options) { + if aws.IsCredentialsProvider(options.Credentials, (*aws.AnonymousCredentials)(nil)) { + options.Credentials = nil + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/signin/serializers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/serializers.go new file mode 100644 index 0000000000..958240275e --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/serializers.go @@ -0,0 +1,135 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package signin + +import ( + "bytes" + "context" + "fmt" + "github.com/aws/aws-sdk-go-v2/service/signin/types" + smithy "github.com/aws/smithy-go" + "github.com/aws/smithy-go/encoding/httpbinding" + smithyjson "github.com/aws/smithy-go/encoding/json" + "github.com/aws/smithy-go/middleware" + "github.com/aws/smithy-go/tracing" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +type awsRestjson1_serializeOpCreateOAuth2Token struct { +} + +func (*awsRestjson1_serializeOpCreateOAuth2Token) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpCreateOAuth2Token) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*CreateOAuth2TokenInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/v1/token") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "POST" + var restEncoder *httpbinding.Encoder + if request.URL.RawPath == "" { + restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + } else { + request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) + restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) + } + + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if !restEncoder.HasHeader("Content-Type") { + ctx = smithyhttp.SetIsContentTypeDefaultValue(ctx, true) + restEncoder.SetHeader("Content-Type").String("application/json") + } + + if input.TokenInput != nil { + jsonEncoder := smithyjson.NewEncoder() + if err := awsRestjson1_serializeDocumentCreateOAuth2TokenRequestBody(input.TokenInput, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + payload := bytes.NewReader(jsonEncoder.Bytes()) + if request, err = request.SetStream(payload); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + } else { + jsonEncoder := smithyjson.NewEncoder() + jsonEncoder.Value.Object().Close() + payload := bytes.NewReader(jsonEncoder.Bytes()) + if request, err = request.SetStream(payload); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsCreateOAuth2TokenInput(v *CreateOAuth2TokenInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + return nil +} + +func awsRestjson1_serializeDocumentCreateOAuth2TokenRequestBody(v *types.CreateOAuth2TokenRequestBody, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.ClientId != nil { + ok := object.Key("clientId") + ok.String(*v.ClientId) + } + + if v.Code != nil { + ok := object.Key("code") + ok.String(*v.Code) + } + + if v.CodeVerifier != nil { + ok := object.Key("codeVerifier") + ok.String(*v.CodeVerifier) + } + + if v.GrantType != nil { + ok := object.Key("grantType") + ok.String(*v.GrantType) + } + + if v.RedirectUri != nil { + ok := object.Key("redirectUri") + ok.String(*v.RedirectUri) + } + + if v.RefreshToken != nil { + ok := object.Key("refreshToken") + ok.String(*v.RefreshToken) + } + + return nil +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/signin/types/enums.go b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/types/enums.go new file mode 100644 index 0000000000..ecfabb81f7 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/types/enums.go @@ -0,0 +1,37 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package types + +type OAuth2ErrorCode string + +// Enum values for OAuth2ErrorCode +const ( + // Token has expired and needs to be refreshed + OAuth2ErrorCodeTokenExpired OAuth2ErrorCode = "TOKEN_EXPIRED" + // User credentials have been changed + OAuth2ErrorCodeUserCredentialsChanged OAuth2ErrorCode = "USER_CREDENTIALS_CHANGED" + // Insufficient permissions to perform this operation + OAuth2ErrorCodeInsufficientPermissions OAuth2ErrorCode = "INSUFFICIENT_PERMISSIONS" + // Authorization code has expired + OAuth2ErrorCodeAuthcodeExpired OAuth2ErrorCode = "AUTHCODE_EXPIRED" + // Internal server error occurred + OAuth2ErrorCodeServerError OAuth2ErrorCode = "server_error" + // The request is missing a required parameter, includes an invalid parameter + // value, or is otherwise malformed + OAuth2ErrorCodeInvalidRequest OAuth2ErrorCode = "INVALID_REQUEST" +) + +// Values returns all known values for OAuth2ErrorCode. Note that this can be +// expanded in the future, and so it is only as up to date as the client. +// +// The ordering of this slice is not guaranteed to be stable across updates. +func (OAuth2ErrorCode) Values() []OAuth2ErrorCode { + return []OAuth2ErrorCode{ + "TOKEN_EXPIRED", + "USER_CREDENTIALS_CHANGED", + "INSUFFICIENT_PERMISSIONS", + "AUTHCODE_EXPIRED", + "server_error", + "INVALID_REQUEST", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/signin/types/errors.go b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/types/errors.go new file mode 100644 index 0000000000..ca4928a86c --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/types/errors.go @@ -0,0 +1,151 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package types + +import ( + "fmt" + smithy "github.com/aws/smithy-go" +) + +// Error thrown for access denied scenarios with flexible HTTP status mapping +// +// Runtime HTTP Status Code Mapping: +// +// - HTTP 401 (Unauthorized): TOKEN_EXPIRED, AUTHCODE_EXPIRED +// - HTTP 403 (Forbidden): USER_CREDENTIALS_CHANGED, INSUFFICIENT_PERMISSIONS +// +// The specific HTTP status code is determined at runtime based on the error enum +// value. Consumers should use the error field to determine the specific access +// denial reason. +type AccessDeniedException struct { + Message *string + + ErrorCodeOverride *string + + Error_ OAuth2ErrorCode + + noSmithyDocumentSerde +} + +func (e *AccessDeniedException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *AccessDeniedException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *AccessDeniedException) ErrorCode() string { + if e == nil || e.ErrorCodeOverride == nil { + return "AccessDeniedException" + } + return *e.ErrorCodeOverride +} +func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } + +// Error thrown when an internal server error occurs +// +// HTTP Status Code: 500 Internal Server Error +// +// Used for unexpected server-side errors that prevent request processing. +type InternalServerException struct { + Message *string + + ErrorCodeOverride *string + + Error_ OAuth2ErrorCode + + noSmithyDocumentSerde +} + +func (e *InternalServerException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *InternalServerException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *InternalServerException) ErrorCode() string { + if e == nil || e.ErrorCodeOverride == nil { + return "InternalServerException" + } + return *e.ErrorCodeOverride +} +func (e *InternalServerException) ErrorFault() smithy.ErrorFault { return smithy.FaultServer } + +// Error thrown when rate limit is exceeded +// +// HTTP Status Code: 429 Too Many Requests +// +// Possible OAuth2ErrorCode values: +// +// - INVALID_REQUEST: Rate limiting, too many requests, abuse prevention +// +// Possible causes: +// +// - Too many token requests from the same client +// - Rate limiting based on client_id or IP address +// - Abuse prevention mechanisms triggered +// - Service protection against excessive token generation +type TooManyRequestsError struct { + Message *string + + ErrorCodeOverride *string + + Error_ OAuth2ErrorCode + + noSmithyDocumentSerde +} + +func (e *TooManyRequestsError) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *TooManyRequestsError) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *TooManyRequestsError) ErrorCode() string { + if e == nil || e.ErrorCodeOverride == nil { + return "TooManyRequestsError" + } + return *e.ErrorCodeOverride +} +func (e *TooManyRequestsError) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } + +// Error thrown when request validation fails +// +// HTTP Status Code: 400 Bad Request +// +// Used for request validation errors such as malformed parameters, missing +// required fields, or invalid parameter values. +type ValidationException struct { + Message *string + + ErrorCodeOverride *string + + Error_ OAuth2ErrorCode + + noSmithyDocumentSerde +} + +func (e *ValidationException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *ValidationException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *ValidationException) ErrorCode() string { + if e == nil || e.ErrorCodeOverride == nil { + return "ValidationException" + } + return *e.ErrorCodeOverride +} +func (e *ValidationException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/signin/types/types.go b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/types/types.go new file mode 100644 index 0000000000..98afa20bfc --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/types/types.go @@ -0,0 +1,115 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package types + +import ( + smithydocument "github.com/aws/smithy-go/document" +) + +// AWS credentials structure containing temporary access credentials +// +// The scoped-down, 15 minute duration AWS credentials. Scoping down will be based +// on CLI policy (CLI team needs to create it). Similar to cloud shell +// implementation. +type AccessToken struct { + + // AWS access key ID for temporary credentials + // + // This member is required. + AccessKeyId *string + + // AWS secret access key for temporary credentials + // + // This member is required. + SecretAccessKey *string + + // AWS session token for temporary credentials + // + // This member is required. + SessionToken *string + + noSmithyDocumentSerde +} + +// Request body payload for CreateOAuth2Token operation +// +// The operation type is determined by the grant_type parameter: +// +// - grant_type=authorization_code: Requires code, redirect_uri, code_verifier +// - grant_type=refresh_token: Requires refresh_token +type CreateOAuth2TokenRequestBody struct { + + // The client identifier (ARN) used during Sign-In onboarding Required for both + // authorization code and refresh token flows + // + // This member is required. + ClientId *string + + // OAuth 2.0 grant type - determines which flow is used Must be + // "authorization_code" or "refresh_token" + // + // This member is required. + GrantType *string + + // The authorization code received from /v1/authorize Required only when + // grant_type=authorization_code + Code *string + + // PKCE code verifier to prove possession of the original code challenge Required + // only when grant_type=authorization_code + CodeVerifier *string + + // The redirect URI that must match the original authorization request Required + // only when grant_type=authorization_code + RedirectUri *string + + // The refresh token returned from auth_code redemption Required only when + // grant_type=refresh_token + RefreshToken *string + + noSmithyDocumentSerde +} + +// Response body payload for CreateOAuth2Token operation +// +// The response content depends on the grant_type from the request: +// +// - grant_type=authorization_code: Returns all fields including refresh_token +// and id_token +// - grant_type=refresh_token: Returns access_token, token_type, expires_in, +// refresh_token (no id_token) +type CreateOAuth2TokenResponseBody struct { + + // Scoped-down AWS credentials (15 minute duration) Present for both authorization + // code redemption and token refresh + // + // This member is required. + AccessToken *AccessToken + + // Time to expiry in seconds (maximum 900) Present for both authorization code + // redemption and token refresh + // + // This member is required. + ExpiresIn *int32 + + // Encrypted refresh token with cnf.jkt (SHA-256 thumbprint of presented jwk) + // Always present in responses (required for both flows) + // + // This member is required. + RefreshToken *string + + // Token type indicating this is AWS SigV4 credentials Value is "aws_sigv4" for + // both flows + // + // This member is required. + TokenType *string + + // ID token containing user identity information Present only in authorization + // code redemption response (grant_type=authorization_code) Not included in token + // refresh responses + IdToken *string + + noSmithyDocumentSerde +} + +type noSmithyDocumentSerde = smithydocument.NoSerde diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/signin/validators.go b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/validators.go new file mode 100644 index 0000000000..f07252341a --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/validators.go @@ -0,0 +1,72 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package signin + +import ( + "context" + "fmt" + "github.com/aws/aws-sdk-go-v2/service/signin/types" + smithy "github.com/aws/smithy-go" + "github.com/aws/smithy-go/middleware" +) + +type validateOpCreateOAuth2Token struct { +} + +func (*validateOpCreateOAuth2Token) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpCreateOAuth2Token) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*CreateOAuth2TokenInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpCreateOAuth2TokenInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +func addOpCreateOAuth2TokenValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpCreateOAuth2Token{}, middleware.After) +} + +func validateCreateOAuth2TokenRequestBody(v *types.CreateOAuth2TokenRequestBody) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "CreateOAuth2TokenRequestBody"} + if v.ClientId == nil { + invalidParams.Add(smithy.NewErrParamRequired("ClientId")) + } + if v.GrantType == nil { + invalidParams.Add(smithy.NewErrParamRequired("GrantType")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpCreateOAuth2TokenInput(v *CreateOAuth2TokenInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "CreateOAuth2TokenInput"} + if v.TokenInput == nil { + invalidParams.Add(smithy.NewErrParamRequired("TokenInput")) + } else if v.TokenInput != nil { + if err := validateCreateOAuth2TokenRequestBody(v.TokenInput); err != nil { + invalidParams.AddNested("TokenInput", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sso/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/service/sso/CHANGELOG.md index e7cfa3e23e..2954b8f28d 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/sso/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sso/CHANGELOG.md @@ -1,3 +1,52 @@ +# v1.30.9 (2026-01-09) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.30.8 (2025-12-16) + +* No change notes available for this release. + +# v1.30.7 (2025-12-08) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.30.6 (2025-12-02) + +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.24.0. Notably this version of the library reduces the allocation footprint of the middleware system. We observe a ~10% reduction in allocations per SDK call with this change. + +# v1.30.5 (2025-11-25) + +* **Bug Fix**: Add error check for endpoint param binding during auth scheme resolution to fix panic reported in #3234 + +# v1.30.4 (2025-11-19.2) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.30.3 (2025-11-12) + +* **Bug Fix**: Further reduce allocation overhead when the metrics system isn't in-use. +* **Bug Fix**: Reduce allocation overhead when the client doesn't have any HTTP interceptors configured. +* **Bug Fix**: Remove blank trace spans towards the beginning of the request that added no additional information. This conveys a slight reduction in overall allocations. + +# v1.30.2 (2025-11-11) + +* **Bug Fix**: Return validation error if input region is not a valid host label. + +# v1.30.1 (2025-11-04) + +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.23.2 which should convey some passive reduction of overall allocations, especially when not using the metrics system. + +# v1.30.0 (2025-10-30) + +* **Feature**: Update endpoint ruleset parameters casing +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.29.8 (2025-10-23) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.29.7 (2025-10-16) * **Dependency Update**: Bump minimum Go version to 1.23. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sso/api_client.go b/vendor/github.com/aws/aws-sdk-go-v2/service/sso/api_client.go index 2c498e4689..8e5a2e77f8 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/sso/api_client.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sso/api_client.go @@ -65,7 +65,12 @@ func timeOperationMetric[T any]( ctx context.Context, metric string, fn func() (T, error), opts ...metrics.RecordMetricOption, ) (T, error) { - instr := getOperationMetrics(ctx).histogramFor(metric) + mm := getOperationMetrics(ctx) + if mm == nil { // not using the metrics system + return fn() + } + + instr := mm.histogramFor(metric) opts = append([]metrics.RecordMetricOption{withOperationMetadata(ctx)}, opts...) start := time.Now() @@ -78,7 +83,12 @@ func timeOperationMetric[T any]( } func startMetricTimer(ctx context.Context, metric string, opts ...metrics.RecordMetricOption) func() { - instr := getOperationMetrics(ctx).histogramFor(metric) + mm := getOperationMetrics(ctx) + if mm == nil { // not using the metrics system + return func() {} + } + + instr := mm.histogramFor(metric) opts = append([]metrics.RecordMetricOption{withOperationMetadata(ctx)}, opts...) var ended bool @@ -106,6 +116,12 @@ func withOperationMetadata(ctx context.Context) metrics.RecordMetricOption { type operationMetricsKey struct{} func withOperationMetrics(parent context.Context, mp metrics.MeterProvider) (context.Context, error) { + if _, ok := mp.(metrics.NopMeterProvider); ok { + // not using the metrics system - setting up the metrics context is a memory-intensive operation + // so we should skip it in this case + return parent, nil + } + meter := mp.Meter("github.com/aws/aws-sdk-go-v2/service/sso") om := &operationMetrics{} @@ -153,7 +169,10 @@ func operationMetricTimer(m metrics.Meter, name, desc string) (metrics.Float64Hi } func getOperationMetrics(ctx context.Context) *operationMetrics { - return ctx.Value(operationMetricsKey{}).(*operationMetrics) + if v := ctx.Value(operationMetricsKey{}); v != nil { + return v.(*operationMetrics) + } + return nil } func operationTracer(p tracing.TracerProvider) tracing.Tracer { @@ -882,138 +901,49 @@ func addInterceptAttempt(stack *middleware.Stack, opts Options) error { }, "Retry", middleware.After) } -func addInterceptExecution(stack *middleware.Stack, opts Options) error { - return stack.Initialize.Add(&smithyhttp.InterceptExecution{ - BeforeExecution: opts.Interceptors.BeforeExecution, - AfterExecution: opts.Interceptors.AfterExecution, - }, middleware.Before) -} - -func addInterceptBeforeSerialization(stack *middleware.Stack, opts Options) error { - return stack.Serialize.Insert(&smithyhttp.InterceptBeforeSerialization{ - Interceptors: opts.Interceptors.BeforeSerialization, - }, "OperationSerializer", middleware.Before) -} - -func addInterceptAfterSerialization(stack *middleware.Stack, opts Options) error { - return stack.Serialize.Insert(&smithyhttp.InterceptAfterSerialization{ - Interceptors: opts.Interceptors.AfterSerialization, - }, "OperationSerializer", middleware.After) -} - -func addInterceptBeforeSigning(stack *middleware.Stack, opts Options) error { - return stack.Finalize.Insert(&smithyhttp.InterceptBeforeSigning{ - Interceptors: opts.Interceptors.BeforeSigning, - }, "Signing", middleware.Before) -} - -func addInterceptAfterSigning(stack *middleware.Stack, opts Options) error { - return stack.Finalize.Insert(&smithyhttp.InterceptAfterSigning{ - Interceptors: opts.Interceptors.AfterSigning, - }, "Signing", middleware.After) -} - -func addInterceptTransmit(stack *middleware.Stack, opts Options) error { - return stack.Deserialize.Add(&smithyhttp.InterceptTransmit{ - BeforeTransmit: opts.Interceptors.BeforeTransmit, - AfterTransmit: opts.Interceptors.AfterTransmit, - }, middleware.After) -} - -func addInterceptBeforeDeserialization(stack *middleware.Stack, opts Options) error { - return stack.Deserialize.Insert(&smithyhttp.InterceptBeforeDeserialization{ - Interceptors: opts.Interceptors.BeforeDeserialization, - }, "OperationDeserializer", middleware.After) // (deserialize stack is called in reverse) -} - -func addInterceptAfterDeserialization(stack *middleware.Stack, opts Options) error { - return stack.Deserialize.Insert(&smithyhttp.InterceptAfterDeserialization{ - Interceptors: opts.Interceptors.AfterDeserialization, - }, "OperationDeserializer", middleware.Before) -} - -type spanInitializeStart struct { -} - -func (*spanInitializeStart) ID() string { - return "spanInitializeStart" -} - -func (m *spanInitializeStart) HandleInitialize( - ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler, -) ( - middleware.InitializeOutput, middleware.Metadata, error, -) { - ctx, _ = tracing.StartSpan(ctx, "Initialize") - - return next.HandleInitialize(ctx, in) -} - -type spanInitializeEnd struct { -} - -func (*spanInitializeEnd) ID() string { - return "spanInitializeEnd" -} - -func (m *spanInitializeEnd) HandleInitialize( - ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler, -) ( - middleware.InitializeOutput, middleware.Metadata, error, -) { - ctx, span := tracing.PopSpan(ctx) - span.End() - - return next.HandleInitialize(ctx, in) -} - -type spanBuildRequestStart struct { -} - -func (*spanBuildRequestStart) ID() string { - return "spanBuildRequestStart" -} - -func (m *spanBuildRequestStart) HandleSerialize( - ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler, -) ( - middleware.SerializeOutput, middleware.Metadata, error, -) { - ctx, _ = tracing.StartSpan(ctx, "BuildRequest") - - return next.HandleSerialize(ctx, in) -} - -type spanBuildRequestEnd struct { -} - -func (*spanBuildRequestEnd) ID() string { - return "spanBuildRequestEnd" -} - -func (m *spanBuildRequestEnd) HandleBuild( - ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler, -) ( - middleware.BuildOutput, middleware.Metadata, error, -) { - ctx, span := tracing.PopSpan(ctx) - span.End() - - return next.HandleBuild(ctx, in) -} - -func addSpanInitializeStart(stack *middleware.Stack) error { - return stack.Initialize.Add(&spanInitializeStart{}, middleware.Before) -} - -func addSpanInitializeEnd(stack *middleware.Stack) error { - return stack.Initialize.Add(&spanInitializeEnd{}, middleware.After) -} - -func addSpanBuildRequestStart(stack *middleware.Stack) error { - return stack.Serialize.Add(&spanBuildRequestStart{}, middleware.Before) -} +func addInterceptors(stack *middleware.Stack, opts Options) error { + // middlewares are expensive, don't add all of these interceptor ones unless the caller + // actually has at least one interceptor configured + // + // at the moment it's all-or-nothing because some of the middlewares here are responsible for + // setting fields in the interceptor context for future ones + if len(opts.Interceptors.BeforeExecution) == 0 && + len(opts.Interceptors.BeforeSerialization) == 0 && len(opts.Interceptors.AfterSerialization) == 0 && + len(opts.Interceptors.BeforeRetryLoop) == 0 && + len(opts.Interceptors.BeforeAttempt) == 0 && + len(opts.Interceptors.BeforeSigning) == 0 && len(opts.Interceptors.AfterSigning) == 0 && + len(opts.Interceptors.BeforeTransmit) == 0 && len(opts.Interceptors.AfterTransmit) == 0 && + len(opts.Interceptors.BeforeDeserialization) == 0 && len(opts.Interceptors.AfterDeserialization) == 0 && + len(opts.Interceptors.AfterAttempt) == 0 && len(opts.Interceptors.AfterExecution) == 0 { + return nil + } -func addSpanBuildRequestEnd(stack *middleware.Stack) error { - return stack.Build.Add(&spanBuildRequestEnd{}, middleware.After) + return errors.Join( + stack.Initialize.Add(&smithyhttp.InterceptExecution{ + BeforeExecution: opts.Interceptors.BeforeExecution, + AfterExecution: opts.Interceptors.AfterExecution, + }, middleware.Before), + stack.Serialize.Insert(&smithyhttp.InterceptBeforeSerialization{ + Interceptors: opts.Interceptors.BeforeSerialization, + }, "OperationSerializer", middleware.Before), + stack.Serialize.Insert(&smithyhttp.InterceptAfterSerialization{ + Interceptors: opts.Interceptors.AfterSerialization, + }, "OperationSerializer", middleware.After), + stack.Finalize.Insert(&smithyhttp.InterceptBeforeSigning{ + Interceptors: opts.Interceptors.BeforeSigning, + }, "Signing", middleware.Before), + stack.Finalize.Insert(&smithyhttp.InterceptAfterSigning{ + Interceptors: opts.Interceptors.AfterSigning, + }, "Signing", middleware.After), + stack.Deserialize.Add(&smithyhttp.InterceptTransmit{ + BeforeTransmit: opts.Interceptors.BeforeTransmit, + AfterTransmit: opts.Interceptors.AfterTransmit, + }, middleware.After), + stack.Deserialize.Insert(&smithyhttp.InterceptBeforeDeserialization{ + Interceptors: opts.Interceptors.BeforeDeserialization, + }, "OperationDeserializer", middleware.After), // (deserialize stack is called in reverse) + stack.Deserialize.Insert(&smithyhttp.InterceptAfterDeserialization{ + Interceptors: opts.Interceptors.AfterDeserialization, + }, "OperationDeserializer", middleware.Before), + ) } diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sso/api_op_GetRoleCredentials.go b/vendor/github.com/aws/aws-sdk-go-v2/service/sso/api_op_GetRoleCredentials.go index df5dc1674f..c0b961fcf1 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/sso/api_op_GetRoleCredentials.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sso/api_op_GetRoleCredentials.go @@ -153,40 +153,7 @@ func (c *Client) addOperationGetRoleCredentialsMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sso/api_op_ListAccountRoles.go b/vendor/github.com/aws/aws-sdk-go-v2/service/sso/api_op_ListAccountRoles.go index 2a3b2ad902..f5ca09ac7d 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/sso/api_op_ListAccountRoles.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sso/api_op_ListAccountRoles.go @@ -158,40 +158,7 @@ func (c *Client) addOperationListAccountRolesMiddlewares(stack *middleware.Stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sso/api_op_ListAccounts.go b/vendor/github.com/aws/aws-sdk-go-v2/service/sso/api_op_ListAccounts.go index f6114a7c10..54511d34a6 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/sso/api_op_ListAccounts.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sso/api_op_ListAccounts.go @@ -157,40 +157,7 @@ func (c *Client) addOperationListAccountsMiddlewares(stack *middleware.Stack, op if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sso/api_op_Logout.go b/vendor/github.com/aws/aws-sdk-go-v2/service/sso/api_op_Logout.go index 2c7f181c34..a21116e96c 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/sso/api_op_Logout.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sso/api_op_Logout.go @@ -152,40 +152,7 @@ func (c *Client) addOperationLogoutMiddlewares(stack *middleware.Stack, options if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sso/auth.go b/vendor/github.com/aws/aws-sdk-go-v2/service/sso/auth.go index 708e53c5ad..c658615fde 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/sso/auth.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sso/auth.go @@ -16,8 +16,9 @@ import ( "strings" ) -func bindAuthParamsRegion(_ interface{}, params *AuthResolverParameters, _ interface{}, options Options) { +func bindAuthParamsRegion(_ interface{}, params *AuthResolverParameters, _ interface{}, options Options) error { params.Region = options.Region + return nil } type setLegacyContextSigningOptionsMiddleware struct { @@ -94,14 +95,16 @@ type AuthResolverParameters struct { Region string } -func bindAuthResolverParams(ctx context.Context, operation string, input interface{}, options Options) *AuthResolverParameters { +func bindAuthResolverParams(ctx context.Context, operation string, input interface{}, options Options) (*AuthResolverParameters, error) { params := &AuthResolverParameters{ Operation: operation, } - bindAuthParamsRegion(ctx, params, input, options) + if err := bindAuthParamsRegion(ctx, params, input, options); err != nil { + return nil, err + } - return params + return params, nil } // AuthSchemeResolver returns a set of possible authentication options for an @@ -176,7 +179,10 @@ func (m *resolveAuthSchemeMiddleware) HandleFinalize(ctx context.Context, in mid _, span := tracing.StartSpan(ctx, "ResolveAuthScheme") defer span.End() - params := bindAuthResolverParams(ctx, m.operation, getOperationInput(ctx), m.options) + params, err := bindAuthResolverParams(ctx, m.operation, getOperationInput(ctx), m.options) + if err != nil { + return out, metadata, fmt.Errorf("bind auth scheme params: %w", err) + } options, err := m.options.AuthSchemeResolver.ResolveAuthSchemes(ctx, params) if err != nil { return out, metadata, fmt.Errorf("resolve auth scheme: %w", err) diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sso/endpoints.go b/vendor/github.com/aws/aws-sdk-go-v2/service/sso/endpoints.go index 2b22ab779c..551f05974e 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/sso/endpoints.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sso/endpoints.go @@ -14,6 +14,7 @@ import ( internalendpoints "github.com/aws/aws-sdk-go-v2/service/sso/internal/endpoints" smithyauth "github.com/aws/smithy-go/auth" smithyendpoints "github.com/aws/smithy-go/endpoints" + "github.com/aws/smithy-go/endpoints/private/rulesfn" "github.com/aws/smithy-go/middleware" "github.com/aws/smithy-go/ptr" "github.com/aws/smithy-go/tracing" @@ -217,11 +218,15 @@ func resolveBaseEndpoint(cfg aws.Config, o *Options) { } } -func bindRegion(region string) *string { +func bindRegion(region string) (*string, error) { if region == "" { - return nil + return nil, nil + } + if !rulesfn.IsValidHostLabel(region, true) { + return nil, fmt.Errorf("invalid input region %s", region) } - return aws.String(endpoints.MapFIPSRegion(region)) + + return aws.String(endpoints.MapFIPSRegion(region)), nil } // EndpointParameters provides the parameters that influence how endpoints are @@ -479,10 +484,15 @@ type endpointParamsBinder interface { bindEndpointParams(*EndpointParameters) } -func bindEndpointParams(ctx context.Context, input interface{}, options Options) *EndpointParameters { +func bindEndpointParams(ctx context.Context, input interface{}, options Options) (*EndpointParameters, error) { params := &EndpointParameters{} - params.Region = bindRegion(options.Region) + region, err := bindRegion(options.Region) + if err != nil { + return nil, err + } + params.Region = region + params.UseDualStack = aws.Bool(options.EndpointOptions.UseDualStackEndpoint == aws.DualStackEndpointStateEnabled) params.UseFIPS = aws.Bool(options.EndpointOptions.UseFIPSEndpoint == aws.FIPSEndpointStateEnabled) params.Endpoint = options.BaseEndpoint @@ -491,7 +501,7 @@ func bindEndpointParams(ctx context.Context, input interface{}, options Options) b.bindEndpointParams(params) } - return params + return params, nil } type resolveEndpointV2Middleware struct { @@ -521,7 +531,10 @@ func (m *resolveEndpointV2Middleware) HandleFinalize(ctx context.Context, in mid return out, metadata, fmt.Errorf("expected endpoint resolver to not be nil") } - params := bindEndpointParams(ctx, getOperationInput(ctx), m.options) + params, err := bindEndpointParams(ctx, getOperationInput(ctx), m.options) + if err != nil { + return out, metadata, fmt.Errorf("failed to bind endpoint params, %w", err) + } endpt, err := timeOperationMetric(ctx, "client.call.resolve_endpoint_duration", func() (smithyendpoints.Endpoint, error) { return m.options.EndpointResolverV2.ResolveEndpoint(ctx, *params) diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sso/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/sso/go_module_metadata.go index 264a0e631b..427f36a52e 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/sso/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sso/go_module_metadata.go @@ -3,4 +3,4 @@ package sso // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.29.7" +const goModuleVersion = "1.30.9" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sso/internal/endpoints/endpoints.go b/vendor/github.com/aws/aws-sdk-go-v2/service/sso/internal/endpoints/endpoints.go index 8bb8730be0..182423b4e6 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/sso/internal/endpoints/endpoints.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sso/internal/endpoints/endpoints.go @@ -157,6 +157,9 @@ var defaultPartitions = endpoints.Partitions{ Region: "ap-east-1", }, }, + endpoints.EndpointKey{ + Region: "ap-east-2", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "ap-northeast-1", }: endpoints.Endpoint{ @@ -445,6 +448,13 @@ var defaultPartitions = endpoints.Partitions{ { ID: "aws-eusc", Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ + { + Variant: endpoints.DualStackVariant, + }: { + Hostname: "portal.sso.{region}.api.amazonwebservices.eu", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, { Variant: endpoints.FIPSVariant, }: { @@ -452,6 +462,13 @@ var defaultPartitions = endpoints.Partitions{ Protocols: []string{"https"}, SignatureVersions: []string{"v4"}, }, + { + Variant: endpoints.FIPSVariant | endpoints.DualStackVariant, + }: { + Hostname: "portal.sso-fips.{region}.api.amazonwebservices.eu", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, { Variant: 0, }: { diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/CHANGELOG.md index 2dd90f2dd9..a6f5876115 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/CHANGELOG.md @@ -1,3 +1,51 @@ +# v1.35.13 (2026-01-09) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.35.12 (2025-12-08) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.35.11 (2025-12-02) + +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.24.0. Notably this version of the library reduces the allocation footprint of the middleware system. We observe a ~10% reduction in allocations per SDK call with this change. + +# v1.35.10 (2025-11-25) + +* **Bug Fix**: Add error check for endpoint param binding during auth scheme resolution to fix panic reported in #3234 + +# v1.35.9 (2025-11-21) + +* No change notes available for this release. + +# v1.35.8 (2025-11-19.2) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.35.7 (2025-11-12) + +* **Bug Fix**: Further reduce allocation overhead when the metrics system isn't in-use. +* **Bug Fix**: Reduce allocation overhead when the client doesn't have any HTTP interceptors configured. +* **Bug Fix**: Remove blank trace spans towards the beginning of the request that added no additional information. This conveys a slight reduction in overall allocations. + +# v1.35.6 (2025-11-11) + +* **Bug Fix**: Return validation error if input region is not a valid host label. + +# v1.35.5 (2025-11-04) + +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.23.2 which should convey some passive reduction of overall allocations, especially when not using the metrics system. + +# v1.35.4 (2025-10-30) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.35.3 (2025-10-23) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.35.2 (2025-10-16) * **Dependency Update**: Bump minimum Go version to 1.23. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_client.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_client.go index 12ad2f5d9d..8e8508fa34 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_client.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_client.go @@ -65,7 +65,12 @@ func timeOperationMetric[T any]( ctx context.Context, metric string, fn func() (T, error), opts ...metrics.RecordMetricOption, ) (T, error) { - instr := getOperationMetrics(ctx).histogramFor(metric) + mm := getOperationMetrics(ctx) + if mm == nil { // not using the metrics system + return fn() + } + + instr := mm.histogramFor(metric) opts = append([]metrics.RecordMetricOption{withOperationMetadata(ctx)}, opts...) start := time.Now() @@ -78,7 +83,12 @@ func timeOperationMetric[T any]( } func startMetricTimer(ctx context.Context, metric string, opts ...metrics.RecordMetricOption) func() { - instr := getOperationMetrics(ctx).histogramFor(metric) + mm := getOperationMetrics(ctx) + if mm == nil { // not using the metrics system + return func() {} + } + + instr := mm.histogramFor(metric) opts = append([]metrics.RecordMetricOption{withOperationMetadata(ctx)}, opts...) var ended bool @@ -106,6 +116,12 @@ func withOperationMetadata(ctx context.Context) metrics.RecordMetricOption { type operationMetricsKey struct{} func withOperationMetrics(parent context.Context, mp metrics.MeterProvider) (context.Context, error) { + if _, ok := mp.(metrics.NopMeterProvider); ok { + // not using the metrics system - setting up the metrics context is a memory-intensive operation + // so we should skip it in this case + return parent, nil + } + meter := mp.Meter("github.com/aws/aws-sdk-go-v2/service/ssooidc") om := &operationMetrics{} @@ -153,7 +169,10 @@ func operationMetricTimer(m metrics.Meter, name, desc string) (metrics.Float64Hi } func getOperationMetrics(ctx context.Context) *operationMetrics { - return ctx.Value(operationMetricsKey{}).(*operationMetrics) + if v := ctx.Value(operationMetricsKey{}); v != nil { + return v.(*operationMetrics) + } + return nil } func operationTracer(p tracing.TracerProvider) tracing.Tracer { @@ -882,138 +901,49 @@ func addInterceptAttempt(stack *middleware.Stack, opts Options) error { }, "Retry", middleware.After) } -func addInterceptExecution(stack *middleware.Stack, opts Options) error { - return stack.Initialize.Add(&smithyhttp.InterceptExecution{ - BeforeExecution: opts.Interceptors.BeforeExecution, - AfterExecution: opts.Interceptors.AfterExecution, - }, middleware.Before) -} - -func addInterceptBeforeSerialization(stack *middleware.Stack, opts Options) error { - return stack.Serialize.Insert(&smithyhttp.InterceptBeforeSerialization{ - Interceptors: opts.Interceptors.BeforeSerialization, - }, "OperationSerializer", middleware.Before) -} - -func addInterceptAfterSerialization(stack *middleware.Stack, opts Options) error { - return stack.Serialize.Insert(&smithyhttp.InterceptAfterSerialization{ - Interceptors: opts.Interceptors.AfterSerialization, - }, "OperationSerializer", middleware.After) -} - -func addInterceptBeforeSigning(stack *middleware.Stack, opts Options) error { - return stack.Finalize.Insert(&smithyhttp.InterceptBeforeSigning{ - Interceptors: opts.Interceptors.BeforeSigning, - }, "Signing", middleware.Before) -} - -func addInterceptAfterSigning(stack *middleware.Stack, opts Options) error { - return stack.Finalize.Insert(&smithyhttp.InterceptAfterSigning{ - Interceptors: opts.Interceptors.AfterSigning, - }, "Signing", middleware.After) -} - -func addInterceptTransmit(stack *middleware.Stack, opts Options) error { - return stack.Deserialize.Add(&smithyhttp.InterceptTransmit{ - BeforeTransmit: opts.Interceptors.BeforeTransmit, - AfterTransmit: opts.Interceptors.AfterTransmit, - }, middleware.After) -} - -func addInterceptBeforeDeserialization(stack *middleware.Stack, opts Options) error { - return stack.Deserialize.Insert(&smithyhttp.InterceptBeforeDeserialization{ - Interceptors: opts.Interceptors.BeforeDeserialization, - }, "OperationDeserializer", middleware.After) // (deserialize stack is called in reverse) -} - -func addInterceptAfterDeserialization(stack *middleware.Stack, opts Options) error { - return stack.Deserialize.Insert(&smithyhttp.InterceptAfterDeserialization{ - Interceptors: opts.Interceptors.AfterDeserialization, - }, "OperationDeserializer", middleware.Before) -} - -type spanInitializeStart struct { -} - -func (*spanInitializeStart) ID() string { - return "spanInitializeStart" -} - -func (m *spanInitializeStart) HandleInitialize( - ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler, -) ( - middleware.InitializeOutput, middleware.Metadata, error, -) { - ctx, _ = tracing.StartSpan(ctx, "Initialize") - - return next.HandleInitialize(ctx, in) -} - -type spanInitializeEnd struct { -} - -func (*spanInitializeEnd) ID() string { - return "spanInitializeEnd" -} - -func (m *spanInitializeEnd) HandleInitialize( - ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler, -) ( - middleware.InitializeOutput, middleware.Metadata, error, -) { - ctx, span := tracing.PopSpan(ctx) - span.End() - - return next.HandleInitialize(ctx, in) -} - -type spanBuildRequestStart struct { -} - -func (*spanBuildRequestStart) ID() string { - return "spanBuildRequestStart" -} - -func (m *spanBuildRequestStart) HandleSerialize( - ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler, -) ( - middleware.SerializeOutput, middleware.Metadata, error, -) { - ctx, _ = tracing.StartSpan(ctx, "BuildRequest") - - return next.HandleSerialize(ctx, in) -} - -type spanBuildRequestEnd struct { -} - -func (*spanBuildRequestEnd) ID() string { - return "spanBuildRequestEnd" -} - -func (m *spanBuildRequestEnd) HandleBuild( - ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler, -) ( - middleware.BuildOutput, middleware.Metadata, error, -) { - ctx, span := tracing.PopSpan(ctx) - span.End() - - return next.HandleBuild(ctx, in) -} - -func addSpanInitializeStart(stack *middleware.Stack) error { - return stack.Initialize.Add(&spanInitializeStart{}, middleware.Before) -} - -func addSpanInitializeEnd(stack *middleware.Stack) error { - return stack.Initialize.Add(&spanInitializeEnd{}, middleware.After) -} - -func addSpanBuildRequestStart(stack *middleware.Stack) error { - return stack.Serialize.Add(&spanBuildRequestStart{}, middleware.Before) -} +func addInterceptors(stack *middleware.Stack, opts Options) error { + // middlewares are expensive, don't add all of these interceptor ones unless the caller + // actually has at least one interceptor configured + // + // at the moment it's all-or-nothing because some of the middlewares here are responsible for + // setting fields in the interceptor context for future ones + if len(opts.Interceptors.BeforeExecution) == 0 && + len(opts.Interceptors.BeforeSerialization) == 0 && len(opts.Interceptors.AfterSerialization) == 0 && + len(opts.Interceptors.BeforeRetryLoop) == 0 && + len(opts.Interceptors.BeforeAttempt) == 0 && + len(opts.Interceptors.BeforeSigning) == 0 && len(opts.Interceptors.AfterSigning) == 0 && + len(opts.Interceptors.BeforeTransmit) == 0 && len(opts.Interceptors.AfterTransmit) == 0 && + len(opts.Interceptors.BeforeDeserialization) == 0 && len(opts.Interceptors.AfterDeserialization) == 0 && + len(opts.Interceptors.AfterAttempt) == 0 && len(opts.Interceptors.AfterExecution) == 0 { + return nil + } -func addSpanBuildRequestEnd(stack *middleware.Stack) error { - return stack.Build.Add(&spanBuildRequestEnd{}, middleware.After) + return errors.Join( + stack.Initialize.Add(&smithyhttp.InterceptExecution{ + BeforeExecution: opts.Interceptors.BeforeExecution, + AfterExecution: opts.Interceptors.AfterExecution, + }, middleware.Before), + stack.Serialize.Insert(&smithyhttp.InterceptBeforeSerialization{ + Interceptors: opts.Interceptors.BeforeSerialization, + }, "OperationSerializer", middleware.Before), + stack.Serialize.Insert(&smithyhttp.InterceptAfterSerialization{ + Interceptors: opts.Interceptors.AfterSerialization, + }, "OperationSerializer", middleware.After), + stack.Finalize.Insert(&smithyhttp.InterceptBeforeSigning{ + Interceptors: opts.Interceptors.BeforeSigning, + }, "Signing", middleware.Before), + stack.Finalize.Insert(&smithyhttp.InterceptAfterSigning{ + Interceptors: opts.Interceptors.AfterSigning, + }, "Signing", middleware.After), + stack.Deserialize.Add(&smithyhttp.InterceptTransmit{ + BeforeTransmit: opts.Interceptors.BeforeTransmit, + AfterTransmit: opts.Interceptors.AfterTransmit, + }, middleware.After), + stack.Deserialize.Insert(&smithyhttp.InterceptBeforeDeserialization{ + Interceptors: opts.Interceptors.BeforeDeserialization, + }, "OperationDeserializer", middleware.After), // (deserialize stack is called in reverse) + stack.Deserialize.Insert(&smithyhttp.InterceptAfterDeserialization{ + Interceptors: opts.Interceptors.AfterDeserialization, + }, "OperationDeserializer", middleware.Before), + ) } diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_op_CreateToken.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_op_CreateToken.go index 681eb4087c..3f622dbcb9 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_op_CreateToken.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_op_CreateToken.go @@ -223,40 +223,7 @@ func (c *Client) addOperationCreateTokenMiddlewares(stack *middleware.Stack, opt if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_op_CreateTokenWithIAM.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_op_CreateTokenWithIAM.go index d7a27da595..24cb2fac8d 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_op_CreateTokenWithIAM.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_op_CreateTokenWithIAM.go @@ -270,40 +270,7 @@ func (c *Client) addOperationCreateTokenWithIAMMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_op_RegisterClient.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_op_RegisterClient.go index 8d50092fb1..14472ee3be 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_op_RegisterClient.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_op_RegisterClient.go @@ -194,40 +194,7 @@ func (c *Client) addOperationRegisterClientMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_op_StartDeviceAuthorization.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_op_StartDeviceAuthorization.go index 7242ac82b6..92a6854a77 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_op_StartDeviceAuthorization.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_op_StartDeviceAuthorization.go @@ -176,40 +176,7 @@ func (c *Client) addOperationStartDeviceAuthorizationMiddlewares(stack *middlewa if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/auth.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/auth.go index 89b01c629d..5f253df305 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/auth.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/auth.go @@ -16,8 +16,9 @@ import ( "strings" ) -func bindAuthParamsRegion(_ interface{}, params *AuthResolverParameters, _ interface{}, options Options) { +func bindAuthParamsRegion(_ interface{}, params *AuthResolverParameters, _ interface{}, options Options) error { params.Region = options.Region + return nil } type setLegacyContextSigningOptionsMiddleware struct { @@ -94,14 +95,16 @@ type AuthResolverParameters struct { Region string } -func bindAuthResolverParams(ctx context.Context, operation string, input interface{}, options Options) *AuthResolverParameters { +func bindAuthResolverParams(ctx context.Context, operation string, input interface{}, options Options) (*AuthResolverParameters, error) { params := &AuthResolverParameters{ Operation: operation, } - bindAuthParamsRegion(ctx, params, input, options) + if err := bindAuthParamsRegion(ctx, params, input, options); err != nil { + return nil, err + } - return params + return params, nil } // AuthSchemeResolver returns a set of possible authentication options for an @@ -170,7 +173,10 @@ func (m *resolveAuthSchemeMiddleware) HandleFinalize(ctx context.Context, in mid _, span := tracing.StartSpan(ctx, "ResolveAuthScheme") defer span.End() - params := bindAuthResolverParams(ctx, m.operation, getOperationInput(ctx), m.options) + params, err := bindAuthResolverParams(ctx, m.operation, getOperationInput(ctx), m.options) + if err != nil { + return out, metadata, fmt.Errorf("bind auth scheme params: %w", err) + } options, err := m.options.AuthSchemeResolver.ResolveAuthSchemes(ctx, params) if err != nil { return out, metadata, fmt.Errorf("resolve auth scheme: %w", err) diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/endpoints.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/endpoints.go index 1e001f7a9e..884983eb4d 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/endpoints.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/endpoints.go @@ -14,6 +14,7 @@ import ( internalendpoints "github.com/aws/aws-sdk-go-v2/service/ssooidc/internal/endpoints" smithyauth "github.com/aws/smithy-go/auth" smithyendpoints "github.com/aws/smithy-go/endpoints" + "github.com/aws/smithy-go/endpoints/private/rulesfn" "github.com/aws/smithy-go/middleware" "github.com/aws/smithy-go/ptr" "github.com/aws/smithy-go/tracing" @@ -217,11 +218,15 @@ func resolveBaseEndpoint(cfg aws.Config, o *Options) { } } -func bindRegion(region string) *string { +func bindRegion(region string) (*string, error) { if region == "" { - return nil + return nil, nil + } + if !rulesfn.IsValidHostLabel(region, true) { + return nil, fmt.Errorf("invalid input region %s", region) } - return aws.String(endpoints.MapFIPSRegion(region)) + + return aws.String(endpoints.MapFIPSRegion(region)), nil } // EndpointParameters provides the parameters that influence how endpoints are @@ -479,10 +484,15 @@ type endpointParamsBinder interface { bindEndpointParams(*EndpointParameters) } -func bindEndpointParams(ctx context.Context, input interface{}, options Options) *EndpointParameters { +func bindEndpointParams(ctx context.Context, input interface{}, options Options) (*EndpointParameters, error) { params := &EndpointParameters{} - params.Region = bindRegion(options.Region) + region, err := bindRegion(options.Region) + if err != nil { + return nil, err + } + params.Region = region + params.UseDualStack = aws.Bool(options.EndpointOptions.UseDualStackEndpoint == aws.DualStackEndpointStateEnabled) params.UseFIPS = aws.Bool(options.EndpointOptions.UseFIPSEndpoint == aws.FIPSEndpointStateEnabled) params.Endpoint = options.BaseEndpoint @@ -491,7 +501,7 @@ func bindEndpointParams(ctx context.Context, input interface{}, options Options) b.bindEndpointParams(params) } - return params + return params, nil } type resolveEndpointV2Middleware struct { @@ -521,7 +531,10 @@ func (m *resolveEndpointV2Middleware) HandleFinalize(ctx context.Context, in mid return out, metadata, fmt.Errorf("expected endpoint resolver to not be nil") } - params := bindEndpointParams(ctx, getOperationInput(ctx), m.options) + params, err := bindEndpointParams(ctx, getOperationInput(ctx), m.options) + if err != nil { + return out, metadata, fmt.Errorf("failed to bind endpoint params, %w", err) + } endpt, err := timeOperationMetric(ctx, "client.call.resolve_endpoint_duration", func() (smithyendpoints.Endpoint, error) { return m.options.EndpointResolverV2.ResolveEndpoint(ctx, *params) diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/go_module_metadata.go index 75265a0254..50d95e9008 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/go_module_metadata.go @@ -3,4 +3,4 @@ package ssooidc // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.35.2" +const goModuleVersion = "1.35.13" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/internal/endpoints/endpoints.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/internal/endpoints/endpoints.go index f15c1a3ff5..2088fc7fb2 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/internal/endpoints/endpoints.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/internal/endpoints/endpoints.go @@ -157,6 +157,9 @@ var defaultPartitions = endpoints.Partitions{ Region: "ap-east-1", }, }, + endpoints.EndpointKey{ + Region: "ap-east-2", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "ap-northeast-1", }: endpoints.Endpoint{ @@ -445,6 +448,13 @@ var defaultPartitions = endpoints.Partitions{ { ID: "aws-eusc", Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ + { + Variant: endpoints.DualStackVariant, + }: { + Hostname: "oidc.{region}.api.amazonwebservices.eu", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, { Variant: endpoints.FIPSVariant, }: { @@ -452,6 +462,13 @@ var defaultPartitions = endpoints.Partitions{ Protocols: []string{"https"}, SignatureVersions: []string{"v4"}, }, + { + Variant: endpoints.FIPSVariant | endpoints.DualStackVariant, + }: { + Hostname: "oidc-fips.{region}.api.amazonwebservices.eu", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, { Variant: 0, }: { diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/CHANGELOG.md index b46a195dbe..8f96faa386 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/CHANGELOG.md @@ -1,3 +1,64 @@ +# v1.41.6 (2026-01-09) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.41.5 (2025-12-09) + +* No change notes available for this release. + +# v1.41.4 (2025-12-08) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.41.3 (2025-12-02) + +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.24.0. Notably this version of the library reduces the allocation footprint of the middleware system. We observe a ~10% reduction in allocations per SDK call with this change. + +# v1.41.2 (2025-11-25) + +* **Bug Fix**: Add error check for endpoint param binding during auth scheme resolution to fix panic reported in #3234 + +# v1.41.1 (2025-11-19.2) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.41.0 (2025-11-19) + +* **Feature**: IAM now supports outbound identity federation via the STS GetWebIdentityToken API, enabling AWS workloads to securely authenticate with external services using short-lived JSON Web Tokens. + +# v1.40.2 (2025-11-12) + +* **Bug Fix**: Further reduce allocation overhead when the metrics system isn't in-use. +* **Bug Fix**: Reduce allocation overhead when the client doesn't have any HTTP interceptors configured. +* **Bug Fix**: Remove blank trace spans towards the beginning of the request that added no additional information. This conveys a slight reduction in overall allocations. + +# v1.40.1 (2025-11-11) + +* **Bug Fix**: Return validation error if input region is not a valid host label. + +# v1.40.0 (2025-11-10) + +* **Feature**: Added GetDelegatedAccessToken API, which is not available for general use at this time. + +# v1.39.1 (2025-11-04) + +* **Dependency Update**: Updated to the latest SDK module versions +* **Dependency Update**: Upgrade to smithy-go v1.23.2 which should convey some passive reduction of overall allocations, especially when not using the metrics system. + +# v1.39.0 (2025-10-30) + +* **Feature**: Update endpoint ruleset parameters casing +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.38.9 (2025-10-23) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.38.8 (2025-10-22) + +* No change notes available for this release. + # v1.38.7 (2025-10-16) * **Dependency Update**: Bump minimum Go version to 1.23. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_client.go b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_client.go index 6658babc95..70228d0dfa 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_client.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_client.go @@ -68,7 +68,12 @@ func timeOperationMetric[T any]( ctx context.Context, metric string, fn func() (T, error), opts ...metrics.RecordMetricOption, ) (T, error) { - instr := getOperationMetrics(ctx).histogramFor(metric) + mm := getOperationMetrics(ctx) + if mm == nil { // not using the metrics system + return fn() + } + + instr := mm.histogramFor(metric) opts = append([]metrics.RecordMetricOption{withOperationMetadata(ctx)}, opts...) start := time.Now() @@ -81,7 +86,12 @@ func timeOperationMetric[T any]( } func startMetricTimer(ctx context.Context, metric string, opts ...metrics.RecordMetricOption) func() { - instr := getOperationMetrics(ctx).histogramFor(metric) + mm := getOperationMetrics(ctx) + if mm == nil { // not using the metrics system + return func() {} + } + + instr := mm.histogramFor(metric) opts = append([]metrics.RecordMetricOption{withOperationMetadata(ctx)}, opts...) var ended bool @@ -109,6 +119,12 @@ func withOperationMetadata(ctx context.Context) metrics.RecordMetricOption { type operationMetricsKey struct{} func withOperationMetrics(parent context.Context, mp metrics.MeterProvider) (context.Context, error) { + if _, ok := mp.(metrics.NopMeterProvider); ok { + // not using the metrics system - setting up the metrics context is a memory-intensive operation + // so we should skip it in this case + return parent, nil + } + meter := mp.Meter("github.com/aws/aws-sdk-go-v2/service/sts") om := &operationMetrics{} @@ -156,7 +172,10 @@ func operationMetricTimer(m metrics.Meter, name, desc string) (metrics.Float64Hi } func getOperationMetrics(ctx context.Context) *operationMetrics { - return ctx.Value(operationMetricsKey{}).(*operationMetrics) + if v := ctx.Value(operationMetricsKey{}); v != nil { + return v.(*operationMetrics) + } + return nil } func operationTracer(p tracing.TracerProvider) tracing.Tracer { @@ -1034,138 +1053,49 @@ func addInterceptAttempt(stack *middleware.Stack, opts Options) error { }, "Retry", middleware.After) } -func addInterceptExecution(stack *middleware.Stack, opts Options) error { - return stack.Initialize.Add(&smithyhttp.InterceptExecution{ - BeforeExecution: opts.Interceptors.BeforeExecution, - AfterExecution: opts.Interceptors.AfterExecution, - }, middleware.Before) -} - -func addInterceptBeforeSerialization(stack *middleware.Stack, opts Options) error { - return stack.Serialize.Insert(&smithyhttp.InterceptBeforeSerialization{ - Interceptors: opts.Interceptors.BeforeSerialization, - }, "OperationSerializer", middleware.Before) -} - -func addInterceptAfterSerialization(stack *middleware.Stack, opts Options) error { - return stack.Serialize.Insert(&smithyhttp.InterceptAfterSerialization{ - Interceptors: opts.Interceptors.AfterSerialization, - }, "OperationSerializer", middleware.After) -} - -func addInterceptBeforeSigning(stack *middleware.Stack, opts Options) error { - return stack.Finalize.Insert(&smithyhttp.InterceptBeforeSigning{ - Interceptors: opts.Interceptors.BeforeSigning, - }, "Signing", middleware.Before) -} - -func addInterceptAfterSigning(stack *middleware.Stack, opts Options) error { - return stack.Finalize.Insert(&smithyhttp.InterceptAfterSigning{ - Interceptors: opts.Interceptors.AfterSigning, - }, "Signing", middleware.After) -} - -func addInterceptTransmit(stack *middleware.Stack, opts Options) error { - return stack.Deserialize.Add(&smithyhttp.InterceptTransmit{ - BeforeTransmit: opts.Interceptors.BeforeTransmit, - AfterTransmit: opts.Interceptors.AfterTransmit, - }, middleware.After) -} - -func addInterceptBeforeDeserialization(stack *middleware.Stack, opts Options) error { - return stack.Deserialize.Insert(&smithyhttp.InterceptBeforeDeserialization{ - Interceptors: opts.Interceptors.BeforeDeserialization, - }, "OperationDeserializer", middleware.After) // (deserialize stack is called in reverse) -} - -func addInterceptAfterDeserialization(stack *middleware.Stack, opts Options) error { - return stack.Deserialize.Insert(&smithyhttp.InterceptAfterDeserialization{ - Interceptors: opts.Interceptors.AfterDeserialization, - }, "OperationDeserializer", middleware.Before) -} - -type spanInitializeStart struct { -} - -func (*spanInitializeStart) ID() string { - return "spanInitializeStart" -} - -func (m *spanInitializeStart) HandleInitialize( - ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler, -) ( - middleware.InitializeOutput, middleware.Metadata, error, -) { - ctx, _ = tracing.StartSpan(ctx, "Initialize") - - return next.HandleInitialize(ctx, in) -} - -type spanInitializeEnd struct { -} - -func (*spanInitializeEnd) ID() string { - return "spanInitializeEnd" -} - -func (m *spanInitializeEnd) HandleInitialize( - ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler, -) ( - middleware.InitializeOutput, middleware.Metadata, error, -) { - ctx, span := tracing.PopSpan(ctx) - span.End() - - return next.HandleInitialize(ctx, in) -} - -type spanBuildRequestStart struct { -} - -func (*spanBuildRequestStart) ID() string { - return "spanBuildRequestStart" -} - -func (m *spanBuildRequestStart) HandleSerialize( - ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler, -) ( - middleware.SerializeOutput, middleware.Metadata, error, -) { - ctx, _ = tracing.StartSpan(ctx, "BuildRequest") - - return next.HandleSerialize(ctx, in) -} - -type spanBuildRequestEnd struct { -} - -func (*spanBuildRequestEnd) ID() string { - return "spanBuildRequestEnd" -} - -func (m *spanBuildRequestEnd) HandleBuild( - ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler, -) ( - middleware.BuildOutput, middleware.Metadata, error, -) { - ctx, span := tracing.PopSpan(ctx) - span.End() - - return next.HandleBuild(ctx, in) -} - -func addSpanInitializeStart(stack *middleware.Stack) error { - return stack.Initialize.Add(&spanInitializeStart{}, middleware.Before) -} - -func addSpanInitializeEnd(stack *middleware.Stack) error { - return stack.Initialize.Add(&spanInitializeEnd{}, middleware.After) -} - -func addSpanBuildRequestStart(stack *middleware.Stack) error { - return stack.Serialize.Add(&spanBuildRequestStart{}, middleware.Before) -} +func addInterceptors(stack *middleware.Stack, opts Options) error { + // middlewares are expensive, don't add all of these interceptor ones unless the caller + // actually has at least one interceptor configured + // + // at the moment it's all-or-nothing because some of the middlewares here are responsible for + // setting fields in the interceptor context for future ones + if len(opts.Interceptors.BeforeExecution) == 0 && + len(opts.Interceptors.BeforeSerialization) == 0 && len(opts.Interceptors.AfterSerialization) == 0 && + len(opts.Interceptors.BeforeRetryLoop) == 0 && + len(opts.Interceptors.BeforeAttempt) == 0 && + len(opts.Interceptors.BeforeSigning) == 0 && len(opts.Interceptors.AfterSigning) == 0 && + len(opts.Interceptors.BeforeTransmit) == 0 && len(opts.Interceptors.AfterTransmit) == 0 && + len(opts.Interceptors.BeforeDeserialization) == 0 && len(opts.Interceptors.AfterDeserialization) == 0 && + len(opts.Interceptors.AfterAttempt) == 0 && len(opts.Interceptors.AfterExecution) == 0 { + return nil + } -func addSpanBuildRequestEnd(stack *middleware.Stack) error { - return stack.Build.Add(&spanBuildRequestEnd{}, middleware.After) + return errors.Join( + stack.Initialize.Add(&smithyhttp.InterceptExecution{ + BeforeExecution: opts.Interceptors.BeforeExecution, + AfterExecution: opts.Interceptors.AfterExecution, + }, middleware.Before), + stack.Serialize.Insert(&smithyhttp.InterceptBeforeSerialization{ + Interceptors: opts.Interceptors.BeforeSerialization, + }, "OperationSerializer", middleware.Before), + stack.Serialize.Insert(&smithyhttp.InterceptAfterSerialization{ + Interceptors: opts.Interceptors.AfterSerialization, + }, "OperationSerializer", middleware.After), + stack.Finalize.Insert(&smithyhttp.InterceptBeforeSigning{ + Interceptors: opts.Interceptors.BeforeSigning, + }, "Signing", middleware.Before), + stack.Finalize.Insert(&smithyhttp.InterceptAfterSigning{ + Interceptors: opts.Interceptors.AfterSigning, + }, "Signing", middleware.After), + stack.Deserialize.Add(&smithyhttp.InterceptTransmit{ + BeforeTransmit: opts.Interceptors.BeforeTransmit, + AfterTransmit: opts.Interceptors.AfterTransmit, + }, middleware.After), + stack.Deserialize.Insert(&smithyhttp.InterceptBeforeDeserialization{ + Interceptors: opts.Interceptors.BeforeDeserialization, + }, "OperationDeserializer", middleware.After), // (deserialize stack is called in reverse) + stack.Deserialize.Insert(&smithyhttp.InterceptAfterDeserialization{ + Interceptors: opts.Interceptors.AfterDeserialization, + }, "OperationDeserializer", middleware.Before), + ) } diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_AssumeRole.go b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_AssumeRole.go index f3a93418fa..0ddd3623ae 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_AssumeRole.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_AssumeRole.go @@ -147,7 +147,7 @@ type AssumeRoleInput struct { // // The regex used to validate this parameter is a string of characters consisting // of upper- and lower-case alphanumeric characters with no spaces. You can also - // include underscores or any of the following characters: =,.@- + // include underscores or any of the following characters: +=,.@- // // [CloudTrail logs]: https://docs.aws.amazon.com/IAM/latest/UserGuide/cloudtrail-integration.html#cloudtrail-integration_signin-tempcreds // [sts:RoleSessionName]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_iam-condition-keys.html#ck_rolesessionname @@ -196,7 +196,7 @@ type AssumeRoleInput struct { // // The regex used to validate this parameter is a string of characters consisting // of upper- and lower-case alphanumeric characters with no spaces. You can also - // include underscores or any of the following characters: =,.@:/- + // include underscores or any of the following characters: +=,.@:\/- // // [How to Use an External ID When Granting Access to Your Amazon Web Services Resources to a Third Party]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html ExternalId *string @@ -279,7 +279,7 @@ type AssumeRoleInput struct { // // The regex used to validate this parameter is a string of characters consisting // of upper- and lower-case alphanumeric characters with no spaces. You can also - // include underscores or any of the following characters: =,.@- + // include underscores or any of the following characters: +=/:,.@- SerialNumber *string // The source identity specified by the principal that is calling the AssumeRole @@ -508,40 +508,7 @@ func (c *Client) addOperationAssumeRoleMiddlewares(stack *middleware.Stack, opti if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_AssumeRoleWithSAML.go b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_AssumeRoleWithSAML.go index 9dcceec12a..15f1dd91d2 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_AssumeRoleWithSAML.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_AssumeRoleWithSAML.go @@ -23,6 +23,9 @@ import ( // these temporary security credentials to sign calls to Amazon Web Services // services. // +// AssumeRoleWithSAML will not work on IAM Identity Center managed roles. These +// roles' names start with AWSReservedSSO_ . +// // # Session Duration // // By default, the temporary security credentials created by AssumeRoleWithSAML @@ -440,40 +443,7 @@ func (c *Client) addOperationAssumeRoleWithSAMLMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_AssumeRoleWithWebIdentity.go b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_AssumeRoleWithWebIdentity.go index 5975a0cdee..7006eb3b7f 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_AssumeRoleWithWebIdentity.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_AssumeRoleWithWebIdentity.go @@ -75,7 +75,7 @@ import ( // // (Optional) You can configure your IdP to pass attributes into your web identity // token as session tags. Each session tag consists of a key name and an associated -// value. For more information about session tags, see [Passing Session Tags in STS]in the IAM User Guide. +// value. For more information about session tags, see [Passing session tags using AssumeRoleWithWebIdentity]in the IAM User Guide. // // You can pass up to 50 session tags. The plaintext session tag keys can’t exceed // 128 characters and the values can’t exceed 256 characters. For these and @@ -123,6 +123,7 @@ import ( // providers to get and use temporary security credentials. // // [Amazon Web Services SDK for iOS Developer Guide]: http://aws.amazon.com/sdkforios/ +// [Passing session tags using AssumeRoleWithWebIdentity]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html#id_session-tags_adding-assume-role-idp // [Amazon Web Services SDK for Android Developer Guide]: http://aws.amazon.com/sdkforandroid/ // [IAM and STS Character Limits]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html#reference_iam-limits-entity-length // [session policies]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session @@ -135,7 +136,6 @@ import ( // [Using IAM Roles]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html // [Session Policies]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session // [Amazon Cognito federated identities]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-identity.html -// [Passing Session Tags in STS]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html // [Chaining Roles with Session Tags]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html#id_session-tags_role-chaining // [Update the maximum session duration for a role]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_update-role-settings.html#id_roles_update-session-duration // [Using Web Identity Federation API Operations for Mobile Apps]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_oidc_manual.html @@ -460,40 +460,7 @@ func (c *Client) addOperationAssumeRoleWithWebIdentityMiddlewares(stack *middlew if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_AssumeRoot.go b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_AssumeRoot.go index 571f06728a..009c405583 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_AssumeRoot.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_AssumeRoot.go @@ -12,7 +12,9 @@ import ( ) // Returns a set of short term credentials you can use to perform privileged tasks -// on a member account in your organization. +// on a member account in your organization. You must use credentials from an +// Organizations management account or a delegated administrator account for IAM to +// call AssumeRoot . You cannot use root user credentials to make this call. // // Before you can launch a privileged session, you must have centralized root // access in your organization. For steps to enable this feature, see [Centralize root access for member accounts]in the IAM @@ -24,8 +26,16 @@ import ( // You can track AssumeRoot in CloudTrail logs to determine what actions were // performed in a session. For more information, see [Track privileged tasks in CloudTrail]in the IAM User Guide. // +// When granting access to privileged tasks you should only grant the necessary +// permissions required to perform that task. For more information, see [Security best practices in IAM]. In +// addition, you can use [service control policies](SCPs) to manage and limit permissions in your +// organization. See [General examples]in the Organizations User Guide for more information on SCPs. +// // [Endpoints]: https://docs.aws.amazon.com/STS/latest/APIReference/welcome.html#sts-endpoints +// [Security best practices in IAM]: https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html // [Track privileged tasks in CloudTrail]: https://docs.aws.amazon.com/IAM/latest/UserGuide/cloudtrail-track-privileged-tasks.html +// [General examples]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps_examples_general.html +// [service control policies]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps.html // [Centralize root access for member accounts]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_root-enable-root-access.html func (c *Client) AssumeRoot(ctx context.Context, params *AssumeRootInput, optFns ...func(*Options)) (*AssumeRootOutput, error) { if params == nil { @@ -50,8 +60,10 @@ type AssumeRootInput struct { TargetPrincipal *string // The identity based policy that scopes the session to the privileged tasks that - // can be performed. You can use one of following Amazon Web Services managed - // policies to scope root session actions. + // can be performed. You must + // + // use one of following Amazon Web Services managed policies to scope root session + // actions: // // [IAMAuditRootUserCredentials] // @@ -205,40 +217,7 @@ func (c *Client) addOperationAssumeRootMiddlewares(stack *middleware.Stack, opti if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_DecodeAuthorizationMessage.go b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_DecodeAuthorizationMessage.go index 786bac89b8..b00b0c4096 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_DecodeAuthorizationMessage.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_DecodeAuthorizationMessage.go @@ -177,40 +177,7 @@ func (c *Client) addOperationDecodeAuthorizationMessageMiddlewares(stack *middle if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_GetAccessKeyInfo.go b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_GetAccessKeyInfo.go index 6c1f878981..887bb081f3 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_GetAccessKeyInfo.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_GetAccessKeyInfo.go @@ -168,40 +168,7 @@ func (c *Client) addOperationGetAccessKeyInfoMiddlewares(stack *middleware.Stack if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_GetCallerIdentity.go b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_GetCallerIdentity.go index 7d0653398b..2c8d886701 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_GetCallerIdentity.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_GetCallerIdentity.go @@ -156,40 +156,7 @@ func (c *Client) addOperationGetCallerIdentityMiddlewares(stack *middleware.Stac if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_GetDelegatedAccessToken.go b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_GetDelegatedAccessToken.go new file mode 100644 index 0000000000..092ec13e3a --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_GetDelegatedAccessToken.go @@ -0,0 +1,172 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package sts + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/service/sts/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Exchanges a trade-in token for temporary Amazon Web Services credentials with +// the permissions associated with the assumed principal. This operation allows you +// to obtain credentials for a specific principal based on a trade-in token, +// enabling delegation of access to Amazon Web Services resources. +func (c *Client) GetDelegatedAccessToken(ctx context.Context, params *GetDelegatedAccessTokenInput, optFns ...func(*Options)) (*GetDelegatedAccessTokenOutput, error) { + if params == nil { + params = &GetDelegatedAccessTokenInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "GetDelegatedAccessToken", params, optFns, c.addOperationGetDelegatedAccessTokenMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*GetDelegatedAccessTokenOutput) + out.ResultMetadata = metadata + return out, nil +} + +type GetDelegatedAccessTokenInput struct { + + // The token to exchange for temporary Amazon Web Services credentials. This token + // must be valid and unexpired at the time of the request. + // + // This member is required. + TradeInToken *string + + noSmithyDocumentSerde +} + +type GetDelegatedAccessTokenOutput struct { + + // The Amazon Resource Name (ARN) of the principal that was assumed when obtaining + // the delegated access token. This ARN identifies the IAM entity whose permissions + // are granted by the temporary credentials. + AssumedPrincipal *string + + // Amazon Web Services credentials for API authentication. + Credentials *types.Credentials + + // The percentage of the maximum policy size that is used by the session policy. + // The policy size is calculated as the sum of all the session policies and + // permission boundaries attached to the session. If the packed size exceeds 100%, + // the request fails. + PackedPolicySize *int32 + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationGetDelegatedAccessTokenMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsAwsquery_serializeOpGetDelegatedAccessToken{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsquery_deserializeOpGetDelegatedAccessToken{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "GetDelegatedAccessToken"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpGetDelegatedAccessTokenValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDelegatedAccessToken(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opGetDelegatedAccessToken(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "GetDelegatedAccessToken", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_GetFederationToken.go b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_GetFederationToken.go index 1c2f28e519..e0fc9a5484 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_GetFederationToken.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_GetFederationToken.go @@ -381,40 +381,7 @@ func (c *Client) addOperationGetFederationTokenMiddlewares(stack *middleware.Sta if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_GetSessionToken.go b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_GetSessionToken.go index 2560469900..2f931f4446 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_GetSessionToken.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_GetSessionToken.go @@ -227,40 +227,7 @@ func (c *Client) addOperationGetSessionTokenMiddlewares(stack *middleware.Stack, if err = addInterceptAttempt(stack, options); err != nil { return err } - if err = addInterceptExecution(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSerialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterSerialization(stack, options); err != nil { - return err - } - if err = addInterceptBeforeSigning(stack, options); err != nil { - return err - } - if err = addInterceptAfterSigning(stack, options); err != nil { - return err - } - if err = addInterceptTransmit(stack, options); err != nil { - return err - } - if err = addInterceptBeforeDeserialization(stack, options); err != nil { - return err - } - if err = addInterceptAfterDeserialization(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { + if err = addInterceptors(stack, options); err != nil { return err } return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_GetWebIdentityToken.go b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_GetWebIdentityToken.go new file mode 100644 index 0000000000..306ee43b1e --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_op_GetWebIdentityToken.go @@ -0,0 +1,195 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package sts + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/service/sts/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" + "time" +) + +// Returns a signed JSON Web Token (JWT) that represents the calling Amazon Web +// Services identity. The returned JWT can be used to authenticate with external +// services that support OIDC discovery. The token is signed by Amazon Web Services +// STS and can be publicly verified using the verification keys published at the +// issuer's JWKS endpoint. +func (c *Client) GetWebIdentityToken(ctx context.Context, params *GetWebIdentityTokenInput, optFns ...func(*Options)) (*GetWebIdentityTokenOutput, error) { + if params == nil { + params = &GetWebIdentityTokenInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "GetWebIdentityToken", params, optFns, c.addOperationGetWebIdentityTokenMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*GetWebIdentityTokenOutput) + out.ResultMetadata = metadata + return out, nil +} + +type GetWebIdentityTokenInput struct { + + // The intended recipient of the web identity token. This value populates the aud + // claim in the JWT and should identify the service or application that will + // validate and use the token. The external service should verify this claim to + // ensure the token was intended for their use. + // + // This member is required. + Audience []string + + // The cryptographic algorithm to use for signing the JSON Web Token (JWT). Valid + // values are RS256 (RSA with SHA-256) and ES384 (ECDSA using P-384 curve with + // SHA-384). + // + // This member is required. + SigningAlgorithm *string + + // The duration, in seconds, for which the JSON Web Token (JWT) will remain valid. + // The value can range from 60 seconds (1 minute) to 3600 seconds (1 hour). If not + // specified, the default duration is 300 seconds (5 minutes). The token is + // designed to be short-lived and should be used for proof of identity, then + // exchanged for credentials or short-lived tokens in the external service. + DurationSeconds *int32 + + // An optional list of tags to include in the JSON Web Token (JWT). These tags are + // added as custom claims to the JWT and can be used by the downstream service for + // authorization decisions. + Tags []types.Tag + + noSmithyDocumentSerde +} + +type GetWebIdentityTokenOutput struct { + + // The date and time when the web identity token expires, in UTC. The expiration + // is determined by adding the DurationSeconds value to the time the token was + // issued. After this time, the token should no longer be considered valid. + Expiration *time.Time + + // A signed JSON Web Token (JWT) that represents the caller's Amazon Web Services + // identity. The token contains standard JWT claims such as subject, audience, + // expiration time, and additional identity attributes added by STS as custom + // claims. You can also add your own custom claims to the token by passing tags as + // request parameters to the GetWebIdentityToken API. The token is signed using + // the specified signing algorithm and can be verified using the verification keys + // available at the issuer's JWKS endpoint. + WebIdentityToken *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationGetWebIdentityTokenMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsAwsquery_serializeOpGetWebIdentityToken{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsquery_deserializeOpGetWebIdentityToken{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "GetWebIdentityToken"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addTimeOffsetBuild(stack, c); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addOpGetWebIdentityTokenValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWebIdentityToken(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opGetWebIdentityToken(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "GetWebIdentityToken", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/auth.go b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/auth.go index 2a81b3fb19..4db5a51f93 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/auth.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/auth.go @@ -16,8 +16,9 @@ import ( "strings" ) -func bindAuthParamsRegion(_ interface{}, params *AuthResolverParameters, _ interface{}, options Options) { +func bindAuthParamsRegion(_ interface{}, params *AuthResolverParameters, _ interface{}, options Options) error { params.Region = options.Region + return nil } type setLegacyContextSigningOptionsMiddleware struct { @@ -94,14 +95,16 @@ type AuthResolverParameters struct { Region string } -func bindAuthResolverParams(ctx context.Context, operation string, input interface{}, options Options) *AuthResolverParameters { +func bindAuthResolverParams(ctx context.Context, operation string, input interface{}, options Options) (*AuthResolverParameters, error) { params := &AuthResolverParameters{ Operation: operation, } - bindAuthParamsRegion(ctx, params, input, options) + if err := bindAuthParamsRegion(ctx, params, input, options); err != nil { + return nil, err + } - return params + return params, nil } // AuthSchemeResolver returns a set of possible authentication options for an @@ -164,7 +167,10 @@ func (m *resolveAuthSchemeMiddleware) HandleFinalize(ctx context.Context, in mid _, span := tracing.StartSpan(ctx, "ResolveAuthScheme") defer span.End() - params := bindAuthResolverParams(ctx, m.operation, getOperationInput(ctx), m.options) + params, err := bindAuthResolverParams(ctx, m.operation, getOperationInput(ctx), m.options) + if err != nil { + return out, metadata, fmt.Errorf("bind auth scheme params: %w", err) + } options, err := m.options.AuthSchemeResolver.ResolveAuthSchemes(ctx, params) if err != nil { return out, metadata, fmt.Errorf("resolve auth scheme: %w", err) diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/deserializers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/deserializers.go index a1ac917ec6..8c1ce35161 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/deserializers.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/deserializers.go @@ -846,6 +846,124 @@ func awsAwsquery_deserializeOpErrorGetCallerIdentity(response *smithyhttp.Respon } } +type awsAwsquery_deserializeOpGetDelegatedAccessToken struct { +} + +func (*awsAwsquery_deserializeOpGetDelegatedAccessToken) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsquery_deserializeOpGetDelegatedAccessToken) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsquery_deserializeOpErrorGetDelegatedAccessToken(response, &metadata) + } + output := &GetDelegatedAccessTokenOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + t, err = decoder.GetElement("GetDelegatedAccessTokenResult") + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) + err = awsAwsquery_deserializeOpDocumentGetDelegatedAccessTokenOutput(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsquery_deserializeOpErrorGetDelegatedAccessToken(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("ExpiredTradeInTokenException", errorCode): + return awsAwsquery_deserializeErrorExpiredTradeInTokenException(response, errorBody) + + case strings.EqualFold("PackedPolicyTooLarge", errorCode): + return awsAwsquery_deserializeErrorPackedPolicyTooLargeException(response, errorBody) + + case strings.EqualFold("RegionDisabledException", errorCode): + return awsAwsquery_deserializeErrorRegionDisabledException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + type awsAwsquery_deserializeOpGetFederationToken struct { } @@ -1076,6 +1194,124 @@ func awsAwsquery_deserializeOpErrorGetSessionToken(response *smithyhttp.Response } } +type awsAwsquery_deserializeOpGetWebIdentityToken struct { +} + +func (*awsAwsquery_deserializeOpGetWebIdentityToken) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsquery_deserializeOpGetWebIdentityToken) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsquery_deserializeOpErrorGetWebIdentityToken(response, &metadata) + } + output := &GetWebIdentityTokenOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + t, err = decoder.GetElement("GetWebIdentityTokenResult") + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) + err = awsAwsquery_deserializeOpDocumentGetWebIdentityTokenOutput(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsquery_deserializeOpErrorGetWebIdentityToken(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("JWTPayloadSizeExceededException", errorCode): + return awsAwsquery_deserializeErrorJWTPayloadSizeExceededException(response, errorBody) + + case strings.EqualFold("OutboundWebIdentityFederationDisabledException", errorCode): + return awsAwsquery_deserializeErrorOutboundWebIdentityFederationDisabledException(response, errorBody) + + case strings.EqualFold("SessionDurationEscalationException", errorCode): + return awsAwsquery_deserializeErrorSessionDurationEscalationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + func awsAwsquery_deserializeErrorExpiredTokenException(response *smithyhttp.Response, errorBody *bytes.Reader) error { output := &types.ExpiredTokenException{} var buff [1024]byte @@ -1120,8 +1356,8 @@ func awsAwsquery_deserializeErrorExpiredTokenException(response *smithyhttp.Resp return output } -func awsAwsquery_deserializeErrorIDPCommunicationErrorException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.IDPCommunicationErrorException{} +func awsAwsquery_deserializeErrorExpiredTradeInTokenException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.ExpiredTradeInTokenException{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -1151,7 +1387,7 @@ func awsAwsquery_deserializeErrorIDPCommunicationErrorException(response *smithy } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeDocumentIDPCommunicationErrorException(&output, decoder) + err = awsAwsquery_deserializeDocumentExpiredTradeInTokenException(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -1164,8 +1400,8 @@ func awsAwsquery_deserializeErrorIDPCommunicationErrorException(response *smithy return output } -func awsAwsquery_deserializeErrorIDPRejectedClaimException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.IDPRejectedClaimException{} +func awsAwsquery_deserializeErrorIDPCommunicationErrorException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.IDPCommunicationErrorException{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -1195,7 +1431,7 @@ func awsAwsquery_deserializeErrorIDPRejectedClaimException(response *smithyhttp. } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeDocumentIDPRejectedClaimException(&output, decoder) + err = awsAwsquery_deserializeDocumentIDPCommunicationErrorException(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -1208,8 +1444,8 @@ func awsAwsquery_deserializeErrorIDPRejectedClaimException(response *smithyhttp. return output } -func awsAwsquery_deserializeErrorInvalidAuthorizationMessageException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.InvalidAuthorizationMessageException{} +func awsAwsquery_deserializeErrorIDPRejectedClaimException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.IDPRejectedClaimException{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -1239,7 +1475,7 @@ func awsAwsquery_deserializeErrorInvalidAuthorizationMessageException(response * } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeDocumentInvalidAuthorizationMessageException(&output, decoder) + err = awsAwsquery_deserializeDocumentIDPRejectedClaimException(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -1252,8 +1488,8 @@ func awsAwsquery_deserializeErrorInvalidAuthorizationMessageException(response * return output } -func awsAwsquery_deserializeErrorInvalidIdentityTokenException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.InvalidIdentityTokenException{} +func awsAwsquery_deserializeErrorInvalidAuthorizationMessageException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.InvalidAuthorizationMessageException{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -1283,7 +1519,7 @@ func awsAwsquery_deserializeErrorInvalidIdentityTokenException(response *smithyh } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeDocumentInvalidIdentityTokenException(&output, decoder) + err = awsAwsquery_deserializeDocumentInvalidAuthorizationMessageException(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -1296,8 +1532,8 @@ func awsAwsquery_deserializeErrorInvalidIdentityTokenException(response *smithyh return output } -func awsAwsquery_deserializeErrorMalformedPolicyDocumentException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.MalformedPolicyDocumentException{} +func awsAwsquery_deserializeErrorInvalidIdentityTokenException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.InvalidIdentityTokenException{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -1327,7 +1563,7 @@ func awsAwsquery_deserializeErrorMalformedPolicyDocumentException(response *smit } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeDocumentMalformedPolicyDocumentException(&output, decoder) + err = awsAwsquery_deserializeDocumentInvalidIdentityTokenException(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -1340,8 +1576,8 @@ func awsAwsquery_deserializeErrorMalformedPolicyDocumentException(response *smit return output } -func awsAwsquery_deserializeErrorPackedPolicyTooLargeException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.PackedPolicyTooLargeException{} +func awsAwsquery_deserializeErrorJWTPayloadSizeExceededException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.JWTPayloadSizeExceededException{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -1371,7 +1607,7 @@ func awsAwsquery_deserializeErrorPackedPolicyTooLargeException(response *smithyh } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeDocumentPackedPolicyTooLargeException(&output, decoder) + err = awsAwsquery_deserializeDocumentJWTPayloadSizeExceededException(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -1384,8 +1620,8 @@ func awsAwsquery_deserializeErrorPackedPolicyTooLargeException(response *smithyh return output } -func awsAwsquery_deserializeErrorRegionDisabledException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.RegionDisabledException{} +func awsAwsquery_deserializeErrorMalformedPolicyDocumentException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.MalformedPolicyDocumentException{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -1415,7 +1651,7 @@ func awsAwsquery_deserializeErrorRegionDisabledException(response *smithyhttp.Re } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsAwsquery_deserializeDocumentRegionDisabledException(&output, decoder) + err = awsAwsquery_deserializeDocumentMalformedPolicyDocumentException(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -1428,13 +1664,441 @@ func awsAwsquery_deserializeErrorRegionDisabledException(response *smithyhttp.Re return output } -func awsAwsquery_deserializeDocumentAssumedRoleUser(v **types.AssumedRoleUser, decoder smithyxml.NodeDecoder) error { +func awsAwsquery_deserializeErrorOutboundWebIdentityFederationDisabledException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.OutboundWebIdentityFederationDisabledException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + t, err = decoder.GetElement("Error") + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) + err = awsAwsquery_deserializeDocumentOutboundWebIdentityFederationDisabledException(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return output +} + +func awsAwsquery_deserializeErrorPackedPolicyTooLargeException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.PackedPolicyTooLargeException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + t, err = decoder.GetElement("Error") + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) + err = awsAwsquery_deserializeDocumentPackedPolicyTooLargeException(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return output +} + +func awsAwsquery_deserializeErrorRegionDisabledException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.RegionDisabledException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + t, err = decoder.GetElement("Error") + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) + err = awsAwsquery_deserializeDocumentRegionDisabledException(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return output +} + +func awsAwsquery_deserializeErrorSessionDurationEscalationException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.SessionDurationEscalationException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + t, err = decoder.GetElement("Error") + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) + err = awsAwsquery_deserializeDocumentSessionDurationEscalationException(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return output +} + +func awsAwsquery_deserializeDocumentAssumedRoleUser(v **types.AssumedRoleUser, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.AssumedRoleUser + if *v == nil { + sv = &types.AssumedRoleUser{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Arn", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Arn = ptr.String(xtv) + } + + case strings.EqualFold("AssumedRoleId", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.AssumedRoleId = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsAwsquery_deserializeDocumentCredentials(v **types.Credentials, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.Credentials + if *v == nil { + sv = &types.Credentials{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("AccessKeyId", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.AccessKeyId = ptr.String(xtv) + } + + case strings.EqualFold("Expiration", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + t, err := smithytime.ParseDateTime(xtv) + if err != nil { + return err + } + sv.Expiration = ptr.Time(t) + } + + case strings.EqualFold("SecretAccessKey", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.SecretAccessKey = ptr.String(xtv) + } + + case strings.EqualFold("SessionToken", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.SessionToken = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsAwsquery_deserializeDocumentExpiredTokenException(v **types.ExpiredTokenException, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.ExpiredTokenException + if *v == nil { + sv = &types.ExpiredTokenException{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsAwsquery_deserializeDocumentExpiredTradeInTokenException(v **types.ExpiredTradeInTokenException, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.ExpiredTradeInTokenException + if *v == nil { + sv = &types.ExpiredTradeInTokenException{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsAwsquery_deserializeDocumentFederatedUser(v **types.FederatedUser, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.AssumedRoleUser + var sv *types.FederatedUser if *v == nil { - sv = &types.AssumedRoleUser{} + sv = &types.FederatedUser{} } else { sv = *v } @@ -1463,7 +2127,7 @@ func awsAwsquery_deserializeDocumentAssumedRoleUser(v **types.AssumedRoleUser, d sv.Arn = ptr.String(xtv) } - case strings.EqualFold("AssumedRoleId", t.Name.Local): + case strings.EqualFold("FederatedUserId", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -1473,7 +2137,7 @@ func awsAwsquery_deserializeDocumentAssumedRoleUser(v **types.AssumedRoleUser, d } { xtv := string(val) - sv.AssumedRoleId = ptr.String(xtv) + sv.FederatedUserId = ptr.String(xtv) } default: @@ -1490,13 +2154,13 @@ func awsAwsquery_deserializeDocumentAssumedRoleUser(v **types.AssumedRoleUser, d return nil } -func awsAwsquery_deserializeDocumentCredentials(v **types.Credentials, decoder smithyxml.NodeDecoder) error { +func awsAwsquery_deserializeDocumentIDPCommunicationErrorException(v **types.IDPCommunicationErrorException, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.Credentials + var sv *types.IDPCommunicationErrorException if *v == nil { - sv = &types.Credentials{} + sv = &types.IDPCommunicationErrorException{} } else { sv = *v } @@ -1512,50 +2176,7 @@ func awsAwsquery_deserializeDocumentCredentials(v **types.Credentials, decoder s originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("AccessKeyId", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - sv.AccessKeyId = ptr.String(xtv) - } - - case strings.EqualFold("Expiration", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - t, err := smithytime.ParseDateTime(xtv) - if err != nil { - return err - } - sv.Expiration = ptr.Time(t) - } - - case strings.EqualFold("SecretAccessKey", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - sv.SecretAccessKey = ptr.String(xtv) - } - - case strings.EqualFold("SessionToken", t.Name.Local): + case strings.EqualFold("message", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -1565,7 +2186,7 @@ func awsAwsquery_deserializeDocumentCredentials(v **types.Credentials, decoder s } { xtv := string(val) - sv.SessionToken = ptr.String(xtv) + sv.Message = ptr.String(xtv) } default: @@ -1582,13 +2203,13 @@ func awsAwsquery_deserializeDocumentCredentials(v **types.Credentials, decoder s return nil } -func awsAwsquery_deserializeDocumentExpiredTokenException(v **types.ExpiredTokenException, decoder smithyxml.NodeDecoder) error { +func awsAwsquery_deserializeDocumentIDPRejectedClaimException(v **types.IDPRejectedClaimException, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.ExpiredTokenException + var sv *types.IDPRejectedClaimException if *v == nil { - sv = &types.ExpiredTokenException{} + sv = &types.IDPRejectedClaimException{} } else { sv = *v } @@ -1631,13 +2252,13 @@ func awsAwsquery_deserializeDocumentExpiredTokenException(v **types.ExpiredToken return nil } -func awsAwsquery_deserializeDocumentFederatedUser(v **types.FederatedUser, decoder smithyxml.NodeDecoder) error { +func awsAwsquery_deserializeDocumentInvalidAuthorizationMessageException(v **types.InvalidAuthorizationMessageException, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.FederatedUser + var sv *types.InvalidAuthorizationMessageException if *v == nil { - sv = &types.FederatedUser{} + sv = &types.InvalidAuthorizationMessageException{} } else { sv = *v } @@ -1653,20 +2274,7 @@ func awsAwsquery_deserializeDocumentFederatedUser(v **types.FederatedUser, decod originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("Arn", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - sv.Arn = ptr.String(xtv) - } - - case strings.EqualFold("FederatedUserId", t.Name.Local): + case strings.EqualFold("message", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -1676,7 +2284,7 @@ func awsAwsquery_deserializeDocumentFederatedUser(v **types.FederatedUser, decod } { xtv := string(val) - sv.FederatedUserId = ptr.String(xtv) + sv.Message = ptr.String(xtv) } default: @@ -1693,13 +2301,13 @@ func awsAwsquery_deserializeDocumentFederatedUser(v **types.FederatedUser, decod return nil } -func awsAwsquery_deserializeDocumentIDPCommunicationErrorException(v **types.IDPCommunicationErrorException, decoder smithyxml.NodeDecoder) error { +func awsAwsquery_deserializeDocumentInvalidIdentityTokenException(v **types.InvalidIdentityTokenException, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.IDPCommunicationErrorException + var sv *types.InvalidIdentityTokenException if *v == nil { - sv = &types.IDPCommunicationErrorException{} + sv = &types.InvalidIdentityTokenException{} } else { sv = *v } @@ -1742,13 +2350,13 @@ func awsAwsquery_deserializeDocumentIDPCommunicationErrorException(v **types.IDP return nil } -func awsAwsquery_deserializeDocumentIDPRejectedClaimException(v **types.IDPRejectedClaimException, decoder smithyxml.NodeDecoder) error { +func awsAwsquery_deserializeDocumentJWTPayloadSizeExceededException(v **types.JWTPayloadSizeExceededException, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.IDPRejectedClaimException + var sv *types.JWTPayloadSizeExceededException if *v == nil { - sv = &types.IDPRejectedClaimException{} + sv = &types.JWTPayloadSizeExceededException{} } else { sv = *v } @@ -1791,13 +2399,13 @@ func awsAwsquery_deserializeDocumentIDPRejectedClaimException(v **types.IDPRejec return nil } -func awsAwsquery_deserializeDocumentInvalidAuthorizationMessageException(v **types.InvalidAuthorizationMessageException, decoder smithyxml.NodeDecoder) error { +func awsAwsquery_deserializeDocumentMalformedPolicyDocumentException(v **types.MalformedPolicyDocumentException, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.InvalidAuthorizationMessageException + var sv *types.MalformedPolicyDocumentException if *v == nil { - sv = &types.InvalidAuthorizationMessageException{} + sv = &types.MalformedPolicyDocumentException{} } else { sv = *v } @@ -1840,13 +2448,13 @@ func awsAwsquery_deserializeDocumentInvalidAuthorizationMessageException(v **typ return nil } -func awsAwsquery_deserializeDocumentInvalidIdentityTokenException(v **types.InvalidIdentityTokenException, decoder smithyxml.NodeDecoder) error { +func awsAwsquery_deserializeDocumentOutboundWebIdentityFederationDisabledException(v **types.OutboundWebIdentityFederationDisabledException, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.InvalidIdentityTokenException + var sv *types.OutboundWebIdentityFederationDisabledException if *v == nil { - sv = &types.InvalidIdentityTokenException{} + sv = &types.OutboundWebIdentityFederationDisabledException{} } else { sv = *v } @@ -1889,13 +2497,13 @@ func awsAwsquery_deserializeDocumentInvalidIdentityTokenException(v **types.Inva return nil } -func awsAwsquery_deserializeDocumentMalformedPolicyDocumentException(v **types.MalformedPolicyDocumentException, decoder smithyxml.NodeDecoder) error { +func awsAwsquery_deserializeDocumentPackedPolicyTooLargeException(v **types.PackedPolicyTooLargeException, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.MalformedPolicyDocumentException + var sv *types.PackedPolicyTooLargeException if *v == nil { - sv = &types.MalformedPolicyDocumentException{} + sv = &types.PackedPolicyTooLargeException{} } else { sv = *v } @@ -1938,13 +2546,13 @@ func awsAwsquery_deserializeDocumentMalformedPolicyDocumentException(v **types.M return nil } -func awsAwsquery_deserializeDocumentPackedPolicyTooLargeException(v **types.PackedPolicyTooLargeException, decoder smithyxml.NodeDecoder) error { +func awsAwsquery_deserializeDocumentRegionDisabledException(v **types.RegionDisabledException, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.PackedPolicyTooLargeException + var sv *types.RegionDisabledException if *v == nil { - sv = &types.PackedPolicyTooLargeException{} + sv = &types.RegionDisabledException{} } else { sv = *v } @@ -1987,13 +2595,13 @@ func awsAwsquery_deserializeDocumentPackedPolicyTooLargeException(v **types.Pack return nil } -func awsAwsquery_deserializeDocumentRegionDisabledException(v **types.RegionDisabledException, decoder smithyxml.NodeDecoder) error { +func awsAwsquery_deserializeDocumentSessionDurationEscalationException(v **types.SessionDurationEscalationException, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.RegionDisabledException + var sv *types.SessionDurationEscalationException if *v == nil { - sv = &types.RegionDisabledException{} + sv = &types.SessionDurationEscalationException{} } else { sv = *v } @@ -2602,6 +3210,78 @@ func awsAwsquery_deserializeOpDocumentGetCallerIdentityOutput(v **GetCallerIdent return nil } +func awsAwsquery_deserializeOpDocumentGetDelegatedAccessTokenOutput(v **GetDelegatedAccessTokenOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *GetDelegatedAccessTokenOutput + if *v == nil { + sv = &GetDelegatedAccessTokenOutput{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("AssumedPrincipal", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.AssumedPrincipal = ptr.String(xtv) + } + + case strings.EqualFold("Credentials", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsAwsquery_deserializeDocumentCredentials(&sv.Credentials, nodeDecoder); err != nil { + return err + } + + case strings.EqualFold("PackedPolicySize", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + i64, err := strconv.ParseInt(xtv, 10, 64) + if err != nil { + return err + } + sv.PackedPolicySize = ptr.Int32(int32(i64)) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + func awsAwsquery_deserializeOpDocumentGetFederationTokenOutput(v **GetFederationTokenOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -2708,3 +3388,69 @@ func awsAwsquery_deserializeOpDocumentGetSessionTokenOutput(v **GetSessionTokenO *v = sv return nil } + +func awsAwsquery_deserializeOpDocumentGetWebIdentityTokenOutput(v **GetWebIdentityTokenOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *GetWebIdentityTokenOutput + if *v == nil { + sv = &GetWebIdentityTokenOutput{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Expiration", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + t, err := smithytime.ParseDateTime(xtv) + if err != nil { + return err + } + sv.Expiration = ptr.Time(t) + } + + case strings.EqualFold("WebIdentityToken", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.WebIdentityToken = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/endpoints.go b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/endpoints.go index 945682e1a5..c8f9526c78 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/endpoints.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/endpoints.go @@ -15,6 +15,7 @@ import ( smithy "github.com/aws/smithy-go" smithyauth "github.com/aws/smithy-go/auth" smithyendpoints "github.com/aws/smithy-go/endpoints" + "github.com/aws/smithy-go/endpoints/private/rulesfn" "github.com/aws/smithy-go/middleware" "github.com/aws/smithy-go/ptr" "github.com/aws/smithy-go/tracing" @@ -218,11 +219,15 @@ func resolveBaseEndpoint(cfg aws.Config, o *Options) { } } -func bindRegion(region string) *string { +func bindRegion(region string) (*string, error) { if region == "" { - return nil + return nil, nil + } + if !rulesfn.IsValidHostLabel(region, true) { + return nil, fmt.Errorf("invalid input region %s", region) } - return aws.String(endpoints.MapFIPSRegion(region)) + + return aws.String(endpoints.MapFIPSRegion(region)), nil } // EndpointParameters provides the parameters that influence how endpoints are @@ -1060,10 +1065,15 @@ type endpointParamsBinder interface { bindEndpointParams(*EndpointParameters) } -func bindEndpointParams(ctx context.Context, input interface{}, options Options) *EndpointParameters { +func bindEndpointParams(ctx context.Context, input interface{}, options Options) (*EndpointParameters, error) { params := &EndpointParameters{} - params.Region = bindRegion(options.Region) + region, err := bindRegion(options.Region) + if err != nil { + return nil, err + } + params.Region = region + params.UseDualStack = aws.Bool(options.EndpointOptions.UseDualStackEndpoint == aws.DualStackEndpointStateEnabled) params.UseFIPS = aws.Bool(options.EndpointOptions.UseFIPSEndpoint == aws.FIPSEndpointStateEnabled) params.Endpoint = options.BaseEndpoint @@ -1072,7 +1082,7 @@ func bindEndpointParams(ctx context.Context, input interface{}, options Options) b.bindEndpointParams(params) } - return params + return params, nil } type resolveEndpointV2Middleware struct { @@ -1102,7 +1112,10 @@ func (m *resolveEndpointV2Middleware) HandleFinalize(ctx context.Context, in mid return out, metadata, fmt.Errorf("expected endpoint resolver to not be nil") } - params := bindEndpointParams(ctx, getOperationInput(ctx), m.options) + params, err := bindEndpointParams(ctx, getOperationInput(ctx), m.options) + if err != nil { + return out, metadata, fmt.Errorf("failed to bind endpoint params, %w", err) + } endpt, err := timeOperationMetric(ctx, "client.call.resolve_endpoint_duration", func() (smithyendpoints.Endpoint, error) { return m.options.EndpointResolverV2.ResolveEndpoint(ctx, *params) diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/generated.json b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/generated.json index 935307771e..e61823ea01 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/generated.json +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/generated.json @@ -17,8 +17,10 @@ "api_op_DecodeAuthorizationMessage.go", "api_op_GetAccessKeyInfo.go", "api_op_GetCallerIdentity.go", + "api_op_GetDelegatedAccessToken.go", "api_op_GetFederationToken.go", "api_op_GetSessionToken.go", + "api_op_GetWebIdentityToken.go", "auth.go", "deserializers.go", "doc.go", diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/go_module_metadata.go index deadadb41c..6f29ba1fbf 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/go_module_metadata.go @@ -3,4 +3,4 @@ package sts // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.38.7" +const goModuleVersion = "1.41.6" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/internal/endpoints/endpoints.go b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/internal/endpoints/endpoints.go index 1dc87dd6bf..be72d93dcc 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/internal/endpoints/endpoints.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/internal/endpoints/endpoints.go @@ -359,6 +359,13 @@ var defaultPartitions = endpoints.Partitions{ { ID: "aws-eusc", Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ + { + Variant: endpoints.DualStackVariant, + }: { + Hostname: "sts.{region}.api.amazonwebservices.eu", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, { Variant: endpoints.FIPSVariant, }: { @@ -366,6 +373,13 @@ var defaultPartitions = endpoints.Partitions{ Protocols: []string{"https"}, SignatureVersions: []string{"v4"}, }, + { + Variant: endpoints.FIPSVariant | endpoints.DualStackVariant, + }: { + Hostname: "sts-fips.{region}.api.amazonwebservices.eu", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, { Variant: 0, }: { @@ -376,6 +390,11 @@ var defaultPartitions = endpoints.Partitions{ }, RegionRegex: partitionRegexp.AwsEusc, IsRegionalized: true, + Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "eusc-de-east-1", + }: endpoints.Endpoint{}, + }, }, { ID: "aws-iso", @@ -430,6 +449,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "us-isob-east-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-isob-west-1", + }: endpoints.Endpoint{}, }, }, { diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/serializers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/serializers.go index 96b222136b..5e22738782 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/serializers.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/serializers.go @@ -502,6 +502,76 @@ func (m *awsAwsquery_serializeOpGetCallerIdentity) HandleSerialize(ctx context.C return next.HandleSerialize(ctx, in) } +type awsAwsquery_serializeOpGetDelegatedAccessToken struct { +} + +func (*awsAwsquery_serializeOpGetDelegatedAccessToken) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsquery_serializeOpGetDelegatedAccessToken) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*GetDelegatedAccessTokenInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-www-form-urlencoded") + + bodyWriter := bytes.NewBuffer(nil) + bodyEncoder := query.NewEncoder(bodyWriter) + body := bodyEncoder.Object() + body.Key("Action").String("GetDelegatedAccessToken") + body.Key("Version").String("2011-06-15") + + if err := awsAwsquery_serializeOpDocumentGetDelegatedAccessTokenInput(input, bodyEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + err = bodyEncoder.Encode() + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(bodyWriter.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} + type awsAwsquery_serializeOpGetFederationToken struct { } @@ -641,6 +711,76 @@ func (m *awsAwsquery_serializeOpGetSessionToken) HandleSerialize(ctx context.Con span.End() return next.HandleSerialize(ctx, in) } + +type awsAwsquery_serializeOpGetWebIdentityToken struct { +} + +func (*awsAwsquery_serializeOpGetWebIdentityToken) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsquery_serializeOpGetWebIdentityToken) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*GetWebIdentityTokenInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-www-form-urlencoded") + + bodyWriter := bytes.NewBuffer(nil) + bodyEncoder := query.NewEncoder(bodyWriter) + body := bodyEncoder.Object() + body.Key("Action").String("GetWebIdentityToken") + body.Key("Version").String("2011-06-15") + + if err := awsAwsquery_serializeOpDocumentGetWebIdentityTokenInput(input, bodyEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + err = bodyEncoder.Encode() + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(bodyWriter.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} func awsAwsquery_serializeDocumentPolicyDescriptorListType(v []types.PolicyDescriptorType, value query.Value) error { array := value.Array("member") @@ -733,6 +873,16 @@ func awsAwsquery_serializeDocumentTagListType(v []types.Tag, value query.Value) return nil } +func awsAwsquery_serializeDocumentWebIdentityTokenAudienceListType(v []string, value query.Value) error { + array := value.Array("member") + + for i := range v { + av := array.Value() + av.String(v[i]) + } + return nil +} + func awsAwsquery_serializeOpDocumentAssumeRoleInput(v *AssumeRoleInput, value query.Value) error { object := value.Object() _ = object @@ -946,6 +1096,18 @@ func awsAwsquery_serializeOpDocumentGetCallerIdentityInput(v *GetCallerIdentityI return nil } +func awsAwsquery_serializeOpDocumentGetDelegatedAccessTokenInput(v *GetDelegatedAccessTokenInput, value query.Value) error { + object := value.Object() + _ = object + + if v.TradeInToken != nil { + objectKey := object.Key("TradeInToken") + objectKey.String(*v.TradeInToken) + } + + return nil +} + func awsAwsquery_serializeOpDocumentGetFederationTokenInput(v *GetFederationTokenInput, value query.Value) error { object := value.Object() _ = object @@ -1003,3 +1165,34 @@ func awsAwsquery_serializeOpDocumentGetSessionTokenInput(v *GetSessionTokenInput return nil } + +func awsAwsquery_serializeOpDocumentGetWebIdentityTokenInput(v *GetWebIdentityTokenInput, value query.Value) error { + object := value.Object() + _ = object + + if v.Audience != nil { + objectKey := object.Key("Audience") + if err := awsAwsquery_serializeDocumentWebIdentityTokenAudienceListType(v.Audience, objectKey); err != nil { + return err + } + } + + if v.DurationSeconds != nil { + objectKey := object.Key("DurationSeconds") + objectKey.Integer(*v.DurationSeconds) + } + + if v.SigningAlgorithm != nil { + objectKey := object.Key("SigningAlgorithm") + objectKey.String(*v.SigningAlgorithm) + } + + if v.Tags != nil { + objectKey := object.Key("Tags") + if err := awsAwsquery_serializeDocumentTagListType(v.Tags, objectKey); err != nil { + return err + } + } + + return nil +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/types/errors.go b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/types/errors.go index 041629bba2..70d99a220b 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/types/errors.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/types/errors.go @@ -34,6 +34,33 @@ func (e *ExpiredTokenException) ErrorCode() string { } func (e *ExpiredTokenException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } +// The trade-in token provided in the request has expired and can no longer be +// exchanged for credentials. Request a new token and retry the operation. +type ExpiredTradeInTokenException struct { + Message *string + + ErrorCodeOverride *string + + noSmithyDocumentSerde +} + +func (e *ExpiredTradeInTokenException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *ExpiredTradeInTokenException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *ExpiredTradeInTokenException) ErrorCode() string { + if e == nil || e.ErrorCodeOverride == nil { + return "ExpiredTradeInTokenException" + } + return *e.ErrorCodeOverride +} +func (e *ExpiredTradeInTokenException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } + // The request could not be fulfilled because the identity provider (IDP) that was // asked to verify the incoming identity token could not be reached. This is often // a transient error caused by network conditions. Retry the request a limited @@ -152,6 +179,34 @@ func (e *InvalidIdentityTokenException) ErrorCode() string { } func (e *InvalidIdentityTokenException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } +// The requested token payload size exceeds the maximum allowed size. Reduce the +// number of request tags included in the GetWebIdentityToken API call to reduce +// the token payload size. +type JWTPayloadSizeExceededException struct { + Message *string + + ErrorCodeOverride *string + + noSmithyDocumentSerde +} + +func (e *JWTPayloadSizeExceededException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *JWTPayloadSizeExceededException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *JWTPayloadSizeExceededException) ErrorCode() string { + if e == nil || e.ErrorCodeOverride == nil { + return "JWTPayloadSizeExceededException" + } + return *e.ErrorCodeOverride +} +func (e *JWTPayloadSizeExceededException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } + // The request was rejected because the policy document was malformed. The error // message describes the specific error. type MalformedPolicyDocumentException struct { @@ -179,6 +234,36 @@ func (e *MalformedPolicyDocumentException) ErrorCode() string { } func (e *MalformedPolicyDocumentException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } +// The outbound web identity federation feature is not enabled for this account. +// To use this feature, you must first enable it through the Amazon Web Services +// Management Console or API. +type OutboundWebIdentityFederationDisabledException struct { + Message *string + + ErrorCodeOverride *string + + noSmithyDocumentSerde +} + +func (e *OutboundWebIdentityFederationDisabledException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *OutboundWebIdentityFederationDisabledException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *OutboundWebIdentityFederationDisabledException) ErrorCode() string { + if e == nil || e.ErrorCodeOverride == nil { + return "OutboundWebIdentityFederationDisabledException" + } + return *e.ErrorCodeOverride +} +func (e *OutboundWebIdentityFederationDisabledException) ErrorFault() smithy.ErrorFault { + return smithy.FaultClient +} + // The request was rejected because the total packed size of the session policies // and session tags combined was too large. An Amazon Web Services conversion // compresses the session policy document, session policy ARNs, and session tags @@ -221,7 +306,7 @@ func (e *PackedPolicyTooLargeException) ErrorFault() smithy.ErrorFault { return // console to activate STS in that region. For more information, see [Activating and Deactivating STS in an Amazon Web Services Region]in the IAM // User Guide. // -// [Activating and Deactivating STS in an Amazon Web Services Region]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html +// [Activating and Deactivating STS in an Amazon Web Services Region]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html#sts-regions-activate-deactivate type RegionDisabledException struct { Message *string @@ -246,3 +331,33 @@ func (e *RegionDisabledException) ErrorCode() string { return *e.ErrorCodeOverride } func (e *RegionDisabledException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } + +// The requested token duration would extend the session beyond its original +// expiration time. You cannot use this operation to extend the lifetime of a +// session beyond what was granted when the session was originally created. +type SessionDurationEscalationException struct { + Message *string + + ErrorCodeOverride *string + + noSmithyDocumentSerde +} + +func (e *SessionDurationEscalationException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *SessionDurationEscalationException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *SessionDurationEscalationException) ErrorCode() string { + if e == nil || e.ErrorCodeOverride == nil { + return "SessionDurationEscalationException" + } + return *e.ErrorCodeOverride +} +func (e *SessionDurationEscalationException) ErrorFault() smithy.ErrorFault { + return smithy.FaultClient +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/validators.go b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/validators.go index 1026e22118..4d37dd22a1 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/sts/validators.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/sts/validators.go @@ -130,6 +130,26 @@ func (m *validateOpGetAccessKeyInfo) HandleInitialize(ctx context.Context, in mi return next.HandleInitialize(ctx, in) } +type validateOpGetDelegatedAccessToken struct { +} + +func (*validateOpGetDelegatedAccessToken) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpGetDelegatedAccessToken) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*GetDelegatedAccessTokenInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpGetDelegatedAccessTokenInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpGetFederationToken struct { } @@ -150,6 +170,26 @@ func (m *validateOpGetFederationToken) HandleInitialize(ctx context.Context, in return next.HandleInitialize(ctx, in) } +type validateOpGetWebIdentityToken struct { +} + +func (*validateOpGetWebIdentityToken) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpGetWebIdentityToken) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*GetWebIdentityTokenInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpGetWebIdentityTokenInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + func addOpAssumeRoleValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpAssumeRole{}, middleware.After) } @@ -174,10 +214,18 @@ func addOpGetAccessKeyInfoValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpGetAccessKeyInfo{}, middleware.After) } +func addOpGetDelegatedAccessTokenValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpGetDelegatedAccessToken{}, middleware.After) +} + func addOpGetFederationTokenValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpGetFederationToken{}, middleware.After) } +func addOpGetWebIdentityTokenValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpGetWebIdentityToken{}, middleware.After) +} + func validateTag(v *types.Tag) error { if v == nil { return nil @@ -326,6 +374,21 @@ func validateOpGetAccessKeyInfoInput(v *GetAccessKeyInfoInput) error { } } +func validateOpGetDelegatedAccessTokenInput(v *GetDelegatedAccessTokenInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "GetDelegatedAccessTokenInput"} + if v.TradeInToken == nil { + invalidParams.Add(smithy.NewErrParamRequired("TradeInToken")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpGetFederationTokenInput(v *GetFederationTokenInput) error { if v == nil { return nil @@ -345,3 +408,26 @@ func validateOpGetFederationTokenInput(v *GetFederationTokenInput) error { return nil } } + +func validateOpGetWebIdentityTokenInput(v *GetWebIdentityTokenInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "GetWebIdentityTokenInput"} + if v.Audience == nil { + invalidParams.Add(smithy.NewErrParamRequired("Audience")) + } + if v.SigningAlgorithm == nil { + invalidParams.Add(smithy.NewErrParamRequired("SigningAlgorithm")) + } + if v.Tags != nil { + if err := validateTagListType(v.Tags); err != nil { + invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} diff --git a/vendor/github.com/aws/smithy-go/CHANGELOG.md b/vendor/github.com/aws/smithy-go/CHANGELOG.md index 3e07a9b02d..80af245f08 100644 --- a/vendor/github.com/aws/smithy-go/CHANGELOG.md +++ b/vendor/github.com/aws/smithy-go/CHANGELOG.md @@ -1,3 +1,22 @@ +# Release (2025-12-01) + +## General Highlights +* **Dependency Update**: Updated to the latest SDK module versions + +## Module Highlights +* `github.com/aws/smithy-go`: v1.24.0 + * **Feature**: Improve allocation footprint of the middleware stack. This should convey a ~10% reduction in allocations per SDK request. + +# Release (2025-11-03) + +## General Highlights +* **Dependency Update**: Updated to the latest SDK module versions + +## Module Highlights +* `github.com/aws/smithy-go`: v1.23.2 + * **Bug Fix**: Adjust the initial sizes of each middleware phase to avoid some unnecessary reallocation. + * **Bug Fix**: Avoid unnecessary allocation overhead from the metrics system when not in use. + # Release (2025-10-15) ## General Highlights diff --git a/vendor/github.com/aws/smithy-go/go_module_metadata.go b/vendor/github.com/aws/smithy-go/go_module_metadata.go index 39b45809e3..b6c4c2f51c 100644 --- a/vendor/github.com/aws/smithy-go/go_module_metadata.go +++ b/vendor/github.com/aws/smithy-go/go_module_metadata.go @@ -3,4 +3,4 @@ package smithy // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.23.1" +const goModuleVersion = "1.24.0" diff --git a/vendor/github.com/aws/smithy-go/metrics/nop.go b/vendor/github.com/aws/smithy-go/metrics/nop.go index fb374e1fb8..444126df5a 100644 --- a/vendor/github.com/aws/smithy-go/metrics/nop.go +++ b/vendor/github.com/aws/smithy-go/metrics/nop.go @@ -9,54 +9,82 @@ var _ MeterProvider = (*NopMeterProvider)(nil) // Meter returns a meter which creates no-op instruments. func (NopMeterProvider) Meter(string, ...MeterOption) Meter { - return nopMeter{} + return NopMeter{} } -type nopMeter struct{} +// NopMeter creates no-op instruments. +type NopMeter struct{} -var _ Meter = (*nopMeter)(nil) +var _ Meter = (*NopMeter)(nil) -func (nopMeter) Int64Counter(string, ...InstrumentOption) (Int64Counter, error) { - return nopInstrument[int64]{}, nil +// Int64Counter creates a no-op instrument. +func (NopMeter) Int64Counter(string, ...InstrumentOption) (Int64Counter, error) { + return nopInstrumentInt64, nil } -func (nopMeter) Int64UpDownCounter(string, ...InstrumentOption) (Int64UpDownCounter, error) { - return nopInstrument[int64]{}, nil + +// Int64UpDownCounter creates a no-op instrument. +func (NopMeter) Int64UpDownCounter(string, ...InstrumentOption) (Int64UpDownCounter, error) { + return nopInstrumentInt64, nil } -func (nopMeter) Int64Gauge(string, ...InstrumentOption) (Int64Gauge, error) { - return nopInstrument[int64]{}, nil + +// Int64Gauge creates a no-op instrument. +func (NopMeter) Int64Gauge(string, ...InstrumentOption) (Int64Gauge, error) { + return nopInstrumentInt64, nil } -func (nopMeter) Int64Histogram(string, ...InstrumentOption) (Int64Histogram, error) { - return nopInstrument[int64]{}, nil + +// Int64Histogram creates a no-op instrument. +func (NopMeter) Int64Histogram(string, ...InstrumentOption) (Int64Histogram, error) { + return nopInstrumentInt64, nil } -func (nopMeter) Int64AsyncCounter(string, Int64Callback, ...InstrumentOption) (AsyncInstrument, error) { - return nopInstrument[int64]{}, nil + +// Int64AsyncCounter creates a no-op instrument. +func (NopMeter) Int64AsyncCounter(string, Int64Callback, ...InstrumentOption) (AsyncInstrument, error) { + return nopInstrumentInt64, nil } -func (nopMeter) Int64AsyncUpDownCounter(string, Int64Callback, ...InstrumentOption) (AsyncInstrument, error) { - return nopInstrument[int64]{}, nil + +// Int64AsyncUpDownCounter creates a no-op instrument. +func (NopMeter) Int64AsyncUpDownCounter(string, Int64Callback, ...InstrumentOption) (AsyncInstrument, error) { + return nopInstrumentInt64, nil } -func (nopMeter) Int64AsyncGauge(string, Int64Callback, ...InstrumentOption) (AsyncInstrument, error) { - return nopInstrument[int64]{}, nil + +// Int64AsyncGauge creates a no-op instrument. +func (NopMeter) Int64AsyncGauge(string, Int64Callback, ...InstrumentOption) (AsyncInstrument, error) { + return nopInstrumentInt64, nil } -func (nopMeter) Float64Counter(string, ...InstrumentOption) (Float64Counter, error) { - return nopInstrument[float64]{}, nil + +// Float64Counter creates a no-op instrument. +func (NopMeter) Float64Counter(string, ...InstrumentOption) (Float64Counter, error) { + return nopInstrumentFloat64, nil } -func (nopMeter) Float64UpDownCounter(string, ...InstrumentOption) (Float64UpDownCounter, error) { - return nopInstrument[float64]{}, nil + +// Float64UpDownCounter creates a no-op instrument. +func (NopMeter) Float64UpDownCounter(string, ...InstrumentOption) (Float64UpDownCounter, error) { + return nopInstrumentFloat64, nil } -func (nopMeter) Float64Gauge(string, ...InstrumentOption) (Float64Gauge, error) { - return nopInstrument[float64]{}, nil + +// Float64Gauge creates a no-op instrument. +func (NopMeter) Float64Gauge(string, ...InstrumentOption) (Float64Gauge, error) { + return nopInstrumentFloat64, nil } -func (nopMeter) Float64Histogram(string, ...InstrumentOption) (Float64Histogram, error) { - return nopInstrument[float64]{}, nil + +// Float64Histogram creates a no-op instrument. +func (NopMeter) Float64Histogram(string, ...InstrumentOption) (Float64Histogram, error) { + return nopInstrumentFloat64, nil } -func (nopMeter) Float64AsyncCounter(string, Float64Callback, ...InstrumentOption) (AsyncInstrument, error) { - return nopInstrument[float64]{}, nil + +// Float64AsyncCounter creates a no-op instrument. +func (NopMeter) Float64AsyncCounter(string, Float64Callback, ...InstrumentOption) (AsyncInstrument, error) { + return nopInstrumentFloat64, nil } -func (nopMeter) Float64AsyncUpDownCounter(string, Float64Callback, ...InstrumentOption) (AsyncInstrument, error) { - return nopInstrument[float64]{}, nil + +// Float64AsyncUpDownCounter creates a no-op instrument. +func (NopMeter) Float64AsyncUpDownCounter(string, Float64Callback, ...InstrumentOption) (AsyncInstrument, error) { + return nopInstrumentFloat64, nil } -func (nopMeter) Float64AsyncGauge(string, Float64Callback, ...InstrumentOption) (AsyncInstrument, error) { - return nopInstrument[float64]{}, nil + +// Float64AsyncGauge creates a no-op instrument. +func (NopMeter) Float64AsyncGauge(string, Float64Callback, ...InstrumentOption) (AsyncInstrument, error) { + return nopInstrumentFloat64, nil } type nopInstrument[N any] struct{} @@ -65,3 +93,6 @@ func (nopInstrument[N]) Add(context.Context, N, ...RecordMetricOption) {} func (nopInstrument[N]) Sample(context.Context, N, ...RecordMetricOption) {} func (nopInstrument[N]) Record(context.Context, N, ...RecordMetricOption) {} func (nopInstrument[_]) Stop() {} + +var nopInstrumentInt64 = nopInstrument[int64]{} +var nopInstrumentFloat64 = nopInstrument[float64]{} diff --git a/vendor/github.com/aws/smithy-go/middleware/ordered_group.go b/vendor/github.com/aws/smithy-go/middleware/ordered_group.go index 4b195308c5..daf90136e9 100644 --- a/vendor/github.com/aws/smithy-go/middleware/ordered_group.go +++ b/vendor/github.com/aws/smithy-go/middleware/ordered_group.go @@ -23,12 +23,14 @@ type orderedIDs struct { items map[string]ider } -const baseOrderedItems = 5 +// selected based on the general upper bound of # of middlewares in each step +// in the downstream aws-sdk-go-v2 +const baseOrderedItems = 8 -func newOrderedIDs() *orderedIDs { +func newOrderedIDs(cap int) *orderedIDs { return &orderedIDs{ - order: newRelativeOrder(), - items: make(map[string]ider, baseOrderedItems), + order: newRelativeOrder(cap), + items: make(map[string]ider, cap), } } @@ -141,9 +143,9 @@ type relativeOrder struct { order []string } -func newRelativeOrder() *relativeOrder { +func newRelativeOrder(cap int) *relativeOrder { return &relativeOrder{ - order: make([]string, 0, baseOrderedItems), + order: make([]string, 0, cap), } } diff --git a/vendor/github.com/aws/smithy-go/middleware/step_build.go b/vendor/github.com/aws/smithy-go/middleware/step_build.go index 7e1d94caee..db8c26715c 100644 --- a/vendor/github.com/aws/smithy-go/middleware/step_build.go +++ b/vendor/github.com/aws/smithy-go/middleware/step_build.go @@ -1,7 +1,9 @@ +// Code generated by smithy-go/middleware/generate.go DO NOT EDIT. package middleware import ( "context" + "fmt" ) // BuildInput provides the input parameters for the BuildMiddleware to consume. @@ -25,14 +27,14 @@ type BuildHandler interface { } // BuildMiddleware provides the interface for middleware specific to the -// serialize step. Delegates to the next BuildHandler for further +// build step. Delegates to the next BuildHandler for further // processing. type BuildMiddleware interface { - // Unique ID for the middleware in theBuildStep. The step does not allow - // duplicate IDs. + // ID returns a unique ID for the middleware in the BuildStep. The step does not + // allow duplicate IDs. ID() string - // Invokes the middleware behavior which must delegate to the next handler + // HandleBuild invokes the middleware behavior which must delegate to the next handler // for the middleware chain to continue. The method must return a result or // error to its caller. HandleBuild(ctx context.Context, in BuildInput, next BuildHandler) ( @@ -54,7 +56,9 @@ type buildMiddlewareFunc struct { id string // Middleware function to be called. - fn func(context.Context, BuildInput, BuildHandler) (BuildOutput, Metadata, error) + fn func(context.Context, BuildInput, BuildHandler) ( + BuildOutput, Metadata, error, + ) } // ID returns the unique ID for the middleware. @@ -69,23 +73,22 @@ func (s buildMiddlewareFunc) HandleBuild(ctx context.Context, in BuildInput, nex var _ BuildMiddleware = (buildMiddlewareFunc{}) -// BuildStep provides the ordered grouping of BuildMiddleware to be invoked on -// a handler. +// BuildStep provides the ordered grouping of BuildMiddleware to be +// invoked on a handler. type BuildStep struct { - ids *orderedIDs + head *decoratedBuildHandler + tail *decoratedBuildHandler } -// NewBuildStep returns a BuildStep ready to have middleware for -// initialization added to it. +// NewBuildStep returns an BuildStep ready to have middleware for +// build added to it. func NewBuildStep() *BuildStep { - return &BuildStep{ - ids: newOrderedIDs(), - } + return &BuildStep{} } var _ Middleware = (*BuildStep)(nil) -// ID returns the unique name of the step as a middleware. +// ID returns the unique ID of the step as a middleware. func (s *BuildStep) ID() string { return "Build stack step" } @@ -97,77 +100,161 @@ func (s *BuildStep) ID() string { func (s *BuildStep) HandleMiddleware(ctx context.Context, in interface{}, next Handler) ( out interface{}, metadata Metadata, err error, ) { - order := s.ids.GetOrder() - - var h BuildHandler = buildWrapHandler{Next: next} - for i := len(order) - 1; i >= 0; i-- { - h = decoratedBuildHandler{ - Next: h, - With: order[i].(BuildMiddleware), - } - } - sIn := BuildInput{ Request: in, } - res, metadata, err := h.HandleBuild(ctx, sIn) + wh := &buildWrapHandler{next} + if s.head == nil { + res, metadata, err := wh.HandleBuild(ctx, sIn) + return res.Result, metadata, err + } + + s.tail.Next = wh + res, metadata, err := s.head.HandleBuild(ctx, sIn) return res.Result, metadata, err } // Get retrieves the middleware identified by id. If the middleware is not present, returns false. func (s *BuildStep) Get(id string) (BuildMiddleware, bool) { - get, ok := s.ids.Get(id) - if !ok { + found, _ := s.get(id) + if found == nil { return nil, false } - return get.(BuildMiddleware), ok + + return found.With, true } // Add injects the middleware to the relative position of the middleware group. -// Returns an error if the middleware already exists. +// +// Add never returns an error. It used to for duplicate phases but this +// behavior has since been removed as part of a performance optimization. The +// return value from Add can be ignored. func (s *BuildStep) Add(m BuildMiddleware, pos RelativePosition) error { - return s.ids.Add(m, pos) + if s.head == nil { + s.head = &decoratedBuildHandler{nil, m} + s.tail = s.head + return nil + } + + if pos == Before { + s.head = &decoratedBuildHandler{s.head, m} + } else { + tail := &decoratedBuildHandler{nil, m} + s.tail.Next = tail + s.tail = tail + } + + return nil } -// Insert injects the middleware relative to an existing middleware id. -// Returns an error if the original middleware does not exist, or the middleware +// Insert injects the middleware relative to an existing middleware ID. +// Returns error if the original middleware does not exist, or the middleware // being added already exists. func (s *BuildStep) Insert(m BuildMiddleware, relativeTo string, pos RelativePosition) error { - return s.ids.Insert(m, relativeTo, pos) + found, prev := s.get(relativeTo) + if found == nil { + return fmt.Errorf("not found: %s", m.ID()) + } + + if pos == Before { + if prev == nil { // at the front + s.head = &decoratedBuildHandler{s.head, m} + } else { // somewhere in the middle + prev.Next = &decoratedBuildHandler{found, m} + } + } else { + if found.Next == nil { // at the end + tail := &decoratedBuildHandler{nil, m} + s.tail.Next = tail + s.tail = tail + } else { // somewhere in the middle + found.Next = &decoratedBuildHandler{found.Next, m} + } + } + + return nil } // Swap removes the middleware by id, replacing it with the new middleware. -// Returns the middleware removed, or an error if the middleware to be removed +// Returns the middleware removed, or error if the middleware to be removed // doesn't exist. func (s *BuildStep) Swap(id string, m BuildMiddleware) (BuildMiddleware, error) { - removed, err := s.ids.Swap(id, m) - if err != nil { - return nil, err + found, _ := s.get(id) + if found == nil { + return nil, fmt.Errorf("not found: %s", m.ID()) } - return removed.(BuildMiddleware), nil + swapped := found.With + found.With = m + return swapped, nil } // Remove removes the middleware by id. Returns error if the middleware // doesn't exist. func (s *BuildStep) Remove(id string) (BuildMiddleware, error) { - removed, err := s.ids.Remove(id) - if err != nil { - return nil, err + found, prev := s.get(id) + if found == nil { + return nil, fmt.Errorf("not found: %s", id) } - return removed.(BuildMiddleware), nil + if s.head == s.tail { // it's the only one + s.head = nil + s.tail = nil + } else if found == s.head { // at the front + s.head = s.head.Next.(*decoratedBuildHandler) + } else if found == s.tail { // at the end + prev.Next = nil + s.tail = prev + } else { + prev.Next = found.Next // somewhere in the middle + } + + return found.With, nil } // List returns a list of the middleware in the step. func (s *BuildStep) List() []string { - return s.ids.List() + var ids []string + for h := s.head; h != nil; { + ids = append(ids, h.With.ID()) + if h.Next == nil { + break + } + + // once executed, tail.Next of the list will be set to an + // *buildWrapHandler, make sure to check for that + if hnext, ok := h.Next.(*decoratedBuildHandler); ok { + h = hnext + } else { + break + } + } + return ids } // Clear removes all middleware in the step. func (s *BuildStep) Clear() { - s.ids.Clear() + s.head = nil + s.tail = nil +} + +func (s *BuildStep) get(id string) (found, prev *decoratedBuildHandler) { + for h := s.head; h != nil; { + if h.With.ID() == id { + found = h + return + } + prev = h + if h.Next == nil { + return + } + + // once executed, tail.Next of the list will be set to an + // *buildWrapHandler + h, _ = h.Next.(*decoratedBuildHandler) + } + return } type buildWrapHandler struct { @@ -176,7 +263,7 @@ type buildWrapHandler struct { var _ BuildHandler = (*buildWrapHandler)(nil) -// Implements BuildHandler, converts types and delegates to underlying +// HandleBuild implements BuildHandler, converts types and delegates to underlying // generic handler. func (w buildWrapHandler) HandleBuild(ctx context.Context, in BuildInput) ( out BuildOutput, metadata Metadata, err error, @@ -200,12 +287,12 @@ func (h decoratedBuildHandler) HandleBuild(ctx context.Context, in BuildInput) ( return h.With.HandleBuild(ctx, in, h.Next) } -// BuildHandlerFunc provides a wrapper around a function to be used as a build middleware handler. +// BuildHandlerFunc provides a wrapper around a function to be used as buildMiddleware. type BuildHandlerFunc func(context.Context, BuildInput) (BuildOutput, Metadata, error) -// HandleBuild invokes the wrapped function with the provided arguments. -func (b BuildHandlerFunc) HandleBuild(ctx context.Context, in BuildInput) (BuildOutput, Metadata, error) { - return b(ctx, in) +// HandleBuild calls the wrapped function with the provided arguments. +func (f BuildHandlerFunc) HandleBuild(ctx context.Context, in BuildInput) (BuildOutput, Metadata, error) { + return f(ctx, in) } var _ BuildHandler = BuildHandlerFunc(nil) diff --git a/vendor/github.com/aws/smithy-go/middleware/step_deserialize.go b/vendor/github.com/aws/smithy-go/middleware/step_deserialize.go index 4486072157..1f337f2dbc 100644 --- a/vendor/github.com/aws/smithy-go/middleware/step_deserialize.go +++ b/vendor/github.com/aws/smithy-go/middleware/step_deserialize.go @@ -1,7 +1,9 @@ +// Code generated by smithy-go/middleware/generate.go DO NOT EDIT. package middleware import ( "context" + "fmt" ) // DeserializeInput provides the input parameters for the DeserializeInput to @@ -11,10 +13,7 @@ type DeserializeInput struct { Request interface{} } -// DeserializeOutput provides the result returned by the next -// DeserializeHandler. The DeserializeMiddleware should deserialize the -// RawResponse into a Result that can be consumed by middleware higher up in -// the stack. +// DeserializeOutput provides the result returned by the next DeserializeHandler. type DeserializeOutput struct { RawResponse interface{} Result interface{} @@ -29,7 +28,7 @@ type DeserializeHandler interface { } // DeserializeMiddleware provides the interface for middleware specific to the -// serialize step. Delegates to the next DeserializeHandler for further +// deserialize step. Delegates to the next DeserializeHandler for further // processing. type DeserializeMiddleware interface { // ID returns a unique ID for the middleware in the DeserializeStep. The step does not @@ -44,8 +43,8 @@ type DeserializeMiddleware interface { ) } -// DeserializeMiddlewareFunc returns a DeserializeMiddleware with the unique ID -// provided, and the func to be invoked. +// DeserializeMiddlewareFunc returns a DeserializeMiddleware with the unique ID provided, +// and the func to be invoked. func DeserializeMiddlewareFunc(id string, fn func(context.Context, DeserializeInput, DeserializeHandler) (DeserializeOutput, Metadata, error)) DeserializeMiddleware { return deserializeMiddlewareFunc{ id: id, @@ -78,15 +77,14 @@ var _ DeserializeMiddleware = (deserializeMiddlewareFunc{}) // DeserializeStep provides the ordered grouping of DeserializeMiddleware to be // invoked on a handler. type DeserializeStep struct { - ids *orderedIDs + head *decoratedDeserializeHandler + tail *decoratedDeserializeHandler } -// NewDeserializeStep returns a DeserializeStep ready to have middleware for -// initialization added to it. +// NewDeserializeStep returns an DeserializeStep ready to have middleware for +// deserialize added to it. func NewDeserializeStep() *DeserializeStep { - return &DeserializeStep{ - ids: newOrderedIDs(), - } + return &DeserializeStep{} } var _ Middleware = (*DeserializeStep)(nil) @@ -103,77 +101,161 @@ func (s *DeserializeStep) ID() string { func (s *DeserializeStep) HandleMiddleware(ctx context.Context, in interface{}, next Handler) ( out interface{}, metadata Metadata, err error, ) { - order := s.ids.GetOrder() - - var h DeserializeHandler = deserializeWrapHandler{Next: next} - for i := len(order) - 1; i >= 0; i-- { - h = decoratedDeserializeHandler{ - Next: h, - With: order[i].(DeserializeMiddleware), - } - } - sIn := DeserializeInput{ Request: in, } - res, metadata, err := h.HandleDeserialize(ctx, sIn) + wh := &deserializeWrapHandler{next} + if s.head == nil { + res, metadata, err := wh.HandleDeserialize(ctx, sIn) + return res.Result, metadata, err + } + + s.tail.Next = wh + res, metadata, err := s.head.HandleDeserialize(ctx, sIn) return res.Result, metadata, err } // Get retrieves the middleware identified by id. If the middleware is not present, returns false. func (s *DeserializeStep) Get(id string) (DeserializeMiddleware, bool) { - get, ok := s.ids.Get(id) - if !ok { + found, _ := s.get(id) + if found == nil { return nil, false } - return get.(DeserializeMiddleware), ok + + return found.With, true } // Add injects the middleware to the relative position of the middleware group. -// Returns an error if the middleware already exists. +// +// Add never returns an error. It used to for duplicate phases but this +// behavior has since been removed as part of a performance optimization. The +// return value from Add can be ignored. func (s *DeserializeStep) Add(m DeserializeMiddleware, pos RelativePosition) error { - return s.ids.Add(m, pos) + if s.head == nil { + s.head = &decoratedDeserializeHandler{nil, m} + s.tail = s.head + return nil + } + + if pos == Before { + s.head = &decoratedDeserializeHandler{s.head, m} + } else { + tail := &decoratedDeserializeHandler{nil, m} + s.tail.Next = tail + s.tail = tail + } + + return nil } // Insert injects the middleware relative to an existing middleware ID. // Returns error if the original middleware does not exist, or the middleware // being added already exists. func (s *DeserializeStep) Insert(m DeserializeMiddleware, relativeTo string, pos RelativePosition) error { - return s.ids.Insert(m, relativeTo, pos) + found, prev := s.get(relativeTo) + if found == nil { + return fmt.Errorf("not found: %s", m.ID()) + } + + if pos == Before { + if prev == nil { // at the front + s.head = &decoratedDeserializeHandler{s.head, m} + } else { // somewhere in the middle + prev.Next = &decoratedDeserializeHandler{found, m} + } + } else { + if found.Next == nil { // at the end + tail := &decoratedDeserializeHandler{nil, m} + s.tail.Next = tail + s.tail = tail + } else { // somewhere in the middle + found.Next = &decoratedDeserializeHandler{found.Next, m} + } + } + + return nil } // Swap removes the middleware by id, replacing it with the new middleware. // Returns the middleware removed, or error if the middleware to be removed // doesn't exist. func (s *DeserializeStep) Swap(id string, m DeserializeMiddleware) (DeserializeMiddleware, error) { - removed, err := s.ids.Swap(id, m) - if err != nil { - return nil, err + found, _ := s.get(id) + if found == nil { + return nil, fmt.Errorf("not found: %s", m.ID()) } - return removed.(DeserializeMiddleware), nil + swapped := found.With + found.With = m + return swapped, nil } // Remove removes the middleware by id. Returns error if the middleware // doesn't exist. func (s *DeserializeStep) Remove(id string) (DeserializeMiddleware, error) { - removed, err := s.ids.Remove(id) - if err != nil { - return nil, err + found, prev := s.get(id) + if found == nil { + return nil, fmt.Errorf("not found: %s", id) + } + + if s.head == s.tail { // it's the only one + s.head = nil + s.tail = nil + } else if found == s.head { // at the front + s.head = s.head.Next.(*decoratedDeserializeHandler) + } else if found == s.tail { // at the end + prev.Next = nil + s.tail = prev + } else { + prev.Next = found.Next // somewhere in the middle } - return removed.(DeserializeMiddleware), nil + return found.With, nil } // List returns a list of the middleware in the step. func (s *DeserializeStep) List() []string { - return s.ids.List() + var ids []string + for h := s.head; h != nil; { + ids = append(ids, h.With.ID()) + if h.Next == nil { + break + } + + // once executed, tail.Next of the list will be set to an + // *deserializeWrapHandler, make sure to check for that + if hnext, ok := h.Next.(*decoratedDeserializeHandler); ok { + h = hnext + } else { + break + } + } + return ids } // Clear removes all middleware in the step. func (s *DeserializeStep) Clear() { - s.ids.Clear() + s.head = nil + s.tail = nil +} + +func (s *DeserializeStep) get(id string) (found, prev *decoratedDeserializeHandler) { + for h := s.head; h != nil; { + if h.With.ID() == id { + found = h + return + } + prev = h + if h.Next == nil { + return + } + + // once executed, tail.Next of the list will be set to an + // *deserializeWrapHandler + h, _ = h.Next.(*decoratedDeserializeHandler) + } + return } type deserializeWrapHandler struct { @@ -187,9 +269,10 @@ var _ DeserializeHandler = (*deserializeWrapHandler)(nil) func (w deserializeWrapHandler) HandleDeserialize(ctx context.Context, in DeserializeInput) ( out DeserializeOutput, metadata Metadata, err error, ) { - resp, metadata, err := w.Next.Handle(ctx, in.Request) + res, metadata, err := w.Next.Handle(ctx, in.Request) return DeserializeOutput{ - RawResponse: resp, + RawResponse: res, + Result: nil, }, metadata, err } @@ -206,12 +289,12 @@ func (h decoratedDeserializeHandler) HandleDeserialize(ctx context.Context, in D return h.With.HandleDeserialize(ctx, in, h.Next) } -// DeserializeHandlerFunc provides a wrapper around a function to be used as a deserialize middleware handler. +// DeserializeHandlerFunc provides a wrapper around a function to be used as deserializeMiddleware. type DeserializeHandlerFunc func(context.Context, DeserializeInput) (DeserializeOutput, Metadata, error) -// HandleDeserialize invokes the wrapped function with the given arguments. -func (d DeserializeHandlerFunc) HandleDeserialize(ctx context.Context, in DeserializeInput) (DeserializeOutput, Metadata, error) { - return d(ctx, in) +// HandleDeserialize calls the wrapped function with the provided arguments. +func (f DeserializeHandlerFunc) HandleDeserialize(ctx context.Context, in DeserializeInput) (DeserializeOutput, Metadata, error) { + return f(ctx, in) } var _ DeserializeHandler = DeserializeHandlerFunc(nil) diff --git a/vendor/github.com/aws/smithy-go/middleware/step_finalize.go b/vendor/github.com/aws/smithy-go/middleware/step_finalize.go index 065e3885de..1a0ad9fb88 100644 --- a/vendor/github.com/aws/smithy-go/middleware/step_finalize.go +++ b/vendor/github.com/aws/smithy-go/middleware/step_finalize.go @@ -1,6 +1,10 @@ +// Code generated by smithy-go/middleware/generate.go DO NOT EDIT. package middleware -import "context" +import ( + "context" + "fmt" +) // FinalizeInput provides the input parameters for the FinalizeMiddleware to // consume. FinalizeMiddleware may modify the Request value before forwarding @@ -23,7 +27,7 @@ type FinalizeHandler interface { } // FinalizeMiddleware provides the interface for middleware specific to the -// serialize step. Delegates to the next FinalizeHandler for further +// finalize step. Delegates to the next FinalizeHandler for further // processing. type FinalizeMiddleware interface { // ID returns a unique ID for the middleware in the FinalizeStep. The step does not @@ -38,8 +42,8 @@ type FinalizeMiddleware interface { ) } -// FinalizeMiddlewareFunc returns a FinalizeMiddleware with the unique ID -// provided, and the func to be invoked. +// FinalizeMiddlewareFunc returns a FinalizeMiddleware with the unique ID provided, +// and the func to be invoked. func FinalizeMiddlewareFunc(id string, fn func(context.Context, FinalizeInput, FinalizeHandler) (FinalizeOutput, Metadata, error)) FinalizeMiddleware { return finalizeMiddlewareFunc{ id: id, @@ -72,20 +76,19 @@ var _ FinalizeMiddleware = (finalizeMiddlewareFunc{}) // FinalizeStep provides the ordered grouping of FinalizeMiddleware to be // invoked on a handler. type FinalizeStep struct { - ids *orderedIDs + head *decoratedFinalizeHandler + tail *decoratedFinalizeHandler } -// NewFinalizeStep returns a FinalizeStep ready to have middleware for -// initialization added to it. +// NewFinalizeStep returns an FinalizeStep ready to have middleware for +// finalize added to it. func NewFinalizeStep() *FinalizeStep { - return &FinalizeStep{ - ids: newOrderedIDs(), - } + return &FinalizeStep{} } var _ Middleware = (*FinalizeStep)(nil) -// ID returns the unique id of the step as a middleware. +// ID returns the unique ID of the step as a middleware. func (s *FinalizeStep) ID() string { return "Finalize stack step" } @@ -97,77 +100,161 @@ func (s *FinalizeStep) ID() string { func (s *FinalizeStep) HandleMiddleware(ctx context.Context, in interface{}, next Handler) ( out interface{}, metadata Metadata, err error, ) { - order := s.ids.GetOrder() - - var h FinalizeHandler = finalizeWrapHandler{Next: next} - for i := len(order) - 1; i >= 0; i-- { - h = decoratedFinalizeHandler{ - Next: h, - With: order[i].(FinalizeMiddleware), - } - } - sIn := FinalizeInput{ Request: in, } - res, metadata, err := h.HandleFinalize(ctx, sIn) + wh := &finalizeWrapHandler{next} + if s.head == nil { + res, metadata, err := wh.HandleFinalize(ctx, sIn) + return res.Result, metadata, err + } + + s.tail.Next = wh + res, metadata, err := s.head.HandleFinalize(ctx, sIn) return res.Result, metadata, err } // Get retrieves the middleware identified by id. If the middleware is not present, returns false. func (s *FinalizeStep) Get(id string) (FinalizeMiddleware, bool) { - get, ok := s.ids.Get(id) - if !ok { + found, _ := s.get(id) + if found == nil { return nil, false } - return get.(FinalizeMiddleware), ok + + return found.With, true } // Add injects the middleware to the relative position of the middleware group. -// Returns an error if the middleware already exists. +// +// Add never returns an error. It used to for duplicate phases but this +// behavior has since been removed as part of a performance optimization. The +// return value from Add can be ignored. func (s *FinalizeStep) Add(m FinalizeMiddleware, pos RelativePosition) error { - return s.ids.Add(m, pos) + if s.head == nil { + s.head = &decoratedFinalizeHandler{nil, m} + s.tail = s.head + return nil + } + + if pos == Before { + s.head = &decoratedFinalizeHandler{s.head, m} + } else { + tail := &decoratedFinalizeHandler{nil, m} + s.tail.Next = tail + s.tail = tail + } + + return nil } // Insert injects the middleware relative to an existing middleware ID. // Returns error if the original middleware does not exist, or the middleware // being added already exists. func (s *FinalizeStep) Insert(m FinalizeMiddleware, relativeTo string, pos RelativePosition) error { - return s.ids.Insert(m, relativeTo, pos) + found, prev := s.get(relativeTo) + if found == nil { + return fmt.Errorf("not found: %s", m.ID()) + } + + if pos == Before { + if prev == nil { // at the front + s.head = &decoratedFinalizeHandler{s.head, m} + } else { // somewhere in the middle + prev.Next = &decoratedFinalizeHandler{found, m} + } + } else { + if found.Next == nil { // at the end + tail := &decoratedFinalizeHandler{nil, m} + s.tail.Next = tail + s.tail = tail + } else { // somewhere in the middle + found.Next = &decoratedFinalizeHandler{found.Next, m} + } + } + + return nil } // Swap removes the middleware by id, replacing it with the new middleware. // Returns the middleware removed, or error if the middleware to be removed // doesn't exist. func (s *FinalizeStep) Swap(id string, m FinalizeMiddleware) (FinalizeMiddleware, error) { - removed, err := s.ids.Swap(id, m) - if err != nil { - return nil, err + found, _ := s.get(id) + if found == nil { + return nil, fmt.Errorf("not found: %s", m.ID()) } - return removed.(FinalizeMiddleware), nil + swapped := found.With + found.With = m + return swapped, nil } // Remove removes the middleware by id. Returns error if the middleware // doesn't exist. func (s *FinalizeStep) Remove(id string) (FinalizeMiddleware, error) { - removed, err := s.ids.Remove(id) - if err != nil { - return nil, err + found, prev := s.get(id) + if found == nil { + return nil, fmt.Errorf("not found: %s", id) + } + + if s.head == s.tail { // it's the only one + s.head = nil + s.tail = nil + } else if found == s.head { // at the front + s.head = s.head.Next.(*decoratedFinalizeHandler) + } else if found == s.tail { // at the end + prev.Next = nil + s.tail = prev + } else { + prev.Next = found.Next // somewhere in the middle } - return removed.(FinalizeMiddleware), nil + return found.With, nil } // List returns a list of the middleware in the step. func (s *FinalizeStep) List() []string { - return s.ids.List() + var ids []string + for h := s.head; h != nil; { + ids = append(ids, h.With.ID()) + if h.Next == nil { + break + } + + // once executed, tail.Next of the list will be set to an + // *finalizeWrapHandler, make sure to check for that + if hnext, ok := h.Next.(*decoratedFinalizeHandler); ok { + h = hnext + } else { + break + } + } + return ids } // Clear removes all middleware in the step. func (s *FinalizeStep) Clear() { - s.ids.Clear() + s.head = nil + s.tail = nil +} + +func (s *FinalizeStep) get(id string) (found, prev *decoratedFinalizeHandler) { + for h := s.head; h != nil; { + if h.With.ID() == id { + found = h + return + } + prev = h + if h.Next == nil { + return + } + + // once executed, tail.Next of the list will be set to an + // *finalizeWrapHandler + h, _ = h.Next.(*decoratedFinalizeHandler) + } + return } type finalizeWrapHandler struct { @@ -200,10 +287,10 @@ func (h decoratedFinalizeHandler) HandleFinalize(ctx context.Context, in Finaliz return h.With.HandleFinalize(ctx, in, h.Next) } -// FinalizeHandlerFunc provides a wrapper around a function to be used as a finalize middleware handler. +// FinalizeHandlerFunc provides a wrapper around a function to be used as finalizeMiddleware. type FinalizeHandlerFunc func(context.Context, FinalizeInput) (FinalizeOutput, Metadata, error) -// HandleFinalize invokes the wrapped function with the given arguments. +// HandleFinalize calls the wrapped function with the provided arguments. func (f FinalizeHandlerFunc) HandleFinalize(ctx context.Context, in FinalizeInput) (FinalizeOutput, Metadata, error) { return f(ctx, in) } diff --git a/vendor/github.com/aws/smithy-go/middleware/step_initialize.go b/vendor/github.com/aws/smithy-go/middleware/step_initialize.go index fe359144d2..446f3b7bb9 100644 --- a/vendor/github.com/aws/smithy-go/middleware/step_initialize.go +++ b/vendor/github.com/aws/smithy-go/middleware/step_initialize.go @@ -1,10 +1,15 @@ +// Code generated by smithy-go/middleware/generate.go DO NOT EDIT. package middleware -import "context" +import ( + "context" + "fmt" +) // InitializeInput wraps the input parameters for the InitializeMiddlewares to // consume. InitializeMiddleware may modify the parameter value before // forwarding it along to the next InitializeHandler. + type InitializeInput struct { Parameters interface{} } @@ -72,15 +77,14 @@ var _ InitializeMiddleware = (initializeMiddlewareFunc{}) // InitializeStep provides the ordered grouping of InitializeMiddleware to be // invoked on a handler. type InitializeStep struct { - ids *orderedIDs + head *decoratedInitializeHandler + tail *decoratedInitializeHandler } // NewInitializeStep returns an InitializeStep ready to have middleware for -// initialization added to it. +// initialize added to it. func NewInitializeStep() *InitializeStep { - return &InitializeStep{ - ids: newOrderedIDs(), - } + return &InitializeStep{} } var _ Middleware = (*InitializeStep)(nil) @@ -97,77 +101,161 @@ func (s *InitializeStep) ID() string { func (s *InitializeStep) HandleMiddleware(ctx context.Context, in interface{}, next Handler) ( out interface{}, metadata Metadata, err error, ) { - order := s.ids.GetOrder() - - var h InitializeHandler = initializeWrapHandler{Next: next} - for i := len(order) - 1; i >= 0; i-- { - h = decoratedInitializeHandler{ - Next: h, - With: order[i].(InitializeMiddleware), - } - } - sIn := InitializeInput{ Parameters: in, } - res, metadata, err := h.HandleInitialize(ctx, sIn) + wh := &initializeWrapHandler{next} + if s.head == nil { + res, metadata, err := wh.HandleInitialize(ctx, sIn) + return res.Result, metadata, err + } + + s.tail.Next = wh + res, metadata, err := s.head.HandleInitialize(ctx, sIn) return res.Result, metadata, err } // Get retrieves the middleware identified by id. If the middleware is not present, returns false. func (s *InitializeStep) Get(id string) (InitializeMiddleware, bool) { - get, ok := s.ids.Get(id) - if !ok { + found, _ := s.get(id) + if found == nil { return nil, false } - return get.(InitializeMiddleware), ok + + return found.With, true } // Add injects the middleware to the relative position of the middleware group. -// Returns an error if the middleware already exists. +// +// Add never returns an error. It used to for duplicate phases but this +// behavior has since been removed as part of a performance optimization. The +// return value from Add can be ignored. func (s *InitializeStep) Add(m InitializeMiddleware, pos RelativePosition) error { - return s.ids.Add(m, pos) + if s.head == nil { + s.head = &decoratedInitializeHandler{nil, m} + s.tail = s.head + return nil + } + + if pos == Before { + s.head = &decoratedInitializeHandler{s.head, m} + } else { + tail := &decoratedInitializeHandler{nil, m} + s.tail.Next = tail + s.tail = tail + } + + return nil } // Insert injects the middleware relative to an existing middleware ID. // Returns error if the original middleware does not exist, or the middleware // being added already exists. func (s *InitializeStep) Insert(m InitializeMiddleware, relativeTo string, pos RelativePosition) error { - return s.ids.Insert(m, relativeTo, pos) + found, prev := s.get(relativeTo) + if found == nil { + return fmt.Errorf("not found: %s", m.ID()) + } + + if pos == Before { + if prev == nil { // at the front + s.head = &decoratedInitializeHandler{s.head, m} + } else { // somewhere in the middle + prev.Next = &decoratedInitializeHandler{found, m} + } + } else { + if found.Next == nil { // at the end + tail := &decoratedInitializeHandler{nil, m} + s.tail.Next = tail + s.tail = tail + } else { // somewhere in the middle + found.Next = &decoratedInitializeHandler{found.Next, m} + } + } + + return nil } // Swap removes the middleware by id, replacing it with the new middleware. // Returns the middleware removed, or error if the middleware to be removed // doesn't exist. func (s *InitializeStep) Swap(id string, m InitializeMiddleware) (InitializeMiddleware, error) { - removed, err := s.ids.Swap(id, m) - if err != nil { - return nil, err + found, _ := s.get(id) + if found == nil { + return nil, fmt.Errorf("not found: %s", m.ID()) } - return removed.(InitializeMiddleware), nil + swapped := found.With + found.With = m + return swapped, nil } // Remove removes the middleware by id. Returns error if the middleware // doesn't exist. func (s *InitializeStep) Remove(id string) (InitializeMiddleware, error) { - removed, err := s.ids.Remove(id) - if err != nil { - return nil, err + found, prev := s.get(id) + if found == nil { + return nil, fmt.Errorf("not found: %s", id) } - return removed.(InitializeMiddleware), nil + if s.head == s.tail { // it's the only one + s.head = nil + s.tail = nil + } else if found == s.head { // at the front + s.head = s.head.Next.(*decoratedInitializeHandler) + } else if found == s.tail { // at the end + prev.Next = nil + s.tail = prev + } else { + prev.Next = found.Next // somewhere in the middle + } + + return found.With, nil } // List returns a list of the middleware in the step. func (s *InitializeStep) List() []string { - return s.ids.List() + var ids []string + for h := s.head; h != nil; { + ids = append(ids, h.With.ID()) + if h.Next == nil { + break + } + + // once executed, tail.Next of the list will be set to an + // *initializeWrapHandler, make sure to check for that + if hnext, ok := h.Next.(*decoratedInitializeHandler); ok { + h = hnext + } else { + break + } + } + return ids } // Clear removes all middleware in the step. func (s *InitializeStep) Clear() { - s.ids.Clear() + s.head = nil + s.tail = nil +} + +func (s *InitializeStep) get(id string) (found, prev *decoratedInitializeHandler) { + for h := s.head; h != nil; { + if h.With.ID() == id { + found = h + return + } + prev = h + if h.Next == nil { + return + } + + // once executed, tail.Next of the list will be set to an + // *initializeWrapHandler + h, _ = h.Next.(*decoratedInitializeHandler) + } + return } type initializeWrapHandler struct { @@ -200,12 +288,12 @@ func (h decoratedInitializeHandler) HandleInitialize(ctx context.Context, in Ini return h.With.HandleInitialize(ctx, in, h.Next) } -// InitializeHandlerFunc provides a wrapper around a function to be used as an initialize middleware handler. +// InitializeHandlerFunc provides a wrapper around a function to be used as initializeMiddleware. type InitializeHandlerFunc func(context.Context, InitializeInput) (InitializeOutput, Metadata, error) // HandleInitialize calls the wrapped function with the provided arguments. -func (i InitializeHandlerFunc) HandleInitialize(ctx context.Context, in InitializeInput) (InitializeOutput, Metadata, error) { - return i(ctx, in) +func (f InitializeHandlerFunc) HandleInitialize(ctx context.Context, in InitializeInput) (InitializeOutput, Metadata, error) { + return f(ctx, in) } var _ InitializeHandler = InitializeHandlerFunc(nil) diff --git a/vendor/github.com/aws/smithy-go/middleware/step_serialize.go b/vendor/github.com/aws/smithy-go/middleware/step_serialize.go index 114bafcede..942ebb4f3e 100644 --- a/vendor/github.com/aws/smithy-go/middleware/step_serialize.go +++ b/vendor/github.com/aws/smithy-go/middleware/step_serialize.go @@ -1,6 +1,10 @@ +// Code generated by smithy-go/middleware/generate.go DO NOT EDIT. package middleware -import "context" +import ( + "context" + "fmt" +) // SerializeInput provides the input parameters for the SerializeMiddleware to // consume. SerializeMiddleware may modify the Request value before forwarding @@ -41,8 +45,8 @@ type SerializeMiddleware interface { ) } -// SerializeMiddlewareFunc returns a SerializeMiddleware with the unique ID -// provided, and the func to be invoked. +// SerializeMiddlewareFunc returns a SerializeMiddleware with the unique ID provided, +// and the func to be invoked. func SerializeMiddlewareFunc(id string, fn func(context.Context, SerializeInput, SerializeHandler) (SerializeOutput, Metadata, error)) SerializeMiddleware { return serializeMiddlewareFunc{ id: id, @@ -75,17 +79,15 @@ var _ SerializeMiddleware = (serializeMiddlewareFunc{}) // SerializeStep provides the ordered grouping of SerializeMiddleware to be // invoked on a handler. type SerializeStep struct { + head *decoratedSerializeHandler + tail *decoratedSerializeHandler newRequest func() interface{} - ids *orderedIDs } -// NewSerializeStep returns a SerializeStep ready to have middleware for -// initialization added to it. The newRequest func parameter is used to -// initialize the transport specific request for the stack SerializeStep to -// serialize the input parameters into. +// NewSerializeStep returns an SerializeStep ready to have middleware for +// serialize added to it. func NewSerializeStep(newRequest func() interface{}) *SerializeStep { return &SerializeStep{ - ids: newOrderedIDs(), newRequest: newRequest, } } @@ -104,78 +106,162 @@ func (s *SerializeStep) ID() string { func (s *SerializeStep) HandleMiddleware(ctx context.Context, in interface{}, next Handler) ( out interface{}, metadata Metadata, err error, ) { - order := s.ids.GetOrder() - - var h SerializeHandler = serializeWrapHandler{Next: next} - for i := len(order) - 1; i >= 0; i-- { - h = decoratedSerializeHandler{ - Next: h, - With: order[i].(SerializeMiddleware), - } - } - sIn := SerializeInput{ Parameters: in, Request: s.newRequest(), } - res, metadata, err := h.HandleSerialize(ctx, sIn) + wh := &serializeWrapHandler{next} + if s.head == nil { + res, metadata, err := wh.HandleSerialize(ctx, sIn) + return res.Result, metadata, err + } + + s.tail.Next = wh + res, metadata, err := s.head.HandleSerialize(ctx, sIn) return res.Result, metadata, err } // Get retrieves the middleware identified by id. If the middleware is not present, returns false. func (s *SerializeStep) Get(id string) (SerializeMiddleware, bool) { - get, ok := s.ids.Get(id) - if !ok { + found, _ := s.get(id) + if found == nil { return nil, false } - return get.(SerializeMiddleware), ok + + return found.With, true } // Add injects the middleware to the relative position of the middleware group. -// Returns an error if the middleware already exists. +// +// Add never returns an error. It used to for duplicate phases but this +// behavior has since been removed as part of a performance optimization. The +// return value from Add can be ignored. func (s *SerializeStep) Add(m SerializeMiddleware, pos RelativePosition) error { - return s.ids.Add(m, pos) + if s.head == nil { + s.head = &decoratedSerializeHandler{nil, m} + s.tail = s.head + return nil + } + + if pos == Before { + s.head = &decoratedSerializeHandler{s.head, m} + } else { + tail := &decoratedSerializeHandler{nil, m} + s.tail.Next = tail + s.tail = tail + } + + return nil } // Insert injects the middleware relative to an existing middleware ID. // Returns error if the original middleware does not exist, or the middleware // being added already exists. func (s *SerializeStep) Insert(m SerializeMiddleware, relativeTo string, pos RelativePosition) error { - return s.ids.Insert(m, relativeTo, pos) + found, prev := s.get(relativeTo) + if found == nil { + return fmt.Errorf("not found: %s", m.ID()) + } + + if pos == Before { + if prev == nil { // at the front + s.head = &decoratedSerializeHandler{s.head, m} + } else { // somewhere in the middle + prev.Next = &decoratedSerializeHandler{found, m} + } + } else { + if found.Next == nil { // at the end + tail := &decoratedSerializeHandler{nil, m} + s.tail.Next = tail + s.tail = tail + } else { // somewhere in the middle + found.Next = &decoratedSerializeHandler{found.Next, m} + } + } + + return nil } // Swap removes the middleware by id, replacing it with the new middleware. // Returns the middleware removed, or error if the middleware to be removed // doesn't exist. func (s *SerializeStep) Swap(id string, m SerializeMiddleware) (SerializeMiddleware, error) { - removed, err := s.ids.Swap(id, m) - if err != nil { - return nil, err + found, _ := s.get(id) + if found == nil { + return nil, fmt.Errorf("not found: %s", m.ID()) } - return removed.(SerializeMiddleware), nil + swapped := found.With + found.With = m + return swapped, nil } // Remove removes the middleware by id. Returns error if the middleware // doesn't exist. func (s *SerializeStep) Remove(id string) (SerializeMiddleware, error) { - removed, err := s.ids.Remove(id) - if err != nil { - return nil, err + found, prev := s.get(id) + if found == nil { + return nil, fmt.Errorf("not found: %s", id) + } + + if s.head == s.tail { // it's the only one + s.head = nil + s.tail = nil + } else if found == s.head { // at the front + s.head = s.head.Next.(*decoratedSerializeHandler) + } else if found == s.tail { // at the end + prev.Next = nil + s.tail = prev + } else { + prev.Next = found.Next // somewhere in the middle } - return removed.(SerializeMiddleware), nil + return found.With, nil } // List returns a list of the middleware in the step. func (s *SerializeStep) List() []string { - return s.ids.List() + var ids []string + for h := s.head; h != nil; { + ids = append(ids, h.With.ID()) + if h.Next == nil { + break + } + + // once executed, tail.Next of the list will be set to an + // *serializeWrapHandler, make sure to check for that + if hnext, ok := h.Next.(*decoratedSerializeHandler); ok { + h = hnext + } else { + break + } + } + return ids } // Clear removes all middleware in the step. func (s *SerializeStep) Clear() { - s.ids.Clear() + s.head = nil + s.tail = nil +} + +func (s *SerializeStep) get(id string) (found, prev *decoratedSerializeHandler) { + for h := s.head; h != nil; { + if h.With.ID() == id { + found = h + return + } + prev = h + if h.Next == nil { + return + } + + // once executed, tail.Next of the list will be set to an + // *serializeWrapHandler + h, _ = h.Next.(*decoratedSerializeHandler) + } + return } type serializeWrapHandler struct { @@ -184,7 +270,7 @@ type serializeWrapHandler struct { var _ SerializeHandler = (*serializeWrapHandler)(nil) -// Implements SerializeHandler, converts types and delegates to underlying +// HandleSerialize implements SerializeHandler, converts types and delegates to underlying // generic handler. func (w serializeWrapHandler) HandleSerialize(ctx context.Context, in SerializeInput) ( out SerializeOutput, metadata Metadata, err error, @@ -208,12 +294,12 @@ func (h decoratedSerializeHandler) HandleSerialize(ctx context.Context, in Seria return h.With.HandleSerialize(ctx, in, h.Next) } -// SerializeHandlerFunc provides a wrapper around a function to be used as a serialize middleware handler. +// SerializeHandlerFunc provides a wrapper around a function to be used as serializeMiddleware. type SerializeHandlerFunc func(context.Context, SerializeInput) (SerializeOutput, Metadata, error) // HandleSerialize calls the wrapped function with the provided arguments. -func (s SerializeHandlerFunc) HandleSerialize(ctx context.Context, in SerializeInput) (SerializeOutput, Metadata, error) { - return s(ctx, in) +func (f SerializeHandlerFunc) HandleSerialize(ctx context.Context, in SerializeInput) (SerializeOutput, Metadata, error) { + return f(ctx, in) } var _ SerializeHandler = SerializeHandlerFunc(nil) diff --git a/vendor/github.com/aws/smithy-go/transport/http/metrics.go b/vendor/github.com/aws/smithy-go/transport/http/metrics.go index d1beaa595d..b4cd4a47e3 100644 --- a/vendor/github.com/aws/smithy-go/transport/http/metrics.go +++ b/vendor/github.com/aws/smithy-go/transport/http/metrics.go @@ -17,6 +17,12 @@ var now = time.Now func withMetrics(parent context.Context, client ClientDo, meter metrics.Meter) ( context.Context, ClientDo, error, ) { + // WithClientTrace is an expensive operation - avoid calling it if we're + // not actually using a metrics sink. + if _, ok := meter.(metrics.NopMeter); ok { + return parent, client, nil + } + hm, err := newHTTPMetrics(meter) if err != nil { return nil, nil, err diff --git a/vendor/github.com/gabriel-vasile/mimetype/.git-blame-ignore-revs b/vendor/github.com/gabriel-vasile/mimetype/.git-blame-ignore-revs new file mode 100644 index 0000000000..3892826a74 --- /dev/null +++ b/vendor/github.com/gabriel-vasile/mimetype/.git-blame-ignore-revs @@ -0,0 +1,9 @@ +# Github is obeying this ignore file by default. +# Run this command on local to ignore formatting commits in `git blame` +# git config blame.ignoreRevsFile .git-blame-ignore-revs + +# Added a new column to supported_mimes.md +# The supported_mimes.md file was a nice way to find when a file format was +# introduced. However, when I changed to add a new column in the table, the +# whole git blame got poisoned for the file. +eb497f9bc5d31c6eab2929a112051218670137ba diff --git a/vendor/github.com/gabriel-vasile/mimetype/README.md b/vendor/github.com/gabriel-vasile/mimetype/README.md index f28f56c9bf..ea5c89a945 100644 --- a/vendor/github.com/gabriel-vasile/mimetype/README.md +++ b/vendor/github.com/gabriel-vasile/mimetype/README.md @@ -97,7 +97,9 @@ or from a [file](https://pkg.go.dev/github.com/gabriel-vasile/mimetype#DetectFil ## Contributing -Contributions are unexpected but welcome. When submitting a PR for detection of -a new file format, please make sure to add a record to the list of testcases -from [mimetype_test.go](mimetype_test.go). For complex files a record can be added -in the [testdata](testdata) directory. +Contributions are never expected but very much welcome. +[mimetype_tests](https://github.com/gabriel-vasile/mimetype_tests/actions/workflows/test.yml) +shows which file formats are most often misidentified and can help prioritise. +When submitting a PR for detection of a new file format, please make sure to +add a record to the list of testcases in [mimetype_test.go](mimetype_test.go). +For complex files a record can be added in the [testdata](testdata) directory. diff --git a/vendor/github.com/gabriel-vasile/mimetype/internal/charset/charset.go b/vendor/github.com/gabriel-vasile/mimetype/internal/charset/charset.go index 8c5a05e4d5..3373274ad9 100644 --- a/vendor/github.com/gabriel-vasile/mimetype/internal/charset/charset.go +++ b/vendor/github.com/gabriel-vasile/mimetype/internal/charset/charset.go @@ -2,6 +2,7 @@ package charset import ( "bytes" + "strings" "unicode/utf8" "github.com/gabriel-vasile/mimetype/internal/markup" @@ -141,27 +142,25 @@ func FromXML(content []byte) string { return FromPlain(content) } func fromXML(s scan.Bytes) string { - xml := []byte(" 1 && ((raw[0] == 0xFF && raw[1] == 0xF1) || (raw[0] == 0xFF && raw[1] == 0xF9)) +} // Mp3 matches an mp3 file. func Mp3(raw []byte, limit uint32) bool { diff --git a/vendor/github.com/gabriel-vasile/mimetype/internal/magic/binary.go b/vendor/github.com/gabriel-vasile/mimetype/internal/magic/binary.go index 70599b3420..37ad6a9fb1 100644 --- a/vendor/github.com/gabriel-vasile/mimetype/internal/magic/binary.go +++ b/vendor/github.com/gabriel-vasile/mimetype/internal/magic/binary.go @@ -6,26 +6,52 @@ import ( "encoding/binary" ) -var ( - // Lnk matches Microsoft lnk binary format. - Lnk = prefix([]byte{0x4C, 0x00, 0x00, 0x00, 0x01, 0x14, 0x02, 0x00}) - // Wasm matches a web assembly File Format file. - Wasm = prefix([]byte{0x00, 0x61, 0x73, 0x6D}) - // Exe matches a Windows/DOS executable file. - Exe = prefix([]byte{0x4D, 0x5A}) - // Elf matches an Executable and Linkable Format file. - Elf = prefix([]byte{0x7F, 0x45, 0x4C, 0x46}) - // Nes matches a Nintendo Entertainment system ROM file. - Nes = prefix([]byte{0x4E, 0x45, 0x53, 0x1A}) - // SWF matches an Adobe Flash swf file. - SWF = prefix([]byte("CWS"), []byte("FWS"), []byte("ZWS")) - // Torrent has bencoded text in the beginning. - Torrent = prefix([]byte("d8:announce")) - // PAR1 matches a parquet file. - Par1 = prefix([]byte{0x50, 0x41, 0x52, 0x31}) - // CBOR matches a Concise Binary Object Representation https://cbor.io/ - CBOR = prefix([]byte{0xD9, 0xD9, 0xF7}) -) +// Lnk matches Microsoft lnk binary format. +func Lnk(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte{0x4C, 0x00, 0x00, 0x00, 0x01, 0x14, 0x02, 0x00}) +} + +// Wasm matches a web assembly File Format file. +func Wasm(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte{0x00, 0x61, 0x73, 0x6D}) +} + +// Exe matches a Windows/DOS executable file. +func Exe(raw []byte, _ uint32) bool { + return len(raw) > 1 && raw[0] == 0x4D && raw[1] == 0x5A +} + +// Elf matches an Executable and Linkable Format file. +func Elf(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte{0x7F, 0x45, 0x4C, 0x46}) +} + +// Nes matches a Nintendo Entertainment system ROM file. +func Nes(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte{0x4E, 0x45, 0x53, 0x1A}) +} + +// SWF matches an Adobe Flash swf file. +func SWF(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte("CWS")) || + bytes.HasPrefix(raw, []byte("FWS")) || + bytes.HasPrefix(raw, []byte("ZWS")) +} + +// Torrent has bencoded text in the beginning. +func Torrent(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte("d8:announce")) +} + +// PAR1 matches a parquet file. +func Par1(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte{0x50, 0x41, 0x52, 0x31}) +} + +// CBOR matches a Concise Binary Object Representation https://cbor.io/ +func CBOR(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte{0xD9, 0xD9, 0xF7}) +} // Java bytecode and Mach-O binaries share the same magic number. // More info here https://github.com/threatstack/libmagic/blob/master/magic/Magdir/cafebabe @@ -168,8 +194,10 @@ func Marc(raw []byte, limit uint32) bool { // // [glTF specification]: https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html // [IANA glTF entry]: https://www.iana.org/assignments/media-types/model/gltf-binary -var GLB = prefix([]byte("\x67\x6C\x54\x46\x02\x00\x00\x00"), - []byte("\x67\x6C\x54\x46\x01\x00\x00\x00")) +func GLB(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte("\x67\x6C\x54\x46\x02\x00\x00\x00")) || + bytes.HasPrefix(raw, []byte("\x67\x6C\x54\x46\x01\x00\x00\x00")) +} // TzIf matches a Time Zone Information Format (TZif) file. // See more: https://tools.ietf.org/id/draft-murchison-tzdist-tzif-00.html#rfc.section.3 diff --git a/vendor/github.com/gabriel-vasile/mimetype/internal/magic/database.go b/vendor/github.com/gabriel-vasile/mimetype/internal/magic/database.go index cb1fed12f7..35c3f911ea 100644 --- a/vendor/github.com/gabriel-vasile/mimetype/internal/magic/database.go +++ b/vendor/github.com/gabriel-vasile/mimetype/internal/magic/database.go @@ -1,13 +1,21 @@ package magic -var ( - // Sqlite matches an SQLite database file. - Sqlite = prefix([]byte{ +import "bytes" + +// Sqlite matches an SQLite database file. +func Sqlite(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte{ 0x53, 0x51, 0x4c, 0x69, 0x74, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x20, 0x33, 0x00, }) - // MsAccessAce matches Microsoft Access dababase file. - MsAccessAce = offset([]byte("Standard ACE DB"), 4) - // MsAccessMdb matches legacy Microsoft Access database file (JET, 2003 and earlier). - MsAccessMdb = offset([]byte("Standard Jet DB"), 4) -) +} + +// MsAccessAce matches Microsoft Access dababase file. +func MsAccessAce(raw []byte, _ uint32) bool { + return offset(raw, []byte("Standard ACE DB"), 4) +} + +// MsAccessMdb matches legacy Microsoft Access database file (JET, 2003 and earlier). +func MsAccessMdb(raw []byte, _ uint32) bool { + return offset(raw, []byte("Standard Jet DB"), 4) +} diff --git a/vendor/github.com/gabriel-vasile/mimetype/internal/magic/document.go b/vendor/github.com/gabriel-vasile/mimetype/internal/magic/document.go index 7f9308db3b..7208039580 100644 --- a/vendor/github.com/gabriel-vasile/mimetype/internal/magic/document.go +++ b/vendor/github.com/gabriel-vasile/mimetype/internal/magic/document.go @@ -5,14 +5,31 @@ import ( "encoding/binary" ) -var ( - // Fdf matches a Forms Data Format file. - Fdf = prefix([]byte("%FDF")) - // Mobi matches a Mobi file. - Mobi = offset([]byte("BOOKMOBI"), 60) - // Lit matches a Microsoft Lit file. - Lit = prefix([]byte("ITOLITLS")) -) +// Pdf matches a Portable Document Format file. +// https://github.com/file/file/blob/11010cc805546a3e35597e67e1129a481aed40e8/magic/Magdir/pdf +func Pdf(raw []byte, _ uint32) bool { + // usual pdf signature + return bytes.HasPrefix(raw, []byte("%PDF-")) || + // new-line prefixed signature + bytes.HasPrefix(raw, []byte("\012%PDF-")) || + // UTF-8 BOM prefixed signature + bytes.HasPrefix(raw, []byte("\xef\xbb\xbf%PDF-")) +} + +// Fdf matches a Forms Data Format file. +func Fdf(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte("%FDF")) +} + +// Mobi matches a Mobi file. +func Mobi(raw []byte, _ uint32) bool { + return offset(raw, []byte("BOOKMOBI"), 60) +} + +// Lit matches a Microsoft Lit file. +func Lit(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte("ITOLITLS")) +} // PDF matches a Portable Document Format file. // The %PDF- header should be the first thing inside the file but many diff --git a/vendor/github.com/gabriel-vasile/mimetype/internal/magic/font.go b/vendor/github.com/gabriel-vasile/mimetype/internal/magic/font.go index 43af28212e..857cfcc552 100644 --- a/vendor/github.com/gabriel-vasile/mimetype/internal/magic/font.go +++ b/vendor/github.com/gabriel-vasile/mimetype/internal/magic/font.go @@ -4,14 +4,20 @@ import ( "bytes" ) -var ( - // Woff matches a Web Open Font Format file. - Woff = prefix([]byte("wOFF")) - // Woff2 matches a Web Open Font Format version 2 file. - Woff2 = prefix([]byte("wOF2")) - // Otf matches an OpenType font file. - Otf = prefix([]byte{0x4F, 0x54, 0x54, 0x4F, 0x00}) -) +// Woff matches a Web Open Font Format file. +func Woff(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte("wOFF")) +} + +// Woff2 matches a Web Open Font Format version 2 file. +func Woff2(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte("wOF2")) +} + +// Otf matches an OpenType font file. +func Otf(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte{0x4F, 0x54, 0x54, 0x4F, 0x00}) +} // Ttf matches a TrueType font file. func Ttf(raw []byte, limit uint32) bool { diff --git a/vendor/github.com/gabriel-vasile/mimetype/internal/magic/ftyp.go b/vendor/github.com/gabriel-vasile/mimetype/internal/magic/ftyp.go index ac727139ef..fc642ef433 100644 --- a/vendor/github.com/gabriel-vasile/mimetype/internal/magic/ftyp.go +++ b/vendor/github.com/gabriel-vasile/mimetype/internal/magic/ftyp.go @@ -4,24 +4,33 @@ import ( "bytes" ) -var ( - // AVIF matches an AV1 Image File Format still or animated. - // Wikipedia page seems outdated listing image/avif-sequence for animations. - // https://github.com/AOMediaCodec/av1-avif/issues/59 - AVIF = ftyp([]byte("avif"), []byte("avis")) - // ThreeGP matches a 3GPP file. - ThreeGP = ftyp( +// AVIF matches an AV1 Image File Format still or animated. +// Wikipedia page seems outdated listing image/avif-sequence for animations. +// https://github.com/AOMediaCodec/av1-avif/issues/59 +func AVIF(raw []byte, _ uint32) bool { + return ftyp(raw, []byte("avif"), []byte("avis")) +} + +// ThreeGP matches a 3GPP file. +func ThreeGP(raw []byte, _ uint32) bool { + return ftyp(raw, []byte("3gp1"), []byte("3gp2"), []byte("3gp3"), []byte("3gp4"), []byte("3gp5"), []byte("3gp6"), []byte("3gp7"), []byte("3gs7"), []byte("3ge6"), []byte("3ge7"), []byte("3gg6"), ) - // ThreeG2 matches a 3GPP2 file. - ThreeG2 = ftyp( +} + +// ThreeG2 matches a 3GPP2 file. +func ThreeG2(raw []byte, _ uint32) bool { + return ftyp(raw, []byte("3g24"), []byte("3g25"), []byte("3g26"), []byte("3g2a"), []byte("3g2b"), []byte("3g2c"), []byte("KDDI"), ) - // AMp4 matches an audio MP4 file. - AMp4 = ftyp( +} + +// AMp4 matches an audio MP4 file. +func AMp4(raw []byte, _ uint32) bool { + return ftyp(raw, // audio for Adobe Flash Player 9+ []byte("F4A "), []byte("F4B "), // Apple iTunes AAC-LC (.M4A) Audio @@ -31,33 +40,61 @@ var ( // Nero Digital AAC Audio []byte("NDAS"), ) - // Mqv matches a Sony / Mobile QuickTime file. - Mqv = ftyp([]byte("mqt ")) - // M4a matches an audio M4A file. - M4a = ftyp([]byte("M4A ")) - // M4v matches an Appl4 M4V video file. - M4v = ftyp([]byte("M4V "), []byte("M4VH"), []byte("M4VP")) - // Heic matches a High Efficiency Image Coding (HEIC) file. - Heic = ftyp([]byte("heic"), []byte("heix")) - // HeicSequence matches a High Efficiency Image Coding (HEIC) file sequence. - HeicSequence = ftyp([]byte("hevc"), []byte("hevx")) - // Heif matches a High Efficiency Image File Format (HEIF) file. - Heif = ftyp([]byte("mif1"), []byte("heim"), []byte("heis"), []byte("avic")) - // HeifSequence matches a High Efficiency Image File Format (HEIF) file sequence. - HeifSequence = ftyp([]byte("msf1"), []byte("hevm"), []byte("hevs"), []byte("avcs")) - // Mj2 matches a Motion JPEG 2000 file: https://en.wikipedia.org/wiki/Motion_JPEG_2000. - Mj2 = ftyp([]byte("mj2s"), []byte("mjp2"), []byte("MFSM"), []byte("MGSV")) - // Dvb matches a Digital Video Broadcasting file: https://dvb.org. - // https://cconcolato.github.io/mp4ra/filetype.html - // https://github.com/file/file/blob/512840337ead1076519332d24fefcaa8fac36e06/magic/Magdir/animation#L135-L154 - Dvb = ftyp( +} + +// Mqv matches a Sony / Mobile QuickTime file. +func Mqv(raw []byte, _ uint32) bool { + return ftyp(raw, []byte("mqt ")) +} + +// M4a matches an audio M4A file. +func M4a(raw []byte, _ uint32) bool { + return ftyp(raw, []byte("M4A ")) +} + +// M4v matches an Appl4 M4V video file. +func M4v(raw []byte, _ uint32) bool { + return ftyp(raw, []byte("M4V "), []byte("M4VH"), []byte("M4VP")) +} + +// Heic matches a High Efficiency Image Coding (HEIC) file. +func Heic(raw []byte, _ uint32) bool { + return ftyp(raw, []byte("heic"), []byte("heix")) +} + +// HeicSequence matches a High Efficiency Image Coding (HEIC) file sequence. +func HeicSequence(raw []byte, _ uint32) bool { + return ftyp(raw, []byte("hevc"), []byte("hevx")) +} + +// Heif matches a High Efficiency Image File Format (HEIF) file. +func Heif(raw []byte, _ uint32) bool { + return ftyp(raw, []byte("mif1"), []byte("heim"), []byte("heis"), []byte("avic")) +} + +// HeifSequence matches a High Efficiency Image File Format (HEIF) file sequence. +func HeifSequence(raw []byte, _ uint32) bool { + return ftyp(raw, []byte("msf1"), []byte("hevm"), []byte("hevs"), []byte("avcs")) +} + +// Mj2 matches a Motion JPEG 2000 file: https://en.wikipedia.org/wiki/Motion_JPEG_2000. +func Mj2(raw []byte, _ uint32) bool { + return ftyp(raw, []byte("mj2s"), []byte("mjp2"), []byte("MFSM"), []byte("MGSV")) +} + +// Dvb matches a Digital Video Broadcasting file: https://dvb.org. +// https://cconcolato.github.io/mp4ra/filetype.html +// https://github.com/file/file/blob/512840337ead1076519332d24fefcaa8fac36e06/magic/Magdir/animation#L135-L154 +func Dvb(raw []byte, _ uint32) bool { + return ftyp(raw, []byte("dby1"), []byte("dsms"), []byte("dts1"), []byte("dts2"), []byte("dts3"), []byte("dxo "), []byte("dmb1"), []byte("dmpf"), []byte("drc1"), []byte("dv1a"), []byte("dv1b"), []byte("dv2a"), []byte("dv2b"), []byte("dv3a"), []byte("dv3b"), []byte("dvr1"), []byte("dvt1"), []byte("emsg")) - // TODO: add support for remaining video formats at ftyps.com. -) +} + +// TODO: add support for remaining video formats at ftyps.com. // QuickTime matches a QuickTime File Format file. // https://www.loc.gov/preservation/digital/formats/fdd/fdd000052.shtml diff --git a/vendor/github.com/gabriel-vasile/mimetype/internal/magic/image.go b/vendor/github.com/gabriel-vasile/mimetype/internal/magic/image.go index 0eb7e95f37..788f5478b4 100644 --- a/vendor/github.com/gabriel-vasile/mimetype/internal/magic/image.go +++ b/vendor/github.com/gabriel-vasile/mimetype/internal/magic/image.go @@ -2,66 +2,127 @@ package magic import "bytes" -var ( - // Png matches a Portable Network Graphics file. - // https://www.w3.org/TR/PNG/ - Png = prefix([]byte{0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A}) - // Apng matches an Animated Portable Network Graphics file. - // https://wiki.mozilla.org/APNG_Specification - Apng = offset([]byte("acTL"), 37) - // Jpg matches a Joint Photographic Experts Group file. - Jpg = prefix([]byte{0xFF, 0xD8, 0xFF}) - // Jp2 matches a JPEG 2000 Image file (ISO 15444-1). - Jp2 = jpeg2k([]byte{0x6a, 0x70, 0x32, 0x20}) - // Jpx matches a JPEG 2000 Image file (ISO 15444-2). - Jpx = jpeg2k([]byte{0x6a, 0x70, 0x78, 0x20}) - // Jpm matches a JPEG 2000 Image file (ISO 15444-6). - Jpm = jpeg2k([]byte{0x6a, 0x70, 0x6D, 0x20}) - // Gif matches a Graphics Interchange Format file. - Gif = prefix([]byte("GIF87a"), []byte("GIF89a")) - // Bmp matches a bitmap image file. - Bmp = prefix([]byte{0x42, 0x4D}) - // Ps matches a PostScript file. - Ps = prefix([]byte("%!PS-Adobe-")) - // Psd matches a Photoshop Document file. - Psd = prefix([]byte("8BPS")) - // Ico matches an ICO file. - Ico = prefix([]byte{0x00, 0x00, 0x01, 0x00}, []byte{0x00, 0x00, 0x02, 0x00}) - // Icns matches an ICNS (Apple Icon Image format) file. - Icns = prefix([]byte("icns")) - // Tiff matches a Tagged Image File Format file. - Tiff = prefix([]byte{0x49, 0x49, 0x2A, 0x00}, []byte{0x4D, 0x4D, 0x00, 0x2A}) - // Bpg matches a Better Portable Graphics file. - Bpg = prefix([]byte{0x42, 0x50, 0x47, 0xFB}) - // Xcf matches GIMP image data. - Xcf = prefix([]byte("gimp xcf")) - // Pat matches GIMP pattern data. - Pat = offset([]byte("GPAT"), 20) - // Gbr matches GIMP brush data. - Gbr = offset([]byte("GIMP"), 20) - // Hdr matches Radiance HDR image. - // https://web.archive.org/web/20060913152809/http://local.wasp.uwa.edu.au/~pbourke/dataformats/pic/ - Hdr = prefix([]byte("#?RADIANCE\n")) - // Xpm matches X PixMap image data. - Xpm = prefix([]byte{0x2F, 0x2A, 0x20, 0x58, 0x50, 0x4D, 0x20, 0x2A, 0x2F}) - // Jxs matches a JPEG XS coded image file (ISO/IEC 21122-3). - Jxs = prefix([]byte{0x00, 0x00, 0x00, 0x0C, 0x4A, 0x58, 0x53, 0x20, 0x0D, 0x0A, 0x87, 0x0A}) - // Jxr matches Microsoft HD JXR photo file. - Jxr = prefix([]byte{0x49, 0x49, 0xBC, 0x01}) -) - -func jpeg2k(sig []byte) Detector { - return func(raw []byte, _ uint32) bool { - if len(raw) < 24 { - return false - } +// Png matches a Portable Network Graphics file. +// https://www.w3.org/TR/PNG/ +func Png(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte{0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A}) +} - if !bytes.Equal(raw[4:8], []byte{0x6A, 0x50, 0x20, 0x20}) && - !bytes.Equal(raw[4:8], []byte{0x6A, 0x50, 0x32, 0x20}) { - return false - } - return bytes.Equal(raw[20:24], sig) +// Apng matches an Animated Portable Network Graphics file. +// https://wiki.mozilla.org/APNG_Specification +func Apng(raw []byte, _ uint32) bool { + return offset(raw, []byte("acTL"), 37) +} + +// Jpg matches a Joint Photographic Experts Group file. +func Jpg(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte{0xFF, 0xD8, 0xFF}) +} + +// Jp2 matches a JPEG 2000 Image file (ISO 15444-1). +func Jp2(raw []byte, _ uint32) bool { + return jpeg2k(raw, []byte{0x6a, 0x70, 0x32, 0x20}) +} + +// Jpx matches a JPEG 2000 Image file (ISO 15444-2). +func Jpx(raw []byte, _ uint32) bool { + return jpeg2k(raw, []byte{0x6a, 0x70, 0x78, 0x20}) +} + +// Jpm matches a JPEG 2000 Image file (ISO 15444-6). +func Jpm(raw []byte, _ uint32) bool { + return jpeg2k(raw, []byte{0x6a, 0x70, 0x6D, 0x20}) +} + +// Gif matches a Graphics Interchange Format file. +func Gif(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte("GIF87a")) || + bytes.HasPrefix(raw, []byte("GIF89a")) +} + +// Bmp matches a bitmap image file. +func Bmp(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte{0x42, 0x4D}) +} + +// Ps matches a PostScript file. +func Ps(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte("%!PS-Adobe-")) +} + +// Psd matches a Photoshop Document file. +func Psd(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte("8BPS")) +} + +// Ico matches an ICO file. +func Ico(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte{0x00, 0x00, 0x01, 0x00}) || + bytes.HasPrefix(raw, []byte{0x00, 0x00, 0x02, 0x00}) +} + +// Icns matches an ICNS (Apple Icon Image format) file. +func Icns(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte("icns")) +} + +// Tiff matches a Tagged Image File Format file. +func Tiff(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte{0x49, 0x49, 0x2A, 0x00}) || + bytes.HasPrefix(raw, []byte{0x4D, 0x4D, 0x00, 0x2A}) +} + +// Bpg matches a Better Portable Graphics file. +func Bpg(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte{0x42, 0x50, 0x47, 0xFB}) +} + +// Xcf matches GIMP image data. +func Xcf(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte("gimp xcf")) +} + +// Pat matches GIMP pattern data. +func Pat(raw []byte, _ uint32) bool { + return offset(raw, []byte("GPAT"), 20) +} + +// Gbr matches GIMP brush data. +func Gbr(raw []byte, _ uint32) bool { + return offset(raw, []byte("GIMP"), 20) +} + +// Hdr matches Radiance HDR image. +// https://web.archive.org/web/20060913152809/http://local.wasp.uwa.edu.au/~pbourke/dataformats/pic/ +func Hdr(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte("#?RADIANCE\n")) +} + +// Xpm matches X PixMap image data. +func Xpm(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte{0x2F, 0x2A, 0x20, 0x58, 0x50, 0x4D, 0x20, 0x2A, 0x2F}) +} + +// Jxs matches a JPEG XS coded image file (ISO/IEC 21122-3). +func Jxs(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte{0x00, 0x00, 0x00, 0x0C, 0x4A, 0x58, 0x53, 0x20, 0x0D, 0x0A, 0x87, 0x0A}) +} + +// Jxr matches Microsoft HD JXR photo file. +func Jxr(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte{0x49, 0x49, 0xBC, 0x01}) +} + +func jpeg2k(raw []byte, sig []byte) bool { + if len(raw) < 24 { + return false + } + + if !bytes.Equal(raw[4:8], []byte{0x6A, 0x50, 0x20, 0x20}) && + !bytes.Equal(raw[4:8], []byte{0x6A, 0x50, 0x32, 0x20}) { + return false } + return bytes.Equal(raw[20:24], sig) } // Webp matches a WebP file. @@ -108,3 +169,20 @@ func Jxl(raw []byte, _ uint32) bool { return bytes.HasPrefix(raw, []byte{0xFF, 0x0A}) || bytes.HasPrefix(raw, []byte("\x00\x00\x00\x0cJXL\x20\x0d\x0a\x87\x0a")) } + +// DXF matches Drawing Exchange Format AutoCAD file. +// There does not seem to be a clear specification and the files in the wild +// differ wildly. +// https://images.autodesk.com/adsk/files/autocad_2012_pdf_dxf-reference_enu.pdf +// +// I collected these signatures by downloading a few dozen files from +// http://cd.textfiles.com/amigaenv/DXF/OBJEKTE/ and +// https://sembiance.com/fileFormatSamples/poly/dxf/ and then +// xxd -l 16 {} | sort | uniq. +// These signatures are only for the ASCII version of DXF. There is a binary version too. +func DXF(raw []byte, _ uint32) bool { + return bytes.HasPrefix(raw, []byte(" 0\x0ASECTION\x0A")) || + bytes.HasPrefix(raw, []byte(" 0\x0D\x0ASECTION\x0D\x0A")) || + bytes.HasPrefix(raw, []byte("0\x0ASECTION\x0A")) || + bytes.HasPrefix(raw, []byte("0\x0D\x0ASECTION\x0D\x0A")) +} diff --git a/vendor/github.com/gabriel-vasile/mimetype/internal/magic/magic.go b/vendor/github.com/gabriel-vasile/mimetype/internal/magic/magic.go index 5fe435b99f..6103c12d36 100644 --- a/vendor/github.com/gabriel-vasile/mimetype/internal/magic/magic.go +++ b/vendor/github.com/gabriel-vasile/mimetype/internal/magic/magic.go @@ -3,7 +3,6 @@ package magic import ( "bytes" - "fmt" "github.com/gabriel-vasile/mimetype/internal/scan" ) @@ -22,37 +21,20 @@ type ( } ) -// prefix creates a Detector which returns true if any of the provided signatures -// is the prefix of the raw input. -func prefix(sigs ...[]byte) Detector { - return func(raw []byte, limit uint32) bool { - for _, s := range sigs { - if bytes.HasPrefix(raw, s) { - return true - } - } - return false - } -} - -// offset creates a Detector which returns true if the provided signature can be +// offset returns true if the provided signature can be // found at offset in the raw input. -func offset(sig []byte, offset int) Detector { - return func(raw []byte, limit uint32) bool { - return len(raw) > offset && bytes.HasPrefix(raw[offset:], sig) - } +func offset(raw []byte, sig []byte, offset int) bool { + return len(raw) > offset && bytes.HasPrefix(raw[offset:], sig) } // ciPrefix is like prefix but the check is case insensitive. -func ciPrefix(sigs ...[]byte) Detector { - return func(raw []byte, limit uint32) bool { - for _, s := range sigs { - if ciCheck(s, raw) { - return true - } +func ciPrefix(raw []byte, sigs ...[]byte) bool { + for _, s := range sigs { + if ciCheck(s, raw) { + return true } - return false } + return false } func ciCheck(sig, raw []byte) bool { if len(raw) < len(sig)+1 { @@ -72,22 +54,18 @@ func ciCheck(sig, raw []byte) bool { return true } -// xml creates a Detector which returns true if any of the provided XML signatures -// matches the raw input. -func xml(sigs ...xmlSig) Detector { - return func(raw []byte, limit uint32) bool { - b := scan.Bytes(raw) - b.TrimLWS() - if len(b) == 0 { - return false - } - for _, s := range sigs { - if xmlCheck(s, b) { - return true - } - } +// xml returns true if any of the provided XML signatures matches the raw input. +func xml(b scan.Bytes, sigs ...xmlSig) bool { + b.TrimLWS() + if len(b) == 0 { return false } + for _, s := range sigs { + if xmlCheck(s, b) { + return true + } + } + return false } func xmlCheck(sig xmlSig, raw []byte) bool { raw = raw[:min(len(raw), 512)] @@ -103,28 +81,24 @@ func xmlCheck(sig xmlSig, raw []byte) bool { return localNameIndex != -1 && localNameIndex < bytes.Index(raw, sig.xmlns) } -// markup creates a Detector which returns true is any of the HTML signatures -// matches the raw input. -func markup(sigs ...[]byte) Detector { - return func(raw []byte, limit uint32) bool { - b := scan.Bytes(raw) - if bytes.HasPrefix(b, []byte{0xEF, 0xBB, 0xBF}) { - // We skip the UTF-8 BOM if present to ensure we correctly - // process any leading whitespace. The presence of the BOM - // is taken into account during charset detection in charset.go. - b.Advance(3) - } - b.TrimLWS() - if len(b) == 0 { - return false - } - for _, s := range sigs { - if markupCheck(s, b) { - return true - } - } +// markup returns true is any of the HTML signatures matches the raw input. +func markup(b scan.Bytes, sigs ...[]byte) bool { + if bytes.HasPrefix(b, []byte{0xEF, 0xBB, 0xBF}) { + // We skip the UTF-8 BOM if present to ensure we correctly + // process any leading whitespace. The presence of the BOM + // is taken into account during charset detection in charset.go. + b.Advance(3) + } + b.TrimLWS() + if len(b) == 0 { return false } + for _, s := range sigs { + if markupCheck(s, b) { + return true + } + } + return false } func markupCheck(sig, raw []byte) bool { if len(raw) < len(sig)+1 { @@ -149,29 +123,17 @@ func markupCheck(sig, raw []byte) bool { return true } -// ftyp creates a Detector which returns true if any of the FTYP signatures -// matches the raw input. -func ftyp(sigs ...[]byte) Detector { - return func(raw []byte, limit uint32) bool { - if len(raw) < 12 { - return false - } - for _, s := range sigs { - if bytes.Equal(raw[8:12], s) { - return true - } - } +// ftyp returns true if any of the FTYP signatures matches the raw input. +func ftyp(raw []byte, sigs ...[]byte) bool { + if len(raw) < 12 { return false } -} - -func newXMLSig(localName, xmlns string) xmlSig { - ret := xmlSig{xmlns: []byte(xmlns)} - if localName != "" { - ret.localName = []byte(fmt.Sprintf("<%s", localName)) + for _, s := range sigs { + if bytes.Equal(raw[8:12], s) { + return true + } } - - return ret + return false } // A valid shebang starts with the "#!" characters, @@ -184,29 +146,17 @@ func newXMLSig(localName, xmlns string) xmlSig { // #! /usr/bin/env php // // /usr/bin/env is the interpreter, php is the first and only argument. -func shebang(sigs ...[]byte) Detector { - return func(raw []byte, limit uint32) bool { - b := scan.Bytes(raw) - line := b.Line() - for _, s := range sigs { - if shebangCheck(s, line) { - return true - } - } - return false - } -} - -func shebangCheck(sig []byte, raw scan.Bytes) bool { - if len(raw) < len(sig)+2 { +func shebang(b scan.Bytes, matchFlags scan.Flags, sigs ...[]byte) bool { + line := b.Line() + if len(line) < 2 || line[0] != '#' || line[1] != '!' { return false } - if raw[0] != '#' || raw[1] != '!' { - return false + line = line[2:] + line.TrimLWS() + for _, s := range sigs { + if line.Match(s, matchFlags) != -1 { + return true + } } - - raw.Advance(2) // skip #! we checked above - raw.TrimLWS() - raw.TrimRWS() - return bytes.Equal(raw, sig) + return false } diff --git a/vendor/github.com/gabriel-vasile/mimetype/internal/magic/ms_office.go b/vendor/github.com/gabriel-vasile/mimetype/internal/magic/ms_office.go index c912823e92..bd4a0c3659 100644 --- a/vendor/github.com/gabriel-vasile/mimetype/internal/magic/ms_office.go +++ b/vendor/github.com/gabriel-vasile/mimetype/internal/magic/ms_office.go @@ -44,17 +44,6 @@ func Ole(raw []byte, limit uint32) bool { return bytes.HasPrefix(raw, []byte{0xD0, 0xCF, 0x11, 0xE0, 0xA1, 0xB1, 0x1A, 0xE1}) } -// Aaf matches an Advanced Authoring Format file. -// See: https://pyaaf.readthedocs.io/en/latest/about.html -// See: https://en.wikipedia.org/wiki/Advanced_Authoring_Format -func Aaf(raw []byte, limit uint32) bool { - if len(raw) < 31 { - return false - } - return bytes.HasPrefix(raw[8:], []byte{0x41, 0x41, 0x46, 0x42, 0x0D, 0x00, 0x4F, 0x4D}) && - (raw[30] == 0x09 || raw[30] == 0x0C) -} - // Doc matches a Microsoft Word 97-2003 file. // See: https://github.com/decalage2/oletools/blob/412ee36ae45e70f42123e835871bac956d958461/oletools/common/clsid.py func Doc(raw []byte, _ uint32) bool { @@ -209,3 +198,14 @@ func matchOleClsid(in []byte, clsid []byte) bool { return bytes.HasPrefix(in[clsidOffset:], clsid) } + +// WPD matches a WordPerfect document. +func WPD(raw []byte, _ uint32) bool { + if len(raw) < 10 { + return false + } + if !bytes.HasPrefix(raw, []byte("\xffWPC")) { + return false + } + return raw[8] == 1 && raw[9] == 10 +} diff --git a/vendor/github.com/gabriel-vasile/mimetype/internal/magic/text.go b/vendor/github.com/gabriel-vasile/mimetype/internal/magic/text.go index 1841ee871d..fb84e8543d 100644 --- a/vendor/github.com/gabriel-vasile/mimetype/internal/magic/text.go +++ b/vendor/github.com/gabriel-vasile/mimetype/internal/magic/text.go @@ -10,9 +10,9 @@ import ( "github.com/gabriel-vasile/mimetype/internal/scan" ) -var ( - // HTML matches a Hypertext Markup Language file. - HTML = markup( +// HTML matches a Hypertext Markup Language file. +func HTML(raw []byte, _ uint32) bool { + return markup(raw, []byte("' { - return "", "", false + return nil, nil, false } - // Allocate 10 to avoid resizes. - // Attribute names and values are continuous slices of bytes in input, - // so we could do without allocating and returning slices of input. - nameB := make([]byte, 0, 10) + origS, end := *s, 0 // step 4 and 5 for { // bap means byte at position in the specification. bap := s.Pop() if bap == 0 { - return "", "", false + return nil, nil, false } - if bap == '=' && len(nameB) > 0 { + if bap == '=' && end > 0 { val, hasMore := getAValue(s) - return string(nameB), string(val), hasMore + return origS[:end], val, hasMore } else if scan.ByteIsWS(bap) { for scan.ByteIsWS(s.Peek()) { s.Advance(1) } if s.Peek() != '=' { - return string(nameB), "", true + return origS[:end], nil, true } s.Advance(1) for scan.ByteIsWS(s.Peek()) { s.Advance(1) } val, hasMore := getAValue(s) - return string(nameB), string(val), hasMore + return origS[:end], val, hasMore } else if bap == '/' || bap == '>' { - return string(nameB), "", false - } else if bap >= 'A' && bap <= 'Z' { - nameB = append(nameB, bap+0x20) - } else { - nameB = append(nameB, bap) + return origS[:end], nil, false + } else { // for any ASCII, non-ASCII, just advance + end++ } } } diff --git a/vendor/github.com/gabriel-vasile/mimetype/internal/scan/bytes.go b/vendor/github.com/gabriel-vasile/mimetype/internal/scan/bytes.go index 9f09f0781c..b19a949262 100644 --- a/vendor/github.com/gabriel-vasile/mimetype/internal/scan/bytes.go +++ b/vendor/github.com/gabriel-vasile/mimetype/internal/scan/bytes.go @@ -138,46 +138,85 @@ func (b *Bytes) Uint16() (uint16, bool) { return v, true } +type Flags int + const ( - CompactWS = 1 << iota + // CompactWS will make one whitespace from pattern to match one or more spaces from input. + CompactWS Flags = 1 << iota + // IgnoreCase will match lower case from pattern with lower case from input. + // IgnoreCase will match upper case from pattern with both lower and upper case from input. + // This flag is not really well named, IgnoreCase + // FullWord ensures the input ends with a full word (it's followed by spaces.) + FullWord ) // Search for occurences of pattern p inside b at any index. -func (b Bytes) Search(p []byte, flags int) int { +// It returns the index where p was found in b and how many bytes were needed +// for matching the pattern. +func (b Bytes) Search(p []byte, flags Flags) (i int, l int) { + lb, lp := len(b), len(p) + if lp == 0 { + return 0, 0 + } + if lb == 0 { + return -1, 0 + } if flags == 0 { - return bytes.Index(b, p) + if i = bytes.Index(b, p); i == -1 { + return -1, 0 + } else { + return i, lp + } } - lb, lp := len(b), len(p) for i := range b { if lb-i < lp { - return -1 + return -1, 0 } - if b[i:].Match(p, flags) { - return i + if l = b[i:].Match(p, flags); l != -1 { + return i, l } } - return 0 + return -1, 0 } -// Match pattern p at index 0 of b. -func (b Bytes) Match(p []byte, flags int) bool { +// Match returns how many bytes were needed to match pattern p. +// It returns -1 if p does not match b. +func (b Bytes) Match(p []byte, flags Flags) int { + l := len(b) + if len(p) == 0 { + return 0 + } + if l == 0 { + return -1 + } + // If no flags, or scanning for full word at the end of pattern then + // do a fast HasPrefix check. + // For other flags it's not possible to use HasPrefix. + if flags == 0 || flags&FullWord > 0 { + if bytes.HasPrefix(b, p) { + b = b[len(p):] + p = p[len(p):] + goto out + } + return -1 + } for len(b) > 0 { - // If we finished all we we're looking for from p. + // If we finished all we were looking for from p. if len(p) == 0 { - return true + goto out } if flags&IgnoreCase > 0 && isUpper(p[0]) { if upper(b[0]) != p[0] { - return false + return -1 } b, p = b[1:], p[1:] } else if flags&CompactWS > 0 && ByteIsWS(p[0]) { p = p[1:] if !ByteIsWS(b[0]) { - return false + return -1 } b = b[1:] if !ByteIsWS(p[0]) { @@ -185,12 +224,22 @@ func (b Bytes) Match(p []byte, flags int) bool { } } else { if b[0] != p[0] { - return false + return -1 } b, p = b[1:], p[1:] } } - return true +out: + // If p still has leftover characters, it means it didn't fully match b. + if len(p) > 0 { + return -1 + } + if flags&FullWord > 0 { + if len(b) > 0 && !ByteIsWS(b[0]) { + return -1 + } + } + return l - len(b) } func isUpper(c byte) bool { diff --git a/vendor/github.com/gabriel-vasile/mimetype/mime.go b/vendor/github.com/gabriel-vasile/mimetype/mime.go index b82627a8b8..ec2bc5bf07 100644 --- a/vendor/github.com/gabriel-vasile/mimetype/mime.go +++ b/vendor/github.com/gabriel-vasile/mimetype/mime.go @@ -2,6 +2,7 @@ package mimetype import ( "mime" + "strings" "github.com/gabriel-vasile/mimetype/internal/charset" "github.com/gabriel-vasile/mimetype/internal/magic" @@ -109,7 +110,7 @@ func (m *MIME) match(in []byte, readLimit uint32) *MIME { // Limit the number of bytes searched for to 1024. charset = f(in[:min(len(in), 1024)]) } - if m == root { + if m == root || charset == "" { return m } @@ -126,6 +127,27 @@ func (m *MIME) flatten() []*MIME { return out } +// hierarchy returns an easy to read list of ancestors for m. +// For example, application/json would return json>txt>root. +func (m *MIME) hierarchy() string { + h := "" + for m := m; m != nil; m = m.Parent() { + e := strings.TrimPrefix(m.Extension(), ".") + if e == "" { + // There are some MIME without extensions. When generating the hierarchy, + // it would be confusing to use empty string as extension. + // Use the subtype instead; ex: application/x-executable -> x-executable. + e = strings.Split(m.String(), "/")[1] + if m.Is("application/octet-stream") { + // for octet-stream use root, because it's short and used in many places + e = "root" + } + } + h += ">" + e + } + return strings.TrimPrefix(h, ">") +} + // clone creates a new MIME with the provided optional MIME parameters. func (m *MIME) clone(charset string) *MIME { clonedMIME := m.mime @@ -155,7 +177,10 @@ func (m *MIME) cloneHierarchy(charset string) *MIME { } func (m *MIME) lookup(mime string) *MIME { - for _, n := range append(m.aliases, m.mime) { + if mime == m.mime { + return m + } + for _, n := range m.aliases { if n == mime { return m } diff --git a/vendor/github.com/gabriel-vasile/mimetype/mimetype.go b/vendor/github.com/gabriel-vasile/mimetype/mimetype.go index d8d512b806..792741732b 100644 --- a/vendor/github.com/gabriel-vasile/mimetype/mimetype.go +++ b/vendor/github.com/gabriel-vasile/mimetype/mimetype.go @@ -12,7 +12,7 @@ import ( "sync/atomic" ) -var defaultLimit uint32 = 3072 +const defaultLimit uint32 = 3072 // readLimit is the maximum number of bytes from the input used when detecting. var readLimit uint32 = defaultLimit @@ -112,15 +112,18 @@ func SetLimit(limit uint32) { } // Extend adds detection for other file formats. -// It is equivalent to calling Extend() on the root mime type "application/octet-stream". +// It is equivalent to calling Extend() on the root MIME type "application/octet-stream". func Extend(detector func(raw []byte, limit uint32) bool, mime, extension string, aliases ...string) { root.Extend(detector, mime, extension, aliases...) } // Lookup finds a MIME object by its string representation. -// The representation can be the main mime type, or any of its aliases. -func Lookup(mime string) *MIME { +// The representation can be the main MIME type, or any of its aliases. +func Lookup(m string) *MIME { + // We store the MIME types without optional params, so + // perform parsing to extract the target MIME type without optional params. + m, _, _ = mime.ParseMediaType(m) mu.RLock() defer mu.RUnlock() - return root.lookup(mime) + return root.lookup(m) } diff --git a/vendor/github.com/gabriel-vasile/mimetype/supported_mimes.md b/vendor/github.com/gabriel-vasile/mimetype/supported_mimes.md index 3186a8bf0b..241a81f4af 100644 --- a/vendor/github.com/gabriel-vasile/mimetype/supported_mimes.md +++ b/vendor/github.com/gabriel-vasile/mimetype/supported_mimes.md @@ -1,196 +1,197 @@ -## 191 Supported MIME types +## 192 Supported MIME types This file is automatically generated when running tests. Do not edit manually. -Extension | MIME type | Aliases ---------- | --------- | ------- -**n/a** | application/octet-stream | - -**.xpm** | image/x-xpixmap | - -**.7z** | application/x-7z-compressed | - -**.zip** | application/zip | application/x-zip, application/x-zip-compressed -**.docx** | application/vnd.openxmlformats-officedocument.wordprocessingml.document | - -**.pptx** | application/vnd.openxmlformats-officedocument.presentationml.presentation | - -**.xlsx** | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | - -**.epub** | application/epub+zip | - -**.apk** | application/vnd.android.package-archive | - -**.jar** | application/java-archive | application/jar, application/jar-archive, application/x-java-archive -**.odt** | application/vnd.oasis.opendocument.text | application/x-vnd.oasis.opendocument.text -**.ott** | application/vnd.oasis.opendocument.text-template | application/x-vnd.oasis.opendocument.text-template -**.ods** | application/vnd.oasis.opendocument.spreadsheet | application/x-vnd.oasis.opendocument.spreadsheet -**.ots** | application/vnd.oasis.opendocument.spreadsheet-template | application/x-vnd.oasis.opendocument.spreadsheet-template -**.odp** | application/vnd.oasis.opendocument.presentation | application/x-vnd.oasis.opendocument.presentation -**.otp** | application/vnd.oasis.opendocument.presentation-template | application/x-vnd.oasis.opendocument.presentation-template -**.odg** | application/vnd.oasis.opendocument.graphics | application/x-vnd.oasis.opendocument.graphics -**.otg** | application/vnd.oasis.opendocument.graphics-template | application/x-vnd.oasis.opendocument.graphics-template -**.odf** | application/vnd.oasis.opendocument.formula | application/x-vnd.oasis.opendocument.formula -**.odc** | application/vnd.oasis.opendocument.chart | application/x-vnd.oasis.opendocument.chart -**.sxc** | application/vnd.sun.xml.calc | - -**.kmz** | application/vnd.google-earth.kmz | - -**.vsdx** | application/vnd.ms-visio.drawing.main+xml | - -**.pdf** | application/pdf | application/x-pdf -**.fdf** | application/vnd.fdf | - -**n/a** | application/x-ole-storage | - -**.msi** | application/x-ms-installer | application/x-windows-installer, application/x-msi -**.aaf** | application/octet-stream | - -**.msg** | application/vnd.ms-outlook | - -**.xls** | application/vnd.ms-excel | application/msexcel -**.pub** | application/vnd.ms-publisher | - -**.ppt** | application/vnd.ms-powerpoint | application/mspowerpoint -**.doc** | application/msword | application/vnd.ms-word -**.ps** | application/postscript | - -**.psd** | image/vnd.adobe.photoshop | image/x-psd, application/photoshop -**.p7s** | application/pkcs7-signature | - -**.ogg** | application/ogg | application/x-ogg -**.oga** | audio/ogg | - -**.ogv** | video/ogg | - -**.png** | image/png | - -**.png** | image/vnd.mozilla.apng | - -**.jpg** | image/jpeg | - -**.jxl** | image/jxl | - -**.jp2** | image/jp2 | - -**.jpf** | image/jpx | - -**.jpm** | image/jpm | video/jpm -**.jxs** | image/jxs | - -**.gif** | image/gif | - -**.webp** | image/webp | - -**.exe** | application/vnd.microsoft.portable-executable | - -**n/a** | application/x-elf | - -**n/a** | application/x-object | - -**n/a** | application/x-executable | - -**.so** | application/x-sharedlib | - -**n/a** | application/x-coredump | - -**.a** | application/x-archive | application/x-unix-archive -**.deb** | application/vnd.debian.binary-package | - -**.tar** | application/x-tar | - -**.xar** | application/x-xar | - -**.bz2** | application/x-bzip2 | - -**.fits** | application/fits | image/fits -**.tiff** | image/tiff | - -**.bmp** | image/bmp | image/x-bmp, image/x-ms-bmp -**.123** | application/vnd.lotus-1-2-3 | - -**.ico** | image/x-icon | - -**.mp3** | audio/mpeg | audio/x-mpeg, audio/mp3 -**.flac** | audio/flac | - -**.midi** | audio/midi | audio/mid, audio/sp-midi, audio/x-mid, audio/x-midi -**.ape** | audio/ape | - -**.mpc** | audio/musepack | - -**.amr** | audio/amr | audio/amr-nb -**.wav** | audio/wav | audio/x-wav, audio/vnd.wave, audio/wave -**.aiff** | audio/aiff | audio/x-aiff -**.au** | audio/basic | - -**.mpeg** | video/mpeg | - -**.mov** | video/quicktime | - -**.mp4** | video/mp4 | - -**.avif** | image/avif | - -**.3gp** | video/3gpp | video/3gp, audio/3gpp -**.3g2** | video/3gpp2 | video/3g2, audio/3gpp2 -**.mp4** | audio/mp4 | audio/x-mp4a -**.mqv** | video/quicktime | - -**.m4a** | audio/x-m4a | - -**.m4v** | video/x-m4v | - -**.heic** | image/heic | - -**.heic** | image/heic-sequence | - -**.heif** | image/heif | - -**.heif** | image/heif-sequence | - -**.mj2** | video/mj2 | - -**.dvb** | video/vnd.dvb.file | - -**.webm** | video/webm | audio/webm -**.avi** | video/x-msvideo | video/avi, video/msvideo -**.flv** | video/x-flv | - -**.mkv** | video/x-matroska | - -**.asf** | video/x-ms-asf | video/asf, video/x-ms-wmv -**.aac** | audio/aac | - -**.voc** | audio/x-unknown | - -**.m3u** | application/vnd.apple.mpegurl | audio/mpegurl -**.rmvb** | application/vnd.rn-realmedia-vbr | - -**.gz** | application/gzip | application/x-gzip, application/x-gunzip, application/gzipped, application/gzip-compressed, application/x-gzip-compressed, gzip/document -**.class** | application/x-java-applet | - -**.swf** | application/x-shockwave-flash | - -**.crx** | application/x-chrome-extension | - -**.ttf** | font/ttf | font/sfnt, application/x-font-ttf, application/font-sfnt -**.woff** | font/woff | - -**.woff2** | font/woff2 | - -**.otf** | font/otf | - -**.ttc** | font/collection | - -**.eot** | application/vnd.ms-fontobject | - -**.wasm** | application/wasm | - -**.shx** | application/vnd.shx | - -**.shp** | application/vnd.shp | - -**.dbf** | application/x-dbf | - -**.dcm** | application/dicom | - -**.rar** | application/x-rar-compressed | application/x-rar -**.djvu** | image/vnd.djvu | - -**.mobi** | application/x-mobipocket-ebook | - -**.lit** | application/x-ms-reader | - -**.bpg** | image/bpg | - -**.cbor** | application/cbor | - -**.sqlite** | application/vnd.sqlite3 | application/x-sqlite3 -**.dwg** | image/vnd.dwg | image/x-dwg, application/acad, application/x-acad, application/autocad_dwg, application/dwg, application/x-dwg, application/x-autocad, drawing/dwg -**.nes** | application/vnd.nintendo.snes.rom | - -**.lnk** | application/x-ms-shortcut | - -**.macho** | application/x-mach-binary | - -**.qcp** | audio/qcelp | - -**.icns** | image/x-icns | - -**.hdr** | image/vnd.radiance | - -**.mrc** | application/marc | - -**.mdb** | application/x-msaccess | - -**.accdb** | application/x-msaccess | - -**.zst** | application/zstd | - -**.cab** | application/vnd.ms-cab-compressed | - -**.rpm** | application/x-rpm | - -**.xz** | application/x-xz | - -**.lz** | application/lzip | application/x-lzip -**.torrent** | application/x-bittorrent | - -**.cpio** | application/x-cpio | - -**n/a** | application/tzif | - -**.xcf** | image/x-xcf | - -**.pat** | image/x-gimp-pat | - -**.gbr** | image/x-gimp-gbr | - -**.glb** | model/gltf-binary | - -**.cab** | application/x-installshield | - -**.jxr** | image/jxr | image/vnd.ms-photo -**.parquet** | application/vnd.apache.parquet | application/x-parquet -**.one** | application/onenote | - -**.chm** | application/vnd.ms-htmlhelp | - -**.txt** | text/plain | - -**.svg** | image/svg+xml | - -**.html** | text/html | - -**.xml** | text/xml | application/xml -**.rss** | application/rss+xml | text/rss -**.atom** | application/atom+xml | - -**.x3d** | model/x3d+xml | - -**.kml** | application/vnd.google-earth.kml+xml | - -**.xlf** | application/x-xliff+xml | - -**.dae** | model/vnd.collada+xml | - -**.gml** | application/gml+xml | - -**.gpx** | application/gpx+xml | - -**.tcx** | application/vnd.garmin.tcx+xml | - -**.amf** | application/x-amf | - -**.3mf** | application/vnd.ms-package.3dmanufacturing-3dmodel+xml | - -**.xfdf** | application/vnd.adobe.xfdf | - -**.owl** | application/owl+xml | - -**.html** | application/xhtml+xml | - -**.php** | text/x-php | - -**.js** | text/javascript | application/x-javascript, application/javascript -**.lua** | text/x-lua | - -**.pl** | text/x-perl | - -**.py** | text/x-python | text/x-script.python, application/x-python -**.rb** | text/x-ruby | application/x-ruby -**.json** | application/json | - -**.geojson** | application/geo+json | - -**.har** | application/json | - -**.gltf** | model/gltf+json | - -**.ndjson** | application/x-ndjson | - -**.rtf** | text/rtf | application/rtf -**.srt** | application/x-subrip | application/x-srt, text/x-srt -**.tcl** | text/x-tcl | application/x-tcl -**.csv** | text/csv | - -**.tsv** | text/tab-separated-values | - -**.vcf** | text/vcard | - -**.ics** | text/calendar | - -**.warc** | application/warc | - -**.vtt** | text/vtt | - -**.sh** | text/x-shellscript | text/x-sh, application/x-shellscript, application/x-sh -**.pbm** | image/x-portable-bitmap | - -**.pgm** | image/x-portable-graymap | - -**.ppm** | image/x-portable-pixmap | - -**.pam** | image/x-portable-arbitrarymap | - +Extension | MIME type
Aliases | Hierarchy +--------- | ---------------------- | --------- +**n/a** | **application/octet-stream** | root +**.xpm** | **image/x-xpixmap** | xpm>root +**.7z** | **application/x-7z-compressed** | 7z>root +**.zip** | **application/zip**
application/x-zip, application/x-zip-compressed | zip>root +**.docx** | **application/vnd.openxmlformats-officedocument.wordprocessingml.document** | docx>zip>root +**.pptx** | **application/vnd.openxmlformats-officedocument.presentationml.presentation** | pptx>zip>root +**.xlsx** | **application/vnd.openxmlformats-officedocument.spreadsheetml.sheet** | xlsx>zip>root +**.epub** | **application/epub+zip** | epub>zip>root +**.apk** | **application/vnd.android.package-archive** | apk>zip>root +**.jar** | **application/java-archive**
application/jar, application/jar-archive, application/x-java-archive | jar>zip>root +**.odt** | **application/vnd.oasis.opendocument.text**
application/x-vnd.oasis.opendocument.text | odt>zip>root +**.ott** | **application/vnd.oasis.opendocument.text-template**
application/x-vnd.oasis.opendocument.text-template | ott>odt>zip>root +**.ods** | **application/vnd.oasis.opendocument.spreadsheet**
application/x-vnd.oasis.opendocument.spreadsheet | ods>zip>root +**.ots** | **application/vnd.oasis.opendocument.spreadsheet-template**
application/x-vnd.oasis.opendocument.spreadsheet-template | ots>ods>zip>root +**.odp** | **application/vnd.oasis.opendocument.presentation**
application/x-vnd.oasis.opendocument.presentation | odp>zip>root +**.otp** | **application/vnd.oasis.opendocument.presentation-template**
application/x-vnd.oasis.opendocument.presentation-template | otp>odp>zip>root +**.odg** | **application/vnd.oasis.opendocument.graphics**
application/x-vnd.oasis.opendocument.graphics | odg>zip>root +**.otg** | **application/vnd.oasis.opendocument.graphics-template**
application/x-vnd.oasis.opendocument.graphics-template | otg>odg>zip>root +**.odf** | **application/vnd.oasis.opendocument.formula**
application/x-vnd.oasis.opendocument.formula | odf>zip>root +**.odc** | **application/vnd.oasis.opendocument.chart**
application/x-vnd.oasis.opendocument.chart | odc>zip>root +**.sxc** | **application/vnd.sun.xml.calc** | sxc>zip>root +**.kmz** | **application/vnd.google-earth.kmz** | kmz>zip>root +**.vsdx** | **application/vnd.ms-visio.drawing.main+xml** | vsdx>zip>root +**.pdf** | **application/pdf**
application/x-pdf | pdf>root +**.fdf** | **application/vnd.fdf** | fdf>root +**n/a** | **application/x-ole-storage** | x-ole-storage>root +**.msi** | **application/x-ms-installer**
application/x-windows-installer, application/x-msi | msi>x-ole-storage>root +**.msg** | **application/vnd.ms-outlook** | msg>x-ole-storage>root +**.xls** | **application/vnd.ms-excel**
application/msexcel | xls>x-ole-storage>root +**.pub** | **application/vnd.ms-publisher** | pub>x-ole-storage>root +**.ppt** | **application/vnd.ms-powerpoint**
application/mspowerpoint | ppt>x-ole-storage>root +**.doc** | **application/msword**
application/vnd.ms-word | doc>x-ole-storage>root +**.ps** | **application/postscript** | ps>root +**.psd** | **image/vnd.adobe.photoshop**
image/x-psd, application/photoshop | psd>root +**.p7s** | **application/pkcs7-signature** | p7s>root +**.ogg** | **application/ogg**
application/x-ogg | ogg>root +**.oga** | **audio/ogg** | oga>ogg>root +**.ogv** | **video/ogg** | ogv>ogg>root +**.png** | **image/png** | png>root +**.png** | **image/vnd.mozilla.apng** | png>png>root +**.jpg** | **image/jpeg** | jpg>root +**.jxl** | **image/jxl** | jxl>root +**.jp2** | **image/jp2** | jp2>root +**.jpf** | **image/jpx** | jpf>root +**.jpm** | **image/jpm**
video/jpm | jpm>root +**.jxs** | **image/jxs** | jxs>root +**.gif** | **image/gif** | gif>root +**.webp** | **image/webp** | webp>root +**.exe** | **application/vnd.microsoft.portable-executable** | exe>root +**n/a** | **application/x-elf** | x-elf>root +**n/a** | **application/x-object** | x-object>x-elf>root +**n/a** | **application/x-executable** | x-executable>x-elf>root +**.so** | **application/x-sharedlib** | so>x-elf>root +**n/a** | **application/x-coredump** | x-coredump>x-elf>root +**.a** | **application/x-archive**
application/x-unix-archive | a>root +**.deb** | **application/vnd.debian.binary-package** | deb>a>root +**.tar** | **application/x-tar** | tar>root +**.xar** | **application/x-xar** | xar>root +**.bz2** | **application/x-bzip2** | bz2>root +**.fits** | **application/fits**
image/fits | fits>root +**.tiff** | **image/tiff** | tiff>root +**.bmp** | **image/bmp**
image/x-bmp, image/x-ms-bmp | bmp>root +**.123** | **application/vnd.lotus-1-2-3** | 123>root +**.ico** | **image/x-icon** | ico>root +**.mp3** | **audio/mpeg**
audio/x-mpeg, audio/mp3 | mp3>root +**.flac** | **audio/flac** | flac>root +**.midi** | **audio/midi**
audio/mid, audio/sp-midi, audio/x-mid, audio/x-midi | midi>root +**.ape** | **audio/ape** | ape>root +**.mpc** | **audio/musepack** | mpc>root +**.amr** | **audio/amr**
audio/amr-nb | amr>root +**.wav** | **audio/wav**
audio/x-wav, audio/vnd.wave, audio/wave | wav>root +**.aiff** | **audio/aiff**
audio/x-aiff | aiff>root +**.au** | **audio/basic** | au>root +**.mpeg** | **video/mpeg** | mpeg>root +**.mov** | **video/quicktime** | mov>root +**.mp4** | **video/mp4** | mp4>root +**.avif** | **image/avif** | avif>mp4>root +**.3gp** | **video/3gpp**
video/3gp, audio/3gpp | 3gp>mp4>root +**.3g2** | **video/3gpp2**
video/3g2, audio/3gpp2 | 3g2>mp4>root +**.mp4** | **audio/mp4**
audio/x-mp4a | mp4>mp4>root +**.mqv** | **video/quicktime** | mqv>mp4>root +**.m4a** | **audio/x-m4a** | m4a>mp4>root +**.m4v** | **video/x-m4v** | m4v>mp4>root +**.heic** | **image/heic** | heic>mp4>root +**.heic** | **image/heic-sequence** | heic>mp4>root +**.heif** | **image/heif** | heif>mp4>root +**.heif** | **image/heif-sequence** | heif>mp4>root +**.mj2** | **video/mj2** | mj2>mp4>root +**.dvb** | **video/vnd.dvb.file** | dvb>mp4>root +**.webm** | **video/webm**
audio/webm | webm>root +**.avi** | **video/x-msvideo**
video/avi, video/msvideo | avi>root +**.flv** | **video/x-flv** | flv>root +**.mkv** | **video/x-matroska** | mkv>root +**.asf** | **video/x-ms-asf**
video/asf, video/x-ms-wmv | asf>root +**.aac** | **audio/aac** | aac>root +**.voc** | **audio/x-unknown** | voc>root +**.m3u** | **application/vnd.apple.mpegurl**
audio/mpegurl | m3u>root +**.rmvb** | **application/vnd.rn-realmedia-vbr** | rmvb>root +**.gz** | **application/gzip**
application/x-gzip, application/x-gunzip, application/gzipped, application/gzip-compressed, application/x-gzip-compressed, gzip/document | gz>root +**.class** | **application/x-java-applet** | class>root +**.swf** | **application/x-shockwave-flash** | swf>root +**.crx** | **application/x-chrome-extension** | crx>root +**.ttf** | **font/ttf**
font/sfnt, application/x-font-ttf, application/font-sfnt | ttf>root +**.woff** | **font/woff** | woff>root +**.woff2** | **font/woff2** | woff2>root +**.otf** | **font/otf** | otf>root +**.ttc** | **font/collection** | ttc>root +**.eot** | **application/vnd.ms-fontobject** | eot>root +**.wasm** | **application/wasm** | wasm>root +**.shx** | **application/vnd.shx** | shx>root +**.shp** | **application/vnd.shp** | shp>shx>root +**.dbf** | **application/x-dbf** | dbf>root +**.dcm** | **application/dicom** | dcm>root +**.rar** | **application/x-rar-compressed**
application/x-rar | rar>root +**.djvu** | **image/vnd.djvu** | djvu>root +**.mobi** | **application/x-mobipocket-ebook** | mobi>root +**.lit** | **application/x-ms-reader** | lit>root +**.bpg** | **image/bpg** | bpg>root +**.cbor** | **application/cbor** | cbor>root +**.sqlite** | **application/vnd.sqlite3**
application/x-sqlite3 | sqlite>root +**.dwg** | **image/vnd.dwg**
image/x-dwg, application/acad, application/x-acad, application/autocad_dwg, application/dwg, application/x-dwg, application/x-autocad, drawing/dwg | dwg>root +**.nes** | **application/vnd.nintendo.snes.rom** | nes>root +**.lnk** | **application/x-ms-shortcut** | lnk>root +**.macho** | **application/x-mach-binary** | macho>root +**.qcp** | **audio/qcelp** | qcp>root +**.icns** | **image/x-icns** | icns>root +**.hdr** | **image/vnd.radiance** | hdr>root +**.mrc** | **application/marc** | mrc>root +**.mdb** | **application/x-msaccess** | mdb>root +**.accdb** | **application/x-msaccess** | accdb>root +**.zst** | **application/zstd** | zst>root +**.cab** | **application/vnd.ms-cab-compressed** | cab>root +**.rpm** | **application/x-rpm** | rpm>root +**.xz** | **application/x-xz** | xz>root +**.lz** | **application/lzip**
application/x-lzip | lz>root +**.torrent** | **application/x-bittorrent** | torrent>root +**.cpio** | **application/x-cpio** | cpio>root +**n/a** | **application/tzif** | tzif>root +**.xcf** | **image/x-xcf** | xcf>root +**.pat** | **image/x-gimp-pat** | pat>root +**.gbr** | **image/x-gimp-gbr** | gbr>root +**.glb** | **model/gltf-binary** | glb>root +**.cab** | **application/x-installshield** | cab>root +**.jxr** | **image/jxr**
image/vnd.ms-photo | jxr>root +**.parquet** | **application/vnd.apache.parquet**
application/x-parquet | parquet>root +**.one** | **application/onenote** | one>root +**.chm** | **application/vnd.ms-htmlhelp** | chm>root +**.wpd** | **application/vnd.wordperfect** | wpd>root +**.dxf** | **image/vnd.dxf** | dxf>root +**.txt** | **text/plain** | txt>root +**.svg** | **image/svg+xml** | svg>txt>root +**.html** | **text/html** | html>txt>root +**.xml** | **text/xml**
application/xml | xml>txt>root +**.rss** | **application/rss+xml**
text/rss | rss>xml>txt>root +**.atom** | **application/atom+xml** | atom>xml>txt>root +**.x3d** | **model/x3d+xml** | x3d>xml>txt>root +**.kml** | **application/vnd.google-earth.kml+xml** | kml>xml>txt>root +**.xlf** | **application/x-xliff+xml** | xlf>xml>txt>root +**.dae** | **model/vnd.collada+xml** | dae>xml>txt>root +**.gml** | **application/gml+xml** | gml>xml>txt>root +**.gpx** | **application/gpx+xml** | gpx>xml>txt>root +**.tcx** | **application/vnd.garmin.tcx+xml** | tcx>xml>txt>root +**.amf** | **application/x-amf** | amf>xml>txt>root +**.3mf** | **application/vnd.ms-package.3dmanufacturing-3dmodel+xml** | 3mf>xml>txt>root +**.xfdf** | **application/vnd.adobe.xfdf** | xfdf>xml>txt>root +**.owl** | **application/owl+xml** | owl>xml>txt>root +**.html** | **application/xhtml+xml** | html>xml>txt>root +**.php** | **text/x-php** | php>txt>root +**.js** | **text/javascript**
application/x-javascript, application/javascript | js>txt>root +**.lua** | **text/x-lua** | lua>txt>root +**.pl** | **text/x-perl** | pl>txt>root +**.py** | **text/x-python**
text/x-script.python, application/x-python | py>txt>root +**.rb** | **text/x-ruby**
application/x-ruby | rb>txt>root +**.json** | **application/json** | json>txt>root +**.geojson** | **application/geo+json** | geojson>json>txt>root +**.har** | **application/json** | har>json>txt>root +**.gltf** | **model/gltf+json** | gltf>json>txt>root +**.ndjson** | **application/x-ndjson** | ndjson>txt>root +**.rtf** | **text/rtf**
application/rtf | rtf>txt>root +**.srt** | **application/x-subrip**
application/x-srt, text/x-srt | srt>txt>root +**.tcl** | **text/x-tcl**
application/x-tcl | tcl>txt>root +**.csv** | **text/csv** | csv>txt>root +**.tsv** | **text/tab-separated-values** | tsv>txt>root +**.vcf** | **text/vcard** | vcf>txt>root +**.ics** | **text/calendar** | ics>txt>root +**.warc** | **application/warc** | warc>txt>root +**.vtt** | **text/vtt** | vtt>txt>root +**.sh** | **text/x-shellscript**
text/x-sh, application/x-shellscript, application/x-sh | sh>txt>root +**.pbm** | **image/x-portable-bitmap** | pbm>txt>root +**.pgm** | **image/x-portable-graymap** | pgm>txt>root +**.ppm** | **image/x-portable-pixmap** | ppm>txt>root +**.pam** | **image/x-portable-arbitrarymap** | pam>txt>root diff --git a/vendor/github.com/gabriel-vasile/mimetype/tree.go b/vendor/github.com/gabriel-vasile/mimetype/tree.go index edbde89587..21b70d5c91 100644 --- a/vendor/github.com/gabriel-vasile/mimetype/tree.go +++ b/vendor/github.com/gabriel-vasile/mimetype/tree.go @@ -24,7 +24,7 @@ var root = newMIME("application/octet-stream", "", woff2, otf, ttc, eot, wasm, shx, dbf, dcm, rar, djvu, mobi, lit, bpg, cbor, sqlite3, dwg, nes, lnk, macho, qcp, icns, hdr, mrc, mdb, accdb, zstd, cab, rpm, xz, lzip, torrent, cpio, tzif, xcf, pat, gbr, glb, cabIS, jxr, parquet, - oneNote, chm, + oneNote, chm, wpd, dxf, // Keep text last because it is the slowest check. text, ) @@ -65,10 +65,9 @@ var ( jar = newMIME("application/java-archive", ".jar", magic.Jar). alias("application/jar", "application/jar-archive", "application/x-java-archive") apk = newMIME("application/vnd.android.package-archive", ".apk", magic.APK) - ole = newMIME("application/x-ole-storage", "", magic.Ole, msi, aaf, msg, xls, pub, ppt, doc) + ole = newMIME("application/x-ole-storage", "", magic.Ole, msi, msg, xls, pub, ppt, doc) msi = newMIME("application/x-ms-installer", ".msi", magic.Msi). alias("application/x-windows-installer", "application/x-msi") - aaf = newMIME("application/octet-stream", ".aaf", magic.Aaf) doc = newMIME("application/msword", ".doc", magic.Doc). alias("application/vnd.ms-word") ppt = newMIME("application/vnd.ms-powerpoint", ".ppt", magic.Ppt). @@ -286,4 +285,6 @@ var ( cbor = newMIME("application/cbor", ".cbor", magic.CBOR) oneNote = newMIME("application/onenote", ".one", magic.One) chm = newMIME("application/vnd.ms-htmlhelp", ".chm", magic.CHM) + wpd = newMIME("application/vnd.wordperfect", ".wpd", magic.WPD) + dxf = newMIME("image/vnd.dxf", ".dxf", magic.DXF) ) diff --git a/vendor/github.com/go-openapi/errors/README.md b/vendor/github.com/go-openapi/errors/README.md index 6d57ea55c7..d7e3a18bcf 100644 --- a/vendor/github.com/go-openapi/errors/README.md +++ b/vendor/github.com/go-openapi/errors/README.md @@ -6,3 +6,7 @@ [![Go Report Card](https://goreportcard.com/badge/github.com/go-openapi/errors)](https://goreportcard.com/report/github.com/go-openapi/errors) Shared errors and error interface used throughout the various libraries found in the go-openapi toolkit. + +## Licensing + +This library ships under the [SPDX-License-Identifier: Apache-2.0](./LICENSE). diff --git a/vendor/github.com/go-openapi/errors/api.go b/vendor/github.com/go-openapi/errors/api.go index 52d4577728..d39233bafe 100644 --- a/vendor/github.com/go-openapi/errors/api.go +++ b/vendor/github.com/go-openapi/errors/api.go @@ -1,16 +1,5 @@ -// Copyright 2015 go-swagger maintainers -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers +// SPDX-License-Identifier: Apache-2.0 package errors @@ -46,14 +35,14 @@ func (a *apiError) Code() int32 { // MarshalJSON implements the JSON encoding interface func (a apiError) MarshalJSON() ([]byte, error) { - return json.Marshal(map[string]interface{}{ + return json.Marshal(map[string]any{ "code": a.code, "message": a.message, }) } // New creates a new API error with a code and a message -func New(code int32, message string, args ...interface{}) Error { +func New(code int32, message string, args ...any) Error { if len(args) > 0 { return &apiError{ code: code, @@ -67,7 +56,7 @@ func New(code int32, message string, args ...interface{}) Error { } // NotFound creates a new not found error -func NotFound(message string, args ...interface{}) Error { +func NotFound(message string, args ...any) Error { if message == "" { message = "Not found" } @@ -97,7 +86,7 @@ func (m *MethodNotAllowedError) Code() int32 { // MarshalJSON implements the JSON encoding interface func (m MethodNotAllowedError) MarshalJSON() ([]byte, error) { - return json.Marshal(map[string]interface{}{ + return json.Marshal(map[string]any{ "code": m.code, "message": m.message, "allowed": m.Allowed, diff --git a/vendor/github.com/go-openapi/errors/auth.go b/vendor/github.com/go-openapi/errors/auth.go index 0545b501bd..08de582e5d 100644 --- a/vendor/github.com/go-openapi/errors/auth.go +++ b/vendor/github.com/go-openapi/errors/auth.go @@ -1,16 +1,5 @@ -// Copyright 2015 go-swagger maintainers -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers +// SPDX-License-Identifier: Apache-2.0 package errors diff --git a/vendor/github.com/go-openapi/errors/doc.go b/vendor/github.com/go-openapi/errors/doc.go index af01190ce6..b4627f30f4 100644 --- a/vendor/github.com/go-openapi/errors/doc.go +++ b/vendor/github.com/go-openapi/errors/doc.go @@ -1,16 +1,5 @@ -// Copyright 2015 go-swagger maintainers -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers +// SPDX-License-Identifier: Apache-2.0 /* Package errors provides an Error interface and several concrete types diff --git a/vendor/github.com/go-openapi/errors/headers.go b/vendor/github.com/go-openapi/errors/headers.go index 6ea1151f41..2d837c34ac 100644 --- a/vendor/github.com/go-openapi/errors/headers.go +++ b/vendor/github.com/go-openapi/errors/headers.go @@ -1,16 +1,5 @@ -// Copyright 2015 go-swagger maintainers -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers +// SPDX-License-Identifier: Apache-2.0 package errors @@ -25,9 +14,9 @@ type Validation struct { //nolint: errname code int32 Name string In string - Value interface{} + Value any message string - Values []interface{} + Values []any } func (e *Validation) Error() string { @@ -41,7 +30,7 @@ func (e *Validation) Code() int32 { // MarshalJSON implements the JSON encoding interface func (e Validation) MarshalJSON() ([]byte, error) { - return json.Marshal(map[string]interface{}{ + return json.Marshal(map[string]any{ "code": e.code, "message": e.message, "in": e.In, @@ -72,7 +61,7 @@ const ( // InvalidContentType error for an invalid content type func InvalidContentType(value string, allowed []string) *Validation { - values := make([]interface{}, 0, len(allowed)) + values := make([]any, 0, len(allowed)) for _, v := range allowed { values = append(values, v) } @@ -88,7 +77,7 @@ func InvalidContentType(value string, allowed []string) *Validation { // InvalidResponseFormat error for an unacceptable response format request func InvalidResponseFormat(value string, allowed []string) *Validation { - values := make([]interface{}, 0, len(allowed)) + values := make([]any, 0, len(allowed)) for _, v := range allowed { values = append(values, v) } diff --git a/vendor/github.com/go-openapi/errors/middleware.go b/vendor/github.com/go-openapi/errors/middleware.go index 1b9f3a9301..c434e59a6f 100644 --- a/vendor/github.com/go-openapi/errors/middleware.go +++ b/vendor/github.com/go-openapi/errors/middleware.go @@ -1,16 +1,5 @@ -// Copyright 2015 go-swagger maintainers -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers +// SPDX-License-Identifier: Apache-2.0 package errors diff --git a/vendor/github.com/go-openapi/errors/parsing.go b/vendor/github.com/go-openapi/errors/parsing.go index 34930c087a..ea2a7c6037 100644 --- a/vendor/github.com/go-openapi/errors/parsing.go +++ b/vendor/github.com/go-openapi/errors/parsing.go @@ -1,16 +1,5 @@ -// Copyright 2015 go-swagger maintainers -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers +// SPDX-License-Identifier: Apache-2.0 package errors @@ -63,7 +52,7 @@ func (e ParseError) MarshalJSON() ([]byte, error) { if e.Reason != nil { reason = e.Reason.Error() } - return json.Marshal(map[string]interface{}{ + return json.Marshal(map[string]any{ "code": e.code, "message": e.message, "in": e.In, diff --git a/vendor/github.com/go-openapi/errors/schema.go b/vendor/github.com/go-openapi/errors/schema.go index 8f3239dfd9..e59ca4f863 100644 --- a/vendor/github.com/go-openapi/errors/schema.go +++ b/vendor/github.com/go-openapi/errors/schema.go @@ -1,16 +1,5 @@ -// Copyright 2015 go-swagger maintainers -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers +// SPDX-License-Identifier: Apache-2.0 package errors @@ -130,7 +119,7 @@ func (c *CompositeError) Unwrap() []error { // MarshalJSON implements the JSON encoding interface func (c CompositeError) MarshalJSON() ([]byte, error) { - return json.Marshal(map[string]interface{}{ + return json.Marshal(map[string]any{ "code": c.code, "message": c.message, "errors": c.Errors, @@ -254,7 +243,7 @@ func InvalidTypeName(typeName string) *Validation { } // InvalidType creates an error for when the type is invalid -func InvalidType(name, in, typeName string, value interface{}) *Validation { +func InvalidType(name, in, typeName string, value any) *Validation { var message string if in != "" { @@ -302,7 +291,7 @@ func DuplicateItems(name, in string) *Validation { } // TooManyItems error for when an array contains too many items -func TooManyItems(name, in string, maximum int64, value interface{}) *Validation { +func TooManyItems(name, in string, maximum int64, value any) *Validation { msg := fmt.Sprintf(maximumItemsFail, name, in, maximum) if in == "" { msg = fmt.Sprintf(maximumItemsFailNoIn, name, maximum) @@ -318,7 +307,7 @@ func TooManyItems(name, in string, maximum int64, value interface{}) *Validation } // TooFewItems error for when an array contains too few items -func TooFewItems(name, in string, minimum int64, value interface{}) *Validation { +func TooFewItems(name, in string, minimum int64, value any) *Validation { msg := fmt.Sprintf(minItemsFail, name, in, minimum) if in == "" { msg = fmt.Sprintf(minItemsFailNoIn, name, minimum) @@ -333,7 +322,7 @@ func TooFewItems(name, in string, minimum int64, value interface{}) *Validation } // ExceedsMaximumInt error for when maximumimum validation fails -func ExceedsMaximumInt(name, in string, maximum int64, exclusive bool, value interface{}) *Validation { +func ExceedsMaximumInt(name, in string, maximum int64, exclusive bool, value any) *Validation { var message string if in == "" { m := maximumIncFailNoIn @@ -358,7 +347,7 @@ func ExceedsMaximumInt(name, in string, maximum int64, exclusive bool, value int } // ExceedsMaximumUint error for when maximumimum validation fails -func ExceedsMaximumUint(name, in string, maximum uint64, exclusive bool, value interface{}) *Validation { +func ExceedsMaximumUint(name, in string, maximum uint64, exclusive bool, value any) *Validation { var message string if in == "" { m := maximumIncFailNoIn @@ -383,7 +372,7 @@ func ExceedsMaximumUint(name, in string, maximum uint64, exclusive bool, value i } // ExceedsMaximum error for when maximumimum validation fails -func ExceedsMaximum(name, in string, maximum float64, exclusive bool, value interface{}) *Validation { +func ExceedsMaximum(name, in string, maximum float64, exclusive bool, value any) *Validation { var message string if in == "" { m := maximumIncFailNoIn @@ -408,7 +397,7 @@ func ExceedsMaximum(name, in string, maximum float64, exclusive bool, value inte } // ExceedsMinimumInt error for when minimum validation fails -func ExceedsMinimumInt(name, in string, minimum int64, exclusive bool, value interface{}) *Validation { +func ExceedsMinimumInt(name, in string, minimum int64, exclusive bool, value any) *Validation { var message string if in == "" { m := minIncFailNoIn @@ -433,7 +422,7 @@ func ExceedsMinimumInt(name, in string, minimum int64, exclusive bool, value int } // ExceedsMinimumUint error for when minimum validation fails -func ExceedsMinimumUint(name, in string, minimum uint64, exclusive bool, value interface{}) *Validation { +func ExceedsMinimumUint(name, in string, minimum uint64, exclusive bool, value any) *Validation { var message string if in == "" { m := minIncFailNoIn @@ -458,7 +447,7 @@ func ExceedsMinimumUint(name, in string, minimum uint64, exclusive bool, value i } // ExceedsMinimum error for when minimum validation fails -func ExceedsMinimum(name, in string, minimum float64, exclusive bool, value interface{}) *Validation { +func ExceedsMinimum(name, in string, minimum float64, exclusive bool, value any) *Validation { var message string if in == "" { m := minIncFailNoIn @@ -483,7 +472,7 @@ func ExceedsMinimum(name, in string, minimum float64, exclusive bool, value inte } // NotMultipleOf error for when multiple of validation fails -func NotMultipleOf(name, in string, multiple, value interface{}) *Validation { +func NotMultipleOf(name, in string, multiple, value any) *Validation { var msg string if in == "" { msg = fmt.Sprintf(multipleOfFailNoIn, name, multiple) @@ -500,7 +489,7 @@ func NotMultipleOf(name, in string, multiple, value interface{}) *Validation { } // EnumFail error for when an enum validation fails -func EnumFail(name, in string, value interface{}, values []interface{}) *Validation { +func EnumFail(name, in string, value any, values []any) *Validation { var msg string if in == "" { msg = fmt.Sprintf(enumFailNoIn, name, values) @@ -519,7 +508,7 @@ func EnumFail(name, in string, value interface{}, values []interface{}) *Validat } // Required error for when a value is missing -func Required(name, in string, value interface{}) *Validation { +func Required(name, in string, value any) *Validation { var msg string if in == "" { msg = fmt.Sprintf(requiredFailNoIn, name) @@ -536,7 +525,7 @@ func Required(name, in string, value interface{}) *Validation { } // ReadOnly error for when a value is present in request -func ReadOnly(name, in string, value interface{}) *Validation { +func ReadOnly(name, in string, value any) *Validation { var msg string if in == "" { msg = fmt.Sprintf(readOnlyFailNoIn, name) @@ -553,7 +542,7 @@ func ReadOnly(name, in string, value interface{}) *Validation { } // TooLong error for when a string is too long -func TooLong(name, in string, maximum int64, value interface{}) *Validation { +func TooLong(name, in string, maximum int64, value any) *Validation { var msg string if in == "" { msg = fmt.Sprintf(tooLongMessageNoIn, name, maximum) @@ -570,7 +559,7 @@ func TooLong(name, in string, maximum int64, value interface{}) *Validation { } // TooShort error for when a string is too short -func TooShort(name, in string, minimum int64, value interface{}) *Validation { +func TooShort(name, in string, minimum int64, value any) *Validation { var msg string if in == "" { msg = fmt.Sprintf(tooShortMessageNoIn, name, minimum) @@ -589,7 +578,7 @@ func TooShort(name, in string, minimum int64, value interface{}) *Validation { // FailedPattern error for when a string fails a regex pattern match // the pattern that is returned is the ECMA syntax version of the pattern not the golang version. -func FailedPattern(name, in, pattern string, value interface{}) *Validation { +func FailedPattern(name, in, pattern string, value any) *Validation { var msg string if in == "" { msg = fmt.Sprintf(patternFailNoIn, name, pattern) @@ -608,7 +597,7 @@ func FailedPattern(name, in, pattern string, value interface{}) *Validation { // MultipleOfMustBePositive error for when a // multipleOf factor is negative -func MultipleOfMustBePositive(name, in string, factor interface{}) *Validation { +func MultipleOfMustBePositive(name, in string, factor any) *Validation { return &Validation{ code: MultipleOfMustBePositiveCode, Name: name, diff --git a/vendor/github.com/go-openapi/strfmt/.golangci.yml b/vendor/github.com/go-openapi/strfmt/.golangci.yml index 7cea1af8b5..1ad5adf47e 100644 --- a/vendor/github.com/go-openapi/strfmt/.golangci.yml +++ b/vendor/github.com/go-openapi/strfmt/.golangci.yml @@ -16,7 +16,7 @@ linters: - godox - gosmopolitan - inamedparam - #- intrange # disabled while < go1.22 + - intrange - ireturn - lll - musttag diff --git a/vendor/github.com/go-openapi/strfmt/README.md b/vendor/github.com/go-openapi/strfmt/README.md index f6b39c6c56..de5afe1376 100644 --- a/vendor/github.com/go-openapi/strfmt/README.md +++ b/vendor/github.com/go-openapi/strfmt/README.md @@ -35,7 +35,7 @@ It also provides convenient extensions to go-openapi users. - mac (e.g "01:02:03:04:05:06") - rgbcolor (e.g. "rgb(100,100,100)") - ssn - - uuid, uuid3, uuid4, uuid5 + - uuid, uuid3, uuid4, uuid5, uuid7 - cidr (e.g. "192.0.2.1/24", "2001:db8:a0b:12f0::1/32") - ulid (e.g. "00000PP9HGSBSSDZ1JTEXBJ0PW", [spec](https://github.com/ulid/spec)) @@ -81,7 +81,12 @@ List of defined types: - SSN - URI - UUID -- UUID3 -- UUID4 -- UUID5 +- [UUID3](https://www.rfc-editor.org/rfc/rfc9562.html#name-uuid-version-3) +- [UUID4](https://www.rfc-editor.org/rfc/rfc9562.html#name-uuid-version-4) +- [UUID5](https://www.rfc-editor.org/rfc/rfc9562.html#name-uuid-version-5) +- [UUID7](https://www.rfc-editor.org/rfc/rfc9562.html#name-uuid-version-7) - [ULID](https://github.com/ulid/spec) + +## Licensing + +This library ships under the [SPDX-License-Identifier: Apache-2.0](./LICENSE). diff --git a/vendor/github.com/go-openapi/strfmt/bson.go b/vendor/github.com/go-openapi/strfmt/bson.go index 78d6e07358..0eec8f6432 100644 --- a/vendor/github.com/go-openapi/strfmt/bson.go +++ b/vendor/github.com/go-openapi/strfmt/bson.go @@ -1,16 +1,5 @@ -// Copyright 2015 go-swagger maintainers -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers +// SPDX-License-Identifier: Apache-2.0 package strfmt @@ -18,9 +7,6 @@ import ( "database/sql/driver" "fmt" - "go.mongodb.org/mongo-driver/bson" - - "go.mongodb.org/mongo-driver/bson/bsontype" bsonprim "go.mongodb.org/mongo-driver/bson/primitive" ) @@ -75,7 +61,7 @@ func (id *ObjectId) UnmarshalText(data []byte) error { // validation is performe } // Scan read a value from a database driver -func (id *ObjectId) Scan(raw interface{}) error { +func (id *ObjectId) Scan(raw any) error { var data []byte switch v := raw.(type) { case []byte: @@ -113,42 +99,6 @@ func (id *ObjectId) UnmarshalJSON(data []byte) error { return nil } -// MarshalBSON renders the object id as a BSON document -func (id ObjectId) MarshalBSON() ([]byte, error) { - return bson.Marshal(bson.M{"data": bsonprim.ObjectID(id)}) -} - -// UnmarshalBSON reads the objectId from a BSON document -func (id *ObjectId) UnmarshalBSON(data []byte) error { - var obj struct { - Data bsonprim.ObjectID - } - if err := bson.Unmarshal(data, &obj); err != nil { - return err - } - *id = ObjectId(obj.Data) - return nil -} - -// MarshalBSONValue is an interface implemented by types that can marshal themselves -// into a BSON document represented as bytes. The bytes returned must be a valid -// BSON document if the error is nil. -func (id ObjectId) MarshalBSONValue() (bsontype.Type, []byte, error) { - oid := bsonprim.ObjectID(id) - return bson.TypeObjectID, oid[:], nil -} - -// UnmarshalBSONValue is an interface implemented by types that can unmarshal a -// BSON value representation of themselves. The BSON bytes and type can be -// assumed to be valid. UnmarshalBSONValue must copy the BSON value bytes if it -// wishes to retain the data after returning. -func (id *ObjectId) UnmarshalBSONValue(_ bsontype.Type, data []byte) error { - var oid bsonprim.ObjectID - copy(oid[:], data) - *id = ObjectId(oid) - return nil -} - // DeepCopyInto copies the receiver and writes its value into out. func (id *ObjectId) DeepCopyInto(out *ObjectId) { *out = *id diff --git a/vendor/github.com/go-openapi/strfmt/date.go b/vendor/github.com/go-openapi/strfmt/date.go index a8f52ff354..8aa17b8ea5 100644 --- a/vendor/github.com/go-openapi/strfmt/date.go +++ b/vendor/github.com/go-openapi/strfmt/date.go @@ -1,16 +1,5 @@ -// Copyright 2015 go-swagger maintainers -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers +// SPDX-License-Identifier: Apache-2.0 package strfmt @@ -19,8 +8,6 @@ import ( "encoding/json" "fmt" "time" - - "go.mongodb.org/mongo-driver/bson" ) func init() { @@ -70,7 +57,7 @@ func (d Date) MarshalText() ([]byte, error) { } // Scan scans a Date value from database driver type. -func (d *Date) Scan(raw interface{}) error { +func (d *Date) Scan(raw any) error { switch v := raw.(type) { case []byte: return d.UnmarshalText(v) @@ -114,28 +101,6 @@ func (d *Date) UnmarshalJSON(data []byte) error { return nil } -func (d Date) MarshalBSON() ([]byte, error) { - return bson.Marshal(bson.M{"data": d.String()}) -} - -func (d *Date) UnmarshalBSON(data []byte) error { - var m bson.M - if err := bson.Unmarshal(data, &m); err != nil { - return err - } - - if data, ok := m["data"].(string); ok { - rd, err := time.ParseInLocation(RFC3339FullDate, data, DefaultTimeLocation) - if err != nil { - return err - } - *d = Date(rd) - return nil - } - - return fmt.Errorf("couldn't unmarshal bson bytes value as Date: %w", ErrFormat) -} - // DeepCopyInto copies the receiver and writes its value into out. func (d *Date) DeepCopyInto(out *Date) { *out = *d diff --git a/vendor/github.com/go-openapi/strfmt/default.go b/vendor/github.com/go-openapi/strfmt/default.go index 02e1112293..8a80cfbdb8 100644 --- a/vendor/github.com/go-openapi/strfmt/default.go +++ b/vendor/github.com/go-openapi/strfmt/default.go @@ -1,16 +1,5 @@ -// Copyright 2015 go-swagger maintainers -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers +// SPDX-License-Identifier: Apache-2.0 package strfmt @@ -19,14 +8,15 @@ import ( "encoding/base64" "encoding/json" "fmt" + "net" "net/mail" "net/netip" + "net/url" + "regexp" "strconv" "strings" - "github.com/asaskevich/govalidator" "github.com/google/uuid" - "go.mongodb.org/mongo-driver/bson" "golang.org/x/net/idna" ) @@ -60,10 +50,33 @@ const ( // // Deprecated: strfmt no longer uses regular expressions to validate UUIDs. UUID5Pattern = `(?i)(^[0-9a-f]{8}-[0-9a-f]{4}-5[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$)|(^[0-9a-f]{12}5[0-9a-f]{3}[89ab][0-9a-f]{15}$)` + + isbn10Pattern string = "^(?:[0-9]{9}X|[0-9]{10})$" + isbn13Pattern string = "^(?:[0-9]{13})$" + usCardPattern string = "^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11}|6[27][0-9]{14})$" + ssnPattern string = `^\d{3}[- ]?\d{2}[- ]?\d{4}$` + hexColorPattern string = "^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$" + rgbColorPattern string = "^rgb\\(\\s*(0|[1-9]\\d?|1\\d\\d?|2[0-4]\\d|25[0-5])\\s*,\\s*(0|[1-9]\\d?|1\\d\\d?|2[0-4]\\d|25[0-5])\\s*,\\s*(0|[1-9]\\d?|1\\d\\d?|2[0-4]\\d|25[0-5])\\s*\\)$" +) + +const ( + isbnVersion10 = 10 + isbnVersion13 = 13 + decimalBase = 10 ) -var idnaHostChecker = idna.New( - idna.ValidateForRegistration(), // shorthand for [idna.StrictDomainName], [idna.ValidateLabels], [idna.VerifyDNSLength], [idna.BidiRule] +var ( + idnaHostChecker = idna.New( + idna.ValidateForRegistration(), // shorthand for [idna.StrictDomainName], [idna.ValidateLabels], [idna.VerifyDNSLength], [idna.BidiRule] + ) + + whiteSpacesAndMinus = regexp.MustCompile(`[\s-]+`) + rxISBN10 = regexp.MustCompile(isbn10Pattern) + rxISBN13 = regexp.MustCompile(isbn13Pattern) + rxCreditCard = regexp.MustCompile(usCardPattern) + rxSSN = regexp.MustCompile(ssnPattern) + rxHexcolor = regexp.MustCompile(hexColorPattern) + rxRGBcolor = regexp.MustCompile(rgbColorPattern) ) // IsHostname returns true when the string is a valid hostname. @@ -322,6 +335,7 @@ const ( uuidV3 = 3 uuidV4 = 4 uuidV5 = 5 + uuidV7 = 7 ) // IsUUID3 returns true is the string matches a UUID v3, upper case is allowed @@ -342,6 +356,12 @@ func IsUUID5(str string) bool { return err == nil && id.Version() == uuid.Version(uuidV5) } +// IsUUID7 returns true is the string matches a UUID v7, upper case is allowed +func IsUUID7(str string) bool { + id, err := uuid.Parse(str) + return err == nil && id.Version() == uuid.Version(uuidV7) +} + // IsEmail validates an email address. func IsEmail(str string) bool { addr, e := mail.ParseAddress(str) @@ -370,8 +390,9 @@ func init() { // - uuid3 // - uuid4 // - uuid5 + // - uuid7 u := URI("") - Default.Add("uri", &u, govalidator.IsRequestURI) + Default.Add("uri", &u, isRequestURI) eml := Email("") Default.Add("email", &eml, IsEmail) @@ -380,16 +401,16 @@ func init() { Default.Add("hostname", &hn, IsHostname) ip4 := IPv4("") - Default.Add("ipv4", &ip4, govalidator.IsIPv4) + Default.Add("ipv4", &ip4, isIPv4) ip6 := IPv6("") - Default.Add("ipv6", &ip6, govalidator.IsIPv6) + Default.Add("ipv6", &ip6, isIPv6) cidr := CIDR("") - Default.Add("cidr", &cidr, govalidator.IsCIDR) + Default.Add("cidr", &cidr, isCIDR) mac := MAC("") - Default.Add("mac", &mac, govalidator.IsMAC) + Default.Add("mac", &mac, isMAC) uid := UUID("") Default.Add("uuid", &uid, IsUUID) @@ -403,29 +424,32 @@ func init() { uid5 := UUID5("") Default.Add("uuid5", &uid5, IsUUID5) + uid7 := UUID7("") + Default.Add("uuid7", &uid7, IsUUID7) + isbn := ISBN("") - Default.Add("isbn", &isbn, func(str string) bool { return govalidator.IsISBN10(str) || govalidator.IsISBN13(str) }) + Default.Add("isbn", &isbn, func(str string) bool { return isISBN10(str) || isISBN13(str) }) isbn10 := ISBN10("") - Default.Add("isbn10", &isbn10, govalidator.IsISBN10) + Default.Add("isbn10", &isbn10, isISBN10) isbn13 := ISBN13("") - Default.Add("isbn13", &isbn13, govalidator.IsISBN13) + Default.Add("isbn13", &isbn13, isISBN13) cc := CreditCard("") - Default.Add("creditcard", &cc, govalidator.IsCreditCard) + Default.Add("creditcard", &cc, isCreditCard) ssn := SSN("") - Default.Add("ssn", &ssn, govalidator.IsSSN) + Default.Add("ssn", &ssn, isSSN) hc := HexColor("") - Default.Add("hexcolor", &hc, govalidator.IsHexcolor) + Default.Add("hexcolor", &hc, isHexcolor) rc := RGBColor("") - Default.Add("rgbcolor", &rc, govalidator.IsRGBcolor) + Default.Add("rgbcolor", &rc, isRGBcolor) b64 := Base64([]byte(nil)) - Default.Add("byte", &b64, govalidator.IsBase64) + Default.Add("byte", &b64, isBase64) pw := Password("") Default.Add("password", &pw, func(_ string) bool { return true }) @@ -460,7 +484,7 @@ func (b *Base64) UnmarshalText(data []byte) error { // validation is performed l } // Scan read a value from a database driver -func (b *Base64) Scan(raw interface{}) error { +func (b *Base64) Scan(raw any) error { switch v := raw.(type) { case []byte: dbuf := make([]byte, base64.StdEncoding.DecodedLen(len(v))) @@ -510,29 +534,6 @@ func (b *Base64) UnmarshalJSON(data []byte) error { return nil } -// MarshalBSON document from this value -func (b Base64) MarshalBSON() ([]byte, error) { - return bson.Marshal(bson.M{"data": b.String()}) -} - -// UnmarshalBSON document into this value -func (b *Base64) UnmarshalBSON(data []byte) error { - var m bson.M - if err := bson.Unmarshal(data, &m); err != nil { - return err - } - - if bd, ok := m["data"].(string); ok { - vb, err := base64.StdEncoding.DecodeString(bd) - if err != nil { - return err - } - *b = Base64(vb) - return nil - } - return fmt.Errorf("couldn't unmarshal bson bytes as base64: %w", ErrFormat) -} - // DeepCopyInto copies the receiver and writes its value into out. func (b *Base64) DeepCopyInto(out *Base64) { *out = *b @@ -565,7 +566,7 @@ func (u *URI) UnmarshalText(data []byte) error { // validation is performed late } // Scan read a value from a database driver -func (u *URI) Scan(raw interface{}) error { +func (u *URI) Scan(raw any) error { switch v := raw.(type) { case []byte: *u = URI(string(v)) @@ -602,25 +603,6 @@ func (u *URI) UnmarshalJSON(data []byte) error { return nil } -// MarshalBSON document from this value -func (u URI) MarshalBSON() ([]byte, error) { - return bson.Marshal(bson.M{"data": u.String()}) -} - -// UnmarshalBSON document into this value -func (u *URI) UnmarshalBSON(data []byte) error { - var m bson.M - if err := bson.Unmarshal(data, &m); err != nil { - return err - } - - if ud, ok := m["data"].(string); ok { - *u = URI(ud) - return nil - } - return fmt.Errorf("couldn't unmarshal bson bytes as uri: %w", ErrFormat) -} - // DeepCopyInto copies the receiver and writes its value into out. func (u *URI) DeepCopyInto(out *URI) { *out = *u @@ -653,7 +635,7 @@ func (e *Email) UnmarshalText(data []byte) error { // validation is performed la } // Scan read a value from a database driver -func (e *Email) Scan(raw interface{}) error { +func (e *Email) Scan(raw any) error { switch v := raw.(type) { case []byte: *e = Email(string(v)) @@ -690,25 +672,6 @@ func (e *Email) UnmarshalJSON(data []byte) error { return nil } -// MarshalBSON document from this value -func (e Email) MarshalBSON() ([]byte, error) { - return bson.Marshal(bson.M{"data": e.String()}) -} - -// UnmarshalBSON document into this value -func (e *Email) UnmarshalBSON(data []byte) error { - var m bson.M - if err := bson.Unmarshal(data, &m); err != nil { - return err - } - - if ud, ok := m["data"].(string); ok { - *e = Email(ud) - return nil - } - return fmt.Errorf("couldn't unmarshal bson bytes as email: %w", ErrFormat) -} - // DeepCopyInto copies the receiver and writes its value into out. func (e *Email) DeepCopyInto(out *Email) { *out = *e @@ -741,7 +704,7 @@ func (h *Hostname) UnmarshalText(data []byte) error { // validation is performed } // Scan read a value from a database driver -func (h *Hostname) Scan(raw interface{}) error { +func (h *Hostname) Scan(raw any) error { switch v := raw.(type) { case []byte: *h = Hostname(string(v)) @@ -778,25 +741,6 @@ func (h *Hostname) UnmarshalJSON(data []byte) error { return nil } -// MarshalBSON document from this value -func (h Hostname) MarshalBSON() ([]byte, error) { - return bson.Marshal(bson.M{"data": h.String()}) -} - -// UnmarshalBSON document into this value -func (h *Hostname) UnmarshalBSON(data []byte) error { - var m bson.M - if err := bson.Unmarshal(data, &m); err != nil { - return err - } - - if ud, ok := m["data"].(string); ok { - *h = Hostname(ud) - return nil - } - return fmt.Errorf("couldn't unmarshal bson bytes as hostname: %w", ErrFormat) -} - // DeepCopyInto copies the receiver and writes its value into out. func (h *Hostname) DeepCopyInto(out *Hostname) { *out = *h @@ -829,7 +773,7 @@ func (u *IPv4) UnmarshalText(data []byte) error { // validation is performed lat } // Scan read a value from a database driver -func (u *IPv4) Scan(raw interface{}) error { +func (u *IPv4) Scan(raw any) error { switch v := raw.(type) { case []byte: *u = IPv4(string(v)) @@ -866,25 +810,6 @@ func (u *IPv4) UnmarshalJSON(data []byte) error { return nil } -// MarshalBSON document from this value -func (u IPv4) MarshalBSON() ([]byte, error) { - return bson.Marshal(bson.M{"data": u.String()}) -} - -// UnmarshalBSON document into this value -func (u *IPv4) UnmarshalBSON(data []byte) error { - var m bson.M - if err := bson.Unmarshal(data, &m); err != nil { - return err - } - - if ud, ok := m["data"].(string); ok { - *u = IPv4(ud) - return nil - } - return fmt.Errorf("couldn't unmarshal bson bytes as ipv4: %w", ErrFormat) -} - // DeepCopyInto copies the receiver and writes its value into out. func (u *IPv4) DeepCopyInto(out *IPv4) { *out = *u @@ -917,7 +842,7 @@ func (u *IPv6) UnmarshalText(data []byte) error { // validation is performed lat } // Scan read a value from a database driver -func (u *IPv6) Scan(raw interface{}) error { +func (u *IPv6) Scan(raw any) error { switch v := raw.(type) { case []byte: *u = IPv6(string(v)) @@ -954,25 +879,6 @@ func (u *IPv6) UnmarshalJSON(data []byte) error { return nil } -// MarshalBSON document from this value -func (u IPv6) MarshalBSON() ([]byte, error) { - return bson.Marshal(bson.M{"data": u.String()}) -} - -// UnmarshalBSON document into this value -func (u *IPv6) UnmarshalBSON(data []byte) error { - var m bson.M - if err := bson.Unmarshal(data, &m); err != nil { - return err - } - - if ud, ok := m["data"].(string); ok { - *u = IPv6(ud) - return nil - } - return fmt.Errorf("couldn't unmarshal bson bytes as ipv6: %w", ErrFormat) -} - // DeepCopyInto copies the receiver and writes its value into out. func (u *IPv6) DeepCopyInto(out *IPv6) { *out = *u @@ -1005,7 +911,7 @@ func (u *CIDR) UnmarshalText(data []byte) error { // validation is performed lat } // Scan read a value from a database driver -func (u *CIDR) Scan(raw interface{}) error { +func (u *CIDR) Scan(raw any) error { switch v := raw.(type) { case []byte: *u = CIDR(string(v)) @@ -1042,25 +948,6 @@ func (u *CIDR) UnmarshalJSON(data []byte) error { return nil } -// MarshalBSON document from this value -func (u CIDR) MarshalBSON() ([]byte, error) { - return bson.Marshal(bson.M{"data": u.String()}) -} - -// UnmarshalBSON document into this value -func (u *CIDR) UnmarshalBSON(data []byte) error { - var m bson.M - if err := bson.Unmarshal(data, &m); err != nil { - return err - } - - if ud, ok := m["data"].(string); ok { - *u = CIDR(ud) - return nil - } - return fmt.Errorf("couldn't unmarshal bson bytes as CIDR: %w", ErrFormat) -} - // DeepCopyInto copies the receiver and writes its value into out. func (u *CIDR) DeepCopyInto(out *CIDR) { *out = *u @@ -1093,7 +980,7 @@ func (u *MAC) UnmarshalText(data []byte) error { // validation is performed late } // Scan read a value from a database driver -func (u *MAC) Scan(raw interface{}) error { +func (u *MAC) Scan(raw any) error { switch v := raw.(type) { case []byte: *u = MAC(string(v)) @@ -1130,25 +1017,6 @@ func (u *MAC) UnmarshalJSON(data []byte) error { return nil } -// MarshalBSON document from this value -func (u MAC) MarshalBSON() ([]byte, error) { - return bson.Marshal(bson.M{"data": u.String()}) -} - -// UnmarshalBSON document into this value -func (u *MAC) UnmarshalBSON(data []byte) error { - var m bson.M - if err := bson.Unmarshal(data, &m); err != nil { - return err - } - - if ud, ok := m["data"].(string); ok { - *u = MAC(ud) - return nil - } - return fmt.Errorf("couldn't unmarshal bson bytes as MAC: %w", ErrFormat) -} - // DeepCopyInto copies the receiver and writes its value into out. func (u *MAC) DeepCopyInto(out *MAC) { *out = *u @@ -1181,7 +1049,7 @@ func (u *UUID) UnmarshalText(data []byte) error { // validation is performed lat } // Scan read a value from a database driver -func (u *UUID) Scan(raw interface{}) error { +func (u *UUID) Scan(raw any) error { switch v := raw.(type) { case []byte: *u = UUID(string(v)) @@ -1221,25 +1089,6 @@ func (u *UUID) UnmarshalJSON(data []byte) error { return nil } -// MarshalBSON document from this value -func (u UUID) MarshalBSON() ([]byte, error) { - return bson.Marshal(bson.M{"data": u.String()}) -} - -// UnmarshalBSON document into this value -func (u *UUID) UnmarshalBSON(data []byte) error { - var m bson.M - if err := bson.Unmarshal(data, &m); err != nil { - return err - } - - if ud, ok := m["data"].(string); ok { - *u = UUID(ud) - return nil - } - return fmt.Errorf("couldn't unmarshal bson bytes as UUID: %w", ErrFormat) -} - // DeepCopyInto copies the receiver and writes its value into out. func (u *UUID) DeepCopyInto(out *UUID) { *out = *u @@ -1272,7 +1121,7 @@ func (u *UUID3) UnmarshalText(data []byte) error { // validation is performed la } // Scan read a value from a database driver -func (u *UUID3) Scan(raw interface{}) error { +func (u *UUID3) Scan(raw any) error { switch v := raw.(type) { case []byte: *u = UUID3(string(v)) @@ -1312,25 +1161,6 @@ func (u *UUID3) UnmarshalJSON(data []byte) error { return nil } -// MarshalBSON document from this value -func (u UUID3) MarshalBSON() ([]byte, error) { - return bson.Marshal(bson.M{"data": u.String()}) -} - -// UnmarshalBSON document into this value -func (u *UUID3) UnmarshalBSON(data []byte) error { - var m bson.M - if err := bson.Unmarshal(data, &m); err != nil { - return err - } - - if ud, ok := m["data"].(string); ok { - *u = UUID3(ud) - return nil - } - return fmt.Errorf("couldn't unmarshal bson bytes as UUID3: %w", ErrFormat) -} - // DeepCopyInto copies the receiver and writes its value into out. func (u *UUID3) DeepCopyInto(out *UUID3) { *out = *u @@ -1363,7 +1193,7 @@ func (u *UUID4) UnmarshalText(data []byte) error { // validation is performed la } // Scan read a value from a database driver -func (u *UUID4) Scan(raw interface{}) error { +func (u *UUID4) Scan(raw any) error { switch v := raw.(type) { case []byte: *u = UUID4(string(v)) @@ -1403,25 +1233,6 @@ func (u *UUID4) UnmarshalJSON(data []byte) error { return nil } -// MarshalBSON document from this value -func (u UUID4) MarshalBSON() ([]byte, error) { - return bson.Marshal(bson.M{"data": u.String()}) -} - -// UnmarshalBSON document into this value -func (u *UUID4) UnmarshalBSON(data []byte) error { - var m bson.M - if err := bson.Unmarshal(data, &m); err != nil { - return err - } - - if ud, ok := m["data"].(string); ok { - *u = UUID4(ud) - return nil - } - return fmt.Errorf("couldn't unmarshal bson bytes as UUID4: %w", ErrFormat) -} - // DeepCopyInto copies the receiver and writes its value into out. func (u *UUID4) DeepCopyInto(out *UUID4) { *out = *u @@ -1454,7 +1265,7 @@ func (u *UUID5) UnmarshalText(data []byte) error { // validation is performed la } // Scan read a value from a database driver -func (u *UUID5) Scan(raw interface{}) error { +func (u *UUID5) Scan(raw any) error { switch v := raw.(type) { case []byte: *u = UUID5(string(v)) @@ -1494,36 +1305,89 @@ func (u *UUID5) UnmarshalJSON(data []byte) error { return nil } -// MarshalBSON document from this value -func (u UUID5) MarshalBSON() ([]byte, error) { - return bson.Marshal(bson.M{"data": u.String()}) +// DeepCopyInto copies the receiver and writes its value into out. +func (u *UUID5) DeepCopyInto(out *UUID5) { + *out = *u } -// UnmarshalBSON document into this value -func (u *UUID5) UnmarshalBSON(data []byte) error { - var m bson.M - if err := bson.Unmarshal(data, &m); err != nil { - return err +// DeepCopy copies the receiver into a new UUID5. +func (u *UUID5) DeepCopy() *UUID5 { + if u == nil { + return nil } + out := new(UUID5) + u.DeepCopyInto(out) + return out +} - if ud, ok := m["data"].(string); ok { - *u = UUID5(ud) +// UUID7 represents a uuid7 string format +// +// swagger:strfmt uuid7 +type UUID7 string + +// MarshalText turns this instance into text +func (u UUID7) MarshalText() ([]byte, error) { + return []byte(string(u)), nil +} + +// UnmarshalText hydrates this instance from text +func (u *UUID7) UnmarshalText(data []byte) error { // validation is performed later on + *u = UUID7(string(data)) + return nil +} + +// Scan read a value from a database driver +func (u *UUID7) Scan(raw any) error { + switch v := raw.(type) { + case []byte: + *u = UUID7(string(v)) + case string: + *u = UUID7(v) + default: + return fmt.Errorf("cannot sql.Scan() strfmt.UUID7 from: %#v: %w", v, ErrFormat) + } + + return nil +} + +// Value converts a value to a database driver value +func (u UUID7) Value() (driver.Value, error) { + return driver.Value(string(u)), nil +} + +func (u UUID7) String() string { + return string(u) +} + +// MarshalJSON returns the UUID as JSON +func (u UUID7) MarshalJSON() ([]byte, error) { + return json.Marshal(string(u)) +} + +// UnmarshalJSON sets the UUID from JSON +func (u *UUID7) UnmarshalJSON(data []byte) error { + if string(data) == jsonNull { return nil } - return fmt.Errorf("couldn't unmarshal bson bytes as UUID5: %w", ErrFormat) + var ustr string + if err := json.Unmarshal(data, &ustr); err != nil { + return err + } + *u = UUID7(ustr) + return nil } // DeepCopyInto copies the receiver and writes its value into out. -func (u *UUID5) DeepCopyInto(out *UUID5) { +func (u *UUID7) DeepCopyInto(out *UUID7) { *out = *u } -// DeepCopy copies the receiver into a new UUID5. -func (u *UUID5) DeepCopy() *UUID5 { +// DeepCopy copies the receiver into a new UUID7. +func (u *UUID7) DeepCopy() *UUID7 { if u == nil { return nil } - out := new(UUID5) + out := new(UUID7) u.DeepCopyInto(out) return out } @@ -1545,7 +1409,7 @@ func (u *ISBN) UnmarshalText(data []byte) error { // validation is performed lat } // Scan read a value from a database driver -func (u *ISBN) Scan(raw interface{}) error { +func (u *ISBN) Scan(raw any) error { switch v := raw.(type) { case []byte: *u = ISBN(string(v)) @@ -1585,25 +1449,6 @@ func (u *ISBN) UnmarshalJSON(data []byte) error { return nil } -// MarshalBSON document from this value -func (u ISBN) MarshalBSON() ([]byte, error) { - return bson.Marshal(bson.M{"data": u.String()}) -} - -// UnmarshalBSON document into this value -func (u *ISBN) UnmarshalBSON(data []byte) error { - var m bson.M - if err := bson.Unmarshal(data, &m); err != nil { - return err - } - - if ud, ok := m["data"].(string); ok { - *u = ISBN(ud) - return nil - } - return fmt.Errorf("couldn't unmarshal bson bytes as ISBN: %w", ErrFormat) -} - // DeepCopyInto copies the receiver and writes its value into out. func (u *ISBN) DeepCopyInto(out *ISBN) { *out = *u @@ -1636,7 +1481,7 @@ func (u *ISBN10) UnmarshalText(data []byte) error { // validation is performed l } // Scan read a value from a database driver -func (u *ISBN10) Scan(raw interface{}) error { +func (u *ISBN10) Scan(raw any) error { switch v := raw.(type) { case []byte: *u = ISBN10(string(v)) @@ -1676,25 +1521,6 @@ func (u *ISBN10) UnmarshalJSON(data []byte) error { return nil } -// MarshalBSON document from this value -func (u ISBN10) MarshalBSON() ([]byte, error) { - return bson.Marshal(bson.M{"data": u.String()}) -} - -// UnmarshalBSON document into this value -func (u *ISBN10) UnmarshalBSON(data []byte) error { - var m bson.M - if err := bson.Unmarshal(data, &m); err != nil { - return err - } - - if ud, ok := m["data"].(string); ok { - *u = ISBN10(ud) - return nil - } - return fmt.Errorf("couldn't unmarshal bson bytes as ISBN10: %w", ErrFormat) -} - // DeepCopyInto copies the receiver and writes its value into out. func (u *ISBN10) DeepCopyInto(out *ISBN10) { *out = *u @@ -1727,7 +1553,7 @@ func (u *ISBN13) UnmarshalText(data []byte) error { // validation is performed l } // Scan read a value from a database driver -func (u *ISBN13) Scan(raw interface{}) error { +func (u *ISBN13) Scan(raw any) error { switch v := raw.(type) { case []byte: *u = ISBN13(string(v)) @@ -1767,25 +1593,6 @@ func (u *ISBN13) UnmarshalJSON(data []byte) error { return nil } -// MarshalBSON document from this value -func (u ISBN13) MarshalBSON() ([]byte, error) { - return bson.Marshal(bson.M{"data": u.String()}) -} - -// UnmarshalBSON document into this value -func (u *ISBN13) UnmarshalBSON(data []byte) error { - var m bson.M - if err := bson.Unmarshal(data, &m); err != nil { - return err - } - - if ud, ok := m["data"].(string); ok { - *u = ISBN13(ud) - return nil - } - return fmt.Errorf("couldn't unmarshal bson bytes as ISBN13: %w", ErrFormat) -} - // DeepCopyInto copies the receiver and writes its value into out. func (u *ISBN13) DeepCopyInto(out *ISBN13) { *out = *u @@ -1818,7 +1625,7 @@ func (u *CreditCard) UnmarshalText(data []byte) error { // validation is perform } // Scan read a value from a database driver -func (u *CreditCard) Scan(raw interface{}) error { +func (u *CreditCard) Scan(raw any) error { switch v := raw.(type) { case []byte: *u = CreditCard(string(v)) @@ -1858,25 +1665,6 @@ func (u *CreditCard) UnmarshalJSON(data []byte) error { return nil } -// MarshalBSON document from this value -func (u CreditCard) MarshalBSON() ([]byte, error) { - return bson.Marshal(bson.M{"data": u.String()}) -} - -// UnmarshalBSON document into this value -func (u *CreditCard) UnmarshalBSON(data []byte) error { - var m bson.M - if err := bson.Unmarshal(data, &m); err != nil { - return err - } - - if ud, ok := m["data"].(string); ok { - *u = CreditCard(ud) - return nil - } - return fmt.Errorf("couldn't unmarshal bson bytes as CreditCard: %w", ErrFormat) -} - // DeepCopyInto copies the receiver and writes its value into out. func (u *CreditCard) DeepCopyInto(out *CreditCard) { *out = *u @@ -1909,7 +1697,7 @@ func (u *SSN) UnmarshalText(data []byte) error { // validation is performed late } // Scan read a value from a database driver -func (u *SSN) Scan(raw interface{}) error { +func (u *SSN) Scan(raw any) error { switch v := raw.(type) { case []byte: *u = SSN(string(v)) @@ -1949,25 +1737,6 @@ func (u *SSN) UnmarshalJSON(data []byte) error { return nil } -// MarshalBSON document from this value -func (u SSN) MarshalBSON() ([]byte, error) { - return bson.Marshal(bson.M{"data": u.String()}) -} - -// UnmarshalBSON document into this value -func (u *SSN) UnmarshalBSON(data []byte) error { - var m bson.M - if err := bson.Unmarshal(data, &m); err != nil { - return err - } - - if ud, ok := m["data"].(string); ok { - *u = SSN(ud) - return nil - } - return fmt.Errorf("couldn't unmarshal bson bytes as SSN: %w", ErrFormat) -} - // DeepCopyInto copies the receiver and writes its value into out. func (u *SSN) DeepCopyInto(out *SSN) { *out = *u @@ -2000,7 +1769,7 @@ func (h *HexColor) UnmarshalText(data []byte) error { // validation is performed } // Scan read a value from a database driver -func (h *HexColor) Scan(raw interface{}) error { +func (h *HexColor) Scan(raw any) error { switch v := raw.(type) { case []byte: *h = HexColor(string(v)) @@ -2040,25 +1809,6 @@ func (h *HexColor) UnmarshalJSON(data []byte) error { return nil } -// MarshalBSON document from this value -func (h HexColor) MarshalBSON() ([]byte, error) { - return bson.Marshal(bson.M{"data": h.String()}) -} - -// UnmarshalBSON document into this value -func (h *HexColor) UnmarshalBSON(data []byte) error { - var m bson.M - if err := bson.Unmarshal(data, &m); err != nil { - return err - } - - if ud, ok := m["data"].(string); ok { - *h = HexColor(ud) - return nil - } - return fmt.Errorf("couldn't unmarshal bson bytes as HexColor: %w", ErrFormat) -} - // DeepCopyInto copies the receiver and writes its value into out. func (h *HexColor) DeepCopyInto(out *HexColor) { *out = *h @@ -2091,7 +1841,7 @@ func (r *RGBColor) UnmarshalText(data []byte) error { // validation is performed } // Scan read a value from a database driver -func (r *RGBColor) Scan(raw interface{}) error { +func (r *RGBColor) Scan(raw any) error { switch v := raw.(type) { case []byte: *r = RGBColor(string(v)) @@ -2131,25 +1881,6 @@ func (r *RGBColor) UnmarshalJSON(data []byte) error { return nil } -// MarshalBSON document from this value -func (r RGBColor) MarshalBSON() ([]byte, error) { - return bson.Marshal(bson.M{"data": r.String()}) -} - -// UnmarshalBSON document into this value -func (r *RGBColor) UnmarshalBSON(data []byte) error { - var m bson.M - if err := bson.Unmarshal(data, &m); err != nil { - return err - } - - if ud, ok := m["data"].(string); ok { - *r = RGBColor(ud) - return nil - } - return fmt.Errorf("couldn't unmarshal bson bytes as RGBColor: %w", ErrFormat) -} - // DeepCopyInto copies the receiver and writes its value into out. func (r *RGBColor) DeepCopyInto(out *RGBColor) { *out = *r @@ -2183,7 +1914,7 @@ func (r *Password) UnmarshalText(data []byte) error { // validation is performed } // Scan read a value from a database driver -func (r *Password) Scan(raw interface{}) error { +func (r *Password) Scan(raw any) error { switch v := raw.(type) { case []byte: *r = Password(string(v)) @@ -2223,25 +1954,6 @@ func (r *Password) UnmarshalJSON(data []byte) error { return nil } -// MarshalBSON document from this value -func (r Password) MarshalBSON() ([]byte, error) { - return bson.Marshal(bson.M{"data": r.String()}) -} - -// UnmarshalBSON document into this value -func (r *Password) UnmarshalBSON(data []byte) error { - var m bson.M - if err := bson.Unmarshal(data, &m); err != nil { - return err - } - - if ud, ok := m["data"].(string); ok { - *r = Password(ud) - return nil - } - return fmt.Errorf("couldn't unmarshal bson bytes as Password: %w", ErrFormat) -} - // DeepCopyInto copies the receiver and writes its value into out. func (r *Password) DeepCopyInto(out *Password) { *out = *r @@ -2256,3 +1968,143 @@ func (r *Password) DeepCopy() *Password { r.DeepCopyInto(out) return out } + +func isRequestURI(rawurl string) bool { + _, err := url.ParseRequestURI(rawurl) + return err == nil +} + +// isIPv4 checks if the string is an IP version 4. +func isIPv4(str string) bool { + ip := net.ParseIP(str) + return ip != nil && strings.Contains(str, ".") +} + +// isIPv6 checks if the string is an IP version 6. +func isIPv6(str string) bool { + ip := net.ParseIP(str) + return ip != nil && strings.Contains(str, ":") +} + +// isCIDR checks if the string is an valid CIDR notiation (IPV4 & IPV6) +func isCIDR(str string) bool { + _, _, err := net.ParseCIDR(str) + return err == nil +} + +// isMAC checks if a string is valid MAC address. +// Possible MAC formats: +// 01:23:45:67:89:ab +// 01:23:45:67:89:ab:cd:ef +// 01-23-45-67-89-ab +// 01-23-45-67-89-ab-cd-ef +// 0123.4567.89ab +// 0123.4567.89ab.cdef +func isMAC(str string) bool { + _, err := net.ParseMAC(str) + return err == nil +} + +// isISBN checks if the string is an ISBN (version 10 or 13). +// If version value is not equal to 10 or 13, it will be checks both variants. +func isISBN(str string, version int) bool { + sanitized := whiteSpacesAndMinus.ReplaceAllString(str, "") + var checksum int32 + var i int32 + + switch version { + case isbnVersion10: + if !rxISBN10.MatchString(sanitized) { + return false + } + for i = range isbnVersion10 - 1 { + checksum += (i + 1) * int32(sanitized[i]-'0') + } + if sanitized[isbnVersion10-1] == 'X' { + checksum += isbnVersion10 * isbnVersion10 + } else { + checksum += isbnVersion10 * int32(sanitized[isbnVersion10-1]-'0') + } + if checksum%(isbnVersion10+1) == 0 { + return true + } + return false + case isbnVersion13: + if !rxISBN13.MatchString(sanitized) { + return false + } + factor := []int32{1, 3} + for i = range isbnVersion13 - 1 { + checksum += factor[i%2] * int32(sanitized[i]-'0') + } + return (int32(sanitized[isbnVersion13-1]-'0'))-((decimalBase-(checksum%decimalBase))%decimalBase) == 0 + default: + return isISBN(str, isbnVersion10) || isISBN(str, isbnVersion13) + } +} + +// isISBN10 checks if the string is an ISBN version 10. +func isISBN10(str string) bool { + return isISBN(str, isbnVersion10) +} + +// isISBN13 checks if the string is an ISBN version 13. +func isISBN13(str string) bool { + return isISBN(str, isbnVersion13) +} + +// isCreditCard checks if the string is a credit card. +func isCreditCard(str string) bool { + sanitized := whiteSpacesAndMinus.ReplaceAllString(str, "") + if !rxCreditCard.MatchString(sanitized) { + return false + } + + number, err := strconv.ParseInt(sanitized, 0, 64) + if err != nil { + return false + } + number, lastDigit := number/decimalBase, number%decimalBase + + var sum int64 + for i := 0; number > 0; i++ { + digit := number % decimalBase + + if i%2 == 0 { + digit *= 2 + if digit > decimalBase-1 { + digit -= decimalBase - 1 + } + } + + sum += digit + number /= decimalBase + } + + return (sum+lastDigit)%decimalBase == 0 +} + +// isSSN will validate the given string as a U.S. Social Security Number +func isSSN(str string) bool { + if str == "" || len(str) != 11 { + return false + } + return rxSSN.MatchString(str) +} + +// isHexcolor checks if the string is a hexadecimal color. +func isHexcolor(str string) bool { + return rxHexcolor.MatchString(str) +} + +// isRGBcolor checks if the string is a valid RGB color in form rgb(RRR, GGG, BBB). +func isRGBcolor(str string) bool { + return rxRGBcolor.MatchString(str) +} + +// isBase64 checks if a string is base64 encoded. +func isBase64(str string) bool { + _, err := base64.StdEncoding.DecodeString(str) + + return err == nil +} diff --git a/vendor/github.com/go-openapi/strfmt/doc.go b/vendor/github.com/go-openapi/strfmt/doc.go index 41aebe6d51..5825b72108 100644 --- a/vendor/github.com/go-openapi/strfmt/doc.go +++ b/vendor/github.com/go-openapi/strfmt/doc.go @@ -1,16 +1,5 @@ -// Copyright 2015 go-swagger maintainers -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers +// SPDX-License-Identifier: Apache-2.0 // Package strfmt contains custom string formats // diff --git a/vendor/github.com/go-openapi/strfmt/duration.go b/vendor/github.com/go-openapi/strfmt/duration.go index 749c4b561c..908c1b02f3 100644 --- a/vendor/github.com/go-openapi/strfmt/duration.go +++ b/vendor/github.com/go-openapi/strfmt/duration.go @@ -1,16 +1,5 @@ -// Copyright 2015 go-swagger maintainers -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers +// SPDX-License-Identifier: Apache-2.0 package strfmt @@ -23,8 +12,6 @@ import ( "strconv" "strings" "time" - - "go.mongodb.org/mongo-driver/bson" ) func init() { @@ -154,7 +141,7 @@ func ParseDuration(cand string) (time.Duration, error) { } // Scan reads a Duration value from database driver type. -func (d *Duration) Scan(raw interface{}) error { +func (d *Duration) Scan(raw any) error { switch v := raw.(type) { // TODO: case []byte: // ? case int64: @@ -203,28 +190,6 @@ func (d *Duration) UnmarshalJSON(data []byte) error { return nil } -func (d Duration) MarshalBSON() ([]byte, error) { - return bson.Marshal(bson.M{"data": d.String()}) -} - -func (d *Duration) UnmarshalBSON(data []byte) error { - var m bson.M - if err := bson.Unmarshal(data, &m); err != nil { - return err - } - - if data, ok := m["data"].(string); ok { - rd, err := ParseDuration(data) - if err != nil { - return err - } - *d = Duration(rd) - return nil - } - - return fmt.Errorf("couldn't unmarshal bson bytes value as Date: %w", ErrFormat) -} - // DeepCopyInto copies the receiver and writes its value into out. func (d *Duration) DeepCopyInto(out *Duration) { *out = *d diff --git a/vendor/github.com/go-openapi/strfmt/errors.go b/vendor/github.com/go-openapi/strfmt/errors.go index 9a9240363d..9faa37cf2e 100644 --- a/vendor/github.com/go-openapi/strfmt/errors.go +++ b/vendor/github.com/go-openapi/strfmt/errors.go @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers +// SPDX-License-Identifier: Apache-2.0 + package strfmt type strfmtError string diff --git a/vendor/github.com/go-openapi/strfmt/format.go b/vendor/github.com/go-openapi/strfmt/format.go index 73f83af9c9..d9d9e04c20 100644 --- a/vendor/github.com/go-openapi/strfmt/format.go +++ b/vendor/github.com/go-openapi/strfmt/format.go @@ -1,16 +1,5 @@ -// Copyright 2015 go-swagger maintainers -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers +// SPDX-License-Identifier: Apache-2.0 package strfmt @@ -18,6 +7,7 @@ import ( "encoding" "fmt" "reflect" + "slices" "strings" "sync" "time" @@ -32,27 +22,6 @@ var Default = NewSeededFormats(nil, nil) // Validator represents a validator for a string format. type Validator func(string) bool -// Format represents a string format. -// -// All implementations of Format provide a string representation and text -// marshaling/unmarshaling interface to be used by encoders (e.g. encoding/json). -type Format interface { - String() string - encoding.TextMarshaler - encoding.TextUnmarshaler -} - -// Registry is a registry of string formats, with a validation method. -type Registry interface { - Add(string, Format, Validator) bool - DelByName(string) bool - GetType(string) (reflect.Type, bool) - ContainsName(string) bool - Validates(string, string) bool - Parse(string, string) (any, error) - MapStructureHookFunc() mapstructure.DecodeHookFunc -} - // NewFormats creates a new formats registry seeded with the values from the default func NewFormats() Registry { //nolint:forcetypeassert @@ -64,10 +33,9 @@ func NewSeededFormats(seeds []knownFormat, normalizer NameNormalizer) Registry { if normalizer == nil { normalizer = DefaultNameNormalizer } - // copy here, don't modify original - d := append([]knownFormat(nil), seeds...) + // copy here, don't modify the original return &defaultFormats{ - data: d, + data: slices.Clone(seeds), normalizeName: normalizer, } } @@ -139,6 +107,8 @@ func (f *defaultFormats) MapStructureHookFunc() mapstructure.DecodeHookFunc { return UUID4(data), nil case "uuid5": return UUID5(data), nil + case "uuid7": + return UUID7(data), nil case "hostname": return Hostname(data), nil case "ipv4": diff --git a/vendor/github.com/go-openapi/strfmt/ifaces.go b/vendor/github.com/go-openapi/strfmt/ifaces.go new file mode 100644 index 0000000000..1b9e72c64e --- /dev/null +++ b/vendor/github.com/go-openapi/strfmt/ifaces.go @@ -0,0 +1,32 @@ +// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers +// SPDX-License-Identifier: Apache-2.0 + +package strfmt + +import ( + "encoding" + "reflect" + + "github.com/go-viper/mapstructure/v2" +) + +// Format represents a string format. +// +// All implementations of Format provide a string representation and text +// marshaling/unmarshaling interface to be used by encoders (e.g. encoding/json). +type Format interface { + String() string + encoding.TextMarshaler + encoding.TextUnmarshaler +} + +// Registry is a registry of string formats, with a validation method. +type Registry interface { + Add(string, Format, Validator) bool + DelByName(string) bool + GetType(string) (reflect.Type, bool) + ContainsName(string) bool + Validates(string, string) bool + Parse(string, string) (any, error) + MapStructureHookFunc() mapstructure.DecodeHookFunc +} diff --git a/vendor/github.com/go-openapi/strfmt/mongo.go b/vendor/github.com/go-openapi/strfmt/mongo.go new file mode 100644 index 0000000000..641fed9b1a --- /dev/null +++ b/vendor/github.com/go-openapi/strfmt/mongo.go @@ -0,0 +1,646 @@ +// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers +// SPDX-License-Identifier: Apache-2.0 + +package strfmt + +import ( + "encoding/base64" + "encoding/binary" + "fmt" + "time" + + "github.com/oklog/ulid" + "go.mongodb.org/mongo-driver/bson" + "go.mongodb.org/mongo-driver/bson/bsontype" + bsonprim "go.mongodb.org/mongo-driver/bson/primitive" +) + +var ( + _ bson.Marshaler = Date{} + _ bson.Unmarshaler = &Date{} + _ bson.Marshaler = Base64{} + _ bson.Unmarshaler = &Base64{} + _ bson.Marshaler = Duration(0) + _ bson.Unmarshaler = (*Duration)(nil) + _ bson.Marshaler = DateTime{} + _ bson.Unmarshaler = &DateTime{} + _ bson.Marshaler = ULID{} + _ bson.Unmarshaler = &ULID{} + _ bson.Marshaler = URI("") + _ bson.Unmarshaler = (*URI)(nil) + _ bson.Marshaler = Email("") + _ bson.Unmarshaler = (*Email)(nil) + _ bson.Marshaler = Hostname("") + _ bson.Unmarshaler = (*Hostname)(nil) + _ bson.Marshaler = IPv4("") + _ bson.Unmarshaler = (*IPv4)(nil) + _ bson.Marshaler = IPv6("") + _ bson.Unmarshaler = (*IPv6)(nil) + _ bson.Marshaler = CIDR("") + _ bson.Unmarshaler = (*CIDR)(nil) + _ bson.Marshaler = MAC("") + _ bson.Unmarshaler = (*MAC)(nil) + _ bson.Marshaler = Password("") + _ bson.Unmarshaler = (*Password)(nil) + _ bson.Marshaler = UUID("") + _ bson.Unmarshaler = (*UUID)(nil) + _ bson.Marshaler = UUID3("") + _ bson.Unmarshaler = (*UUID3)(nil) + _ bson.Marshaler = UUID4("") + _ bson.Unmarshaler = (*UUID4)(nil) + _ bson.Marshaler = UUID5("") + _ bson.Unmarshaler = (*UUID5)(nil) + _ bson.Marshaler = UUID7("") + _ bson.Unmarshaler = (*UUID7)(nil) + _ bson.Marshaler = ISBN("") + _ bson.Unmarshaler = (*ISBN)(nil) + _ bson.Marshaler = ISBN10("") + _ bson.Unmarshaler = (*ISBN10)(nil) + _ bson.Marshaler = ISBN13("") + _ bson.Unmarshaler = (*ISBN13)(nil) + _ bson.Marshaler = CreditCard("") + _ bson.Unmarshaler = (*CreditCard)(nil) + _ bson.Marshaler = SSN("") + _ bson.Unmarshaler = (*SSN)(nil) + _ bson.Marshaler = HexColor("") + _ bson.Unmarshaler = (*HexColor)(nil) + _ bson.Marshaler = RGBColor("") + _ bson.Unmarshaler = (*RGBColor)(nil) + _ bson.Marshaler = ObjectId{} + _ bson.Unmarshaler = &ObjectId{} + + _ bson.ValueMarshaler = DateTime{} + _ bson.ValueUnmarshaler = &DateTime{} + _ bson.ValueMarshaler = ObjectId{} + _ bson.ValueUnmarshaler = &ObjectId{} +) + +const ( + millisec = 1000 + microsec = 1_000_000 + bsonDateTimeSize = 8 +) + +func (d Date) MarshalBSON() ([]byte, error) { + return bson.Marshal(bson.M{"data": d.String()}) +} + +func (d *Date) UnmarshalBSON(data []byte) error { + var m bson.M + if err := bson.Unmarshal(data, &m); err != nil { + return err + } + + if data, ok := m["data"].(string); ok { + rd, err := time.ParseInLocation(RFC3339FullDate, data, DefaultTimeLocation) + if err != nil { + return err + } + *d = Date(rd) + return nil + } + + return fmt.Errorf("couldn't unmarshal bson bytes value as Date: %w", ErrFormat) +} + +// MarshalBSON document from this value +func (b Base64) MarshalBSON() ([]byte, error) { + return bson.Marshal(bson.M{"data": b.String()}) +} + +// UnmarshalBSON document into this value +func (b *Base64) UnmarshalBSON(data []byte) error { + var m bson.M + if err := bson.Unmarshal(data, &m); err != nil { + return err + } + + if bd, ok := m["data"].(string); ok { + vb, err := base64.StdEncoding.DecodeString(bd) + if err != nil { + return err + } + *b = Base64(vb) + return nil + } + return fmt.Errorf("couldn't unmarshal bson bytes as base64: %w", ErrFormat) +} + +func (d Duration) MarshalBSON() ([]byte, error) { + return bson.Marshal(bson.M{"data": d.String()}) +} + +func (d *Duration) UnmarshalBSON(data []byte) error { + var m bson.M + if err := bson.Unmarshal(data, &m); err != nil { + return err + } + + if data, ok := m["data"].(string); ok { + rd, err := ParseDuration(data) + if err != nil { + return err + } + *d = Duration(rd) + return nil + } + + return fmt.Errorf("couldn't unmarshal bson bytes value as Date: %w", ErrFormat) +} + +// MarshalBSON renders the DateTime as a BSON document +func (t DateTime) MarshalBSON() ([]byte, error) { + return bson.Marshal(bson.M{"data": t}) +} + +// UnmarshalBSON reads the DateTime from a BSON document +func (t *DateTime) UnmarshalBSON(data []byte) error { + var obj struct { + Data DateTime + } + + if err := bson.Unmarshal(data, &obj); err != nil { + return err + } + + *t = obj.Data + + return nil +} + +// MarshalBSONValue is an interface implemented by types that can marshal themselves +// into a BSON document represented as bytes. The bytes returned must be a valid +// BSON document if the error is nil. +// +// Marshals a DateTime as a bson.TypeDateTime, an int64 representing +// milliseconds since epoch. +func (t DateTime) MarshalBSONValue() (bsontype.Type, []byte, error) { + // UnixNano cannot be used directly, the result of calling UnixNano on the zero + // Time is undefined. Thats why we use time.Nanosecond() instead. + + tNorm := NormalizeTimeForMarshal(time.Time(t)) + i64 := tNorm.Unix()*millisec + int64(tNorm.Nanosecond())/microsec + buf := make([]byte, bsonDateTimeSize) + binary.LittleEndian.PutUint64(buf, uint64(i64)) //nolint:gosec // it's okay to handle negative int64 this way + + return bson.TypeDateTime, buf, nil +} + +// UnmarshalBSONValue is an interface implemented by types that can unmarshal a +// BSON value representation of themselves. The BSON bytes and type can be +// assumed to be valid. UnmarshalBSONValue must copy the BSON value bytes if it +// wishes to retain the data after returning. +func (t *DateTime) UnmarshalBSONValue(tpe bsontype.Type, data []byte) error { + if tpe == bson.TypeNull { + *t = DateTime{} + return nil + } + + if len(data) != bsonDateTimeSize { + return fmt.Errorf("bson date field length not exactly %d bytes: %w", bsonDateTimeSize, ErrFormat) + } + + i64 := int64(binary.LittleEndian.Uint64(data)) //nolint:gosec // it's okay if we overflow and get a negative datetime + *t = DateTime(time.Unix(i64/millisec, i64%millisec*microsec)) + + return nil +} + +// MarshalBSON document from this value +func (u ULID) MarshalBSON() ([]byte, error) { + return bson.Marshal(bson.M{"data": u.String()}) +} + +// UnmarshalBSON document into this value +func (u *ULID) UnmarshalBSON(data []byte) error { + var m bson.M + if err := bson.Unmarshal(data, &m); err != nil { + return err + } + + if ud, ok := m["data"].(string); ok { + id, err := ulid.ParseStrict(ud) + if err != nil { + return fmt.Errorf("couldn't parse bson bytes as ULID: %w: %w", err, ErrFormat) + } + u.ULID = id + return nil + } + return fmt.Errorf("couldn't unmarshal bson bytes as ULID: %w", ErrFormat) +} + +// MarshalBSON document from this value +func (u URI) MarshalBSON() ([]byte, error) { + return bson.Marshal(bson.M{"data": u.String()}) +} + +// UnmarshalBSON document into this value +func (u *URI) UnmarshalBSON(data []byte) error { + var m bson.M + if err := bson.Unmarshal(data, &m); err != nil { + return err + } + + if ud, ok := m["data"].(string); ok { + *u = URI(ud) + return nil + } + return fmt.Errorf("couldn't unmarshal bson bytes as uri: %w", ErrFormat) +} + +// MarshalBSON document from this value +func (e Email) MarshalBSON() ([]byte, error) { + return bson.Marshal(bson.M{"data": e.String()}) +} + +// UnmarshalBSON document into this value +func (e *Email) UnmarshalBSON(data []byte) error { + var m bson.M + if err := bson.Unmarshal(data, &m); err != nil { + return err + } + + if ud, ok := m["data"].(string); ok { + *e = Email(ud) + return nil + } + return fmt.Errorf("couldn't unmarshal bson bytes as email: %w", ErrFormat) +} + +// MarshalBSON document from this value +func (h Hostname) MarshalBSON() ([]byte, error) { + return bson.Marshal(bson.M{"data": h.String()}) +} + +// UnmarshalBSON document into this value +func (h *Hostname) UnmarshalBSON(data []byte) error { + var m bson.M + if err := bson.Unmarshal(data, &m); err != nil { + return err + } + + if ud, ok := m["data"].(string); ok { + *h = Hostname(ud) + return nil + } + return fmt.Errorf("couldn't unmarshal bson bytes as hostname: %w", ErrFormat) +} + +// MarshalBSON document from this value +func (u IPv4) MarshalBSON() ([]byte, error) { + return bson.Marshal(bson.M{"data": u.String()}) +} + +// UnmarshalBSON document into this value +func (u *IPv4) UnmarshalBSON(data []byte) error { + var m bson.M + if err := bson.Unmarshal(data, &m); err != nil { + return err + } + + if ud, ok := m["data"].(string); ok { + *u = IPv4(ud) + return nil + } + return fmt.Errorf("couldn't unmarshal bson bytes as ipv4: %w", ErrFormat) +} + +// MarshalBSON document from this value +func (u IPv6) MarshalBSON() ([]byte, error) { + return bson.Marshal(bson.M{"data": u.String()}) +} + +// UnmarshalBSON document into this value +func (u *IPv6) UnmarshalBSON(data []byte) error { + var m bson.M + if err := bson.Unmarshal(data, &m); err != nil { + return err + } + + if ud, ok := m["data"].(string); ok { + *u = IPv6(ud) + return nil + } + return fmt.Errorf("couldn't unmarshal bson bytes as ipv6: %w", ErrFormat) +} + +// MarshalBSON document from this value +func (u CIDR) MarshalBSON() ([]byte, error) { + return bson.Marshal(bson.M{"data": u.String()}) +} + +// UnmarshalBSON document into this value +func (u *CIDR) UnmarshalBSON(data []byte) error { + var m bson.M + if err := bson.Unmarshal(data, &m); err != nil { + return err + } + + if ud, ok := m["data"].(string); ok { + *u = CIDR(ud) + return nil + } + return fmt.Errorf("couldn't unmarshal bson bytes as CIDR: %w", ErrFormat) +} + +// MarshalBSON document from this value +func (u MAC) MarshalBSON() ([]byte, error) { + return bson.Marshal(bson.M{"data": u.String()}) +} + +// UnmarshalBSON document into this value +func (u *MAC) UnmarshalBSON(data []byte) error { + var m bson.M + if err := bson.Unmarshal(data, &m); err != nil { + return err + } + + if ud, ok := m["data"].(string); ok { + *u = MAC(ud) + return nil + } + return fmt.Errorf("couldn't unmarshal bson bytes as MAC: %w", ErrFormat) +} + +// MarshalBSON document from this value +func (r Password) MarshalBSON() ([]byte, error) { + return bson.Marshal(bson.M{"data": r.String()}) +} + +// UnmarshalBSON document into this value +func (r *Password) UnmarshalBSON(data []byte) error { + var m bson.M + if err := bson.Unmarshal(data, &m); err != nil { + return err + } + + if ud, ok := m["data"].(string); ok { + *r = Password(ud) + return nil + } + return fmt.Errorf("couldn't unmarshal bson bytes as Password: %w", ErrFormat) +} + +// MarshalBSON document from this value +func (u UUID) MarshalBSON() ([]byte, error) { + return bson.Marshal(bson.M{"data": u.String()}) +} + +// UnmarshalBSON document into this value +func (u *UUID) UnmarshalBSON(data []byte) error { + var m bson.M + if err := bson.Unmarshal(data, &m); err != nil { + return err + } + + if ud, ok := m["data"].(string); ok { + *u = UUID(ud) + return nil + } + return fmt.Errorf("couldn't unmarshal bson bytes as UUID: %w", ErrFormat) +} + +// MarshalBSON document from this value +func (u UUID3) MarshalBSON() ([]byte, error) { + return bson.Marshal(bson.M{"data": u.String()}) +} + +// UnmarshalBSON document into this value +func (u *UUID3) UnmarshalBSON(data []byte) error { + var m bson.M + if err := bson.Unmarshal(data, &m); err != nil { + return err + } + + if ud, ok := m["data"].(string); ok { + *u = UUID3(ud) + return nil + } + return fmt.Errorf("couldn't unmarshal bson bytes as UUID3: %w", ErrFormat) +} + +// MarshalBSON document from this value +func (u UUID4) MarshalBSON() ([]byte, error) { + return bson.Marshal(bson.M{"data": u.String()}) +} + +// UnmarshalBSON document into this value +func (u *UUID4) UnmarshalBSON(data []byte) error { + var m bson.M + if err := bson.Unmarshal(data, &m); err != nil { + return err + } + + if ud, ok := m["data"].(string); ok { + *u = UUID4(ud) + return nil + } + return fmt.Errorf("couldn't unmarshal bson bytes as UUID4: %w", ErrFormat) +} + +// MarshalBSON document from this value +func (u UUID5) MarshalBSON() ([]byte, error) { + return bson.Marshal(bson.M{"data": u.String()}) +} + +// UnmarshalBSON document into this value +func (u *UUID5) UnmarshalBSON(data []byte) error { + var m bson.M + if err := bson.Unmarshal(data, &m); err != nil { + return err + } + + if ud, ok := m["data"].(string); ok { + *u = UUID5(ud) + return nil + } + return fmt.Errorf("couldn't unmarshal bson bytes as UUID5: %w", ErrFormat) +} + +// MarshalBSON document from this value +func (u UUID7) MarshalBSON() ([]byte, error) { + return bson.Marshal(bson.M{"data": u.String()}) +} + +// UnmarshalBSON document into this value +func (u *UUID7) UnmarshalBSON(data []byte) error { + var m bson.M + if err := bson.Unmarshal(data, &m); err != nil { + return err + } + + if ud, ok := m["data"].(string); ok { + *u = UUID7(ud) + return nil + } + return fmt.Errorf("couldn't unmarshal bson bytes as UUID7: %w", ErrFormat) +} + +// MarshalBSON document from this value +func (u ISBN) MarshalBSON() ([]byte, error) { + return bson.Marshal(bson.M{"data": u.String()}) +} + +// UnmarshalBSON document into this value +func (u *ISBN) UnmarshalBSON(data []byte) error { + var m bson.M + if err := bson.Unmarshal(data, &m); err != nil { + return err + } + + if ud, ok := m["data"].(string); ok { + *u = ISBN(ud) + return nil + } + return fmt.Errorf("couldn't unmarshal bson bytes as ISBN: %w", ErrFormat) +} + +// MarshalBSON document from this value +func (u ISBN10) MarshalBSON() ([]byte, error) { + return bson.Marshal(bson.M{"data": u.String()}) +} + +// UnmarshalBSON document into this value +func (u *ISBN10) UnmarshalBSON(data []byte) error { + var m bson.M + if err := bson.Unmarshal(data, &m); err != nil { + return err + } + + if ud, ok := m["data"].(string); ok { + *u = ISBN10(ud) + return nil + } + return fmt.Errorf("couldn't unmarshal bson bytes as ISBN10: %w", ErrFormat) +} + +// MarshalBSON document from this value +func (u ISBN13) MarshalBSON() ([]byte, error) { + return bson.Marshal(bson.M{"data": u.String()}) +} + +// UnmarshalBSON document into this value +func (u *ISBN13) UnmarshalBSON(data []byte) error { + var m bson.M + if err := bson.Unmarshal(data, &m); err != nil { + return err + } + + if ud, ok := m["data"].(string); ok { + *u = ISBN13(ud) + return nil + } + return fmt.Errorf("couldn't unmarshal bson bytes as ISBN13: %w", ErrFormat) +} + +// MarshalBSON document from this value +func (u CreditCard) MarshalBSON() ([]byte, error) { + return bson.Marshal(bson.M{"data": u.String()}) +} + +// UnmarshalBSON document into this value +func (u *CreditCard) UnmarshalBSON(data []byte) error { + var m bson.M + if err := bson.Unmarshal(data, &m); err != nil { + return err + } + + if ud, ok := m["data"].(string); ok { + *u = CreditCard(ud) + return nil + } + return fmt.Errorf("couldn't unmarshal bson bytes as CreditCard: %w", ErrFormat) +} + +// MarshalBSON document from this value +func (u SSN) MarshalBSON() ([]byte, error) { + return bson.Marshal(bson.M{"data": u.String()}) +} + +// UnmarshalBSON document into this value +func (u *SSN) UnmarshalBSON(data []byte) error { + var m bson.M + if err := bson.Unmarshal(data, &m); err != nil { + return err + } + + if ud, ok := m["data"].(string); ok { + *u = SSN(ud) + return nil + } + return fmt.Errorf("couldn't unmarshal bson bytes as SSN: %w", ErrFormat) +} + +// MarshalBSON document from this value +func (h HexColor) MarshalBSON() ([]byte, error) { + return bson.Marshal(bson.M{"data": h.String()}) +} + +// UnmarshalBSON document into this value +func (h *HexColor) UnmarshalBSON(data []byte) error { + var m bson.M + if err := bson.Unmarshal(data, &m); err != nil { + return err + } + + if ud, ok := m["data"].(string); ok { + *h = HexColor(ud) + return nil + } + return fmt.Errorf("couldn't unmarshal bson bytes as HexColor: %w", ErrFormat) +} + +// MarshalBSON document from this value +func (r RGBColor) MarshalBSON() ([]byte, error) { + return bson.Marshal(bson.M{"data": r.String()}) +} + +// UnmarshalBSON document into this value +func (r *RGBColor) UnmarshalBSON(data []byte) error { + var m bson.M + if err := bson.Unmarshal(data, &m); err != nil { + return err + } + + if ud, ok := m["data"].(string); ok { + *r = RGBColor(ud) + return nil + } + return fmt.Errorf("couldn't unmarshal bson bytes as RGBColor: %w", ErrFormat) +} + +// MarshalBSON renders the object id as a BSON document +func (id ObjectId) MarshalBSON() ([]byte, error) { + return bson.Marshal(bson.M{"data": bsonprim.ObjectID(id)}) +} + +// UnmarshalBSON reads the objectId from a BSON document +func (id *ObjectId) UnmarshalBSON(data []byte) error { + var obj struct { + Data bsonprim.ObjectID + } + if err := bson.Unmarshal(data, &obj); err != nil { + return err + } + *id = ObjectId(obj.Data) + return nil +} + +// MarshalBSONValue is an interface implemented by types that can marshal themselves +// into a BSON document represented as bytes. The bytes returned must be a valid +// BSON document if the error is nil. +func (id ObjectId) MarshalBSONValue() (bsontype.Type, []byte, error) { + oid := bsonprim.ObjectID(id) + return bson.TypeObjectID, oid[:], nil +} + +// UnmarshalBSONValue is an interface implemented by types that can unmarshal a +// BSON value representation of themselves. The BSON bytes and type can be +// assumed to be valid. UnmarshalBSONValue must copy the BSON value bytes if it +// wishes to retain the data after returning. +func (id *ObjectId) UnmarshalBSONValue(_ bsontype.Type, data []byte) error { + var oid bsonprim.ObjectID + copy(oid[:], data) + *id = ObjectId(oid) + return nil +} diff --git a/vendor/github.com/go-openapi/strfmt/time.go b/vendor/github.com/go-openapi/strfmt/time.go index 84e2412b93..8085aaf696 100644 --- a/vendor/github.com/go-openapi/strfmt/time.go +++ b/vendor/github.com/go-openapi/strfmt/time.go @@ -1,31 +1,15 @@ -// Copyright 2015 go-swagger maintainers -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers +// SPDX-License-Identifier: Apache-2.0 package strfmt import ( "database/sql/driver" - "encoding/binary" "encoding/json" "fmt" "regexp" "strings" "time" - - "go.mongodb.org/mongo-driver/bson" - - "go.mongodb.org/mongo-driver/bson/bsontype" ) var ( @@ -178,7 +162,7 @@ func (t *DateTime) UnmarshalText(text []byte) error { } // Scan scans a DateTime value from database driver type. -func (t *DateTime) Scan(raw interface{}) error { +func (t *DateTime) Scan(raw any) error { // TODO: case int64: and case float64: ? switch v := raw.(type) { case []byte: @@ -224,69 +208,6 @@ func (t *DateTime) UnmarshalJSON(data []byte) error { return nil } -// MarshalBSON renders the DateTime as a BSON document -func (t DateTime) MarshalBSON() ([]byte, error) { - return bson.Marshal(bson.M{"data": t}) -} - -// UnmarshalBSON reads the DateTime from a BSON document -func (t *DateTime) UnmarshalBSON(data []byte) error { - var obj struct { - Data DateTime - } - - if err := bson.Unmarshal(data, &obj); err != nil { - return err - } - - *t = obj.Data - - return nil -} - -const bsonDateLength = 8 - -// MarshalBSONValue is an interface implemented by types that can marshal themselves -// into a BSON document represented as bytes. The bytes returned must be a valid -// BSON document if the error is nil. -// -// Marshals a DateTime as a bsontype.DateTime, an int64 representing -// milliseconds since epoch. -func (t DateTime) MarshalBSONValue() (bsontype.Type, []byte, error) { - // UnixNano cannot be used directly, the result of calling UnixNano on the zero - // Time is undefined. That's why we use time.Nanosecond() instead. - tNorm := NormalizeTimeForMarshal(time.Time(t)) - i64 := tNorm.UnixMilli() - - buf := make([]byte, bsonDateLength) - // int64 -> uint64 conversion is safe here - binary.LittleEndian.PutUint64(buf, uint64(i64)) //nolint:gosec - - return bson.TypeDateTime, buf, nil -} - -// UnmarshalBSONValue is an interface implemented by types that can unmarshal a -// BSON value representation of themselves. The BSON bytes and type can be -// assumed to be valid. UnmarshalBSONValue must copy the BSON value bytes if it -// wishes to retain the data after returning. -func (t *DateTime) UnmarshalBSONValue(tpe bsontype.Type, data []byte) error { - if tpe == bson.TypeNull { - *t = DateTime{} - return nil - } - - if len(data) != bsonDateLength { - return fmt.Errorf("bson date field length not exactly 8 bytes: %w", ErrFormat) - } - - // it's ok to get negative values after conversion - i64 := int64(binary.LittleEndian.Uint64(data)) //nolint:gosec - // TODO: Use bsonprim.DateTime.Time() method - *t = DateTime(time.UnixMilli(i64)) - - return nil -} - // DeepCopyInto copies the receiver and writes its value into out. func (t *DateTime) DeepCopyInto(out *DateTime) { *out = *t diff --git a/vendor/github.com/go-openapi/strfmt/ulid.go b/vendor/github.com/go-openapi/strfmt/ulid.go index 434eb01baa..85c5b53e6c 100644 --- a/vendor/github.com/go-openapi/strfmt/ulid.go +++ b/vendor/github.com/go-openapi/strfmt/ulid.go @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers +// SPDX-License-Identifier: Apache-2.0 + package strfmt import ( @@ -9,7 +12,6 @@ import ( "sync" "github.com/oklog/ulid" - "go.mongodb.org/mongo-driver/bson" ) // ULID represents a ulid string format @@ -28,12 +30,12 @@ type ULID struct { var ( ulidEntropyPool = sync.Pool{ - New: func() interface{} { + New: func() any { return cryptorand.Reader }, } - ULIDScanDefaultFunc = func(raw interface{}) (ULID, error) { + ULIDScanDefaultFunc = func(raw any) (ULID, error) { u := NewULIDZero() switch x := raw.(type) { case nil: @@ -111,7 +113,7 @@ func NewULID() (ULID, error) { } // GetULID returns underlying instance of ULID -func (u *ULID) GetULID() interface{} { +func (u *ULID) GetULID() any { return u.ULID } @@ -126,7 +128,7 @@ func (u *ULID) UnmarshalText(data []byte) error { // validation is performed lat } // Scan reads a value from a database driver -func (u *ULID) Scan(raw interface{}) error { +func (u *ULID) Scan(raw any) error { ul, err := ULIDScanOverrideFunc(raw) if err == nil { *u = ul @@ -165,29 +167,6 @@ func (u *ULID) UnmarshalJSON(data []byte) error { return nil } -// MarshalBSON document from this value -func (u ULID) MarshalBSON() ([]byte, error) { - return bson.Marshal(bson.M{"data": u.String()}) -} - -// UnmarshalBSON document into this value -func (u *ULID) UnmarshalBSON(data []byte) error { - var m bson.M - if err := bson.Unmarshal(data, &m); err != nil { - return err - } - - if ud, ok := m["data"].(string); ok { - id, err := ulid.ParseStrict(ud) - if err != nil { - return fmt.Errorf("couldn't parse bson bytes as ULID: %w: %w", err, ErrFormat) - } - u.ULID = id - return nil - } - return fmt.Errorf("couldn't unmarshal bson bytes as ULID: %w", ErrFormat) -} - // DeepCopyInto copies the receiver and writes its value into out. func (u *ULID) DeepCopyInto(out *ULID) { *out = *u diff --git a/vendor/github.com/google/pprof/profile/profile.go b/vendor/github.com/google/pprof/profile/profile.go index 43f561d445..18df65a8df 100644 --- a/vendor/github.com/google/pprof/profile/profile.go +++ b/vendor/github.com/google/pprof/profile/profile.go @@ -278,7 +278,7 @@ func (p *Profile) massageMappings() { // Use heuristics to identify main binary and move it to the top of the list of mappings for i, m := range p.Mapping { - file := strings.TrimSpace(strings.Replace(m.File, "(deleted)", "", -1)) + file := strings.TrimSpace(strings.ReplaceAll(m.File, "(deleted)", "")) if len(file) == 0 { continue } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/.release-please-manifest.json b/vendor/github.com/microsoftgraph/msgraph-sdk-go/.release-please-manifest.json index 694e99275d..2a7702f458 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/.release-please-manifest.json +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/.release-please-manifest.json @@ -1,4 +1,4 @@ { - ".": "1.87.0" + ".": "1.95.0" } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/CHANGELOG.md b/vendor/github.com/microsoftgraph/msgraph-sdk-go/CHANGELOG.md index c16844706a..4f78cf643a 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/CHANGELOG.md +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/CHANGELOG.md @@ -2,6 +2,63 @@ All notable changes to this project will be documented in this file. +## [1.95.0](https://github.com/microsoftgraph/msgraph-sdk-go/compare/v1.94.0...v1.95.0) (2026-02-05) + + +### Features + +* **generation:** update request builders and models ([97b41c7](https://github.com/microsoftgraph/msgraph-sdk-go/commit/97b41c73e11332b3eec0f0b89a7045143d1c8aee)) + +## [1.94.0](https://github.com/microsoftgraph/msgraph-sdk-go/compare/v1.93.0...v1.94.0) (2026-01-22) + + +### Features + +* **generation:** update request builders and models ([#970](https://github.com/microsoftgraph/msgraph-sdk-go/issues/970)) ([cdf9980](https://github.com/microsoftgraph/msgraph-sdk-go/commit/cdf9980ea45ad62959c6dd5a198f34faa2ea364b)) + +## [1.93.0](https://github.com/microsoftgraph/msgraph-sdk-go/compare/v1.92.0...v1.93.0) (2026-01-07) + + +### Features + +* **generation:** update request builders and models ([20507ff](https://github.com/microsoftgraph/msgraph-sdk-go/commit/20507ffb1210d2b1b58adf5b50d87f16661f3f7a)) + +## [1.92.0](https://github.com/microsoftgraph/msgraph-sdk-go/compare/v1.91.0...v1.92.0) (2025-12-17) + + +### Features + +* **generation:** update request builders and models ([19d0a42](https://github.com/microsoftgraph/msgraph-sdk-go/commit/19d0a42e86efaace3b7c76f64fb4c061a5776245)) + +## [1.91.0](https://github.com/microsoftgraph/msgraph-sdk-go/compare/v1.90.0...v1.91.0) (2025-12-03) + + +### Features + +* **generation:** update request builders and models ([#958](https://github.com/microsoftgraph/msgraph-sdk-go/issues/958)) ([4590744](https://github.com/microsoftgraph/msgraph-sdk-go/commit/4590744688706a966b8d5c068ea59521d5e3d6db)) + +## [1.90.0](https://github.com/microsoftgraph/msgraph-sdk-go/compare/v1.89.0...v1.90.0) (2025-11-18) + + +### Features + +* **generation:** update request builders and models ([d183496](https://github.com/microsoftgraph/msgraph-sdk-go/commit/d18349615626b1119fe6596390af8a5a29e8cffb)) + +## [1.89.0](https://github.com/microsoftgraph/msgraph-sdk-go/compare/v1.88.0...v1.89.0) (2025-11-06) + + +### Features + +* **generation:** update request builders and models ([#952](https://github.com/microsoftgraph/msgraph-sdk-go/issues/952)) ([f9590fc](https://github.com/microsoftgraph/msgraph-sdk-go/commit/f9590fc44905a1a12ad20a5f19ec2e1677ca53a7)) + +## [1.88.0](https://github.com/microsoftgraph/msgraph-sdk-go/compare/v1.87.0...v1.88.0) (2025-10-21) + + +### Features + +* **generation:** update request builders and models ([fc295be](https://github.com/microsoftgraph/msgraph-sdk-go/commit/fc295beb07bdb8d802c811c09cf6621ba4e37fb6)) +* **generation:** update request builders and models ([1c1093b](https://github.com/microsoftgraph/msgraph-sdk-go/commit/1c1093baa04ddee21b5d1078754ca15c3b915f37)) + ## [1.87.0](https://github.com/microsoftgraph/msgraph-sdk-go/compare/v1.86.0...v1.87.0) (2025-10-03) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/README.md b/vendor/github.com/microsoftgraph/msgraph-sdk-go/README.md index 0401f95353..a38a3904cb 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/README.md +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/README.md @@ -164,6 +164,10 @@ For more detailed documentation, see: * [Known issues](https://github.com/MicrosoftGraph/msgraph-sdk-go/issues) * [Contributions](https://github.com/microsoftgraph/msgraph-sdk-go/blob/main/CONTRIBUTING.md) +## 5. Update Schedule + +The Microsoft Graph Go Client Library is scheduled to be updated during the second and fourth week of each month + ## 6. Issues For known issues, see [issues](https://github.com/MicrosoftGraph/msgraph-sdk-go/issues). diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/0571fb090ce7bb2897528d9cebf803dbccbeca95106249d6b21a39f82ab828fe.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/0571fb090ce7bb2897528d9cebf803dbccbeca95106249d6b21a39f82ab828fe.go new file mode 100644 index 0000000000..4b08df1674 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/0571fb090ce7bb2897528d9cebf803dbccbeca95106249d6b21a39f82ab828fe.go @@ -0,0 +1,93 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84 "github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration" +) + +type TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponse struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +} +// NewTeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponse instantiates a new TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponse and sets the default values. +func NewTeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponse()(*TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponse) { + m := &TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponse{ + BaseCollectionPaginationCountResponse: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateTeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.CreatePolicyIdentifierDetailFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.PolicyIdentifierDetailable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.PolicyIdentifierDetailable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []PolicyIdentifierDetailable when successful +func (m *TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponse) GetValue()([]i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.PolicyIdentifierDetailable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.PolicyIdentifierDetailable) + } + return nil +} +// Serialize serializes information the current object +func (m *TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponse) SetValue(value []i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.PolicyIdentifierDetailable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponseable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.PolicyIdentifierDetailable) + SetValue(value []i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.PolicyIdentifierDetailable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/164aed3bc89e8d8330720ba5eaaaf14ac5ca1ac169df182759e7bbbbb1c73b3c.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/164aed3bc89e8d8330720ba5eaaaf14ac5ca1ac169df182759e7bbbbb1c73b3c.go new file mode 100644 index 0000000000..a9abdbab49 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/164aed3bc89e8d8330720ba5eaaaf14ac5ca1ac169df182759e7bbbbb1c73b3c.go @@ -0,0 +1,129 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" + i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84 "github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration" +) + +type TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewTeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBody instantiates a new TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBody and sets the default values. +func NewTeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBody()(*TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBody) { + m := &TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateTeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.CreateTeamsPolicyUserAssignmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []TeamsPolicyUserAssignmentable when successful +func (m *TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBody) GetValue()([]i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable) + } + return nil +} +// Serialize serializes information the current object +func (m *TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetValue sets the value property value. The value property +func (m *TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBody) SetValue(value []i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetValue()([]i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetValue(value []i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/admin_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/admin_request_builder.go index 671305f34f..08e38393a4 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/admin_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/admin_request_builder.go @@ -120,6 +120,11 @@ func (m *AdminRequestBuilder) ServiceAnnouncement()(*ServiceAnnouncementRequestB func (m *AdminRequestBuilder) Sharepoint()(*SharepointRequestBuilder) { return NewSharepointRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// Teams provides operations to manage the teams property of the microsoft.graph.admin entity. +// returns a *TeamsRequestBuilder when successful +func (m *AdminRequestBuilder) Teams()(*TeamsRequestBuilder) { + return NewTeamsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToGetRequestInformation get admin // returns a *RequestInformation when successful func (m *AdminRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AdminRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/c189e09914d5d49efeae72fd3ef18223b56ca4d180e4f52be3e8642afa4819f9.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/c189e09914d5d49efeae72fd3ef18223b56ca4d180e4f52be3e8642afa4819f9.go new file mode 100644 index 0000000000..2ff50b3788 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/c189e09914d5d49efeae72fd3ef18223b56ca4d180e4f52be3e8642afa4819f9.go @@ -0,0 +1,30 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponseable instead. +type TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameResponse struct { + TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponse +} +// NewTeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameResponse instantiates a new TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameResponse and sets the default values. +func NewTeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameResponse()(*TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameResponse) { + m := &TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameResponse{ + TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponse: *NewTeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponse(), + } + return m +} +// CreateTeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameResponse(), nil +} +// Deprecated: This class is obsolete. Use TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponseable instead. +type TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameResponseable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponseable +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_microsoft_graph_teams_administration_get_policy_id_with_type_with_name_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_microsoft_graph_teams_administration_get_policy_id_with_type_with_name_request_builder.go new file mode 100644 index 0000000000..2122097497 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_microsoft_graph_teams_administration_get_policy_id_with_type_with_name_request_builder.go @@ -0,0 +1,128 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder provides operations to call the getPolicyId method. +type TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters get the policy ID for a given policy name and policy type within Teams administration. +type TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters +} +// NewTeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderInternal instantiates a new TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder and sets the default values. +func NewTeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter, name *string, typeEscaped *string)(*TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder) { + m := &TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/teams/policy/microsoft.graph.teamsAdministration.getPolicyId(type='{type}',name='{name}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + if name != nil { + m.BaseRequestBuilder.PathParameters["name"] = *name + } + if typeEscaped != nil { + m.BaseRequestBuilder.PathParameters["typeEscaped"] = *typeEscaped + } + return m +} +// NewTeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder instantiates a new TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder and sets the default values. +func NewTeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderInternal(urlParams, requestAdapter, nil, nil) +} +// Get get the policy ID for a given policy name and policy type within Teams administration. +// Deprecated: This method is obsolete. Use GetAsGetPolicyIdWithTypeWithNameGetResponse instead. +// returns a TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/teamsadministration-teamspolicyassignment-getpolicyid?view=graph-rest-1.0 +func (m *TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetRequestConfiguration)(TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateTeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameResponseable), nil +} +// GetAsGetPolicyIdWithTypeWithNameGetResponse get the policy ID for a given policy name and policy type within Teams administration. +// returns a TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/teamsadministration-teamspolicyassignment-getpolicyid?view=graph-rest-1.0 +func (m *TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder) GetAsGetPolicyIdWithTypeWithNameGetResponse(ctx context.Context, requestConfiguration *TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetRequestConfiguration)(TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateTeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponseable), nil +} +// ToGetRequestInformation get the policy ID for a given policy name and policy type within Teams administration. +// returns a *RequestInformation when successful +func (m *TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder when successful +func (m *TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder) WithUrl(rawUrl string)(*TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder) { + return NewTeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_request_builder.go new file mode 100644 index 0000000000..66750aede2 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_request_builder.go @@ -0,0 +1,170 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84 "github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// TeamsPolicyRequestBuilder provides operations to manage the policy property of the microsoft.graph.teamsAdministration.teamsAdminRoot entity. +type TeamsPolicyRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamsPolicyRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsPolicyRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// TeamsPolicyRequestBuilderGetQueryParameters represents a navigation property to the Teams policy assignment object. +type TeamsPolicyRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// TeamsPolicyRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsPolicyRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TeamsPolicyRequestBuilderGetQueryParameters +} +// TeamsPolicyRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsPolicyRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewTeamsPolicyRequestBuilderInternal instantiates a new TeamsPolicyRequestBuilder and sets the default values. +func NewTeamsPolicyRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsPolicyRequestBuilder) { + m := &TeamsPolicyRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/teams/policy{?%24expand,%24select}", pathParameters), + } + return m +} +// NewTeamsPolicyRequestBuilder instantiates a new TeamsPolicyRequestBuilder and sets the default values. +func NewTeamsPolicyRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsPolicyRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamsPolicyRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property policy for admin +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsPolicyRequestBuilder) Delete(ctx context.Context, requestConfiguration *TeamsPolicyRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get represents a navigation property to the Teams policy assignment object. +// returns a TeamsPolicyAssignmentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsPolicyRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsPolicyRequestBuilderGetRequestConfiguration)(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyAssignmentable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.CreateTeamsPolicyAssignmentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyAssignmentable), nil +} +// MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName provides operations to call the getPolicyId method. +// returns a *TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder when successful +func (m *TeamsPolicyRequestBuilder) MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName(name *string, typeEscaped *string)(*TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder) { + return NewTeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, name, typeEscaped) +} +// Patch update the navigation property policy in admin +// returns a TeamsPolicyAssignmentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsPolicyRequestBuilder) Patch(ctx context.Context, body i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyAssignmentable, requestConfiguration *TeamsPolicyRequestBuilderPatchRequestConfiguration)(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyAssignmentable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.CreateTeamsPolicyAssignmentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyAssignmentable), nil +} +// ToDeleteRequestInformation delete navigation property policy for admin +// returns a *RequestInformation when successful +func (m *TeamsPolicyRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamsPolicyRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation represents a navigation property to the Teams policy assignment object. +// returns a *RequestInformation when successful +func (m *TeamsPolicyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsPolicyRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property policy in admin +// returns a *RequestInformation when successful +func (m *TeamsPolicyRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyAssignmentable, requestConfiguration *TeamsPolicyRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// UserAssignments provides operations to manage the userAssignments property of the microsoft.graph.teamsAdministration.teamsPolicyAssignment entity. +// returns a *TeamsPolicyUserAssignmentsRequestBuilder when successful +func (m *TeamsPolicyRequestBuilder) UserAssignments()(*TeamsPolicyUserAssignmentsRequestBuilder) { + return NewTeamsPolicyUserAssignmentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *TeamsPolicyRequestBuilder when successful +func (m *TeamsPolicyRequestBuilder) WithUrl(rawUrl string)(*TeamsPolicyRequestBuilder) { + return NewTeamsPolicyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_user_assignments_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_user_assignments_count_request_builder.go new file mode 100644 index 0000000000..8447c04e21 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_user_assignments_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// TeamsPolicyUserAssignmentsCountRequestBuilder provides operations to count the resources in the collection. +type TeamsPolicyUserAssignmentsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamsPolicyUserAssignmentsCountRequestBuilderGetQueryParameters get the number of the resource +type TeamsPolicyUserAssignmentsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// TeamsPolicyUserAssignmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsPolicyUserAssignmentsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TeamsPolicyUserAssignmentsCountRequestBuilderGetQueryParameters +} +// NewTeamsPolicyUserAssignmentsCountRequestBuilderInternal instantiates a new TeamsPolicyUserAssignmentsCountRequestBuilder and sets the default values. +func NewTeamsPolicyUserAssignmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsPolicyUserAssignmentsCountRequestBuilder) { + m := &TeamsPolicyUserAssignmentsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/teams/policy/userAssignments/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewTeamsPolicyUserAssignmentsCountRequestBuilder instantiates a new TeamsPolicyUserAssignmentsCountRequestBuilder and sets the default values. +func NewTeamsPolicyUserAssignmentsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsPolicyUserAssignmentsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamsPolicyUserAssignmentsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsPolicyUserAssignmentsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsPolicyUserAssignmentsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *TeamsPolicyUserAssignmentsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsPolicyUserAssignmentsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *TeamsPolicyUserAssignmentsCountRequestBuilder when successful +func (m *TeamsPolicyUserAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*TeamsPolicyUserAssignmentsCountRequestBuilder) { + return NewTeamsPolicyUserAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_user_assignments_microsoft_graph_teams_administration_assign_assign_post_request_body.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_user_assignments_microsoft_graph_teams_administration_assign_assign_post_request_body.go new file mode 100644 index 0000000000..9c76a0994a --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_user_assignments_microsoft_graph_teams_administration_assign_assign_post_request_body.go @@ -0,0 +1,129 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" + i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84 "github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration" +) + +type TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewTeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBody instantiates a new TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBody and sets the default values. +func NewTeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBody()(*TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBody) { + m := &TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateTeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.CreateTeamsPolicyUserAssignmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []TeamsPolicyUserAssignmentable when successful +func (m *TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBody) GetValue()([]i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable) + } + return nil +} +// Serialize serializes information the current object +func (m *TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetValue sets the value property value. The value property +func (m *TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBody) SetValue(value []i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetValue()([]i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetValue(value []i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_user_assignments_microsoft_graph_teams_administration_assign_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_user_assignments_microsoft_graph_teams_administration_assign_request_builder.go new file mode 100644 index 0000000000..2789faa702 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_user_assignments_microsoft_graph_teams_administration_assign_request_builder.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilder provides operations to call the assign method. +type TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewTeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilderInternal instantiates a new TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilder and sets the default values. +func NewTeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilder) { + m := &TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/teams/policy/userAssignments/microsoft.graph.teamsAdministration.assign", pathParameters), + } + return m +} +// NewTeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilder instantiates a new TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilder and sets the default values. +func NewTeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilderInternal(urlParams, requestAdapter) +} +// Post assign a Teams policy to a user using the user ID, policy type, and policy ID. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/teamsadministration-teamspolicyuserassignment-assign?view=graph-rest-1.0 +func (m *TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilder) Post(ctx context.Context, body TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBodyable, requestConfiguration *TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation assign a Teams policy to a user using the user ID, policy type, and policy ID. +// returns a *RequestInformation when successful +func (m *TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilder) ToPostRequestInformation(ctx context.Context, body TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBodyable, requestConfiguration *TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilder when successful +func (m *TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilder) WithUrl(rawUrl string)(*TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilder) { + return NewTeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_user_assignments_microsoft_graph_teams_administration_unassign_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_user_assignments_microsoft_graph_teams_administration_unassign_request_builder.go new file mode 100644 index 0000000000..ce03bd3154 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_user_assignments_microsoft_graph_teams_administration_unassign_request_builder.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilder provides operations to call the unassign method. +type TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewTeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilderInternal instantiates a new TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilder and sets the default values. +func NewTeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilder) { + m := &TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/teams/policy/userAssignments/microsoft.graph.teamsAdministration.unassign", pathParameters), + } + return m +} +// NewTeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilder instantiates a new TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilder and sets the default values. +func NewTeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilderInternal(urlParams, requestAdapter) +} +// Post unassign a Teams policy from a user using the user ID and policy type. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/teamsadministration-teamspolicyuserassignment-unassign?view=graph-rest-1.0 +func (m *TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilder) Post(ctx context.Context, body TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBodyable, requestConfiguration *TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation unassign a Teams policy from a user using the user ID and policy type. +// returns a *RequestInformation when successful +func (m *TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilder) ToPostRequestInformation(ctx context.Context, body TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBodyable, requestConfiguration *TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilder when successful +func (m *TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilder) WithUrl(rawUrl string)(*TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilder) { + return NewTeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_user_assignments_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_user_assignments_request_builder.go new file mode 100644 index 0000000000..bf16c17dac --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_user_assignments_request_builder.go @@ -0,0 +1,165 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84 "github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// TeamsPolicyUserAssignmentsRequestBuilder provides operations to manage the userAssignments property of the microsoft.graph.teamsAdministration.teamsPolicyAssignment entity. +type TeamsPolicyUserAssignmentsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamsPolicyUserAssignmentsRequestBuilderGetQueryParameters the collection of user policy assignments. +type TeamsPolicyUserAssignmentsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// TeamsPolicyUserAssignmentsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsPolicyUserAssignmentsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TeamsPolicyUserAssignmentsRequestBuilderGetQueryParameters +} +// TeamsPolicyUserAssignmentsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsPolicyUserAssignmentsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByTeamsPolicyUserAssignmentId provides operations to manage the userAssignments property of the microsoft.graph.teamsAdministration.teamsPolicyAssignment entity. +// returns a *TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder when successful +func (m *TeamsPolicyUserAssignmentsRequestBuilder) ByTeamsPolicyUserAssignmentId(teamsPolicyUserAssignmentId string)(*TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if teamsPolicyUserAssignmentId != "" { + urlTplParams["teamsPolicyUserAssignment%2Did"] = teamsPolicyUserAssignmentId + } + return NewTeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewTeamsPolicyUserAssignmentsRequestBuilderInternal instantiates a new TeamsPolicyUserAssignmentsRequestBuilder and sets the default values. +func NewTeamsPolicyUserAssignmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsPolicyUserAssignmentsRequestBuilder) { + m := &TeamsPolicyUserAssignmentsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/teams/policy/userAssignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewTeamsPolicyUserAssignmentsRequestBuilder instantiates a new TeamsPolicyUserAssignmentsRequestBuilder and sets the default values. +func NewTeamsPolicyUserAssignmentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsPolicyUserAssignmentsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamsPolicyUserAssignmentsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *TeamsPolicyUserAssignmentsCountRequestBuilder when successful +func (m *TeamsPolicyUserAssignmentsRequestBuilder) Count()(*TeamsPolicyUserAssignmentsCountRequestBuilder) { + return NewTeamsPolicyUserAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the collection of user policy assignments. +// returns a TeamsPolicyUserAssignmentCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsPolicyUserAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsPolicyUserAssignmentsRequestBuilderGetRequestConfiguration)(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.CreateTeamsPolicyUserAssignmentCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentCollectionResponseable), nil +} +// MicrosoftGraphTeamsAdministrationAssign provides operations to call the assign method. +// returns a *TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilder when successful +func (m *TeamsPolicyUserAssignmentsRequestBuilder) MicrosoftGraphTeamsAdministrationAssign()(*TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilder) { + return NewTeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// MicrosoftGraphTeamsAdministrationUnassign provides operations to call the unassign method. +// returns a *TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilder when successful +func (m *TeamsPolicyUserAssignmentsRequestBuilder) MicrosoftGraphTeamsAdministrationUnassign()(*TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilder) { + return NewTeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Post create new navigation property to userAssignments for admin +// returns a TeamsPolicyUserAssignmentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsPolicyUserAssignmentsRequestBuilder) Post(ctx context.Context, body i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable, requestConfiguration *TeamsPolicyUserAssignmentsRequestBuilderPostRequestConfiguration)(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.CreateTeamsPolicyUserAssignmentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable), nil +} +// ToGetRequestInformation the collection of user policy assignments. +// returns a *RequestInformation when successful +func (m *TeamsPolicyUserAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsPolicyUserAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to userAssignments for admin +// returns a *RequestInformation when successful +func (m *TeamsPolicyUserAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable, requestConfiguration *TeamsPolicyUserAssignmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *TeamsPolicyUserAssignmentsRequestBuilder when successful +func (m *TeamsPolicyUserAssignmentsRequestBuilder) WithUrl(rawUrl string)(*TeamsPolicyUserAssignmentsRequestBuilder) { + return NewTeamsPolicyUserAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_user_assignments_teams_policy_user_assignment_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_user_assignments_teams_policy_user_assignment_item_request_builder.go new file mode 100644 index 0000000000..48ae85d2a2 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_policy_user_assignments_teams_policy_user_assignment_item_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84 "github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder provides operations to manage the userAssignments property of the microsoft.graph.teamsAdministration.teamsPolicyAssignment entity. +type TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters the collection of user policy assignments. +type TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters +} +// TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewTeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderInternal instantiates a new TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder and sets the default values. +func NewTeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder) { + m := &TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/teams/policy/userAssignments/{teamsPolicyUserAssignment%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewTeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder instantiates a new TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder and sets the default values. +func NewTeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property userAssignments for admin +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the collection of user policy assignments. +// returns a TeamsPolicyUserAssignmentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderGetRequestConfiguration)(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.CreateTeamsPolicyUserAssignmentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable), nil +} +// Patch update the navigation property userAssignments in admin +// returns a TeamsPolicyUserAssignmentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder) Patch(ctx context.Context, body i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable, requestConfiguration *TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderPatchRequestConfiguration)(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.CreateTeamsPolicyUserAssignmentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable), nil +} +// ToDeleteRequestInformation delete navigation property userAssignments for admin +// returns a *RequestInformation when successful +func (m *TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the collection of user policy assignments. +// returns a *RequestInformation when successful +func (m *TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property userAssignments in admin +// returns a *RequestInformation when successful +func (m *TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable, requestConfiguration *TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder when successful +func (m *TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder) { + return NewTeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_request_builder.go new file mode 100644 index 0000000000..ede5c2a2cc --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_request_builder.go @@ -0,0 +1,170 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84 "github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// TeamsRequestBuilder provides operations to manage the teams property of the microsoft.graph.admin entity. +type TeamsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamsRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// TeamsRequestBuilderGetQueryParameters a container for Teams administration functionalities, such as user configurations and policy assignments. +type TeamsRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// TeamsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TeamsRequestBuilderGetQueryParameters +} +// TeamsRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewTeamsRequestBuilderInternal instantiates a new TeamsRequestBuilder and sets the default values. +func NewTeamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsRequestBuilder) { + m := &TeamsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/teams{?%24expand,%24select}", pathParameters), + } + return m +} +// NewTeamsRequestBuilder instantiates a new TeamsRequestBuilder and sets the default values. +func NewTeamsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamsRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property teams for admin +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsRequestBuilder) Delete(ctx context.Context, requestConfiguration *TeamsRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a container for Teams administration functionalities, such as user configurations and policy assignments. +// returns a TeamsAdminRootable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsRequestBuilderGetRequestConfiguration)(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsAdminRootable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.CreateTeamsAdminRootFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsAdminRootable), nil +} +// Patch update the navigation property teams in admin +// returns a TeamsAdminRootable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsRequestBuilder) Patch(ctx context.Context, body i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsAdminRootable, requestConfiguration *TeamsRequestBuilderPatchRequestConfiguration)(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsAdminRootable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.CreateTeamsAdminRootFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsAdminRootable), nil +} +// Policy provides operations to manage the policy property of the microsoft.graph.teamsAdministration.teamsAdminRoot entity. +// returns a *TeamsPolicyRequestBuilder when successful +func (m *TeamsRequestBuilder) Policy()(*TeamsPolicyRequestBuilder) { + return NewTeamsPolicyRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property teams for admin +// returns a *RequestInformation when successful +func (m *TeamsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamsRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a container for Teams administration functionalities, such as user configurations and policy assignments. +// returns a *RequestInformation when successful +func (m *TeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property teams in admin +// returns a *RequestInformation when successful +func (m *TeamsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsAdminRootable, requestConfiguration *TeamsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// UserConfigurations provides operations to manage the userConfigurations property of the microsoft.graph.teamsAdministration.teamsAdminRoot entity. +// returns a *TeamsUserConfigurationsRequestBuilder when successful +func (m *TeamsRequestBuilder) UserConfigurations()(*TeamsUserConfigurationsRequestBuilder) { + return NewTeamsUserConfigurationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *TeamsRequestBuilder when successful +func (m *TeamsRequestBuilder) WithUrl(rawUrl string)(*TeamsRequestBuilder) { + return NewTeamsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_user_configurations_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_user_configurations_count_request_builder.go new file mode 100644 index 0000000000..91bfbeb25f --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_user_configurations_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// TeamsUserConfigurationsCountRequestBuilder provides operations to count the resources in the collection. +type TeamsUserConfigurationsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamsUserConfigurationsCountRequestBuilderGetQueryParameters get the number of the resource +type TeamsUserConfigurationsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// TeamsUserConfigurationsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsUserConfigurationsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TeamsUserConfigurationsCountRequestBuilderGetQueryParameters +} +// NewTeamsUserConfigurationsCountRequestBuilderInternal instantiates a new TeamsUserConfigurationsCountRequestBuilder and sets the default values. +func NewTeamsUserConfigurationsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsUserConfigurationsCountRequestBuilder) { + m := &TeamsUserConfigurationsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/teams/userConfigurations/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewTeamsUserConfigurationsCountRequestBuilder instantiates a new TeamsUserConfigurationsCountRequestBuilder and sets the default values. +func NewTeamsUserConfigurationsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsUserConfigurationsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamsUserConfigurationsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsUserConfigurationsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsUserConfigurationsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *TeamsUserConfigurationsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsUserConfigurationsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *TeamsUserConfigurationsCountRequestBuilder when successful +func (m *TeamsUserConfigurationsCountRequestBuilder) WithUrl(rawUrl string)(*TeamsUserConfigurationsCountRequestBuilder) { + return NewTeamsUserConfigurationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_user_configurations_item_user_mailbox_settings_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_user_configurations_item_user_mailbox_settings_request_builder.go new file mode 100644 index 0000000000..b911b2f555 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_user_configurations_item_user_mailbox_settings_request_builder.go @@ -0,0 +1,126 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder builds and executes requests for operations under \admin\teams\userConfigurations\{teamsUserConfiguration-id}\user\mailboxSettings +type TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilderGetQueryParameters settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +type TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilderGetQueryParameters +} +// TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewTeamsUserConfigurationsItemUserMailboxSettingsRequestBuilderInternal instantiates a new TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder and sets the default values. +func NewTeamsUserConfigurationsItemUserMailboxSettingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder) { + m := &TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/teams/userConfigurations/{teamsUserConfiguration%2Did}/user/mailboxSettings{?%24expand,%24select}", pathParameters), + } + return m +} +// NewTeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder instantiates a new TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder and sets the default values. +func NewTeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamsUserConfigurationsItemUserMailboxSettingsRequestBuilderInternal(urlParams, requestAdapter) +} +// Get settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +// returns a MailboxSettingsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateMailboxSettingsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable), nil +} +// Patch update property mailboxSettings value. +// returns a MailboxSettingsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, requestConfiguration *TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateMailboxSettingsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable), nil +} +// ToGetRequestInformation settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +// returns a *RequestInformation when successful +func (m *TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update property mailboxSettings value. +// returns a *RequestInformation when successful +func (m *TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, requestConfiguration *TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder when successful +func (m *TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder) { + return NewTeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_user_configurations_item_user_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_user_configurations_item_user_request_builder.go new file mode 100644 index 0000000000..72d6826006 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_user_configurations_item_user_request_builder.go @@ -0,0 +1,94 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// TeamsUserConfigurationsItemUserRequestBuilder provides operations to manage the user property of the microsoft.graph.teamsAdministration.teamsUserConfiguration entity. +type TeamsUserConfigurationsItemUserRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamsUserConfigurationsItemUserRequestBuilderGetQueryParameters represents an Entra user account. +type TeamsUserConfigurationsItemUserRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// TeamsUserConfigurationsItemUserRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsUserConfigurationsItemUserRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TeamsUserConfigurationsItemUserRequestBuilderGetQueryParameters +} +// NewTeamsUserConfigurationsItemUserRequestBuilderInternal instantiates a new TeamsUserConfigurationsItemUserRequestBuilder and sets the default values. +func NewTeamsUserConfigurationsItemUserRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsUserConfigurationsItemUserRequestBuilder) { + m := &TeamsUserConfigurationsItemUserRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/teams/userConfigurations/{teamsUserConfiguration%2Did}/user{?%24expand,%24select}", pathParameters), + } + return m +} +// NewTeamsUserConfigurationsItemUserRequestBuilder instantiates a new TeamsUserConfigurationsItemUserRequestBuilder and sets the default values. +func NewTeamsUserConfigurationsItemUserRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsUserConfigurationsItemUserRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamsUserConfigurationsItemUserRequestBuilderInternal(urlParams, requestAdapter) +} +// Get represents an Entra user account. +// returns a Userable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsUserConfigurationsItemUserRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsUserConfigurationsItemUserRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateUserFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable), nil +} +// MailboxSettings the mailboxSettings property +// returns a *TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder when successful +func (m *TeamsUserConfigurationsItemUserRequestBuilder) MailboxSettings()(*TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder) { + return NewTeamsUserConfigurationsItemUserMailboxSettingsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ServiceProvisioningErrors the serviceProvisioningErrors property +// returns a *TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder when successful +func (m *TeamsUserConfigurationsItemUserRequestBuilder) ServiceProvisioningErrors()(*TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder) { + return NewTeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation represents an Entra user account. +// returns a *RequestInformation when successful +func (m *TeamsUserConfigurationsItemUserRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsUserConfigurationsItemUserRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *TeamsUserConfigurationsItemUserRequestBuilder when successful +func (m *TeamsUserConfigurationsItemUserRequestBuilder) WithUrl(rawUrl string)(*TeamsUserConfigurationsItemUserRequestBuilder) { + return NewTeamsUserConfigurationsItemUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_user_configurations_item_user_service_provisioning_errors_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_user_configurations_item_user_service_provisioning_errors_count_request_builder.go new file mode 100644 index 0000000000..ec89e8b4ba --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_user_configurations_item_user_service_provisioning_errors_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder provides operations to count the resources in the collection. +type TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters get the number of the resource +type TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters +} +// NewTeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilderInternal instantiates a new TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder and sets the default values. +func NewTeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder) { + m := &TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/teams/userConfigurations/{teamsUserConfiguration%2Did}/user/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewTeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder instantiates a new TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder and sets the default values. +func NewTeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder when successful +func (m *TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder) WithUrl(rawUrl string)(*TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder) { + return NewTeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_user_configurations_item_user_service_provisioning_errors_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_user_configurations_item_user_service_provisioning_errors_request_builder.go new file mode 100644 index 0000000000..5cb486201e --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_user_configurations_item_user_service_provisioning_errors_request_builder.go @@ -0,0 +1,101 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder builds and executes requests for operations under \admin\teams\userConfigurations\{teamsUserConfiguration-id}\user\serviceProvisioningErrors +type TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +type TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters +} +// NewTeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilderInternal instantiates a new TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder and sets the default values. +func NewTeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder) { + m := &TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/teams/userConfigurations/{teamsUserConfiguration%2Did}/user/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewTeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder instantiates a new TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder and sets the default values. +func NewTeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder when successful +func (m *TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder) Count()(*TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder) { + return NewTeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +// returns a ServiceProvisioningErrorCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateServiceProvisioningErrorCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable), nil +} +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +// returns a *RequestInformation when successful +func (m *TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder when successful +func (m *TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder) WithUrl(rawUrl string)(*TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder) { + return NewTeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_user_configurations_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_user_configurations_request_builder.go new file mode 100644 index 0000000000..cbbfbf136e --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_user_configurations_request_builder.go @@ -0,0 +1,158 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84 "github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// TeamsUserConfigurationsRequestBuilder provides operations to manage the userConfigurations property of the microsoft.graph.teamsAdministration.teamsAdminRoot entity. +type TeamsUserConfigurationsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamsUserConfigurationsRequestBuilderGetQueryParameters get user configurations for all Teams users who belong to a tenant. +type TeamsUserConfigurationsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// TeamsUserConfigurationsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsUserConfigurationsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TeamsUserConfigurationsRequestBuilderGetQueryParameters +} +// TeamsUserConfigurationsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsUserConfigurationsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByTeamsUserConfigurationId provides operations to manage the userConfigurations property of the microsoft.graph.teamsAdministration.teamsAdminRoot entity. +// returns a *TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder when successful +func (m *TeamsUserConfigurationsRequestBuilder) ByTeamsUserConfigurationId(teamsUserConfigurationId string)(*TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if teamsUserConfigurationId != "" { + urlTplParams["teamsUserConfiguration%2Did"] = teamsUserConfigurationId + } + return NewTeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewTeamsUserConfigurationsRequestBuilderInternal instantiates a new TeamsUserConfigurationsRequestBuilder and sets the default values. +func NewTeamsUserConfigurationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsUserConfigurationsRequestBuilder) { + m := &TeamsUserConfigurationsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/teams/userConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewTeamsUserConfigurationsRequestBuilder instantiates a new TeamsUserConfigurationsRequestBuilder and sets the default values. +func NewTeamsUserConfigurationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsUserConfigurationsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamsUserConfigurationsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *TeamsUserConfigurationsCountRequestBuilder when successful +func (m *TeamsUserConfigurationsRequestBuilder) Count()(*TeamsUserConfigurationsCountRequestBuilder) { + return NewTeamsUserConfigurationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get user configurations for all Teams users who belong to a tenant. +// returns a TeamsUserConfigurationCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/teamsadministration-teamsadminroot-list-userconfigurations?view=graph-rest-1.0 +func (m *TeamsUserConfigurationsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsUserConfigurationsRequestBuilderGetRequestConfiguration)(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsUserConfigurationCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.CreateTeamsUserConfigurationCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsUserConfigurationCollectionResponseable), nil +} +// Post create new navigation property to userConfigurations for admin +// returns a TeamsUserConfigurationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsUserConfigurationsRequestBuilder) Post(ctx context.Context, body i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsUserConfigurationable, requestConfiguration *TeamsUserConfigurationsRequestBuilderPostRequestConfiguration)(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsUserConfigurationable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.CreateTeamsUserConfigurationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsUserConfigurationable), nil +} +// ToGetRequestInformation get user configurations for all Teams users who belong to a tenant. +// returns a *RequestInformation when successful +func (m *TeamsUserConfigurationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsUserConfigurationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to userConfigurations for admin +// returns a *RequestInformation when successful +func (m *TeamsUserConfigurationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsUserConfigurationable, requestConfiguration *TeamsUserConfigurationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *TeamsUserConfigurationsRequestBuilder when successful +func (m *TeamsUserConfigurationsRequestBuilder) WithUrl(rawUrl string)(*TeamsUserConfigurationsRequestBuilder) { + return NewTeamsUserConfigurationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_user_configurations_teams_user_configuration_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_user_configurations_teams_user_configuration_item_request_builder.go new file mode 100644 index 0000000000..c8d487e3d5 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/admin/teams_user_configurations_teams_user_configuration_item_request_builder.go @@ -0,0 +1,168 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84 "github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder provides operations to manage the userConfigurations property of the microsoft.graph.teamsAdministration.teamsAdminRoot entity. +type TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderGetQueryParameters read the Teams user configurations for a specific user using their ID (the user's identifier). +type TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderGetQueryParameters +} +// TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewTeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderInternal instantiates a new TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder and sets the default values. +func NewTeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder) { + m := &TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/teams/userConfigurations/{teamsUserConfiguration%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewTeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder instantiates a new TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder and sets the default values. +func NewTeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property userConfigurations for admin +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get read the Teams user configurations for a specific user using their ID (the user's identifier). +// returns a TeamsUserConfigurationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/teamsadministration-teamsuserconfiguration-get?view=graph-rest-1.0 +func (m *TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderGetRequestConfiguration)(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsUserConfigurationable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.CreateTeamsUserConfigurationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsUserConfigurationable), nil +} +// Patch update the navigation property userConfigurations in admin +// returns a TeamsUserConfigurationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder) Patch(ctx context.Context, body i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsUserConfigurationable, requestConfiguration *TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration)(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsUserConfigurationable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.CreateTeamsUserConfigurationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsUserConfigurationable), nil +} +// ToDeleteRequestInformation delete navigation property userConfigurations for admin +// returns a *RequestInformation when successful +func (m *TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation read the Teams user configurations for a specific user using their ID (the user's identifier). +// returns a *RequestInformation when successful +func (m *TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property userConfigurations in admin +// returns a *RequestInformation when successful +func (m *TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsUserConfigurationable, requestConfiguration *TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// User provides operations to manage the user property of the microsoft.graph.teamsAdministration.teamsUserConfiguration entity. +// returns a *TeamsUserConfigurationsItemUserRequestBuilder when successful +func (m *TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder) User()(*TeamsUserConfigurationsItemUserRequestBuilder) { + return NewTeamsUserConfigurationsItemUserRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder when successful +func (m *TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder) WithUrl(rawUrl string)(*TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder) { + return NewTeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/applications/item_federated_identity_credentials_federated_identity_credential_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/applications/item_federated_identity_credentials_federated_identity_credential_item_request_builder.go index 1327d49c4a..70ac5560fe 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/applications/item_federated_identity_credentials_federated_identity_credential_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/applications/item_federated_identity_credentials_federated_identity_credential_item_request_builder.go @@ -21,7 +21,7 @@ type ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilderGetQueryParameters read the properties and relationships of a federatedIdentityCredential object. +// ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilderGetQueryParameters read the properties and relationships of a federatedIdentityCredential object assigned to an application. type ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -76,7 +76,7 @@ func (m *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestB } return nil } -// Get read the properties and relationships of a federatedIdentityCredential object. +// Get read the properties and relationships of a federatedIdentityCredential object assigned to an application. // returns a FederatedIdentityCredentialable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -133,7 +133,7 @@ func (m *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a federatedIdentityCredential object. +// ToGetRequestInformation read the properties and relationships of a federatedIdentityCredential object assigned to an application. // returns a *RequestInformation when successful func (m *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/applications/item_federated_identity_credentials_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/applications/item_federated_identity_credentials_request_builder.go index 15ee5d28ec..9af2b9b63e 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/applications/item_federated_identity_credentials_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/applications/item_federated_identity_credentials_request_builder.go @@ -14,7 +14,7 @@ import ( type ItemFederatedIdentityCredentialsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemFederatedIdentityCredentialsRequestBuilderGetQueryParameters get a list of the federatedIdentityCredential objects and their properties. +// ItemFederatedIdentityCredentialsRequestBuilderGetQueryParameters get a list of the federatedIdentityCredential objects and their properties assigned to an application. type ItemFederatedIdentityCredentialsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,12 @@ func NewItemFederatedIdentityCredentialsRequestBuilder(rawUrl string, requestAda func (m *ItemFederatedIdentityCredentialsRequestBuilder) Count()(*ItemFederatedIdentityCredentialsCountRequestBuilder) { return NewItemFederatedIdentityCredentialsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the federatedIdentityCredential objects and their properties. +// Get get a list of the federatedIdentityCredential objects and their properties assigned to an application. // returns a FederatedIdentityCredentialCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/application-list-federatedidentitycredentials?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/federatedidentitycredential-list?view=graph-rest-1.0 func (m *ItemFederatedIdentityCredentialsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemFederatedIdentityCredentialsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FederatedIdentityCredentialCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -107,7 +107,7 @@ func (m *ItemFederatedIdentityCredentialsRequestBuilder) Get(ctx context.Context // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/application-post-federatedidentitycredentials?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/federatedidentitycredential-post?view=graph-rest-1.0 func (m *ItemFederatedIdentityCredentialsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FederatedIdentityCredentialable, requestConfiguration *ItemFederatedIdentityCredentialsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FederatedIdentityCredentialable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +125,7 @@ func (m *ItemFederatedIdentityCredentialsRequestBuilder) Post(ctx context.Contex } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FederatedIdentityCredentialable), nil } -// ToGetRequestInformation get a list of the federatedIdentityCredential objects and their properties. +// ToGetRequestInformation get a list of the federatedIdentityCredential objects and their properties assigned to an application. // returns a *RequestInformation when successful func (m *ItemFederatedIdentityCredentialsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemFederatedIdentityCredentialsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/applications/item_federated_identity_credentials_with_name_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/applications/item_federated_identity_credentials_with_name_request_builder.go index 5858f736ed..991c4adbf0 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/applications/item_federated_identity_credentials_with_name_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/applications/item_federated_identity_credentials_with_name_request_builder.go @@ -21,7 +21,7 @@ type ItemFederatedIdentityCredentialsWithNameRequestBuilderDeleteRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemFederatedIdentityCredentialsWithNameRequestBuilderGetQueryParameters read the properties and relationships of a federatedIdentityCredential object. +// ItemFederatedIdentityCredentialsWithNameRequestBuilderGetQueryParameters read the properties and relationships of a federatedIdentityCredential object assigned to an application. type ItemFederatedIdentityCredentialsWithNameRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -79,7 +79,7 @@ func (m *ItemFederatedIdentityCredentialsWithNameRequestBuilder) Delete(ctx cont } return nil } -// Get read the properties and relationships of a federatedIdentityCredential object. +// Get read the properties and relationships of a federatedIdentityCredential object assigned to an application. // returns a FederatedIdentityCredentialable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -136,7 +136,7 @@ func (m *ItemFederatedIdentityCredentialsWithNameRequestBuilder) ToDeleteRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a federatedIdentityCredential object. +// ToGetRequestInformation read the properties and relationships of a federatedIdentityCredential object assigned to an application. // returns a *RequestInformation when successful func (m *ItemFederatedIdentityCredentialsWithNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemFederatedIdentityCredentialsWithNameRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/applications/item_restore_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/applications/item_restore_request_builder.go index cf645050aa..e740de152a 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/applications/item_restore_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/applications/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/chats/chat_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/chats/chat_item_request_builder.go index 9d99708c21..1a6646ee78 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/chats/chat_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/chats/chat_item_request_builder.go @@ -167,6 +167,11 @@ func (m *ChatItemRequestBuilder) PermissionGrants()(*ItemPermissionGrantsRequest func (m *ChatItemRequestBuilder) PinnedMessages()(*ItemPinnedMessagesRequestBuilder) { return NewItemPinnedMessagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// RemoveAllAccessForUser provides operations to call the removeAllAccessForUser method. +// returns a *ItemRemoveAllAccessForUserRequestBuilder when successful +func (m *ChatItemRequestBuilder) RemoveAllAccessForUser()(*ItemRemoveAllAccessForUserRequestBuilder) { + return NewItemRemoveAllAccessForUserRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // SendActivityNotification provides operations to call the sendActivityNotification method. // returns a *ItemSendActivityNotificationRequestBuilder when successful func (m *ChatItemRequestBuilder) SendActivityNotification()(*ItemSendActivityNotificationRequestBuilder) { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/chats/item_messages_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/chats/item_messages_request_builder.go index 0f120b85b5..1f850bb431 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/chats/item_messages_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/chats/item_messages_request_builder.go @@ -107,12 +107,12 @@ func (m *ItemMessagesRequestBuilder) Get(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified channel or a chat. +// Post send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0 func (m *ItemMessagesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemMessagesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -144,7 +144,7 @@ func (m *ItemMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified channel or a chat. +// ToPostRequestInformation send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. // returns a *RequestInformation when successful func (m *ItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/chats/item_remove_all_access_for_user_post_request_body.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/chats/item_remove_all_access_for_user_post_request_body.go new file mode 100644 index 0000000000..c4d2f79140 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/chats/item_remove_all_access_for_user_post_request_body.go @@ -0,0 +1,117 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemRemoveAllAccessForUserPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemRemoveAllAccessForUserPostRequestBody instantiates a new ItemRemoveAllAccessForUserPostRequestBody and sets the default values. +func NewItemRemoveAllAccessForUserPostRequestBody()(*ItemRemoveAllAccessForUserPostRequestBody) { + m := &ItemRemoveAllAccessForUserPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemRemoveAllAccessForUserPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemRemoveAllAccessForUserPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemRemoveAllAccessForUserPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemRemoveAllAccessForUserPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemRemoveAllAccessForUserPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemRemoveAllAccessForUserPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["user"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateTeamworkUserIdentityFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetUser(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable)) + } + return nil + } + return res +} +// GetUser gets the user property value. The user property +// returns a TeamworkUserIdentityable when successful +func (m *ItemRemoveAllAccessForUserPostRequestBody) GetUser()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable) { + val, err := m.GetBackingStore().Get("user") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemRemoveAllAccessForUserPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("user", m.GetUser()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemRemoveAllAccessForUserPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemRemoveAllAccessForUserPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetUser sets the user property value. The user property +func (m *ItemRemoveAllAccessForUserPostRequestBody) SetUser(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable)() { + err := m.GetBackingStore().Set("user", value) + if err != nil { + panic(err) + } +} +type ItemRemoveAllAccessForUserPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetUser()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetUser(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/chats/item_remove_all_access_for_user_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/chats/item_remove_all_access_for_user_request_builder.go new file mode 100644 index 0000000000..4649cb3ec0 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/chats/item_remove_all_access_for_user_request_builder.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemRemoveAllAccessForUserRequestBuilder provides operations to call the removeAllAccessForUser method. +type ItemRemoveAllAccessForUserRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemRemoveAllAccessForUserRequestBuilderInternal instantiates a new ItemRemoveAllAccessForUserRequestBuilder and sets the default values. +func NewItemRemoveAllAccessForUserRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemRemoveAllAccessForUserRequestBuilder) { + m := &ItemRemoveAllAccessForUserRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/chats/{chat%2Did}/removeAllAccessForUser", pathParameters), + } + return m +} +// NewItemRemoveAllAccessForUserRequestBuilder instantiates a new ItemRemoveAllAccessForUserRequestBuilder and sets the default values. +func NewItemRemoveAllAccessForUserRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemRemoveAllAccessForUserRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemRemoveAllAccessForUserRequestBuilderInternal(urlParams, requestAdapter) +} +// Post remove access to a chat for a user. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-removeallaccessforuser?view=graph-rest-1.0 +func (m *ItemRemoveAllAccessForUserRequestBuilder) Post(ctx context.Context, body ItemRemoveAllAccessForUserPostRequestBodyable, requestConfiguration *ItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation remove access to a chat for a user. +// returns a *RequestInformation when successful +func (m *ItemRemoveAllAccessForUserRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemRemoveAllAccessForUserPostRequestBodyable, requestConfiguration *ItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemRemoveAllAccessForUserRequestBuilder when successful +func (m *ItemRemoveAllAccessForUserRequestBuilder) WithUrl(rawUrl string)(*ItemRemoveAllAccessForUserRequestBuilder) { + return NewItemRemoveAllAccessForUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/16b05c28daa64a3c314f18b1da8b100920f380427d2ac40de294f57846b53637.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/16b05c28daa64a3c314f18b1da8b100920f380427d2ac40de294f57846b53637.go new file mode 100644 index 0000000000..65e9197cdc --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/16b05c28daa64a3c314f18b1da8b100920f380427d2ac40de294f57846b53637.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder provides operations to manage the reactions property of the microsoft.graph.engagementConversationMessage entity. +type OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderGetQueryParameters a collection of reactions (such as like and smile) that users have applied to this message. +type OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderGetQueryParameters +} +// OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewOnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder) { + m := &OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/starter/reactions/{engagementConversationMessageReaction%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder instantiates a new OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property reactions for communications +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a collection of reactions (such as like and smile) that users have applied to this message. +// returns a EngagementConversationMessageReactionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageReactionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable), nil +} +// Patch update the navigation property reactions in communications +// returns a EngagementConversationMessageReactionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable, requestConfiguration *OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageReactionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable), nil +} +// ToDeleteRequestInformation delete navigation property reactions for communications +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a collection of reactions (such as like and smile) that users have applied to this message. +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property reactions in communications +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable, requestConfiguration *OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder when successful +func (m *OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder) { + return NewOnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/7faab7cc70a10cbbdda06898cfc737d856fde1a39442b4fea90d70a91f498cd6.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/7faab7cc70a10cbbdda06898cfc737d856fde1a39442b4fea90d70a91f498cd6.go new file mode 100644 index 0000000000..563781547d --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/7faab7cc70a10cbbdda06898cfc737d856fde1a39442b4fea90d70a91f498cd6.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder provides operations to manage the reactions property of the microsoft.graph.engagementConversationMessage entity. +type OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetQueryParameters a collection of reactions (such as like and smile) that users have applied to this message. +type OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetQueryParameters +} +// OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewOnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) { + m := &OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/starter/replies/{engagementConversationMessage%2Did}/reactions/{engagementConversationMessageReaction%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder instantiates a new OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property reactions for communications +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a collection of reactions (such as like and smile) that users have applied to this message. +// returns a EngagementConversationMessageReactionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageReactionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable), nil +} +// Patch update the navigation property reactions in communications +// returns a EngagementConversationMessageReactionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable, requestConfiguration *OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageReactionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable), nil +} +// ToDeleteRequestInformation delete navigation property reactions for communications +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a collection of reactions (such as like and smile) that users have applied to this message. +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property reactions in communications +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable, requestConfiguration *OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder when successful +func (m *OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) { + return NewOnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/8945eae3814b6721d6b572182b7b94fbdebe294123a0966cbd530ae187e564cb.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/8945eae3814b6721d6b572182b7b94fbdebe294123a0966cbd530ae187e564cb.go new file mode 100644 index 0000000000..cf4f50df97 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/8945eae3814b6721d6b572182b7b94fbdebe294123a0966cbd530ae187e564cb.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder provides operations to manage the reactions property of the microsoft.graph.engagementConversationMessage entity. +type OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetQueryParameters a collection of reactions (such as like and smile) that users have applied to this message. +type OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetQueryParameters +} +// OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewOnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) { + m := &OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/messages/{engagementConversationMessage%2Did}/reactions/{engagementConversationMessageReaction%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder instantiates a new OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property reactions for communications +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a collection of reactions (such as like and smile) that users have applied to this message. +// returns a EngagementConversationMessageReactionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageReactionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable), nil +} +// Patch update the navigation property reactions in communications +// returns a EngagementConversationMessageReactionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable, requestConfiguration *OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageReactionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable), nil +} +// ToDeleteRequestInformation delete navigation property reactions for communications +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a collection of reactions (such as like and smile) that users have applied to this message. +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property reactions in communications +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable, requestConfiguration *OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) { + return NewOnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/8c6d5f1a79253b51a08b71f5c32162507b1e6b48dac019bf93a108cb574f6728.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/8c6d5f1a79253b51a08b71f5c32162507b1e6b48dac019bf93a108cb574f6728.go new file mode 100644 index 0000000000..4e96b9aad5 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/8c6d5f1a79253b51a08b71f5c32162507b1e6b48dac019bf93a108cb574f6728.go @@ -0,0 +1,175 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder provides operations to manage the replies property of the microsoft.graph.engagementConversationMessage entity. +type OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderGetQueryParameters a collection of messages that are replies to this message and form a threaded discussion. +type OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderGetQueryParameters +} +// OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewOnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder) { + m := &OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/messages/{engagementConversationMessage%2Did}/replies/{engagementConversationMessage%2Did1}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder instantiates a new OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Conversation provides operations to manage the conversation property of the microsoft.graph.engagementConversationMessage entity. +// returns a *OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder) Conversation()(*OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder) { + return NewOnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Delete delete navigation property replies for communications +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a collection of messages that are replies to this message and form a threaded discussion. +// returns a EngagementConversationMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable), nil +} +// Patch update the navigation property replies in communications +// returns a EngagementConversationMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable, requestConfiguration *OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable), nil +} +// Reactions provides operations to manage the reactions property of the microsoft.graph.engagementConversationMessage entity. +// returns a *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder) Reactions()(*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder) { + return NewOnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ReplyTo provides operations to manage the replyTo property of the microsoft.graph.engagementConversationMessage entity. +// returns a *OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder) ReplyTo()(*OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder) { + return NewOnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property replies for communications +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a collection of messages that are replies to this message and form a threaded discussion. +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property replies in communications +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable, requestConfiguration *OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder) { + return NewOnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/997fdbba6e2a2a8eb363e91d267b855b4eaf3b0837ede369ee598efc6dd73bb4.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/997fdbba6e2a2a8eb363e91d267b855b4eaf3b0837ede369ee598efc6dd73bb4.go new file mode 100644 index 0000000000..dcb60e4df6 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/997fdbba6e2a2a8eb363e91d267b855b4eaf3b0837ede369ee598efc6dd73bb4.go @@ -0,0 +1,175 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder provides operations to manage the replies property of the microsoft.graph.engagementConversationMessage entity. +type OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderGetQueryParameters a collection of messages that are replies to this message and form a threaded discussion. +type OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderGetQueryParameters +} +// OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewOnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder) { + m := &OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/starter/replies/{engagementConversationMessage%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder instantiates a new OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Conversation provides operations to manage the conversation property of the microsoft.graph.engagementConversationMessage entity. +// returns a *OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder when successful +func (m *OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder) Conversation()(*OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder) { + return NewOnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Delete delete navigation property replies for communications +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a collection of messages that are replies to this message and form a threaded discussion. +// returns a EngagementConversationMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable), nil +} +// Patch update the navigation property replies in communications +// returns a EngagementConversationMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable, requestConfiguration *OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable), nil +} +// Reactions provides operations to manage the reactions property of the microsoft.graph.engagementConversationMessage entity. +// returns a *OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder when successful +func (m *OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder) Reactions()(*OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder) { + return NewOnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ReplyTo provides operations to manage the replyTo property of the microsoft.graph.engagementConversationMessage entity. +// returns a *OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder when successful +func (m *OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder) ReplyTo()(*OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder) { + return NewOnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property replies for communications +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a collection of messages that are replies to this message and form a threaded discussion. +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property replies in communications +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable, requestConfiguration *OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder when successful +func (m *OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder) { + return NewOnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_adhoc_call_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_adhoc_call_item_request_builder.go new file mode 100644 index 0000000000..8f98b3c8e0 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_adhoc_call_item_request_builder.go @@ -0,0 +1,170 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// AdhocCallsAdhocCallItemRequestBuilder provides operations to manage the adhocCalls property of the microsoft.graph.cloudCommunications entity. +type AdhocCallsAdhocCallItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AdhocCallsAdhocCallItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsAdhocCallItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// AdhocCallsAdhocCallItemRequestBuilderGetQueryParameters get adhocCalls from communications +type AdhocCallsAdhocCallItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// AdhocCallsAdhocCallItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsAdhocCallItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AdhocCallsAdhocCallItemRequestBuilderGetQueryParameters +} +// AdhocCallsAdhocCallItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsAdhocCallItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewAdhocCallsAdhocCallItemRequestBuilderInternal instantiates a new AdhocCallsAdhocCallItemRequestBuilder and sets the default values. +func NewAdhocCallsAdhocCallItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsAdhocCallItemRequestBuilder) { + m := &AdhocCallsAdhocCallItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewAdhocCallsAdhocCallItemRequestBuilder instantiates a new AdhocCallsAdhocCallItemRequestBuilder and sets the default values. +func NewAdhocCallsAdhocCallItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsAdhocCallItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAdhocCallsAdhocCallItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property adhocCalls for communications +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsAdhocCallItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *AdhocCallsAdhocCallItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get adhocCalls from communications +// returns a AdhocCallable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsAdhocCallItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AdhocCallsAdhocCallItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateAdhocCallFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable), nil +} +// Patch update the navigation property adhocCalls in communications +// returns a AdhocCallable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsAdhocCallItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable, requestConfiguration *AdhocCallsAdhocCallItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateAdhocCallFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable), nil +} +// Recordings provides operations to manage the recordings property of the microsoft.graph.adhocCall entity. +// returns a *AdhocCallsItemRecordingsRequestBuilder when successful +func (m *AdhocCallsAdhocCallItemRequestBuilder) Recordings()(*AdhocCallsItemRecordingsRequestBuilder) { + return NewAdhocCallsItemRecordingsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property adhocCalls for communications +// returns a *RequestInformation when successful +func (m *AdhocCallsAdhocCallItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *AdhocCallsAdhocCallItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get adhocCalls from communications +// returns a *RequestInformation when successful +func (m *AdhocCallsAdhocCallItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AdhocCallsAdhocCallItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property adhocCalls in communications +// returns a *RequestInformation when successful +func (m *AdhocCallsAdhocCallItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable, requestConfiguration *AdhocCallsAdhocCallItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// Transcripts provides operations to manage the transcripts property of the microsoft.graph.adhocCall entity. +// returns a *AdhocCallsItemTranscriptsRequestBuilder when successful +func (m *AdhocCallsAdhocCallItemRequestBuilder) Transcripts()(*AdhocCallsItemTranscriptsRequestBuilder) { + return NewAdhocCallsItemTranscriptsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *AdhocCallsAdhocCallItemRequestBuilder when successful +func (m *AdhocCallsAdhocCallItemRequestBuilder) WithUrl(rawUrl string)(*AdhocCallsAdhocCallItemRequestBuilder) { + return NewAdhocCallsAdhocCallItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_count_request_builder.go new file mode 100644 index 0000000000..b9a435f428 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// AdhocCallsCountRequestBuilder provides operations to count the resources in the collection. +type AdhocCallsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AdhocCallsCountRequestBuilderGetQueryParameters get the number of the resource +type AdhocCallsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// AdhocCallsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AdhocCallsCountRequestBuilderGetQueryParameters +} +// NewAdhocCallsCountRequestBuilderInternal instantiates a new AdhocCallsCountRequestBuilder and sets the default values. +func NewAdhocCallsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsCountRequestBuilder) { + m := &AdhocCallsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/adhocCalls/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewAdhocCallsCountRequestBuilder instantiates a new AdhocCallsCountRequestBuilder and sets the default values. +func NewAdhocCallsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAdhocCallsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *AdhocCallsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *AdhocCallsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AdhocCallsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *AdhocCallsCountRequestBuilder when successful +func (m *AdhocCallsCountRequestBuilder) WithUrl(rawUrl string)(*AdhocCallsCountRequestBuilder) { + return NewAdhocCallsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_recordings_call_recording_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_recordings_call_recording_item_request_builder.go new file mode 100644 index 0000000000..f2d4ddcd94 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_recordings_call_recording_item_request_builder.go @@ -0,0 +1,165 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// AdhocCallsItemRecordingsCallRecordingItemRequestBuilder provides operations to manage the recordings property of the microsoft.graph.adhocCall entity. +type AdhocCallsItemRecordingsCallRecordingItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AdhocCallsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// AdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters the recordings of a call. Read-only. +type AdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// AdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters +} +// AdhocCallsItemRecordingsCallRecordingItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsItemRecordingsCallRecordingItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewAdhocCallsItemRecordingsCallRecordingItemRequestBuilderInternal instantiates a new AdhocCallsItemRecordingsCallRecordingItemRequestBuilder and sets the default values. +func NewAdhocCallsItemRecordingsCallRecordingItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsItemRecordingsCallRecordingItemRequestBuilder) { + m := &AdhocCallsItemRecordingsCallRecordingItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/recordings/{callRecording%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewAdhocCallsItemRecordingsCallRecordingItemRequestBuilder instantiates a new AdhocCallsItemRecordingsCallRecordingItemRequestBuilder and sets the default values. +func NewAdhocCallsItemRecordingsCallRecordingItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsItemRecordingsCallRecordingItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAdhocCallsItemRecordingsCallRecordingItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Content provides operations to manage the media for the cloudCommunications entity. +// returns a *AdhocCallsItemRecordingsItemContentRequestBuilder when successful +func (m *AdhocCallsItemRecordingsCallRecordingItemRequestBuilder) Content()(*AdhocCallsItemRecordingsItemContentRequestBuilder) { + return NewAdhocCallsItemRecordingsItemContentRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Delete delete navigation property recordings for communications +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsItemRecordingsCallRecordingItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *AdhocCallsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the recordings of a call. Read-only. +// returns a CallRecordingable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsItemRecordingsCallRecordingItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCallRecordingFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable), nil +} +// Patch update the navigation property recordings in communications +// returns a CallRecordingable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsItemRecordingsCallRecordingItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable, requestConfiguration *AdhocCallsItemRecordingsCallRecordingItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCallRecordingFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable), nil +} +// ToDeleteRequestInformation delete navigation property recordings for communications +// returns a *RequestInformation when successful +func (m *AdhocCallsItemRecordingsCallRecordingItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *AdhocCallsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the recordings of a call. Read-only. +// returns a *RequestInformation when successful +func (m *AdhocCallsItemRecordingsCallRecordingItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property recordings in communications +// returns a *RequestInformation when successful +func (m *AdhocCallsItemRecordingsCallRecordingItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable, requestConfiguration *AdhocCallsItemRecordingsCallRecordingItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *AdhocCallsItemRecordingsCallRecordingItemRequestBuilder when successful +func (m *AdhocCallsItemRecordingsCallRecordingItemRequestBuilder) WithUrl(rawUrl string)(*AdhocCallsItemRecordingsCallRecordingItemRequestBuilder) { + return NewAdhocCallsItemRecordingsCallRecordingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_recordings_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_recordings_count_request_builder.go new file mode 100644 index 0000000000..3a878dca1e --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_recordings_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// AdhocCallsItemRecordingsCountRequestBuilder provides operations to count the resources in the collection. +type AdhocCallsItemRecordingsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AdhocCallsItemRecordingsCountRequestBuilderGetQueryParameters get the number of the resource +type AdhocCallsItemRecordingsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// AdhocCallsItemRecordingsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsItemRecordingsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AdhocCallsItemRecordingsCountRequestBuilderGetQueryParameters +} +// NewAdhocCallsItemRecordingsCountRequestBuilderInternal instantiates a new AdhocCallsItemRecordingsCountRequestBuilder and sets the default values. +func NewAdhocCallsItemRecordingsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsItemRecordingsCountRequestBuilder) { + m := &AdhocCallsItemRecordingsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/recordings/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewAdhocCallsItemRecordingsCountRequestBuilder instantiates a new AdhocCallsItemRecordingsCountRequestBuilder and sets the default values. +func NewAdhocCallsItemRecordingsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsItemRecordingsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAdhocCallsItemRecordingsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsItemRecordingsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *AdhocCallsItemRecordingsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *AdhocCallsItemRecordingsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AdhocCallsItemRecordingsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *AdhocCallsItemRecordingsCountRequestBuilder when successful +func (m *AdhocCallsItemRecordingsCountRequestBuilder) WithUrl(rawUrl string)(*AdhocCallsItemRecordingsCountRequestBuilder) { + return NewAdhocCallsItemRecordingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_recordings_delta_get_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_recordings_delta_get_response.go new file mode 100644 index 0000000000..7e63871e8d --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_recordings_delta_get_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type AdhocCallsItemRecordingsDeltaGetResponse struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseDeltaFunctionResponse +} +// NewAdhocCallsItemRecordingsDeltaGetResponse instantiates a new AdhocCallsItemRecordingsDeltaGetResponse and sets the default values. +func NewAdhocCallsItemRecordingsDeltaGetResponse()(*AdhocCallsItemRecordingsDeltaGetResponse) { + m := &AdhocCallsItemRecordingsDeltaGetResponse{ + BaseDeltaFunctionResponse: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewBaseDeltaFunctionResponse(), + } + return m +} +// CreateAdhocCallsItemRecordingsDeltaGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAdhocCallsItemRecordingsDeltaGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAdhocCallsItemRecordingsDeltaGetResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AdhocCallsItemRecordingsDeltaGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseDeltaFunctionResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCallRecordingFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []CallRecordingable when successful +func (m *AdhocCallsItemRecordingsDeltaGetResponse) GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable) + } + return nil +} +// Serialize serializes information the current object +func (m *AdhocCallsItemRecordingsDeltaGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseDeltaFunctionResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *AdhocCallsItemRecordingsDeltaGetResponse) SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type AdhocCallsItemRecordingsDeltaGetResponseable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseDeltaFunctionResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable) + SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_recordings_delta_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_recordings_delta_request_builder.go new file mode 100644 index 0000000000..c85a6608db --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_recordings_delta_request_builder.go @@ -0,0 +1,116 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// AdhocCallsItemRecordingsDeltaRequestBuilder provides operations to call the delta method. +type AdhocCallsItemRecordingsDeltaRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AdhocCallsItemRecordingsDeltaRequestBuilderGetQueryParameters invoke function delta +type AdhocCallsItemRecordingsDeltaRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// AdhocCallsItemRecordingsDeltaRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsItemRecordingsDeltaRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AdhocCallsItemRecordingsDeltaRequestBuilderGetQueryParameters +} +// NewAdhocCallsItemRecordingsDeltaRequestBuilderInternal instantiates a new AdhocCallsItemRecordingsDeltaRequestBuilder and sets the default values. +func NewAdhocCallsItemRecordingsDeltaRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsItemRecordingsDeltaRequestBuilder) { + m := &AdhocCallsItemRecordingsDeltaRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/recordings/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewAdhocCallsItemRecordingsDeltaRequestBuilder instantiates a new AdhocCallsItemRecordingsDeltaRequestBuilder and sets the default values. +func NewAdhocCallsItemRecordingsDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsItemRecordingsDeltaRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAdhocCallsItemRecordingsDeltaRequestBuilderInternal(urlParams, requestAdapter) +} +// Get invoke function delta +// Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. +// returns a AdhocCallsItemRecordingsDeltaResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsItemRecordingsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *AdhocCallsItemRecordingsDeltaRequestBuilderGetRequestConfiguration)(AdhocCallsItemRecordingsDeltaResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateAdhocCallsItemRecordingsDeltaResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(AdhocCallsItemRecordingsDeltaResponseable), nil +} +// GetAsDeltaGetResponse invoke function delta +// returns a AdhocCallsItemRecordingsDeltaGetResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsItemRecordingsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *AdhocCallsItemRecordingsDeltaRequestBuilderGetRequestConfiguration)(AdhocCallsItemRecordingsDeltaGetResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateAdhocCallsItemRecordingsDeltaGetResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(AdhocCallsItemRecordingsDeltaGetResponseable), nil +} +// ToGetRequestInformation invoke function delta +// returns a *RequestInformation when successful +func (m *AdhocCallsItemRecordingsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AdhocCallsItemRecordingsDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *AdhocCallsItemRecordingsDeltaRequestBuilder when successful +func (m *AdhocCallsItemRecordingsDeltaRequestBuilder) WithUrl(rawUrl string)(*AdhocCallsItemRecordingsDeltaRequestBuilder) { + return NewAdhocCallsItemRecordingsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_recordings_delta_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_recordings_delta_response.go new file mode 100644 index 0000000000..ab68a32fa4 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_recordings_delta_response.go @@ -0,0 +1,30 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use AdhocCallsItemRecordingsDeltaGetResponseable instead. +type AdhocCallsItemRecordingsDeltaResponse struct { + AdhocCallsItemRecordingsDeltaGetResponse +} +// NewAdhocCallsItemRecordingsDeltaResponse instantiates a new AdhocCallsItemRecordingsDeltaResponse and sets the default values. +func NewAdhocCallsItemRecordingsDeltaResponse()(*AdhocCallsItemRecordingsDeltaResponse) { + m := &AdhocCallsItemRecordingsDeltaResponse{ + AdhocCallsItemRecordingsDeltaGetResponse: *NewAdhocCallsItemRecordingsDeltaGetResponse(), + } + return m +} +// CreateAdhocCallsItemRecordingsDeltaResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAdhocCallsItemRecordingsDeltaResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAdhocCallsItemRecordingsDeltaResponse(), nil +} +// Deprecated: This class is obsolete. Use AdhocCallsItemRecordingsDeltaGetResponseable instead. +type AdhocCallsItemRecordingsDeltaResponseable interface { + AdhocCallsItemRecordingsDeltaGetResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_recordings_item_content_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_recordings_item_content_request_builder.go new file mode 100644 index 0000000000..a071e9139b --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_recordings_item_content_request_builder.go @@ -0,0 +1,145 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// AdhocCallsItemRecordingsItemContentRequestBuilder provides operations to manage the media for the cloudCommunications entity. +type AdhocCallsItemRecordingsItemContentRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AdhocCallsItemRecordingsItemContentRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsItemRecordingsItemContentRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// AdhocCallsItemRecordingsItemContentRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsItemRecordingsItemContentRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// AdhocCallsItemRecordingsItemContentRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsItemRecordingsItemContentRequestBuilderPutRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewAdhocCallsItemRecordingsItemContentRequestBuilderInternal instantiates a new AdhocCallsItemRecordingsItemContentRequestBuilder and sets the default values. +func NewAdhocCallsItemRecordingsItemContentRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsItemRecordingsItemContentRequestBuilder) { + m := &AdhocCallsItemRecordingsItemContentRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/recordings/{callRecording%2Did}/content", pathParameters), + } + return m +} +// NewAdhocCallsItemRecordingsItemContentRequestBuilder instantiates a new AdhocCallsItemRecordingsItemContentRequestBuilder and sets the default values. +func NewAdhocCallsItemRecordingsItemContentRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsItemRecordingsItemContentRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAdhocCallsItemRecordingsItemContentRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete the content of the recording. Read-only. +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsItemRecordingsItemContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *AdhocCallsItemRecordingsItemContentRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the content of the recording. Read-only. +// returns a []byte when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsItemRecordingsItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *AdhocCallsItemRecordingsItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.([]byte), nil +} +// Put the content of the recording. Read-only. +// returns a CallRecordingable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsItemRecordingsItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *AdhocCallsItemRecordingsItemContentRequestBuilderPutRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable, error) { + requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCallRecordingFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable), nil +} +// ToDeleteRequestInformation the content of the recording. Read-only. +// returns a *RequestInformation when successful +func (m *AdhocCallsItemRecordingsItemContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *AdhocCallsItemRecordingsItemContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the content of the recording. Read-only. +// returns a *RequestInformation when successful +func (m *AdhocCallsItemRecordingsItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AdhocCallsItemRecordingsItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") + return requestInfo, nil +} +// ToPutRequestInformation the content of the recording. Read-only. +// returns a *RequestInformation when successful +func (m *AdhocCallsItemRecordingsItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *AdhocCallsItemRecordingsItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *AdhocCallsItemRecordingsItemContentRequestBuilder when successful +func (m *AdhocCallsItemRecordingsItemContentRequestBuilder) WithUrl(rawUrl string)(*AdhocCallsItemRecordingsItemContentRequestBuilder) { + return NewAdhocCallsItemRecordingsItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_recordings_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_recordings_request_builder.go new file mode 100644 index 0000000000..38e4069592 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_recordings_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// AdhocCallsItemRecordingsRequestBuilder provides operations to manage the recordings property of the microsoft.graph.adhocCall entity. +type AdhocCallsItemRecordingsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AdhocCallsItemRecordingsRequestBuilderGetQueryParameters the recordings of a call. Read-only. +type AdhocCallsItemRecordingsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// AdhocCallsItemRecordingsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsItemRecordingsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AdhocCallsItemRecordingsRequestBuilderGetQueryParameters +} +// AdhocCallsItemRecordingsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsItemRecordingsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByCallRecordingId provides operations to manage the recordings property of the microsoft.graph.adhocCall entity. +// returns a *AdhocCallsItemRecordingsCallRecordingItemRequestBuilder when successful +func (m *AdhocCallsItemRecordingsRequestBuilder) ByCallRecordingId(callRecordingId string)(*AdhocCallsItemRecordingsCallRecordingItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if callRecordingId != "" { + urlTplParams["callRecording%2Did"] = callRecordingId + } + return NewAdhocCallsItemRecordingsCallRecordingItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewAdhocCallsItemRecordingsRequestBuilderInternal instantiates a new AdhocCallsItemRecordingsRequestBuilder and sets the default values. +func NewAdhocCallsItemRecordingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsItemRecordingsRequestBuilder) { + m := &AdhocCallsItemRecordingsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/recordings{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewAdhocCallsItemRecordingsRequestBuilder instantiates a new AdhocCallsItemRecordingsRequestBuilder and sets the default values. +func NewAdhocCallsItemRecordingsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsItemRecordingsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAdhocCallsItemRecordingsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *AdhocCallsItemRecordingsCountRequestBuilder when successful +func (m *AdhocCallsItemRecordingsRequestBuilder) Count()(*AdhocCallsItemRecordingsCountRequestBuilder) { + return NewAdhocCallsItemRecordingsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Delta provides operations to call the delta method. +// returns a *AdhocCallsItemRecordingsDeltaRequestBuilder when successful +func (m *AdhocCallsItemRecordingsRequestBuilder) Delta()(*AdhocCallsItemRecordingsDeltaRequestBuilder) { + return NewAdhocCallsItemRecordingsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the recordings of a call. Read-only. +// returns a CallRecordingCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsItemRecordingsRequestBuilder) Get(ctx context.Context, requestConfiguration *AdhocCallsItemRecordingsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCallRecordingCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingCollectionResponseable), nil +} +// Post create new navigation property to recordings for communications +// returns a CallRecordingable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsItemRecordingsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable, requestConfiguration *AdhocCallsItemRecordingsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCallRecordingFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable), nil +} +// ToGetRequestInformation the recordings of a call. Read-only. +// returns a *RequestInformation when successful +func (m *AdhocCallsItemRecordingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AdhocCallsItemRecordingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to recordings for communications +// returns a *RequestInformation when successful +func (m *AdhocCallsItemRecordingsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable, requestConfiguration *AdhocCallsItemRecordingsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *AdhocCallsItemRecordingsRequestBuilder when successful +func (m *AdhocCallsItemRecordingsRequestBuilder) WithUrl(rawUrl string)(*AdhocCallsItemRecordingsRequestBuilder) { + return NewAdhocCallsItemRecordingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_call_transcript_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_call_transcript_item_request_builder.go new file mode 100644 index 0000000000..04e9d526f9 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_call_transcript_item_request_builder.go @@ -0,0 +1,170 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder provides operations to manage the transcripts property of the microsoft.graph.adhocCall entity. +type AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters the transcripts of a call. Read-only. +type AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters +} +// AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderInternal instantiates a new AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder and sets the default values. +func NewAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder) { + m := &AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder instantiates a new AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder and sets the default values. +func NewAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Content provides operations to manage the media for the cloudCommunications entity. +// returns a *AdhocCallsItemTranscriptsItemContentRequestBuilder when successful +func (m *AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder) Content()(*AdhocCallsItemTranscriptsItemContentRequestBuilder) { + return NewAdhocCallsItemTranscriptsItemContentRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Delete delete navigation property transcripts for communications +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the transcripts of a call. Read-only. +// returns a CallTranscriptable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCallTranscriptFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable), nil +} +// MetadataContent provides operations to manage the media for the cloudCommunications entity. +// returns a *AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder when successful +func (m *AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder) MetadataContent()(*AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder) { + return NewAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property transcripts in communications +// returns a CallTranscriptable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable, requestConfiguration *AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCallTranscriptFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable), nil +} +// ToDeleteRequestInformation delete navigation property transcripts for communications +// returns a *RequestInformation when successful +func (m *AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the transcripts of a call. Read-only. +// returns a *RequestInformation when successful +func (m *AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property transcripts in communications +// returns a *RequestInformation when successful +func (m *AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable, requestConfiguration *AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder when successful +func (m *AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder) WithUrl(rawUrl string)(*AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder) { + return NewAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_count_request_builder.go new file mode 100644 index 0000000000..db7ba0e59e --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// AdhocCallsItemTranscriptsCountRequestBuilder provides operations to count the resources in the collection. +type AdhocCallsItemTranscriptsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AdhocCallsItemTranscriptsCountRequestBuilderGetQueryParameters get the number of the resource +type AdhocCallsItemTranscriptsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// AdhocCallsItemTranscriptsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsItemTranscriptsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AdhocCallsItemTranscriptsCountRequestBuilderGetQueryParameters +} +// NewAdhocCallsItemTranscriptsCountRequestBuilderInternal instantiates a new AdhocCallsItemTranscriptsCountRequestBuilder and sets the default values. +func NewAdhocCallsItemTranscriptsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsItemTranscriptsCountRequestBuilder) { + m := &AdhocCallsItemTranscriptsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/transcripts/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewAdhocCallsItemTranscriptsCountRequestBuilder instantiates a new AdhocCallsItemTranscriptsCountRequestBuilder and sets the default values. +func NewAdhocCallsItemTranscriptsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsItemTranscriptsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAdhocCallsItemTranscriptsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsItemTranscriptsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *AdhocCallsItemTranscriptsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *AdhocCallsItemTranscriptsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AdhocCallsItemTranscriptsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *AdhocCallsItemTranscriptsCountRequestBuilder when successful +func (m *AdhocCallsItemTranscriptsCountRequestBuilder) WithUrl(rawUrl string)(*AdhocCallsItemTranscriptsCountRequestBuilder) { + return NewAdhocCallsItemTranscriptsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_delta_get_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_delta_get_response.go new file mode 100644 index 0000000000..1eafb3dcee --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_delta_get_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type AdhocCallsItemTranscriptsDeltaGetResponse struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseDeltaFunctionResponse +} +// NewAdhocCallsItemTranscriptsDeltaGetResponse instantiates a new AdhocCallsItemTranscriptsDeltaGetResponse and sets the default values. +func NewAdhocCallsItemTranscriptsDeltaGetResponse()(*AdhocCallsItemTranscriptsDeltaGetResponse) { + m := &AdhocCallsItemTranscriptsDeltaGetResponse{ + BaseDeltaFunctionResponse: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewBaseDeltaFunctionResponse(), + } + return m +} +// CreateAdhocCallsItemTranscriptsDeltaGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAdhocCallsItemTranscriptsDeltaGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAdhocCallsItemTranscriptsDeltaGetResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AdhocCallsItemTranscriptsDeltaGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseDeltaFunctionResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCallTranscriptFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []CallTranscriptable when successful +func (m *AdhocCallsItemTranscriptsDeltaGetResponse) GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable) + } + return nil +} +// Serialize serializes information the current object +func (m *AdhocCallsItemTranscriptsDeltaGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseDeltaFunctionResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *AdhocCallsItemTranscriptsDeltaGetResponse) SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type AdhocCallsItemTranscriptsDeltaGetResponseable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseDeltaFunctionResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable) + SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_delta_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_delta_request_builder.go new file mode 100644 index 0000000000..488de6432e --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_delta_request_builder.go @@ -0,0 +1,116 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// AdhocCallsItemTranscriptsDeltaRequestBuilder provides operations to call the delta method. +type AdhocCallsItemTranscriptsDeltaRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AdhocCallsItemTranscriptsDeltaRequestBuilderGetQueryParameters invoke function delta +type AdhocCallsItemTranscriptsDeltaRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// AdhocCallsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AdhocCallsItemTranscriptsDeltaRequestBuilderGetQueryParameters +} +// NewAdhocCallsItemTranscriptsDeltaRequestBuilderInternal instantiates a new AdhocCallsItemTranscriptsDeltaRequestBuilder and sets the default values. +func NewAdhocCallsItemTranscriptsDeltaRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsItemTranscriptsDeltaRequestBuilder) { + m := &AdhocCallsItemTranscriptsDeltaRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/transcripts/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewAdhocCallsItemTranscriptsDeltaRequestBuilder instantiates a new AdhocCallsItemTranscriptsDeltaRequestBuilder and sets the default values. +func NewAdhocCallsItemTranscriptsDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsItemTranscriptsDeltaRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAdhocCallsItemTranscriptsDeltaRequestBuilderInternal(urlParams, requestAdapter) +} +// Get invoke function delta +// Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. +// returns a AdhocCallsItemTranscriptsDeltaResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsItemTranscriptsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *AdhocCallsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration)(AdhocCallsItemTranscriptsDeltaResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateAdhocCallsItemTranscriptsDeltaResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(AdhocCallsItemTranscriptsDeltaResponseable), nil +} +// GetAsDeltaGetResponse invoke function delta +// returns a AdhocCallsItemTranscriptsDeltaGetResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsItemTranscriptsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *AdhocCallsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration)(AdhocCallsItemTranscriptsDeltaGetResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateAdhocCallsItemTranscriptsDeltaGetResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(AdhocCallsItemTranscriptsDeltaGetResponseable), nil +} +// ToGetRequestInformation invoke function delta +// returns a *RequestInformation when successful +func (m *AdhocCallsItemTranscriptsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AdhocCallsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *AdhocCallsItemTranscriptsDeltaRequestBuilder when successful +func (m *AdhocCallsItemTranscriptsDeltaRequestBuilder) WithUrl(rawUrl string)(*AdhocCallsItemTranscriptsDeltaRequestBuilder) { + return NewAdhocCallsItemTranscriptsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_delta_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_delta_response.go new file mode 100644 index 0000000000..8f924afa98 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_delta_response.go @@ -0,0 +1,30 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use AdhocCallsItemTranscriptsDeltaGetResponseable instead. +type AdhocCallsItemTranscriptsDeltaResponse struct { + AdhocCallsItemTranscriptsDeltaGetResponse +} +// NewAdhocCallsItemTranscriptsDeltaResponse instantiates a new AdhocCallsItemTranscriptsDeltaResponse and sets the default values. +func NewAdhocCallsItemTranscriptsDeltaResponse()(*AdhocCallsItemTranscriptsDeltaResponse) { + m := &AdhocCallsItemTranscriptsDeltaResponse{ + AdhocCallsItemTranscriptsDeltaGetResponse: *NewAdhocCallsItemTranscriptsDeltaGetResponse(), + } + return m +} +// CreateAdhocCallsItemTranscriptsDeltaResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAdhocCallsItemTranscriptsDeltaResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAdhocCallsItemTranscriptsDeltaResponse(), nil +} +// Deprecated: This class is obsolete. Use AdhocCallsItemTranscriptsDeltaGetResponseable instead. +type AdhocCallsItemTranscriptsDeltaResponseable interface { + AdhocCallsItemTranscriptsDeltaGetResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_item_content_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_item_content_request_builder.go new file mode 100644 index 0000000000..7df0248174 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_item_content_request_builder.go @@ -0,0 +1,145 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// AdhocCallsItemTranscriptsItemContentRequestBuilder provides operations to manage the media for the cloudCommunications entity. +type AdhocCallsItemTranscriptsItemContentRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AdhocCallsItemTranscriptsItemContentRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsItemTranscriptsItemContentRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// AdhocCallsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// AdhocCallsItemTranscriptsItemContentRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsItemTranscriptsItemContentRequestBuilderPutRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewAdhocCallsItemTranscriptsItemContentRequestBuilderInternal instantiates a new AdhocCallsItemTranscriptsItemContentRequestBuilder and sets the default values. +func NewAdhocCallsItemTranscriptsItemContentRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsItemTranscriptsItemContentRequestBuilder) { + m := &AdhocCallsItemTranscriptsItemContentRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}/content", pathParameters), + } + return m +} +// NewAdhocCallsItemTranscriptsItemContentRequestBuilder instantiates a new AdhocCallsItemTranscriptsItemContentRequestBuilder and sets the default values. +func NewAdhocCallsItemTranscriptsItemContentRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsItemTranscriptsItemContentRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAdhocCallsItemTranscriptsItemContentRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete the content of the transcript. Read-only. +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsItemTranscriptsItemContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *AdhocCallsItemTranscriptsItemContentRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the content of the transcript. Read-only. +// returns a []byte when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsItemTranscriptsItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *AdhocCallsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.([]byte), nil +} +// Put the content of the transcript. Read-only. +// returns a CallTranscriptable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsItemTranscriptsItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *AdhocCallsItemTranscriptsItemContentRequestBuilderPutRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable, error) { + requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCallTranscriptFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable), nil +} +// ToDeleteRequestInformation the content of the transcript. Read-only. +// returns a *RequestInformation when successful +func (m *AdhocCallsItemTranscriptsItemContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *AdhocCallsItemTranscriptsItemContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the content of the transcript. Read-only. +// returns a *RequestInformation when successful +func (m *AdhocCallsItemTranscriptsItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AdhocCallsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") + return requestInfo, nil +} +// ToPutRequestInformation the content of the transcript. Read-only. +// returns a *RequestInformation when successful +func (m *AdhocCallsItemTranscriptsItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *AdhocCallsItemTranscriptsItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *AdhocCallsItemTranscriptsItemContentRequestBuilder when successful +func (m *AdhocCallsItemTranscriptsItemContentRequestBuilder) WithUrl(rawUrl string)(*AdhocCallsItemTranscriptsItemContentRequestBuilder) { + return NewAdhocCallsItemTranscriptsItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_item_metadata_content_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_item_metadata_content_request_builder.go new file mode 100644 index 0000000000..459c83684c --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_item_metadata_content_request_builder.go @@ -0,0 +1,144 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder provides operations to manage the media for the cloudCommunications entity. +type AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AdhocCallsItemTranscriptsItemMetadataContentRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsItemTranscriptsItemMetadataContentRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// AdhocCallsItemTranscriptsItemMetadataContentRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsItemTranscriptsItemMetadataContentRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// AdhocCallsItemTranscriptsItemMetadataContentRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsItemTranscriptsItemMetadataContentRequestBuilderPutRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderInternal instantiates a new AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder and sets the default values. +func NewAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder) { + m := &AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}/metadataContent", pathParameters), + } + return m +} +// NewAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder instantiates a new AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder and sets the default values. +func NewAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete the time-aligned metadata of the utterances in the transcript. Read-only. +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *AdhocCallsItemTranscriptsItemMetadataContentRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the time-aligned metadata of the utterances in the transcript. Read-only. +// returns a []byte when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder) Get(ctx context.Context, requestConfiguration *AdhocCallsItemTranscriptsItemMetadataContentRequestBuilderGetRequestConfiguration)([]byte, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.([]byte), nil +} +// Put the time-aligned metadata of the utterances in the transcript. Read-only. +// returns a []byte when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *AdhocCallsItemTranscriptsItemMetadataContentRequestBuilderPutRequestConfiguration)([]byte, error) { + requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.([]byte), nil +} +// ToDeleteRequestInformation the time-aligned metadata of the utterances in the transcript. Read-only. +// returns a *RequestInformation when successful +func (m *AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *AdhocCallsItemTranscriptsItemMetadataContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the time-aligned metadata of the utterances in the transcript. Read-only. +// returns a *RequestInformation when successful +func (m *AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AdhocCallsItemTranscriptsItemMetadataContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") + return requestInfo, nil +} +// ToPutRequestInformation the time-aligned metadata of the utterances in the transcript. Read-only. +// returns a *RequestInformation when successful +func (m *AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *AdhocCallsItemTranscriptsItemMetadataContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder when successful +func (m *AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder) WithUrl(rawUrl string)(*AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder) { + return NewAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_request_builder.go new file mode 100644 index 0000000000..6f031bf7d3 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_item_transcripts_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// AdhocCallsItemTranscriptsRequestBuilder provides operations to manage the transcripts property of the microsoft.graph.adhocCall entity. +type AdhocCallsItemTranscriptsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AdhocCallsItemTranscriptsRequestBuilderGetQueryParameters the transcripts of a call. Read-only. +type AdhocCallsItemTranscriptsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// AdhocCallsItemTranscriptsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsItemTranscriptsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AdhocCallsItemTranscriptsRequestBuilderGetQueryParameters +} +// AdhocCallsItemTranscriptsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsItemTranscriptsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByCallTranscriptId provides operations to manage the transcripts property of the microsoft.graph.adhocCall entity. +// returns a *AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder when successful +func (m *AdhocCallsItemTranscriptsRequestBuilder) ByCallTranscriptId(callTranscriptId string)(*AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if callTranscriptId != "" { + urlTplParams["callTranscript%2Did"] = callTranscriptId + } + return NewAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewAdhocCallsItemTranscriptsRequestBuilderInternal instantiates a new AdhocCallsItemTranscriptsRequestBuilder and sets the default values. +func NewAdhocCallsItemTranscriptsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsItemTranscriptsRequestBuilder) { + m := &AdhocCallsItemTranscriptsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/transcripts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewAdhocCallsItemTranscriptsRequestBuilder instantiates a new AdhocCallsItemTranscriptsRequestBuilder and sets the default values. +func NewAdhocCallsItemTranscriptsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsItemTranscriptsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAdhocCallsItemTranscriptsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *AdhocCallsItemTranscriptsCountRequestBuilder when successful +func (m *AdhocCallsItemTranscriptsRequestBuilder) Count()(*AdhocCallsItemTranscriptsCountRequestBuilder) { + return NewAdhocCallsItemTranscriptsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Delta provides operations to call the delta method. +// returns a *AdhocCallsItemTranscriptsDeltaRequestBuilder when successful +func (m *AdhocCallsItemTranscriptsRequestBuilder) Delta()(*AdhocCallsItemTranscriptsDeltaRequestBuilder) { + return NewAdhocCallsItemTranscriptsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the transcripts of a call. Read-only. +// returns a CallTranscriptCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsItemTranscriptsRequestBuilder) Get(ctx context.Context, requestConfiguration *AdhocCallsItemTranscriptsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCallTranscriptCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptCollectionResponseable), nil +} +// Post create new navigation property to transcripts for communications +// returns a CallTranscriptable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsItemTranscriptsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable, requestConfiguration *AdhocCallsItemTranscriptsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCallTranscriptFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable), nil +} +// ToGetRequestInformation the transcripts of a call. Read-only. +// returns a *RequestInformation when successful +func (m *AdhocCallsItemTranscriptsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AdhocCallsItemTranscriptsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to transcripts for communications +// returns a *RequestInformation when successful +func (m *AdhocCallsItemTranscriptsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable, requestConfiguration *AdhocCallsItemTranscriptsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *AdhocCallsItemTranscriptsRequestBuilder when successful +func (m *AdhocCallsItemTranscriptsRequestBuilder) WithUrl(rawUrl string)(*AdhocCallsItemTranscriptsRequestBuilder) { + return NewAdhocCallsItemTranscriptsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_request_builder.go new file mode 100644 index 0000000000..a474d628a1 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/adhoc_calls_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// AdhocCallsRequestBuilder provides operations to manage the adhocCalls property of the microsoft.graph.cloudCommunications entity. +type AdhocCallsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AdhocCallsRequestBuilderGetQueryParameters get adhocCalls from communications +type AdhocCallsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// AdhocCallsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AdhocCallsRequestBuilderGetQueryParameters +} +// AdhocCallsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByAdhocCallId provides operations to manage the adhocCalls property of the microsoft.graph.cloudCommunications entity. +// returns a *AdhocCallsAdhocCallItemRequestBuilder when successful +func (m *AdhocCallsRequestBuilder) ByAdhocCallId(adhocCallId string)(*AdhocCallsAdhocCallItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if adhocCallId != "" { + urlTplParams["adhocCall%2Did"] = adhocCallId + } + return NewAdhocCallsAdhocCallItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewAdhocCallsRequestBuilderInternal instantiates a new AdhocCallsRequestBuilder and sets the default values. +func NewAdhocCallsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsRequestBuilder) { + m := &AdhocCallsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/adhocCalls{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewAdhocCallsRequestBuilder instantiates a new AdhocCallsRequestBuilder and sets the default values. +func NewAdhocCallsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAdhocCallsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *AdhocCallsCountRequestBuilder when successful +func (m *AdhocCallsRequestBuilder) Count()(*AdhocCallsCountRequestBuilder) { + return NewAdhocCallsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get adhocCalls from communications +// returns a AdhocCallCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsRequestBuilder) Get(ctx context.Context, requestConfiguration *AdhocCallsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateAdhocCallCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallCollectionResponseable), nil +} +// Post create new navigation property to adhocCalls for communications +// returns a AdhocCallable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable, requestConfiguration *AdhocCallsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateAdhocCallFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable), nil +} +// ToGetRequestInformation get adhocCalls from communications +// returns a *RequestInformation when successful +func (m *AdhocCallsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AdhocCallsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to adhocCalls for communications +// returns a *RequestInformation when successful +func (m *AdhocCallsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable, requestConfiguration *AdhocCallsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *AdhocCallsRequestBuilder when successful +func (m *AdhocCallsRequestBuilder) WithUrl(rawUrl string)(*AdhocCallsRequestBuilder) { + return NewAdhocCallsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/communications_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/communications_request_builder.go index 28def095dd..73c6ec4761 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/communications_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/communications_request_builder.go @@ -37,6 +37,11 @@ type CommunicationsRequestBuilderPatchRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } +// AdhocCalls provides operations to manage the adhocCalls property of the microsoft.graph.cloudCommunications entity. +// returns a *AdhocCallsRequestBuilder when successful +func (m *CommunicationsRequestBuilder) AdhocCalls()(*AdhocCallsRequestBuilder) { + return NewAdhocCallsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // CallRecords provides operations to manage the callRecords property of the microsoft.graph.cloudCommunications entity. // returns a *CallRecordsRequestBuilder when successful func (m *CommunicationsRequestBuilder) CallRecords()(*CallRecordsRequestBuilder) { @@ -80,11 +85,21 @@ func (m *CommunicationsRequestBuilder) Get(ctx context.Context, requestConfigura } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudCommunicationsable), nil } +// GetAllOnlineMeetingMessages provides operations to call the getAllOnlineMeetingMessages method. +// returns a *GetAllOnlineMeetingMessagesRequestBuilder when successful +func (m *CommunicationsRequestBuilder) GetAllOnlineMeetingMessages()(*GetAllOnlineMeetingMessagesRequestBuilder) { + return NewGetAllOnlineMeetingMessagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // GetPresencesByUserId provides operations to call the getPresencesByUserId method. // returns a *GetPresencesByUserIdRequestBuilder when successful func (m *CommunicationsRequestBuilder) GetPresencesByUserId()(*GetPresencesByUserIdRequestBuilder) { return NewGetPresencesByUserIdRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// OnlineMeetingConversations provides operations to manage the onlineMeetingConversations property of the microsoft.graph.cloudCommunications entity. +// returns a *OnlineMeetingConversationsRequestBuilder when successful +func (m *CommunicationsRequestBuilder) OnlineMeetingConversations()(*OnlineMeetingConversationsRequestBuilder) { + return NewOnlineMeetingConversationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // OnlineMeetings provides operations to manage the onlineMeetings property of the microsoft.graph.cloudCommunications entity. // returns a *OnlineMeetingsRequestBuilder when successful func (m *CommunicationsRequestBuilder) OnlineMeetings()(*OnlineMeetingsRequestBuilder) { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/dcd3e82c3c52f1e6a1b645cd0ac727f3f614201648ac614398dbc051180bc232.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/dcd3e82c3c52f1e6a1b645cd0ac727f3f614201648ac614398dbc051180bc232.go new file mode 100644 index 0000000000..452fa5d731 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/dcd3e82c3c52f1e6a1b645cd0ac727f3f614201648ac614398dbc051180bc232.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder provides operations to manage the reactions property of the microsoft.graph.engagementConversationMessage entity. +type OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetQueryParameters a collection of reactions (such as like and smile) that users have applied to this message. +type OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetQueryParameters +} +// OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewOnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) { + m := &OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/messages/{engagementConversationMessage%2Did}/replies/{engagementConversationMessage%2Did1}/reactions/{engagementConversationMessageReaction%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder instantiates a new OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property reactions for communications +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a collection of reactions (such as like and smile) that users have applied to this message. +// returns a EngagementConversationMessageReactionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageReactionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable), nil +} +// Patch update the navigation property reactions in communications +// returns a EngagementConversationMessageReactionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable, requestConfiguration *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageReactionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable), nil +} +// ToDeleteRequestInformation delete navigation property reactions for communications +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a collection of reactions (such as like and smile) that users have applied to this message. +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property reactions in communications +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable, requestConfiguration *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) { + return NewOnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/get_all_online_meeting_messages_get_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/get_all_online_meeting_messages_get_response.go new file mode 100644 index 0000000000..ef0a69074e --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/get_all_online_meeting_messages_get_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type GetAllOnlineMeetingMessagesGetResponse struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +} +// NewGetAllOnlineMeetingMessagesGetResponse instantiates a new GetAllOnlineMeetingMessagesGetResponse and sets the default values. +func NewGetAllOnlineMeetingMessagesGetResponse()(*GetAllOnlineMeetingMessagesGetResponse) { + m := &GetAllOnlineMeetingMessagesGetResponse{ + BaseCollectionPaginationCountResponse: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateGetAllOnlineMeetingMessagesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateGetAllOnlineMeetingMessagesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewGetAllOnlineMeetingMessagesGetResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *GetAllOnlineMeetingMessagesGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []EngagementConversationMessageable when successful +func (m *GetAllOnlineMeetingMessagesGetResponse) GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable) + } + return nil +} +// Serialize serializes information the current object +func (m *GetAllOnlineMeetingMessagesGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *GetAllOnlineMeetingMessagesGetResponse) SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type GetAllOnlineMeetingMessagesGetResponseable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable) + SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/get_all_online_meeting_messages_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/get_all_online_meeting_messages_request_builder.go new file mode 100644 index 0000000000..21caf8648a --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/get_all_online_meeting_messages_request_builder.go @@ -0,0 +1,122 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// GetAllOnlineMeetingMessagesRequestBuilder provides operations to call the getAllOnlineMeetingMessages method. +type GetAllOnlineMeetingMessagesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// GetAllOnlineMeetingMessagesRequestBuilderGetQueryParameters get all Teams question and answer (Q&A) conversation messages in a tenant. This function returns a snapshot of all Q&A activity in JSON format. The export includes:- The original question or discussion text- The user who posted the message- All replies and responders- Vote counts- Moderation status (pending or dismissed)- Private replies- The meeting ID and organizer ID that are used for mapping to meeting metadata. +type GetAllOnlineMeetingMessagesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// GetAllOnlineMeetingMessagesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type GetAllOnlineMeetingMessagesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *GetAllOnlineMeetingMessagesRequestBuilderGetQueryParameters +} +// NewGetAllOnlineMeetingMessagesRequestBuilderInternal instantiates a new GetAllOnlineMeetingMessagesRequestBuilder and sets the default values. +func NewGetAllOnlineMeetingMessagesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GetAllOnlineMeetingMessagesRequestBuilder) { + m := &GetAllOnlineMeetingMessagesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/getAllOnlineMeetingMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewGetAllOnlineMeetingMessagesRequestBuilder instantiates a new GetAllOnlineMeetingMessagesRequestBuilder and sets the default values. +func NewGetAllOnlineMeetingMessagesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GetAllOnlineMeetingMessagesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewGetAllOnlineMeetingMessagesRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get all Teams question and answer (Q&A) conversation messages in a tenant. This function returns a snapshot of all Q&A activity in JSON format. The export includes:- The original question or discussion text- The user who posted the message- All replies and responders- Vote counts- Moderation status (pending or dismissed)- Private replies- The meeting ID and organizer ID that are used for mapping to meeting metadata. +// Deprecated: This method is obsolete. Use GetAsGetAllOnlineMeetingMessagesGetResponse instead. +// returns a GetAllOnlineMeetingMessagesResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudcommunications-getallonlinemeetingmessages?view=graph-rest-1.0 +func (m *GetAllOnlineMeetingMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *GetAllOnlineMeetingMessagesRequestBuilderGetRequestConfiguration)(GetAllOnlineMeetingMessagesResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateGetAllOnlineMeetingMessagesResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(GetAllOnlineMeetingMessagesResponseable), nil +} +// GetAsGetAllOnlineMeetingMessagesGetResponse get all Teams question and answer (Q&A) conversation messages in a tenant. This function returns a snapshot of all Q&A activity in JSON format. The export includes:- The original question or discussion text- The user who posted the message- All replies and responders- Vote counts- Moderation status (pending or dismissed)- Private replies- The meeting ID and organizer ID that are used for mapping to meeting metadata. +// returns a GetAllOnlineMeetingMessagesGetResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudcommunications-getallonlinemeetingmessages?view=graph-rest-1.0 +func (m *GetAllOnlineMeetingMessagesRequestBuilder) GetAsGetAllOnlineMeetingMessagesGetResponse(ctx context.Context, requestConfiguration *GetAllOnlineMeetingMessagesRequestBuilderGetRequestConfiguration)(GetAllOnlineMeetingMessagesGetResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateGetAllOnlineMeetingMessagesGetResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(GetAllOnlineMeetingMessagesGetResponseable), nil +} +// ToGetRequestInformation get all Teams question and answer (Q&A) conversation messages in a tenant. This function returns a snapshot of all Q&A activity in JSON format. The export includes:- The original question or discussion text- The user who posted the message- All replies and responders- Vote counts- Moderation status (pending or dismissed)- Private replies- The meeting ID and organizer ID that are used for mapping to meeting metadata. +// returns a *RequestInformation when successful +func (m *GetAllOnlineMeetingMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GetAllOnlineMeetingMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *GetAllOnlineMeetingMessagesRequestBuilder when successful +func (m *GetAllOnlineMeetingMessagesRequestBuilder) WithUrl(rawUrl string)(*GetAllOnlineMeetingMessagesRequestBuilder) { + return NewGetAllOnlineMeetingMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/get_all_online_meeting_messages_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/get_all_online_meeting_messages_response.go new file mode 100644 index 0000000000..f130d4b49a --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/get_all_online_meeting_messages_response.go @@ -0,0 +1,30 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use GetAllOnlineMeetingMessagesGetResponseable instead. +type GetAllOnlineMeetingMessagesResponse struct { + GetAllOnlineMeetingMessagesGetResponse +} +// NewGetAllOnlineMeetingMessagesResponse instantiates a new GetAllOnlineMeetingMessagesResponse and sets the default values. +func NewGetAllOnlineMeetingMessagesResponse()(*GetAllOnlineMeetingMessagesResponse) { + m := &GetAllOnlineMeetingMessagesResponse{ + GetAllOnlineMeetingMessagesGetResponse: *NewGetAllOnlineMeetingMessagesGetResponse(), + } + return m +} +// CreateGetAllOnlineMeetingMessagesResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateGetAllOnlineMeetingMessagesResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewGetAllOnlineMeetingMessagesResponse(), nil +} +// Deprecated: This class is obsolete. Use GetAllOnlineMeetingMessagesGetResponseable instead. +type GetAllOnlineMeetingMessagesResponseable interface { + GetAllOnlineMeetingMessagesGetResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_count_request_builder.go new file mode 100644 index 0000000000..c9ce901765 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsCountRequestBuilder provides operations to count the resources in the collection. +type OnlineMeetingConversationsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsCountRequestBuilderGetQueryParameters get the number of the resource +type OnlineMeetingConversationsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// OnlineMeetingConversationsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsCountRequestBuilderGetQueryParameters +} +// NewOnlineMeetingConversationsCountRequestBuilderInternal instantiates a new OnlineMeetingConversationsCountRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsCountRequestBuilder) { + m := &OnlineMeetingConversationsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsCountRequestBuilder instantiates a new OnlineMeetingConversationsCountRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsCountRequestBuilder when successful +func (m *OnlineMeetingConversationsCountRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsCountRequestBuilder) { + return NewOnlineMeetingConversationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_count_request_builder.go new file mode 100644 index 0000000000..c237332b45 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemMessagesCountRequestBuilder provides operations to count the resources in the collection. +type OnlineMeetingConversationsItemMessagesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemMessagesCountRequestBuilderGetQueryParameters get the number of the resource +type OnlineMeetingConversationsItemMessagesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// OnlineMeetingConversationsItemMessagesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemMessagesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemMessagesCountRequestBuilderGetQueryParameters +} +// NewOnlineMeetingConversationsItemMessagesCountRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemMessagesCountRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesCountRequestBuilder) { + m := &OnlineMeetingConversationsItemMessagesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/messages/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemMessagesCountRequestBuilder instantiates a new OnlineMeetingConversationsItemMessagesCountRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemMessagesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemMessagesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemMessagesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemMessagesCountRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesCountRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemMessagesCountRequestBuilder) { + return NewOnlineMeetingConversationsItemMessagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_engagement_conversation_message_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_engagement_conversation_message_item_request_builder.go new file mode 100644 index 0000000000..52a35d48ae --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_engagement_conversation_message_item_request_builder.go @@ -0,0 +1,180 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder provides operations to manage the messages property of the microsoft.graph.engagementConversation entity. +type OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderGetQueryParameters the messages in a Viva Engage conversation. +type OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderGetQueryParameters +} +// OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewOnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder) { + m := &OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/messages/{engagementConversationMessage%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder instantiates a new OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Conversation provides operations to manage the conversation property of the microsoft.graph.engagementConversationMessage entity. +// returns a *OnlineMeetingConversationsItemMessagesItemConversationRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder) Conversation()(*OnlineMeetingConversationsItemMessagesItemConversationRequestBuilder) { + return NewOnlineMeetingConversationsItemMessagesItemConversationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Delete delete navigation property messages for communications +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the messages in a Viva Engage conversation. +// returns a EngagementConversationMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable), nil +} +// Patch update the navigation property messages in communications +// returns a EngagementConversationMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable, requestConfiguration *OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable), nil +} +// Reactions provides operations to manage the reactions property of the microsoft.graph.engagementConversationMessage entity. +// returns a *OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder) Reactions()(*OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder) { + return NewOnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Replies provides operations to manage the replies property of the microsoft.graph.engagementConversationMessage entity. +// returns a *OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder) Replies()(*OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder) { + return NewOnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ReplyTo provides operations to manage the replyTo property of the microsoft.graph.engagementConversationMessage entity. +// returns a *OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder) ReplyTo()(*OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder) { + return NewOnlineMeetingConversationsItemMessagesItemReplyToRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property messages for communications +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the messages in a Viva Engage conversation. +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property messages in communications +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable, requestConfiguration *OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder) { + return NewOnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_conversation_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_conversation_request_builder.go new file mode 100644 index 0000000000..5bd1ce23ed --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_conversation_request_builder.go @@ -0,0 +1,84 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemMessagesItemConversationRequestBuilder provides operations to manage the conversation property of the microsoft.graph.engagementConversationMessage entity. +type OnlineMeetingConversationsItemMessagesItemConversationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemMessagesItemConversationRequestBuilderGetQueryParameters the Viva Engage conversation to which this message belongs. This relationship establishes the thread context for the message. +type OnlineMeetingConversationsItemMessagesItemConversationRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// OnlineMeetingConversationsItemMessagesItemConversationRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemMessagesItemConversationRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemMessagesItemConversationRequestBuilderGetQueryParameters +} +// NewOnlineMeetingConversationsItemMessagesItemConversationRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemMessagesItemConversationRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesItemConversationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesItemConversationRequestBuilder) { + m := &OnlineMeetingConversationsItemMessagesItemConversationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/messages/{engagementConversationMessage%2Did}/conversation{?%24expand,%24select}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemMessagesItemConversationRequestBuilder instantiates a new OnlineMeetingConversationsItemMessagesItemConversationRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesItemConversationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesItemConversationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemMessagesItemConversationRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the Viva Engage conversation to which this message belongs. This relationship establishes the thread context for the message. +// returns a EngagementConversationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemMessagesItemConversationRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemConversationRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationable), nil +} +// ToGetRequestInformation the Viva Engage conversation to which this message belongs. This relationship establishes the thread context for the message. +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemMessagesItemConversationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemConversationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemMessagesItemConversationRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesItemConversationRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemMessagesItemConversationRequestBuilder) { + return NewOnlineMeetingConversationsItemMessagesItemConversationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_reactions_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_reactions_count_request_builder.go new file mode 100644 index 0000000000..b1f46cc53b --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_reactions_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder provides operations to count the resources in the collection. +type OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilderGetQueryParameters get the number of the resource +type OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilderGetQueryParameters +} +// NewOnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder) { + m := &OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/messages/{engagementConversationMessage%2Did}/reactions/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder instantiates a new OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder) { + return NewOnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_reactions_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_reactions_request_builder.go new file mode 100644 index 0000000000..709a054f3f --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_reactions_request_builder.go @@ -0,0 +1,158 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder provides operations to manage the reactions property of the microsoft.graph.engagementConversationMessage entity. +type OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderGetQueryParameters get a list of the engagementConversationMessageReaction objects and their properties for an engagementConversationMessage in an online meeting. +type OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderGetQueryParameters +} +// OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEngagementConversationMessageReactionId provides operations to manage the reactions property of the microsoft.graph.engagementConversationMessage entity. +// returns a *OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder) ByEngagementConversationMessageReactionId(engagementConversationMessageReactionId string)(*OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if engagementConversationMessageReactionId != "" { + urlTplParams["engagementConversationMessageReaction%2Did"] = engagementConversationMessageReactionId + } + return NewOnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewOnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder) { + m := &OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/messages/{engagementConversationMessage%2Did}/reactions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder instantiates a new OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder) Count()(*OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder) { + return NewOnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of the engagementConversationMessageReaction objects and their properties for an engagementConversationMessage in an online meeting. +// returns a EngagementConversationMessageReactionCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/engagementconversationdiscussionmessage-list-reactions?view=graph-rest-1.0 +func (m *OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageReactionCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionCollectionResponseable), nil +} +// Post create new navigation property to reactions for communications +// returns a EngagementConversationMessageReactionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable, requestConfiguration *OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageReactionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable), nil +} +// ToGetRequestInformation get a list of the engagementConversationMessageReaction objects and their properties for an engagementConversationMessage in an online meeting. +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to reactions for communications +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable, requestConfiguration *OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder) { + return NewOnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_replies_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_replies_count_request_builder.go new file mode 100644 index 0000000000..1afad044b8 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_replies_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder provides operations to count the resources in the collection. +type OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilderGetQueryParameters get the number of the resource +type OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilderGetQueryParameters +} +// NewOnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder) { + m := &OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/messages/{engagementConversationMessage%2Did}/replies/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder instantiates a new OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder) { + return NewOnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_replies_item_conversation_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_replies_item_conversation_request_builder.go new file mode 100644 index 0000000000..267c9cac39 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_replies_item_conversation_request_builder.go @@ -0,0 +1,84 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder provides operations to manage the conversation property of the microsoft.graph.engagementConversationMessage entity. +type OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilderGetQueryParameters the Viva Engage conversation to which this message belongs. This relationship establishes the thread context for the message. +type OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilderGetQueryParameters +} +// NewOnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder) { + m := &OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/messages/{engagementConversationMessage%2Did}/replies/{engagementConversationMessage%2Did1}/conversation{?%24expand,%24select}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder instantiates a new OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the Viva Engage conversation to which this message belongs. This relationship establishes the thread context for the message. +// returns a EngagementConversationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationable), nil +} +// ToGetRequestInformation the Viva Engage conversation to which this message belongs. This relationship establishes the thread context for the message. +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder) { + return NewOnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_replies_item_reactions_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_replies_item_reactions_count_request_builder.go new file mode 100644 index 0000000000..b5e0291eaf --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_replies_item_reactions_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder provides operations to count the resources in the collection. +type OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilderGetQueryParameters get the number of the resource +type OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilderGetQueryParameters +} +// NewOnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder) { + m := &OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/messages/{engagementConversationMessage%2Did}/replies/{engagementConversationMessage%2Did1}/reactions/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder instantiates a new OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder) { + return NewOnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_replies_item_reactions_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_replies_item_reactions_request_builder.go new file mode 100644 index 0000000000..4b0aa9c52c --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_replies_item_reactions_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder provides operations to manage the reactions property of the microsoft.graph.engagementConversationMessage entity. +type OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderGetQueryParameters a collection of reactions (such as like and smile) that users have applied to this message. +type OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderGetQueryParameters +} +// OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEngagementConversationMessageReactionId provides operations to manage the reactions property of the microsoft.graph.engagementConversationMessage entity. +// returns a *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder) ByEngagementConversationMessageReactionId(engagementConversationMessageReactionId string)(*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if engagementConversationMessageReactionId != "" { + urlTplParams["engagementConversationMessageReaction%2Did"] = engagementConversationMessageReactionId + } + return NewOnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewOnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder) { + m := &OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/messages/{engagementConversationMessage%2Did}/replies/{engagementConversationMessage%2Did1}/reactions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder instantiates a new OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder) Count()(*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder) { + return NewOnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get a collection of reactions (such as like and smile) that users have applied to this message. +// returns a EngagementConversationMessageReactionCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageReactionCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionCollectionResponseable), nil +} +// Post create new navigation property to reactions for communications +// returns a EngagementConversationMessageReactionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable, requestConfiguration *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageReactionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable), nil +} +// ToGetRequestInformation a collection of reactions (such as like and smile) that users have applied to this message. +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to reactions for communications +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable, requestConfiguration *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder) { + return NewOnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_replies_item_reply_to_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_replies_item_reply_to_request_builder.go new file mode 100644 index 0000000000..8126032261 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_replies_item_reply_to_request_builder.go @@ -0,0 +1,84 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder provides operations to manage the replyTo property of the microsoft.graph.engagementConversationMessage entity. +type OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilderGetQueryParameters the parent message to which this message is a reply, if it is part of a reply chain. +type OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilderGetQueryParameters +} +// NewOnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder) { + m := &OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/messages/{engagementConversationMessage%2Did}/replies/{engagementConversationMessage%2Did1}/replyTo{?%24expand,%24select}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder instantiates a new OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the parent message to which this message is a reply, if it is part of a reply chain. +// returns a EngagementConversationMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable), nil +} +// ToGetRequestInformation the parent message to which this message is a reply, if it is part of a reply chain. +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder) { + return NewOnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_replies_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_replies_request_builder.go new file mode 100644 index 0000000000..3532ce741f --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_replies_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder provides operations to manage the replies property of the microsoft.graph.engagementConversationMessage entity. +type OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderGetQueryParameters a collection of messages that are replies to this message and form a threaded discussion. +type OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderGetQueryParameters +} +// OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEngagementConversationMessageId1 provides operations to manage the replies property of the microsoft.graph.engagementConversationMessage entity. +// returns a *OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder) ByEngagementConversationMessageId1(engagementConversationMessageId1 string)(*OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if engagementConversationMessageId1 != "" { + urlTplParams["engagementConversationMessage%2Did1"] = engagementConversationMessageId1 + } + return NewOnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewOnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder) { + m := &OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/messages/{engagementConversationMessage%2Did}/replies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder instantiates a new OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder) Count()(*OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder) { + return NewOnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get a collection of messages that are replies to this message and form a threaded discussion. +// returns a EngagementConversationMessageCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageCollectionResponseable), nil +} +// Post create new navigation property to replies for communications +// returns a EngagementConversationMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable, requestConfiguration *OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable), nil +} +// ToGetRequestInformation a collection of messages that are replies to this message and form a threaded discussion. +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to replies for communications +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable, requestConfiguration *OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder) { + return NewOnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_reply_to_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_reply_to_request_builder.go new file mode 100644 index 0000000000..a9861aee97 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_item_reply_to_request_builder.go @@ -0,0 +1,84 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder provides operations to manage the replyTo property of the microsoft.graph.engagementConversationMessage entity. +type OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilderGetQueryParameters the parent message to which this message is a reply, if it is part of a reply chain. +type OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilderGetQueryParameters +} +// NewOnlineMeetingConversationsItemMessagesItemReplyToRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesItemReplyToRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder) { + m := &OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/messages/{engagementConversationMessage%2Did}/replyTo{?%24expand,%24select}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder instantiates a new OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemMessagesItemReplyToRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the parent message to which this message is a reply, if it is part of a reply chain. +// returns a EngagementConversationMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable), nil +} +// ToGetRequestInformation the parent message to which this message is a reply, if it is part of a reply chain. +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder) { + return NewOnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_request_builder.go new file mode 100644 index 0000000000..0a98652884 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_messages_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemMessagesRequestBuilder provides operations to manage the messages property of the microsoft.graph.engagementConversation entity. +type OnlineMeetingConversationsItemMessagesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemMessagesRequestBuilderGetQueryParameters the messages in a Viva Engage conversation. +type OnlineMeetingConversationsItemMessagesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// OnlineMeetingConversationsItemMessagesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemMessagesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemMessagesRequestBuilderGetQueryParameters +} +// OnlineMeetingConversationsItemMessagesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemMessagesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEngagementConversationMessageId provides operations to manage the messages property of the microsoft.graph.engagementConversation entity. +// returns a *OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesRequestBuilder) ByEngagementConversationMessageId(engagementConversationMessageId string)(*OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if engagementConversationMessageId != "" { + urlTplParams["engagementConversationMessage%2Did"] = engagementConversationMessageId + } + return NewOnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewOnlineMeetingConversationsItemMessagesRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemMessagesRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesRequestBuilder) { + m := &OnlineMeetingConversationsItemMessagesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemMessagesRequestBuilder instantiates a new OnlineMeetingConversationsItemMessagesRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemMessagesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemMessagesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemMessagesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *OnlineMeetingConversationsItemMessagesCountRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesRequestBuilder) Count()(*OnlineMeetingConversationsItemMessagesCountRequestBuilder) { + return NewOnlineMeetingConversationsItemMessagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the messages in a Viva Engage conversation. +// returns a EngagementConversationMessageCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageCollectionResponseable), nil +} +// Post create new navigation property to messages for communications +// returns a EngagementConversationMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemMessagesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable, requestConfiguration *OnlineMeetingConversationsItemMessagesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable), nil +} +// ToGetRequestInformation the messages in a Viva Engage conversation. +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to messages for communications +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable, requestConfiguration *OnlineMeetingConversationsItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemMessagesRequestBuilder when successful +func (m *OnlineMeetingConversationsItemMessagesRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemMessagesRequestBuilder) { + return NewOnlineMeetingConversationsItemMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_online_meeting_attendee_report_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_online_meeting_attendee_report_request_builder.go new file mode 100644 index 0000000000..6ef43932e7 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_online_meeting_attendee_report_request_builder.go @@ -0,0 +1,144 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder provides operations to manage the media for the cloudCommunications entity. +type OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilderPutRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewOnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder) { + m := &OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/onlineMeeting/attendeeReport", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder instantiates a new OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete the content stream of the attendee report of a Microsoft Teams live event. Read-only. +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder) Delete(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the content stream of the attendee report of a Microsoft Teams live event. Read-only. +// returns a []byte when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilderGetRequestConfiguration)([]byte, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.([]byte), nil +} +// Put the content stream of the attendee report of a Microsoft Teams live event. Read-only. +// returns a []byte when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilderPutRequestConfiguration)([]byte, error) { + requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.([]byte), nil +} +// ToDeleteRequestInformation the content stream of the attendee report of a Microsoft Teams live event. Read-only. +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the content stream of the attendee report of a Microsoft Teams live event. Read-only. +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") + return requestInfo, nil +} +// ToPutRequestInformation the content stream of the attendee report of a Microsoft Teams live event. Read-only. +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder when successful +func (m *OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder) { + return NewOnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_online_meeting_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_online_meeting_request_builder.go new file mode 100644 index 0000000000..8760b35ef1 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_online_meeting_request_builder.go @@ -0,0 +1,89 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemOnlineMeetingRequestBuilder provides operations to manage the onlineMeeting property of the microsoft.graph.onlineMeetingEngagementConversation entity. +type OnlineMeetingConversationsItemOnlineMeetingRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemOnlineMeetingRequestBuilderGetQueryParameters the online meeting associated with the conversation. +type OnlineMeetingConversationsItemOnlineMeetingRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// OnlineMeetingConversationsItemOnlineMeetingRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemOnlineMeetingRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemOnlineMeetingRequestBuilderGetQueryParameters +} +// AttendeeReport provides operations to manage the media for the cloudCommunications entity. +// returns a *OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder when successful +func (m *OnlineMeetingConversationsItemOnlineMeetingRequestBuilder) AttendeeReport()(*OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder) { + return NewOnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewOnlineMeetingConversationsItemOnlineMeetingRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemOnlineMeetingRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemOnlineMeetingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemOnlineMeetingRequestBuilder) { + m := &OnlineMeetingConversationsItemOnlineMeetingRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/onlineMeeting{?%24expand,%24select}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemOnlineMeetingRequestBuilder instantiates a new OnlineMeetingConversationsItemOnlineMeetingRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemOnlineMeetingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemOnlineMeetingRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemOnlineMeetingRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the online meeting associated with the conversation. +// returns a OnlineMeetingable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemOnlineMeetingRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemOnlineMeetingRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnlineMeetingable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateOnlineMeetingFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnlineMeetingable), nil +} +// ToGetRequestInformation the online meeting associated with the conversation. +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemOnlineMeetingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemOnlineMeetingRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemOnlineMeetingRequestBuilder when successful +func (m *OnlineMeetingConversationsItemOnlineMeetingRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemOnlineMeetingRequestBuilder) { + return NewOnlineMeetingConversationsItemOnlineMeetingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_conversation_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_conversation_request_builder.go new file mode 100644 index 0000000000..0ab66d88d6 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_conversation_request_builder.go @@ -0,0 +1,84 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemStarterConversationRequestBuilder provides operations to manage the conversation property of the microsoft.graph.engagementConversationMessage entity. +type OnlineMeetingConversationsItemStarterConversationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemStarterConversationRequestBuilderGetQueryParameters the Viva Engage conversation to which this message belongs. This relationship establishes the thread context for the message. +type OnlineMeetingConversationsItemStarterConversationRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// OnlineMeetingConversationsItemStarterConversationRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemStarterConversationRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemStarterConversationRequestBuilderGetQueryParameters +} +// NewOnlineMeetingConversationsItemStarterConversationRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemStarterConversationRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemStarterConversationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemStarterConversationRequestBuilder) { + m := &OnlineMeetingConversationsItemStarterConversationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/starter/conversation{?%24expand,%24select}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemStarterConversationRequestBuilder instantiates a new OnlineMeetingConversationsItemStarterConversationRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemStarterConversationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemStarterConversationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemStarterConversationRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the Viva Engage conversation to which this message belongs. This relationship establishes the thread context for the message. +// returns a EngagementConversationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemStarterConversationRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterConversationRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationable), nil +} +// ToGetRequestInformation the Viva Engage conversation to which this message belongs. This relationship establishes the thread context for the message. +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemStarterConversationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterConversationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemStarterConversationRequestBuilder when successful +func (m *OnlineMeetingConversationsItemStarterConversationRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemStarterConversationRequestBuilder) { + return NewOnlineMeetingConversationsItemStarterConversationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_reactions_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_reactions_count_request_builder.go new file mode 100644 index 0000000000..b693b01e6b --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_reactions_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemStarterReactionsCountRequestBuilder provides operations to count the resources in the collection. +type OnlineMeetingConversationsItemStarterReactionsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemStarterReactionsCountRequestBuilderGetQueryParameters get the number of the resource +type OnlineMeetingConversationsItemStarterReactionsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// OnlineMeetingConversationsItemStarterReactionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemStarterReactionsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemStarterReactionsCountRequestBuilderGetQueryParameters +} +// NewOnlineMeetingConversationsItemStarterReactionsCountRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemStarterReactionsCountRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemStarterReactionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemStarterReactionsCountRequestBuilder) { + m := &OnlineMeetingConversationsItemStarterReactionsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/starter/reactions/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemStarterReactionsCountRequestBuilder instantiates a new OnlineMeetingConversationsItemStarterReactionsCountRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemStarterReactionsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemStarterReactionsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemStarterReactionsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemStarterReactionsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterReactionsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemStarterReactionsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterReactionsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemStarterReactionsCountRequestBuilder when successful +func (m *OnlineMeetingConversationsItemStarterReactionsCountRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemStarterReactionsCountRequestBuilder) { + return NewOnlineMeetingConversationsItemStarterReactionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_reactions_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_reactions_request_builder.go new file mode 100644 index 0000000000..ede905bb14 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_reactions_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemStarterReactionsRequestBuilder provides operations to manage the reactions property of the microsoft.graph.engagementConversationMessage entity. +type OnlineMeetingConversationsItemStarterReactionsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemStarterReactionsRequestBuilderGetQueryParameters a collection of reactions (such as like and smile) that users have applied to this message. +type OnlineMeetingConversationsItemStarterReactionsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// OnlineMeetingConversationsItemStarterReactionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemStarterReactionsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemStarterReactionsRequestBuilderGetQueryParameters +} +// OnlineMeetingConversationsItemStarterReactionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemStarterReactionsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEngagementConversationMessageReactionId provides operations to manage the reactions property of the microsoft.graph.engagementConversationMessage entity. +// returns a *OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder when successful +func (m *OnlineMeetingConversationsItemStarterReactionsRequestBuilder) ByEngagementConversationMessageReactionId(engagementConversationMessageReactionId string)(*OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if engagementConversationMessageReactionId != "" { + urlTplParams["engagementConversationMessageReaction%2Did"] = engagementConversationMessageReactionId + } + return NewOnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewOnlineMeetingConversationsItemStarterReactionsRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemStarterReactionsRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemStarterReactionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemStarterReactionsRequestBuilder) { + m := &OnlineMeetingConversationsItemStarterReactionsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/starter/reactions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemStarterReactionsRequestBuilder instantiates a new OnlineMeetingConversationsItemStarterReactionsRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemStarterReactionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemStarterReactionsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemStarterReactionsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *OnlineMeetingConversationsItemStarterReactionsCountRequestBuilder when successful +func (m *OnlineMeetingConversationsItemStarterReactionsRequestBuilder) Count()(*OnlineMeetingConversationsItemStarterReactionsCountRequestBuilder) { + return NewOnlineMeetingConversationsItemStarterReactionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get a collection of reactions (such as like and smile) that users have applied to this message. +// returns a EngagementConversationMessageReactionCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemStarterReactionsRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterReactionsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageReactionCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionCollectionResponseable), nil +} +// Post create new navigation property to reactions for communications +// returns a EngagementConversationMessageReactionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemStarterReactionsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable, requestConfiguration *OnlineMeetingConversationsItemStarterReactionsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageReactionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable), nil +} +// ToGetRequestInformation a collection of reactions (such as like and smile) that users have applied to this message. +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemStarterReactionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterReactionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to reactions for communications +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemStarterReactionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable, requestConfiguration *OnlineMeetingConversationsItemStarterReactionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemStarterReactionsRequestBuilder when successful +func (m *OnlineMeetingConversationsItemStarterReactionsRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemStarterReactionsRequestBuilder) { + return NewOnlineMeetingConversationsItemStarterReactionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_replies_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_replies_count_request_builder.go new file mode 100644 index 0000000000..f3da5b6d80 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_replies_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemStarterRepliesCountRequestBuilder provides operations to count the resources in the collection. +type OnlineMeetingConversationsItemStarterRepliesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemStarterRepliesCountRequestBuilderGetQueryParameters get the number of the resource +type OnlineMeetingConversationsItemStarterRepliesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// OnlineMeetingConversationsItemStarterRepliesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemStarterRepliesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemStarterRepliesCountRequestBuilderGetQueryParameters +} +// NewOnlineMeetingConversationsItemStarterRepliesCountRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemStarterRepliesCountRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemStarterRepliesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemStarterRepliesCountRequestBuilder) { + m := &OnlineMeetingConversationsItemStarterRepliesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/starter/replies/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemStarterRepliesCountRequestBuilder instantiates a new OnlineMeetingConversationsItemStarterRepliesCountRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemStarterRepliesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemStarterRepliesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemStarterRepliesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemStarterRepliesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterRepliesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemStarterRepliesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterRepliesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemStarterRepliesCountRequestBuilder when successful +func (m *OnlineMeetingConversationsItemStarterRepliesCountRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemStarterRepliesCountRequestBuilder) { + return NewOnlineMeetingConversationsItemStarterRepliesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_replies_item_conversation_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_replies_item_conversation_request_builder.go new file mode 100644 index 0000000000..49fc6825e9 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_replies_item_conversation_request_builder.go @@ -0,0 +1,84 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder provides operations to manage the conversation property of the microsoft.graph.engagementConversationMessage entity. +type OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilderGetQueryParameters the Viva Engage conversation to which this message belongs. This relationship establishes the thread context for the message. +type OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilderGetQueryParameters +} +// NewOnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder) { + m := &OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/starter/replies/{engagementConversationMessage%2Did}/conversation{?%24expand,%24select}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder instantiates a new OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the Viva Engage conversation to which this message belongs. This relationship establishes the thread context for the message. +// returns a EngagementConversationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationable), nil +} +// ToGetRequestInformation the Viva Engage conversation to which this message belongs. This relationship establishes the thread context for the message. +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder when successful +func (m *OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder) { + return NewOnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_replies_item_reactions_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_replies_item_reactions_count_request_builder.go new file mode 100644 index 0000000000..d497ef7c55 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_replies_item_reactions_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder provides operations to count the resources in the collection. +type OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilderGetQueryParameters get the number of the resource +type OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilderGetQueryParameters +} +// NewOnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder) { + m := &OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/starter/replies/{engagementConversationMessage%2Did}/reactions/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder instantiates a new OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder when successful +func (m *OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder) { + return NewOnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_replies_item_reactions_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_replies_item_reactions_request_builder.go new file mode 100644 index 0000000000..7306993a56 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_replies_item_reactions_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder provides operations to manage the reactions property of the microsoft.graph.engagementConversationMessage entity. +type OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderGetQueryParameters a collection of reactions (such as like and smile) that users have applied to this message. +type OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderGetQueryParameters +} +// OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEngagementConversationMessageReactionId provides operations to manage the reactions property of the microsoft.graph.engagementConversationMessage entity. +// returns a *OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder when successful +func (m *OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder) ByEngagementConversationMessageReactionId(engagementConversationMessageReactionId string)(*OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if engagementConversationMessageReactionId != "" { + urlTplParams["engagementConversationMessageReaction%2Did"] = engagementConversationMessageReactionId + } + return NewOnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewOnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder) { + m := &OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/starter/replies/{engagementConversationMessage%2Did}/reactions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder instantiates a new OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder when successful +func (m *OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder) Count()(*OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder) { + return NewOnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get a collection of reactions (such as like and smile) that users have applied to this message. +// returns a EngagementConversationMessageReactionCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageReactionCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionCollectionResponseable), nil +} +// Post create new navigation property to reactions for communications +// returns a EngagementConversationMessageReactionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable, requestConfiguration *OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageReactionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable), nil +} +// ToGetRequestInformation a collection of reactions (such as like and smile) that users have applied to this message. +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to reactions for communications +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable, requestConfiguration *OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder when successful +func (m *OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder) { + return NewOnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_replies_item_reply_to_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_replies_item_reply_to_request_builder.go new file mode 100644 index 0000000000..caa8fcc3b0 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_replies_item_reply_to_request_builder.go @@ -0,0 +1,84 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder provides operations to manage the replyTo property of the microsoft.graph.engagementConversationMessage entity. +type OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilderGetQueryParameters the parent message to which this message is a reply, if it is part of a reply chain. +type OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilderGetQueryParameters +} +// NewOnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder) { + m := &OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/starter/replies/{engagementConversationMessage%2Did}/replyTo{?%24expand,%24select}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder instantiates a new OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the parent message to which this message is a reply, if it is part of a reply chain. +// returns a EngagementConversationMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable), nil +} +// ToGetRequestInformation the parent message to which this message is a reply, if it is part of a reply chain. +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder when successful +func (m *OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder) { + return NewOnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_replies_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_replies_request_builder.go new file mode 100644 index 0000000000..d1b70d68ba --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_replies_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemStarterRepliesRequestBuilder provides operations to manage the replies property of the microsoft.graph.engagementConversationMessage entity. +type OnlineMeetingConversationsItemStarterRepliesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemStarterRepliesRequestBuilderGetQueryParameters a collection of messages that are replies to this message and form a threaded discussion. +type OnlineMeetingConversationsItemStarterRepliesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// OnlineMeetingConversationsItemStarterRepliesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemStarterRepliesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemStarterRepliesRequestBuilderGetQueryParameters +} +// OnlineMeetingConversationsItemStarterRepliesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemStarterRepliesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEngagementConversationMessageId provides operations to manage the replies property of the microsoft.graph.engagementConversationMessage entity. +// returns a *OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder when successful +func (m *OnlineMeetingConversationsItemStarterRepliesRequestBuilder) ByEngagementConversationMessageId(engagementConversationMessageId string)(*OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if engagementConversationMessageId != "" { + urlTplParams["engagementConversationMessage%2Did"] = engagementConversationMessageId + } + return NewOnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewOnlineMeetingConversationsItemStarterRepliesRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemStarterRepliesRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemStarterRepliesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemStarterRepliesRequestBuilder) { + m := &OnlineMeetingConversationsItemStarterRepliesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/starter/replies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemStarterRepliesRequestBuilder instantiates a new OnlineMeetingConversationsItemStarterRepliesRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemStarterRepliesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemStarterRepliesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemStarterRepliesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *OnlineMeetingConversationsItemStarterRepliesCountRequestBuilder when successful +func (m *OnlineMeetingConversationsItemStarterRepliesRequestBuilder) Count()(*OnlineMeetingConversationsItemStarterRepliesCountRequestBuilder) { + return NewOnlineMeetingConversationsItemStarterRepliesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get a collection of messages that are replies to this message and form a threaded discussion. +// returns a EngagementConversationMessageCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemStarterRepliesRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterRepliesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageCollectionResponseable), nil +} +// Post create new navigation property to replies for communications +// returns a EngagementConversationMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemStarterRepliesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable, requestConfiguration *OnlineMeetingConversationsItemStarterRepliesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable), nil +} +// ToGetRequestInformation a collection of messages that are replies to this message and form a threaded discussion. +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemStarterRepliesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterRepliesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to replies for communications +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemStarterRepliesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable, requestConfiguration *OnlineMeetingConversationsItemStarterRepliesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemStarterRepliesRequestBuilder when successful +func (m *OnlineMeetingConversationsItemStarterRepliesRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemStarterRepliesRequestBuilder) { + return NewOnlineMeetingConversationsItemStarterRepliesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_reply_to_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_reply_to_request_builder.go new file mode 100644 index 0000000000..fdadfb3533 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_reply_to_request_builder.go @@ -0,0 +1,84 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemStarterReplyToRequestBuilder provides operations to manage the replyTo property of the microsoft.graph.engagementConversationMessage entity. +type OnlineMeetingConversationsItemStarterReplyToRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemStarterReplyToRequestBuilderGetQueryParameters the parent message to which this message is a reply, if it is part of a reply chain. +type OnlineMeetingConversationsItemStarterReplyToRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// OnlineMeetingConversationsItemStarterReplyToRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemStarterReplyToRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemStarterReplyToRequestBuilderGetQueryParameters +} +// NewOnlineMeetingConversationsItemStarterReplyToRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemStarterReplyToRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemStarterReplyToRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemStarterReplyToRequestBuilder) { + m := &OnlineMeetingConversationsItemStarterReplyToRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/starter/replyTo{?%24expand,%24select}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemStarterReplyToRequestBuilder instantiates a new OnlineMeetingConversationsItemStarterReplyToRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemStarterReplyToRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemStarterReplyToRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemStarterReplyToRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the parent message to which this message is a reply, if it is part of a reply chain. +// returns a EngagementConversationMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemStarterReplyToRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterReplyToRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable), nil +} +// ToGetRequestInformation the parent message to which this message is a reply, if it is part of a reply chain. +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemStarterReplyToRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterReplyToRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemStarterReplyToRequestBuilder when successful +func (m *OnlineMeetingConversationsItemStarterReplyToRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemStarterReplyToRequestBuilder) { + return NewOnlineMeetingConversationsItemStarterReplyToRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_request_builder.go new file mode 100644 index 0000000000..2f7a88b065 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_item_starter_request_builder.go @@ -0,0 +1,180 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsItemStarterRequestBuilder provides operations to manage the starter property of the microsoft.graph.engagementConversation entity. +type OnlineMeetingConversationsItemStarterRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsItemStarterRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemStarterRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// OnlineMeetingConversationsItemStarterRequestBuilderGetQueryParameters the first message in a Viva Engage conversation. +type OnlineMeetingConversationsItemStarterRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// OnlineMeetingConversationsItemStarterRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemStarterRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsItemStarterRequestBuilderGetQueryParameters +} +// OnlineMeetingConversationsItemStarterRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsItemStarterRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewOnlineMeetingConversationsItemStarterRequestBuilderInternal instantiates a new OnlineMeetingConversationsItemStarterRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemStarterRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemStarterRequestBuilder) { + m := &OnlineMeetingConversationsItemStarterRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}/starter{?%24expand,%24select}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsItemStarterRequestBuilder instantiates a new OnlineMeetingConversationsItemStarterRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsItemStarterRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsItemStarterRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsItemStarterRequestBuilderInternal(urlParams, requestAdapter) +} +// Conversation provides operations to manage the conversation property of the microsoft.graph.engagementConversationMessage entity. +// returns a *OnlineMeetingConversationsItemStarterConversationRequestBuilder when successful +func (m *OnlineMeetingConversationsItemStarterRequestBuilder) Conversation()(*OnlineMeetingConversationsItemStarterConversationRequestBuilder) { + return NewOnlineMeetingConversationsItemStarterConversationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Delete delete navigation property starter for communications +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemStarterRequestBuilder) Delete(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the first message in a Viva Engage conversation. +// returns a EngagementConversationMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemStarterRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable), nil +} +// Patch update the navigation property starter in communications +// returns a EngagementConversationMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsItemStarterRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable, requestConfiguration *OnlineMeetingConversationsItemStarterRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementConversationMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable), nil +} +// Reactions provides operations to manage the reactions property of the microsoft.graph.engagementConversationMessage entity. +// returns a *OnlineMeetingConversationsItemStarterReactionsRequestBuilder when successful +func (m *OnlineMeetingConversationsItemStarterRequestBuilder) Reactions()(*OnlineMeetingConversationsItemStarterReactionsRequestBuilder) { + return NewOnlineMeetingConversationsItemStarterReactionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Replies provides operations to manage the replies property of the microsoft.graph.engagementConversationMessage entity. +// returns a *OnlineMeetingConversationsItemStarterRepliesRequestBuilder when successful +func (m *OnlineMeetingConversationsItemStarterRequestBuilder) Replies()(*OnlineMeetingConversationsItemStarterRepliesRequestBuilder) { + return NewOnlineMeetingConversationsItemStarterRepliesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ReplyTo provides operations to manage the replyTo property of the microsoft.graph.engagementConversationMessage entity. +// returns a *OnlineMeetingConversationsItemStarterReplyToRequestBuilder when successful +func (m *OnlineMeetingConversationsItemStarterRequestBuilder) ReplyTo()(*OnlineMeetingConversationsItemStarterReplyToRequestBuilder) { + return NewOnlineMeetingConversationsItemStarterReplyToRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property starter for communications +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemStarterRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the first message in a Viva Engage conversation. +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemStarterRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsItemStarterRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property starter in communications +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsItemStarterRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable, requestConfiguration *OnlineMeetingConversationsItemStarterRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsItemStarterRequestBuilder when successful +func (m *OnlineMeetingConversationsItemStarterRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsItemStarterRequestBuilder) { + return NewOnlineMeetingConversationsItemStarterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_online_meeting_engagement_conversation_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_online_meeting_engagement_conversation_item_request_builder.go new file mode 100644 index 0000000000..ee8d010f00 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_online_meeting_engagement_conversation_item_request_builder.go @@ -0,0 +1,175 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder provides operations to manage the onlineMeetingConversations property of the microsoft.graph.cloudCommunications entity. +type OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderGetQueryParameters a collection of structured question-and-answer (Q&A) threads in Teams directly associated with online meetings. +type OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderGetQueryParameters +} +// OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewOnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderInternal instantiates a new OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder) { + m := &OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations/{onlineMeetingEngagementConversation%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder instantiates a new OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property onlineMeetingConversations for communications +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a collection of structured question-and-answer (Q&A) threads in Teams directly associated with online meetings. +// returns a OnlineMeetingEngagementConversationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnlineMeetingEngagementConversationable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateOnlineMeetingEngagementConversationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnlineMeetingEngagementConversationable), nil +} +// Messages provides operations to manage the messages property of the microsoft.graph.engagementConversation entity. +// returns a *OnlineMeetingConversationsItemMessagesRequestBuilder when successful +func (m *OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder) Messages()(*OnlineMeetingConversationsItemMessagesRequestBuilder) { + return NewOnlineMeetingConversationsItemMessagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// OnlineMeeting provides operations to manage the onlineMeeting property of the microsoft.graph.onlineMeetingEngagementConversation entity. +// returns a *OnlineMeetingConversationsItemOnlineMeetingRequestBuilder when successful +func (m *OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder) OnlineMeeting()(*OnlineMeetingConversationsItemOnlineMeetingRequestBuilder) { + return NewOnlineMeetingConversationsItemOnlineMeetingRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property onlineMeetingConversations in communications +// returns a OnlineMeetingEngagementConversationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnlineMeetingEngagementConversationable, requestConfiguration *OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnlineMeetingEngagementConversationable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateOnlineMeetingEngagementConversationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnlineMeetingEngagementConversationable), nil +} +// Starter provides operations to manage the starter property of the microsoft.graph.engagementConversation entity. +// returns a *OnlineMeetingConversationsItemStarterRequestBuilder when successful +func (m *OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder) Starter()(*OnlineMeetingConversationsItemStarterRequestBuilder) { + return NewOnlineMeetingConversationsItemStarterRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property onlineMeetingConversations for communications +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a collection of structured question-and-answer (Q&A) threads in Teams directly associated with online meetings. +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property onlineMeetingConversations in communications +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnlineMeetingEngagementConversationable, requestConfiguration *OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder when successful +func (m *OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder) { + return NewOnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_request_builder.go new file mode 100644 index 0000000000..6785928e1c --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/online_meeting_conversations_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// OnlineMeetingConversationsRequestBuilder provides operations to manage the onlineMeetingConversations property of the microsoft.graph.cloudCommunications entity. +type OnlineMeetingConversationsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// OnlineMeetingConversationsRequestBuilderGetQueryParameters a collection of structured question-and-answer (Q&A) threads in Teams directly associated with online meetings. +type OnlineMeetingConversationsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// OnlineMeetingConversationsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *OnlineMeetingConversationsRequestBuilderGetQueryParameters +} +// OnlineMeetingConversationsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OnlineMeetingConversationsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByOnlineMeetingEngagementConversationId provides operations to manage the onlineMeetingConversations property of the microsoft.graph.cloudCommunications entity. +// returns a *OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder when successful +func (m *OnlineMeetingConversationsRequestBuilder) ByOnlineMeetingEngagementConversationId(onlineMeetingEngagementConversationId string)(*OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if onlineMeetingEngagementConversationId != "" { + urlTplParams["onlineMeetingEngagementConversation%2Did"] = onlineMeetingEngagementConversationId + } + return NewOnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewOnlineMeetingConversationsRequestBuilderInternal instantiates a new OnlineMeetingConversationsRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsRequestBuilder) { + m := &OnlineMeetingConversationsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/onlineMeetingConversations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewOnlineMeetingConversationsRequestBuilder instantiates a new OnlineMeetingConversationsRequestBuilder and sets the default values. +func NewOnlineMeetingConversationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*OnlineMeetingConversationsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewOnlineMeetingConversationsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *OnlineMeetingConversationsCountRequestBuilder when successful +func (m *OnlineMeetingConversationsRequestBuilder) Count()(*OnlineMeetingConversationsCountRequestBuilder) { + return NewOnlineMeetingConversationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get a collection of structured question-and-answer (Q&A) threads in Teams directly associated with online meetings. +// returns a OnlineMeetingEngagementConversationCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingConversationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnlineMeetingEngagementConversationCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateOnlineMeetingEngagementConversationCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnlineMeetingEngagementConversationCollectionResponseable), nil +} +// Post create new navigation property to onlineMeetingConversations for communications +// returns a OnlineMeetingEngagementConversationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OnlineMeetingConversationsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnlineMeetingEngagementConversationable, requestConfiguration *OnlineMeetingConversationsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnlineMeetingEngagementConversationable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateOnlineMeetingEngagementConversationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnlineMeetingEngagementConversationable), nil +} +// ToGetRequestInformation a collection of structured question-and-answer (Q&A) threads in Teams directly associated with online meetings. +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingConversationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to onlineMeetingConversations for communications +// returns a *RequestInformation when successful +func (m *OnlineMeetingConversationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnlineMeetingEngagementConversationable, requestConfiguration *OnlineMeetingConversationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *OnlineMeetingConversationsRequestBuilder when successful +func (m *OnlineMeetingConversationsRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingConversationsRequestBuilder) { + return NewOnlineMeetingConversationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/presences_item_clear_automatic_location_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/presences_item_clear_automatic_location_request_builder.go new file mode 100644 index 0000000000..f5f1f55244 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/presences_item_clear_automatic_location_request_builder.go @@ -0,0 +1,70 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// PresencesItemClearAutomaticLocationRequestBuilder provides operations to call the clearAutomaticLocation method. +type PresencesItemClearAutomaticLocationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// PresencesItemClearAutomaticLocationRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type PresencesItemClearAutomaticLocationRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewPresencesItemClearAutomaticLocationRequestBuilderInternal instantiates a new PresencesItemClearAutomaticLocationRequestBuilder and sets the default values. +func NewPresencesItemClearAutomaticLocationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*PresencesItemClearAutomaticLocationRequestBuilder) { + m := &PresencesItemClearAutomaticLocationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/presences/{presence%2Did}/clearAutomaticLocation", pathParameters), + } + return m +} +// NewPresencesItemClearAutomaticLocationRequestBuilder instantiates a new PresencesItemClearAutomaticLocationRequestBuilder and sets the default values. +func NewPresencesItemClearAutomaticLocationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*PresencesItemClearAutomaticLocationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewPresencesItemClearAutomaticLocationRequestBuilderInternal(urlParams, requestAdapter) +} +// Post clear the automatic work location signal for a user. After clearing, the user’s final aggregated work location is recomputed according to the precedence rules: Use this operation when you need to remove the current autodetected signal without affecting manual or scheduled layers. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/presence-clearautomaticlocation?view=graph-rest-1.0 +func (m *PresencesItemClearAutomaticLocationRequestBuilder) Post(ctx context.Context, requestConfiguration *PresencesItemClearAutomaticLocationRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation clear the automatic work location signal for a user. After clearing, the user’s final aggregated work location is recomputed according to the precedence rules: Use this operation when you need to remove the current autodetected signal without affecting manual or scheduled layers. +// returns a *RequestInformation when successful +func (m *PresencesItemClearAutomaticLocationRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *PresencesItemClearAutomaticLocationRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *PresencesItemClearAutomaticLocationRequestBuilder when successful +func (m *PresencesItemClearAutomaticLocationRequestBuilder) WithUrl(rawUrl string)(*PresencesItemClearAutomaticLocationRequestBuilder) { + return NewPresencesItemClearAutomaticLocationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/presences_item_clear_location_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/presences_item_clear_location_request_builder.go new file mode 100644 index 0000000000..628e98923f --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/presences_item_clear_location_request_builder.go @@ -0,0 +1,70 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// PresencesItemClearLocationRequestBuilder provides operations to call the clearLocation method. +type PresencesItemClearLocationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// PresencesItemClearLocationRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type PresencesItemClearLocationRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewPresencesItemClearLocationRequestBuilderInternal instantiates a new PresencesItemClearLocationRequestBuilder and sets the default values. +func NewPresencesItemClearLocationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*PresencesItemClearLocationRequestBuilder) { + m := &PresencesItemClearLocationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/presences/{presence%2Did}/clearLocation", pathParameters), + } + return m +} +// NewPresencesItemClearLocationRequestBuilder instantiates a new PresencesItemClearLocationRequestBuilder and sets the default values. +func NewPresencesItemClearLocationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*PresencesItemClearLocationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewPresencesItemClearLocationRequestBuilderInternal(urlParams, requestAdapter) +} +// Post clear the work location signals for a user, including both the manual and automatic layers for the current date. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/presence-clearlocation?view=graph-rest-1.0 +func (m *PresencesItemClearLocationRequestBuilder) Post(ctx context.Context, requestConfiguration *PresencesItemClearLocationRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation clear the work location signals for a user, including both the manual and automatic layers for the current date. +// returns a *RequestInformation when successful +func (m *PresencesItemClearLocationRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *PresencesItemClearLocationRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *PresencesItemClearLocationRequestBuilder when successful +func (m *PresencesItemClearLocationRequestBuilder) WithUrl(rawUrl string)(*PresencesItemClearLocationRequestBuilder) { + return NewPresencesItemClearLocationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/presences_item_set_automatic_location_post_request_body.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/presences_item_set_automatic_location_post_request_body.go new file mode 100644 index 0000000000..40b64a14d4 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/presences_item_set_automatic_location_post_request_body.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type PresencesItemSetAutomaticLocationPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewPresencesItemSetAutomaticLocationPostRequestBody instantiates a new PresencesItemSetAutomaticLocationPostRequestBody and sets the default values. +func NewPresencesItemSetAutomaticLocationPostRequestBody()(*PresencesItemSetAutomaticLocationPostRequestBody) { + m := &PresencesItemSetAutomaticLocationPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreatePresencesItemSetAutomaticLocationPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreatePresencesItemSetAutomaticLocationPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewPresencesItemSetAutomaticLocationPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *PresencesItemSetAutomaticLocationPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *PresencesItemSetAutomaticLocationPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *PresencesItemSetAutomaticLocationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["placeId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPlaceId(val) + } + return nil + } + res["workLocationType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ParseWorkLocationType) + if err != nil { + return err + } + if val != nil { + m.SetWorkLocationType(val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType)) + } + return nil + } + return res +} +// GetPlaceId gets the placeId property value. The placeId property +// returns a *string when successful +func (m *PresencesItemSetAutomaticLocationPostRequestBody) GetPlaceId()(*string) { + val, err := m.GetBackingStore().Get("placeId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetWorkLocationType gets the workLocationType property value. The workLocationType property +// returns a *WorkLocationType when successful +func (m *PresencesItemSetAutomaticLocationPostRequestBody) GetWorkLocationType()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType) { + val, err := m.GetBackingStore().Get("workLocationType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType) + } + return nil +} +// Serialize serializes information the current object +func (m *PresencesItemSetAutomaticLocationPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("placeId", m.GetPlaceId()) + if err != nil { + return err + } + } + if m.GetWorkLocationType() != nil { + cast := (*m.GetWorkLocationType()).String() + err := writer.WriteStringValue("workLocationType", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *PresencesItemSetAutomaticLocationPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *PresencesItemSetAutomaticLocationPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetPlaceId sets the placeId property value. The placeId property +func (m *PresencesItemSetAutomaticLocationPostRequestBody) SetPlaceId(value *string)() { + err := m.GetBackingStore().Set("placeId", value) + if err != nil { + panic(err) + } +} +// SetWorkLocationType sets the workLocationType property value. The workLocationType property +func (m *PresencesItemSetAutomaticLocationPostRequestBody) SetWorkLocationType(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType)() { + err := m.GetBackingStore().Set("workLocationType", value) + if err != nil { + panic(err) + } +} +type PresencesItemSetAutomaticLocationPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetPlaceId()(*string) + GetWorkLocationType()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetPlaceId(value *string)() + SetWorkLocationType(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/presences_item_set_automatic_location_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/presences_item_set_automatic_location_request_builder.go new file mode 100644 index 0000000000..4c640323c3 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/presences_item_set_automatic_location_request_builder.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// PresencesItemSetAutomaticLocationRequestBuilder provides operations to call the setAutomaticLocation method. +type PresencesItemSetAutomaticLocationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// PresencesItemSetAutomaticLocationRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type PresencesItemSetAutomaticLocationRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewPresencesItemSetAutomaticLocationRequestBuilderInternal instantiates a new PresencesItemSetAutomaticLocationRequestBuilder and sets the default values. +func NewPresencesItemSetAutomaticLocationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*PresencesItemSetAutomaticLocationRequestBuilder) { + m := &PresencesItemSetAutomaticLocationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/presences/{presence%2Did}/setAutomaticLocation", pathParameters), + } + return m +} +// NewPresencesItemSetAutomaticLocationRequestBuilder instantiates a new PresencesItemSetAutomaticLocationRequestBuilder and sets the default values. +func NewPresencesItemSetAutomaticLocationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*PresencesItemSetAutomaticLocationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewPresencesItemSetAutomaticLocationRequestBuilderInternal(urlParams, requestAdapter) +} +// Post update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network and location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/presence-setautomaticlocation?view=graph-rest-1.0 +func (m *PresencesItemSetAutomaticLocationRequestBuilder) Post(ctx context.Context, body PresencesItemSetAutomaticLocationPostRequestBodyable, requestConfiguration *PresencesItemSetAutomaticLocationRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network and location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. +// returns a *RequestInformation when successful +func (m *PresencesItemSetAutomaticLocationRequestBuilder) ToPostRequestInformation(ctx context.Context, body PresencesItemSetAutomaticLocationPostRequestBodyable, requestConfiguration *PresencesItemSetAutomaticLocationRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *PresencesItemSetAutomaticLocationRequestBuilder when successful +func (m *PresencesItemSetAutomaticLocationRequestBuilder) WithUrl(rawUrl string)(*PresencesItemSetAutomaticLocationRequestBuilder) { + return NewPresencesItemSetAutomaticLocationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/presences_item_set_manual_location_post_request_body.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/presences_item_set_manual_location_post_request_body.go new file mode 100644 index 0000000000..49db5ab938 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/presences_item_set_manual_location_post_request_body.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type PresencesItemSetManualLocationPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewPresencesItemSetManualLocationPostRequestBody instantiates a new PresencesItemSetManualLocationPostRequestBody and sets the default values. +func NewPresencesItemSetManualLocationPostRequestBody()(*PresencesItemSetManualLocationPostRequestBody) { + m := &PresencesItemSetManualLocationPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreatePresencesItemSetManualLocationPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreatePresencesItemSetManualLocationPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewPresencesItemSetManualLocationPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *PresencesItemSetManualLocationPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *PresencesItemSetManualLocationPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *PresencesItemSetManualLocationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["placeId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPlaceId(val) + } + return nil + } + res["workLocationType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ParseWorkLocationType) + if err != nil { + return err + } + if val != nil { + m.SetWorkLocationType(val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType)) + } + return nil + } + return res +} +// GetPlaceId gets the placeId property value. The placeId property +// returns a *string when successful +func (m *PresencesItemSetManualLocationPostRequestBody) GetPlaceId()(*string) { + val, err := m.GetBackingStore().Get("placeId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetWorkLocationType gets the workLocationType property value. The workLocationType property +// returns a *WorkLocationType when successful +func (m *PresencesItemSetManualLocationPostRequestBody) GetWorkLocationType()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType) { + val, err := m.GetBackingStore().Get("workLocationType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType) + } + return nil +} +// Serialize serializes information the current object +func (m *PresencesItemSetManualLocationPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("placeId", m.GetPlaceId()) + if err != nil { + return err + } + } + if m.GetWorkLocationType() != nil { + cast := (*m.GetWorkLocationType()).String() + err := writer.WriteStringValue("workLocationType", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *PresencesItemSetManualLocationPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *PresencesItemSetManualLocationPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetPlaceId sets the placeId property value. The placeId property +func (m *PresencesItemSetManualLocationPostRequestBody) SetPlaceId(value *string)() { + err := m.GetBackingStore().Set("placeId", value) + if err != nil { + panic(err) + } +} +// SetWorkLocationType sets the workLocationType property value. The workLocationType property +func (m *PresencesItemSetManualLocationPostRequestBody) SetWorkLocationType(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType)() { + err := m.GetBackingStore().Set("workLocationType", value) + if err != nil { + panic(err) + } +} +type PresencesItemSetManualLocationPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetPlaceId()(*string) + GetWorkLocationType()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetPlaceId(value *string)() + SetWorkLocationType(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/presences_item_set_manual_location_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/presences_item_set_manual_location_request_builder.go new file mode 100644 index 0000000000..0590dadec6 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/presences_item_set_manual_location_request_builder.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// PresencesItemSetManualLocationRequestBuilder provides operations to call the setManualLocation method. +type PresencesItemSetManualLocationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// PresencesItemSetManualLocationRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type PresencesItemSetManualLocationRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewPresencesItemSetManualLocationRequestBuilderInternal instantiates a new PresencesItemSetManualLocationRequestBuilder and sets the default values. +func NewPresencesItemSetManualLocationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*PresencesItemSetManualLocationRequestBuilder) { + m := &PresencesItemSetManualLocationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/presences/{presence%2Did}/setManualLocation", pathParameters), + } + return m +} +// NewPresencesItemSetManualLocationRequestBuilder instantiates a new PresencesItemSetManualLocationRequestBuilder and sets the default values. +func NewPresencesItemSetManualLocationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*PresencesItemSetManualLocationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewPresencesItemSetManualLocationRequestBuilderInternal(urlParams, requestAdapter) +} +// Post set the manual work location signal for a user. The explicit value chosen by a user or an authorized client overrides any automatically detected or scheduled working hours and location. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/presence-setmanuallocation?view=graph-rest-1.0 +func (m *PresencesItemSetManualLocationRequestBuilder) Post(ctx context.Context, body PresencesItemSetManualLocationPostRequestBodyable, requestConfiguration *PresencesItemSetManualLocationRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation set the manual work location signal for a user. The explicit value chosen by a user or an authorized client overrides any automatically detected or scheduled working hours and location. +// returns a *RequestInformation when successful +func (m *PresencesItemSetManualLocationRequestBuilder) ToPostRequestInformation(ctx context.Context, body PresencesItemSetManualLocationPostRequestBodyable, requestConfiguration *PresencesItemSetManualLocationRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *PresencesItemSetManualLocationRequestBuilder when successful +func (m *PresencesItemSetManualLocationRequestBuilder) WithUrl(rawUrl string)(*PresencesItemSetManualLocationRequestBuilder) { + return NewPresencesItemSetManualLocationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/presences_presence_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/presences_presence_item_request_builder.go index e5c1077562..e11a02c6e3 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/presences_presence_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/communications/presences_presence_item_request_builder.go @@ -44,6 +44,16 @@ type PresencesPresenceItemRequestBuilderPatchRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } +// ClearAutomaticLocation provides operations to call the clearAutomaticLocation method. +// returns a *PresencesItemClearAutomaticLocationRequestBuilder when successful +func (m *PresencesPresenceItemRequestBuilder) ClearAutomaticLocation()(*PresencesItemClearAutomaticLocationRequestBuilder) { + return NewPresencesItemClearAutomaticLocationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ClearLocation provides operations to call the clearLocation method. +// returns a *PresencesItemClearLocationRequestBuilder when successful +func (m *PresencesPresenceItemRequestBuilder) ClearLocation()(*PresencesItemClearLocationRequestBuilder) { + return NewPresencesItemClearLocationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ClearPresence provides operations to call the clearPresence method. // returns a *PresencesItemClearPresenceRequestBuilder when successful func (m *PresencesPresenceItemRequestBuilder) ClearPresence()(*PresencesItemClearPresenceRequestBuilder) { @@ -126,6 +136,16 @@ func (m *PresencesPresenceItemRequestBuilder) Patch(ctx context.Context, body ia } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Presenceable), nil } +// SetAutomaticLocation provides operations to call the setAutomaticLocation method. +// returns a *PresencesItemSetAutomaticLocationRequestBuilder when successful +func (m *PresencesPresenceItemRequestBuilder) SetAutomaticLocation()(*PresencesItemSetAutomaticLocationRequestBuilder) { + return NewPresencesItemSetAutomaticLocationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// SetManualLocation provides operations to call the setManualLocation method. +// returns a *PresencesItemSetManualLocationRequestBuilder when successful +func (m *PresencesPresenceItemRequestBuilder) SetManualLocation()(*PresencesItemSetManualLocationRequestBuilder) { + return NewPresencesItemSetManualLocationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // SetPresence provides operations to call the setPresence method. // returns a *PresencesItemSetPresenceRequestBuilder when successful func (m *PresencesPresenceItemRequestBuilder) SetPresence()(*PresencesItemSetPresenceRequestBuilder) { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/contacts/contacts_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/contacts/contacts_request_builder.go index f33e26c294..19082a04c8 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/contacts/contacts_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/contacts/contacts_request_builder.go @@ -28,6 +28,8 @@ type ContactsRequestBuilderGetQueryParameters struct { Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -55,7 +57,7 @@ func (m *ContactsRequestBuilder) ByOrgContactId(orgContactId string)(*OrgContact // NewContactsRequestBuilderInternal instantiates a new ContactsRequestBuilder and sets the default values. func NewContactsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ContactsRequestBuilder) { m := &ContactsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/contacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/contacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), } return m } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/contacts/item_on_premises_sync_behavior_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/contacts/item_on_premises_sync_behavior_request_builder.go new file mode 100644 index 0000000000..840055fe79 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/contacts/item_on_premises_sync_behavior_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package contacts + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemOnPremisesSyncBehaviorRequestBuilder provides operations to manage the onPremisesSyncBehavior property of the microsoft.graph.orgContact entity. +type ItemOnPremisesSyncBehaviorRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemOnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemOnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemOnPremisesSyncBehaviorRequestBuilderGetQueryParameters get onPremisesSyncBehavior from contacts +type ItemOnPremisesSyncBehaviorRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemOnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemOnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemOnPremisesSyncBehaviorRequestBuilderGetQueryParameters +} +// ItemOnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemOnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemOnPremisesSyncBehaviorRequestBuilderInternal instantiates a new ItemOnPremisesSyncBehaviorRequestBuilder and sets the default values. +func NewItemOnPremisesSyncBehaviorRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemOnPremisesSyncBehaviorRequestBuilder) { + m := &ItemOnPremisesSyncBehaviorRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/contacts/{orgContact%2Did}/onPremisesSyncBehavior{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemOnPremisesSyncBehaviorRequestBuilder instantiates a new ItemOnPremisesSyncBehaviorRequestBuilder and sets the default values. +func NewItemOnPremisesSyncBehaviorRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemOnPremisesSyncBehaviorRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemOnPremisesSyncBehaviorRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property onPremisesSyncBehavior for contacts +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemOnPremisesSyncBehaviorRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get onPremisesSyncBehavior from contacts +// returns a OnPremisesSyncBehaviorable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemOnPremisesSyncBehaviorRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesSyncBehaviorable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateOnPremisesSyncBehaviorFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesSyncBehaviorable), nil +} +// Patch update the navigation property onPremisesSyncBehavior in contacts +// returns a OnPremisesSyncBehaviorable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemOnPremisesSyncBehaviorRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesSyncBehaviorable, requestConfiguration *ItemOnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesSyncBehaviorable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateOnPremisesSyncBehaviorFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesSyncBehaviorable), nil +} +// ToDeleteRequestInformation delete navigation property onPremisesSyncBehavior for contacts +// returns a *RequestInformation when successful +func (m *ItemOnPremisesSyncBehaviorRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemOnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get onPremisesSyncBehavior from contacts +// returns a *RequestInformation when successful +func (m *ItemOnPremisesSyncBehaviorRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property onPremisesSyncBehavior in contacts +// returns a *RequestInformation when successful +func (m *ItemOnPremisesSyncBehaviorRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesSyncBehaviorable, requestConfiguration *ItemOnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemOnPremisesSyncBehaviorRequestBuilder when successful +func (m *ItemOnPremisesSyncBehaviorRequestBuilder) WithUrl(rawUrl string)(*ItemOnPremisesSyncBehaviorRequestBuilder) { + return NewItemOnPremisesSyncBehaviorRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/contacts/item_restore_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/contacts/item_restore_request_builder.go index ab3ddc8d71..a384b08334 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/contacts/item_restore_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/contacts/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/contacts/org_contact_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/contacts/org_contact_item_request_builder.go index d3638454bc..209f09edd5 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/contacts/org_contact_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/contacts/org_contact_item_request_builder.go @@ -14,6 +14,13 @@ import ( type OrgContactItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } +// OrgContactItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OrgContactItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} // OrgContactItemRequestBuilderGetQueryParameters get the properties and relationships of an organizational contact. type OrgContactItemRequestBuilderGetQueryParameters struct { // Expand related entities @@ -30,6 +37,13 @@ type OrgContactItemRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *OrgContactItemRequestBuilderGetQueryParameters } +// OrgContactItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type OrgContactItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} // CheckMemberGroups provides operations to call the checkMemberGroups method. // returns a *ItemCheckMemberGroupsRequestBuilder when successful func (m *OrgContactItemRequestBuilder) CheckMemberGroups()(*ItemCheckMemberGroupsRequestBuilder) { @@ -53,6 +67,22 @@ func NewOrgContactItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7dae urlParams["request-raw-url"] = rawUrl return NewOrgContactItemRequestBuilderInternal(urlParams, requestAdapter) } +// Delete delete entity from contacts +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OrgContactItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *OrgContactItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} // DirectReports provides operations to manage the directReports property of the microsoft.graph.orgContact entity. // returns a *ItemDirectReportsRequestBuilder when successful func (m *OrgContactItemRequestBuilder) DirectReports()(*ItemDirectReportsRequestBuilder) { @@ -101,6 +131,31 @@ func (m *OrgContactItemRequestBuilder) Manager()(*ItemManagerRequestBuilder) { func (m *OrgContactItemRequestBuilder) MemberOf()(*ItemMemberOfRequestBuilder) { return NewItemMemberOfRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// OnPremisesSyncBehavior provides operations to manage the onPremisesSyncBehavior property of the microsoft.graph.orgContact entity. +// returns a *ItemOnPremisesSyncBehaviorRequestBuilder when successful +func (m *OrgContactItemRequestBuilder) OnPremisesSyncBehavior()(*ItemOnPremisesSyncBehaviorRequestBuilder) { + return NewItemOnPremisesSyncBehaviorRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update entity in contacts +// returns a OrgContactable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *OrgContactItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OrgContactable, requestConfiguration *OrgContactItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OrgContactable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateOrgContactFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OrgContactable), nil +} // Restore provides operations to call the restore method. // returns a *ItemRestoreRequestBuilder when successful func (m *OrgContactItemRequestBuilder) Restore()(*ItemRestoreRequestBuilder) { @@ -116,6 +171,17 @@ func (m *OrgContactItemRequestBuilder) RetryServiceProvisioning()(*ItemRetryServ func (m *OrgContactItemRequestBuilder) ServiceProvisioningErrors()(*ItemServiceProvisioningErrorsRequestBuilder) { return NewItemServiceProvisioningErrorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// ToDeleteRequestInformation delete entity from contacts +// returns a *RequestInformation when successful +func (m *OrgContactItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *OrgContactItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} // ToGetRequestInformation get the properties and relationships of an organizational contact. // returns a *RequestInformation when successful func (m *OrgContactItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OrgContactItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -130,6 +196,21 @@ func (m *OrgContactItemRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } +// ToPatchRequestInformation update entity in contacts +// returns a *RequestInformation when successful +func (m *OrgContactItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OrgContactable, requestConfiguration *OrgContactItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} // TransitiveMemberOf provides operations to manage the transitiveMemberOf property of the microsoft.graph.orgContact entity. // returns a *ItemTransitiveMemberOfRequestBuilder when successful func (m *OrgContactItemRequestBuilder) TransitiveMemberOf()(*ItemTransitiveMemberOfRequestBuilder) { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/contracts/item_restore_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/contracts/item_restore_request_builder.go index d390610793..575d3ca668 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/contracts/item_restore_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/contracts/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/53cb649f066411f9f43182d80327583a118bd5572575783d99c2f5c9e5603b93.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/53cb649f066411f9f43182d80327583a118bd5572575783d99c2f5c9e5603b93.go index 1d8c4dbbc3..831f822bf9 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/53cb649f066411f9f43182d80327583a118bd5572575783d99c2f5c9e5603b93.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/53cb649f066411f9f43182d80327583a118bd5572575783d99c2f5c9e5603b93.go @@ -21,7 +21,7 @@ type MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionPolic // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionPolicyItemRequestBuilderGetQueryParameters read properties and relationships of the mdmWindowsInformationProtectionPolicy object. +// MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionPolicyItemRequestBuilderGetQueryParameters windows information protection for apps running on devices which are MDM enrolled. type MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionPolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -62,11 +62,8 @@ func NewMdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionPo urlParams["request-raw-url"] = rawUrl return NewMdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionPolicyItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a mdmWindowsInformationProtectionPolicy. +// Delete delete navigation property mdmWindowsInformationProtectionPolicies for deviceAppManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-mdmwindowsinformationprotectionpolicy-delete?view=graph-rest-1.0 func (m *MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionPolicyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionPolicyItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,12 +83,9 @@ func (m *MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionP func (m *MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionPolicyItemRequestBuilder) ExemptAppLockerFiles()(*MdmWindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuilder) { return NewMdmWindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the mdmWindowsInformationProtectionPolicy object. +// Get windows information protection for apps running on devices which are MDM enrolled. // returns a MdmWindowsInformationProtectionPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-mdmwindowsinformationprotectionpolicy-get?view=graph-rest-1.0 func (m *MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionPolicyItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MdmWindowsInformationProtectionPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -109,12 +103,9 @@ func (m *MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionP } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MdmWindowsInformationProtectionPolicyable), nil } -// Patch update the properties of a mdmWindowsInformationProtectionPolicy object. +// Patch update the navigation property mdmWindowsInformationProtectionPolicies in deviceAppManagement // returns a MdmWindowsInformationProtectionPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-mdmwindowsinformationprotectionpolicy-update?view=graph-rest-1.0 func (m *MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionPolicyItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MdmWindowsInformationProtectionPolicyable, requestConfiguration *MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionPolicyItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MdmWindowsInformationProtectionPolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -137,7 +128,7 @@ func (m *MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionP func (m *MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionPolicyItemRequestBuilder) ProtectedAppLockerFiles()(*MdmWindowsInformationProtectionPoliciesItemProtectedAppLockerFilesRequestBuilder) { return NewMdmWindowsInformationProtectionPoliciesItemProtectedAppLockerFilesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes a mdmWindowsInformationProtectionPolicy. +// ToDeleteRequestInformation delete navigation property mdmWindowsInformationProtectionPolicies for deviceAppManagement // returns a *RequestInformation when successful func (m *MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionPolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionPolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -148,7 +139,7 @@ func (m *MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionP requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the mdmWindowsInformationProtectionPolicy object. +// ToGetRequestInformation windows information protection for apps running on devices which are MDM enrolled. // returns a *RequestInformation when successful func (m *MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -162,7 +153,7 @@ func (m *MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionP requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a mdmWindowsInformationProtectionPolicy object. +// ToPatchRequestInformation update the navigation property mdmWindowsInformationProtectionPolicies in deviceAppManagement // returns a *RequestInformation when successful func (m *MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionPolicyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MdmWindowsInformationProtectionPolicyable, requestConfiguration *MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionPolicyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/5fff7f08bcf3dff5cadabda1982e1e038e31dc20ee61023ddcaca80c2d6d1e83.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/5fff7f08bcf3dff5cadabda1982e1e038e31dc20ee61023ddcaca80c2d6d1e83.go index 7f31c37053..1de82a57b2 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/5fff7f08bcf3dff5cadabda1982e1e038e31dc20ee61023ddcaca80c2d6d1e83.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/5fff7f08bcf3dff5cadabda1982e1e038e31dc20ee61023ddcaca80c2d6d1e83.go @@ -21,7 +21,7 @@ type MobileAppsItemGraphManagedIOSLobAppContentVersionsMobileAppContentItemReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphManagedIOSLobAppContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters the list of content versions for this app. +// MobileAppsItemGraphManagedIOSLobAppContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters the list of content versions for this app. This property is read-only. type MobileAppsItemGraphManagedIOSLobAppContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -83,7 +83,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppContentVersionsMobileAppContentItemR func (m *MobileAppsItemGraphManagedIOSLobAppContentVersionsMobileAppContentItemRequestBuilder) Files()(*MobileAppsItemGraphManagedIOSLobAppContentVersionsItemFilesRequestBuilder) { return NewMobileAppsItemGraphManagedIOSLobAppContentVersionsItemFilesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the list of content versions for this app. +// Get the list of content versions for this app. This property is read-only. // returns a MobileAppContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphManagedIOSLobAppContentVersionsMobileAppContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedIOSLobAppContentVersionsMobileAppContentItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentable, error) { @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppContentVersionsMobileAppContentItemR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the list of content versions for this app. +// ToGetRequestInformation the list of content versions for this app. This property is read-only. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphManagedIOSLobAppContentVersionsMobileAppContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedIOSLobAppContentVersionsMobileAppContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/81ea69727eef4459a82d18e28026c0578479cf8d716c50dbd6968bf2a1bbaef2.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/81ea69727eef4459a82d18e28026c0578479cf8d716c50dbd6968bf2a1bbaef2.go index 9ca9125851..728742e833 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/81ea69727eef4459a82d18e28026c0578479cf8d716c50dbd6968bf2a1bbaef2.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/81ea69727eef4459a82d18e28026c0578479cf8d716c50dbd6968bf2a1bbaef2.go @@ -21,7 +21,7 @@ type MobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurationU // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilderGetQueryParameters read properties and relationships of the managedDeviceMobileAppConfigurationUserStatus object. +// MobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilderGetQueryParameters list of ManagedDeviceMobileAppConfigurationUserStatus. type MobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewMobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurati urlParams["request-raw-url"] = rawUrl return NewMobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a managedDeviceMobileAppConfigurationUserStatus. +// Delete delete navigation property userStatuses for deviceAppManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfigurationuserstatus-delete?view=graph-rest-1.0 func (m *MobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *MobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *MobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurat } return nil } -// Get read properties and relationships of the managedDeviceMobileAppConfigurationUserStatus object. +// Get list of ManagedDeviceMobileAppConfigurationUserStatus. // returns a ManagedDeviceMobileAppConfigurationUserStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfigurationuserstatus-get?view=graph-rest-1.0 func (m *MobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationUserStatusable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *MobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurat } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationUserStatusable), nil } -// Patch update the properties of a managedDeviceMobileAppConfigurationUserStatus object. +// Patch update the navigation property userStatuses in deviceAppManagement // returns a ManagedDeviceMobileAppConfigurationUserStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfigurationuserstatus-update?view=graph-rest-1.0 func (m *MobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationUserStatusable, requestConfiguration *MobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationUserStatusable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *MobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurat } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationUserStatusable), nil } -// ToDeleteRequestInformation deletes a managedDeviceMobileAppConfigurationUserStatus. +// ToDeleteRequestInformation delete navigation property userStatuses for deviceAppManagement // returns a *RequestInformation when successful func (m *MobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *MobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the managedDeviceMobileAppConfigurationUserStatus object. +// ToGetRequestInformation list of ManagedDeviceMobileAppConfigurationUserStatus. // returns a *RequestInformation when successful func (m *MobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *MobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a managedDeviceMobileAppConfigurationUserStatus object. +// ToPatchRequestInformation update the navigation property userStatuses in deviceAppManagement // returns a *RequestInformation when successful func (m *MobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationUserStatusable, requestConfiguration *MobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/987e3fefb89e64f6d7cf290e9b9a43112d259deda16633e3211857ad95d36c6e.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/987e3fefb89e64f6d7cf290e9b9a43112d259deda16633e3211857ad95d36c6e.go index bcd607cf66..0b5933309e 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/987e3fefb89e64f6d7cf290e9b9a43112d259deda16633e3211857ad95d36c6e.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/987e3fefb89e64f6d7cf290e9b9a43112d259deda16633e3211857ad95d36c6e.go @@ -21,7 +21,7 @@ type MobileAppsItemGraphWindowsUniversalAppXCommittedContainedAppsMobileContaine // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphWindowsUniversalAppXCommittedContainedAppsMobileContainedAppItemRequestBuilderGetQueryParameters the collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. +// MobileAppsItemGraphWindowsUniversalAppXCommittedContainedAppsMobileContainedAppItemRequestBuilderGetQueryParameters the collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. This property is read-only. type MobileAppsItemGraphWindowsUniversalAppXCommittedContainedAppsMobileContainedAppItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,7 +73,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXCommittedContainedAppsMobileCont } return nil } -// Get the collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. +// Get the collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. This property is read-only. // returns a MobileContainedAppable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWindowsUniversalAppXCommittedContainedAppsMobileContainedAppItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsUniversalAppXCommittedContainedAppsMobileContainedAppItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileContainedAppable, error) { @@ -124,7 +124,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXCommittedContainedAppsMobileCont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. +// ToGetRequestInformation the collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. This property is read-only. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWindowsUniversalAppXCommittedContainedAppsMobileContainedAppItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsUniversalAppXCommittedContainedAppsMobileContainedAppItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/9e55d483dd51bd3eaa8bad6ebc420cfc4dd38db3fe5674bf4483e4ef5758d895.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/9e55d483dd51bd3eaa8bad6ebc420cfc4dd38db3fe5674bf4483e4ef5758d895.go index 1e61158fc4..eb49bfeeed 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/9e55d483dd51bd3eaa8bad6ebc420cfc4dd38db3fe5674bf4483e4ef5758d895.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/9e55d483dd51bd3eaa8bad6ebc420cfc4dd38db3fe5674bf4483e4ef5758d895.go @@ -21,7 +21,7 @@ type IosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentIt // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// IosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilderGetQueryParameters read properties and relationships of the targetedManagedAppPolicyAssignment object. +// IosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilderGetQueryParameters navigation property to list of inclusion and exclusion groups to which the policy is deployed. type IosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewIosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmen urlParams["request-raw-url"] = rawUrl return NewIosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a targetedManagedAppPolicyAssignment. +// Delete delete navigation property assignments for deviceAppManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedapppolicyassignment-delete?view=graph-rest-1.0 func (m *IosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *IosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *IosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignme } return nil } -// Get read properties and relationships of the targetedManagedAppPolicyAssignment object. +// Get navigation property to list of inclusion and exclusion groups to which the policy is deployed. // returns a TargetedManagedAppPolicyAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedapppolicyassignment-get?view=graph-rest-1.0 func (m *IosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedManagedAppPolicyAssignmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *IosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignme } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedManagedAppPolicyAssignmentable), nil } -// Patch update the properties of a targetedManagedAppPolicyAssignment object. +// Patch update the navigation property assignments in deviceAppManagement // returns a TargetedManagedAppPolicyAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedapppolicyassignment-update?view=graph-rest-1.0 func (m *IosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedManagedAppPolicyAssignmentable, requestConfiguration *IosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedManagedAppPolicyAssignmentable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *IosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignme } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedManagedAppPolicyAssignmentable), nil } -// ToDeleteRequestInformation deletes a targetedManagedAppPolicyAssignment. +// ToDeleteRequestInformation delete navigation property assignments for deviceAppManagement // returns a *RequestInformation when successful func (m *IosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *IosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *IosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignme requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the targetedManagedAppPolicyAssignment object. +// ToGetRequestInformation navigation property to list of inclusion and exclusion groups to which the policy is deployed. // returns a *RequestInformation when successful func (m *IosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *IosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignme requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a targetedManagedAppPolicyAssignment object. +// ToPatchRequestInformation update the navigation property assignments in deviceAppManagement // returns a *RequestInformation when successful func (m *IosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedManagedAppPolicyAssignmentable, requestConfiguration *IosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/a0b491607be925c6753a4bf5e72e58e4ae6567f7bb2a6430b74fb05fd0e7aae7.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/a0b491607be925c6753a4bf5e72e58e4ae6567f7bb2a6430b74fb05fd0e7aae7.go index cf4f257b71..12740dd12c 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/a0b491607be925c6753a4bf5e72e58e4ae6567f7bb2a6430b74fb05fd0e7aae7.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/a0b491607be925c6753a4bf5e72e58e4ae6567f7bb2a6430b74fb05fd0e7aae7.go @@ -21,7 +21,7 @@ type MobileAppsItemGraphWindowsUniversalAppXContentVersionsMobileAppContentItemR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphWindowsUniversalAppXContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters the list of content versions for this app. +// MobileAppsItemGraphWindowsUniversalAppXContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters the list of content versions for this app. This property is read-only. type MobileAppsItemGraphWindowsUniversalAppXContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -83,7 +83,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXContentVersionsMobileAppContentI func (m *MobileAppsItemGraphWindowsUniversalAppXContentVersionsMobileAppContentItemRequestBuilder) Files()(*MobileAppsItemGraphWindowsUniversalAppXContentVersionsItemFilesRequestBuilder) { return NewMobileAppsItemGraphWindowsUniversalAppXContentVersionsItemFilesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the list of content versions for this app. +// Get the list of content versions for this app. This property is read-only. // returns a MobileAppContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWindowsUniversalAppXContentVersionsMobileAppContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsUniversalAppXContentVersionsMobileAppContentItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentable, error) { @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXContentVersionsMobileAppContentI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the list of content versions for this app. +// ToGetRequestInformation the list of content versions for this app. This property is read-only. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWindowsUniversalAppXContentVersionsMobileAppContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsUniversalAppXContentVersionsMobileAppContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ac19281d04b412fedb15d2c2fc022fcb434ea623386b902b9966641ed373f013.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ac19281d04b412fedb15d2c2fc022fcb434ea623386b902b9966641ed373f013.go index fdaae9cc2c..dc6ba43188 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ac19281d04b412fedb15d2c2fc022fcb434ea623386b902b9966641ed373f013.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ac19281d04b412fedb15d2c2fc022fcb434ea623386b902b9966641ed373f013.go @@ -21,7 +21,7 @@ type WindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInformat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// WindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilderGetQueryParameters read properties and relationships of the windowsInformationProtectionAppLockerFile object. +// WindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilderGetQueryParameters another way to input exempt apps through xml files type WindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewWindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInfor urlParams["request-raw-url"] = rawUrl return NewWindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a windowsInformationProtectionAppLockerFile. +// Delete delete navigation property exemptAppLockerFiles for deviceAppManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotectionapplockerfile-delete?view=graph-rest-1.0 func (m *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInfo } return nil } -// Get read properties and relationships of the windowsInformationProtectionAppLockerFile object. +// Get another way to input exempt apps through xml files // returns a WindowsInformationProtectionAppLockerFileable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotectionapplockerfile-get?view=graph-rest-1.0 func (m *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionAppLockerFileable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInfo } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionAppLockerFileable), nil } -// Patch update the properties of a windowsInformationProtectionAppLockerFile object. +// Patch update the navigation property exemptAppLockerFiles in deviceAppManagement // returns a WindowsInformationProtectionAppLockerFileable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotectionapplockerfile-update?view=graph-rest-1.0 func (m *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionAppLockerFileable, requestConfiguration *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionAppLockerFileable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInfo } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionAppLockerFileable), nil } -// ToDeleteRequestInformation deletes a windowsInformationProtectionAppLockerFile. +// ToDeleteRequestInformation delete navigation property exemptAppLockerFiles for deviceAppManagement // returns a *RequestInformation when successful func (m *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the windowsInformationProtectionAppLockerFile object. +// ToGetRequestInformation another way to input exempt apps through xml files // returns a *RequestInformation when successful func (m *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a windowsInformationProtectionAppLockerFile object. +// ToPatchRequestInformation update the navigation property exemptAppLockerFiles in deviceAppManagement // returns a *RequestInformation when successful func (m *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionAppLockerFileable, requestConfiguration *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ada0b2c99f87989c041d6a959e243d1871007e23676a403f817830b839923275.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ada0b2c99f87989c041d6a959e243d1871007e23676a403f817830b839923275.go index c485cf69e8..de1459441a 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ada0b2c99f87989c041d6a959e243d1871007e23676a403f817830b839923275.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ada0b2c99f87989c041d6a959e243d1871007e23676a403f817830b839923275.go @@ -21,7 +21,7 @@ type MobileAppsItemGraphManagedMobileLobAppContentVersionsMobileAppContentItemRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphManagedMobileLobAppContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters the list of content versions for this app. +// MobileAppsItemGraphManagedMobileLobAppContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters the list of content versions for this app. This property is read-only. type MobileAppsItemGraphManagedMobileLobAppContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -83,7 +83,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppContentVersionsMobileAppContentIt func (m *MobileAppsItemGraphManagedMobileLobAppContentVersionsMobileAppContentItemRequestBuilder) Files()(*MobileAppsItemGraphManagedMobileLobAppContentVersionsItemFilesRequestBuilder) { return NewMobileAppsItemGraphManagedMobileLobAppContentVersionsItemFilesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the list of content versions for this app. +// Get the list of content versions for this app. This property is read-only. // returns a MobileAppContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphManagedMobileLobAppContentVersionsMobileAppContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedMobileLobAppContentVersionsMobileAppContentItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentable, error) { @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppContentVersionsMobileAppContentIt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the list of content versions for this app. +// ToGetRequestInformation the list of content versions for this app. This property is read-only. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphManagedMobileLobAppContentVersionsMobileAppContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedMobileLobAppContentVersionsMobileAppContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/android_managed_app_protections_android_managed_app_protection_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/android_managed_app_protections_android_managed_app_protection_item_request_builder.go index 6f9dbccd48..e6d736e376 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/android_managed_app_protections_android_managed_app_protection_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/android_managed_app_protections_android_managed_app_protection_item_request_builder.go @@ -21,7 +21,7 @@ type AndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuilderDe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuilderGetQueryParameters read properties and relationships of the androidManagedAppProtection object. +// AndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuilderGetQueryParameters android managed app policies. type AndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -67,11 +67,8 @@ func NewAndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuilde urlParams["request-raw-url"] = rawUrl return NewAndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a androidManagedAppProtection. +// Delete delete navigation property androidManagedAppProtections for deviceAppManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappprotection-delete?view=graph-rest-1.0 func (m *AndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *AndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -91,12 +88,9 @@ func (m *AndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuild func (m *AndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuilder) DeploymentSummary()(*AndroidManagedAppProtectionsItemDeploymentSummaryRequestBuilder) { return NewAndroidManagedAppProtectionsItemDeploymentSummaryRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the androidManagedAppProtection object. +// Get android managed app policies. // returns a AndroidManagedAppProtectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappprotection-get?view=graph-rest-1.0 func (m *AndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AndroidManagedAppProtectionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -114,12 +108,9 @@ func (m *AndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuild } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AndroidManagedAppProtectionable), nil } -// Patch update the properties of a androidManagedAppProtection object. +// Patch update the navigation property androidManagedAppProtections in deviceAppManagement // returns a AndroidManagedAppProtectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappprotection-update?view=graph-rest-1.0 func (m *AndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AndroidManagedAppProtectionable, requestConfiguration *AndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AndroidManagedAppProtectionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -137,7 +128,7 @@ func (m *AndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuild } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AndroidManagedAppProtectionable), nil } -// ToDeleteRequestInformation deletes a androidManagedAppProtection. +// ToDeleteRequestInformation delete navigation property androidManagedAppProtections for deviceAppManagement // returns a *RequestInformation when successful func (m *AndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *AndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -148,7 +139,7 @@ func (m *AndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the androidManagedAppProtection object. +// ToGetRequestInformation android managed app policies. // returns a *RequestInformation when successful func (m *AndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -162,7 +153,7 @@ func (m *AndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a androidManagedAppProtection object. +// ToPatchRequestInformation update the navigation property androidManagedAppProtections in deviceAppManagement // returns a *RequestInformation when successful func (m *AndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AndroidManagedAppProtectionable, requestConfiguration *AndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/android_managed_app_protections_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/android_managed_app_protections_request_builder.go index a6d0bccb7d..6d9ecf61a2 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/android_managed_app_protections_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/android_managed_app_protections_request_builder.go @@ -14,7 +14,7 @@ import ( type AndroidManagedAppProtectionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AndroidManagedAppProtectionsRequestBuilderGetQueryParameters list properties and relationships of the androidManagedAppProtection objects. +// AndroidManagedAppProtectionsRequestBuilderGetQueryParameters android managed app policies. type AndroidManagedAppProtectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewAndroidManagedAppProtectionsRequestBuilder(rawUrl string, requestAdapter func (m *AndroidManagedAppProtectionsRequestBuilder) Count()(*AndroidManagedAppProtectionsCountRequestBuilder) { return NewAndroidManagedAppProtectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the androidManagedAppProtection objects. +// Get android managed app policies. // returns a AndroidManagedAppProtectionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappprotection-list?view=graph-rest-1.0 func (m *AndroidManagedAppProtectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *AndroidManagedAppProtectionsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AndroidManagedAppProtectionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *AndroidManagedAppProtectionsRequestBuilder) Get(ctx context.Context, re } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AndroidManagedAppProtectionCollectionResponseable), nil } -// Post create a new androidManagedAppProtection object. +// Post create new navigation property to androidManagedAppProtections for deviceAppManagement // returns a AndroidManagedAppProtectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappprotection-create?view=graph-rest-1.0 func (m *AndroidManagedAppProtectionsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AndroidManagedAppProtectionable, requestConfiguration *AndroidManagedAppProtectionsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AndroidManagedAppProtectionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *AndroidManagedAppProtectionsRequestBuilder) Post(ctx context.Context, b } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AndroidManagedAppProtectionable), nil } -// ToGetRequestInformation list properties and relationships of the androidManagedAppProtection objects. +// ToGetRequestInformation android managed app policies. // returns a *RequestInformation when successful func (m *AndroidManagedAppProtectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AndroidManagedAppProtectionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *AndroidManagedAppProtectionsRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new androidManagedAppProtection object. +// ToPostRequestInformation create new navigation property to androidManagedAppProtections for deviceAppManagement // returns a *RequestInformation when successful func (m *AndroidManagedAppProtectionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AndroidManagedAppProtectionable, requestConfiguration *AndroidManagedAppProtectionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/b3a49c9b898d34e99d635f29d6908920b0779c46f421938cd89c7b39f15603a3.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/b3a49c9b898d34e99d635f29d6908920b0779c46f421938cd89c7b39f15603a3.go index 7141dc258f..469be86b40 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/b3a49c9b898d34e99d635f29d6908920b0779c46f421938cd89c7b39f15603a3.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/b3a49c9b898d34e99d635f29d6908920b0779c46f421938cd89c7b39f15603a3.go @@ -21,7 +21,7 @@ type MobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurationAs // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilderGetQueryParameters read properties and relationships of the managedDeviceMobileAppConfigurationAssignment object. +// MobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilderGetQueryParameters the list of group assignemenets for app configration. type MobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewMobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfiguratio urlParams["request-raw-url"] = rawUrl return NewMobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a managedDeviceMobileAppConfigurationAssignment. +// Delete delete navigation property assignments for deviceAppManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfigurationassignment-delete?view=graph-rest-1.0 func (m *MobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *MobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *MobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurati } return nil } -// Get read properties and relationships of the managedDeviceMobileAppConfigurationAssignment object. +// Get the list of group assignemenets for app configration. // returns a ManagedDeviceMobileAppConfigurationAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfigurationassignment-get?view=graph-rest-1.0 func (m *MobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationAssignmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *MobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationAssignmentable), nil } -// Patch update the properties of a managedDeviceMobileAppConfigurationAssignment object. +// Patch update the navigation property assignments in deviceAppManagement // returns a ManagedDeviceMobileAppConfigurationAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfigurationassignment-update?view=graph-rest-1.0 func (m *MobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationAssignmentable, requestConfiguration *MobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationAssignmentable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *MobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationAssignmentable), nil } -// ToDeleteRequestInformation deletes a managedDeviceMobileAppConfigurationAssignment. +// ToDeleteRequestInformation delete navigation property assignments for deviceAppManagement // returns a *RequestInformation when successful func (m *MobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *MobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the managedDeviceMobileAppConfigurationAssignment object. +// ToGetRequestInformation the list of group assignemenets for app configration. // returns a *RequestInformation when successful func (m *MobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *MobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a managedDeviceMobileAppConfigurationAssignment object. +// ToPatchRequestInformation update the navigation property assignments in deviceAppManagement // returns a *RequestInformation when successful func (m *MobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationAssignmentable, requestConfiguration *MobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/b4a1b83b4268da7f98b96831a5716be9db1d8734753ea00c2df152f8e254e46f.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/b4a1b83b4268da7f98b96831a5716be9db1d8734753ea00c2df152f8e254e46f.go index fdbae41936..fa11875818 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/b4a1b83b4268da7f98b96831a5716be9db1d8734753ea00c2df152f8e254e46f.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/b4a1b83b4268da7f98b96831a5716be9db1d8734753ea00c2df152f8e254e46f.go @@ -21,7 +21,7 @@ type MobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilderGetQueryParameters read properties and relationships of the managedDeviceMobileAppConfigurationDeviceStatus object. +// MobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilderGetQueryParameters list of ManagedDeviceMobileAppConfigurationDeviceStatus. type MobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewMobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigura urlParams["request-raw-url"] = rawUrl return NewMobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a managedDeviceMobileAppConfigurationDeviceStatus. +// Delete delete navigation property deviceStatuses for deviceAppManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfigurationdevicestatus-delete?view=graph-rest-1.0 func (m *MobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *MobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *MobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigur } return nil } -// Get read properties and relationships of the managedDeviceMobileAppConfigurationDeviceStatus object. +// Get list of ManagedDeviceMobileAppConfigurationDeviceStatus. // returns a ManagedDeviceMobileAppConfigurationDeviceStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfigurationdevicestatus-get?view=graph-rest-1.0 func (m *MobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationDeviceStatusable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *MobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigur } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationDeviceStatusable), nil } -// Patch update the properties of a managedDeviceMobileAppConfigurationDeviceStatus object. +// Patch update the navigation property deviceStatuses in deviceAppManagement // returns a ManagedDeviceMobileAppConfigurationDeviceStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfigurationdevicestatus-update?view=graph-rest-1.0 func (m *MobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationDeviceStatusable, requestConfiguration *MobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationDeviceStatusable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *MobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigur } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationDeviceStatusable), nil } -// ToDeleteRequestInformation deletes a managedDeviceMobileAppConfigurationDeviceStatus. +// ToDeleteRequestInformation delete navigation property deviceStatuses for deviceAppManagement // returns a *RequestInformation when successful func (m *MobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *MobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigur requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the managedDeviceMobileAppConfigurationDeviceStatus object. +// ToGetRequestInformation list of ManagedDeviceMobileAppConfigurationDeviceStatus. // returns a *RequestInformation when successful func (m *MobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *MobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigur requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a managedDeviceMobileAppConfigurationDeviceStatus object. +// ToPatchRequestInformation update the navigation property deviceStatuses in deviceAppManagement // returns a *RequestInformation when successful func (m *MobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationDeviceStatusable, requestConfiguration *MobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/bb92b616c42aad5b159933e0c6c3aab15b6990cdc786a15a4d68b75c0662bad7.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/bb92b616c42aad5b159933e0c6c3aab15b6990cdc786a15a4d68b75c0662bad7.go index 4f4c8e7b7e..5ee4c80201 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/bb92b616c42aad5b159933e0c6c3aab15b6990cdc786a15a4d68b75c0662bad7.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/bb92b616c42aad5b159933e0c6c3aab15b6990cdc786a15a4d68b75c0662bad7.go @@ -21,7 +21,7 @@ type MobileAppsItemGraphManagedAndroidLobAppContentVersionsMobileAppContentItemR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphManagedAndroidLobAppContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters the list of content versions for this app. +// MobileAppsItemGraphManagedAndroidLobAppContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters the list of content versions for this app. This property is read-only. type MobileAppsItemGraphManagedAndroidLobAppContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -83,7 +83,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppContentVersionsMobileAppContentI func (m *MobileAppsItemGraphManagedAndroidLobAppContentVersionsMobileAppContentItemRequestBuilder) Files()(*MobileAppsItemGraphManagedAndroidLobAppContentVersionsItemFilesRequestBuilder) { return NewMobileAppsItemGraphManagedAndroidLobAppContentVersionsItemFilesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the list of content versions for this app. +// Get the list of content versions for this app. This property is read-only. // returns a MobileAppContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphManagedAndroidLobAppContentVersionsMobileAppContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedAndroidLobAppContentVersionsMobileAppContentItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentable, error) { @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppContentVersionsMobileAppContentI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the list of content versions for this app. +// ToGetRequestInformation the list of content versions for this app. This property is read-only. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphManagedAndroidLobAppContentVersionsMobileAppContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedAndroidLobAppContentVersionsMobileAppContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/default_managed_app_protections_default_managed_app_protection_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/default_managed_app_protections_default_managed_app_protection_item_request_builder.go index ec27bf5606..a322f6afa1 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/default_managed_app_protections_default_managed_app_protection_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/default_managed_app_protections_default_managed_app_protection_item_request_builder.go @@ -21,7 +21,7 @@ type DefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuilderDe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuilderGetQueryParameters read properties and relationships of the defaultManagedAppProtection object. +// DefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuilderGetQueryParameters default managed app policies. type DefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -62,11 +62,8 @@ func NewDefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuilde urlParams["request-raw-url"] = rawUrl return NewDefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a defaultManagedAppProtection. +// Delete delete navigation property defaultManagedAppProtections for deviceAppManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-defaultmanagedappprotection-delete?view=graph-rest-1.0 func (m *DefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,12 +83,9 @@ func (m *DefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuild func (m *DefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuilder) DeploymentSummary()(*DefaultManagedAppProtectionsItemDeploymentSummaryRequestBuilder) { return NewDefaultManagedAppProtectionsItemDeploymentSummaryRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the defaultManagedAppProtection object. +// Get default managed app policies. // returns a DefaultManagedAppProtectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-defaultmanagedappprotection-get?view=graph-rest-1.0 func (m *DefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DefaultManagedAppProtectionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -109,12 +103,9 @@ func (m *DefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuild } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DefaultManagedAppProtectionable), nil } -// Patch update the properties of a defaultManagedAppProtection object. +// Patch update the navigation property defaultManagedAppProtections in deviceAppManagement // returns a DefaultManagedAppProtectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-defaultmanagedappprotection-update?view=graph-rest-1.0 func (m *DefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DefaultManagedAppProtectionable, requestConfiguration *DefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DefaultManagedAppProtectionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +123,7 @@ func (m *DefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuild } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DefaultManagedAppProtectionable), nil } -// ToDeleteRequestInformation deletes a defaultManagedAppProtection. +// ToDeleteRequestInformation delete navigation property defaultManagedAppProtections for deviceAppManagement // returns a *RequestInformation when successful func (m *DefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -143,7 +134,7 @@ func (m *DefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the defaultManagedAppProtection object. +// ToGetRequestInformation default managed app policies. // returns a *RequestInformation when successful func (m *DefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -157,7 +148,7 @@ func (m *DefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a defaultManagedAppProtection object. +// ToPatchRequestInformation update the navigation property defaultManagedAppProtections in deviceAppManagement // returns a *RequestInformation when successful func (m *DefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DefaultManagedAppProtectionable, requestConfiguration *DefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/default_managed_app_protections_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/default_managed_app_protections_request_builder.go index 47ec0a9870..b8282037ee 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/default_managed_app_protections_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/default_managed_app_protections_request_builder.go @@ -14,7 +14,7 @@ import ( type DefaultManagedAppProtectionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DefaultManagedAppProtectionsRequestBuilderGetQueryParameters list properties and relationships of the defaultManagedAppProtection objects. +// DefaultManagedAppProtectionsRequestBuilderGetQueryParameters default managed app policies. type DefaultManagedAppProtectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewDefaultManagedAppProtectionsRequestBuilder(rawUrl string, requestAdapter func (m *DefaultManagedAppProtectionsRequestBuilder) Count()(*DefaultManagedAppProtectionsCountRequestBuilder) { return NewDefaultManagedAppProtectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the defaultManagedAppProtection objects. +// Get default managed app policies. // returns a DefaultManagedAppProtectionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-defaultmanagedappprotection-list?view=graph-rest-1.0 func (m *DefaultManagedAppProtectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *DefaultManagedAppProtectionsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DefaultManagedAppProtectionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *DefaultManagedAppProtectionsRequestBuilder) Get(ctx context.Context, re } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DefaultManagedAppProtectionCollectionResponseable), nil } -// Post create a new defaultManagedAppProtection object. +// Post create new navigation property to defaultManagedAppProtections for deviceAppManagement // returns a DefaultManagedAppProtectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-defaultmanagedappprotection-create?view=graph-rest-1.0 func (m *DefaultManagedAppProtectionsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DefaultManagedAppProtectionable, requestConfiguration *DefaultManagedAppProtectionsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DefaultManagedAppProtectionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *DefaultManagedAppProtectionsRequestBuilder) Post(ctx context.Context, b } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DefaultManagedAppProtectionable), nil } -// ToGetRequestInformation list properties and relationships of the defaultManagedAppProtection objects. +// ToGetRequestInformation default managed app policies. // returns a *RequestInformation when successful func (m *DefaultManagedAppProtectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DefaultManagedAppProtectionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *DefaultManagedAppProtectionsRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new defaultManagedAppProtection object. +// ToPostRequestInformation create new navigation property to defaultManagedAppProtections for deviceAppManagement // returns a *RequestInformation when successful func (m *DefaultManagedAppProtectionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DefaultManagedAppProtectionable, requestConfiguration *DefaultManagedAppProtectionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/device_app_management_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/device_app_management_request_builder.go index 2ae465dc50..5219e246df 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/device_app_management_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/device_app_management_request_builder.go @@ -138,7 +138,7 @@ func (m *DeviceAppManagementRequestBuilder) MobileApps()(*MobileAppsRequestBuild // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-policyset-deviceappmanagement-update?view=graph-rest-1.0 func (m *DeviceAppManagementRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceAppManagementable, requestConfiguration *DeviceAppManagementRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceAppManagementable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ios_managed_app_protections_ios_managed_app_protection_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ios_managed_app_protections_ios_managed_app_protection_item_request_builder.go index 1172cf1994..9d00ef7785 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ios_managed_app_protections_ios_managed_app_protection_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ios_managed_app_protections_ios_managed_app_protection_item_request_builder.go @@ -21,7 +21,7 @@ type IosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// IosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilderGetQueryParameters read properties and relationships of the iosManagedAppProtection object. +// IosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilderGetQueryParameters iOS managed app policies. type IosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -67,11 +67,8 @@ func NewIosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewIosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a iosManagedAppProtection. +// Delete delete navigation property iosManagedAppProtections for deviceAppManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappprotection-delete?view=graph-rest-1.0 func (m *IosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *IosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -91,12 +88,9 @@ func (m *IosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilder) Dele func (m *IosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilder) DeploymentSummary()(*IosManagedAppProtectionsItemDeploymentSummaryRequestBuilder) { return NewIosManagedAppProtectionsItemDeploymentSummaryRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the iosManagedAppProtection object. +// Get iOS managed app policies. // returns a IosManagedAppProtectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappprotection-get?view=graph-rest-1.0 func (m *IosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IosManagedAppProtectionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -114,12 +108,9 @@ func (m *IosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilder) Get( } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IosManagedAppProtectionable), nil } -// Patch update the properties of a iosManagedAppProtection object. +// Patch update the navigation property iosManagedAppProtections in deviceAppManagement // returns a IosManagedAppProtectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappprotection-update?view=graph-rest-1.0 func (m *IosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IosManagedAppProtectionable, requestConfiguration *IosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IosManagedAppProtectionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -137,7 +128,7 @@ func (m *IosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilder) Patc } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IosManagedAppProtectionable), nil } -// ToDeleteRequestInformation deletes a iosManagedAppProtection. +// ToDeleteRequestInformation delete navigation property iosManagedAppProtections for deviceAppManagement // returns a *RequestInformation when successful func (m *IosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *IosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -148,7 +139,7 @@ func (m *IosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the iosManagedAppProtection object. +// ToGetRequestInformation iOS managed app policies. // returns a *RequestInformation when successful func (m *IosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -162,7 +153,7 @@ func (m *IosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilder) ToGe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a iosManagedAppProtection object. +// ToPatchRequestInformation update the navigation property iosManagedAppProtections in deviceAppManagement // returns a *RequestInformation when successful func (m *IosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IosManagedAppProtectionable, requestConfiguration *IosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ios_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ios_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go index 5029b9fd2e..89a72ca41f 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ios_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ios_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go @@ -21,7 +21,7 @@ type IosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// IosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilderGetQueryParameters read properties and relationships of the managedMobileApp object. +// IosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilderGetQueryParameters list of apps to which the policy is deployed. type IosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewIosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder(rawUr urlParams["request-raw-url"] = rawUrl return NewIosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a managedMobileApp. +// Delete delete navigation property apps for deviceAppManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedmobileapp-delete?view=graph-rest-1.0 func (m *IosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *IosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *IosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) Del } return nil } -// Get read properties and relationships of the managedMobileApp object. +// Get list of apps to which the policy is deployed. // returns a ManagedMobileAppable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedmobileapp-get?view=graph-rest-1.0 func (m *IosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedMobileAppable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *IosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) Get } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedMobileAppable), nil } -// Patch update the properties of a managedMobileApp object. +// Patch update the navigation property apps in deviceAppManagement // returns a ManagedMobileAppable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedmobileapp-update?view=graph-rest-1.0 func (m *IosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedMobileAppable, requestConfiguration *IosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedMobileAppable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *IosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) Pat } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedMobileAppable), nil } -// ToDeleteRequestInformation deletes a managedMobileApp. +// ToDeleteRequestInformation delete navigation property apps for deviceAppManagement // returns a *RequestInformation when successful func (m *IosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *IosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *IosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the managedMobileApp object. +// ToGetRequestInformation list of apps to which the policy is deployed. // returns a *RequestInformation when successful func (m *IosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *IosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) ToG requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a managedMobileApp object. +// ToPatchRequestInformation update the navigation property apps in deviceAppManagement // returns a *RequestInformation when successful func (m *IosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedMobileAppable, requestConfiguration *IosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ios_managed_app_protections_item_apps_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ios_managed_app_protections_item_apps_request_builder.go index 04de4af140..a7726cbd2e 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ios_managed_app_protections_item_apps_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ios_managed_app_protections_item_apps_request_builder.go @@ -14,7 +14,7 @@ import ( type IosManagedAppProtectionsItemAppsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// IosManagedAppProtectionsItemAppsRequestBuilderGetQueryParameters list properties and relationships of the managedMobileApp objects. +// IosManagedAppProtectionsItemAppsRequestBuilderGetQueryParameters list of apps to which the policy is deployed. type IosManagedAppProtectionsItemAppsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewIosManagedAppProtectionsItemAppsRequestBuilder(rawUrl string, requestAda func (m *IosManagedAppProtectionsItemAppsRequestBuilder) Count()(*IosManagedAppProtectionsItemAppsCountRequestBuilder) { return NewIosManagedAppProtectionsItemAppsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the managedMobileApp objects. +// Get list of apps to which the policy is deployed. // returns a ManagedMobileAppCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedmobileapp-list?view=graph-rest-1.0 func (m *IosManagedAppProtectionsItemAppsRequestBuilder) Get(ctx context.Context, requestConfiguration *IosManagedAppProtectionsItemAppsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedMobileAppCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *IosManagedAppProtectionsItemAppsRequestBuilder) Get(ctx context.Context } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedMobileAppCollectionResponseable), nil } -// Post create a new managedMobileApp object. +// Post create new navigation property to apps for deviceAppManagement // returns a ManagedMobileAppable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedmobileapp-create?view=graph-rest-1.0 func (m *IosManagedAppProtectionsItemAppsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedMobileAppable, requestConfiguration *IosManagedAppProtectionsItemAppsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedMobileAppable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *IosManagedAppProtectionsItemAppsRequestBuilder) Post(ctx context.Contex } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedMobileAppable), nil } -// ToGetRequestInformation list properties and relationships of the managedMobileApp objects. +// ToGetRequestInformation list of apps to which the policy is deployed. // returns a *RequestInformation when successful func (m *IosManagedAppProtectionsItemAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IosManagedAppProtectionsItemAppsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *IosManagedAppProtectionsItemAppsRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new managedMobileApp object. +// ToPostRequestInformation create new navigation property to apps for deviceAppManagement // returns a *RequestInformation when successful func (m *IosManagedAppProtectionsItemAppsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedMobileAppable, requestConfiguration *IosManagedAppProtectionsItemAppsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ios_managed_app_protections_item_assignments_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ios_managed_app_protections_item_assignments_request_builder.go index 5963e714ab..96df8b9223 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ios_managed_app_protections_item_assignments_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ios_managed_app_protections_item_assignments_request_builder.go @@ -14,7 +14,7 @@ import ( type IosManagedAppProtectionsItemAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// IosManagedAppProtectionsItemAssignmentsRequestBuilderGetQueryParameters list properties and relationships of the targetedManagedAppPolicyAssignment objects. +// IosManagedAppProtectionsItemAssignmentsRequestBuilderGetQueryParameters navigation property to list of inclusion and exclusion groups to which the policy is deployed. type IosManagedAppProtectionsItemAssignmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewIosManagedAppProtectionsItemAssignmentsRequestBuilder(rawUrl string, req func (m *IosManagedAppProtectionsItemAssignmentsRequestBuilder) Count()(*IosManagedAppProtectionsItemAssignmentsCountRequestBuilder) { return NewIosManagedAppProtectionsItemAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the targetedManagedAppPolicyAssignment objects. +// Get navigation property to list of inclusion and exclusion groups to which the policy is deployed. // returns a TargetedManagedAppPolicyAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedapppolicyassignment-list?view=graph-rest-1.0 func (m *IosManagedAppProtectionsItemAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *IosManagedAppProtectionsItemAssignmentsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedManagedAppPolicyAssignmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +119,7 @@ func (m *IosManagedAppProtectionsItemAssignmentsRequestBuilder) Post(ctx context } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedManagedAppPolicyAssignmentable), nil } -// ToGetRequestInformation list properties and relationships of the targetedManagedAppPolicyAssignment objects. +// ToGetRequestInformation navigation property to list of inclusion and exclusion groups to which the policy is deployed. // returns a *RequestInformation when successful func (m *IosManagedAppProtectionsItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IosManagedAppProtectionsItemAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ios_managed_app_protections_item_deployment_summary_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ios_managed_app_protections_item_deployment_summary_request_builder.go index fa28cbb618..365abedea6 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ios_managed_app_protections_item_deployment_summary_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ios_managed_app_protections_item_deployment_summary_request_builder.go @@ -21,7 +21,7 @@ type IosManagedAppProtectionsItemDeploymentSummaryRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// IosManagedAppProtectionsItemDeploymentSummaryRequestBuilderGetQueryParameters read properties and relationships of the managedAppPolicyDeploymentSummary object. +// IosManagedAppProtectionsItemDeploymentSummaryRequestBuilderGetQueryParameters navigation property to deployment summary of the configuration. type IosManagedAppProtectionsItemDeploymentSummaryRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,9 @@ func (m *IosManagedAppProtectionsItemDeploymentSummaryRequestBuilder) Delete(ctx } return nil } -// Get read properties and relationships of the managedAppPolicyDeploymentSummary object. +// Get navigation property to deployment summary of the configuration. // returns a ManagedAppPolicyDeploymentSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicydeploymentsummary-get?view=graph-rest-1.0 func (m *IosManagedAppProtectionsItemDeploymentSummaryRequestBuilder) Get(ctx context.Context, requestConfiguration *IosManagedAppProtectionsItemDeploymentSummaryRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppPolicyDeploymentSummaryable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +93,9 @@ func (m *IosManagedAppProtectionsItemDeploymentSummaryRequestBuilder) Get(ctx co } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppPolicyDeploymentSummaryable), nil } -// Patch update the properties of a managedAppPolicyDeploymentSummary object. +// Patch update the navigation property deploymentSummary in deviceAppManagement // returns a ManagedAppPolicyDeploymentSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicydeploymentsummary-update?view=graph-rest-1.0 func (m *IosManagedAppProtectionsItemDeploymentSummaryRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppPolicyDeploymentSummaryable, requestConfiguration *IosManagedAppProtectionsItemDeploymentSummaryRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppPolicyDeploymentSummaryable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +124,7 @@ func (m *IosManagedAppProtectionsItemDeploymentSummaryRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the managedAppPolicyDeploymentSummary object. +// ToGetRequestInformation navigation property to deployment summary of the configuration. // returns a *RequestInformation when successful func (m *IosManagedAppProtectionsItemDeploymentSummaryRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IosManagedAppProtectionsItemDeploymentSummaryRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +138,7 @@ func (m *IosManagedAppProtectionsItemDeploymentSummaryRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a managedAppPolicyDeploymentSummary object. +// ToPatchRequestInformation update the navigation property deploymentSummary in deviceAppManagement // returns a *RequestInformation when successful func (m *IosManagedAppProtectionsItemDeploymentSummaryRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppPolicyDeploymentSummaryable, requestConfiguration *IosManagedAppProtectionsItemDeploymentSummaryRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ios_managed_app_protections_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ios_managed_app_protections_request_builder.go index f49bbac39d..0580ca2d53 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ios_managed_app_protections_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/ios_managed_app_protections_request_builder.go @@ -14,7 +14,7 @@ import ( type IosManagedAppProtectionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// IosManagedAppProtectionsRequestBuilderGetQueryParameters list properties and relationships of the iosManagedAppProtection objects. +// IosManagedAppProtectionsRequestBuilderGetQueryParameters iOS managed app policies. type IosManagedAppProtectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewIosManagedAppProtectionsRequestBuilder(rawUrl string, requestAdapter i2a func (m *IosManagedAppProtectionsRequestBuilder) Count()(*IosManagedAppProtectionsCountRequestBuilder) { return NewIosManagedAppProtectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the iosManagedAppProtection objects. +// Get iOS managed app policies. // returns a IosManagedAppProtectionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappprotection-list?view=graph-rest-1.0 func (m *IosManagedAppProtectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *IosManagedAppProtectionsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IosManagedAppProtectionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *IosManagedAppProtectionsRequestBuilder) Get(ctx context.Context, reques } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IosManagedAppProtectionCollectionResponseable), nil } -// Post create a new iosManagedAppProtection object. +// Post create new navigation property to iosManagedAppProtections for deviceAppManagement // returns a IosManagedAppProtectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappprotection-create?view=graph-rest-1.0 func (m *IosManagedAppProtectionsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IosManagedAppProtectionable, requestConfiguration *IosManagedAppProtectionsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IosManagedAppProtectionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *IosManagedAppProtectionsRequestBuilder) Post(ctx context.Context, body } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IosManagedAppProtectionable), nil } -// ToGetRequestInformation list properties and relationships of the iosManagedAppProtection objects. +// ToGetRequestInformation iOS managed app policies. // returns a *RequestInformation when successful func (m *IosManagedAppProtectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IosManagedAppProtectionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *IosManagedAppProtectionsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new iosManagedAppProtection object. +// ToPostRequestInformation create new navigation property to iosManagedAppProtections for deviceAppManagement // returns a *RequestInformation when successful func (m *IosManagedAppProtectionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IosManagedAppProtectionable, requestConfiguration *IosManagedAppProtectionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_policies_item_target_apps_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_policies_item_target_apps_request_builder.go index 3e1a6cb8a3..c1cb233580 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_policies_item_target_apps_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_policies_item_target_apps_request_builder.go @@ -33,11 +33,8 @@ func NewManagedAppPoliciesItemTargetAppsRequestBuilder(rawUrl string, requestAda urlParams["request-raw-url"] = rawUrl return NewManagedAppPoliciesItemTargetAppsRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action targetApps // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 func (m *ManagedAppPoliciesItemTargetAppsRequestBuilder) Post(ctx context.Context, body ManagedAppPoliciesItemTargetAppsPostRequestBodyable, requestConfiguration *ManagedAppPoliciesItemTargetAppsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -52,7 +49,7 @@ func (m *ManagedAppPoliciesItemTargetAppsRequestBuilder) Post(ctx context.Contex } return nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action targetApps // returns a *RequestInformation when successful func (m *ManagedAppPoliciesItemTargetAppsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ManagedAppPoliciesItemTargetAppsPostRequestBodyable, requestConfiguration *ManagedAppPoliciesItemTargetAppsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_policies_managed_app_policy_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_policies_managed_app_policy_item_request_builder.go index 155b109e62..6c7204c46b 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_policies_managed_app_policy_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_policies_managed_app_policy_item_request_builder.go @@ -21,7 +21,7 @@ type ManagedAppPoliciesManagedAppPolicyItemRequestBuilderDeleteRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetQueryParameters read properties and relationships of the windowsInformationProtection object. +// ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetQueryParameters managed app policies. type ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,9 @@ func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) Delete(ctx contex } return nil } -// Get read properties and relationships of the windowsInformationProtection object. +// Get managed app policies. // returns a ManagedAppPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-get?view=graph-rest-1.0 func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -132,7 +129,7 @@ func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) ToDeleteRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the windowsInformationProtection object. +// ToGetRequestInformation managed app policies. // returns a *RequestInformation when successful func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_policies_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_policies_request_builder.go index b93f477d3f..7fe5a8ec51 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_policies_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_policies_request_builder.go @@ -14,7 +14,7 @@ import ( type ManagedAppPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedAppPoliciesRequestBuilderGetQueryParameters list properties and relationships of the managedAppProtection objects. +// ManagedAppPoliciesRequestBuilderGetQueryParameters managed app policies. type ManagedAppPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewManagedAppPoliciesRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *ManagedAppPoliciesRequestBuilder) Count()(*ManagedAppPoliciesCountRequestBuilder) { return NewManagedAppPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the managedAppProtection objects. +// Get managed app policies. // returns a ManagedAppPolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-list?view=graph-rest-1.0 func (m *ManagedAppPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppPoliciesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppPolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +119,7 @@ func (m *ManagedAppPoliciesRequestBuilder) Post(ctx context.Context, body iadcd8 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppPolicyable), nil } -// ToGetRequestInformation list properties and relationships of the managedAppProtection objects. +// ToGetRequestInformation managed app policies. // returns a *RequestInformation when successful func (m *ManagedAppPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_registrations_get_user_ids_with_flagged_app_registration_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_registrations_get_user_ids_with_flagged_app_registration_request_builder.go index 0353a9f965..bdad2b285f 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_registrations_get_user_ids_with_flagged_app_registration_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_registrations_get_user_ids_with_flagged_app_registration_request_builder.go @@ -13,7 +13,7 @@ import ( type ManagedAppRegistrationsGetUserIdsWithFlaggedAppRegistrationRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedAppRegistrationsGetUserIdsWithFlaggedAppRegistrationRequestBuilderGetQueryParameters not yet documented +// ManagedAppRegistrationsGetUserIdsWithFlaggedAppRegistrationRequestBuilderGetQueryParameters invoke function getUserIdsWithFlaggedAppRegistration type ManagedAppRegistrationsGetUserIdsWithFlaggedAppRegistrationRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -48,13 +48,10 @@ func NewManagedAppRegistrationsGetUserIdsWithFlaggedAppRegistrationRequestBuilde urlParams["request-raw-url"] = rawUrl return NewManagedAppRegistrationsGetUserIdsWithFlaggedAppRegistrationRequestBuilderInternal(urlParams, requestAdapter) } -// Get not yet documented +// Get invoke function getUserIdsWithFlaggedAppRegistration // Deprecated: This method is obsolete. Use GetAsGetUserIdsWithFlaggedAppRegistrationGetResponse instead. // returns a ManagedAppRegistrationsGetUserIdsWithFlaggedAppRegistrationResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-getuseridswithflaggedappregistration?view=graph-rest-1.0 func (m *ManagedAppRegistrationsGetUserIdsWithFlaggedAppRegistrationRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppRegistrationsGetUserIdsWithFlaggedAppRegistrationRequestBuilderGetRequestConfiguration)(ManagedAppRegistrationsGetUserIdsWithFlaggedAppRegistrationResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,12 +69,9 @@ func (m *ManagedAppRegistrationsGetUserIdsWithFlaggedAppRegistrationRequestBuild } return res.(ManagedAppRegistrationsGetUserIdsWithFlaggedAppRegistrationResponseable), nil } -// GetAsGetUserIdsWithFlaggedAppRegistrationGetResponse not yet documented +// GetAsGetUserIdsWithFlaggedAppRegistrationGetResponse invoke function getUserIdsWithFlaggedAppRegistration // returns a ManagedAppRegistrationsGetUserIdsWithFlaggedAppRegistrationGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-getuseridswithflaggedappregistration?view=graph-rest-1.0 func (m *ManagedAppRegistrationsGetUserIdsWithFlaggedAppRegistrationRequestBuilder) GetAsGetUserIdsWithFlaggedAppRegistrationGetResponse(ctx context.Context, requestConfiguration *ManagedAppRegistrationsGetUserIdsWithFlaggedAppRegistrationRequestBuilderGetRequestConfiguration)(ManagedAppRegistrationsGetUserIdsWithFlaggedAppRegistrationGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +89,7 @@ func (m *ManagedAppRegistrationsGetUserIdsWithFlaggedAppRegistrationRequestBuild } return res.(ManagedAppRegistrationsGetUserIdsWithFlaggedAppRegistrationGetResponseable), nil } -// ToGetRequestInformation not yet documented +// ToGetRequestInformation invoke function getUserIdsWithFlaggedAppRegistration // returns a *RequestInformation when successful func (m *ManagedAppRegistrationsGetUserIdsWithFlaggedAppRegistrationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppRegistrationsGetUserIdsWithFlaggedAppRegistrationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_registrations_item_applied_policies_item_target_apps_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_registrations_item_applied_policies_item_target_apps_request_builder.go index 5f1d88caab..3d723b0380 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_registrations_item_applied_policies_item_target_apps_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_registrations_item_applied_policies_item_target_apps_request_builder.go @@ -33,11 +33,8 @@ func NewManagedAppRegistrationsItemAppliedPoliciesItemTargetAppsRequestBuilder(r urlParams["request-raw-url"] = rawUrl return NewManagedAppRegistrationsItemAppliedPoliciesItemTargetAppsRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action targetApps // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 func (m *ManagedAppRegistrationsItemAppliedPoliciesItemTargetAppsRequestBuilder) Post(ctx context.Context, body ManagedAppRegistrationsItemAppliedPoliciesItemTargetAppsPostRequestBodyable, requestConfiguration *ManagedAppRegistrationsItemAppliedPoliciesItemTargetAppsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -52,7 +49,7 @@ func (m *ManagedAppRegistrationsItemAppliedPoliciesItemTargetAppsRequestBuilder) } return nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action targetApps // returns a *RequestInformation when successful func (m *ManagedAppRegistrationsItemAppliedPoliciesItemTargetAppsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ManagedAppRegistrationsItemAppliedPoliciesItemTargetAppsPostRequestBodyable, requestConfiguration *ManagedAppRegistrationsItemAppliedPoliciesItemTargetAppsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_registrations_item_intended_policies_item_target_apps_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_registrations_item_intended_policies_item_target_apps_request_builder.go index 101d571ae7..15b1f8b635 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_registrations_item_intended_policies_item_target_apps_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_registrations_item_intended_policies_item_target_apps_request_builder.go @@ -33,11 +33,8 @@ func NewManagedAppRegistrationsItemIntendedPoliciesItemTargetAppsRequestBuilder( urlParams["request-raw-url"] = rawUrl return NewManagedAppRegistrationsItemIntendedPoliciesItemTargetAppsRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action targetApps // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 func (m *ManagedAppRegistrationsItemIntendedPoliciesItemTargetAppsRequestBuilder) Post(ctx context.Context, body ManagedAppRegistrationsItemIntendedPoliciesItemTargetAppsPostRequestBodyable, requestConfiguration *ManagedAppRegistrationsItemIntendedPoliciesItemTargetAppsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -52,7 +49,7 @@ func (m *ManagedAppRegistrationsItemIntendedPoliciesItemTargetAppsRequestBuilder } return nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action targetApps // returns a *RequestInformation when successful func (m *ManagedAppRegistrationsItemIntendedPoliciesItemTargetAppsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ManagedAppRegistrationsItemIntendedPoliciesItemTargetAppsPostRequestBodyable, requestConfiguration *ManagedAppRegistrationsItemIntendedPoliciesItemTargetAppsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_registrations_item_operations_managed_app_operation_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_registrations_item_operations_managed_app_operation_item_request_builder.go index 577bd129fb..68da009b2c 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_registrations_item_operations_managed_app_operation_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_registrations_item_operations_managed_app_operation_item_request_builder.go @@ -21,7 +21,7 @@ type ManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuilderD // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuilderGetQueryParameters read properties and relationships of the managedAppOperation object. +// ManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuilderGetQueryParameters zero or more long running operations triggered on the app registration. type ManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuild urlParams["request-raw-url"] = rawUrl return NewManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a managedAppOperation. +// Delete delete navigation property operations for deviceAppManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappoperation-delete?view=graph-rest-1.0 func (m *ManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *ManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuil } return nil } -// Get read properties and relationships of the managedAppOperation object. +// Get zero or more long running operations triggered on the app registration. // returns a ManagedAppOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappoperation-get?view=graph-rest-1.0 func (m *ManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppOperationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *ManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuil } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppOperationable), nil } -// Patch update the properties of a managedAppOperation object. +// Patch update the navigation property operations in deviceAppManagement // returns a ManagedAppOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappoperation-update?view=graph-rest-1.0 func (m *ManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppOperationable, requestConfiguration *ManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppOperationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *ManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuil } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppOperationable), nil } -// ToDeleteRequestInformation deletes a managedAppOperation. +// ToDeleteRequestInformation delete navigation property operations for deviceAppManagement // returns a *RequestInformation when successful func (m *ManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *ManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the managedAppOperation object. +// ToGetRequestInformation zero or more long running operations triggered on the app registration. // returns a *RequestInformation when successful func (m *ManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *ManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a managedAppOperation object. +// ToPatchRequestInformation update the navigation property operations in deviceAppManagement // returns a *RequestInformation when successful func (m *ManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppOperationable, requestConfiguration *ManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_registrations_item_operations_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_registrations_item_operations_request_builder.go index b1a58a6ec5..c75082450e 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_registrations_item_operations_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_registrations_item_operations_request_builder.go @@ -14,7 +14,7 @@ import ( type ManagedAppRegistrationsItemOperationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedAppRegistrationsItemOperationsRequestBuilderGetQueryParameters list properties and relationships of the managedAppOperation objects. +// ManagedAppRegistrationsItemOperationsRequestBuilderGetQueryParameters zero or more long running operations triggered on the app registration. type ManagedAppRegistrationsItemOperationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewManagedAppRegistrationsItemOperationsRequestBuilder(rawUrl string, reque func (m *ManagedAppRegistrationsItemOperationsRequestBuilder) Count()(*ManagedAppRegistrationsItemOperationsCountRequestBuilder) { return NewManagedAppRegistrationsItemOperationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the managedAppOperation objects. +// Get zero or more long running operations triggered on the app registration. // returns a ManagedAppOperationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappoperation-list?view=graph-rest-1.0 func (m *ManagedAppRegistrationsItemOperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppRegistrationsItemOperationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppOperationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ManagedAppRegistrationsItemOperationsRequestBuilder) Get(ctx context.Co } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppOperationCollectionResponseable), nil } -// Post create a new managedAppOperation object. +// Post create new navigation property to operations for deviceAppManagement // returns a ManagedAppOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappoperation-create?view=graph-rest-1.0 func (m *ManagedAppRegistrationsItemOperationsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppOperationable, requestConfiguration *ManagedAppRegistrationsItemOperationsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ManagedAppRegistrationsItemOperationsRequestBuilder) Post(ctx context.C } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppOperationable), nil } -// ToGetRequestInformation list properties and relationships of the managedAppOperation objects. +// ToGetRequestInformation zero or more long running operations triggered on the app registration. // returns a *RequestInformation when successful func (m *ManagedAppRegistrationsItemOperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppRegistrationsItemOperationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ManagedAppRegistrationsItemOperationsRequestBuilder) ToGetRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new managedAppOperation object. +// ToPostRequestInformation create new navigation property to operations for deviceAppManagement // returns a *RequestInformation when successful func (m *ManagedAppRegistrationsItemOperationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppOperationable, requestConfiguration *ManagedAppRegistrationsItemOperationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_registrations_managed_app_registration_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_registrations_managed_app_registration_item_request_builder.go index 3848503a25..f97d2b0815 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_registrations_managed_app_registration_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_registrations_managed_app_registration_item_request_builder.go @@ -21,7 +21,7 @@ type ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderDeleteReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderGetQueryParameters read properties and relationships of the androidManagedAppRegistration object. +// ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderGetQueryParameters the managed app registrations. type ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -78,12 +78,9 @@ func (m *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) Delete } return nil } -// Get read properties and relationships of the androidManagedAppRegistration object. +// Get the managed app registrations. // returns a ManagedAppRegistrationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-get?view=graph-rest-1.0 func (m *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppRegistrationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -142,7 +139,7 @@ func (m *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) ToDele requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the androidManagedAppRegistration object. +// ToGetRequestInformation the managed app registrations. // returns a *RequestInformation when successful func (m *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_registrations_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_registrations_request_builder.go index fb833f151e..0147cfd743 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_registrations_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_registrations_request_builder.go @@ -14,7 +14,7 @@ import ( type ManagedAppRegistrationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedAppRegistrationsRequestBuilderGetQueryParameters list properties and relationships of the iosManagedAppRegistration objects. +// ManagedAppRegistrationsRequestBuilderGetQueryParameters the managed app registrations. type ManagedAppRegistrationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewManagedAppRegistrationsRequestBuilder(rawUrl string, requestAdapter i2ae func (m *ManagedAppRegistrationsRequestBuilder) Count()(*ManagedAppRegistrationsCountRequestBuilder) { return NewManagedAppRegistrationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the iosManagedAppRegistration objects. +// Get the managed app registrations. // returns a ManagedAppRegistrationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-list?view=graph-rest-1.0 func (m *ManagedAppRegistrationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppRegistrationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppRegistrationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -107,12 +104,9 @@ func (m *ManagedAppRegistrationsRequestBuilder) Get(ctx context.Context, request func (m *ManagedAppRegistrationsRequestBuilder) GetUserIdsWithFlaggedAppRegistration()(*ManagedAppRegistrationsGetUserIdsWithFlaggedAppRegistrationRequestBuilder) { return NewManagedAppRegistrationsGetUserIdsWithFlaggedAppRegistrationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new androidManagedAppRegistration object. +// Post create new navigation property to managedAppRegistrations for deviceAppManagement // returns a ManagedAppRegistrationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-create?view=graph-rest-1.0 func (m *ManagedAppRegistrationsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppRegistrationable, requestConfiguration *ManagedAppRegistrationsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppRegistrationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +124,7 @@ func (m *ManagedAppRegistrationsRequestBuilder) Post(ctx context.Context, body i } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppRegistrationable), nil } -// ToGetRequestInformation list properties and relationships of the iosManagedAppRegistration objects. +// ToGetRequestInformation the managed app registrations. // returns a *RequestInformation when successful func (m *ManagedAppRegistrationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppRegistrationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +138,7 @@ func (m *ManagedAppRegistrationsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new androidManagedAppRegistration object. +// ToPostRequestInformation create new navigation property to managedAppRegistrations for deviceAppManagement // returns a *RequestInformation when successful func (m *ManagedAppRegistrationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppRegistrationable, requestConfiguration *ManagedAppRegistrationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_statuses_managed_app_status_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_statuses_managed_app_status_item_request_builder.go index c3dacfdf09..cdb1e56f36 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_statuses_managed_app_status_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_statuses_managed_app_status_item_request_builder.go @@ -21,7 +21,7 @@ type ManagedAppStatusesManagedAppStatusItemRequestBuilderDeleteRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedAppStatusesManagedAppStatusItemRequestBuilderGetQueryParameters read properties and relationships of the managedAppStatusRaw object. +// ManagedAppStatusesManagedAppStatusItemRequestBuilderGetQueryParameters the managed app statuses. type ManagedAppStatusesManagedAppStatusItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,9 @@ func (m *ManagedAppStatusesManagedAppStatusItemRequestBuilder) Delete(ctx contex } return nil } -// Get read properties and relationships of the managedAppStatusRaw object. +// Get the managed app statuses. // returns a ManagedAppStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-get?view=graph-rest-1.0 func (m *ManagedAppStatusesManagedAppStatusItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppStatusesManagedAppStatusItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppStatusable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -127,7 +124,7 @@ func (m *ManagedAppStatusesManagedAppStatusItemRequestBuilder) ToDeleteRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the managedAppStatusRaw object. +// ToGetRequestInformation the managed app statuses. // returns a *RequestInformation when successful func (m *ManagedAppStatusesManagedAppStatusItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppStatusesManagedAppStatusItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_statuses_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_statuses_request_builder.go index f11e18243d..e1d6f55525 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_statuses_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_app_statuses_request_builder.go @@ -14,7 +14,7 @@ import ( type ManagedAppStatusesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedAppStatusesRequestBuilderGetQueryParameters list properties and relationships of the managedAppStatusRaw objects. +// ManagedAppStatusesRequestBuilderGetQueryParameters the managed app statuses. type ManagedAppStatusesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewManagedAppStatusesRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *ManagedAppStatusesRequestBuilder) Count()(*ManagedAppStatusesCountRequestBuilder) { return NewManagedAppStatusesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the managedAppStatusRaw objects. +// Get the managed app statuses. // returns a ManagedAppStatusCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-list?view=graph-rest-1.0 func (m *ManagedAppStatusesRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppStatusesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppStatusCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +119,7 @@ func (m *ManagedAppStatusesRequestBuilder) Post(ctx context.Context, body iadcd8 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppStatusable), nil } -// ToGetRequestInformation list properties and relationships of the managedAppStatusRaw objects. +// ToGetRequestInformation the managed app statuses. // returns a *RequestInformation when successful func (m *ManagedAppStatusesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppStatusesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_assign_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_assign_request_builder.go index a984435878..5a19ae665b 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_assign_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_assign_request_builder.go @@ -33,11 +33,8 @@ func NewManagedEBooksItemAssignRequestBuilder(rawUrl string, requestAdapter i2ae urlParams["request-raw-url"] = rawUrl return NewManagedEBooksItemAssignRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action assign // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-managedebook-assign?view=graph-rest-1.0 func (m *ManagedEBooksItemAssignRequestBuilder) Post(ctx context.Context, body ManagedEBooksItemAssignPostRequestBodyable, requestConfiguration *ManagedEBooksItemAssignRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -52,7 +49,7 @@ func (m *ManagedEBooksItemAssignRequestBuilder) Post(ctx context.Context, body M } return nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action assign // returns a *RequestInformation when successful func (m *ManagedEBooksItemAssignRequestBuilder) ToPostRequestInformation(ctx context.Context, body ManagedEBooksItemAssignPostRequestBodyable, requestConfiguration *ManagedEBooksItemAssignRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_assignments_managed_e_book_assignment_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_assignments_managed_e_book_assignment_item_request_builder.go index 0a5ec5c1bd..1181127f00 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_assignments_managed_e_book_assignment_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_assignments_managed_e_book_assignment_item_request_builder.go @@ -21,7 +21,7 @@ type ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderDeleteR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderGetQueryParameters read properties and relationships of the iosVppEBookAssignment object. +// ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderGetQueryParameters the list of assignments for this eBook. type ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder(raw urlParams["request-raw-url"] = rawUrl return NewManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a managedEBookAssignment. +// Delete delete navigation property assignments for deviceAppManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-delete?view=graph-rest-1.0 func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) D } return nil } -// Get read properties and relationships of the iosVppEBookAssignment object. +// Get the list of assignments for this eBook. // returns a ManagedEBookAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-get?view=graph-rest-1.0 func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) G } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable), nil } -// Patch update the properties of a iosVppEBookAssignment object. +// Patch update the navigation property assignments in deviceAppManagement // returns a ManagedEBookAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-update?view=graph-rest-1.0 func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable, requestConfiguration *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) P } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable), nil } -// ToDeleteRequestInformation deletes a managedEBookAssignment. +// ToDeleteRequestInformation delete navigation property assignments for deviceAppManagement // returns a *RequestInformation when successful func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) T requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the iosVppEBookAssignment object. +// ToGetRequestInformation the list of assignments for this eBook. // returns a *RequestInformation when successful func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) T requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a iosVppEBookAssignment object. +// ToPatchRequestInformation update the navigation property assignments in deviceAppManagement // returns a *RequestInformation when successful func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable, requestConfiguration *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_assignments_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_assignments_request_builder.go index c0b804c8b6..9ac4157adc 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_assignments_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_assignments_request_builder.go @@ -14,7 +14,7 @@ import ( type ManagedEBooksItemAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedEBooksItemAssignmentsRequestBuilderGetQueryParameters list properties and relationships of the managedEBookAssignment objects. +// ManagedEBooksItemAssignmentsRequestBuilderGetQueryParameters the list of assignments for this eBook. type ManagedEBooksItemAssignmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewManagedEBooksItemAssignmentsRequestBuilder(rawUrl string, requestAdapter func (m *ManagedEBooksItemAssignmentsRequestBuilder) Count()(*ManagedEBooksItemAssignmentsCountRequestBuilder) { return NewManagedEBooksItemAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the managedEBookAssignment objects. +// Get the list of assignments for this eBook. // returns a ManagedEBookAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-list?view=graph-rest-1.0 func (m *ManagedEBooksItemAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedEBooksItemAssignmentsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ManagedEBooksItemAssignmentsRequestBuilder) Get(ctx context.Context, re } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentCollectionResponseable), nil } -// Post create a new managedEBookAssignment object. +// Post create new navigation property to assignments for deviceAppManagement // returns a ManagedEBookAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-create?view=graph-rest-1.0 func (m *ManagedEBooksItemAssignmentsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable, requestConfiguration *ManagedEBooksItemAssignmentsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ManagedEBooksItemAssignmentsRequestBuilder) Post(ctx context.Context, b } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable), nil } -// ToGetRequestInformation list properties and relationships of the managedEBookAssignment objects. +// ToGetRequestInformation the list of assignments for this eBook. // returns a *RequestInformation when successful func (m *ManagedEBooksItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedEBooksItemAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ManagedEBooksItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new managedEBookAssignment object. +// ToPostRequestInformation create new navigation property to assignments for deviceAppManagement // returns a *RequestInformation when successful func (m *ManagedEBooksItemAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable, requestConfiguration *ManagedEBooksItemAssignmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_device_states_device_install_state_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_device_states_device_install_state_item_request_builder.go index 197d911c36..7aac0a09b8 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_device_states_device_install_state_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_device_states_device_install_state_item_request_builder.go @@ -21,7 +21,7 @@ type ManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilderGetQueryParameters read properties and relationships of the deviceInstallState object. +// ManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilderGetQueryParameters the list of installation states for this eBook. type ManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a deviceInstallState. +// Delete delete navigation property deviceStates for deviceAppManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-deviceinstallstate-delete?view=graph-rest-1.0 func (m *ManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *ManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilder) Dele } return nil } -// Get read properties and relationships of the deviceInstallState object. +// Get the list of installation states for this eBook. // returns a DeviceInstallStateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-deviceinstallstate-get?view=graph-rest-1.0 func (m *ManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceInstallStateable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *ManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilder) Get( } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceInstallStateable), nil } -// Patch update the properties of a deviceInstallState object. +// Patch update the navigation property deviceStates in deviceAppManagement // returns a DeviceInstallStateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-deviceinstallstate-update?view=graph-rest-1.0 func (m *ManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceInstallStateable, requestConfiguration *ManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceInstallStateable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *ManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilder) Patc } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceInstallStateable), nil } -// ToDeleteRequestInformation deletes a deviceInstallState. +// ToDeleteRequestInformation delete navigation property deviceStates for deviceAppManagement // returns a *RequestInformation when successful func (m *ManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *ManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceInstallState object. +// ToGetRequestInformation the list of installation states for this eBook. // returns a *RequestInformation when successful func (m *ManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *ManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilder) ToGe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceInstallState object. +// ToPatchRequestInformation update the navigation property deviceStates in deviceAppManagement // returns a *RequestInformation when successful func (m *ManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceInstallStateable, requestConfiguration *ManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_device_states_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_device_states_request_builder.go index e7f5b4933c..a63be6f072 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_device_states_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_device_states_request_builder.go @@ -14,7 +14,7 @@ import ( type ManagedEBooksItemDeviceStatesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedEBooksItemDeviceStatesRequestBuilderGetQueryParameters list properties and relationships of the deviceInstallState objects. +// ManagedEBooksItemDeviceStatesRequestBuilderGetQueryParameters the list of installation states for this eBook. type ManagedEBooksItemDeviceStatesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewManagedEBooksItemDeviceStatesRequestBuilder(rawUrl string, requestAdapte func (m *ManagedEBooksItemDeviceStatesRequestBuilder) Count()(*ManagedEBooksItemDeviceStatesCountRequestBuilder) { return NewManagedEBooksItemDeviceStatesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the deviceInstallState objects. +// Get the list of installation states for this eBook. // returns a DeviceInstallStateCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-deviceinstallstate-list?view=graph-rest-1.0 func (m *ManagedEBooksItemDeviceStatesRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedEBooksItemDeviceStatesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceInstallStateCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ManagedEBooksItemDeviceStatesRequestBuilder) Get(ctx context.Context, r } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceInstallStateCollectionResponseable), nil } -// Post create a new deviceInstallState object. +// Post create new navigation property to deviceStates for deviceAppManagement // returns a DeviceInstallStateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-deviceinstallstate-create?view=graph-rest-1.0 func (m *ManagedEBooksItemDeviceStatesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceInstallStateable, requestConfiguration *ManagedEBooksItemDeviceStatesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceInstallStateable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ManagedEBooksItemDeviceStatesRequestBuilder) Post(ctx context.Context, } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceInstallStateable), nil } -// ToGetRequestInformation list properties and relationships of the deviceInstallState objects. +// ToGetRequestInformation the list of installation states for this eBook. // returns a *RequestInformation when successful func (m *ManagedEBooksItemDeviceStatesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedEBooksItemDeviceStatesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ManagedEBooksItemDeviceStatesRequestBuilder) ToGetRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new deviceInstallState object. +// ToPostRequestInformation create new navigation property to deviceStates for deviceAppManagement // returns a *RequestInformation when successful func (m *ManagedEBooksItemDeviceStatesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceInstallStateable, requestConfiguration *ManagedEBooksItemDeviceStatesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_install_summary_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_install_summary_request_builder.go index f5e22582d1..a9a622aafe 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_install_summary_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_install_summary_request_builder.go @@ -21,7 +21,7 @@ type ManagedEBooksItemInstallSummaryRequestBuilderDeleteRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedEBooksItemInstallSummaryRequestBuilderGetQueryParameters read properties and relationships of the eBookInstallSummary object. +// ManagedEBooksItemInstallSummaryRequestBuilderGetQueryParameters mobile App Install Summary. type ManagedEBooksItemInstallSummaryRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,9 @@ func (m *ManagedEBooksItemInstallSummaryRequestBuilder) Delete(ctx context.Conte } return nil } -// Get read properties and relationships of the eBookInstallSummary object. +// Get mobile App Install Summary. // returns a EBookInstallSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-ebookinstallsummary-get?view=graph-rest-1.0 func (m *ManagedEBooksItemInstallSummaryRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedEBooksItemInstallSummaryRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EBookInstallSummaryable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +93,9 @@ func (m *ManagedEBooksItemInstallSummaryRequestBuilder) Get(ctx context.Context, } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EBookInstallSummaryable), nil } -// Patch update the properties of a eBookInstallSummary object. +// Patch update the navigation property installSummary in deviceAppManagement // returns a EBookInstallSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-ebookinstallsummary-update?view=graph-rest-1.0 func (m *ManagedEBooksItemInstallSummaryRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EBookInstallSummaryable, requestConfiguration *ManagedEBooksItemInstallSummaryRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EBookInstallSummaryable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +124,7 @@ func (m *ManagedEBooksItemInstallSummaryRequestBuilder) ToDeleteRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the eBookInstallSummary object. +// ToGetRequestInformation mobile App Install Summary. // returns a *RequestInformation when successful func (m *ManagedEBooksItemInstallSummaryRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedEBooksItemInstallSummaryRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +138,7 @@ func (m *ManagedEBooksItemInstallSummaryRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a eBookInstallSummary object. +// ToPatchRequestInformation update the navigation property installSummary in deviceAppManagement // returns a *RequestInformation when successful func (m *ManagedEBooksItemInstallSummaryRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EBookInstallSummaryable, requestConfiguration *ManagedEBooksItemInstallSummaryRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_user_state_summary_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_user_state_summary_request_builder.go index 8fc943d629..056b56a2b2 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_user_state_summary_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_user_state_summary_request_builder.go @@ -14,7 +14,7 @@ import ( type ManagedEBooksItemUserStateSummaryRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedEBooksItemUserStateSummaryRequestBuilderGetQueryParameters list properties and relationships of the userInstallStateSummary objects. +// ManagedEBooksItemUserStateSummaryRequestBuilderGetQueryParameters the list of installation states for this eBook. type ManagedEBooksItemUserStateSummaryRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewManagedEBooksItemUserStateSummaryRequestBuilder(rawUrl string, requestAd func (m *ManagedEBooksItemUserStateSummaryRequestBuilder) Count()(*ManagedEBooksItemUserStateSummaryCountRequestBuilder) { return NewManagedEBooksItemUserStateSummaryCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the userInstallStateSummary objects. +// Get the list of installation states for this eBook. // returns a UserInstallStateSummaryCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-userinstallstatesummary-list?view=graph-rest-1.0 func (m *ManagedEBooksItemUserStateSummaryRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedEBooksItemUserStateSummaryRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserInstallStateSummaryCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ManagedEBooksItemUserStateSummaryRequestBuilder) Get(ctx context.Contex } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserInstallStateSummaryCollectionResponseable), nil } -// Post create a new userInstallStateSummary object. +// Post create new navigation property to userStateSummary for deviceAppManagement // returns a UserInstallStateSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-userinstallstatesummary-create?view=graph-rest-1.0 func (m *ManagedEBooksItemUserStateSummaryRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserInstallStateSummaryable, requestConfiguration *ManagedEBooksItemUserStateSummaryRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserInstallStateSummaryable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ManagedEBooksItemUserStateSummaryRequestBuilder) Post(ctx context.Conte } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserInstallStateSummaryable), nil } -// ToGetRequestInformation list properties and relationships of the userInstallStateSummary objects. +// ToGetRequestInformation the list of installation states for this eBook. // returns a *RequestInformation when successful func (m *ManagedEBooksItemUserStateSummaryRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedEBooksItemUserStateSummaryRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ManagedEBooksItemUserStateSummaryRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new userInstallStateSummary object. +// ToPostRequestInformation create new navigation property to userStateSummary for deviceAppManagement // returns a *RequestInformation when successful func (m *ManagedEBooksItemUserStateSummaryRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserInstallStateSummaryable, requestConfiguration *ManagedEBooksItemUserStateSummaryRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_user_state_summary_user_install_state_summary_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_user_state_summary_user_install_state_summary_item_request_builder.go index 831973ee1b..9c0b68accb 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_user_state_summary_user_install_state_summary_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_item_user_state_summary_user_install_state_summary_item_request_builder.go @@ -21,7 +21,7 @@ type ManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuilderD // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuilderGetQueryParameters read properties and relationships of the userInstallStateSummary object. +// ManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuilderGetQueryParameters the list of installation states for this eBook. type ManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuild urlParams["request-raw-url"] = rawUrl return NewManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a userInstallStateSummary. +// Delete delete navigation property userStateSummary for deviceAppManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-userinstallstatesummary-delete?view=graph-rest-1.0 func (m *ManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -81,12 +78,9 @@ func (m *ManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuil func (m *ManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuilder) DeviceStates()(*ManagedEBooksItemUserStateSummaryItemDeviceStatesRequestBuilder) { return NewManagedEBooksItemUserStateSummaryItemDeviceStatesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the userInstallStateSummary object. +// Get the list of installation states for this eBook. // returns a UserInstallStateSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-userinstallstatesummary-get?view=graph-rest-1.0 func (m *ManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserInstallStateSummaryable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +98,9 @@ func (m *ManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuil } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserInstallStateSummaryable), nil } -// Patch update the properties of a userInstallStateSummary object. +// Patch update the navigation property userStateSummary in deviceAppManagement // returns a UserInstallStateSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-userinstallstatesummary-update?view=graph-rest-1.0 func (m *ManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserInstallStateSummaryable, requestConfiguration *ManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserInstallStateSummaryable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +118,7 @@ func (m *ManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuil } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserInstallStateSummaryable), nil } -// ToDeleteRequestInformation deletes a userInstallStateSummary. +// ToDeleteRequestInformation delete navigation property userStateSummary for deviceAppManagement // returns a *RequestInformation when successful func (m *ManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -138,7 +129,7 @@ func (m *ManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the userInstallStateSummary object. +// ToGetRequestInformation the list of installation states for this eBook. // returns a *RequestInformation when successful func (m *ManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -152,7 +143,7 @@ func (m *ManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a userInstallStateSummary object. +// ToPatchRequestInformation update the navigation property userStateSummary in deviceAppManagement // returns a *RequestInformation when successful func (m *ManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserInstallStateSummaryable, requestConfiguration *ManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_managed_e_book_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_managed_e_book_item_request_builder.go index 615e474639..03507dd9b5 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_managed_e_book_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_managed_e_book_item_request_builder.go @@ -21,7 +21,7 @@ type ManagedEBooksManagedEBookItemRequestBuilderDeleteRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedEBooksManagedEBookItemRequestBuilderGetQueryParameters read properties and relationships of the iosVppEBook object. +// ManagedEBooksManagedEBookItemRequestBuilderGetQueryParameters the Managed eBook. type ManagedEBooksManagedEBookItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -67,11 +67,8 @@ func NewManagedEBooksManagedEBookItemRequestBuilder(rawUrl string, requestAdapte urlParams["request-raw-url"] = rawUrl return NewManagedEBooksManagedEBookItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a iosVppEBook. +// Delete delete navigation property managedEBooks for deviceAppManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-iosvppebook-delete?view=graph-rest-1.0 func (m *ManagedEBooksManagedEBookItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ManagedEBooksManagedEBookItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -91,12 +88,9 @@ func (m *ManagedEBooksManagedEBookItemRequestBuilder) Delete(ctx context.Context func (m *ManagedEBooksManagedEBookItemRequestBuilder) DeviceStates()(*ManagedEBooksItemDeviceStatesRequestBuilder) { return NewManagedEBooksItemDeviceStatesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the iosVppEBook object. +// Get the Managed eBook. // returns a ManagedEBookable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-iosvppebook-get?view=graph-rest-1.0 func (m *ManagedEBooksManagedEBookItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedEBooksManagedEBookItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,12 +113,9 @@ func (m *ManagedEBooksManagedEBookItemRequestBuilder) Get(ctx context.Context, r func (m *ManagedEBooksManagedEBookItemRequestBuilder) InstallSummary()(*ManagedEBooksItemInstallSummaryRequestBuilder) { return NewManagedEBooksItemInstallSummaryRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a iosVppEBook object. +// Patch update the navigation property managedEBooks in deviceAppManagement // returns a ManagedEBookable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-iosvppebook-update?view=graph-rest-1.0 func (m *ManagedEBooksManagedEBookItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookable, requestConfiguration *ManagedEBooksManagedEBookItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -142,7 +133,7 @@ func (m *ManagedEBooksManagedEBookItemRequestBuilder) Patch(ctx context.Context, } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookable), nil } -// ToDeleteRequestInformation deletes a iosVppEBook. +// ToDeleteRequestInformation delete navigation property managedEBooks for deviceAppManagement // returns a *RequestInformation when successful func (m *ManagedEBooksManagedEBookItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ManagedEBooksManagedEBookItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -153,7 +144,7 @@ func (m *ManagedEBooksManagedEBookItemRequestBuilder) ToDeleteRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the iosVppEBook object. +// ToGetRequestInformation the Managed eBook. // returns a *RequestInformation when successful func (m *ManagedEBooksManagedEBookItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedEBooksManagedEBookItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -167,7 +158,7 @@ func (m *ManagedEBooksManagedEBookItemRequestBuilder) ToGetRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a iosVppEBook object. +// ToPatchRequestInformation update the navigation property managedEBooks in deviceAppManagement // returns a *RequestInformation when successful func (m *ManagedEBooksManagedEBookItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookable, requestConfiguration *ManagedEBooksManagedEBookItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_request_builder.go index fb34d0db0c..ce62125076 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/managed_e_books_request_builder.go @@ -14,7 +14,7 @@ import ( type ManagedEBooksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedEBooksRequestBuilderGetQueryParameters list properties and relationships of the iosVppEBook objects. +// ManagedEBooksRequestBuilderGetQueryParameters the Managed eBook. type ManagedEBooksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewManagedEBooksRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee func (m *ManagedEBooksRequestBuilder) Count()(*ManagedEBooksCountRequestBuilder) { return NewManagedEBooksCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the iosVppEBook objects. +// Get the Managed eBook. // returns a ManagedEBookCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-iosvppebook-list?view=graph-rest-1.0 func (m *ManagedEBooksRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedEBooksRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ManagedEBooksRequestBuilder) Get(ctx context.Context, requestConfigurat } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookCollectionResponseable), nil } -// Post create a new iosVppEBook object. +// Post create new navigation property to managedEBooks for deviceAppManagement // returns a ManagedEBookable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-iosvppebook-create?view=graph-rest-1.0 func (m *ManagedEBooksRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookable, requestConfiguration *ManagedEBooksRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ManagedEBooksRequestBuilder) Post(ctx context.Context, body iadcd811244 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookable), nil } -// ToGetRequestInformation list properties and relationships of the iosVppEBook objects. +// ToGetRequestInformation the Managed eBook. // returns a *RequestInformation when successful func (m *ManagedEBooksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedEBooksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ManagedEBooksRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new iosVppEBook object. +// ToPostRequestInformation create new navigation property to managedEBooks for deviceAppManagement // returns a *RequestInformation when successful func (m *ManagedEBooksRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookable, requestConfiguration *ManagedEBooksRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mdm_windows_information_protection_policies_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mdm_windows_information_protection_policies_request_builder.go index eb82cee365..9e2ce2a49a 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mdm_windows_information_protection_policies_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mdm_windows_information_protection_policies_request_builder.go @@ -14,7 +14,7 @@ import ( type MdmWindowsInformationProtectionPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MdmWindowsInformationProtectionPoliciesRequestBuilderGetQueryParameters list properties and relationships of the mdmWindowsInformationProtectionPolicy objects. +// MdmWindowsInformationProtectionPoliciesRequestBuilderGetQueryParameters windows information protection for apps running on devices which are MDM enrolled. type MdmWindowsInformationProtectionPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewMdmWindowsInformationProtectionPoliciesRequestBuilder(rawUrl string, req func (m *MdmWindowsInformationProtectionPoliciesRequestBuilder) Count()(*MdmWindowsInformationProtectionPoliciesCountRequestBuilder) { return NewMdmWindowsInformationProtectionPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the mdmWindowsInformationProtectionPolicy objects. +// Get windows information protection for apps running on devices which are MDM enrolled. // returns a MdmWindowsInformationProtectionPolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-mdmwindowsinformationprotectionpolicy-list?view=graph-rest-1.0 func (m *MdmWindowsInformationProtectionPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *MdmWindowsInformationProtectionPoliciesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MdmWindowsInformationProtectionPolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *MdmWindowsInformationProtectionPoliciesRequestBuilder) Get(ctx context. } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MdmWindowsInformationProtectionPolicyCollectionResponseable), nil } -// Post create a new mdmWindowsInformationProtectionPolicy object. +// Post create new navigation property to mdmWindowsInformationProtectionPolicies for deviceAppManagement // returns a MdmWindowsInformationProtectionPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-mdmwindowsinformationprotectionpolicy-create?view=graph-rest-1.0 func (m *MdmWindowsInformationProtectionPoliciesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MdmWindowsInformationProtectionPolicyable, requestConfiguration *MdmWindowsInformationProtectionPoliciesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MdmWindowsInformationProtectionPolicyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *MdmWindowsInformationProtectionPoliciesRequestBuilder) Post(ctx context } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MdmWindowsInformationProtectionPolicyable), nil } -// ToGetRequestInformation list properties and relationships of the mdmWindowsInformationProtectionPolicy objects. +// ToGetRequestInformation windows information protection for apps running on devices which are MDM enrolled. // returns a *RequestInformation when successful func (m *MdmWindowsInformationProtectionPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MdmWindowsInformationProtectionPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *MdmWindowsInformationProtectionPoliciesRequestBuilder) ToGetRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new mdmWindowsInformationProtectionPolicy object. +// ToPostRequestInformation create new navigation property to mdmWindowsInformationProtectionPolicies for deviceAppManagement // returns a *RequestInformation when successful func (m *MdmWindowsInformationProtectionPoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MdmWindowsInformationProtectionPolicyable, requestConfiguration *MdmWindowsInformationProtectionPoliciesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_categories_mobile_app_category_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_categories_mobile_app_category_item_request_builder.go index e3e3518d67..9f12dfad13 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_categories_mobile_app_category_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_categories_mobile_app_category_item_request_builder.go @@ -21,7 +21,7 @@ type MobileAppCategoriesMobileAppCategoryItemRequestBuilderDeleteRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppCategoriesMobileAppCategoryItemRequestBuilderGetQueryParameters read properties and relationships of the mobileAppCategory object. +// MobileAppCategoriesMobileAppCategoryItemRequestBuilderGetQueryParameters the mobile app categories. type MobileAppCategoriesMobileAppCategoryItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewMobileAppCategoriesMobileAppCategoryItemRequestBuilder(rawUrl string, re urlParams["request-raw-url"] = rawUrl return NewMobileAppCategoriesMobileAppCategoryItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a mobileAppCategory. +// Delete delete navigation property mobileAppCategories for deviceAppManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-mobileappcategory-delete?view=graph-rest-1.0 func (m *MobileAppCategoriesMobileAppCategoryItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *MobileAppCategoriesMobileAppCategoryItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *MobileAppCategoriesMobileAppCategoryItemRequestBuilder) Delete(ctx cont } return nil } -// Get read properties and relationships of the mobileAppCategory object. +// Get the mobile app categories. // returns a MobileAppCategoryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-mobileappcategory-get?view=graph-rest-1.0 func (m *MobileAppCategoriesMobileAppCategoryItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppCategoriesMobileAppCategoryItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppCategoryable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *MobileAppCategoriesMobileAppCategoryItemRequestBuilder) Get(ctx context } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppCategoryable), nil } -// Patch update the properties of a mobileAppCategory object. +// Patch update the navigation property mobileAppCategories in deviceAppManagement // returns a MobileAppCategoryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-mobileappcategory-update?view=graph-rest-1.0 func (m *MobileAppCategoriesMobileAppCategoryItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppCategoryable, requestConfiguration *MobileAppCategoriesMobileAppCategoryItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppCategoryable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *MobileAppCategoriesMobileAppCategoryItemRequestBuilder) Patch(ctx conte } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppCategoryable), nil } -// ToDeleteRequestInformation deletes a mobileAppCategory. +// ToDeleteRequestInformation delete navigation property mobileAppCategories for deviceAppManagement // returns a *RequestInformation when successful func (m *MobileAppCategoriesMobileAppCategoryItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MobileAppCategoriesMobileAppCategoryItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *MobileAppCategoriesMobileAppCategoryItemRequestBuilder) ToDeleteRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the mobileAppCategory object. +// ToGetRequestInformation the mobile app categories. // returns a *RequestInformation when successful func (m *MobileAppCategoriesMobileAppCategoryItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppCategoriesMobileAppCategoryItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *MobileAppCategoriesMobileAppCategoryItemRequestBuilder) ToGetRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a mobileAppCategory object. +// ToPatchRequestInformation update the navigation property mobileAppCategories in deviceAppManagement // returns a *RequestInformation when successful func (m *MobileAppCategoriesMobileAppCategoryItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppCategoryable, requestConfiguration *MobileAppCategoriesMobileAppCategoryItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_categories_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_categories_request_builder.go index 73bd719ba4..019bb2abf1 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_categories_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_categories_request_builder.go @@ -14,7 +14,7 @@ import ( type MobileAppCategoriesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppCategoriesRequestBuilderGetQueryParameters list properties and relationships of the mobileAppCategory objects. +// MobileAppCategoriesRequestBuilderGetQueryParameters the mobile app categories. type MobileAppCategoriesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewMobileAppCategoriesRequestBuilder(rawUrl string, requestAdapter i2ae4187 func (m *MobileAppCategoriesRequestBuilder) Count()(*MobileAppCategoriesCountRequestBuilder) { return NewMobileAppCategoriesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the mobileAppCategory objects. +// Get the mobile app categories. // returns a MobileAppCategoryCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-mobileappcategory-list?view=graph-rest-1.0 func (m *MobileAppCategoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppCategoriesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppCategoryCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *MobileAppCategoriesRequestBuilder) Get(ctx context.Context, requestConf } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppCategoryCollectionResponseable), nil } -// Post create a new mobileAppCategory object. +// Post create new navigation property to mobileAppCategories for deviceAppManagement // returns a MobileAppCategoryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-mobileappcategory-create?view=graph-rest-1.0 func (m *MobileAppCategoriesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppCategoryable, requestConfiguration *MobileAppCategoriesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppCategoryable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *MobileAppCategoriesRequestBuilder) Post(ctx context.Context, body iadcd } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppCategoryable), nil } -// ToGetRequestInformation list properties and relationships of the mobileAppCategory objects. +// ToGetRequestInformation the mobile app categories. // returns a *RequestInformation when successful func (m *MobileAppCategoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppCategoriesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *MobileAppCategoriesRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new mobileAppCategory object. +// ToPostRequestInformation create new navigation property to mobileAppCategories for deviceAppManagement // returns a *RequestInformation when successful func (m *MobileAppCategoriesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppCategoryable, requestConfiguration *MobileAppCategoriesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_item_assign_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_item_assign_request_builder.go index 4022095cfe..010fe64ace 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_item_assign_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_item_assign_request_builder.go @@ -33,11 +33,8 @@ func NewMobileAppConfigurationsItemAssignRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewMobileAppConfigurationsItemAssignRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action assign // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-assign?view=graph-rest-1.0 func (m *MobileAppConfigurationsItemAssignRequestBuilder) Post(ctx context.Context, body MobileAppConfigurationsItemAssignPostRequestBodyable, requestConfiguration *MobileAppConfigurationsItemAssignRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -52,7 +49,7 @@ func (m *MobileAppConfigurationsItemAssignRequestBuilder) Post(ctx context.Conte } return nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action assign // returns a *RequestInformation when successful func (m *MobileAppConfigurationsItemAssignRequestBuilder) ToPostRequestInformation(ctx context.Context, body MobileAppConfigurationsItemAssignPostRequestBodyable, requestConfiguration *MobileAppConfigurationsItemAssignRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_item_assignments_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_item_assignments_request_builder.go index a8f63f250b..ea1a53a6c1 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_item_assignments_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_item_assignments_request_builder.go @@ -14,7 +14,7 @@ import ( type MobileAppConfigurationsItemAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppConfigurationsItemAssignmentsRequestBuilderGetQueryParameters list properties and relationships of the managedDeviceMobileAppConfigurationAssignment objects. +// MobileAppConfigurationsItemAssignmentsRequestBuilderGetQueryParameters the list of group assignemenets for app configration. type MobileAppConfigurationsItemAssignmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewMobileAppConfigurationsItemAssignmentsRequestBuilder(rawUrl string, requ func (m *MobileAppConfigurationsItemAssignmentsRequestBuilder) Count()(*MobileAppConfigurationsItemAssignmentsCountRequestBuilder) { return NewMobileAppConfigurationsItemAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the managedDeviceMobileAppConfigurationAssignment objects. +// Get the list of group assignemenets for app configration. // returns a ManagedDeviceMobileAppConfigurationAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfigurationassignment-list?view=graph-rest-1.0 func (m *MobileAppConfigurationsItemAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppConfigurationsItemAssignmentsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationAssignmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *MobileAppConfigurationsItemAssignmentsRequestBuilder) Get(ctx context.C } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationAssignmentCollectionResponseable), nil } -// Post create a new managedDeviceMobileAppConfigurationAssignment object. +// Post create new navigation property to assignments for deviceAppManagement // returns a ManagedDeviceMobileAppConfigurationAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfigurationassignment-create?view=graph-rest-1.0 func (m *MobileAppConfigurationsItemAssignmentsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationAssignmentable, requestConfiguration *MobileAppConfigurationsItemAssignmentsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *MobileAppConfigurationsItemAssignmentsRequestBuilder) Post(ctx context. } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationAssignmentable), nil } -// ToGetRequestInformation list properties and relationships of the managedDeviceMobileAppConfigurationAssignment objects. +// ToGetRequestInformation the list of group assignemenets for app configration. // returns a *RequestInformation when successful func (m *MobileAppConfigurationsItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppConfigurationsItemAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *MobileAppConfigurationsItemAssignmentsRequestBuilder) ToGetRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new managedDeviceMobileAppConfigurationAssignment object. +// ToPostRequestInformation create new navigation property to assignments for deviceAppManagement // returns a *RequestInformation when successful func (m *MobileAppConfigurationsItemAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationAssignmentable, requestConfiguration *MobileAppConfigurationsItemAssignmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_item_device_status_summary_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_item_device_status_summary_request_builder.go index e9fdcd0452..8c573c3588 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_item_device_status_summary_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_item_device_status_summary_request_builder.go @@ -21,7 +21,7 @@ type MobileAppConfigurationsItemDeviceStatusSummaryRequestBuilderDeleteRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppConfigurationsItemDeviceStatusSummaryRequestBuilderGetQueryParameters read properties and relationships of the managedDeviceMobileAppConfigurationDeviceSummary object. +// MobileAppConfigurationsItemDeviceStatusSummaryRequestBuilderGetQueryParameters app configuration device status summary. type MobileAppConfigurationsItemDeviceStatusSummaryRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,9 @@ func (m *MobileAppConfigurationsItemDeviceStatusSummaryRequestBuilder) Delete(ct } return nil } -// Get read properties and relationships of the managedDeviceMobileAppConfigurationDeviceSummary object. +// Get app configuration device status summary. // returns a ManagedDeviceMobileAppConfigurationDeviceSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfigurationdevicesummary-get?view=graph-rest-1.0 func (m *MobileAppConfigurationsItemDeviceStatusSummaryRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppConfigurationsItemDeviceStatusSummaryRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationDeviceSummaryable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +93,9 @@ func (m *MobileAppConfigurationsItemDeviceStatusSummaryRequestBuilder) Get(ctx c } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationDeviceSummaryable), nil } -// Patch update the properties of a managedDeviceMobileAppConfigurationDeviceSummary object. +// Patch update the navigation property deviceStatusSummary in deviceAppManagement // returns a ManagedDeviceMobileAppConfigurationDeviceSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfigurationdevicesummary-update?view=graph-rest-1.0 func (m *MobileAppConfigurationsItemDeviceStatusSummaryRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationDeviceSummaryable, requestConfiguration *MobileAppConfigurationsItemDeviceStatusSummaryRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationDeviceSummaryable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +124,7 @@ func (m *MobileAppConfigurationsItemDeviceStatusSummaryRequestBuilder) ToDeleteR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the managedDeviceMobileAppConfigurationDeviceSummary object. +// ToGetRequestInformation app configuration device status summary. // returns a *RequestInformation when successful func (m *MobileAppConfigurationsItemDeviceStatusSummaryRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppConfigurationsItemDeviceStatusSummaryRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +138,7 @@ func (m *MobileAppConfigurationsItemDeviceStatusSummaryRequestBuilder) ToGetRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a managedDeviceMobileAppConfigurationDeviceSummary object. +// ToPatchRequestInformation update the navigation property deviceStatusSummary in deviceAppManagement // returns a *RequestInformation when successful func (m *MobileAppConfigurationsItemDeviceStatusSummaryRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationDeviceSummaryable, requestConfiguration *MobileAppConfigurationsItemDeviceStatusSummaryRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_item_device_statuses_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_item_device_statuses_request_builder.go index ed4b573b3d..676c7e827a 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_item_device_statuses_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_item_device_statuses_request_builder.go @@ -14,7 +14,7 @@ import ( type MobileAppConfigurationsItemDeviceStatusesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppConfigurationsItemDeviceStatusesRequestBuilderGetQueryParameters list properties and relationships of the managedDeviceMobileAppConfigurationDeviceStatus objects. +// MobileAppConfigurationsItemDeviceStatusesRequestBuilderGetQueryParameters list of ManagedDeviceMobileAppConfigurationDeviceStatus. type MobileAppConfigurationsItemDeviceStatusesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewMobileAppConfigurationsItemDeviceStatusesRequestBuilder(rawUrl string, r func (m *MobileAppConfigurationsItemDeviceStatusesRequestBuilder) Count()(*MobileAppConfigurationsItemDeviceStatusesCountRequestBuilder) { return NewMobileAppConfigurationsItemDeviceStatusesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the managedDeviceMobileAppConfigurationDeviceStatus objects. +// Get list of ManagedDeviceMobileAppConfigurationDeviceStatus. // returns a ManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfigurationdevicestatus-list?view=graph-rest-1.0 func (m *MobileAppConfigurationsItemDeviceStatusesRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppConfigurationsItemDeviceStatusesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *MobileAppConfigurationsItemDeviceStatusesRequestBuilder) Get(ctx contex } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponseable), nil } -// Post create a new managedDeviceMobileAppConfigurationDeviceStatus object. +// Post create new navigation property to deviceStatuses for deviceAppManagement // returns a ManagedDeviceMobileAppConfigurationDeviceStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfigurationdevicestatus-create?view=graph-rest-1.0 func (m *MobileAppConfigurationsItemDeviceStatusesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationDeviceStatusable, requestConfiguration *MobileAppConfigurationsItemDeviceStatusesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationDeviceStatusable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *MobileAppConfigurationsItemDeviceStatusesRequestBuilder) Post(ctx conte } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationDeviceStatusable), nil } -// ToGetRequestInformation list properties and relationships of the managedDeviceMobileAppConfigurationDeviceStatus objects. +// ToGetRequestInformation list of ManagedDeviceMobileAppConfigurationDeviceStatus. // returns a *RequestInformation when successful func (m *MobileAppConfigurationsItemDeviceStatusesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppConfigurationsItemDeviceStatusesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *MobileAppConfigurationsItemDeviceStatusesRequestBuilder) ToGetRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new managedDeviceMobileAppConfigurationDeviceStatus object. +// ToPostRequestInformation create new navigation property to deviceStatuses for deviceAppManagement // returns a *RequestInformation when successful func (m *MobileAppConfigurationsItemDeviceStatusesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationDeviceStatusable, requestConfiguration *MobileAppConfigurationsItemDeviceStatusesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_item_user_status_summary_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_item_user_status_summary_request_builder.go index ed4f604bb1..c80323966b 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_item_user_status_summary_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_item_user_status_summary_request_builder.go @@ -21,7 +21,7 @@ type MobileAppConfigurationsItemUserStatusSummaryRequestBuilderDeleteRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppConfigurationsItemUserStatusSummaryRequestBuilderGetQueryParameters read properties and relationships of the managedDeviceMobileAppConfigurationUserSummary object. +// MobileAppConfigurationsItemUserStatusSummaryRequestBuilderGetQueryParameters app configuration user status summary. type MobileAppConfigurationsItemUserStatusSummaryRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,9 @@ func (m *MobileAppConfigurationsItemUserStatusSummaryRequestBuilder) Delete(ctx } return nil } -// Get read properties and relationships of the managedDeviceMobileAppConfigurationUserSummary object. +// Get app configuration user status summary. // returns a ManagedDeviceMobileAppConfigurationUserSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfigurationusersummary-get?view=graph-rest-1.0 func (m *MobileAppConfigurationsItemUserStatusSummaryRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppConfigurationsItemUserStatusSummaryRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationUserSummaryable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +93,9 @@ func (m *MobileAppConfigurationsItemUserStatusSummaryRequestBuilder) Get(ctx con } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationUserSummaryable), nil } -// Patch update the properties of a managedDeviceMobileAppConfigurationUserSummary object. +// Patch update the navigation property userStatusSummary in deviceAppManagement // returns a ManagedDeviceMobileAppConfigurationUserSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfigurationusersummary-update?view=graph-rest-1.0 func (m *MobileAppConfigurationsItemUserStatusSummaryRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationUserSummaryable, requestConfiguration *MobileAppConfigurationsItemUserStatusSummaryRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationUserSummaryable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +124,7 @@ func (m *MobileAppConfigurationsItemUserStatusSummaryRequestBuilder) ToDeleteReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the managedDeviceMobileAppConfigurationUserSummary object. +// ToGetRequestInformation app configuration user status summary. // returns a *RequestInformation when successful func (m *MobileAppConfigurationsItemUserStatusSummaryRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppConfigurationsItemUserStatusSummaryRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +138,7 @@ func (m *MobileAppConfigurationsItemUserStatusSummaryRequestBuilder) ToGetReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a managedDeviceMobileAppConfigurationUserSummary object. +// ToPatchRequestInformation update the navigation property userStatusSummary in deviceAppManagement // returns a *RequestInformation when successful func (m *MobileAppConfigurationsItemUserStatusSummaryRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationUserSummaryable, requestConfiguration *MobileAppConfigurationsItemUserStatusSummaryRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_item_user_statuses_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_item_user_statuses_request_builder.go index cc743cfd83..62b450ee86 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_item_user_statuses_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_item_user_statuses_request_builder.go @@ -14,7 +14,7 @@ import ( type MobileAppConfigurationsItemUserStatusesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppConfigurationsItemUserStatusesRequestBuilderGetQueryParameters list properties and relationships of the managedDeviceMobileAppConfigurationUserStatus objects. +// MobileAppConfigurationsItemUserStatusesRequestBuilderGetQueryParameters list of ManagedDeviceMobileAppConfigurationUserStatus. type MobileAppConfigurationsItemUserStatusesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewMobileAppConfigurationsItemUserStatusesRequestBuilder(rawUrl string, req func (m *MobileAppConfigurationsItemUserStatusesRequestBuilder) Count()(*MobileAppConfigurationsItemUserStatusesCountRequestBuilder) { return NewMobileAppConfigurationsItemUserStatusesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the managedDeviceMobileAppConfigurationUserStatus objects. +// Get list of ManagedDeviceMobileAppConfigurationUserStatus. // returns a ManagedDeviceMobileAppConfigurationUserStatusCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfigurationuserstatus-list?view=graph-rest-1.0 func (m *MobileAppConfigurationsItemUserStatusesRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppConfigurationsItemUserStatusesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationUserStatusCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *MobileAppConfigurationsItemUserStatusesRequestBuilder) Get(ctx context. } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationUserStatusCollectionResponseable), nil } -// Post create a new managedDeviceMobileAppConfigurationUserStatus object. +// Post create new navigation property to userStatuses for deviceAppManagement // returns a ManagedDeviceMobileAppConfigurationUserStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfigurationuserstatus-create?view=graph-rest-1.0 func (m *MobileAppConfigurationsItemUserStatusesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationUserStatusable, requestConfiguration *MobileAppConfigurationsItemUserStatusesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationUserStatusable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *MobileAppConfigurationsItemUserStatusesRequestBuilder) Post(ctx context } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationUserStatusable), nil } -// ToGetRequestInformation list properties and relationships of the managedDeviceMobileAppConfigurationUserStatus objects. +// ToGetRequestInformation list of ManagedDeviceMobileAppConfigurationUserStatus. // returns a *RequestInformation when successful func (m *MobileAppConfigurationsItemUserStatusesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppConfigurationsItemUserStatusesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *MobileAppConfigurationsItemUserStatusesRequestBuilder) ToGetRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new managedDeviceMobileAppConfigurationUserStatus object. +// ToPostRequestInformation create new navigation property to userStatuses for deviceAppManagement // returns a *RequestInformation when successful func (m *MobileAppConfigurationsItemUserStatusesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationUserStatusable, requestConfiguration *MobileAppConfigurationsItemUserStatusesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_managed_device_mobile_app_configuration_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_managed_device_mobile_app_configuration_item_request_builder.go index 830e684b85..d4761e12e6 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_managed_device_mobile_app_configuration_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_managed_device_mobile_app_configuration_item_request_builder.go @@ -21,7 +21,7 @@ type MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the managedDeviceMobileAppConfiguration object. +// MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters the Managed Device Mobile Application Configurations. type MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -67,11 +67,8 @@ func NewMobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBui urlParams["request-raw-url"] = rawUrl return NewMobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a iosMobileAppConfiguration. +// Delete delete navigation property mobileAppConfigurations for deviceAppManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-delete?view=graph-rest-1.0 func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +93,9 @@ func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBu func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilder) DeviceStatusSummary()(*MobileAppConfigurationsItemDeviceStatusSummaryRequestBuilder) { return NewMobileAppConfigurationsItemDeviceStatusSummaryRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the managedDeviceMobileAppConfiguration object. +// Get the Managed Device Mobile Application Configurations. // returns a ManagedDeviceMobileAppConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-get?view=graph-rest-1.0 func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,12 +113,9 @@ func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBu } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationable), nil } -// Patch update the properties of a iosMobileAppConfiguration object. +// Patch update the navigation property mobileAppConfigurations in deviceAppManagement // returns a ManagedDeviceMobileAppConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-update?view=graph-rest-1.0 func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationable, requestConfiguration *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -142,7 +133,7 @@ func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBu } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationable), nil } -// ToDeleteRequestInformation deletes a iosMobileAppConfiguration. +// ToDeleteRequestInformation delete navigation property mobileAppConfigurations for deviceAppManagement // returns a *RequestInformation when successful func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -153,7 +144,7 @@ func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the managedDeviceMobileAppConfiguration object. +// ToGetRequestInformation the Managed Device Mobile Application Configurations. // returns a *RequestInformation when successful func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -167,7 +158,7 @@ func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a iosMobileAppConfiguration object. +// ToPatchRequestInformation update the navigation property mobileAppConfigurations in deviceAppManagement // returns a *RequestInformation when successful func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationable, requestConfiguration *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_request_builder.go index f01360898b..5862e9f537 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_app_configurations_request_builder.go @@ -14,7 +14,7 @@ import ( type MobileAppConfigurationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the iosMobileAppConfiguration objects. +// MobileAppConfigurationsRequestBuilderGetQueryParameters the Managed Device Mobile Application Configurations. type MobileAppConfigurationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewMobileAppConfigurationsRequestBuilder(rawUrl string, requestAdapter i2ae func (m *MobileAppConfigurationsRequestBuilder) Count()(*MobileAppConfigurationsCountRequestBuilder) { return NewMobileAppConfigurationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the iosMobileAppConfiguration objects. +// Get the Managed Device Mobile Application Configurations. // returns a ManagedDeviceMobileAppConfigurationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-list?view=graph-rest-1.0 func (m *MobileAppConfigurationsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppConfigurationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *MobileAppConfigurationsRequestBuilder) Get(ctx context.Context, request } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationCollectionResponseable), nil } -// Post create a new iosMobileAppConfiguration object. +// Post create new navigation property to mobileAppConfigurations for deviceAppManagement // returns a ManagedDeviceMobileAppConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-create?view=graph-rest-1.0 func (m *MobileAppConfigurationsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationable, requestConfiguration *MobileAppConfigurationsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *MobileAppConfigurationsRequestBuilder) Post(ctx context.Context, body i } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationable), nil } -// ToGetRequestInformation list properties and relationships of the iosMobileAppConfiguration objects. +// ToGetRequestInformation the Managed Device Mobile Application Configurations. // returns a *RequestInformation when successful func (m *MobileAppConfigurationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppConfigurationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *MobileAppConfigurationsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new iosMobileAppConfiguration object. +// ToPostRequestInformation create new navigation property to mobileAppConfigurations for deviceAppManagement // returns a *RequestInformation when successful func (m *MobileAppConfigurationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationable, requestConfiguration *MobileAppConfigurationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_assignments_mobile_app_assignment_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_assignments_mobile_app_assignment_item_request_builder.go index d87103113c..19b1496a98 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_assignments_mobile_app_assignment_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_assignments_mobile_app_assignment_item_request_builder.go @@ -21,7 +21,7 @@ type MobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilderDeleteRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilderGetQueryParameters read properties and relationships of the mobileAppAssignment object. +// MobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilderGetQueryParameters the list of group assignments for this mobile app. type MobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewMobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewMobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a mobileAppAssignment. +// Delete delete navigation property assignments for deviceAppManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-delete?view=graph-rest-1.0 func (m *MobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *MobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *MobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilder) Delete( } return nil } -// Get read properties and relationships of the mobileAppAssignment object. +// Get the list of group assignments for this mobile app. // returns a MobileAppAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-get?view=graph-rest-1.0 func (m *MobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppAssignmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *MobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilder) Get(ctx } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppAssignmentable), nil } -// Patch update the properties of a mobileAppAssignment object. +// Patch update the navigation property assignments in deviceAppManagement // returns a MobileAppAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-update?view=graph-rest-1.0 func (m *MobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppAssignmentable, requestConfiguration *MobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppAssignmentable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *MobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilder) Patch(c } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppAssignmentable), nil } -// ToDeleteRequestInformation deletes a mobileAppAssignment. +// ToDeleteRequestInformation delete navigation property assignments for deviceAppManagement // returns a *RequestInformation when successful func (m *MobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *MobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilder) ToDelet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the mobileAppAssignment object. +// ToGetRequestInformation the list of group assignments for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *MobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilder) ToGetRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a mobileAppAssignment object. +// ToPatchRequestInformation update the navigation property assignments in deviceAppManagement // returns a *RequestInformation when successful func (m *MobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppAssignmentable, requestConfiguration *MobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_assignments_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_assignments_request_builder.go index 605a1bafd0..e99375e2fd 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_assignments_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_assignments_request_builder.go @@ -14,7 +14,7 @@ import ( type MobileAppsItemAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemAssignmentsRequestBuilderGetQueryParameters list properties and relationships of the mobileAppAssignment objects. +// MobileAppsItemAssignmentsRequestBuilderGetQueryParameters the list of group assignments for this mobile app. type MobileAppsItemAssignmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewMobileAppsItemAssignmentsRequestBuilder(rawUrl string, requestAdapter i2 func (m *MobileAppsItemAssignmentsRequestBuilder) Count()(*MobileAppsItemAssignmentsCountRequestBuilder) { return NewMobileAppsItemAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the mobileAppAssignment objects. +// Get the list of group assignments for this mobile app. // returns a MobileAppAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-list?view=graph-rest-1.0 func (m *MobileAppsItemAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemAssignmentsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppAssignmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *MobileAppsItemAssignmentsRequestBuilder) Get(ctx context.Context, reque } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppAssignmentCollectionResponseable), nil } -// Post create a new mobileAppAssignment object. +// Post create new navigation property to assignments for deviceAppManagement // returns a MobileAppAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-mobileappassignment-create?view=graph-rest-1.0 func (m *MobileAppsItemAssignmentsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppAssignmentable, requestConfiguration *MobileAppsItemAssignmentsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *MobileAppsItemAssignmentsRequestBuilder) Post(ctx context.Context, body } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppAssignmentable), nil } -// ToGetRequestInformation list properties and relationships of the mobileAppAssignment objects. +// ToGetRequestInformation the list of group assignments for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *MobileAppsItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new mobileAppAssignment object. +// ToPostRequestInformation create new navigation property to assignments for deviceAppManagement // returns a *RequestInformation when successful func (m *MobileAppsItemAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppAssignmentable, requestConfiguration *MobileAppsItemAssignmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_mobile_app_content_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_mobile_app_content_item_request_builder.go index be55d91960..4c745ab67d 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_mobile_app_content_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_mobile_app_content_item_request_builder.go @@ -21,7 +21,7 @@ type MobileAppsItemGraphAndroidLobAppContentVersionsMobileAppContentItemRequestB // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphAndroidLobAppContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters the list of content versions for this app. +// MobileAppsItemGraphAndroidLobAppContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters the list of content versions for this app. This property is read-only. type MobileAppsItemGraphAndroidLobAppContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -83,7 +83,7 @@ func (m *MobileAppsItemGraphAndroidLobAppContentVersionsMobileAppContentItemRequ func (m *MobileAppsItemGraphAndroidLobAppContentVersionsMobileAppContentItemRequestBuilder) Files()(*MobileAppsItemGraphAndroidLobAppContentVersionsItemFilesRequestBuilder) { return NewMobileAppsItemGraphAndroidLobAppContentVersionsItemFilesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the list of content versions for this app. +// Get the list of content versions for this app. This property is read-only. // returns a MobileAppContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphAndroidLobAppContentVersionsMobileAppContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidLobAppContentVersionsMobileAppContentItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentable, error) { @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphAndroidLobAppContentVersionsMobileAppContentItemRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the list of content versions for this app. +// ToGetRequestInformation the list of content versions for this app. This property is read-only. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphAndroidLobAppContentVersionsMobileAppContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidLobAppContentVersionsMobileAppContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_request_builder.go index d16c48fa72..e384a1870f 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_request_builder.go @@ -14,7 +14,7 @@ import ( type MobileAppsItemGraphAndroidLobAppContentVersionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphAndroidLobAppContentVersionsRequestBuilderGetQueryParameters the list of content versions for this app. +// MobileAppsItemGraphAndroidLobAppContentVersionsRequestBuilderGetQueryParameters the list of content versions for this app. This property is read-only. type MobileAppsItemGraphAndroidLobAppContentVersionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,7 +79,7 @@ func NewMobileAppsItemGraphAndroidLobAppContentVersionsRequestBuilder(rawUrl str func (m *MobileAppsItemGraphAndroidLobAppContentVersionsRequestBuilder) Count()(*MobileAppsItemGraphAndroidLobAppContentVersionsCountRequestBuilder) { return NewMobileAppsItemGraphAndroidLobAppContentVersionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the list of content versions for this app. +// Get the list of content versions for this app. This property is read-only. // returns a MobileAppContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphAndroidLobAppContentVersionsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidLobAppContentVersionsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentCollectionResponseable, error) { @@ -119,7 +119,7 @@ func (m *MobileAppsItemGraphAndroidLobAppContentVersionsRequestBuilder) Post(ctx } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentable), nil } -// ToGetRequestInformation the list of content versions for this app. +// ToGetRequestInformation the list of content versions for this app. This property is read-only. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphAndroidLobAppContentVersionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidLobAppContentVersionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_mobile_app_content_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_mobile_app_content_item_request_builder.go index 523add5390..f1d4a4144b 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_mobile_app_content_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_mobile_app_content_item_request_builder.go @@ -21,7 +21,7 @@ type MobileAppsItemGraphIosLobAppContentVersionsMobileAppContentItemRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphIosLobAppContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters the list of content versions for this app. +// MobileAppsItemGraphIosLobAppContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters the list of content versions for this app. This property is read-only. type MobileAppsItemGraphIosLobAppContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -83,7 +83,7 @@ func (m *MobileAppsItemGraphIosLobAppContentVersionsMobileAppContentItemRequestB func (m *MobileAppsItemGraphIosLobAppContentVersionsMobileAppContentItemRequestBuilder) Files()(*MobileAppsItemGraphIosLobAppContentVersionsItemFilesRequestBuilder) { return NewMobileAppsItemGraphIosLobAppContentVersionsItemFilesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the list of content versions for this app. +// Get the list of content versions for this app. This property is read-only. // returns a MobileAppContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphIosLobAppContentVersionsMobileAppContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosLobAppContentVersionsMobileAppContentItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentable, error) { @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphIosLobAppContentVersionsMobileAppContentItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the list of content versions for this app. +// ToGetRequestInformation the list of content versions for this app. This property is read-only. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphIosLobAppContentVersionsMobileAppContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosLobAppContentVersionsMobileAppContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_request_builder.go index 317cb3c25d..065e1a5a02 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_request_builder.go @@ -14,7 +14,7 @@ import ( type MobileAppsItemGraphIosLobAppContentVersionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphIosLobAppContentVersionsRequestBuilderGetQueryParameters the list of content versions for this app. +// MobileAppsItemGraphIosLobAppContentVersionsRequestBuilderGetQueryParameters the list of content versions for this app. This property is read-only. type MobileAppsItemGraphIosLobAppContentVersionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,7 +79,7 @@ func NewMobileAppsItemGraphIosLobAppContentVersionsRequestBuilder(rawUrl string, func (m *MobileAppsItemGraphIosLobAppContentVersionsRequestBuilder) Count()(*MobileAppsItemGraphIosLobAppContentVersionsCountRequestBuilder) { return NewMobileAppsItemGraphIosLobAppContentVersionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the list of content versions for this app. +// Get the list of content versions for this app. This property is read-only. // returns a MobileAppContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphIosLobAppContentVersionsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosLobAppContentVersionsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentCollectionResponseable, error) { @@ -119,7 +119,7 @@ func (m *MobileAppsItemGraphIosLobAppContentVersionsRequestBuilder) Post(ctx con } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentable), nil } -// ToGetRequestInformation the list of content versions for this app. +// ToGetRequestInformation the list of content versions for this app. This property is read-only. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphIosLobAppContentVersionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosLobAppContentVersionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_mobile_app_content_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_mobile_app_content_item_request_builder.go index 7b84674679..5c7a73b4aa 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_mobile_app_content_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_mobile_app_content_item_request_builder.go @@ -21,7 +21,7 @@ type MobileAppsItemGraphMacOSDmgAppContentVersionsMobileAppContentItemRequestBui // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphMacOSDmgAppContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters the list of content versions for this app. +// MobileAppsItemGraphMacOSDmgAppContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters the list of content versions for this app. This property is read-only. type MobileAppsItemGraphMacOSDmgAppContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -83,7 +83,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppContentVersionsMobileAppContentItemReques func (m *MobileAppsItemGraphMacOSDmgAppContentVersionsMobileAppContentItemRequestBuilder) Files()(*MobileAppsItemGraphMacOSDmgAppContentVersionsItemFilesRequestBuilder) { return NewMobileAppsItemGraphMacOSDmgAppContentVersionsItemFilesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the list of content versions for this app. +// Get the list of content versions for this app. This property is read-only. // returns a MobileAppContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphMacOSDmgAppContentVersionsMobileAppContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSDmgAppContentVersionsMobileAppContentItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentable, error) { @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppContentVersionsMobileAppContentItemReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the list of content versions for this app. +// ToGetRequestInformation the list of content versions for this app. This property is read-only. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphMacOSDmgAppContentVersionsMobileAppContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSDmgAppContentVersionsMobileAppContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_request_builder.go index a2cde38583..291a8ce195 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_request_builder.go @@ -14,7 +14,7 @@ import ( type MobileAppsItemGraphMacOSDmgAppContentVersionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphMacOSDmgAppContentVersionsRequestBuilderGetQueryParameters the list of content versions for this app. +// MobileAppsItemGraphMacOSDmgAppContentVersionsRequestBuilderGetQueryParameters the list of content versions for this app. This property is read-only. type MobileAppsItemGraphMacOSDmgAppContentVersionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,7 +79,7 @@ func NewMobileAppsItemGraphMacOSDmgAppContentVersionsRequestBuilder(rawUrl strin func (m *MobileAppsItemGraphMacOSDmgAppContentVersionsRequestBuilder) Count()(*MobileAppsItemGraphMacOSDmgAppContentVersionsCountRequestBuilder) { return NewMobileAppsItemGraphMacOSDmgAppContentVersionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the list of content versions for this app. +// Get the list of content versions for this app. This property is read-only. // returns a MobileAppContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphMacOSDmgAppContentVersionsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSDmgAppContentVersionsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentCollectionResponseable, error) { @@ -119,7 +119,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppContentVersionsRequestBuilder) Post(ctx c } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentable), nil } -// ToGetRequestInformation the list of content versions for this app. +// ToGetRequestInformation the list of content versions for this app. This property is read-only. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphMacOSDmgAppContentVersionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSDmgAppContentVersionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_mobile_app_content_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_mobile_app_content_item_request_builder.go index 23f182289d..d259793c3a 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_mobile_app_content_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_mobile_app_content_item_request_builder.go @@ -21,7 +21,7 @@ type MobileAppsItemGraphMacOSLobAppContentVersionsMobileAppContentItemRequestBui // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphMacOSLobAppContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters the list of content versions for this app. +// MobileAppsItemGraphMacOSLobAppContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters the list of content versions for this app. This property is read-only. type MobileAppsItemGraphMacOSLobAppContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -83,7 +83,7 @@ func (m *MobileAppsItemGraphMacOSLobAppContentVersionsMobileAppContentItemReques func (m *MobileAppsItemGraphMacOSLobAppContentVersionsMobileAppContentItemRequestBuilder) Files()(*MobileAppsItemGraphMacOSLobAppContentVersionsItemFilesRequestBuilder) { return NewMobileAppsItemGraphMacOSLobAppContentVersionsItemFilesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the list of content versions for this app. +// Get the list of content versions for this app. This property is read-only. // returns a MobileAppContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphMacOSLobAppContentVersionsMobileAppContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSLobAppContentVersionsMobileAppContentItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentable, error) { @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphMacOSLobAppContentVersionsMobileAppContentItemReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the list of content versions for this app. +// ToGetRequestInformation the list of content versions for this app. This property is read-only. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphMacOSLobAppContentVersionsMobileAppContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSLobAppContentVersionsMobileAppContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_request_builder.go index 2f11125347..ce92ac66e8 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_request_builder.go @@ -14,7 +14,7 @@ import ( type MobileAppsItemGraphMacOSLobAppContentVersionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphMacOSLobAppContentVersionsRequestBuilderGetQueryParameters the list of content versions for this app. +// MobileAppsItemGraphMacOSLobAppContentVersionsRequestBuilderGetQueryParameters the list of content versions for this app. This property is read-only. type MobileAppsItemGraphMacOSLobAppContentVersionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,7 +79,7 @@ func NewMobileAppsItemGraphMacOSLobAppContentVersionsRequestBuilder(rawUrl strin func (m *MobileAppsItemGraphMacOSLobAppContentVersionsRequestBuilder) Count()(*MobileAppsItemGraphMacOSLobAppContentVersionsCountRequestBuilder) { return NewMobileAppsItemGraphMacOSLobAppContentVersionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the list of content versions for this app. +// Get the list of content versions for this app. This property is read-only. // returns a MobileAppContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphMacOSLobAppContentVersionsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSLobAppContentVersionsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentCollectionResponseable, error) { @@ -119,7 +119,7 @@ func (m *MobileAppsItemGraphMacOSLobAppContentVersionsRequestBuilder) Post(ctx c } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentable), nil } -// ToGetRequestInformation the list of content versions for this app. +// ToGetRequestInformation the list of content versions for this app. This property is read-only. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphMacOSLobAppContentVersionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSLobAppContentVersionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_request_builder.go index 8b6217e880..b293fec3e2 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_request_builder.go @@ -14,7 +14,7 @@ import ( type MobileAppsItemGraphManagedAndroidLobAppContentVersionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphManagedAndroidLobAppContentVersionsRequestBuilderGetQueryParameters the list of content versions for this app. +// MobileAppsItemGraphManagedAndroidLobAppContentVersionsRequestBuilderGetQueryParameters the list of content versions for this app. This property is read-only. type MobileAppsItemGraphManagedAndroidLobAppContentVersionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,7 +79,7 @@ func NewMobileAppsItemGraphManagedAndroidLobAppContentVersionsRequestBuilder(raw func (m *MobileAppsItemGraphManagedAndroidLobAppContentVersionsRequestBuilder) Count()(*MobileAppsItemGraphManagedAndroidLobAppContentVersionsCountRequestBuilder) { return NewMobileAppsItemGraphManagedAndroidLobAppContentVersionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the list of content versions for this app. +// Get the list of content versions for this app. This property is read-only. // returns a MobileAppContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphManagedAndroidLobAppContentVersionsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedAndroidLobAppContentVersionsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentCollectionResponseable, error) { @@ -119,7 +119,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppContentVersionsRequestBuilder) P } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentable), nil } -// ToGetRequestInformation the list of content versions for this app. +// ToGetRequestInformation the list of content versions for this app. This property is read-only. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphManagedAndroidLobAppContentVersionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedAndroidLobAppContentVersionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_request_builder.go index 46a6cc7783..35896aae61 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_request_builder.go @@ -14,7 +14,7 @@ import ( type MobileAppsItemGraphManagedIOSLobAppContentVersionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphManagedIOSLobAppContentVersionsRequestBuilderGetQueryParameters the list of content versions for this app. +// MobileAppsItemGraphManagedIOSLobAppContentVersionsRequestBuilderGetQueryParameters the list of content versions for this app. This property is read-only. type MobileAppsItemGraphManagedIOSLobAppContentVersionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,7 +79,7 @@ func NewMobileAppsItemGraphManagedIOSLobAppContentVersionsRequestBuilder(rawUrl func (m *MobileAppsItemGraphManagedIOSLobAppContentVersionsRequestBuilder) Count()(*MobileAppsItemGraphManagedIOSLobAppContentVersionsCountRequestBuilder) { return NewMobileAppsItemGraphManagedIOSLobAppContentVersionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the list of content versions for this app. +// Get the list of content versions for this app. This property is read-only. // returns a MobileAppContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphManagedIOSLobAppContentVersionsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedIOSLobAppContentVersionsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentCollectionResponseable, error) { @@ -119,7 +119,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppContentVersionsRequestBuilder) Post( } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentable), nil } -// ToGetRequestInformation the list of content versions for this app. +// ToGetRequestInformation the list of content versions for this app. This property is read-only. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphManagedIOSLobAppContentVersionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedIOSLobAppContentVersionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_request_builder.go index ab4f65ad98..73afe564aa 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_request_builder.go @@ -14,7 +14,7 @@ import ( type MobileAppsItemGraphManagedMobileLobAppContentVersionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphManagedMobileLobAppContentVersionsRequestBuilderGetQueryParameters the list of content versions for this app. +// MobileAppsItemGraphManagedMobileLobAppContentVersionsRequestBuilderGetQueryParameters the list of content versions for this app. This property is read-only. type MobileAppsItemGraphManagedMobileLobAppContentVersionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,7 +79,7 @@ func NewMobileAppsItemGraphManagedMobileLobAppContentVersionsRequestBuilder(rawU func (m *MobileAppsItemGraphManagedMobileLobAppContentVersionsRequestBuilder) Count()(*MobileAppsItemGraphManagedMobileLobAppContentVersionsCountRequestBuilder) { return NewMobileAppsItemGraphManagedMobileLobAppContentVersionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the list of content versions for this app. +// Get the list of content versions for this app. This property is read-only. // returns a MobileAppContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphManagedMobileLobAppContentVersionsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedMobileLobAppContentVersionsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentCollectionResponseable, error) { @@ -119,7 +119,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppContentVersionsRequestBuilder) Po } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentable), nil } -// ToGetRequestInformation the list of content versions for this app. +// ToGetRequestInformation the list of content versions for this app. This property is read-only. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphManagedMobileLobAppContentVersionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedMobileLobAppContentVersionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_mobile_app_content_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_mobile_app_content_item_request_builder.go index 20b61aad80..716a524597 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_mobile_app_content_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_mobile_app_content_item_request_builder.go @@ -21,7 +21,7 @@ type MobileAppsItemGraphWin32LobAppContentVersionsMobileAppContentItemRequestBui // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphWin32LobAppContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters the list of content versions for this app. +// MobileAppsItemGraphWin32LobAppContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters the list of content versions for this app. This property is read-only. type MobileAppsItemGraphWin32LobAppContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -83,7 +83,7 @@ func (m *MobileAppsItemGraphWin32LobAppContentVersionsMobileAppContentItemReques func (m *MobileAppsItemGraphWin32LobAppContentVersionsMobileAppContentItemRequestBuilder) Files()(*MobileAppsItemGraphWin32LobAppContentVersionsItemFilesRequestBuilder) { return NewMobileAppsItemGraphWin32LobAppContentVersionsItemFilesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the list of content versions for this app. +// Get the list of content versions for this app. This property is read-only. // returns a MobileAppContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWin32LobAppContentVersionsMobileAppContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWin32LobAppContentVersionsMobileAppContentItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentable, error) { @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphWin32LobAppContentVersionsMobileAppContentItemReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the list of content versions for this app. +// ToGetRequestInformation the list of content versions for this app. This property is read-only. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWin32LobAppContentVersionsMobileAppContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWin32LobAppContentVersionsMobileAppContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_request_builder.go index 47dd91dfa6..17883eb8c2 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_request_builder.go @@ -14,7 +14,7 @@ import ( type MobileAppsItemGraphWin32LobAppContentVersionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphWin32LobAppContentVersionsRequestBuilderGetQueryParameters the list of content versions for this app. +// MobileAppsItemGraphWin32LobAppContentVersionsRequestBuilderGetQueryParameters the list of content versions for this app. This property is read-only. type MobileAppsItemGraphWin32LobAppContentVersionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,7 +79,7 @@ func NewMobileAppsItemGraphWin32LobAppContentVersionsRequestBuilder(rawUrl strin func (m *MobileAppsItemGraphWin32LobAppContentVersionsRequestBuilder) Count()(*MobileAppsItemGraphWin32LobAppContentVersionsCountRequestBuilder) { return NewMobileAppsItemGraphWin32LobAppContentVersionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the list of content versions for this app. +// Get the list of content versions for this app. This property is read-only. // returns a MobileAppContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWin32LobAppContentVersionsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWin32LobAppContentVersionsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentCollectionResponseable, error) { @@ -119,7 +119,7 @@ func (m *MobileAppsItemGraphWin32LobAppContentVersionsRequestBuilder) Post(ctx c } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentable), nil } -// ToGetRequestInformation the list of content versions for this app. +// ToGetRequestInformation the list of content versions for this app. This property is read-only. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWin32LobAppContentVersionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWin32LobAppContentVersionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_mobile_app_content_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_mobile_app_content_item_request_builder.go index fd2ecdaec5..caeaa4f411 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_mobile_app_content_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_mobile_app_content_item_request_builder.go @@ -21,7 +21,7 @@ type MobileAppsItemGraphWindowsAppXContentVersionsMobileAppContentItemRequestBui // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphWindowsAppXContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters the list of content versions for this app. +// MobileAppsItemGraphWindowsAppXContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters the list of content versions for this app. This property is read-only. type MobileAppsItemGraphWindowsAppXContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -83,7 +83,7 @@ func (m *MobileAppsItemGraphWindowsAppXContentVersionsMobileAppContentItemReques func (m *MobileAppsItemGraphWindowsAppXContentVersionsMobileAppContentItemRequestBuilder) Files()(*MobileAppsItemGraphWindowsAppXContentVersionsItemFilesRequestBuilder) { return NewMobileAppsItemGraphWindowsAppXContentVersionsItemFilesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the list of content versions for this app. +// Get the list of content versions for this app. This property is read-only. // returns a MobileAppContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWindowsAppXContentVersionsMobileAppContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsAppXContentVersionsMobileAppContentItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentable, error) { @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphWindowsAppXContentVersionsMobileAppContentItemReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the list of content versions for this app. +// ToGetRequestInformation the list of content versions for this app. This property is read-only. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWindowsAppXContentVersionsMobileAppContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsAppXContentVersionsMobileAppContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_request_builder.go index 05894967b9..420089b48c 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_request_builder.go @@ -14,7 +14,7 @@ import ( type MobileAppsItemGraphWindowsAppXContentVersionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphWindowsAppXContentVersionsRequestBuilderGetQueryParameters the list of content versions for this app. +// MobileAppsItemGraphWindowsAppXContentVersionsRequestBuilderGetQueryParameters the list of content versions for this app. This property is read-only. type MobileAppsItemGraphWindowsAppXContentVersionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,7 +79,7 @@ func NewMobileAppsItemGraphWindowsAppXContentVersionsRequestBuilder(rawUrl strin func (m *MobileAppsItemGraphWindowsAppXContentVersionsRequestBuilder) Count()(*MobileAppsItemGraphWindowsAppXContentVersionsCountRequestBuilder) { return NewMobileAppsItemGraphWindowsAppXContentVersionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the list of content versions for this app. +// Get the list of content versions for this app. This property is read-only. // returns a MobileAppContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWindowsAppXContentVersionsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsAppXContentVersionsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentCollectionResponseable, error) { @@ -119,7 +119,7 @@ func (m *MobileAppsItemGraphWindowsAppXContentVersionsRequestBuilder) Post(ctx c } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentable), nil } -// ToGetRequestInformation the list of content versions for this app. +// ToGetRequestInformation the list of content versions for this app. This property is read-only. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWindowsAppXContentVersionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsAppXContentVersionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_mobile_app_content_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_mobile_app_content_item_request_builder.go index 44794222bb..3256016c51 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_mobile_app_content_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_mobile_app_content_item_request_builder.go @@ -21,7 +21,7 @@ type MobileAppsItemGraphWindowsMobileMSIContentVersionsMobileAppContentItemReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphWindowsMobileMSIContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters the list of content versions for this app. +// MobileAppsItemGraphWindowsMobileMSIContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters the list of content versions for this app. This property is read-only. type MobileAppsItemGraphWindowsMobileMSIContentVersionsMobileAppContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -83,7 +83,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIContentVersionsMobileAppContentItemR func (m *MobileAppsItemGraphWindowsMobileMSIContentVersionsMobileAppContentItemRequestBuilder) Files()(*MobileAppsItemGraphWindowsMobileMSIContentVersionsItemFilesRequestBuilder) { return NewMobileAppsItemGraphWindowsMobileMSIContentVersionsItemFilesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the list of content versions for this app. +// Get the list of content versions for this app. This property is read-only. // returns a MobileAppContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWindowsMobileMSIContentVersionsMobileAppContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsMobileMSIContentVersionsMobileAppContentItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentable, error) { @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIContentVersionsMobileAppContentItemR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the list of content versions for this app. +// ToGetRequestInformation the list of content versions for this app. This property is read-only. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWindowsMobileMSIContentVersionsMobileAppContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsMobileMSIContentVersionsMobileAppContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_request_builder.go index 3175fe9b01..09091c5767 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_request_builder.go @@ -14,7 +14,7 @@ import ( type MobileAppsItemGraphWindowsMobileMSIContentVersionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphWindowsMobileMSIContentVersionsRequestBuilderGetQueryParameters the list of content versions for this app. +// MobileAppsItemGraphWindowsMobileMSIContentVersionsRequestBuilderGetQueryParameters the list of content versions for this app. This property is read-only. type MobileAppsItemGraphWindowsMobileMSIContentVersionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,7 +79,7 @@ func NewMobileAppsItemGraphWindowsMobileMSIContentVersionsRequestBuilder(rawUrl func (m *MobileAppsItemGraphWindowsMobileMSIContentVersionsRequestBuilder) Count()(*MobileAppsItemGraphWindowsMobileMSIContentVersionsCountRequestBuilder) { return NewMobileAppsItemGraphWindowsMobileMSIContentVersionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the list of content versions for this app. +// Get the list of content versions for this app. This property is read-only. // returns a MobileAppContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWindowsMobileMSIContentVersionsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsMobileMSIContentVersionsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentCollectionResponseable, error) { @@ -119,7 +119,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIContentVersionsRequestBuilder) Post( } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentable), nil } -// ToGetRequestInformation the list of content versions for this app. +// ToGetRequestInformation the list of content versions for this app. This property is read-only. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWindowsMobileMSIContentVersionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsMobileMSIContentVersionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_committed_contained_apps_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_committed_contained_apps_request_builder.go index 7145cdf54a..3867f44888 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_committed_contained_apps_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_committed_contained_apps_request_builder.go @@ -14,7 +14,7 @@ import ( type MobileAppsItemGraphWindowsUniversalAppXCommittedContainedAppsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphWindowsUniversalAppXCommittedContainedAppsRequestBuilderGetQueryParameters the collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. +// MobileAppsItemGraphWindowsUniversalAppXCommittedContainedAppsRequestBuilderGetQueryParameters the collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. This property is read-only. type MobileAppsItemGraphWindowsUniversalAppXCommittedContainedAppsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,7 +79,7 @@ func NewMobileAppsItemGraphWindowsUniversalAppXCommittedContainedAppsRequestBuil func (m *MobileAppsItemGraphWindowsUniversalAppXCommittedContainedAppsRequestBuilder) Count()(*MobileAppsItemGraphWindowsUniversalAppXCommittedContainedAppsCountRequestBuilder) { return NewMobileAppsItemGraphWindowsUniversalAppXCommittedContainedAppsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. +// Get the collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. This property is read-only. // returns a MobileContainedAppCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWindowsUniversalAppXCommittedContainedAppsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsUniversalAppXCommittedContainedAppsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileContainedAppCollectionResponseable, error) { @@ -119,7 +119,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXCommittedContainedAppsRequestBui } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileContainedAppable), nil } -// ToGetRequestInformation the collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. +// ToGetRequestInformation the collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. This property is read-only. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWindowsUniversalAppXCommittedContainedAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsUniversalAppXCommittedContainedAppsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_request_builder.go index 635457e1b4..b162dfa1a7 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_request_builder.go @@ -14,7 +14,7 @@ import ( type MobileAppsItemGraphWindowsUniversalAppXContentVersionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphWindowsUniversalAppXContentVersionsRequestBuilderGetQueryParameters the list of content versions for this app. +// MobileAppsItemGraphWindowsUniversalAppXContentVersionsRequestBuilderGetQueryParameters the list of content versions for this app. This property is read-only. type MobileAppsItemGraphWindowsUniversalAppXContentVersionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,7 +79,7 @@ func NewMobileAppsItemGraphWindowsUniversalAppXContentVersionsRequestBuilder(raw func (m *MobileAppsItemGraphWindowsUniversalAppXContentVersionsRequestBuilder) Count()(*MobileAppsItemGraphWindowsUniversalAppXContentVersionsCountRequestBuilder) { return NewMobileAppsItemGraphWindowsUniversalAppXContentVersionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the list of content versions for this app. +// Get the list of content versions for this app. This property is read-only. // returns a MobileAppContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWindowsUniversalAppXContentVersionsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsUniversalAppXContentVersionsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentCollectionResponseable, error) { @@ -119,7 +119,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXContentVersionsRequestBuilder) P } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppContentable), nil } -// ToGetRequestInformation the list of content versions for this app. +// ToGetRequestInformation the list of content versions for this app. This property is read-only. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWindowsUniversalAppXContentVersionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsUniversalAppXContentVersionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_mobile_app_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_mobile_app_item_request_builder.go index a4129a19a6..41a882c4d8 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_mobile_app_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_mobile_app_item_request_builder.go @@ -21,7 +21,7 @@ type MobileAppsMobileAppItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsMobileAppItemRequestBuilderGetQueryParameters read properties and relationships of the managedIOSLobApp object. +// MobileAppsMobileAppItemRequestBuilderGetQueryParameters the mobile apps. type MobileAppsMobileAppItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -72,11 +72,8 @@ func NewMobileAppsMobileAppItemRequestBuilder(rawUrl string, requestAdapter i2ae urlParams["request-raw-url"] = rawUrl return NewMobileAppsMobileAppItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a windowsUniversalAppX. +// Delete delete navigation property mobileApps for deviceAppManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-windowsuniversalappx-delete?view=graph-rest-1.0 func (m *MobileAppsMobileAppItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *MobileAppsMobileAppItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -91,12 +88,9 @@ func (m *MobileAppsMobileAppItemRequestBuilder) Delete(ctx context.Context, requ } return nil } -// Get read properties and relationships of the managedIOSLobApp object. +// Get the mobile apps. // returns a MobileAppable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-managedioslobapp-get?view=graph-rest-1.0 func (m *MobileAppsMobileAppItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsMobileAppItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -194,12 +188,9 @@ func (m *MobileAppsMobileAppItemRequestBuilder) GraphWindowsUniversalAppX()(*Mob func (m *MobileAppsMobileAppItemRequestBuilder) GraphWindowsWebApp()(*MobileAppsItemGraphWindowsWebAppRequestBuilder) { return NewMobileAppsItemGraphWindowsWebAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a macOSLobApp object. +// Patch update the navigation property mobileApps in deviceAppManagement // returns a MobileAppable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-macoslobapp-update?view=graph-rest-1.0 func (m *MobileAppsMobileAppItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable, requestConfiguration *MobileAppsMobileAppItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -217,7 +208,7 @@ func (m *MobileAppsMobileAppItemRequestBuilder) Patch(ctx context.Context, body } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable), nil } -// ToDeleteRequestInformation deletes a windowsUniversalAppX. +// ToDeleteRequestInformation delete navigation property mobileApps for deviceAppManagement // returns a *RequestInformation when successful func (m *MobileAppsMobileAppItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MobileAppsMobileAppItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -228,7 +219,7 @@ func (m *MobileAppsMobileAppItemRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the managedIOSLobApp object. +// ToGetRequestInformation the mobile apps. // returns a *RequestInformation when successful func (m *MobileAppsMobileAppItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsMobileAppItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -242,7 +233,7 @@ func (m *MobileAppsMobileAppItemRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a macOSLobApp object. +// ToPatchRequestInformation update the navigation property mobileApps in deviceAppManagement // returns a *RequestInformation when successful func (m *MobileAppsMobileAppItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable, requestConfiguration *MobileAppsMobileAppItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_request_builder.go index edd6b347eb..6ee41ba893 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/mobile_apps_request_builder.go @@ -14,7 +14,7 @@ import ( type MobileAppsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsRequestBuilderGetQueryParameters list properties and relationships of the windowsMicrosoftEdgeApp objects. +// MobileAppsRequestBuilderGetQueryParameters the mobile apps. type MobileAppsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewMobileAppsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263 func (m *MobileAppsRequestBuilder) Count()(*MobileAppsCountRequestBuilder) { return NewMobileAppsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the windowsMicrosoftEdgeApp objects. +// Get the mobile apps. // returns a MobileAppCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-windowsmicrosoftedgeapp-list?view=graph-rest-1.0 func (m *MobileAppsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -182,12 +179,9 @@ func (m *MobileAppsRequestBuilder) GraphWindowsUniversalAppX()(*MobileAppsGraphW func (m *MobileAppsRequestBuilder) GraphWindowsWebApp()(*MobileAppsGraphWindowsWebAppRequestBuilder) { return NewMobileAppsGraphWindowsWebAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new microsoftStoreForBusinessApp object. +// Post create new navigation property to mobileApps for deviceAppManagement // returns a MobileAppable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-microsoftstoreforbusinessapp-create?view=graph-rest-1.0 func (m *MobileAppsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable, requestConfiguration *MobileAppsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -205,7 +199,7 @@ func (m *MobileAppsRequestBuilder) Post(ctx context.Context, body iadcd81124412c } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable), nil } -// ToGetRequestInformation list properties and relationships of the windowsMicrosoftEdgeApp objects. +// ToGetRequestInformation the mobile apps. // returns a *RequestInformation when successful func (m *MobileAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -219,7 +213,7 @@ func (m *MobileAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new microsoftStoreForBusinessApp object. +// ToPostRequestInformation create new navigation property to mobileApps for deviceAppManagement // returns a *RequestInformation when successful func (m *MobileAppsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable, requestConfiguration *MobileAppsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/sync_microsoft_store_for_business_apps_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/sync_microsoft_store_for_business_apps_request_builder.go index 3251dabd82..ff9ca147e0 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/sync_microsoft_store_for_business_apps_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/sync_microsoft_store_for_business_apps_request_builder.go @@ -35,9 +35,6 @@ func NewSyncMicrosoftStoreForBusinessAppsRequestBuilder(rawUrl string, requestAd } // Post syncs Intune account with Microsoft Store For Business // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-syncmicrosoftstoreforbusinessapps?view=graph-rest-1.0 func (m *SyncMicrosoftStoreForBusinessAppsRequestBuilder) Post(ctx context.Context, requestConfiguration *SyncMicrosoftStoreForBusinessAppsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/targeted_managed_app_configurations_item_assign_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/targeted_managed_app_configurations_item_assign_request_builder.go index 5b88fb78ab..555b8bcaef 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/targeted_managed_app_configurations_item_assign_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/targeted_managed_app_configurations_item_assign_request_builder.go @@ -33,11 +33,8 @@ func NewTargetedManagedAppConfigurationsItemAssignRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewTargetedManagedAppConfigurationsItemAssignRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action assign // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappconfiguration-assign?view=graph-rest-1.0 func (m *TargetedManagedAppConfigurationsItemAssignRequestBuilder) Post(ctx context.Context, body TargetedManagedAppConfigurationsItemAssignPostRequestBodyable, requestConfiguration *TargetedManagedAppConfigurationsItemAssignRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -52,7 +49,7 @@ func (m *TargetedManagedAppConfigurationsItemAssignRequestBuilder) Post(ctx cont } return nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action assign // returns a *RequestInformation when successful func (m *TargetedManagedAppConfigurationsItemAssignRequestBuilder) ToPostRequestInformation(ctx context.Context, body TargetedManagedAppConfigurationsItemAssignPostRequestBodyable, requestConfiguration *TargetedManagedAppConfigurationsItemAssignRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/targeted_managed_app_configurations_item_target_apps_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/targeted_managed_app_configurations_item_target_apps_request_builder.go index 43f22f0191..9de730b5b6 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/targeted_managed_app_configurations_item_target_apps_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/targeted_managed_app_configurations_item_target_apps_request_builder.go @@ -33,11 +33,8 @@ func NewTargetedManagedAppConfigurationsItemTargetAppsRequestBuilder(rawUrl stri urlParams["request-raw-url"] = rawUrl return NewTargetedManagedAppConfigurationsItemTargetAppsRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action targetApps // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappconfiguration-targetapps?view=graph-rest-1.0 func (m *TargetedManagedAppConfigurationsItemTargetAppsRequestBuilder) Post(ctx context.Context, body TargetedManagedAppConfigurationsItemTargetAppsPostRequestBodyable, requestConfiguration *TargetedManagedAppConfigurationsItemTargetAppsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -52,7 +49,7 @@ func (m *TargetedManagedAppConfigurationsItemTargetAppsRequestBuilder) Post(ctx } return nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action targetApps // returns a *RequestInformation when successful func (m *TargetedManagedAppConfigurationsItemTargetAppsRequestBuilder) ToPostRequestInformation(ctx context.Context, body TargetedManagedAppConfigurationsItemTargetAppsPostRequestBodyable, requestConfiguration *TargetedManagedAppConfigurationsItemTargetAppsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/targeted_managed_app_configurations_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/targeted_managed_app_configurations_request_builder.go index 414c2a6439..501077f0d7 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/targeted_managed_app_configurations_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/targeted_managed_app_configurations_request_builder.go @@ -14,7 +14,7 @@ import ( type TargetedManagedAppConfigurationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TargetedManagedAppConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the targetedManagedAppConfiguration objects. +// TargetedManagedAppConfigurationsRequestBuilderGetQueryParameters targeted managed app configurations. type TargetedManagedAppConfigurationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewTargetedManagedAppConfigurationsRequestBuilder(rawUrl string, requestAda func (m *TargetedManagedAppConfigurationsRequestBuilder) Count()(*TargetedManagedAppConfigurationsCountRequestBuilder) { return NewTargetedManagedAppConfigurationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the targetedManagedAppConfiguration objects. +// Get targeted managed app configurations. // returns a TargetedManagedAppConfigurationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappconfiguration-list?view=graph-rest-1.0 func (m *TargetedManagedAppConfigurationsRequestBuilder) Get(ctx context.Context, requestConfiguration *TargetedManagedAppConfigurationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedManagedAppConfigurationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *TargetedManagedAppConfigurationsRequestBuilder) Get(ctx context.Context } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedManagedAppConfigurationCollectionResponseable), nil } -// Post create a new targetedManagedAppConfiguration object. +// Post create new navigation property to targetedManagedAppConfigurations for deviceAppManagement // returns a TargetedManagedAppConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappconfiguration-create?view=graph-rest-1.0 func (m *TargetedManagedAppConfigurationsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedManagedAppConfigurationable, requestConfiguration *TargetedManagedAppConfigurationsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedManagedAppConfigurationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *TargetedManagedAppConfigurationsRequestBuilder) Post(ctx context.Contex } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedManagedAppConfigurationable), nil } -// ToGetRequestInformation list properties and relationships of the targetedManagedAppConfiguration objects. +// ToGetRequestInformation targeted managed app configurations. // returns a *RequestInformation when successful func (m *TargetedManagedAppConfigurationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TargetedManagedAppConfigurationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *TargetedManagedAppConfigurationsRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new targetedManagedAppConfiguration object. +// ToPostRequestInformation create new navigation property to targetedManagedAppConfigurations for deviceAppManagement // returns a *RequestInformation when successful func (m *TargetedManagedAppConfigurationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedManagedAppConfigurationable, requestConfiguration *TargetedManagedAppConfigurationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/targeted_managed_app_configurations_targeted_managed_app_configuration_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/targeted_managed_app_configurations_targeted_managed_app_configuration_item_request_builder.go index b2c8eb2c02..a8709d8448 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/targeted_managed_app_configurations_targeted_managed_app_configuration_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/targeted_managed_app_configurations_targeted_managed_app_configuration_item_request_builder.go @@ -21,7 +21,7 @@ type TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequestB // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the targetedManagedAppConfiguration object. +// TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequestBuilderGetQueryParameters targeted managed app configurations. type TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -72,11 +72,8 @@ func NewTargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemReque urlParams["request-raw-url"] = rawUrl return NewTargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a targetedManagedAppConfiguration. +// Delete delete navigation property targetedManagedAppConfigurations for deviceAppManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappconfiguration-delete?view=graph-rest-1.0 func (m *TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +93,9 @@ func (m *TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequ func (m *TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequestBuilder) DeploymentSummary()(*TargetedManagedAppConfigurationsItemDeploymentSummaryRequestBuilder) { return NewTargetedManagedAppConfigurationsItemDeploymentSummaryRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the targetedManagedAppConfiguration object. +// Get targeted managed app configurations. // returns a TargetedManagedAppConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappconfiguration-get?view=graph-rest-1.0 func (m *TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedManagedAppConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,12 +113,9 @@ func (m *TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequ } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedManagedAppConfigurationable), nil } -// Patch update the properties of a targetedManagedAppConfiguration object. +// Patch update the navigation property targetedManagedAppConfigurations in deviceAppManagement // returns a TargetedManagedAppConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappconfiguration-update?view=graph-rest-1.0 func (m *TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedManagedAppConfigurationable, requestConfiguration *TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedManagedAppConfigurationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -147,7 +138,7 @@ func (m *TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequ func (m *TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequestBuilder) TargetApps()(*TargetedManagedAppConfigurationsItemTargetAppsRequestBuilder) { return NewTargetedManagedAppConfigurationsItemTargetAppsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes a targetedManagedAppConfiguration. +// ToDeleteRequestInformation delete navigation property targetedManagedAppConfigurations for deviceAppManagement // returns a *RequestInformation when successful func (m *TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -158,7 +149,7 @@ func (m *TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the targetedManagedAppConfiguration object. +// ToGetRequestInformation targeted managed app configurations. // returns a *RequestInformation when successful func (m *TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -172,7 +163,7 @@ func (m *TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a targetedManagedAppConfiguration object. +// ToPatchRequestInformation update the navigation property targetedManagedAppConfigurations in deviceAppManagement // returns a *RequestInformation when successful func (m *TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedManagedAppConfigurationable, requestConfiguration *TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/vpp_tokens_item_sync_licenses_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/vpp_tokens_item_sync_licenses_request_builder.go index 74deb7610a..d0c9786aba 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/vpp_tokens_item_sync_licenses_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/vpp_tokens_item_sync_licenses_request_builder.go @@ -37,9 +37,6 @@ func NewVppTokensItemSyncLicensesRequestBuilder(rawUrl string, requestAdapter i2 // Post syncs licenses associated with a specific appleVolumePurchaseProgramToken // returns a VppTokenable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-vpptoken-synclicenses?view=graph-rest-1.0 func (m *VppTokensItemSyncLicensesRequestBuilder) Post(ctx context.Context, requestConfiguration *VppTokensItemSyncLicensesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VppTokenable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/vpp_tokens_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/vpp_tokens_request_builder.go index 80ae06c434..e8e8ab1f9f 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/vpp_tokens_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/vpp_tokens_request_builder.go @@ -14,7 +14,7 @@ import ( type VppTokensRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VppTokensRequestBuilderGetQueryParameters list properties and relationships of the vppToken objects. +// VppTokensRequestBuilderGetQueryParameters list of Vpp tokens for this organization. type VppTokensRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewVppTokensRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2633 func (m *VppTokensRequestBuilder) Count()(*VppTokensCountRequestBuilder) { return NewVppTokensCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the vppToken objects. +// Get list of Vpp tokens for this organization. // returns a VppTokenCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-vpptoken-list?view=graph-rest-1.0 func (m *VppTokensRequestBuilder) Get(ctx context.Context, requestConfiguration *VppTokensRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VppTokenCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *VppTokensRequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VppTokenCollectionResponseable), nil } -// Post create a new vppToken object. +// Post create new navigation property to vppTokens for deviceAppManagement // returns a VppTokenable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-vpptoken-create?view=graph-rest-1.0 func (m *VppTokensRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VppTokenable, requestConfiguration *VppTokensRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VppTokenable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *VppTokensRequestBuilder) Post(ctx context.Context, body iadcd81124412c6 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VppTokenable), nil } -// ToGetRequestInformation list properties and relationships of the vppToken objects. +// ToGetRequestInformation list of Vpp tokens for this organization. // returns a *RequestInformation when successful func (m *VppTokensRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VppTokensRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *VppTokensRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new vppToken object. +// ToPostRequestInformation create new navigation property to vppTokens for deviceAppManagement // returns a *RequestInformation when successful func (m *VppTokensRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VppTokenable, requestConfiguration *VppTokensRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/vpp_tokens_vpp_token_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/vpp_tokens_vpp_token_item_request_builder.go index e27a8de069..233bb5e9e6 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/vpp_tokens_vpp_token_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/vpp_tokens_vpp_token_item_request_builder.go @@ -21,7 +21,7 @@ type VppTokensVppTokenItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VppTokensVppTokenItemRequestBuilderGetQueryParameters read properties and relationships of the vppToken object. +// VppTokensVppTokenItemRequestBuilderGetQueryParameters list of Vpp tokens for this organization. type VppTokensVppTokenItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewVppTokensVppTokenItemRequestBuilder(rawUrl string, requestAdapter i2ae41 urlParams["request-raw-url"] = rawUrl return NewVppTokensVppTokenItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a vppToken. +// Delete delete navigation property vppTokens for deviceAppManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-vpptoken-delete?view=graph-rest-1.0 func (m *VppTokensVppTokenItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *VppTokensVppTokenItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *VppTokensVppTokenItemRequestBuilder) Delete(ctx context.Context, reques } return nil } -// Get read properties and relationships of the vppToken object. +// Get list of Vpp tokens for this organization. // returns a VppTokenable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-vpptoken-get?view=graph-rest-1.0 func (m *VppTokensVppTokenItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VppTokensVppTokenItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VppTokenable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *VppTokensVppTokenItemRequestBuilder) Get(ctx context.Context, requestCo } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VppTokenable), nil } -// Patch update the properties of a vppToken object. +// Patch update the navigation property vppTokens in deviceAppManagement // returns a VppTokenable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-vpptoken-update?view=graph-rest-1.0 func (m *VppTokensVppTokenItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VppTokenable, requestConfiguration *VppTokensVppTokenItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VppTokenable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +118,7 @@ func (m *VppTokensVppTokenItemRequestBuilder) Patch(ctx context.Context, body ia func (m *VppTokensVppTokenItemRequestBuilder) SyncLicenses()(*VppTokensItemSyncLicensesRequestBuilder) { return NewVppTokensItemSyncLicensesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes a vppToken. +// ToDeleteRequestInformation delete navigation property vppTokens for deviceAppManagement // returns a *RequestInformation when successful func (m *VppTokensVppTokenItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *VppTokensVppTokenItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -138,7 +129,7 @@ func (m *VppTokensVppTokenItemRequestBuilder) ToDeleteRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the vppToken object. +// ToGetRequestInformation list of Vpp tokens for this organization. // returns a *RequestInformation when successful func (m *VppTokensVppTokenItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VppTokensVppTokenItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -152,7 +143,7 @@ func (m *VppTokensVppTokenItemRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a vppToken object. +// ToPatchRequestInformation update the navigation property vppTokens in deviceAppManagement // returns a *RequestInformation when successful func (m *VppTokensVppTokenItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VppTokenable, requestConfiguration *VppTokensVppTokenItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/windows_information_protection_policies_item_exempt_app_locker_files_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/windows_information_protection_policies_item_exempt_app_locker_files_request_builder.go index c3d3991d2c..a8bd009037 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/windows_information_protection_policies_item_exempt_app_locker_files_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/windows_information_protection_policies_item_exempt_app_locker_files_request_builder.go @@ -14,7 +14,7 @@ import ( type WindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// WindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuilderGetQueryParameters list properties and relationships of the windowsInformationProtectionAppLockerFile objects. +// WindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuilderGetQueryParameters another way to input exempt apps through xml files type WindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewWindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuild func (m *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuilder) Count()(*WindowsInformationProtectionPoliciesItemExemptAppLockerFilesCountRequestBuilder) { return NewWindowsInformationProtectionPoliciesItemExemptAppLockerFilesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the windowsInformationProtectionAppLockerFile objects. +// Get another way to input exempt apps through xml files // returns a WindowsInformationProtectionAppLockerFileCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotectionapplockerfile-list?view=graph-rest-1.0 func (m *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionAppLockerFileCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuil } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionAppLockerFileCollectionResponseable), nil } -// Post create a new windowsInformationProtectionAppLockerFile object. +// Post create new navigation property to exemptAppLockerFiles for deviceAppManagement // returns a WindowsInformationProtectionAppLockerFileable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotectionapplockerfile-create?view=graph-rest-1.0 func (m *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionAppLockerFileable, requestConfiguration *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionAppLockerFileable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuil } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionAppLockerFileable), nil } -// ToGetRequestInformation list properties and relationships of the windowsInformationProtectionAppLockerFile objects. +// ToGetRequestInformation another way to input exempt apps through xml files // returns a *RequestInformation when successful func (m *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new windowsInformationProtectionAppLockerFile object. +// ToPostRequestInformation create new navigation property to exemptAppLockerFiles for deviceAppManagement // returns a *RequestInformation when successful func (m *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionAppLockerFileable, requestConfiguration *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/windows_information_protection_policies_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/windows_information_protection_policies_request_builder.go index e47846b42d..8a178b9d94 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/windows_information_protection_policies_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/windows_information_protection_policies_request_builder.go @@ -14,7 +14,7 @@ import ( type WindowsInformationProtectionPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// WindowsInformationProtectionPoliciesRequestBuilderGetQueryParameters list properties and relationships of the windowsInformationProtectionPolicy objects. +// WindowsInformationProtectionPoliciesRequestBuilderGetQueryParameters windows information protection for apps running on devices which are not MDM enrolled. type WindowsInformationProtectionPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewWindowsInformationProtectionPoliciesRequestBuilder(rawUrl string, reques func (m *WindowsInformationProtectionPoliciesRequestBuilder) Count()(*WindowsInformationProtectionPoliciesCountRequestBuilder) { return NewWindowsInformationProtectionPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the windowsInformationProtectionPolicy objects. +// Get windows information protection for apps running on devices which are not MDM enrolled. // returns a WindowsInformationProtectionPolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotectionpolicy-list?view=graph-rest-1.0 func (m *WindowsInformationProtectionPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsInformationProtectionPoliciesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionPolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *WindowsInformationProtectionPoliciesRequestBuilder) Get(ctx context.Con } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionPolicyCollectionResponseable), nil } -// Post create a new windowsInformationProtectionPolicy object. +// Post create new navigation property to windowsInformationProtectionPolicies for deviceAppManagement // returns a WindowsInformationProtectionPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotectionpolicy-create?view=graph-rest-1.0 func (m *WindowsInformationProtectionPoliciesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionPolicyable, requestConfiguration *WindowsInformationProtectionPoliciesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionPolicyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *WindowsInformationProtectionPoliciesRequestBuilder) Post(ctx context.Co } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionPolicyable), nil } -// ToGetRequestInformation list properties and relationships of the windowsInformationProtectionPolicy objects. +// ToGetRequestInformation windows information protection for apps running on devices which are not MDM enrolled. // returns a *RequestInformation when successful func (m *WindowsInformationProtectionPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsInformationProtectionPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *WindowsInformationProtectionPoliciesRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new windowsInformationProtectionPolicy object. +// ToPostRequestInformation create new navigation property to windowsInformationProtectionPolicies for deviceAppManagement // returns a *RequestInformation when successful func (m *WindowsInformationProtectionPoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionPolicyable, requestConfiguration *WindowsInformationProtectionPoliciesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/windows_information_protection_policies_windows_information_protection_policy_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/windows_information_protection_policies_windows_information_protection_policy_item_request_builder.go index 06b8cffd08..3c5ac57d22 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/windows_information_protection_policies_windows_information_protection_policy_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/deviceappmanagement/windows_information_protection_policies_windows_information_protection_policy_item_request_builder.go @@ -21,7 +21,7 @@ type WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyItemR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyItemRequestBuilderGetQueryParameters read properties and relationships of the windowsInformationProtectionPolicy object. +// WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyItemRequestBuilderGetQueryParameters windows information protection for apps running on devices which are not MDM enrolled. type WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -62,11 +62,8 @@ func NewWindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyIt urlParams["request-raw-url"] = rawUrl return NewWindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a windowsInformationProtectionPolicy. +// Delete delete navigation property windowsInformationProtectionPolicies for deviceAppManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotectionpolicy-delete?view=graph-rest-1.0 func (m *WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,12 +83,9 @@ func (m *WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyI func (m *WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyItemRequestBuilder) ExemptAppLockerFiles()(*WindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuilder) { return NewWindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the windowsInformationProtectionPolicy object. +// Get windows information protection for apps running on devices which are not MDM enrolled. // returns a WindowsInformationProtectionPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotectionpolicy-get?view=graph-rest-1.0 func (m *WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -109,12 +103,9 @@ func (m *WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyI } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionPolicyable), nil } -// Patch update the properties of a windowsInformationProtectionPolicy object. +// Patch update the navigation property windowsInformationProtectionPolicies in deviceAppManagement // returns a WindowsInformationProtectionPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotectionpolicy-update?view=graph-rest-1.0 func (m *WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionPolicyable, requestConfiguration *WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionPolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -137,7 +128,7 @@ func (m *WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyI func (m *WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyItemRequestBuilder) ProtectedAppLockerFiles()(*WindowsInformationProtectionPoliciesItemProtectedAppLockerFilesRequestBuilder) { return NewWindowsInformationProtectionPoliciesItemProtectedAppLockerFilesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes a windowsInformationProtectionPolicy. +// ToDeleteRequestInformation delete navigation property windowsInformationProtectionPolicies for deviceAppManagement // returns a *RequestInformation when successful func (m *WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -148,7 +139,7 @@ func (m *WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the windowsInformationProtectionPolicy object. +// ToGetRequestInformation windows information protection for apps running on devices which are not MDM enrolled. // returns a *RequestInformation when successful func (m *WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -162,7 +153,7 @@ func (m *WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a windowsInformationProtectionPolicy object. +// ToPatchRequestInformation update the navigation property windowsInformationProtectionPolicies in deviceAppManagement // returns a *RequestInformation when successful func (m *WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionPolicyable, requestConfiguration *WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/0a5a4dd91bf6c92ff0466224caec38565dac24eaf1df939a3c3aab7dddf53fc6.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/0a5a4dd91bf6c92ff0466224caec38565dac24eaf1df939a3c3aab7dddf53fc6.go index 5123febe95..a1cc2bc8d8 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/0a5a4dd91bf6c92ff0466224caec38565dac24eaf1df939a3c3aab7dddf53fc6.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/0a5a4dd91bf6c92ff0466224caec38565dac24eaf1df939a3c3aab7dddf53fc6.go @@ -21,7 +21,7 @@ type DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingState // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesDeviceComplianceSettingStateItemRequestBuilderGetQueryParameters read properties and relationships of the deviceComplianceSettingState object. +// DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesDeviceComplianceSettingStateItemRequestBuilderGetQueryParameters get deviceComplianceSettingStates from deviceManagement type DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesDeviceComplianceSettingStateItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewDeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingSt urlParams["request-raw-url"] = rawUrl return NewDeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesDeviceComplianceSettingStateItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a deviceComplianceSettingState. +// Delete delete navigation property deviceComplianceSettingStates for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancesettingstate-delete?view=graph-rest-1.0 func (m *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesDeviceComplianceSettingStateItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesDeviceComplianceSettingStateItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingS } return nil } -// Get read properties and relationships of the deviceComplianceSettingState object. +// Get get deviceComplianceSettingStates from deviceManagement // returns a DeviceComplianceSettingStateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancesettingstate-get?view=graph-rest-1.0 func (m *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesDeviceComplianceSettingStateItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesDeviceComplianceSettingStateItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceSettingStateable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingS } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceSettingStateable), nil } -// Patch update the properties of a deviceComplianceSettingState object. +// Patch update the navigation property deviceComplianceSettingStates in deviceManagement // returns a DeviceComplianceSettingStateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancesettingstate-update?view=graph-rest-1.0 func (m *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesDeviceComplianceSettingStateItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceSettingStateable, requestConfiguration *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesDeviceComplianceSettingStateItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceSettingStateable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingS } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceSettingStateable), nil } -// ToDeleteRequestInformation deletes a deviceComplianceSettingState. +// ToDeleteRequestInformation delete navigation property deviceComplianceSettingStates for deviceManagement // returns a *RequestInformation when successful func (m *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesDeviceComplianceSettingStateItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesDeviceComplianceSettingStateItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingS requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceComplianceSettingState object. +// ToGetRequestInformation get deviceComplianceSettingStates from deviceManagement // returns a *RequestInformation when successful func (m *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesDeviceComplianceSettingStateItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesDeviceComplianceSettingStateItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingS requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceComplianceSettingState object. +// ToPatchRequestInformation update the navigation property deviceComplianceSettingStates in deviceManagement // returns a *RequestInformation when successful func (m *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesDeviceComplianceSettingStateItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceSettingStateable, requestConfiguration *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesDeviceComplianceSettingStateItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/109351c9d4d900fda35ac9877eaf1580b008c55861ea096df20c691c8d801299.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/109351c9d4d900fda35ac9877eaf1580b008c55861ea096df20c691c8d801299.go index 9ea6e9ab77..bcf65c9609 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/109351c9d4d900fda35ac9877eaf1580b008c55861ea096df20c691c8d801299.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/109351c9d4d900fda35ac9877eaf1580b008c55861ea096df20c691c8d801299.go @@ -14,7 +14,7 @@ import ( type DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the deviceComplianceActionItem objects. +// DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsRequestBuilderGetQueryParameters the list of scheduled action configurations for this compliance policy. Compliance policy must have one and only one block scheduled action. type DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewDeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionCo func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsRequestBuilder) Count()(*DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsCountRequestBuilder) { return NewDeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the deviceComplianceActionItem objects. +// Get the list of scheduled action configurations for this compliance policy. Compliance policy must have one and only one block scheduled action. // returns a DeviceComplianceActionItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecomplianceactionitem-list?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceActionItemCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionC } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceActionItemCollectionResponseable), nil } -// Post create a new deviceComplianceActionItem object. +// Post create new navigation property to scheduledActionConfigurations for deviceManagement // returns a DeviceComplianceActionItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecomplianceactionitem-create?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceActionItemable, requestConfiguration *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceActionItemable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionC } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceActionItemable), nil } -// ToGetRequestInformation list properties and relationships of the deviceComplianceActionItem objects. +// ToGetRequestInformation the list of scheduled action configurations for this compliance policy. Compliance policy must have one and only one block scheduled action. // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionC requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new deviceComplianceActionItem object. +// ToPostRequestInformation create new navigation property to scheduledActionConfigurations for deviceManagement // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceActionItemable, requestConfiguration *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/10b57d74f6cd220bc5aa4fe020c8248a81e79f6c7256f1130ba9d1a6a0dc0cd6.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/10b57d74f6cd220bc5aa4fe020c8248a81e79f6c7256f1130ba9d1a6a0dc0cd6.go index cdc93e4c1d..50ea5b1c6f 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/10b57d74f6cd220bc5aa4fe020c8248a81e79f6c7256f1130ba9d1a6a0dc0cd6.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/10b57d74f6cd220bc5aa4fe020c8248a81e79f6c7256f1130ba9d1a6a0dc0cd6.go @@ -14,7 +14,7 @@ import ( type DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesRequestBuilderGetQueryParameters list properties and relationships of the deviceComplianceSettingState objects. +// DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesRequestBuilderGetQueryParameters get deviceComplianceSettingStates from deviceManagement type DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewDeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingSt func (m *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesRequestBuilder) Count()(*DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesCountRequestBuilder) { return NewDeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the deviceComplianceSettingState objects. +// Get get deviceComplianceSettingStates from deviceManagement // returns a DeviceComplianceSettingStateCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancesettingstate-list?view=graph-rest-1.0 func (m *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceSettingStateCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingS } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceSettingStateCollectionResponseable), nil } -// Post create a new deviceComplianceSettingState object. +// Post create new navigation property to deviceComplianceSettingStates for deviceManagement // returns a DeviceComplianceSettingStateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancesettingstate-create?view=graph-rest-1.0 func (m *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceSettingStateable, requestConfiguration *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceSettingStateable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingS } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceSettingStateable), nil } -// ToGetRequestInformation list properties and relationships of the deviceComplianceSettingState objects. +// ToGetRequestInformation get deviceComplianceSettingStates from deviceManagement // returns a *RequestInformation when successful func (m *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingS requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new deviceComplianceSettingState object. +// ToPostRequestInformation create new navigation property to deviceComplianceSettingStates for deviceManagement // returns a *RequestInformation when successful func (m *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceSettingStateable, requestConfiguration *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/177e4f39b5c041fcd2bad3b1ed33f6d6bc37badeab58d3b20bdf289ae4b8be12.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/177e4f39b5c041fcd2bad3b1ed33f6d6bc37badeab58d3b20bdf289ae4b8be12.go index 56e5753769..53fea9982d 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/177e4f39b5c041fcd2bad3b1ed33f6d6bc37badeab58d3b20bdf289ae4b8be12.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/177e4f39b5c041fcd2bad3b1ed33f6d6bc37badeab58d3b20bdf289ae4b8be12.go @@ -37,9 +37,6 @@ func NewApplePushNotificationCertificateDownloadApplePushNotificationCertificate // Deprecated: This method is obsolete. Use GetAsDownloadApplePushNotificationCertificateSigningRequestGetResponse instead. // returns a ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-applepushnotificationcertificate-downloadapplepushnotificationcertificatesigningrequest?view=graph-rest-1.0 func (m *ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder) Get(ctx context.Context, requestConfiguration *ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilderGetRequestConfiguration)(ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -60,9 +57,6 @@ func (m *ApplePushNotificationCertificateDownloadApplePushNotificationCertificat // GetAsDownloadApplePushNotificationCertificateSigningRequestGetResponse download Apple push notification certificate signing request // returns a ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-applepushnotificationcertificate-downloadapplepushnotificationcertificatesigningrequest?view=graph-rest-1.0 func (m *ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder) GetAsDownloadApplePushNotificationCertificateSigningRequestGetResponse(ctx context.Context, requestConfiguration *ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilderGetRequestConfiguration)(ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/341895f944af3876c74ba63c068635ef51c643b781f441572f24afbffa992e41.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/341895f944af3876c74ba63c068635ef51c643b781f441572f24afbffa992e41.go index 41a449fd7a..efac8b5f02 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/341895f944af3876c74ba63c068635ef51c643b781f441572f24afbffa992e41.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/341895f944af3876c74ba63c068635ef51c643b781f441572f24afbffa992e41.go @@ -21,7 +21,7 @@ type ImportedWindowsAutopilotDeviceIdentitiesImportedWindowsAutopilotDeviceIdent // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ImportedWindowsAutopilotDeviceIdentitiesImportedWindowsAutopilotDeviceIdentityItemRequestBuilderGetQueryParameters read properties and relationships of the importedWindowsAutopilotDeviceIdentity object. +// ImportedWindowsAutopilotDeviceIdentitiesImportedWindowsAutopilotDeviceIdentityItemRequestBuilderGetQueryParameters collection of imported Windows autopilot devices. type ImportedWindowsAutopilotDeviceIdentitiesImportedWindowsAutopilotDeviceIdentityItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewImportedWindowsAutopilotDeviceIdentitiesImportedWindowsAutopilotDeviceId urlParams["request-raw-url"] = rawUrl return NewImportedWindowsAutopilotDeviceIdentitiesImportedWindowsAutopilotDeviceIdentityItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a importedWindowsAutopilotDeviceIdentity. +// Delete delete navigation property importedWindowsAutopilotDeviceIdentities for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-enrollment-importedwindowsautopilotdeviceidentity-delete?view=graph-rest-1.0 func (m *ImportedWindowsAutopilotDeviceIdentitiesImportedWindowsAutopilotDeviceIdentityItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ImportedWindowsAutopilotDeviceIdentitiesImportedWindowsAutopilotDeviceIdentityItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *ImportedWindowsAutopilotDeviceIdentitiesImportedWindowsAutopilotDeviceI } return nil } -// Get read properties and relationships of the importedWindowsAutopilotDeviceIdentity object. +// Get collection of imported Windows autopilot devices. // returns a ImportedWindowsAutopilotDeviceIdentityable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-enrollment-importedwindowsautopilotdeviceidentity-get?view=graph-rest-1.0 func (m *ImportedWindowsAutopilotDeviceIdentitiesImportedWindowsAutopilotDeviceIdentityItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ImportedWindowsAutopilotDeviceIdentitiesImportedWindowsAutopilotDeviceIdentityItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ImportedWindowsAutopilotDeviceIdentityable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +113,7 @@ func (m *ImportedWindowsAutopilotDeviceIdentitiesImportedWindowsAutopilotDeviceI } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ImportedWindowsAutopilotDeviceIdentityable), nil } -// ToDeleteRequestInformation deletes a importedWindowsAutopilotDeviceIdentity. +// ToDeleteRequestInformation delete navigation property importedWindowsAutopilotDeviceIdentities for deviceManagement // returns a *RequestInformation when successful func (m *ImportedWindowsAutopilotDeviceIdentitiesImportedWindowsAutopilotDeviceIdentityItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ImportedWindowsAutopilotDeviceIdentitiesImportedWindowsAutopilotDeviceIdentityItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +124,7 @@ func (m *ImportedWindowsAutopilotDeviceIdentitiesImportedWindowsAutopilotDeviceI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the importedWindowsAutopilotDeviceIdentity object. +// ToGetRequestInformation collection of imported Windows autopilot devices. // returns a *RequestInformation when successful func (m *ImportedWindowsAutopilotDeviceIdentitiesImportedWindowsAutopilotDeviceIdentityItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ImportedWindowsAutopilotDeviceIdentitiesImportedWindowsAutopilotDeviceIdentityItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/4aa6731e555e8834e37fb2d6f49f85f16b46280e6e7e09910f0f8670c9e179ca.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/4aa6731e555e8834e37fb2d6f49f85f16b46280e6e7e09910f0f8670c9e179ca.go index 4d07c42a2d..b07760f8f7 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/4aa6731e555e8834e37fb2d6f49f85f16b46280e6e7e09910f0f8670c9e179ca.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/4aa6731e555e8834e37fb2d6f49f85f16b46280e6e7e09910f0f8670c9e179ca.go @@ -34,12 +34,9 @@ func NewMobileAppTroubleshootingEventsItemAppLogCollectionRequestsItemCreateDown urlParams["request-raw-url"] = rawUrl return NewMobileAppTroubleshootingEventsItemAppLogCollectionRequestsItemCreateDownloadUrlRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action createDownloadUrl // returns a AppLogCollectionDownloadDetailsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-applogcollectionrequest-createdownloadurl?view=graph-rest-1.0 func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsItemCreateDownloadUrlRequestBuilder) Post(ctx context.Context, requestConfiguration *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsItemCreateDownloadUrlRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AppLogCollectionDownloadDetailsable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -57,7 +54,7 @@ func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsItemCreateDow } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AppLogCollectionDownloadDetailsable), nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action createDownloadUrl // returns a *RequestInformation when successful func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsItemCreateDownloadUrlRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsItemCreateDownloadUrlRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/555f9dd2844a0bd212fc97193878300d8d5328b5d99378457589b26283acc8a1.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/555f9dd2844a0bd212fc97193878300d8d5328b5d99378457589b26283acc8a1.go index ec670e389a..8fca657861 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/555f9dd2844a0bd212fc97193878300d8d5328b5d99378457589b26283acc8a1.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/555f9dd2844a0bd212fc97193878300d8d5328b5d99378457589b26283acc8a1.go @@ -21,7 +21,7 @@ type WindowsInformationProtectionNetworkLearningSummariesWindowsInformationProte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// WindowsInformationProtectionNetworkLearningSummariesWindowsInformationProtectionNetworkLearningSummaryItemRequestBuilderGetQueryParameters read properties and relationships of the windowsInformationProtectionNetworkLearningSummary object. +// WindowsInformationProtectionNetworkLearningSummariesWindowsInformationProtectionNetworkLearningSummaryItemRequestBuilderGetQueryParameters the windows information protection network learning summaries. type WindowsInformationProtectionNetworkLearningSummariesWindowsInformationProtectionNetworkLearningSummaryItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewWindowsInformationProtectionNetworkLearningSummariesWindowsInformationPr urlParams["request-raw-url"] = rawUrl return NewWindowsInformationProtectionNetworkLearningSummariesWindowsInformationProtectionNetworkLearningSummaryItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a windowsInformationProtectionNetworkLearningSummary. +// Delete delete navigation property windowsInformationProtectionNetworkLearningSummaries for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-wip-windowsinformationprotectionnetworklearningsummary-delete?view=graph-rest-1.0 func (m *WindowsInformationProtectionNetworkLearningSummariesWindowsInformationProtectionNetworkLearningSummaryItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsInformationProtectionNetworkLearningSummariesWindowsInformationProtectionNetworkLearningSummaryItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *WindowsInformationProtectionNetworkLearningSummariesWindowsInformationP } return nil } -// Get read properties and relationships of the windowsInformationProtectionNetworkLearningSummary object. +// Get the windows information protection network learning summaries. // returns a WindowsInformationProtectionNetworkLearningSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-wip-windowsinformationprotectionnetworklearningsummary-get?view=graph-rest-1.0 func (m *WindowsInformationProtectionNetworkLearningSummariesWindowsInformationProtectionNetworkLearningSummaryItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsInformationProtectionNetworkLearningSummariesWindowsInformationProtectionNetworkLearningSummaryItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionNetworkLearningSummaryable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *WindowsInformationProtectionNetworkLearningSummariesWindowsInformationP } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionNetworkLearningSummaryable), nil } -// Patch update the properties of a windowsInformationProtectionNetworkLearningSummary object. +// Patch update the navigation property windowsInformationProtectionNetworkLearningSummaries in deviceManagement // returns a WindowsInformationProtectionNetworkLearningSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-wip-windowsinformationprotectionnetworklearningsummary-update?view=graph-rest-1.0 func (m *WindowsInformationProtectionNetworkLearningSummariesWindowsInformationProtectionNetworkLearningSummaryItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionNetworkLearningSummaryable, requestConfiguration *WindowsInformationProtectionNetworkLearningSummariesWindowsInformationProtectionNetworkLearningSummaryItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionNetworkLearningSummaryable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *WindowsInformationProtectionNetworkLearningSummariesWindowsInformationP } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionNetworkLearningSummaryable), nil } -// ToDeleteRequestInformation deletes a windowsInformationProtectionNetworkLearningSummary. +// ToDeleteRequestInformation delete navigation property windowsInformationProtectionNetworkLearningSummaries for deviceManagement // returns a *RequestInformation when successful func (m *WindowsInformationProtectionNetworkLearningSummariesWindowsInformationProtectionNetworkLearningSummaryItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsInformationProtectionNetworkLearningSummariesWindowsInformationProtectionNetworkLearningSummaryItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *WindowsInformationProtectionNetworkLearningSummariesWindowsInformationP requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the windowsInformationProtectionNetworkLearningSummary object. +// ToGetRequestInformation the windows information protection network learning summaries. // returns a *RequestInformation when successful func (m *WindowsInformationProtectionNetworkLearningSummariesWindowsInformationProtectionNetworkLearningSummaryItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsInformationProtectionNetworkLearningSummariesWindowsInformationProtectionNetworkLearningSummaryItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *WindowsInformationProtectionNetworkLearningSummariesWindowsInformationP requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a windowsInformationProtectionNetworkLearningSummary object. +// ToPatchRequestInformation update the navigation property windowsInformationProtectionNetworkLearningSummaries in deviceManagement // returns a *RequestInformation when successful func (m *WindowsInformationProtectionNetworkLearningSummariesWindowsInformationProtectionNetworkLearningSummaryItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionNetworkLearningSummaryable, requestConfiguration *WindowsInformationProtectionNetworkLearningSummariesWindowsInformationProtectionNetworkLearningSummaryItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/5fe9bdcbb1022b44730c43d38d19cb7a431b6b341f7a34d0f1fadbc609f60404.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/5fe9bdcbb1022b44730c43d38d19cb7a431b6b341f7a34d0f1fadbc609f60404.go index 6b671e4142..1682a2ff42 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/5fe9bdcbb1022b44730c43d38d19cb7a431b6b341f7a34d0f1fadbc609f60404.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/5fe9bdcbb1022b44730c43d38d19cb7a431b6b341f7a34d0f1fadbc609f60404.go @@ -21,7 +21,7 @@ type DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceSchedule // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceScheduledActionForRuleItemRequestBuilderGetQueryParameters read properties and relationships of the deviceComplianceScheduledActionForRule object. +// DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceScheduledActionForRuleItemRequestBuilderGetQueryParameters the list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. type DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceScheduledActionForRuleItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewDeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceSched urlParams["request-raw-url"] = rawUrl return NewDeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceScheduledActionForRuleItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a deviceComplianceScheduledActionForRule. +// Delete delete navigation property scheduledActionsForRule for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancescheduledactionforrule-delete?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceScheduledActionForRuleItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceScheduledActionForRuleItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceSche } return nil } -// Get read properties and relationships of the deviceComplianceScheduledActionForRule object. +// Get the list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. // returns a DeviceComplianceScheduledActionForRuleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancescheduledactionforrule-get?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceScheduledActionForRuleItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceScheduledActionForRuleItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceScheduledActionForRuleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceSche } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceScheduledActionForRuleable), nil } -// Patch update the properties of a deviceComplianceScheduledActionForRule object. +// Patch update the navigation property scheduledActionsForRule in deviceManagement // returns a DeviceComplianceScheduledActionForRuleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancescheduledactionforrule-update?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceScheduledActionForRuleItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceScheduledActionForRuleable, requestConfiguration *DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceScheduledActionForRuleItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceScheduledActionForRuleable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +118,7 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceSche func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceScheduledActionForRuleItemRequestBuilder) ScheduledActionConfigurations()(*DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsRequestBuilder) { return NewDeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes a deviceComplianceScheduledActionForRule. +// ToDeleteRequestInformation delete navigation property scheduledActionsForRule for deviceManagement // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceScheduledActionForRuleItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceScheduledActionForRuleItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -138,7 +129,7 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceSche requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceComplianceScheduledActionForRule object. +// ToGetRequestInformation the list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceScheduledActionForRuleItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceScheduledActionForRuleItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -152,7 +143,7 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceSche requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceComplianceScheduledActionForRule object. +// ToPatchRequestInformation update the navigation property scheduledActionsForRule in deviceManagement // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceScheduledActionForRuleItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceScheduledActionForRuleable, requestConfiguration *DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceScheduledActionForRuleItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/677706bf03b1db5c91694b78d8c95b9b5914257e8275722f95d315738f0414e7.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/677706bf03b1db5c91694b78d8c95b9b5914257e8275722f95d315738f0414e7.go index 62606b0e2b..08ecab384e 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/677706bf03b1db5c91694b78d8c95b9b5914257e8275722f95d315738f0414e7.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/677706bf03b1db5c91694b78d8c95b9b5914257e8275722f95d315738f0414e7.go @@ -21,7 +21,7 @@ type DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsDeviceComplianceActionItemItemRequestBuilderGetQueryParameters read properties and relationships of the deviceComplianceActionItem object. +// DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsDeviceComplianceActionItemItemRequestBuilderGetQueryParameters the list of scheduled action configurations for this compliance policy. Compliance policy must have one and only one block scheduled action. type DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsDeviceComplianceActionItemItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewDeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionCo urlParams["request-raw-url"] = rawUrl return NewDeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsDeviceComplianceActionItemItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a deviceComplianceActionItem. +// Delete delete navigation property scheduledActionConfigurations for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecomplianceactionitem-delete?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsDeviceComplianceActionItemItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsDeviceComplianceActionItemItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionC } return nil } -// Get read properties and relationships of the deviceComplianceActionItem object. +// Get the list of scheduled action configurations for this compliance policy. Compliance policy must have one and only one block scheduled action. // returns a DeviceComplianceActionItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecomplianceactionitem-get?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsDeviceComplianceActionItemItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsDeviceComplianceActionItemItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceActionItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionC } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceActionItemable), nil } -// Patch update the properties of a deviceComplianceActionItem object. +// Patch update the navigation property scheduledActionConfigurations in deviceManagement // returns a DeviceComplianceActionItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecomplianceactionitem-update?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsDeviceComplianceActionItemItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceActionItemable, requestConfiguration *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsDeviceComplianceActionItemItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceActionItemable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionC } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceActionItemable), nil } -// ToDeleteRequestInformation deletes a deviceComplianceActionItem. +// ToDeleteRequestInformation delete navigation property scheduledActionConfigurations for deviceManagement // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsDeviceComplianceActionItemItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsDeviceComplianceActionItemItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionC requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceComplianceActionItem object. +// ToGetRequestInformation the list of scheduled action configurations for this compliance policy. Compliance policy must have one and only one block scheduled action. // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsDeviceComplianceActionItemItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsDeviceComplianceActionItemItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionC requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceComplianceActionItem object. +// ToPatchRequestInformation update the navigation property scheduledActionConfigurations in deviceManagement // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsDeviceComplianceActionItemItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceActionItemable, requestConfiguration *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsDeviceComplianceActionItemItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/7bf72a413a0c230fd2b53f8b0778f4447710b79731b0d72aa21e84e7b7c8d240.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/7bf72a413a0c230fd2b53f8b0778f4447710b79731b0d72aa21e84e7b7c8d240.go index 07cf2b8c18..6ecdc51daa 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/7bf72a413a0c230fd2b53f8b0778f4447710b79731b0d72aa21e84e7b7c8d240.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/7bf72a413a0c230fd2b53f8b0778f4447710b79731b0d72aa21e84e7b7c8d240.go @@ -21,7 +21,7 @@ type DeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSummar // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSummaryItemRequestBuilderGetQueryParameters read properties and relationships of the settingStateDeviceSummary object. +// DeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSummaryItemRequestBuilderGetQueryParameters device Configuration Setting State Device Summary type DeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSummaryItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewDeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSum urlParams["request-raw-url"] = rawUrl return NewDeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSummaryItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a settingStateDeviceSummary. +// Delete delete navigation property deviceSettingStateSummaries for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-settingstatedevicesummary-delete?view=graph-rest-1.0 func (m *DeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSummaryItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSummaryItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *DeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSu } return nil } -// Get read properties and relationships of the settingStateDeviceSummary object. +// Get device Configuration Setting State Device Summary // returns a SettingStateDeviceSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-settingstatedevicesummary-get?view=graph-rest-1.0 func (m *DeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSummaryItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSummaryItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SettingStateDeviceSummaryable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *DeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSu } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SettingStateDeviceSummaryable), nil } -// Patch update the properties of a settingStateDeviceSummary object. +// Patch update the navigation property deviceSettingStateSummaries in deviceManagement // returns a SettingStateDeviceSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-settingstatedevicesummary-update?view=graph-rest-1.0 func (m *DeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSummaryItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SettingStateDeviceSummaryable, requestConfiguration *DeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSummaryItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SettingStateDeviceSummaryable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *DeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSu } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SettingStateDeviceSummaryable), nil } -// ToDeleteRequestInformation deletes a settingStateDeviceSummary. +// ToDeleteRequestInformation delete navigation property deviceSettingStateSummaries for deviceManagement // returns a *RequestInformation when successful func (m *DeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSummaryItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSummaryItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *DeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the settingStateDeviceSummary object. +// ToGetRequestInformation device Configuration Setting State Device Summary // returns a *RequestInformation when successful func (m *DeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSummaryItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSummaryItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *DeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a settingStateDeviceSummary object. +// ToPatchRequestInformation update the navigation property deviceSettingStateSummaries in deviceManagement // returns a *RequestInformation when successful func (m *DeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSummaryItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SettingStateDeviceSummaryable, requestConfiguration *DeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSummaryItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/apple_push_notification_certificate_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/apple_push_notification_certificate_request_builder.go index 6045a3691f..abf2fdcd0d 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/apple_push_notification_certificate_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/apple_push_notification_certificate_request_builder.go @@ -21,7 +21,7 @@ type ApplePushNotificationCertificateRequestBuilderDeleteRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ApplePushNotificationCertificateRequestBuilderGetQueryParameters read properties and relationships of the applePushNotificationCertificate object. +// ApplePushNotificationCertificateRequestBuilderGetQueryParameters apple push notification certificate. type ApplePushNotificationCertificateRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -78,12 +78,9 @@ func (m *ApplePushNotificationCertificateRequestBuilder) Delete(ctx context.Cont func (m *ApplePushNotificationCertificateRequestBuilder) DownloadApplePushNotificationCertificateSigningRequest()(*ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder) { return NewApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the applePushNotificationCertificate object. +// Get apple push notification certificate. // returns a ApplePushNotificationCertificateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-applepushnotificationcertificate-get?view=graph-rest-1.0 func (m *ApplePushNotificationCertificateRequestBuilder) Get(ctx context.Context, requestConfiguration *ApplePushNotificationCertificateRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ApplePushNotificationCertificateable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +98,9 @@ func (m *ApplePushNotificationCertificateRequestBuilder) Get(ctx context.Context } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ApplePushNotificationCertificateable), nil } -// Patch update the properties of a applePushNotificationCertificate object. +// Patch update the navigation property applePushNotificationCertificate in deviceManagement // returns a ApplePushNotificationCertificateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-applepushnotificationcertificate-update?view=graph-rest-1.0 func (m *ApplePushNotificationCertificateRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ApplePushNotificationCertificateable, requestConfiguration *ApplePushNotificationCertificateRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ApplePushNotificationCertificateable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -135,7 +129,7 @@ func (m *ApplePushNotificationCertificateRequestBuilder) ToDeleteRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the applePushNotificationCertificate object. +// ToGetRequestInformation apple push notification certificate. // returns a *RequestInformation when successful func (m *ApplePushNotificationCertificateRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ApplePushNotificationCertificateRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +143,7 @@ func (m *ApplePushNotificationCertificateRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a applePushNotificationCertificate object. +// ToPatchRequestInformation update the navigation property applePushNotificationCertificate in deviceManagement // returns a *RequestInformation when successful func (m *ApplePushNotificationCertificateRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ApplePushNotificationCertificateable, requestConfiguration *ApplePushNotificationCertificateRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/audit_events_audit_event_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/audit_events_audit_event_item_request_builder.go index 3dc7aa7986..e8b709d1f1 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/audit_events_audit_event_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/audit_events_audit_event_item_request_builder.go @@ -21,7 +21,7 @@ type AuditEventsAuditEventItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AuditEventsAuditEventItemRequestBuilderGetQueryParameters read properties and relationships of the auditEvent object. +// AuditEventsAuditEventItemRequestBuilderGetQueryParameters the Audit Events type AuditEventsAuditEventItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewAuditEventsAuditEventItemRequestBuilder(rawUrl string, requestAdapter i2 urlParams["request-raw-url"] = rawUrl return NewAuditEventsAuditEventItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a auditEvent. +// Delete delete navigation property auditEvents for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-auditing-auditevent-delete?view=graph-rest-1.0 func (m *AuditEventsAuditEventItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *AuditEventsAuditEventItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *AuditEventsAuditEventItemRequestBuilder) Delete(ctx context.Context, re } return nil } -// Get read properties and relationships of the auditEvent object. +// Get the Audit Events // returns a AuditEventable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-auditing-auditevent-get?view=graph-rest-1.0 func (m *AuditEventsAuditEventItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AuditEventsAuditEventItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AuditEventable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *AuditEventsAuditEventItemRequestBuilder) Get(ctx context.Context, reque } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AuditEventable), nil } -// Patch update the properties of a auditEvent object. +// Patch update the navigation property auditEvents in deviceManagement // returns a AuditEventable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-auditing-auditevent-update?view=graph-rest-1.0 func (m *AuditEventsAuditEventItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AuditEventable, requestConfiguration *AuditEventsAuditEventItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AuditEventable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *AuditEventsAuditEventItemRequestBuilder) Patch(ctx context.Context, bod } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AuditEventable), nil } -// ToDeleteRequestInformation deletes a auditEvent. +// ToDeleteRequestInformation delete navigation property auditEvents for deviceManagement // returns a *RequestInformation when successful func (m *AuditEventsAuditEventItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *AuditEventsAuditEventItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *AuditEventsAuditEventItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the auditEvent object. +// ToGetRequestInformation the Audit Events // returns a *RequestInformation when successful func (m *AuditEventsAuditEventItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuditEventsAuditEventItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *AuditEventsAuditEventItemRequestBuilder) ToGetRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a auditEvent object. +// ToPatchRequestInformation update the navigation property auditEvents in deviceManagement // returns a *RequestInformation when successful func (m *AuditEventsAuditEventItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AuditEventable, requestConfiguration *AuditEventsAuditEventItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/audit_events_get_audit_categories_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/audit_events_get_audit_categories_request_builder.go index f09dacba6a..3f18401699 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/audit_events_get_audit_categories_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/audit_events_get_audit_categories_request_builder.go @@ -13,7 +13,7 @@ import ( type AuditEventsGetAuditCategoriesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AuditEventsGetAuditCategoriesRequestBuilderGetQueryParameters not yet documented +// AuditEventsGetAuditCategoriesRequestBuilderGetQueryParameters invoke function getAuditCategories type AuditEventsGetAuditCategoriesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -48,13 +48,10 @@ func NewAuditEventsGetAuditCategoriesRequestBuilder(rawUrl string, requestAdapte urlParams["request-raw-url"] = rawUrl return NewAuditEventsGetAuditCategoriesRequestBuilderInternal(urlParams, requestAdapter) } -// Get not yet documented +// Get invoke function getAuditCategories // Deprecated: This method is obsolete. Use GetAsGetAuditCategoriesGetResponse instead. // returns a AuditEventsGetAuditCategoriesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-auditing-auditevent-getauditcategories?view=graph-rest-1.0 func (m *AuditEventsGetAuditCategoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *AuditEventsGetAuditCategoriesRequestBuilderGetRequestConfiguration)(AuditEventsGetAuditCategoriesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,12 +69,9 @@ func (m *AuditEventsGetAuditCategoriesRequestBuilder) Get(ctx context.Context, r } return res.(AuditEventsGetAuditCategoriesResponseable), nil } -// GetAsGetAuditCategoriesGetResponse not yet documented +// GetAsGetAuditCategoriesGetResponse invoke function getAuditCategories // returns a AuditEventsGetAuditCategoriesGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-auditing-auditevent-getauditcategories?view=graph-rest-1.0 func (m *AuditEventsGetAuditCategoriesRequestBuilder) GetAsGetAuditCategoriesGetResponse(ctx context.Context, requestConfiguration *AuditEventsGetAuditCategoriesRequestBuilderGetRequestConfiguration)(AuditEventsGetAuditCategoriesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +89,7 @@ func (m *AuditEventsGetAuditCategoriesRequestBuilder) GetAsGetAuditCategoriesGet } return res.(AuditEventsGetAuditCategoriesGetResponseable), nil } -// ToGetRequestInformation not yet documented +// ToGetRequestInformation invoke function getAuditCategories // returns a *RequestInformation when successful func (m *AuditEventsGetAuditCategoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuditEventsGetAuditCategoriesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/audit_events_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/audit_events_request_builder.go index 4e10e387f0..a5d21db767 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/audit_events_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/audit_events_request_builder.go @@ -14,7 +14,7 @@ import ( type AuditEventsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AuditEventsRequestBuilderGetQueryParameters list properties and relationships of the auditEvent objects. +// AuditEventsRequestBuilderGetQueryParameters the Audit Events type AuditEventsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewAuditEventsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 func (m *AuditEventsRequestBuilder) Count()(*AuditEventsCountRequestBuilder) { return NewAuditEventsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the auditEvent objects. +// Get the Audit Events // returns a AuditEventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-auditing-auditevent-list?view=graph-rest-1.0 func (m *AuditEventsRequestBuilder) Get(ctx context.Context, requestConfiguration *AuditEventsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AuditEventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -112,12 +109,9 @@ func (m *AuditEventsRequestBuilder) GetAuditActivityTypesWithCategory(category * func (m *AuditEventsRequestBuilder) GetAuditCategories()(*AuditEventsGetAuditCategoriesRequestBuilder) { return NewAuditEventsGetAuditCategoriesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new auditEvent object. +// Post create new navigation property to auditEvents for deviceManagement // returns a AuditEventable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-auditing-auditevent-create?view=graph-rest-1.0 func (m *AuditEventsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AuditEventable, requestConfiguration *AuditEventsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AuditEventable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -135,7 +129,7 @@ func (m *AuditEventsRequestBuilder) Post(ctx context.Context, body iadcd81124412 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AuditEventable), nil } -// ToGetRequestInformation list properties and relationships of the auditEvent objects. +// ToGetRequestInformation the Audit Events // returns a *RequestInformation when successful func (m *AuditEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuditEventsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +143,7 @@ func (m *AuditEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new auditEvent object. +// ToPostRequestInformation create new navigation property to auditEvents for deviceManagement // returns a *RequestInformation when successful func (m *AuditEventsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AuditEventable, requestConfiguration *AuditEventsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/bf9288df37e0c301abf601b7d48a03542ade9ad5ddb989a30d6d0f7046c40dfe.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/bf9288df37e0c301abf601b7d48a03542ade9ad5ddb989a30d6d0f7046c40dfe.go index e4ceb2f0cd..3c72049f2d 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/bf9288df37e0c301abf601b7d48a03542ade9ad5ddb989a30d6d0f7046c40dfe.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/bf9288df37e0c301abf601b7d48a03542ade9ad5ddb989a30d6d0f7046c40dfe.go @@ -21,7 +21,7 @@ type DeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAssignm // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAssignmentItemRequestBuilderGetQueryParameters read properties and relationships of the enrollmentConfigurationAssignment object. +// DeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAssignmentItemRequestBuilderGetQueryParameters the list of group assignments for the device configuration profile type DeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAssignmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewDeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAssi urlParams["request-raw-url"] = rawUrl return NewDeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAssignmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a enrollmentConfigurationAssignment. +// Delete delete navigation property assignments for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-enrollmentconfigurationassignment-delete?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAssignmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAssignmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *DeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAss } return nil } -// Get read properties and relationships of the enrollmentConfigurationAssignment object. +// Get the list of group assignments for the device configuration profile // returns a EnrollmentConfigurationAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-enrollmentconfigurationassignment-get?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAssignmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAssignmentItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EnrollmentConfigurationAssignmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *DeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAss } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EnrollmentConfigurationAssignmentable), nil } -// Patch update the properties of a enrollmentConfigurationAssignment object. +// Patch update the navigation property assignments in deviceManagement // returns a EnrollmentConfigurationAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-enrollmentconfigurationassignment-update?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAssignmentItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EnrollmentConfigurationAssignmentable, requestConfiguration *DeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAssignmentItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EnrollmentConfigurationAssignmentable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *DeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAss } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EnrollmentConfigurationAssignmentable), nil } -// ToDeleteRequestInformation deletes a enrollmentConfigurationAssignment. +// ToDeleteRequestInformation delete navigation property assignments for deviceManagement // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAssignmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAssignmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *DeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAss requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the enrollmentConfigurationAssignment object. +// ToGetRequestInformation the list of group assignments for the device configuration profile // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAssignmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAssignmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *DeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAss requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a enrollmentConfigurationAssignment object. +// ToPatchRequestInformation update the navigation property assignments in deviceManagement // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAssignmentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EnrollmentConfigurationAssignmentable, requestConfiguration *DeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAssignmentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/c3522b9024b6212dd16983898d6e4cf56b5947acde3b385c0d8113733dfa6e7c.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/c3522b9024b6212dd16983898d6e4cf56b5947acde3b385c0d8113733dfa6e7c.go index e8a94c3826..3d49a39603 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/c3522b9024b6212dd16983898d6e4cf56b5947acde3b385c0d8113733dfa6e7c.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/c3522b9024b6212dd16983898d6e4cf56b5947acde3b385c0d8113733dfa6e7c.go @@ -21,7 +21,7 @@ type WindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsDevic // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// WindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsDeviceItemRequestBuilderGetQueryParameters read properties and relationships of the malwareStateForWindowsDevice object. +// WindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsDeviceItemRequestBuilderGetQueryParameters list of devices affected by current malware with the malware state on each device type WindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsDeviceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewWindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsDe urlParams["request-raw-url"] = rawUrl return NewWindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsDeviceItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a malwareStateForWindowsDevice. +// Delete delete navigation property deviceMalwareStates for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-malwarestateforwindowsdevice-delete?view=graph-rest-1.0 func (m *WindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsDeviceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsDeviceItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *WindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsD } return nil } -// Get read properties and relationships of the malwareStateForWindowsDevice object. +// Get list of devices affected by current malware with the malware state on each device // returns a MalwareStateForWindowsDeviceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-malwarestateforwindowsdevice-get?view=graph-rest-1.0 func (m *WindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsDeviceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsDeviceItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MalwareStateForWindowsDeviceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *WindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsD } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MalwareStateForWindowsDeviceable), nil } -// Patch update the properties of a malwareStateForWindowsDevice object. +// Patch update the navigation property deviceMalwareStates in deviceManagement // returns a MalwareStateForWindowsDeviceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-malwarestateforwindowsdevice-update?view=graph-rest-1.0 func (m *WindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsDeviceItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MalwareStateForWindowsDeviceable, requestConfiguration *WindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsDeviceItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MalwareStateForWindowsDeviceable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *WindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsD } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MalwareStateForWindowsDeviceable), nil } -// ToDeleteRequestInformation deletes a malwareStateForWindowsDevice. +// ToDeleteRequestInformation delete navigation property deviceMalwareStates for deviceManagement // returns a *RequestInformation when successful func (m *WindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsDeviceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsDeviceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *WindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the malwareStateForWindowsDevice object. +// ToGetRequestInformation list of devices affected by current malware with the malware state on each device // returns a *RequestInformation when successful func (m *WindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsDeviceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsDeviceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *WindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a malwareStateForWindowsDevice object. +// ToPatchRequestInformation update the navigation property deviceMalwareStates in deviceManagement // returns a *RequestInformation when successful func (m *WindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsDeviceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MalwareStateForWindowsDeviceable, requestConfiguration *WindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsDeviceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/ce772dff7e796bf38681ab34f46676c34db7afa6bd4d2986a1ab8cab226e60e2.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/ce772dff7e796bf38681ab34f46676c34db7afa6bd4d2986a1ab8cab226e60e2.go index 49a86900da..3223676e2d 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/ce772dff7e796bf38681ab34f46676c34db7afa6bd4d2986a1ab8cab226e60e2.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/ce772dff7e796bf38681ab34f46676c34db7afa6bd4d2986a1ab8cab226e60e2.go @@ -21,7 +21,7 @@ type TermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceStatusI // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceStatusItemRequestBuilderGetQueryParameters read properties and relationships of the termsAndConditionsAcceptanceStatus object. +// TermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceStatusItemRequestBuilderGetQueryParameters the list of acceptance statuses for this T&C policy. type TermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceStatusItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewTermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceStat urlParams["request-raw-url"] = rawUrl return NewTermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceStatusItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a termsAndConditionsAcceptanceStatus. +// Delete delete navigation property acceptanceStatuses for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-companyterms-termsandconditionsacceptancestatus-delete?view=graph-rest-1.0 func (m *TermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceStatusItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceStatusItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *TermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceSta } return nil } -// Get read properties and relationships of the termsAndConditionsAcceptanceStatus object. +// Get the list of acceptance statuses for this T&C policy. // returns a TermsAndConditionsAcceptanceStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-companyterms-termsandconditionsacceptancestatus-get?view=graph-rest-1.0 func (m *TermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceStatusItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceStatusItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsAcceptanceStatusable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *TermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceSta } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsAcceptanceStatusable), nil } -// Patch update the properties of a termsAndConditionsAcceptanceStatus object. +// Patch update the navigation property acceptanceStatuses in deviceManagement // returns a TermsAndConditionsAcceptanceStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-companyterms-termsandconditionsacceptancestatus-update?view=graph-rest-1.0 func (m *TermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceStatusItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsAcceptanceStatusable, requestConfiguration *TermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceStatusItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsAcceptanceStatusable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +118,7 @@ func (m *TermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceSta func (m *TermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceStatusItemRequestBuilder) TermsAndConditions()(*TermsAndConditionsItemAcceptanceStatusesItemTermsAndConditionsRequestBuilder) { return NewTermsAndConditionsItemAcceptanceStatusesItemTermsAndConditionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes a termsAndConditionsAcceptanceStatus. +// ToDeleteRequestInformation delete navigation property acceptanceStatuses for deviceManagement // returns a *RequestInformation when successful func (m *TermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceStatusItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceStatusItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -138,7 +129,7 @@ func (m *TermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceSta requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the termsAndConditionsAcceptanceStatus object. +// ToGetRequestInformation the list of acceptance statuses for this T&C policy. // returns a *RequestInformation when successful func (m *TermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceStatusItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceStatusItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -152,7 +143,7 @@ func (m *TermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceSta requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a termsAndConditionsAcceptanceStatus object. +// ToPatchRequestInformation update the navigation property acceptanceStatuses in deviceManagement // returns a *RequestInformation when successful func (m *TermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceStatusItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsAcceptanceStatusable, requestConfiguration *TermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceStatusItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/compliance_management_partners_compliance_management_partner_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/compliance_management_partners_compliance_management_partner_item_request_builder.go index a22c9b6202..d1d5245485 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/compliance_management_partners_compliance_management_partner_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/compliance_management_partners_compliance_management_partner_item_request_builder.go @@ -21,7 +21,7 @@ type ComplianceManagementPartnersComplianceManagementPartnerItemRequestBuilderDe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ComplianceManagementPartnersComplianceManagementPartnerItemRequestBuilderGetQueryParameters read properties and relationships of the complianceManagementPartner object. +// ComplianceManagementPartnersComplianceManagementPartnerItemRequestBuilderGetQueryParameters the list of Compliance Management Partners configured by the tenant. type ComplianceManagementPartnersComplianceManagementPartnerItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewComplianceManagementPartnersComplianceManagementPartnerItemRequestBuilde urlParams["request-raw-url"] = rawUrl return NewComplianceManagementPartnersComplianceManagementPartnerItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a complianceManagementPartner. +// Delete delete navigation property complianceManagementPartners for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-compliancemanagementpartner-delete?view=graph-rest-1.0 func (m *ComplianceManagementPartnersComplianceManagementPartnerItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ComplianceManagementPartnersComplianceManagementPartnerItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *ComplianceManagementPartnersComplianceManagementPartnerItemRequestBuild } return nil } -// Get read properties and relationships of the complianceManagementPartner object. +// Get the list of Compliance Management Partners configured by the tenant. // returns a ComplianceManagementPartnerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-compliancemanagementpartner-get?view=graph-rest-1.0 func (m *ComplianceManagementPartnersComplianceManagementPartnerItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ComplianceManagementPartnersComplianceManagementPartnerItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ComplianceManagementPartnerable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *ComplianceManagementPartnersComplianceManagementPartnerItemRequestBuild } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ComplianceManagementPartnerable), nil } -// Patch update the properties of a complianceManagementPartner object. +// Patch update the navigation property complianceManagementPartners in deviceManagement // returns a ComplianceManagementPartnerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-compliancemanagementpartner-update?view=graph-rest-1.0 func (m *ComplianceManagementPartnersComplianceManagementPartnerItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ComplianceManagementPartnerable, requestConfiguration *ComplianceManagementPartnersComplianceManagementPartnerItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ComplianceManagementPartnerable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *ComplianceManagementPartnersComplianceManagementPartnerItemRequestBuild } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ComplianceManagementPartnerable), nil } -// ToDeleteRequestInformation deletes a complianceManagementPartner. +// ToDeleteRequestInformation delete navigation property complianceManagementPartners for deviceManagement // returns a *RequestInformation when successful func (m *ComplianceManagementPartnersComplianceManagementPartnerItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ComplianceManagementPartnersComplianceManagementPartnerItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *ComplianceManagementPartnersComplianceManagementPartnerItemRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the complianceManagementPartner object. +// ToGetRequestInformation the list of Compliance Management Partners configured by the tenant. // returns a *RequestInformation when successful func (m *ComplianceManagementPartnersComplianceManagementPartnerItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ComplianceManagementPartnersComplianceManagementPartnerItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *ComplianceManagementPartnersComplianceManagementPartnerItemRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a complianceManagementPartner object. +// ToPatchRequestInformation update the navigation property complianceManagementPartners in deviceManagement // returns a *RequestInformation when successful func (m *ComplianceManagementPartnersComplianceManagementPartnerItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ComplianceManagementPartnerable, requestConfiguration *ComplianceManagementPartnersComplianceManagementPartnerItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/compliance_management_partners_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/compliance_management_partners_request_builder.go index ce061c8be1..14f9ef9a30 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/compliance_management_partners_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/compliance_management_partners_request_builder.go @@ -14,7 +14,7 @@ import ( type ComplianceManagementPartnersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ComplianceManagementPartnersRequestBuilderGetQueryParameters list properties and relationships of the complianceManagementPartner objects. +// ComplianceManagementPartnersRequestBuilderGetQueryParameters the list of Compliance Management Partners configured by the tenant. type ComplianceManagementPartnersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewComplianceManagementPartnersRequestBuilder(rawUrl string, requestAdapter func (m *ComplianceManagementPartnersRequestBuilder) Count()(*ComplianceManagementPartnersCountRequestBuilder) { return NewComplianceManagementPartnersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the complianceManagementPartner objects. +// Get the list of Compliance Management Partners configured by the tenant. // returns a ComplianceManagementPartnerCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-compliancemanagementpartner-list?view=graph-rest-1.0 func (m *ComplianceManagementPartnersRequestBuilder) Get(ctx context.Context, requestConfiguration *ComplianceManagementPartnersRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ComplianceManagementPartnerCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ComplianceManagementPartnersRequestBuilder) Get(ctx context.Context, re } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ComplianceManagementPartnerCollectionResponseable), nil } -// Post create a new complianceManagementPartner object. +// Post create new navigation property to complianceManagementPartners for deviceManagement // returns a ComplianceManagementPartnerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-compliancemanagementpartner-create?view=graph-rest-1.0 func (m *ComplianceManagementPartnersRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ComplianceManagementPartnerable, requestConfiguration *ComplianceManagementPartnersRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ComplianceManagementPartnerable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ComplianceManagementPartnersRequestBuilder) Post(ctx context.Context, b } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ComplianceManagementPartnerable), nil } -// ToGetRequestInformation list properties and relationships of the complianceManagementPartner objects. +// ToGetRequestInformation the list of Compliance Management Partners configured by the tenant. // returns a *RequestInformation when successful func (m *ComplianceManagementPartnersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ComplianceManagementPartnersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ComplianceManagementPartnersRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new complianceManagementPartner object. +// ToPostRequestInformation create new navigation property to complianceManagementPartners for deviceManagement // returns a *RequestInformation when successful func (m *ComplianceManagementPartnersRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ComplianceManagementPartnerable, requestConfiguration *ComplianceManagementPartnersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/conditional_access_settings_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/conditional_access_settings_request_builder.go index 46a2bfd430..6d85ec134f 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/conditional_access_settings_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/conditional_access_settings_request_builder.go @@ -21,7 +21,7 @@ type ConditionalAccessSettingsRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConditionalAccessSettingsRequestBuilderGetQueryParameters read properties and relationships of the onPremisesConditionalAccessSettings object. +// ConditionalAccessSettingsRequestBuilderGetQueryParameters the Exchange on premises conditional access settings. On premises conditional access will require devices to be both enrolled and compliant for mail access type ConditionalAccessSettingsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,9 @@ func (m *ConditionalAccessSettingsRequestBuilder) Delete(ctx context.Context, re } return nil } -// Get read properties and relationships of the onPremisesConditionalAccessSettings object. +// Get the Exchange on premises conditional access settings. On premises conditional access will require devices to be both enrolled and compliant for mail access // returns a OnPremisesConditionalAccessSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-onpremisesconditionalaccesssettings-get?view=graph-rest-1.0 func (m *ConditionalAccessSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessSettingsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesConditionalAccessSettingsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +93,9 @@ func (m *ConditionalAccessSettingsRequestBuilder) Get(ctx context.Context, reque } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesConditionalAccessSettingsable), nil } -// Patch update the properties of a onPremisesConditionalAccessSettings object. +// Patch update the navigation property conditionalAccessSettings in deviceManagement // returns a OnPremisesConditionalAccessSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-onpremisesconditionalaccesssettings-update?view=graph-rest-1.0 func (m *ConditionalAccessSettingsRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesConditionalAccessSettingsable, requestConfiguration *ConditionalAccessSettingsRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesConditionalAccessSettingsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +124,7 @@ func (m *ConditionalAccessSettingsRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the onPremisesConditionalAccessSettings object. +// ToGetRequestInformation the Exchange on premises conditional access settings. On premises conditional access will require devices to be both enrolled and compliant for mail access // returns a *RequestInformation when successful func (m *ConditionalAccessSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessSettingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +138,7 @@ func (m *ConditionalAccessSettingsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a onPremisesConditionalAccessSettings object. +// ToPatchRequestInformation update the navigation property conditionalAccessSettings in deviceManagement // returns a *RequestInformation when successful func (m *ConditionalAccessSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesConditionalAccessSettingsable, requestConfiguration *ConditionalAccessSettingsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/d469089bf717ba54f0d92793703a92f4e4ef96c19c819387b4e33ec2e5ef3f83.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/d469089bf717ba54f0d92793703a92f4e4ef96c19c819387b4e33ec2e5ef3f83.go index 4688b964db..eb09f2f86a 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/d469089bf717ba54f0d92793703a92f4e4ef96c19c819387b4e33ec2e5ef3f83.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/d469089bf717ba54f0d92793703a92f4e4ef96c19c819387b4e33ec2e5ef3f83.go @@ -21,7 +21,7 @@ type WindowsInformationProtectionAppLearningSummariesWindowsInformationProtectio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// WindowsInformationProtectionAppLearningSummariesWindowsInformationProtectionAppLearningSummaryItemRequestBuilderGetQueryParameters read properties and relationships of the windowsInformationProtectionAppLearningSummary object. +// WindowsInformationProtectionAppLearningSummariesWindowsInformationProtectionAppLearningSummaryItemRequestBuilderGetQueryParameters the windows information protection app learning summaries. type WindowsInformationProtectionAppLearningSummariesWindowsInformationProtectionAppLearningSummaryItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewWindowsInformationProtectionAppLearningSummariesWindowsInformationProtec urlParams["request-raw-url"] = rawUrl return NewWindowsInformationProtectionAppLearningSummariesWindowsInformationProtectionAppLearningSummaryItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a windowsInformationProtectionAppLearningSummary. +// Delete delete navigation property windowsInformationProtectionAppLearningSummaries for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-wip-windowsinformationprotectionapplearningsummary-delete?view=graph-rest-1.0 func (m *WindowsInformationProtectionAppLearningSummariesWindowsInformationProtectionAppLearningSummaryItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsInformationProtectionAppLearningSummariesWindowsInformationProtectionAppLearningSummaryItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *WindowsInformationProtectionAppLearningSummariesWindowsInformationProte } return nil } -// Get read properties and relationships of the windowsInformationProtectionAppLearningSummary object. +// Get the windows information protection app learning summaries. // returns a WindowsInformationProtectionAppLearningSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-wip-windowsinformationprotectionapplearningsummary-get?view=graph-rest-1.0 func (m *WindowsInformationProtectionAppLearningSummariesWindowsInformationProtectionAppLearningSummaryItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsInformationProtectionAppLearningSummariesWindowsInformationProtectionAppLearningSummaryItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionAppLearningSummaryable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *WindowsInformationProtectionAppLearningSummariesWindowsInformationProte } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionAppLearningSummaryable), nil } -// Patch update the properties of a windowsInformationProtectionAppLearningSummary object. +// Patch update the navigation property windowsInformationProtectionAppLearningSummaries in deviceManagement // returns a WindowsInformationProtectionAppLearningSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-wip-windowsinformationprotectionapplearningsummary-update?view=graph-rest-1.0 func (m *WindowsInformationProtectionAppLearningSummariesWindowsInformationProtectionAppLearningSummaryItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionAppLearningSummaryable, requestConfiguration *WindowsInformationProtectionAppLearningSummariesWindowsInformationProtectionAppLearningSummaryItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionAppLearningSummaryable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *WindowsInformationProtectionAppLearningSummariesWindowsInformationProte } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionAppLearningSummaryable), nil } -// ToDeleteRequestInformation deletes a windowsInformationProtectionAppLearningSummary. +// ToDeleteRequestInformation delete navigation property windowsInformationProtectionAppLearningSummaries for deviceManagement // returns a *RequestInformation when successful func (m *WindowsInformationProtectionAppLearningSummariesWindowsInformationProtectionAppLearningSummaryItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsInformationProtectionAppLearningSummariesWindowsInformationProtectionAppLearningSummaryItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *WindowsInformationProtectionAppLearningSummariesWindowsInformationProte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the windowsInformationProtectionAppLearningSummary object. +// ToGetRequestInformation the windows information protection app learning summaries. // returns a *RequestInformation when successful func (m *WindowsInformationProtectionAppLearningSummariesWindowsInformationProtectionAppLearningSummaryItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsInformationProtectionAppLearningSummariesWindowsInformationProtectionAppLearningSummaryItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *WindowsInformationProtectionAppLearningSummariesWindowsInformationProte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a windowsInformationProtectionAppLearningSummary object. +// ToPatchRequestInformation update the navigation property windowsInformationProtectionAppLearningSummaries in deviceManagement // returns a *RequestInformation when successful func (m *WindowsInformationProtectionAppLearningSummariesWindowsInformationProtectionAppLearningSummaryItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionAppLearningSummaryable, requestConfiguration *WindowsInformationProtectionAppLearningSummariesWindowsInformationProtectionAppLearningSummaryItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/detected_apps_detected_app_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/detected_apps_detected_app_item_request_builder.go index 07d33039ab..1aa3fe4601 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/detected_apps_detected_app_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/detected_apps_detected_app_item_request_builder.go @@ -21,7 +21,7 @@ type DetectedAppsDetectedAppItemRequestBuilderDeleteRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DetectedAppsDetectedAppItemRequestBuilderGetQueryParameters read properties and relationships of the detectedApp object. +// DetectedAppsDetectedAppItemRequestBuilderGetQueryParameters the list of detected apps associated with a device. type DetectedAppsDetectedAppItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewDetectedAppsDetectedAppItemRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewDetectedAppsDetectedAppItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a detectedApp. +// Delete delete navigation property detectedApps for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-detectedapp-delete?view=graph-rest-1.0 func (m *DetectedAppsDetectedAppItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DetectedAppsDetectedAppItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *DetectedAppsDetectedAppItemRequestBuilder) Delete(ctx context.Context, } return nil } -// Get read properties and relationships of the detectedApp object. +// Get the list of detected apps associated with a device. // returns a DetectedAppable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-detectedapp-get?view=graph-rest-1.0 func (m *DetectedAppsDetectedAppItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DetectedAppsDetectedAppItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DetectedAppable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +98,9 @@ func (m *DetectedAppsDetectedAppItemRequestBuilder) Get(ctx context.Context, req func (m *DetectedAppsDetectedAppItemRequestBuilder) ManagedDevices()(*DetectedAppsItemManagedDevicesRequestBuilder) { return NewDetectedAppsItemManagedDevicesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a detectedApp object. +// Patch update the navigation property detectedApps in deviceManagement // returns a DetectedAppable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-detectedapp-update?view=graph-rest-1.0 func (m *DetectedAppsDetectedAppItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DetectedAppable, requestConfiguration *DetectedAppsDetectedAppItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DetectedAppable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +118,7 @@ func (m *DetectedAppsDetectedAppItemRequestBuilder) Patch(ctx context.Context, b } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DetectedAppable), nil } -// ToDeleteRequestInformation deletes a detectedApp. +// ToDeleteRequestInformation delete navigation property detectedApps for deviceManagement // returns a *RequestInformation when successful func (m *DetectedAppsDetectedAppItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DetectedAppsDetectedAppItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -138,7 +129,7 @@ func (m *DetectedAppsDetectedAppItemRequestBuilder) ToDeleteRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the detectedApp object. +// ToGetRequestInformation the list of detected apps associated with a device. // returns a *RequestInformation when successful func (m *DetectedAppsDetectedAppItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DetectedAppsDetectedAppItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -152,7 +143,7 @@ func (m *DetectedAppsDetectedAppItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a detectedApp object. +// ToPatchRequestInformation update the navigation property detectedApps in deviceManagement // returns a *RequestInformation when successful func (m *DetectedAppsDetectedAppItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DetectedAppable, requestConfiguration *DetectedAppsDetectedAppItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/detected_apps_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/detected_apps_request_builder.go index a1dd2c45f6..8a8bd64faf 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/detected_apps_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/detected_apps_request_builder.go @@ -14,7 +14,7 @@ import ( type DetectedAppsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DetectedAppsRequestBuilderGetQueryParameters list properties and relationships of the detectedApp objects. +// DetectedAppsRequestBuilderGetQueryParameters the list of detected apps associated with a device. type DetectedAppsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewDetectedAppsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2 func (m *DetectedAppsRequestBuilder) Count()(*DetectedAppsCountRequestBuilder) { return NewDetectedAppsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the detectedApp objects. +// Get the list of detected apps associated with a device. // returns a DetectedAppCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-detectedapp-list?view=graph-rest-1.0 func (m *DetectedAppsRequestBuilder) Get(ctx context.Context, requestConfiguration *DetectedAppsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DetectedAppCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *DetectedAppsRequestBuilder) Get(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DetectedAppCollectionResponseable), nil } -// Post create a new detectedApp object. +// Post create new navigation property to detectedApps for deviceManagement // returns a DetectedAppable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-detectedapp-create?view=graph-rest-1.0 func (m *DetectedAppsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DetectedAppable, requestConfiguration *DetectedAppsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DetectedAppable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *DetectedAppsRequestBuilder) Post(ctx context.Context, body iadcd8112441 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DetectedAppable), nil } -// ToGetRequestInformation list properties and relationships of the detectedApp objects. +// ToGetRequestInformation the list of detected apps associated with a device. // returns a *RequestInformation when successful func (m *DetectedAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DetectedAppsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *DetectedAppsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new detectedApp object. +// ToPostRequestInformation create new navigation property to detectedApps for deviceManagement // returns a *RequestInformation when successful func (m *DetectedAppsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DetectedAppable, requestConfiguration *DetectedAppsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_categories_device_category_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_categories_device_category_item_request_builder.go index 63c510fcea..1124df9596 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_categories_device_category_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_categories_device_category_item_request_builder.go @@ -21,7 +21,7 @@ type DeviceCategoriesDeviceCategoryItemRequestBuilderDeleteRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceCategoriesDeviceCategoryItemRequestBuilderGetQueryParameters read properties and relationships of the deviceCategory object. +// DeviceCategoriesDeviceCategoryItemRequestBuilderGetQueryParameters the list of device categories with the tenant. type DeviceCategoriesDeviceCategoryItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewDeviceCategoriesDeviceCategoryItemRequestBuilder(rawUrl string, requestA urlParams["request-raw-url"] = rawUrl return NewDeviceCategoriesDeviceCategoryItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a deviceCategory. +// Delete delete navigation property deviceCategories for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-devicecategory-delete?view=graph-rest-1.0 func (m *DeviceCategoriesDeviceCategoryItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceCategoriesDeviceCategoryItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *DeviceCategoriesDeviceCategoryItemRequestBuilder) Delete(ctx context.Co } return nil } -// Get read properties and relationships of the deviceCategory object. +// Get the list of device categories with the tenant. // returns a DeviceCategoryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-devicecategory-get?view=graph-rest-1.0 func (m *DeviceCategoriesDeviceCategoryItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceCategoriesDeviceCategoryItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCategoryable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *DeviceCategoriesDeviceCategoryItemRequestBuilder) Get(ctx context.Conte } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCategoryable), nil } -// Patch update the properties of a deviceCategory object. +// Patch update the navigation property deviceCategories in deviceManagement // returns a DeviceCategoryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-devicecategory-update?view=graph-rest-1.0 func (m *DeviceCategoriesDeviceCategoryItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCategoryable, requestConfiguration *DeviceCategoriesDeviceCategoryItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCategoryable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *DeviceCategoriesDeviceCategoryItemRequestBuilder) Patch(ctx context.Con } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCategoryable), nil } -// ToDeleteRequestInformation deletes a deviceCategory. +// ToDeleteRequestInformation delete navigation property deviceCategories for deviceManagement // returns a *RequestInformation when successful func (m *DeviceCategoriesDeviceCategoryItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeviceCategoriesDeviceCategoryItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *DeviceCategoriesDeviceCategoryItemRequestBuilder) ToDeleteRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceCategory object. +// ToGetRequestInformation the list of device categories with the tenant. // returns a *RequestInformation when successful func (m *DeviceCategoriesDeviceCategoryItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceCategoriesDeviceCategoryItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *DeviceCategoriesDeviceCategoryItemRequestBuilder) ToGetRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceCategory object. +// ToPatchRequestInformation update the navigation property deviceCategories in deviceManagement // returns a *RequestInformation when successful func (m *DeviceCategoriesDeviceCategoryItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCategoryable, requestConfiguration *DeviceCategoriesDeviceCategoryItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_categories_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_categories_request_builder.go index a7a174934e..62a7f446c6 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_categories_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_categories_request_builder.go @@ -14,7 +14,7 @@ import ( type DeviceCategoriesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceCategoriesRequestBuilderGetQueryParameters list properties and relationships of the deviceCategory objects. +// DeviceCategoriesRequestBuilderGetQueryParameters the list of device categories with the tenant. type DeviceCategoriesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewDeviceCategoriesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7d func (m *DeviceCategoriesRequestBuilder) Count()(*DeviceCategoriesCountRequestBuilder) { return NewDeviceCategoriesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the deviceCategory objects. +// Get the list of device categories with the tenant. // returns a DeviceCategoryCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-devicecategory-list?view=graph-rest-1.0 func (m *DeviceCategoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceCategoriesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCategoryCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *DeviceCategoriesRequestBuilder) Get(ctx context.Context, requestConfigu } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCategoryCollectionResponseable), nil } -// Post create a new deviceCategory object. +// Post create new navigation property to deviceCategories for deviceManagement // returns a DeviceCategoryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-devicecategory-create?view=graph-rest-1.0 func (m *DeviceCategoriesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCategoryable, requestConfiguration *DeviceCategoriesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCategoryable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *DeviceCategoriesRequestBuilder) Post(ctx context.Context, body iadcd811 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCategoryable), nil } -// ToGetRequestInformation list properties and relationships of the deviceCategory objects. +// ToGetRequestInformation the list of device categories with the tenant. // returns a *RequestInformation when successful func (m *DeviceCategoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceCategoriesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *DeviceCategoriesRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new deviceCategory object. +// ToPostRequestInformation create new navigation property to deviceCategories for deviceManagement // returns a *RequestInformation when successful func (m *DeviceCategoriesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCategoryable, requestConfiguration *DeviceCategoriesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_device_compliance_policy_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_device_compliance_policy_item_request_builder.go index df73793139..e536e49fcc 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_device_compliance_policy_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_device_compliance_policy_item_request_builder.go @@ -21,7 +21,7 @@ type DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderDeleteReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderGetQueryParameters read properties and relationships of the windows10CompliancePolicy object. +// DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderGetQueryParameters the device compliance policies. type DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -67,11 +67,8 @@ func NewDeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewDeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a windows10CompliancePolicy. +// Delete delete navigation property deviceCompliancePolicies for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10compliancepolicy-delete?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +98,9 @@ func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) Devic func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) DeviceStatusOverview()(*DeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilder) { return NewDeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the windows10CompliancePolicy object. +// Get the device compliance policies. // returns a DeviceCompliancePolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10compliancepolicy-get?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,12 +118,9 @@ func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) Get(c } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable), nil } -// Patch update the properties of a androidWorkProfileCompliancePolicy object. +// Patch update the navigation property deviceCompliancePolicies in deviceManagement // returns a DeviceCompliancePolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-update?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, requestConfiguration *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -157,7 +148,7 @@ func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) Sched func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) ScheduledActionsForRule()(*DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilder) { return NewDeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes a windows10CompliancePolicy. +// ToDeleteRequestInformation delete navigation property deviceCompliancePolicies for deviceManagement // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -168,7 +159,7 @@ func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) ToDel requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the windows10CompliancePolicy object. +// ToGetRequestInformation the device compliance policies. // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -182,7 +173,7 @@ func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) ToGet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a androidWorkProfileCompliancePolicy object. +// ToPatchRequestInformation update the navigation property deviceCompliancePolicies in deviceManagement // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, requestConfiguration *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_assign_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_assign_request_builder.go index fa9fc3a563..ab3bf1e314 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_assign_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_assign_request_builder.go @@ -33,13 +33,10 @@ func NewDeviceCompliancePoliciesItemAssignRequestBuilder(rawUrl string, requestA urlParams["request-raw-url"] = rawUrl return NewDeviceCompliancePoliciesItemAssignRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action assign // Deprecated: This method is obsolete. Use PostAsAssignPostResponse instead. // returns a DeviceCompliancePoliciesItemAssignResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancepolicy-assign?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemAssignRequestBuilder) Post(ctx context.Context, body DeviceCompliancePoliciesItemAssignPostRequestBodyable, requestConfiguration *DeviceCompliancePoliciesItemAssignRequestBuilderPostRequestConfiguration)(DeviceCompliancePoliciesItemAssignResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -57,12 +54,9 @@ func (m *DeviceCompliancePoliciesItemAssignRequestBuilder) Post(ctx context.Cont } return res.(DeviceCompliancePoliciesItemAssignResponseable), nil } -// PostAsAssignPostResponse not yet documented +// PostAsAssignPostResponse invoke action assign // returns a DeviceCompliancePoliciesItemAssignPostResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancepolicy-assign?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemAssignRequestBuilder) PostAsAssignPostResponse(ctx context.Context, body DeviceCompliancePoliciesItemAssignPostRequestBodyable, requestConfiguration *DeviceCompliancePoliciesItemAssignRequestBuilderPostRequestConfiguration)(DeviceCompliancePoliciesItemAssignPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -80,7 +74,7 @@ func (m *DeviceCompliancePoliciesItemAssignRequestBuilder) PostAsAssignPostRespo } return res.(DeviceCompliancePoliciesItemAssignPostResponseable), nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action assign // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemAssignRequestBuilder) ToPostRequestInformation(ctx context.Context, body DeviceCompliancePoliciesItemAssignPostRequestBodyable, requestConfiguration *DeviceCompliancePoliciesItemAssignRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_assignments_device_compliance_policy_assignment_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_assignments_device_compliance_policy_assignment_item_request_builder.go index e47d0ecd8d..9708eadae1 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_assignments_device_compliance_policy_assignment_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_assignments_device_compliance_policy_assignment_item_request_builder.go @@ -21,7 +21,7 @@ type DeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignmentItem // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignmentItemRequestBuilderGetQueryParameters read properties and relationships of the deviceCompliancePolicyAssignment object. +// DeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignmentItemRequestBuilderGetQueryParameters the collection of assignments for this compliance policy. type DeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewDeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignmentI urlParams["request-raw-url"] = rawUrl return NewDeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a deviceCompliancePolicyAssignment. +// Delete delete navigation property assignments for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancepolicyassignment-delete?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *DeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignment } return nil } -// Get read properties and relationships of the deviceCompliancePolicyAssignment object. +// Get the collection of assignments for this compliance policy. // returns a DeviceCompliancePolicyAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancepolicyassignment-get?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignmentItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyAssignmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *DeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignment } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyAssignmentable), nil } -// Patch update the properties of a deviceCompliancePolicyAssignment object. +// Patch update the navigation property assignments in deviceManagement // returns a DeviceCompliancePolicyAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancepolicyassignment-update?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignmentItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyAssignmentable, requestConfiguration *DeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignmentItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyAssignmentable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *DeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignment } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyAssignmentable), nil } -// ToDeleteRequestInformation deletes a deviceCompliancePolicyAssignment. +// ToDeleteRequestInformation delete navigation property assignments for deviceManagement // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *DeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignment requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceCompliancePolicyAssignment object. +// ToGetRequestInformation the collection of assignments for this compliance policy. // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *DeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignment requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceCompliancePolicyAssignment object. +// ToPatchRequestInformation update the navigation property assignments in deviceManagement // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignmentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyAssignmentable, requestConfiguration *DeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignmentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_assignments_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_assignments_request_builder.go index d6d65c8e04..3c7f6f0cfa 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_assignments_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_assignments_request_builder.go @@ -14,7 +14,7 @@ import ( type DeviceCompliancePoliciesItemAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceCompliancePoliciesItemAssignmentsRequestBuilderGetQueryParameters list properties and relationships of the deviceCompliancePolicyAssignment objects. +// DeviceCompliancePoliciesItemAssignmentsRequestBuilderGetQueryParameters the collection of assignments for this compliance policy. type DeviceCompliancePoliciesItemAssignmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewDeviceCompliancePoliciesItemAssignmentsRequestBuilder(rawUrl string, req func (m *DeviceCompliancePoliciesItemAssignmentsRequestBuilder) Count()(*DeviceCompliancePoliciesItemAssignmentsCountRequestBuilder) { return NewDeviceCompliancePoliciesItemAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the deviceCompliancePolicyAssignment objects. +// Get the collection of assignments for this compliance policy. // returns a DeviceCompliancePolicyAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancepolicyassignment-list?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemAssignmentsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyAssignmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *DeviceCompliancePoliciesItemAssignmentsRequestBuilder) Get(ctx context. } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyAssignmentCollectionResponseable), nil } -// Post create a new deviceCompliancePolicyAssignment object. +// Post create new navigation property to assignments for deviceManagement // returns a DeviceCompliancePolicyAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancepolicyassignment-create?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemAssignmentsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyAssignmentable, requestConfiguration *DeviceCompliancePoliciesItemAssignmentsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *DeviceCompliancePoliciesItemAssignmentsRequestBuilder) Post(ctx context } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyAssignmentable), nil } -// ToGetRequestInformation list properties and relationships of the deviceCompliancePolicyAssignment objects. +// ToGetRequestInformation the collection of assignments for this compliance policy. // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *DeviceCompliancePoliciesItemAssignmentsRequestBuilder) ToGetRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new deviceCompliancePolicyAssignment object. +// ToPostRequestInformation create new navigation property to assignments for deviceManagement // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyAssignmentable, requestConfiguration *DeviceCompliancePoliciesItemAssignmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_device_status_overview_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_device_status_overview_request_builder.go index f6cffe4de1..95c9590d11 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_device_status_overview_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_device_status_overview_request_builder.go @@ -21,7 +21,7 @@ type DeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilderDeleteRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilderGetQueryParameters read properties and relationships of the deviceComplianceDeviceOverview object. +// DeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilderGetQueryParameters device compliance devices status overview type DeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,9 @@ func (m *DeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilder) Delete( } return nil } -// Get read properties and relationships of the deviceComplianceDeviceOverview object. +// Get device compliance devices status overview // returns a DeviceComplianceDeviceOverviewable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancedeviceoverview-get?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceDeviceOverviewable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +93,9 @@ func (m *DeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilder) Get(ctx } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceDeviceOverviewable), nil } -// Patch update the properties of a deviceComplianceDeviceOverview object. +// Patch update the navigation property deviceStatusOverview in deviceManagement // returns a DeviceComplianceDeviceOverviewable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancedeviceoverview-update?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceDeviceOverviewable, requestConfiguration *DeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceDeviceOverviewable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +124,7 @@ func (m *DeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilder) ToDelet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceComplianceDeviceOverview object. +// ToGetRequestInformation device compliance devices status overview // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +138,7 @@ func (m *DeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilder) ToGetRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceComplianceDeviceOverview object. +// ToPatchRequestInformation update the navigation property deviceStatusOverview in deviceManagement // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceDeviceOverviewable, requestConfiguration *DeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_device_statuses_device_compliance_device_status_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_device_statuses_device_compliance_device_status_item_request_builder.go index 407025a900..4d3dc65e8d 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_device_statuses_device_compliance_device_status_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_device_statuses_device_compliance_device_status_item_request_builder.go @@ -21,7 +21,7 @@ type DeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusItemR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusItemRequestBuilderGetQueryParameters read properties and relationships of the deviceComplianceDeviceStatus object. +// DeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusItemRequestBuilderGetQueryParameters list of DeviceComplianceDeviceStatus. type DeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewDeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusIt urlParams["request-raw-url"] = rawUrl return NewDeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a deviceComplianceDeviceStatus. +// Delete delete navigation property deviceStatuses for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancedevicestatus-delete?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *DeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusI } return nil } -// Get read properties and relationships of the deviceComplianceDeviceStatus object. +// Get list of DeviceComplianceDeviceStatus. // returns a DeviceComplianceDeviceStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancedevicestatus-get?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceDeviceStatusable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *DeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusI } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceDeviceStatusable), nil } -// Patch update the properties of a deviceComplianceDeviceStatus object. +// Patch update the navigation property deviceStatuses in deviceManagement // returns a DeviceComplianceDeviceStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancedevicestatus-update?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceDeviceStatusable, requestConfiguration *DeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceDeviceStatusable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *DeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusI } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceDeviceStatusable), nil } -// ToDeleteRequestInformation deletes a deviceComplianceDeviceStatus. +// ToDeleteRequestInformation delete navigation property deviceStatuses for deviceManagement // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *DeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceComplianceDeviceStatus object. +// ToGetRequestInformation list of DeviceComplianceDeviceStatus. // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *DeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceComplianceDeviceStatus object. +// ToPatchRequestInformation update the navigation property deviceStatuses in deviceManagement // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceDeviceStatusable, requestConfiguration *DeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_device_statuses_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_device_statuses_request_builder.go index 1f45728a38..1edd20275c 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_device_statuses_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_device_statuses_request_builder.go @@ -14,7 +14,7 @@ import ( type DeviceCompliancePoliciesItemDeviceStatusesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceCompliancePoliciesItemDeviceStatusesRequestBuilderGetQueryParameters list properties and relationships of the deviceComplianceDeviceStatus objects. +// DeviceCompliancePoliciesItemDeviceStatusesRequestBuilderGetQueryParameters list of DeviceComplianceDeviceStatus. type DeviceCompliancePoliciesItemDeviceStatusesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewDeviceCompliancePoliciesItemDeviceStatusesRequestBuilder(rawUrl string, func (m *DeviceCompliancePoliciesItemDeviceStatusesRequestBuilder) Count()(*DeviceCompliancePoliciesItemDeviceStatusesCountRequestBuilder) { return NewDeviceCompliancePoliciesItemDeviceStatusesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the deviceComplianceDeviceStatus objects. +// Get list of DeviceComplianceDeviceStatus. // returns a DeviceComplianceDeviceStatusCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancedevicestatus-list?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemDeviceStatusesRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemDeviceStatusesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceDeviceStatusCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *DeviceCompliancePoliciesItemDeviceStatusesRequestBuilder) Get(ctx conte } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceDeviceStatusCollectionResponseable), nil } -// Post create a new deviceComplianceDeviceStatus object. +// Post create new navigation property to deviceStatuses for deviceManagement // returns a DeviceComplianceDeviceStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancedevicestatus-create?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemDeviceStatusesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceDeviceStatusable, requestConfiguration *DeviceCompliancePoliciesItemDeviceStatusesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceDeviceStatusable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *DeviceCompliancePoliciesItemDeviceStatusesRequestBuilder) Post(ctx cont } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceDeviceStatusable), nil } -// ToGetRequestInformation list properties and relationships of the deviceComplianceDeviceStatus objects. +// ToGetRequestInformation list of DeviceComplianceDeviceStatus. // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemDeviceStatusesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemDeviceStatusesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *DeviceCompliancePoliciesItemDeviceStatusesRequestBuilder) ToGetRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new deviceComplianceDeviceStatus object. +// ToPostRequestInformation create new navigation property to deviceStatuses for deviceManagement // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemDeviceStatusesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceDeviceStatusable, requestConfiguration *DeviceCompliancePoliciesItemDeviceStatusesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_schedule_actions_for_rules_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_schedule_actions_for_rules_request_builder.go index 58b659ab48..290274d363 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_schedule_actions_for_rules_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_schedule_actions_for_rules_request_builder.go @@ -33,11 +33,8 @@ func NewDeviceCompliancePoliciesItemScheduleActionsForRulesRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewDeviceCompliancePoliciesItemScheduleActionsForRulesRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action scheduleActionsForRules // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancepolicy-scheduleactionsforrules?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemScheduleActionsForRulesRequestBuilder) Post(ctx context.Context, body DeviceCompliancePoliciesItemScheduleActionsForRulesPostRequestBodyable, requestConfiguration *DeviceCompliancePoliciesItemScheduleActionsForRulesRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -52,7 +49,7 @@ func (m *DeviceCompliancePoliciesItemScheduleActionsForRulesRequestBuilder) Post } return nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action scheduleActionsForRules // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemScheduleActionsForRulesRequestBuilder) ToPostRequestInformation(ctx context.Context, body DeviceCompliancePoliciesItemScheduleActionsForRulesPostRequestBodyable, requestConfiguration *DeviceCompliancePoliciesItemScheduleActionsForRulesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_request_builder.go index 9bd38bf130..3d5c443892 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_request_builder.go @@ -14,7 +14,7 @@ import ( type DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilderGetQueryParameters list properties and relationships of the deviceComplianceScheduledActionForRule objects. +// DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilderGetQueryParameters the list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. type DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewDeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilder(rawUrl func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilder) Count()(*DeviceCompliancePoliciesItemScheduledActionsForRuleCountRequestBuilder) { return NewDeviceCompliancePoliciesItemScheduledActionsForRuleCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the deviceComplianceScheduledActionForRule objects. +// Get the list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. // returns a DeviceComplianceScheduledActionForRuleCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancescheduledactionforrule-list?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceScheduledActionForRuleCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilder) Get( } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceScheduledActionForRuleCollectionResponseable), nil } -// Post create a new deviceComplianceScheduledActionForRule object. +// Post create new navigation property to scheduledActionsForRule for deviceManagement // returns a DeviceComplianceScheduledActionForRuleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancescheduledactionforrule-create?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceScheduledActionForRuleable, requestConfiguration *DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceScheduledActionForRuleable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilder) Post } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceScheduledActionForRuleable), nil } -// ToGetRequestInformation list properties and relationships of the deviceComplianceScheduledActionForRule objects. +// ToGetRequestInformation the list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilder) ToGe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new deviceComplianceScheduledActionForRule object. +// ToPostRequestInformation create new navigation property to scheduledActionsForRule for deviceManagement // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceScheduledActionForRuleable, requestConfiguration *DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_user_status_overview_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_user_status_overview_request_builder.go index d9f6d95f10..d2584d55ff 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_user_status_overview_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_user_status_overview_request_builder.go @@ -21,7 +21,7 @@ type DeviceCompliancePoliciesItemUserStatusOverviewRequestBuilderDeleteRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceCompliancePoliciesItemUserStatusOverviewRequestBuilderGetQueryParameters read properties and relationships of the deviceComplianceUserOverview object. +// DeviceCompliancePoliciesItemUserStatusOverviewRequestBuilderGetQueryParameters device compliance users status overview type DeviceCompliancePoliciesItemUserStatusOverviewRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,9 @@ func (m *DeviceCompliancePoliciesItemUserStatusOverviewRequestBuilder) Delete(ct } return nil } -// Get read properties and relationships of the deviceComplianceUserOverview object. +// Get device compliance users status overview // returns a DeviceComplianceUserOverviewable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecomplianceuseroverview-get?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemUserStatusOverviewRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemUserStatusOverviewRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceUserOverviewable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +93,9 @@ func (m *DeviceCompliancePoliciesItemUserStatusOverviewRequestBuilder) Get(ctx c } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceUserOverviewable), nil } -// Patch update the properties of a deviceComplianceUserOverview object. +// Patch update the navigation property userStatusOverview in deviceManagement // returns a DeviceComplianceUserOverviewable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecomplianceuseroverview-update?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemUserStatusOverviewRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceUserOverviewable, requestConfiguration *DeviceCompliancePoliciesItemUserStatusOverviewRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceUserOverviewable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +124,7 @@ func (m *DeviceCompliancePoliciesItemUserStatusOverviewRequestBuilder) ToDeleteR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceComplianceUserOverview object. +// ToGetRequestInformation device compliance users status overview // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemUserStatusOverviewRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemUserStatusOverviewRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +138,7 @@ func (m *DeviceCompliancePoliciesItemUserStatusOverviewRequestBuilder) ToGetRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceComplianceUserOverview object. +// ToPatchRequestInformation update the navigation property userStatusOverview in deviceManagement // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemUserStatusOverviewRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceUserOverviewable, requestConfiguration *DeviceCompliancePoliciesItemUserStatusOverviewRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_user_statuses_device_compliance_user_status_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_user_statuses_device_compliance_user_status_item_request_builder.go index 5207405751..aaa2a6f813 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_user_statuses_device_compliance_user_status_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_user_statuses_device_compliance_user_status_item_request_builder.go @@ -21,7 +21,7 @@ type DeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemRequestBuilderGetQueryParameters read properties and relationships of the deviceComplianceUserStatus object. +// DeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemRequestBuilderGetQueryParameters list of DeviceComplianceUserStatus. type DeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewDeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemRe urlParams["request-raw-url"] = rawUrl return NewDeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a deviceComplianceUserStatus. +// Delete delete navigation property userStatuses for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecomplianceuserstatus-delete?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *DeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemR } return nil } -// Get read properties and relationships of the deviceComplianceUserStatus object. +// Get list of DeviceComplianceUserStatus. // returns a DeviceComplianceUserStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecomplianceuserstatus-get?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceUserStatusable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *DeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemR } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceUserStatusable), nil } -// Patch update the properties of a deviceComplianceUserStatus object. +// Patch update the navigation property userStatuses in deviceManagement // returns a DeviceComplianceUserStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecomplianceuserstatus-update?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceUserStatusable, requestConfiguration *DeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceUserStatusable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *DeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemR } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceUserStatusable), nil } -// ToDeleteRequestInformation deletes a deviceComplianceUserStatus. +// ToDeleteRequestInformation delete navigation property userStatuses for deviceManagement // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *DeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceComplianceUserStatus object. +// ToGetRequestInformation list of DeviceComplianceUserStatus. // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *DeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceComplianceUserStatus object. +// ToPatchRequestInformation update the navigation property userStatuses in deviceManagement // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceUserStatusable, requestConfiguration *DeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_user_statuses_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_user_statuses_request_builder.go index cdf8837e21..66929ce258 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_user_statuses_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_item_user_statuses_request_builder.go @@ -14,7 +14,7 @@ import ( type DeviceCompliancePoliciesItemUserStatusesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceCompliancePoliciesItemUserStatusesRequestBuilderGetQueryParameters list properties and relationships of the deviceComplianceUserStatus objects. +// DeviceCompliancePoliciesItemUserStatusesRequestBuilderGetQueryParameters list of DeviceComplianceUserStatus. type DeviceCompliancePoliciesItemUserStatusesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewDeviceCompliancePoliciesItemUserStatusesRequestBuilder(rawUrl string, re func (m *DeviceCompliancePoliciesItemUserStatusesRequestBuilder) Count()(*DeviceCompliancePoliciesItemUserStatusesCountRequestBuilder) { return NewDeviceCompliancePoliciesItemUserStatusesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the deviceComplianceUserStatus objects. +// Get list of DeviceComplianceUserStatus. // returns a DeviceComplianceUserStatusCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecomplianceuserstatus-list?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemUserStatusesRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemUserStatusesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceUserStatusCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *DeviceCompliancePoliciesItemUserStatusesRequestBuilder) Get(ctx context } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceUserStatusCollectionResponseable), nil } -// Post create a new deviceComplianceUserStatus object. +// Post create new navigation property to userStatuses for deviceManagement // returns a DeviceComplianceUserStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecomplianceuserstatus-create?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesItemUserStatusesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceUserStatusable, requestConfiguration *DeviceCompliancePoliciesItemUserStatusesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceUserStatusable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *DeviceCompliancePoliciesItemUserStatusesRequestBuilder) Post(ctx contex } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceUserStatusable), nil } -// ToGetRequestInformation list properties and relationships of the deviceComplianceUserStatus objects. +// ToGetRequestInformation list of DeviceComplianceUserStatus. // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemUserStatusesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemUserStatusesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *DeviceCompliancePoliciesItemUserStatusesRequestBuilder) ToGetRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new deviceComplianceUserStatus object. +// ToPostRequestInformation create new navigation property to userStatuses for deviceManagement // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemUserStatusesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceComplianceUserStatusable, requestConfiguration *DeviceCompliancePoliciesItemUserStatusesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_request_builder.go index a83cbee118..37b5b42215 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policies_request_builder.go @@ -14,7 +14,7 @@ import ( type DeviceCompliancePoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceCompliancePoliciesRequestBuilderGetQueryParameters list properties and relationships of the iosCompliancePolicy objects. +// DeviceCompliancePoliciesRequestBuilderGetQueryParameters the device compliance policies. type DeviceCompliancePoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewDeviceCompliancePoliciesRequestBuilder(rawUrl string, requestAdapter i2a func (m *DeviceCompliancePoliciesRequestBuilder) Count()(*DeviceCompliancePoliciesCountRequestBuilder) { return NewDeviceCompliancePoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the iosCompliancePolicy objects. +// Get the device compliance policies. // returns a DeviceCompliancePolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-list?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *DeviceCompliancePoliciesRequestBuilder) Get(ctx context.Context, reques } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyCollectionResponseable), nil } -// Post create a new windowsPhone81CompliancePolicy object. +// Post create new navigation property to deviceCompliancePolicies for deviceManagement // returns a DeviceCompliancePolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81compliancepolicy-create?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, requestConfiguration *DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *DeviceCompliancePoliciesRequestBuilder) Post(ctx context.Context, body } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable), nil } -// ToGetRequestInformation list properties and relationships of the iosCompliancePolicy objects. +// ToGetRequestInformation the device compliance policies. // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *DeviceCompliancePoliciesRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new windowsPhone81CompliancePolicy object. +// ToPostRequestInformation create new navigation property to deviceCompliancePolicies for deviceManagement // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, requestConfiguration *DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policy_device_state_summary_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policy_device_state_summary_request_builder.go index 6ba4facedd..b3e5a97dc5 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policy_device_state_summary_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policy_device_state_summary_request_builder.go @@ -21,7 +21,7 @@ type DeviceCompliancePolicyDeviceStateSummaryRequestBuilderDeleteRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceCompliancePolicyDeviceStateSummaryRequestBuilderGetQueryParameters read properties and relationships of the deviceCompliancePolicyDeviceStateSummary object. +// DeviceCompliancePolicyDeviceStateSummaryRequestBuilderGetQueryParameters the device compliance state summary for this account. type DeviceCompliancePolicyDeviceStateSummaryRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,9 @@ func (m *DeviceCompliancePolicyDeviceStateSummaryRequestBuilder) Delete(ctx cont } return nil } -// Get read properties and relationships of the deviceCompliancePolicyDeviceStateSummary object. +// Get the device compliance state summary for this account. // returns a DeviceCompliancePolicyDeviceStateSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancepolicydevicestatesummary-get?view=graph-rest-1.0 func (m *DeviceCompliancePolicyDeviceStateSummaryRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceCompliancePolicyDeviceStateSummaryRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyDeviceStateSummaryable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +93,9 @@ func (m *DeviceCompliancePolicyDeviceStateSummaryRequestBuilder) Get(ctx context } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyDeviceStateSummaryable), nil } -// Patch update the properties of a deviceCompliancePolicyDeviceStateSummary object. +// Patch update the navigation property deviceCompliancePolicyDeviceStateSummary in deviceManagement // returns a DeviceCompliancePolicyDeviceStateSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancepolicydevicestatesummary-update?view=graph-rest-1.0 func (m *DeviceCompliancePolicyDeviceStateSummaryRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyDeviceStateSummaryable, requestConfiguration *DeviceCompliancePolicyDeviceStateSummaryRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyDeviceStateSummaryable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +124,7 @@ func (m *DeviceCompliancePolicyDeviceStateSummaryRequestBuilder) ToDeleteRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceCompliancePolicyDeviceStateSummary object. +// ToGetRequestInformation the device compliance state summary for this account. // returns a *RequestInformation when successful func (m *DeviceCompliancePolicyDeviceStateSummaryRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePolicyDeviceStateSummaryRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +138,7 @@ func (m *DeviceCompliancePolicyDeviceStateSummaryRequestBuilder) ToGetRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceCompliancePolicyDeviceStateSummary object. +// ToPatchRequestInformation update the navigation property deviceCompliancePolicyDeviceStateSummary in deviceManagement // returns a *RequestInformation when successful func (m *DeviceCompliancePolicyDeviceStateSummaryRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyDeviceStateSummaryable, requestConfiguration *DeviceCompliancePolicyDeviceStateSummaryRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policy_setting_state_summaries_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policy_setting_state_summaries_request_builder.go index 3a7e688df9..c8f33e56ae 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policy_setting_state_summaries_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_compliance_policy_setting_state_summaries_request_builder.go @@ -14,7 +14,7 @@ import ( type DeviceCompliancePolicySettingStateSummariesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceCompliancePolicySettingStateSummariesRequestBuilderGetQueryParameters list properties and relationships of the deviceCompliancePolicySettingStateSummary objects. +// DeviceCompliancePolicySettingStateSummariesRequestBuilderGetQueryParameters the summary states of compliance policy settings for this account. type DeviceCompliancePolicySettingStateSummariesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewDeviceCompliancePolicySettingStateSummariesRequestBuilder(rawUrl string, func (m *DeviceCompliancePolicySettingStateSummariesRequestBuilder) Count()(*DeviceCompliancePolicySettingStateSummariesCountRequestBuilder) { return NewDeviceCompliancePolicySettingStateSummariesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the deviceCompliancePolicySettingStateSummary objects. +// Get the summary states of compliance policy settings for this account. // returns a DeviceCompliancePolicySettingStateSummaryCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancepolicysettingstatesummary-list?view=graph-rest-1.0 func (m *DeviceCompliancePolicySettingStateSummariesRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceCompliancePolicySettingStateSummariesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicySettingStateSummaryCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *DeviceCompliancePolicySettingStateSummariesRequestBuilder) Get(ctx cont } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicySettingStateSummaryCollectionResponseable), nil } -// Post create a new deviceCompliancePolicySettingStateSummary object. +// Post create new navigation property to deviceCompliancePolicySettingStateSummaries for deviceManagement // returns a DeviceCompliancePolicySettingStateSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancepolicysettingstatesummary-create?view=graph-rest-1.0 func (m *DeviceCompliancePolicySettingStateSummariesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicySettingStateSummaryable, requestConfiguration *DeviceCompliancePolicySettingStateSummariesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicySettingStateSummaryable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *DeviceCompliancePolicySettingStateSummariesRequestBuilder) Post(ctx con } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicySettingStateSummaryable), nil } -// ToGetRequestInformation list properties and relationships of the deviceCompliancePolicySettingStateSummary objects. +// ToGetRequestInformation the summary states of compliance policy settings for this account. // returns a *RequestInformation when successful func (m *DeviceCompliancePolicySettingStateSummariesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePolicySettingStateSummariesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *DeviceCompliancePolicySettingStateSummariesRequestBuilder) ToGetRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new deviceCompliancePolicySettingStateSummary object. +// ToPostRequestInformation create new navigation property to deviceCompliancePolicySettingStateSummaries for deviceManagement // returns a *RequestInformation when successful func (m *DeviceCompliancePolicySettingStateSummariesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicySettingStateSummaryable, requestConfiguration *DeviceCompliancePolicySettingStateSummariesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configuration_device_state_summaries_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configuration_device_state_summaries_request_builder.go index 038f7342d2..9f670f7258 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configuration_device_state_summaries_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configuration_device_state_summaries_request_builder.go @@ -21,7 +21,7 @@ type DeviceConfigurationDeviceStateSummariesRequestBuilderDeleteRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceConfigurationDeviceStateSummariesRequestBuilderGetQueryParameters read properties and relationships of the deviceConfigurationDeviceStateSummary object. +// DeviceConfigurationDeviceStateSummariesRequestBuilderGetQueryParameters the device configuration device state summary for this account. type DeviceConfigurationDeviceStateSummariesRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,9 @@ func (m *DeviceConfigurationDeviceStateSummariesRequestBuilder) Delete(ctx conte } return nil } -// Get read properties and relationships of the deviceConfigurationDeviceStateSummary object. +// Get the device configuration device state summary for this account. // returns a DeviceConfigurationDeviceStateSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-deviceconfigurationdevicestatesummary-get?view=graph-rest-1.0 func (m *DeviceConfigurationDeviceStateSummariesRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceConfigurationDeviceStateSummariesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationDeviceStateSummaryable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +93,9 @@ func (m *DeviceConfigurationDeviceStateSummariesRequestBuilder) Get(ctx context. } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationDeviceStateSummaryable), nil } -// Patch update the properties of a deviceConfigurationDeviceStateSummary object. +// Patch update the navigation property deviceConfigurationDeviceStateSummaries in deviceManagement // returns a DeviceConfigurationDeviceStateSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-deviceconfigurationdevicestatesummary-update?view=graph-rest-1.0 func (m *DeviceConfigurationDeviceStateSummariesRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationDeviceStateSummaryable, requestConfiguration *DeviceConfigurationDeviceStateSummariesRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationDeviceStateSummaryable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +124,7 @@ func (m *DeviceConfigurationDeviceStateSummariesRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceConfigurationDeviceStateSummary object. +// ToGetRequestInformation the device configuration device state summary for this account. // returns a *RequestInformation when successful func (m *DeviceConfigurationDeviceStateSummariesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceConfigurationDeviceStateSummariesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +138,7 @@ func (m *DeviceConfigurationDeviceStateSummariesRequestBuilder) ToGetRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceConfigurationDeviceStateSummary object. +// ToPatchRequestInformation update the navigation property deviceConfigurationDeviceStateSummaries in deviceManagement // returns a *RequestInformation when successful func (m *DeviceConfigurationDeviceStateSummariesRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationDeviceStateSummaryable, requestConfiguration *DeviceConfigurationDeviceStateSummariesRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_device_configuration_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_device_configuration_item_request_builder.go index c6663c77c1..3b00d4d760 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_device_configuration_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_device_configuration_item_request_builder.go @@ -21,7 +21,7 @@ type DeviceConfigurationsDeviceConfigurationItemRequestBuilderDeleteRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceConfigurationsDeviceConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the windowsPhone81GeneralConfiguration object. +// DeviceConfigurationsDeviceConfigurationItemRequestBuilderGetQueryParameters the device configurations. type DeviceConfigurationsDeviceConfigurationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -67,11 +67,8 @@ func NewDeviceConfigurationsDeviceConfigurationItemRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewDeviceConfigurationsDeviceConfigurationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a windowsPhone81CustomConfiguration. +// Delete delete navigation property deviceConfigurations for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81customconfiguration-delete?view=graph-rest-1.0 func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceConfigurationsDeviceConfigurationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +98,9 @@ func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) DeviceStatus func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) DeviceStatusOverview()(*DeviceConfigurationsItemDeviceStatusOverviewRequestBuilder) { return NewDeviceConfigurationsItemDeviceStatusOverviewRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the windowsPhone81GeneralConfiguration object. +// Get the device configurations. // returns a DeviceConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81generalconfiguration-get?view=graph-rest-1.0 func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceConfigurationsDeviceConfigurationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,12 +123,9 @@ func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) Get(ctx cont func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) GetOmaSettingPlainTextValueWithSecretReferenceValueId(secretReferenceValueId *string)(*DeviceConfigurationsItemGetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder) { return NewDeviceConfigurationsItemGetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, secretReferenceValueId) } -// Patch update the properties of a sharedPCConfiguration object. +// Patch update the navigation property deviceConfigurations in deviceManagement // returns a DeviceConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-sharedpcconfiguration-update?view=graph-rest-1.0 func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable, requestConfiguration *DeviceConfigurationsDeviceConfigurationItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -152,7 +143,7 @@ func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) Patch(ctx co } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable), nil } -// ToDeleteRequestInformation deletes a windowsPhone81CustomConfiguration. +// ToDeleteRequestInformation delete navigation property deviceConfigurations for deviceManagement // returns a *RequestInformation when successful func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeviceConfigurationsDeviceConfigurationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -163,7 +154,7 @@ func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) ToDeleteRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the windowsPhone81GeneralConfiguration object. +// ToGetRequestInformation the device configurations. // returns a *RequestInformation when successful func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceConfigurationsDeviceConfigurationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -177,7 +168,7 @@ func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) ToGetRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a sharedPCConfiguration object. +// ToPatchRequestInformation update the navigation property deviceConfigurations in deviceManagement // returns a *RequestInformation when successful func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable, requestConfiguration *DeviceConfigurationsDeviceConfigurationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_assign_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_assign_request_builder.go index dc0704b17d..7335b2409e 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_assign_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_assign_request_builder.go @@ -33,13 +33,10 @@ func NewDeviceConfigurationsItemAssignRequestBuilder(rawUrl string, requestAdapt urlParams["request-raw-url"] = rawUrl return NewDeviceConfigurationsItemAssignRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action assign // Deprecated: This method is obsolete. Use PostAsAssignPostResponse instead. // returns a DeviceConfigurationsItemAssignResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-deviceconfiguration-assign?view=graph-rest-1.0 func (m *DeviceConfigurationsItemAssignRequestBuilder) Post(ctx context.Context, body DeviceConfigurationsItemAssignPostRequestBodyable, requestConfiguration *DeviceConfigurationsItemAssignRequestBuilderPostRequestConfiguration)(DeviceConfigurationsItemAssignResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -57,12 +54,9 @@ func (m *DeviceConfigurationsItemAssignRequestBuilder) Post(ctx context.Context, } return res.(DeviceConfigurationsItemAssignResponseable), nil } -// PostAsAssignPostResponse not yet documented +// PostAsAssignPostResponse invoke action assign // returns a DeviceConfigurationsItemAssignPostResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-deviceconfiguration-assign?view=graph-rest-1.0 func (m *DeviceConfigurationsItemAssignRequestBuilder) PostAsAssignPostResponse(ctx context.Context, body DeviceConfigurationsItemAssignPostRequestBodyable, requestConfiguration *DeviceConfigurationsItemAssignRequestBuilderPostRequestConfiguration)(DeviceConfigurationsItemAssignPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -80,7 +74,7 @@ func (m *DeviceConfigurationsItemAssignRequestBuilder) PostAsAssignPostResponse( } return res.(DeviceConfigurationsItemAssignPostResponseable), nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action assign // returns a *RequestInformation when successful func (m *DeviceConfigurationsItemAssignRequestBuilder) ToPostRequestInformation(ctx context.Context, body DeviceConfigurationsItemAssignPostRequestBodyable, requestConfiguration *DeviceConfigurationsItemAssignRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_assignments_device_configuration_assignment_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_assignments_device_configuration_assignment_item_request_builder.go index c4d77b6363..2767e3a808 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_assignments_device_configuration_assignment_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_assignments_device_configuration_assignment_item_request_builder.go @@ -21,7 +21,7 @@ type DeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemRequestBuilderGetQueryParameters read properties and relationships of the deviceConfigurationAssignment object. +// DeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemRequestBuilderGetQueryParameters the list of assignments for the device configuration profile. type DeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewDeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemRequ urlParams["request-raw-url"] = rawUrl return NewDeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a deviceConfigurationAssignment. +// Delete delete navigation property assignments for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-deviceconfigurationassignment-delete?view=graph-rest-1.0 func (m *DeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *DeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemReq } return nil } -// Get read properties and relationships of the deviceConfigurationAssignment object. +// Get the list of assignments for the device configuration profile. // returns a DeviceConfigurationAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-deviceconfigurationassignment-get?view=graph-rest-1.0 func (m *DeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationAssignmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *DeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemReq } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationAssignmentable), nil } -// Patch update the properties of a deviceConfigurationAssignment object. +// Patch update the navigation property assignments in deviceManagement // returns a DeviceConfigurationAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-deviceconfigurationassignment-update?view=graph-rest-1.0 func (m *DeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationAssignmentable, requestConfiguration *DeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationAssignmentable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *DeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemReq } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationAssignmentable), nil } -// ToDeleteRequestInformation deletes a deviceConfigurationAssignment. +// ToDeleteRequestInformation delete navigation property assignments for deviceManagement // returns a *RequestInformation when successful func (m *DeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *DeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceConfigurationAssignment object. +// ToGetRequestInformation the list of assignments for the device configuration profile. // returns a *RequestInformation when successful func (m *DeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *DeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceConfigurationAssignment object. +// ToPatchRequestInformation update the navigation property assignments in deviceManagement // returns a *RequestInformation when successful func (m *DeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationAssignmentable, requestConfiguration *DeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_assignments_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_assignments_request_builder.go index 417084953c..e29af1d444 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_assignments_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_assignments_request_builder.go @@ -14,7 +14,7 @@ import ( type DeviceConfigurationsItemAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceConfigurationsItemAssignmentsRequestBuilderGetQueryParameters list properties and relationships of the deviceConfigurationAssignment objects. +// DeviceConfigurationsItemAssignmentsRequestBuilderGetQueryParameters the list of assignments for the device configuration profile. type DeviceConfigurationsItemAssignmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewDeviceConfigurationsItemAssignmentsRequestBuilder(rawUrl string, request func (m *DeviceConfigurationsItemAssignmentsRequestBuilder) Count()(*DeviceConfigurationsItemAssignmentsCountRequestBuilder) { return NewDeviceConfigurationsItemAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the deviceConfigurationAssignment objects. +// Get the list of assignments for the device configuration profile. // returns a DeviceConfigurationAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-deviceconfigurationassignment-list?view=graph-rest-1.0 func (m *DeviceConfigurationsItemAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceConfigurationsItemAssignmentsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationAssignmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *DeviceConfigurationsItemAssignmentsRequestBuilder) Get(ctx context.Cont } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationAssignmentCollectionResponseable), nil } -// Post create a new deviceConfigurationAssignment object. +// Post create new navigation property to assignments for deviceManagement // returns a DeviceConfigurationAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-deviceconfigurationassignment-create?view=graph-rest-1.0 func (m *DeviceConfigurationsItemAssignmentsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationAssignmentable, requestConfiguration *DeviceConfigurationsItemAssignmentsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *DeviceConfigurationsItemAssignmentsRequestBuilder) Post(ctx context.Con } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationAssignmentable), nil } -// ToGetRequestInformation list properties and relationships of the deviceConfigurationAssignment objects. +// ToGetRequestInformation the list of assignments for the device configuration profile. // returns a *RequestInformation when successful func (m *DeviceConfigurationsItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceConfigurationsItemAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *DeviceConfigurationsItemAssignmentsRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new deviceConfigurationAssignment object. +// ToPostRequestInformation create new navigation property to assignments for deviceManagement // returns a *RequestInformation when successful func (m *DeviceConfigurationsItemAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationAssignmentable, requestConfiguration *DeviceConfigurationsItemAssignmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_device_setting_state_summaries_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_device_setting_state_summaries_request_builder.go index 1ed90e7a2c..b0cfbb1b9a 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_device_setting_state_summaries_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_device_setting_state_summaries_request_builder.go @@ -14,7 +14,7 @@ import ( type DeviceConfigurationsItemDeviceSettingStateSummariesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceConfigurationsItemDeviceSettingStateSummariesRequestBuilderGetQueryParameters list properties and relationships of the settingStateDeviceSummary objects. +// DeviceConfigurationsItemDeviceSettingStateSummariesRequestBuilderGetQueryParameters device Configuration Setting State Device Summary type DeviceConfigurationsItemDeviceSettingStateSummariesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewDeviceConfigurationsItemDeviceSettingStateSummariesRequestBuilder(rawUrl func (m *DeviceConfigurationsItemDeviceSettingStateSummariesRequestBuilder) Count()(*DeviceConfigurationsItemDeviceSettingStateSummariesCountRequestBuilder) { return NewDeviceConfigurationsItemDeviceSettingStateSummariesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the settingStateDeviceSummary objects. +// Get device Configuration Setting State Device Summary // returns a SettingStateDeviceSummaryCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-settingstatedevicesummary-list?view=graph-rest-1.0 func (m *DeviceConfigurationsItemDeviceSettingStateSummariesRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceConfigurationsItemDeviceSettingStateSummariesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SettingStateDeviceSummaryCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *DeviceConfigurationsItemDeviceSettingStateSummariesRequestBuilder) Get( } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SettingStateDeviceSummaryCollectionResponseable), nil } -// Post create a new settingStateDeviceSummary object. +// Post create new navigation property to deviceSettingStateSummaries for deviceManagement // returns a SettingStateDeviceSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-settingstatedevicesummary-create?view=graph-rest-1.0 func (m *DeviceConfigurationsItemDeviceSettingStateSummariesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SettingStateDeviceSummaryable, requestConfiguration *DeviceConfigurationsItemDeviceSettingStateSummariesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SettingStateDeviceSummaryable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *DeviceConfigurationsItemDeviceSettingStateSummariesRequestBuilder) Post } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SettingStateDeviceSummaryable), nil } -// ToGetRequestInformation list properties and relationships of the settingStateDeviceSummary objects. +// ToGetRequestInformation device Configuration Setting State Device Summary // returns a *RequestInformation when successful func (m *DeviceConfigurationsItemDeviceSettingStateSummariesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceConfigurationsItemDeviceSettingStateSummariesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *DeviceConfigurationsItemDeviceSettingStateSummariesRequestBuilder) ToGe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new settingStateDeviceSummary object. +// ToPostRequestInformation create new navigation property to deviceSettingStateSummaries for deviceManagement // returns a *RequestInformation when successful func (m *DeviceConfigurationsItemDeviceSettingStateSummariesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SettingStateDeviceSummaryable, requestConfiguration *DeviceConfigurationsItemDeviceSettingStateSummariesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_device_status_overview_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_device_status_overview_request_builder.go index 2590cfa487..67c89cf86c 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_device_status_overview_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_device_status_overview_request_builder.go @@ -21,7 +21,7 @@ type DeviceConfigurationsItemDeviceStatusOverviewRequestBuilderDeleteRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceConfigurationsItemDeviceStatusOverviewRequestBuilderGetQueryParameters read properties and relationships of the deviceConfigurationDeviceOverview object. +// DeviceConfigurationsItemDeviceStatusOverviewRequestBuilderGetQueryParameters device Configuration devices status overview type DeviceConfigurationsItemDeviceStatusOverviewRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,9 @@ func (m *DeviceConfigurationsItemDeviceStatusOverviewRequestBuilder) Delete(ctx } return nil } -// Get read properties and relationships of the deviceConfigurationDeviceOverview object. +// Get device Configuration devices status overview // returns a DeviceConfigurationDeviceOverviewable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-deviceconfigurationdeviceoverview-get?view=graph-rest-1.0 func (m *DeviceConfigurationsItemDeviceStatusOverviewRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceConfigurationsItemDeviceStatusOverviewRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationDeviceOverviewable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +93,9 @@ func (m *DeviceConfigurationsItemDeviceStatusOverviewRequestBuilder) Get(ctx con } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationDeviceOverviewable), nil } -// Patch update the properties of a deviceConfigurationDeviceOverview object. +// Patch update the navigation property deviceStatusOverview in deviceManagement // returns a DeviceConfigurationDeviceOverviewable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-deviceconfigurationdeviceoverview-update?view=graph-rest-1.0 func (m *DeviceConfigurationsItemDeviceStatusOverviewRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationDeviceOverviewable, requestConfiguration *DeviceConfigurationsItemDeviceStatusOverviewRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationDeviceOverviewable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +124,7 @@ func (m *DeviceConfigurationsItemDeviceStatusOverviewRequestBuilder) ToDeleteReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceConfigurationDeviceOverview object. +// ToGetRequestInformation device Configuration devices status overview // returns a *RequestInformation when successful func (m *DeviceConfigurationsItemDeviceStatusOverviewRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceConfigurationsItemDeviceStatusOverviewRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +138,7 @@ func (m *DeviceConfigurationsItemDeviceStatusOverviewRequestBuilder) ToGetReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceConfigurationDeviceOverview object. +// ToPatchRequestInformation update the navigation property deviceStatusOverview in deviceManagement // returns a *RequestInformation when successful func (m *DeviceConfigurationsItemDeviceStatusOverviewRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationDeviceOverviewable, requestConfiguration *DeviceConfigurationsItemDeviceStatusOverviewRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_device_statuses_device_configuration_device_status_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_device_statuses_device_configuration_device_status_item_request_builder.go index caf4d2d993..629de62cb4 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_device_statuses_device_configuration_device_status_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_device_statuses_device_configuration_device_status_item_request_builder.go @@ -21,7 +21,7 @@ type DeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusItemRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusItemRequestBuilderGetQueryParameters read properties and relationships of the deviceConfigurationDeviceStatus object. +// DeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusItemRequestBuilderGetQueryParameters device configuration installation status by device. type DeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewDeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusIte urlParams["request-raw-url"] = rawUrl return NewDeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a deviceConfigurationDeviceStatus. +// Delete delete navigation property deviceStatuses for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-deviceconfigurationdevicestatus-delete?view=graph-rest-1.0 func (m *DeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *DeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusIt } return nil } -// Get read properties and relationships of the deviceConfigurationDeviceStatus object. +// Get device configuration installation status by device. // returns a DeviceConfigurationDeviceStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-deviceconfigurationdevicestatus-get?view=graph-rest-1.0 func (m *DeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationDeviceStatusable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *DeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusIt } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationDeviceStatusable), nil } -// Patch update the properties of a deviceConfigurationDeviceStatus object. +// Patch update the navigation property deviceStatuses in deviceManagement // returns a DeviceConfigurationDeviceStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-deviceconfigurationdevicestatus-update?view=graph-rest-1.0 func (m *DeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationDeviceStatusable, requestConfiguration *DeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationDeviceStatusable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *DeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusIt } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationDeviceStatusable), nil } -// ToDeleteRequestInformation deletes a deviceConfigurationDeviceStatus. +// ToDeleteRequestInformation delete navigation property deviceStatuses for deviceManagement // returns a *RequestInformation when successful func (m *DeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *DeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusIt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceConfigurationDeviceStatus object. +// ToGetRequestInformation device configuration installation status by device. // returns a *RequestInformation when successful func (m *DeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *DeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusIt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceConfigurationDeviceStatus object. +// ToPatchRequestInformation update the navigation property deviceStatuses in deviceManagement // returns a *RequestInformation when successful func (m *DeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationDeviceStatusable, requestConfiguration *DeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_device_statuses_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_device_statuses_request_builder.go index 1b65e5c47e..28e069456f 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_device_statuses_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_device_statuses_request_builder.go @@ -14,7 +14,7 @@ import ( type DeviceConfigurationsItemDeviceStatusesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceConfigurationsItemDeviceStatusesRequestBuilderGetQueryParameters list properties and relationships of the deviceConfigurationDeviceStatus objects. +// DeviceConfigurationsItemDeviceStatusesRequestBuilderGetQueryParameters device configuration installation status by device. type DeviceConfigurationsItemDeviceStatusesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewDeviceConfigurationsItemDeviceStatusesRequestBuilder(rawUrl string, requ func (m *DeviceConfigurationsItemDeviceStatusesRequestBuilder) Count()(*DeviceConfigurationsItemDeviceStatusesCountRequestBuilder) { return NewDeviceConfigurationsItemDeviceStatusesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the deviceConfigurationDeviceStatus objects. +// Get device configuration installation status by device. // returns a DeviceConfigurationDeviceStatusCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-deviceconfigurationdevicestatus-list?view=graph-rest-1.0 func (m *DeviceConfigurationsItemDeviceStatusesRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceConfigurationsItemDeviceStatusesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationDeviceStatusCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *DeviceConfigurationsItemDeviceStatusesRequestBuilder) Get(ctx context.C } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationDeviceStatusCollectionResponseable), nil } -// Post create a new deviceConfigurationDeviceStatus object. +// Post create new navigation property to deviceStatuses for deviceManagement // returns a DeviceConfigurationDeviceStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-deviceconfigurationdevicestatus-create?view=graph-rest-1.0 func (m *DeviceConfigurationsItemDeviceStatusesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationDeviceStatusable, requestConfiguration *DeviceConfigurationsItemDeviceStatusesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationDeviceStatusable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *DeviceConfigurationsItemDeviceStatusesRequestBuilder) Post(ctx context. } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationDeviceStatusable), nil } -// ToGetRequestInformation list properties and relationships of the deviceConfigurationDeviceStatus objects. +// ToGetRequestInformation device configuration installation status by device. // returns a *RequestInformation when successful func (m *DeviceConfigurationsItemDeviceStatusesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceConfigurationsItemDeviceStatusesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *DeviceConfigurationsItemDeviceStatusesRequestBuilder) ToGetRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new deviceConfigurationDeviceStatus object. +// ToPostRequestInformation create new navigation property to deviceStatuses for deviceManagement // returns a *RequestInformation when successful func (m *DeviceConfigurationsItemDeviceStatusesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationDeviceStatusable, requestConfiguration *DeviceConfigurationsItemDeviceStatusesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_user_status_overview_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_user_status_overview_request_builder.go index be5ef6821e..9abe92d5fa 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_user_status_overview_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_user_status_overview_request_builder.go @@ -21,7 +21,7 @@ type DeviceConfigurationsItemUserStatusOverviewRequestBuilderDeleteRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceConfigurationsItemUserStatusOverviewRequestBuilderGetQueryParameters read properties and relationships of the deviceConfigurationUserOverview object. +// DeviceConfigurationsItemUserStatusOverviewRequestBuilderGetQueryParameters device Configuration users status overview type DeviceConfigurationsItemUserStatusOverviewRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,9 @@ func (m *DeviceConfigurationsItemUserStatusOverviewRequestBuilder) Delete(ctx co } return nil } -// Get read properties and relationships of the deviceConfigurationUserOverview object. +// Get device Configuration users status overview // returns a DeviceConfigurationUserOverviewable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-deviceconfigurationuseroverview-get?view=graph-rest-1.0 func (m *DeviceConfigurationsItemUserStatusOverviewRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceConfigurationsItemUserStatusOverviewRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationUserOverviewable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +93,9 @@ func (m *DeviceConfigurationsItemUserStatusOverviewRequestBuilder) Get(ctx conte } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationUserOverviewable), nil } -// Patch update the properties of a deviceConfigurationUserOverview object. +// Patch update the navigation property userStatusOverview in deviceManagement // returns a DeviceConfigurationUserOverviewable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-deviceconfigurationuseroverview-update?view=graph-rest-1.0 func (m *DeviceConfigurationsItemUserStatusOverviewRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationUserOverviewable, requestConfiguration *DeviceConfigurationsItemUserStatusOverviewRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationUserOverviewable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +124,7 @@ func (m *DeviceConfigurationsItemUserStatusOverviewRequestBuilder) ToDeleteReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceConfigurationUserOverview object. +// ToGetRequestInformation device Configuration users status overview // returns a *RequestInformation when successful func (m *DeviceConfigurationsItemUserStatusOverviewRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceConfigurationsItemUserStatusOverviewRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +138,7 @@ func (m *DeviceConfigurationsItemUserStatusOverviewRequestBuilder) ToGetRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceConfigurationUserOverview object. +// ToPatchRequestInformation update the navigation property userStatusOverview in deviceManagement // returns a *RequestInformation when successful func (m *DeviceConfigurationsItemUserStatusOverviewRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationUserOverviewable, requestConfiguration *DeviceConfigurationsItemUserStatusOverviewRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_user_statuses_device_configuration_user_status_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_user_statuses_device_configuration_user_status_item_request_builder.go index 3de702c404..80aa7bac53 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_user_statuses_device_configuration_user_status_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_user_statuses_device_configuration_user_status_item_request_builder.go @@ -21,7 +21,7 @@ type DeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemRequestBuilderGetQueryParameters read properties and relationships of the deviceConfigurationUserStatus object. +// DeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemRequestBuilderGetQueryParameters device configuration installation status by user. type DeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewDeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemReq urlParams["request-raw-url"] = rawUrl return NewDeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a deviceConfigurationUserStatus. +// Delete delete navigation property userStatuses for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-deviceconfigurationuserstatus-delete?view=graph-rest-1.0 func (m *DeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *DeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemRe } return nil } -// Get read properties and relationships of the deviceConfigurationUserStatus object. +// Get device configuration installation status by user. // returns a DeviceConfigurationUserStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-deviceconfigurationuserstatus-get?view=graph-rest-1.0 func (m *DeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationUserStatusable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *DeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemRe } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationUserStatusable), nil } -// Patch update the properties of a deviceConfigurationUserStatus object. +// Patch update the navigation property userStatuses in deviceManagement // returns a DeviceConfigurationUserStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-deviceconfigurationuserstatus-update?view=graph-rest-1.0 func (m *DeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationUserStatusable, requestConfiguration *DeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationUserStatusable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *DeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemRe } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationUserStatusable), nil } -// ToDeleteRequestInformation deletes a deviceConfigurationUserStatus. +// ToDeleteRequestInformation delete navigation property userStatuses for deviceManagement // returns a *RequestInformation when successful func (m *DeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *DeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceConfigurationUserStatus object. +// ToGetRequestInformation device configuration installation status by user. // returns a *RequestInformation when successful func (m *DeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *DeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceConfigurationUserStatus object. +// ToPatchRequestInformation update the navigation property userStatuses in deviceManagement // returns a *RequestInformation when successful func (m *DeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationUserStatusable, requestConfiguration *DeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_user_statuses_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_user_statuses_request_builder.go index 7300e8ea46..a87be33065 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_user_statuses_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_item_user_statuses_request_builder.go @@ -14,7 +14,7 @@ import ( type DeviceConfigurationsItemUserStatusesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceConfigurationsItemUserStatusesRequestBuilderGetQueryParameters list properties and relationships of the deviceConfigurationUserStatus objects. +// DeviceConfigurationsItemUserStatusesRequestBuilderGetQueryParameters device configuration installation status by user. type DeviceConfigurationsItemUserStatusesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewDeviceConfigurationsItemUserStatusesRequestBuilder(rawUrl string, reques func (m *DeviceConfigurationsItemUserStatusesRequestBuilder) Count()(*DeviceConfigurationsItemUserStatusesCountRequestBuilder) { return NewDeviceConfigurationsItemUserStatusesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the deviceConfigurationUserStatus objects. +// Get device configuration installation status by user. // returns a DeviceConfigurationUserStatusCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-deviceconfigurationuserstatus-list?view=graph-rest-1.0 func (m *DeviceConfigurationsItemUserStatusesRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceConfigurationsItemUserStatusesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationUserStatusCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *DeviceConfigurationsItemUserStatusesRequestBuilder) Get(ctx context.Con } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationUserStatusCollectionResponseable), nil } -// Post create a new deviceConfigurationUserStatus object. +// Post create new navigation property to userStatuses for deviceManagement // returns a DeviceConfigurationUserStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-deviceconfigurationuserstatus-create?view=graph-rest-1.0 func (m *DeviceConfigurationsItemUserStatusesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationUserStatusable, requestConfiguration *DeviceConfigurationsItemUserStatusesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationUserStatusable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *DeviceConfigurationsItemUserStatusesRequestBuilder) Post(ctx context.Co } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationUserStatusable), nil } -// ToGetRequestInformation list properties and relationships of the deviceConfigurationUserStatus objects. +// ToGetRequestInformation device configuration installation status by user. // returns a *RequestInformation when successful func (m *DeviceConfigurationsItemUserStatusesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceConfigurationsItemUserStatusesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *DeviceConfigurationsItemUserStatusesRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new deviceConfigurationUserStatus object. +// ToPostRequestInformation create new navigation property to userStatuses for deviceManagement // returns a *RequestInformation when successful func (m *DeviceConfigurationsItemUserStatusesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationUserStatusable, requestConfiguration *DeviceConfigurationsItemUserStatusesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_request_builder.go index d8bcba3b87..e8aa5900a9 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_configurations_request_builder.go @@ -14,7 +14,7 @@ import ( type DeviceConfigurationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the iosGeneralDeviceConfiguration objects. +// DeviceConfigurationsRequestBuilderGetQueryParameters the device configurations. type DeviceConfigurationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewDeviceConfigurationsRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *DeviceConfigurationsRequestBuilder) Count()(*DeviceConfigurationsCountRequestBuilder) { return NewDeviceConfigurationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the iosGeneralDeviceConfiguration objects. +// Get the device configurations. // returns a DeviceConfigurationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-iosgeneraldeviceconfiguration-list?view=graph-rest-1.0 func (m *DeviceConfigurationsRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceConfigurationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *DeviceConfigurationsRequestBuilder) Get(ctx context.Context, requestCon } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationCollectionResponseable), nil } -// Post create a new androidWorkProfileGeneralDeviceConfiguration object. +// Post create new navigation property to deviceConfigurations for deviceManagement // returns a DeviceConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilegeneraldeviceconfiguration-create?view=graph-rest-1.0 func (m *DeviceConfigurationsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable, requestConfiguration *DeviceConfigurationsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *DeviceConfigurationsRequestBuilder) Post(ctx context.Context, body iadc } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable), nil } -// ToGetRequestInformation list properties and relationships of the iosGeneralDeviceConfiguration objects. +// ToGetRequestInformation the device configurations. // returns a *RequestInformation when successful func (m *DeviceConfigurationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceConfigurationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *DeviceConfigurationsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new androidWorkProfileGeneralDeviceConfiguration object. +// ToPostRequestInformation create new navigation property to deviceConfigurations for deviceManagement // returns a *RequestInformation when successful func (m *DeviceConfigurationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable, requestConfiguration *DeviceConfigurationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go index 398576b06b..a4006fdd50 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go @@ -21,7 +21,7 @@ type DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. +// DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters the list of device enrollment configurations type DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -67,11 +67,8 @@ func NewDeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBu urlParams["request-raw-url"] = rawUrl return NewDeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. +// Delete delete navigation property deviceEnrollmentConfigurations for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-delete?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,12 +83,9 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB } return nil } -// Get read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. +// Get the list of device enrollment configurations // returns a DeviceEnrollmentConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-get?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -109,12 +103,9 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable), nil } -// Patch update the properties of a deviceEnrollmentLimitConfiguration object. +// Patch update the navigation property deviceEnrollmentConfigurations in deviceManagement // returns a DeviceEnrollmentConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-update?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, requestConfiguration *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -137,7 +128,7 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) SetPriority()(*DeviceEnrollmentConfigurationsItemSetPriorityRequestBuilder) { return NewDeviceEnrollmentConfigurationsItemSetPriorityRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. +// ToDeleteRequestInformation delete navigation property deviceEnrollmentConfigurations for deviceManagement // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -148,7 +139,7 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. +// ToGetRequestInformation the list of device enrollment configurations // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -162,7 +153,7 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceEnrollmentLimitConfiguration object. +// ToPatchRequestInformation update the navigation property deviceEnrollmentConfigurations in deviceManagement // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, requestConfiguration *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_enrollment_configurations_item_assign_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_enrollment_configurations_item_assign_request_builder.go index 3dec4c8308..9321149697 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_enrollment_configurations_item_assign_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_enrollment_configurations_item_assign_request_builder.go @@ -33,11 +33,8 @@ func NewDeviceEnrollmentConfigurationsItemAssignRequestBuilder(rawUrl string, re urlParams["request-raw-url"] = rawUrl return NewDeviceEnrollmentConfigurationsItemAssignRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action assign // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentconfiguration-assign?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsItemAssignRequestBuilder) Post(ctx context.Context, body DeviceEnrollmentConfigurationsItemAssignPostRequestBodyable, requestConfiguration *DeviceEnrollmentConfigurationsItemAssignRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -52,7 +49,7 @@ func (m *DeviceEnrollmentConfigurationsItemAssignRequestBuilder) Post(ctx contex } return nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action assign // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsItemAssignRequestBuilder) ToPostRequestInformation(ctx context.Context, body DeviceEnrollmentConfigurationsItemAssignPostRequestBodyable, requestConfiguration *DeviceEnrollmentConfigurationsItemAssignRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_enrollment_configurations_item_assignments_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_enrollment_configurations_item_assignments_request_builder.go index 4eb1ce365c..dc71b8c87a 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_enrollment_configurations_item_assignments_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_enrollment_configurations_item_assignments_request_builder.go @@ -14,7 +14,7 @@ import ( type DeviceEnrollmentConfigurationsItemAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceEnrollmentConfigurationsItemAssignmentsRequestBuilderGetQueryParameters list properties and relationships of the enrollmentConfigurationAssignment objects. +// DeviceEnrollmentConfigurationsItemAssignmentsRequestBuilderGetQueryParameters the list of group assignments for the device configuration profile type DeviceEnrollmentConfigurationsItemAssignmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewDeviceEnrollmentConfigurationsItemAssignmentsRequestBuilder(rawUrl strin func (m *DeviceEnrollmentConfigurationsItemAssignmentsRequestBuilder) Count()(*DeviceEnrollmentConfigurationsItemAssignmentsCountRequestBuilder) { return NewDeviceEnrollmentConfigurationsItemAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the enrollmentConfigurationAssignment objects. +// Get the list of group assignments for the device configuration profile // returns a EnrollmentConfigurationAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-enrollmentconfigurationassignment-list?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsItemAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsItemAssignmentsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EnrollmentConfigurationAssignmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *DeviceEnrollmentConfigurationsItemAssignmentsRequestBuilder) Get(ctx co } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EnrollmentConfigurationAssignmentCollectionResponseable), nil } -// Post create a new enrollmentConfigurationAssignment object. +// Post create new navigation property to assignments for deviceManagement // returns a EnrollmentConfigurationAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-enrollmentconfigurationassignment-create?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsItemAssignmentsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EnrollmentConfigurationAssignmentable, requestConfiguration *DeviceEnrollmentConfigurationsItemAssignmentsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EnrollmentConfigurationAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *DeviceEnrollmentConfigurationsItemAssignmentsRequestBuilder) Post(ctx c } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EnrollmentConfigurationAssignmentable), nil } -// ToGetRequestInformation list properties and relationships of the enrollmentConfigurationAssignment objects. +// ToGetRequestInformation the list of group assignments for the device configuration profile // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsItemAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *DeviceEnrollmentConfigurationsItemAssignmentsRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new enrollmentConfigurationAssignment object. +// ToPostRequestInformation create new navigation property to assignments for deviceManagement // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsItemAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EnrollmentConfigurationAssignmentable, requestConfiguration *DeviceEnrollmentConfigurationsItemAssignmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_enrollment_configurations_item_set_priority_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_enrollment_configurations_item_set_priority_request_builder.go index 61361b4b8e..3717637f8e 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_enrollment_configurations_item_set_priority_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_enrollment_configurations_item_set_priority_request_builder.go @@ -33,11 +33,8 @@ func NewDeviceEnrollmentConfigurationsItemSetPriorityRequestBuilder(rawUrl strin urlParams["request-raw-url"] = rawUrl return NewDeviceEnrollmentConfigurationsItemSetPriorityRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action setPriority // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentconfiguration-setpriority?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsItemSetPriorityRequestBuilder) Post(ctx context.Context, body DeviceEnrollmentConfigurationsItemSetPriorityPostRequestBodyable, requestConfiguration *DeviceEnrollmentConfigurationsItemSetPriorityRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -52,7 +49,7 @@ func (m *DeviceEnrollmentConfigurationsItemSetPriorityRequestBuilder) Post(ctx c } return nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action setPriority // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsItemSetPriorityRequestBuilder) ToPostRequestInformation(ctx context.Context, body DeviceEnrollmentConfigurationsItemSetPriorityPostRequestBodyable, requestConfiguration *DeviceEnrollmentConfigurationsItemSetPriorityRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_enrollment_configurations_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_enrollment_configurations_request_builder.go index 7b78cb6bea..09b840422a 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_enrollment_configurations_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_enrollment_configurations_request_builder.go @@ -14,7 +14,7 @@ import ( type DeviceEnrollmentConfigurationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the deviceEnrollmentLimitConfiguration objects. +// DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters the list of device enrollment configurations type DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewDeviceEnrollmentConfigurationsRequestBuilder(rawUrl string, requestAdapt func (m *DeviceEnrollmentConfigurationsRequestBuilder) Count()(*DeviceEnrollmentConfigurationsCountRequestBuilder) { return NewDeviceEnrollmentConfigurationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the deviceEnrollmentLimitConfiguration objects. +// Get the list of device enrollment configurations // returns a DeviceEnrollmentConfigurationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-list?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *DeviceEnrollmentConfigurationsRequestBuilder) Get(ctx context.Context, } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationCollectionResponseable), nil } -// Post create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. +// Post create new navigation property to deviceEnrollmentConfigurations for deviceManagement // returns a DeviceEnrollmentConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-create?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, requestConfiguration *DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *DeviceEnrollmentConfigurationsRequestBuilder) Post(ctx context.Context, } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable), nil } -// ToGetRequestInformation list properties and relationships of the deviceEnrollmentLimitConfiguration objects. +// ToGetRequestInformation the list of device enrollment configurations // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *DeviceEnrollmentConfigurationsRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. +// ToPostRequestInformation create new navigation property to deviceEnrollmentConfigurations for deviceManagement // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, requestConfiguration *DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_management_partners_device_management_partner_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_management_partners_device_management_partner_item_request_builder.go index 9ca0853fe4..c623074b03 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_management_partners_device_management_partner_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_management_partners_device_management_partner_item_request_builder.go @@ -21,7 +21,7 @@ type DeviceManagementPartnersDeviceManagementPartnerItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceManagementPartnersDeviceManagementPartnerItemRequestBuilderGetQueryParameters read properties and relationships of the deviceManagementPartner object. +// DeviceManagementPartnersDeviceManagementPartnerItemRequestBuilderGetQueryParameters the list of Device Management Partners configured by the tenant. type DeviceManagementPartnersDeviceManagementPartnerItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewDeviceManagementPartnersDeviceManagementPartnerItemRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewDeviceManagementPartnersDeviceManagementPartnerItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a deviceManagementPartner. +// Delete delete navigation property deviceManagementPartners for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-devicemanagementpartner-delete?view=graph-rest-1.0 func (m *DeviceManagementPartnersDeviceManagementPartnerItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceManagementPartnersDeviceManagementPartnerItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *DeviceManagementPartnersDeviceManagementPartnerItemRequestBuilder) Dele } return nil } -// Get read properties and relationships of the deviceManagementPartner object. +// Get the list of Device Management Partners configured by the tenant. // returns a DeviceManagementPartnerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-devicemanagementpartner-get?view=graph-rest-1.0 func (m *DeviceManagementPartnersDeviceManagementPartnerItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceManagementPartnersDeviceManagementPartnerItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementPartnerable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *DeviceManagementPartnersDeviceManagementPartnerItemRequestBuilder) Get( } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementPartnerable), nil } -// Patch update the properties of a deviceManagementPartner object. +// Patch update the navigation property deviceManagementPartners in deviceManagement // returns a DeviceManagementPartnerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-devicemanagementpartner-update?view=graph-rest-1.0 func (m *DeviceManagementPartnersDeviceManagementPartnerItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementPartnerable, requestConfiguration *DeviceManagementPartnersDeviceManagementPartnerItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementPartnerable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +118,7 @@ func (m *DeviceManagementPartnersDeviceManagementPartnerItemRequestBuilder) Patc func (m *DeviceManagementPartnersDeviceManagementPartnerItemRequestBuilder) Terminate()(*DeviceManagementPartnersItemTerminateRequestBuilder) { return NewDeviceManagementPartnersItemTerminateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes a deviceManagementPartner. +// ToDeleteRequestInformation delete navigation property deviceManagementPartners for deviceManagement // returns a *RequestInformation when successful func (m *DeviceManagementPartnersDeviceManagementPartnerItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeviceManagementPartnersDeviceManagementPartnerItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -138,7 +129,7 @@ func (m *DeviceManagementPartnersDeviceManagementPartnerItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceManagementPartner object. +// ToGetRequestInformation the list of Device Management Partners configured by the tenant. // returns a *RequestInformation when successful func (m *DeviceManagementPartnersDeviceManagementPartnerItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceManagementPartnersDeviceManagementPartnerItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -152,7 +143,7 @@ func (m *DeviceManagementPartnersDeviceManagementPartnerItemRequestBuilder) ToGe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceManagementPartner object. +// ToPatchRequestInformation update the navigation property deviceManagementPartners in deviceManagement // returns a *RequestInformation when successful func (m *DeviceManagementPartnersDeviceManagementPartnerItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementPartnerable, requestConfiguration *DeviceManagementPartnersDeviceManagementPartnerItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_management_partners_item_terminate_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_management_partners_item_terminate_request_builder.go index cf6f3ce6a8..dcbaa09905 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_management_partners_item_terminate_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_management_partners_item_terminate_request_builder.go @@ -33,11 +33,8 @@ func NewDeviceManagementPartnersItemTerminateRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewDeviceManagementPartnersItemTerminateRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action terminate // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-devicemanagementpartner-terminate?view=graph-rest-1.0 func (m *DeviceManagementPartnersItemTerminateRequestBuilder) Post(ctx context.Context, requestConfiguration *DeviceManagementPartnersItemTerminateRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -52,7 +49,7 @@ func (m *DeviceManagementPartnersItemTerminateRequestBuilder) Post(ctx context.C } return nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action terminate // returns a *RequestInformation when successful func (m *DeviceManagementPartnersItemTerminateRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *DeviceManagementPartnersItemTerminateRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_management_partners_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_management_partners_request_builder.go index 81ce6c9855..8ddcca774a 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_management_partners_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_management_partners_request_builder.go @@ -14,7 +14,7 @@ import ( type DeviceManagementPartnersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceManagementPartnersRequestBuilderGetQueryParameters list properties and relationships of the deviceManagementPartner objects. +// DeviceManagementPartnersRequestBuilderGetQueryParameters the list of Device Management Partners configured by the tenant. type DeviceManagementPartnersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewDeviceManagementPartnersRequestBuilder(rawUrl string, requestAdapter i2a func (m *DeviceManagementPartnersRequestBuilder) Count()(*DeviceManagementPartnersCountRequestBuilder) { return NewDeviceManagementPartnersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the deviceManagementPartner objects. +// Get the list of Device Management Partners configured by the tenant. // returns a DeviceManagementPartnerCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-devicemanagementpartner-list?view=graph-rest-1.0 func (m *DeviceManagementPartnersRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceManagementPartnersRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementPartnerCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *DeviceManagementPartnersRequestBuilder) Get(ctx context.Context, reques } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementPartnerCollectionResponseable), nil } -// Post create a new deviceManagementPartner object. +// Post create new navigation property to deviceManagementPartners for deviceManagement // returns a DeviceManagementPartnerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-devicemanagementpartner-create?view=graph-rest-1.0 func (m *DeviceManagementPartnersRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementPartnerable, requestConfiguration *DeviceManagementPartnersRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementPartnerable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *DeviceManagementPartnersRequestBuilder) Post(ctx context.Context, body } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementPartnerable), nil } -// ToGetRequestInformation list properties and relationships of the deviceManagementPartner objects. +// ToGetRequestInformation the list of Device Management Partners configured by the tenant. // returns a *RequestInformation when successful func (m *DeviceManagementPartnersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceManagementPartnersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *DeviceManagementPartnersRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new deviceManagementPartner object. +// ToPostRequestInformation create new navigation property to deviceManagementPartners for deviceManagement // returns a *RequestInformation when successful func (m *DeviceManagementPartnersRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementPartnerable, requestConfiguration *DeviceManagementPartnersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_management_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_management_request_builder.go index f406f53865..1c5a5006dc 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_management_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/device_management_request_builder.go @@ -14,7 +14,7 @@ import ( type DeviceManagementRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceManagementRequestBuilderGetQueryParameters read properties and relationships of the deviceManagement object. +// DeviceManagementRequestBuilderGetQueryParameters get deviceManagement type DeviceManagementRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -120,12 +120,9 @@ func (m *DeviceManagementRequestBuilder) DeviceManagementPartners()(*DeviceManag func (m *DeviceManagementRequestBuilder) ExchangeConnectors()(*ExchangeConnectorsRequestBuilder) { return NewExchangeConnectorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the deviceManagement object. +// Get get deviceManagement // returns a DeviceManagementable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-remoteassistance-devicemanagement-get?view=graph-rest-1.0 func (m *DeviceManagementRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceManagementRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -183,12 +180,9 @@ func (m *DeviceManagementRequestBuilder) MobileThreatDefenseConnectors()(*Mobile func (m *DeviceManagementRequestBuilder) NotificationMessageTemplates()(*NotificationMessageTemplatesRequestBuilder) { return NewNotificationMessageTemplatesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a deviceManagement object. +// Patch update deviceManagement // returns a DeviceManagementable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-tem-devicemanagement-update?view=graph-rest-1.0 func (m *DeviceManagementRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementable, requestConfiguration *DeviceManagementRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -236,17 +230,12 @@ func (m *DeviceManagementRequestBuilder) RoleDefinitions()(*RoleDefinitionsReque func (m *DeviceManagementRequestBuilder) SoftwareUpdateStatusSummary()(*SoftwareUpdateStatusSummaryRequestBuilder) { return NewSoftwareUpdateStatusSummaryRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// TelecomExpenseManagementPartners provides operations to manage the telecomExpenseManagementPartners property of the microsoft.graph.deviceManagement entity. -// returns a *TelecomExpenseManagementPartnersRequestBuilder when successful -func (m *DeviceManagementRequestBuilder) TelecomExpenseManagementPartners()(*TelecomExpenseManagementPartnersRequestBuilder) { - return NewTelecomExpenseManagementPartnersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} // TermsAndConditions provides operations to manage the termsAndConditions property of the microsoft.graph.deviceManagement entity. // returns a *TermsAndConditionsRequestBuilder when successful func (m *DeviceManagementRequestBuilder) TermsAndConditions()(*TermsAndConditionsRequestBuilder) { return NewTermsAndConditionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation read properties and relationships of the deviceManagement object. +// ToGetRequestInformation get deviceManagement // returns a *RequestInformation when successful func (m *DeviceManagementRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceManagementRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -260,7 +249,7 @@ func (m *DeviceManagementRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceManagement object. +// ToPatchRequestInformation update deviceManagement // returns a *RequestInformation when successful func (m *DeviceManagementRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementable, requestConfiguration *DeviceManagementRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/exchange_connectors_device_management_exchange_connector_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/exchange_connectors_device_management_exchange_connector_item_request_builder.go index c62dbac283..54962c868d 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/exchange_connectors_device_management_exchange_connector_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/exchange_connectors_device_management_exchange_connector_item_request_builder.go @@ -21,7 +21,7 @@ type ExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilderDelete // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilderGetQueryParameters read properties and relationships of the deviceManagementExchangeConnector object. +// ExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilderGetQueryParameters the list of Exchange Connectors configured by the tenant. type ExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilder(ra urlParams["request-raw-url"] = rawUrl return NewExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a deviceManagementExchangeConnector. +// Delete delete navigation property exchangeConnectors for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-devicemanagementexchangeconnector-delete?view=graph-rest-1.0 func (m *ExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *ExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilder) } return nil } -// Get read properties and relationships of the deviceManagementExchangeConnector object. +// Get the list of Exchange Connectors configured by the tenant. // returns a DeviceManagementExchangeConnectorable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-devicemanagementexchangeconnector-get?view=graph-rest-1.0 func (m *ExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementExchangeConnectorable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *ExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilder) } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementExchangeConnectorable), nil } -// Patch update the properties of a deviceManagementExchangeConnector object. +// Patch update the navigation property exchangeConnectors in deviceManagement // returns a DeviceManagementExchangeConnectorable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-devicemanagementexchangeconnector-update?view=graph-rest-1.0 func (m *ExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementExchangeConnectorable, requestConfiguration *ExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementExchangeConnectorable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +118,7 @@ func (m *ExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilder) func (m *ExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilder) Sync()(*ExchangeConnectorsItemSyncRequestBuilder) { return NewExchangeConnectorsItemSyncRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes a deviceManagementExchangeConnector. +// ToDeleteRequestInformation delete navigation property exchangeConnectors for deviceManagement // returns a *RequestInformation when successful func (m *ExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -138,7 +129,7 @@ func (m *ExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceManagementExchangeConnector object. +// ToGetRequestInformation the list of Exchange Connectors configured by the tenant. // returns a *RequestInformation when successful func (m *ExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -152,7 +143,7 @@ func (m *ExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceManagementExchangeConnector object. +// ToPatchRequestInformation update the navigation property exchangeConnectors in deviceManagement // returns a *RequestInformation when successful func (m *ExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementExchangeConnectorable, requestConfiguration *ExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/exchange_connectors_item_sync_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/exchange_connectors_item_sync_request_builder.go index 733f644940..1f91f6f30b 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/exchange_connectors_item_sync_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/exchange_connectors_item_sync_request_builder.go @@ -33,11 +33,8 @@ func NewExchangeConnectorsItemSyncRequestBuilder(rawUrl string, requestAdapter i urlParams["request-raw-url"] = rawUrl return NewExchangeConnectorsItemSyncRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action sync // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-devicemanagementexchangeconnector-sync?view=graph-rest-1.0 func (m *ExchangeConnectorsItemSyncRequestBuilder) Post(ctx context.Context, body ExchangeConnectorsItemSyncPostRequestBodyable, requestConfiguration *ExchangeConnectorsItemSyncRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -52,7 +49,7 @@ func (m *ExchangeConnectorsItemSyncRequestBuilder) Post(ctx context.Context, bod } return nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action sync // returns a *RequestInformation when successful func (m *ExchangeConnectorsItemSyncRequestBuilder) ToPostRequestInformation(ctx context.Context, body ExchangeConnectorsItemSyncPostRequestBodyable, requestConfiguration *ExchangeConnectorsItemSyncRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/exchange_connectors_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/exchange_connectors_request_builder.go index 381917e118..328bad57c7 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/exchange_connectors_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/exchange_connectors_request_builder.go @@ -14,7 +14,7 @@ import ( type ExchangeConnectorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ExchangeConnectorsRequestBuilderGetQueryParameters list properties and relationships of the deviceManagementExchangeConnector objects. +// ExchangeConnectorsRequestBuilderGetQueryParameters the list of Exchange Connectors configured by the tenant. type ExchangeConnectorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewExchangeConnectorsRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *ExchangeConnectorsRequestBuilder) Count()(*ExchangeConnectorsCountRequestBuilder) { return NewExchangeConnectorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the deviceManagementExchangeConnector objects. +// Get the list of Exchange Connectors configured by the tenant. // returns a DeviceManagementExchangeConnectorCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-devicemanagementexchangeconnector-list?view=graph-rest-1.0 func (m *ExchangeConnectorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ExchangeConnectorsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementExchangeConnectorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ExchangeConnectorsRequestBuilder) Get(ctx context.Context, requestConfi } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementExchangeConnectorCollectionResponseable), nil } -// Post create a new deviceManagementExchangeConnector object. +// Post create new navigation property to exchangeConnectors for deviceManagement // returns a DeviceManagementExchangeConnectorable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-devicemanagementexchangeconnector-create?view=graph-rest-1.0 func (m *ExchangeConnectorsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementExchangeConnectorable, requestConfiguration *ExchangeConnectorsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementExchangeConnectorable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ExchangeConnectorsRequestBuilder) Post(ctx context.Context, body iadcd8 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementExchangeConnectorable), nil } -// ToGetRequestInformation list properties and relationships of the deviceManagementExchangeConnector objects. +// ToGetRequestInformation the list of Exchange Connectors configured by the tenant. // returns a *RequestInformation when successful func (m *ExchangeConnectorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ExchangeConnectorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ExchangeConnectorsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new deviceManagementExchangeConnector object. +// ToPostRequestInformation create new navigation property to exchangeConnectors for deviceManagement // returns a *RequestInformation when successful func (m *ExchangeConnectorsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementExchangeConnectorable, requestConfiguration *ExchangeConnectorsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/f210dc303781fcb06137dd73f0d2da836067d2e960010b7576538b293618c8a0.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/f210dc303781fcb06137dd73f0d2da836067d2e960010b7576538b293618c8a0.go index f4e4081a14..6392bf3f72 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/f210dc303781fcb06137dd73f0d2da836067d2e960010b7576538b293618c8a0.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/f210dc303781fcb06137dd73f0d2da836067d2e960010b7576538b293618c8a0.go @@ -21,7 +21,7 @@ type MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetQueryParameters read properties and relationships of the appLogCollectionRequest object. +// MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetQueryParameters indicates collection of App Log Upload Request. type MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -62,11 +62,8 @@ func NewMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollecti func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilder) CreateDownloadUrl()(*MobileAppTroubleshootingEventsItemAppLogCollectionRequestsItemCreateDownloadUrlRequestBuilder) { return NewMobileAppTroubleshootingEventsItemAppLogCollectionRequestsItemCreateDownloadUrlRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete deletes a appLogCollectionRequest. +// Delete delete navigation property appLogCollectionRequests for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-applogcollectionrequest-delete?view=graph-rest-1.0 func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -81,12 +78,9 @@ func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollect } return nil } -// Get read properties and relationships of the appLogCollectionRequest object. +// Get indicates collection of App Log Upload Request. // returns a AppLogCollectionRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-applogcollectionrequest-get?view=graph-rest-1.0 func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AppLogCollectionRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +98,9 @@ func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollect } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AppLogCollectionRequestable), nil } -// Patch update the properties of a appLogCollectionRequest object. +// Patch update the navigation property appLogCollectionRequests in deviceManagement // returns a AppLogCollectionRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-applogcollectionrequest-update?view=graph-rest-1.0 func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AppLogCollectionRequestable, requestConfiguration *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AppLogCollectionRequestable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +118,7 @@ func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollect } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AppLogCollectionRequestable), nil } -// ToDeleteRequestInformation deletes a appLogCollectionRequest. +// ToDeleteRequestInformation delete navigation property appLogCollectionRequests for deviceManagement // returns a *RequestInformation when successful func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -138,7 +129,7 @@ func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollect requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the appLogCollectionRequest object. +// ToGetRequestInformation indicates collection of App Log Upload Request. // returns a *RequestInformation when successful func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -152,7 +143,7 @@ func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollect requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a appLogCollectionRequest object. +// ToPatchRequestInformation update the navigation property appLogCollectionRequests in deviceManagement // returns a *RequestInformation when successful func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AppLogCollectionRequestable, requestConfiguration *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/f639a405193a972b409c73845175896fa2c12836058902d238f42033bc0ba1af.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/f639a405193a972b409c73845175896fa2c12836058902d238f42033bc0ba1af.go index 7a17cf17dd..c5fd843fda 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/f639a405193a972b409c73845175896fa2c12836058902d238f42033bc0ba1af.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/f639a405193a972b409c73845175896fa2c12836058902d238f42033bc0ba1af.go @@ -21,7 +21,7 @@ type DeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingSta // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilderGetQueryParameters read properties and relationships of the deviceCompliancePolicySettingStateSummary object. +// DeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilderGetQueryParameters the summary states of compliance policy settings for this account. type DeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewDeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySetting urlParams["request-raw-url"] = rawUrl return NewDeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a deviceCompliancePolicySettingStateSummary. +// Delete delete navigation property deviceCompliancePolicySettingStateSummaries for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancepolicysettingstatesummary-delete?view=graph-rest-1.0 func (m *DeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -81,12 +78,9 @@ func (m *DeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettin func (m *DeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilder) DeviceComplianceSettingStates()(*DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesRequestBuilder) { return NewDeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the deviceCompliancePolicySettingStateSummary object. +// Get the summary states of compliance policy settings for this account. // returns a DeviceCompliancePolicySettingStateSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancepolicysettingstatesummary-get?view=graph-rest-1.0 func (m *DeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicySettingStateSummaryable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +98,9 @@ func (m *DeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettin } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicySettingStateSummaryable), nil } -// Patch update the properties of a deviceCompliancePolicySettingStateSummary object. +// Patch update the navigation property deviceCompliancePolicySettingStateSummaries in deviceManagement // returns a DeviceCompliancePolicySettingStateSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancepolicysettingstatesummary-update?view=graph-rest-1.0 func (m *DeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicySettingStateSummaryable, requestConfiguration *DeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicySettingStateSummaryable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +118,7 @@ func (m *DeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettin } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicySettingStateSummaryable), nil } -// ToDeleteRequestInformation deletes a deviceCompliancePolicySettingStateSummary. +// ToDeleteRequestInformation delete navigation property deviceCompliancePolicySettingStateSummaries for deviceManagement // returns a *RequestInformation when successful func (m *DeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -138,7 +129,7 @@ func (m *DeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettin requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceCompliancePolicySettingStateSummary object. +// ToGetRequestInformation the summary states of compliance policy settings for this account. // returns a *RequestInformation when successful func (m *DeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -152,7 +143,7 @@ func (m *DeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettin requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceCompliancePolicySettingStateSummary object. +// ToPatchRequestInformation update the navigation property deviceCompliancePolicySettingStateSummaries in deviceManagement // returns a *RequestInformation when successful func (m *DeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicySettingStateSummaryable, requestConfiguration *DeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/fb1ebe9cab2b218639fb49f24df9795a1626cd00298675ad3096ee1642c4c9e5.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/fb1ebe9cab2b218639fb49f24df9795a1626cd00298675ad3096ee1642c4c9e5.go index f52e377191..e3bfd634bc 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/fb1ebe9cab2b218639fb49f24df9795a1626cd00298675ad3096ee1642c4c9e5.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/fb1ebe9cab2b218639fb49f24df9795a1626cd00298675ad3096ee1642c4c9e5.go @@ -21,7 +21,7 @@ type NotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedNotif // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// NotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedNotificationMessageItemRequestBuilderGetQueryParameters read properties and relationships of the localizedNotificationMessage object. +// NotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedNotificationMessageItemRequestBuilderGetQueryParameters the list of localized messages for this Notification Message Template. type NotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedNotificationMessageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewNotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedNo urlParams["request-raw-url"] = rawUrl return NewNotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedNotificationMessageItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a localizedNotificationMessage. +// Delete delete navigation property localizedNotificationMessages for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-notification-localizednotificationmessage-delete?view=graph-rest-1.0 func (m *NotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedNotificationMessageItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *NotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedNotificationMessageItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *NotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedN } return nil } -// Get read properties and relationships of the localizedNotificationMessage object. +// Get the list of localized messages for this Notification Message Template. // returns a LocalizedNotificationMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-notification-localizednotificationmessage-get?view=graph-rest-1.0 func (m *NotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedNotificationMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *NotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedNotificationMessageItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LocalizedNotificationMessageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *NotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedN } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LocalizedNotificationMessageable), nil } -// Patch update the properties of a localizedNotificationMessage object. +// Patch update the navigation property localizedNotificationMessages in deviceManagement // returns a LocalizedNotificationMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-notification-localizednotificationmessage-update?view=graph-rest-1.0 func (m *NotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedNotificationMessageItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LocalizedNotificationMessageable, requestConfiguration *NotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedNotificationMessageItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LocalizedNotificationMessageable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *NotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedN } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LocalizedNotificationMessageable), nil } -// ToDeleteRequestInformation deletes a localizedNotificationMessage. +// ToDeleteRequestInformation delete navigation property localizedNotificationMessages for deviceManagement // returns a *RequestInformation when successful func (m *NotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedNotificationMessageItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *NotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedNotificationMessageItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *NotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedN requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the localizedNotificationMessage object. +// ToGetRequestInformation the list of localized messages for this Notification Message Template. // returns a *RequestInformation when successful func (m *NotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedNotificationMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *NotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedNotificationMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *NotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedN requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a localizedNotificationMessage object. +// ToPatchRequestInformation update the navigation property localizedNotificationMessages in deviceManagement // returns a *RequestInformation when successful func (m *NotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedNotificationMessageItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LocalizedNotificationMessageable, requestConfiguration *NotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedNotificationMessageItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/get_effective_permissions_with_scope_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/get_effective_permissions_with_scope_request_builder.go index f73cf3440f..ea33260b5d 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/get_effective_permissions_with_scope_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/get_effective_permissions_with_scope_request_builder.go @@ -55,9 +55,6 @@ func NewGetEffectivePermissionsWithScopeRequestBuilder(rawUrl string, requestAda // Deprecated: This method is obsolete. Use GetAsGetEffectivePermissionsWithScopeGetResponse instead. // returns a GetEffectivePermissionsWithScopeResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-devicemanagement-geteffectivepermissions?view=graph-rest-1.0 func (m *GetEffectivePermissionsWithScopeRequestBuilder) Get(ctx context.Context, requestConfiguration *GetEffectivePermissionsWithScopeRequestBuilderGetRequestConfiguration)(GetEffectivePermissionsWithScopeResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,9 +75,6 @@ func (m *GetEffectivePermissionsWithScopeRequestBuilder) Get(ctx context.Context // GetAsGetEffectivePermissionsWithScopeGetResponse retrieves the effective permissions of the currently authenticated user // returns a GetEffectivePermissionsWithScopeGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-devicemanagement-geteffectivepermissions?view=graph-rest-1.0 func (m *GetEffectivePermissionsWithScopeRequestBuilder) GetAsGetEffectivePermissionsWithScopeGetResponse(ctx context.Context, requestConfiguration *GetEffectivePermissionsWithScopeRequestBuilderGetRequestConfiguration)(GetEffectivePermissionsWithScopeGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/imported_windows_autopilot_device_identities_import_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/imported_windows_autopilot_device_identities_import_request_builder.go index 787da62107..7cd52671ae 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/imported_windows_autopilot_device_identities_import_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/imported_windows_autopilot_device_identities_import_request_builder.go @@ -33,13 +33,10 @@ func NewImportedWindowsAutopilotDeviceIdentitiesImportRequestBuilder(rawUrl stri urlParams["request-raw-url"] = rawUrl return NewImportedWindowsAutopilotDeviceIdentitiesImportRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action import // Deprecated: This method is obsolete. Use PostAsImportPostResponse instead. // returns a ImportedWindowsAutopilotDeviceIdentitiesImportResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-enrollment-importedwindowsautopilotdeviceidentity-import?view=graph-rest-1.0 func (m *ImportedWindowsAutopilotDeviceIdentitiesImportRequestBuilder) Post(ctx context.Context, body ImportedWindowsAutopilotDeviceIdentitiesImportPostRequestBodyable, requestConfiguration *ImportedWindowsAutopilotDeviceIdentitiesImportRequestBuilderPostRequestConfiguration)(ImportedWindowsAutopilotDeviceIdentitiesImportResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -57,12 +54,9 @@ func (m *ImportedWindowsAutopilotDeviceIdentitiesImportRequestBuilder) Post(ctx } return res.(ImportedWindowsAutopilotDeviceIdentitiesImportResponseable), nil } -// PostAsImportPostResponse not yet documented +// PostAsImportPostResponse invoke action import // returns a ImportedWindowsAutopilotDeviceIdentitiesImportPostResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-enrollment-importedwindowsautopilotdeviceidentity-import?view=graph-rest-1.0 func (m *ImportedWindowsAutopilotDeviceIdentitiesImportRequestBuilder) PostAsImportPostResponse(ctx context.Context, body ImportedWindowsAutopilotDeviceIdentitiesImportPostRequestBodyable, requestConfiguration *ImportedWindowsAutopilotDeviceIdentitiesImportRequestBuilderPostRequestConfiguration)(ImportedWindowsAutopilotDeviceIdentitiesImportPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -80,7 +74,7 @@ func (m *ImportedWindowsAutopilotDeviceIdentitiesImportRequestBuilder) PostAsImp } return res.(ImportedWindowsAutopilotDeviceIdentitiesImportPostResponseable), nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action import // returns a *RequestInformation when successful func (m *ImportedWindowsAutopilotDeviceIdentitiesImportRequestBuilder) ToPostRequestInformation(ctx context.Context, body ImportedWindowsAutopilotDeviceIdentitiesImportPostRequestBodyable, requestConfiguration *ImportedWindowsAutopilotDeviceIdentitiesImportRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/imported_windows_autopilot_device_identities_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/imported_windows_autopilot_device_identities_request_builder.go index ed566890ec..81862ed735 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/imported_windows_autopilot_device_identities_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/imported_windows_autopilot_device_identities_request_builder.go @@ -14,7 +14,7 @@ import ( type ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ImportedWindowsAutopilotDeviceIdentitiesRequestBuilderGetQueryParameters list properties and relationships of the importedWindowsAutopilotDeviceIdentity objects. +// ImportedWindowsAutopilotDeviceIdentitiesRequestBuilderGetQueryParameters collection of imported Windows autopilot devices. type ImportedWindowsAutopilotDeviceIdentitiesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewImportedWindowsAutopilotDeviceIdentitiesRequestBuilder(rawUrl string, re func (m *ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder) Count()(*ImportedWindowsAutopilotDeviceIdentitiesCountRequestBuilder) { return NewImportedWindowsAutopilotDeviceIdentitiesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the importedWindowsAutopilotDeviceIdentity objects. +// Get collection of imported Windows autopilot devices. // returns a ImportedWindowsAutopilotDeviceIdentityCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-enrollment-importedwindowsautopilotdeviceidentity-list?view=graph-rest-1.0 func (m *ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder) Get(ctx context.Context, requestConfiguration *ImportedWindowsAutopilotDeviceIdentitiesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ImportedWindowsAutopilotDeviceIdentityCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -107,12 +104,9 @@ func (m *ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder) Get(ctx context func (m *ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder) ImportEscaped()(*ImportedWindowsAutopilotDeviceIdentitiesImportRequestBuilder) { return NewImportedWindowsAutopilotDeviceIdentitiesImportRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new importedWindowsAutopilotDeviceIdentity object. +// Post create new navigation property to importedWindowsAutopilotDeviceIdentities for deviceManagement // returns a ImportedWindowsAutopilotDeviceIdentityable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-enrollment-importedwindowsautopilotdeviceidentity-create?view=graph-rest-1.0 func (m *ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ImportedWindowsAutopilotDeviceIdentityable, requestConfiguration *ImportedWindowsAutopilotDeviceIdentitiesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ImportedWindowsAutopilotDeviceIdentityable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +124,7 @@ func (m *ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder) Post(ctx contex } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ImportedWindowsAutopilotDeviceIdentityable), nil } -// ToGetRequestInformation list properties and relationships of the importedWindowsAutopilotDeviceIdentity objects. +// ToGetRequestInformation collection of imported Windows autopilot devices. // returns a *RequestInformation when successful func (m *ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ImportedWindowsAutopilotDeviceIdentitiesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +138,7 @@ func (m *ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder) ToGetRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new importedWindowsAutopilotDeviceIdentity object. +// ToPostRequestInformation create new navigation property to importedWindowsAutopilotDeviceIdentities for deviceManagement // returns a *RequestInformation when successful func (m *ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ImportedWindowsAutopilotDeviceIdentityable, requestConfiguration *ImportedWindowsAutopilotDeviceIdentitiesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/ios_update_statuses_ios_update_device_status_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/ios_update_statuses_ios_update_device_status_item_request_builder.go index b689f5f9a1..0b86fd24d8 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/ios_update_statuses_ios_update_device_status_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/ios_update_statuses_ios_update_device_status_item_request_builder.go @@ -21,7 +21,7 @@ type IosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilderDeleteRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// IosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilderGetQueryParameters read properties and relationships of the iosUpdateDeviceStatus object. +// IosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilderGetQueryParameters the IOS software update installation statuses for this account. type IosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewIosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewIosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a iosUpdateDeviceStatus. +// Delete delete navigation property iosUpdateStatuses for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-iosupdatedevicestatus-delete?view=graph-rest-1.0 func (m *IosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *IosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *IosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilder) Delete(ctx co } return nil } -// Get read properties and relationships of the iosUpdateDeviceStatus object. +// Get the IOS software update installation statuses for this account. // returns a IosUpdateDeviceStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-iosupdatedevicestatus-get?view=graph-rest-1.0 func (m *IosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IosUpdateDeviceStatusable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *IosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilder) Get(ctx conte } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IosUpdateDeviceStatusable), nil } -// Patch update the properties of a iosUpdateDeviceStatus object. +// Patch update the navigation property iosUpdateStatuses in deviceManagement // returns a IosUpdateDeviceStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-iosupdatedevicestatus-update?view=graph-rest-1.0 func (m *IosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IosUpdateDeviceStatusable, requestConfiguration *IosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IosUpdateDeviceStatusable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *IosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilder) Patch(ctx con } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IosUpdateDeviceStatusable), nil } -// ToDeleteRequestInformation deletes a iosUpdateDeviceStatus. +// ToDeleteRequestInformation delete navigation property iosUpdateStatuses for deviceManagement // returns a *RequestInformation when successful func (m *IosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *IosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *IosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilder) ToDeleteReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the iosUpdateDeviceStatus object. +// ToGetRequestInformation the IOS software update installation statuses for this account. // returns a *RequestInformation when successful func (m *IosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *IosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilder) ToGetRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a iosUpdateDeviceStatus object. +// ToPatchRequestInformation update the navigation property iosUpdateStatuses in deviceManagement // returns a *RequestInformation when successful func (m *IosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IosUpdateDeviceStatusable, requestConfiguration *IosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/ios_update_statuses_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/ios_update_statuses_request_builder.go index 9cb4d708e5..a58f1f9725 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/ios_update_statuses_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/ios_update_statuses_request_builder.go @@ -14,7 +14,7 @@ import ( type IosUpdateStatusesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// IosUpdateStatusesRequestBuilderGetQueryParameters list properties and relationships of the iosUpdateDeviceStatus objects. +// IosUpdateStatusesRequestBuilderGetQueryParameters the IOS software update installation statuses for this account. type IosUpdateStatusesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewIosUpdateStatusesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 func (m *IosUpdateStatusesRequestBuilder) Count()(*IosUpdateStatusesCountRequestBuilder) { return NewIosUpdateStatusesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the iosUpdateDeviceStatus objects. +// Get the IOS software update installation statuses for this account. // returns a IosUpdateDeviceStatusCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-iosupdatedevicestatus-list?view=graph-rest-1.0 func (m *IosUpdateStatusesRequestBuilder) Get(ctx context.Context, requestConfiguration *IosUpdateStatusesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IosUpdateDeviceStatusCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *IosUpdateStatusesRequestBuilder) Get(ctx context.Context, requestConfig } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IosUpdateDeviceStatusCollectionResponseable), nil } -// Post create a new iosUpdateDeviceStatus object. +// Post create new navigation property to iosUpdateStatuses for deviceManagement // returns a IosUpdateDeviceStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-iosupdatedevicestatus-create?view=graph-rest-1.0 func (m *IosUpdateStatusesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IosUpdateDeviceStatusable, requestConfiguration *IosUpdateStatusesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IosUpdateDeviceStatusable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *IosUpdateStatusesRequestBuilder) Post(ctx context.Context, body iadcd81 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IosUpdateDeviceStatusable), nil } -// ToGetRequestInformation list properties and relationships of the iosUpdateDeviceStatus objects. +// ToGetRequestInformation the IOS software update installation statuses for this account. // returns a *RequestInformation when successful func (m *IosUpdateStatusesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IosUpdateStatusesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *IosUpdateStatusesRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new iosUpdateDeviceStatus object. +// ToPostRequestInformation create new navigation property to iosUpdateStatuses for deviceManagement // returns a *RequestInformation when successful func (m *IosUpdateStatusesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IosUpdateDeviceStatusable, requestConfiguration *IosUpdateStatusesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_bypass_activation_lock_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_bypass_activation_lock_request_builder.go index 4f7e531d72..36d0417a0d 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_bypass_activation_lock_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_bypass_activation_lock_request_builder.go @@ -35,9 +35,6 @@ func NewManagedDevicesItemBypassActivationLockRequestBuilder(rawUrl string, requ } // Post bypass activation lock // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-bypassactivationlock?view=graph-rest-1.0 func (m *ManagedDevicesItemBypassActivationLockRequestBuilder) Post(ctx context.Context, requestConfiguration *ManagedDevicesItemBypassActivationLockRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_clean_windows_device_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_clean_windows_device_request_builder.go index ec8760eca6..a9497843bd 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_clean_windows_device_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_clean_windows_device_request_builder.go @@ -35,9 +35,6 @@ func NewManagedDevicesItemCleanWindowsDeviceRequestBuilder(rawUrl string, reques } // Post clean Windows device // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-cleanwindowsdevice?view=graph-rest-1.0 func (m *ManagedDevicesItemCleanWindowsDeviceRequestBuilder) Post(ctx context.Context, body ManagedDevicesItemCleanWindowsDevicePostRequestBodyable, requestConfiguration *ManagedDevicesItemCleanWindowsDeviceRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_delete_user_from_shared_apple_device_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_delete_user_from_shared_apple_device_request_builder.go index 587dfd5a39..ae4ca45dcf 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_delete_user_from_shared_apple_device_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_delete_user_from_shared_apple_device_request_builder.go @@ -35,9 +35,6 @@ func NewManagedDevicesItemDeleteUserFromSharedAppleDeviceRequestBuilder(rawUrl s } // Post delete user from shared Apple device // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-deleteuserfromsharedappledevice?view=graph-rest-1.0 func (m *ManagedDevicesItemDeleteUserFromSharedAppleDeviceRequestBuilder) Post(ctx context.Context, body ManagedDevicesItemDeleteUserFromSharedAppleDevicePostRequestBodyable, requestConfiguration *ManagedDevicesItemDeleteUserFromSharedAppleDeviceRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_disable_lost_mode_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_disable_lost_mode_request_builder.go index 09e0ef61e3..b38c83a3bb 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_disable_lost_mode_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_disable_lost_mode_request_builder.go @@ -35,9 +35,6 @@ func NewManagedDevicesItemDisableLostModeRequestBuilder(rawUrl string, requestAd } // Post disable lost mode // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-disablelostmode?view=graph-rest-1.0 func (m *ManagedDevicesItemDisableLostModeRequestBuilder) Post(ctx context.Context, requestConfiguration *ManagedDevicesItemDisableLostModeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_locate_device_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_locate_device_request_builder.go index 9d5c8b5978..7d21193bdf 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_locate_device_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_locate_device_request_builder.go @@ -35,9 +35,6 @@ func NewManagedDevicesItemLocateDeviceRequestBuilder(rawUrl string, requestAdapt } // Post locate a device // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-locatedevice?view=graph-rest-1.0 func (m *ManagedDevicesItemLocateDeviceRequestBuilder) Post(ctx context.Context, requestConfiguration *ManagedDevicesItemLocateDeviceRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_logout_shared_apple_device_active_user_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_logout_shared_apple_device_active_user_request_builder.go index 01fbd230ed..9fbb527cf7 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_logout_shared_apple_device_active_user_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_logout_shared_apple_device_active_user_request_builder.go @@ -35,9 +35,6 @@ func NewManagedDevicesItemLogoutSharedAppleDeviceActiveUserRequestBuilder(rawUrl } // Post logout shared Apple device active user // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-logoutsharedappledeviceactiveuser?view=graph-rest-1.0 func (m *ManagedDevicesItemLogoutSharedAppleDeviceActiveUserRequestBuilder) Post(ctx context.Context, requestConfiguration *ManagedDevicesItemLogoutSharedAppleDeviceActiveUserRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_reboot_now_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_reboot_now_request_builder.go index 862f50916d..28163400ab 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_reboot_now_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_reboot_now_request_builder.go @@ -35,9 +35,6 @@ func NewManagedDevicesItemRebootNowRequestBuilder(rawUrl string, requestAdapter } // Post reboot device // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-rebootnow?view=graph-rest-1.0 func (m *ManagedDevicesItemRebootNowRequestBuilder) Post(ctx context.Context, requestConfiguration *ManagedDevicesItemRebootNowRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_recover_passcode_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_recover_passcode_request_builder.go index 537e63020f..35c3064ac7 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_recover_passcode_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_recover_passcode_request_builder.go @@ -35,9 +35,6 @@ func NewManagedDevicesItemRecoverPasscodeRequestBuilder(rawUrl string, requestAd } // Post recover passcode // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-recoverpasscode?view=graph-rest-1.0 func (m *ManagedDevicesItemRecoverPasscodeRequestBuilder) Post(ctx context.Context, requestConfiguration *ManagedDevicesItemRecoverPasscodeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_remote_lock_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_remote_lock_request_builder.go index ac2deb78c2..49c7ca06ae 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_remote_lock_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_remote_lock_request_builder.go @@ -35,9 +35,6 @@ func NewManagedDevicesItemRemoteLockRequestBuilder(rawUrl string, requestAdapter } // Post remote lock // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-remotelock?view=graph-rest-1.0 func (m *ManagedDevicesItemRemoteLockRequestBuilder) Post(ctx context.Context, requestConfiguration *ManagedDevicesItemRemoteLockRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_request_remote_assistance_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_request_remote_assistance_request_builder.go index 756629e579..d2740389a8 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_request_remote_assistance_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_request_remote_assistance_request_builder.go @@ -35,9 +35,6 @@ func NewManagedDevicesItemRequestRemoteAssistanceRequestBuilder(rawUrl string, r } // Post request remote assistance // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-requestremoteassistance?view=graph-rest-1.0 func (m *ManagedDevicesItemRequestRemoteAssistanceRequestBuilder) Post(ctx context.Context, requestConfiguration *ManagedDevicesItemRequestRemoteAssistanceRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_reset_passcode_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_reset_passcode_request_builder.go index 6ab9aeb391..49059abd87 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_reset_passcode_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_reset_passcode_request_builder.go @@ -35,9 +35,6 @@ func NewManagedDevicesItemResetPasscodeRequestBuilder(rawUrl string, requestAdap } // Post reset passcode // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-resetpasscode?view=graph-rest-1.0 func (m *ManagedDevicesItemResetPasscodeRequestBuilder) Post(ctx context.Context, requestConfiguration *ManagedDevicesItemResetPasscodeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_retire_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_retire_request_builder.go index ce53dd555a..42962b7e69 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_retire_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_retire_request_builder.go @@ -35,9 +35,6 @@ func NewManagedDevicesItemRetireRequestBuilder(rawUrl string, requestAdapter i2a } // Post retire a device // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-retire?view=graph-rest-1.0 func (m *ManagedDevicesItemRetireRequestBuilder) Post(ctx context.Context, requestConfiguration *ManagedDevicesItemRetireRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_shut_down_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_shut_down_request_builder.go index b7e70f971d..77e32c1f8d 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_shut_down_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_shut_down_request_builder.go @@ -35,9 +35,6 @@ func NewManagedDevicesItemShutDownRequestBuilder(rawUrl string, requestAdapter i } // Post shut down device // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-shutdown?view=graph-rest-1.0 func (m *ManagedDevicesItemShutDownRequestBuilder) Post(ctx context.Context, requestConfiguration *ManagedDevicesItemShutDownRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_sync_device_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_sync_device_request_builder.go index fb386c2c57..a6dc9703ec 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_sync_device_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_sync_device_request_builder.go @@ -33,11 +33,8 @@ func NewManagedDevicesItemSyncDeviceRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewManagedDevicesItemSyncDeviceRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action syncDevice // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-syncdevice?view=graph-rest-1.0 func (m *ManagedDevicesItemSyncDeviceRequestBuilder) Post(ctx context.Context, requestConfiguration *ManagedDevicesItemSyncDeviceRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -52,7 +49,7 @@ func (m *ManagedDevicesItemSyncDeviceRequestBuilder) Post(ctx context.Context, r } return nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action syncDevice // returns a *RequestInformation when successful func (m *ManagedDevicesItemSyncDeviceRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ManagedDevicesItemSyncDeviceRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_update_windows_device_account_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_update_windows_device_account_request_builder.go index 37b08c3f48..26f8228c53 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_update_windows_device_account_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_update_windows_device_account_request_builder.go @@ -33,11 +33,8 @@ func NewManagedDevicesItemUpdateWindowsDeviceAccountRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewManagedDevicesItemUpdateWindowsDeviceAccountRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action updateWindowsDeviceAccount // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-updatewindowsdeviceaccount?view=graph-rest-1.0 func (m *ManagedDevicesItemUpdateWindowsDeviceAccountRequestBuilder) Post(ctx context.Context, body ManagedDevicesItemUpdateWindowsDeviceAccountPostRequestBodyable, requestConfiguration *ManagedDevicesItemUpdateWindowsDeviceAccountRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -52,7 +49,7 @@ func (m *ManagedDevicesItemUpdateWindowsDeviceAccountRequestBuilder) Post(ctx co } return nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action updateWindowsDeviceAccount // returns a *RequestInformation when successful func (m *ManagedDevicesItemUpdateWindowsDeviceAccountRequestBuilder) ToPostRequestInformation(ctx context.Context, body ManagedDevicesItemUpdateWindowsDeviceAccountPostRequestBodyable, requestConfiguration *ManagedDevicesItemUpdateWindowsDeviceAccountRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_windows_defender_scan_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_windows_defender_scan_request_builder.go index baa5e22483..468a4062fb 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_windows_defender_scan_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_windows_defender_scan_request_builder.go @@ -33,11 +33,8 @@ func NewManagedDevicesItemWindowsDefenderScanRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewManagedDevicesItemWindowsDefenderScanRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action windowsDefenderScan // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-windowsdefenderscan?view=graph-rest-1.0 func (m *ManagedDevicesItemWindowsDefenderScanRequestBuilder) Post(ctx context.Context, body ManagedDevicesItemWindowsDefenderScanPostRequestBodyable, requestConfiguration *ManagedDevicesItemWindowsDefenderScanRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -52,7 +49,7 @@ func (m *ManagedDevicesItemWindowsDefenderScanRequestBuilder) Post(ctx context.C } return nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action windowsDefenderScan // returns a *RequestInformation when successful func (m *ManagedDevicesItemWindowsDefenderScanRequestBuilder) ToPostRequestInformation(ctx context.Context, body ManagedDevicesItemWindowsDefenderScanPostRequestBodyable, requestConfiguration *ManagedDevicesItemWindowsDefenderScanRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_windows_defender_update_signatures_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_windows_defender_update_signatures_request_builder.go index d89de2607d..e71b9db293 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_windows_defender_update_signatures_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_windows_defender_update_signatures_request_builder.go @@ -33,11 +33,8 @@ func NewManagedDevicesItemWindowsDefenderUpdateSignaturesRequestBuilder(rawUrl s urlParams["request-raw-url"] = rawUrl return NewManagedDevicesItemWindowsDefenderUpdateSignaturesRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action windowsDefenderUpdateSignatures // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-windowsdefenderupdatesignatures?view=graph-rest-1.0 func (m *ManagedDevicesItemWindowsDefenderUpdateSignaturesRequestBuilder) Post(ctx context.Context, requestConfiguration *ManagedDevicesItemWindowsDefenderUpdateSignaturesRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -52,7 +49,7 @@ func (m *ManagedDevicesItemWindowsDefenderUpdateSignaturesRequestBuilder) Post(c } return nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action windowsDefenderUpdateSignatures // returns a *RequestInformation when successful func (m *ManagedDevicesItemWindowsDefenderUpdateSignaturesRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ManagedDevicesItemWindowsDefenderUpdateSignaturesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_wipe_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_wipe_request_builder.go index 8788d79c87..9f5cb1e60e 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_wipe_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_item_wipe_request_builder.go @@ -35,9 +35,6 @@ func NewManagedDevicesItemWipeRequestBuilder(rawUrl string, requestAdapter i2ae4 } // Post wipe a device // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-wipe?view=graph-rest-1.0 func (m *ManagedDevicesItemWipeRequestBuilder) Post(ctx context.Context, body ManagedDevicesItemWipePostRequestBodyable, requestConfiguration *ManagedDevicesItemWipeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_managed_device_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_managed_device_item_request_builder.go index 7eb2565476..0928406535 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_managed_device_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_managed_device_item_request_builder.go @@ -67,11 +67,8 @@ func NewManagedDevicesManagedDeviceItemRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewManagedDevicesManagedDeviceItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a managedDevice. +// Delete delete navigation property managedDevices for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-delete?view=graph-rest-1.0 func (m *ManagedDevicesManagedDeviceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ManagedDevicesManagedDeviceItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -206,7 +203,7 @@ func (m *ManagedDevicesManagedDeviceItemRequestBuilder) ShutDown()(*ManagedDevic func (m *ManagedDevicesManagedDeviceItemRequestBuilder) SyncDevice()(*ManagedDevicesItemSyncDeviceRequestBuilder) { return NewManagedDevicesItemSyncDeviceRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes a managedDevice. +// ToDeleteRequestInformation delete navigation property managedDevices for deviceManagement // returns a *RequestInformation when successful func (m *ManagedDevicesManagedDeviceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ManagedDevicesManagedDeviceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_request_builder.go index a4d9dd35b0..40d757ad4b 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/managed_devices_request_builder.go @@ -99,12 +99,9 @@ func (m *ManagedDevicesRequestBuilder) Get(ctx context.Context, requestConfigura } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceCollectionResponseable), nil } -// Post create a new managedDevice object. +// Post create new navigation property to managedDevices for deviceManagement // returns a ManagedDeviceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-create?view=graph-rest-1.0 func (m *ManagedDevicesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceable, requestConfiguration *ManagedDevicesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -136,7 +133,7 @@ func (m *ManagedDevicesRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new managedDevice object. +// ToPostRequestInformation create new navigation property to managedDevices for deviceManagement // returns a *RequestInformation when successful func (m *ManagedDevicesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceable, requestConfiguration *ManagedDevicesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go index 13f7d18672..012812120f 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go @@ -14,7 +14,7 @@ import ( type MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilderGetQueryParameters list properties and relationships of the appLogCollectionRequest objects. +// MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilderGetQueryParameters indicates collection of App Log Upload Request. type MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder) Count()(*MobileAppTroubleshootingEventsItemAppLogCollectionRequestsCountRequestBuilder) { return NewMobileAppTroubleshootingEventsItemAppLogCollectionRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the appLogCollectionRequest objects. +// Get indicates collection of App Log Upload Request. // returns a AppLogCollectionRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-applogcollectionrequest-list?view=graph-rest-1.0 func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AppLogCollectionRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilde } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AppLogCollectionRequestCollectionResponseable), nil } -// Post create a new appLogCollectionRequest object. +// Post create new navigation property to appLogCollectionRequests for deviceManagement // returns a AppLogCollectionRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-applogcollectionrequest-create?view=graph-rest-1.0 func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AppLogCollectionRequestable, requestConfiguration *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AppLogCollectionRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilde } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AppLogCollectionRequestable), nil } -// ToGetRequestInformation list properties and relationships of the appLogCollectionRequest objects. +// ToGetRequestInformation indicates collection of App Log Upload Request. // returns a *RequestInformation when successful func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new appLogCollectionRequest object. +// ToPostRequestInformation create new navigation property to appLogCollectionRequests for deviceManagement // returns a *RequestInformation when successful func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AppLogCollectionRequestable, requestConfiguration *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/mobile_app_troubleshooting_events_mobile_app_troubleshooting_event_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/mobile_app_troubleshooting_events_mobile_app_troubleshooting_event_item_request_builder.go index 8095d2c7b7..ebd77caaff 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/mobile_app_troubleshooting_events_mobile_app_troubleshooting_event_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/mobile_app_troubleshooting_events_mobile_app_troubleshooting_event_item_request_builder.go @@ -21,7 +21,7 @@ type MobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestBuilderGetQueryParameters read properties and relationships of the mobileAppTroubleshootingEvent object. +// MobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestBuilderGetQueryParameters the collection property of MobileAppTroubleshootingEvent. type MobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -62,11 +62,8 @@ func NewMobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestBu urlParams["request-raw-url"] = rawUrl return NewMobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a mobileAppTroubleshootingEvent. +// Delete delete navigation property mobileAppTroubleshootingEvents for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-mobileapptroubleshootingevent-delete?view=graph-rest-1.0 func (m *MobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *MobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -81,12 +78,9 @@ func (m *MobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestB } return nil } -// Get read properties and relationships of the mobileAppTroubleshootingEvent object. +// Get the collection property of MobileAppTroubleshootingEvent. // returns a MobileAppTroubleshootingEventable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-mobileapptroubleshootingevent-get?view=graph-rest-1.0 func (m *MobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppTroubleshootingEventable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +98,9 @@ func (m *MobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestB } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppTroubleshootingEventable), nil } -// Patch update the properties of a mobileAppTroubleshootingEvent object. +// Patch update the navigation property mobileAppTroubleshootingEvents in deviceManagement // returns a MobileAppTroubleshootingEventable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-mobileapptroubleshootingevent-update?view=graph-rest-1.0 func (m *MobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppTroubleshootingEventable, requestConfiguration *MobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppTroubleshootingEventable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +118,7 @@ func (m *MobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestB } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppTroubleshootingEventable), nil } -// ToDeleteRequestInformation deletes a mobileAppTroubleshootingEvent. +// ToDeleteRequestInformation delete navigation property mobileAppTroubleshootingEvents for deviceManagement // returns a *RequestInformation when successful func (m *MobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -138,7 +129,7 @@ func (m *MobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the mobileAppTroubleshootingEvent object. +// ToGetRequestInformation the collection property of MobileAppTroubleshootingEvent. // returns a *RequestInformation when successful func (m *MobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -152,7 +143,7 @@ func (m *MobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a mobileAppTroubleshootingEvent object. +// ToPatchRequestInformation update the navigation property mobileAppTroubleshootingEvents in deviceManagement // returns a *RequestInformation when successful func (m *MobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppTroubleshootingEventable, requestConfiguration *MobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/mobile_app_troubleshooting_events_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/mobile_app_troubleshooting_events_request_builder.go index e7cb2fac06..19680c411e 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/mobile_app_troubleshooting_events_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/mobile_app_troubleshooting_events_request_builder.go @@ -14,7 +14,7 @@ import ( type MobileAppTroubleshootingEventsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppTroubleshootingEventsRequestBuilderGetQueryParameters list properties and relationships of the mobileAppTroubleshootingEvent objects. +// MobileAppTroubleshootingEventsRequestBuilderGetQueryParameters the collection property of MobileAppTroubleshootingEvent. type MobileAppTroubleshootingEventsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewMobileAppTroubleshootingEventsRequestBuilder(rawUrl string, requestAdapt func (m *MobileAppTroubleshootingEventsRequestBuilder) Count()(*MobileAppTroubleshootingEventsCountRequestBuilder) { return NewMobileAppTroubleshootingEventsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the mobileAppTroubleshootingEvent objects. +// Get the collection property of MobileAppTroubleshootingEvent. // returns a MobileAppTroubleshootingEventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-mobileapptroubleshootingevent-list?view=graph-rest-1.0 func (m *MobileAppTroubleshootingEventsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppTroubleshootingEventsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppTroubleshootingEventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *MobileAppTroubleshootingEventsRequestBuilder) Get(ctx context.Context, } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppTroubleshootingEventCollectionResponseable), nil } -// Post create a new mobileAppTroubleshootingEvent object. +// Post create new navigation property to mobileAppTroubleshootingEvents for deviceManagement // returns a MobileAppTroubleshootingEventable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-mobileapptroubleshootingevent-create?view=graph-rest-1.0 func (m *MobileAppTroubleshootingEventsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppTroubleshootingEventable, requestConfiguration *MobileAppTroubleshootingEventsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppTroubleshootingEventable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *MobileAppTroubleshootingEventsRequestBuilder) Post(ctx context.Context, } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppTroubleshootingEventable), nil } -// ToGetRequestInformation list properties and relationships of the mobileAppTroubleshootingEvent objects. +// ToGetRequestInformation the collection property of MobileAppTroubleshootingEvent. // returns a *RequestInformation when successful func (m *MobileAppTroubleshootingEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppTroubleshootingEventsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *MobileAppTroubleshootingEventsRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new mobileAppTroubleshootingEvent object. +// ToPostRequestInformation create new navigation property to mobileAppTroubleshootingEvents for deviceManagement // returns a *RequestInformation when successful func (m *MobileAppTroubleshootingEventsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppTroubleshootingEventable, requestConfiguration *MobileAppTroubleshootingEventsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/mobile_threat_defense_connectors_mobile_threat_defense_connector_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/mobile_threat_defense_connectors_mobile_threat_defense_connector_item_request_builder.go index 1cb64dbf6b..5d70967d3c 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/mobile_threat_defense_connectors_mobile_threat_defense_connector_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/mobile_threat_defense_connectors_mobile_threat_defense_connector_item_request_builder.go @@ -21,7 +21,7 @@ type MobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBuilderGetQueryParameters read properties and relationships of the mobileThreatDefenseConnector object. +// MobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBuilderGetQueryParameters the list of Mobile threat Defense connectors configured by the tenant. type MobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewMobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBuil urlParams["request-raw-url"] = rawUrl return NewMobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a mobileThreatDefenseConnector. +// Delete delete navigation property mobileThreatDefenseConnectors for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-mobilethreatdefenseconnector-delete?view=graph-rest-1.0 func (m *MobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *MobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *MobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBui } return nil } -// Get read properties and relationships of the mobileThreatDefenseConnector object. +// Get the list of Mobile threat Defense connectors configured by the tenant. // returns a MobileThreatDefenseConnectorable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-mobilethreatdefenseconnector-get?view=graph-rest-1.0 func (m *MobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileThreatDefenseConnectorable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *MobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBui } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileThreatDefenseConnectorable), nil } -// Patch update the properties of a mobileThreatDefenseConnector object. +// Patch update the navigation property mobileThreatDefenseConnectors in deviceManagement // returns a MobileThreatDefenseConnectorable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-mobilethreatdefenseconnector-update?view=graph-rest-1.0 func (m *MobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileThreatDefenseConnectorable, requestConfiguration *MobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileThreatDefenseConnectorable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *MobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBui } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileThreatDefenseConnectorable), nil } -// ToDeleteRequestInformation deletes a mobileThreatDefenseConnector. +// ToDeleteRequestInformation delete navigation property mobileThreatDefenseConnectors for deviceManagement // returns a *RequestInformation when successful func (m *MobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *MobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the mobileThreatDefenseConnector object. +// ToGetRequestInformation the list of Mobile threat Defense connectors configured by the tenant. // returns a *RequestInformation when successful func (m *MobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *MobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a mobileThreatDefenseConnector object. +// ToPatchRequestInformation update the navigation property mobileThreatDefenseConnectors in deviceManagement // returns a *RequestInformation when successful func (m *MobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileThreatDefenseConnectorable, requestConfiguration *MobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/mobile_threat_defense_connectors_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/mobile_threat_defense_connectors_request_builder.go index 4a05b89bb4..809ef58450 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/mobile_threat_defense_connectors_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/mobile_threat_defense_connectors_request_builder.go @@ -14,7 +14,7 @@ import ( type MobileThreatDefenseConnectorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileThreatDefenseConnectorsRequestBuilderGetQueryParameters list properties and relationships of the mobileThreatDefenseConnector objects. +// MobileThreatDefenseConnectorsRequestBuilderGetQueryParameters the list of Mobile threat Defense connectors configured by the tenant. type MobileThreatDefenseConnectorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewMobileThreatDefenseConnectorsRequestBuilder(rawUrl string, requestAdapte func (m *MobileThreatDefenseConnectorsRequestBuilder) Count()(*MobileThreatDefenseConnectorsCountRequestBuilder) { return NewMobileThreatDefenseConnectorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the mobileThreatDefenseConnector objects. +// Get the list of Mobile threat Defense connectors configured by the tenant. // returns a MobileThreatDefenseConnectorCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-mobilethreatdefenseconnector-list?view=graph-rest-1.0 func (m *MobileThreatDefenseConnectorsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileThreatDefenseConnectorsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileThreatDefenseConnectorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *MobileThreatDefenseConnectorsRequestBuilder) Get(ctx context.Context, r } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileThreatDefenseConnectorCollectionResponseable), nil } -// Post create a new mobileThreatDefenseConnector object. +// Post create new navigation property to mobileThreatDefenseConnectors for deviceManagement // returns a MobileThreatDefenseConnectorable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-mobilethreatdefenseconnector-create?view=graph-rest-1.0 func (m *MobileThreatDefenseConnectorsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileThreatDefenseConnectorable, requestConfiguration *MobileThreatDefenseConnectorsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileThreatDefenseConnectorable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *MobileThreatDefenseConnectorsRequestBuilder) Post(ctx context.Context, } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileThreatDefenseConnectorable), nil } -// ToGetRequestInformation list properties and relationships of the mobileThreatDefenseConnector objects. +// ToGetRequestInformation the list of Mobile threat Defense connectors configured by the tenant. // returns a *RequestInformation when successful func (m *MobileThreatDefenseConnectorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileThreatDefenseConnectorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *MobileThreatDefenseConnectorsRequestBuilder) ToGetRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new mobileThreatDefenseConnector object. +// ToPostRequestInformation create new navigation property to mobileThreatDefenseConnectors for deviceManagement // returns a *RequestInformation when successful func (m *MobileThreatDefenseConnectorsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileThreatDefenseConnectorable, requestConfiguration *MobileThreatDefenseConnectorsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/notification_message_templates_item_localized_notification_messages_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/notification_message_templates_item_localized_notification_messages_request_builder.go index 884d7cf6e4..ab7e851a2a 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/notification_message_templates_item_localized_notification_messages_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/notification_message_templates_item_localized_notification_messages_request_builder.go @@ -14,7 +14,7 @@ import ( type NotificationMessageTemplatesItemLocalizedNotificationMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// NotificationMessageTemplatesItemLocalizedNotificationMessagesRequestBuilderGetQueryParameters list properties and relationships of the localizedNotificationMessage objects. +// NotificationMessageTemplatesItemLocalizedNotificationMessagesRequestBuilderGetQueryParameters the list of localized messages for this Notification Message Template. type NotificationMessageTemplatesItemLocalizedNotificationMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewNotificationMessageTemplatesItemLocalizedNotificationMessagesRequestBuil func (m *NotificationMessageTemplatesItemLocalizedNotificationMessagesRequestBuilder) Count()(*NotificationMessageTemplatesItemLocalizedNotificationMessagesCountRequestBuilder) { return NewNotificationMessageTemplatesItemLocalizedNotificationMessagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the localizedNotificationMessage objects. +// Get the list of localized messages for this Notification Message Template. // returns a LocalizedNotificationMessageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-notification-localizednotificationmessage-list?view=graph-rest-1.0 func (m *NotificationMessageTemplatesItemLocalizedNotificationMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *NotificationMessageTemplatesItemLocalizedNotificationMessagesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LocalizedNotificationMessageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *NotificationMessageTemplatesItemLocalizedNotificationMessagesRequestBui } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LocalizedNotificationMessageCollectionResponseable), nil } -// Post create a new localizedNotificationMessage object. +// Post create new navigation property to localizedNotificationMessages for deviceManagement // returns a LocalizedNotificationMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-notification-localizednotificationmessage-create?view=graph-rest-1.0 func (m *NotificationMessageTemplatesItemLocalizedNotificationMessagesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LocalizedNotificationMessageable, requestConfiguration *NotificationMessageTemplatesItemLocalizedNotificationMessagesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LocalizedNotificationMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *NotificationMessageTemplatesItemLocalizedNotificationMessagesRequestBui } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LocalizedNotificationMessageable), nil } -// ToGetRequestInformation list properties and relationships of the localizedNotificationMessage objects. +// ToGetRequestInformation the list of localized messages for this Notification Message Template. // returns a *RequestInformation when successful func (m *NotificationMessageTemplatesItemLocalizedNotificationMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *NotificationMessageTemplatesItemLocalizedNotificationMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *NotificationMessageTemplatesItemLocalizedNotificationMessagesRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new localizedNotificationMessage object. +// ToPostRequestInformation create new navigation property to localizedNotificationMessages for deviceManagement // returns a *RequestInformation when successful func (m *NotificationMessageTemplatesItemLocalizedNotificationMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LocalizedNotificationMessageable, requestConfiguration *NotificationMessageTemplatesItemLocalizedNotificationMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/notification_message_templates_item_send_test_message_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/notification_message_templates_item_send_test_message_request_builder.go index cac9cc89fc..1113848de5 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/notification_message_templates_item_send_test_message_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/notification_message_templates_item_send_test_message_request_builder.go @@ -35,9 +35,6 @@ func NewNotificationMessageTemplatesItemSendTestMessageRequestBuilder(rawUrl str } // Post sends test message using the specified notificationMessageTemplate in the default locale // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-notification-notificationmessagetemplate-sendtestmessage?view=graph-rest-1.0 func (m *NotificationMessageTemplatesItemSendTestMessageRequestBuilder) Post(ctx context.Context, requestConfiguration *NotificationMessageTemplatesItemSendTestMessageRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/notification_message_templates_notification_message_template_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/notification_message_templates_notification_message_template_item_request_builder.go index 6aa35a6ed9..1bdc6bd829 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/notification_message_templates_notification_message_template_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/notification_message_templates_notification_message_template_item_request_builder.go @@ -21,7 +21,7 @@ type NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuilderDe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuilderGetQueryParameters read properties and relationships of the notificationMessageTemplate object. +// NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuilderGetQueryParameters the Notification Message Templates. type NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewNotificationMessageTemplatesNotificationMessageTemplateItemRequestBuilde urlParams["request-raw-url"] = rawUrl return NewNotificationMessageTemplatesNotificationMessageTemplateItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a notificationMessageTemplate. +// Delete delete navigation property notificationMessageTemplates for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-notification-notificationmessagetemplate-delete?view=graph-rest-1.0 func (m *NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuild } return nil } -// Get read properties and relationships of the notificationMessageTemplate object. +// Get the Notification Message Templates. // returns a NotificationMessageTemplateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-notification-notificationmessagetemplate-get?view=graph-rest-1.0 func (m *NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuilder) Get(ctx context.Context, requestConfiguration *NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NotificationMessageTemplateable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +98,9 @@ func (m *NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuild func (m *NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuilder) LocalizedNotificationMessages()(*NotificationMessageTemplatesItemLocalizedNotificationMessagesRequestBuilder) { return NewNotificationMessageTemplatesItemLocalizedNotificationMessagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a notificationMessageTemplate object. +// Patch update the navigation property notificationMessageTemplates in deviceManagement // returns a NotificationMessageTemplateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-notification-notificationmessagetemplate-update?view=graph-rest-1.0 func (m *NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NotificationMessageTemplateable, requestConfiguration *NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NotificationMessageTemplateable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +123,7 @@ func (m *NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuild func (m *NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuilder) SendTestMessage()(*NotificationMessageTemplatesItemSendTestMessageRequestBuilder) { return NewNotificationMessageTemplatesItemSendTestMessageRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes a notificationMessageTemplate. +// ToDeleteRequestInformation delete navigation property notificationMessageTemplates for deviceManagement // returns a *RequestInformation when successful func (m *NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -143,7 +134,7 @@ func (m *NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the notificationMessageTemplate object. +// ToGetRequestInformation the Notification Message Templates. // returns a *RequestInformation when successful func (m *NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -157,7 +148,7 @@ func (m *NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a notificationMessageTemplate object. +// ToPatchRequestInformation update the navigation property notificationMessageTemplates in deviceManagement // returns a *RequestInformation when successful func (m *NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NotificationMessageTemplateable, requestConfiguration *NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/notification_message_templates_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/notification_message_templates_request_builder.go index 2b44b1de9b..610c87d5da 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/notification_message_templates_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/notification_message_templates_request_builder.go @@ -14,7 +14,7 @@ import ( type NotificationMessageTemplatesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// NotificationMessageTemplatesRequestBuilderGetQueryParameters list properties and relationships of the notificationMessageTemplate objects. +// NotificationMessageTemplatesRequestBuilderGetQueryParameters the Notification Message Templates. type NotificationMessageTemplatesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewNotificationMessageTemplatesRequestBuilder(rawUrl string, requestAdapter func (m *NotificationMessageTemplatesRequestBuilder) Count()(*NotificationMessageTemplatesCountRequestBuilder) { return NewNotificationMessageTemplatesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the notificationMessageTemplate objects. +// Get the Notification Message Templates. // returns a NotificationMessageTemplateCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-notification-notificationmessagetemplate-list?view=graph-rest-1.0 func (m *NotificationMessageTemplatesRequestBuilder) Get(ctx context.Context, requestConfiguration *NotificationMessageTemplatesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NotificationMessageTemplateCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *NotificationMessageTemplatesRequestBuilder) Get(ctx context.Context, re } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NotificationMessageTemplateCollectionResponseable), nil } -// Post create a new notificationMessageTemplate object. +// Post create new navigation property to notificationMessageTemplates for deviceManagement // returns a NotificationMessageTemplateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-notification-notificationmessagetemplate-create?view=graph-rest-1.0 func (m *NotificationMessageTemplatesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NotificationMessageTemplateable, requestConfiguration *NotificationMessageTemplatesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NotificationMessageTemplateable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *NotificationMessageTemplatesRequestBuilder) Post(ctx context.Context, b } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NotificationMessageTemplateable), nil } -// ToGetRequestInformation list properties and relationships of the notificationMessageTemplate objects. +// ToGetRequestInformation the Notification Message Templates. // returns a *RequestInformation when successful func (m *NotificationMessageTemplatesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *NotificationMessageTemplatesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *NotificationMessageTemplatesRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new notificationMessageTemplate object. +// ToPostRequestInformation create new navigation property to notificationMessageTemplates for deviceManagement // returns a *RequestInformation when successful func (m *NotificationMessageTemplatesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NotificationMessageTemplateable, requestConfiguration *NotificationMessageTemplatesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_export_jobs_device_management_export_job_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_export_jobs_device_management_export_job_item_request_builder.go index b275da0f8c..bba3dc48c1 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_export_jobs_device_management_export_job_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_export_jobs_device_management_export_job_item_request_builder.go @@ -21,7 +21,7 @@ type ReportsExportJobsDeviceManagementExportJobItemRequestBuilderDeleteRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ReportsExportJobsDeviceManagementExportJobItemRequestBuilderGetQueryParameters read properties and relationships of the deviceManagementExportJob object. +// ReportsExportJobsDeviceManagementExportJobItemRequestBuilderGetQueryParameters entity representing a job to export a report. type ReportsExportJobsDeviceManagementExportJobItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewReportsExportJobsDeviceManagementExportJobItemRequestBuilder(rawUrl stri urlParams["request-raw-url"] = rawUrl return NewReportsExportJobsDeviceManagementExportJobItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a deviceManagementExportJob. +// Delete delete navigation property exportJobs for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-reporting-devicemanagementexportjob-delete?view=graph-rest-1.0 func (m *ReportsExportJobsDeviceManagementExportJobItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ReportsExportJobsDeviceManagementExportJobItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *ReportsExportJobsDeviceManagementExportJobItemRequestBuilder) Delete(ct } return nil } -// Get read properties and relationships of the deviceManagementExportJob object. +// Get entity representing a job to export a report. // returns a DeviceManagementExportJobable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-reporting-devicemanagementexportjob-get?view=graph-rest-1.0 func (m *ReportsExportJobsDeviceManagementExportJobItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ReportsExportJobsDeviceManagementExportJobItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementExportJobable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *ReportsExportJobsDeviceManagementExportJobItemRequestBuilder) Get(ctx c } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementExportJobable), nil } -// Patch update the properties of a deviceManagementExportJob object. +// Patch update the navigation property exportJobs in deviceManagement // returns a DeviceManagementExportJobable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-reporting-devicemanagementexportjob-update?view=graph-rest-1.0 func (m *ReportsExportJobsDeviceManagementExportJobItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementExportJobable, requestConfiguration *ReportsExportJobsDeviceManagementExportJobItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementExportJobable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *ReportsExportJobsDeviceManagementExportJobItemRequestBuilder) Patch(ctx } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementExportJobable), nil } -// ToDeleteRequestInformation deletes a deviceManagementExportJob. +// ToDeleteRequestInformation delete navigation property exportJobs for deviceManagement // returns a *RequestInformation when successful func (m *ReportsExportJobsDeviceManagementExportJobItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ReportsExportJobsDeviceManagementExportJobItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *ReportsExportJobsDeviceManagementExportJobItemRequestBuilder) ToDeleteR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceManagementExportJob object. +// ToGetRequestInformation entity representing a job to export a report. // returns a *RequestInformation when successful func (m *ReportsExportJobsDeviceManagementExportJobItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ReportsExportJobsDeviceManagementExportJobItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *ReportsExportJobsDeviceManagementExportJobItemRequestBuilder) ToGetRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceManagementExportJob object. +// ToPatchRequestInformation update the navigation property exportJobs in deviceManagement // returns a *RequestInformation when successful func (m *ReportsExportJobsDeviceManagementExportJobItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementExportJobable, requestConfiguration *ReportsExportJobsDeviceManagementExportJobItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_export_jobs_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_export_jobs_request_builder.go index f553d77c23..e269453049 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_export_jobs_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_export_jobs_request_builder.go @@ -14,7 +14,7 @@ import ( type ReportsExportJobsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ReportsExportJobsRequestBuilderGetQueryParameters list properties and relationships of the deviceManagementExportJob objects. +// ReportsExportJobsRequestBuilderGetQueryParameters entity representing a job to export a report. type ReportsExportJobsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewReportsExportJobsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 func (m *ReportsExportJobsRequestBuilder) Count()(*ReportsExportJobsCountRequestBuilder) { return NewReportsExportJobsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the deviceManagementExportJob objects. +// Get entity representing a job to export a report. // returns a DeviceManagementExportJobCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-reporting-devicemanagementexportjob-list?view=graph-rest-1.0 func (m *ReportsExportJobsRequestBuilder) Get(ctx context.Context, requestConfiguration *ReportsExportJobsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementExportJobCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ReportsExportJobsRequestBuilder) Get(ctx context.Context, requestConfig } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementExportJobCollectionResponseable), nil } -// Post create a new deviceManagementExportJob object. +// Post create new navigation property to exportJobs for deviceManagement // returns a DeviceManagementExportJobable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-reporting-devicemanagementexportjob-create?view=graph-rest-1.0 func (m *ReportsExportJobsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementExportJobable, requestConfiguration *ReportsExportJobsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementExportJobable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ReportsExportJobsRequestBuilder) Post(ctx context.Context, body iadcd81 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementExportJobable), nil } -// ToGetRequestInformation list properties and relationships of the deviceManagementExportJob objects. +// ToGetRequestInformation entity representing a job to export a report. // returns a *RequestInformation when successful func (m *ReportsExportJobsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ReportsExportJobsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ReportsExportJobsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new deviceManagementExportJob object. +// ToPostRequestInformation create new navigation property to exportJobs for deviceManagement // returns a *RequestInformation when successful func (m *ReportsExportJobsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementExportJobable, requestConfiguration *ReportsExportJobsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_cached_report_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_cached_report_request_builder.go index 89bc490298..28e6bb0743 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_cached_report_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_cached_report_request_builder.go @@ -33,12 +33,9 @@ func NewReportsGetCachedReportRequestBuilder(rawUrl string, requestAdapter i2ae4 urlParams["request-raw-url"] = rawUrl return NewReportsGetCachedReportRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action getCachedReport // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-reporting-devicemanagementreports-getcachedreport?view=graph-rest-1.0 func (m *ReportsGetCachedReportRequestBuilder) Post(ctx context.Context, body ReportsGetCachedReportPostRequestBodyable, requestConfiguration *ReportsGetCachedReportRequestBuilderPostRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -56,7 +53,7 @@ func (m *ReportsGetCachedReportRequestBuilder) Post(ctx context.Context, body Re } return res.([]byte), nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action getCachedReport // returns a *RequestInformation when successful func (m *ReportsGetCachedReportRequestBuilder) ToPostRequestInformation(ctx context.Context, body ReportsGetCachedReportPostRequestBodyable, requestConfiguration *ReportsGetCachedReportRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_compliance_policy_non_compliance_report_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_compliance_policy_non_compliance_report_request_builder.go index b0708d7e7a..1c1daa1621 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_compliance_policy_non_compliance_report_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_compliance_policy_non_compliance_report_request_builder.go @@ -33,12 +33,9 @@ func NewReportsGetCompliancePolicyNonComplianceReportRequestBuilder(rawUrl strin urlParams["request-raw-url"] = rawUrl return NewReportsGetCompliancePolicyNonComplianceReportRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action getCompliancePolicyNonComplianceReport // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-reporting-devicemanagementreports-getcompliancepolicynoncompliancereport?view=graph-rest-1.0 func (m *ReportsGetCompliancePolicyNonComplianceReportRequestBuilder) Post(ctx context.Context, body ReportsGetCompliancePolicyNonComplianceReportPostRequestBodyable, requestConfiguration *ReportsGetCompliancePolicyNonComplianceReportRequestBuilderPostRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -56,7 +53,7 @@ func (m *ReportsGetCompliancePolicyNonComplianceReportRequestBuilder) Post(ctx c } return res.([]byte), nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action getCompliancePolicyNonComplianceReport // returns a *RequestInformation when successful func (m *ReportsGetCompliancePolicyNonComplianceReportRequestBuilder) ToPostRequestInformation(ctx context.Context, body ReportsGetCompliancePolicyNonComplianceReportPostRequestBodyable, requestConfiguration *ReportsGetCompliancePolicyNonComplianceReportRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_compliance_policy_non_compliance_summary_report_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_compliance_policy_non_compliance_summary_report_request_builder.go index 9a1e942dc3..caccb8cf76 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_compliance_policy_non_compliance_summary_report_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_compliance_policy_non_compliance_summary_report_request_builder.go @@ -33,12 +33,9 @@ func NewReportsGetCompliancePolicyNonComplianceSummaryReportRequestBuilder(rawUr urlParams["request-raw-url"] = rawUrl return NewReportsGetCompliancePolicyNonComplianceSummaryReportRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action getCompliancePolicyNonComplianceSummaryReport // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-reporting-devicemanagementreports-getcompliancepolicynoncompliancesummaryreport?view=graph-rest-1.0 func (m *ReportsGetCompliancePolicyNonComplianceSummaryReportRequestBuilder) Post(ctx context.Context, body ReportsGetCompliancePolicyNonComplianceSummaryReportPostRequestBodyable, requestConfiguration *ReportsGetCompliancePolicyNonComplianceSummaryReportRequestBuilderPostRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -56,7 +53,7 @@ func (m *ReportsGetCompliancePolicyNonComplianceSummaryReportRequestBuilder) Pos } return res.([]byte), nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action getCompliancePolicyNonComplianceSummaryReport // returns a *RequestInformation when successful func (m *ReportsGetCompliancePolicyNonComplianceSummaryReportRequestBuilder) ToPostRequestInformation(ctx context.Context, body ReportsGetCompliancePolicyNonComplianceSummaryReportPostRequestBodyable, requestConfiguration *ReportsGetCompliancePolicyNonComplianceSummaryReportRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_compliance_setting_non_compliance_report_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_compliance_setting_non_compliance_report_request_builder.go index df54d84ab4..0bb5b5157d 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_compliance_setting_non_compliance_report_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_compliance_setting_non_compliance_report_request_builder.go @@ -33,12 +33,9 @@ func NewReportsGetComplianceSettingNonComplianceReportRequestBuilder(rawUrl stri urlParams["request-raw-url"] = rawUrl return NewReportsGetComplianceSettingNonComplianceReportRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action getComplianceSettingNonComplianceReport // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-reporting-devicemanagementreports-getcompliancesettingnoncompliancereport?view=graph-rest-1.0 func (m *ReportsGetComplianceSettingNonComplianceReportRequestBuilder) Post(ctx context.Context, body ReportsGetComplianceSettingNonComplianceReportPostRequestBodyable, requestConfiguration *ReportsGetComplianceSettingNonComplianceReportRequestBuilderPostRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -56,7 +53,7 @@ func (m *ReportsGetComplianceSettingNonComplianceReportRequestBuilder) Post(ctx } return res.([]byte), nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action getComplianceSettingNonComplianceReport // returns a *RequestInformation when successful func (m *ReportsGetComplianceSettingNonComplianceReportRequestBuilder) ToPostRequestInformation(ctx context.Context, body ReportsGetComplianceSettingNonComplianceReportPostRequestBodyable, requestConfiguration *ReportsGetComplianceSettingNonComplianceReportRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_configuration_policy_non_compliance_report_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_configuration_policy_non_compliance_report_request_builder.go index 452166a682..f357f99259 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_configuration_policy_non_compliance_report_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_configuration_policy_non_compliance_report_request_builder.go @@ -33,12 +33,9 @@ func NewReportsGetConfigurationPolicyNonComplianceReportRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewReportsGetConfigurationPolicyNonComplianceReportRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action getConfigurationPolicyNonComplianceReport // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-reporting-devicemanagementreports-getconfigurationpolicynoncompliancereport?view=graph-rest-1.0 func (m *ReportsGetConfigurationPolicyNonComplianceReportRequestBuilder) Post(ctx context.Context, body ReportsGetConfigurationPolicyNonComplianceReportPostRequestBodyable, requestConfiguration *ReportsGetConfigurationPolicyNonComplianceReportRequestBuilderPostRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -56,7 +53,7 @@ func (m *ReportsGetConfigurationPolicyNonComplianceReportRequestBuilder) Post(ct } return res.([]byte), nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action getConfigurationPolicyNonComplianceReport // returns a *RequestInformation when successful func (m *ReportsGetConfigurationPolicyNonComplianceReportRequestBuilder) ToPostRequestInformation(ctx context.Context, body ReportsGetConfigurationPolicyNonComplianceReportPostRequestBodyable, requestConfiguration *ReportsGetConfigurationPolicyNonComplianceReportRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_configuration_policy_non_compliance_summary_report_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_configuration_policy_non_compliance_summary_report_request_builder.go index 3b36b53763..1cee93bf46 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_configuration_policy_non_compliance_summary_report_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_configuration_policy_non_compliance_summary_report_request_builder.go @@ -33,12 +33,9 @@ func NewReportsGetConfigurationPolicyNonComplianceSummaryReportRequestBuilder(ra urlParams["request-raw-url"] = rawUrl return NewReportsGetConfigurationPolicyNonComplianceSummaryReportRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action getConfigurationPolicyNonComplianceSummaryReport // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-reporting-devicemanagementreports-getconfigurationpolicynoncompliancesummaryreport?view=graph-rest-1.0 func (m *ReportsGetConfigurationPolicyNonComplianceSummaryReportRequestBuilder) Post(ctx context.Context, body ReportsGetConfigurationPolicyNonComplianceSummaryReportPostRequestBodyable, requestConfiguration *ReportsGetConfigurationPolicyNonComplianceSummaryReportRequestBuilderPostRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -56,7 +53,7 @@ func (m *ReportsGetConfigurationPolicyNonComplianceSummaryReportRequestBuilder) } return res.([]byte), nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action getConfigurationPolicyNonComplianceSummaryReport // returns a *RequestInformation when successful func (m *ReportsGetConfigurationPolicyNonComplianceSummaryReportRequestBuilder) ToPostRequestInformation(ctx context.Context, body ReportsGetConfigurationPolicyNonComplianceSummaryReportPostRequestBodyable, requestConfiguration *ReportsGetConfigurationPolicyNonComplianceSummaryReportRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_configuration_setting_non_compliance_report_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_configuration_setting_non_compliance_report_request_builder.go index 5c0232b77f..5bd6c98642 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_configuration_setting_non_compliance_report_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_configuration_setting_non_compliance_report_request_builder.go @@ -33,12 +33,9 @@ func NewReportsGetConfigurationSettingNonComplianceReportRequestBuilder(rawUrl s urlParams["request-raw-url"] = rawUrl return NewReportsGetConfigurationSettingNonComplianceReportRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action getConfigurationSettingNonComplianceReport // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-reporting-devicemanagementreports-getconfigurationsettingnoncompliancereport?view=graph-rest-1.0 func (m *ReportsGetConfigurationSettingNonComplianceReportRequestBuilder) Post(ctx context.Context, body ReportsGetConfigurationSettingNonComplianceReportPostRequestBodyable, requestConfiguration *ReportsGetConfigurationSettingNonComplianceReportRequestBuilderPostRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -56,7 +53,7 @@ func (m *ReportsGetConfigurationSettingNonComplianceReportRequestBuilder) Post(c } return res.([]byte), nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action getConfigurationSettingNonComplianceReport // returns a *RequestInformation when successful func (m *ReportsGetConfigurationSettingNonComplianceReportRequestBuilder) ToPostRequestInformation(ctx context.Context, body ReportsGetConfigurationSettingNonComplianceReportPostRequestBodyable, requestConfiguration *ReportsGetConfigurationSettingNonComplianceReportRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_device_management_intent_per_setting_contributing_profiles_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_device_management_intent_per_setting_contributing_profiles_request_builder.go index c03a5b8bc2..e8a7cf98d4 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_device_management_intent_per_setting_contributing_profiles_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_device_management_intent_per_setting_contributing_profiles_request_builder.go @@ -33,12 +33,9 @@ func NewReportsGetDeviceManagementIntentPerSettingContributingProfilesRequestBui urlParams["request-raw-url"] = rawUrl return NewReportsGetDeviceManagementIntentPerSettingContributingProfilesRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action getDeviceManagementIntentPerSettingContributingProfiles // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-reporting-devicemanagementreports-getdevicemanagementintentpersettingcontributingprofiles?view=graph-rest-1.0 func (m *ReportsGetDeviceManagementIntentPerSettingContributingProfilesRequestBuilder) Post(ctx context.Context, body ReportsGetDeviceManagementIntentPerSettingContributingProfilesPostRequestBodyable, requestConfiguration *ReportsGetDeviceManagementIntentPerSettingContributingProfilesRequestBuilderPostRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -56,7 +53,7 @@ func (m *ReportsGetDeviceManagementIntentPerSettingContributingProfilesRequestBu } return res.([]byte), nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action getDeviceManagementIntentPerSettingContributingProfiles // returns a *RequestInformation when successful func (m *ReportsGetDeviceManagementIntentPerSettingContributingProfilesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ReportsGetDeviceManagementIntentPerSettingContributingProfilesPostRequestBodyable, requestConfiguration *ReportsGetDeviceManagementIntentPerSettingContributingProfilesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_device_management_intent_settings_report_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_device_management_intent_settings_report_request_builder.go index 37ee428899..d4102a9892 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_device_management_intent_settings_report_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_device_management_intent_settings_report_request_builder.go @@ -33,12 +33,9 @@ func NewReportsGetDeviceManagementIntentSettingsReportRequestBuilder(rawUrl stri urlParams["request-raw-url"] = rawUrl return NewReportsGetDeviceManagementIntentSettingsReportRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action getDeviceManagementIntentSettingsReport // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-reporting-devicemanagementreports-getdevicemanagementintentsettingsreport?view=graph-rest-1.0 func (m *ReportsGetDeviceManagementIntentSettingsReportRequestBuilder) Post(ctx context.Context, body ReportsGetDeviceManagementIntentSettingsReportPostRequestBodyable, requestConfiguration *ReportsGetDeviceManagementIntentSettingsReportRequestBuilderPostRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -56,7 +53,7 @@ func (m *ReportsGetDeviceManagementIntentSettingsReportRequestBuilder) Post(ctx } return res.([]byte), nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action getDeviceManagementIntentSettingsReport // returns a *RequestInformation when successful func (m *ReportsGetDeviceManagementIntentSettingsReportRequestBuilder) ToPostRequestInformation(ctx context.Context, body ReportsGetDeviceManagementIntentSettingsReportPostRequestBodyable, requestConfiguration *ReportsGetDeviceManagementIntentSettingsReportRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_device_non_compliance_report_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_device_non_compliance_report_request_builder.go index bf43822245..73f38919c6 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_device_non_compliance_report_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_device_non_compliance_report_request_builder.go @@ -33,12 +33,9 @@ func NewReportsGetDeviceNonComplianceReportRequestBuilder(rawUrl string, request urlParams["request-raw-url"] = rawUrl return NewReportsGetDeviceNonComplianceReportRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action getDeviceNonComplianceReport // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-reporting-devicemanagementreports-getdevicenoncompliancereport?view=graph-rest-1.0 func (m *ReportsGetDeviceNonComplianceReportRequestBuilder) Post(ctx context.Context, body ReportsGetDeviceNonComplianceReportPostRequestBodyable, requestConfiguration *ReportsGetDeviceNonComplianceReportRequestBuilderPostRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -56,7 +53,7 @@ func (m *ReportsGetDeviceNonComplianceReportRequestBuilder) Post(ctx context.Con } return res.([]byte), nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action getDeviceNonComplianceReport // returns a *RequestInformation when successful func (m *ReportsGetDeviceNonComplianceReportRequestBuilder) ToPostRequestInformation(ctx context.Context, body ReportsGetDeviceNonComplianceReportPostRequestBodyable, requestConfiguration *ReportsGetDeviceNonComplianceReportRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_devices_without_compliance_policy_report_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_devices_without_compliance_policy_report_request_builder.go index a956c183bf..81d2c4eecb 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_devices_without_compliance_policy_report_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_devices_without_compliance_policy_report_request_builder.go @@ -33,12 +33,9 @@ func NewReportsGetDevicesWithoutCompliancePolicyReportRequestBuilder(rawUrl stri urlParams["request-raw-url"] = rawUrl return NewReportsGetDevicesWithoutCompliancePolicyReportRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action getDevicesWithoutCompliancePolicyReport // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-reporting-devicemanagementreports-getdeviceswithoutcompliancepolicyreport?view=graph-rest-1.0 func (m *ReportsGetDevicesWithoutCompliancePolicyReportRequestBuilder) Post(ctx context.Context, body ReportsGetDevicesWithoutCompliancePolicyReportPostRequestBodyable, requestConfiguration *ReportsGetDevicesWithoutCompliancePolicyReportRequestBuilderPostRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -56,7 +53,7 @@ func (m *ReportsGetDevicesWithoutCompliancePolicyReportRequestBuilder) Post(ctx } return res.([]byte), nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action getDevicesWithoutCompliancePolicyReport // returns a *RequestInformation when successful func (m *ReportsGetDevicesWithoutCompliancePolicyReportRequestBuilder) ToPostRequestInformation(ctx context.Context, body ReportsGetDevicesWithoutCompliancePolicyReportPostRequestBodyable, requestConfiguration *ReportsGetDevicesWithoutCompliancePolicyReportRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_historical_report_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_historical_report_request_builder.go index 235f907f14..289d5949b6 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_historical_report_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_historical_report_request_builder.go @@ -33,12 +33,9 @@ func NewReportsGetHistoricalReportRequestBuilder(rawUrl string, requestAdapter i urlParams["request-raw-url"] = rawUrl return NewReportsGetHistoricalReportRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action getHistoricalReport // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-reporting-devicemanagementreports-gethistoricalreport?view=graph-rest-1.0 func (m *ReportsGetHistoricalReportRequestBuilder) Post(ctx context.Context, body ReportsGetHistoricalReportPostRequestBodyable, requestConfiguration *ReportsGetHistoricalReportRequestBuilderPostRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -56,7 +53,7 @@ func (m *ReportsGetHistoricalReportRequestBuilder) Post(ctx context.Context, bod } return res.([]byte), nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action getHistoricalReport // returns a *RequestInformation when successful func (m *ReportsGetHistoricalReportRequestBuilder) ToPostRequestInformation(ctx context.Context, body ReportsGetHistoricalReportPostRequestBodyable, requestConfiguration *ReportsGetHistoricalReportRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_noncompliant_devices_and_settings_report_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_noncompliant_devices_and_settings_report_request_builder.go index 56c2e4a666..c7f292199e 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_noncompliant_devices_and_settings_report_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_noncompliant_devices_and_settings_report_request_builder.go @@ -33,12 +33,9 @@ func NewReportsGetNoncompliantDevicesAndSettingsReportRequestBuilder(rawUrl stri urlParams["request-raw-url"] = rawUrl return NewReportsGetNoncompliantDevicesAndSettingsReportRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action getNoncompliantDevicesAndSettingsReport // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-reporting-devicemanagementreports-getnoncompliantdevicesandsettingsreport?view=graph-rest-1.0 func (m *ReportsGetNoncompliantDevicesAndSettingsReportRequestBuilder) Post(ctx context.Context, body ReportsGetNoncompliantDevicesAndSettingsReportPostRequestBodyable, requestConfiguration *ReportsGetNoncompliantDevicesAndSettingsReportRequestBuilderPostRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -56,7 +53,7 @@ func (m *ReportsGetNoncompliantDevicesAndSettingsReportRequestBuilder) Post(ctx } return res.([]byte), nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action getNoncompliantDevicesAndSettingsReport // returns a *RequestInformation when successful func (m *ReportsGetNoncompliantDevicesAndSettingsReportRequestBuilder) ToPostRequestInformation(ctx context.Context, body ReportsGetNoncompliantDevicesAndSettingsReportPostRequestBodyable, requestConfiguration *ReportsGetNoncompliantDevicesAndSettingsReportRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_policy_non_compliance_metadata_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_policy_non_compliance_metadata_request_builder.go index e2a3f2ff1f..7f4b243c5c 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_policy_non_compliance_metadata_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_policy_non_compliance_metadata_request_builder.go @@ -33,12 +33,9 @@ func NewReportsGetPolicyNonComplianceMetadataRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewReportsGetPolicyNonComplianceMetadataRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action getPolicyNonComplianceMetadata // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-reporting-devicemanagementreports-getpolicynoncompliancemetadata?view=graph-rest-1.0 func (m *ReportsGetPolicyNonComplianceMetadataRequestBuilder) Post(ctx context.Context, body ReportsGetPolicyNonComplianceMetadataPostRequestBodyable, requestConfiguration *ReportsGetPolicyNonComplianceMetadataRequestBuilderPostRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -56,7 +53,7 @@ func (m *ReportsGetPolicyNonComplianceMetadataRequestBuilder) Post(ctx context.C } return res.([]byte), nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action getPolicyNonComplianceMetadata // returns a *RequestInformation when successful func (m *ReportsGetPolicyNonComplianceMetadataRequestBuilder) ToPostRequestInformation(ctx context.Context, body ReportsGetPolicyNonComplianceMetadataPostRequestBodyable, requestConfiguration *ReportsGetPolicyNonComplianceMetadataRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_policy_non_compliance_report_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_policy_non_compliance_report_request_builder.go index e1f2c2a538..eff276bd58 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_policy_non_compliance_report_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_policy_non_compliance_report_request_builder.go @@ -33,12 +33,9 @@ func NewReportsGetPolicyNonComplianceReportRequestBuilder(rawUrl string, request urlParams["request-raw-url"] = rawUrl return NewReportsGetPolicyNonComplianceReportRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action getPolicyNonComplianceReport // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-reporting-devicemanagementreports-getpolicynoncompliancereport?view=graph-rest-1.0 func (m *ReportsGetPolicyNonComplianceReportRequestBuilder) Post(ctx context.Context, body ReportsGetPolicyNonComplianceReportPostRequestBodyable, requestConfiguration *ReportsGetPolicyNonComplianceReportRequestBuilderPostRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -56,7 +53,7 @@ func (m *ReportsGetPolicyNonComplianceReportRequestBuilder) Post(ctx context.Con } return res.([]byte), nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action getPolicyNonComplianceReport // returns a *RequestInformation when successful func (m *ReportsGetPolicyNonComplianceReportRequestBuilder) ToPostRequestInformation(ctx context.Context, body ReportsGetPolicyNonComplianceReportPostRequestBodyable, requestConfiguration *ReportsGetPolicyNonComplianceReportRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_policy_non_compliance_summary_report_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_policy_non_compliance_summary_report_request_builder.go index d852c15c6e..bc3225126f 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_policy_non_compliance_summary_report_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_policy_non_compliance_summary_report_request_builder.go @@ -33,12 +33,9 @@ func NewReportsGetPolicyNonComplianceSummaryReportRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewReportsGetPolicyNonComplianceSummaryReportRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action getPolicyNonComplianceSummaryReport // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-reporting-devicemanagementreports-getpolicynoncompliancesummaryreport?view=graph-rest-1.0 func (m *ReportsGetPolicyNonComplianceSummaryReportRequestBuilder) Post(ctx context.Context, body ReportsGetPolicyNonComplianceSummaryReportPostRequestBodyable, requestConfiguration *ReportsGetPolicyNonComplianceSummaryReportRequestBuilderPostRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -56,7 +53,7 @@ func (m *ReportsGetPolicyNonComplianceSummaryReportRequestBuilder) Post(ctx cont } return res.([]byte), nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action getPolicyNonComplianceSummaryReport // returns a *RequestInformation when successful func (m *ReportsGetPolicyNonComplianceSummaryReportRequestBuilder) ToPostRequestInformation(ctx context.Context, body ReportsGetPolicyNonComplianceSummaryReportPostRequestBodyable, requestConfiguration *ReportsGetPolicyNonComplianceSummaryReportRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_report_filters_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_report_filters_request_builder.go index 49a06904ed..166bf1c332 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_report_filters_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_report_filters_request_builder.go @@ -33,12 +33,9 @@ func NewReportsGetReportFiltersRequestBuilder(rawUrl string, requestAdapter i2ae urlParams["request-raw-url"] = rawUrl return NewReportsGetReportFiltersRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action getReportFilters // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-reporting-devicemanagementreports-getreportfilters?view=graph-rest-1.0 func (m *ReportsGetReportFiltersRequestBuilder) Post(ctx context.Context, body ReportsGetReportFiltersPostRequestBodyable, requestConfiguration *ReportsGetReportFiltersRequestBuilderPostRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -56,7 +53,7 @@ func (m *ReportsGetReportFiltersRequestBuilder) Post(ctx context.Context, body R } return res.([]byte), nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action getReportFilters // returns a *RequestInformation when successful func (m *ReportsGetReportFiltersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ReportsGetReportFiltersPostRequestBodyable, requestConfiguration *ReportsGetReportFiltersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_setting_non_compliance_report_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_setting_non_compliance_report_request_builder.go index 4c314a4de0..620d63835b 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_setting_non_compliance_report_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_get_setting_non_compliance_report_request_builder.go @@ -33,12 +33,9 @@ func NewReportsGetSettingNonComplianceReportRequestBuilder(rawUrl string, reques urlParams["request-raw-url"] = rawUrl return NewReportsGetSettingNonComplianceReportRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action getSettingNonComplianceReport // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-reporting-devicemanagementreports-getsettingnoncompliancereport?view=graph-rest-1.0 func (m *ReportsGetSettingNonComplianceReportRequestBuilder) Post(ctx context.Context, body ReportsGetSettingNonComplianceReportPostRequestBodyable, requestConfiguration *ReportsGetSettingNonComplianceReportRequestBuilderPostRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -56,7 +53,7 @@ func (m *ReportsGetSettingNonComplianceReportRequestBuilder) Post(ctx context.Co } return res.([]byte), nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action getSettingNonComplianceReport // returns a *RequestInformation when successful func (m *ReportsGetSettingNonComplianceReportRequestBuilder) ToPostRequestInformation(ctx context.Context, body ReportsGetSettingNonComplianceReportPostRequestBodyable, requestConfiguration *ReportsGetSettingNonComplianceReportRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_request_builder.go index d205f340d6..fb9af7a6fa 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/reports_request_builder.go @@ -21,7 +21,7 @@ type ReportsRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ReportsRequestBuilderGetQueryParameters read properties and relationships of the deviceManagementReports object. +// ReportsRequestBuilderGetQueryParameters get reports from deviceManagement type ReportsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -78,12 +78,9 @@ func (m *ReportsRequestBuilder) Delete(ctx context.Context, requestConfiguration func (m *ReportsRequestBuilder) ExportJobs()(*ReportsExportJobsRequestBuilder) { return NewReportsExportJobsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the deviceManagementReports object. +// Get get reports from deviceManagement // returns a DeviceManagementReportsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-reporting-devicemanagementreports-get?view=graph-rest-1.0 func (m *ReportsRequestBuilder) Get(ctx context.Context, requestConfiguration *ReportsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementReportsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -191,12 +188,9 @@ func (m *ReportsRequestBuilder) GetReportFilters()(*ReportsGetReportFiltersReque func (m *ReportsRequestBuilder) GetSettingNonComplianceReport()(*ReportsGetSettingNonComplianceReportRequestBuilder) { return NewReportsGetSettingNonComplianceReportRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a deviceManagementReports object. +// Patch update the navigation property reports in deviceManagement // returns a DeviceManagementReportsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-reporting-devicemanagementreports-update?view=graph-rest-1.0 func (m *ReportsRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementReportsable, requestConfiguration *ReportsRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementReportsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -230,7 +224,7 @@ func (m *ReportsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceManagementReports object. +// ToGetRequestInformation get reports from deviceManagement // returns a *RequestInformation when successful func (m *ReportsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ReportsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -244,7 +238,7 @@ func (m *ReportsRequestBuilder) ToGetRequestInformation(ctx context.Context, req requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceManagementReports object. +// ToPatchRequestInformation update the navigation property reports in deviceManagement // returns a *RequestInformation when successful func (m *ReportsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementReportsable, requestConfiguration *ReportsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/resource_operations_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/resource_operations_request_builder.go index 25db3e6e99..f6255f7b7d 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/resource_operations_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/resource_operations_request_builder.go @@ -14,7 +14,7 @@ import ( type ResourceOperationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ResourceOperationsRequestBuilderGetQueryParameters list properties and relationships of the resourceOperation objects. +// ResourceOperationsRequestBuilderGetQueryParameters the Resource Operations. type ResourceOperationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewResourceOperationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *ResourceOperationsRequestBuilder) Count()(*ResourceOperationsCountRequestBuilder) { return NewResourceOperationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the resourceOperation objects. +// Get the Resource Operations. // returns a ResourceOperationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-resourceoperation-list?view=graph-rest-1.0 func (m *ResourceOperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ResourceOperationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ResourceOperationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ResourceOperationsRequestBuilder) Get(ctx context.Context, requestConfi } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ResourceOperationCollectionResponseable), nil } -// Post create a new resourceOperation object. +// Post create new navigation property to resourceOperations for deviceManagement // returns a ResourceOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-resourceoperation-create?view=graph-rest-1.0 func (m *ResourceOperationsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ResourceOperationable, requestConfiguration *ResourceOperationsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ResourceOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ResourceOperationsRequestBuilder) Post(ctx context.Context, body iadcd8 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ResourceOperationable), nil } -// ToGetRequestInformation list properties and relationships of the resourceOperation objects. +// ToGetRequestInformation the Resource Operations. // returns a *RequestInformation when successful func (m *ResourceOperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ResourceOperationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ResourceOperationsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new resourceOperation object. +// ToPostRequestInformation create new navigation property to resourceOperations for deviceManagement // returns a *RequestInformation when successful func (m *ResourceOperationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ResourceOperationable, requestConfiguration *ResourceOperationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/resource_operations_resource_operation_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/resource_operations_resource_operation_item_request_builder.go index c670441616..0fcdf6a008 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/resource_operations_resource_operation_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/resource_operations_resource_operation_item_request_builder.go @@ -21,7 +21,7 @@ type ResourceOperationsResourceOperationItemRequestBuilderDeleteRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ResourceOperationsResourceOperationItemRequestBuilderGetQueryParameters read properties and relationships of the resourceOperation object. +// ResourceOperationsResourceOperationItemRequestBuilderGetQueryParameters the Resource Operations. type ResourceOperationsResourceOperationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewResourceOperationsResourceOperationItemRequestBuilder(rawUrl string, req urlParams["request-raw-url"] = rawUrl return NewResourceOperationsResourceOperationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a resourceOperation. +// Delete delete navigation property resourceOperations for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-resourceoperation-delete?view=graph-rest-1.0 func (m *ResourceOperationsResourceOperationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ResourceOperationsResourceOperationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *ResourceOperationsResourceOperationItemRequestBuilder) Delete(ctx conte } return nil } -// Get read properties and relationships of the resourceOperation object. +// Get the Resource Operations. // returns a ResourceOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-resourceoperation-get?view=graph-rest-1.0 func (m *ResourceOperationsResourceOperationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ResourceOperationsResourceOperationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ResourceOperationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *ResourceOperationsResourceOperationItemRequestBuilder) Get(ctx context. } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ResourceOperationable), nil } -// Patch update the properties of a resourceOperation object. +// Patch update the navigation property resourceOperations in deviceManagement // returns a ResourceOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-resourceoperation-update?view=graph-rest-1.0 func (m *ResourceOperationsResourceOperationItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ResourceOperationable, requestConfiguration *ResourceOperationsResourceOperationItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ResourceOperationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *ResourceOperationsResourceOperationItemRequestBuilder) Patch(ctx contex } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ResourceOperationable), nil } -// ToDeleteRequestInformation deletes a resourceOperation. +// ToDeleteRequestInformation delete navigation property resourceOperations for deviceManagement // returns a *RequestInformation when successful func (m *ResourceOperationsResourceOperationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ResourceOperationsResourceOperationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *ResourceOperationsResourceOperationItemRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the resourceOperation object. +// ToGetRequestInformation the Resource Operations. // returns a *RequestInformation when successful func (m *ResourceOperationsResourceOperationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ResourceOperationsResourceOperationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *ResourceOperationsResourceOperationItemRequestBuilder) ToGetRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a resourceOperation object. +// ToPatchRequestInformation update the navigation property resourceOperations in deviceManagement // returns a *RequestInformation when successful func (m *ResourceOperationsResourceOperationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ResourceOperationable, requestConfiguration *ResourceOperationsResourceOperationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_assignments_device_and_app_management_role_assignment_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_assignments_device_and_app_management_role_assignment_item_request_builder.go index 78441a5f22..8ce7802ab7 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_assignments_device_and_app_management_role_assignment_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_assignments_device_and_app_management_role_assignment_item_request_builder.go @@ -21,7 +21,7 @@ type RoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilderDelete // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// RoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilderGetQueryParameters read properties and relationships of the deviceAndAppManagementRoleAssignment object. +// RoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilderGetQueryParameters the Role Assignments. type RoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewRoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilder(ra urlParams["request-raw-url"] = rawUrl return NewRoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a deviceAndAppManagementRoleAssignment. +// Delete delete navigation property roleAssignments for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroleassignment-delete?view=graph-rest-1.0 func (m *RoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *RoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *RoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilder) } return nil } -// Get read properties and relationships of the deviceAndAppManagementRoleAssignment object. +// Get the Role Assignments. // returns a DeviceAndAppManagementRoleAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroleassignment-get?view=graph-rest-1.0 func (m *RoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *RoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceAndAppManagementRoleAssignmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *RoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilder) } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceAndAppManagementRoleAssignmentable), nil } -// Patch update the properties of a deviceAndAppManagementRoleAssignment object. +// Patch update the navigation property roleAssignments in deviceManagement // returns a DeviceAndAppManagementRoleAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroleassignment-update?view=graph-rest-1.0 func (m *RoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceAndAppManagementRoleAssignmentable, requestConfiguration *RoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceAndAppManagementRoleAssignmentable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +118,7 @@ func (m *RoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilder) func (m *RoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilder) RoleDefinition()(*RoleAssignmentsItemRoleDefinitionRequestBuilder) { return NewRoleAssignmentsItemRoleDefinitionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes a deviceAndAppManagementRoleAssignment. +// ToDeleteRequestInformation delete navigation property roleAssignments for deviceManagement // returns a *RequestInformation when successful func (m *RoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *RoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -138,7 +129,7 @@ func (m *RoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceAndAppManagementRoleAssignment object. +// ToGetRequestInformation the Role Assignments. // returns a *RequestInformation when successful func (m *RoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -152,7 +143,7 @@ func (m *RoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceAndAppManagementRoleAssignment object. +// ToPatchRequestInformation update the navigation property roleAssignments in deviceManagement // returns a *RequestInformation when successful func (m *RoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceAndAppManagementRoleAssignmentable, requestConfiguration *RoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_assignments_item_role_definition_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_assignments_item_role_definition_request_builder.go index 2d4ae2d719..3fd0c25300 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_assignments_item_role_definition_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_assignments_item_role_definition_request_builder.go @@ -14,7 +14,7 @@ import ( type RoleAssignmentsItemRoleDefinitionRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RoleAssignmentsItemRoleDefinitionRequestBuilderGetQueryParameters role definition this assignment is part of. +// RoleAssignmentsItemRoleDefinitionRequestBuilderGetQueryParameters indicates the role definition for this role assignment. type RoleAssignmentsItemRoleDefinitionRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -43,7 +43,7 @@ func NewRoleAssignmentsItemRoleDefinitionRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewRoleAssignmentsItemRoleDefinitionRequestBuilderInternal(urlParams, requestAdapter) } -// Get role definition this assignment is part of. +// Get indicates the role definition for this role assignment. // returns a RoleDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *RoleAssignmentsItemRoleDefinitionRequestBuilder) Get(ctx context.Context, requestConfiguration *RoleAssignmentsItemRoleDefinitionRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable, error) { @@ -63,7 +63,7 @@ func (m *RoleAssignmentsItemRoleDefinitionRequestBuilder) Get(ctx context.Contex } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable), nil } -// ToGetRequestInformation role definition this assignment is part of. +// ToGetRequestInformation indicates the role definition for this role assignment. // returns a *RequestInformation when successful func (m *RoleAssignmentsItemRoleDefinitionRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RoleAssignmentsItemRoleDefinitionRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_assignments_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_assignments_request_builder.go index fc3008100d..ec6dddd8bc 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_assignments_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_assignments_request_builder.go @@ -14,7 +14,7 @@ import ( type RoleAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RoleAssignmentsRequestBuilderGetQueryParameters list properties and relationships of the deviceAndAppManagementRoleAssignment objects. +// RoleAssignmentsRequestBuilderGetQueryParameters the Role Assignments. type RoleAssignmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewRoleAssignmentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da func (m *RoleAssignmentsRequestBuilder) Count()(*RoleAssignmentsCountRequestBuilder) { return NewRoleAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the deviceAndAppManagementRoleAssignment objects. +// Get the Role Assignments. // returns a DeviceAndAppManagementRoleAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroleassignment-list?view=graph-rest-1.0 func (m *RoleAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *RoleAssignmentsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceAndAppManagementRoleAssignmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *RoleAssignmentsRequestBuilder) Get(ctx context.Context, requestConfigur } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceAndAppManagementRoleAssignmentCollectionResponseable), nil } -// Post create a new deviceAndAppManagementRoleAssignment object. +// Post create new navigation property to roleAssignments for deviceManagement // returns a DeviceAndAppManagementRoleAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroleassignment-create?view=graph-rest-1.0 func (m *RoleAssignmentsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceAndAppManagementRoleAssignmentable, requestConfiguration *RoleAssignmentsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceAndAppManagementRoleAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *RoleAssignmentsRequestBuilder) Post(ctx context.Context, body iadcd8112 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceAndAppManagementRoleAssignmentable), nil } -// ToGetRequestInformation list properties and relationships of the deviceAndAppManagementRoleAssignment objects. +// ToGetRequestInformation the Role Assignments. // returns a *RequestInformation when successful func (m *RoleAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RoleAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *RoleAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new deviceAndAppManagementRoleAssignment object. +// ToPostRequestInformation create new navigation property to roleAssignments for deviceManagement // returns a *RequestInformation when successful func (m *RoleAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceAndAppManagementRoleAssignmentable, requestConfiguration *RoleAssignmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_definitions_item_role_assignments_item_role_definition_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_definitions_item_role_assignments_item_role_definition_request_builder.go index f43fcfce69..868095c5f1 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_definitions_item_role_assignments_item_role_definition_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_definitions_item_role_assignments_item_role_definition_request_builder.go @@ -14,7 +14,7 @@ import ( type RoleDefinitionsItemRoleAssignmentsItemRoleDefinitionRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RoleDefinitionsItemRoleAssignmentsItemRoleDefinitionRequestBuilderGetQueryParameters role definition this assignment is part of. +// RoleDefinitionsItemRoleAssignmentsItemRoleDefinitionRequestBuilderGetQueryParameters indicates the role definition for this role assignment. type RoleDefinitionsItemRoleAssignmentsItemRoleDefinitionRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -43,7 +43,7 @@ func NewRoleDefinitionsItemRoleAssignmentsItemRoleDefinitionRequestBuilder(rawUr urlParams["request-raw-url"] = rawUrl return NewRoleDefinitionsItemRoleAssignmentsItemRoleDefinitionRequestBuilderInternal(urlParams, requestAdapter) } -// Get role definition this assignment is part of. +// Get indicates the role definition for this role assignment. // returns a RoleDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *RoleDefinitionsItemRoleAssignmentsItemRoleDefinitionRequestBuilder) Get(ctx context.Context, requestConfiguration *RoleDefinitionsItemRoleAssignmentsItemRoleDefinitionRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable, error) { @@ -63,7 +63,7 @@ func (m *RoleDefinitionsItemRoleAssignmentsItemRoleDefinitionRequestBuilder) Get } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable), nil } -// ToGetRequestInformation role definition this assignment is part of. +// ToGetRequestInformation indicates the role definition for this role assignment. // returns a *RequestInformation when successful func (m *RoleDefinitionsItemRoleAssignmentsItemRoleDefinitionRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RoleDefinitionsItemRoleAssignmentsItemRoleDefinitionRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_definitions_item_role_assignments_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_definitions_item_role_assignments_request_builder.go index 9175f99ab0..f5a3942fd8 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_definitions_item_role_assignments_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_definitions_item_role_assignments_request_builder.go @@ -14,7 +14,7 @@ import ( type RoleDefinitionsItemRoleAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RoleDefinitionsItemRoleAssignmentsRequestBuilderGetQueryParameters list properties and relationships of the roleAssignment objects. +// RoleDefinitionsItemRoleAssignmentsRequestBuilderGetQueryParameters list of Role assignments for this role definition. type RoleDefinitionsItemRoleAssignmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewRoleDefinitionsItemRoleAssignmentsRequestBuilder(rawUrl string, requestA func (m *RoleDefinitionsItemRoleAssignmentsRequestBuilder) Count()(*RoleDefinitionsItemRoleAssignmentsCountRequestBuilder) { return NewRoleDefinitionsItemRoleAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the roleAssignment objects. +// Get list of Role assignments for this role definition. // returns a RoleAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-roleassignment-list?view=graph-rest-1.0 func (m *RoleDefinitionsItemRoleAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *RoleDefinitionsItemRoleAssignmentsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleAssignmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *RoleDefinitionsItemRoleAssignmentsRequestBuilder) Get(ctx context.Conte } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleAssignmentCollectionResponseable), nil } -// Post create a new roleAssignment object. +// Post create new navigation property to roleAssignments for deviceManagement // returns a RoleAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-roleassignment-create?view=graph-rest-1.0 func (m *RoleDefinitionsItemRoleAssignmentsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleAssignmentable, requestConfiguration *RoleDefinitionsItemRoleAssignmentsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *RoleDefinitionsItemRoleAssignmentsRequestBuilder) Post(ctx context.Cont } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleAssignmentable), nil } -// ToGetRequestInformation list properties and relationships of the roleAssignment objects. +// ToGetRequestInformation list of Role assignments for this role definition. // returns a *RequestInformation when successful func (m *RoleDefinitionsItemRoleAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RoleDefinitionsItemRoleAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *RoleDefinitionsItemRoleAssignmentsRequestBuilder) ToGetRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new roleAssignment object. +// ToPostRequestInformation create new navigation property to roleAssignments for deviceManagement // returns a *RequestInformation when successful func (m *RoleDefinitionsItemRoleAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleAssignmentable, requestConfiguration *RoleDefinitionsItemRoleAssignmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_definitions_item_role_assignments_role_assignment_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_definitions_item_role_assignments_role_assignment_item_request_builder.go index 563be1468c..72fd3f7fe7 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_definitions_item_role_assignments_role_assignment_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_definitions_item_role_assignments_role_assignment_item_request_builder.go @@ -21,7 +21,7 @@ type RoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// RoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilderGetQueryParameters read properties and relationships of the roleAssignment object. +// RoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilderGetQueryParameters list of Role assignments for this role definition. type RoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewRoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilder(rawUr urlParams["request-raw-url"] = rawUrl return NewRoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a roleAssignment. +// Delete delete navigation property roleAssignments for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-roleassignment-delete?view=graph-rest-1.0 func (m *RoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *RoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *RoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilder) Del } return nil } -// Get read properties and relationships of the roleAssignment object. +// Get list of Role assignments for this role definition. // returns a RoleAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-roleassignment-get?view=graph-rest-1.0 func (m *RoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *RoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleAssignmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *RoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilder) Get } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleAssignmentable), nil } -// Patch update the properties of a roleAssignment object. +// Patch update the navigation property roleAssignments in deviceManagement // returns a RoleAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-roleassignment-update?view=graph-rest-1.0 func (m *RoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleAssignmentable, requestConfiguration *RoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleAssignmentable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +118,7 @@ func (m *RoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilder) Pat func (m *RoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilder) RoleDefinition()(*RoleDefinitionsItemRoleAssignmentsItemRoleDefinitionRequestBuilder) { return NewRoleDefinitionsItemRoleAssignmentsItemRoleDefinitionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes a roleAssignment. +// ToDeleteRequestInformation delete navigation property roleAssignments for deviceManagement // returns a *RequestInformation when successful func (m *RoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *RoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -138,7 +129,7 @@ func (m *RoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the roleAssignment object. +// ToGetRequestInformation list of Role assignments for this role definition. // returns a *RequestInformation when successful func (m *RoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -152,7 +143,7 @@ func (m *RoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilder) ToG requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a roleAssignment object. +// ToPatchRequestInformation update the navigation property roleAssignments in deviceManagement // returns a *RequestInformation when successful func (m *RoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleAssignmentable, requestConfiguration *RoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_definitions_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_definitions_request_builder.go index e9bb43750a..ee739a7e77 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_definitions_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_definitions_request_builder.go @@ -14,7 +14,7 @@ import ( type RoleDefinitionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RoleDefinitionsRequestBuilderGetQueryParameters list properties and relationships of the roleDefinition objects. +// RoleDefinitionsRequestBuilderGetQueryParameters the Role Definitions. type RoleDefinitionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewRoleDefinitionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da func (m *RoleDefinitionsRequestBuilder) Count()(*RoleDefinitionsCountRequestBuilder) { return NewRoleDefinitionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the roleDefinition objects. +// Get the Role Definitions. // returns a RoleDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-list?view=graph-rest-1.0 func (m *RoleDefinitionsRequestBuilder) Get(ctx context.Context, requestConfiguration *RoleDefinitionsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *RoleDefinitionsRequestBuilder) Get(ctx context.Context, requestConfigur } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionCollectionResponseable), nil } -// Post create a new deviceAndAppManagementRoleDefinition object. +// Post create new navigation property to roleDefinitions for deviceManagement // returns a RoleDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-create?view=graph-rest-1.0 func (m *RoleDefinitionsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable, requestConfiguration *RoleDefinitionsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *RoleDefinitionsRequestBuilder) Post(ctx context.Context, body iadcd8112 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable), nil } -// ToGetRequestInformation list properties and relationships of the roleDefinition objects. +// ToGetRequestInformation the Role Definitions. // returns a *RequestInformation when successful func (m *RoleDefinitionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RoleDefinitionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *RoleDefinitionsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new deviceAndAppManagementRoleDefinition object. +// ToPostRequestInformation create new navigation property to roleDefinitions for deviceManagement // returns a *RequestInformation when successful func (m *RoleDefinitionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable, requestConfiguration *RoleDefinitionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_definitions_role_definition_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_definitions_role_definition_item_request_builder.go index 45e5632d2b..3fe66242bb 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_definitions_role_definition_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/role_definitions_role_definition_item_request_builder.go @@ -21,7 +21,7 @@ type RoleDefinitionsRoleDefinitionItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// RoleDefinitionsRoleDefinitionItemRequestBuilderGetQueryParameters read properties and relationships of the deviceAndAppManagementRoleDefinition object. +// RoleDefinitionsRoleDefinitionItemRequestBuilderGetQueryParameters the Role Definitions. type RoleDefinitionsRoleDefinitionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewRoleDefinitionsRoleDefinitionItemRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewRoleDefinitionsRoleDefinitionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a roleDefinition. +// Delete delete navigation property roleDefinitions for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-delete?view=graph-rest-1.0 func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *RoleDefinitionsRoleDefinitionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) Delete(ctx context.Con } return nil } -// Get read properties and relationships of the deviceAndAppManagementRoleDefinition object. +// Get the Role Definitions. // returns a RoleDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-get?view=graph-rest-1.0 func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *RoleDefinitionsRoleDefinitionItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) Get(ctx context.Contex } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable), nil } -// Patch update the properties of a roleDefinition object. +// Patch update the navigation property roleDefinitions in deviceManagement // returns a RoleDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-update?view=graph-rest-1.0 func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable, requestConfiguration *RoleDefinitionsRoleDefinitionItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +118,7 @@ func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) Patch(ctx context.Cont func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) RoleAssignments()(*RoleDefinitionsItemRoleAssignmentsRequestBuilder) { return NewRoleDefinitionsItemRoleAssignmentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes a roleDefinition. +// ToDeleteRequestInformation delete navigation property roleDefinitions for deviceManagement // returns a *RequestInformation when successful func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *RoleDefinitionsRoleDefinitionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -138,7 +129,7 @@ func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceAndAppManagementRoleDefinition object. +// ToGetRequestInformation the Role Definitions. // returns a *RequestInformation when successful func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RoleDefinitionsRoleDefinitionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -152,7 +143,7 @@ func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a roleDefinition object. +// ToPatchRequestInformation update the navigation property roleDefinitions in deviceManagement // returns a *RequestInformation when successful func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable, requestConfiguration *RoleDefinitionsRoleDefinitionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/software_update_status_summary_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/software_update_status_summary_request_builder.go index 226501d48b..057bb782a4 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/software_update_status_summary_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/software_update_status_summary_request_builder.go @@ -14,7 +14,7 @@ import ( type SoftwareUpdateStatusSummaryRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SoftwareUpdateStatusSummaryRequestBuilderGetQueryParameters read properties and relationships of the softwareUpdateStatusSummary object. +// SoftwareUpdateStatusSummaryRequestBuilderGetQueryParameters the software update status summary. type SoftwareUpdateStatusSummaryRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -43,12 +43,9 @@ func NewSoftwareUpdateStatusSummaryRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewSoftwareUpdateStatusSummaryRequestBuilderInternal(urlParams, requestAdapter) } -// Get read properties and relationships of the softwareUpdateStatusSummary object. +// Get the software update status summary. // returns a SoftwareUpdateStatusSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-softwareupdatestatussummary-get?view=graph-rest-1.0 func (m *SoftwareUpdateStatusSummaryRequestBuilder) Get(ctx context.Context, requestConfiguration *SoftwareUpdateStatusSummaryRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SoftwareUpdateStatusSummaryable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,7 +63,7 @@ func (m *SoftwareUpdateStatusSummaryRequestBuilder) Get(ctx context.Context, req } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SoftwareUpdateStatusSummaryable), nil } -// ToGetRequestInformation read properties and relationships of the softwareUpdateStatusSummary object. +// ToGetRequestInformation the software update status summary. // returns a *RequestInformation when successful func (m *SoftwareUpdateStatusSummaryRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SoftwareUpdateStatusSummaryRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/telecom_expense_management_partners_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/telecom_expense_management_partners_request_builder.go deleted file mode 100644 index 5c1afb5482..0000000000 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/telecom_expense_management_partners_request_builder.go +++ /dev/null @@ -1,161 +0,0 @@ -// Code generated by Microsoft Kiota - DO NOT EDIT. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -package devicemanagement - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" - ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" -) - -// TelecomExpenseManagementPartnersRequestBuilder provides operations to manage the telecomExpenseManagementPartners property of the microsoft.graph.deviceManagement entity. -type TelecomExpenseManagementPartnersRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// TelecomExpenseManagementPartnersRequestBuilderGetQueryParameters list properties and relationships of the telecomExpenseManagementPartner objects. -type TelecomExpenseManagementPartnersRequestBuilderGetQueryParameters struct { - // Include count of items - Count *bool `uriparametername:"%24count"` - // Expand related entities - Expand []string `uriparametername:"%24expand"` - // Filter items by property values - Filter *string `uriparametername:"%24filter"` - // Order items by property values - Orderby []string `uriparametername:"%24orderby"` - // Search items by search phrases - Search *string `uriparametername:"%24search"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` - // Skip the first n items - Skip *int32 `uriparametername:"%24skip"` - // Show only the first n items - Top *int32 `uriparametername:"%24top"` -} -// TelecomExpenseManagementPartnersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type TelecomExpenseManagementPartnersRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *TelecomExpenseManagementPartnersRequestBuilderGetQueryParameters -} -// TelecomExpenseManagementPartnersRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type TelecomExpenseManagementPartnersRequestBuilderPostRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// ByTelecomExpenseManagementPartnerId provides operations to manage the telecomExpenseManagementPartners property of the microsoft.graph.deviceManagement entity. -// returns a *TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder when successful -func (m *TelecomExpenseManagementPartnersRequestBuilder) ByTelecomExpenseManagementPartnerId(telecomExpenseManagementPartnerId string)(*TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder) { - urlTplParams := make(map[string]string) - for idx, item := range m.BaseRequestBuilder.PathParameters { - urlTplParams[idx] = item - } - if telecomExpenseManagementPartnerId != "" { - urlTplParams["telecomExpenseManagementPartner%2Did"] = telecomExpenseManagementPartnerId - } - return NewTelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) -} -// NewTelecomExpenseManagementPartnersRequestBuilderInternal instantiates a new TelecomExpenseManagementPartnersRequestBuilder and sets the default values. -func NewTelecomExpenseManagementPartnersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TelecomExpenseManagementPartnersRequestBuilder) { - m := &TelecomExpenseManagementPartnersRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/telecomExpenseManagementPartners{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), - } - return m -} -// NewTelecomExpenseManagementPartnersRequestBuilder instantiates a new TelecomExpenseManagementPartnersRequestBuilder and sets the default values. -func NewTelecomExpenseManagementPartnersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TelecomExpenseManagementPartnersRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewTelecomExpenseManagementPartnersRequestBuilderInternal(urlParams, requestAdapter) -} -// Count provides operations to count the resources in the collection. -// returns a *TelecomExpenseManagementPartnersCountRequestBuilder when successful -func (m *TelecomExpenseManagementPartnersRequestBuilder) Count()(*TelecomExpenseManagementPartnersCountRequestBuilder) { - return NewTelecomExpenseManagementPartnersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// Get list properties and relationships of the telecomExpenseManagementPartner objects. -// returns a TelecomExpenseManagementPartnerCollectionResponseable when successful -// returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-tem-telecomexpensemanagementpartner-list?view=graph-rest-1.0 -func (m *TelecomExpenseManagementPartnersRequestBuilder) Get(ctx context.Context, requestConfiguration *TelecomExpenseManagementPartnersRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TelecomExpenseManagementPartnerCollectionResponseable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateTelecomExpenseManagementPartnerCollectionResponseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TelecomExpenseManagementPartnerCollectionResponseable), nil -} -// Post create a new telecomExpenseManagementPartner object. -// returns a TelecomExpenseManagementPartnerable when successful -// returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-tem-telecomexpensemanagementpartner-create?view=graph-rest-1.0 -func (m *TelecomExpenseManagementPartnersRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TelecomExpenseManagementPartnerable, requestConfiguration *TelecomExpenseManagementPartnersRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TelecomExpenseManagementPartnerable, error) { - requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateTelecomExpenseManagementPartnerFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TelecomExpenseManagementPartnerable), nil -} -// ToGetRequestInformation list properties and relationships of the telecomExpenseManagementPartner objects. -// returns a *RequestInformation when successful -func (m *TelecomExpenseManagementPartnersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TelecomExpenseManagementPartnersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.Headers.TryAdd("Accept", "application/json") - return requestInfo, nil -} -// ToPostRequestInformation create a new telecomExpenseManagementPartner object. -// returns a *RequestInformation when successful -func (m *TelecomExpenseManagementPartnersRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TelecomExpenseManagementPartnerable, requestConfiguration *TelecomExpenseManagementPartnersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.Headers.TryAdd("Accept", "application/json") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -// returns a *TelecomExpenseManagementPartnersRequestBuilder when successful -func (m *TelecomExpenseManagementPartnersRequestBuilder) WithUrl(rawUrl string)(*TelecomExpenseManagementPartnersRequestBuilder) { - return NewTelecomExpenseManagementPartnersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/telecom_expense_management_partners_telecom_expense_management_partner_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/telecom_expense_management_partners_telecom_expense_management_partner_item_request_builder.go deleted file mode 100644 index b6eb396669..0000000000 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/telecom_expense_management_partners_telecom_expense_management_partner_item_request_builder.go +++ /dev/null @@ -1,169 +0,0 @@ -// Code generated by Microsoft Kiota - DO NOT EDIT. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -package devicemanagement - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" - ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" -) - -// TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder provides operations to manage the telecomExpenseManagementPartners property of the microsoft.graph.deviceManagement entity. -type TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderDeleteRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderGetQueryParameters read properties and relationships of the telecomExpenseManagementPartner object. -type TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderGetQueryParameters struct { - // Expand related entities - Expand []string `uriparametername:"%24expand"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` -} -// TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderGetQueryParameters -} -// TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderPatchRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewTelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderInternal instantiates a new TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder and sets the default values. -func NewTelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder) { - m := &TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/telecomExpenseManagementPartners/{telecomExpenseManagementPartner%2Did}{?%24expand,%24select}", pathParameters), - } - return m -} -// NewTelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder instantiates a new TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder and sets the default values. -func NewTelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewTelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderInternal(urlParams, requestAdapter) -} -// Delete deletes a telecomExpenseManagementPartner. -// returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-tem-telecomexpensemanagementpartner-delete?view=graph-rest-1.0 -func (m *TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderDeleteRequestConfiguration)(error) { - requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); - if err != nil { - return err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, - } - err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) - if err != nil { - return err - } - return nil -} -// Get read properties and relationships of the telecomExpenseManagementPartner object. -// returns a TelecomExpenseManagementPartnerable when successful -// returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-tem-telecomexpensemanagementpartner-get?view=graph-rest-1.0 -func (m *TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TelecomExpenseManagementPartnerable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateTelecomExpenseManagementPartnerFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TelecomExpenseManagementPartnerable), nil -} -// Patch update the properties of a telecomExpenseManagementPartner object. -// returns a TelecomExpenseManagementPartnerable when successful -// returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-tem-telecomexpensemanagementpartner-update?view=graph-rest-1.0 -func (m *TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TelecomExpenseManagementPartnerable, requestConfiguration *TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TelecomExpenseManagementPartnerable, error) { - requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateTelecomExpenseManagementPartnerFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TelecomExpenseManagementPartnerable), nil -} -// ToDeleteRequestInformation deletes a telecomExpenseManagementPartner. -// returns a *RequestInformation when successful -func (m *TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.Headers.TryAdd("Accept", "application/json") - return requestInfo, nil -} -// ToGetRequestInformation read properties and relationships of the telecomExpenseManagementPartner object. -// returns a *RequestInformation when successful -func (m *TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.Headers.TryAdd("Accept", "application/json") - return requestInfo, nil -} -// ToPatchRequestInformation update the properties of a telecomExpenseManagementPartner object. -// returns a *RequestInformation when successful -func (m *TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TelecomExpenseManagementPartnerable, requestConfiguration *TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.Headers.TryAdd("Accept", "application/json") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -// returns a *TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder when successful -func (m *TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder) WithUrl(rawUrl string)(*TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder) { - return NewTelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/terms_and_conditions_item_acceptance_statuses_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/terms_and_conditions_item_acceptance_statuses_request_builder.go index f1eaed392b..c61290b47c 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/terms_and_conditions_item_acceptance_statuses_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/terms_and_conditions_item_acceptance_statuses_request_builder.go @@ -14,7 +14,7 @@ import ( type TermsAndConditionsItemAcceptanceStatusesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TermsAndConditionsItemAcceptanceStatusesRequestBuilderGetQueryParameters list properties and relationships of the termsAndConditionsAcceptanceStatus objects. +// TermsAndConditionsItemAcceptanceStatusesRequestBuilderGetQueryParameters the list of acceptance statuses for this T&C policy. type TermsAndConditionsItemAcceptanceStatusesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewTermsAndConditionsItemAcceptanceStatusesRequestBuilder(rawUrl string, re func (m *TermsAndConditionsItemAcceptanceStatusesRequestBuilder) Count()(*TermsAndConditionsItemAcceptanceStatusesCountRequestBuilder) { return NewTermsAndConditionsItemAcceptanceStatusesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the termsAndConditionsAcceptanceStatus objects. +// Get the list of acceptance statuses for this T&C policy. // returns a TermsAndConditionsAcceptanceStatusCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-companyterms-termsandconditionsacceptancestatus-list?view=graph-rest-1.0 func (m *TermsAndConditionsItemAcceptanceStatusesRequestBuilder) Get(ctx context.Context, requestConfiguration *TermsAndConditionsItemAcceptanceStatusesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsAcceptanceStatusCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *TermsAndConditionsItemAcceptanceStatusesRequestBuilder) Get(ctx context } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsAcceptanceStatusCollectionResponseable), nil } -// Post create a new termsAndConditionsAcceptanceStatus object. +// Post create new navigation property to acceptanceStatuses for deviceManagement // returns a TermsAndConditionsAcceptanceStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-companyterms-termsandconditionsacceptancestatus-create?view=graph-rest-1.0 func (m *TermsAndConditionsItemAcceptanceStatusesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsAcceptanceStatusable, requestConfiguration *TermsAndConditionsItemAcceptanceStatusesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsAcceptanceStatusable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *TermsAndConditionsItemAcceptanceStatusesRequestBuilder) Post(ctx contex } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsAcceptanceStatusable), nil } -// ToGetRequestInformation list properties and relationships of the termsAndConditionsAcceptanceStatus objects. +// ToGetRequestInformation the list of acceptance statuses for this T&C policy. // returns a *RequestInformation when successful func (m *TermsAndConditionsItemAcceptanceStatusesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TermsAndConditionsItemAcceptanceStatusesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *TermsAndConditionsItemAcceptanceStatusesRequestBuilder) ToGetRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new termsAndConditionsAcceptanceStatus object. +// ToPostRequestInformation create new navigation property to acceptanceStatuses for deviceManagement // returns a *RequestInformation when successful func (m *TermsAndConditionsItemAcceptanceStatusesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsAcceptanceStatusable, requestConfiguration *TermsAndConditionsItemAcceptanceStatusesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/terms_and_conditions_item_assignments_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/terms_and_conditions_item_assignments_request_builder.go index e8581a513f..b82bcc6dc7 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/terms_and_conditions_item_assignments_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/terms_and_conditions_item_assignments_request_builder.go @@ -14,7 +14,7 @@ import ( type TermsAndConditionsItemAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TermsAndConditionsItemAssignmentsRequestBuilderGetQueryParameters list properties and relationships of the termsAndConditionsAssignment objects. +// TermsAndConditionsItemAssignmentsRequestBuilderGetQueryParameters the list of assignments for this T&C policy. type TermsAndConditionsItemAssignmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewTermsAndConditionsItemAssignmentsRequestBuilder(rawUrl string, requestAd func (m *TermsAndConditionsItemAssignmentsRequestBuilder) Count()(*TermsAndConditionsItemAssignmentsCountRequestBuilder) { return NewTermsAndConditionsItemAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the termsAndConditionsAssignment objects. +// Get the list of assignments for this T&C policy. // returns a TermsAndConditionsAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-companyterms-termsandconditionsassignment-list?view=graph-rest-1.0 func (m *TermsAndConditionsItemAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *TermsAndConditionsItemAssignmentsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsAssignmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *TermsAndConditionsItemAssignmentsRequestBuilder) Get(ctx context.Contex } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsAssignmentCollectionResponseable), nil } -// Post create a new termsAndConditionsAssignment object. +// Post create new navigation property to assignments for deviceManagement // returns a TermsAndConditionsAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-companyterms-termsandconditionsassignment-create?view=graph-rest-1.0 func (m *TermsAndConditionsItemAssignmentsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsAssignmentable, requestConfiguration *TermsAndConditionsItemAssignmentsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *TermsAndConditionsItemAssignmentsRequestBuilder) Post(ctx context.Conte } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsAssignmentable), nil } -// ToGetRequestInformation list properties and relationships of the termsAndConditionsAssignment objects. +// ToGetRequestInformation the list of assignments for this T&C policy. // returns a *RequestInformation when successful func (m *TermsAndConditionsItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TermsAndConditionsItemAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *TermsAndConditionsItemAssignmentsRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new termsAndConditionsAssignment object. +// ToPostRequestInformation create new navigation property to assignments for deviceManagement // returns a *RequestInformation when successful func (m *TermsAndConditionsItemAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsAssignmentable, requestConfiguration *TermsAndConditionsItemAssignmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/terms_and_conditions_item_assignments_terms_and_conditions_assignment_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/terms_and_conditions_item_assignments_terms_and_conditions_assignment_item_request_builder.go index 53550305ea..909bb246c3 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/terms_and_conditions_item_assignments_terms_and_conditions_assignment_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/terms_and_conditions_item_assignments_terms_and_conditions_assignment_item_request_builder.go @@ -21,7 +21,7 @@ type TermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemRequestBui // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemRequestBuilderGetQueryParameters read properties and relationships of the termsAndConditionsAssignment object. +// TermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemRequestBuilderGetQueryParameters the list of assignments for this T&C policy. type TermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewTermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemRequest urlParams["request-raw-url"] = rawUrl return NewTermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a termsAndConditionsAssignment. +// Delete delete navigation property assignments for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-companyterms-termsandconditionsassignment-delete?view=graph-rest-1.0 func (m *TermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *TermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemReques } return nil } -// Get read properties and relationships of the termsAndConditionsAssignment object. +// Get the list of assignments for this T&C policy. // returns a TermsAndConditionsAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-companyterms-termsandconditionsassignment-get?view=graph-rest-1.0 func (m *TermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsAssignmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *TermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemReques } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsAssignmentable), nil } -// Patch update the properties of a termsAndConditionsAssignment object. +// Patch update the navigation property assignments in deviceManagement // returns a TermsAndConditionsAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-companyterms-termsandconditionsassignment-update?view=graph-rest-1.0 func (m *TermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsAssignmentable, requestConfiguration *TermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsAssignmentable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *TermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemReques } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsAssignmentable), nil } -// ToDeleteRequestInformation deletes a termsAndConditionsAssignment. +// ToDeleteRequestInformation delete navigation property assignments for deviceManagement // returns a *RequestInformation when successful func (m *TermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *TermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the termsAndConditionsAssignment object. +// ToGetRequestInformation the list of assignments for this T&C policy. // returns a *RequestInformation when successful func (m *TermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *TermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a termsAndConditionsAssignment object. +// ToPatchRequestInformation update the navigation property assignments in deviceManagement // returns a *RequestInformation when successful func (m *TermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsAssignmentable, requestConfiguration *TermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/terms_and_conditions_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/terms_and_conditions_request_builder.go index 1fa129fdc4..3c881027f0 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/terms_and_conditions_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/terms_and_conditions_request_builder.go @@ -14,7 +14,7 @@ import ( type TermsAndConditionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TermsAndConditionsRequestBuilderGetQueryParameters list properties and relationships of the termsAndConditions objects. +// TermsAndConditionsRequestBuilderGetQueryParameters the terms and conditions associated with device management of the company. type TermsAndConditionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewTermsAndConditionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *TermsAndConditionsRequestBuilder) Count()(*TermsAndConditionsCountRequestBuilder) { return NewTermsAndConditionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the termsAndConditions objects. +// Get the terms and conditions associated with device management of the company. // returns a TermsAndConditionsCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-companyterms-termsandconditions-list?view=graph-rest-1.0 func (m *TermsAndConditionsRequestBuilder) Get(ctx context.Context, requestConfiguration *TermsAndConditionsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *TermsAndConditionsRequestBuilder) Get(ctx context.Context, requestConfi } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsCollectionResponseable), nil } -// Post create a new termsAndConditions object. +// Post create new navigation property to termsAndConditions for deviceManagement // returns a TermsAndConditionsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-companyterms-termsandconditions-create?view=graph-rest-1.0 func (m *TermsAndConditionsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsable, requestConfiguration *TermsAndConditionsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *TermsAndConditionsRequestBuilder) Post(ctx context.Context, body iadcd8 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsable), nil } -// ToGetRequestInformation list properties and relationships of the termsAndConditions objects. +// ToGetRequestInformation the terms and conditions associated with device management of the company. // returns a *RequestInformation when successful func (m *TermsAndConditionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TermsAndConditionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *TermsAndConditionsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new termsAndConditions object. +// ToPostRequestInformation create new navigation property to termsAndConditions for deviceManagement // returns a *RequestInformation when successful func (m *TermsAndConditionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsable, requestConfiguration *TermsAndConditionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/terms_and_conditions_terms_and_conditions_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/terms_and_conditions_terms_and_conditions_item_request_builder.go index d8821a2c2d..1e0e22112f 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/terms_and_conditions_terms_and_conditions_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/terms_and_conditions_terms_and_conditions_item_request_builder.go @@ -21,7 +21,7 @@ type TermsAndConditionsTermsAndConditionsItemRequestBuilderDeleteRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TermsAndConditionsTermsAndConditionsItemRequestBuilderGetQueryParameters read properties and relationships of the termsAndConditions object. +// TermsAndConditionsTermsAndConditionsItemRequestBuilderGetQueryParameters the terms and conditions associated with device management of the company. type TermsAndConditionsTermsAndConditionsItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -67,11 +67,8 @@ func NewTermsAndConditionsTermsAndConditionsItemRequestBuilder(rawUrl string, re urlParams["request-raw-url"] = rawUrl return NewTermsAndConditionsTermsAndConditionsItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a termsAndConditions. +// Delete delete navigation property termsAndConditions for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-companyterms-termsandconditions-delete?view=graph-rest-1.0 func (m *TermsAndConditionsTermsAndConditionsItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TermsAndConditionsTermsAndConditionsItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,12 +83,9 @@ func (m *TermsAndConditionsTermsAndConditionsItemRequestBuilder) Delete(ctx cont } return nil } -// Get read properties and relationships of the termsAndConditions object. +// Get the terms and conditions associated with device management of the company. // returns a TermsAndConditionsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-companyterms-termsandconditions-get?view=graph-rest-1.0 func (m *TermsAndConditionsTermsAndConditionsItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TermsAndConditionsTermsAndConditionsItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -109,12 +103,9 @@ func (m *TermsAndConditionsTermsAndConditionsItemRequestBuilder) Get(ctx context } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsable), nil } -// Patch update the properties of a termsAndConditions object. +// Patch update the navigation property termsAndConditions in deviceManagement // returns a TermsAndConditionsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-companyterms-termsandconditions-update?view=graph-rest-1.0 func (m *TermsAndConditionsTermsAndConditionsItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsable, requestConfiguration *TermsAndConditionsTermsAndConditionsItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +123,7 @@ func (m *TermsAndConditionsTermsAndConditionsItemRequestBuilder) Patch(ctx conte } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsable), nil } -// ToDeleteRequestInformation deletes a termsAndConditions. +// ToDeleteRequestInformation delete navigation property termsAndConditions for deviceManagement // returns a *RequestInformation when successful func (m *TermsAndConditionsTermsAndConditionsItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TermsAndConditionsTermsAndConditionsItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -143,7 +134,7 @@ func (m *TermsAndConditionsTermsAndConditionsItemRequestBuilder) ToDeleteRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the termsAndConditions object. +// ToGetRequestInformation the terms and conditions associated with device management of the company. // returns a *RequestInformation when successful func (m *TermsAndConditionsTermsAndConditionsItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TermsAndConditionsTermsAndConditionsItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -157,7 +148,7 @@ func (m *TermsAndConditionsTermsAndConditionsItemRequestBuilder) ToGetRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a termsAndConditions object. +// ToPatchRequestInformation update the navigation property termsAndConditions in deviceManagement // returns a *RequestInformation when successful func (m *TermsAndConditionsTermsAndConditionsItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TermsAndConditionsable, requestConfiguration *TermsAndConditionsTermsAndConditionsItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_cloud_p_cs_cloud_p_c_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_cloud_p_cs_cloud_p_c_item_request_builder.go index b762be8a51..f6a4316cc1 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_cloud_p_cs_cloud_p_c_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_cloud_p_cs_cloud_p_c_item_request_builder.go @@ -131,6 +131,11 @@ func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) Reboot()(*VirtualEndp func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) Rename()(*VirtualEndpointCloudPCsItemRenameRequestBuilder) { return NewVirtualEndpointCloudPCsItemRenameRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// Reprovision provides operations to call the reprovision method. +// returns a *VirtualEndpointCloudPCsItemReprovisionRequestBuilder when successful +func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) Reprovision()(*VirtualEndpointCloudPCsItemReprovisionRequestBuilder) { + return NewVirtualEndpointCloudPCsItemReprovisionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Resize provides operations to call the resize method. // returns a *VirtualEndpointCloudPCsItemResizeRequestBuilder when successful func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) Resize()(*VirtualEndpointCloudPCsItemResizeRequestBuilder) { @@ -141,6 +146,11 @@ func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) Resize()(*VirtualEndp func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) Restore()(*VirtualEndpointCloudPCsItemRestoreRequestBuilder) { return NewVirtualEndpointCloudPCsItemRestoreRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// RetrieveCloudPcLaunchDetail provides operations to call the retrieveCloudPcLaunchDetail method. +// returns a *VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder when successful +func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) RetrieveCloudPcLaunchDetail()(*VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder) { + return NewVirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToDeleteRequestInformation delete navigation property cloudPCs for deviceManagement // returns a *RequestInformation when successful func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsCloudPCItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_cloud_p_cs_item_reprovision_post_request_body.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_cloud_p_cs_item_reprovision_post_request_body.go new file mode 100644 index 0000000000..0bf78e0a0c --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_cloud_p_cs_item_reprovision_post_request_body.go @@ -0,0 +1,156 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package devicemanagement + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type VirtualEndpointCloudPCsItemReprovisionPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewVirtualEndpointCloudPCsItemReprovisionPostRequestBody instantiates a new VirtualEndpointCloudPCsItemReprovisionPostRequestBody and sets the default values. +func NewVirtualEndpointCloudPCsItemReprovisionPostRequestBody()(*VirtualEndpointCloudPCsItemReprovisionPostRequestBody) { + m := &VirtualEndpointCloudPCsItemReprovisionPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateVirtualEndpointCloudPCsItemReprovisionPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateVirtualEndpointCloudPCsItemReprovisionPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewVirtualEndpointCloudPCsItemReprovisionPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *VirtualEndpointCloudPCsItemReprovisionPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *VirtualEndpointCloudPCsItemReprovisionPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *VirtualEndpointCloudPCsItemReprovisionPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["osVersion"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ParseCloudPcOperatingSystem) + if err != nil { + return err + } + if val != nil { + m.SetOsVersion(val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcOperatingSystem)) + } + return nil + } + res["userAccountType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ParseCloudPcUserAccountType) + if err != nil { + return err + } + if val != nil { + m.SetUserAccountType(val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcUserAccountType)) + } + return nil + } + return res +} +// GetOsVersion gets the osVersion property value. The osVersion property +// returns a *CloudPcOperatingSystem when successful +func (m *VirtualEndpointCloudPCsItemReprovisionPostRequestBody) GetOsVersion()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcOperatingSystem) { + val, err := m.GetBackingStore().Get("osVersion") + if err != nil { + panic(err) + } + if val != nil { + return val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcOperatingSystem) + } + return nil +} +// GetUserAccountType gets the userAccountType property value. The userAccountType property +// returns a *CloudPcUserAccountType when successful +func (m *VirtualEndpointCloudPCsItemReprovisionPostRequestBody) GetUserAccountType()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcUserAccountType) { + val, err := m.GetBackingStore().Get("userAccountType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcUserAccountType) + } + return nil +} +// Serialize serializes information the current object +func (m *VirtualEndpointCloudPCsItemReprovisionPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetOsVersion() != nil { + cast := (*m.GetOsVersion()).String() + err := writer.WriteStringValue("osVersion", &cast) + if err != nil { + return err + } + } + if m.GetUserAccountType() != nil { + cast := (*m.GetUserAccountType()).String() + err := writer.WriteStringValue("userAccountType", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *VirtualEndpointCloudPCsItemReprovisionPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *VirtualEndpointCloudPCsItemReprovisionPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOsVersion sets the osVersion property value. The osVersion property +func (m *VirtualEndpointCloudPCsItemReprovisionPostRequestBody) SetOsVersion(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcOperatingSystem)() { + err := m.GetBackingStore().Set("osVersion", value) + if err != nil { + panic(err) + } +} +// SetUserAccountType sets the userAccountType property value. The userAccountType property +func (m *VirtualEndpointCloudPCsItemReprovisionPostRequestBody) SetUserAccountType(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcUserAccountType)() { + err := m.GetBackingStore().Set("userAccountType", value) + if err != nil { + panic(err) + } +} +type VirtualEndpointCloudPCsItemReprovisionPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOsVersion()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcOperatingSystem) + GetUserAccountType()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcUserAccountType) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOsVersion(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcOperatingSystem)() + SetUserAccountType(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcUserAccountType)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_cloud_p_cs_item_reprovision_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_cloud_p_cs_item_reprovision_request_builder.go new file mode 100644 index 0000000000..b6b0d372bd --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_cloud_p_cs_item_reprovision_request_builder.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// VirtualEndpointCloudPCsItemReprovisionRequestBuilder provides operations to call the reprovision method. +type VirtualEndpointCloudPCsItemReprovisionRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEndpointCloudPCsItemReprovisionRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEndpointCloudPCsItemReprovisionRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewVirtualEndpointCloudPCsItemReprovisionRequestBuilderInternal instantiates a new VirtualEndpointCloudPCsItemReprovisionRequestBuilder and sets the default values. +func NewVirtualEndpointCloudPCsItemReprovisionRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointCloudPCsItemReprovisionRequestBuilder) { + m := &VirtualEndpointCloudPCsItemReprovisionRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/reprovision", pathParameters), + } + return m +} +// NewVirtualEndpointCloudPCsItemReprovisionRequestBuilder instantiates a new VirtualEndpointCloudPCsItemReprovisionRequestBuilder and sets the default values. +func NewVirtualEndpointCloudPCsItemReprovisionRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointCloudPCsItemReprovisionRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEndpointCloudPCsItemReprovisionRequestBuilderInternal(urlParams, requestAdapter) +} +// Post reprovision a specific Cloud PC. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-reprovision?view=graph-rest-1.0 +func (m *VirtualEndpointCloudPCsItemReprovisionRequestBuilder) Post(ctx context.Context, body VirtualEndpointCloudPCsItemReprovisionPostRequestBodyable, requestConfiguration *VirtualEndpointCloudPCsItemReprovisionRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation reprovision a specific Cloud PC. +// returns a *RequestInformation when successful +func (m *VirtualEndpointCloudPCsItemReprovisionRequestBuilder) ToPostRequestInformation(ctx context.Context, body VirtualEndpointCloudPCsItemReprovisionPostRequestBodyable, requestConfiguration *VirtualEndpointCloudPCsItemReprovisionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *VirtualEndpointCloudPCsItemReprovisionRequestBuilder when successful +func (m *VirtualEndpointCloudPCsItemReprovisionRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointCloudPCsItemReprovisionRequestBuilder) { + return NewVirtualEndpointCloudPCsItemReprovisionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_cloud_p_cs_item_retrieve_cloud_pc_launch_detail_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_cloud_p_cs_item_retrieve_cloud_pc_launch_detail_request_builder.go new file mode 100644 index 0000000000..ea01eae9af --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_cloud_p_cs_item_retrieve_cloud_pc_launch_detail_request_builder.go @@ -0,0 +1,75 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder provides operations to call the retrieveCloudPcLaunchDetail method. +type VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewVirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilderInternal instantiates a new VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder and sets the default values. +func NewVirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder) { + m := &VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/retrieveCloudPcLaunchDetail()", pathParameters), + } + return m +} +// NewVirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder instantiates a new VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder and sets the default values. +func NewVirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the cloudPcLaunchDetail for a specific cloudPC that belongs to the current signed-in user. +// returns a CloudPcLaunchDetailable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-retrievecloudpclaunchdetail?view=graph-rest-1.0 +func (m *VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcLaunchDetailable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCloudPcLaunchDetailFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcLaunchDetailable), nil +} +// ToGetRequestInformation get the cloudPcLaunchDetail for a specific cloudPC that belongs to the current signed-in user. +// returns a *RequestInformation when successful +func (m *VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder when successful +func (m *VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder) { + return NewVirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_report_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_report_request_builder.go new file mode 100644 index 0000000000..ac968a838f --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_report_request_builder.go @@ -0,0 +1,165 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// VirtualEndpointReportRequestBuilder provides operations to manage the report property of the microsoft.graph.virtualEndpoint entity. +type VirtualEndpointReportRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEndpointReportRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEndpointReportRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// VirtualEndpointReportRequestBuilderGetQueryParameters cloud PC-related reports. Read-only. +type VirtualEndpointReportRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// VirtualEndpointReportRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEndpointReportRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *VirtualEndpointReportRequestBuilderGetQueryParameters +} +// VirtualEndpointReportRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEndpointReportRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewVirtualEndpointReportRequestBuilderInternal instantiates a new VirtualEndpointReportRequestBuilder and sets the default values. +func NewVirtualEndpointReportRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointReportRequestBuilder) { + m := &VirtualEndpointReportRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/report{?%24expand,%24select}", pathParameters), + } + return m +} +// NewVirtualEndpointReportRequestBuilder instantiates a new VirtualEndpointReportRequestBuilder and sets the default values. +func NewVirtualEndpointReportRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointReportRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEndpointReportRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property report for deviceManagement +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *VirtualEndpointReportRequestBuilder) Delete(ctx context.Context, requestConfiguration *VirtualEndpointReportRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get cloud PC-related reports. Read-only. +// returns a CloudPcReportable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *VirtualEndpointReportRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointReportRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcReportable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCloudPcReportFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcReportable), nil +} +// Patch update the navigation property report in deviceManagement +// returns a CloudPcReportable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *VirtualEndpointReportRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcReportable, requestConfiguration *VirtualEndpointReportRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcReportable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCloudPcReportFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcReportable), nil +} +// RetrieveCloudPcRecommendationReports provides operations to call the retrieveCloudPcRecommendationReports method. +// returns a *VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder when successful +func (m *VirtualEndpointReportRequestBuilder) RetrieveCloudPcRecommendationReports()(*VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder) { + return NewVirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property report for deviceManagement +// returns a *RequestInformation when successful +func (m *VirtualEndpointReportRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointReportRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation cloud PC-related reports. Read-only. +// returns a *RequestInformation when successful +func (m *VirtualEndpointReportRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointReportRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property report in deviceManagement +// returns a *RequestInformation when successful +func (m *VirtualEndpointReportRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcReportable, requestConfiguration *VirtualEndpointReportRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *VirtualEndpointReportRequestBuilder when successful +func (m *VirtualEndpointReportRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointReportRequestBuilder) { + return NewVirtualEndpointReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_report_retrieve_cloud_pc_recommendation_reports_post_request_body.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_report_retrieve_cloud_pc_recommendation_reports_post_request_body.go new file mode 100644 index 0000000000..eba56115a4 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_report_retrieve_cloud_pc_recommendation_reports_post_request_body.go @@ -0,0 +1,395 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package devicemanagement + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewVirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody instantiates a new VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody and sets the default values. +func NewVirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody()(*VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody) { + m := &VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateVirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateVirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewVirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["filter"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetFilter(val) + } + return nil + } + res["groupBy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetGroupBy(res) + } + return nil + } + res["orderBy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetOrderBy(res) + } + return nil + } + res["reportType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ParseCloudPcRecommendationReportType) + if err != nil { + return err + } + if val != nil { + m.SetReportType(val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcRecommendationReportType)) + } + return nil + } + res["search"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSearch(val) + } + return nil + } + res["select"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetSelectEscaped(res) + } + return nil + } + res["skip"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetSkip(val) + } + return nil + } + res["top"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTop(val) + } + return nil + } + return res +} +// GetFilter gets the filter property value. The filter property +// returns a *string when successful +func (m *VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody) GetFilter()(*string) { + val, err := m.GetBackingStore().Get("filter") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetGroupBy gets the groupBy property value. The groupBy property +// returns a []string when successful +func (m *VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody) GetGroupBy()([]string) { + val, err := m.GetBackingStore().Get("groupBy") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetOrderBy gets the orderBy property value. The orderBy property +// returns a []string when successful +func (m *VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody) GetOrderBy()([]string) { + val, err := m.GetBackingStore().Get("orderBy") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetReportType gets the reportType property value. The reportType property +// returns a *CloudPcRecommendationReportType when successful +func (m *VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody) GetReportType()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcRecommendationReportType) { + val, err := m.GetBackingStore().Get("reportType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcRecommendationReportType) + } + return nil +} +// GetSearch gets the search property value. The search property +// returns a *string when successful +func (m *VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody) GetSearch()(*string) { + val, err := m.GetBackingStore().Get("search") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSelectEscaped gets the select property value. The select property +// returns a []string when successful +func (m *VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody) GetSelectEscaped()([]string) { + val, err := m.GetBackingStore().Get("selectEscaped") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetSkip gets the skip property value. The skip property +// returns a *int32 when successful +func (m *VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody) GetSkip()(*int32) { + val, err := m.GetBackingStore().Get("skip") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetTop gets the top property value. The top property +// returns a *int32 when successful +func (m *VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody) GetTop()(*int32) { + val, err := m.GetBackingStore().Get("top") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("filter", m.GetFilter()) + if err != nil { + return err + } + } + if m.GetGroupBy() != nil { + err := writer.WriteCollectionOfStringValues("groupBy", m.GetGroupBy()) + if err != nil { + return err + } + } + if m.GetOrderBy() != nil { + err := writer.WriteCollectionOfStringValues("orderBy", m.GetOrderBy()) + if err != nil { + return err + } + } + if m.GetReportType() != nil { + cast := (*m.GetReportType()).String() + err := writer.WriteStringValue("reportType", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("search", m.GetSearch()) + if err != nil { + return err + } + } + if m.GetSelectEscaped() != nil { + err := writer.WriteCollectionOfStringValues("select", m.GetSelectEscaped()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("skip", m.GetSkip()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("top", m.GetTop()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetFilter sets the filter property value. The filter property +func (m *VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody) SetFilter(value *string)() { + err := m.GetBackingStore().Set("filter", value) + if err != nil { + panic(err) + } +} +// SetGroupBy sets the groupBy property value. The groupBy property +func (m *VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody) SetGroupBy(value []string)() { + err := m.GetBackingStore().Set("groupBy", value) + if err != nil { + panic(err) + } +} +// SetOrderBy sets the orderBy property value. The orderBy property +func (m *VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody) SetOrderBy(value []string)() { + err := m.GetBackingStore().Set("orderBy", value) + if err != nil { + panic(err) + } +} +// SetReportType sets the reportType property value. The reportType property +func (m *VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody) SetReportType(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcRecommendationReportType)() { + err := m.GetBackingStore().Set("reportType", value) + if err != nil { + panic(err) + } +} +// SetSearch sets the search property value. The search property +func (m *VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody) SetSearch(value *string)() { + err := m.GetBackingStore().Set("search", value) + if err != nil { + panic(err) + } +} +// SetSelectEscaped sets the select property value. The select property +func (m *VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody) SetSelectEscaped(value []string)() { + err := m.GetBackingStore().Set("selectEscaped", value) + if err != nil { + panic(err) + } +} +// SetSkip sets the skip property value. The skip property +func (m *VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody) SetSkip(value *int32)() { + err := m.GetBackingStore().Set("skip", value) + if err != nil { + panic(err) + } +} +// SetTop sets the top property value. The top property +func (m *VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody) SetTop(value *int32)() { + err := m.GetBackingStore().Set("top", value) + if err != nil { + panic(err) + } +} +type VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetFilter()(*string) + GetGroupBy()([]string) + GetOrderBy()([]string) + GetReportType()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcRecommendationReportType) + GetSearch()(*string) + GetSelectEscaped()([]string) + GetSkip()(*int32) + GetTop()(*int32) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetFilter(value *string)() + SetGroupBy(value []string)() + SetOrderBy(value []string)() + SetReportType(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcRecommendationReportType)() + SetSearch(value *string)() + SetSelectEscaped(value []string)() + SetSkip(value *int32)() + SetTop(value *int32)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_report_retrieve_cloud_pc_recommendation_reports_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_report_retrieve_cloud_pc_recommendation_reports_request_builder.go new file mode 100644 index 0000000000..f32ce14475 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_report_retrieve_cloud_pc_recommendation_reports_request_builder.go @@ -0,0 +1,78 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder provides operations to call the retrieveCloudPcRecommendationReports method. +type VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewVirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilderInternal instantiates a new VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder and sets the default values. +func NewVirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder) { + m := &VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/report/retrieveCloudPcRecommendationReports", pathParameters), + } + return m +} +// NewVirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder instantiates a new VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder and sets the default values. +func NewVirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilderInternal(urlParams, requestAdapter) +} +// Post retrieve Cloud PC recommendation reports for usage optimization and cost savings. The usage category report categorizes a Cloud PC as Undersized, Oversized, Rightsized, or Underutilized, and also provides the recommended SKU when the Cloud PC isn't Rightsized. +// returns a []byte when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcreport-retrievecloudpcrecommendationreports?view=graph-rest-1.0 +func (m *VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder) Post(ctx context.Context, body VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBodyable, requestConfiguration *VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration)([]byte, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.([]byte), nil +} +// ToPostRequestInformation retrieve Cloud PC recommendation reports for usage optimization and cost savings. The usage category report categorizes a Cloud PC as Undersized, Oversized, Rightsized, or Underutilized, and also provides the recommended SKU when the Cloud PC isn't Rightsized. +// returns a *RequestInformation when successful +func (m *VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder) ToPostRequestInformation(ctx context.Context, body VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBodyable, requestConfiguration *VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder when successful +func (m *VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder) { + return NewVirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_request_builder.go index beb37d4493..01c079db74 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/virtual_endpoint_request_builder.go @@ -21,7 +21,7 @@ type VirtualEndpointRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEndpointRequestBuilderGetQueryParameters virtual endpoint +// VirtualEndpointRequestBuilderGetQueryParameters get virtualEndpoint from deviceManagement type VirtualEndpointRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -93,7 +93,7 @@ func (m *VirtualEndpointRequestBuilder) DeviceImages()(*VirtualEndpointDeviceIma func (m *VirtualEndpointRequestBuilder) GalleryImages()(*VirtualEndpointGalleryImagesRequestBuilder) { return NewVirtualEndpointGalleryImagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get virtual endpoint +// Get get virtualEndpoint from deviceManagement // returns a VirtualEndpointable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *VirtualEndpointRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEndpointable, error) { @@ -143,6 +143,11 @@ func (m *VirtualEndpointRequestBuilder) Patch(ctx context.Context, body iadcd811 func (m *VirtualEndpointRequestBuilder) ProvisioningPolicies()(*VirtualEndpointProvisioningPoliciesRequestBuilder) { return NewVirtualEndpointProvisioningPoliciesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// Report provides operations to manage the report property of the microsoft.graph.virtualEndpoint entity. +// returns a *VirtualEndpointReportRequestBuilder when successful +func (m *VirtualEndpointRequestBuilder) Report()(*VirtualEndpointReportRequestBuilder) { + return NewVirtualEndpointReportRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToDeleteRequestInformation delete navigation property virtualEndpoint for deviceManagement // returns a *RequestInformation when successful func (m *VirtualEndpointRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -154,7 +159,7 @@ func (m *VirtualEndpointRequestBuilder) ToDeleteRequestInformation(ctx context.C requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation virtual endpoint +// ToGetRequestInformation get virtualEndpoint from deviceManagement // returns a *RequestInformation when successful func (m *VirtualEndpointRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_autopilot_device_identities_item_assign_user_to_device_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_autopilot_device_identities_item_assign_user_to_device_request_builder.go index 0b4b244a9e..d644fabb12 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_autopilot_device_identities_item_assign_user_to_device_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_autopilot_device_identities_item_assign_user_to_device_request_builder.go @@ -35,9 +35,6 @@ func NewWindowsAutopilotDeviceIdentitiesItemAssignUserToDeviceRequestBuilder(raw } // Post assigns user to Autopilot devices. // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-enrollment-windowsautopilotdeviceidentity-assignusertodevice?view=graph-rest-1.0 func (m *WindowsAutopilotDeviceIdentitiesItemAssignUserToDeviceRequestBuilder) Post(ctx context.Context, body WindowsAutopilotDeviceIdentitiesItemAssignUserToDevicePostRequestBodyable, requestConfiguration *WindowsAutopilotDeviceIdentitiesItemAssignUserToDeviceRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_autopilot_device_identities_item_unassign_user_from_device_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_autopilot_device_identities_item_unassign_user_from_device_request_builder.go index 96f4450f80..5d4825de19 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_autopilot_device_identities_item_unassign_user_from_device_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_autopilot_device_identities_item_unassign_user_from_device_request_builder.go @@ -35,9 +35,6 @@ func NewWindowsAutopilotDeviceIdentitiesItemUnassignUserFromDeviceRequestBuilder } // Post unassigns the user from an Autopilot device. // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-enrollment-windowsautopilotdeviceidentity-unassignuserfromdevice?view=graph-rest-1.0 func (m *WindowsAutopilotDeviceIdentitiesItemUnassignUserFromDeviceRequestBuilder) Post(ctx context.Context, requestConfiguration *WindowsAutopilotDeviceIdentitiesItemUnassignUserFromDeviceRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_autopilot_device_identities_item_update_device_properties_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_autopilot_device_identities_item_update_device_properties_request_builder.go index 6b75ce3b14..cce80952d1 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_autopilot_device_identities_item_update_device_properties_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_autopilot_device_identities_item_update_device_properties_request_builder.go @@ -35,9 +35,6 @@ func NewWindowsAutopilotDeviceIdentitiesItemUpdateDevicePropertiesRequestBuilder } // Post updates properties on Autopilot devices. // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-enrollment-windowsautopilotdeviceidentity-updatedeviceproperties?view=graph-rest-1.0 func (m *WindowsAutopilotDeviceIdentitiesItemUpdateDevicePropertiesRequestBuilder) Post(ctx context.Context, body WindowsAutopilotDeviceIdentitiesItemUpdateDevicePropertiesPostRequestBodyable, requestConfiguration *WindowsAutopilotDeviceIdentitiesItemUpdateDevicePropertiesRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_autopilot_device_identities_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_autopilot_device_identities_request_builder.go index b6b6ac04ca..d561619c4a 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_autopilot_device_identities_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_autopilot_device_identities_request_builder.go @@ -14,7 +14,7 @@ import ( type WindowsAutopilotDeviceIdentitiesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// WindowsAutopilotDeviceIdentitiesRequestBuilderGetQueryParameters list properties and relationships of the windowsAutopilotDeviceIdentity objects. +// WindowsAutopilotDeviceIdentitiesRequestBuilderGetQueryParameters the Windows autopilot device identities contained collection. type WindowsAutopilotDeviceIdentitiesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewWindowsAutopilotDeviceIdentitiesRequestBuilder(rawUrl string, requestAda func (m *WindowsAutopilotDeviceIdentitiesRequestBuilder) Count()(*WindowsAutopilotDeviceIdentitiesCountRequestBuilder) { return NewWindowsAutopilotDeviceIdentitiesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the windowsAutopilotDeviceIdentity objects. +// Get the Windows autopilot device identities contained collection. // returns a WindowsAutopilotDeviceIdentityCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-enrollment-windowsautopilotdeviceidentity-list?view=graph-rest-1.0 func (m *WindowsAutopilotDeviceIdentitiesRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsAutopilotDeviceIdentitiesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsAutopilotDeviceIdentityCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *WindowsAutopilotDeviceIdentitiesRequestBuilder) Get(ctx context.Context } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsAutopilotDeviceIdentityCollectionResponseable), nil } -// Post create a new windowsAutopilotDeviceIdentity object. +// Post create new navigation property to windowsAutopilotDeviceIdentities for deviceManagement // returns a WindowsAutopilotDeviceIdentityable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-enrollment-windowsautopilotdeviceidentity-create?view=graph-rest-1.0 func (m *WindowsAutopilotDeviceIdentitiesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsAutopilotDeviceIdentityable, requestConfiguration *WindowsAutopilotDeviceIdentitiesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsAutopilotDeviceIdentityable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *WindowsAutopilotDeviceIdentitiesRequestBuilder) Post(ctx context.Contex } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsAutopilotDeviceIdentityable), nil } -// ToGetRequestInformation list properties and relationships of the windowsAutopilotDeviceIdentity objects. +// ToGetRequestInformation the Windows autopilot device identities contained collection. // returns a *RequestInformation when successful func (m *WindowsAutopilotDeviceIdentitiesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsAutopilotDeviceIdentitiesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *WindowsAutopilotDeviceIdentitiesRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new windowsAutopilotDeviceIdentity object. +// ToPostRequestInformation create new navigation property to windowsAutopilotDeviceIdentities for deviceManagement // returns a *RequestInformation when successful func (m *WindowsAutopilotDeviceIdentitiesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsAutopilotDeviceIdentityable, requestConfiguration *WindowsAutopilotDeviceIdentitiesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_autopilot_device_identities_windows_autopilot_device_identity_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_autopilot_device_identities_windows_autopilot_device_identity_item_request_builder.go index 82aa584703..3f6dbde143 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_autopilot_device_identities_windows_autopilot_device_identity_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_autopilot_device_identities_windows_autopilot_device_identity_item_request_builder.go @@ -21,7 +21,7 @@ type WindowsAutopilotDeviceIdentitiesWindowsAutopilotDeviceIdentityItemRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// WindowsAutopilotDeviceIdentitiesWindowsAutopilotDeviceIdentityItemRequestBuilderGetQueryParameters read properties and relationships of the windowsAutopilotDeviceIdentity object. +// WindowsAutopilotDeviceIdentitiesWindowsAutopilotDeviceIdentityItemRequestBuilderGetQueryParameters the Windows autopilot device identities contained collection. type WindowsAutopilotDeviceIdentitiesWindowsAutopilotDeviceIdentityItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -62,11 +62,8 @@ func NewWindowsAutopilotDeviceIdentitiesWindowsAutopilotDeviceIdentityItemReques urlParams["request-raw-url"] = rawUrl return NewWindowsAutopilotDeviceIdentitiesWindowsAutopilotDeviceIdentityItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a windowsAutopilotDeviceIdentity. +// Delete delete navigation property windowsAutopilotDeviceIdentities for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-enrollment-windowsautopilotdeviceidentity-delete?view=graph-rest-1.0 func (m *WindowsAutopilotDeviceIdentitiesWindowsAutopilotDeviceIdentityItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsAutopilotDeviceIdentitiesWindowsAutopilotDeviceIdentityItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -81,12 +78,9 @@ func (m *WindowsAutopilotDeviceIdentitiesWindowsAutopilotDeviceIdentityItemReque } return nil } -// Get read properties and relationships of the windowsAutopilotDeviceIdentity object. +// Get the Windows autopilot device identities contained collection. // returns a WindowsAutopilotDeviceIdentityable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-enrollment-windowsautopilotdeviceidentity-get?view=graph-rest-1.0 func (m *WindowsAutopilotDeviceIdentitiesWindowsAutopilotDeviceIdentityItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsAutopilotDeviceIdentitiesWindowsAutopilotDeviceIdentityItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsAutopilotDeviceIdentityable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +118,7 @@ func (m *WindowsAutopilotDeviceIdentitiesWindowsAutopilotDeviceIdentityItemReque } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsAutopilotDeviceIdentityable), nil } -// ToDeleteRequestInformation deletes a windowsAutopilotDeviceIdentity. +// ToDeleteRequestInformation delete navigation property windowsAutopilotDeviceIdentities for deviceManagement // returns a *RequestInformation when successful func (m *WindowsAutopilotDeviceIdentitiesWindowsAutopilotDeviceIdentityItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsAutopilotDeviceIdentitiesWindowsAutopilotDeviceIdentityItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +129,7 @@ func (m *WindowsAutopilotDeviceIdentitiesWindowsAutopilotDeviceIdentityItemReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the windowsAutopilotDeviceIdentity object. +// ToGetRequestInformation the Windows autopilot device identities contained collection. // returns a *RequestInformation when successful func (m *WindowsAutopilotDeviceIdentitiesWindowsAutopilotDeviceIdentityItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsAutopilotDeviceIdentitiesWindowsAutopilotDeviceIdentityItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_information_protection_app_learning_summaries_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_information_protection_app_learning_summaries_request_builder.go index 6a2bd795d7..6ec8435f4a 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_information_protection_app_learning_summaries_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_information_protection_app_learning_summaries_request_builder.go @@ -14,7 +14,7 @@ import ( type WindowsInformationProtectionAppLearningSummariesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// WindowsInformationProtectionAppLearningSummariesRequestBuilderGetQueryParameters list properties and relationships of the windowsInformationProtectionAppLearningSummary objects. +// WindowsInformationProtectionAppLearningSummariesRequestBuilderGetQueryParameters the windows information protection app learning summaries. type WindowsInformationProtectionAppLearningSummariesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewWindowsInformationProtectionAppLearningSummariesRequestBuilder(rawUrl st func (m *WindowsInformationProtectionAppLearningSummariesRequestBuilder) Count()(*WindowsInformationProtectionAppLearningSummariesCountRequestBuilder) { return NewWindowsInformationProtectionAppLearningSummariesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the windowsInformationProtectionAppLearningSummary objects. +// Get the windows information protection app learning summaries. // returns a WindowsInformationProtectionAppLearningSummaryCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-wip-windowsinformationprotectionapplearningsummary-list?view=graph-rest-1.0 func (m *WindowsInformationProtectionAppLearningSummariesRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsInformationProtectionAppLearningSummariesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionAppLearningSummaryCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *WindowsInformationProtectionAppLearningSummariesRequestBuilder) Get(ctx } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionAppLearningSummaryCollectionResponseable), nil } -// Post create a new windowsInformationProtectionAppLearningSummary object. +// Post create new navigation property to windowsInformationProtectionAppLearningSummaries for deviceManagement // returns a WindowsInformationProtectionAppLearningSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-wip-windowsinformationprotectionapplearningsummary-create?view=graph-rest-1.0 func (m *WindowsInformationProtectionAppLearningSummariesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionAppLearningSummaryable, requestConfiguration *WindowsInformationProtectionAppLearningSummariesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionAppLearningSummaryable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *WindowsInformationProtectionAppLearningSummariesRequestBuilder) Post(ct } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionAppLearningSummaryable), nil } -// ToGetRequestInformation list properties and relationships of the windowsInformationProtectionAppLearningSummary objects. +// ToGetRequestInformation the windows information protection app learning summaries. // returns a *RequestInformation when successful func (m *WindowsInformationProtectionAppLearningSummariesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsInformationProtectionAppLearningSummariesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *WindowsInformationProtectionAppLearningSummariesRequestBuilder) ToGetRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new windowsInformationProtectionAppLearningSummary object. +// ToPostRequestInformation create new navigation property to windowsInformationProtectionAppLearningSummaries for deviceManagement // returns a *RequestInformation when successful func (m *WindowsInformationProtectionAppLearningSummariesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionAppLearningSummaryable, requestConfiguration *WindowsInformationProtectionAppLearningSummariesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_information_protection_network_learning_summaries_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_information_protection_network_learning_summaries_request_builder.go index fb6ba8267b..884691686d 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_information_protection_network_learning_summaries_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_information_protection_network_learning_summaries_request_builder.go @@ -14,7 +14,7 @@ import ( type WindowsInformationProtectionNetworkLearningSummariesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// WindowsInformationProtectionNetworkLearningSummariesRequestBuilderGetQueryParameters list properties and relationships of the windowsInformationProtectionNetworkLearningSummary objects. +// WindowsInformationProtectionNetworkLearningSummariesRequestBuilderGetQueryParameters the windows information protection network learning summaries. type WindowsInformationProtectionNetworkLearningSummariesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewWindowsInformationProtectionNetworkLearningSummariesRequestBuilder(rawUr func (m *WindowsInformationProtectionNetworkLearningSummariesRequestBuilder) Count()(*WindowsInformationProtectionNetworkLearningSummariesCountRequestBuilder) { return NewWindowsInformationProtectionNetworkLearningSummariesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the windowsInformationProtectionNetworkLearningSummary objects. +// Get the windows information protection network learning summaries. // returns a WindowsInformationProtectionNetworkLearningSummaryCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-wip-windowsinformationprotectionnetworklearningsummary-list?view=graph-rest-1.0 func (m *WindowsInformationProtectionNetworkLearningSummariesRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsInformationProtectionNetworkLearningSummariesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionNetworkLearningSummaryCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *WindowsInformationProtectionNetworkLearningSummariesRequestBuilder) Get } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionNetworkLearningSummaryCollectionResponseable), nil } -// Post create a new windowsInformationProtectionNetworkLearningSummary object. +// Post create new navigation property to windowsInformationProtectionNetworkLearningSummaries for deviceManagement // returns a WindowsInformationProtectionNetworkLearningSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-wip-windowsinformationprotectionnetworklearningsummary-create?view=graph-rest-1.0 func (m *WindowsInformationProtectionNetworkLearningSummariesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionNetworkLearningSummaryable, requestConfiguration *WindowsInformationProtectionNetworkLearningSummariesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionNetworkLearningSummaryable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *WindowsInformationProtectionNetworkLearningSummariesRequestBuilder) Pos } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionNetworkLearningSummaryable), nil } -// ToGetRequestInformation list properties and relationships of the windowsInformationProtectionNetworkLearningSummary objects. +// ToGetRequestInformation the windows information protection network learning summaries. // returns a *RequestInformation when successful func (m *WindowsInformationProtectionNetworkLearningSummariesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsInformationProtectionNetworkLearningSummariesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *WindowsInformationProtectionNetworkLearningSummariesRequestBuilder) ToG requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new windowsInformationProtectionNetworkLearningSummary object. +// ToPostRequestInformation create new navigation property to windowsInformationProtectionNetworkLearningSummaries for deviceManagement // returns a *RequestInformation when successful func (m *WindowsInformationProtectionNetworkLearningSummariesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsInformationProtectionNetworkLearningSummaryable, requestConfiguration *WindowsInformationProtectionNetworkLearningSummariesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_malware_information_item_device_malware_states_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_malware_information_item_device_malware_states_request_builder.go index a86f5426cb..eeec633ecf 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_malware_information_item_device_malware_states_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_malware_information_item_device_malware_states_request_builder.go @@ -14,7 +14,7 @@ import ( type WindowsMalwareInformationItemDeviceMalwareStatesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// WindowsMalwareInformationItemDeviceMalwareStatesRequestBuilderGetQueryParameters list properties and relationships of the malwareStateForWindowsDevice objects. +// WindowsMalwareInformationItemDeviceMalwareStatesRequestBuilderGetQueryParameters list of devices affected by current malware with the malware state on each device type WindowsMalwareInformationItemDeviceMalwareStatesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewWindowsMalwareInformationItemDeviceMalwareStatesRequestBuilder(rawUrl st func (m *WindowsMalwareInformationItemDeviceMalwareStatesRequestBuilder) Count()(*WindowsMalwareInformationItemDeviceMalwareStatesCountRequestBuilder) { return NewWindowsMalwareInformationItemDeviceMalwareStatesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the malwareStateForWindowsDevice objects. +// Get list of devices affected by current malware with the malware state on each device // returns a MalwareStateForWindowsDeviceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-malwarestateforwindowsdevice-list?view=graph-rest-1.0 func (m *WindowsMalwareInformationItemDeviceMalwareStatesRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsMalwareInformationItemDeviceMalwareStatesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MalwareStateForWindowsDeviceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *WindowsMalwareInformationItemDeviceMalwareStatesRequestBuilder) Get(ctx } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MalwareStateForWindowsDeviceCollectionResponseable), nil } -// Post create a new malwareStateForWindowsDevice object. +// Post create new navigation property to deviceMalwareStates for deviceManagement // returns a MalwareStateForWindowsDeviceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-malwarestateforwindowsdevice-create?view=graph-rest-1.0 func (m *WindowsMalwareInformationItemDeviceMalwareStatesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MalwareStateForWindowsDeviceable, requestConfiguration *WindowsMalwareInformationItemDeviceMalwareStatesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MalwareStateForWindowsDeviceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *WindowsMalwareInformationItemDeviceMalwareStatesRequestBuilder) Post(ct } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MalwareStateForWindowsDeviceable), nil } -// ToGetRequestInformation list properties and relationships of the malwareStateForWindowsDevice objects. +// ToGetRequestInformation list of devices affected by current malware with the malware state on each device // returns a *RequestInformation when successful func (m *WindowsMalwareInformationItemDeviceMalwareStatesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsMalwareInformationItemDeviceMalwareStatesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *WindowsMalwareInformationItemDeviceMalwareStatesRequestBuilder) ToGetRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new malwareStateForWindowsDevice object. +// ToPostRequestInformation create new navigation property to deviceMalwareStates for deviceManagement // returns a *RequestInformation when successful func (m *WindowsMalwareInformationItemDeviceMalwareStatesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MalwareStateForWindowsDeviceable, requestConfiguration *WindowsMalwareInformationItemDeviceMalwareStatesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_malware_information_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_malware_information_request_builder.go index 1becc44d36..0e008223c6 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_malware_information_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_malware_information_request_builder.go @@ -14,7 +14,7 @@ import ( type WindowsMalwareInformationRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// WindowsMalwareInformationRequestBuilderGetQueryParameters list properties and relationships of the windowsMalwareInformation objects. +// WindowsMalwareInformationRequestBuilderGetQueryParameters the list of affected malware in the tenant. type WindowsMalwareInformationRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func NewWindowsMalwareInformationRequestBuilder(rawUrl string, requestAdapter i2 func (m *WindowsMalwareInformationRequestBuilder) Count()(*WindowsMalwareInformationCountRequestBuilder) { return NewWindowsMalwareInformationCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the windowsMalwareInformation objects. +// Get the list of affected malware in the tenant. // returns a WindowsMalwareInformationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-windowsmalwareinformation-list?view=graph-rest-1.0 func (m *WindowsMalwareInformationRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsMalwareInformationRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsMalwareInformationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *WindowsMalwareInformationRequestBuilder) Get(ctx context.Context, reque } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsMalwareInformationCollectionResponseable), nil } -// Post create a new windowsMalwareInformation object. +// Post create new navigation property to windowsMalwareInformation for deviceManagement // returns a WindowsMalwareInformationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-windowsmalwareinformation-create?view=graph-rest-1.0 func (m *WindowsMalwareInformationRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsMalwareInformationable, requestConfiguration *WindowsMalwareInformationRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsMalwareInformationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *WindowsMalwareInformationRequestBuilder) Post(ctx context.Context, body } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsMalwareInformationable), nil } -// ToGetRequestInformation list properties and relationships of the windowsMalwareInformation objects. +// ToGetRequestInformation the list of affected malware in the tenant. // returns a *RequestInformation when successful func (m *WindowsMalwareInformationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsMalwareInformationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *WindowsMalwareInformationRequestBuilder) ToGetRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new windowsMalwareInformation object. +// ToPostRequestInformation create new navigation property to windowsMalwareInformation for deviceManagement // returns a *RequestInformation when successful func (m *WindowsMalwareInformationRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsMalwareInformationable, requestConfiguration *WindowsMalwareInformationRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_malware_information_windows_malware_information_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_malware_information_windows_malware_information_item_request_builder.go index b73d949957..b51c7c967d 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_malware_information_windows_malware_information_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/windows_malware_information_windows_malware_information_item_request_builder.go @@ -21,7 +21,7 @@ type WindowsMalwareInformationWindowsMalwareInformationItemRequestBuilderDeleteR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// WindowsMalwareInformationWindowsMalwareInformationItemRequestBuilderGetQueryParameters read properties and relationships of the windowsMalwareInformation object. +// WindowsMalwareInformationWindowsMalwareInformationItemRequestBuilderGetQueryParameters the list of affected malware in the tenant. type WindowsMalwareInformationWindowsMalwareInformationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewWindowsMalwareInformationWindowsMalwareInformationItemRequestBuilder(raw urlParams["request-raw-url"] = rawUrl return NewWindowsMalwareInformationWindowsMalwareInformationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a windowsMalwareInformation. +// Delete delete navigation property windowsMalwareInformation for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-windowsmalwareinformation-delete?view=graph-rest-1.0 func (m *WindowsMalwareInformationWindowsMalwareInformationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsMalwareInformationWindowsMalwareInformationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -81,12 +78,9 @@ func (m *WindowsMalwareInformationWindowsMalwareInformationItemRequestBuilder) D func (m *WindowsMalwareInformationWindowsMalwareInformationItemRequestBuilder) DeviceMalwareStates()(*WindowsMalwareInformationItemDeviceMalwareStatesRequestBuilder) { return NewWindowsMalwareInformationItemDeviceMalwareStatesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the windowsMalwareInformation object. +// Get the list of affected malware in the tenant. // returns a WindowsMalwareInformationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-windowsmalwareinformation-get?view=graph-rest-1.0 func (m *WindowsMalwareInformationWindowsMalwareInformationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsMalwareInformationWindowsMalwareInformationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsMalwareInformationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +98,9 @@ func (m *WindowsMalwareInformationWindowsMalwareInformationItemRequestBuilder) G } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsMalwareInformationable), nil } -// Patch update the properties of a windowsMalwareInformation object. +// Patch update the navigation property windowsMalwareInformation in deviceManagement // returns a WindowsMalwareInformationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-windowsmalwareinformation-update?view=graph-rest-1.0 func (m *WindowsMalwareInformationWindowsMalwareInformationItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsMalwareInformationable, requestConfiguration *WindowsMalwareInformationWindowsMalwareInformationItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsMalwareInformationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +118,7 @@ func (m *WindowsMalwareInformationWindowsMalwareInformationItemRequestBuilder) P } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsMalwareInformationable), nil } -// ToDeleteRequestInformation deletes a windowsMalwareInformation. +// ToDeleteRequestInformation delete navigation property windowsMalwareInformation for deviceManagement // returns a *RequestInformation when successful func (m *WindowsMalwareInformationWindowsMalwareInformationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsMalwareInformationWindowsMalwareInformationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -138,7 +129,7 @@ func (m *WindowsMalwareInformationWindowsMalwareInformationItemRequestBuilder) T requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the windowsMalwareInformation object. +// ToGetRequestInformation the list of affected malware in the tenant. // returns a *RequestInformation when successful func (m *WindowsMalwareInformationWindowsMalwareInformationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsMalwareInformationWindowsMalwareInformationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -152,7 +143,7 @@ func (m *WindowsMalwareInformationWindowsMalwareInformationItemRequestBuilder) T requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a windowsMalwareInformation object. +// ToPatchRequestInformation update the navigation property windowsMalwareInformation in deviceManagement // returns a *RequestInformation when successful func (m *WindowsMalwareInformationWindowsMalwareInformationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsMalwareInformationable, requestConfiguration *WindowsMalwareInformationWindowsMalwareInformationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devices/item_restore_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devices/item_restore_request_builder.go index ca49bc19e3..a23bf90226 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devices/item_restore_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/devices/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/directory/deleted_items_item_restore_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/directory/deleted_items_item_restore_request_builder.go index d4306aa73b..d508a30e8b 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/directory/deleted_items_item_restore_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/directory/deleted_items_item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewDeletedItemsItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae urlParams["request-raw-url"] = rawUrl return NewDeletedItemsItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *DeletedItemsItemRestoreRequestBuilder) Post(ctx context.Context, reques } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *DeletedItemsItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *DeletedItemsItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/directoryobjects/item_restore_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/directoryobjects/item_restore_request_builder.go index 93f6c7762e..17f43e7d64 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/directoryobjects/item_restore_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/directoryobjects/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/directoryroles/item_restore_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/directoryroles/item_restore_request_builder.go index 2d20fe86c8..7c0f9b6f69 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/directoryroles/item_restore_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/directoryroles/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/directoryroletemplates/item_restore_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/directoryroletemplates/item_restore_request_builder.go index 3b90b94b4d..4877375f25 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/directoryroletemplates/item_restore_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/directoryroletemplates/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_items_item_invite_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_items_item_invite_request_builder.go index e00ec42bde..ecc2f4dd0c 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_items_item_invite_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_items_item_invite_request_builder.go @@ -33,7 +33,7 @@ func NewItemItemsItemInviteRequestBuilder(rawUrl string, requestAdapter i2ae4187 urlParams["request-raw-url"] = rawUrl return NewItemItemsItemInviteRequestBuilderInternal(urlParams, requestAdapter) } -// Post sends a sharing invitation for a driveItem.A sharing invitation provides permissions to the recipients and optionally sends them an email with a sharing link. +// Post send a sharing invitation for a driveItem. A sharing invitation provides permissions to the recipients and, optionally, sends them an email to notify them that the item was shared. // Deprecated: This method is obsolete. Use PostAsInvitePostResponse instead. // returns a ItemItemsItemInviteResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -57,7 +57,7 @@ func (m *ItemItemsItemInviteRequestBuilder) Post(ctx context.Context, body ItemI } return res.(ItemItemsItemInviteResponseable), nil } -// PostAsInvitePostResponse sends a sharing invitation for a driveItem.A sharing invitation provides permissions to the recipients and optionally sends them an email with a sharing link. +// PostAsInvitePostResponse send a sharing invitation for a driveItem. A sharing invitation provides permissions to the recipients and, optionally, sends them an email to notify them that the item was shared. // returns a ItemItemsItemInvitePostResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -80,7 +80,7 @@ func (m *ItemItemsItemInviteRequestBuilder) PostAsInvitePostResponse(ctx context } return res.(ItemItemsItemInvitePostResponseable), nil } -// ToPostRequestInformation sends a sharing invitation for a driveItem.A sharing invitation provides permissions to the recipients and optionally sends them an email with a sharing link. +// ToPostRequestInformation send a sharing invitation for a driveItem. A sharing invitation provides permissions to the recipients and, optionally, sends them an email to notify them that the item was shared. // returns a *RequestInformation when successful func (m *ItemItemsItemInviteRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemsItemInvitePostRequestBodyable, requestConfiguration *ItemItemsItemInviteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_items_item_restore_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_items_item_restore_request_builder.go index 57408806e4..a205716c2d 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_items_item_restore_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_items_item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae418 urlParams["request-raw-url"] = rawUrl return NewItemItemsItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a driveItem that has been deleted and is currently in the recycle bin. +// Post restore a deleted driveItem that is currently in the recycle bin. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemItemsItemRestoreRequestBuilder) Post(ctx context.Context, body Item } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DriveItemable), nil } -// ToPostRequestInformation restore a driveItem that has been deleted and is currently in the recycle bin. +// ToPostRequestInformation restore a deleted driveItem that is currently in the recycle bin. // returns a *RequestInformation when successful func (m *ItemItemsItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemsItemRestorePostRequestBodyable, requestConfiguration *ItemItemsItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_items_item_retention_label_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_items_item_retention_label_request_builder.go index 3aa12999aa..9702a6340b 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_items_item_retention_label_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_items_item_retention_label_request_builder.go @@ -21,7 +21,7 @@ type ItemItemsItemRetentionLabelRequestBuilderDeleteRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemRetentionLabelRequestBuilderGetQueryParameters information about retention label and settings enforced on the driveItem. Read-write. +// ItemItemsItemRetentionLabelRequestBuilderGetQueryParameters get metadata information for a retention label applied on a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. type ItemItemsItemRetentionLabelRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -76,9 +76,12 @@ func (m *ItemItemsItemRetentionLabelRequestBuilder) Delete(ctx context.Context, } return nil } -// Get information about retention label and settings enforced on the driveItem. Read-write. +// Get get metadata information for a retention label applied on a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. // returns a ItemRetentionLabelable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/driveitem-getretentionlabel?view=graph-rest-1.0 func (m *ItemItemsItemRetentionLabelRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemRetentionLabelRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemRetentionLabelable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +99,12 @@ func (m *ItemItemsItemRetentionLabelRequestBuilder) Get(ctx context.Context, req } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemRetentionLabelable), nil } -// Patch apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. +// Patch lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. // returns a ItemRetentionLabelable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-1.0 func (m *ItemItemsItemRetentionLabelRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemRetentionLabelable, requestConfiguration *ItemItemsItemRetentionLabelRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemRetentionLabelable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +133,7 @@ func (m *ItemItemsItemRetentionLabelRequestBuilder) ToDeleteRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation information about retention label and settings enforced on the driveItem. Read-write. +// ToGetRequestInformation get metadata information for a retention label applied on a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. // returns a *RequestInformation when successful func (m *ItemItemsItemRetentionLabelRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemRetentionLabelRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +147,7 @@ func (m *ItemItemsItemRetentionLabelRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. +// ToPatchRequestInformation lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. // returns a *RequestInformation when successful func (m *ItemItemsItemRetentionLabelRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemRetentionLabelable, requestConfiguration *ItemItemsItemRetentionLabelRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_items_item_versions_item_restore_version_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_items_item_versions_item_restore_version_request_builder.go index a152d59ff9..1531d8fbf5 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_items_item_versions_item_restore_version_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_items_item_versions_item_restore_version_request_builder.go @@ -33,11 +33,11 @@ func NewItemItemsItemVersionsItemRestoreVersionRequestBuilder(rawUrl string, req urlParams["request-raw-url"] = rawUrl return NewItemItemsItemVersionsItemRestoreVersionRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a previous version of a DriveItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the file. +// Post restore a previous version of a driveItem to be the current version. This operation creates a new version with the contents of the previous version, and it preserves all existing versions of the file. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/driveitemversion-restore?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/driveitemversion-restoreversion?view=graph-rest-1.0 func (m *ItemItemsItemVersionsItemRestoreVersionRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemVersionsItemRestoreVersionRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -52,7 +52,7 @@ func (m *ItemItemsItemVersionsItemRestoreVersionRequestBuilder) Post(ctx context } return nil } -// ToPostRequestInformation restore a previous version of a DriveItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the file. +// ToPostRequestInformation restore a previous version of a driveItem to be the current version. This operation creates a new version with the contents of the previous version, and it preserves all existing versions of the file. // returns a *RequestInformation when successful func (m *ItemItemsItemVersionsItemRestoreVersionRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemVersionsItemRestoreVersionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_items_item_workbook_tables_add_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_items_item_workbook_tables_add_request_builder.go index 58f154abd0..581aed8ce2 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_items_item_workbook_tables_add_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_items_item_workbook_tables_add_request_builder.go @@ -34,12 +34,12 @@ func NewItemItemsItemWorkbookTablesAddRequestBuilder(rawUrl string, requestAdapt urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookTablesAddRequestBuilderInternal(urlParams, requestAdapter) } -// Post use this API to create a new Table. +// Post create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. // returns a WorkbookTableable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookTablesAddRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookTablesAddRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkbookTableable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -57,7 +57,7 @@ func (m *ItemItemsItemWorkbookTablesAddRequestBuilder) Post(ctx context.Context, } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkbookTableable), nil } -// ToPostRequestInformation use this API to create a new Table. +// ToPostRequestInformation create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookTablesAddRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemsItemWorkbookTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookTablesAddRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go index eaf005b818..c8eb2f0553 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go @@ -34,12 +34,12 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilderInternal(urlParams, requestAdapter) } -// Post use this API to create a new Table. +// Post create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. // returns a WorkbookTableable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkbookTableable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -57,7 +57,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder) Post(ctx co } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkbookTableable), nil } -// ToPostRequestInformation use this API to create a new Table. +// ToPostRequestInformation create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_recent_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_recent_request_builder.go index 63ad94435d..abd02405f5 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_recent_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_recent_request_builder.go @@ -13,7 +13,7 @@ import ( type ItemRecentRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemRecentRequestBuilderGetQueryParameters list a set of items that have been recently used by the signed in user.This collection includes items that are in the user's drive and items they have access to from other drives. +// ItemRecentRequestBuilderGetQueryParameters list a set of items recently used by the signed-in user.This collection includes items that are in the user's drive and items they have access to from other drives. type ItemRecentRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,7 +54,7 @@ func NewItemRecentRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263 urlParams["request-raw-url"] = rawUrl return NewItemRecentRequestBuilderInternal(urlParams, requestAdapter) } -// Get list a set of items that have been recently used by the signed in user.This collection includes items that are in the user's drive and items they have access to from other drives. +// Get list a set of items recently used by the signed-in user.This collection includes items that are in the user's drive and items they have access to from other drives. // Deprecated: This method is obsolete. Use GetAsRecentGetResponse instead. // returns a ItemRecentResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -78,7 +78,8 @@ func (m *ItemRecentRequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(ItemRecentResponseable), nil } -// GetAsRecentGetResponse list a set of items that have been recently used by the signed in user.This collection includes items that are in the user's drive and items they have access to from other drives. +// GetAsRecentGetResponse list a set of items recently used by the signed-in user.This collection includes items that are in the user's drive and items they have access to from other drives. +// Deprecated: This API is deprecated and will stop returning data after November, 2027. as of 2025-11/Removal on 2025-11-13 and will be removed 2027-11-01 // returns a ItemRecentGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -101,7 +102,8 @@ func (m *ItemRecentRequestBuilder) GetAsRecentGetResponse(ctx context.Context, r } return res.(ItemRecentGetResponseable), nil } -// ToGetRequestInformation list a set of items that have been recently used by the signed in user.This collection includes items that are in the user's drive and items they have access to from other drives. +// ToGetRequestInformation list a set of items recently used by the signed-in user.This collection includes items that are in the user's drive and items they have access to from other drives. +// Deprecated: This API is deprecated and will stop returning data after November, 2027. as of 2025-11/Removal on 2025-11-13 and will be removed 2027-11-01 // returns a *RequestInformation when successful func (m *ItemRecentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemRecentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -116,6 +118,7 @@ func (m *ItemRecentRequestBuilder) ToGetRequestInformation(ctx context.Context, return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// Deprecated: This API is deprecated and will stop returning data after November, 2027. as of 2025-11/Removal on 2025-11-13 and will be removed 2027-11-01 // returns a *ItemRecentRequestBuilder when successful func (m *ItemRecentRequestBuilder) WithUrl(rawUrl string)(*ItemRecentRequestBuilder) { return NewItemRecentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_shared_with_me_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_shared_with_me_request_builder.go index bba9e6f944..5e0745c6ae 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_shared_with_me_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/drives/item_shared_with_me_request_builder.go @@ -79,6 +79,7 @@ func (m *ItemSharedWithMeRequestBuilder) Get(ctx context.Context, requestConfigu return res.(ItemSharedWithMeResponseable), nil } // GetAsSharedWithMeGetResponse get a list of driveItem objects shared with the owner of a drive. The driveItems returned from the sharedWithMe method always include the remoteItem facet that indicates they are items from a different drive. +// Deprecated: This API is deprecated and will stop returning data after November, 2027. as of 2025-11/Removal on 2025-11-13 and will be removed 2027-11-01 // returns a ItemSharedWithMeGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,6 +103,7 @@ func (m *ItemSharedWithMeRequestBuilder) GetAsSharedWithMeGetResponse(ctx contex return res.(ItemSharedWithMeGetResponseable), nil } // ToGetRequestInformation get a list of driveItem objects shared with the owner of a drive. The driveItems returned from the sharedWithMe method always include the remoteItem facet that indicates they are items from a different drive. +// Deprecated: This API is deprecated and will stop returning data after November, 2027. as of 2025-11/Removal on 2025-11-13 and will be removed 2027-11-01 // returns a *RequestInformation when successful func (m *ItemSharedWithMeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSharedWithMeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -116,6 +118,7 @@ func (m *ItemSharedWithMeRequestBuilder) ToGetRequestInformation(ctx context.Con return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// Deprecated: This API is deprecated and will stop returning data after November, 2027. as of 2025-11/Removal on 2025-11-13 and will be removed 2027-11-01 // returns a *ItemSharedWithMeRequestBuilder when successful func (m *ItemSharedWithMeRequestBuilder) WithUrl(rawUrl string)(*ItemSharedWithMeRequestBuilder) { return NewItemSharedWithMeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/04e99c49d974d40f640fff77ead3076aad53bfdcfeb7ae5bfd00a3de355d76f5.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/04e99c49d974d40f640fff77ead3076aad53bfdcfeb7ae5bfd00a3de355d76f5.go new file mode 100644 index 0000000000..6874061658 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/04e99c49d974d40f640fff77ead3076aad53bfdcfeb7ae5bfd00a3de355d76f5.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +type UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters a collection of submission resources that depend on the parent educationSubmissionResource. +type UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters +} +// UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal instantiates a new UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + m := &UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%2Did}/dependentResources/{educationSubmissionResource%2Did1}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder instantiates a new UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property dependentResources for education +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a collection of submission resources that depend on the parent educationSubmissionResource. +// returns a EducationSubmissionResourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable), nil +} +// Patch update the navigation property dependentResources in education +// returns a EducationSubmissionResourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable), nil +} +// ToDeleteRequestInformation delete navigation property dependentResources for education +// returns a *RequestInformation when successful +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a collection of submission resources that depend on the parent educationSubmissionResource. +// returns a *RequestInformation when successful +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property dependentResources in education +// returns a *RequestInformation when successful +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder when successful +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/143c919c5b85e3d0e0b0aa4ab34c27a8800951859680130002831b866e65b501.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/143c919c5b85e3d0e0b0aa4ab34c27a8800951859680130002831b866e65b501.go new file mode 100644 index 0000000000..d22a7776aa --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/143c919c5b85e3d0e0b0aa4ab34c27a8800951859680130002831b866e65b501.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder provides operations to count the resources in the collection. +type ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters get the number of the resource +type ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters +} +// NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderInternal instantiates a new ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) { + m := &ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%2Did}/dependentResources/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder instantiates a new ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder when successful +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/27141491fb6a3014e6a1a2bfb46c663d88624466b0381075617926fe04d00502.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/27141491fb6a3014e6a1a2bfb46c663d88624466b0381075617926fe04d00502.go index 598d3f15b8..4002dc6cb9 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/27141491fb6a3014e6a1a2bfb46c663d88624466b0381075617926fe04d00502.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/27141491fb6a3014e6a1a2bfb46c663d88624466b0381075617926fe04d00502.go @@ -73,6 +73,11 @@ func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionRe } return nil } +// DependentResources provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +// returns a *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder when successful +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder) DependentResources()(*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Get get submittedResources from education // returns a EducationSubmissionResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/2e12d9c5e81e87b8c30436af9e4855238d0fd4e8044d96699e98bf9179ab9527.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/2e12d9c5e81e87b8c30436af9e4855238d0fd4e8044d96699e98bf9179ab9527.go new file mode 100644 index 0000000000..0801b36189 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/2e12d9c5e81e87b8c30436af9e4855238d0fd4e8044d96699e98bf9179ab9527.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +type ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters a collection of submission resources that depend on the parent educationSubmissionResource. +type ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters +} +// ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEducationSubmissionResourceId1 provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +// returns a *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder when successful +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) ByEducationSubmissionResourceId1(educationSubmissionResourceId1 string)(*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if educationSubmissionResourceId1 != "" { + urlTplParams["educationSubmissionResource%2Did1"] = educationSubmissionResourceId1 + } + return NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderInternal instantiates a new ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) { + m := &ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%2Did}/dependentResources{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder instantiates a new ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder when successful +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) Count()(*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get a collection of submission resources that depend on the parent educationSubmissionResource. +// returns a EducationSubmissionResourceCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationSubmissionResourceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceCollectionResponseable), nil +} +// Post create new navigation property to dependentResources for education +// returns a EducationSubmissionResourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable), nil +} +// ToGetRequestInformation a collection of submission resources that depend on the parent educationSubmissionResource. +// returns a *RequestInformation when successful +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to dependentResources for education +// returns a *RequestInformation when successful +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder when successful +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/32e8fb5eae9c4660d2bfae4662101f97dbd7a48058dfbb7edb5ce515cadf8c8a.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/32e8fb5eae9c4660d2bfae4662101f97dbd7a48058dfbb7edb5ce515cadf8c8a.go new file mode 100644 index 0000000000..6ea0fe4a7c --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/32e8fb5eae9c4660d2bfae4662101f97dbd7a48058dfbb7edb5ce515cadf8c8a.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +type ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters a collection of submission resources that depend on the parent educationSubmissionResource. +type ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters +} +// ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal instantiates a new ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + m := &ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%2Did}/dependentResources/{educationSubmissionResource%2Did1}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder instantiates a new ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property dependentResources for education +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a collection of submission resources that depend on the parent educationSubmissionResource. +// returns a EducationSubmissionResourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable), nil +} +// Patch update the navigation property dependentResources in education +// returns a EducationSubmissionResourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable), nil +} +// ToDeleteRequestInformation delete navigation property dependentResources for education +// returns a *RequestInformation when successful +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a collection of submission resources that depend on the parent educationSubmissionResource. +// returns a *RequestInformation when successful +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property dependentResources in education +// returns a *RequestInformation when successful +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder when successful +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/3b3bca76cda33d407697382f762beba240717b4dcf0614a064c6775f1b8c2c8e.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/3b3bca76cda33d407697382f762beba240717b4dcf0614a064c6775f1b8c2c8e.go new file mode 100644 index 0000000000..74e86a2a32 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/3b3bca76cda33d407697382f762beba240717b4dcf0614a064c6775f1b8c2c8e.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder provides operations to count the resources in the collection. +type UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters get the number of the resource +type UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters +} +// NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderInternal instantiates a new UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) { + m := &UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%2Did}/dependentResources/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder instantiates a new UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder when successful +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/44f3d8bee759019778b05c0b7c37d24abbc59b38f3930b68ea2644dbcf909d20.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/44f3d8bee759019778b05c0b7c37d24abbc59b38f3930b68ea2644dbcf909d20.go new file mode 100644 index 0000000000..ea3c0a7d45 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/44f3d8bee759019778b05c0b7c37d24abbc59b38f3930b68ea2644dbcf909d20.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationAssignmentResource entity. +type ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters a collection of assignment resources that depend on the parent educationAssignmentResource. +type ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters +} +// ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderInternal instantiates a new ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) { + m := &ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%2Did}/dependentResources/{educationAssignmentResource%2Did1}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder instantiates a new ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property dependentResources for education +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a collection of assignment resources that depend on the parent educationAssignmentResource. +// returns a EducationAssignmentResourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationAssignmentResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable), nil +} +// Patch update the navigation property dependentResources in education +// returns a EducationAssignmentResourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable, requestConfiguration *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationAssignmentResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable), nil +} +// ToDeleteRequestInformation delete navigation property dependentResources for education +// returns a *RequestInformation when successful +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a collection of assignment resources that depend on the parent educationAssignmentResource. +// returns a *RequestInformation when successful +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property dependentResources in education +// returns a *RequestInformation when successful +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable, requestConfiguration *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder when successful +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) { + return NewClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/4f374120386be267007525df2cae561d5b26223db596a3ed92c8559e1cad1929.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/4f374120386be267007525df2cae561d5b26223db596a3ed92c8559e1cad1929.go new file mode 100644 index 0000000000..7fafc590f0 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/4f374120386be267007525df2cae561d5b26223db596a3ed92c8559e1cad1929.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +type ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters a collection of submission resources that depend on the parent educationSubmissionResource. +type ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters +} +// ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal instantiates a new ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + m := &ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%2Did}/dependentResources/{educationSubmissionResource%2Did1}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder instantiates a new ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property dependentResources for education +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a collection of submission resources that depend on the parent educationSubmissionResource. +// returns a EducationSubmissionResourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable), nil +} +// Patch update the navigation property dependentResources in education +// returns a EducationSubmissionResourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable), nil +} +// ToDeleteRequestInformation delete navigation property dependentResources for education +// returns a *RequestInformation when successful +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a collection of submission resources that depend on the parent educationSubmissionResource. +// returns a *RequestInformation when successful +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property dependentResources in education +// returns a *RequestInformation when successful +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder when successful +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/62dd484876bcd5d904b4bf242c2b3271763c28bee312ff0edc174512fb898652.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/62dd484876bcd5d904b4bf242c2b3271763c28bee312ff0edc174512fb898652.go index 7bf9d01a26..bbc551ed5b 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/62dd484876bcd5d904b4bf242c2b3271763c28bee312ff0edc174512fb898652.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/62dd484876bcd5d904b4bf242c2b3271763c28bee312ff0edc174512fb898652.go @@ -73,6 +73,11 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSub } return nil } +// DependentResources provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +// returns a *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder when successful +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder) DependentResources()(*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Get retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. // returns a EducationSubmissionResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/6e8dd1b32ed3bef8de3ffe27f2adde5009a29f3e24446db8335cd561cbc7e4eb.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/6e8dd1b32ed3bef8de3ffe27f2adde5009a29f3e24446db8335cd561cbc7e4eb.go new file mode 100644 index 0000000000..b26bc46bbd --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/6e8dd1b32ed3bef8de3ffe27f2adde5009a29f3e24446db8335cd561cbc7e4eb.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +type UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters a collection of submission resources that depend on the parent educationSubmissionResource. +type UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters +} +// UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEducationSubmissionResourceId1 provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +// returns a *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder when successful +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) ByEducationSubmissionResourceId1(educationSubmissionResourceId1 string)(*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if educationSubmissionResourceId1 != "" { + urlTplParams["educationSubmissionResource%2Did1"] = educationSubmissionResourceId1 + } + return NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderInternal instantiates a new UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) { + m := &UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%2Did}/dependentResources{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder instantiates a new UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder when successful +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) Count()(*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get a collection of submission resources that depend on the parent educationSubmissionResource. +// returns a EducationSubmissionResourceCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationSubmissionResourceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceCollectionResponseable), nil +} +// Post create new navigation property to dependentResources for education +// returns a EducationSubmissionResourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable), nil +} +// ToGetRequestInformation a collection of submission resources that depend on the parent educationSubmissionResource. +// returns a *RequestInformation when successful +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to dependentResources for education +// returns a *RequestInformation when successful +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder when successful +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/709e6ff755247f7bd1c7c5c08f01984424ee0b8597b180a0dd74a7719a7497e0.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/709e6ff755247f7bd1c7c5c08f01984424ee0b8597b180a0dd74a7719a7497e0.go index 4a49e80dd3..a1caccb9ea 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/709e6ff755247f7bd1c7c5c08f01984424ee0b8597b180a0dd74a7719a7497e0.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/709e6ff755247f7bd1c7c5c08f01984424ee0b8597b180a0dd74a7719a7497e0.go @@ -73,6 +73,11 @@ func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmi } return nil } +// DependentResources provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +// returns a *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder when successful +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder) DependentResources()(*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Get get submittedResources from education // returns a EducationSubmissionResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/a58d17107b986c5723dc6a4c7a239660abf19429f8347be5278ae3c732078527.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/a58d17107b986c5723dc6a4c7a239660abf19429f8347be5278ae3c732078527.go new file mode 100644 index 0000000000..a323030c2d --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/a58d17107b986c5723dc6a4c7a239660abf19429f8347be5278ae3c732078527.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationAssignmentResource entity. +type MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters a collection of assignment resources that depend on the parent educationAssignmentResource. +type MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters +} +// MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewMeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderInternal instantiates a new MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder and sets the default values. +func NewMeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) { + m := &MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%2Did}/dependentResources/{educationAssignmentResource%2Did1}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewMeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder instantiates a new MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder and sets the default values. +func NewMeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property dependentResources for education +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a collection of assignment resources that depend on the parent educationAssignmentResource. +// returns a EducationAssignmentResourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationAssignmentResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable), nil +} +// Patch update the navigation property dependentResources in education +// returns a EducationAssignmentResourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable, requestConfiguration *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationAssignmentResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable), nil +} +// ToDeleteRequestInformation delete navigation property dependentResources for education +// returns a *RequestInformation when successful +func (m *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a collection of assignment resources that depend on the parent educationAssignmentResource. +// returns a *RequestInformation when successful +func (m *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property dependentResources in education +// returns a *RequestInformation when successful +func (m *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable, requestConfiguration *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder when successful +func (m *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) { + return NewMeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/ab0a796be9a119c86f6823b8b4de8c1c7c671b25882cc404f8435039691ec65a.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/ab0a796be9a119c86f6823b8b4de8c1c7c671b25882cc404f8435039691ec65a.go new file mode 100644 index 0000000000..3c74b94c52 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/ab0a796be9a119c86f6823b8b4de8c1c7c671b25882cc404f8435039691ec65a.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +type UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters a collection of submission resources that depend on the parent educationSubmissionResource. +type UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters +} +// UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal instantiates a new UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + m := &UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%2Did}/dependentResources/{educationSubmissionResource%2Did1}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder instantiates a new UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property dependentResources for education +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a collection of submission resources that depend on the parent educationSubmissionResource. +// returns a EducationSubmissionResourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable), nil +} +// Patch update the navigation property dependentResources in education +// returns a EducationSubmissionResourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable), nil +} +// ToDeleteRequestInformation delete navigation property dependentResources for education +// returns a *RequestInformation when successful +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a collection of submission resources that depend on the parent educationSubmissionResource. +// returns a *RequestInformation when successful +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property dependentResources in education +// returns a *RequestInformation when successful +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder when successful +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/b11e773318a1eff1acfd1752bf534a36232c3d247d1a0372c6e57c36e0dbcee4.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/b11e773318a1eff1acfd1752bf534a36232c3d247d1a0372c6e57c36e0dbcee4.go new file mode 100644 index 0000000000..374377c52f --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/b11e773318a1eff1acfd1752bf534a36232c3d247d1a0372c6e57c36e0dbcee4.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +type MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters a collection of submission resources that depend on the parent educationSubmissionResource. +type MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters +} +// MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal instantiates a new MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder and sets the default values. +func NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + m := &MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%2Did}/dependentResources/{educationSubmissionResource%2Did1}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder instantiates a new MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder and sets the default values. +func NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property dependentResources for education +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a collection of submission resources that depend on the parent educationSubmissionResource. +// returns a EducationSubmissionResourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable), nil +} +// Patch update the navigation property dependentResources in education +// returns a EducationSubmissionResourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable), nil +} +// ToDeleteRequestInformation delete navigation property dependentResources for education +// returns a *RequestInformation when successful +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a collection of submission resources that depend on the parent educationSubmissionResource. +// returns a *RequestInformation when successful +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property dependentResources in education +// returns a *RequestInformation when successful +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder when successful +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/b251699963e0498362db6bf7f64d531323c130c9a4b697aaee48d7f89233f7cd.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/b251699963e0498362db6bf7f64d531323c130c9a4b697aaee48d7f89233f7cd.go new file mode 100644 index 0000000000..298e04cbdf --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/b251699963e0498362db6bf7f64d531323c130c9a4b697aaee48d7f89233f7cd.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder provides operations to count the resources in the collection. +type MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters get the number of the resource +type MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters +} +// NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderInternal instantiates a new MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder and sets the default values. +func NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) { + m := &MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%2Did}/dependentResources/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder instantiates a new MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder and sets the default values. +func NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder when successful +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/b5f6d67e8e62e9b4e3cd9042c439d5145c6dfaa62bcfc99191cdeb3a0c17d37b.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/b5f6d67e8e62e9b4e3cd9042c439d5145c6dfaa62bcfc99191cdeb3a0c17d37b.go index 9d3e85e5cc..ec28593e34 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/b5f6d67e8e62e9b4e3cd9042c439d5145c6dfaa62bcfc99191cdeb3a0c17d37b.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/b5f6d67e8e62e9b4e3cd9042c439d5145c6dfaa62bcfc99191cdeb3a0c17d37b.go @@ -76,6 +76,11 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionRe } return nil } +// DependentResources provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +// returns a *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder when successful +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) DependentResources()(*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Get retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. // returns a EducationSubmissionResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/c5146ccb25bbc7e58055ddd7054a91743a47b09ac6c3e90b13ed3e75609d7798.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/c5146ccb25bbc7e58055ddd7054a91743a47b09ac6c3e90b13ed3e75609d7798.go new file mode 100644 index 0000000000..e8c7998ea9 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/c5146ccb25bbc7e58055ddd7054a91743a47b09ac6c3e90b13ed3e75609d7798.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +type MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters a collection of submission resources that depend on the parent educationSubmissionResource. +type MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters +} +// MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal instantiates a new MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder and sets the default values. +func NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + m := &MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%2Did}/dependentResources/{educationSubmissionResource%2Did1}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder instantiates a new MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder and sets the default values. +func NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property dependentResources for education +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a collection of submission resources that depend on the parent educationSubmissionResource. +// returns a EducationSubmissionResourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable), nil +} +// Patch update the navigation property dependentResources in education +// returns a EducationSubmissionResourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, requestConfiguration *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable), nil +} +// ToDeleteRequestInformation delete navigation property dependentResources for education +// returns a *RequestInformation when successful +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a collection of submission resources that depend on the parent educationSubmissionResource. +// returns a *RequestInformation when successful +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property dependentResources in education +// returns a *RequestInformation when successful +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, requestConfiguration *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder when successful +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/ca6fc83cbecaf361e0b12863b7ba62e2b14c1bf18f6a8119237b2d7bac0c7673.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/ca6fc83cbecaf361e0b12863b7ba62e2b14c1bf18f6a8119237b2d7bac0c7673.go new file mode 100644 index 0000000000..6ca942ce54 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/ca6fc83cbecaf361e0b12863b7ba62e2b14c1bf18f6a8119237b2d7bac0c7673.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder provides operations to count the resources in the collection. +type ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters get the number of the resource +type ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters +} +// NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderInternal instantiates a new ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) { + m := &ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%2Did}/dependentResources/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder instantiates a new ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder when successful +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignment_settings_default_grading_scheme_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignment_settings_default_grading_scheme_request_builder.go new file mode 100644 index 0000000000..04017c2547 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignment_settings_default_grading_scheme_request_builder.go @@ -0,0 +1,84 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder provides operations to manage the defaultGradingScheme property of the microsoft.graph.educationAssignmentSettings entity. +type ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilderGetQueryParameters the default grading scheme for assignments created in this class. +type ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilderGetQueryParameters +} +// NewClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilderInternal instantiates a new ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder and sets the default values. +func NewClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder) { + m := &ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignmentSettings/defaultGradingScheme{?%24expand,%24select}", pathParameters), + } + return m +} +// NewClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder instantiates a new ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder and sets the default values. +func NewClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the default grading scheme for assignments created in this class. +// returns a EducationGradingSchemeable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationGradingSchemeFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeable), nil +} +// ToGetRequestInformation the default grading scheme for assignments created in this class. +// returns a *RequestInformation when successful +func (m *ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder when successful +func (m *ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder) { + return NewClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignment_settings_grading_schemes_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignment_settings_grading_schemes_count_request_builder.go new file mode 100644 index 0000000000..265614be67 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignment_settings_grading_schemes_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder provides operations to count the resources in the collection. +type ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilderGetQueryParameters get the number of the resource +type ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilderGetQueryParameters +} +// NewClassesItemAssignmentSettingsGradingSchemesCountRequestBuilderInternal instantiates a new ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder and sets the default values. +func NewClassesItemAssignmentSettingsGradingSchemesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder) { + m := &ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignmentSettings/gradingSchemes/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder instantiates a new ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder and sets the default values. +func NewClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewClassesItemAssignmentSettingsGradingSchemesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder when successful +func (m *ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder) { + return NewClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignment_settings_grading_schemes_education_grading_scheme_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignment_settings_grading_schemes_education_grading_scheme_item_request_builder.go new file mode 100644 index 0000000000..8874576fc4 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignment_settings_grading_schemes_education_grading_scheme_item_request_builder.go @@ -0,0 +1,166 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder provides operations to manage the gradingSchemes property of the microsoft.graph.educationAssignmentSettings entity. +type ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderGetQueryParameters read the properties and relationships of an educationGradingScheme object. +type ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderGetQueryParameters +} +// ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderInternal instantiates a new ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder and sets the default values. +func NewClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder) { + m := &ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignmentSettings/gradingSchemes/{educationGradingScheme%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder instantiates a new ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder and sets the default values. +func NewClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete an educationGradingScheme object. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationgradingscheme-delete?view=graph-rest-1.0 +func (m *ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get read the properties and relationships of an educationGradingScheme object. +// returns a EducationGradingSchemeable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationgradingscheme-get?view=graph-rest-1.0 +func (m *ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationGradingSchemeFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeable), nil +} +// Patch update the navigation property gradingSchemes in education +// returns a EducationGradingSchemeable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeable, requestConfiguration *ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationGradingSchemeFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeable), nil +} +// ToDeleteRequestInformation delete an educationGradingScheme object. +// returns a *RequestInformation when successful +func (m *ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation read the properties and relationships of an educationGradingScheme object. +// returns a *RequestInformation when successful +func (m *ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property gradingSchemes in education +// returns a *RequestInformation when successful +func (m *ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeable, requestConfiguration *ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder when successful +func (m *ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder) { + return NewClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignment_settings_grading_schemes_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignment_settings_grading_schemes_request_builder.go new file mode 100644 index 0000000000..4d27f5baf7 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignment_settings_grading_schemes_request_builder.go @@ -0,0 +1,158 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ClassesItemAssignmentSettingsGradingSchemesRequestBuilder provides operations to manage the gradingSchemes property of the microsoft.graph.educationAssignmentSettings entity. +type ClassesItemAssignmentSettingsGradingSchemesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ClassesItemAssignmentSettingsGradingSchemesRequestBuilderGetQueryParameters read the properties and relationships of an educationGradingScheme object. +type ClassesItemAssignmentSettingsGradingSchemesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ClassesItemAssignmentSettingsGradingSchemesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentSettingsGradingSchemesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ClassesItemAssignmentSettingsGradingSchemesRequestBuilderGetQueryParameters +} +// ClassesItemAssignmentSettingsGradingSchemesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentSettingsGradingSchemesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEducationGradingSchemeId provides operations to manage the gradingSchemes property of the microsoft.graph.educationAssignmentSettings entity. +// returns a *ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder when successful +func (m *ClassesItemAssignmentSettingsGradingSchemesRequestBuilder) ByEducationGradingSchemeId(educationGradingSchemeId string)(*ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if educationGradingSchemeId != "" { + urlTplParams["educationGradingScheme%2Did"] = educationGradingSchemeId + } + return NewClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewClassesItemAssignmentSettingsGradingSchemesRequestBuilderInternal instantiates a new ClassesItemAssignmentSettingsGradingSchemesRequestBuilder and sets the default values. +func NewClassesItemAssignmentSettingsGradingSchemesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentSettingsGradingSchemesRequestBuilder) { + m := &ClassesItemAssignmentSettingsGradingSchemesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignmentSettings/gradingSchemes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewClassesItemAssignmentSettingsGradingSchemesRequestBuilder instantiates a new ClassesItemAssignmentSettingsGradingSchemesRequestBuilder and sets the default values. +func NewClassesItemAssignmentSettingsGradingSchemesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentSettingsGradingSchemesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewClassesItemAssignmentSettingsGradingSchemesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder when successful +func (m *ClassesItemAssignmentSettingsGradingSchemesRequestBuilder) Count()(*ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder) { + return NewClassesItemAssignmentSettingsGradingSchemesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get read the properties and relationships of an educationGradingScheme object. +// returns a EducationGradingSchemeCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ClassesItemAssignmentSettingsGradingSchemesRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentSettingsGradingSchemesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationGradingSchemeCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeCollectionResponseable), nil +} +// Post create a new educationGradingScheme on an educationClass. Only teachers can perform this operation. +// returns a EducationGradingSchemeable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignmentsettings-post-gradingschemes?view=graph-rest-1.0 +func (m *ClassesItemAssignmentSettingsGradingSchemesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeable, requestConfiguration *ClassesItemAssignmentSettingsGradingSchemesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationGradingSchemeFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeable), nil +} +// ToGetRequestInformation read the properties and relationships of an educationGradingScheme object. +// returns a *RequestInformation when successful +func (m *ClassesItemAssignmentSettingsGradingSchemesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentSettingsGradingSchemesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create a new educationGradingScheme on an educationClass. Only teachers can perform this operation. +// returns a *RequestInformation when successful +func (m *ClassesItemAssignmentSettingsGradingSchemesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeable, requestConfiguration *ClassesItemAssignmentSettingsGradingSchemesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ClassesItemAssignmentSettingsGradingSchemesRequestBuilder when successful +func (m *ClassesItemAssignmentSettingsGradingSchemesRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentSettingsGradingSchemesRequestBuilder) { + return NewClassesItemAssignmentSettingsGradingSchemesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignment_settings_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignment_settings_request_builder.go index 86f48b6d37..c374712f42 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignment_settings_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignment_settings_request_builder.go @@ -57,6 +57,11 @@ func NewClassesItemAssignmentSettingsRequestBuilder(rawUrl string, requestAdapte urlParams["request-raw-url"] = rawUrl return NewClassesItemAssignmentSettingsRequestBuilderInternal(urlParams, requestAdapter) } +// DefaultGradingScheme provides operations to manage the defaultGradingScheme property of the microsoft.graph.educationAssignmentSettings entity. +// returns a *ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder when successful +func (m *ClassesItemAssignmentSettingsRequestBuilder) DefaultGradingScheme()(*ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder) { + return NewClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Delete delete navigation property assignmentSettings for education // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ClassesItemAssignmentSettingsRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClassesItemAssignmentSettingsRequestBuilderDeleteRequestConfiguration)(error) { @@ -98,6 +103,11 @@ func (m *ClassesItemAssignmentSettingsRequestBuilder) Get(ctx context.Context, r func (m *ClassesItemAssignmentSettingsRequestBuilder) GradingCategories()(*ClassesItemAssignmentSettingsGradingCategoriesRequestBuilder) { return NewClassesItemAssignmentSettingsGradingCategoriesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// GradingSchemes provides operations to manage the gradingSchemes property of the microsoft.graph.educationAssignmentSettings entity. +// returns a *ClassesItemAssignmentSettingsGradingSchemesRequestBuilder when successful +func (m *ClassesItemAssignmentSettingsRequestBuilder) GradingSchemes()(*ClassesItemAssignmentSettingsGradingSchemesRequestBuilder) { + return NewClassesItemAssignmentSettingsGradingSchemesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Patch update the properties of an educationAssignmentSettings object. Only teachers can update these settings. // returns a EducationAssignmentSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignments_education_assignment_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignments_education_assignment_item_request_builder.go index bf4e665aba..2025dff543 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignments_education_assignment_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignments_education_assignment_item_request_builder.go @@ -119,6 +119,11 @@ func (m *ClassesItemAssignmentsEducationAssignmentItemRequestBuilder) Get(ctx co func (m *ClassesItemAssignmentsEducationAssignmentItemRequestBuilder) GradingCategory()(*ClassesItemAssignmentsItemGradingCategoryRequestBuilder) { return NewClassesItemAssignmentsItemGradingCategoryRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// GradingScheme provides operations to manage the gradingScheme property of the microsoft.graph.educationAssignment entity. +// returns a *ClassesItemAssignmentsItemGradingSchemeRequestBuilder when successful +func (m *ClassesItemAssignmentsEducationAssignmentItemRequestBuilder) GradingScheme()(*ClassesItemAssignmentsItemGradingSchemeRequestBuilder) { + return NewClassesItemAssignmentsItemGradingSchemeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Patch update an educationAssignment object. Only teachers can perform this action. Alternatively, request to change the status of an assignment with publish action. Don't use a PATCH operation for this purpose. // returns a EducationAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignments_item_grading_scheme_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignments_item_grading_scheme_request_builder.go new file mode 100644 index 0000000000..1bc57a82c5 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignments_item_grading_scheme_request_builder.go @@ -0,0 +1,84 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ClassesItemAssignmentsItemGradingSchemeRequestBuilder provides operations to manage the gradingScheme property of the microsoft.graph.educationAssignment entity. +type ClassesItemAssignmentsItemGradingSchemeRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ClassesItemAssignmentsItemGradingSchemeRequestBuilderGetQueryParameters when set, enables users to configure custom string grades based on the percentage of total points earned on this assignment. +type ClassesItemAssignmentsItemGradingSchemeRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ClassesItemAssignmentsItemGradingSchemeRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemGradingSchemeRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ClassesItemAssignmentsItemGradingSchemeRequestBuilderGetQueryParameters +} +// NewClassesItemAssignmentsItemGradingSchemeRequestBuilderInternal instantiates a new ClassesItemAssignmentsItemGradingSchemeRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemGradingSchemeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemGradingSchemeRequestBuilder) { + m := &ClassesItemAssignmentsItemGradingSchemeRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/gradingScheme{?%24expand,%24select}", pathParameters), + } + return m +} +// NewClassesItemAssignmentsItemGradingSchemeRequestBuilder instantiates a new ClassesItemAssignmentsItemGradingSchemeRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemGradingSchemeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemGradingSchemeRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewClassesItemAssignmentsItemGradingSchemeRequestBuilderInternal(urlParams, requestAdapter) +} +// Get when set, enables users to configure custom string grades based on the percentage of total points earned on this assignment. +// returns a EducationGradingSchemeable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ClassesItemAssignmentsItemGradingSchemeRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemGradingSchemeRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationGradingSchemeFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeable), nil +} +// ToGetRequestInformation when set, enables users to configure custom string grades based on the percentage of total points earned on this assignment. +// returns a *RequestInformation when successful +func (m *ClassesItemAssignmentsItemGradingSchemeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemGradingSchemeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ClassesItemAssignmentsItemGradingSchemeRequestBuilder when successful +func (m *ClassesItemAssignmentsItemGradingSchemeRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemGradingSchemeRequestBuilder) { + return NewClassesItemAssignmentsItemGradingSchemeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignments_item_resources_education_assignment_resource_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignments_item_resources_education_assignment_resource_item_request_builder.go index 556a3bc2af..b5b8ec8a59 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignments_item_resources_education_assignment_resource_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignments_item_resources_education_assignment_resource_item_request_builder.go @@ -76,6 +76,11 @@ func (m *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemReque } return nil } +// DependentResources provides operations to manage the dependentResources property of the microsoft.graph.educationAssignmentResource entity. +// returns a *ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder when successful +func (m *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) DependentResources()(*ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) { + return NewClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Get get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. // returns a EducationAssignmentResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignments_item_resources_item_dependent_resources_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignments_item_resources_item_dependent_resources_count_request_builder.go new file mode 100644 index 0000000000..927d97f8b7 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignments_item_resources_item_dependent_resources_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder provides operations to count the resources in the collection. +type ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters get the number of the resource +type ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters +} +// NewClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderInternal instantiates a new ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) { + m := &ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%2Did}/dependentResources/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder instantiates a new ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder when successful +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) { + return NewClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignments_item_resources_item_dependent_resources_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignments_item_resources_item_dependent_resources_request_builder.go new file mode 100644 index 0000000000..8bf1142213 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignments_item_resources_item_dependent_resources_request_builder.go @@ -0,0 +1,158 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationAssignmentResource entity. +type ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters list the dependent education assignment resources for a given education assignment resource. +type ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters +} +// ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEducationAssignmentResourceId1 provides operations to manage the dependentResources property of the microsoft.graph.educationAssignmentResource entity. +// returns a *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder when successful +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) ByEducationAssignmentResourceId1(educationAssignmentResourceId1 string)(*ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if educationAssignmentResourceId1 != "" { + urlTplParams["educationAssignmentResource%2Did1"] = educationAssignmentResourceId1 + } + return NewClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderInternal instantiates a new ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) { + m := &ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%2Did}/dependentResources{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder instantiates a new ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder when successful +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) Count()(*ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) { + return NewClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get list the dependent education assignment resources for a given education assignment resource. +// returns a EducationAssignmentResourceCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignmentresource-list-dependentresources?view=graph-rest-1.0 +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationAssignmentResourceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceCollectionResponseable), nil +} +// Post create new navigation property to dependentResources for education +// returns a EducationAssignmentResourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable, requestConfiguration *ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationAssignmentResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable), nil +} +// ToGetRequestInformation list the dependent education assignment resources for a given education assignment resource. +// returns a *RequestInformation when successful +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to dependentResources for education +// returns a *RequestInformation when successful +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable, requestConfiguration *ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder when successful +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) { + return NewClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go new file mode 100644 index 0000000000..3035b627d3 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes_item_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go @@ -0,0 +1,158 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +type ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters list the dependent education submission resources for a given education submission resource. +type ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters +} +// ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEducationSubmissionResourceId1 provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +// returns a *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder when successful +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) ByEducationSubmissionResourceId1(educationSubmissionResourceId1 string)(*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if educationSubmissionResourceId1 != "" { + urlTplParams["educationSubmissionResource%2Did1"] = educationSubmissionResourceId1 + } + return NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderInternal instantiates a new ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) { + m := &ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%2Did}/dependentResources{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder instantiates a new ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder when successful +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) Count()(*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get list the dependent education submission resources for a given education submission resource. +// returns a EducationSubmissionResourceCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmissionresource-list-dependentresources?view=graph-rest-1.0 +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationSubmissionResourceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceCollectionResponseable), nil +} +// Post create new navigation property to dependentResources for education +// returns a EducationSubmissionResourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable), nil +} +// ToGetRequestInformation list the dependent education submission resources for a given education submission resource. +// returns a *RequestInformation when successful +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to dependentResources for education +// returns a *RequestInformation when successful +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder when successful +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/e0bec69dd9a8b86cb2f846678cb29ba13c371816c979bc142d62a0017b66dc6c.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/e0bec69dd9a8b86cb2f846678cb29ba13c371816c979bc142d62a0017b66dc6c.go new file mode 100644 index 0000000000..5038f26944 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/e0bec69dd9a8b86cb2f846678cb29ba13c371816c979bc142d62a0017b66dc6c.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder provides operations to count the resources in the collection. +type UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters get the number of the resource +type UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters +} +// NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderInternal instantiates a new UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) { + m := &UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%2Did}/dependentResources/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder instantiates a new UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder when successful +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/e59948a8aa4e18241eb22b4e8a139166ac10578cdde1d3d6bc886b9045901879.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/e59948a8aa4e18241eb22b4e8a139166ac10578cdde1d3d6bc886b9045901879.go index 0115c57056..c8834c0227 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/e59948a8aa4e18241eb22b4e8a139166ac10578cdde1d3d6bc886b9045901879.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/e59948a8aa4e18241eb22b4e8a139166ac10578cdde1d3d6bc886b9045901879.go @@ -73,6 +73,11 @@ func (m *UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionReso } return nil } +// DependentResources provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +// returns a *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder when successful +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) DependentResources()(*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Get get resources from education // returns a EducationSubmissionResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/e5af2c6859376105a79831fed19ddf26ac5fcceb3f234352c3c5a306939dc1b2.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/e5af2c6859376105a79831fed19ddf26ac5fcceb3f234352c3c5a306939dc1b2.go new file mode 100644 index 0000000000..b5099227f6 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/e5af2c6859376105a79831fed19ddf26ac5fcceb3f234352c3c5a306939dc1b2.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationAssignmentResource entity. +type UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters a collection of assignment resources that depend on the parent educationAssignmentResource. +type UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters +} +// UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewUsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderInternal instantiates a new UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) { + m := &UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%2Did}/dependentResources/{educationAssignmentResource%2Did1}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewUsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder instantiates a new UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewUsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property dependentResources for education +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a collection of assignment resources that depend on the parent educationAssignmentResource. +// returns a EducationAssignmentResourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationAssignmentResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable), nil +} +// Patch update the navigation property dependentResources in education +// returns a EducationAssignmentResourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable, requestConfiguration *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationAssignmentResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable), nil +} +// ToDeleteRequestInformation delete navigation property dependentResources for education +// returns a *RequestInformation when successful +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a collection of assignment resources that depend on the parent educationAssignmentResource. +// returns a *RequestInformation when successful +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property dependentResources in education +// returns a *RequestInformation when successful +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable, requestConfiguration *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder when successful +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) { + return NewUsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_education_assignment_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_education_assignment_item_request_builder.go index c8b5c0bac9..8a78aa3a0a 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_education_assignment_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_education_assignment_item_request_builder.go @@ -113,6 +113,11 @@ func (m *MeAssignmentsEducationAssignmentItemRequestBuilder) Get(ctx context.Con func (m *MeAssignmentsEducationAssignmentItemRequestBuilder) GradingCategory()(*MeAssignmentsItemGradingCategoryRequestBuilder) { return NewMeAssignmentsItemGradingCategoryRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// GradingScheme provides operations to manage the gradingScheme property of the microsoft.graph.educationAssignment entity. +// returns a *MeAssignmentsItemGradingSchemeRequestBuilder when successful +func (m *MeAssignmentsEducationAssignmentItemRequestBuilder) GradingScheme()(*MeAssignmentsItemGradingSchemeRequestBuilder) { + return NewMeAssignmentsItemGradingSchemeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Patch update the navigation property assignments in education // returns a EducationAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_grading_scheme_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_grading_scheme_request_builder.go new file mode 100644 index 0000000000..9c376750c6 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_grading_scheme_request_builder.go @@ -0,0 +1,84 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// MeAssignmentsItemGradingSchemeRequestBuilder provides operations to manage the gradingScheme property of the microsoft.graph.educationAssignment entity. +type MeAssignmentsItemGradingSchemeRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MeAssignmentsItemGradingSchemeRequestBuilderGetQueryParameters when set, enables users to configure custom string grades based on the percentage of total points earned on this assignment. +type MeAssignmentsItemGradingSchemeRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// MeAssignmentsItemGradingSchemeRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemGradingSchemeRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MeAssignmentsItemGradingSchemeRequestBuilderGetQueryParameters +} +// NewMeAssignmentsItemGradingSchemeRequestBuilderInternal instantiates a new MeAssignmentsItemGradingSchemeRequestBuilder and sets the default values. +func NewMeAssignmentsItemGradingSchemeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemGradingSchemeRequestBuilder) { + m := &MeAssignmentsItemGradingSchemeRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/gradingScheme{?%24expand,%24select}", pathParameters), + } + return m +} +// NewMeAssignmentsItemGradingSchemeRequestBuilder instantiates a new MeAssignmentsItemGradingSchemeRequestBuilder and sets the default values. +func NewMeAssignmentsItemGradingSchemeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemGradingSchemeRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMeAssignmentsItemGradingSchemeRequestBuilderInternal(urlParams, requestAdapter) +} +// Get when set, enables users to configure custom string grades based on the percentage of total points earned on this assignment. +// returns a EducationGradingSchemeable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *MeAssignmentsItemGradingSchemeRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemGradingSchemeRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationGradingSchemeFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeable), nil +} +// ToGetRequestInformation when set, enables users to configure custom string grades based on the percentage of total points earned on this assignment. +// returns a *RequestInformation when successful +func (m *MeAssignmentsItemGradingSchemeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemGradingSchemeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *MeAssignmentsItemGradingSchemeRequestBuilder when successful +func (m *MeAssignmentsItemGradingSchemeRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemGradingSchemeRequestBuilder) { + return NewMeAssignmentsItemGradingSchemeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_resources_education_assignment_resource_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_resources_education_assignment_resource_item_request_builder.go index cbea92aa7a..86990938f4 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_resources_education_assignment_resource_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_resources_education_assignment_resource_item_request_builder.go @@ -73,6 +73,11 @@ func (m *MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder } return nil } +// DependentResources provides operations to manage the dependentResources property of the microsoft.graph.educationAssignmentResource entity. +// returns a *MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder when successful +func (m *MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) DependentResources()(*MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder) { + return NewMeAssignmentsItemResourcesItemDependentResourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Get learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. // returns a EducationAssignmentResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_resources_item_dependent_resources_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_resources_item_dependent_resources_count_request_builder.go new file mode 100644 index 0000000000..68534fb034 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_resources_item_dependent_resources_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder provides operations to count the resources in the collection. +type MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters get the number of the resource +type MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters +} +// NewMeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderInternal instantiates a new MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder and sets the default values. +func NewMeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) { + m := &MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%2Did}/dependentResources/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewMeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder instantiates a new MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder and sets the default values. +func NewMeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder when successful +func (m *MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) { + return NewMeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_resources_item_dependent_resources_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_resources_item_dependent_resources_request_builder.go new file mode 100644 index 0000000000..474d1a3029 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_resources_item_dependent_resources_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationAssignmentResource entity. +type MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters a collection of assignment resources that depend on the parent educationAssignmentResource. +type MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters +} +// MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEducationAssignmentResourceId1 provides operations to manage the dependentResources property of the microsoft.graph.educationAssignmentResource entity. +// returns a *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder when successful +func (m *MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder) ByEducationAssignmentResourceId1(educationAssignmentResourceId1 string)(*MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if educationAssignmentResourceId1 != "" { + urlTplParams["educationAssignmentResource%2Did1"] = educationAssignmentResourceId1 + } + return NewMeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewMeAssignmentsItemResourcesItemDependentResourcesRequestBuilderInternal instantiates a new MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder and sets the default values. +func NewMeAssignmentsItemResourcesItemDependentResourcesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder) { + m := &MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%2Did}/dependentResources{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewMeAssignmentsItemResourcesItemDependentResourcesRequestBuilder instantiates a new MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder and sets the default values. +func NewMeAssignmentsItemResourcesItemDependentResourcesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMeAssignmentsItemResourcesItemDependentResourcesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder when successful +func (m *MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder) Count()(*MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) { + return NewMeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get a collection of assignment resources that depend on the parent educationAssignmentResource. +// returns a EducationAssignmentResourceCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationAssignmentResourceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceCollectionResponseable), nil +} +// Post create new navigation property to dependentResources for education +// returns a EducationAssignmentResourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable, requestConfiguration *MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationAssignmentResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable), nil +} +// ToGetRequestInformation a collection of assignment resources that depend on the parent educationAssignmentResource. +// returns a *RequestInformation when successful +func (m *MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to dependentResources for education +// returns a *RequestInformation when successful +func (m *MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable, requestConfiguration *MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder when successful +func (m *MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder) { + return NewMeAssignmentsItemResourcesItemDependentResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go index 95995b5baf..0513221281 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go @@ -73,6 +73,11 @@ func (m *MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceIte } return nil } +// DependentResources provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +// returns a *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder when successful +func (m *MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) DependentResources()(*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Get get resources from education // returns a EducationSubmissionResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_submissions_item_resources_item_dependent_resources_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_submissions_item_resources_item_dependent_resources_count_request_builder.go new file mode 100644 index 0000000000..3ea5c4d070 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_submissions_item_resources_item_dependent_resources_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder provides operations to count the resources in the collection. +type MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters get the number of the resource +type MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters +} +// NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderInternal instantiates a new MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder and sets the default values. +func NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) { + m := &MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%2Did}/dependentResources/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder instantiates a new MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder and sets the default values. +func NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder when successful +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go new file mode 100644 index 0000000000..628761f584 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +type MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters a collection of submission resources that depend on the parent educationSubmissionResource. +type MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters +} +// MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEducationSubmissionResourceId1 provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +// returns a *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder when successful +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) ByEducationSubmissionResourceId1(educationSubmissionResourceId1 string)(*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if educationSubmissionResourceId1 != "" { + urlTplParams["educationSubmissionResource%2Did1"] = educationSubmissionResourceId1 + } + return NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderInternal instantiates a new MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder and sets the default values. +func NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) { + m := &MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%2Did}/dependentResources{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder instantiates a new MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder and sets the default values. +func NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder when successful +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) Count()(*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get a collection of submission resources that depend on the parent educationSubmissionResource. +// returns a EducationSubmissionResourceCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationSubmissionResourceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceCollectionResponseable), nil +} +// Post create new navigation property to dependentResources for education +// returns a EducationSubmissionResourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable), nil +} +// ToGetRequestInformation a collection of submission resources that depend on the parent educationSubmissionResource. +// returns a *RequestInformation when successful +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to dependentResources for education +// returns a *RequestInformation when successful +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder when successful +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_submissions_item_submitted_resources_item_dependent_resources_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_submissions_item_submitted_resources_item_dependent_resources_request_builder.go new file mode 100644 index 0000000000..905330453f --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/me_assignments_item_submissions_item_submitted_resources_item_dependent_resources_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +type MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters a collection of submission resources that depend on the parent educationSubmissionResource. +type MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters +} +// MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEducationSubmissionResourceId1 provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +// returns a *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder when successful +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) ByEducationSubmissionResourceId1(educationSubmissionResourceId1 string)(*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if educationSubmissionResourceId1 != "" { + urlTplParams["educationSubmissionResource%2Did1"] = educationSubmissionResourceId1 + } + return NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderInternal instantiates a new MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder and sets the default values. +func NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) { + m := &MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%2Did}/dependentResources{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder instantiates a new MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder and sets the default values. +func NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder when successful +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) Count()(*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get a collection of submission resources that depend on the parent educationSubmissionResource. +// returns a EducationSubmissionResourceCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationSubmissionResourceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceCollectionResponseable), nil +} +// Post create new navigation property to dependentResources for education +// returns a EducationSubmissionResourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, requestConfiguration *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable), nil +} +// ToGetRequestInformation a collection of submission resources that depend on the parent educationSubmissionResource. +// returns a *RequestInformation when successful +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to dependentResources for education +// returns a *RequestInformation when successful +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, requestConfiguration *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder when successful +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/reports_reading_coach_passages_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/reports_reading_coach_passages_count_request_builder.go new file mode 100644 index 0000000000..26aaae4baa --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/reports_reading_coach_passages_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ReportsReadingCoachPassagesCountRequestBuilder provides operations to count the resources in the collection. +type ReportsReadingCoachPassagesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ReportsReadingCoachPassagesCountRequestBuilderGetQueryParameters get the number of the resource +type ReportsReadingCoachPassagesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ReportsReadingCoachPassagesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ReportsReadingCoachPassagesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ReportsReadingCoachPassagesCountRequestBuilderGetQueryParameters +} +// NewReportsReadingCoachPassagesCountRequestBuilderInternal instantiates a new ReportsReadingCoachPassagesCountRequestBuilder and sets the default values. +func NewReportsReadingCoachPassagesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ReportsReadingCoachPassagesCountRequestBuilder) { + m := &ReportsReadingCoachPassagesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/reports/readingCoachPassages/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewReportsReadingCoachPassagesCountRequestBuilder instantiates a new ReportsReadingCoachPassagesCountRequestBuilder and sets the default values. +func NewReportsReadingCoachPassagesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ReportsReadingCoachPassagesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewReportsReadingCoachPassagesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ReportsReadingCoachPassagesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ReportsReadingCoachPassagesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ReportsReadingCoachPassagesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ReportsReadingCoachPassagesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ReportsReadingCoachPassagesCountRequestBuilder when successful +func (m *ReportsReadingCoachPassagesCountRequestBuilder) WithUrl(rawUrl string)(*ReportsReadingCoachPassagesCountRequestBuilder) { + return NewReportsReadingCoachPassagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/reports_reading_coach_passages_reading_coach_passage_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/reports_reading_coach_passages_reading_coach_passage_item_request_builder.go new file mode 100644 index 0000000000..2d7f31ba5f --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/reports_reading_coach_passages_reading_coach_passage_item_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder provides operations to manage the readingCoachPassages property of the microsoft.graph.reportsRoot entity. +type ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderGetQueryParameters details of practiced Reading Coach passages. +type ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderGetQueryParameters +} +// ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderInternal instantiates a new ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder and sets the default values. +func NewReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder) { + m := &ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/reports/readingCoachPassages/{readingCoachPassage%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder instantiates a new ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder and sets the default values. +func NewReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property readingCoachPassages for education +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get details of practiced Reading Coach passages. +// returns a ReadingCoachPassageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReadingCoachPassageable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateReadingCoachPassageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReadingCoachPassageable), nil +} +// Patch update the navigation property readingCoachPassages in education +// returns a ReadingCoachPassageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReadingCoachPassageable, requestConfiguration *ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReadingCoachPassageable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateReadingCoachPassageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReadingCoachPassageable), nil +} +// ToDeleteRequestInformation delete navigation property readingCoachPassages for education +// returns a *RequestInformation when successful +func (m *ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation details of practiced Reading Coach passages. +// returns a *RequestInformation when successful +func (m *ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property readingCoachPassages in education +// returns a *RequestInformation when successful +func (m *ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReadingCoachPassageable, requestConfiguration *ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder when successful +func (m *ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder) WithUrl(rawUrl string)(*ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder) { + return NewReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/reports_reading_coach_passages_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/reports_reading_coach_passages_request_builder.go new file mode 100644 index 0000000000..3f2111caea --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/reports_reading_coach_passages_request_builder.go @@ -0,0 +1,158 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ReportsReadingCoachPassagesRequestBuilder provides operations to manage the readingCoachPassages property of the microsoft.graph.reportsRoot entity. +type ReportsReadingCoachPassagesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ReportsReadingCoachPassagesRequestBuilderGetQueryParameters get a list of Reading Coach passages that were practiced by a student. +type ReportsReadingCoachPassagesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ReportsReadingCoachPassagesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ReportsReadingCoachPassagesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ReportsReadingCoachPassagesRequestBuilderGetQueryParameters +} +// ReportsReadingCoachPassagesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ReportsReadingCoachPassagesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByReadingCoachPassageId provides operations to manage the readingCoachPassages property of the microsoft.graph.reportsRoot entity. +// returns a *ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder when successful +func (m *ReportsReadingCoachPassagesRequestBuilder) ByReadingCoachPassageId(readingCoachPassageId string)(*ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if readingCoachPassageId != "" { + urlTplParams["readingCoachPassage%2Did"] = readingCoachPassageId + } + return NewReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewReportsReadingCoachPassagesRequestBuilderInternal instantiates a new ReportsReadingCoachPassagesRequestBuilder and sets the default values. +func NewReportsReadingCoachPassagesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ReportsReadingCoachPassagesRequestBuilder) { + m := &ReportsReadingCoachPassagesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/reports/readingCoachPassages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewReportsReadingCoachPassagesRequestBuilder instantiates a new ReportsReadingCoachPassagesRequestBuilder and sets the default values. +func NewReportsReadingCoachPassagesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ReportsReadingCoachPassagesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewReportsReadingCoachPassagesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ReportsReadingCoachPassagesCountRequestBuilder when successful +func (m *ReportsReadingCoachPassagesRequestBuilder) Count()(*ReportsReadingCoachPassagesCountRequestBuilder) { + return NewReportsReadingCoachPassagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of Reading Coach passages that were practiced by a student. +// returns a ReadingCoachPassageCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/reportsroot-list-readingcoachpassages?view=graph-rest-1.0 +func (m *ReportsReadingCoachPassagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ReportsReadingCoachPassagesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReadingCoachPassageCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateReadingCoachPassageCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReadingCoachPassageCollectionResponseable), nil +} +// Post create new navigation property to readingCoachPassages for education +// returns a ReadingCoachPassageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ReportsReadingCoachPassagesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReadingCoachPassageable, requestConfiguration *ReportsReadingCoachPassagesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReadingCoachPassageable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateReadingCoachPassageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReadingCoachPassageable), nil +} +// ToGetRequestInformation get a list of Reading Coach passages that were practiced by a student. +// returns a *RequestInformation when successful +func (m *ReportsReadingCoachPassagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ReportsReadingCoachPassagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to readingCoachPassages for education +// returns a *RequestInformation when successful +func (m *ReportsReadingCoachPassagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReadingCoachPassageable, requestConfiguration *ReportsReadingCoachPassagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ReportsReadingCoachPassagesRequestBuilder when successful +func (m *ReportsReadingCoachPassagesRequestBuilder) WithUrl(rawUrl string)(*ReportsReadingCoachPassagesRequestBuilder) { + return NewReportsReadingCoachPassagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/reports_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/reports_request_builder.go index 85d71fbed3..3be329b994 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/reports_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/reports_request_builder.go @@ -118,11 +118,21 @@ func (m *ReportsRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61 func (m *ReportsRequestBuilder) ReadingAssignmentSubmissions()(*ReportsReadingAssignmentSubmissionsRequestBuilder) { return NewReportsReadingAssignmentSubmissionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// ReadingCoachPassages provides operations to manage the readingCoachPassages property of the microsoft.graph.reportsRoot entity. +// returns a *ReportsReadingCoachPassagesRequestBuilder when successful +func (m *ReportsRequestBuilder) ReadingCoachPassages()(*ReportsReadingCoachPassagesRequestBuilder) { + return NewReportsReadingCoachPassagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ReflectCheckInResponses provides operations to manage the reflectCheckInResponses property of the microsoft.graph.reportsRoot entity. // returns a *ReportsReflectCheckInResponsesRequestBuilder when successful func (m *ReportsRequestBuilder) ReflectCheckInResponses()(*ReportsReflectCheckInResponsesRequestBuilder) { return NewReportsReflectCheckInResponsesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// SpeakerAssignmentSubmissions provides operations to manage the speakerAssignmentSubmissions property of the microsoft.graph.reportsRoot entity. +// returns a *ReportsSpeakerAssignmentSubmissionsRequestBuilder when successful +func (m *ReportsRequestBuilder) SpeakerAssignmentSubmissions()(*ReportsSpeakerAssignmentSubmissionsRequestBuilder) { + return NewReportsSpeakerAssignmentSubmissionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToDeleteRequestInformation delete navigation property reports for education // returns a *RequestInformation when successful func (m *ReportsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ReportsRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/reports_speaker_assignment_submissions_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/reports_speaker_assignment_submissions_count_request_builder.go new file mode 100644 index 0000000000..f8583a6e53 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/reports_speaker_assignment_submissions_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ReportsSpeakerAssignmentSubmissionsCountRequestBuilder provides operations to count the resources in the collection. +type ReportsSpeakerAssignmentSubmissionsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ReportsSpeakerAssignmentSubmissionsCountRequestBuilderGetQueryParameters get the number of the resource +type ReportsSpeakerAssignmentSubmissionsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ReportsSpeakerAssignmentSubmissionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ReportsSpeakerAssignmentSubmissionsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ReportsSpeakerAssignmentSubmissionsCountRequestBuilderGetQueryParameters +} +// NewReportsSpeakerAssignmentSubmissionsCountRequestBuilderInternal instantiates a new ReportsSpeakerAssignmentSubmissionsCountRequestBuilder and sets the default values. +func NewReportsSpeakerAssignmentSubmissionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ReportsSpeakerAssignmentSubmissionsCountRequestBuilder) { + m := &ReportsSpeakerAssignmentSubmissionsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/reports/speakerAssignmentSubmissions/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewReportsSpeakerAssignmentSubmissionsCountRequestBuilder instantiates a new ReportsSpeakerAssignmentSubmissionsCountRequestBuilder and sets the default values. +func NewReportsSpeakerAssignmentSubmissionsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ReportsSpeakerAssignmentSubmissionsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewReportsSpeakerAssignmentSubmissionsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ReportsSpeakerAssignmentSubmissionsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ReportsSpeakerAssignmentSubmissionsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ReportsSpeakerAssignmentSubmissionsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ReportsSpeakerAssignmentSubmissionsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ReportsSpeakerAssignmentSubmissionsCountRequestBuilder when successful +func (m *ReportsSpeakerAssignmentSubmissionsCountRequestBuilder) WithUrl(rawUrl string)(*ReportsSpeakerAssignmentSubmissionsCountRequestBuilder) { + return NewReportsSpeakerAssignmentSubmissionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/reports_speaker_assignment_submissions_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/reports_speaker_assignment_submissions_request_builder.go new file mode 100644 index 0000000000..e5d2c297f6 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/reports_speaker_assignment_submissions_request_builder.go @@ -0,0 +1,158 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ReportsSpeakerAssignmentSubmissionsRequestBuilder provides operations to manage the speakerAssignmentSubmissions property of the microsoft.graph.reportsRoot entity. +type ReportsSpeakerAssignmentSubmissionsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ReportsSpeakerAssignmentSubmissionsRequestBuilderGetQueryParameters get a list of speaker assignments that were submitted by a student. +type ReportsSpeakerAssignmentSubmissionsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ReportsSpeakerAssignmentSubmissionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ReportsSpeakerAssignmentSubmissionsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ReportsSpeakerAssignmentSubmissionsRequestBuilderGetQueryParameters +} +// ReportsSpeakerAssignmentSubmissionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ReportsSpeakerAssignmentSubmissionsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BySpeakerAssignmentSubmissionId provides operations to manage the speakerAssignmentSubmissions property of the microsoft.graph.reportsRoot entity. +// returns a *ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder when successful +func (m *ReportsSpeakerAssignmentSubmissionsRequestBuilder) BySpeakerAssignmentSubmissionId(speakerAssignmentSubmissionId string)(*ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if speakerAssignmentSubmissionId != "" { + urlTplParams["speakerAssignmentSubmission%2Did"] = speakerAssignmentSubmissionId + } + return NewReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewReportsSpeakerAssignmentSubmissionsRequestBuilderInternal instantiates a new ReportsSpeakerAssignmentSubmissionsRequestBuilder and sets the default values. +func NewReportsSpeakerAssignmentSubmissionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ReportsSpeakerAssignmentSubmissionsRequestBuilder) { + m := &ReportsSpeakerAssignmentSubmissionsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/reports/speakerAssignmentSubmissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewReportsSpeakerAssignmentSubmissionsRequestBuilder instantiates a new ReportsSpeakerAssignmentSubmissionsRequestBuilder and sets the default values. +func NewReportsSpeakerAssignmentSubmissionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ReportsSpeakerAssignmentSubmissionsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewReportsSpeakerAssignmentSubmissionsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ReportsSpeakerAssignmentSubmissionsCountRequestBuilder when successful +func (m *ReportsSpeakerAssignmentSubmissionsRequestBuilder) Count()(*ReportsSpeakerAssignmentSubmissionsCountRequestBuilder) { + return NewReportsSpeakerAssignmentSubmissionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of speaker assignments that were submitted by a student. +// returns a SpeakerAssignmentSubmissionCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/reportsroot-list-speakerassignmentsubmissions?view=graph-rest-1.0 +func (m *ReportsSpeakerAssignmentSubmissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ReportsSpeakerAssignmentSubmissionsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SpeakerAssignmentSubmissionCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSpeakerAssignmentSubmissionCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SpeakerAssignmentSubmissionCollectionResponseable), nil +} +// Post create new navigation property to speakerAssignmentSubmissions for education +// returns a SpeakerAssignmentSubmissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ReportsSpeakerAssignmentSubmissionsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SpeakerAssignmentSubmissionable, requestConfiguration *ReportsSpeakerAssignmentSubmissionsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SpeakerAssignmentSubmissionable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSpeakerAssignmentSubmissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SpeakerAssignmentSubmissionable), nil +} +// ToGetRequestInformation get a list of speaker assignments that were submitted by a student. +// returns a *RequestInformation when successful +func (m *ReportsSpeakerAssignmentSubmissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ReportsSpeakerAssignmentSubmissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to speakerAssignmentSubmissions for education +// returns a *RequestInformation when successful +func (m *ReportsSpeakerAssignmentSubmissionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SpeakerAssignmentSubmissionable, requestConfiguration *ReportsSpeakerAssignmentSubmissionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ReportsSpeakerAssignmentSubmissionsRequestBuilder when successful +func (m *ReportsSpeakerAssignmentSubmissionsRequestBuilder) WithUrl(rawUrl string)(*ReportsSpeakerAssignmentSubmissionsRequestBuilder) { + return NewReportsSpeakerAssignmentSubmissionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/reports_speaker_assignment_submissions_speaker_assignment_submission_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/reports_speaker_assignment_submissions_speaker_assignment_submission_item_request_builder.go new file mode 100644 index 0000000000..7ac50a0344 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/reports_speaker_assignment_submissions_speaker_assignment_submission_item_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder provides operations to manage the speakerAssignmentSubmissions property of the microsoft.graph.reportsRoot entity. +type ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderGetQueryParameters details of submitted speaker assignments. +type ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderGetQueryParameters +} +// ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderInternal instantiates a new ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder and sets the default values. +func NewReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder) { + m := &ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/reports/speakerAssignmentSubmissions/{speakerAssignmentSubmission%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder instantiates a new ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder and sets the default values. +func NewReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property speakerAssignmentSubmissions for education +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get details of submitted speaker assignments. +// returns a SpeakerAssignmentSubmissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SpeakerAssignmentSubmissionable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSpeakerAssignmentSubmissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SpeakerAssignmentSubmissionable), nil +} +// Patch update the navigation property speakerAssignmentSubmissions in education +// returns a SpeakerAssignmentSubmissionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SpeakerAssignmentSubmissionable, requestConfiguration *ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SpeakerAssignmentSubmissionable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSpeakerAssignmentSubmissionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SpeakerAssignmentSubmissionable), nil +} +// ToDeleteRequestInformation delete navigation property speakerAssignmentSubmissions for education +// returns a *RequestInformation when successful +func (m *ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation details of submitted speaker assignments. +// returns a *RequestInformation when successful +func (m *ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property speakerAssignmentSubmissions in education +// returns a *RequestInformation when successful +func (m *ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SpeakerAssignmentSubmissionable, requestConfiguration *ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder when successful +func (m *ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder) WithUrl(rawUrl string)(*ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder) { + return NewReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/users_item_assignments_education_assignment_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/users_item_assignments_education_assignment_item_request_builder.go index 03d3d90b65..7f22cbdcf1 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/users_item_assignments_education_assignment_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/users_item_assignments_education_assignment_item_request_builder.go @@ -113,6 +113,11 @@ func (m *UsersItemAssignmentsEducationAssignmentItemRequestBuilder) Get(ctx cont func (m *UsersItemAssignmentsEducationAssignmentItemRequestBuilder) GradingCategory()(*UsersItemAssignmentsItemGradingCategoryRequestBuilder) { return NewUsersItemAssignmentsItemGradingCategoryRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// GradingScheme provides operations to manage the gradingScheme property of the microsoft.graph.educationAssignment entity. +// returns a *UsersItemAssignmentsItemGradingSchemeRequestBuilder when successful +func (m *UsersItemAssignmentsEducationAssignmentItemRequestBuilder) GradingScheme()(*UsersItemAssignmentsItemGradingSchemeRequestBuilder) { + return NewUsersItemAssignmentsItemGradingSchemeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Patch update the navigation property assignments in education // returns a EducationAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/users_item_assignments_item_grading_scheme_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/users_item_assignments_item_grading_scheme_request_builder.go new file mode 100644 index 0000000000..2c3e566df4 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/users_item_assignments_item_grading_scheme_request_builder.go @@ -0,0 +1,84 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// UsersItemAssignmentsItemGradingSchemeRequestBuilder provides operations to manage the gradingScheme property of the microsoft.graph.educationAssignment entity. +type UsersItemAssignmentsItemGradingSchemeRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// UsersItemAssignmentsItemGradingSchemeRequestBuilderGetQueryParameters when set, enables users to configure custom string grades based on the percentage of total points earned on this assignment. +type UsersItemAssignmentsItemGradingSchemeRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// UsersItemAssignmentsItemGradingSchemeRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemGradingSchemeRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *UsersItemAssignmentsItemGradingSchemeRequestBuilderGetQueryParameters +} +// NewUsersItemAssignmentsItemGradingSchemeRequestBuilderInternal instantiates a new UsersItemAssignmentsItemGradingSchemeRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemGradingSchemeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemGradingSchemeRequestBuilder) { + m := &UsersItemAssignmentsItemGradingSchemeRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/gradingScheme{?%24expand,%24select}", pathParameters), + } + return m +} +// NewUsersItemAssignmentsItemGradingSchemeRequestBuilder instantiates a new UsersItemAssignmentsItemGradingSchemeRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemGradingSchemeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemGradingSchemeRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewUsersItemAssignmentsItemGradingSchemeRequestBuilderInternal(urlParams, requestAdapter) +} +// Get when set, enables users to configure custom string grades based on the percentage of total points earned on this assignment. +// returns a EducationGradingSchemeable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *UsersItemAssignmentsItemGradingSchemeRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemGradingSchemeRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationGradingSchemeFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeable), nil +} +// ToGetRequestInformation when set, enables users to configure custom string grades based on the percentage of total points earned on this assignment. +// returns a *RequestInformation when successful +func (m *UsersItemAssignmentsItemGradingSchemeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemGradingSchemeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *UsersItemAssignmentsItemGradingSchemeRequestBuilder when successful +func (m *UsersItemAssignmentsItemGradingSchemeRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemGradingSchemeRequestBuilder) { + return NewUsersItemAssignmentsItemGradingSchemeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/users_item_assignments_item_resources_education_assignment_resource_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/users_item_assignments_item_resources_education_assignment_resource_item_request_builder.go index f3c0042346..912ebd702d 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/users_item_assignments_item_resources_education_assignment_resource_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/users_item_assignments_item_resources_education_assignment_resource_item_request_builder.go @@ -73,6 +73,11 @@ func (m *UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequest } return nil } +// DependentResources provides operations to manage the dependentResources property of the microsoft.graph.educationAssignmentResource entity. +// returns a *UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder when successful +func (m *UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) DependentResources()(*UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) { + return NewUsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Get learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. // returns a EducationAssignmentResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/users_item_assignments_item_resources_item_dependent_resources_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/users_item_assignments_item_resources_item_dependent_resources_count_request_builder.go new file mode 100644 index 0000000000..4e92c44d88 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/users_item_assignments_item_resources_item_dependent_resources_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder provides operations to count the resources in the collection. +type UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters get the number of the resource +type UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters +} +// NewUsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderInternal instantiates a new UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) { + m := &UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%2Did}/dependentResources/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewUsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder instantiates a new UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewUsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder when successful +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) { + return NewUsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/users_item_assignments_item_resources_item_dependent_resources_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/users_item_assignments_item_resources_item_dependent_resources_request_builder.go new file mode 100644 index 0000000000..8d43e50aae --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/users_item_assignments_item_resources_item_dependent_resources_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationAssignmentResource entity. +type UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters a collection of assignment resources that depend on the parent educationAssignmentResource. +type UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters +} +// UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEducationAssignmentResourceId1 provides operations to manage the dependentResources property of the microsoft.graph.educationAssignmentResource entity. +// returns a *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder when successful +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) ByEducationAssignmentResourceId1(educationAssignmentResourceId1 string)(*UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if educationAssignmentResourceId1 != "" { + urlTplParams["educationAssignmentResource%2Did1"] = educationAssignmentResourceId1 + } + return NewUsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewUsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderInternal instantiates a new UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) { + m := &UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%2Did}/dependentResources{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewUsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder instantiates a new UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewUsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder when successful +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) Count()(*UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) { + return NewUsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get a collection of assignment resources that depend on the parent educationAssignmentResource. +// returns a EducationAssignmentResourceCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationAssignmentResourceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceCollectionResponseable), nil +} +// Post create new navigation property to dependentResources for education +// returns a EducationAssignmentResourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable, requestConfiguration *UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationAssignmentResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable), nil +} +// ToGetRequestInformation a collection of assignment resources that depend on the parent educationAssignmentResource. +// returns a *RequestInformation when successful +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to dependentResources for education +// returns a *RequestInformation when successful +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable, requestConfiguration *UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder when successful +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) { + return NewUsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/users_item_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/users_item_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go new file mode 100644 index 0000000000..6ee4970651 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/users_item_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +type UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters a collection of submission resources that depend on the parent educationSubmissionResource. +type UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters +} +// UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEducationSubmissionResourceId1 provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +// returns a *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder when successful +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) ByEducationSubmissionResourceId1(educationSubmissionResourceId1 string)(*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if educationSubmissionResourceId1 != "" { + urlTplParams["educationSubmissionResource%2Did1"] = educationSubmissionResourceId1 + } + return NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderInternal instantiates a new UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) { + m := &UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%2Did}/dependentResources{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder instantiates a new UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder when successful +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) Count()(*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get a collection of submission resources that depend on the parent educationSubmissionResource. +// returns a EducationSubmissionResourceCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationSubmissionResourceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceCollectionResponseable), nil +} +// Post create new navigation property to dependentResources for education +// returns a EducationSubmissionResourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable), nil +} +// ToGetRequestInformation a collection of submission resources that depend on the parent educationSubmissionResource. +// returns a *RequestInformation when successful +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to dependentResources for education +// returns a *RequestInformation when successful +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder when successful +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/employee_experience_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/employee_experience_request_builder.go index 1be5c9861e..ecef0f69ab 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/employee_experience_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/employee_experience_request_builder.go @@ -113,6 +113,11 @@ func (m *EmployeeExperienceRequestBuilder) Patch(ctx context.Context, body iadcd } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EmployeeExperienceable), nil } +// Roles provides operations to manage the roles property of the microsoft.graph.employeeExperience entity. +// returns a *RolesRequestBuilder when successful +func (m *EmployeeExperienceRequestBuilder) Roles()(*RolesRequestBuilder) { + return NewRolesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToGetRequestInformation get employeeExperience // returns a *RequestInformation when successful func (m *EmployeeExperienceRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EmployeeExperienceRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_count_request_builder.go new file mode 100644 index 0000000000..bf20c26106 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package employeeexperience + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// RolesCountRequestBuilder provides operations to count the resources in the collection. +type RolesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// RolesCountRequestBuilderGetQueryParameters get the number of the resource +type RolesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// RolesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RolesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *RolesCountRequestBuilderGetQueryParameters +} +// NewRolesCountRequestBuilderInternal instantiates a new RolesCountRequestBuilder and sets the default values. +func NewRolesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RolesCountRequestBuilder) { + m := &RolesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/employeeExperience/roles/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewRolesCountRequestBuilder instantiates a new RolesCountRequestBuilder and sets the default values. +func NewRolesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RolesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewRolesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *RolesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *RolesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *RolesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RolesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *RolesCountRequestBuilder when successful +func (m *RolesCountRequestBuilder) WithUrl(rawUrl string)(*RolesCountRequestBuilder) { + return NewRolesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_engagement_role_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_engagement_role_item_request_builder.go new file mode 100644 index 0000000000..873c6b6778 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_engagement_role_item_request_builder.go @@ -0,0 +1,165 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package employeeexperience + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// RolesEngagementRoleItemRequestBuilder provides operations to manage the roles property of the microsoft.graph.employeeExperience entity. +type RolesEngagementRoleItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// RolesEngagementRoleItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RolesEngagementRoleItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// RolesEngagementRoleItemRequestBuilderGetQueryParameters a collection of roles in Viva Engage. +type RolesEngagementRoleItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// RolesEngagementRoleItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RolesEngagementRoleItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *RolesEngagementRoleItemRequestBuilderGetQueryParameters +} +// RolesEngagementRoleItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RolesEngagementRoleItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewRolesEngagementRoleItemRequestBuilderInternal instantiates a new RolesEngagementRoleItemRequestBuilder and sets the default values. +func NewRolesEngagementRoleItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RolesEngagementRoleItemRequestBuilder) { + m := &RolesEngagementRoleItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewRolesEngagementRoleItemRequestBuilder instantiates a new RolesEngagementRoleItemRequestBuilder and sets the default values. +func NewRolesEngagementRoleItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RolesEngagementRoleItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewRolesEngagementRoleItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property roles for employeeExperience +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *RolesEngagementRoleItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *RolesEngagementRoleItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a collection of roles in Viva Engage. +// returns a EngagementRoleable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *RolesEngagementRoleItemRequestBuilder) Get(ctx context.Context, requestConfiguration *RolesEngagementRoleItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementRoleFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable), nil +} +// Members provides operations to manage the members property of the microsoft.graph.engagementRole entity. +// returns a *RolesItemMembersRequestBuilder when successful +func (m *RolesEngagementRoleItemRequestBuilder) Members()(*RolesItemMembersRequestBuilder) { + return NewRolesItemMembersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property roles in employeeExperience +// returns a EngagementRoleable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *RolesEngagementRoleItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable, requestConfiguration *RolesEngagementRoleItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementRoleFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable), nil +} +// ToDeleteRequestInformation delete navigation property roles for employeeExperience +// returns a *RequestInformation when successful +func (m *RolesEngagementRoleItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *RolesEngagementRoleItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a collection of roles in Viva Engage. +// returns a *RequestInformation when successful +func (m *RolesEngagementRoleItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RolesEngagementRoleItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property roles in employeeExperience +// returns a *RequestInformation when successful +func (m *RolesEngagementRoleItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable, requestConfiguration *RolesEngagementRoleItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *RolesEngagementRoleItemRequestBuilder when successful +func (m *RolesEngagementRoleItemRequestBuilder) WithUrl(rawUrl string)(*RolesEngagementRoleItemRequestBuilder) { + return NewRolesEngagementRoleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_item_members_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_item_members_count_request_builder.go new file mode 100644 index 0000000000..9916bfe5b3 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_item_members_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package employeeexperience + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// RolesItemMembersCountRequestBuilder provides operations to count the resources in the collection. +type RolesItemMembersCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// RolesItemMembersCountRequestBuilderGetQueryParameters get the number of the resource +type RolesItemMembersCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// RolesItemMembersCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RolesItemMembersCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *RolesItemMembersCountRequestBuilderGetQueryParameters +} +// NewRolesItemMembersCountRequestBuilderInternal instantiates a new RolesItemMembersCountRequestBuilder and sets the default values. +func NewRolesItemMembersCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RolesItemMembersCountRequestBuilder) { + m := &RolesItemMembersCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewRolesItemMembersCountRequestBuilder instantiates a new RolesItemMembersCountRequestBuilder and sets the default values. +func NewRolesItemMembersCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RolesItemMembersCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewRolesItemMembersCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *RolesItemMembersCountRequestBuilder) Get(ctx context.Context, requestConfiguration *RolesItemMembersCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *RolesItemMembersCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RolesItemMembersCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *RolesItemMembersCountRequestBuilder when successful +func (m *RolesItemMembersCountRequestBuilder) WithUrl(rawUrl string)(*RolesItemMembersCountRequestBuilder) { + return NewRolesItemMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_item_members_engagement_role_member_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_item_members_engagement_role_member_item_request_builder.go new file mode 100644 index 0000000000..fbe5e3d32d --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_item_members_engagement_role_member_item_request_builder.go @@ -0,0 +1,168 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package employeeexperience + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// RolesItemMembersEngagementRoleMemberItemRequestBuilder provides operations to manage the members property of the microsoft.graph.engagementRole entity. +type RolesItemMembersEngagementRoleMemberItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// RolesItemMembersEngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RolesItemMembersEngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// RolesItemMembersEngagementRoleMemberItemRequestBuilderGetQueryParameters users that have this role assigned. +type RolesItemMembersEngagementRoleMemberItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// RolesItemMembersEngagementRoleMemberItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RolesItemMembersEngagementRoleMemberItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *RolesItemMembersEngagementRoleMemberItemRequestBuilderGetQueryParameters +} +// RolesItemMembersEngagementRoleMemberItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RolesItemMembersEngagementRoleMemberItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewRolesItemMembersEngagementRoleMemberItemRequestBuilderInternal instantiates a new RolesItemMembersEngagementRoleMemberItemRequestBuilder and sets the default values. +func NewRolesItemMembersEngagementRoleMemberItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RolesItemMembersEngagementRoleMemberItemRequestBuilder) { + m := &RolesItemMembersEngagementRoleMemberItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewRolesItemMembersEngagementRoleMemberItemRequestBuilder instantiates a new RolesItemMembersEngagementRoleMemberItemRequestBuilder and sets the default values. +func NewRolesItemMembersEngagementRoleMemberItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RolesItemMembersEngagementRoleMemberItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewRolesItemMembersEngagementRoleMemberItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete a Viva Engage role from a user. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/engagementrole-delete-members?view=graph-rest-1.0 +func (m *RolesItemMembersEngagementRoleMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *RolesItemMembersEngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get users that have this role assigned. +// returns a EngagementRoleMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *RolesItemMembersEngagementRoleMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *RolesItemMembersEngagementRoleMemberItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementRoleMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable), nil +} +// Patch update the navigation property members in employeeExperience +// returns a EngagementRoleMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *RolesItemMembersEngagementRoleMemberItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable, requestConfiguration *RolesItemMembersEngagementRoleMemberItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementRoleMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable), nil +} +// ToDeleteRequestInformation delete a Viva Engage role from a user. +// returns a *RequestInformation when successful +func (m *RolesItemMembersEngagementRoleMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *RolesItemMembersEngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation users that have this role assigned. +// returns a *RequestInformation when successful +func (m *RolesItemMembersEngagementRoleMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RolesItemMembersEngagementRoleMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property members in employeeExperience +// returns a *RequestInformation when successful +func (m *RolesItemMembersEngagementRoleMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable, requestConfiguration *RolesItemMembersEngagementRoleMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// User provides operations to manage the user property of the microsoft.graph.engagementRoleMember entity. +// returns a *RolesItemMembersItemUserRequestBuilder when successful +func (m *RolesItemMembersEngagementRoleMemberItemRequestBuilder) User()(*RolesItemMembersItemUserRequestBuilder) { + return NewRolesItemMembersItemUserRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *RolesItemMembersEngagementRoleMemberItemRequestBuilder when successful +func (m *RolesItemMembersEngagementRoleMemberItemRequestBuilder) WithUrl(rawUrl string)(*RolesItemMembersEngagementRoleMemberItemRequestBuilder) { + return NewRolesItemMembersEngagementRoleMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_item_members_item_user_mailbox_settings_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_item_members_item_user_mailbox_settings_request_builder.go new file mode 100644 index 0000000000..6f4cdb2ab5 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_item_members_item_user_mailbox_settings_request_builder.go @@ -0,0 +1,126 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package employeeexperience + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// RolesItemMembersItemUserMailboxSettingsRequestBuilder builds and executes requests for operations under \employeeExperience\roles\{engagementRole-id}\members\{engagementRoleMember-id}\user\mailboxSettings +type RolesItemMembersItemUserMailboxSettingsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// RolesItemMembersItemUserMailboxSettingsRequestBuilderGetQueryParameters settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +type RolesItemMembersItemUserMailboxSettingsRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// RolesItemMembersItemUserMailboxSettingsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RolesItemMembersItemUserMailboxSettingsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *RolesItemMembersItemUserMailboxSettingsRequestBuilderGetQueryParameters +} +// RolesItemMembersItemUserMailboxSettingsRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RolesItemMembersItemUserMailboxSettingsRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewRolesItemMembersItemUserMailboxSettingsRequestBuilderInternal instantiates a new RolesItemMembersItemUserMailboxSettingsRequestBuilder and sets the default values. +func NewRolesItemMembersItemUserMailboxSettingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RolesItemMembersItemUserMailboxSettingsRequestBuilder) { + m := &RolesItemMembersItemUserMailboxSettingsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/mailboxSettings{?%24expand,%24select}", pathParameters), + } + return m +} +// NewRolesItemMembersItemUserMailboxSettingsRequestBuilder instantiates a new RolesItemMembersItemUserMailboxSettingsRequestBuilder and sets the default values. +func NewRolesItemMembersItemUserMailboxSettingsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RolesItemMembersItemUserMailboxSettingsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewRolesItemMembersItemUserMailboxSettingsRequestBuilderInternal(urlParams, requestAdapter) +} +// Get settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +// returns a MailboxSettingsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *RolesItemMembersItemUserMailboxSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *RolesItemMembersItemUserMailboxSettingsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateMailboxSettingsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable), nil +} +// Patch update property mailboxSettings value. +// returns a MailboxSettingsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *RolesItemMembersItemUserMailboxSettingsRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, requestConfiguration *RolesItemMembersItemUserMailboxSettingsRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateMailboxSettingsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable), nil +} +// ToGetRequestInformation settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +// returns a *RequestInformation when successful +func (m *RolesItemMembersItemUserMailboxSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RolesItemMembersItemUserMailboxSettingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update property mailboxSettings value. +// returns a *RequestInformation when successful +func (m *RolesItemMembersItemUserMailboxSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, requestConfiguration *RolesItemMembersItemUserMailboxSettingsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *RolesItemMembersItemUserMailboxSettingsRequestBuilder when successful +func (m *RolesItemMembersItemUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*RolesItemMembersItemUserMailboxSettingsRequestBuilder) { + return NewRolesItemMembersItemUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_item_members_item_user_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_item_members_item_user_request_builder.go new file mode 100644 index 0000000000..d5ef2b6aaa --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_item_members_item_user_request_builder.go @@ -0,0 +1,94 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package employeeexperience + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// RolesItemMembersItemUserRequestBuilder provides operations to manage the user property of the microsoft.graph.engagementRoleMember entity. +type RolesItemMembersItemUserRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// RolesItemMembersItemUserRequestBuilderGetQueryParameters the user who has this role assigned. +type RolesItemMembersItemUserRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// RolesItemMembersItemUserRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RolesItemMembersItemUserRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *RolesItemMembersItemUserRequestBuilderGetQueryParameters +} +// NewRolesItemMembersItemUserRequestBuilderInternal instantiates a new RolesItemMembersItemUserRequestBuilder and sets the default values. +func NewRolesItemMembersItemUserRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RolesItemMembersItemUserRequestBuilder) { + m := &RolesItemMembersItemUserRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user{?%24expand,%24select}", pathParameters), + } + return m +} +// NewRolesItemMembersItemUserRequestBuilder instantiates a new RolesItemMembersItemUserRequestBuilder and sets the default values. +func NewRolesItemMembersItemUserRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RolesItemMembersItemUserRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewRolesItemMembersItemUserRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the user who has this role assigned. +// returns a Userable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *RolesItemMembersItemUserRequestBuilder) Get(ctx context.Context, requestConfiguration *RolesItemMembersItemUserRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateUserFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable), nil +} +// MailboxSettings the mailboxSettings property +// returns a *RolesItemMembersItemUserMailboxSettingsRequestBuilder when successful +func (m *RolesItemMembersItemUserRequestBuilder) MailboxSettings()(*RolesItemMembersItemUserMailboxSettingsRequestBuilder) { + return NewRolesItemMembersItemUserMailboxSettingsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ServiceProvisioningErrors the serviceProvisioningErrors property +// returns a *RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder when successful +func (m *RolesItemMembersItemUserRequestBuilder) ServiceProvisioningErrors()(*RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder) { + return NewRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation the user who has this role assigned. +// returns a *RequestInformation when successful +func (m *RolesItemMembersItemUserRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RolesItemMembersItemUserRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *RolesItemMembersItemUserRequestBuilder when successful +func (m *RolesItemMembersItemUserRequestBuilder) WithUrl(rawUrl string)(*RolesItemMembersItemUserRequestBuilder) { + return NewRolesItemMembersItemUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_item_members_item_user_service_provisioning_errors_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_item_members_item_user_service_provisioning_errors_count_request_builder.go new file mode 100644 index 0000000000..4414f1195f --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_item_members_item_user_service_provisioning_errors_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package employeeexperience + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder provides operations to count the resources in the collection. +type RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters get the number of the resource +type RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters +} +// NewRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderInternal instantiates a new RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder and sets the default values. +func NewRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder) { + m := &RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder instantiates a new RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder and sets the default values. +func NewRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder when successful +func (m *RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder) WithUrl(rawUrl string)(*RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder) { + return NewRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_item_members_item_user_service_provisioning_errors_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_item_members_item_user_service_provisioning_errors_request_builder.go new file mode 100644 index 0000000000..6a779d5c82 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_item_members_item_user_service_provisioning_errors_request_builder.go @@ -0,0 +1,101 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package employeeexperience + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder builds and executes requests for operations under \employeeExperience\roles\{engagementRole-id}\members\{engagementRoleMember-id}\user\serviceProvisioningErrors +type RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +type RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters +} +// NewRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderInternal instantiates a new RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder and sets the default values. +func NewRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder) { + m := &RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder instantiates a new RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder and sets the default values. +func NewRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder when successful +func (m *RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder) Count()(*RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder) { + return NewRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +// returns a ServiceProvisioningErrorCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateServiceProvisioningErrorCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable), nil +} +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +// returns a *RequestInformation when successful +func (m *RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder when successful +func (m *RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder) WithUrl(rawUrl string)(*RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder) { + return NewRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_item_members_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_item_members_request_builder.go new file mode 100644 index 0000000000..0aea2eff49 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_item_members_request_builder.go @@ -0,0 +1,161 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package employeeexperience + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// RolesItemMembersRequestBuilder provides operations to manage the members property of the microsoft.graph.engagementRole entity. +type RolesItemMembersRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// RolesItemMembersRequestBuilderGetQueryParameters get a list of users with assigned roles in Viva Engage. +type RolesItemMembersRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// RolesItemMembersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RolesItemMembersRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *RolesItemMembersRequestBuilderGetQueryParameters +} +// RolesItemMembersRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RolesItemMembersRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEngagementRoleMemberId provides operations to manage the members property of the microsoft.graph.engagementRole entity. +// returns a *RolesItemMembersEngagementRoleMemberItemRequestBuilder when successful +func (m *RolesItemMembersRequestBuilder) ByEngagementRoleMemberId(engagementRoleMemberId string)(*RolesItemMembersEngagementRoleMemberItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if engagementRoleMemberId != "" { + urlTplParams["engagementRoleMember%2Did"] = engagementRoleMemberId + } + return NewRolesItemMembersEngagementRoleMemberItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewRolesItemMembersRequestBuilderInternal instantiates a new RolesItemMembersRequestBuilder and sets the default values. +func NewRolesItemMembersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RolesItemMembersRequestBuilder) { + m := &RolesItemMembersRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewRolesItemMembersRequestBuilder instantiates a new RolesItemMembersRequestBuilder and sets the default values. +func NewRolesItemMembersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RolesItemMembersRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewRolesItemMembersRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *RolesItemMembersCountRequestBuilder when successful +func (m *RolesItemMembersRequestBuilder) Count()(*RolesItemMembersCountRequestBuilder) { + return NewRolesItemMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of users with assigned roles in Viva Engage. +// returns a EngagementRoleMemberCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/engagementrole-list-members?view=graph-rest-1.0 +func (m *RolesItemMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *RolesItemMembersRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementRoleMemberCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberCollectionResponseable), nil +} +// Post create a new engagementRoleMember object that assigns a Viva Engage role to a user. +// returns a EngagementRoleMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/engagementrole-post-members?view=graph-rest-1.0 +func (m *RolesItemMembersRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable, requestConfiguration *RolesItemMembersRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementRoleMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable), nil +} +// ToGetRequestInformation get a list of users with assigned roles in Viva Engage. +// returns a *RequestInformation when successful +func (m *RolesItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RolesItemMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create a new engagementRoleMember object that assigns a Viva Engage role to a user. +// returns a *RequestInformation when successful +func (m *RolesItemMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable, requestConfiguration *RolesItemMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *RolesItemMembersRequestBuilder when successful +func (m *RolesItemMembersRequestBuilder) WithUrl(rawUrl string)(*RolesItemMembersRequestBuilder) { + return NewRolesItemMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_request_builder.go new file mode 100644 index 0000000000..8ca0b36e8b --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/employeeexperience/roles_request_builder.go @@ -0,0 +1,158 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package employeeexperience + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// RolesRequestBuilder provides operations to manage the roles property of the microsoft.graph.employeeExperience entity. +type RolesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// RolesRequestBuilderGetQueryParameters get a list of all the roles that can be assigned in Viva Engage. +type RolesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// RolesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RolesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *RolesRequestBuilderGetQueryParameters +} +// RolesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RolesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEngagementRoleId provides operations to manage the roles property of the microsoft.graph.employeeExperience entity. +// returns a *RolesEngagementRoleItemRequestBuilder when successful +func (m *RolesRequestBuilder) ByEngagementRoleId(engagementRoleId string)(*RolesEngagementRoleItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if engagementRoleId != "" { + urlTplParams["engagementRole%2Did"] = engagementRoleId + } + return NewRolesEngagementRoleItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewRolesRequestBuilderInternal instantiates a new RolesRequestBuilder and sets the default values. +func NewRolesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RolesRequestBuilder) { + m := &RolesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/employeeExperience/roles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewRolesRequestBuilder instantiates a new RolesRequestBuilder and sets the default values. +func NewRolesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RolesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewRolesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *RolesCountRequestBuilder when successful +func (m *RolesRequestBuilder) Count()(*RolesCountRequestBuilder) { + return NewRolesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of all the roles that can be assigned in Viva Engage. +// returns a EngagementRoleCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/employeeexperience-list-roles?view=graph-rest-1.0 +func (m *RolesRequestBuilder) Get(ctx context.Context, requestConfiguration *RolesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementRoleCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleCollectionResponseable), nil +} +// Post create new navigation property to roles for employeeExperience +// returns a EngagementRoleable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *RolesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable, requestConfiguration *RolesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementRoleFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable), nil +} +// ToGetRequestInformation get a list of all the roles that can be assigned in Viva Engage. +// returns a *RequestInformation when successful +func (m *RolesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RolesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to roles for employeeExperience +// returns a *RequestInformation when successful +func (m *RolesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable, requestConfiguration *RolesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *RolesRequestBuilder when successful +func (m *RolesRequestBuilder) WithUrl(rawUrl string)(*RolesRequestBuilder) { + return NewRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/graph_base_service_client.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/graph_base_service_client.go index 443d618a89..47bc1a5316 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/graph_base_service_client.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/graph_base_service_client.go @@ -361,7 +361,7 @@ func (m *GraphBaseServiceClient) Organization()(*ic949a0bb5066d68760e8502a7f9db8 func (m *GraphBaseServiceClient) PermissionGrants()(*i1a1369b1521a8ac4885166fd68eae4247248a891006fea464d2eea2a271b2cdb.PermissionGrantsRequestBuilder) { return i1a1369b1521a8ac4885166fd68eae4247248a891006fea464d2eea2a271b2cdb.NewPermissionGrantsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Places the places property +// Places provides operations to manage the collection of place entities. // returns a *PlacesRequestBuilder when successful func (m *GraphBaseServiceClient) Places()(*ia3e0f7c2d21d5c73ecb8a7552177d0fe444ae0522290dd1c4b5559e449b118af.PlacesRequestBuilder) { return ia3e0f7c2d21d5c73ecb8a7552177d0fe444ae0522290dd1c4b5559e449b118af.NewPlacesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/graph_request_adapter.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/graph_request_adapter.go index 5734e574d1..b2fe2cd176 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/graph_request_adapter.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/graph_request_adapter.go @@ -12,7 +12,7 @@ var clientOptions = core.GraphClientOptions{ GraphServiceVersion: "", //v1 doesn't include the service version in the telemetry header /** The SDK version */ // x-release-please-start-version - GraphServiceLibraryVersion: "1.87.0", + GraphServiceLibraryVersion: "1.95.0", // x-release-please-end } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/6a52615bea4dd81cebc26082dc627b4bd646da86b6f596a0532d2488feae4b65.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/6a52615bea4dd81cebc26082dc627b4bd646da86b6f596a0532d2488feae4b65.go index 938dbdd14d..779a5ba84e 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/6a52615bea4dd81cebc26082dc627b4bd646da86b6f596a0532d2488feae4b65.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/6a52615bea4dd81cebc26082dc627b4bd646da86b6f596a0532d2488feae4b65.go @@ -13,7 +13,7 @@ import ( type ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters determine whether a user has access to a shared channel. +// ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters determine whether a user has access to a channel. type ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters struct { // Usage: tenantId='@tenantId' TenantId *string `uriparametername:"tenantId"` @@ -44,7 +44,7 @@ func NewItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPr urlParams["request-raw-url"] = rawUrl return NewItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderInternal(urlParams, requestAdapter) } -// Get determine whether a user has access to a shared channel. +// Get determine whether a user has access to a channel. // Deprecated: This method is obsolete. Use GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse instead. // returns a ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -68,7 +68,7 @@ func (m *ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserP } return res.(ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable), nil } -// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse determine whether a user has access to a shared channel. +// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse determine whether a user has access to a channel. // returns a ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -91,7 +91,7 @@ func (m *ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserP } return res.(ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable), nil } -// ToGetRequestInformation determine whether a user has access to a shared channel. +// ToGetRequestInformation determine whether a user has access to a channel. // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/ec2859c9bbfbf8f8bd8519b9cf041b04bd68dde3e1e6c349b4459fd5fee08b27.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/ec2859c9bbfbf8f8bd8519b9cf041b04bd68dde3e1e6c349b4459fd5fee08b27.go index 8fab1f6b57..f0ca0da258 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/ec2859c9bbfbf8f8bd8519b9cf041b04bd68dde3e1e6c349b4459fd5fee08b27.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/ec2859c9bbfbf8f8bd8519b9cf041b04bd68dde3e1e6c349b4459fd5fee08b27.go @@ -13,7 +13,7 @@ import ( type ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters determine whether a user has access to a shared channel. +// ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters determine whether a user has access to a channel. type ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters struct { // Usage: tenantId='@tenantId' TenantId *string `uriparametername:"tenantId"` @@ -44,7 +44,7 @@ func NewItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUser urlParams["request-raw-url"] = rawUrl return NewItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderInternal(urlParams, requestAdapter) } -// Get determine whether a user has access to a shared channel. +// Get determine whether a user has access to a channel. // Deprecated: This method is obsolete. Use GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse instead. // returns a ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -68,7 +68,7 @@ func (m *ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUse } return res.(ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable), nil } -// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse determine whether a user has access to a shared channel. +// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse determine whether a user has access to a channel. // returns a ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -91,7 +91,7 @@ func (m *ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUse } return res.(ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable), nil } -// ToGetRequestInformation determine whether a user has access to a shared channel. +// ToGetRequestInformation determine whether a user has access to a channel. // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/group_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/group_item_request_builder.go index e9918774ba..4838270903 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/group_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/group_item_request_builder.go @@ -112,7 +112,7 @@ func (m *GroupItemRequestBuilder) Conversations()(*ItemConversationsRequestBuild func (m *GroupItemRequestBuilder) CreatedOnBehalfOf()(*ItemCreatedOnBehalfOfRequestBuilder) { return NewItemCreatedOnBehalfOfRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This isn't applicable to Security groups and Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. +// Delete delete a group. When deleted, both Microsoft 365 and security groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This doesn't apply to Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -209,6 +209,11 @@ func (m *GroupItemRequestBuilder) MembersWithLicenseErrors()(*ItemMembersWithLic func (m *GroupItemRequestBuilder) Onenote()(*ItemOnenoteRequestBuilder) { return NewItemOnenoteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// OnPremisesSyncBehavior provides operations to manage the onPremisesSyncBehavior property of the microsoft.graph.group entity. +// returns a *ItemOnPremisesSyncBehaviorRequestBuilder when successful +func (m *GroupItemRequestBuilder) OnPremisesSyncBehavior()(*ItemOnPremisesSyncBehaviorRequestBuilder) { + return NewItemOnPremisesSyncBehaviorRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Owners provides operations to manage the owners property of the microsoft.graph.group entity. // returns a *ItemOwnersRequestBuilder when successful func (m *GroupItemRequestBuilder) Owners()(*ItemOwnersRequestBuilder) { @@ -317,7 +322,7 @@ func (m *GroupItemRequestBuilder) Team()(*ItemTeamRequestBuilder) { func (m *GroupItemRequestBuilder) Threads()(*ItemThreadsRequestBuilder) { return NewItemThreadsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This isn't applicable to Security groups and Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. +// ToDeleteRequestInformation delete a group. When deleted, both Microsoft 365 and security groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This doesn't apply to Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. // returns a *RequestInformation when successful func (m *GroupItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *GroupItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/groups_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/groups_request_builder.go index 6345425904..86dfec8bb8 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/groups_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/groups_request_builder.go @@ -117,12 +117,12 @@ func (m *GroupsRequestBuilder) GetAvailableExtensionProperties()(*GetAvailableEx func (m *GroupsRequestBuilder) GetByIds()(*GetByIdsRequestBuilder) { return NewGetByIdsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. +// Post create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. // returns a Groupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/group-upsert?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-post-groups?view=graph-rest-1.0 func (m *GroupsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable, requestConfiguration *GroupsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -154,7 +154,7 @@ func (m *GroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. +// ToPostRequestInformation create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. // returns a *RequestInformation when successful func (m *GroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable, requestConfiguration *GroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/item_conversations_conversation_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/item_conversations_conversation_item_request_builder.go index 628d622bd7..208c06847e 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/item_conversations_conversation_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/item_conversations_conversation_item_request_builder.go @@ -21,7 +21,7 @@ type ItemConversationsConversationItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemConversationsConversationItemRequestBuilderGetQueryParameters the group's conversations. +// ItemConversationsConversationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of conversation object. type ItemConversationsConversationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,7 +54,7 @@ func NewItemConversationsConversationItemRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete-conversation?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversation-delete?view=graph-rest-1.0 func (m *ItemConversationsConversationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemConversationsConversationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -69,12 +69,12 @@ func (m *ItemConversationsConversationItemRequestBuilder) Delete(ctx context.Con } return nil } -// Get the group's conversations. +// Get retrieve the properties and relationships of conversation object. // returns a Conversationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/group-get-conversation?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversation-get?view=graph-rest-1.0 func (m *ItemConversationsConversationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemConversationsConversationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Conversationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -108,7 +108,7 @@ func (m *ItemConversationsConversationItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the group's conversations. +// ToGetRequestInformation retrieve the properties and relationships of conversation object. // returns a *RequestInformation when successful func (m *ItemConversationsConversationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemConversationsConversationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/item_conversations_item_threads_item_reply_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/item_conversations_item_threads_item_reply_request_builder.go index c762af6787..d910e2f949 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/item_conversations_item_threads_item_reply_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/item_conversations_item_threads_item_reply_request_builder.go @@ -33,11 +33,11 @@ func NewItemConversationsItemThreadsItemReplyRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewItemConversationsItemThreadsItemReplyRequestBuilderInternal(urlParams, requestAdapter) } -// Post reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. +// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemConversationsItemThreadsItemReplyRequestBuilder) Post(ctx context.Context, body ItemConversationsItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemConversationsItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -52,7 +52,7 @@ func (m *ItemConversationsItemThreadsItemReplyRequestBuilder) Post(ctx context.C } return nil } -// ToPostRequestInformation reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. +// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. // returns a *RequestInformation when successful func (m *ItemConversationsItemThreadsItemReplyRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemConversationsItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemConversationsItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/item_on_premises_sync_behavior_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/item_on_premises_sync_behavior_request_builder.go new file mode 100644 index 0000000000..a0e8cf05d9 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/item_on_premises_sync_behavior_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package groups + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemOnPremisesSyncBehaviorRequestBuilder provides operations to manage the onPremisesSyncBehavior property of the microsoft.graph.group entity. +type ItemOnPremisesSyncBehaviorRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemOnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemOnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemOnPremisesSyncBehaviorRequestBuilderGetQueryParameters get onPremisesSyncBehavior from groups +type ItemOnPremisesSyncBehaviorRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemOnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemOnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemOnPremisesSyncBehaviorRequestBuilderGetQueryParameters +} +// ItemOnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemOnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemOnPremisesSyncBehaviorRequestBuilderInternal instantiates a new ItemOnPremisesSyncBehaviorRequestBuilder and sets the default values. +func NewItemOnPremisesSyncBehaviorRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemOnPremisesSyncBehaviorRequestBuilder) { + m := &ItemOnPremisesSyncBehaviorRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/onPremisesSyncBehavior{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemOnPremisesSyncBehaviorRequestBuilder instantiates a new ItemOnPremisesSyncBehaviorRequestBuilder and sets the default values. +func NewItemOnPremisesSyncBehaviorRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemOnPremisesSyncBehaviorRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemOnPremisesSyncBehaviorRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property onPremisesSyncBehavior for groups +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemOnPremisesSyncBehaviorRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get onPremisesSyncBehavior from groups +// returns a OnPremisesSyncBehaviorable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemOnPremisesSyncBehaviorRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesSyncBehaviorable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateOnPremisesSyncBehaviorFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesSyncBehaviorable), nil +} +// Patch update the navigation property onPremisesSyncBehavior in groups +// returns a OnPremisesSyncBehaviorable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemOnPremisesSyncBehaviorRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesSyncBehaviorable, requestConfiguration *ItemOnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesSyncBehaviorable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateOnPremisesSyncBehaviorFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesSyncBehaviorable), nil +} +// ToDeleteRequestInformation delete navigation property onPremisesSyncBehavior for groups +// returns a *RequestInformation when successful +func (m *ItemOnPremisesSyncBehaviorRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemOnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get onPremisesSyncBehavior from groups +// returns a *RequestInformation when successful +func (m *ItemOnPremisesSyncBehaviorRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property onPremisesSyncBehavior in groups +// returns a *RequestInformation when successful +func (m *ItemOnPremisesSyncBehaviorRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesSyncBehaviorable, requestConfiguration *ItemOnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemOnPremisesSyncBehaviorRequestBuilder when successful +func (m *ItemOnPremisesSyncBehaviorRequestBuilder) WithUrl(rawUrl string)(*ItemOnPremisesSyncBehaviorRequestBuilder) { + return NewItemOnPremisesSyncBehaviorRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/item_restore_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/item_restore_request_builder.go index 2068bf3022..48724759d1 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/item_restore_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/item_threads_conversation_thread_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/item_threads_conversation_thread_item_request_builder.go index 457c8cc424..b1c7df6885 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/item_threads_conversation_thread_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/item_threads_conversation_thread_item_request_builder.go @@ -21,7 +21,7 @@ type ItemThreadsConversationThreadItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemThreadsConversationThreadItemRequestBuilderGetQueryParameters get a thread object. +// ItemThreadsConversationThreadItemRequestBuilderGetQueryParameters get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. type ItemThreadsConversationThreadItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -61,7 +61,7 @@ func NewItemThreadsConversationThreadItemRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete-thread?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationthread-delete?view=graph-rest-1.0 func (m *ItemThreadsConversationThreadItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemThreadsConversationThreadItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +76,12 @@ func (m *ItemThreadsConversationThreadItemRequestBuilder) Delete(ctx context.Con } return nil } -// Get get a thread object. +// Get get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. // returns a ConversationThreadable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/group-get-thread?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationthread-get?view=graph-rest-1.0 func (m *ItemThreadsConversationThreadItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemThreadsConversationThreadItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationThreadable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -143,7 +143,7 @@ func (m *ItemThreadsConversationThreadItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a thread object. +// ToGetRequestInformation get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. // returns a *RequestInformation when successful func (m *ItemThreadsConversationThreadItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemThreadsConversationThreadItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/item_threads_item_posts_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/item_threads_item_posts_request_builder.go index 596f74f71b..6224e41a3d 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/item_threads_item_posts_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/item_threads_item_posts_request_builder.go @@ -14,7 +14,7 @@ import ( type ItemThreadsItemPostsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemThreadsItemPostsRequestBuilderGetQueryParameters get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. +// ItemThreadsItemPostsRequestBuilderGetQueryParameters get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. type ItemThreadsItemPostsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -72,12 +72,12 @@ func NewItemThreadsItemPostsRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *ItemThreadsItemPostsRequestBuilder) Count()(*ItemThreadsItemPostsCountRequestBuilder) { return NewItemThreadsItemPostsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. +// Get get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. // returns a PostCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationthread-list-posts?view=graph-rest-1.0 func (m *ItemThreadsItemPostsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemThreadsItemPostsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PostCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +95,7 @@ func (m *ItemThreadsItemPostsRequestBuilder) Get(ctx context.Context, requestCon } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PostCollectionResponseable), nil } -// ToGetRequestInformation get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. +// ToGetRequestInformation get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. // returns a *RequestInformation when successful func (m *ItemThreadsItemPostsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemThreadsItemPostsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/item_threads_item_reply_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/item_threads_item_reply_request_builder.go index 6ffccb711a..e876f5a7d8 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/item_threads_item_reply_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/groups/item_threads_item_reply_request_builder.go @@ -33,11 +33,11 @@ func NewItemThreadsItemReplyRequestBuilder(rawUrl string, requestAdapter i2ae418 urlParams["request-raw-url"] = rawUrl return NewItemThreadsItemReplyRequestBuilderInternal(urlParams, requestAdapter) } -// Post reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. +// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemThreadsItemReplyRequestBuilder) Post(ctx context.Context, body ItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -52,7 +52,7 @@ func (m *ItemThreadsItemReplyRequestBuilder) Post(ctx context.Context, body Item } return nil } -// ToPostRequestInformation reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. +// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. // returns a *RequestInformation when successful func (m *ItemThreadsItemReplyRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/groupsettingtemplates/item_restore_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/groupsettingtemplates/item_restore_request_builder.go index be48e924fa..8eea144278 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/groupsettingtemplates/item_restore_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/groupsettingtemplates/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/groupswithuniquename/groups_with_unique_name_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/groupswithuniquename/groups_with_unique_name_request_builder.go index a9358bed1b..278d65400b 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/groupswithuniquename/groups_with_unique_name_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/groupswithuniquename/groups_with_unique_name_request_builder.go @@ -60,7 +60,7 @@ func NewGroupsWithUniqueNameRequestBuilder(rawUrl string, requestAdapter i2ae418 urlParams["request-raw-url"] = rawUrl return NewGroupsWithUniqueNameRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Delete delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This isn't applicable to Security groups and Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. +// Delete delete a group. When deleted, both Microsoft 365 and security groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This doesn't apply to Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -125,7 +125,7 @@ func (m *GroupsWithUniqueNameRequestBuilder) Patch(ctx context.Context, body iad } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable), nil } -// ToDeleteRequestInformation delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This isn't applicable to Security groups and Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. +// ToDeleteRequestInformation delete a group. When deleted, both Microsoft 365 and security groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This doesn't apply to Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. // returns a *RequestInformation when successful func (m *GroupsWithUniqueNameRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *GroupsWithUniqueNameRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/1ad89f3282f96c433e2918a0e1cecbfeae4e62a6f5abbd8a161c247b092c5a8e.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/1ad89f3282f96c433e2918a0e1cecbfeae4e62a6f5abbd8a161c247b092c5a8e.go new file mode 100644 index 0000000000..e64f2cb439 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/1ad89f3282f96c433e2918a0e1cecbfeae4e62a6f5abbd8a161c247b092c5a8e.go @@ -0,0 +1,174 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identity + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder provides operations to manage the webApplicationFirewallProviders property of the microsoft.graph.riskPreventionContainer entity. +type RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderGetQueryParameters read the properties and relationships of webApplicationFirewallProvider object. +type RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderGetQueryParameters +} +// RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewRiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderInternal instantiates a new RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder and sets the default values. +func NewRiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder) { + m := &RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/riskPrevention/webApplicationFirewallProviders/{webApplicationFirewallProvider%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewRiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder instantiates a new RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder and sets the default values. +func NewRiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewRiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete a webApplicationFirewallProvider object. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/riskpreventioncontainer-delete-webapplicationfirewallproviders?view=graph-rest-1.0 +func (m *RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get read the properties and relationships of webApplicationFirewallProvider object. +// returns a WebApplicationFirewallProviderable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/webapplicationfirewallprovider-get?view=graph-rest-1.0 +func (m *RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallProviderable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWebApplicationFirewallProviderFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallProviderable), nil +} +// Patch update the properties of a webApplicationFirewallProvider object. +// returns a WebApplicationFirewallProviderable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/webapplicationfirewallprovider-update?view=graph-rest-1.0 +func (m *RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallProviderable, requestConfiguration *RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallProviderable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWebApplicationFirewallProviderFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallProviderable), nil +} +// ToDeleteRequestInformation delete a webApplicationFirewallProvider object. +// returns a *RequestInformation when successful +func (m *RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation read the properties and relationships of webApplicationFirewallProvider object. +// returns a *RequestInformation when successful +func (m *RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the properties of a webApplicationFirewallProvider object. +// returns a *RequestInformation when successful +func (m *RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallProviderable, requestConfiguration *RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// Verify provides operations to call the verify method. +// returns a *RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilder when successful +func (m *RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder) Verify()(*RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilder) { + return NewRiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder when successful +func (m *RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder) WithUrl(rawUrl string)(*RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder) { + return NewRiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/98c7954170e54421effc068d92c1cb9536d555b012a3fb76f5242096cf3a65d8.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/98c7954170e54421effc068d92c1cb9536d555b012a3fb76f5242096cf3a65d8.go new file mode 100644 index 0000000000..18fae44783 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/98c7954170e54421effc068d92c1cb9536d555b012a3fb76f5242096cf3a65d8.go @@ -0,0 +1,171 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identity + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder provides operations to manage the webApplicationFirewallVerifications property of the microsoft.graph.riskPreventionContainer entity. +type RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderGetQueryParameters read the properties and relationships of webApplicationFirewallVerificationModel object. +type RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderGetQueryParameters +} +// RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewRiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderInternal instantiates a new RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder and sets the default values. +func NewRiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder) { + m := &RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/riskPrevention/webApplicationFirewallVerifications/{webApplicationFirewallVerificationModel%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewRiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder instantiates a new RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder and sets the default values. +func NewRiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewRiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete a webApplicationFirewallVerificationModel object. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/riskpreventioncontainer-delete-webapplicationfirewallverifications?view=graph-rest-1.0 +func (m *RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get read the properties and relationships of webApplicationFirewallVerificationModel object. +// returns a WebApplicationFirewallVerificationModelable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/webapplicationfirewallverificationmodel-get?view=graph-rest-1.0 +func (m *RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallVerificationModelable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWebApplicationFirewallVerificationModelFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallVerificationModelable), nil +} +// Patch update the navigation property webApplicationFirewallVerifications in identity +// returns a WebApplicationFirewallVerificationModelable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallVerificationModelable, requestConfiguration *RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallVerificationModelable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWebApplicationFirewallVerificationModelFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallVerificationModelable), nil +} +// Provider provides operations to manage the provider property of the microsoft.graph.webApplicationFirewallVerificationModel entity. +// returns a *RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder when successful +func (m *RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder) Provider()(*RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder) { + return NewRiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete a webApplicationFirewallVerificationModel object. +// returns a *RequestInformation when successful +func (m *RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation read the properties and relationships of webApplicationFirewallVerificationModel object. +// returns a *RequestInformation when successful +func (m *RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property webApplicationFirewallVerifications in identity +// returns a *RequestInformation when successful +func (m *RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallVerificationModelable, requestConfiguration *RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder when successful +func (m *RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder) WithUrl(rawUrl string)(*RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder) { + return NewRiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/conditional_access_named_locations_named_location_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/conditional_access_named_locations_named_location_item_request_builder.go index 9a55aa6a72..5d723dc924 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/conditional_access_named_locations_named_location_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/conditional_access_named_locations_named_location_item_request_builder.go @@ -21,7 +21,7 @@ type ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderDeleteRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a namedLocation object. +// ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a countryNamedLocation object. type ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,11 @@ func NewConditionalAccessNamedLocationsNamedLocationItemRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewConditionalAccessNamedLocationsNamedLocationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an ipNamedLocation object. +// Delete delete a countryNamedLocation object. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/ipnamedlocation-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/countrynamedlocation-delete?view=graph-rest-1.0 func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +76,12 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Delete( } return nil } -// Get retrieve the properties and relationships of a namedLocation object. +// Get retrieve the properties and relationships of a countryNamedLocation object. // returns a NamedLocationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/namedlocation-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/countrynamedlocation-get?view=graph-rest-1.0 func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NamedLocationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Patch(c } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NamedLocationable), nil } -// ToDeleteRequestInformation delete an ipNamedLocation object. +// ToDeleteRequestInformation delete a countryNamedLocation object. // returns a *RequestInformation when successful func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToDelet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a namedLocation object. +// ToGetRequestInformation retrieve the properties and relationships of a countryNamedLocation object. // returns a *RequestInformation when successful func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/identity_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/identity_request_builder.go index 0cd17e1474..9472a6789a 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/identity_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/identity_request_builder.go @@ -125,6 +125,11 @@ func (m *IdentityRequestBuilder) Patch(ctx context.Context, body iadcd81124412c6 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IdentityContainerable), nil } +// RiskPrevention provides operations to manage the riskPrevention property of the microsoft.graph.identityContainer entity. +// returns a *RiskPreventionRequestBuilder when successful +func (m *IdentityRequestBuilder) RiskPrevention()(*RiskPreventionRequestBuilder) { + return NewRiskPreventionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToGetRequestInformation get identity // returns a *RequestInformation when successful func (m *IdentityRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentityRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_fraud_protection_providers_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_fraud_protection_providers_count_request_builder.go new file mode 100644 index 0000000000..8ab9a05b20 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_fraud_protection_providers_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identity + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// RiskPreventionFraudProtectionProvidersCountRequestBuilder provides operations to count the resources in the collection. +type RiskPreventionFraudProtectionProvidersCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// RiskPreventionFraudProtectionProvidersCountRequestBuilderGetQueryParameters get the number of the resource +type RiskPreventionFraudProtectionProvidersCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// RiskPreventionFraudProtectionProvidersCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RiskPreventionFraudProtectionProvidersCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *RiskPreventionFraudProtectionProvidersCountRequestBuilderGetQueryParameters +} +// NewRiskPreventionFraudProtectionProvidersCountRequestBuilderInternal instantiates a new RiskPreventionFraudProtectionProvidersCountRequestBuilder and sets the default values. +func NewRiskPreventionFraudProtectionProvidersCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RiskPreventionFraudProtectionProvidersCountRequestBuilder) { + m := &RiskPreventionFraudProtectionProvidersCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/riskPrevention/fraudProtectionProviders/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewRiskPreventionFraudProtectionProvidersCountRequestBuilder instantiates a new RiskPreventionFraudProtectionProvidersCountRequestBuilder and sets the default values. +func NewRiskPreventionFraudProtectionProvidersCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RiskPreventionFraudProtectionProvidersCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewRiskPreventionFraudProtectionProvidersCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *RiskPreventionFraudProtectionProvidersCountRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskPreventionFraudProtectionProvidersCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *RiskPreventionFraudProtectionProvidersCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RiskPreventionFraudProtectionProvidersCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *RiskPreventionFraudProtectionProvidersCountRequestBuilder when successful +func (m *RiskPreventionFraudProtectionProvidersCountRequestBuilder) WithUrl(rawUrl string)(*RiskPreventionFraudProtectionProvidersCountRequestBuilder) { + return NewRiskPreventionFraudProtectionProvidersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_fraud_protection_providers_fraud_protection_provider_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_fraud_protection_providers_fraud_protection_provider_item_request_builder.go new file mode 100644 index 0000000000..be24fa380c --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_fraud_protection_providers_fraud_protection_provider_item_request_builder.go @@ -0,0 +1,169 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identity + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder provides operations to manage the fraudProtectionProviders property of the microsoft.graph.riskPreventionContainer entity. +type RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderGetQueryParameters read the properties and relationships of fraudProtectionProvider object. The following derived types are currently supported. +type RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderGetQueryParameters +} +// RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewRiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderInternal instantiates a new RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder and sets the default values. +func NewRiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder) { + m := &RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/riskPrevention/fraudProtectionProviders/{fraudProtectionProvider%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewRiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder instantiates a new RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder and sets the default values. +func NewRiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewRiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete a fraudProtectionProvider object. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/riskpreventioncontainer-delete-fraudprotectionproviders?view=graph-rest-1.0 +func (m *RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get read the properties and relationships of fraudProtectionProvider object. The following derived types are currently supported. +// returns a FraudProtectionProviderable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/fraudprotectionprovider-get?view=graph-rest-1.0 +func (m *RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FraudProtectionProviderable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFraudProtectionProviderFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FraudProtectionProviderable), nil +} +// Patch update the properties of a fraudProtectionProvider object. The following derived types are currently supported. +// returns a FraudProtectionProviderable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/fraudprotectionprovider-update?view=graph-rest-1.0 +func (m *RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FraudProtectionProviderable, requestConfiguration *RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FraudProtectionProviderable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFraudProtectionProviderFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FraudProtectionProviderable), nil +} +// ToDeleteRequestInformation delete a fraudProtectionProvider object. +// returns a *RequestInformation when successful +func (m *RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation read the properties and relationships of fraudProtectionProvider object. The following derived types are currently supported. +// returns a *RequestInformation when successful +func (m *RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the properties of a fraudProtectionProvider object. The following derived types are currently supported. +// returns a *RequestInformation when successful +func (m *RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FraudProtectionProviderable, requestConfiguration *RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder when successful +func (m *RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder) WithUrl(rawUrl string)(*RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder) { + return NewRiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_fraud_protection_providers_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_fraud_protection_providers_request_builder.go new file mode 100644 index 0000000000..35e30cf0d7 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_fraud_protection_providers_request_builder.go @@ -0,0 +1,161 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identity + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// RiskPreventionFraudProtectionProvidersRequestBuilder provides operations to manage the fraudProtectionProviders property of the microsoft.graph.riskPreventionContainer entity. +type RiskPreventionFraudProtectionProvidersRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// RiskPreventionFraudProtectionProvidersRequestBuilderGetQueryParameters get a list of the fraudProtectionProvider object and their properties. The following derived types are supported: +type RiskPreventionFraudProtectionProvidersRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// RiskPreventionFraudProtectionProvidersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RiskPreventionFraudProtectionProvidersRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *RiskPreventionFraudProtectionProvidersRequestBuilderGetQueryParameters +} +// RiskPreventionFraudProtectionProvidersRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RiskPreventionFraudProtectionProvidersRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByFraudProtectionProviderId provides operations to manage the fraudProtectionProviders property of the microsoft.graph.riskPreventionContainer entity. +// returns a *RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder when successful +func (m *RiskPreventionFraudProtectionProvidersRequestBuilder) ByFraudProtectionProviderId(fraudProtectionProviderId string)(*RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if fraudProtectionProviderId != "" { + urlTplParams["fraudProtectionProvider%2Did"] = fraudProtectionProviderId + } + return NewRiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewRiskPreventionFraudProtectionProvidersRequestBuilderInternal instantiates a new RiskPreventionFraudProtectionProvidersRequestBuilder and sets the default values. +func NewRiskPreventionFraudProtectionProvidersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RiskPreventionFraudProtectionProvidersRequestBuilder) { + m := &RiskPreventionFraudProtectionProvidersRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/riskPrevention/fraudProtectionProviders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewRiskPreventionFraudProtectionProvidersRequestBuilder instantiates a new RiskPreventionFraudProtectionProvidersRequestBuilder and sets the default values. +func NewRiskPreventionFraudProtectionProvidersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RiskPreventionFraudProtectionProvidersRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewRiskPreventionFraudProtectionProvidersRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *RiskPreventionFraudProtectionProvidersCountRequestBuilder when successful +func (m *RiskPreventionFraudProtectionProvidersRequestBuilder) Count()(*RiskPreventionFraudProtectionProvidersCountRequestBuilder) { + return NewRiskPreventionFraudProtectionProvidersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of the fraudProtectionProvider object and their properties. The following derived types are supported: +// returns a FraudProtectionProviderCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/riskpreventioncontainer-list-fraudprotectionproviders?view=graph-rest-1.0 +func (m *RiskPreventionFraudProtectionProvidersRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskPreventionFraudProtectionProvidersRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FraudProtectionProviderCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFraudProtectionProviderCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FraudProtectionProviderCollectionResponseable), nil +} +// Post create a new fraudProtectionProvider object. You can create one of the following subtypes that are derived from fraudProtectionProvider. +// returns a FraudProtectionProviderable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/riskpreventioncontainer-post-fraudprotectionproviders?view=graph-rest-1.0 +func (m *RiskPreventionFraudProtectionProvidersRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FraudProtectionProviderable, requestConfiguration *RiskPreventionFraudProtectionProvidersRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FraudProtectionProviderable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFraudProtectionProviderFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FraudProtectionProviderable), nil +} +// ToGetRequestInformation get a list of the fraudProtectionProvider object and their properties. The following derived types are supported: +// returns a *RequestInformation when successful +func (m *RiskPreventionFraudProtectionProvidersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RiskPreventionFraudProtectionProvidersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create a new fraudProtectionProvider object. You can create one of the following subtypes that are derived from fraudProtectionProvider. +// returns a *RequestInformation when successful +func (m *RiskPreventionFraudProtectionProvidersRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FraudProtectionProviderable, requestConfiguration *RiskPreventionFraudProtectionProvidersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *RiskPreventionFraudProtectionProvidersRequestBuilder when successful +func (m *RiskPreventionFraudProtectionProvidersRequestBuilder) WithUrl(rawUrl string)(*RiskPreventionFraudProtectionProvidersRequestBuilder) { + return NewRiskPreventionFraudProtectionProvidersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_request_builder.go new file mode 100644 index 0000000000..5dc9a0e708 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_request_builder.go @@ -0,0 +1,175 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identity + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// RiskPreventionRequestBuilder provides operations to manage the riskPrevention property of the microsoft.graph.identityContainer entity. +type RiskPreventionRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// RiskPreventionRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RiskPreventionRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// RiskPreventionRequestBuilderGetQueryParameters represents the entry point for fraud and risk prevention configurations in Microsoft Entra External ID, including third-party provider settings. +type RiskPreventionRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// RiskPreventionRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RiskPreventionRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *RiskPreventionRequestBuilderGetQueryParameters +} +// RiskPreventionRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RiskPreventionRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewRiskPreventionRequestBuilderInternal instantiates a new RiskPreventionRequestBuilder and sets the default values. +func NewRiskPreventionRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RiskPreventionRequestBuilder) { + m := &RiskPreventionRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/riskPrevention{?%24expand,%24select}", pathParameters), + } + return m +} +// NewRiskPreventionRequestBuilder instantiates a new RiskPreventionRequestBuilder and sets the default values. +func NewRiskPreventionRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RiskPreventionRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewRiskPreventionRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property riskPrevention for identity +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *RiskPreventionRequestBuilder) Delete(ctx context.Context, requestConfiguration *RiskPreventionRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// FraudProtectionProviders provides operations to manage the fraudProtectionProviders property of the microsoft.graph.riskPreventionContainer entity. +// returns a *RiskPreventionFraudProtectionProvidersRequestBuilder when successful +func (m *RiskPreventionRequestBuilder) FraudProtectionProviders()(*RiskPreventionFraudProtectionProvidersRequestBuilder) { + return NewRiskPreventionFraudProtectionProvidersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get represents the entry point for fraud and risk prevention configurations in Microsoft Entra External ID, including third-party provider settings. +// returns a RiskPreventionContainerable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *RiskPreventionRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskPreventionRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RiskPreventionContainerable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateRiskPreventionContainerFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RiskPreventionContainerable), nil +} +// Patch update the navigation property riskPrevention in identity +// returns a RiskPreventionContainerable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *RiskPreventionRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RiskPreventionContainerable, requestConfiguration *RiskPreventionRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RiskPreventionContainerable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateRiskPreventionContainerFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RiskPreventionContainerable), nil +} +// ToDeleteRequestInformation delete navigation property riskPrevention for identity +// returns a *RequestInformation when successful +func (m *RiskPreventionRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *RiskPreventionRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation represents the entry point for fraud and risk prevention configurations in Microsoft Entra External ID, including third-party provider settings. +// returns a *RequestInformation when successful +func (m *RiskPreventionRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RiskPreventionRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property riskPrevention in identity +// returns a *RequestInformation when successful +func (m *RiskPreventionRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RiskPreventionContainerable, requestConfiguration *RiskPreventionRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WebApplicationFirewallProviders provides operations to manage the webApplicationFirewallProviders property of the microsoft.graph.riskPreventionContainer entity. +// returns a *RiskPreventionWebApplicationFirewallProvidersRequestBuilder when successful +func (m *RiskPreventionRequestBuilder) WebApplicationFirewallProviders()(*RiskPreventionWebApplicationFirewallProvidersRequestBuilder) { + return NewRiskPreventionWebApplicationFirewallProvidersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// WebApplicationFirewallVerifications provides operations to manage the webApplicationFirewallVerifications property of the microsoft.graph.riskPreventionContainer entity. +// returns a *RiskPreventionWebApplicationFirewallVerificationsRequestBuilder when successful +func (m *RiskPreventionRequestBuilder) WebApplicationFirewallVerifications()(*RiskPreventionWebApplicationFirewallVerificationsRequestBuilder) { + return NewRiskPreventionWebApplicationFirewallVerificationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *RiskPreventionRequestBuilder when successful +func (m *RiskPreventionRequestBuilder) WithUrl(rawUrl string)(*RiskPreventionRequestBuilder) { + return NewRiskPreventionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_web_application_firewall_providers_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_web_application_firewall_providers_count_request_builder.go new file mode 100644 index 0000000000..a37aa70007 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_web_application_firewall_providers_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identity + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// RiskPreventionWebApplicationFirewallProvidersCountRequestBuilder provides operations to count the resources in the collection. +type RiskPreventionWebApplicationFirewallProvidersCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// RiskPreventionWebApplicationFirewallProvidersCountRequestBuilderGetQueryParameters get the number of the resource +type RiskPreventionWebApplicationFirewallProvidersCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// RiskPreventionWebApplicationFirewallProvidersCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RiskPreventionWebApplicationFirewallProvidersCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *RiskPreventionWebApplicationFirewallProvidersCountRequestBuilderGetQueryParameters +} +// NewRiskPreventionWebApplicationFirewallProvidersCountRequestBuilderInternal instantiates a new RiskPreventionWebApplicationFirewallProvidersCountRequestBuilder and sets the default values. +func NewRiskPreventionWebApplicationFirewallProvidersCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RiskPreventionWebApplicationFirewallProvidersCountRequestBuilder) { + m := &RiskPreventionWebApplicationFirewallProvidersCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/riskPrevention/webApplicationFirewallProviders/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewRiskPreventionWebApplicationFirewallProvidersCountRequestBuilder instantiates a new RiskPreventionWebApplicationFirewallProvidersCountRequestBuilder and sets the default values. +func NewRiskPreventionWebApplicationFirewallProvidersCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RiskPreventionWebApplicationFirewallProvidersCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewRiskPreventionWebApplicationFirewallProvidersCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *RiskPreventionWebApplicationFirewallProvidersCountRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskPreventionWebApplicationFirewallProvidersCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *RiskPreventionWebApplicationFirewallProvidersCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RiskPreventionWebApplicationFirewallProvidersCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *RiskPreventionWebApplicationFirewallProvidersCountRequestBuilder when successful +func (m *RiskPreventionWebApplicationFirewallProvidersCountRequestBuilder) WithUrl(rawUrl string)(*RiskPreventionWebApplicationFirewallProvidersCountRequestBuilder) { + return NewRiskPreventionWebApplicationFirewallProvidersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_web_application_firewall_providers_item_verify_post_request_body.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_web_application_firewall_providers_item_verify_post_request_body.go new file mode 100644 index 0000000000..fa976eff06 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_web_application_firewall_providers_item_verify_post_request_body.go @@ -0,0 +1,116 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identity + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewRiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBody instantiates a new RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBody and sets the default values. +func NewRiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBody()(*RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBody) { + m := &RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateRiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewRiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["hostName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetHostName(val) + } + return nil + } + return res +} +// GetHostName gets the hostName property value. The hostName property +// returns a *string when successful +func (m *RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBody) GetHostName()(*string) { + val, err := m.GetBackingStore().Get("hostName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("hostName", m.GetHostName()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetHostName sets the hostName property value. The hostName property +func (m *RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBody) SetHostName(value *string)() { + err := m.GetBackingStore().Set("hostName", value) + if err != nil { + panic(err) + } +} +type RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetHostName()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetHostName(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_web_application_firewall_providers_item_verify_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_web_application_firewall_providers_item_verify_request_builder.go new file mode 100644 index 0000000000..5922ef8a51 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_web_application_firewall_providers_item_verify_request_builder.go @@ -0,0 +1,79 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identity + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilder provides operations to call the verify method. +type RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewRiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilderInternal instantiates a new RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilder and sets the default values. +func NewRiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilder) { + m := &RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/riskPrevention/webApplicationFirewallProviders/{webApplicationFirewallProvider%2Did}/verify", pathParameters), + } + return m +} +// NewRiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilder instantiates a new RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilder and sets the default values. +func NewRiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewRiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilderInternal(urlParams, requestAdapter) +} +// Post initiate a verification operation for a webApplicationFirewallProvider object. This API triggers provider-specific verification logic and returns a webApplicationFirewallVerificationModel object describing the verification result. +// returns a WebApplicationFirewallVerificationModelable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/webapplicationfirewallprovider-verify?view=graph-rest-1.0 +func (m *RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilder) Post(ctx context.Context, body RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBodyable, requestConfiguration *RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallVerificationModelable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWebApplicationFirewallVerificationModelFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallVerificationModelable), nil +} +// ToPostRequestInformation initiate a verification operation for a webApplicationFirewallProvider object. This API triggers provider-specific verification logic and returns a webApplicationFirewallVerificationModel object describing the verification result. +// returns a *RequestInformation when successful +func (m *RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilder) ToPostRequestInformation(ctx context.Context, body RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBodyable, requestConfiguration *RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilder when successful +func (m *RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilder) WithUrl(rawUrl string)(*RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilder) { + return NewRiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_web_application_firewall_providers_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_web_application_firewall_providers_request_builder.go new file mode 100644 index 0000000000..b369357b30 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_web_application_firewall_providers_request_builder.go @@ -0,0 +1,161 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identity + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// RiskPreventionWebApplicationFirewallProvidersRequestBuilder provides operations to manage the webApplicationFirewallProviders property of the microsoft.graph.riskPreventionContainer entity. +type RiskPreventionWebApplicationFirewallProvidersRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// RiskPreventionWebApplicationFirewallProvidersRequestBuilderGetQueryParameters get a list of the webApplicationFirewallProvider objects and their properties. +type RiskPreventionWebApplicationFirewallProvidersRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// RiskPreventionWebApplicationFirewallProvidersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RiskPreventionWebApplicationFirewallProvidersRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *RiskPreventionWebApplicationFirewallProvidersRequestBuilderGetQueryParameters +} +// RiskPreventionWebApplicationFirewallProvidersRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RiskPreventionWebApplicationFirewallProvidersRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByWebApplicationFirewallProviderId provides operations to manage the webApplicationFirewallProviders property of the microsoft.graph.riskPreventionContainer entity. +// returns a *RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder when successful +func (m *RiskPreventionWebApplicationFirewallProvidersRequestBuilder) ByWebApplicationFirewallProviderId(webApplicationFirewallProviderId string)(*RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if webApplicationFirewallProviderId != "" { + urlTplParams["webApplicationFirewallProvider%2Did"] = webApplicationFirewallProviderId + } + return NewRiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewRiskPreventionWebApplicationFirewallProvidersRequestBuilderInternal instantiates a new RiskPreventionWebApplicationFirewallProvidersRequestBuilder and sets the default values. +func NewRiskPreventionWebApplicationFirewallProvidersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RiskPreventionWebApplicationFirewallProvidersRequestBuilder) { + m := &RiskPreventionWebApplicationFirewallProvidersRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/riskPrevention/webApplicationFirewallProviders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewRiskPreventionWebApplicationFirewallProvidersRequestBuilder instantiates a new RiskPreventionWebApplicationFirewallProvidersRequestBuilder and sets the default values. +func NewRiskPreventionWebApplicationFirewallProvidersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RiskPreventionWebApplicationFirewallProvidersRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewRiskPreventionWebApplicationFirewallProvidersRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *RiskPreventionWebApplicationFirewallProvidersCountRequestBuilder when successful +func (m *RiskPreventionWebApplicationFirewallProvidersRequestBuilder) Count()(*RiskPreventionWebApplicationFirewallProvidersCountRequestBuilder) { + return NewRiskPreventionWebApplicationFirewallProvidersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of the webApplicationFirewallProvider objects and their properties. +// returns a WebApplicationFirewallProviderCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/riskpreventioncontainer-list-webapplicationfirewallproviders?view=graph-rest-1.0 +func (m *RiskPreventionWebApplicationFirewallProvidersRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskPreventionWebApplicationFirewallProvidersRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallProviderCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWebApplicationFirewallProviderCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallProviderCollectionResponseable), nil +} +// Post create a new webApplicationFirewallProvider object. You can create one of the following subtypes that are derived from webApplicationFirewallProvider. +// returns a WebApplicationFirewallProviderable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/riskpreventioncontainer-post-webapplicationfirewallproviders?view=graph-rest-1.0 +func (m *RiskPreventionWebApplicationFirewallProvidersRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallProviderable, requestConfiguration *RiskPreventionWebApplicationFirewallProvidersRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallProviderable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWebApplicationFirewallProviderFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallProviderable), nil +} +// ToGetRequestInformation get a list of the webApplicationFirewallProvider objects and their properties. +// returns a *RequestInformation when successful +func (m *RiskPreventionWebApplicationFirewallProvidersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RiskPreventionWebApplicationFirewallProvidersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create a new webApplicationFirewallProvider object. You can create one of the following subtypes that are derived from webApplicationFirewallProvider. +// returns a *RequestInformation when successful +func (m *RiskPreventionWebApplicationFirewallProvidersRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallProviderable, requestConfiguration *RiskPreventionWebApplicationFirewallProvidersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *RiskPreventionWebApplicationFirewallProvidersRequestBuilder when successful +func (m *RiskPreventionWebApplicationFirewallProvidersRequestBuilder) WithUrl(rawUrl string)(*RiskPreventionWebApplicationFirewallProvidersRequestBuilder) { + return NewRiskPreventionWebApplicationFirewallProvidersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_web_application_firewall_verifications_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_web_application_firewall_verifications_count_request_builder.go new file mode 100644 index 0000000000..28770e0898 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_web_application_firewall_verifications_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identity + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder provides operations to count the resources in the collection. +type RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilderGetQueryParameters get the number of the resource +type RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilderGetQueryParameters +} +// NewRiskPreventionWebApplicationFirewallVerificationsCountRequestBuilderInternal instantiates a new RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder and sets the default values. +func NewRiskPreventionWebApplicationFirewallVerificationsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder) { + m := &RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/riskPrevention/webApplicationFirewallVerifications/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewRiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder instantiates a new RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder and sets the default values. +func NewRiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewRiskPreventionWebApplicationFirewallVerificationsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder when successful +func (m *RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder) WithUrl(rawUrl string)(*RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder) { + return NewRiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_web_application_firewall_verifications_item_provider_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_web_application_firewall_verifications_item_provider_request_builder.go new file mode 100644 index 0000000000..48ecf4b622 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_web_application_firewall_verifications_item_provider_request_builder.go @@ -0,0 +1,84 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identity + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder provides operations to manage the provider property of the microsoft.graph.webApplicationFirewallVerificationModel entity. +type RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilderGetQueryParameters reference to a provider resource associated with this verification model. Represents a WAF provider that can be used to verify or manage the host. +type RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilderGetQueryParameters +} +// NewRiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilderInternal instantiates a new RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder and sets the default values. +func NewRiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder) { + m := &RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/riskPrevention/webApplicationFirewallVerifications/{webApplicationFirewallVerificationModel%2Did}/provider{?%24expand,%24select}", pathParameters), + } + return m +} +// NewRiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder instantiates a new RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder and sets the default values. +func NewRiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewRiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilderInternal(urlParams, requestAdapter) +} +// Get reference to a provider resource associated with this verification model. Represents a WAF provider that can be used to verify or manage the host. +// returns a WebApplicationFirewallProviderable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallProviderable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWebApplicationFirewallProviderFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallProviderable), nil +} +// ToGetRequestInformation reference to a provider resource associated with this verification model. Represents a WAF provider that can be used to verify or manage the host. +// returns a *RequestInformation when successful +func (m *RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder when successful +func (m *RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder) WithUrl(rawUrl string)(*RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder) { + return NewRiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_web_application_firewall_verifications_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_web_application_firewall_verifications_request_builder.go new file mode 100644 index 0000000000..da4c959843 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identity/risk_prevention_web_application_firewall_verifications_request_builder.go @@ -0,0 +1,158 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identity + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// RiskPreventionWebApplicationFirewallVerificationsRequestBuilder provides operations to manage the webApplicationFirewallVerifications property of the microsoft.graph.riskPreventionContainer entity. +type RiskPreventionWebApplicationFirewallVerificationsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// RiskPreventionWebApplicationFirewallVerificationsRequestBuilderGetQueryParameters get a list of the webApplicationFirewallVerificationModel objects and their properties. +type RiskPreventionWebApplicationFirewallVerificationsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// RiskPreventionWebApplicationFirewallVerificationsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RiskPreventionWebApplicationFirewallVerificationsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *RiskPreventionWebApplicationFirewallVerificationsRequestBuilderGetQueryParameters +} +// RiskPreventionWebApplicationFirewallVerificationsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RiskPreventionWebApplicationFirewallVerificationsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByWebApplicationFirewallVerificationModelId provides operations to manage the webApplicationFirewallVerifications property of the microsoft.graph.riskPreventionContainer entity. +// returns a *RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder when successful +func (m *RiskPreventionWebApplicationFirewallVerificationsRequestBuilder) ByWebApplicationFirewallVerificationModelId(webApplicationFirewallVerificationModelId string)(*RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if webApplicationFirewallVerificationModelId != "" { + urlTplParams["webApplicationFirewallVerificationModel%2Did"] = webApplicationFirewallVerificationModelId + } + return NewRiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewRiskPreventionWebApplicationFirewallVerificationsRequestBuilderInternal instantiates a new RiskPreventionWebApplicationFirewallVerificationsRequestBuilder and sets the default values. +func NewRiskPreventionWebApplicationFirewallVerificationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RiskPreventionWebApplicationFirewallVerificationsRequestBuilder) { + m := &RiskPreventionWebApplicationFirewallVerificationsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/riskPrevention/webApplicationFirewallVerifications{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewRiskPreventionWebApplicationFirewallVerificationsRequestBuilder instantiates a new RiskPreventionWebApplicationFirewallVerificationsRequestBuilder and sets the default values. +func NewRiskPreventionWebApplicationFirewallVerificationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RiskPreventionWebApplicationFirewallVerificationsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewRiskPreventionWebApplicationFirewallVerificationsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder when successful +func (m *RiskPreventionWebApplicationFirewallVerificationsRequestBuilder) Count()(*RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder) { + return NewRiskPreventionWebApplicationFirewallVerificationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of the webApplicationFirewallVerificationModel objects and their properties. +// returns a WebApplicationFirewallVerificationModelCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/riskpreventioncontainer-list-webapplicationfirewallverifications?view=graph-rest-1.0 +func (m *RiskPreventionWebApplicationFirewallVerificationsRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskPreventionWebApplicationFirewallVerificationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallVerificationModelCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWebApplicationFirewallVerificationModelCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallVerificationModelCollectionResponseable), nil +} +// Post create new navigation property to webApplicationFirewallVerifications for identity +// returns a WebApplicationFirewallVerificationModelable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *RiskPreventionWebApplicationFirewallVerificationsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallVerificationModelable, requestConfiguration *RiskPreventionWebApplicationFirewallVerificationsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallVerificationModelable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWebApplicationFirewallVerificationModelFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallVerificationModelable), nil +} +// ToGetRequestInformation get a list of the webApplicationFirewallVerificationModel objects and their properties. +// returns a *RequestInformation when successful +func (m *RiskPreventionWebApplicationFirewallVerificationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RiskPreventionWebApplicationFirewallVerificationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to webApplicationFirewallVerifications for identity +// returns a *RequestInformation when successful +func (m *RiskPreventionWebApplicationFirewallVerificationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallVerificationModelable, requestConfiguration *RiskPreventionWebApplicationFirewallVerificationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *RiskPreventionWebApplicationFirewallVerificationsRequestBuilder when successful +func (m *RiskPreventionWebApplicationFirewallVerificationsRequestBuilder) WithUrl(rawUrl string)(*RiskPreventionWebApplicationFirewallVerificationsRequestBuilder) { + return NewRiskPreventionWebApplicationFirewallVerificationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/035dc70034b87a918d74c29c8ef01e0b77d6b98ba10a3145d6df9ad09f77c65b.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/035dc70034b87a918d74c29c8ef01e0b77d6b98ba10a3145d6df9ad09f77c65b.go index 46204f135b..f553c571a9 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/035dc70034b87a918d74c29c8ef01e0b77d6b98ba10a3145d6df9ad09f77c65b.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/035dc70034b87a918d74c29c8ef01e0b77d6b98ba10a3145d6df9ad09f77c65b.go @@ -57,11 +57,11 @@ func NewEntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutEx urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: +// Delete delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-delete?view=graph-rest-1.0 func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +99,12 @@ func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutE } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CustomCalloutExtensionable), nil } -// Patch update the properties of an accessPackageAssignmentWorkflowExtension object. +// Patch update the properties of an accessPackageAssignmentRequestWorkflowExtension object. // returns a CustomCalloutExtensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-update?view=graph-rest-1.0 func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CustomCalloutExtensionable, requestConfiguration *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CustomCalloutExtensionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutE } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CustomCalloutExtensionable), nil } -// ToDeleteRequestInformation delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: +// ToDeleteRequestInformation delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: // returns a *RequestInformation when successful func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +147,7 @@ func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutE requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an accessPackageAssignmentWorkflowExtension object. +// ToPatchRequestInformation update the properties of an accessPackageAssignmentRequestWorkflowExtension object. // returns a *RequestInformation when successful func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CustomCalloutExtensionable, requestConfiguration *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/0ba7db73285c66e91cacb034d330c1610d0caa9f51bcd9c7955a37b4ce618189.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/0ba7db73285c66e91cacb034d330c1610d0caa9f51bcd9c7955a37b4ce618189.go index 88032019e6..763e3f4c62 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/0ba7db73285c66e91cacb034d330c1610d0caa9f51bcd9c7955a37b4ce618189.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/0ba7db73285c66e91cacb034d330c1610d0caa9f51bcd9c7955a37b4ce618189.go @@ -63,6 +63,11 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult } return res.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.UserProcessingResultable), nil } +// ReprocessedRuns provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder) ReprocessedRuns()(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Subject provides operations to manage the subject property of the microsoft.graph.identityGovernance.userProcessingResult entity. // returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilder when successful func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder) Subject()(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilder) { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/182f7f5246014b11138a2b5891813de6a801728372559e42f96807dbad80e084.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/182f7f5246014b11138a2b5891813de6a801728372559e42f96807dbad80e084.go new file mode 100644 index 0000000000..89c9cc6204 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/182f7f5246014b11138a2b5891813de6a801728372559e42f96807dbad80e084.go @@ -0,0 +1,117 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" + ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430 "github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance" +) + +type LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody instantiates a new LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody()(*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody) { + m := &LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["scope"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.CreateActivationScopeFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetScope(val.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.ActivationScopeable)) + } + return nil + } + return res +} +// GetScope gets the scope property value. The scope property +// returns a ActivationScopeable when successful +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody) GetScope()(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.ActivationScopeable) { + val, err := m.GetBackingStore().Get("scope") + if err != nil { + panic(err) + } + if val != nil { + return val.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.ActivationScopeable) + } + return nil +} +// Serialize serializes information the current object +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("scope", m.GetScope()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetScope sets the scope property value. The scope property +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody) SetScope(value ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.ActivationScopeable)() { + err := m.GetBackingStore().Set("scope", value) + if err != nil { + panic(err) + } +} +type LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetScope()(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.ActivationScopeable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetScope(value ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.ActivationScopeable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/1f5bcd4b070e0f4c969a9947d976818b9354ff141f29578afce546ff128b5d9a.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/1f5bcd4b070e0f4c969a9947d976818b9354ff141f29578afce546ff128b5d9a.go new file mode 100644 index 0000000000..6c39fdcf08 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/1f5bcd4b070e0f4c969a9947d976818b9354ff141f29578afce546ff128b5d9a.go @@ -0,0 +1,84 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430 "github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance" +) + +// LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. +type LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters the related reprocessed workflow run. +type LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters +} +// NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderInternal instantiates a new LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder) { + m := &LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/runs/{run%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns/{run%2Did1}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder instantiates a new LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the related reprocessed workflow run. +// returns a Runable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration)(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Runable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.CreateRunFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Runable), nil +} +// ToGetRequestInformation the related reprocessed workflow run. +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/218eb1bd392c1baa3b1e71399c780c9b2709aacdc8fb02fa7b04cd87155b9b98.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/218eb1bd392c1baa3b1e71399c780c9b2709aacdc8fb02fa7b04cd87155b9b98.go index 573d6f6628..c8def8a9a3 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/218eb1bd392c1baa3b1e71399c780c9b2709aacdc8fb02fa7b04cd87155b9b98.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/218eb1bd392c1baa3b1e71399c780c9b2709aacdc8fb02fa7b04cd87155b9b98.go @@ -63,6 +63,11 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsUserProcessingResul } return res.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.UserProcessingResultable), nil } +// ReprocessedRuns provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. +// returns a *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsUserProcessingResultItemRequestBuilder) ReprocessedRuns()(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Subject provides operations to manage the subject property of the microsoft.graph.identityGovernance.userProcessingResult entity. // returns a *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilder when successful func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsUserProcessingResultItemRequestBuilder) Subject()(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilder) { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/2a87cbfe9ed2a21a59532bfa904e758dbf45db9062d25f9ba115268dc1def83d.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/2a87cbfe9ed2a21a59532bfa904e758dbf45db9062d25f9ba115268dc1def83d.go new file mode 100644 index 0000000000..b45e9faced --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/2a87cbfe9ed2a21a59532bfa904e758dbf45db9062d25f9ba115268dc1def83d.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder provides operations to call the activateWithScope method. +type LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilderInternal instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder) { + m := &LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.activateWithScope", pathParameters), + } + return m +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilderInternal(urlParams, requestAdapter) +} +// Post run a workflow object on-demand with a specific scope. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-activatewithscope?view=graph-rest-1.0 +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder) Post(ctx context.Context, body LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBodyable, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation run a workflow object on-demand with a specific scope. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder) ToPostRequestInformation(ctx context.Context, body LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBodyable, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/3e51efae1b0d5a1efc4a538ca92b0b1bdafe05d971d8c2158b9cc80af16f8fb2.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/3e51efae1b0d5a1efc4a538ca92b0b1bdafe05d971d8c2158b9cc80af16f8fb2.go new file mode 100644 index 0000000000..fc11830f83 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/3e51efae1b0d5a1efc4a538ca92b0b1bdafe05d971d8c2158b9cc80af16f8fb2.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder provides operations to count the resources in the collection. +type LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetQueryParameters get the number of the resource +type LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetQueryParameters +} +// NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderInternal instantiates a new LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder) { + m := &LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder instantiates a new LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/42ed9c2906f3b4be9b81f85b8ec903483e817b9358c880bd6f2ec227297da1fa.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/42ed9c2906f3b4be9b81f85b8ec903483e817b9358c880bd6f2ec227297da1fa.go new file mode 100644 index 0000000000..a83ac2a908 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/42ed9c2906f3b4be9b81f85b8ec903483e817b9358c880bd6f2ec227297da1fa.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder provides operations to call the activateWithScope method. +type LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilderInternal instantiates a new LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder) { + m := &LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.activateWithScope", pathParameters), + } + return m +} +// NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder instantiates a new LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilderInternal(urlParams, requestAdapter) +} +// Post run a workflow object on-demand with a specific scope. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-activatewithscope?view=graph-rest-1.0 +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder) Post(ctx context.Context, body LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBodyable, requestConfiguration *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation run a workflow object on-demand with a specific scope. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder) ToPostRequestInformation(ctx context.Context, body LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBodyable, requestConfiguration *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/4515c5cc5d1e5e99849ce4265e94c55a63f26eae478b859ce52112728ad4813d.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/4515c5cc5d1e5e99849ce4265e94c55a63f26eae478b859ce52112728ad4813d.go new file mode 100644 index 0000000000..79608db9ed --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/4515c5cc5d1e5e99849ce4265e94c55a63f26eae478b859ce52112728ad4813d.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder provides operations to count the resources in the collection. +type LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetQueryParameters get the number of the resource +type LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetQueryParameters +} +// NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderInternal instantiates a new LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder) { + m := &LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/runs/{run%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder instantiates a new LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/4964c729489bbd6afb35e351a9aa0425545be8134193dd8c49b879aefb9574d5.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/4964c729489bbd6afb35e351a9aa0425545be8134193dd8c49b879aefb9574d5.go new file mode 100644 index 0000000000..5b7975a8fe --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/4964c729489bbd6afb35e351a9aa0425545be8134193dd8c49b879aefb9574d5.go @@ -0,0 +1,84 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430 "github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance" +) + +// LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. +type LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters the related reprocessed workflow run. +type LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters +} +// NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderInternal instantiates a new LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder) { + m := &LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns/{run%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder instantiates a new LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the related reprocessed workflow run. +// returns a Runable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration)(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Runable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.CreateRunFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Runable), nil +} +// ToGetRequestInformation the related reprocessed workflow run. +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/513a8db6e2a473ba9128ddaed252b2628119d6787e092daa87abcc8833f97b6a.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/513a8db6e2a473ba9128ddaed252b2628119d6787e092daa87abcc8833f97b6a.go index 8c4eb4c27d..04f0170dea 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/513a8db6e2a473ba9128ddaed252b2628119d6787e092daa87abcc8833f97b6a.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/513a8db6e2a473ba9128ddaed252b2628119d6787e092daa87abcc8833f97b6a.go @@ -14,7 +14,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilderGetQueryParameters the unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. +// LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilderGetQueryParameters the unique identifier of the user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. type LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -43,7 +43,7 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubj urlParams["request-raw-url"] = rawUrl return NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilderInternal(urlParams, requestAdapter) } -// Get the unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. +// Get the unique identifier of the user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. // returns a Userable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { @@ -73,7 +73,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSub func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilder) ServiceProvisioningErrors()(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation the unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. +// ToGetRequestInformation the unique identifier of the user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/614a92c93db6cffc31793b6a4e70eebe5023f33f6f10e3b62703771146cd4606.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/614a92c93db6cffc31793b6a4e70eebe5023f33f6f10e3b62703771146cd4606.go new file mode 100644 index 0000000000..4bdd4655ec --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/614a92c93db6cffc31793b6a4e70eebe5023f33f6f10e3b62703771146cd4606.go @@ -0,0 +1,113 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430 "github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance" +) + +// LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. +type LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters the related reprocessed workflow run. +type LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters +} +// ByRunId provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) ByRunId(runId string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if runId != "" { + urlTplParams["run%2Did"] = runId + } + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderInternal instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) { + m := &LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) Count()(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the related reprocessed workflow run. +// returns a RunCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration)(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.RunCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.CreateRunCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.RunCollectionResponseable), nil +} +// ToGetRequestInformation the related reprocessed workflow run. +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/6ee5c4c30176d9395f549051e0a50c7a49b7396ebe35949fcc65468de4787e0c.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/6ee5c4c30176d9395f549051e0a50c7a49b7396ebe35949fcc65468de4787e0c.go index 108badd0db..a28a4a4a26 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/6ee5c4c30176d9395f549051e0a50c7a49b7396ebe35949fcc65468de4787e0c.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/6ee5c4c30176d9395f549051e0a50c7a49b7396ebe35949fcc65468de4787e0c.go @@ -63,6 +63,11 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsUserPro } return res.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.UserProcessingResultable), nil } +// ReprocessedRuns provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsUserProcessingResultItemRequestBuilder) ReprocessedRuns()(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Subject provides operations to manage the subject property of the microsoft.graph.identityGovernance.userProcessingResult entity. // returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilder when successful func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsUserProcessingResultItemRequestBuilder) Subject()(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilder) { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/871609ed3702073dd29f4431f7313d3b5e39b324859be85310066412d4a74aef.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/871609ed3702073dd29f4431f7313d3b5e39b324859be85310066412d4a74aef.go index b64a697baf..5209f856ff 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/871609ed3702073dd29f4431f7313d3b5e39b324859be85310066412d4a74aef.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/871609ed3702073dd29f4431f7313d3b5e39b324859be85310066412d4a74aef.go @@ -14,7 +14,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeUserProcessingResultItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeUserProcessingResultItemRequestBuilderGetQueryParameters the unique identifier of the Microsoft Entra identity that last modified the workflow object. +// LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeUserProcessingResultItemRequestBuilderGetQueryParameters the list of users that meet the workflowExecutionConditions of a workflow. type LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeUserProcessingResultItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -43,7 +43,7 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeUserProcessingR urlParams["request-raw-url"] = rawUrl return NewLifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeUserProcessingResultItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get the unique identifier of the Microsoft Entra identity that last modified the workflow object. +// Get the list of users that meet the workflowExecutionConditions of a workflow. // returns a UserProcessingResultable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeUserProcessingResultItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeUserProcessingResultItemRequestBuilderGetRequestConfiguration)(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.UserProcessingResultable, error) { @@ -63,7 +63,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeUserProcessing } return res.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.UserProcessingResultable), nil } -// ToGetRequestInformation the unique identifier of the Microsoft Entra identity that last modified the workflow object. +// ToGetRequestInformation the list of users that meet the workflowExecutionConditions of a workflow. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeUserProcessingResultItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeUserProcessingResultItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/9fcdfe310e2ac70c3f9363d4e46d71f3aa75e7f96439f1da92a6aadbc6a6297e.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/9fcdfe310e2ac70c3f9363d4e46d71f3aa75e7f96439f1da92a6aadbc6a6297e.go new file mode 100644 index 0000000000..8d3541e473 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/9fcdfe310e2ac70c3f9363d4e46d71f3aa75e7f96439f1da92a6aadbc6a6297e.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder provides operations to count the resources in the collection. +type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetQueryParameters get the number of the resource +type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetQueryParameters +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderInternal instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder) { + m := &LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/runs/{run%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/a2f74d8de0357fdd17d47bfa97bb916c727407e1f74f38202dd8278e988a0582.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/a2f74d8de0357fdd17d47bfa97bb916c727407e1f74f38202dd8278e988a0582.go index 727ec0c299..1573b3287c 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/a2f74d8de0357fdd17d47bfa97bb916c727407e1f74f38202dd8278e988a0582.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/a2f74d8de0357fdd17d47bfa97bb916c727407e1f74f38202dd8278e988a0582.go @@ -14,7 +14,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilderGetQueryParameters the unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. +// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilderGetQueryParameters the unique identifier of the user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -43,7 +43,7 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResults urlParams["request-raw-url"] = rawUrl return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilderInternal(urlParams, requestAdapter) } -// Get the unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. +// Get the unique identifier of the user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. // returns a Userable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { @@ -73,7 +73,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilder) ServiceProvisioningErrors()(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation the unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. +// ToGetRequestInformation the unique identifier of the user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/b91ea341b7779ba84b579528a1310c5a18de8716007f8fa6a7acf08625349211.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/b91ea341b7779ba84b579528a1310c5a18de8716007f8fa6a7acf08625349211.go new file mode 100644 index 0000000000..c7975f43e7 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/b91ea341b7779ba84b579528a1310c5a18de8716007f8fa6a7acf08625349211.go @@ -0,0 +1,113 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430 "github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance" +) + +// LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. +type LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters the related reprocessed workflow run. +type LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters +} +// ByRunId1 provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. +// returns a *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) ByRunId1(runId1 string)(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if runId1 != "" { + urlTplParams["run%2Did1"] = runId1 + } + return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderInternal instantiates a new LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) { + m := &LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/runs/{run%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder instantiates a new LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) Count()(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the related reprocessed workflow run. +// returns a RunCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration)(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.RunCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.CreateRunCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.RunCollectionResponseable), nil +} +// ToGetRequestInformation the related reprocessed workflow run. +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/d3237c8f4f5f05f5c6cd9f99d814bade08d8f3694491110780640389d4e30a57.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/d3237c8f4f5f05f5c6cd9f99d814bade08d8f3694491110780640389d4e30a57.go new file mode 100644 index 0000000000..7c4614ebe5 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/d3237c8f4f5f05f5c6cd9f99d814bade08d8f3694491110780640389d4e30a57.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder provides operations to count the resources in the collection. +type LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetQueryParameters get the number of the resource +type LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetQueryParameters +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderInternal instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder) { + m := &LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/e4417e09671972ab961b22014c957df70add34f53d9fdbf9bd14ed3a8c5d7640.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/e4417e09671972ab961b22014c957df70add34f53d9fdbf9bd14ed3a8c5d7640.go index ebb8d6d782..03b8ecb582 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/e4417e09671972ab961b22014c957df70add34f53d9fdbf9bd14ed3a8c5d7640.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/e4417e09671972ab961b22014c957df70add34f53d9fdbf9bd14ed3a8c5d7640.go @@ -66,6 +66,11 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsUserProcess } return res.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.UserProcessingResultable), nil } +// ReprocessedRuns provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. +// returns a *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder) ReprocessedRuns()(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Subject provides operations to manage the subject property of the microsoft.graph.identityGovernance.userProcessingResult entity. // returns a *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilder when successful func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder) Subject()(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilder) { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/edd1e4f5ab88e10431ba7300e87667adba81132fea2035abc8aff4e0c904410c.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/edd1e4f5ab88e10431ba7300e87667adba81132fea2035abc8aff4e0c904410c.go new file mode 100644 index 0000000000..4b46bfdeba --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/edd1e4f5ab88e10431ba7300e87667adba81132fea2035abc8aff4e0c904410c.go @@ -0,0 +1,117 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" + ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430 "github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance" +) + +type LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody()(*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody) { + m := &LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["scope"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.CreateActivationScopeFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetScope(val.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.ActivationScopeable)) + } + return nil + } + return res +} +// GetScope gets the scope property value. The scope property +// returns a ActivationScopeable when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody) GetScope()(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.ActivationScopeable) { + val, err := m.GetBackingStore().Get("scope") + if err != nil { + panic(err) + } + if val != nil { + return val.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.ActivationScopeable) + } + return nil +} +// Serialize serializes information the current object +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("scope", m.GetScope()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetScope sets the scope property value. The scope property +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody) SetScope(value ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.ActivationScopeable)() { + err := m.GetBackingStore().Set("scope", value) + if err != nil { + panic(err) + } +} +type LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetScope()(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.ActivationScopeable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetScope(value ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.ActivationScopeable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/ee42bef9fd32e813c2a6987b25799e30bda18b4928622ef901ffa5ad41133ae3.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/ee42bef9fd32e813c2a6987b25799e30bda18b4928622ef901ffa5ad41133ae3.go new file mode 100644 index 0000000000..a3a5283f71 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/ee42bef9fd32e813c2a6987b25799e30bda18b4928622ef901ffa5ad41133ae3.go @@ -0,0 +1,84 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430 "github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance" +) + +// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. +type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters the related reprocessed workflow run. +type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderInternal instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder) { + m := &LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/runs/{run%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns/{run%2Did1}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the related reprocessed workflow run. +// returns a Runable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration)(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Runable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.CreateRunFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Runable), nil +} +// ToGetRequestInformation the related reprocessed workflow run. +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go index 733a2782d6..bb40e12ed1 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go @@ -21,7 +21,7 @@ type EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetQueryParameters retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. +// EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an accessPackage object. type EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -91,12 +91,12 @@ func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) Del } return nil } -// Get retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. +// Get retrieve the properties and relationships of an accessPackage object. // returns a AccessPackageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackage-list-resourcerolescopes?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -168,7 +168,7 @@ func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. +// ToGetRequestInformation retrieve the properties and relationships of an accessPackage object. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/f2fd846d75b23a919394cd98eb61b92a1c8cf9b4a0347c044eac212e865fa6a5.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/f2fd846d75b23a919394cd98eb61b92a1c8cf9b4a0347c044eac212e865fa6a5.go new file mode 100644 index 0000000000..af6856571e --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/f2fd846d75b23a919394cd98eb61b92a1c8cf9b4a0347c044eac212e865fa6a5.go @@ -0,0 +1,113 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430 "github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance" +) + +// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. +type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters the related reprocessed workflow run. +type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters +} +// ByRunId1 provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) ByRunId1(runId1 string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if runId1 != "" { + urlTplParams["run%2Did1"] = runId1 + } + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderInternal instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) { + m := &LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/runs/{run%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) Count()(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the related reprocessed workflow run. +// returns a RunCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration)(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.RunCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.CreateRunCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.RunCollectionResponseable), nil +} +// ToGetRequestInformation the related reprocessed workflow run. +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/f677578cf23594f46d304650d436f616ae786a7250517dddcc3c29336c85ec8f.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/f677578cf23594f46d304650d436f616ae786a7250517dddcc3c29336c85ec8f.go new file mode 100644 index 0000000000..dc32166642 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/f677578cf23594f46d304650d436f616ae786a7250517dddcc3c29336c85ec8f.go @@ -0,0 +1,84 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430 "github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance" +) + +// LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. +type LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters the related reprocessed workflow run. +type LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderInternal instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder) { + m := &LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns/{run%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the related reprocessed workflow run. +// returns a Runable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration)(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Runable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.CreateRunFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Runable), nil +} +// ToGetRequestInformation the related reprocessed workflow run. +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_execution_scope_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_execution_scope_request_builder.go index 50203f7a30..239078667b 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_execution_scope_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_execution_scope_request_builder.go @@ -14,7 +14,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeRequestBuilderGetQueryParameters the unique identifier of the Microsoft Entra identity that last modified the workflow object. +// LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeRequestBuilderGetQueryParameters the list of users that meet the workflowExecutionConditions of a workflow. type LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -72,7 +72,7 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeRequestBuilder( func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeRequestBuilder) Count()(*LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeCountRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the unique identifier of the Microsoft Entra identity that last modified the workflow object. +// Get the list of users that meet the workflowExecutionConditions of a workflow. // returns a UserProcessingResultCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeRequestBuilderGetRequestConfiguration)(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.UserProcessingResultCollectionResponseable, error) { @@ -92,7 +92,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeRequestBuilder } return res.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.UserProcessingResultCollectionResponseable), nil } -// ToGetRequestInformation the unique identifier of the Microsoft Entra identity that last modified the workflow object. +// ToGetRequestInformation the list of users that meet the workflowExecutionConditions of a workflow. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_reprocessed_runs_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_reprocessed_runs_count_request_builder.go new file mode 100644 index 0000000000..f1bb26e720 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_reprocessed_runs_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder provides operations to count the resources in the collection. +type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderGetQueryParameters get the number of the resource +type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderGetQueryParameters +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderInternal instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder) { + m := &LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/runs/{run%2Did}/reprocessedRuns/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_reprocessed_runs_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_reprocessed_runs_request_builder.go new file mode 100644 index 0000000000..abf76fd608 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_reprocessed_runs_request_builder.go @@ -0,0 +1,113 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430 "github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance" +) + +// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.run entity. +type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetQueryParameters the related reprocessed workflow run. +type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetQueryParameters +} +// ByRunId1 provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.run entity. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder) ByRunId1(runId1 string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if runId1 != "" { + urlTplParams["run%2Did1"] = runId1 + } + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilderInternal instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder) { + m := &LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/runs/{run%2Did}/reprocessedRuns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder) Count()(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the related reprocessed workflow run. +// returns a RunCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetRequestConfiguration)(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.RunCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.CreateRunCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.RunCollectionResponseable), nil +} +// ToGetRequestInformation the related reprocessed workflow run. +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_reprocessed_runs_run_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_reprocessed_runs_run_item_request_builder.go new file mode 100644 index 0000000000..b9823df649 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_reprocessed_runs_run_item_request_builder.go @@ -0,0 +1,84 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430 "github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance" +) + +// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.run entity. +type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters the related reprocessed workflow run. +type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderInternal instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder) { + m := &LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/runs/{run%2Did}/reprocessedRuns/{run%2Did1}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder instantiates a new LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder and sets the default values. +func NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the related reprocessed workflow run. +// returns a Runable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration)(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Runable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.CreateRunFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Runable), nil +} +// ToGetRequestInformation the related reprocessed workflow run. +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_run_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_run_item_request_builder.go index f7dda6635d..270b399aad 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_run_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_run_item_request_builder.go @@ -63,6 +63,11 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilder) G } return res.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Runable), nil } +// ReprocessedRuns provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.run entity. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilder) ReprocessedRuns()(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // TaskProcessingResults provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.run entity. // returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilder when successful func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilder) TaskProcessingResults()(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilder) { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_deleted_items_workflows_workflow_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_deleted_items_workflows_workflow_item_request_builder.go index 8be17b9462..6852ae2975 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_deleted_items_workflows_workflow_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_deleted_items_workflows_workflow_item_request_builder.go @@ -112,6 +112,11 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) Last func (m *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) MicrosoftGraphIdentityGovernanceActivate()(*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// MicrosoftGraphIdentityGovernanceActivateWithScope provides operations to call the activateWithScope method. +// returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder when successful +func (m *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) MicrosoftGraphIdentityGovernanceActivateWithScope()(*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // MicrosoftGraphIdentityGovernanceCreateNewVersion provides operations to call the createNewVersion method. // returns a *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder when successful func (m *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) MicrosoftGraphIdentityGovernanceCreateNewVersion()(*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder) { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_execution_scope_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_execution_scope_request_builder.go index 1a16ac5ec0..3f2db17aa3 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_execution_scope_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_execution_scope_request_builder.go @@ -14,7 +14,7 @@ import ( type LifecycleWorkflowsWorkflowsItemExecutionScopeRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemExecutionScopeRequestBuilderGetQueryParameters the unique identifier of the Microsoft Entra identity that last modified the workflow object. +// LifecycleWorkflowsWorkflowsItemExecutionScopeRequestBuilderGetQueryParameters the list of users that meet the workflowExecutionConditions of a workflow. type LifecycleWorkflowsWorkflowsItemExecutionScopeRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -72,7 +72,7 @@ func NewLifecycleWorkflowsWorkflowsItemExecutionScopeRequestBuilder(rawUrl strin func (m *LifecycleWorkflowsWorkflowsItemExecutionScopeRequestBuilder) Count()(*LifecycleWorkflowsWorkflowsItemExecutionScopeCountRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemExecutionScopeCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the unique identifier of the Microsoft Entra identity that last modified the workflow object. +// Get the list of users that meet the workflowExecutionConditions of a workflow. // returns a UserProcessingResultCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *LifecycleWorkflowsWorkflowsItemExecutionScopeRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemExecutionScopeRequestBuilderGetRequestConfiguration)(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.UserProcessingResultCollectionResponseable, error) { @@ -92,7 +92,7 @@ func (m *LifecycleWorkflowsWorkflowsItemExecutionScopeRequestBuilder) Get(ctx co } return res.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.UserProcessingResultCollectionResponseable), nil } -// ToGetRequestInformation the unique identifier of the Microsoft Entra identity that last modified the workflow object. +// ToGetRequestInformation the list of users that meet the workflowExecutionConditions of a workflow. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsWorkflowsItemExecutionScopeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemExecutionScopeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_execution_scope_user_processing_result_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_execution_scope_user_processing_result_item_request_builder.go index 2d67d743f0..5cb1e20ef8 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_execution_scope_user_processing_result_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_execution_scope_user_processing_result_item_request_builder.go @@ -14,7 +14,7 @@ import ( type LifecycleWorkflowsWorkflowsItemExecutionScopeUserProcessingResultItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemExecutionScopeUserProcessingResultItemRequestBuilderGetQueryParameters the unique identifier of the Microsoft Entra identity that last modified the workflow object. +// LifecycleWorkflowsWorkflowsItemExecutionScopeUserProcessingResultItemRequestBuilderGetQueryParameters the list of users that meet the workflowExecutionConditions of a workflow. type LifecycleWorkflowsWorkflowsItemExecutionScopeUserProcessingResultItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -43,7 +43,7 @@ func NewLifecycleWorkflowsWorkflowsItemExecutionScopeUserProcessingResultItemReq urlParams["request-raw-url"] = rawUrl return NewLifecycleWorkflowsWorkflowsItemExecutionScopeUserProcessingResultItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get the unique identifier of the Microsoft Entra identity that last modified the workflow object. +// Get the list of users that meet the workflowExecutionConditions of a workflow. // returns a UserProcessingResultable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *LifecycleWorkflowsWorkflowsItemExecutionScopeUserProcessingResultItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemExecutionScopeUserProcessingResultItemRequestBuilderGetRequestConfiguration)(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.UserProcessingResultable, error) { @@ -63,7 +63,7 @@ func (m *LifecycleWorkflowsWorkflowsItemExecutionScopeUserProcessingResultItemRe } return res.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.UserProcessingResultable), nil } -// ToGetRequestInformation the unique identifier of the Microsoft Entra identity that last modified the workflow object. +// ToGetRequestInformation the list of users that meet the workflowExecutionConditions of a workflow. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsWorkflowsItemExecutionScopeUserProcessingResultItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemExecutionScopeUserProcessingResultItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_runs_item_reprocessed_runs_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_runs_item_reprocessed_runs_count_request_builder.go new file mode 100644 index 0000000000..5a4310eba8 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_runs_item_reprocessed_runs_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder provides operations to count the resources in the collection. +type LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderGetQueryParameters get the number of the resource +type LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderGetQueryParameters +} +// NewLifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderInternal instantiates a new LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder) { + m := &LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/runs/{run%2Did}/reprocessedRuns/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewLifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder instantiates a new LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_runs_item_reprocessed_runs_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_runs_item_reprocessed_runs_request_builder.go new file mode 100644 index 0000000000..89c881ac15 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_runs_item_reprocessed_runs_request_builder.go @@ -0,0 +1,113 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430 "github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance" +) + +// LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.run entity. +type LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetQueryParameters the related reprocessed workflow run. +type LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetQueryParameters +} +// ByRunId1 provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.run entity. +// returns a *LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder) ByRunId1(runId1 string)(*LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if runId1 != "" { + urlTplParams["run%2Did1"] = runId1 + } + return NewLifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewLifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilderInternal instantiates a new LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder) { + m := &LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/runs/{run%2Did}/reprocessedRuns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewLifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder instantiates a new LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder) Count()(*LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the related reprocessed workflow run. +// returns a RunCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetRequestConfiguration)(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.RunCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.CreateRunCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.RunCollectionResponseable), nil +} +// ToGetRequestInformation the related reprocessed workflow run. +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_runs_item_reprocessed_runs_run_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_runs_item_reprocessed_runs_run_item_request_builder.go new file mode 100644 index 0000000000..cc4e257b81 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_runs_item_reprocessed_runs_run_item_request_builder.go @@ -0,0 +1,84 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430 "github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance" +) + +// LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.run entity. +type LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters the related reprocessed workflow run. +type LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters +} +// NewLifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderInternal instantiates a new LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder) { + m := &LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/runs/{run%2Did}/reprocessedRuns/{run%2Did1}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewLifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder instantiates a new LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the related reprocessed workflow run. +// returns a Runable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration)(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Runable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.CreateRunFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Runable), nil +} +// ToGetRequestInformation the related reprocessed workflow run. +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_subject_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_subject_request_builder.go index c30c7312a2..3942135178 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_subject_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_subject_request_builder.go @@ -14,7 +14,7 @@ import ( type LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilderGetQueryParameters the unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. +// LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilderGetQueryParameters the unique identifier of the user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. type LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -43,7 +43,7 @@ func NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectR urlParams["request-raw-url"] = rawUrl return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilderInternal(urlParams, requestAdapter) } -// Get the unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. +// Get the unique identifier of the user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. // returns a Userable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { @@ -73,7 +73,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubject func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilder) ServiceProvisioningErrors()(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation the unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. +// ToGetRequestInformation the unique identifier of the user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_runs_run_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_runs_run_item_request_builder.go index 3c80b36771..9dd33a32ce 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_runs_run_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_runs_run_item_request_builder.go @@ -66,6 +66,11 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilder) Get(ctx conte } return res.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Runable), nil } +// ReprocessedRuns provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.run entity. +// returns a *LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilder) ReprocessedRuns()(*LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // TaskProcessingResults provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.run entity. // returns a *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilder when successful func (m *LifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilder) TaskProcessingResults()(*LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilder) { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_reprocessed_runs_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_reprocessed_runs_request_builder.go new file mode 100644 index 0000000000..1aba41b762 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_reprocessed_runs_request_builder.go @@ -0,0 +1,113 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430 "github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance" +) + +// LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. +type LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters the related reprocessed workflow run. +type LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters +} +// ByRunId provides operations to manage the reprocessedRuns property of the microsoft.graph.identityGovernance.userProcessingResult entity. +// returns a *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) ByRunId(runId string)(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if runId != "" { + urlTplParams["run%2Did"] = runId + } + return NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderInternal instantiates a new LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) { + m := &LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/userProcessingResults/{userProcessingResult%2Did}/reprocessedRuns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder instantiates a new LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder and sets the default values. +func NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) Count()(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the related reprocessed workflow run. +// returns a RunCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration)(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.RunCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.CreateRunCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.RunCollectionResponseable), nil +} +// ToGetRequestInformation the related reprocessed workflow run. +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_subject_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_subject_request_builder.go index 6731026619..ca69e59c06 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_subject_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_subject_request_builder.go @@ -14,7 +14,7 @@ import ( type LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilderGetQueryParameters the unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. +// LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilderGetQueryParameters the unique identifier of the user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. type LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -43,7 +43,7 @@ func NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectRequestBu urlParams["request-raw-url"] = rawUrl return NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilderInternal(urlParams, requestAdapter) } -// Get the unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. +// Get the unique identifier of the user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. // returns a Userable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { @@ -73,7 +73,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectRequestB func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilder) ServiceProvisioningErrors()(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation the unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. +// ToGetRequestInformation the unique identifier of the user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_workflow_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_workflow_item_request_builder.go index 15714cab1e..ecdfc2baab 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_workflow_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/lifecycle_workflows_workflows_workflow_item_request_builder.go @@ -119,6 +119,11 @@ func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) LastModifiedBy() func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) MicrosoftGraphIdentityGovernanceActivate()(*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// MicrosoftGraphIdentityGovernanceActivateWithScope provides operations to call the activateWithScope method. +// returns a *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder when successful +func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) MicrosoftGraphIdentityGovernanceActivateWithScope()(*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // MicrosoftGraphIdentityGovernanceCreateNewVersion provides operations to call the createNewVersion method. // returns a *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder when successful func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) MicrosoftGraphIdentityGovernanceCreateNewVersion()(*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder) { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go index b02c5cd1be..7d213c0333 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go @@ -21,7 +21,7 @@ type TermsOfUseAgreementsAgreementItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TermsOfUseAgreementsAgreementItemRequestBuilderGetQueryParameters retrieve all files related to an agreement. This includes the default file and all localized files. +// TermsOfUseAgreementsAgreementItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an agreement object. type TermsOfUseAgreementsAgreementItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -91,12 +91,12 @@ func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) File()(*TermsOfUseAgre func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) Files()(*TermsOfUseAgreementsItemFilesRequestBuilder) { return NewTermsOfUseAgreementsItemFilesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve all files related to an agreement. This includes the default file and all localized files. +// Get retrieve the properties and relationships of an agreement object. // returns a Agreementable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/agreement-list-files?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/agreement-get?view=graph-rest-1.0 func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TermsOfUseAgreementsAgreementItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Agreementable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -148,7 +148,7 @@ func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve all files related to an agreement. This includes the default file and all localized files. +// ToGetRequestInformation retrieve the properties and relationships of an agreement object. // returns a *RequestInformation when successful func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TermsOfUseAgreementsAgreementItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/kiota-dom-export.txt b/vendor/github.com/microsoftgraph/msgraph-sdk-go/kiota-dom-export.txt index 55e467678f..e33dcbdf76 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/kiota-dom-export.txt +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/kiota-dom-export.txt @@ -18,6 +18,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.admin.adminRequestBuilder::|public|rep github.com/microsoftgraph/msgraph-sdk-go/.admin.adminRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.admin.adminRequestBuilder::|public|serviceAnnouncement():*ServiceAnnouncementRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.admin.adminRequestBuilder::|public|sharepoint():*SharepointRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.adminRequestBuilder::|public|teams():*TeamsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.admin.adminRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*AdminRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.admin.adminRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Adminable; ctx:context.Context; requestConfiguration?:*AdminRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.admin.adminRequestBuilder::|public|urlTemplate:string @@ -1218,6 +1219,339 @@ github.com/microsoftgraph/msgraph-sdk-go/.admin.SharepointSettingsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.admin.SharepointSettingsRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharepointSettingsable; ctx:context.Context; requestConfiguration?:*SharepointSettingsRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.admin.SharepointSettingsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.admin.SharepointSettingsRequestBuilder::|public|WithUrl(rawUrl:string):*SharepointSettingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponse::|public|GetValue():[]i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.PolicyIdentifierDetailable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponse::|public|SetValue(value:[]i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.PolicyIdentifierDetailable):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponseable::|public|GetValue():[]i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.PolicyIdentifierDetailable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponseable::|public|SetValue(value:[]i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.PolicyIdentifierDetailable):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameResponse-->*TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponse +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameResponseable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponseable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetRequestConfiguration::|public|queryParameters:*TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter; name?:*string; typeEscaped?:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetRequestConfiguration):TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameResponseable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder::|public|GetAsGetPolicyIdWithTypeWithNameGetResponse(ctx:context.Context; requestConfiguration?:*TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetRequestConfiguration):TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameGetPolicyIdWithTypeWithNameGetResponseable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder::|public|WithUrl(rawUrl:string):*TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyRequestBuilder.TeamsPolicyRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyRequestBuilder.TeamsPolicyRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyRequestBuilder.TeamsPolicyRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyRequestBuilder.TeamsPolicyRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyRequestBuilder.TeamsPolicyRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyRequestBuilder.TeamsPolicyRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyRequestBuilder.TeamsPolicyRequestBuilderGetRequestConfiguration::|public|queryParameters:*TeamsPolicyRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyRequestBuilder.TeamsPolicyRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyRequestBuilder.TeamsPolicyRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*TeamsPolicyRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TeamsPolicyRequestBuilderGetRequestConfiguration):i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyRequestBuilder::|public|microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName(name:*string; typeEscaped:*string):*TeamsPolicyMicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyRequestBuilder::|public|Patch(body:i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyAssignmentable; ctx:context.Context; requestConfiguration?:*TeamsPolicyRequestBuilderPatchRequestConfiguration):i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*TeamsPolicyRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamsPolicyRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyRequestBuilder::|public|ToPatchRequestInformation(body:i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyAssignmentable; ctx:context.Context; requestConfiguration?:*TeamsPolicyRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyRequestBuilder::|public|userAssignments():*TeamsPolicyUserAssignmentsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyRequestBuilder::|public|WithUrl(rawUrl:string):*TeamsPolicyRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsCountRequestBuilder.TeamsPolicyUserAssignmentsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsCountRequestBuilder.TeamsPolicyUserAssignmentsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsCountRequestBuilder.TeamsPolicyUserAssignmentsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsCountRequestBuilder.TeamsPolicyUserAssignmentsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsCountRequestBuilder.TeamsPolicyUserAssignmentsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*TeamsPolicyUserAssignmentsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TeamsPolicyUserAssignmentsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamsPolicyUserAssignmentsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsCountRequestBuilder::|public|WithUrl(rawUrl:string):*TeamsPolicyUserAssignmentsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBody::|public|GetValue():[]i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBody::|public|SetValue(value:[]i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBodyable::|public|GetValue():[]i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBodyable::|public|SetValue(value:[]i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBody~~>TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilder.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilder.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilder::|public|Post(body:TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBodyable; ctx:context.Context; requestConfiguration?:*TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilder::|public|ToPostRequestInformation(body:TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignAssignPostRequestBodyable; ctx:context.Context; requestConfiguration?:*TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilder::|public|WithUrl(rawUrl:string):*TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilder.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilder.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilder::|public|Post(body:TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBodyable; ctx:context.Context; requestConfiguration?:*TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilder::|public|ToPostRequestInformation(body:TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBodyable; ctx:context.Context; requestConfiguration?:*TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilder::|public|WithUrl(rawUrl:string):*TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBody::|public|GetValue():[]i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBody::|public|SetValue(value:[]i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBodyable::|public|GetValue():[]i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBodyable::|public|SetValue(value:[]i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBody~~>TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignUnassignPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsRequestBuilder.TeamsPolicyUserAssignmentsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsRequestBuilder.TeamsPolicyUserAssignmentsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsRequestBuilder.TeamsPolicyUserAssignmentsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsRequestBuilder.TeamsPolicyUserAssignmentsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsRequestBuilder.TeamsPolicyUserAssignmentsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsRequestBuilder.TeamsPolicyUserAssignmentsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsRequestBuilder.TeamsPolicyUserAssignmentsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsRequestBuilder.TeamsPolicyUserAssignmentsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsRequestBuilder.TeamsPolicyUserAssignmentsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsRequestBuilder.TeamsPolicyUserAssignmentsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsRequestBuilder.TeamsPolicyUserAssignmentsRequestBuilderGetRequestConfiguration::|public|queryParameters:*TeamsPolicyUserAssignmentsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsRequestBuilder.TeamsPolicyUserAssignmentsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsRequestBuilder.TeamsPolicyUserAssignmentsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsRequestBuilder::|public|ByTeamsPolicyUserAssignmentId(teamsPolicyUserAssignmentId:string):*TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsRequestBuilder::|public|Count():*TeamsPolicyUserAssignmentsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TeamsPolicyUserAssignmentsRequestBuilderGetRequestConfiguration):i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsRequestBuilder::|public|microsoftGraphTeamsAdministrationAssign():*TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationAssignRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsRequestBuilder::|public|microsoftGraphTeamsAdministrationUnassign():*TeamsPolicyUserAssignmentsMicrosoftGraphTeamsAdministrationUnassignRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsRequestBuilder::|public|Post(body:i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable; ctx:context.Context; requestConfiguration?:*TeamsPolicyUserAssignmentsRequestBuilderPostRequestConfiguration):i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamsPolicyUserAssignmentsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsRequestBuilder::|public|ToPostRequestInformation(body:i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable; ctx:context.Context; requestConfiguration?:*TeamsPolicyUserAssignmentsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsRequestBuilder::|public|WithUrl(rawUrl:string):*TeamsPolicyUserAssignmentsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderGetRequestConfiguration):i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder::|public|Patch(body:i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable; ctx:context.Context; requestConfiguration?:*TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderPatchRequestConfiguration):i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder::|public|ToPatchRequestInformation(body:i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsPolicyUserAssignmentable; ctx:context.Context; requestConfiguration?:*TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder::|public|WithUrl(rawUrl:string):*TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder.TeamsRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder.TeamsRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder.TeamsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder.TeamsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder.TeamsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder.TeamsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder.TeamsRequestBuilderGetRequestConfiguration::|public|queryParameters:*TeamsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder.TeamsRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder.TeamsRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*TeamsRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TeamsRequestBuilderGetRequestConfiguration):i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsAdminRootable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder::|public|Patch(body:i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsAdminRootable; ctx:context.Context; requestConfiguration?:*TeamsRequestBuilderPatchRequestConfiguration):i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsAdminRootable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder::|public|policy():*TeamsPolicyRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*TeamsRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder::|public|ToPatchRequestInformation(body:i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsAdminRootable; ctx:context.Context; requestConfiguration?:*TeamsRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder::|public|userConfigurations():*TeamsUserConfigurationsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder::|public|WithUrl(rawUrl:string):*TeamsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsCountRequestBuilder.TeamsUserConfigurationsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsCountRequestBuilder.TeamsUserConfigurationsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsCountRequestBuilder.TeamsUserConfigurationsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsCountRequestBuilder.TeamsUserConfigurationsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsCountRequestBuilder.TeamsUserConfigurationsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*TeamsUserConfigurationsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TeamsUserConfigurationsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamsUserConfigurationsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsCountRequestBuilder::|public|WithUrl(rawUrl:string):*TeamsUserConfigurationsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder.TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder.TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder.TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder.TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder.TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|queryParameters:*TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder.TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder.TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable; ctx:context.Context; requestConfiguration?:*TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable; ctx:context.Context; requestConfiguration?:*TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):*TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserRequestBuilder.TeamsUserConfigurationsItemUserRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserRequestBuilder.TeamsUserConfigurationsItemUserRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserRequestBuilder.TeamsUserConfigurationsItemUserRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserRequestBuilder.TeamsUserConfigurationsItemUserRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserRequestBuilder.TeamsUserConfigurationsItemUserRequestBuilderGetRequestConfiguration::|public|queryParameters:*TeamsUserConfigurationsItemUserRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TeamsUserConfigurationsItemUserRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserRequestBuilder::|public|mailboxSettings():*TeamsUserConfigurationsItemUserMailboxSettingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserRequestBuilder::|public|serviceProvisioningErrors():*TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamsUserConfigurationsItemUserRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserRequestBuilder::|public|WithUrl(rawUrl:string):*TeamsUserConfigurationsItemUserRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder.TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder.TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder.TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder.TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder.TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder::|public|WithUrl(rawUrl:string):*TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|queryParameters:*TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder::|public|Count():*TeamsUserConfigurationsItemUserServiceProvisioningErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):*TeamsUserConfigurationsItemUserServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsRequestBuilder.TeamsUserConfigurationsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsRequestBuilder.TeamsUserConfigurationsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsRequestBuilder.TeamsUserConfigurationsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsRequestBuilder.TeamsUserConfigurationsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsRequestBuilder.TeamsUserConfigurationsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsRequestBuilder.TeamsUserConfigurationsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsRequestBuilder.TeamsUserConfigurationsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsRequestBuilder.TeamsUserConfigurationsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsRequestBuilder.TeamsUserConfigurationsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsRequestBuilder.TeamsUserConfigurationsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsRequestBuilder.TeamsUserConfigurationsRequestBuilderGetRequestConfiguration::|public|queryParameters:*TeamsUserConfigurationsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsRequestBuilder.TeamsUserConfigurationsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsRequestBuilder.TeamsUserConfigurationsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsRequestBuilder::|public|ByTeamsUserConfigurationId(teamsUserConfigurationId:string):*TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsRequestBuilder::|public|Count():*TeamsUserConfigurationsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TeamsUserConfigurationsRequestBuilderGetRequestConfiguration):i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsUserConfigurationCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsRequestBuilder::|public|Post(body:i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsUserConfigurationable; ctx:context.Context; requestConfiguration?:*TeamsUserConfigurationsRequestBuilderPostRequestConfiguration):i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsUserConfigurationable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamsUserConfigurationsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsRequestBuilder::|public|ToPostRequestInformation(body:i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsUserConfigurationable; ctx:context.Context; requestConfiguration?:*TeamsUserConfigurationsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsRequestBuilder::|public|WithUrl(rawUrl:string):*TeamsUserConfigurationsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderGetRequestConfiguration):i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsUserConfigurationable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder::|public|Patch(body:i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsUserConfigurationable; ctx:context.Context; requestConfiguration?:*TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration):i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsUserConfigurationable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder::|public|ToPatchRequestInformation(body:i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsUserConfigurationable; ctx:context.Context; requestConfiguration?:*TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder::|public|user():*TeamsUserConfigurationsItemUserRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder::|public|WithUrl(rawUrl:string):*TeamsUserConfigurationsTeamsUserConfigurationItemRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.agreementacceptances.AgreementAcceptanceItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.agreementacceptances.AgreementAcceptanceItemRequestBuilder.AgreementAcceptanceItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.agreementacceptances.AgreementAcceptanceItemRequestBuilder.AgreementAcceptanceItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption @@ -4669,6 +5003,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.chats.ChatItemRequestBuilder::|public| github.com/microsoftgraph/msgraph-sdk-go/.chats.ChatItemRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.chats.ChatItemRequestBuilder::|public|permissionGrants():*ItemPermissionGrantsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.chats.ChatItemRequestBuilder::|public|pinnedMessages():*ItemPinnedMessagesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ChatItemRequestBuilder::|public|removeAllAccessForUser():*ItemRemoveAllAccessForUserRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.chats.ChatItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.chats.ChatItemRequestBuilder::|public|sendActivityNotification():*ItemSendActivityNotificationRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.chats.ChatItemRequestBuilder::|public|tabs():*ItemTabsRequestBuilder @@ -5828,6 +6163,33 @@ github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemPinnedMessagesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemPinnedMessagesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PinnedChatMessageInfoable; ctx:context.Context; requestConfiguration?:*ItemPinnedMessagesRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemPinnedMessagesRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemPinnedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):*ItemPinnedMessagesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBody::|public|GetUser():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBody::|public|SetUser(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBodyable::|public|GetUser():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBodyable::|public|SetUser(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBody~~>ItemRemoveAllAccessForUserPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserRequestBuilder.ItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserRequestBuilder.ItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserRequestBuilder::|public|Post(body:ItemRemoveAllAccessForUserPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserRequestBuilder::|public|ToPostRequestInformation(body:ItemRemoveAllAccessForUserPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserRequestBuilder::|public|WithUrl(rawUrl:string):*ItemRemoveAllAccessForUserRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBody::|public|GetActivityType():*string github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBody::|public|GetAdditionalData():map[string]any @@ -5987,6 +6349,326 @@ github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemUnhideForUserRequestBuilder: github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemUnhideForUserRequestBuilder::|public|ToPostRequestInformation(body:ItemUnhideForUserPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemUnhideForUserRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemUnhideForUserRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemUnhideForUserRequestBuilder::|public|WithUrl(rawUrl:string):*ItemUnhideForUserRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsAdhocCallItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsAdhocCallItemRequestBuilder.AdhocCallsAdhocCallItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsAdhocCallItemRequestBuilder.AdhocCallsAdhocCallItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsAdhocCallItemRequestBuilder.AdhocCallsAdhocCallItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsAdhocCallItemRequestBuilder.AdhocCallsAdhocCallItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsAdhocCallItemRequestBuilder.AdhocCallsAdhocCallItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsAdhocCallItemRequestBuilder.AdhocCallsAdhocCallItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsAdhocCallItemRequestBuilder.AdhocCallsAdhocCallItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*AdhocCallsAdhocCallItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsAdhocCallItemRequestBuilder.AdhocCallsAdhocCallItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsAdhocCallItemRequestBuilder.AdhocCallsAdhocCallItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsAdhocCallItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsAdhocCallItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsAdhocCallItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*AdhocCallsAdhocCallItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsAdhocCallItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*AdhocCallsAdhocCallItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsAdhocCallItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable; ctx:context.Context; requestConfiguration?:*AdhocCallsAdhocCallItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsAdhocCallItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsAdhocCallItemRequestBuilder::|public|recordings():*AdhocCallsItemRecordingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsAdhocCallItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsAdhocCallItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*AdhocCallsAdhocCallItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsAdhocCallItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*AdhocCallsAdhocCallItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsAdhocCallItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable; ctx:context.Context; requestConfiguration?:*AdhocCallsAdhocCallItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsAdhocCallItemRequestBuilder::|public|transcripts():*AdhocCallsItemTranscriptsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsAdhocCallItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsAdhocCallItemRequestBuilder::|public|WithUrl(rawUrl:string):*AdhocCallsAdhocCallItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsCountRequestBuilder.AdhocCallsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsCountRequestBuilder.AdhocCallsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsCountRequestBuilder.AdhocCallsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsCountRequestBuilder.AdhocCallsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsCountRequestBuilder.AdhocCallsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*AdhocCallsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*AdhocCallsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*AdhocCallsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsCountRequestBuilder::|public|WithUrl(rawUrl:string):*AdhocCallsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCallRecordingItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCallRecordingItemRequestBuilder.AdhocCallsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCallRecordingItemRequestBuilder.AdhocCallsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCallRecordingItemRequestBuilder.AdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCallRecordingItemRequestBuilder.AdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCallRecordingItemRequestBuilder.AdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCallRecordingItemRequestBuilder.AdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCallRecordingItemRequestBuilder.AdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*AdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCallRecordingItemRequestBuilder.AdhocCallsItemRecordingsCallRecordingItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCallRecordingItemRequestBuilder.AdhocCallsItemRecordingsCallRecordingItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCallRecordingItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCallRecordingItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCallRecordingItemRequestBuilder::|public|content():*AdhocCallsItemRecordingsItemContentRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCallRecordingItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*AdhocCallsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCallRecordingItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*AdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCallRecordingItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable; ctx:context.Context; requestConfiguration?:*AdhocCallsItemRecordingsCallRecordingItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCallRecordingItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCallRecordingItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCallRecordingItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*AdhocCallsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCallRecordingItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*AdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCallRecordingItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable; ctx:context.Context; requestConfiguration?:*AdhocCallsItemRecordingsCallRecordingItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCallRecordingItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCallRecordingItemRequestBuilder::|public|WithUrl(rawUrl:string):*AdhocCallsItemRecordingsCallRecordingItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCountRequestBuilder.AdhocCallsItemRecordingsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCountRequestBuilder.AdhocCallsItemRecordingsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCountRequestBuilder.AdhocCallsItemRecordingsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCountRequestBuilder.AdhocCallsItemRecordingsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCountRequestBuilder.AdhocCallsItemRecordingsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*AdhocCallsItemRecordingsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*AdhocCallsItemRecordingsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*AdhocCallsItemRecordingsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsCountRequestBuilder::|public|WithUrl(rawUrl:string):*AdhocCallsItemRecordingsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaGetResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseDeltaFunctionResponse +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaGetResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaGetResponse::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaGetResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaGetResponse::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaGetResponseable::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaGetResponseable::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaGetResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseDeltaFunctionResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaRequestBuilder.AdhocCallsItemRecordingsDeltaRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaRequestBuilder.AdhocCallsItemRecordingsDeltaRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaRequestBuilder.AdhocCallsItemRecordingsDeltaRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaRequestBuilder.AdhocCallsItemRecordingsDeltaRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaRequestBuilder.AdhocCallsItemRecordingsDeltaRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaRequestBuilder.AdhocCallsItemRecordingsDeltaRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaRequestBuilder.AdhocCallsItemRecordingsDeltaRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaRequestBuilder.AdhocCallsItemRecordingsDeltaRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaRequestBuilder.AdhocCallsItemRecordingsDeltaRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaRequestBuilder.AdhocCallsItemRecordingsDeltaRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaRequestBuilder.AdhocCallsItemRecordingsDeltaRequestBuilderGetRequestConfiguration::|public|queryParameters:*AdhocCallsItemRecordingsDeltaRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*AdhocCallsItemRecordingsDeltaRequestBuilderGetRequestConfiguration):AdhocCallsItemRecordingsDeltaResponseable +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaRequestBuilder::|public|GetAsDeltaGetResponse(ctx:context.Context; requestConfiguration?:*AdhocCallsItemRecordingsDeltaRequestBuilderGetRequestConfiguration):AdhocCallsItemRecordingsDeltaGetResponseable +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*AdhocCallsItemRecordingsDeltaRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaRequestBuilder::|public|WithUrl(rawUrl:string):*AdhocCallsItemRecordingsDeltaRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaResponse-->*AdhocCallsItemRecordingsDeltaGetResponse +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsDeltaResponseable~~>AdhocCallsItemRecordingsDeltaGetResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsItemContentRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsItemContentRequestBuilder.AdhocCallsItemRecordingsItemContentRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsItemContentRequestBuilder.AdhocCallsItemRecordingsItemContentRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsItemContentRequestBuilder.AdhocCallsItemRecordingsItemContentRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsItemContentRequestBuilder.AdhocCallsItemRecordingsItemContentRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsItemContentRequestBuilder.AdhocCallsItemRecordingsItemContentRequestBuilderPutRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsItemContentRequestBuilder.AdhocCallsItemRecordingsItemContentRequestBuilderPutRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsItemContentRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsItemContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsItemContentRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*AdhocCallsItemRecordingsItemContentRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsItemContentRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*AdhocCallsItemRecordingsItemContentRequestBuilderGetRequestConfiguration):[]byte +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsItemContentRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsItemContentRequestBuilder::|public|Put(body:[]byte; ctx:context.Context; requestConfiguration?:*AdhocCallsItemRecordingsItemContentRequestBuilderPutRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsItemContentRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsItemContentRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*AdhocCallsItemRecordingsItemContentRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsItemContentRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*AdhocCallsItemRecordingsItemContentRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsItemContentRequestBuilder::|public|ToPutRequestInformation(body:[]byte; ctx:context.Context; requestConfiguration?:*AdhocCallsItemRecordingsItemContentRequestBuilderPutRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsItemContentRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsItemContentRequestBuilder::|public|WithUrl(rawUrl:string):*AdhocCallsItemRecordingsItemContentRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsRequestBuilder.AdhocCallsItemRecordingsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsRequestBuilder.AdhocCallsItemRecordingsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsRequestBuilder.AdhocCallsItemRecordingsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsRequestBuilder.AdhocCallsItemRecordingsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsRequestBuilder.AdhocCallsItemRecordingsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsRequestBuilder.AdhocCallsItemRecordingsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsRequestBuilder.AdhocCallsItemRecordingsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsRequestBuilder.AdhocCallsItemRecordingsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsRequestBuilder.AdhocCallsItemRecordingsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsRequestBuilder.AdhocCallsItemRecordingsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsRequestBuilder.AdhocCallsItemRecordingsRequestBuilderGetRequestConfiguration::|public|queryParameters:*AdhocCallsItemRecordingsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsRequestBuilder.AdhocCallsItemRecordingsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsRequestBuilder.AdhocCallsItemRecordingsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsRequestBuilder::|public|ByCallRecordingId(callRecordingId:string):*AdhocCallsItemRecordingsCallRecordingItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsRequestBuilder::|public|Count():*AdhocCallsItemRecordingsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsRequestBuilder::|public|delta():*AdhocCallsItemRecordingsDeltaRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*AdhocCallsItemRecordingsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable; ctx:context.Context; requestConfiguration?:*AdhocCallsItemRecordingsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*AdhocCallsItemRecordingsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable; ctx:context.Context; requestConfiguration?:*AdhocCallsItemRecordingsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemRecordingsRequestBuilder::|public|WithUrl(rawUrl:string):*AdhocCallsItemRecordingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder::|public|content():*AdhocCallsItemTranscriptsItemContentRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder::|public|metadataContent():*AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable; ctx:context.Context; requestConfiguration?:*AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable; ctx:context.Context; requestConfiguration?:*AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder::|public|WithUrl(rawUrl:string):*AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCountRequestBuilder.AdhocCallsItemTranscriptsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCountRequestBuilder.AdhocCallsItemTranscriptsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCountRequestBuilder.AdhocCallsItemTranscriptsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCountRequestBuilder.AdhocCallsItemTranscriptsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCountRequestBuilder.AdhocCallsItemTranscriptsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*AdhocCallsItemTranscriptsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*AdhocCallsItemTranscriptsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*AdhocCallsItemTranscriptsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsCountRequestBuilder::|public|WithUrl(rawUrl:string):*AdhocCallsItemTranscriptsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaGetResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseDeltaFunctionResponse +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaGetResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaGetResponse::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaGetResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaGetResponse::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaGetResponseable::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaGetResponseable::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaGetResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseDeltaFunctionResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaRequestBuilder.AdhocCallsItemTranscriptsDeltaRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaRequestBuilder.AdhocCallsItemTranscriptsDeltaRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaRequestBuilder.AdhocCallsItemTranscriptsDeltaRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaRequestBuilder.AdhocCallsItemTranscriptsDeltaRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaRequestBuilder.AdhocCallsItemTranscriptsDeltaRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaRequestBuilder.AdhocCallsItemTranscriptsDeltaRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaRequestBuilder.AdhocCallsItemTranscriptsDeltaRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaRequestBuilder.AdhocCallsItemTranscriptsDeltaRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaRequestBuilder.AdhocCallsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaRequestBuilder.AdhocCallsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaRequestBuilder.AdhocCallsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration::|public|queryParameters:*AdhocCallsItemTranscriptsDeltaRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*AdhocCallsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration):AdhocCallsItemTranscriptsDeltaResponseable +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaRequestBuilder::|public|GetAsDeltaGetResponse(ctx:context.Context; requestConfiguration?:*AdhocCallsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration):AdhocCallsItemTranscriptsDeltaGetResponseable +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*AdhocCallsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaRequestBuilder::|public|WithUrl(rawUrl:string):*AdhocCallsItemTranscriptsDeltaRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaResponse-->*AdhocCallsItemTranscriptsDeltaGetResponse +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsDeltaResponseable~~>AdhocCallsItemTranscriptsDeltaGetResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemContentRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemContentRequestBuilder.AdhocCallsItemTranscriptsItemContentRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemContentRequestBuilder.AdhocCallsItemTranscriptsItemContentRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemContentRequestBuilder.AdhocCallsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemContentRequestBuilder.AdhocCallsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemContentRequestBuilder.AdhocCallsItemTranscriptsItemContentRequestBuilderPutRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemContentRequestBuilder.AdhocCallsItemTranscriptsItemContentRequestBuilderPutRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemContentRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemContentRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*AdhocCallsItemTranscriptsItemContentRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemContentRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*AdhocCallsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration):[]byte +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemContentRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemContentRequestBuilder::|public|Put(body:[]byte; ctx:context.Context; requestConfiguration?:*AdhocCallsItemTranscriptsItemContentRequestBuilderPutRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemContentRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemContentRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*AdhocCallsItemTranscriptsItemContentRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemContentRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*AdhocCallsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemContentRequestBuilder::|public|ToPutRequestInformation(body:[]byte; ctx:context.Context; requestConfiguration?:*AdhocCallsItemTranscriptsItemContentRequestBuilderPutRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemContentRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemContentRequestBuilder::|public|WithUrl(rawUrl:string):*AdhocCallsItemTranscriptsItemContentRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder.AdhocCallsItemTranscriptsItemMetadataContentRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder.AdhocCallsItemTranscriptsItemMetadataContentRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder.AdhocCallsItemTranscriptsItemMetadataContentRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder.AdhocCallsItemTranscriptsItemMetadataContentRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder.AdhocCallsItemTranscriptsItemMetadataContentRequestBuilderPutRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder.AdhocCallsItemTranscriptsItemMetadataContentRequestBuilderPutRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*AdhocCallsItemTranscriptsItemMetadataContentRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*AdhocCallsItemTranscriptsItemMetadataContentRequestBuilderGetRequestConfiguration):[]byte +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder::|public|Put(body:[]byte; ctx:context.Context; requestConfiguration?:*AdhocCallsItemTranscriptsItemMetadataContentRequestBuilderPutRequestConfiguration):[]byte +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*AdhocCallsItemTranscriptsItemMetadataContentRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*AdhocCallsItemTranscriptsItemMetadataContentRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder::|public|ToPutRequestInformation(body:[]byte; ctx:context.Context; requestConfiguration?:*AdhocCallsItemTranscriptsItemMetadataContentRequestBuilderPutRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder::|public|WithUrl(rawUrl:string):*AdhocCallsItemTranscriptsItemMetadataContentRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsRequestBuilder.AdhocCallsItemTranscriptsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsRequestBuilder.AdhocCallsItemTranscriptsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsRequestBuilder.AdhocCallsItemTranscriptsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsRequestBuilder.AdhocCallsItemTranscriptsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsRequestBuilder.AdhocCallsItemTranscriptsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsRequestBuilder.AdhocCallsItemTranscriptsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsRequestBuilder.AdhocCallsItemTranscriptsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsRequestBuilder.AdhocCallsItemTranscriptsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsRequestBuilder.AdhocCallsItemTranscriptsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsRequestBuilder.AdhocCallsItemTranscriptsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsRequestBuilder.AdhocCallsItemTranscriptsRequestBuilderGetRequestConfiguration::|public|queryParameters:*AdhocCallsItemTranscriptsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsRequestBuilder.AdhocCallsItemTranscriptsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsRequestBuilder.AdhocCallsItemTranscriptsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsRequestBuilder::|public|ByCallTranscriptId(callTranscriptId:string):*AdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsRequestBuilder::|public|Count():*AdhocCallsItemTranscriptsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsRequestBuilder::|public|delta():*AdhocCallsItemTranscriptsDeltaRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*AdhocCallsItemTranscriptsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable; ctx:context.Context; requestConfiguration?:*AdhocCallsItemTranscriptsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*AdhocCallsItemTranscriptsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable; ctx:context.Context; requestConfiguration?:*AdhocCallsItemTranscriptsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsItemTranscriptsRequestBuilder::|public|WithUrl(rawUrl:string):*AdhocCallsItemTranscriptsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsRequestBuilder.AdhocCallsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsRequestBuilder.AdhocCallsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsRequestBuilder.AdhocCallsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsRequestBuilder.AdhocCallsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsRequestBuilder.AdhocCallsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsRequestBuilder.AdhocCallsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsRequestBuilder.AdhocCallsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsRequestBuilder.AdhocCallsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsRequestBuilder.AdhocCallsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsRequestBuilder.AdhocCallsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsRequestBuilder.AdhocCallsRequestBuilderGetRequestConfiguration::|public|queryParameters:*AdhocCallsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsRequestBuilder.AdhocCallsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsRequestBuilder.AdhocCallsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsRequestBuilder::|public|ByAdhocCallId(adhocCallId:string):*AdhocCallsAdhocCallItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsRequestBuilder::|public|Count():*AdhocCallsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*AdhocCallsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable; ctx:context.Context; requestConfiguration?:*AdhocCallsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*AdhocCallsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable; ctx:context.Context; requestConfiguration?:*AdhocCallsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.AdhocCallsRequestBuilder::|public|WithUrl(rawUrl:string):*AdhocCallsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.communications.CallRecordsCallRecordItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.communications.CallRecordsCallRecordItemRequestBuilder.CallRecordsCallRecordItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.communications.CallRecordsCallRecordItemRequestBuilder.CallRecordsCallRecordItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption @@ -7277,12 +7959,15 @@ github.com/microsoftgraph/msgraph-sdk-go/.communications.communicationsRequestBu github.com/microsoftgraph/msgraph-sdk-go/.communications.communicationsRequestBuilder.CommunicationsRequestBuilderGetRequestConfiguration::|public|queryParameters:*CommunicationsRequestBuilderGetQueryParameters github.com/microsoftgraph/msgraph-sdk-go/.communications.communicationsRequestBuilder.CommunicationsRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.communications.communicationsRequestBuilder.CommunicationsRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.communicationsRequestBuilder::|public|adhocCalls():*AdhocCallsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.communications.communicationsRequestBuilder::|public|callRecords():*CallRecordsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.communications.communicationsRequestBuilder::|public|calls():*CallsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.communications.communicationsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.communications.communicationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.communications.communicationsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CommunicationsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudCommunicationsable +github.com/microsoftgraph/msgraph-sdk-go/.communications.communicationsRequestBuilder::|public|getAllOnlineMeetingMessages():*GetAllOnlineMeetingMessagesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.communications.communicationsRequestBuilder::|public|getPresencesByUserId():*GetPresencesByUserIdRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.communicationsRequestBuilder::|public|onlineMeetingConversations():*OnlineMeetingConversationsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.communications.communicationsRequestBuilder::|public|onlineMeetings():*OnlineMeetingsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.communications.communicationsRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudCommunicationsable; ctx:context.Context; requestConfiguration?:*CommunicationsRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudCommunicationsable github.com/microsoftgraph/msgraph-sdk-go/.communications.communicationsRequestBuilder::|public|pathParameters:map[string]string @@ -7292,6 +7977,41 @@ github.com/microsoftgraph/msgraph-sdk-go/.communications.communicationsRequestBu github.com/microsoftgraph/msgraph-sdk-go/.communications.communicationsRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudCommunicationsable; ctx:context.Context; requestConfiguration?:*CommunicationsRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.communications.communicationsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.communications.communicationsRequestBuilder::|public|WithUrl(rawUrl:string):*CommunicationsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesGetResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesGetResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesGetResponse::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesGetResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesGetResponse::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesGetResponseable::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesGetResponseable::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesGetResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesRequestBuilder.GetAllOnlineMeetingMessagesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesRequestBuilder.GetAllOnlineMeetingMessagesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesRequestBuilder.GetAllOnlineMeetingMessagesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesRequestBuilder.GetAllOnlineMeetingMessagesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesRequestBuilder.GetAllOnlineMeetingMessagesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesRequestBuilder.GetAllOnlineMeetingMessagesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesRequestBuilder.GetAllOnlineMeetingMessagesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesRequestBuilder.GetAllOnlineMeetingMessagesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesRequestBuilder.GetAllOnlineMeetingMessagesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesRequestBuilder.GetAllOnlineMeetingMessagesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesRequestBuilder.GetAllOnlineMeetingMessagesRequestBuilderGetRequestConfiguration::|public|queryParameters:*GetAllOnlineMeetingMessagesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*GetAllOnlineMeetingMessagesRequestBuilderGetRequestConfiguration):GetAllOnlineMeetingMessagesResponseable +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesRequestBuilder::|public|GetAsGetAllOnlineMeetingMessagesGetResponse(ctx:context.Context; requestConfiguration?:*GetAllOnlineMeetingMessagesRequestBuilderGetRequestConfiguration):GetAllOnlineMeetingMessagesGetResponseable +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*GetAllOnlineMeetingMessagesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesRequestBuilder::|public|WithUrl(rawUrl:string):*GetAllOnlineMeetingMessagesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesResponse-->*GetAllOnlineMeetingMessagesGetResponse +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.communications.GetAllOnlineMeetingMessagesResponseable~~>GetAllOnlineMeetingMessagesGetResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.communications.GetPresencesByUserIdPostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.communications.GetPresencesByUserIdPostRequestBody::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.communications.GetPresencesByUserIdPostRequestBody::|public|GetBackingStore():BackingStore @@ -7334,6 +8054,687 @@ github.com/microsoftgraph/msgraph-sdk-go/.communications.GetPresencesByUserIdRes github.com/microsoftgraph/msgraph-sdk-go/.communications.GetPresencesByUserIdResponse::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.communications.GetPresencesByUserIdResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.communications.GetPresencesByUserIdResponseable~~>GetPresencesByUserIdPostResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsCountRequestBuilder.OnlineMeetingConversationsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsCountRequestBuilder.OnlineMeetingConversationsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsCountRequestBuilder.OnlineMeetingConversationsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsCountRequestBuilder.OnlineMeetingConversationsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsCountRequestBuilder.OnlineMeetingConversationsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsCountRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesCountRequestBuilder.OnlineMeetingConversationsItemMessagesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesCountRequestBuilder.OnlineMeetingConversationsItemMessagesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesCountRequestBuilder.OnlineMeetingConversationsItemMessagesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesCountRequestBuilder.OnlineMeetingConversationsItemMessagesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesCountRequestBuilder.OnlineMeetingConversationsItemMessagesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemMessagesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesCountRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemMessagesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder::|public|conversation():*OnlineMeetingConversationsItemMessagesItemConversationRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder::|public|reactions():*OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder::|public|replies():*OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder::|public|replyTo():*OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemConversationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemConversationRequestBuilder.OnlineMeetingConversationsItemMessagesItemConversationRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemConversationRequestBuilder.OnlineMeetingConversationsItemMessagesItemConversationRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemConversationRequestBuilder.OnlineMeetingConversationsItemMessagesItemConversationRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemConversationRequestBuilder.OnlineMeetingConversationsItemMessagesItemConversationRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemConversationRequestBuilder.OnlineMeetingConversationsItemMessagesItemConversationRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemMessagesItemConversationRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemConversationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemConversationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemConversationRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemConversationRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemConversationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemConversationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemConversationRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemConversationRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemConversationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemConversationRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemMessagesItemConversationRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder.OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder.OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder.OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder.OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder.OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder::|public|ByEngagementConversationMessageReactionId(engagementConversationMessageReactionId:string):*OnlineMeetingConversationsItemMessagesItemReactionsEngagementConversationMessageReactionItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder::|public|Count():*OnlineMeetingConversationsItemMessagesItemReactionsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemMessagesItemReactionsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder::|public|conversation():*OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder::|public|reactions():*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder::|public|replyTo():*OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemMessagesItemRepliesItemConversationRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder::|public|ByEngagementConversationMessageReactionId(engagementConversationMessageReactionId:string):*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder::|public|Count():*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemMessagesItemRepliesItemReactionsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemMessagesItemRepliesItemReplyToRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder::|public|ByEngagementConversationMessageId1(engagementConversationMessageId1:string):*OnlineMeetingConversationsItemMessagesItemRepliesEngagementConversationMessageItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder::|public|Count():*OnlineMeetingConversationsItemMessagesItemRepliesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemMessagesItemRepliesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder.OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder.OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder.OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder.OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder.OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemMessagesItemReplyToRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesRequestBuilder.OnlineMeetingConversationsItemMessagesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesRequestBuilder.OnlineMeetingConversationsItemMessagesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesRequestBuilder.OnlineMeetingConversationsItemMessagesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesRequestBuilder.OnlineMeetingConversationsItemMessagesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesRequestBuilder.OnlineMeetingConversationsItemMessagesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesRequestBuilder.OnlineMeetingConversationsItemMessagesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesRequestBuilder.OnlineMeetingConversationsItemMessagesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesRequestBuilder.OnlineMeetingConversationsItemMessagesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesRequestBuilder.OnlineMeetingConversationsItemMessagesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesRequestBuilder.OnlineMeetingConversationsItemMessagesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesRequestBuilder.OnlineMeetingConversationsItemMessagesRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemMessagesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesRequestBuilder.OnlineMeetingConversationsItemMessagesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesRequestBuilder.OnlineMeetingConversationsItemMessagesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesRequestBuilder::|public|ByEngagementConversationMessageId(engagementConversationMessageId:string):*OnlineMeetingConversationsItemMessagesEngagementConversationMessageItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesRequestBuilder::|public|Count():*OnlineMeetingConversationsItemMessagesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemMessagesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemMessagesRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemMessagesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder.OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder.OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder.OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder.OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder.OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilderPutRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder.OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilderPutRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilderGetRequestConfiguration):[]byte +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder::|public|Put(body:[]byte; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilderPutRequestConfiguration):[]byte +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder::|public|ToPutRequestInformation(body:[]byte; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilderPutRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingRequestBuilder.OnlineMeetingConversationsItemOnlineMeetingRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingRequestBuilder.OnlineMeetingConversationsItemOnlineMeetingRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingRequestBuilder.OnlineMeetingConversationsItemOnlineMeetingRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingRequestBuilder.OnlineMeetingConversationsItemOnlineMeetingRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingRequestBuilder.OnlineMeetingConversationsItemOnlineMeetingRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemOnlineMeetingRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingRequestBuilder::|public|attendeeReport():*OnlineMeetingConversationsItemOnlineMeetingAttendeeReportRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemOnlineMeetingRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnlineMeetingable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemOnlineMeetingRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemOnlineMeetingRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemOnlineMeetingRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterConversationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterConversationRequestBuilder.OnlineMeetingConversationsItemStarterConversationRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterConversationRequestBuilder.OnlineMeetingConversationsItemStarterConversationRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterConversationRequestBuilder.OnlineMeetingConversationsItemStarterConversationRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterConversationRequestBuilder.OnlineMeetingConversationsItemStarterConversationRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterConversationRequestBuilder.OnlineMeetingConversationsItemStarterConversationRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemStarterConversationRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterConversationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterConversationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterConversationRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterConversationRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterConversationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterConversationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterConversationRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterConversationRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterConversationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterConversationRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemStarterConversationRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsCountRequestBuilder.OnlineMeetingConversationsItemStarterReactionsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsCountRequestBuilder.OnlineMeetingConversationsItemStarterReactionsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsCountRequestBuilder.OnlineMeetingConversationsItemStarterReactionsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsCountRequestBuilder.OnlineMeetingConversationsItemStarterReactionsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsCountRequestBuilder.OnlineMeetingConversationsItemStarterReactionsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemStarterReactionsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterReactionsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterReactionsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsCountRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemStarterReactionsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsRequestBuilder.OnlineMeetingConversationsItemStarterReactionsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsRequestBuilder.OnlineMeetingConversationsItemStarterReactionsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsRequestBuilder.OnlineMeetingConversationsItemStarterReactionsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsRequestBuilder.OnlineMeetingConversationsItemStarterReactionsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsRequestBuilder.OnlineMeetingConversationsItemStarterReactionsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsRequestBuilder.OnlineMeetingConversationsItemStarterReactionsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsRequestBuilder.OnlineMeetingConversationsItemStarterReactionsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsRequestBuilder.OnlineMeetingConversationsItemStarterReactionsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsRequestBuilder.OnlineMeetingConversationsItemStarterReactionsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsRequestBuilder.OnlineMeetingConversationsItemStarterReactionsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsRequestBuilder.OnlineMeetingConversationsItemStarterReactionsRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemStarterReactionsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsRequestBuilder.OnlineMeetingConversationsItemStarterReactionsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsRequestBuilder.OnlineMeetingConversationsItemStarterReactionsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsRequestBuilder::|public|ByEngagementConversationMessageReactionId(engagementConversationMessageReactionId:string):*OnlineMeetingConversationsItemStarterReactionsEngagementConversationMessageReactionItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsRequestBuilder::|public|Count():*OnlineMeetingConversationsItemStarterReactionsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterReactionsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterReactionsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterReactionsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterReactionsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReactionsRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemStarterReactionsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesCountRequestBuilder.OnlineMeetingConversationsItemStarterRepliesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesCountRequestBuilder.OnlineMeetingConversationsItemStarterRepliesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesCountRequestBuilder.OnlineMeetingConversationsItemStarterRepliesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesCountRequestBuilder.OnlineMeetingConversationsItemStarterRepliesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesCountRequestBuilder.OnlineMeetingConversationsItemStarterRepliesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemStarterRepliesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRepliesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRepliesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesCountRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemStarterRepliesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder::|public|conversation():*OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder::|public|reactions():*OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder::|public|replyTo():*OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemStarterRepliesItemConversationRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder::|public|ByEngagementConversationMessageReactionId(engagementConversationMessageReactionId:string):*OnlineMeetingConversationsItemStarterRepliesItemReactionsEngagementConversationMessageReactionItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder::|public|Count():*OnlineMeetingConversationsItemStarterRepliesItemReactionsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageReactionable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemStarterRepliesItemReactionsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder.OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemStarterRepliesItemReplyToRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesRequestBuilder.OnlineMeetingConversationsItemStarterRepliesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesRequestBuilder.OnlineMeetingConversationsItemStarterRepliesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesRequestBuilder.OnlineMeetingConversationsItemStarterRepliesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesRequestBuilder.OnlineMeetingConversationsItemStarterRepliesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesRequestBuilder.OnlineMeetingConversationsItemStarterRepliesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesRequestBuilder.OnlineMeetingConversationsItemStarterRepliesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesRequestBuilder.OnlineMeetingConversationsItemStarterRepliesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesRequestBuilder.OnlineMeetingConversationsItemStarterRepliesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesRequestBuilder.OnlineMeetingConversationsItemStarterRepliesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesRequestBuilder.OnlineMeetingConversationsItemStarterRepliesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesRequestBuilder.OnlineMeetingConversationsItemStarterRepliesRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemStarterRepliesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesRequestBuilder.OnlineMeetingConversationsItemStarterRepliesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesRequestBuilder.OnlineMeetingConversationsItemStarterRepliesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesRequestBuilder::|public|ByEngagementConversationMessageId(engagementConversationMessageId:string):*OnlineMeetingConversationsItemStarterRepliesEngagementConversationMessageItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesRequestBuilder::|public|Count():*OnlineMeetingConversationsItemStarterRepliesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRepliesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRepliesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRepliesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRepliesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRepliesRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemStarterRepliesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReplyToRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReplyToRequestBuilder.OnlineMeetingConversationsItemStarterReplyToRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReplyToRequestBuilder.OnlineMeetingConversationsItemStarterReplyToRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReplyToRequestBuilder.OnlineMeetingConversationsItemStarterReplyToRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReplyToRequestBuilder.OnlineMeetingConversationsItemStarterReplyToRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReplyToRequestBuilder.OnlineMeetingConversationsItemStarterReplyToRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemStarterReplyToRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReplyToRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReplyToRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReplyToRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterReplyToRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReplyToRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReplyToRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReplyToRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterReplyToRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReplyToRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterReplyToRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemStarterReplyToRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRequestBuilder.OnlineMeetingConversationsItemStarterRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRequestBuilder.OnlineMeetingConversationsItemStarterRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRequestBuilder.OnlineMeetingConversationsItemStarterRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRequestBuilder.OnlineMeetingConversationsItemStarterRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRequestBuilder.OnlineMeetingConversationsItemStarterRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRequestBuilder.OnlineMeetingConversationsItemStarterRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRequestBuilder.OnlineMeetingConversationsItemStarterRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsItemStarterRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRequestBuilder.OnlineMeetingConversationsItemStarterRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRequestBuilder.OnlineMeetingConversationsItemStarterRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRequestBuilder::|public|conversation():*OnlineMeetingConversationsItemStarterConversationRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRequestBuilder::|public|reactions():*OnlineMeetingConversationsItemStarterReactionsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRequestBuilder::|public|replies():*OnlineMeetingConversationsItemStarterRepliesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRequestBuilder::|public|replyTo():*OnlineMeetingConversationsItemStarterReplyToRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementConversationMessageable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsItemStarterRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsItemStarterRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsItemStarterRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnlineMeetingEngagementConversationable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder::|public|messages():*OnlineMeetingConversationsItemMessagesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder::|public|onlineMeeting():*OnlineMeetingConversationsItemOnlineMeetingRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnlineMeetingEngagementConversationable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnlineMeetingEngagementConversationable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder::|public|starter():*OnlineMeetingConversationsItemStarterRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnlineMeetingEngagementConversationable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsRequestBuilder.OnlineMeetingConversationsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsRequestBuilder.OnlineMeetingConversationsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsRequestBuilder.OnlineMeetingConversationsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsRequestBuilder.OnlineMeetingConversationsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsRequestBuilder.OnlineMeetingConversationsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsRequestBuilder.OnlineMeetingConversationsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsRequestBuilder.OnlineMeetingConversationsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsRequestBuilder.OnlineMeetingConversationsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsRequestBuilder.OnlineMeetingConversationsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsRequestBuilder.OnlineMeetingConversationsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsRequestBuilder.OnlineMeetingConversationsRequestBuilderGetRequestConfiguration::|public|queryParameters:*OnlineMeetingConversationsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsRequestBuilder.OnlineMeetingConversationsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsRequestBuilder.OnlineMeetingConversationsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsRequestBuilder::|public|ByOnlineMeetingEngagementConversationId(onlineMeetingEngagementConversationId:string):*OnlineMeetingConversationsOnlineMeetingEngagementConversationItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsRequestBuilder::|public|Count():*OnlineMeetingConversationsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnlineMeetingEngagementConversationCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnlineMeetingEngagementConversationable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnlineMeetingEngagementConversationable +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnlineMeetingEngagementConversationable; ctx:context.Context; requestConfiguration?:*OnlineMeetingConversationsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingConversationsRequestBuilder::|public|WithUrl(rawUrl:string):*OnlineMeetingConversationsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingsCountRequestBuilder.OnlineMeetingsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.communications.OnlineMeetingsCountRequestBuilder.OnlineMeetingsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -8037,6 +9438,28 @@ github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesCountRequestBu github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*PresencesCountRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesCountRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesCountRequestBuilder::|public|WithUrl(rawUrl:string):*PresencesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemClearAutomaticLocationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemClearAutomaticLocationRequestBuilder.PresencesItemClearAutomaticLocationRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemClearAutomaticLocationRequestBuilder.PresencesItemClearAutomaticLocationRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemClearAutomaticLocationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemClearAutomaticLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemClearAutomaticLocationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemClearAutomaticLocationRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*PresencesItemClearAutomaticLocationRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemClearAutomaticLocationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemClearAutomaticLocationRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*PresencesItemClearAutomaticLocationRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemClearAutomaticLocationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemClearAutomaticLocationRequestBuilder::|public|WithUrl(rawUrl:string):*PresencesItemClearAutomaticLocationRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemClearLocationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemClearLocationRequestBuilder.PresencesItemClearLocationRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemClearLocationRequestBuilder.PresencesItemClearLocationRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemClearLocationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemClearLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemClearLocationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemClearLocationRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*PresencesItemClearLocationRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemClearLocationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemClearLocationRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*PresencesItemClearLocationRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemClearLocationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemClearLocationRequestBuilder::|public|WithUrl(rawUrl:string):*PresencesItemClearLocationRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemClearPresencePostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemClearPresencePostRequestBody::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemClearPresencePostRequestBody::|public|GetBackingStore():BackingStore @@ -8075,6 +9498,68 @@ github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemClearUserP github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemClearUserPreferredPresenceRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*PresencesItemClearUserPreferredPresenceRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemClearUserPreferredPresenceRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemClearUserPreferredPresenceRequestBuilder::|public|WithUrl(rawUrl:string):*PresencesItemClearUserPreferredPresenceRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationPostRequestBody::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationPostRequestBody::|public|GetWorkLocationType():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationPostRequestBody::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationPostRequestBody::|public|SetWorkLocationType(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationPostRequestBodyable::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationPostRequestBodyable::|public|GetWorkLocationType():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationPostRequestBodyable::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationPostRequestBodyable::|public|SetWorkLocationType(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationPostRequestBody~~>PresencesItemSetAutomaticLocationPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationRequestBuilder.PresencesItemSetAutomaticLocationRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationRequestBuilder.PresencesItemSetAutomaticLocationRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationRequestBuilder::|public|Post(body:PresencesItemSetAutomaticLocationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*PresencesItemSetAutomaticLocationRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationRequestBuilder::|public|ToPostRequestInformation(body:PresencesItemSetAutomaticLocationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*PresencesItemSetAutomaticLocationRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetAutomaticLocationRequestBuilder::|public|WithUrl(rawUrl:string):*PresencesItemSetAutomaticLocationRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationPostRequestBody::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationPostRequestBody::|public|GetWorkLocationType():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationPostRequestBody::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationPostRequestBody::|public|SetWorkLocationType(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationPostRequestBodyable::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationPostRequestBodyable::|public|GetWorkLocationType():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationPostRequestBodyable::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationPostRequestBodyable::|public|SetWorkLocationType(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationPostRequestBody~~>PresencesItemSetManualLocationPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationRequestBuilder.PresencesItemSetManualLocationRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationRequestBuilder.PresencesItemSetManualLocationRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationRequestBuilder::|public|Post(body:PresencesItemSetManualLocationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*PresencesItemSetManualLocationRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationRequestBuilder::|public|ToPostRequestInformation(body:PresencesItemSetManualLocationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*PresencesItemSetManualLocationRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetManualLocationRequestBuilder::|public|WithUrl(rawUrl:string):*PresencesItemSetManualLocationRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetPresencePostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetPresencePostRequestBody::|public|GetActivity():*string github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesItemSetPresencePostRequestBody::|public|GetAdditionalData():map[string]any @@ -8186,6 +9671,8 @@ github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesPresenceItemRe github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesPresenceItemRequestBuilder.PresencesPresenceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*PresencesPresenceItemRequestBuilderGetQueryParameters github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesPresenceItemRequestBuilder.PresencesPresenceItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesPresenceItemRequestBuilder.PresencesPresenceItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesPresenceItemRequestBuilder::|public|clearAutomaticLocation():*PresencesItemClearAutomaticLocationRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesPresenceItemRequestBuilder::|public|clearLocation():*PresencesItemClearLocationRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesPresenceItemRequestBuilder::|public|clearPresence():*PresencesItemClearPresenceRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesPresenceItemRequestBuilder::|public|clearUserPreferredPresence():*PresencesItemClearUserPreferredPresenceRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesPresenceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void @@ -8195,6 +9682,8 @@ github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesPresenceItemRe github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesPresenceItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Presenceable; ctx:context.Context; requestConfiguration?:*PresencesPresenceItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Presenceable github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesPresenceItemRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesPresenceItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesPresenceItemRequestBuilder::|public|setAutomaticLocation():*PresencesItemSetAutomaticLocationRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesPresenceItemRequestBuilder::|public|setManualLocation():*PresencesItemSetManualLocationRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesPresenceItemRequestBuilder::|public|setPresence():*PresencesItemSetPresenceRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesPresenceItemRequestBuilder::|public|setStatusMessage():*PresencesItemSetStatusMessageRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.communications.PresencesPresenceItemRequestBuilder::|public|setUserPreferredPresence():*PresencesItemSetUserPreferredPresenceRequestBuilder @@ -8708,6 +10197,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder.Contac github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder.ContactsRequestBuilderGetQueryParameters::|public|Orderby:[]string github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder.ContactsRequestBuilderGetQueryParameters::|public|Search:*string github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder.ContactsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder.ContactsRequestBuilderGetQueryParameters::|public|Skip:*int32 github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder.ContactsRequestBuilderGetQueryParameters::|public|Top:*int32 github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder.ContactsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder.ContactsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption @@ -9349,6 +10839,28 @@ github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemMemberOfRequestBuilder::| github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemMemberOfRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemMemberOfRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemMemberOfRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemMemberOfRequestBuilder::|public|WithUrl(rawUrl:string):*ItemMemberOfRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemOnPremisesSyncBehaviorRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemOnPremisesSyncBehaviorRequestBuilder.ItemOnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemOnPremisesSyncBehaviorRequestBuilder.ItemOnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemOnPremisesSyncBehaviorRequestBuilder.ItemOnPremisesSyncBehaviorRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemOnPremisesSyncBehaviorRequestBuilder.ItemOnPremisesSyncBehaviorRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemOnPremisesSyncBehaviorRequestBuilder.ItemOnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemOnPremisesSyncBehaviorRequestBuilder.ItemOnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemOnPremisesSyncBehaviorRequestBuilder.ItemOnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemOnPremisesSyncBehaviorRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemOnPremisesSyncBehaviorRequestBuilder.ItemOnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemOnPremisesSyncBehaviorRequestBuilder.ItemOnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemOnPremisesSyncBehaviorRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemOnPremisesSyncBehaviorRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemOnPremisesSyncBehaviorRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemOnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemOnPremisesSyncBehaviorRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemOnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesSyncBehaviorable +github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemOnPremisesSyncBehaviorRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesSyncBehaviorable; ctx:context.Context; requestConfiguration?:*ItemOnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesSyncBehaviorable +github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemOnPremisesSyncBehaviorRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemOnPremisesSyncBehaviorRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemOnPremisesSyncBehaviorRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemOnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemOnPremisesSyncBehaviorRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemOnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemOnPremisesSyncBehaviorRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesSyncBehaviorable; ctx:context.Context; requestConfiguration?:*ItemOnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemOnPremisesSyncBehaviorRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemOnPremisesSyncBehaviorRequestBuilder::|public|WithUrl(rawUrl:string):*ItemOnPremisesSyncBehaviorRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemRestoreRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemRestoreRequestBuilder.ItemRestoreRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemRestoreRequestBuilder.ItemRestoreRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption @@ -9559,27 +11071,36 @@ github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemTransitiveMemberOfRequest github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemTransitiveMemberOfRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemTransitiveMemberOfRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTransitiveMemberOfRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder.OrgContactItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder.OrgContactItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder.OrgContactItemRequestBuilderGetQueryParameters::|public|Expand:[]string github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder.OrgContactItemRequestBuilderGetQueryParameters::|public|Select:[]string github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder.OrgContactItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder.OrgContactItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder.OrgContactItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*OrgContactItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder.OrgContactItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder.OrgContactItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|checkMemberGroups():*ItemCheckMemberGroupsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|checkMemberObjects():*ItemCheckMemberObjectsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*OrgContactItemRequestBuilderDeleteRequestConfiguration):void github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|directReports():*ItemDirectReportsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OrgContactItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OrgContactable github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|getMemberGroups():*ItemGetMemberGroupsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|getMemberObjects():*ItemGetMemberObjectsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|manager():*ItemManagerRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|memberOf():*ItemMemberOfRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|onPremisesSyncBehavior():*ItemOnPremisesSyncBehaviorRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OrgContactable; ctx:context.Context; requestConfiguration?:*OrgContactItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OrgContactable github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|restore():*ItemRestoreRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|retryServiceProvisioning():*ItemRetryServiceProvisioningRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|serviceProvisioningErrors():*ItemServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*OrgContactItemRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OrgContactItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OrgContactable; ctx:context.Context; requestConfiguration?:*OrgContactItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|transitiveMemberOf():*ItemTransitiveMemberOfRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|WithUrl(rawUrl:string):*OrgContactItemRequestBuilder @@ -20191,7 +21712,6 @@ github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.deviceManagementReque github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.deviceManagementRequestBuilder::|public|roleAssignments():*RoleAssignmentsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.deviceManagementRequestBuilder::|public|roleDefinitions():*RoleDefinitionsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.deviceManagementRequestBuilder::|public|softwareUpdateStatusSummary():*SoftwareUpdateStatusSummaryRequestBuilder -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.deviceManagementRequestBuilder::|public|telecomExpenseManagementPartners():*TelecomExpenseManagementPartnersRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.deviceManagementRequestBuilder::|public|termsAndConditions():*TermsAndConditionsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.deviceManagementRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*DeviceManagementRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.deviceManagementRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementable; ctx:context.Context; requestConfiguration?:*DeviceManagementRequestBuilderPatchRequestConfiguration):*RequestInformation @@ -23201,68 +24721,6 @@ github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.SoftwareUpdateStatusS github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.SoftwareUpdateStatusSummaryRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*SoftwareUpdateStatusSummaryRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.SoftwareUpdateStatusSummaryRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.SoftwareUpdateStatusSummaryRequestBuilder::|public|WithUrl(rawUrl:string):*SoftwareUpdateStatusSummaryRequestBuilder -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersCountRequestBuilder.TelecomExpenseManagementPartnersCountRequestBuilderGetQueryParameters::|public|Filter:*string -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersCountRequestBuilder.TelecomExpenseManagementPartnersCountRequestBuilderGetQueryParameters::|public|Search:*string -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersCountRequestBuilder.TelecomExpenseManagementPartnersCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersCountRequestBuilder.TelecomExpenseManagementPartnersCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersCountRequestBuilder.TelecomExpenseManagementPartnersCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*TelecomExpenseManagementPartnersCountRequestBuilderGetQueryParameters -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TelecomExpenseManagementPartnersCountRequestBuilderGetRequestConfiguration):*int32 -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersCountRequestBuilder::|public|pathParameters:map[string]string -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersCountRequestBuilder::|public|requestAdapter:RequestAdapter -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TelecomExpenseManagementPartnersCountRequestBuilderGetRequestConfiguration):*RequestInformation -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersCountRequestBuilder::|public|urlTemplate:string -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersCountRequestBuilder::|public|WithUrl(rawUrl:string):*TelecomExpenseManagementPartnersCountRequestBuilder -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersRequestBuilder.TelecomExpenseManagementPartnersRequestBuilderGetQueryParameters::|public|Count:*bool -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersRequestBuilder.TelecomExpenseManagementPartnersRequestBuilderGetQueryParameters::|public|Expand:[]string -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersRequestBuilder.TelecomExpenseManagementPartnersRequestBuilderGetQueryParameters::|public|Filter:*string -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersRequestBuilder.TelecomExpenseManagementPartnersRequestBuilderGetQueryParameters::|public|Orderby:[]string -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersRequestBuilder.TelecomExpenseManagementPartnersRequestBuilderGetQueryParameters::|public|Search:*string -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersRequestBuilder.TelecomExpenseManagementPartnersRequestBuilderGetQueryParameters::|public|Select:[]string -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersRequestBuilder.TelecomExpenseManagementPartnersRequestBuilderGetQueryParameters::|public|Skip:*int32 -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersRequestBuilder.TelecomExpenseManagementPartnersRequestBuilderGetQueryParameters::|public|Top:*int32 -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersRequestBuilder.TelecomExpenseManagementPartnersRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersRequestBuilder.TelecomExpenseManagementPartnersRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersRequestBuilder.TelecomExpenseManagementPartnersRequestBuilderGetRequestConfiguration::|public|queryParameters:*TelecomExpenseManagementPartnersRequestBuilderGetQueryParameters -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersRequestBuilder.TelecomExpenseManagementPartnersRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersRequestBuilder.TelecomExpenseManagementPartnersRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersRequestBuilder::|public|ByTelecomExpenseManagementPartnerId(telecomExpenseManagementPartnerId:string):*TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersRequestBuilder::|public|Count():*TelecomExpenseManagementPartnersCountRequestBuilder -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TelecomExpenseManagementPartnersRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TelecomExpenseManagementPartnerCollectionResponseable -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersRequestBuilder::|public|pathParameters:map[string]string -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TelecomExpenseManagementPartnerable; ctx:context.Context; requestConfiguration?:*TelecomExpenseManagementPartnersRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TelecomExpenseManagementPartnerable -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersRequestBuilder::|public|requestAdapter:RequestAdapter -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TelecomExpenseManagementPartnersRequestBuilderGetRequestConfiguration):*RequestInformation -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TelecomExpenseManagementPartnerable; ctx:context.Context; requestConfiguration?:*TelecomExpenseManagementPartnersRequestBuilderPostRequestConfiguration):*RequestInformation -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersRequestBuilder::|public|urlTemplate:string -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersRequestBuilder::|public|WithUrl(rawUrl:string):*TelecomExpenseManagementPartnersRequestBuilder -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderGetQueryParameters::|public|Expand:[]string -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderGetQueryParameters::|public|Select:[]string -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderGetQueryParameters -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderDeleteRequestConfiguration):void -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TelecomExpenseManagementPartnerable -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TelecomExpenseManagementPartnerable; ctx:context.Context; requestConfiguration?:*TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TelecomExpenseManagementPartnerable -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder::|public|pathParameters:map[string]string -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder::|public|requestAdapter:RequestAdapter -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderDeleteRequestConfiguration):*RequestInformation -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderGetRequestConfiguration):*RequestInformation -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TelecomExpenseManagementPartnerable; ctx:context.Context; requestConfiguration?:*TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilderPatchRequestConfiguration):*RequestInformation -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder::|public|urlTemplate:string -github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder::|public|WithUrl(rawUrl:string):*TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TermsAndConditionsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TermsAndConditionsCountRequestBuilder.TermsAndConditionsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.TermsAndConditionsCountRequestBuilder.TermsAndConditionsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -25321,9 +26779,11 @@ github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudP github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsCloudPCItemRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsCloudPCItemRequestBuilder::|public|reboot():*VirtualEndpointCloudPCsItemRebootRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsCloudPCItemRequestBuilder::|public|rename():*VirtualEndpointCloudPCsItemRenameRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsCloudPCItemRequestBuilder::|public|reprovision():*VirtualEndpointCloudPCsItemReprovisionRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsCloudPCItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsCloudPCItemRequestBuilder::|public|resize():*VirtualEndpointCloudPCsItemResizeRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsCloudPCItemRequestBuilder::|public|restore():*VirtualEndpointCloudPCsItemRestoreRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsCloudPCItemRequestBuilder::|public|retrieveCloudPcLaunchDetail():*VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsCloudPCItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*VirtualEndpointCloudPCsCloudPCItemRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsCloudPCItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*VirtualEndpointCloudPCsCloudPCItemRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsCloudPCItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPCable; ctx:context.Context; requestConfiguration?:*VirtualEndpointCloudPCsCloudPCItemRequestBuilderPatchRequestConfiguration):*RequestInformation @@ -25393,6 +26853,37 @@ github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudP github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemRenameRequestBuilder::|public|ToPostRequestInformation(body:VirtualEndpointCloudPCsItemRenamePostRequestBodyable; ctx:context.Context; requestConfiguration?:*VirtualEndpointCloudPCsItemRenameRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemRenameRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemRenameRequestBuilder::|public|WithUrl(rawUrl:string):*VirtualEndpointCloudPCsItemRenameRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionPostRequestBody::|public|GetOsVersion():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcOperatingSystem +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionPostRequestBody::|public|GetUserAccountType():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcUserAccountType +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionPostRequestBody::|public|SetOsVersion(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcOperatingSystem):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionPostRequestBody::|public|SetUserAccountType(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcUserAccountType):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionPostRequestBodyable::|public|GetOsVersion():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcOperatingSystem +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionPostRequestBodyable::|public|GetUserAccountType():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcUserAccountType +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionPostRequestBodyable::|public|SetOsVersion(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcOperatingSystem):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionPostRequestBodyable::|public|SetUserAccountType(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcUserAccountType):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionPostRequestBody~~>VirtualEndpointCloudPCsItemReprovisionPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionRequestBuilder.VirtualEndpointCloudPCsItemReprovisionRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionRequestBuilder.VirtualEndpointCloudPCsItemReprovisionRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionRequestBuilder::|public|Post(body:VirtualEndpointCloudPCsItemReprovisionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*VirtualEndpointCloudPCsItemReprovisionRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionRequestBuilder::|public|ToPostRequestInformation(body:VirtualEndpointCloudPCsItemReprovisionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*VirtualEndpointCloudPCsItemReprovisionRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemReprovisionRequestBuilder::|public|WithUrl(rawUrl:string):*VirtualEndpointCloudPCsItemReprovisionRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemResizePostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemResizePostRequestBody::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemResizePostRequestBody::|public|GetBackingStore():BackingStore @@ -25447,6 +26938,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudP github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemRestoreRequestBuilder::|public|ToPostRequestInformation(body:VirtualEndpointCloudPCsItemRestorePostRequestBodyable; ctx:context.Context; requestConfiguration?:*VirtualEndpointCloudPCsItemRestoreRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemRestoreRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemRestoreRequestBuilder::|public|WithUrl(rawUrl:string):*VirtualEndpointCloudPCsItemRestoreRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder.VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder.VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcLaunchDetailable +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder::|public|WithUrl(rawUrl:string):*VirtualEndpointCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemTroubleshootRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemTroubleshootRequestBuilder.VirtualEndpointCloudPCsItemTroubleshootRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointCloudPCsItemTroubleshootRequestBuilder.VirtualEndpointCloudPCsItemTroubleshootRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption @@ -25989,6 +27491,84 @@ github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvis github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcProvisioningPolicyable; ctx:context.Context; requestConfiguration?:*VirtualEndpointProvisioningPoliciesRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesRequestBuilder::|public|WithUrl(rawUrl:string):*VirtualEndpointProvisioningPoliciesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder.VirtualEndpointReportRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder.VirtualEndpointReportRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder.VirtualEndpointReportRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder.VirtualEndpointReportRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder.VirtualEndpointReportRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder.VirtualEndpointReportRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder.VirtualEndpointReportRequestBuilderGetRequestConfiguration::|public|queryParameters:*VirtualEndpointReportRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder.VirtualEndpointReportRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder.VirtualEndpointReportRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*VirtualEndpointReportRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*VirtualEndpointReportRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcReportable +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcReportable; ctx:context.Context; requestConfiguration?:*VirtualEndpointReportRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcReportable +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder::|public|retrieveCloudPcRecommendationReports():*VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*VirtualEndpointReportRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*VirtualEndpointReportRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcReportable; ctx:context.Context; requestConfiguration?:*VirtualEndpointReportRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder::|public|WithUrl(rawUrl:string):*VirtualEndpointReportRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody::|public|GetFilter():*string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody::|public|GetGroupBy():[]string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody::|public|GetOrderBy():[]string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody::|public|GetReportType():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcRecommendationReportType +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody::|public|GetSearch():*string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody::|public|GetSelectEscaped():[]string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody::|public|GetSkip():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody::|public|GetTop():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody::|public|SetFilter(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody::|public|SetGroupBy(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody::|public|SetOrderBy(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody::|public|SetReportType(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcRecommendationReportType):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody::|public|SetSearch(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody::|public|SetSelectEscaped(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody::|public|SetSkip(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody::|public|SetTop(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBodyable::|public|GetFilter():*string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBodyable::|public|GetGroupBy():[]string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBodyable::|public|GetOrderBy():[]string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBodyable::|public|GetReportType():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcRecommendationReportType +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBodyable::|public|GetSearch():*string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBodyable::|public|GetSelectEscaped():[]string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBodyable::|public|GetSkip():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBodyable::|public|GetTop():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBodyable::|public|SetFilter(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBodyable::|public|SetGroupBy(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBodyable::|public|SetOrderBy(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBodyable::|public|SetReportType(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcRecommendationReportType):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBodyable::|public|SetSearch(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBodyable::|public|SetSelectEscaped(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBodyable::|public|SetSkip(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBodyable::|public|SetTop(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody~~>VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder.VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder.VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder::|public|Post(body:VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBodyable; ctx:context.Context; requestConfiguration?:*VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration):[]byte +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder::|public|ToPostRequestInformation(body:VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBodyable; ctx:context.Context; requestConfiguration?:*VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder::|public|WithUrl(rawUrl:string):*VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointRequestBuilder.VirtualEndpointRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointRequestBuilder.VirtualEndpointRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption @@ -26011,6 +27591,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointReques github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEndpointable; ctx:context.Context; requestConfiguration?:*VirtualEndpointRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEndpointable github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointRequestBuilder::|public|provisioningPolicies():*VirtualEndpointProvisioningPoliciesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointRequestBuilder::|public|report():*VirtualEndpointReportRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*VirtualEndpointRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.devicemanagement.VirtualEndpointRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*VirtualEndpointRequestBuilderGetRequestConfiguration):*RequestInformation @@ -65964,6 +67545,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsEducat github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsEducationAssignmentItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsEducationAssignmentItemRequestBuilderDeleteRequestConfiguration):void github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsEducationAssignmentItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsEducationAssignmentItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentable github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsEducationAssignmentItemRequestBuilder::|public|gradingCategory():*ClassesItemAssignmentsItemGradingCategoryRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsEducationAssignmentItemRequestBuilder::|public|gradingScheme():*ClassesItemAssignmentsItemGradingSchemeRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsEducationAssignmentItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentable; ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsEducationAssignmentItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentable github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsEducationAssignmentItemRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsEducationAssignmentItemRequestBuilder::|public|publish():*ClassesItemAssignmentsItemPublishRequestBuilder @@ -65978,6 +67560,20 @@ github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsEducat github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsEducationAssignmentItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentable; ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsEducationAssignmentItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsEducationAssignmentItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsEducationAssignmentItemRequestBuilder::|public|WithUrl(rawUrl:string):*ClassesItemAssignmentsEducationAssignmentItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder.ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder.ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder.ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder.ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder.ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilderGetRequestConfiguration::|public|queryParameters:*ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeable +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder::|public|WithUrl(rawUrl:string):*ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingCategoriesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingCategoriesCountRequestBuilder.ClassesItemAssignmentSettingsGradingCategoriesCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingCategoriesCountRequestBuilder.ClassesItemAssignmentSettingsGradingCategoriesCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -66040,6 +67636,68 @@ github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSetting github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingCategoriesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingCategoryable; ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentSettingsGradingCategoriesRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingCategoriesRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingCategoriesRequestBuilder::|public|WithUrl(rawUrl:string):*ClassesItemAssignmentSettingsGradingCategoriesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder.ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder.ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder.ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder.ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder.ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder::|public|WithUrl(rawUrl:string):*ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeable +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeable; ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeable +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeable; ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder::|public|WithUrl(rawUrl:string):*ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesRequestBuilder.ClassesItemAssignmentSettingsGradingSchemesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesRequestBuilder.ClassesItemAssignmentSettingsGradingSchemesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesRequestBuilder.ClassesItemAssignmentSettingsGradingSchemesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesRequestBuilder.ClassesItemAssignmentSettingsGradingSchemesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesRequestBuilder.ClassesItemAssignmentSettingsGradingSchemesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesRequestBuilder.ClassesItemAssignmentSettingsGradingSchemesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesRequestBuilder.ClassesItemAssignmentSettingsGradingSchemesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesRequestBuilder.ClassesItemAssignmentSettingsGradingSchemesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesRequestBuilder.ClassesItemAssignmentSettingsGradingSchemesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesRequestBuilder.ClassesItemAssignmentSettingsGradingSchemesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesRequestBuilder.ClassesItemAssignmentSettingsGradingSchemesRequestBuilderGetRequestConfiguration::|public|queryParameters:*ClassesItemAssignmentSettingsGradingSchemesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesRequestBuilder.ClassesItemAssignmentSettingsGradingSchemesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesRequestBuilder.ClassesItemAssignmentSettingsGradingSchemesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesRequestBuilder::|public|ByEducationGradingSchemeId(educationGradingSchemeId:string):*ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesRequestBuilder::|public|Count():*ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentSettingsGradingSchemesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeable; ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentSettingsGradingSchemesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeable +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentSettingsGradingSchemesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeable; ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentSettingsGradingSchemesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsGradingSchemesRequestBuilder::|public|WithUrl(rawUrl:string):*ClassesItemAssignmentSettingsGradingSchemesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsRequestBuilder.ClassesItemAssignmentSettingsRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsRequestBuilder.ClassesItemAssignmentSettingsRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption @@ -66052,9 +67710,11 @@ github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSetting github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsRequestBuilder.ClassesItemAssignmentSettingsRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsRequestBuilder::|public|defaultGradingScheme():*ClassesItemAssignmentSettingsDefaultGradingSchemeRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentSettingsRequestBuilderDeleteRequestConfiguration):void github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentSettingsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentSettingsable github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsRequestBuilder::|public|gradingCategories():*ClassesItemAssignmentSettingsGradingCategoriesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsRequestBuilder::|public|gradingSchemes():*ClassesItemAssignmentSettingsGradingSchemesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentSettingsable; ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentSettingsRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentSettingsable github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentSettingsRequestBuilder::|public|requestAdapter:RequestAdapter @@ -66222,6 +67882,20 @@ github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemGr github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemGradingCategoryRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemGradingCategoryRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemGradingCategoryRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemGradingCategoryRequestBuilder::|public|WithUrl(rawUrl:string):*ClassesItemAssignmentsItemGradingCategoryRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemGradingSchemeRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemGradingSchemeRequestBuilder.ClassesItemAssignmentsItemGradingSchemeRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemGradingSchemeRequestBuilder.ClassesItemAssignmentsItemGradingSchemeRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemGradingSchemeRequestBuilder.ClassesItemAssignmentsItemGradingSchemeRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemGradingSchemeRequestBuilder.ClassesItemAssignmentsItemGradingSchemeRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemGradingSchemeRequestBuilder.ClassesItemAssignmentsItemGradingSchemeRequestBuilderGetRequestConfiguration::|public|queryParameters:*ClassesItemAssignmentsItemGradingSchemeRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemGradingSchemeRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemGradingSchemeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemGradingSchemeRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemGradingSchemeRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeable +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemGradingSchemeRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemGradingSchemeRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemGradingSchemeRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemGradingSchemeRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemGradingSchemeRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemGradingSchemeRequestBuilder::|public|WithUrl(rawUrl:string):*ClassesItemAssignmentsItemGradingSchemeRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemPublishRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemPublishRequestBuilder.ClassesItemAssignmentsItemPublishRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemPublishRequestBuilder.ClassesItemAssignmentsItemPublishRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption @@ -66260,6 +67934,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemRe github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder::|public|dependentResources():*ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable; ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder::|public|pathParameters:map[string]string @@ -66269,6 +67944,68 @@ github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemRe github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable; ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder::|public|WithUrl(rawUrl:string):*ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder.ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder.ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder.ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder.ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder.ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder::|public|WithUrl(rawUrl:string):*ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable; ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable; ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|WithUrl(rawUrl:string):*ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration::|public|queryParameters:*ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|ByEducationAssignmentResourceId1(educationAssignmentResourceId1:string):*ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|Count():*ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable; ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable; ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|WithUrl(rawUrl:string):*ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesRequestBuilder.ClassesItemAssignmentsItemResourcesRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemResourcesRequestBuilder.ClassesItemAssignmentsItemResourcesRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -66515,6 +68252,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSu github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder::|public|dependentResources():*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder::|public|pathParameters:map[string]string @@ -66524,6 +68262,68 @@ github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSu github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder::|public|WithUrl(rawUrl:string):*ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder::|public|WithUrl(rawUrl:string):*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|WithUrl(rawUrl:string):*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration::|public|queryParameters:*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|ByEducationSubmissionResourceId1(educationSubmissionResourceId1:string):*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|Count():*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|WithUrl(rawUrl:string):*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -66610,6 +68410,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSu github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder::|public|dependentResources():*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder::|public|pathParameters:map[string]string @@ -66619,6 +68420,68 @@ github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSu github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder::|public|WithUrl(rawUrl:string):*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder::|public|WithUrl(rawUrl:string):*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|WithUrl(rawUrl:string):*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration::|public|queryParameters:*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|ByEducationSubmissionResourceId1(educationSubmissionResourceId1:string):*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|Count():*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|WithUrl(rawUrl:string):*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.education.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilder.ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -67300,6 +69163,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsEducationAssign github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsEducationAssignmentItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*MeAssignmentsEducationAssignmentItemRequestBuilderDeleteRequestConfiguration):void github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsEducationAssignmentItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*MeAssignmentsEducationAssignmentItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentable github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsEducationAssignmentItemRequestBuilder::|public|gradingCategory():*MeAssignmentsItemGradingCategoryRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsEducationAssignmentItemRequestBuilder::|public|gradingScheme():*MeAssignmentsItemGradingSchemeRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsEducationAssignmentItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentable; ctx:context.Context; requestConfiguration?:*MeAssignmentsEducationAssignmentItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentable github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsEducationAssignmentItemRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsEducationAssignmentItemRequestBuilder::|public|publish():*MeAssignmentsItemPublishRequestBuilder @@ -67473,6 +69337,20 @@ github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemGradingCate github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemGradingCategoryRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemGradingCategoryRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemGradingCategoryRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemGradingCategoryRequestBuilder::|public|WithUrl(rawUrl:string):*MeAssignmentsItemGradingCategoryRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemGradingSchemeRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemGradingSchemeRequestBuilder.MeAssignmentsItemGradingSchemeRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemGradingSchemeRequestBuilder.MeAssignmentsItemGradingSchemeRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemGradingSchemeRequestBuilder.MeAssignmentsItemGradingSchemeRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemGradingSchemeRequestBuilder.MeAssignmentsItemGradingSchemeRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemGradingSchemeRequestBuilder.MeAssignmentsItemGradingSchemeRequestBuilderGetRequestConfiguration::|public|queryParameters:*MeAssignmentsItemGradingSchemeRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemGradingSchemeRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemGradingSchemeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemGradingSchemeRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemGradingSchemeRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeable +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemGradingSchemeRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemGradingSchemeRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemGradingSchemeRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemGradingSchemeRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemGradingSchemeRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemGradingSchemeRequestBuilder::|public|WithUrl(rawUrl:string):*MeAssignmentsItemGradingSchemeRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemPublishRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemPublishRequestBuilder.MeAssignmentsItemPublishRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemPublishRequestBuilder.MeAssignmentsItemPublishRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption @@ -67511,6 +69389,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesEd github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder::|public|dependentResources():*MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable; ctx:context.Context; requestConfiguration?:*MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder::|public|pathParameters:map[string]string @@ -67520,6 +69399,68 @@ github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesEd github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable; ctx:context.Context; requestConfiguration?:*MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder::|public|WithUrl(rawUrl:string):*MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder.MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder.MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder.MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder.MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder.MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder::|public|WithUrl(rawUrl:string):*MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable; ctx:context.Context; requestConfiguration?:*MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable; ctx:context.Context; requestConfiguration?:*MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|WithUrl(rawUrl:string):*MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration::|public|queryParameters:*MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|ByEducationAssignmentResourceId1(educationAssignmentResourceId1:string):*MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|Count():*MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable; ctx:context.Context; requestConfiguration?:*MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable; ctx:context.Context; requestConfiguration?:*MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|WithUrl(rawUrl:string):*MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesRequestBuilder.MeAssignmentsItemResourcesRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemResourcesRequestBuilder.MeAssignmentsItemResourcesRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -67766,6 +69707,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissions github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder::|public|dependentResources():*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder::|public|pathParameters:map[string]string @@ -67775,6 +69717,68 @@ github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissions github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder::|public|WithUrl(rawUrl:string):*MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder::|public|WithUrl(rawUrl:string):*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|WithUrl(rawUrl:string):*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration::|public|queryParameters:*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|ByEducationSubmissionResourceId1(educationSubmissionResourceId1:string):*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|Count():*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|WithUrl(rawUrl:string):*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesRequestBuilder.MeAssignmentsItemSubmissionsItemResourcesRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemResourcesRequestBuilder.MeAssignmentsItemSubmissionsItemResourcesRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -67861,6 +69865,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissions github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder::|public|dependentResources():*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder::|public|pathParameters:map[string]string @@ -67870,6 +69875,68 @@ github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissions github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder::|public|WithUrl(rawUrl:string):*MeAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder::|public|WithUrl(rawUrl:string):*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|WithUrl(rawUrl:string):*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration::|public|queryParameters:*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|ByEducationSubmissionResourceId1(educationSubmissionResourceId1:string):*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|Count():*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|WithUrl(rawUrl:string):*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilder.MeAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.education.MeAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilder.MeAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -68331,6 +70398,68 @@ github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingAssignmentSubm github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingAssignmentSubmissionsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReadingAssignmentSubmissionable; ctx:context.Context; requestConfiguration?:*ReportsReadingAssignmentSubmissionsRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingAssignmentSubmissionsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingAssignmentSubmissionsRequestBuilder::|public|WithUrl(rawUrl:string):*ReportsReadingAssignmentSubmissionsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesCountRequestBuilder.ReportsReadingCoachPassagesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesCountRequestBuilder.ReportsReadingCoachPassagesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesCountRequestBuilder.ReportsReadingCoachPassagesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesCountRequestBuilder.ReportsReadingCoachPassagesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesCountRequestBuilder.ReportsReadingCoachPassagesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ReportsReadingCoachPassagesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ReportsReadingCoachPassagesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ReportsReadingCoachPassagesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesCountRequestBuilder::|public|WithUrl(rawUrl:string):*ReportsReadingCoachPassagesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReadingCoachPassageable +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReadingCoachPassageable; ctx:context.Context; requestConfiguration?:*ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReadingCoachPassageable +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReadingCoachPassageable; ctx:context.Context; requestConfiguration?:*ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder::|public|WithUrl(rawUrl:string):*ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesRequestBuilder.ReportsReadingCoachPassagesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesRequestBuilder.ReportsReadingCoachPassagesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesRequestBuilder.ReportsReadingCoachPassagesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesRequestBuilder.ReportsReadingCoachPassagesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesRequestBuilder.ReportsReadingCoachPassagesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesRequestBuilder.ReportsReadingCoachPassagesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesRequestBuilder.ReportsReadingCoachPassagesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesRequestBuilder.ReportsReadingCoachPassagesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesRequestBuilder.ReportsReadingCoachPassagesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesRequestBuilder.ReportsReadingCoachPassagesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesRequestBuilder.ReportsReadingCoachPassagesRequestBuilderGetRequestConfiguration::|public|queryParameters:*ReportsReadingCoachPassagesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesRequestBuilder.ReportsReadingCoachPassagesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesRequestBuilder.ReportsReadingCoachPassagesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesRequestBuilder::|public|ByReadingCoachPassageId(readingCoachPassageId:string):*ReportsReadingCoachPassagesReadingCoachPassageItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesRequestBuilder::|public|Count():*ReportsReadingCoachPassagesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ReportsReadingCoachPassagesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReadingCoachPassageCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReadingCoachPassageable; ctx:context.Context; requestConfiguration?:*ReportsReadingCoachPassagesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReadingCoachPassageable +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ReportsReadingCoachPassagesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReadingCoachPassageable; ctx:context.Context; requestConfiguration?:*ReportsReadingCoachPassagesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReadingCoachPassagesRequestBuilder::|public|WithUrl(rawUrl:string):*ReportsReadingCoachPassagesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReflectCheckInResponsesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReflectCheckInResponsesCountRequestBuilder.ReportsReflectCheckInResponsesCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsReflectCheckInResponsesCountRequestBuilder.ReportsReflectCheckInResponsesCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -68410,13 +70539,77 @@ github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsRequestBuilder::|publ github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReportsRootable; ctx:context.Context; requestConfiguration?:*ReportsRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReportsRootable github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsRequestBuilder::|public|readingAssignmentSubmissions():*ReportsReadingAssignmentSubmissionsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsRequestBuilder::|public|readingCoachPassages():*ReportsReadingCoachPassagesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsRequestBuilder::|public|reflectCheckInResponses():*ReportsReflectCheckInResponsesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsRequestBuilder::|public|speakerAssignmentSubmissions():*ReportsSpeakerAssignmentSubmissionsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ReportsRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ReportsRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReportsRootable; ctx:context.Context; requestConfiguration?:*ReportsRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsRequestBuilder::|public|WithUrl(rawUrl:string):*ReportsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsCountRequestBuilder.ReportsSpeakerAssignmentSubmissionsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsCountRequestBuilder.ReportsSpeakerAssignmentSubmissionsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsCountRequestBuilder.ReportsSpeakerAssignmentSubmissionsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsCountRequestBuilder.ReportsSpeakerAssignmentSubmissionsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsCountRequestBuilder.ReportsSpeakerAssignmentSubmissionsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ReportsSpeakerAssignmentSubmissionsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ReportsSpeakerAssignmentSubmissionsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ReportsSpeakerAssignmentSubmissionsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ReportsSpeakerAssignmentSubmissionsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsRequestBuilder.ReportsSpeakerAssignmentSubmissionsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsRequestBuilder.ReportsSpeakerAssignmentSubmissionsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsRequestBuilder.ReportsSpeakerAssignmentSubmissionsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsRequestBuilder.ReportsSpeakerAssignmentSubmissionsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsRequestBuilder.ReportsSpeakerAssignmentSubmissionsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsRequestBuilder.ReportsSpeakerAssignmentSubmissionsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsRequestBuilder.ReportsSpeakerAssignmentSubmissionsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsRequestBuilder.ReportsSpeakerAssignmentSubmissionsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsRequestBuilder.ReportsSpeakerAssignmentSubmissionsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsRequestBuilder.ReportsSpeakerAssignmentSubmissionsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsRequestBuilder.ReportsSpeakerAssignmentSubmissionsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ReportsSpeakerAssignmentSubmissionsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsRequestBuilder.ReportsSpeakerAssignmentSubmissionsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsRequestBuilder.ReportsSpeakerAssignmentSubmissionsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsRequestBuilder::|public|BySpeakerAssignmentSubmissionId(speakerAssignmentSubmissionId:string):*ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsRequestBuilder::|public|Count():*ReportsSpeakerAssignmentSubmissionsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ReportsSpeakerAssignmentSubmissionsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SpeakerAssignmentSubmissionCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SpeakerAssignmentSubmissionable; ctx:context.Context; requestConfiguration?:*ReportsSpeakerAssignmentSubmissionsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SpeakerAssignmentSubmissionable +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ReportsSpeakerAssignmentSubmissionsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SpeakerAssignmentSubmissionable; ctx:context.Context; requestConfiguration?:*ReportsSpeakerAssignmentSubmissionsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsRequestBuilder::|public|WithUrl(rawUrl:string):*ReportsSpeakerAssignmentSubmissionsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SpeakerAssignmentSubmissionable +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SpeakerAssignmentSubmissionable; ctx:context.Context; requestConfiguration?:*ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SpeakerAssignmentSubmissionable +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SpeakerAssignmentSubmissionable; ctx:context.Context; requestConfiguration?:*ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder::|public|WithUrl(rawUrl:string):*ReportsSpeakerAssignmentSubmissionsSpeakerAssignmentSubmissionItemRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.SchoolsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.SchoolsCountRequestBuilder.SchoolsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.education.SchoolsCountRequestBuilder.SchoolsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -68846,6 +71039,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsEducatio github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsEducationAssignmentItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsEducationAssignmentItemRequestBuilderDeleteRequestConfiguration):void github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsEducationAssignmentItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsEducationAssignmentItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentable github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsEducationAssignmentItemRequestBuilder::|public|gradingCategory():*UsersItemAssignmentsItemGradingCategoryRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsEducationAssignmentItemRequestBuilder::|public|gradingScheme():*UsersItemAssignmentsItemGradingSchemeRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsEducationAssignmentItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentable; ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsEducationAssignmentItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentable github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsEducationAssignmentItemRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsEducationAssignmentItemRequestBuilder::|public|publish():*UsersItemAssignmentsItemPublishRequestBuilder @@ -69019,6 +71213,20 @@ github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemGrad github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemGradingCategoryRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemGradingCategoryRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemGradingCategoryRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemGradingCategoryRequestBuilder::|public|WithUrl(rawUrl:string):*UsersItemAssignmentsItemGradingCategoryRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemGradingSchemeRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemGradingSchemeRequestBuilder.UsersItemAssignmentsItemGradingSchemeRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemGradingSchemeRequestBuilder.UsersItemAssignmentsItemGradingSchemeRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemGradingSchemeRequestBuilder.UsersItemAssignmentsItemGradingSchemeRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemGradingSchemeRequestBuilder.UsersItemAssignmentsItemGradingSchemeRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemGradingSchemeRequestBuilder.UsersItemAssignmentsItemGradingSchemeRequestBuilderGetRequestConfiguration::|public|queryParameters:*UsersItemAssignmentsItemGradingSchemeRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemGradingSchemeRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemGradingSchemeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemGradingSchemeRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemGradingSchemeRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationGradingSchemeable +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemGradingSchemeRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemGradingSchemeRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemGradingSchemeRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemGradingSchemeRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemGradingSchemeRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemGradingSchemeRequestBuilder::|public|WithUrl(rawUrl:string):*UsersItemAssignmentsItemGradingSchemeRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemPublishRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemPublishRequestBuilder.UsersItemAssignmentsItemPublishRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemPublishRequestBuilder.UsersItemAssignmentsItemPublishRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption @@ -69057,6 +71265,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemReso github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder::|public|dependentResources():*UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable; ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder::|public|pathParameters:map[string]string @@ -69066,6 +71275,68 @@ github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemReso github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable; ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder::|public|WithUrl(rawUrl:string):*UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder.UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder.UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder.UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder.UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder.UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder::|public|WithUrl(rawUrl:string):*UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable; ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable; ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder::|public|WithUrl(rawUrl:string):*UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration::|public|queryParameters:*UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|ByEducationAssignmentResourceId1(educationAssignmentResourceId1:string):*UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|Count():*UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable; ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationAssignmentResourceable; ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder::|public|WithUrl(rawUrl:string):*UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesRequestBuilder.UsersItemAssignmentsItemResourcesRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemResourcesRequestBuilder.UsersItemAssignmentsItemResourcesRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -69312,6 +71583,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubm github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder::|public|dependentResources():*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder::|public|pathParameters:map[string]string @@ -69321,6 +71593,68 @@ github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubm github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder::|public|WithUrl(rawUrl:string):*UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder::|public|WithUrl(rawUrl:string):*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|WithUrl(rawUrl:string):*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration::|public|queryParameters:*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|ByEducationSubmissionResourceId1(educationSubmissionResourceId1:string):*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|Count():*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder::|public|WithUrl(rawUrl:string):*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilder.UsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilder.UsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -69407,6 +71741,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubm github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder::|public|dependentResources():*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder::|public|pathParameters:map[string]string @@ -69416,6 +71751,68 @@ github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubm github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder::|public|WithUrl(rawUrl:string):*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder::|public|WithUrl(rawUrl:string):*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder::|public|WithUrl(rawUrl:string):*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration::|public|queryParameters:*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|ByEducationSubmissionResourceId1(educationSubmissionResourceId1:string):*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|Count():*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EducationSubmissionResourceable; ctx:context.Context; requestConfiguration?:*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder::|public|WithUrl(rawUrl:string):*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilder.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.education.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilder.UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -70066,6 +72463,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.employeeExperienceR github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.employeeExperienceRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EmployeeExperienceable; ctx:context.Context; requestConfiguration?:*EmployeeExperienceRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EmployeeExperienceable github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.employeeExperienceRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.employeeExperienceRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.employeeExperienceRequestBuilder::|public|roles():*RolesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.employeeExperienceRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*EmployeeExperienceRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.employeeExperienceRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EmployeeExperienceable; ctx:context.Context; requestConfiguration?:*EmployeeExperienceRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.employeeExperienceRequestBuilder::|public|urlTemplate:string @@ -70450,6 +72848,201 @@ github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.LearningProvidersRe github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.LearningProvidersRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LearningProviderable; ctx:context.Context; requestConfiguration?:*LearningProvidersRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.LearningProvidersRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.LearningProvidersRequestBuilder::|public|WithUrl(rawUrl:string):*LearningProvidersRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesCountRequestBuilder.RolesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesCountRequestBuilder.RolesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesCountRequestBuilder.RolesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesCountRequestBuilder.RolesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesCountRequestBuilder.RolesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*RolesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*RolesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*RolesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesCountRequestBuilder::|public|WithUrl(rawUrl:string):*RolesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesEngagementRoleItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesEngagementRoleItemRequestBuilder.RolesEngagementRoleItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesEngagementRoleItemRequestBuilder.RolesEngagementRoleItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesEngagementRoleItemRequestBuilder.RolesEngagementRoleItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesEngagementRoleItemRequestBuilder.RolesEngagementRoleItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesEngagementRoleItemRequestBuilder.RolesEngagementRoleItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesEngagementRoleItemRequestBuilder.RolesEngagementRoleItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesEngagementRoleItemRequestBuilder.RolesEngagementRoleItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*RolesEngagementRoleItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesEngagementRoleItemRequestBuilder.RolesEngagementRoleItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesEngagementRoleItemRequestBuilder.RolesEngagementRoleItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesEngagementRoleItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesEngagementRoleItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesEngagementRoleItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*RolesEngagementRoleItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesEngagementRoleItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*RolesEngagementRoleItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesEngagementRoleItemRequestBuilder::|public|members():*RolesItemMembersRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesEngagementRoleItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable; ctx:context.Context; requestConfiguration?:*RolesEngagementRoleItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesEngagementRoleItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesEngagementRoleItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesEngagementRoleItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*RolesEngagementRoleItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesEngagementRoleItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*RolesEngagementRoleItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesEngagementRoleItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable; ctx:context.Context; requestConfiguration?:*RolesEngagementRoleItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesEngagementRoleItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesEngagementRoleItemRequestBuilder::|public|WithUrl(rawUrl:string):*RolesEngagementRoleItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersCountRequestBuilder.RolesItemMembersCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersCountRequestBuilder.RolesItemMembersCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersCountRequestBuilder.RolesItemMembersCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersCountRequestBuilder.RolesItemMembersCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersCountRequestBuilder.RolesItemMembersCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*RolesItemMembersCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*RolesItemMembersCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*RolesItemMembersCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersCountRequestBuilder::|public|WithUrl(rawUrl:string):*RolesItemMembersCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersEngagementRoleMemberItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersEngagementRoleMemberItemRequestBuilder.RolesItemMembersEngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersEngagementRoleMemberItemRequestBuilder.RolesItemMembersEngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersEngagementRoleMemberItemRequestBuilder.RolesItemMembersEngagementRoleMemberItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersEngagementRoleMemberItemRequestBuilder.RolesItemMembersEngagementRoleMemberItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersEngagementRoleMemberItemRequestBuilder.RolesItemMembersEngagementRoleMemberItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersEngagementRoleMemberItemRequestBuilder.RolesItemMembersEngagementRoleMemberItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersEngagementRoleMemberItemRequestBuilder.RolesItemMembersEngagementRoleMemberItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*RolesItemMembersEngagementRoleMemberItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersEngagementRoleMemberItemRequestBuilder.RolesItemMembersEngagementRoleMemberItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersEngagementRoleMemberItemRequestBuilder.RolesItemMembersEngagementRoleMemberItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersEngagementRoleMemberItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersEngagementRoleMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersEngagementRoleMemberItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*RolesItemMembersEngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersEngagementRoleMemberItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*RolesItemMembersEngagementRoleMemberItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersEngagementRoleMemberItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable; ctx:context.Context; requestConfiguration?:*RolesItemMembersEngagementRoleMemberItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersEngagementRoleMemberItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersEngagementRoleMemberItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersEngagementRoleMemberItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*RolesItemMembersEngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersEngagementRoleMemberItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*RolesItemMembersEngagementRoleMemberItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersEngagementRoleMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable; ctx:context.Context; requestConfiguration?:*RolesItemMembersEngagementRoleMemberItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersEngagementRoleMemberItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersEngagementRoleMemberItemRequestBuilder::|public|user():*RolesItemMembersItemUserRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersEngagementRoleMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):*RolesItemMembersEngagementRoleMemberItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserMailboxSettingsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserMailboxSettingsRequestBuilder.RolesItemMembersItemUserMailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserMailboxSettingsRequestBuilder.RolesItemMembersItemUserMailboxSettingsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserMailboxSettingsRequestBuilder.RolesItemMembersItemUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserMailboxSettingsRequestBuilder.RolesItemMembersItemUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserMailboxSettingsRequestBuilder.RolesItemMembersItemUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|queryParameters:*RolesItemMembersItemUserMailboxSettingsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserMailboxSettingsRequestBuilder.RolesItemMembersItemUserMailboxSettingsRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserMailboxSettingsRequestBuilder.RolesItemMembersItemUserMailboxSettingsRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserMailboxSettingsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserMailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserMailboxSettingsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*RolesItemMembersItemUserMailboxSettingsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserMailboxSettingsRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable; ctx:context.Context; requestConfiguration?:*RolesItemMembersItemUserMailboxSettingsRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserMailboxSettingsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserMailboxSettingsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserMailboxSettingsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*RolesItemMembersItemUserMailboxSettingsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserMailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable; ctx:context.Context; requestConfiguration?:*RolesItemMembersItemUserMailboxSettingsRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserMailboxSettingsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserMailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):*RolesItemMembersItemUserMailboxSettingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserRequestBuilder.RolesItemMembersItemUserRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserRequestBuilder.RolesItemMembersItemUserRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserRequestBuilder.RolesItemMembersItemUserRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserRequestBuilder.RolesItemMembersItemUserRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserRequestBuilder.RolesItemMembersItemUserRequestBuilderGetRequestConfiguration::|public|queryParameters:*RolesItemMembersItemUserRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*RolesItemMembersItemUserRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserRequestBuilder::|public|mailboxSettings():*RolesItemMembersItemUserMailboxSettingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserRequestBuilder::|public|serviceProvisioningErrors():*RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*RolesItemMembersItemUserRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserRequestBuilder::|public|WithUrl(rawUrl:string):*RolesItemMembersItemUserRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder.RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder.RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder.RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder.RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder.RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder::|public|WithUrl(rawUrl:string):*RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|queryParameters:*RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder::|public|Count():*RolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):*RolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersRequestBuilder.RolesItemMembersRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersRequestBuilder.RolesItemMembersRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersRequestBuilder.RolesItemMembersRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersRequestBuilder.RolesItemMembersRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersRequestBuilder.RolesItemMembersRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersRequestBuilder.RolesItemMembersRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersRequestBuilder.RolesItemMembersRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersRequestBuilder.RolesItemMembersRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersRequestBuilder.RolesItemMembersRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersRequestBuilder.RolesItemMembersRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersRequestBuilder.RolesItemMembersRequestBuilderGetRequestConfiguration::|public|queryParameters:*RolesItemMembersRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersRequestBuilder.RolesItemMembersRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersRequestBuilder.RolesItemMembersRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersRequestBuilder::|public|ByEngagementRoleMemberId(engagementRoleMemberId:string):*RolesItemMembersEngagementRoleMemberItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersRequestBuilder::|public|Count():*RolesItemMembersCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*RolesItemMembersRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable; ctx:context.Context; requestConfiguration?:*RolesItemMembersRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*RolesItemMembersRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable; ctx:context.Context; requestConfiguration?:*RolesItemMembersRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesItemMembersRequestBuilder::|public|WithUrl(rawUrl:string):*RolesItemMembersRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesRequestBuilder.RolesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesRequestBuilder.RolesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesRequestBuilder.RolesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesRequestBuilder.RolesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesRequestBuilder.RolesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesRequestBuilder.RolesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesRequestBuilder.RolesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesRequestBuilder.RolesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesRequestBuilder.RolesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesRequestBuilder.RolesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesRequestBuilder.RolesRequestBuilderGetRequestConfiguration::|public|queryParameters:*RolesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesRequestBuilder.RolesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesRequestBuilder.RolesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesRequestBuilder::|public|ByEngagementRoleId(engagementRoleId:string):*RolesEngagementRoleItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesRequestBuilder::|public|Count():*RolesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*RolesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable; ctx:context.Context; requestConfiguration?:*RolesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*RolesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable; ctx:context.Context; requestConfiguration?:*RolesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.employeeexperience.RolesRequestBuilder::|public|WithUrl(rawUrl:string):*RolesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.external.ConnectionsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.external.ConnectionsCountRequestBuilder.ConnectionsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.external.ConnectionsCountRequestBuilder.ConnectionsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -71460,6 +74053,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.groups.GroupItemRequestBuilder::|publi github.com/microsoftgraph/msgraph-sdk-go/.groups.GroupItemRequestBuilder::|public|members():*ItemMembersRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.groups.GroupItemRequestBuilder::|public|membersWithLicenseErrors():*ItemMembersWithLicenseErrorsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.groups.GroupItemRequestBuilder::|public|onenote():*ItemOnenoteRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.groups.GroupItemRequestBuilder::|public|onPremisesSyncBehavior():*ItemOnPremisesSyncBehaviorRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.groups.GroupItemRequestBuilder::|public|owners():*ItemOwnersRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.groups.GroupItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable; ctx:context.Context; requestConfiguration?:*GroupItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable github.com/microsoftgraph/msgraph-sdk-go/.groups.GroupItemRequestBuilder::|public|pathParameters:map[string]string @@ -77428,6 +80022,28 @@ github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemOnenoteSectionsRequestBuild github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemOnenoteSectionsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnenoteSectionable; ctx:context.Context; requestConfiguration?:*ItemOnenoteSectionsRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemOnenoteSectionsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemOnenoteSectionsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemOnenoteSectionsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemOnPremisesSyncBehaviorRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemOnPremisesSyncBehaviorRequestBuilder.ItemOnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemOnPremisesSyncBehaviorRequestBuilder.ItemOnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemOnPremisesSyncBehaviorRequestBuilder.ItemOnPremisesSyncBehaviorRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemOnPremisesSyncBehaviorRequestBuilder.ItemOnPremisesSyncBehaviorRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemOnPremisesSyncBehaviorRequestBuilder.ItemOnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemOnPremisesSyncBehaviorRequestBuilder.ItemOnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemOnPremisesSyncBehaviorRequestBuilder.ItemOnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemOnPremisesSyncBehaviorRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemOnPremisesSyncBehaviorRequestBuilder.ItemOnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemOnPremisesSyncBehaviorRequestBuilder.ItemOnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemOnPremisesSyncBehaviorRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemOnPremisesSyncBehaviorRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemOnPremisesSyncBehaviorRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemOnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemOnPremisesSyncBehaviorRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemOnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesSyncBehaviorable +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemOnPremisesSyncBehaviorRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesSyncBehaviorable; ctx:context.Context; requestConfiguration?:*ItemOnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesSyncBehaviorable +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemOnPremisesSyncBehaviorRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemOnPremisesSyncBehaviorRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemOnPremisesSyncBehaviorRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemOnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemOnPremisesSyncBehaviorRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemOnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemOnPremisesSyncBehaviorRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesSyncBehaviorable; ctx:context.Context; requestConfiguration?:*ItemOnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemOnPremisesSyncBehaviorRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemOnPremisesSyncBehaviorRequestBuilder::|public|WithUrl(rawUrl:string):*ItemOnPremisesSyncBehaviorRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemOwnersCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemOwnersCountRequestBuilder.ItemOwnersCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemOwnersCountRequestBuilder.ItemOwnersCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -99532,11 +102148,266 @@ github.com/microsoftgraph/msgraph-sdk-go/.identity.identityRequestBuilder::|publ github.com/microsoftgraph/msgraph-sdk-go/.identity.identityRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IdentityContainerable; ctx:context.Context; requestConfiguration?:*IdentityRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IdentityContainerable github.com/microsoftgraph/msgraph-sdk-go/.identity.identityRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.identity.identityRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identity.identityRequestBuilder::|public|riskPrevention():*RiskPreventionRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identity.identityRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*IdentityRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.identity.identityRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IdentityContainerable; ctx:context.Context; requestConfiguration?:*IdentityRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.identity.identityRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.identity.identityRequestBuilder::|public|userFlowAttributes():*UserFlowAttributesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identity.identityRequestBuilder::|public|WithUrl(rawUrl:string):*IdentityRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersCountRequestBuilder.RiskPreventionFraudProtectionProvidersCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersCountRequestBuilder.RiskPreventionFraudProtectionProvidersCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersCountRequestBuilder.RiskPreventionFraudProtectionProvidersCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersCountRequestBuilder.RiskPreventionFraudProtectionProvidersCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersCountRequestBuilder.RiskPreventionFraudProtectionProvidersCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*RiskPreventionFraudProtectionProvidersCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*RiskPreventionFraudProtectionProvidersCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*RiskPreventionFraudProtectionProvidersCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersCountRequestBuilder::|public|WithUrl(rawUrl:string):*RiskPreventionFraudProtectionProvidersCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FraudProtectionProviderable +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FraudProtectionProviderable; ctx:context.Context; requestConfiguration?:*RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FraudProtectionProviderable +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FraudProtectionProviderable; ctx:context.Context; requestConfiguration?:*RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder::|public|WithUrl(rawUrl:string):*RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersRequestBuilder.RiskPreventionFraudProtectionProvidersRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersRequestBuilder.RiskPreventionFraudProtectionProvidersRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersRequestBuilder.RiskPreventionFraudProtectionProvidersRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersRequestBuilder.RiskPreventionFraudProtectionProvidersRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersRequestBuilder.RiskPreventionFraudProtectionProvidersRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersRequestBuilder.RiskPreventionFraudProtectionProvidersRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersRequestBuilder.RiskPreventionFraudProtectionProvidersRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersRequestBuilder.RiskPreventionFraudProtectionProvidersRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersRequestBuilder.RiskPreventionFraudProtectionProvidersRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersRequestBuilder.RiskPreventionFraudProtectionProvidersRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersRequestBuilder.RiskPreventionFraudProtectionProvidersRequestBuilderGetRequestConfiguration::|public|queryParameters:*RiskPreventionFraudProtectionProvidersRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersRequestBuilder.RiskPreventionFraudProtectionProvidersRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersRequestBuilder.RiskPreventionFraudProtectionProvidersRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersRequestBuilder::|public|ByFraudProtectionProviderId(fraudProtectionProviderId:string):*RiskPreventionFraudProtectionProvidersFraudProtectionProviderItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersRequestBuilder::|public|Count():*RiskPreventionFraudProtectionProvidersCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*RiskPreventionFraudProtectionProvidersRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FraudProtectionProviderCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FraudProtectionProviderable; ctx:context.Context; requestConfiguration?:*RiskPreventionFraudProtectionProvidersRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FraudProtectionProviderable +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*RiskPreventionFraudProtectionProvidersRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FraudProtectionProviderable; ctx:context.Context; requestConfiguration?:*RiskPreventionFraudProtectionProvidersRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionFraudProtectionProvidersRequestBuilder::|public|WithUrl(rawUrl:string):*RiskPreventionFraudProtectionProvidersRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionRequestBuilder.RiskPreventionRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionRequestBuilder.RiskPreventionRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionRequestBuilder.RiskPreventionRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionRequestBuilder.RiskPreventionRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionRequestBuilder.RiskPreventionRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionRequestBuilder.RiskPreventionRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionRequestBuilder.RiskPreventionRequestBuilderGetRequestConfiguration::|public|queryParameters:*RiskPreventionRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionRequestBuilder.RiskPreventionRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionRequestBuilder.RiskPreventionRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*RiskPreventionRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionRequestBuilder::|public|fraudProtectionProviders():*RiskPreventionFraudProtectionProvidersRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*RiskPreventionRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RiskPreventionContainerable +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RiskPreventionContainerable; ctx:context.Context; requestConfiguration?:*RiskPreventionRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RiskPreventionContainerable +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*RiskPreventionRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*RiskPreventionRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RiskPreventionContainerable; ctx:context.Context; requestConfiguration?:*RiskPreventionRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionRequestBuilder::|public|webApplicationFirewallProviders():*RiskPreventionWebApplicationFirewallProvidersRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionRequestBuilder::|public|webApplicationFirewallVerifications():*RiskPreventionWebApplicationFirewallVerificationsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionRequestBuilder::|public|WithUrl(rawUrl:string):*RiskPreventionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersCountRequestBuilder.RiskPreventionWebApplicationFirewallProvidersCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersCountRequestBuilder.RiskPreventionWebApplicationFirewallProvidersCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersCountRequestBuilder.RiskPreventionWebApplicationFirewallProvidersCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersCountRequestBuilder.RiskPreventionWebApplicationFirewallProvidersCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersCountRequestBuilder.RiskPreventionWebApplicationFirewallProvidersCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*RiskPreventionWebApplicationFirewallProvidersCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*RiskPreventionWebApplicationFirewallProvidersCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*RiskPreventionWebApplicationFirewallProvidersCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersCountRequestBuilder::|public|WithUrl(rawUrl:string):*RiskPreventionWebApplicationFirewallProvidersCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBody::|public|GetHostName():*string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBody::|public|SetHostName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBodyable::|public|GetHostName():*string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBodyable::|public|SetHostName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBody~~>RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilder.RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilder.RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilder::|public|Post(body:RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBodyable; ctx:context.Context; requestConfiguration?:*RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallVerificationModelable +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilder::|public|ToPostRequestInformation(body:RiskPreventionWebApplicationFirewallProvidersItemVerifyPostRequestBodyable; ctx:context.Context; requestConfiguration?:*RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilder::|public|WithUrl(rawUrl:string):*RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersRequestBuilder.RiskPreventionWebApplicationFirewallProvidersRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersRequestBuilder.RiskPreventionWebApplicationFirewallProvidersRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersRequestBuilder.RiskPreventionWebApplicationFirewallProvidersRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersRequestBuilder.RiskPreventionWebApplicationFirewallProvidersRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersRequestBuilder.RiskPreventionWebApplicationFirewallProvidersRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersRequestBuilder.RiskPreventionWebApplicationFirewallProvidersRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersRequestBuilder.RiskPreventionWebApplicationFirewallProvidersRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersRequestBuilder.RiskPreventionWebApplicationFirewallProvidersRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersRequestBuilder.RiskPreventionWebApplicationFirewallProvidersRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersRequestBuilder.RiskPreventionWebApplicationFirewallProvidersRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersRequestBuilder.RiskPreventionWebApplicationFirewallProvidersRequestBuilderGetRequestConfiguration::|public|queryParameters:*RiskPreventionWebApplicationFirewallProvidersRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersRequestBuilder.RiskPreventionWebApplicationFirewallProvidersRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersRequestBuilder.RiskPreventionWebApplicationFirewallProvidersRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersRequestBuilder::|public|ByWebApplicationFirewallProviderId(webApplicationFirewallProviderId:string):*RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersRequestBuilder::|public|Count():*RiskPreventionWebApplicationFirewallProvidersCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*RiskPreventionWebApplicationFirewallProvidersRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallProviderCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallProviderable; ctx:context.Context; requestConfiguration?:*RiskPreventionWebApplicationFirewallProvidersRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallProviderable +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*RiskPreventionWebApplicationFirewallProvidersRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallProviderable; ctx:context.Context; requestConfiguration?:*RiskPreventionWebApplicationFirewallProvidersRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersRequestBuilder::|public|WithUrl(rawUrl:string):*RiskPreventionWebApplicationFirewallProvidersRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallProviderable +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallProviderable; ctx:context.Context; requestConfiguration?:*RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallProviderable +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallProviderable; ctx:context.Context; requestConfiguration?:*RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder::|public|verify():*RiskPreventionWebApplicationFirewallProvidersItemVerifyRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder::|public|WithUrl(rawUrl:string):*RiskPreventionWebApplicationFirewallProvidersWebApplicationFirewallProviderItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder::|public|WithUrl(rawUrl:string):*RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilderGetRequestConfiguration::|public|queryParameters:*RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallProviderable +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder::|public|WithUrl(rawUrl:string):*RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsRequestBuilderGetRequestConfiguration::|public|queryParameters:*RiskPreventionWebApplicationFirewallVerificationsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsRequestBuilder::|public|ByWebApplicationFirewallVerificationModelId(webApplicationFirewallVerificationModelId:string):*RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsRequestBuilder::|public|Count():*RiskPreventionWebApplicationFirewallVerificationsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*RiskPreventionWebApplicationFirewallVerificationsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallVerificationModelCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallVerificationModelable; ctx:context.Context; requestConfiguration?:*RiskPreventionWebApplicationFirewallVerificationsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallVerificationModelable +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*RiskPreventionWebApplicationFirewallVerificationsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallVerificationModelable; ctx:context.Context; requestConfiguration?:*RiskPreventionWebApplicationFirewallVerificationsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsRequestBuilder::|public|WithUrl(rawUrl:string):*RiskPreventionWebApplicationFirewallVerificationsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallVerificationModelable +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallVerificationModelable; ctx:context.Context; requestConfiguration?:*RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallVerificationModelable +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder::|public|provider():*RiskPreventionWebApplicationFirewallVerificationsItemProviderRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WebApplicationFirewallVerificationModelable; ctx:context.Context; requestConfiguration?:*RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identity.RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder::|public|WithUrl(rawUrl:string):*RiskPreventionWebApplicationFirewallVerificationsWebApplicationFirewallVerificationModelItemRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identity.UserFlowAttributesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identity.UserFlowAttributesCountRequestBuilder.UserFlowAttributesCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.identity.UserFlowAttributesCountRequestBuilder.UserFlowAttributesCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -108973,6 +111844,33 @@ github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsD github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateRequestBuilder::|public|ToPostRequestInformation(body:LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateActivatePostRequestBodyable; ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody::|public|GetScope():ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.ActivationScopeable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody::|public|SetScope(value:ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.ActivationScopeable):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBodyable::|public|GetScope():ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.ActivationScopeable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBodyable::|public|SetScope(value:ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.ActivationScopeable):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody~~>LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|Post(body:LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBodyable; ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|ToPostRequestInformation(body:LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBodyable; ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionCreateNewVersionPostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionCreateNewVersionPostRequestBody::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionCreateNewVersionPostRequestBody::|public|GetBackingStore():BackingStore @@ -109025,6 +111923,56 @@ github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsD github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsCountRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsCountRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsCountRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetRequestConfiguration::|public|queryParameters:*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder::|public|ByRunId1(runId1:string):*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder::|public|Count():*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetRequestConfiguration):ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.RunCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration):ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Runable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsCountRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsCountRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -109210,6 +112158,56 @@ github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsD github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsCountRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsCountRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsCountRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration::|public|queryParameters:*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|ByRunId1(runId1:string):*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|Count():*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration):ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.RunCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration):ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Runable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:[]string github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilderGetQueryParameters::|public|Select:[]string @@ -109494,6 +112492,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsD github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilderGetRequestConfiguration):ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.UserProcessingResultable github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder::|public|reprocessedRuns():*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder::|public|subject():*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder::|public|taskProcessingResults():*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder @@ -109544,6 +112543,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsD github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilderGetRequestConfiguration):ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Runable github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilder::|public|reprocessedRuns():*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemReprocessedRunsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilder::|public|taskProcessingResults():*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilderGetRequestConfiguration):*RequestInformation @@ -110062,6 +113062,56 @@ github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsD github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsCountRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsCountRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsCountRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration::|public|queryParameters:*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|ByRunId(runId:string):*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|Count():*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration):ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.RunCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration):ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Runable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:[]string github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilder.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilderGetQueryParameters::|public|Select:[]string @@ -110346,6 +113396,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsD github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsUserProcessingResultItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsUserProcessingResultItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsUserProcessingResultItemRequestBuilderGetRequestConfiguration):ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.UserProcessingResultable github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsUserProcessingResultItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsUserProcessingResultItemRequestBuilder::|public|reprocessedRuns():*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsUserProcessingResultItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsUserProcessingResultItemRequestBuilder::|public|subject():*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsUserProcessingResultItemRequestBuilder::|public|taskProcessingResults():*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder @@ -110816,6 +113867,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsD github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilderGetRequestConfiguration):ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Workflowable github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder::|public|lastModifiedBy():*LifecycleWorkflowsDeletedItemsWorkflowsItemLastModifiedByRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceActivate():*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceActivateWithScope():*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceCreateNewVersion():*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceRestore():*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder::|public|pathParameters:map[string]string @@ -111267,6 +114319,33 @@ github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsW github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateRequestBuilder::|public|ToPostRequestInformation(body:LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateActivatePostRequestBodyable; ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody::|public|GetScope():ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.ActivationScopeable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody::|public|SetScope(value:ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.ActivationScopeable):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBodyable::|public|GetScope():ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.ActivationScopeable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBodyable::|public|SetScope(value:ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.ActivationScopeable):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBody~~>LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|Post(body:LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBodyable; ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|ToPostRequestInformation(body:LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeActivateWithScopePostRequestBodyable; ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionCreateNewVersionPostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionCreateNewVersionPostRequestBody::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionCreateNewVersionPostRequestBody::|public|GetBackingStore():BackingStore @@ -111319,6 +114398,56 @@ github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsW github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemRunsCountRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsCountRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsCountRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsWorkflowsItemRunsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetRequestConfiguration::|public|queryParameters:*LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder::|public|ByRunId1(runId1:string):*LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder::|public|Count():*LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetRequestConfiguration):ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.RunCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration):ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Runable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRunItemRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsCountRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsCountRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -111504,6 +114633,56 @@ github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsW github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsCountRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsCountRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsCountRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration::|public|queryParameters:*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|ByRunId1(runId1:string):*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|Count():*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration):ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.RunCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration):ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Runable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:[]string github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilder.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilderGetQueryParameters::|public|Select:[]string @@ -111788,6 +114967,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsW github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilderGetRequestConfiguration):ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.UserProcessingResultable github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder::|public|reprocessedRuns():*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemReprocessedRunsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder::|public|subject():*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder::|public|taskProcessingResults():*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder @@ -111838,6 +115018,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsW github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilderGetRequestConfiguration):ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Runable github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilder::|public|reprocessedRuns():*LifecycleWorkflowsWorkflowsItemRunsItemReprocessedRunsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilder::|public|taskProcessingResults():*LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilderGetRequestConfiguration):*RequestInformation @@ -112356,6 +115537,56 @@ github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsW github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemUserProcessingResultsCountRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsCountRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsCountRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsWorkflowsItemUserProcessingResultsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration::|public|queryParameters:*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|ByRunId(runId:string):*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|Count():*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration):ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.RunCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration):ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Runable +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder::|public|WithUrl(rawUrl:string):*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRunItemRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilder.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:[]string github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilder.LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilderGetQueryParameters::|public|Select:[]string @@ -112640,6 +115871,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsW github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsUserProcessingResultItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsUserProcessingResultItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsItemUserProcessingResultsUserProcessingResultItemRequestBuilderGetRequestConfiguration):ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.UserProcessingResultable github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsUserProcessingResultItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsUserProcessingResultItemRequestBuilder::|public|reprocessedRuns():*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemReprocessedRunsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsUserProcessingResultItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsUserProcessingResultItemRequestBuilder::|public|subject():*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsItemUserProcessingResultsUserProcessingResultItemRequestBuilder::|public|taskProcessingResults():*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder @@ -113116,6 +116348,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsW github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilderGetRequestConfiguration):ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Workflowable github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder::|public|lastModifiedBy():*LifecycleWorkflowsWorkflowsItemLastModifiedByRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceActivate():*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceActivateWithScope():*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceCreateNewVersion():*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceRestore():*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.identitygovernance.LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder::|public|Patch(body:ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Workflowable; ctx:context.Context; requestConfiguration?:*LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilderPatchRequestConfiguration):ibf6ed4fc8e373ed2600905053a507c004671ad1749cb4b6b77078a908490c430.Workflowable @@ -116985,6 +120218,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageCustomExtensionSta github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageCustomExtensionStage::0004-assignmentFourteenDaysBeforeExpiration github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageCustomExtensionStage::0005-assignmentOneDayBeforeExpiration github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageCustomExtensionStage::0006-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageDynamicApprovalStage-->*AccessPackageApprovalStage +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageDynamicApprovalStage::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageDynamicApprovalStage::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageDynamicApprovalStage::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageDynamicApprovalStage::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageDynamicApprovalStage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageDynamicApprovalStageable~~>AccessPackageApprovalStageable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageExternalUserLifecycleAction::0000-none github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageExternalUserLifecycleAction::0001-blockSignIn github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageExternalUserLifecycleAction::0002-blockSignInAndDelete @@ -117085,6 +120325,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageQuestionCollection github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageQuestionCollectionResponseable::|public|GetValue():[]AccessPackageQuestionable github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageQuestionCollectionResponseable::|public|SetValue(value:[]AccessPackageQuestionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageQuestionCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageRequestApprovalStageCallbackConfiguration-->*CustomExtensionCallbackConfiguration +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageRequestApprovalStageCallbackConfiguration::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageRequestApprovalStageCallbackConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageRequestApprovalStageCallbackConfiguration::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageRequestApprovalStageCallbackConfiguration::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageRequestApprovalStageCallbackConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageRequestApprovalStageCallbackConfigurationable~~>CustomExtensionCallbackConfigurationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageRequestState::0000-submitted github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageRequestState::0001-pendingApproval github.com/microsoftgraph/msgraph-sdk-go/.models.accessPackageRequestState::0002-delivering @@ -118300,6 +121547,34 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.accountTargetContentType::0001- github.com/microsoftgraph/msgraph-sdk-go/.models.accountTargetContentType::0002-addressBook github.com/microsoftgraph/msgraph-sdk-go/.models.accountTargetContentType::0003-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.accountTargetContent~~>AccountTargetContentable +github.com/microsoftgraph/msgraph-sdk-go/.models.actionItem::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.actionItem::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.actionItem::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.actionItem::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.actionItem::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.actionItem::|public|GetOwnerDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.actionItem::|public|GetText():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.actionItem::|public|GetTitle():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.actionItem::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.actionItem::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.actionItem::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.actionItem::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.actionItem::|public|SetOwnerDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.actionItem::|public|SetText(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.actionItem::|public|SetTitle(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.actionItem::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.actionItemable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.actionItemable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.actionItemable::|public|GetOwnerDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.actionItemable::|public|GetText():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.actionItemable::|public|GetTitle():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.actionItemable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.actionItemable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.actionItemable::|public|SetOwnerDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.actionItemable::|public|SetText(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.actionItemable::|public|SetTitle(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.actionItemable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.actionItem~~>ActionItemable github.com/microsoftgraph/msgraph-sdk-go/.models.actionResultPart::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.actionResultPart::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.actionResultPart::|public|GetBackingStore():BackingStore @@ -118482,6 +121757,31 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.addressBookAccountTargetContent github.com/microsoftgraph/msgraph-sdk-go/.models.addressBookAccountTargetContentable::|public|GetAccountTargetEmails():[]string github.com/microsoftgraph/msgraph-sdk-go/.models.addressBookAccountTargetContentable::|public|SetAccountTargetEmails(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.addressBookAccountTargetContentable~~>AccountTargetContentable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.adhocCall-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.adhocCall::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.adhocCall::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.adhocCall::|public|GetRecordings():[]CallRecordingable +github.com/microsoftgraph/msgraph-sdk-go/.models.adhocCall::|public|GetTranscripts():[]CallTranscriptable +github.com/microsoftgraph/msgraph-sdk-go/.models.adhocCall::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.adhocCall::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.adhocCall::|public|SetRecordings(value:[]CallRecordingable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.adhocCall::|public|SetTranscripts(value:[]CallTranscriptable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.adhocCall::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.adhocCallable::|public|GetRecordings():[]CallRecordingable +github.com/microsoftgraph/msgraph-sdk-go/.models.adhocCallable::|public|GetTranscripts():[]CallTranscriptable +github.com/microsoftgraph/msgraph-sdk-go/.models.adhocCallable::|public|SetRecordings(value:[]CallRecordingable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.adhocCallable::|public|SetTranscripts(value:[]CallTranscriptable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.adhocCallable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.adhocCallCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.adhocCallCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.adhocCallCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.adhocCallCollectionResponse::|public|GetValue():[]AdhocCallable +github.com/microsoftgraph/msgraph-sdk-go/.models.adhocCallCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.adhocCallCollectionResponse::|public|SetValue(value:[]AdhocCallable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.adhocCallCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.adhocCallCollectionResponseable::|public|GetValue():[]AdhocCallable +github.com/microsoftgraph/msgraph-sdk-go/.models.adhocCallCollectionResponseable::|public|SetValue(value:[]AdhocCallable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.adhocCallCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.admin::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.admin::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.admin::|public|GetBackingStore():BackingStore @@ -118889,6 +122189,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.agreementFileVersionCollectionR github.com/microsoftgraph/msgraph-sdk-go/.models.agreementFileVersionCollectionResponseable::|public|GetValue():[]AgreementFileVersionable github.com/microsoftgraph/msgraph-sdk-go/.models.agreementFileVersionCollectionResponseable::|public|SetValue(value:[]AgreementFileVersionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.agreementFileVersionCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.aiAgentInfo-->*AiInteractionEntity +github.com/microsoftgraph/msgraph-sdk-go/.models.aiAgentInfo::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiAgentInfo::|public|GetBlueprintId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.aiAgentInfo::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.aiAgentInfo::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.aiAgentInfo::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiAgentInfo::|public|SetBlueprintId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiAgentInfo::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.aiAgentInfoable::|public|GetBlueprintId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.aiAgentInfoable::|public|SetBlueprintId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiAgentInfoable~~>AiInteractionEntityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteraction-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteraction::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteraction::|public|GetAppClass():*string @@ -119016,6 +122327,34 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionContextable::|publ github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionContextable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionContextable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionContext~~>AiInteractionContextable +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionEntity::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionEntity::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionEntity::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionEntity::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionEntity::|public|GetIdentifier():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionEntity::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionEntity::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionEntity::|public|GetVersion():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionEntity::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionEntity::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionEntity::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionEntity::|public|SetIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionEntity::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionEntity::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionEntity::|public|SetVersion(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionEntity::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionEntityable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionEntityable::|public|GetIdentifier():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionEntityable::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionEntityable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionEntityable::|public|GetVersion():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionEntityable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionEntityable::|public|SetIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionEntityable::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionEntityable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionEntityable::|public|SetVersion(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionEntityable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionEntity~~>AiInteractionEntityable github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionHistory-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionHistory::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionHistory::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -119094,37 +122433,27 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionMentionedIdentityS github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionMentionedIdentitySetable::|public|SetTag(value:TeamworkTagIdentityable):void github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionMentionedIdentitySetable~~>IdentitySetable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionMention~~>AiInteractionMentionable +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin-->*AiInteractionEntity github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|constructor():void -github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|GetAdditionalData():map[string]any -github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) -github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|GetIdentifier():*string -github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|GetName():*string -github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|GetOdataType():*string -github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|GetVersion():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|Serialize(writer:SerializationWriter):void -github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|SetAdditionalData(value:map[string]any):void -github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|SetBackingStore(value:BackingStore):void -github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|SetIdentifier(value:*string):void -github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|SetName(value:*string):void -github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|SetOdataType(value:*string):void -github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|SetVersion(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable -github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPluginable::|public|GetBackingStore():BackingStore -github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPluginable::|public|GetIdentifier():*string -github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPluginable::|public|GetName():*string -github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPluginable::|public|GetOdataType():*string -github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPluginable::|public|GetVersion():*string -github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPluginable::|public|SetBackingStore(value:BackingStore):void -github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPluginable::|public|SetIdentifier(value:*string):void -github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPluginable::|public|SetName(value:*string):void -github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPluginable::|public|SetOdataType(value:*string):void -github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPluginable::|public|SetVersion(value:*string):void -github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPluginable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable -github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin~~>AiInteractionPluginable +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPluginable~~>AiInteractionEntityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionType::0000-userPrompt github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionType::0001-aiResponse github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionType::0002-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.aiOnlineMeeting-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.aiOnlineMeeting::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiOnlineMeeting::|public|GetAiInsights():[]CallAiInsightable +github.com/microsoftgraph/msgraph-sdk-go/.models.aiOnlineMeeting::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.aiOnlineMeeting::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.aiOnlineMeeting::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiOnlineMeeting::|public|SetAiInsights(value:[]CallAiInsightable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiOnlineMeeting::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.aiOnlineMeetingable::|public|GetAiInsights():[]CallAiInsightable +github.com/microsoftgraph/msgraph-sdk-go/.models.aiOnlineMeetingable::|public|SetAiInsights(value:[]CallAiInsightable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiOnlineMeetingable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.airPrintSettings::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.airPrintSettings::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.airPrintSettings::|public|GetBackingStore():BackingStore @@ -119149,13 +122478,135 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.aiUser-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.aiUser::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.aiUser::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.aiUser::|public|GetInteractionHistory():AiInteractionHistoryable +github.com/microsoftgraph/msgraph-sdk-go/.models.aiUser::|public|GetOnlineMeetings():[]AiOnlineMeetingable github.com/microsoftgraph/msgraph-sdk-go/.models.aiUser::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.aiUser::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.aiUser::|public|SetInteractionHistory(value:AiInteractionHistoryable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiUser::|public|SetOnlineMeetings(value:[]AiOnlineMeetingable):void github.com/microsoftgraph/msgraph-sdk-go/.models.aiUser::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.aiUserable::|public|GetInteractionHistory():AiInteractionHistoryable +github.com/microsoftgraph/msgraph-sdk-go/.models.aiUserable::|public|GetOnlineMeetings():[]AiOnlineMeetingable github.com/microsoftgraph/msgraph-sdk-go/.models.aiUserable::|public|SetInteractionHistory(value:AiInteractionHistoryable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiUserable::|public|SetOnlineMeetings(value:[]AiOnlineMeetingable):void github.com/microsoftgraph/msgraph-sdk-go/.models.aiUserable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiAttackGroupActionModel::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiAttackGroupActionModel::|public|GetAction():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiAttackGroupActionModel::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiAttackGroupActionModel::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiAttackGroupActionModel::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiAttackGroupActionModel::|public|GetGroup():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiAttackGroupActionModel::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiAttackGroupActionModel::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiAttackGroupActionModel::|public|SetAction(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiAttackGroupActionModel::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiAttackGroupActionModel::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiAttackGroupActionModel::|public|SetGroup(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiAttackGroupActionModel::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiAttackGroupActionModel::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiAttackGroupActionModelable::|public|GetAction():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiAttackGroupActionModelable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiAttackGroupActionModelable::|public|GetGroup():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiAttackGroupActionModelable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiAttackGroupActionModelable::|public|SetAction(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiAttackGroupActionModelable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiAttackGroupActionModelable::|public|SetGroup(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiAttackGroupActionModelable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiAttackGroupActionModelable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiAttackGroupActionModel~~>AkamaiAttackGroupActionModelable +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiCustomRuleModel::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiCustomRuleModel::|public|GetAction():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiCustomRuleModel::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiCustomRuleModel::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiCustomRuleModel::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiCustomRuleModel::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiCustomRuleModel::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiCustomRuleModel::|public|GetRuleId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiCustomRuleModel::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiCustomRuleModel::|public|SetAction(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiCustomRuleModel::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiCustomRuleModel::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiCustomRuleModel::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiCustomRuleModel::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiCustomRuleModel::|public|SetRuleId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiCustomRuleModel::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiCustomRuleModelable::|public|GetAction():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiCustomRuleModelable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiCustomRuleModelable::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiCustomRuleModelable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiCustomRuleModelable::|public|GetRuleId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiCustomRuleModelable::|public|SetAction(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiCustomRuleModelable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiCustomRuleModelable::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiCustomRuleModelable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiCustomRuleModelable::|public|SetRuleId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiCustomRuleModelable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiCustomRuleModel~~>AkamaiCustomRuleModelable +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiRapidRulesModel::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiRapidRulesModel::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiRapidRulesModel::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiRapidRulesModel::|public|GetDefaultAction():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiRapidRulesModel::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiRapidRulesModel::|public|GetIsEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiRapidRulesModel::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiRapidRulesModel::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiRapidRulesModel::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiRapidRulesModel::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiRapidRulesModel::|public|SetDefaultAction(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiRapidRulesModel::|public|SetIsEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiRapidRulesModel::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiRapidRulesModel::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiRapidRulesModelable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiRapidRulesModelable::|public|GetDefaultAction():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiRapidRulesModelable::|public|GetIsEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiRapidRulesModelable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiRapidRulesModelable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiRapidRulesModelable::|public|SetDefaultAction(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiRapidRulesModelable::|public|SetIsEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiRapidRulesModelable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiRapidRulesModelable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiRapidRulesModel~~>AkamaiRapidRulesModelable +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiVerifiedDetailsModel-->*WebApplicationFirewallVerifiedDetails +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiVerifiedDetailsModel::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiVerifiedDetailsModel::|public|GetActiveAttackGroups():[]AkamaiAttackGroupActionModelable +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiVerifiedDetailsModel::|public|GetActiveCustomRules():[]AkamaiCustomRuleModelable +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiVerifiedDetailsModel::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiVerifiedDetailsModel::|public|GetRapidRules():AkamaiRapidRulesModelable +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiVerifiedDetailsModel::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiVerifiedDetailsModel::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiVerifiedDetailsModel::|public|SetActiveAttackGroups(value:[]AkamaiAttackGroupActionModelable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiVerifiedDetailsModel::|public|SetActiveCustomRules(value:[]AkamaiCustomRuleModelable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiVerifiedDetailsModel::|public|SetRapidRules(value:AkamaiRapidRulesModelable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiVerifiedDetailsModel::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiVerifiedDetailsModelable::|public|GetActiveAttackGroups():[]AkamaiAttackGroupActionModelable +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiVerifiedDetailsModelable::|public|GetActiveCustomRules():[]AkamaiCustomRuleModelable +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiVerifiedDetailsModelable::|public|GetRapidRules():AkamaiRapidRulesModelable +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiVerifiedDetailsModelable::|public|SetActiveAttackGroups(value:[]AkamaiAttackGroupActionModelable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiVerifiedDetailsModelable::|public|SetActiveCustomRules(value:[]AkamaiCustomRuleModelable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiVerifiedDetailsModelable::|public|SetRapidRules(value:AkamaiRapidRulesModelable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiVerifiedDetailsModelable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; WebApplicationFirewallVerifiedDetailsable +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiWebApplicationFirewallProvider-->*WebApplicationFirewallProvider +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiWebApplicationFirewallProvider::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiWebApplicationFirewallProvider::|public|GetAccessToken():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiWebApplicationFirewallProvider::|public|GetClientSecret():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiWebApplicationFirewallProvider::|public|GetClientToken():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiWebApplicationFirewallProvider::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiWebApplicationFirewallProvider::|public|GetHostPrefix():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiWebApplicationFirewallProvider::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiWebApplicationFirewallProvider::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiWebApplicationFirewallProvider::|public|SetAccessToken(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiWebApplicationFirewallProvider::|public|SetClientSecret(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiWebApplicationFirewallProvider::|public|SetClientToken(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiWebApplicationFirewallProvider::|public|SetHostPrefix(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiWebApplicationFirewallProvider::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiWebApplicationFirewallProviderable::|public|GetAccessToken():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiWebApplicationFirewallProviderable::|public|GetClientSecret():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiWebApplicationFirewallProviderable::|public|GetClientToken():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiWebApplicationFirewallProviderable::|public|GetHostPrefix():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiWebApplicationFirewallProviderable::|public|SetAccessToken(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiWebApplicationFirewallProviderable::|public|SetClientSecret(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiWebApplicationFirewallProviderable::|public|SetClientToken(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiWebApplicationFirewallProviderable::|public|SetHostPrefix(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.akamaiWebApplicationFirewallProviderable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; WebApplicationFirewallProviderable github.com/microsoftgraph/msgraph-sdk-go/.models.album::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.album::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.album::|public|GetBackingStore():BackingStore @@ -119499,7 +122950,8 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.allowedTargetScope::0005-allDir github.com/microsoftgraph/msgraph-sdk-go/.models.allowedTargetScope::0006-allDirectoryServicePrincipals github.com/microsoftgraph/msgraph-sdk-go/.models.allowedTargetScope::0007-allConfiguredConnectedOrganizationUsers github.com/microsoftgraph/msgraph-sdk-go/.models.allowedTargetScope::0008-allExternalUsers -github.com/microsoftgraph/msgraph-sdk-go/.models.allowedTargetScope::0009-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.allowedTargetScope::0009-allDirectoryAgentIdentities +github.com/microsoftgraph/msgraph-sdk-go/.models.allowedTargetScope::0010-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.allowedValue-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.allowedValue::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.allowedValue::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -121543,6 +124995,29 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.archivedPrintJobable::|public|S github.com/microsoftgraph/msgraph-sdk-go/.models.archivedPrintJobable::|public|SetProcessingState(value:*PrintJobProcessingState):void github.com/microsoftgraph/msgraph-sdk-go/.models.archivedPrintJobable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.archivedPrintJob~~>ArchivedPrintJobable +github.com/microsoftgraph/msgraph-sdk-go/.models.arkoseFraudProtectionProvider-->*FraudProtectionProvider +github.com/microsoftgraph/msgraph-sdk-go/.models.arkoseFraudProtectionProvider::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.arkoseFraudProtectionProvider::|public|GetClientSubDomain():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.arkoseFraudProtectionProvider::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.arkoseFraudProtectionProvider::|public|GetPrivateKey():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.arkoseFraudProtectionProvider::|public|GetPublicKey():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.arkoseFraudProtectionProvider::|public|GetVerifySubDomain():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.arkoseFraudProtectionProvider::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.arkoseFraudProtectionProvider::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.arkoseFraudProtectionProvider::|public|SetClientSubDomain(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.arkoseFraudProtectionProvider::|public|SetPrivateKey(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.arkoseFraudProtectionProvider::|public|SetPublicKey(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.arkoseFraudProtectionProvider::|public|SetVerifySubDomain(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.arkoseFraudProtectionProvider::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.arkoseFraudProtectionProviderable::|public|GetClientSubDomain():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.arkoseFraudProtectionProviderable::|public|GetPrivateKey():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.arkoseFraudProtectionProviderable::|public|GetPublicKey():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.arkoseFraudProtectionProviderable::|public|GetVerifySubDomain():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.arkoseFraudProtectionProviderable::|public|SetClientSubDomain(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.arkoseFraudProtectionProviderable::|public|SetPrivateKey(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.arkoseFraudProtectionProviderable::|public|SetPublicKey(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.arkoseFraudProtectionProviderable::|public|SetVerifySubDomain(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.arkoseFraudProtectionProviderable~~>FraudProtectionProviderable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.artifactQuery::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.artifactQuery::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.artifactQuery::|public|GetArtifactType():*RestorableArtifact @@ -121622,6 +125097,21 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.assignedLicenseable::|public|Se github.com/microsoftgraph/msgraph-sdk-go/.models.assignedLicenseable::|public|SetSkuId(value:*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID):void github.com/microsoftgraph/msgraph-sdk-go/.models.assignedLicenseable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.assignedLicense~~>AssignedLicenseable +github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlaceMode-->*PlaceMode +github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlaceMode::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlaceMode::|public|GetAssignedUserEmailAddress():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlaceMode::|public|GetAssignedUserId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlaceMode::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlaceMode::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlaceMode::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlaceMode::|public|SetAssignedUserEmailAddress(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlaceMode::|public|SetAssignedUserId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlaceMode::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlaceModeable::|public|GetAssignedUserEmailAddress():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlaceModeable::|public|GetAssignedUserId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlaceModeable::|public|SetAssignedUserEmailAddress(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlaceModeable::|public|SetAssignedUserId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlaceModeable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; PlaceModeable github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlan::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlan::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlan::|public|GetAssignedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time @@ -121702,6 +125192,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.assignmentOrderable::|public|Se github.com/microsoftgraph/msgraph-sdk-go/.models.assignmentOrderable::|public|SetOrder(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.assignmentOrderable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.assignmentOrder~~>AssignmentOrderable +github.com/microsoftgraph/msgraph-sdk-go/.models.assignmentRequestApprovalStageCallbackData-->*AccessPackageAssignmentRequestCallbackData +github.com/microsoftgraph/msgraph-sdk-go/.models.assignmentRequestApprovalStageCallbackData::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.assignmentRequestApprovalStageCallbackData::|public|GetApprovalStage():AccessPackageApprovalStageable +github.com/microsoftgraph/msgraph-sdk-go/.models.assignmentRequestApprovalStageCallbackData::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.assignmentRequestApprovalStageCallbackData::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.assignmentRequestApprovalStageCallbackData::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.assignmentRequestApprovalStageCallbackData::|public|SetApprovalStage(value:AccessPackageApprovalStageable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.assignmentRequestApprovalStageCallbackData::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.assignmentRequestApprovalStageCallbackDataable::|public|GetApprovalStage():AccessPackageApprovalStageable +github.com/microsoftgraph/msgraph-sdk-go/.models.assignmentRequestApprovalStageCallbackDataable::|public|SetApprovalStage(value:AccessPackageApprovalStageable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.assignmentRequestApprovalStageCallbackDataable~~>AccessPackageAssignmentRequestCallbackDataable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.assignmentType::0000-required github.com/microsoftgraph/msgraph-sdk-go/.models.assignmentType::0001-recommended github.com/microsoftgraph/msgraph-sdk-go/.models.assignmentType::0002-unknownFutureValue @@ -122890,6 +126391,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.authContextable~~>*i878a80d2330 github.com/microsoftgraph/msgraph-sdk-go/.models.authentication-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.authentication::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.authentication::|public|GetEmailMethods():[]EmailAuthenticationMethodable +github.com/microsoftgraph/msgraph-sdk-go/.models.authentication::|public|GetExternalAuthenticationMethods():[]ExternalAuthenticationMethodable github.com/microsoftgraph/msgraph-sdk-go/.models.authentication::|public|GetFido2Methods():[]Fido2AuthenticationMethodable github.com/microsoftgraph/msgraph-sdk-go/.models.authentication::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.authentication::|public|GetMethods():[]AuthenticationMethodable @@ -122904,6 +126406,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.authentication::|public|GetWind github.com/microsoftgraph/msgraph-sdk-go/.models.authentication::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.authentication::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.authentication::|public|SetEmailMethods(value:[]EmailAuthenticationMethodable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.authentication::|public|SetExternalAuthenticationMethods(value:[]ExternalAuthenticationMethodable):void github.com/microsoftgraph/msgraph-sdk-go/.models.authentication::|public|SetFido2Methods(value:[]Fido2AuthenticationMethodable):void github.com/microsoftgraph/msgraph-sdk-go/.models.authentication::|public|SetMethods(value:[]AuthenticationMethodable):void github.com/microsoftgraph/msgraph-sdk-go/.models.authentication::|public|SetMicrosoftAuthenticatorMethods(value:[]MicrosoftAuthenticatorAuthenticationMethodable):void @@ -122916,6 +126419,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.authentication::|public|SetTemp github.com/microsoftgraph/msgraph-sdk-go/.models.authentication::|public|SetWindowsHelloForBusinessMethods(value:[]WindowsHelloForBusinessAuthenticationMethodable):void github.com/microsoftgraph/msgraph-sdk-go/.models.authentication::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationable::|public|GetEmailMethods():[]EmailAuthenticationMethodable +github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationable::|public|GetExternalAuthenticationMethods():[]ExternalAuthenticationMethodable github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationable::|public|GetFido2Methods():[]Fido2AuthenticationMethodable github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationable::|public|GetMethods():[]AuthenticationMethodable github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationable::|public|GetMicrosoftAuthenticatorMethods():[]MicrosoftAuthenticatorAuthenticationMethodable @@ -122927,6 +126431,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationable::|public|Get github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationable::|public|GetTemporaryAccessPassMethods():[]TemporaryAccessPassAuthenticationMethodable github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationable::|public|GetWindowsHelloForBusinessMethods():[]WindowsHelloForBusinessAuthenticationMethodable github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationable::|public|SetEmailMethods(value:[]EmailAuthenticationMethodable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationable::|public|SetExternalAuthenticationMethods(value:[]ExternalAuthenticationMethodable):void github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationable::|public|SetFido2Methods(value:[]Fido2AuthenticationMethodable):void github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationable::|public|SetMethods(value:[]AuthenticationMethodable):void github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationable::|public|SetMicrosoftAuthenticatorMethods(value:[]MicrosoftAuthenticatorAuthenticationMethodable):void @@ -123247,16 +126752,20 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationEventListener-->* github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationEventListener::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationEventListener::|public|GetAuthenticationEventsFlowId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationEventListener::|public|GetConditions():AuthenticationConditionsable +github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationEventListener::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationEventListener::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationEventListener::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationEventListener::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationEventListener::|public|SetAuthenticationEventsFlowId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationEventListener::|public|SetConditions(value:AuthenticationConditionsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationEventListener::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationEventListener::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationEventListenerable::|public|GetAuthenticationEventsFlowId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationEventListenerable::|public|GetConditions():AuthenticationConditionsable +github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationEventListenerable::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationEventListenerable::|public|SetAuthenticationEventsFlowId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationEventListenerable::|public|SetConditions(value:AuthenticationConditionsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationEventListenerable::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationEventListenerable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationEventListenerCollectionResponse-->*BaseCollectionPaginationCountResponse github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationEventListenerCollectionResponse::|public|constructor():void @@ -123338,10 +126847,14 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationFlowsPolicyable~~ github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationFlow~~>AuthenticationFlowable github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationMethod-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationMethod::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationMethod::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationMethod::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationMethod::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationMethod::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationMethod::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationMethod::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationMethodable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationMethodable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationMethodable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationMethodCollectionResponse-->*BaseCollectionPaginationCountResponse github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationMethodCollectionResponse::|public|constructor():void @@ -124343,6 +127856,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.baseItemVersionable::|public|Se github.com/microsoftgraph/msgraph-sdk-go/.models.baseItemVersionable::|public|SetLastModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.baseItemVersionable::|public|SetPublication(value:PublicationFacetable):void github.com/microsoftgraph/msgraph-sdk-go/.models.baseItemVersionable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.baseMapFeature-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.baseMapFeature::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.baseMapFeature::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.baseMapFeature::|public|GetProperties():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.baseMapFeature::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.baseMapFeature::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.baseMapFeature::|public|SetProperties(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.baseMapFeature::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.baseMapFeatureable::|public|GetProperties():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.baseMapFeatureable::|public|SetProperties(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.baseMapFeatureable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.baseSitePage-->*BaseItem github.com/microsoftgraph/msgraph-sdk-go/.models.baseSitePage::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.baseSitePage::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -125864,6 +129388,54 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.bucketAggregationSortProperty:: github.com/microsoftgraph/msgraph-sdk-go/.models.bucketAggregationSortProperty::0001-keyAsString github.com/microsoftgraph/msgraph-sdk-go/.models.bucketAggregationSortProperty::0002-keyAsNumber github.com/microsoftgraph/msgraph-sdk-go/.models.bucketAggregationSortProperty::0003-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.building-->*Place +github.com/microsoftgraph/msgraph-sdk-go/.models.building::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.building::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.building::|public|GetMapEscaped():BuildingMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.building::|public|GetResourceLinks():[]ResourceLinkable +github.com/microsoftgraph/msgraph-sdk-go/.models.building::|public|GetWifiState():*PlaceFeatureEnablement +github.com/microsoftgraph/msgraph-sdk-go/.models.building::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.building::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.building::|public|SetMapEscaped(value:BuildingMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.building::|public|SetResourceLinks(value:[]ResourceLinkable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.building::|public|SetWifiState(value:*PlaceFeatureEnablement):void +github.com/microsoftgraph/msgraph-sdk-go/.models.building::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingable::|public|GetMapEscaped():BuildingMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingable::|public|GetResourceLinks():[]ResourceLinkable +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingable::|public|GetWifiState():*PlaceFeatureEnablement +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingable::|public|SetMapEscaped(value:BuildingMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingable::|public|SetResourceLinks(value:[]ResourceLinkable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingable::|public|SetWifiState(value:*PlaceFeatureEnablement):void +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; Placeable +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingCollectionResponse::|public|GetValue():[]Buildingable +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingCollectionResponse::|public|SetValue(value:[]Buildingable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingCollectionResponseable::|public|GetValue():[]Buildingable +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingCollectionResponseable::|public|SetValue(value:[]Buildingable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMap-->*BaseMapFeature +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMap::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMap::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMap::|public|GetFootprints():[]FootprintMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMap::|public|GetLevels():[]LevelMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMap::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMap::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMap::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMap::|public|SetFootprints(value:[]FootprintMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMap::|public|SetLevels(value:[]LevelMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMap::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMap::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMapable::|public|GetFootprints():[]FootprintMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMapable::|public|GetLevels():[]LevelMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMapable::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMapable::|public|SetFootprints(value:[]FootprintMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMapable::|public|SetLevels(value:[]LevelMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMapable::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMapable~~>BaseMapFeatureable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.builtInIdentityProvider-->*IdentityProviderBase github.com/microsoftgraph/msgraph-sdk-go/.models.builtInIdentityProvider::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.builtInIdentityProvider::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -126273,6 +129845,61 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.callable::|public|SetTenantId(v github.com/microsoftgraph/msgraph-sdk-go/.models.callable::|public|SetToneInfo(value:ToneInfoable):void github.com/microsoftgraph/msgraph-sdk-go/.models.callable::|public|SetTranscription(value:CallTranscriptionInfoable):void github.com/microsoftgraph/msgraph-sdk-go/.models.callable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsight-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsight::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsight::|public|GetActionItems():[]ActionItemable +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsight::|public|GetCallId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsight::|public|GetContentCorrelationId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsight::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsight::|public|GetEndDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsight::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsight::|public|GetMeetingNotes():[]MeetingNoteable +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsight::|public|GetViewpoint():CallAiInsightViewPointable +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsight::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsight::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsight::|public|SetActionItems(value:[]ActionItemable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsight::|public|SetCallId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsight::|public|SetContentCorrelationId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsight::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsight::|public|SetEndDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsight::|public|SetMeetingNotes(value:[]MeetingNoteable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsight::|public|SetViewpoint(value:CallAiInsightViewPointable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsight::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightable::|public|GetActionItems():[]ActionItemable +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightable::|public|GetCallId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightable::|public|GetContentCorrelationId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightable::|public|GetEndDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightable::|public|GetMeetingNotes():[]MeetingNoteable +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightable::|public|GetViewpoint():CallAiInsightViewPointable +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightable::|public|SetActionItems(value:[]ActionItemable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightable::|public|SetCallId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightable::|public|SetContentCorrelationId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightable::|public|SetEndDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightable::|public|SetMeetingNotes(value:[]MeetingNoteable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightable::|public|SetViewpoint(value:CallAiInsightViewPointable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightViewPoint::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightViewPoint::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightViewPoint::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightViewPoint::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightViewPoint::|public|GetMentionEvents():[]MentionEventable +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightViewPoint::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightViewPoint::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightViewPoint::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightViewPoint::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightViewPoint::|public|SetMentionEvents(value:[]MentionEventable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightViewPoint::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightViewPoint::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightViewPointable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightViewPointable::|public|GetMentionEvents():[]MentionEventable +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightViewPointable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightViewPointable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightViewPointable::|public|SetMentionEvents(value:[]MentionEventable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightViewPointable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightViewPointable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.callAiInsightViewPoint~~>CallAiInsightViewPointable github.com/microsoftgraph/msgraph-sdk-go/.models.callCollectionResponse-->*BaseCollectionPaginationCountResponse github.com/microsoftgraph/msgraph-sdk-go/.models.callCollectionResponse::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.callCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -128998,6 +132625,49 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.chatViewpointable::|public|SetL github.com/microsoftgraph/msgraph-sdk-go/.models.chatViewpointable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.chatViewpointable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.chatViewpoint~~>ChatViewpointable +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaim::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaim::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaim::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaim::|public|GetCalendarEventId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaim::|public|GetCheckInMethod():*CheckInMethod +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaim::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaim::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaim::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaim::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaim::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaim::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaim::|public|SetCalendarEventId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaim::|public|SetCheckInMethod(value:*CheckInMethod):void +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaim::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaim::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaim::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaimable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaimable::|public|GetCalendarEventId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaimable::|public|GetCheckInMethod():*CheckInMethod +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaimable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaimable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaimable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaimable::|public|SetCalendarEventId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaimable::|public|SetCheckInMethod(value:*CheckInMethod):void +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaimable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaimable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaimable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaimCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaimCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaimCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaimCollectionResponse::|public|GetValue():[]CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaimCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaimCollectionResponse::|public|SetValue(value:[]CheckInClaimable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaimCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaimCollectionResponseable::|public|GetValue():[]CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaimCollectionResponseable::|public|SetValue(value:[]CheckInClaimable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaimCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInClaim~~>CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInMethod::0000-unspecified +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInMethod::0001-manual +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInMethod::0002-inferred +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInMethod::0003-verified +github.com/microsoftgraph/msgraph-sdk-go/.models.checkInMethod::0004-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.checklistItem-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.checklistItem::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.checklistItem::|public|GetCheckedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time @@ -129284,32 +132954,130 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.cloudClipboardRootable::|public github.com/microsoftgraph/msgraph-sdk-go/.models.cloudClipboardRootable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunications::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunications::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunications::|public|GetAdhocCalls():[]AdhocCallable github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunications::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunications::|public|GetCalls():[]Callable github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunications::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunications::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunications::|public|GetOnlineMeetingConversations():[]OnlineMeetingEngagementConversationable github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunications::|public|GetOnlineMeetings():[]OnlineMeetingable github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunications::|public|GetPresences():[]Presenceable github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunications::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunications::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunications::|public|SetAdhocCalls(value:[]AdhocCallable):void github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunications::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunications::|public|SetCalls(value:[]Callable):void github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunications::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunications::|public|SetOnlineMeetingConversations(value:[]OnlineMeetingEngagementConversationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunications::|public|SetOnlineMeetings(value:[]OnlineMeetingable):void github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunications::|public|SetPresences(value:[]Presenceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunications::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunicationsable::|public|GetAdhocCalls():[]AdhocCallable github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunicationsable::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunicationsable::|public|GetCalls():[]Callable github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunicationsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunicationsable::|public|GetOnlineMeetingConversations():[]OnlineMeetingEngagementConversationable github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunicationsable::|public|GetOnlineMeetings():[]OnlineMeetingable github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunicationsable::|public|GetPresences():[]Presenceable +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunicationsable::|public|SetAdhocCalls(value:[]AdhocCallable):void github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunicationsable::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunicationsable::|public|SetCalls(value:[]Callable):void github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunicationsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunicationsable::|public|SetOnlineMeetingConversations(value:[]OnlineMeetingEngagementConversationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunicationsable::|public|SetOnlineMeetings(value:[]OnlineMeetingable):void github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunicationsable::|public|SetPresences(value:[]Presenceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunicationsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.cloudCommunications~~>CloudCommunicationsable +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRuleModel::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRuleModel::|public|GetAction():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRuleModel::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRuleModel::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRuleModel::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRuleModel::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRuleModel::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRuleModel::|public|GetRuleId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRuleModel::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRuleModel::|public|SetAction(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRuleModel::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRuleModel::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRuleModel::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRuleModel::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRuleModel::|public|SetRuleId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRuleModel::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRuleModelable::|public|GetAction():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRuleModelable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRuleModelable::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRuleModelable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRuleModelable::|public|GetRuleId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRuleModelable::|public|SetAction(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRuleModelable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRuleModelable::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRuleModelable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRuleModelable::|public|SetRuleId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRuleModelable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRuleModel~~>CloudFlareRuleModelable +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRulesetModel::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRulesetModel::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRulesetModel::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRulesetModel::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRulesetModel::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRulesetModel::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRulesetModel::|public|GetPhaseName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRulesetModel::|public|GetRulesetId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRulesetModel::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRulesetModel::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRulesetModel::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRulesetModel::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRulesetModel::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRulesetModel::|public|SetPhaseName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRulesetModel::|public|SetRulesetId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRulesetModel::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRulesetModelable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRulesetModelable::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRulesetModelable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRulesetModelable::|public|GetPhaseName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRulesetModelable::|public|GetRulesetId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRulesetModelable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRulesetModelable::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRulesetModelable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRulesetModelable::|public|SetPhaseName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRulesetModelable::|public|SetRulesetId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRulesetModelable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareRulesetModel~~>CloudFlareRulesetModelable +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareVerifiedDetailsModel-->*WebApplicationFirewallVerifiedDetails +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareVerifiedDetailsModel::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareVerifiedDetailsModel::|public|GetEnabledCustomRules():[]CloudFlareRuleModelable +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareVerifiedDetailsModel::|public|GetEnabledRecommendedRulesets():[]CloudFlareRulesetModelable +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareVerifiedDetailsModel::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareVerifiedDetailsModel::|public|GetZoneId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareVerifiedDetailsModel::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareVerifiedDetailsModel::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareVerifiedDetailsModel::|public|SetEnabledCustomRules(value:[]CloudFlareRuleModelable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareVerifiedDetailsModel::|public|SetEnabledRecommendedRulesets(value:[]CloudFlareRulesetModelable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareVerifiedDetailsModel::|public|SetZoneId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareVerifiedDetailsModel::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareVerifiedDetailsModelable::|public|GetEnabledCustomRules():[]CloudFlareRuleModelable +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareVerifiedDetailsModelable::|public|GetEnabledRecommendedRulesets():[]CloudFlareRulesetModelable +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareVerifiedDetailsModelable::|public|GetZoneId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareVerifiedDetailsModelable::|public|SetEnabledCustomRules(value:[]CloudFlareRuleModelable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareVerifiedDetailsModelable::|public|SetEnabledRecommendedRulesets(value:[]CloudFlareRulesetModelable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareVerifiedDetailsModelable::|public|SetZoneId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareVerifiedDetailsModelable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; WebApplicationFirewallVerifiedDetailsable +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareWebApplicationFirewallProvider-->*WebApplicationFirewallProvider +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareWebApplicationFirewallProvider::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareWebApplicationFirewallProvider::|public|GetApiToken():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareWebApplicationFirewallProvider::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareWebApplicationFirewallProvider::|public|GetZoneId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareWebApplicationFirewallProvider::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareWebApplicationFirewallProvider::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareWebApplicationFirewallProvider::|public|SetApiToken(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareWebApplicationFirewallProvider::|public|SetZoneId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareWebApplicationFirewallProvider::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareWebApplicationFirewallProviderable::|public|GetApiToken():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareWebApplicationFirewallProviderable::|public|GetZoneId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareWebApplicationFirewallProviderable::|public|SetApiToken(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareWebApplicationFirewallProviderable::|public|SetZoneId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudFlareWebApplicationFirewallProviderable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; WebApplicationFirewallProviderable github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPC-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPC::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPC::|public|GetAadDeviceId():*string @@ -129734,6 +133502,38 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcGalleryImageStatus::0000 github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcGalleryImageStatus::0001-supportedWithWarning github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcGalleryImageStatus::0002-notSupported github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcGalleryImageStatus::0003-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetail::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetail::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetail::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetail::|public|GetCloudPcId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetail::|public|GetCloudPcLaunchUrl():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetail::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetail::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetail::|public|GetWindows365SwitchCompatibilityFailureReasonType():*Windows365SwitchCompatibilityFailureReasonType +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetail::|public|GetWindows365SwitchCompatible():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetail::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetail::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetail::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetail::|public|SetCloudPcId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetail::|public|SetCloudPcLaunchUrl(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetail::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetail::|public|SetWindows365SwitchCompatibilityFailureReasonType(value:*Windows365SwitchCompatibilityFailureReasonType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetail::|public|SetWindows365SwitchCompatible(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetail::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetailable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetailable::|public|GetCloudPcId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetailable::|public|GetCloudPcLaunchUrl():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetailable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetailable::|public|GetWindows365SwitchCompatibilityFailureReasonType():*Windows365SwitchCompatibilityFailureReasonType +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetailable::|public|GetWindows365SwitchCompatible():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetailable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetailable::|public|SetCloudPcId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetailable::|public|SetCloudPcLaunchUrl(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetailable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetailable::|public|SetWindows365SwitchCompatibilityFailureReasonType(value:*Windows365SwitchCompatibilityFailureReasonType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetailable::|public|SetWindows365SwitchCompatible(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetailable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcLaunchDetail~~>CloudPcLaunchDetailable github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcManagementAssignmentTarget::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcManagementAssignmentTarget::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcManagementAssignmentTarget::|public|GetBackingStore():BackingStore @@ -130000,6 +133800,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcOnPremisesConnectionStat github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcOnPremisesConnectionType::0000-hybridAzureADJoin github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcOnPremisesConnectionType::0001-azureADJoin github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcOnPremisesConnectionType::0002-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcOperatingSystem::0000-windows10 +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcOperatingSystem::0001-windows11 +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcOperatingSystem::0002-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcProvisioningPolicy-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcProvisioningPolicy::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcProvisioningPolicy::|public|GetAlternateResourceUrl():*string @@ -130136,6 +133939,8 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcProvisioningPolicyImageT github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcProvisioningType::0000-dedicated github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcProvisioningType::0001-shared github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcProvisioningType::0002-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcRecommendationReportType::0000-cloudPcUsageCategoryReport +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcRecommendationReportType::0001-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcRegionGroup::0000-default github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcRegionGroup::0001-australia github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcRegionGroup::0002-canada @@ -130157,6 +133962,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcRegionGroup::0017-norway github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcRegionGroup::0018-switzerland github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcRegionGroup::0019-southKorea github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcRegionGroup::0020-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcReport-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcReport::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcReport::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcReport::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcReport::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcReport::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcReportable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcRestorePointFrequencyType::0000-default github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcRestorePointFrequencyType::0001-fourHours github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcRestorePointFrequencyType::0002-sixHours @@ -130220,6 +134032,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcSourceDeviceImageable::| github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcSourceDeviceImageable::|public|SetSubscriptionId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcSourceDeviceImageable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcSourceDeviceImage~~>CloudPcSourceDeviceImageable +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcUserAccountType::0000-standardUser +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcUserAccountType::0001-administrator +github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcUserAccountType::0002-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcUserRoleScopeTagInfo::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcUserRoleScopeTagInfo::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.cloudPcUserRoleScopeTagInfo::|public|GetBackingStore():BackingStore @@ -130674,10 +134489,14 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.communicationsEncryptedIdentity github.com/microsoftgraph/msgraph-sdk-go/.models.communicationsEncryptedIdentityable~~>Identityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.communicationsGuestIdentity-->*Identity github.com/microsoftgraph/msgraph-sdk-go/.models.communicationsGuestIdentity::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.communicationsGuestIdentity::|public|GetEmail():*string github.com/microsoftgraph/msgraph-sdk-go/.models.communicationsGuestIdentity::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.communicationsGuestIdentity::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.communicationsGuestIdentity::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.communicationsGuestIdentity::|public|SetEmail(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.communicationsGuestIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.communicationsGuestIdentityable::|public|GetEmail():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.communicationsGuestIdentityable::|public|SetEmail(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.communicationsGuestIdentityable~~>Identityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.communicationsIdentitySet-->*IdentitySet github.com/microsoftgraph/msgraph-sdk-go/.models.communicationsIdentitySet::|public|constructor():void @@ -132549,6 +136368,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminSetting::|static|pu github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminSettingable::|public|GetLimitedMode():CopilotAdminLimitedModeable github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminSettingable::|public|SetLimitedMode(value:CopilotAdminLimitedModeable):void github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminSettingable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotReportRoot-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotReportRoot::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotReportRoot::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotReportRoot::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotReportRoot::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotReportRoot::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotReportRootable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.CopyNotebookModel::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.CopyNotebookModel::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.CopyNotebookModel::|public|GetBackingStore():BackingStore @@ -134217,6 +138043,39 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.deltaParticipantsable::|public| github.com/microsoftgraph/msgraph-sdk-go/.models.deltaParticipantsable::|public|SetParticipants(value:[]Participantable):void github.com/microsoftgraph/msgraph-sdk-go/.models.deltaParticipantsable::|public|SetSequenceNumber(value:*int64):void github.com/microsoftgraph/msgraph-sdk-go/.models.deltaParticipantsable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.desk-->*Place +github.com/microsoftgraph/msgraph-sdk-go/.models.desk::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.desk::|public|GetDisplayDeviceName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.desk::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.desk::|public|GetHeightAdjustableState():*PlaceFeatureEnablement +github.com/microsoftgraph/msgraph-sdk-go/.models.desk::|public|GetMailboxDetails():MailboxDetailsable +github.com/microsoftgraph/msgraph-sdk-go/.models.desk::|public|GetMode():PlaceModeable +github.com/microsoftgraph/msgraph-sdk-go/.models.desk::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.desk::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.desk::|public|SetDisplayDeviceName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.desk::|public|SetHeightAdjustableState(value:*PlaceFeatureEnablement):void +github.com/microsoftgraph/msgraph-sdk-go/.models.desk::|public|SetMailboxDetails(value:MailboxDetailsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.desk::|public|SetMode(value:PlaceModeable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.desk::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.deskable::|public|GetDisplayDeviceName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.deskable::|public|GetHeightAdjustableState():*PlaceFeatureEnablement +github.com/microsoftgraph/msgraph-sdk-go/.models.deskable::|public|GetMailboxDetails():MailboxDetailsable +github.com/microsoftgraph/msgraph-sdk-go/.models.deskable::|public|GetMode():PlaceModeable +github.com/microsoftgraph/msgraph-sdk-go/.models.deskable::|public|SetDisplayDeviceName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.deskable::|public|SetHeightAdjustableState(value:*PlaceFeatureEnablement):void +github.com/microsoftgraph/msgraph-sdk-go/.models.deskable::|public|SetMailboxDetails(value:MailboxDetailsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.deskable::|public|SetMode(value:PlaceModeable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.deskable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; Placeable +github.com/microsoftgraph/msgraph-sdk-go/.models.deskCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.deskCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.deskCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.deskCollectionResponse::|public|GetValue():[]Deskable +github.com/microsoftgraph/msgraph-sdk-go/.models.deskCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.deskCollectionResponse::|public|SetValue(value:[]Deskable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.deskCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.deskCollectionResponseable::|public|GetValue():[]Deskable +github.com/microsoftgraph/msgraph-sdk-go/.models.deskCollectionResponseable::|public|SetValue(value:[]Deskable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.deskCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.destinationType::0000-new github.com/microsoftgraph/msgraph-sdk-go/.models.destinationType::0001-inPlace github.com/microsoftgraph/msgraph-sdk-go/.models.destinationType::0002-unknownFutureValue @@ -136390,7 +140249,6 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagement::|public|GetRo github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagement::|public|GetSettings():DeviceManagementSettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagement::|public|GetSoftwareUpdateStatusSummary():SoftwareUpdateStatusSummaryable github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagement::|public|GetSubscriptionState():*DeviceManagementSubscriptionState -github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagement::|public|GetTelecomExpenseManagementPartners():[]TelecomExpenseManagementPartnerable github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagement::|public|GetTermsAndConditions():[]TermsAndConditionsable github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagement::|public|GetTroubleshootingEvents():[]DeviceManagementTroubleshootingEventable github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagement::|public|GetUserExperienceAnalyticsAppHealthApplicationPerformance():[]UserExperienceAnalyticsAppHealthApplicationPerformanceable @@ -136457,7 +140315,6 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagement::|public|SetRo github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagement::|public|SetSettings(value:DeviceManagementSettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagement::|public|SetSoftwareUpdateStatusSummary(value:SoftwareUpdateStatusSummaryable):void github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagement::|public|SetSubscriptionState(value:*DeviceManagementSubscriptionState):void -github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagement::|public|SetTelecomExpenseManagementPartners(value:[]TelecomExpenseManagementPartnerable):void github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagement::|public|SetTermsAndConditions(value:[]TermsAndConditionsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagement::|public|SetTroubleshootingEvents(value:[]DeviceManagementTroubleshootingEventable):void github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagement::|public|SetUserExperienceAnalyticsAppHealthApplicationPerformance(value:[]UserExperienceAnalyticsAppHealthApplicationPerformanceable):void @@ -136523,7 +140380,6 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagementable::|public|G github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagementable::|public|GetSettings():DeviceManagementSettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagementable::|public|GetSoftwareUpdateStatusSummary():SoftwareUpdateStatusSummaryable github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagementable::|public|GetSubscriptionState():*DeviceManagementSubscriptionState -github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagementable::|public|GetTelecomExpenseManagementPartners():[]TelecomExpenseManagementPartnerable github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagementable::|public|GetTermsAndConditions():[]TermsAndConditionsable github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagementable::|public|GetTroubleshootingEvents():[]DeviceManagementTroubleshootingEventable github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagementable::|public|GetUserExperienceAnalyticsAppHealthApplicationPerformance():[]UserExperienceAnalyticsAppHealthApplicationPerformanceable @@ -136588,7 +140444,6 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagementable::|public|S github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagementable::|public|SetSettings(value:DeviceManagementSettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagementable::|public|SetSoftwareUpdateStatusSummary(value:SoftwareUpdateStatusSummaryable):void github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagementable::|public|SetSubscriptionState(value:*DeviceManagementSubscriptionState):void -github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagementable::|public|SetTelecomExpenseManagementPartners(value:[]TelecomExpenseManagementPartnerable):void github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagementable::|public|SetTermsAndConditions(value:[]TermsAndConditionsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagementable::|public|SetTroubleshootingEvents(value:[]DeviceManagementTroubleshootingEventable):void github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagementable::|public|SetUserExperienceAnalyticsAppHealthApplicationPerformance(value:[]UserExperienceAnalyticsAppHealthApplicationPerformanceable):void @@ -138391,6 +142246,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.driveRestoreArtifactsBulkAdditi github.com/microsoftgraph/msgraph-sdk-go/.models.driveRestoreArtifactsBulkAdditionRequestCollectionResponseable::|public|GetValue():[]DriveRestoreArtifactsBulkAdditionRequestable github.com/microsoftgraph/msgraph-sdk-go/.models.driveRestoreArtifactsBulkAdditionRequestCollectionResponseable::|public|SetValue(value:[]DriveRestoreArtifactsBulkAdditionRequestable):void github.com/microsoftgraph/msgraph-sdk-go/.models.driveRestoreArtifactsBulkAdditionRequestCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.dropInPlaceMode-->*PlaceMode +github.com/microsoftgraph/msgraph-sdk-go/.models.dropInPlaceMode::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.dropInPlaceMode::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.dropInPlaceMode::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.dropInPlaceMode::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.dropInPlaceMode::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.dropInPlaceModeable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; PlaceModeable github.com/microsoftgraph/msgraph-sdk-go/.models.eBookInstallSummary-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.eBookInstallSummary::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.eBookInstallSummary::|public|GetFailedDeviceCount():*int32 @@ -138510,6 +142372,142 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.educationAddToCalendarOptions:: github.com/microsoftgraph/msgraph-sdk-go/.models.educationAddToCalendarOptions::0002-studentsAndTeamOwners github.com/microsoftgraph/msgraph-sdk-go/.models.educationAddToCalendarOptions::0003-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.educationAddToCalendarOptions::0004-studentsOnly +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackAudienceEngagementSettings::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackAudienceEngagementSettings::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackAudienceEngagementSettings::|public|GetAreEngagementStrategiesEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackAudienceEngagementSettings::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackAudienceEngagementSettings::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackAudienceEngagementSettings::|public|GetIsCallToActionEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackAudienceEngagementSettings::|public|GetIsEmotionalAndIntellectualAppealEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackAudienceEngagementSettings::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackAudienceEngagementSettings::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackAudienceEngagementSettings::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackAudienceEngagementSettings::|public|SetAreEngagementStrategiesEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackAudienceEngagementSettings::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackAudienceEngagementSettings::|public|SetIsCallToActionEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackAudienceEngagementSettings::|public|SetIsEmotionalAndIntellectualAppealEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackAudienceEngagementSettings::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackAudienceEngagementSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackAudienceEngagementSettingsable::|public|GetAreEngagementStrategiesEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackAudienceEngagementSettingsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackAudienceEngagementSettingsable::|public|GetIsCallToActionEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackAudienceEngagementSettingsable::|public|GetIsEmotionalAndIntellectualAppealEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackAudienceEngagementSettingsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackAudienceEngagementSettingsable::|public|SetAreEngagementStrategiesEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackAudienceEngagementSettingsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackAudienceEngagementSettingsable::|public|SetIsCallToActionEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackAudienceEngagementSettingsable::|public|SetIsEmotionalAndIntellectualAppealEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackAudienceEngagementSettingsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackAudienceEngagementSettingsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackAudienceEngagementSettings~~>EducationAiFeedbackAudienceEngagementSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackContentSettings::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackContentSettings::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackContentSettings::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackContentSettings::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackContentSettings::|public|GetIsMessageClarityEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackContentSettings::|public|GetIsQualityOfInformationEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackContentSettings::|public|GetIsSpeechOrganizationEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackContentSettings::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackContentSettings::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackContentSettings::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackContentSettings::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackContentSettings::|public|SetIsMessageClarityEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackContentSettings::|public|SetIsQualityOfInformationEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackContentSettings::|public|SetIsSpeechOrganizationEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackContentSettings::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackContentSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackContentSettingsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackContentSettingsable::|public|GetIsMessageClarityEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackContentSettingsable::|public|GetIsQualityOfInformationEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackContentSettingsable::|public|GetIsSpeechOrganizationEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackContentSettingsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackContentSettingsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackContentSettingsable::|public|SetIsMessageClarityEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackContentSettingsable::|public|SetIsQualityOfInformationEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackContentSettingsable::|public|SetIsSpeechOrganizationEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackContentSettingsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackContentSettingsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackContentSettings~~>EducationAiFeedbackContentSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackCriteria::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackCriteria::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackCriteria::|public|GetAiFeedbackSettings():EducationAiFeedbackSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackCriteria::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackCriteria::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackCriteria::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackCriteria::|public|GetSpeechType():*EducationSpeechType +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackCriteria::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackCriteria::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackCriteria::|public|SetAiFeedbackSettings(value:EducationAiFeedbackSettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackCriteria::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackCriteria::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackCriteria::|public|SetSpeechType(value:*EducationSpeechType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackCriteria::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackCriteriaable::|public|GetAiFeedbackSettings():EducationAiFeedbackSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackCriteriaable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackCriteriaable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackCriteriaable::|public|GetSpeechType():*EducationSpeechType +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackCriteriaable::|public|SetAiFeedbackSettings(value:EducationAiFeedbackSettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackCriteriaable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackCriteriaable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackCriteriaable::|public|SetSpeechType(value:*EducationSpeechType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackCriteriaable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackCriteria~~>EducationAiFeedbackCriteriaable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackDeliverySettings::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackDeliverySettings::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackDeliverySettings::|public|GetAreRhetoricalTechniquesEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackDeliverySettings::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackDeliverySettings::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackDeliverySettings::|public|GetIsLanguageUseEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackDeliverySettings::|public|GetIsStyleEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackDeliverySettings::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackDeliverySettings::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackDeliverySettings::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackDeliverySettings::|public|SetAreRhetoricalTechniquesEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackDeliverySettings::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackDeliverySettings::|public|SetIsLanguageUseEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackDeliverySettings::|public|SetIsStyleEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackDeliverySettings::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackDeliverySettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackDeliverySettingsable::|public|GetAreRhetoricalTechniquesEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackDeliverySettingsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackDeliverySettingsable::|public|GetIsLanguageUseEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackDeliverySettingsable::|public|GetIsStyleEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackDeliverySettingsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackDeliverySettingsable::|public|SetAreRhetoricalTechniquesEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackDeliverySettingsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackDeliverySettingsable::|public|SetIsLanguageUseEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackDeliverySettingsable::|public|SetIsStyleEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackDeliverySettingsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackDeliverySettingsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackDeliverySettings~~>EducationAiFeedbackDeliverySettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackSettings::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackSettings::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackSettings::|public|GetAudienceEngagementSettings():EducationAiFeedbackAudienceEngagementSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackSettings::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackSettings::|public|GetContentSettings():EducationAiFeedbackContentSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackSettings::|public|GetDeliverySettings():EducationAiFeedbackDeliverySettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackSettings::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackSettings::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackSettings::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackSettings::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackSettings::|public|SetAudienceEngagementSettings(value:EducationAiFeedbackAudienceEngagementSettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackSettings::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackSettings::|public|SetContentSettings(value:EducationAiFeedbackContentSettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackSettings::|public|SetDeliverySettings(value:EducationAiFeedbackDeliverySettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackSettings::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackSettingsable::|public|GetAudienceEngagementSettings():EducationAiFeedbackAudienceEngagementSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackSettingsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackSettingsable::|public|GetContentSettings():EducationAiFeedbackContentSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackSettingsable::|public|GetDeliverySettings():EducationAiFeedbackDeliverySettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackSettingsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackSettingsable::|public|SetAudienceEngagementSettings(value:EducationAiFeedbackAudienceEngagementSettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackSettingsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackSettingsable::|public|SetContentSettings(value:EducationAiFeedbackContentSettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackSettingsable::|public|SetDeliverySettings(value:EducationAiFeedbackDeliverySettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackSettingsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackSettingsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAiFeedbackSettings~~>EducationAiFeedbackSettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignment-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignment::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignment::|public|GetAddedStudentAction():*EducationAddedStudentAction @@ -138530,7 +142528,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignment::|public|Ge github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignment::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignment::|public|GetGrading():EducationAssignmentGradeTypeable github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignment::|public|GetGradingCategory():EducationGradingCategoryable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignment::|public|GetGradingScheme():EducationGradingSchemeable github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignment::|public|GetInstructions():EducationItemBodyable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignment::|public|GetLanguageTag():*string github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignment::|public|GetLastModifiedBy():IdentitySetable github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignment::|public|GetLastModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignment::|public|GetModuleUrl():*string @@ -138560,7 +142560,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignment::|public|Se github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignment::|public|SetFeedbackResourcesFolderUrl(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignment::|public|SetGrading(value:EducationAssignmentGradeTypeable):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignment::|public|SetGradingCategory(value:EducationGradingCategoryable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignment::|public|SetGradingScheme(value:EducationGradingSchemeable):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignment::|public|SetInstructions(value:EducationItemBodyable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignment::|public|SetLanguageTag(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignment::|public|SetLastModifiedBy(value:IdentitySetable):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignment::|public|SetLastModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignment::|public|SetModuleUrl(value:*string):void @@ -138589,7 +142591,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentable::|publi github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentable::|public|GetFeedbackResourcesFolderUrl():*string github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentable::|public|GetGrading():EducationAssignmentGradeTypeable github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentable::|public|GetGradingCategory():EducationGradingCategoryable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentable::|public|GetGradingScheme():EducationGradingSchemeable github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentable::|public|GetInstructions():EducationItemBodyable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentable::|public|GetLanguageTag():*string github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentable::|public|GetLastModifiedBy():IdentitySetable github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentable::|public|GetLastModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentable::|public|GetModuleUrl():*string @@ -138617,7 +142621,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentable::|publi github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentable::|public|SetFeedbackResourcesFolderUrl(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentable::|public|SetGrading(value:EducationAssignmentGradeTypeable):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentable::|public|SetGradingCategory(value:EducationGradingCategoryable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentable::|public|SetGradingScheme(value:EducationGradingSchemeable):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentable::|public|SetInstructions(value:EducationItemBodyable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentable::|public|SetLanguageTag(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentable::|public|SetLastModifiedBy(value:IdentitySetable):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentable::|public|SetLastModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentable::|public|SetModuleUrl(value:*string):void @@ -138767,16 +142773,20 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentRecipientabl github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentRecipient~~>EducationAssignmentRecipientable github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentResource-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentResource::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentResource::|public|GetDependentResources():[]EducationAssignmentResourceable github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentResource::|public|GetDistributeForStudentWork():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentResource::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentResource::|public|GetResource():EducationResourceable github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentResource::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentResource::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentResource::|public|SetDependentResources(value:[]EducationAssignmentResourceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentResource::|public|SetDistributeForStudentWork(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentResource::|public|SetResource(value:EducationResourceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentResource::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentResourceable::|public|GetDependentResources():[]EducationAssignmentResourceable github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentResourceable::|public|GetDistributeForStudentWork():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentResourceable::|public|GetResource():EducationResourceable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentResourceable::|public|SetDependentResources(value:[]EducationAssignmentResourceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentResourceable::|public|SetDistributeForStudentWork(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentResourceable::|public|SetResource(value:EducationResourceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentResourceable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable @@ -138792,17 +142802,25 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentResourceColl github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentResourceCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentSettings-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentSettings::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentSettings::|public|GetDefaultGradingScheme():EducationGradingSchemeable github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentSettings::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentSettings::|public|GetGradingCategories():[]EducationGradingCategoryable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentSettings::|public|GetGradingSchemes():[]EducationGradingSchemeable github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentSettings::|public|GetSubmissionAnimationDisabled():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentSettings::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentSettings::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentSettings::|public|SetDefaultGradingScheme(value:EducationGradingSchemeable):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentSettings::|public|SetGradingCategories(value:[]EducationGradingCategoryable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentSettings::|public|SetGradingSchemes(value:[]EducationGradingSchemeable):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentSettings::|public|SetSubmissionAnimationDisabled(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentSettingsable::|public|GetDefaultGradingScheme():EducationGradingSchemeable github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentSettingsable::|public|GetGradingCategories():[]EducationGradingCategoryable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentSettingsable::|public|GetGradingSchemes():[]EducationGradingSchemeable github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentSettingsable::|public|GetSubmissionAnimationDisabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentSettingsable::|public|SetDefaultGradingScheme(value:EducationGradingSchemeable):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentSettingsable::|public|SetGradingCategories(value:[]EducationGradingCategoryable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentSettingsable::|public|SetGradingSchemes(value:[]EducationGradingSchemeable):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentSettingsable::|public|SetSubmissionAnimationDisabled(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentSettingsable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.educationAssignmentStatus::0000-draft @@ -139107,6 +143125,63 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingCategoryCollect github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingCategoryCollectionResponseable::|public|GetValue():[]EducationGradingCategoryable github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingCategoryCollectionResponseable::|public|SetValue(value:[]EducationGradingCategoryable):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingCategoryCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingScheme-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingScheme::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingScheme::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingScheme::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingScheme::|public|GetGrades():[]EducationGradingSchemeGradeable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingScheme::|public|GetHidePointsDuringGrading():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingScheme::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingScheme::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingScheme::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingScheme::|public|SetGrades(value:[]EducationGradingSchemeGradeable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingScheme::|public|SetHidePointsDuringGrading(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingScheme::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeable::|public|GetGrades():[]EducationGradingSchemeGradeable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeable::|public|GetHidePointsDuringGrading():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeable::|public|SetGrades(value:[]EducationGradingSchemeGradeable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeable::|public|SetHidePointsDuringGrading(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeCollectionResponse::|public|GetValue():[]EducationGradingSchemeable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeCollectionResponse::|public|SetValue(value:[]EducationGradingSchemeable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeCollectionResponseable::|public|GetValue():[]EducationGradingSchemeable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeCollectionResponseable::|public|SetValue(value:[]EducationGradingSchemeable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeGrade::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeGrade::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeGrade::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeGrade::|public|GetDefaultPercentage():*float32 +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeGrade::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeGrade::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeGrade::|public|GetMinPercentage():*float32 +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeGrade::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeGrade::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeGrade::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeGrade::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeGrade::|public|SetDefaultPercentage(value:*float32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeGrade::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeGrade::|public|SetMinPercentage(value:*float32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeGrade::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeGrade::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeGradeable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeGradeable::|public|GetDefaultPercentage():*float32 +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeGradeable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeGradeable::|public|GetMinPercentage():*float32 +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeGradeable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeGradeable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeGradeable::|public|SetDefaultPercentage(value:*float32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeGradeable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeGradeable::|public|SetMinPercentage(value:*float32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeGradeable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeGradeable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationGradingSchemeGrade~~>EducationGradingSchemeGradeable github.com/microsoftgraph/msgraph-sdk-go/.models.educationItemBody::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.educationItemBody::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.educationItemBody::|public|GetBackingStore():BackingStore @@ -139560,6 +143635,157 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.educationSchoolCollectionRespon github.com/microsoftgraph/msgraph-sdk-go/.models.educationSchoolCollectionResponseable::|public|GetValue():[]EducationSchoolable github.com/microsoftgraph/msgraph-sdk-go/.models.educationSchoolCollectionResponseable::|public|SetValue(value:[]EducationSchoolable):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationSchoolCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachAudienceEngagementSettings::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachAudienceEngagementSettings::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachAudienceEngagementSettings::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachAudienceEngagementSettings::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachAudienceEngagementSettings::|public|GetIsBodyLanguageEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachAudienceEngagementSettings::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachAudienceEngagementSettings::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachAudienceEngagementSettings::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachAudienceEngagementSettings::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachAudienceEngagementSettings::|public|SetIsBodyLanguageEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachAudienceEngagementSettings::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachAudienceEngagementSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachAudienceEngagementSettingsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachAudienceEngagementSettingsable::|public|GetIsBodyLanguageEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachAudienceEngagementSettingsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachAudienceEngagementSettingsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachAudienceEngagementSettingsable::|public|SetIsBodyLanguageEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachAudienceEngagementSettingsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachAudienceEngagementSettingsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachAudienceEngagementSettings~~>EducationSpeakerCoachAudienceEngagementSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachContentSettings::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachContentSettings::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachContentSettings::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachContentSettings::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachContentSettings::|public|GetIsInclusivenessEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachContentSettings::|public|GetIsRepetitiveLanguageEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachContentSettings::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachContentSettings::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachContentSettings::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachContentSettings::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachContentSettings::|public|SetIsInclusivenessEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachContentSettings::|public|SetIsRepetitiveLanguageEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachContentSettings::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachContentSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachContentSettingsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachContentSettingsable::|public|GetIsInclusivenessEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachContentSettingsable::|public|GetIsRepetitiveLanguageEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachContentSettingsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachContentSettingsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachContentSettingsable::|public|SetIsInclusivenessEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachContentSettingsable::|public|SetIsRepetitiveLanguageEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachContentSettingsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachContentSettingsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachContentSettings~~>EducationSpeakerCoachContentSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettings::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettings::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettings::|public|GetAreFillerWordsEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettings::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettings::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettings::|public|GetIsPaceEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettings::|public|GetIsPitchEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettings::|public|GetIsPronunciationEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettings::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettings::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettings::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettings::|public|SetAreFillerWordsEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettings::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettings::|public|SetIsPaceEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettings::|public|SetIsPitchEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettings::|public|SetIsPronunciationEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettings::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettingsable::|public|GetAreFillerWordsEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettingsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettingsable::|public|GetIsPaceEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettingsable::|public|GetIsPitchEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettingsable::|public|GetIsPronunciationEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettingsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettingsable::|public|SetAreFillerWordsEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettingsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettingsable::|public|SetIsPaceEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettingsable::|public|SetIsPitchEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettingsable::|public|SetIsPronunciationEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettingsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettingsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachDeliverySettings~~>EducationSpeakerCoachDeliverySettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachSettings::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachSettings::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachSettings::|public|GetAudienceEngagementSettings():EducationSpeakerCoachAudienceEngagementSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachSettings::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachSettings::|public|GetContentSettings():EducationSpeakerCoachContentSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachSettings::|public|GetDeliverySettings():EducationSpeakerCoachDeliverySettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachSettings::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachSettings::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachSettings::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachSettings::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachSettings::|public|SetAudienceEngagementSettings(value:EducationSpeakerCoachAudienceEngagementSettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachSettings::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachSettings::|public|SetContentSettings(value:EducationSpeakerCoachContentSettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachSettings::|public|SetDeliverySettings(value:EducationSpeakerCoachDeliverySettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachSettings::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachSettingsable::|public|GetAudienceEngagementSettings():EducationSpeakerCoachAudienceEngagementSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachSettingsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachSettingsable::|public|GetContentSettings():EducationSpeakerCoachContentSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachSettingsable::|public|GetDeliverySettings():EducationSpeakerCoachDeliverySettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachSettingsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachSettingsable::|public|SetAudienceEngagementSettings(value:EducationSpeakerCoachAudienceEngagementSettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachSettingsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachSettingsable::|public|SetContentSettings(value:EducationSpeakerCoachContentSettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachSettingsable::|public|SetDeliverySettings(value:EducationSpeakerCoachDeliverySettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachSettingsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachSettingsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerCoachSettings~~>EducationSpeakerCoachSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResource-->*EducationResource +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResource::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResource::|public|GetAiFeedbackCriteria():EducationAiFeedbackCriteriaable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResource::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResource::|public|GetIsAiFeedbackEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResource::|public|GetIsVideoRequired():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResource::|public|GetMaxRecordingAttempts():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResource::|public|GetPresentationTitle():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResource::|public|GetRecordingTimeLimitInMinutes():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResource::|public|GetShowRehearsalReportToStudentBeforeMediaUpload():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResource::|public|GetSpeakerCoachSettings():EducationSpeakerCoachSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResource::|public|GetSpokenLanguageLocale():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResource::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResource::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResource::|public|SetAiFeedbackCriteria(value:EducationAiFeedbackCriteriaable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResource::|public|SetIsAiFeedbackEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResource::|public|SetIsVideoRequired(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResource::|public|SetMaxRecordingAttempts(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResource::|public|SetPresentationTitle(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResource::|public|SetRecordingTimeLimitInMinutes(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResource::|public|SetShowRehearsalReportToStudentBeforeMediaUpload(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResource::|public|SetSpeakerCoachSettings(value:EducationSpeakerCoachSettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResource::|public|SetSpokenLanguageLocale(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResource::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResourceable::|public|GetAiFeedbackCriteria():EducationAiFeedbackCriteriaable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResourceable::|public|GetIsAiFeedbackEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResourceable::|public|GetIsVideoRequired():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResourceable::|public|GetMaxRecordingAttempts():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResourceable::|public|GetPresentationTitle():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResourceable::|public|GetRecordingTimeLimitInMinutes():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResourceable::|public|GetShowRehearsalReportToStudentBeforeMediaUpload():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResourceable::|public|GetSpeakerCoachSettings():EducationSpeakerCoachSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResourceable::|public|GetSpokenLanguageLocale():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResourceable::|public|SetAiFeedbackCriteria(value:EducationAiFeedbackCriteriaable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResourceable::|public|SetIsAiFeedbackEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResourceable::|public|SetIsVideoRequired(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResourceable::|public|SetMaxRecordingAttempts(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResourceable::|public|SetPresentationTitle(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResourceable::|public|SetRecordingTimeLimitInMinutes(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResourceable::|public|SetShowRehearsalReportToStudentBeforeMediaUpload(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResourceable::|public|SetSpeakerCoachSettings(value:EducationSpeakerCoachSettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResourceable::|public|SetSpokenLanguageLocale(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeakerProgressResourceable~~>EducationResourceable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeechType::0000-informative +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeechType::0001-personal +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeechType::0002-persuasive +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSpeechType::0003-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.educationStudent::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.educationStudent::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.educationStudent::|public|GetBackingStore():BackingStore @@ -139727,16 +143953,20 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.educationSubmissionRecipient~~> github.com/microsoftgraph/msgraph-sdk-go/.models.educationSubmissionResource-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.educationSubmissionResource::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.educationSubmissionResource::|public|GetAssignmentResourceUrl():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSubmissionResource::|public|GetDependentResources():[]EducationSubmissionResourceable github.com/microsoftgraph/msgraph-sdk-go/.models.educationSubmissionResource::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.educationSubmissionResource::|public|GetResource():EducationResourceable github.com/microsoftgraph/msgraph-sdk-go/.models.educationSubmissionResource::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.educationSubmissionResource::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationSubmissionResource::|public|SetAssignmentResourceUrl(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSubmissionResource::|public|SetDependentResources(value:[]EducationSubmissionResourceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationSubmissionResource::|public|SetResource(value:EducationResourceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationSubmissionResource::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.educationSubmissionResourceable::|public|GetAssignmentResourceUrl():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSubmissionResourceable::|public|GetDependentResources():[]EducationSubmissionResourceable github.com/microsoftgraph/msgraph-sdk-go/.models.educationSubmissionResourceable::|public|GetResource():EducationResourceable github.com/microsoftgraph/msgraph-sdk-go/.models.educationSubmissionResourceable::|public|SetAssignmentResourceUrl(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.educationSubmissionResourceable::|public|SetDependentResources(value:[]EducationSubmissionResourceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationSubmissionResourceable::|public|SetResource(value:EducationResourceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.educationSubmissionResourceable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.educationSubmissionResourceCollectionResponse-->*BaseCollectionPaginationCountResponse @@ -140229,6 +144459,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperience::|public|get github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperience::|public|GetLearningCourseActivities():[]LearningCourseActivityable github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperience::|public|GetLearningProviders():[]LearningProviderable github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperience::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperience::|public|GetRoles():[]EngagementRoleable github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperience::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperience::|public|SetAdditionalData(value:map[string]any):void github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperience::|public|SetBackingStore(value:BackingStore):void @@ -140237,6 +144468,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperience::|public|Set github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperience::|public|SetLearningCourseActivities(value:[]LearningCourseActivityable):void github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperience::|public|SetLearningProviders(value:[]LearningProviderable):void github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperience::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperience::|public|SetRoles(value:[]EngagementRoleable):void github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperience::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperienceable::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperienceable::|public|GetCommunities():[]Communityable @@ -140244,22 +144476,28 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperienceable::|public github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperienceable::|public|GetLearningCourseActivities():[]LearningCourseActivityable github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperienceable::|public|GetLearningProviders():[]LearningProviderable github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperienceable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperienceable::|public|GetRoles():[]EngagementRoleable github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperienceable::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperienceable::|public|SetCommunities(value:[]Communityable):void github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperienceable::|public|SetEngagementAsyncOperations(value:[]EngagementAsyncOperationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperienceable::|public|SetLearningCourseActivities(value:[]LearningCourseActivityable):void github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperienceable::|public|SetLearningProviders(value:[]LearningProviderable):void github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperienceable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperienceable::|public|SetRoles(value:[]EngagementRoleable):void github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperienceable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperienceUser-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperienceUser::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperienceUser::|public|GetAssignedRoles():[]EngagementRoleable github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperienceUser::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperienceUser::|public|GetLearningCourseActivities():[]LearningCourseActivityable github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperienceUser::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperienceUser::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperienceUser::|public|SetAssignedRoles(value:[]EngagementRoleable):void github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperienceUser::|public|SetLearningCourseActivities(value:[]LearningCourseActivityable):void github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperienceUser::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperienceUserable::|public|GetAssignedRoles():[]EngagementRoleable github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperienceUserable::|public|GetLearningCourseActivities():[]LearningCourseActivityable +github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperienceUserable::|public|SetAssignedRoles(value:[]EngagementRoleable):void github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperienceUserable::|public|SetLearningCourseActivities(value:[]LearningCourseActivityable):void github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperienceUserable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.employeeExperience~~>EmployeeExperienceable @@ -140504,6 +144742,247 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.engagementAsyncOperationCollect github.com/microsoftgraph/msgraph-sdk-go/.models.engagementAsyncOperationCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.engagementAsyncOperationType::0000-createCommunity github.com/microsoftgraph/msgraph-sdk-go/.models.engagementAsyncOperationType::0001-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversation-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversation::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversation::|public|GetCreationMode():*EngagementCreationMode +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversation::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversation::|public|GetMessages():[]EngagementConversationMessageable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversation::|public|GetStarter():EngagementConversationMessageable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversation::|public|GetStarterId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversation::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversation::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversation::|public|SetCreationMode(value:*EngagementCreationMode):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversation::|public|SetMessages(value:[]EngagementConversationMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversation::|public|SetStarter(value:EngagementConversationMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversation::|public|SetStarterId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationable::|public|GetCreationMode():*EngagementCreationMode +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationable::|public|GetMessages():[]EngagementConversationMessageable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationable::|public|GetStarter():EngagementConversationMessageable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationable::|public|GetStarterId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationable::|public|SetCreationMode(value:*EngagementCreationMode):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationable::|public|SetMessages(value:[]EngagementConversationMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationable::|public|SetStarter(value:EngagementConversationMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationable::|public|SetStarterId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationDiscussionMessage-->*EngagementConversationMessage +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationDiscussionMessage::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationDiscussionMessage::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationDiscussionMessage::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationDiscussionMessage::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationDiscussionMessage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationDiscussionMessageable~~>EngagementConversationMessageable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessage-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessage::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessage::|public|GetBody():ItemBodyable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessage::|public|GetConversation():EngagementConversationable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessage::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessage::|public|GetCreationMode():*EngagementCreationMode +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessage::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessage::|public|GetFrom():EngagementIdentitySetable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessage::|public|GetLastModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessage::|public|GetReactions():[]EngagementConversationMessageReactionable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessage::|public|GetReplies():[]EngagementConversationMessageable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessage::|public|GetReplyTo():EngagementConversationMessageable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessage::|public|GetReplyToId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessage::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessage::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessage::|public|SetBody(value:ItemBodyable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessage::|public|SetConversation(value:EngagementConversationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessage::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessage::|public|SetCreationMode(value:*EngagementCreationMode):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessage::|public|SetFrom(value:EngagementIdentitySetable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessage::|public|SetLastModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessage::|public|SetReactions(value:[]EngagementConversationMessageReactionable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessage::|public|SetReplies(value:[]EngagementConversationMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessage::|public|SetReplyTo(value:EngagementConversationMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessage::|public|SetReplyToId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageable::|public|GetBody():ItemBodyable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageable::|public|GetConversation():EngagementConversationable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageable::|public|GetCreationMode():*EngagementCreationMode +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageable::|public|GetFrom():EngagementIdentitySetable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageable::|public|GetLastModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageable::|public|GetReactions():[]EngagementConversationMessageReactionable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageable::|public|GetReplies():[]EngagementConversationMessageable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageable::|public|GetReplyTo():EngagementConversationMessageable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageable::|public|GetReplyToId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageable::|public|SetBody(value:ItemBodyable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageable::|public|SetConversation(value:EngagementConversationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageable::|public|SetCreationMode(value:*EngagementCreationMode):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageable::|public|SetFrom(value:EngagementIdentitySetable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageable::|public|SetLastModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageable::|public|SetReactions(value:[]EngagementConversationMessageReactionable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageable::|public|SetReplies(value:[]EngagementConversationMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageable::|public|SetReplyTo(value:EngagementConversationMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageable::|public|SetReplyToId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageCollectionResponse::|public|GetValue():[]EngagementConversationMessageable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageCollectionResponse::|public|SetValue(value:[]EngagementConversationMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageCollectionResponseable::|public|GetValue():[]EngagementConversationMessageable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageCollectionResponseable::|public|SetValue(value:[]EngagementConversationMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReaction-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReaction::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReaction::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReaction::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReaction::|public|GetReactionBy():EngagementIdentitySetable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReaction::|public|GetReactionType():*EngagementConversationMessageReactionType +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReaction::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReaction::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReaction::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReaction::|public|SetReactionBy(value:EngagementIdentitySetable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReaction::|public|SetReactionType(value:*EngagementConversationMessageReactionType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReaction::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionable::|public|GetReactionBy():EngagementIdentitySetable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionable::|public|GetReactionType():*EngagementConversationMessageReactionType +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionable::|public|SetReactionBy(value:EngagementIdentitySetable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionable::|public|SetReactionType(value:*EngagementConversationMessageReactionType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionCollectionResponse::|public|GetValue():[]EngagementConversationMessageReactionable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionCollectionResponse::|public|SetValue(value:[]EngagementConversationMessageReactionable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionCollectionResponseable::|public|GetValue():[]EngagementConversationMessageReactionable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionCollectionResponseable::|public|SetValue(value:[]EngagementConversationMessageReactionable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0000-like +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0001-love +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0002-celebrate +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0003-thank +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0004-laugh +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0005-sad +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0006-happy +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0007-excited +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0008-smile +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0009-silly +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0010-intenseLaugh +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0011-starStruck +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0012-goofy +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0013-thinking +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0014-surprised +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0015-mindBlown +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0016-scared +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0017-crying +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0018-shocked +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0019-angry +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0020-agree +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0021-praise +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0022-takingNotes +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0023-heartBroken +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0024-support +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0025-confirmed +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0026-watching +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0027-brain +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0028-medal +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0029-bullseye +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationMessageReactionType::0030-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationModerationState::0000-published +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationModerationState::0001-pendingReview +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationModerationState::0002-dismissed +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationModerationState::0003-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationQuestionMessage-->*EngagementConversationMessage +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationQuestionMessage::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationQuestionMessage::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationQuestionMessage::|public|GetTitle():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationQuestionMessage::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationQuestionMessage::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationQuestionMessage::|public|SetTitle(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationQuestionMessage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationQuestionMessageable::|public|GetTitle():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationQuestionMessageable::|public|SetTitle(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationQuestionMessageable~~>EngagementConversationMessageable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationSystemMessage-->*EngagementConversationMessage +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationSystemMessage::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationSystemMessage::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationSystemMessage::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationSystemMessage::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationSystemMessage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementConversationSystemMessageable~~>EngagementConversationMessageable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementCreationMode::0000-none +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementCreationMode::0001-migration +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementCreationMode::0002-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementIdentitySet-->*IdentitySet +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementIdentitySet::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementIdentitySet::|public|GetAudience():Identityable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementIdentitySet::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementIdentitySet::|public|GetGroup():Identityable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementIdentitySet::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementIdentitySet::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementIdentitySet::|public|SetAudience(value:Identityable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementIdentitySet::|public|SetGroup(value:Identityable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementIdentitySet::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementIdentitySetable::|public|GetAudience():Identityable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementIdentitySetable::|public|GetGroup():Identityable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementIdentitySetable::|public|SetAudience(value:Identityable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementIdentitySetable::|public|SetGroup(value:Identityable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementIdentitySetable~~>IdentitySetable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRole-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRole::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRole::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRole::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRole::|public|GetMembers():[]EngagementRoleMemberable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRole::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRole::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRole::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRole::|public|SetMembers(value:[]EngagementRoleMemberable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRole::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleable::|public|GetMembers():[]EngagementRoleMemberable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleable::|public|SetMembers(value:[]EngagementRoleMemberable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleCollectionResponse::|public|GetValue():[]EngagementRoleable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleCollectionResponse::|public|SetValue(value:[]EngagementRoleable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleCollectionResponseable::|public|GetValue():[]EngagementRoleable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleCollectionResponseable::|public|SetValue(value:[]EngagementRoleable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleMember-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleMember::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleMember::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleMember::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleMember::|public|GetUser():Userable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleMember::|public|GetUserId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleMember::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleMember::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleMember::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleMember::|public|SetUser(value:Userable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleMember::|public|SetUserId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleMember::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleMemberable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleMemberable::|public|GetUser():Userable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleMemberable::|public|GetUserId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleMemberable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleMemberable::|public|SetUser(value:Userable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleMemberable::|public|SetUserId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleMemberable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleMemberCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleMemberCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleMemberCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleMemberCollectionResponse::|public|GetValue():[]EngagementRoleMemberable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleMemberCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleMemberCollectionResponse::|public|SetValue(value:[]EngagementRoleMemberable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleMemberCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleMemberCollectionResponseable::|public|GetValue():[]EngagementRoleMemberable +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleMemberCollectionResponseable::|public|SetValue(value:[]EngagementRoleMemberable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.engagementRoleMemberCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.enrollmentConfigurationAssignment-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.enrollmentConfigurationAssignment::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.enrollmentConfigurationAssignment::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -141298,6 +145777,31 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.extensionSchemaProperty~~>Exten github.com/microsoftgraph/msgraph-sdk-go/.models.externalAudienceScope::0000-none github.com/microsoftgraph/msgraph-sdk-go/.models.externalAudienceScope::0001-contactsOnly github.com/microsoftgraph/msgraph-sdk-go/.models.externalAudienceScope::0002-all +github.com/microsoftgraph/msgraph-sdk-go/.models.externalAuthenticationMethod-->*AuthenticationMethod +github.com/microsoftgraph/msgraph-sdk-go/.models.externalAuthenticationMethod::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.externalAuthenticationMethod::|public|GetConfigurationId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.externalAuthenticationMethod::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.externalAuthenticationMethod::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.externalAuthenticationMethod::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.externalAuthenticationMethod::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.externalAuthenticationMethod::|public|SetConfigurationId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.externalAuthenticationMethod::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.externalAuthenticationMethod::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.externalAuthenticationMethodable::|public|GetConfigurationId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.externalAuthenticationMethodable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.externalAuthenticationMethodable::|public|SetConfigurationId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.externalAuthenticationMethodable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.externalAuthenticationMethodable~~>AuthenticationMethodable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.externalAuthenticationMethodCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.externalAuthenticationMethodCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.externalAuthenticationMethodCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.externalAuthenticationMethodCollectionResponse::|public|GetValue():[]ExternalAuthenticationMethodable +github.com/microsoftgraph/msgraph-sdk-go/.models.externalAuthenticationMethodCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.externalAuthenticationMethodCollectionResponse::|public|SetValue(value:[]ExternalAuthenticationMethodable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.externalAuthenticationMethodCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.externalAuthenticationMethodCollectionResponseable::|public|GetValue():[]ExternalAuthenticationMethodable +github.com/microsoftgraph/msgraph-sdk-go/.models.externalAuthenticationMethodCollectionResponseable::|public|SetValue(value:[]ExternalAuthenticationMethodable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.externalAuthenticationMethodCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.accessType::0000-grant github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.accessType::0001-deny github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.accessType::0002-unknownFutureValue @@ -142142,7 +146646,6 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethod::|pub github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethod::|public|GetAaGuid():*string github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethod::|public|GetAttestationCertificates():[]string github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethod::|public|GetAttestationLevel():*AttestationLevel -github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethod::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethod::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethod::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethod::|public|GetModel():*string @@ -142151,20 +146654,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethod::|pub github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethod::|public|SetAaGuid(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethod::|public|SetAttestationCertificates(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethod::|public|SetAttestationLevel(value:*AttestationLevel):void -github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethod::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethod::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethod::|public|SetModel(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethod::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethodable::|public|GetAaGuid():*string github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethodable::|public|GetAttestationCertificates():[]string github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethodable::|public|GetAttestationLevel():*AttestationLevel -github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethodable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethodable::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethodable::|public|GetModel():*string github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethodable::|public|SetAaGuid(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethodable::|public|SetAttestationCertificates(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethodable::|public|SetAttestationLevel(value:*AttestationLevel):void -github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethodable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethodable::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethodable::|public|SetModel(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.fido2AuthenticationMethodable~~>AuthenticationMethodable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable @@ -142422,20 +146922,29 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.fileSecurityState~~>FileSecurit github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorage-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorage::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorage::|public|GetContainers():[]FileStorageContainerable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorage::|public|GetContainerTypeRegistrations():[]FileStorageContainerTypeRegistrationable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorage::|public|GetContainerTypes():[]FileStorageContainerTypeable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorage::|public|GetDeletedContainers():[]FileStorageContainerable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorage::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorage::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorage::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorage::|public|SetContainers(value:[]FileStorageContainerable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorage::|public|SetContainerTypeRegistrations(value:[]FileStorageContainerTypeRegistrationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorage::|public|SetContainerTypes(value:[]FileStorageContainerTypeable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorage::|public|SetDeletedContainers(value:[]FileStorageContainerable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageable::|public|GetContainers():[]FileStorageContainerable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageable::|public|GetContainerTypeRegistrations():[]FileStorageContainerTypeRegistrationable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageable::|public|GetContainerTypes():[]FileStorageContainerTypeable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageable::|public|GetDeletedContainers():[]FileStorageContainerable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageable::|public|SetContainers(value:[]FileStorageContainerable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageable::|public|SetContainerTypeRegistrations(value:[]FileStorageContainerTypeRegistrationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageable::|public|SetContainerTypes(value:[]FileStorageContainerTypeable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageable::|public|SetDeletedContainers(value:[]FileStorageContainerable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetAssignedSensitivityLabel():AssignedLabelable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetColumns():[]ColumnDefinitionable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetContainerTypeId():*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time @@ -142445,6 +146954,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|G github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetDrive():Driveable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetLockState():*SiteLockState +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetMigrationJobs():[]SharePointMigrationJobable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetPermissions():[]Permissionable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetRecycleBin():RecycleBinable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetSettings():FileStorageContainerSettingsable @@ -142452,6 +146962,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|G github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetViewpoint():FileStorageContainerViewpointable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetAssignedSensitivityLabel(value:AssignedLabelable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetColumns(value:[]ColumnDefinitionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetContainerTypeId(value:*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void @@ -142460,12 +146971,14 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|S github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetDrive(value:Driveable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetLockState(value:*SiteLockState):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetMigrationJobs(value:[]SharePointMigrationJobable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetPermissions(value:[]Permissionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetRecycleBin(value:RecycleBinable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetSettings(value:FileStorageContainerSettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetStatus(value:*FileStorageContainerStatus):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetViewpoint(value:FileStorageContainerViewpointable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetAssignedSensitivityLabel():AssignedLabelable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetColumns():[]ColumnDefinitionable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetContainerTypeId():*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time @@ -142474,11 +146987,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|publ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetDrive():Driveable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetLockState():*SiteLockState +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetMigrationJobs():[]SharePointMigrationJobable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetPermissions():[]Permissionable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetRecycleBin():RecycleBinable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetSettings():FileStorageContainerSettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetStatus():*FileStorageContainerStatus github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetViewpoint():FileStorageContainerViewpointable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetAssignedSensitivityLabel(value:AssignedLabelable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetColumns(value:[]ColumnDefinitionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetContainerTypeId(value:*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void @@ -142487,12 +147002,20 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|publ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetDrive(value:Driveable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetLockState(value:*SiteLockState):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetMigrationJobs(value:[]SharePointMigrationJobable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetPermissions(value:[]Permissionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetRecycleBin(value:RecycleBinable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetSettings(value:FileStorageContainerSettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetStatus(value:*FileStorageContainerStatus):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetViewpoint(value:FileStorageContainerViewpointable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerBillingClassification::0000-standard +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerBillingClassification::0001-trial +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerBillingClassification::0002-directToCustomer +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerBillingClassification::0003-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerBillingStatus::0000-invalid +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerBillingStatus::0001-valid +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerBillingStatus::0002-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerCollectionResponse-->*BaseCollectionPaginationCountResponse github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerCollectionResponse::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -142541,6 +147064,269 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerSettings~~> github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerStatus::0000-inactive github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerStatus::0001-active github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerStatus::0002-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerType-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerType::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerType::|public|GetBillingClassification():*FileStorageContainerBillingClassification +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerType::|public|GetBillingStatus():*FileStorageContainerBillingStatus +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerType::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerType::|public|GetEtag():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerType::|public|GetExpirationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerType::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerType::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerType::|public|GetOwningAppId():*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerType::|public|GetSettings():FileStorageContainerTypeSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerType::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerType::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerType::|public|SetBillingClassification(value:*FileStorageContainerBillingClassification):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerType::|public|SetBillingStatus(value:*FileStorageContainerBillingStatus):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerType::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerType::|public|SetEtag(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerType::|public|SetExpirationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerType::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerType::|public|SetOwningAppId(value:*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerType::|public|SetSettings(value:FileStorageContainerTypeSettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerType::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeable::|public|GetBillingClassification():*FileStorageContainerBillingClassification +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeable::|public|GetBillingStatus():*FileStorageContainerBillingStatus +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeable::|public|GetEtag():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeable::|public|GetExpirationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeable::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeable::|public|GetOwningAppId():*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeable::|public|GetSettings():FileStorageContainerTypeSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeable::|public|SetBillingClassification(value:*FileStorageContainerBillingClassification):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeable::|public|SetBillingStatus(value:*FileStorageContainerBillingStatus):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeable::|public|SetEtag(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeable::|public|SetExpirationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeable::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeable::|public|SetOwningAppId(value:*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeable::|public|SetSettings(value:FileStorageContainerTypeSettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermission::0000-none +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermission::0001-readContent +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermission::0002-writeContent +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermission::0003-manageContent +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermission::0004-create +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermission::0005-delete +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermission::0006-read +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermission::0007-write +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermission::0008-enumeratePermissions +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermission::0009-addPermissions +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermission::0010-updatePermissions +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermission::0011-deletePermissions +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermission::0012-deleteOwnPermission +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermission::0013-managePermissions +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermission::0014-full +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermission::0015-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrant::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrant::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrant::|public|GetAppId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrant::|public|GetApplicationPermissions():[]FileStorageContainerTypeAppPermission +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrant::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrant::|public|GetDelegatedPermissions():[]FileStorageContainerTypeAppPermission +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrant::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrant::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrant::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrant::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrant::|public|SetAppId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrant::|public|SetApplicationPermissions(value:[]FileStorageContainerTypeAppPermission):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrant::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrant::|public|SetDelegatedPermissions(value:[]FileStorageContainerTypeAppPermission):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrant::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrant::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrantable::|public|GetAppId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrantable::|public|GetApplicationPermissions():[]FileStorageContainerTypeAppPermission +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrantable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrantable::|public|GetDelegatedPermissions():[]FileStorageContainerTypeAppPermission +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrantable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrantable::|public|SetAppId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrantable::|public|SetApplicationPermissions(value:[]FileStorageContainerTypeAppPermission):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrantable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrantable::|public|SetDelegatedPermissions(value:[]FileStorageContainerTypeAppPermission):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrantable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrantable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrantCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrantCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrantCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrantCollectionResponse::|public|GetValue():[]FileStorageContainerTypeAppPermissionGrantable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrantCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrantCollectionResponse::|public|SetValue(value:[]FileStorageContainerTypeAppPermissionGrantable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrantCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrantCollectionResponseable::|public|GetValue():[]FileStorageContainerTypeAppPermissionGrantable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrantCollectionResponseable::|public|SetValue(value:[]FileStorageContainerTypeAppPermissionGrantable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrantCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeAppPermissionGrant~~>FileStorageContainerTypeAppPermissionGrantable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeCollectionResponse::|public|GetValue():[]FileStorageContainerTypeable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeCollectionResponse::|public|SetValue(value:[]FileStorageContainerTypeable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeCollectionResponseable::|public|GetValue():[]FileStorageContainerTypeable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeCollectionResponseable::|public|SetValue(value:[]FileStorageContainerTypeable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistration-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistration::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistration::|public|GetApplicationPermissionGrants():[]FileStorageContainerTypeAppPermissionGrantable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistration::|public|GetBillingClassification():*FileStorageContainerBillingClassification +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistration::|public|GetBillingStatus():*FileStorageContainerBillingStatus +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistration::|public|GetEtag():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistration::|public|GetExpirationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistration::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistration::|public|GetOwningAppId():*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistration::|public|GetRegisteredDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistration::|public|GetSettings():FileStorageContainerTypeRegistrationSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistration::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistration::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistration::|public|SetApplicationPermissionGrants(value:[]FileStorageContainerTypeAppPermissionGrantable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistration::|public|SetBillingClassification(value:*FileStorageContainerBillingClassification):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistration::|public|SetBillingStatus(value:*FileStorageContainerBillingStatus):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistration::|public|SetEtag(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistration::|public|SetExpirationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistration::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistration::|public|SetOwningAppId(value:*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistration::|public|SetRegisteredDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistration::|public|SetSettings(value:FileStorageContainerTypeRegistrationSettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationable::|public|GetApplicationPermissionGrants():[]FileStorageContainerTypeAppPermissionGrantable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationable::|public|GetBillingClassification():*FileStorageContainerBillingClassification +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationable::|public|GetBillingStatus():*FileStorageContainerBillingStatus +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationable::|public|GetEtag():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationable::|public|GetExpirationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationable::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationable::|public|GetOwningAppId():*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationable::|public|GetRegisteredDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationable::|public|GetSettings():FileStorageContainerTypeRegistrationSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationable::|public|SetApplicationPermissionGrants(value:[]FileStorageContainerTypeAppPermissionGrantable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationable::|public|SetBillingClassification(value:*FileStorageContainerBillingClassification):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationable::|public|SetBillingStatus(value:*FileStorageContainerBillingStatus):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationable::|public|SetEtag(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationable::|public|SetExpirationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationable::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationable::|public|SetOwningAppId(value:*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationable::|public|SetRegisteredDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationable::|public|SetSettings(value:FileStorageContainerTypeRegistrationSettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationCollectionResponse::|public|GetValue():[]FileStorageContainerTypeRegistrationable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationCollectionResponse::|public|SetValue(value:[]FileStorageContainerTypeRegistrationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationCollectionResponseable::|public|GetValue():[]FileStorageContainerTypeRegistrationable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationCollectionResponseable::|public|SetValue(value:[]FileStorageContainerTypeRegistrationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettings::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettings::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettings::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettings::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettings::|public|GetIsDiscoverabilityEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettings::|public|GetIsItemVersioningEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettings::|public|GetIsSearchEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettings::|public|GetIsSharingRestricted():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettings::|public|GetItemMajorVersionLimit():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettings::|public|GetMaxStoragePerContainerInBytes():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettings::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettings::|public|GetSharingCapability():*SharingCapabilities +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettings::|public|GetUrlTemplate():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettings::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettings::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettings::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettings::|public|SetIsDiscoverabilityEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettings::|public|SetIsItemVersioningEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettings::|public|SetIsSearchEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettings::|public|SetIsSharingRestricted(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettings::|public|SetItemMajorVersionLimit(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettings::|public|SetMaxStoragePerContainerInBytes(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettings::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettings::|public|SetSharingCapability(value:*SharingCapabilities):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettings::|public|SetUrlTemplate(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettingsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettingsable::|public|GetIsDiscoverabilityEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettingsable::|public|GetIsItemVersioningEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettingsable::|public|GetIsSearchEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettingsable::|public|GetIsSharingRestricted():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettingsable::|public|GetItemMajorVersionLimit():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettingsable::|public|GetMaxStoragePerContainerInBytes():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettingsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettingsable::|public|GetSharingCapability():*SharingCapabilities +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettingsable::|public|GetUrlTemplate():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettingsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettingsable::|public|SetIsDiscoverabilityEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettingsable::|public|SetIsItemVersioningEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettingsable::|public|SetIsSearchEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettingsable::|public|SetIsSharingRestricted(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettingsable::|public|SetItemMajorVersionLimit(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettingsable::|public|SetMaxStoragePerContainerInBytes(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettingsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettingsable::|public|SetSharingCapability(value:*SharingCapabilities):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettingsable::|public|SetUrlTemplate(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettingsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeRegistrationSettings~~>FileStorageContainerTypeRegistrationSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettings::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettings::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettings::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettings::|public|GetConsumingTenantOverridables():*FileStorageContainerTypeSettingsOverride +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettings::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettings::|public|GetIsDiscoverabilityEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettings::|public|GetIsItemVersioningEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettings::|public|GetIsSearchEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettings::|public|GetIsSharingRestricted():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettings::|public|GetItemMajorVersionLimit():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettings::|public|GetMaxStoragePerContainerInBytes():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettings::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettings::|public|GetSharingCapability():*SharingCapabilities +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettings::|public|GetUrlTemplate():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettings::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettings::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettings::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettings::|public|SetConsumingTenantOverridables(value:*FileStorageContainerTypeSettingsOverride):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettings::|public|SetIsDiscoverabilityEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettings::|public|SetIsItemVersioningEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettings::|public|SetIsSearchEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettings::|public|SetIsSharingRestricted(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettings::|public|SetItemMajorVersionLimit(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettings::|public|SetMaxStoragePerContainerInBytes(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettings::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettings::|public|SetSharingCapability(value:*SharingCapabilities):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettings::|public|SetUrlTemplate(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettingsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettingsable::|public|GetConsumingTenantOverridables():*FileStorageContainerTypeSettingsOverride +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettingsable::|public|GetIsDiscoverabilityEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettingsable::|public|GetIsItemVersioningEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettingsable::|public|GetIsSearchEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettingsable::|public|GetIsSharingRestricted():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettingsable::|public|GetItemMajorVersionLimit():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettingsable::|public|GetMaxStoragePerContainerInBytes():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettingsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettingsable::|public|GetSharingCapability():*SharingCapabilities +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettingsable::|public|GetUrlTemplate():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettingsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettingsable::|public|SetConsumingTenantOverridables(value:*FileStorageContainerTypeSettingsOverride):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettingsable::|public|SetIsDiscoverabilityEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettingsable::|public|SetIsItemVersioningEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettingsable::|public|SetIsSearchEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettingsable::|public|SetIsSharingRestricted(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettingsable::|public|SetItemMajorVersionLimit(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettingsable::|public|SetMaxStoragePerContainerInBytes(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettingsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettingsable::|public|SetSharingCapability(value:*SharingCapabilities):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettingsable::|public|SetUrlTemplate(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettingsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettingsOverride::0000-urlTemplate +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettingsOverride::0001-isDiscoverabilityEnabled +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettingsOverride::0002-isSearchEnabled +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettingsOverride::0003-isItemVersioningEnabled +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettingsOverride::0004-itemMajorVersionLimit +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettingsOverride::0005-maxStoragePerContainerInBytes +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettingsOverride::0006-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerTypeSettings~~>FileStorageContainerTypeSettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerViewpoint::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerViewpoint::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerViewpoint::|public|GetBackingStore():BackingStore @@ -142733,6 +147519,48 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.firewallPacketQueueingMethodTyp github.com/microsoftgraph/msgraph-sdk-go/.models.firewallPreSharedKeyEncodingMethodType::0000-deviceDefault github.com/microsoftgraph/msgraph-sdk-go/.models.firewallPreSharedKeyEncodingMethodType::0001-none github.com/microsoftgraph/msgraph-sdk-go/.models.firewallPreSharedKeyEncodingMethodType::0002-utF8 +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMap-->*BaseMapFeature +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMap::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMap::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMap::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMap::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMap::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMap::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMap::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMapable::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMapable::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMapable~~>BaseMapFeatureable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMapCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMapCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMapCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMapCollectionResponse::|public|GetValue():[]FixtureMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMapCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMapCollectionResponse::|public|SetValue(value:[]FixtureMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMapCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMapCollectionResponseable::|public|GetValue():[]FixtureMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMapCollectionResponseable::|public|SetValue(value:[]FixtureMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMapCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.floor-->*Place +github.com/microsoftgraph/msgraph-sdk-go/.models.floor::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.floor::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.floor::|public|GetSortOrder():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.floor::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.floor::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.floor::|public|SetSortOrder(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.floor::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.floorable::|public|GetSortOrder():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.floorable::|public|SetSortOrder(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.floorable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; Placeable +github.com/microsoftgraph/msgraph-sdk-go/.models.floorCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.floorCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.floorCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.floorCollectionResponse::|public|GetValue():[]Floorable +github.com/microsoftgraph/msgraph-sdk-go/.models.floorCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.floorCollectionResponse::|public|SetValue(value:[]Floorable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.floorCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.floorCollectionResponseable::|public|GetValue():[]Floorable +github.com/microsoftgraph/msgraph-sdk-go/.models.floorCollectionResponseable::|public|SetValue(value:[]Floorable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.floorCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.folder::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.folder::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.folder::|public|GetBackingStore():BackingStore @@ -142820,6 +147648,71 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.followupFlagStatus::0000-notFla github.com/microsoftgraph/msgraph-sdk-go/.models.followupFlagStatus::0001-complete github.com/microsoftgraph/msgraph-sdk-go/.models.followupFlagStatus::0002-flagged github.com/microsoftgraph/msgraph-sdk-go/.models.followupFlag~~>FollowupFlagable +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMap-->*BaseMapFeature +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMap::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMap::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMap::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMap::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMap::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMapable~~>BaseMapFeatureable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMapCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMapCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMapCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMapCollectionResponse::|public|GetValue():[]FootprintMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMapCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMapCollectionResponse::|public|SetValue(value:[]FootprintMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMapCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMapCollectionResponseable::|public|GetValue():[]FootprintMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMapCollectionResponseable::|public|SetValue(value:[]FootprintMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMapCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionConfiguration::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionConfiguration::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionConfiguration::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionConfiguration::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionConfiguration::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionConfiguration::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionConfiguration::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionConfiguration::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionConfigurationable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionConfigurationable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionConfigurationable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionConfigurationable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionConfigurationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionConfiguration~~>FraudProtectionConfigurationable +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProvider-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProvider::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProvider::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProvider::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProvider::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProvider::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProvider::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProvider::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProviderable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProviderable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProviderable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProviderCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProviderCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProviderCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProviderCollectionResponse::|public|GetValue():[]FraudProtectionProviderable +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProviderCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProviderCollectionResponse::|public|SetValue(value:[]FraudProtectionProviderable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProviderCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProviderCollectionResponseable::|public|GetValue():[]FraudProtectionProviderable +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProviderCollectionResponseable::|public|SetValue(value:[]FraudProtectionProviderable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProviderCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProviderConfiguration-->*FraudProtectionConfiguration +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProviderConfiguration::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProviderConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProviderConfiguration::|public|GetFraudProtectionProvider():FraudProtectionProviderable +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProviderConfiguration::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProviderConfiguration::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProviderConfiguration::|public|SetFraudProtectionProvider(value:FraudProtectionProviderable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProviderConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProviderConfigurationable::|public|GetFraudProtectionProvider():FraudProtectionProviderable +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProviderConfigurationable::|public|SetFraudProtectionProvider(value:FraudProtectionProviderable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionProviderConfigurationable~~>FraudProtectionConfigurationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.freeBusyError::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.freeBusyError::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.freeBusyError::|public|GetBackingStore():BackingStore @@ -143014,6 +147907,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetOnPremisesNet github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetOnPremisesProvisioningErrors():[]OnPremisesProvisioningErrorable github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetOnPremisesSamAccountName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetOnPremisesSecurityIdentifier():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetOnPremisesSyncBehavior():OnPremisesSyncBehaviorable github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetOnPremisesSyncEnabled():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetOwners():[]DirectoryObjectable github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetPermissionGrants():[]ResourceSpecificPermissionGrantable @@ -143084,6 +147978,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetOnPremisesNet github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetOnPremisesProvisioningErrors(value:[]OnPremisesProvisioningErrorable):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetOnPremisesSamAccountName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetOnPremisesSecurityIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetOnPremisesSyncBehavior(value:OnPremisesSyncBehaviorable):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetOnPremisesSyncEnabled(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetOwners(value:[]DirectoryObjectable):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetPermissionGrants(value:[]ResourceSpecificPermissionGrantable):void @@ -143153,6 +148048,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetOnPremise github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetOnPremisesProvisioningErrors():[]OnPremisesProvisioningErrorable github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetOnPremisesSamAccountName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetOnPremisesSecurityIdentifier():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetOnPremisesSyncBehavior():OnPremisesSyncBehaviorable github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetOnPremisesSyncEnabled():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetOwners():[]DirectoryObjectable github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetPermissionGrants():[]ResourceSpecificPermissionGrantable @@ -143221,6 +148117,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetOnPremise github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetOnPremisesProvisioningErrors(value:[]OnPremisesProvisioningErrorable):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetOnPremisesSamAccountName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetOnPremisesSecurityIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetOnPremisesSyncBehavior(value:OnPremisesSyncBehaviorable):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetOnPremisesSyncEnabled(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetOwners(value:[]DirectoryObjectable):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetPermissionGrants(value:[]ResourceSpecificPermissionGrantable):void @@ -143580,6 +148477,21 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.httpRequestEndpoint::|static|pu github.com/microsoftgraph/msgraph-sdk-go/.models.httpRequestEndpointable::|public|GetTargetUrl():*string github.com/microsoftgraph/msgraph-sdk-go/.models.httpRequestEndpointable::|public|SetTargetUrl(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.httpRequestEndpointable~~>CustomExtensionEndpointConfigurationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.humanSecurityFraudProtectionProvider-->*FraudProtectionProvider +github.com/microsoftgraph/msgraph-sdk-go/.models.humanSecurityFraudProtectionProvider::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.humanSecurityFraudProtectionProvider::|public|GetAppId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.humanSecurityFraudProtectionProvider::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.humanSecurityFraudProtectionProvider::|public|GetServerToken():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.humanSecurityFraudProtectionProvider::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.humanSecurityFraudProtectionProvider::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.humanSecurityFraudProtectionProvider::|public|SetAppId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.humanSecurityFraudProtectionProvider::|public|SetServerToken(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.humanSecurityFraudProtectionProvider::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.humanSecurityFraudProtectionProviderable::|public|GetAppId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.humanSecurityFraudProtectionProviderable::|public|GetServerToken():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.humanSecurityFraudProtectionProviderable::|public|SetAppId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.humanSecurityFraudProtectionProviderable::|public|SetServerToken(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.humanSecurityFraudProtectionProviderable~~>FraudProtectionProviderable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.hyperlinkOrPictureColumn::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.hyperlinkOrPictureColumn::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.hyperlinkOrPictureColumn::|public|GetBackingStore():BackingStore @@ -143669,6 +148581,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainer::|public|GetC github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainer::|public|GetCustomAuthenticationExtensions():[]CustomAuthenticationExtensionable github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainer::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainer::|public|GetIdentityProviders():[]IdentityProviderBaseable +github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainer::|public|GetRiskPrevention():RiskPreventionContainerable github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainer::|public|GetUserFlowAttributes():[]IdentityUserFlowAttributeable github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainer::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainer::|public|Serialize(writer:SerializationWriter):void @@ -143679,6 +148592,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainer::|public|SetB github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainer::|public|SetConditionalAccess(value:ConditionalAccessRootable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainer::|public|SetCustomAuthenticationExtensions(value:[]CustomAuthenticationExtensionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainer::|public|SetIdentityProviders(value:[]IdentityProviderBaseable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainer::|public|SetRiskPrevention(value:RiskPreventionContainerable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainer::|public|SetUserFlowAttributes(value:[]IdentityUserFlowAttributeable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainer::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainerable::|public|GetApiConnectors():[]IdentityApiConnectorable @@ -143688,6 +148602,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainerable::|public| github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainerable::|public|GetConditionalAccess():ConditionalAccessRootable github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainerable::|public|GetCustomAuthenticationExtensions():[]CustomAuthenticationExtensionable github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainerable::|public|GetIdentityProviders():[]IdentityProviderBaseable +github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainerable::|public|GetRiskPrevention():RiskPreventionContainerable github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainerable::|public|GetUserFlowAttributes():[]IdentityUserFlowAttributeable github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainerable::|public|SetApiConnectors(value:[]IdentityApiConnectorable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainerable::|public|SetAuthenticationEventListeners(value:[]AuthenticationEventListenerable):void @@ -143696,6 +148611,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainerable::|public| github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainerable::|public|SetConditionalAccess(value:ConditionalAccessRootable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainerable::|public|SetCustomAuthenticationExtensions(value:[]CustomAuthenticationExtensionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainerable::|public|SetIdentityProviders(value:[]IdentityProviderBaseable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainerable::|public|SetRiskPrevention(value:RiskPreventionContainerable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainerable::|public|SetUserFlowAttributes(value:[]IdentityUserFlowAttributeable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identityContainerable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.identityCustomUserFlowAttribute-->*IdentityUserFlowAttribute @@ -143705,6 +148621,84 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.identityCustomUserFlowAttribute github.com/microsoftgraph/msgraph-sdk-go/.models.identityCustomUserFlowAttribute::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.identityCustomUserFlowAttribute::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.identityCustomUserFlowAttributeable~~>IdentityUserFlowAttributeable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateGroupScope-->*ActivationScope +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateGroupScope::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateGroupScope::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateGroupScope::|public|GetGroup():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateGroupScope::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateGroupScope::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateGroupScope::|public|SetGroup(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateGroupScope::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateGroupScopeable::|public|GetGroup():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateGroupScopeable::|public|SetGroup(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateGroupScopeable~~>ActivationScopeable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateProcessingResultScope-->*ActivationScope +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateProcessingResultScope::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateProcessingResultScope::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateProcessingResultScope::|public|GetProcessingResults():[]UserProcessingResultable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateProcessingResultScope::|public|GetTaskScope():*ActivationTaskScopeType +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateProcessingResultScope::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateProcessingResultScope::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateProcessingResultScope::|public|SetProcessingResults(value:[]UserProcessingResultable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateProcessingResultScope::|public|SetTaskScope(value:*ActivationTaskScopeType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateProcessingResultScope::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateProcessingResultScopeable::|public|GetProcessingResults():[]UserProcessingResultable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateProcessingResultScopeable::|public|GetTaskScope():*ActivationTaskScopeType +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateProcessingResultScopeable::|public|SetProcessingResults(value:[]UserProcessingResultable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateProcessingResultScopeable::|public|SetTaskScope(value:*ActivationTaskScopeType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateProcessingResultScopeable~~>ActivationScopeable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateRunScope-->*ActivationScope +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateRunScope::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateRunScope::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateRunScope::|public|GetRun():Runable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateRunScope::|public|GetTaskScope():*ActivationTaskScopeType +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateRunScope::|public|GetUserScope():*ActivationUserScopeType +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateRunScope::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateRunScope::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateRunScope::|public|SetRun(value:Runable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateRunScope::|public|SetTaskScope(value:*ActivationTaskScopeType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateRunScope::|public|SetUserScope(value:*ActivationUserScopeType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateRunScope::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateRunScopeable::|public|GetRun():Runable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateRunScopeable::|public|GetTaskScope():*ActivationTaskScopeType +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateRunScopeable::|public|GetUserScope():*ActivationUserScopeType +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateRunScopeable::|public|SetRun(value:Runable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateRunScopeable::|public|SetTaskScope(value:*ActivationTaskScopeType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateRunScopeable::|public|SetUserScope(value:*ActivationUserScopeType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateRunScopeable~~>ActivationScopeable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateUserScope-->*ActivationScope +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateUserScope::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateUserScope::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateUserScope::|public|GetUsers():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateUserScope::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateUserScope::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateUserScope::|public|SetUsers(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateUserScope::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateUserScopeable::|public|GetUsers():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateUserScopeable::|public|SetUsers(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activateUserScopeable~~>ActivationScopeable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activationScope::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activationScope::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activationScope::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activationScope::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activationScope::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activationScope::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activationScope::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activationScope::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activationScope::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activationScope::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activationScopeable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activationScopeable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activationScopeable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activationScopeable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activationScopeable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activationScope~~>ActivationScopeable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activationTaskScopeType::0000-allTasks +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activationTaskScopeType::0001-failedTasks +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activationTaskScopeType::0002-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activationUserScopeType::0000-allUsers +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activationUserScopeType::0001-failedUsers +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.activationUserScopeType::0002-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.attributeChangeTrigger-->*WorkflowExecutionTrigger github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.attributeChangeTrigger::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.attributeChangeTrigger::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -143946,12 +148940,14 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.ruleBasedSub github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.ruleBasedSubjectSetable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SubjectSetable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run::|public|GetActivatedOnScope():ActivationScopeable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run::|public|GetCompletedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run::|public|GetFailedTasksCount():*int32 github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run::|public|GetFailedUsersCount():*int32 github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run::|public|GetLastUpdatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run::|public|GetProcessingStatus():*LifecycleWorkflowProcessingStatus +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run::|public|GetReprocessedRuns():[]Runable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run::|public|GetScheduledDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run::|public|GetStartedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run::|public|GetSuccessfulUsersCount():*int32 @@ -143963,11 +148959,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run::|public github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run::|public|GetWorkflowExecutionType():*WorkflowExecutionType github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run::|public|SetActivatedOnScope(value:ActivationScopeable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run::|public|SetCompletedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run::|public|SetFailedTasksCount(value:*int32):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run::|public|SetFailedUsersCount(value:*int32):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run::|public|SetLastUpdatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run::|public|SetProcessingStatus(value:*LifecycleWorkflowProcessingStatus):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run::|public|SetReprocessedRuns(value:[]Runable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run::|public|SetScheduledDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run::|public|SetStartedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run::|public|SetSuccessfulUsersCount(value:*int32):void @@ -143978,11 +148976,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run::|public github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run::|public|SetUserProcessingResults(value:[]UserProcessingResultable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run::|public|SetWorkflowExecutionType(value:*WorkflowExecutionType):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.run::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.runable::|public|GetActivatedOnScope():ActivationScopeable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.runable::|public|GetCompletedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.runable::|public|GetFailedTasksCount():*int32 github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.runable::|public|GetFailedUsersCount():*int32 github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.runable::|public|GetLastUpdatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.runable::|public|GetProcessingStatus():*LifecycleWorkflowProcessingStatus +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.runable::|public|GetReprocessedRuns():[]Runable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.runable::|public|GetScheduledDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.runable::|public|GetStartedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.runable::|public|GetSuccessfulUsersCount():*int32 @@ -143992,11 +148992,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.runable::|pu github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.runable::|public|GetTotalUsersCount():*int32 github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.runable::|public|GetUserProcessingResults():[]UserProcessingResultable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.runable::|public|GetWorkflowExecutionType():*WorkflowExecutionType +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.runable::|public|SetActivatedOnScope(value:ActivationScopeable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.runable::|public|SetCompletedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.runable::|public|SetFailedTasksCount(value:*int32):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.runable::|public|SetFailedUsersCount(value:*int32):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.runable::|public|SetLastUpdatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.runable::|public|SetProcessingStatus(value:*LifecycleWorkflowProcessingStatus):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.runable::|public|SetReprocessedRuns(value:[]Runable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.runable::|public|SetScheduledDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.runable::|public|SetStartedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.runable::|public|SetSuccessfulUsersCount(value:*int32):void @@ -144447,12 +149449,24 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.triggerAttri github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.triggerAttributeable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.triggerAttributeable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.triggerAttribute~~>TriggerAttributeable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userInactivityTrigger-->*WorkflowExecutionTrigger +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userInactivityTrigger::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userInactivityTrigger::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userInactivityTrigger::|public|GetInactivityPeriodInDays():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userInactivityTrigger::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userInactivityTrigger::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userInactivityTrigger::|public|SetInactivityPeriodInDays(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userInactivityTrigger::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userInactivityTriggerable::|public|GetInactivityPeriodInDays():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userInactivityTriggerable::|public|SetInactivityPeriodInDays(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userInactivityTriggerable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; WorkflowExecutionTriggerable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResult-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResult::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResult::|public|GetCompletedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResult::|public|GetFailedTasksCount():*int32 github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResult::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResult::|public|GetProcessingStatus():*LifecycleWorkflowProcessingStatus +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResult::|public|GetReprocessedRuns():[]Runable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResult::|public|GetScheduledDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResult::|public|GetStartedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResult::|public|GetSubject():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable @@ -144466,6 +149480,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessi github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResult::|public|SetCompletedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResult::|public|SetFailedTasksCount(value:*int32):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResult::|public|SetProcessingStatus(value:*LifecycleWorkflowProcessingStatus):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResult::|public|SetReprocessedRuns(value:[]Runable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResult::|public|SetScheduledDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResult::|public|SetStartedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResult::|public|SetSubject(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable):void @@ -144478,6 +149493,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessi github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResultable::|public|GetCompletedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResultable::|public|GetFailedTasksCount():*int32 github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResultable::|public|GetProcessingStatus():*LifecycleWorkflowProcessingStatus +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResultable::|public|GetReprocessedRuns():[]Runable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResultable::|public|GetScheduledDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResultable::|public|GetStartedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResultable::|public|GetSubject():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable @@ -144489,6 +149505,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessi github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResultable::|public|SetCompletedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResultable::|public|SetFailedTasksCount(value:*int32):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResultable::|public|SetProcessingStatus(value:*LifecycleWorkflowProcessingStatus):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResultable::|public|SetReprocessedRuns(value:[]Runable):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResultable::|public|SetScheduledDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResultable::|public|SetStartedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResultable::|public|SetSubject(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable):void @@ -144697,6 +149714,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowExec github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowExecutionType::0000-scheduled github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowExecutionType::0001-onDemand github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowExecutionType::0002-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowExecutionType::0003-activatedWithScope github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowsInsightsByCategory::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowsInsightsByCategory::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.workflowsInsightsByCategory::|public|GetBackingStore():BackingStore @@ -146153,33 +151171,6 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.iosCustomConfigurationable::|pu github.com/microsoftgraph/msgraph-sdk-go/.models.iosCustomConfigurationable::|public|SetPayloadFileName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.iosCustomConfigurationable::|public|SetPayloadName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.iosCustomConfigurationable~~>DeviceConfigurationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable -github.com/microsoftgraph/msgraph-sdk-go/.models.iosDdmLobAppAssignmentSettings-->*MobileAppAssignmentSettings -github.com/microsoftgraph/msgraph-sdk-go/.models.iosDdmLobAppAssignmentSettings::|public|constructor():void -github.com/microsoftgraph/msgraph-sdk-go/.models.iosDdmLobAppAssignmentSettings::|public|GetAssociatedDomains():[]string -github.com/microsoftgraph/msgraph-sdk-go/.models.iosDdmLobAppAssignmentSettings::|public|GetAssociatedDomainsDirectDownloadAllowed():*bool -github.com/microsoftgraph/msgraph-sdk-go/.models.iosDdmLobAppAssignmentSettings::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) -github.com/microsoftgraph/msgraph-sdk-go/.models.iosDdmLobAppAssignmentSettings::|public|GetPreventManagedAppBackup():*bool -github.com/microsoftgraph/msgraph-sdk-go/.models.iosDdmLobAppAssignmentSettings::|public|GetTapToPayScreenLockEnabled():*bool -github.com/microsoftgraph/msgraph-sdk-go/.models.iosDdmLobAppAssignmentSettings::|public|GetVpnConfigurationId():*string -github.com/microsoftgraph/msgraph-sdk-go/.models.iosDdmLobAppAssignmentSettings::|public|OdataType:*string -github.com/microsoftgraph/msgraph-sdk-go/.models.iosDdmLobAppAssignmentSettings::|public|Serialize(writer:SerializationWriter):void -github.com/microsoftgraph/msgraph-sdk-go/.models.iosDdmLobAppAssignmentSettings::|public|SetAssociatedDomains(value:[]string):void -github.com/microsoftgraph/msgraph-sdk-go/.models.iosDdmLobAppAssignmentSettings::|public|SetAssociatedDomainsDirectDownloadAllowed(value:*bool):void -github.com/microsoftgraph/msgraph-sdk-go/.models.iosDdmLobAppAssignmentSettings::|public|SetPreventManagedAppBackup(value:*bool):void -github.com/microsoftgraph/msgraph-sdk-go/.models.iosDdmLobAppAssignmentSettings::|public|SetTapToPayScreenLockEnabled(value:*bool):void -github.com/microsoftgraph/msgraph-sdk-go/.models.iosDdmLobAppAssignmentSettings::|public|SetVpnConfigurationId(value:*string):void -github.com/microsoftgraph/msgraph-sdk-go/.models.iosDdmLobAppAssignmentSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable -github.com/microsoftgraph/msgraph-sdk-go/.models.iosDdmLobAppAssignmentSettingsable::|public|GetAssociatedDomains():[]string -github.com/microsoftgraph/msgraph-sdk-go/.models.iosDdmLobAppAssignmentSettingsable::|public|GetAssociatedDomainsDirectDownloadAllowed():*bool -github.com/microsoftgraph/msgraph-sdk-go/.models.iosDdmLobAppAssignmentSettingsable::|public|GetPreventManagedAppBackup():*bool -github.com/microsoftgraph/msgraph-sdk-go/.models.iosDdmLobAppAssignmentSettingsable::|public|GetTapToPayScreenLockEnabled():*bool -github.com/microsoftgraph/msgraph-sdk-go/.models.iosDdmLobAppAssignmentSettingsable::|public|GetVpnConfigurationId():*string -github.com/microsoftgraph/msgraph-sdk-go/.models.iosDdmLobAppAssignmentSettingsable::|public|SetAssociatedDomains(value:[]string):void -github.com/microsoftgraph/msgraph-sdk-go/.models.iosDdmLobAppAssignmentSettingsable::|public|SetAssociatedDomainsDirectDownloadAllowed(value:*bool):void -github.com/microsoftgraph/msgraph-sdk-go/.models.iosDdmLobAppAssignmentSettingsable::|public|SetPreventManagedAppBackup(value:*bool):void -github.com/microsoftgraph/msgraph-sdk-go/.models.iosDdmLobAppAssignmentSettingsable::|public|SetTapToPayScreenLockEnabled(value:*bool):void -github.com/microsoftgraph/msgraph-sdk-go/.models.iosDdmLobAppAssignmentSettingsable::|public|SetVpnConfigurationId(value:*string):void -github.com/microsoftgraph/msgraph-sdk-go/.models.iosDdmLobAppAssignmentSettingsable~~>MobileAppAssignmentSettingsable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.iosDeviceFeaturesConfiguration-->*AppleDeviceFeaturesConfigurationBase github.com/microsoftgraph/msgraph-sdk-go/.models.iosDeviceFeaturesConfiguration::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.iosDeviceFeaturesConfiguration::|public|GetAssetTagTemplate():*string @@ -148306,6 +153297,39 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.level::0000-beginner github.com/microsoftgraph/msgraph-sdk-go/.models.level::0001-intermediate github.com/microsoftgraph/msgraph-sdk-go/.models.level::0002-advanced github.com/microsoftgraph/msgraph-sdk-go/.models.level::0003-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMap-->*BaseMapFeature +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMap::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMap::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMap::|public|GetFixtures():[]FixtureMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMap::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMap::|public|GetSections():[]SectionMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMap::|public|GetUnits():[]UnitMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMap::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMap::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMap::|public|SetFixtures(value:[]FixtureMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMap::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMap::|public|SetSections(value:[]SectionMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMap::|public|SetUnits(value:[]UnitMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMap::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapable::|public|GetFixtures():[]FixtureMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapable::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapable::|public|GetSections():[]SectionMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapable::|public|GetUnits():[]UnitMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapable::|public|SetFixtures(value:[]FixtureMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapable::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapable::|public|SetSections(value:[]SectionMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapable::|public|SetUnits(value:[]UnitMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapable~~>BaseMapFeatureable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapCollectionResponse::|public|GetValue():[]LevelMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapCollectionResponse::|public|SetValue(value:[]LevelMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapCollectionResponseable::|public|GetValue():[]LevelMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapCollectionResponseable::|public|SetValue(value:[]LevelMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.licenseAssignmentState::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.licenseAssignmentState::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.licenseAssignmentState::|public|GetAssignedByGroup():*string @@ -148549,6 +153573,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.listItem-->*BaseItem github.com/microsoftgraph/msgraph-sdk-go/.models.listItem::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.listItem::|public|GetAnalytics():ItemAnalyticsable github.com/microsoftgraph/msgraph-sdk-go/.models.listItem::|public|GetContentType():ContentTypeInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.listItem::|public|GetDeleted():Deletedable github.com/microsoftgraph/msgraph-sdk-go/.models.listItem::|public|GetDocumentSetVersions():[]DocumentSetVersionable github.com/microsoftgraph/msgraph-sdk-go/.models.listItem::|public|GetDriveItem():DriveItemable github.com/microsoftgraph/msgraph-sdk-go/.models.listItem::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -148559,6 +153584,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.listItem::|public|OdataType:*st github.com/microsoftgraph/msgraph-sdk-go/.models.listItem::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.listItem::|public|SetAnalytics(value:ItemAnalyticsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.listItem::|public|SetContentType(value:ContentTypeInfoable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.listItem::|public|SetDeleted(value:Deletedable):void github.com/microsoftgraph/msgraph-sdk-go/.models.listItem::|public|SetDocumentSetVersions(value:[]DocumentSetVersionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.listItem::|public|SetDriveItem(value:DriveItemable):void github.com/microsoftgraph/msgraph-sdk-go/.models.listItem::|public|SetFields(value:FieldValueSetable):void @@ -148567,6 +153593,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.listItem::|public|SetVersions(v github.com/microsoftgraph/msgraph-sdk-go/.models.listItem::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.listItemable::|public|GetAnalytics():ItemAnalyticsable github.com/microsoftgraph/msgraph-sdk-go/.models.listItemable::|public|GetContentType():ContentTypeInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.listItemable::|public|GetDeleted():Deletedable github.com/microsoftgraph/msgraph-sdk-go/.models.listItemable::|public|GetDocumentSetVersions():[]DocumentSetVersionable github.com/microsoftgraph/msgraph-sdk-go/.models.listItemable::|public|GetDriveItem():DriveItemable github.com/microsoftgraph/msgraph-sdk-go/.models.listItemable::|public|GetFields():FieldValueSetable @@ -148574,6 +153601,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.listItemable::|public|GetSharep github.com/microsoftgraph/msgraph-sdk-go/.models.listItemable::|public|GetVersions():[]ListItemVersionable github.com/microsoftgraph/msgraph-sdk-go/.models.listItemable::|public|SetAnalytics(value:ItemAnalyticsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.listItemable::|public|SetContentType(value:ContentTypeInfoable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.listItemable::|public|SetDeleted(value:Deletedable):void github.com/microsoftgraph/msgraph-sdk-go/.models.listItemable::|public|SetDocumentSetVersions(value:[]DocumentSetVersionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.listItemable::|public|SetDriveItem(value:DriveItemable):void github.com/microsoftgraph/msgraph-sdk-go/.models.listItemable::|public|SetFields(value:FieldValueSetable):void @@ -149505,6 +154533,30 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.mailAssessmentRequestable::|pub github.com/microsoftgraph/msgraph-sdk-go/.models.mailAssessmentRequestable::|public|SetMessageUri(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.mailAssessmentRequestable::|public|SetRecipientEmail(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.mailAssessmentRequestable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; ThreatAssessmentRequestable +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetails::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetails::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetails::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetails::|public|GetEmailAddress():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetails::|public|GetExternalDirectoryObjectId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetails::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetails::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetails::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetails::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetails::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetails::|public|SetEmailAddress(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetails::|public|SetExternalDirectoryObjectId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetails::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetails::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetailsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetailsable::|public|GetEmailAddress():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetailsable::|public|GetExternalDirectoryObjectId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetailsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetailsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetailsable::|public|SetEmailAddress(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetailsable::|public|SetExternalDirectoryObjectId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetailsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetailsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetails~~>MailboxDetailsable github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxProtectionRule-->*ProtectionRuleBase github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxProtectionRule::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxProtectionRule::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -150500,6 +155552,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.managedDevice::|public|GetManag github.com/microsoftgraph/msgraph-sdk-go/.models.managedDevice::|public|GetManagedDeviceOwnerType():*ManagedDeviceOwnerType github.com/microsoftgraph/msgraph-sdk-go/.models.managedDevice::|public|GetManagementAgent():*ManagementAgentType github.com/microsoftgraph/msgraph-sdk-go/.models.managedDevice::|public|GetManagementCertificateExpirationDate():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.managedDevice::|public|GetManagementState():*ManagementState github.com/microsoftgraph/msgraph-sdk-go/.models.managedDevice::|public|GetManufacturer():*string github.com/microsoftgraph/msgraph-sdk-go/.models.managedDevice::|public|GetMeid():*string github.com/microsoftgraph/msgraph-sdk-go/.models.managedDevice::|public|GetModel():*string @@ -150562,6 +155615,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.managedDevice::|public|SetManag github.com/microsoftgraph/msgraph-sdk-go/.models.managedDevice::|public|SetManagedDeviceOwnerType(value:*ManagedDeviceOwnerType):void github.com/microsoftgraph/msgraph-sdk-go/.models.managedDevice::|public|SetManagementAgent(value:*ManagementAgentType):void github.com/microsoftgraph/msgraph-sdk-go/.models.managedDevice::|public|SetManagementCertificateExpirationDate(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.managedDevice::|public|SetManagementState(value:*ManagementState):void github.com/microsoftgraph/msgraph-sdk-go/.models.managedDevice::|public|SetManufacturer(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.managedDevice::|public|SetMeid(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.managedDevice::|public|SetModel(value:*string):void @@ -150623,6 +155677,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.managedDeviceable::|public|GetM github.com/microsoftgraph/msgraph-sdk-go/.models.managedDeviceable::|public|GetManagedDeviceOwnerType():*ManagedDeviceOwnerType github.com/microsoftgraph/msgraph-sdk-go/.models.managedDeviceable::|public|GetManagementAgent():*ManagementAgentType github.com/microsoftgraph/msgraph-sdk-go/.models.managedDeviceable::|public|GetManagementCertificateExpirationDate():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.managedDeviceable::|public|GetManagementState():*ManagementState github.com/microsoftgraph/msgraph-sdk-go/.models.managedDeviceable::|public|GetManufacturer():*string github.com/microsoftgraph/msgraph-sdk-go/.models.managedDeviceable::|public|GetMeid():*string github.com/microsoftgraph/msgraph-sdk-go/.models.managedDeviceable::|public|GetModel():*string @@ -150683,6 +155738,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.managedDeviceable::|public|SetM github.com/microsoftgraph/msgraph-sdk-go/.models.managedDeviceable::|public|SetManagedDeviceOwnerType(value:*ManagedDeviceOwnerType):void github.com/microsoftgraph/msgraph-sdk-go/.models.managedDeviceable::|public|SetManagementAgent(value:*ManagementAgentType):void github.com/microsoftgraph/msgraph-sdk-go/.models.managedDeviceable::|public|SetManagementCertificateExpirationDate(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.managedDeviceable::|public|SetManagementState(value:*ManagementState):void github.com/microsoftgraph/msgraph-sdk-go/.models.managedDeviceable::|public|SetManufacturer(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.managedDeviceable::|public|SetMeid(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.managedDeviceable::|public|SetModel(value:*string):void @@ -151220,6 +156276,24 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.managementAgentType::0009-jamf github.com/microsoftgraph/msgraph-sdk-go/.models.managementAgentType::0010-googleCloudDevicePolicyController github.com/microsoftgraph/msgraph-sdk-go/.models.managementAgentType::0011-microsoft365ManagedMdm github.com/microsoftgraph/msgraph-sdk-go/.models.managementAgentType::0012-msSense +github.com/microsoftgraph/msgraph-sdk-go/.models.managementState::0000-managed +github.com/microsoftgraph/msgraph-sdk-go/.models.managementState::0001-retirePending +github.com/microsoftgraph/msgraph-sdk-go/.models.managementState::0002-retireFailed +github.com/microsoftgraph/msgraph-sdk-go/.models.managementState::0003-wipePending +github.com/microsoftgraph/msgraph-sdk-go/.models.managementState::0004-wipeFailed +github.com/microsoftgraph/msgraph-sdk-go/.models.managementState::0005-unhealthy +github.com/microsoftgraph/msgraph-sdk-go/.models.managementState::0006-deletePending +github.com/microsoftgraph/msgraph-sdk-go/.models.managementState::0007-retireIssued +github.com/microsoftgraph/msgraph-sdk-go/.models.managementState::0008-wipeIssued +github.com/microsoftgraph/msgraph-sdk-go/.models.managementState::0009-wipeCanceled +github.com/microsoftgraph/msgraph-sdk-go/.models.managementState::0010-retireCanceled +github.com/microsoftgraph/msgraph-sdk-go/.models.managementState::0011-discovered +github.com/microsoftgraph/msgraph-sdk-go/.models.managementState::0012-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.maxWorkLocationDetails::0000-unknown +github.com/microsoftgraph/msgraph-sdk-go/.models.maxWorkLocationDetails::0001-none +github.com/microsoftgraph/msgraph-sdk-go/.models.maxWorkLocationDetails::0002-approximate +github.com/microsoftgraph/msgraph-sdk-go/.models.maxWorkLocationDetails::0003-specific +github.com/microsoftgraph/msgraph-sdk-go/.models.maxWorkLocationDetails::0004-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.mdmAppConfigKeyType::0000-stringType github.com/microsoftgraph/msgraph-sdk-go/.models.mdmAppConfigKeyType::0001-integerType github.com/microsoftgraph/msgraph-sdk-go/.models.mdmAppConfigKeyType::0002-realType @@ -151658,6 +156732,58 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.meetingMessageType::0002-meetin github.com/microsoftgraph/msgraph-sdk-go/.models.meetingMessageType::0003-meetingAccepted github.com/microsoftgraph/msgraph-sdk-go/.models.meetingMessageType::0004-meetingTenativelyAccepted github.com/microsoftgraph/msgraph-sdk-go/.models.meetingMessageType::0005-meetingDeclined +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNote::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNote::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNote::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNote::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNote::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNote::|public|GetSubpoints():[]MeetingNoteSubpointable +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNote::|public|GetText():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNote::|public|GetTitle():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNote::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNote::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNote::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNote::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNote::|public|SetSubpoints(value:[]MeetingNoteSubpointable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNote::|public|SetText(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNote::|public|SetTitle(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNote::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteable::|public|GetSubpoints():[]MeetingNoteSubpointable +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteable::|public|GetText():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteable::|public|GetTitle():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteable::|public|SetSubpoints(value:[]MeetingNoteSubpointable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteable::|public|SetText(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteable::|public|SetTitle(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteSubpoint::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteSubpoint::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteSubpoint::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteSubpoint::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteSubpoint::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteSubpoint::|public|GetText():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteSubpoint::|public|GetTitle():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteSubpoint::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteSubpoint::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteSubpoint::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteSubpoint::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteSubpoint::|public|SetText(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteSubpoint::|public|SetTitle(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteSubpoint::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteSubpointable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteSubpointable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteSubpointable::|public|GetText():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteSubpointable::|public|GetTitle():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteSubpointable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteSubpointable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteSubpointable::|public|SetText(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteSubpointable::|public|SetTitle(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteSubpointable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNoteSubpoint~~>MeetingNoteSubpointable +github.com/microsoftgraph/msgraph-sdk-go/.models.meetingNote~~>MeetingNoteable github.com/microsoftgraph/msgraph-sdk-go/.models.meetingParticipantInfo::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.meetingParticipantInfo::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.meetingParticipantInfo::|public|GetBackingStore():BackingStore @@ -151903,6 +157029,34 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.membersLeftEventMessageDetailab github.com/microsoftgraph/msgraph-sdk-go/.models.membersLeftEventMessageDetailable::|public|SetInitiator(value:IdentitySetable):void github.com/microsoftgraph/msgraph-sdk-go/.models.membersLeftEventMessageDetailable::|public|SetMembers(value:[]TeamworkUserIdentityable):void github.com/microsoftgraph/msgraph-sdk-go/.models.membersLeftEventMessageDetailable~~>EventMessageDetailable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.mentionEvent::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.mentionEvent::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.mentionEvent::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.mentionEvent::|public|GetEventDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.mentionEvent::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.mentionEvent::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.mentionEvent::|public|GetSpeaker():IdentitySetable +github.com/microsoftgraph/msgraph-sdk-go/.models.mentionEvent::|public|GetTranscriptUtterance():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.mentionEvent::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mentionEvent::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mentionEvent::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mentionEvent::|public|SetEventDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mentionEvent::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mentionEvent::|public|SetSpeaker(value:IdentitySetable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mentionEvent::|public|SetTranscriptUtterance(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mentionEvent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.mentionEventable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.mentionEventable::|public|GetEventDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.mentionEventable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.mentionEventable::|public|GetSpeaker():IdentitySetable +github.com/microsoftgraph/msgraph-sdk-go/.models.mentionEventable::|public|GetTranscriptUtterance():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.mentionEventable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mentionEventable::|public|SetEventDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mentionEventable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mentionEventable::|public|SetSpeaker(value:IdentitySetable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mentionEventable::|public|SetTranscriptUtterance(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mentionEventable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.mentionEvent~~>MentionEventable github.com/microsoftgraph/msgraph-sdk-go/.models.message-->*OutlookItem github.com/microsoftgraph/msgraph-sdk-go/.models.message::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.message::|public|GetAttachments():[]Attachmentable @@ -152415,7 +157569,6 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.microsoftAccountUserConversatio github.com/microsoftgraph/msgraph-sdk-go/.models.microsoftAccountUserConversationMemberable~~>ConversationMemberable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.microsoftAuthenticatorAuthenticationMethod-->*AuthenticationMethod github.com/microsoftgraph/msgraph-sdk-go/.models.microsoftAuthenticatorAuthenticationMethod::|public|constructor():void -github.com/microsoftgraph/msgraph-sdk-go/.models.microsoftAuthenticatorAuthenticationMethod::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.microsoftAuthenticatorAuthenticationMethod::|public|GetDevice():Deviceable github.com/microsoftgraph/msgraph-sdk-go/.models.microsoftAuthenticatorAuthenticationMethod::|public|GetDeviceTag():*string github.com/microsoftgraph/msgraph-sdk-go/.models.microsoftAuthenticatorAuthenticationMethod::|public|GetDisplayName():*string @@ -152423,18 +157576,15 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.microsoftAuthenticatorAuthentic github.com/microsoftgraph/msgraph-sdk-go/.models.microsoftAuthenticatorAuthenticationMethod::|public|GetPhoneAppVersion():*string github.com/microsoftgraph/msgraph-sdk-go/.models.microsoftAuthenticatorAuthenticationMethod::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.microsoftAuthenticatorAuthenticationMethod::|public|Serialize(writer:SerializationWriter):void -github.com/microsoftgraph/msgraph-sdk-go/.models.microsoftAuthenticatorAuthenticationMethod::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.microsoftAuthenticatorAuthenticationMethod::|public|SetDevice(value:Deviceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.microsoftAuthenticatorAuthenticationMethod::|public|SetDeviceTag(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.microsoftAuthenticatorAuthenticationMethod::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.microsoftAuthenticatorAuthenticationMethod::|public|SetPhoneAppVersion(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.microsoftAuthenticatorAuthenticationMethod::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable -github.com/microsoftgraph/msgraph-sdk-go/.models.microsoftAuthenticatorAuthenticationMethodable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.microsoftAuthenticatorAuthenticationMethodable::|public|GetDevice():Deviceable github.com/microsoftgraph/msgraph-sdk-go/.models.microsoftAuthenticatorAuthenticationMethodable::|public|GetDeviceTag():*string github.com/microsoftgraph/msgraph-sdk-go/.models.microsoftAuthenticatorAuthenticationMethodable::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.microsoftAuthenticatorAuthenticationMethodable::|public|GetPhoneAppVersion():*string -github.com/microsoftgraph/msgraph-sdk-go/.models.microsoftAuthenticatorAuthenticationMethodable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.microsoftAuthenticatorAuthenticationMethodable::|public|SetDevice(value:Deviceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.microsoftAuthenticatorAuthenticationMethodable::|public|SetDeviceTag(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.microsoftAuthenticatorAuthenticationMethodable::|public|SetDisplayName(value:*string):void @@ -154173,6 +159323,167 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.officeGraphInsightsable::|publi github.com/microsoftgraph/msgraph-sdk-go/.models.officeGraphInsightsable::|public|SetTrending(value:[]Trendingable):void github.com/microsoftgraph/msgraph-sdk-go/.models.officeGraphInsightsable::|public|SetUsed(value:[]UsedInsightable):void github.com/microsoftgraph/msgraph-sdk-go/.models.officeGraphInsightsable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaims::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaims::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaims::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaims::|public|GetCountry():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaims::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaims::|public|GetLocality():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaims::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaims::|public|GetPostalCode():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaims::|public|GetRegion():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaims::|public|GetStreetAddress():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaims::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaims::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaims::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaims::|public|SetCountry(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaims::|public|SetLocality(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaims::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaims::|public|SetPostalCode(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaims::|public|SetRegion(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaims::|public|SetStreetAddress(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaims::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaimsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaimsable::|public|GetCountry():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaimsable::|public|GetLocality():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaimsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaimsable::|public|GetPostalCode():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaimsable::|public|GetRegion():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaimsable::|public|GetStreetAddress():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaimsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaimsable::|public|SetCountry(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaimsable::|public|SetLocality(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaimsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaimsable::|public|SetPostalCode(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaimsable::|public|SetRegion(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaimsable::|public|SetStreetAddress(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaimsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcAddressInboundClaims~~>OidcAddressInboundClaimsable +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcClientAuthentication::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcClientAuthentication::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcClientAuthentication::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcClientAuthentication::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcClientAuthentication::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcClientAuthentication::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcClientAuthentication::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcClientAuthentication::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcClientAuthentication::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcClientAuthentication::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcClientAuthenticationable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcClientAuthenticationable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcClientAuthenticationable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcClientAuthenticationable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcClientAuthenticationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcClientAuthentication~~>OidcClientAuthenticationable +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcClientSecretAuthentication-->*OidcClientAuthentication +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcClientSecretAuthentication::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcClientSecretAuthentication::|public|GetClientSecret():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcClientSecretAuthentication::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcClientSecretAuthentication::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcClientSecretAuthentication::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcClientSecretAuthentication::|public|SetClientSecret(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcClientSecretAuthentication::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcClientSecretAuthenticationable::|public|GetClientSecret():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcClientSecretAuthenticationable::|public|SetClientSecret(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcClientSecretAuthenticationable~~>OidcClientAuthenticationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProvider-->*IdentityProviderBase +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProvider::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProvider::|public|GetClientAuthentication():OidcClientAuthenticationable +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProvider::|public|GetClientId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProvider::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProvider::|public|GetInboundClaimMapping():OidcInboundClaimMappingOverrideable +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProvider::|public|GetIssuer():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProvider::|public|GetResponseType():*OidcResponseType +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProvider::|public|GetScope():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProvider::|public|GetWellKnownEndpoint():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProvider::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProvider::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProvider::|public|SetClientAuthentication(value:OidcClientAuthenticationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProvider::|public|SetClientId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProvider::|public|SetInboundClaimMapping(value:OidcInboundClaimMappingOverrideable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProvider::|public|SetIssuer(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProvider::|public|SetResponseType(value:*OidcResponseType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProvider::|public|SetScope(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProvider::|public|SetWellKnownEndpoint(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProvider::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProviderable::|public|GetClientAuthentication():OidcClientAuthenticationable +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProviderable::|public|GetClientId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProviderable::|public|GetInboundClaimMapping():OidcInboundClaimMappingOverrideable +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProviderable::|public|GetIssuer():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProviderable::|public|GetResponseType():*OidcResponseType +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProviderable::|public|GetScope():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProviderable::|public|GetWellKnownEndpoint():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProviderable::|public|SetClientAuthentication(value:OidcClientAuthenticationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProviderable::|public|SetClientId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProviderable::|public|SetInboundClaimMapping(value:OidcInboundClaimMappingOverrideable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProviderable::|public|SetIssuer(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProviderable::|public|SetResponseType(value:*OidcResponseType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProviderable::|public|SetScope(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProviderable::|public|SetWellKnownEndpoint(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcIdentityProviderable~~>IdentityProviderBaseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverride::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverride::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverride::|public|GetAddress():OidcAddressInboundClaimsable +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverride::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverride::|public|GetEmail():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverride::|public|GetEmailVerified():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverride::|public|GetFamilyName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverride::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverride::|public|GetGivenName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverride::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverride::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverride::|public|GetPhoneNumber():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverride::|public|GetPhoneNumberVerified():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverride::|public|GetSub():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverride::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverride::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverride::|public|SetAddress(value:OidcAddressInboundClaimsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverride::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverride::|public|SetEmail(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverride::|public|SetEmailVerified(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverride::|public|SetFamilyName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverride::|public|SetGivenName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverride::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverride::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverride::|public|SetPhoneNumber(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverride::|public|SetPhoneNumberVerified(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverride::|public|SetSub(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverride::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|GetAddress():OidcAddressInboundClaimsable +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|GetEmail():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|GetEmailVerified():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|GetFamilyName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|GetGivenName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|GetPhoneNumber():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|GetPhoneNumberVerified():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|GetSub():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|SetAddress(value:OidcAddressInboundClaimsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|SetEmail(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|SetEmailVerified(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|SetFamilyName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|SetGivenName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|SetPhoneNumber(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|SetPhoneNumberVerified(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|SetSub(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverrideable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcInboundClaimMappingOverride~~>OidcInboundClaimMappingOverrideable +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcPrivateJwtKeyClientAuthentication-->*OidcClientAuthentication +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcPrivateJwtKeyClientAuthentication::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcPrivateJwtKeyClientAuthentication::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcPrivateJwtKeyClientAuthentication::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcPrivateJwtKeyClientAuthentication::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcPrivateJwtKeyClientAuthentication::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcPrivateJwtKeyClientAuthenticationable~~>OidcClientAuthenticationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcResponseType::0000-code +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcResponseType::0001-id_token +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcResponseType::0002-token +github.com/microsoftgraph/msgraph-sdk-go/.models.oidcResponseType::0003-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.omaSetting::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.omaSetting::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.omaSetting::|public|GetBackingStore():BackingStore @@ -154880,6 +160191,44 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.onenoteUserRole::0000-None github.com/microsoftgraph/msgraph-sdk-go/.models.onenoteUserRole::0001-Owner github.com/microsoftgraph/msgraph-sdk-go/.models.onenoteUserRole::0002-Contributor github.com/microsoftgraph/msgraph-sdk-go/.models.onenoteUserRole::0003-Reader +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartExternalUsersAuthHandler-->*OnFraudProtectionLoadStartHandler +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartExternalUsersAuthHandler::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartExternalUsersAuthHandler::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartExternalUsersAuthHandler::|public|GetSignUp():FraudProtectionConfigurationable +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartExternalUsersAuthHandler::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartExternalUsersAuthHandler::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartExternalUsersAuthHandler::|public|SetSignUp(value:FraudProtectionConfigurationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartExternalUsersAuthHandler::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartExternalUsersAuthHandlerable::|public|GetSignUp():FraudProtectionConfigurationable +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartExternalUsersAuthHandlerable::|public|SetSignUp(value:FraudProtectionConfigurationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartExternalUsersAuthHandlerable~~>OnFraudProtectionLoadStartHandlerable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartHandler::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartHandler::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartHandler::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartHandler::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartHandler::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartHandler::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartHandler::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartHandler::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartHandler::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartHandler::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartHandlerable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartHandlerable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartHandlerable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartHandlerable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartHandlerable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartHandler~~>OnFraudProtectionLoadStartHandlerable +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartListener-->*AuthenticationEventListener +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartListener::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartListener::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartListener::|public|GetHandler():OnFraudProtectionLoadStartHandlerable +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartListener::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartListener::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartListener::|public|SetHandler(value:OnFraudProtectionLoadStartHandlerable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartListener::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartListenerable::|public|GetHandler():OnFraudProtectionLoadStartHandlerable +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartListenerable::|public|SetHandler(value:OnFraudProtectionLoadStartHandlerable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onFraudProtectionLoadStartListenerable~~>AuthenticationEventListenerable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.onInteractiveAuthFlowStartExternalUsersSelfServiceSignUp-->*OnInteractiveAuthFlowStartHandler github.com/microsoftgraph/msgraph-sdk-go/.models.onInteractiveAuthFlowStartExternalUsersSelfServiceSignUp::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.onInteractiveAuthFlowStartExternalUsersSelfServiceSignUp::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -154989,6 +160338,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetA github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetAudioConferencing():AudioConferencingable github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetChatInfo():ChatInfoable github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetChatRestrictions():ChatRestrictionsable +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetExpiryDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetIsEndToEndEncryptionEnabled():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetIsEntryExitAnnounced():*bool @@ -154996,7 +160346,10 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetJ github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetJoinMeetingIdSettings():JoinMeetingIdSettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetJoinWebUrl():*string github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetLobbyBypassSettings():LobbyBypassSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetMeetingOptionsWebUrl():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetMeetingSpokenLanguageTag():*string github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetRecordAutomatically():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetSensitivityLabelAssignment():OnlineMeetingSensitivityLabelAssignmentable github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetShareMeetingChatHistoryDefault():*MeetingChatHistoryDefaultMode github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetSubject():*string github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetVideoTeleconferenceId():*string @@ -155021,13 +160374,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetA github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetAudioConferencing(value:AudioConferencingable):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetChatInfo(value:ChatInfoable):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetChatRestrictions(value:ChatRestrictionsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetExpiryDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetIsEndToEndEncryptionEnabled(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetIsEntryExitAnnounced(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetJoinInformation(value:ItemBodyable):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetJoinMeetingIdSettings(value:JoinMeetingIdSettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetJoinWebUrl(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetLobbyBypassSettings(value:LobbyBypassSettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetMeetingOptionsWebUrl(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetMeetingSpokenLanguageTag(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetRecordAutomatically(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetSensitivityLabelAssignment(value:OnlineMeetingSensitivityLabelAssignmentable):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetShareMeetingChatHistoryDefault(value:*MeetingChatHistoryDefaultMode):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetSubject(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetVideoTeleconferenceId(value:*string):void @@ -155051,13 +160408,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public| github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetAudioConferencing():AudioConferencingable github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetChatInfo():ChatInfoable github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetChatRestrictions():ChatRestrictionsable +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetExpiryDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetIsEndToEndEncryptionEnabled():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetIsEntryExitAnnounced():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetJoinInformation():ItemBodyable github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetJoinMeetingIdSettings():JoinMeetingIdSettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetJoinWebUrl():*string github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetLobbyBypassSettings():LobbyBypassSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetMeetingOptionsWebUrl():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetMeetingSpokenLanguageTag():*string github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetRecordAutomatically():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetSensitivityLabelAssignment():OnlineMeetingSensitivityLabelAssignmentable github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetShareMeetingChatHistoryDefault():*MeetingChatHistoryDefaultMode github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetSubject():*string github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetVideoTeleconferenceId():*string @@ -155080,13 +160441,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public| github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetAudioConferencing(value:AudioConferencingable):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetChatInfo(value:ChatInfoable):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetChatRestrictions(value:ChatRestrictionsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetExpiryDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetIsEndToEndEncryptionEnabled(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetIsEntryExitAnnounced(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetJoinInformation(value:ItemBodyable):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetJoinMeetingIdSettings(value:JoinMeetingIdSettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetJoinWebUrl(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetLobbyBypassSettings(value:LobbyBypassSettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetMeetingOptionsWebUrl(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetMeetingSpokenLanguageTag(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetRecordAutomatically(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetSensitivityLabelAssignment(value:OnlineMeetingSensitivityLabelAssignmentable):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetShareMeetingChatHistoryDefault(value:*MeetingChatHistoryDefaultMode):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetSubject(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetVideoTeleconferenceId(value:*string):void @@ -155104,6 +160469,43 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingCollectionResponse github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingContentSharingDisabledReason::0000-watermarkProtection github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingContentSharingDisabledReason::0001-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversation-->*EngagementConversation +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversation::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversation::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversation::|public|GetModerationState():*EngagementConversationModerationState +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversation::|public|GetOnlineMeeting():OnlineMeetingable +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversation::|public|GetOnlineMeetingId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversation::|public|GetOrganizer():EngagementIdentitySetable +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversation::|public|GetUpvoteCount():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversation::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversation::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversation::|public|SetModerationState(value:*EngagementConversationModerationState):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversation::|public|SetOnlineMeeting(value:OnlineMeetingable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversation::|public|SetOnlineMeetingId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversation::|public|SetOrganizer(value:EngagementIdentitySetable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversation::|public|SetUpvoteCount(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversationable::|public|GetModerationState():*EngagementConversationModerationState +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversationable::|public|GetOnlineMeeting():OnlineMeetingable +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversationable::|public|GetOnlineMeetingId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversationable::|public|GetOrganizer():EngagementIdentitySetable +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversationable::|public|GetUpvoteCount():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversationable::|public|SetModerationState(value:*EngagementConversationModerationState):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversationable::|public|SetOnlineMeeting(value:OnlineMeetingable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversationable::|public|SetOnlineMeetingId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversationable::|public|SetOrganizer(value:EngagementIdentitySetable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversationable::|public|SetUpvoteCount(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversationable~~>EngagementConversationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversationCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversationCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversationCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversationCollectionResponse::|public|GetValue():[]OnlineMeetingEngagementConversationable +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversationCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversationCollectionResponse::|public|SetValue(value:[]OnlineMeetingEngagementConversationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversationCollectionResponseable::|public|GetValue():[]OnlineMeetingEngagementConversationable +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversationCollectionResponseable::|public|SetValue(value:[]OnlineMeetingEngagementConversationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingEngagementConversationCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingInfo::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingInfo::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingInfo::|public|GetBackingStore():BackingStore @@ -155182,6 +160584,26 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingRole::0001-present github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingRole::0002-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingRole::0003-producer github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingRole::0004-coorganizer +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingSensitivityLabelAssignment::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingSensitivityLabelAssignment::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingSensitivityLabelAssignment::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingSensitivityLabelAssignment::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingSensitivityLabelAssignment::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingSensitivityLabelAssignment::|public|GetSensitivityLabelId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingSensitivityLabelAssignment::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingSensitivityLabelAssignment::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingSensitivityLabelAssignment::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingSensitivityLabelAssignment::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingSensitivityLabelAssignment::|public|SetSensitivityLabelId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingSensitivityLabelAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingSensitivityLabelAssignmentable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingSensitivityLabelAssignmentable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingSensitivityLabelAssignmentable::|public|GetSensitivityLabelId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingSensitivityLabelAssignmentable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingSensitivityLabelAssignmentable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingSensitivityLabelAssignmentable::|public|SetSensitivityLabelId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingSensitivityLabelAssignmentable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingSensitivityLabelAssignment~~>OnlineMeetingSensitivityLabelAssignmentable github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingVideoDisabledReason::0000-watermarkProtection github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingVideoDisabledReason::0001-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.onOtpSendCustomExtension-->*CustomAuthenticationExtension @@ -155518,6 +160940,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.onPremisesProvisioningErrorable github.com/microsoftgraph/msgraph-sdk-go/.models.onPremisesProvisioningErrorable::|public|SetValue(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.onPremisesProvisioningErrorable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.onPremisesProvisioningError~~>OnPremisesProvisioningErrorable +github.com/microsoftgraph/msgraph-sdk-go/.models.onPremisesSyncBehavior-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.onPremisesSyncBehavior::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.onPremisesSyncBehavior::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.onPremisesSyncBehavior::|public|GetIsCloudManaged():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.onPremisesSyncBehavior::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.onPremisesSyncBehavior::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onPremisesSyncBehavior::|public|SetIsCloudManaged(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onPremisesSyncBehavior::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.onPremisesSyncBehaviorable::|public|GetIsCloudManaged():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.onPremisesSyncBehaviorable::|public|SetIsCloudManaged(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onPremisesSyncBehaviorable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.onTokenIssuanceStartCustomExtension-->*CustomAuthenticationExtension github.com/microsoftgraph/msgraph-sdk-go/.models.onTokenIssuanceStartCustomExtension::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.onTokenIssuanceStartCustomExtension::|public|GetClaimsForTokenConfiguration():[]OnTokenIssuanceStartReturnClaimable @@ -156156,6 +161589,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.orgContact::|public|GetManager( github.com/microsoftgraph/msgraph-sdk-go/.models.orgContact::|public|GetMemberOf():[]DirectoryObjectable github.com/microsoftgraph/msgraph-sdk-go/.models.orgContact::|public|GetOnPremisesLastSyncDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.orgContact::|public|GetOnPremisesProvisioningErrors():[]OnPremisesProvisioningErrorable +github.com/microsoftgraph/msgraph-sdk-go/.models.orgContact::|public|GetOnPremisesSyncBehavior():OnPremisesSyncBehaviorable github.com/microsoftgraph/msgraph-sdk-go/.models.orgContact::|public|GetOnPremisesSyncEnabled():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.orgContact::|public|GetPhones():[]Phoneable github.com/microsoftgraph/msgraph-sdk-go/.models.orgContact::|public|GetProxyAddresses():[]string @@ -156177,6 +161611,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.orgContact::|public|SetManager( github.com/microsoftgraph/msgraph-sdk-go/.models.orgContact::|public|SetMemberOf(value:[]DirectoryObjectable):void github.com/microsoftgraph/msgraph-sdk-go/.models.orgContact::|public|SetOnPremisesLastSyncDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.orgContact::|public|SetOnPremisesProvisioningErrors(value:[]OnPremisesProvisioningErrorable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.orgContact::|public|SetOnPremisesSyncBehavior(value:OnPremisesSyncBehaviorable):void github.com/microsoftgraph/msgraph-sdk-go/.models.orgContact::|public|SetOnPremisesSyncEnabled(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.orgContact::|public|SetPhones(value:[]Phoneable):void github.com/microsoftgraph/msgraph-sdk-go/.models.orgContact::|public|SetProxyAddresses(value:[]string):void @@ -156197,6 +161632,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.orgContactable::|public|GetMana github.com/microsoftgraph/msgraph-sdk-go/.models.orgContactable::|public|GetMemberOf():[]DirectoryObjectable github.com/microsoftgraph/msgraph-sdk-go/.models.orgContactable::|public|GetOnPremisesLastSyncDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.orgContactable::|public|GetOnPremisesProvisioningErrors():[]OnPremisesProvisioningErrorable +github.com/microsoftgraph/msgraph-sdk-go/.models.orgContactable::|public|GetOnPremisesSyncBehavior():OnPremisesSyncBehaviorable github.com/microsoftgraph/msgraph-sdk-go/.models.orgContactable::|public|GetOnPremisesSyncEnabled():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.orgContactable::|public|GetPhones():[]Phoneable github.com/microsoftgraph/msgraph-sdk-go/.models.orgContactable::|public|GetProxyAddresses():[]string @@ -156216,6 +161652,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.orgContactable::|public|SetMana github.com/microsoftgraph/msgraph-sdk-go/.models.orgContactable::|public|SetMemberOf(value:[]DirectoryObjectable):void github.com/microsoftgraph/msgraph-sdk-go/.models.orgContactable::|public|SetOnPremisesLastSyncDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.orgContactable::|public|SetOnPremisesProvisioningErrors(value:[]OnPremisesProvisioningErrorable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.orgContactable::|public|SetOnPremisesSyncBehavior(value:OnPremisesSyncBehaviorable):void github.com/microsoftgraph/msgraph-sdk-go/.models.orgContactable::|public|SetOnPremisesSyncEnabled(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.orgContactable::|public|SetPhones(value:[]Phoneable):void github.com/microsoftgraph/msgraph-sdk-go/.models.orgContactable::|public|SetProxyAddresses(value:[]string):void @@ -156904,17 +162341,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.partnerTenantType::0005-valueAd github.com/microsoftgraph/msgraph-sdk-go/.models.partnerTenantType::0006-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.passwordAuthenticationMethod-->*AuthenticationMethod github.com/microsoftgraph/msgraph-sdk-go/.models.passwordAuthenticationMethod::|public|constructor():void -github.com/microsoftgraph/msgraph-sdk-go/.models.passwordAuthenticationMethod::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.passwordAuthenticationMethod::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.passwordAuthenticationMethod::|public|GetPassword():*string github.com/microsoftgraph/msgraph-sdk-go/.models.passwordAuthenticationMethod::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.passwordAuthenticationMethod::|public|Serialize(writer:SerializationWriter):void -github.com/microsoftgraph/msgraph-sdk-go/.models.passwordAuthenticationMethod::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.passwordAuthenticationMethod::|public|SetPassword(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.passwordAuthenticationMethod::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable -github.com/microsoftgraph/msgraph-sdk-go/.models.passwordAuthenticationMethodable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.passwordAuthenticationMethodable::|public|GetPassword():*string -github.com/microsoftgraph/msgraph-sdk-go/.models.passwordAuthenticationMethodable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.passwordAuthenticationMethodable::|public|SetPassword(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.passwordAuthenticationMethodable~~>AuthenticationMethodable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.passwordAuthenticationMethodCollectionResponse-->*BaseCollectionPaginationCountResponse @@ -158025,26 +163458,66 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.pkcs12CertificateInformation~~> github.com/microsoftgraph/msgraph-sdk-go/.models.place-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|GetAddress():PhysicalAddressable +github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|GetCheckIns():[]CheckInClaimable github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|GetGeoCoordinates():OutlookGeoCoordinatesable +github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|GetIsWheelChairAccessible():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|GetLabel():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|GetParentId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|GetPhone():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|GetTags():[]string github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|SetAddress(value:PhysicalAddressable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|SetCheckIns(value:[]CheckInClaimable):void github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|SetGeoCoordinates(value:OutlookGeoCoordinatesable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|SetIsWheelChairAccessible(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|SetLabel(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|SetParentId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|SetPhone(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|SetTags(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.place::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|GetAddress():PhysicalAddressable +github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|GetCheckIns():[]CheckInClaimable github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|GetGeoCoordinates():OutlookGeoCoordinatesable +github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|GetIsWheelChairAccessible():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|GetLabel():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|GetParentId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|GetPhone():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|GetTags():[]string github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|SetAddress(value:PhysicalAddressable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|SetCheckIns(value:[]CheckInClaimable):void github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|SetGeoCoordinates(value:OutlookGeoCoordinatesable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|SetIsWheelChairAccessible(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|SetLabel(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|SetParentId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|SetPhone(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|SetTags(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.placeable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.placeFeatureEnablement::0000-unknown +github.com/microsoftgraph/msgraph-sdk-go/.models.placeFeatureEnablement::0001-enabled +github.com/microsoftgraph/msgraph-sdk-go/.models.placeFeatureEnablement::0002-disabled +github.com/microsoftgraph/msgraph-sdk-go/.models.placeFeatureEnablement::0003-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.placeMode::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.placeMode::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.placeMode::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.placeMode::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.placeMode::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.placeMode::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.placeMode::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.placeMode::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.placeMode::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.placeMode::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.placeModeable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.placeModeable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.placeModeable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.placeModeable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.placeModeable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.placeMode~~>PlaceModeable github.com/microsoftgraph/msgraph-sdk-go/.models.planner-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.planner::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.planner::|public|GetBuckets():[]PlannerBucketable @@ -158614,7 +164087,6 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.plannerUserIdsable~~>*i878a80d2 github.com/microsoftgraph/msgraph-sdk-go/.models.plannerUserIds~~>PlannerUserIdsable github.com/microsoftgraph/msgraph-sdk-go/.models.platformCredentialAuthenticationMethod-->*AuthenticationMethod github.com/microsoftgraph/msgraph-sdk-go/.models.platformCredentialAuthenticationMethod::|public|constructor():void -github.com/microsoftgraph/msgraph-sdk-go/.models.platformCredentialAuthenticationMethod::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.platformCredentialAuthenticationMethod::|public|GetDevice():Deviceable github.com/microsoftgraph/msgraph-sdk-go/.models.platformCredentialAuthenticationMethod::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.platformCredentialAuthenticationMethod::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -158622,18 +164094,15 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.platformCredentialAuthenticatio github.com/microsoftgraph/msgraph-sdk-go/.models.platformCredentialAuthenticationMethod::|public|GetPlatform():*AuthenticationMethodPlatform github.com/microsoftgraph/msgraph-sdk-go/.models.platformCredentialAuthenticationMethod::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.platformCredentialAuthenticationMethod::|public|Serialize(writer:SerializationWriter):void -github.com/microsoftgraph/msgraph-sdk-go/.models.platformCredentialAuthenticationMethod::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.platformCredentialAuthenticationMethod::|public|SetDevice(value:Deviceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.platformCredentialAuthenticationMethod::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.platformCredentialAuthenticationMethod::|public|SetKeyStrength(value:*AuthenticationMethodKeyStrength):void github.com/microsoftgraph/msgraph-sdk-go/.models.platformCredentialAuthenticationMethod::|public|SetPlatform(value:*AuthenticationMethodPlatform):void github.com/microsoftgraph/msgraph-sdk-go/.models.platformCredentialAuthenticationMethod::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable -github.com/microsoftgraph/msgraph-sdk-go/.models.platformCredentialAuthenticationMethodable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.platformCredentialAuthenticationMethodable::|public|GetDevice():Deviceable github.com/microsoftgraph/msgraph-sdk-go/.models.platformCredentialAuthenticationMethodable::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.platformCredentialAuthenticationMethodable::|public|GetKeyStrength():*AuthenticationMethodKeyStrength github.com/microsoftgraph/msgraph-sdk-go/.models.platformCredentialAuthenticationMethodable::|public|GetPlatform():*AuthenticationMethodPlatform -github.com/microsoftgraph/msgraph-sdk-go/.models.platformCredentialAuthenticationMethodable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.platformCredentialAuthenticationMethodable::|public|SetDevice(value:Deviceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.platformCredentialAuthenticationMethodable::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.platformCredentialAuthenticationMethodable::|public|SetKeyStrength(value:*AuthenticationMethodKeyStrength):void @@ -159020,6 +164489,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.presence::|public|getFieldDeser github.com/microsoftgraph/msgraph-sdk-go/.models.presence::|public|GetOutOfOfficeSettings():OutOfOfficeSettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.presence::|public|GetSequenceNumber():*string github.com/microsoftgraph/msgraph-sdk-go/.models.presence::|public|GetStatusMessage():PresenceStatusMessageable +github.com/microsoftgraph/msgraph-sdk-go/.models.presence::|public|GetWorkLocation():UserWorkLocationable github.com/microsoftgraph/msgraph-sdk-go/.models.presence::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.presence::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.presence::|public|SetActivity(value:*string):void @@ -159027,17 +164497,20 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.presence::|public|SetAvailabili github.com/microsoftgraph/msgraph-sdk-go/.models.presence::|public|SetOutOfOfficeSettings(value:OutOfOfficeSettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.presence::|public|SetSequenceNumber(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.presence::|public|SetStatusMessage(value:PresenceStatusMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.presence::|public|SetWorkLocation(value:UserWorkLocationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.presence::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.presenceable::|public|GetActivity():*string github.com/microsoftgraph/msgraph-sdk-go/.models.presenceable::|public|GetAvailability():*string github.com/microsoftgraph/msgraph-sdk-go/.models.presenceable::|public|GetOutOfOfficeSettings():OutOfOfficeSettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.presenceable::|public|GetSequenceNumber():*string github.com/microsoftgraph/msgraph-sdk-go/.models.presenceable::|public|GetStatusMessage():PresenceStatusMessageable +github.com/microsoftgraph/msgraph-sdk-go/.models.presenceable::|public|GetWorkLocation():UserWorkLocationable github.com/microsoftgraph/msgraph-sdk-go/.models.presenceable::|public|SetActivity(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.presenceable::|public|SetAvailability(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.presenceable::|public|SetOutOfOfficeSettings(value:OutOfOfficeSettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.presenceable::|public|SetSequenceNumber(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.presenceable::|public|SetStatusMessage(value:PresenceStatusMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.presenceable::|public|SetWorkLocation(value:UserWorkLocationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.presenceable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.presenceCollectionResponse-->*BaseCollectionPaginationCountResponse github.com/microsoftgraph/msgraph-sdk-go/.models.presenceCollectionResponse::|public|constructor():void @@ -161952,19 +167425,27 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponse~~>Proces github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadata-->*ProcessContentMetadataBase github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadata::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadata::|public|GetAccessedResources():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadata::|public|GetAccessedResourcesV2():[]ResourceAccessDetailable +github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadata::|public|GetAgents():[]AiAgentInfoable github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadata::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadata::|public|GetParentMessageId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadata::|public|GetPlugins():[]AiInteractionPluginable github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadata::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadata::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadata::|public|SetAccessedResources(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadata::|public|SetAccessedResourcesV2(value:[]ResourceAccessDetailable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadata::|public|SetAgents(value:[]AiAgentInfoable):void github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadata::|public|SetParentMessageId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadata::|public|SetPlugins(value:[]AiInteractionPluginable):void github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadataable::|public|GetAccessedResources():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadataable::|public|GetAccessedResourcesV2():[]ResourceAccessDetailable +github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadataable::|public|GetAgents():[]AiAgentInfoable github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadataable::|public|GetParentMessageId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadataable::|public|GetPlugins():[]AiInteractionPluginable github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadataable::|public|SetAccessedResources(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadataable::|public|SetAccessedResourcesV2(value:[]ResourceAccessDetailable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadataable::|public|SetAgents(value:[]AiAgentInfoable):void github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadataable::|public|SetParentMessageId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadataable::|public|SetPlugins(value:[]AiInteractionPluginable):void github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadataable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; ProcessContentMetadataBaseable @@ -162146,14 +167627,48 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.protectedContentable::|public|S github.com/microsoftgraph/msgraph-sdk-go/.models.protectedContentable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.protectedContentable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.protectedContent~~>ProtectedContentable +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCount::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCount::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCount::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCount::|public|GetCompleted():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCount::|public|GetFailed():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCount::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCount::|public|GetInProgress():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCount::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCount::|public|GetTotal():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCount::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCount::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCount::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCount::|public|SetCompleted(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCount::|public|SetFailed(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCount::|public|SetInProgress(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCount::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCount::|public|SetTotal(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCount::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCountable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCountable::|public|GetCompleted():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCountable::|public|GetFailed():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCountable::|public|GetInProgress():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCountable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCountable::|public|GetTotal():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCountable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCountable::|public|SetCompleted(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCountable::|public|SetFailed(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCountable::|public|SetInProgress(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCountable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCountable::|public|SetTotal(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCountable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyArtifactCount~~>ProtectionPolicyArtifactCountable github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBase-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBase::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBase::|public|GetCreatedBy():IdentitySetable github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBase::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBase::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBase::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBase::|public|GetIsEnabled():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBase::|public|GetLastModifiedBy():IdentitySetable github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBase::|public|GetLastModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBase::|public|GetProtectionPolicyArtifactCount():ProtectionPolicyArtifactCountable github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBase::|public|GetRetentionSettings():[]RetentionSettingable github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBase::|public|GetStatus():*ProtectionPolicyStatus github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBase::|public|OdataType:*string @@ -162161,23 +167676,29 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBase::|public|S github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBase::|public|SetCreatedBy(value:IdentitySetable):void github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBase::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBase::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBase::|public|SetIsEnabled(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBase::|public|SetLastModifiedBy(value:IdentitySetable):void github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBase::|public|SetLastModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBase::|public|SetProtectionPolicyArtifactCount(value:ProtectionPolicyArtifactCountable):void github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBase::|public|SetRetentionSettings(value:[]RetentionSettingable):void github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBase::|public|SetStatus(value:*ProtectionPolicyStatus):void github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBaseable::|public|GetCreatedBy():IdentitySetable github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBaseable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBaseable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBaseable::|public|GetIsEnabled():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBaseable::|public|GetLastModifiedBy():IdentitySetable github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBaseable::|public|GetLastModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBaseable::|public|GetProtectionPolicyArtifactCount():ProtectionPolicyArtifactCountable github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBaseable::|public|GetRetentionSettings():[]RetentionSettingable github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBaseable::|public|GetStatus():*ProtectionPolicyStatus github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBaseable::|public|SetCreatedBy(value:IdentitySetable):void github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBaseable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBaseable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBaseable::|public|SetIsEnabled(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBaseable::|public|SetLastModifiedBy(value:IdentitySetable):void github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBaseable::|public|SetLastModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBaseable::|public|SetProtectionPolicyArtifactCount(value:ProtectionPolicyArtifactCountable):void github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBaseable::|public|SetRetentionSettings(value:[]RetentionSettingable):void github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBaseable::|public|SetStatus(value:*ProtectionPolicyStatus):void github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBaseable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable @@ -162236,9 +167757,15 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.protectionRuleStatus::0001-acti github.com/microsoftgraph/msgraph-sdk-go/.models.protectionRuleStatus::0002-completed github.com/microsoftgraph/msgraph-sdk-go/.models.protectionRuleStatus::0003-completedWithErrors github.com/microsoftgraph/msgraph-sdk-go/.models.protectionRuleStatus::0004-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionRuleStatus::0005-updateRequested +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionRuleStatus::0006-deleteRequested github.com/microsoftgraph/msgraph-sdk-go/.models.protectionScopeState::0000-notModified github.com/microsoftgraph/msgraph-sdk-go/.models.protectionScopeState::0001-modified github.com/microsoftgraph/msgraph-sdk-go/.models.protectionScopeState::0002-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionSource::0000-none +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionSource::0001-manual +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionSource::0002-dynamicRule +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionSource::0003-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBase-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBase::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBase::|public|GetCreatedBy():IdentitySetable @@ -162247,7 +167774,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBase::|public|Get github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBase::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBase::|public|GetLastModifiedBy():IdentitySetable github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBase::|public|GetLastModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBase::|public|GetOffboardRequestedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBase::|public|GetPolicyId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBase::|public|GetProtectionSources():*ProtectionSource github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBase::|public|GetStatus():*ProtectionUnitStatus github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBase::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBase::|public|Serialize(writer:SerializationWriter):void @@ -162256,7 +167785,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBase::|public|Set github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBase::|public|SetError(value:PublicErrorable):void github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBase::|public|SetLastModifiedBy(value:IdentitySetable):void github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBase::|public|SetLastModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBase::|public|SetOffboardRequestedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBase::|public|SetPolicyId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBase::|public|SetProtectionSources(value:*ProtectionSource):void github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBase::|public|SetStatus(value:*ProtectionUnitStatus):void github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBaseable::|public|GetCreatedBy():IdentitySetable @@ -162264,14 +167795,18 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBaseable::|public github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBaseable::|public|GetError():PublicErrorable github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBaseable::|public|GetLastModifiedBy():IdentitySetable github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBaseable::|public|GetLastModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBaseable::|public|GetOffboardRequestedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBaseable::|public|GetPolicyId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBaseable::|public|GetProtectionSources():*ProtectionSource github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBaseable::|public|GetStatus():*ProtectionUnitStatus github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBaseable::|public|SetCreatedBy(value:IdentitySetable):void github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBaseable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBaseable::|public|SetError(value:PublicErrorable):void github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBaseable::|public|SetLastModifiedBy(value:IdentitySetable):void github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBaseable::|public|SetLastModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBaseable::|public|SetOffboardRequestedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBaseable::|public|SetPolicyId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBaseable::|public|SetProtectionSources(value:*ProtectionSource):void github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBaseable::|public|SetStatus(value:*ProtectionUnitStatus):void github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBaseable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBaseCollectionResponse-->*BaseCollectionPaginationCountResponse @@ -162330,6 +167865,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitStatus::0002-unpr github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitStatus::0003-unprotected github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitStatus::0004-removeRequested github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitStatus::0005-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitStatus::0006-offboardRequested +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitStatus::0007-offboarded +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitStatus::0008-cancelOffboardRequested github.com/microsoftgraph/msgraph-sdk-go/.models.provisionChannelEmailResult::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.provisionChannelEmailResult::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.provisionChannelEmailResult::|public|GetBackingStore():BackingStore @@ -163140,6 +168678,63 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.readingAssignmentSubmissionColl github.com/microsoftgraph/msgraph-sdk-go/.models.readingAssignmentSubmissionCollectionResponseable::|public|GetValue():[]ReadingAssignmentSubmissionable github.com/microsoftgraph/msgraph-sdk-go/.models.readingAssignmentSubmissionCollectionResponseable::|public|SetValue(value:[]ReadingAssignmentSubmissionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.readingAssignmentSubmissionCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassage-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassage::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassage::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassage::|public|GetIsReadingCompleted():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassage::|public|GetLanguageTag():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassage::|public|GetPracticedAtDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassage::|public|GetPracticeWords():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassage::|public|GetStoryType():*ReadingCoachStoryType +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassage::|public|GetStudentId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassage::|public|GetTimeSpentReadingInSeconds():*float64 +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassage::|public|GetWordsAccuracyPercentage():*float64 +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassage::|public|GetWordsPerMinute():*float64 +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassage::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassage::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassage::|public|SetIsReadingCompleted(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassage::|public|SetLanguageTag(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassage::|public|SetPracticedAtDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassage::|public|SetPracticeWords(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassage::|public|SetStoryType(value:*ReadingCoachStoryType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassage::|public|SetStudentId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassage::|public|SetTimeSpentReadingInSeconds(value:*float64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassage::|public|SetWordsAccuracyPercentage(value:*float64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassage::|public|SetWordsPerMinute(value:*float64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassageable::|public|GetIsReadingCompleted():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassageable::|public|GetLanguageTag():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassageable::|public|GetPracticedAtDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassageable::|public|GetPracticeWords():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassageable::|public|GetStoryType():*ReadingCoachStoryType +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassageable::|public|GetStudentId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassageable::|public|GetTimeSpentReadingInSeconds():*float64 +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassageable::|public|GetWordsAccuracyPercentage():*float64 +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassageable::|public|GetWordsPerMinute():*float64 +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassageable::|public|SetIsReadingCompleted(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassageable::|public|SetLanguageTag(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassageable::|public|SetPracticedAtDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassageable::|public|SetPracticeWords(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassageable::|public|SetStoryType(value:*ReadingCoachStoryType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassageable::|public|SetStudentId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassageable::|public|SetTimeSpentReadingInSeconds(value:*float64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassageable::|public|SetWordsAccuracyPercentage(value:*float64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassageable::|public|SetWordsPerMinute(value:*float64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassageable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassageCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassageCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassageCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassageCollectionResponse::|public|GetValue():[]ReadingCoachPassageable +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassageCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassageCollectionResponse::|public|SetValue(value:[]ReadingCoachPassageable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassageCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassageCollectionResponseable::|public|GetValue():[]ReadingCoachPassageable +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassageCollectionResponseable::|public|SetValue(value:[]ReadingCoachPassageable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachPassageCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachStoryType::0000-aiGenerated +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachStoryType::0001-readWorks +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachStoryType::0002-userProvided +github.com/microsoftgraph/msgraph-sdk-go/.models.readingCoachStoryType::0003-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.recentNotebook::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.recentNotebook::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.recentNotebook::|public|GetBackingStore():BackingStore @@ -164086,16 +169681,24 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.reportsRoot-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.reportsRoot::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.reportsRoot::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.reportsRoot::|public|GetReadingAssignmentSubmissions():[]ReadingAssignmentSubmissionable +github.com/microsoftgraph/msgraph-sdk-go/.models.reportsRoot::|public|GetReadingCoachPassages():[]ReadingCoachPassageable github.com/microsoftgraph/msgraph-sdk-go/.models.reportsRoot::|public|GetReflectCheckInResponses():[]ReflectCheckInResponseable +github.com/microsoftgraph/msgraph-sdk-go/.models.reportsRoot::|public|GetSpeakerAssignmentSubmissions():[]SpeakerAssignmentSubmissionable github.com/microsoftgraph/msgraph-sdk-go/.models.reportsRoot::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.reportsRoot::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.reportsRoot::|public|SetReadingAssignmentSubmissions(value:[]ReadingAssignmentSubmissionable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.reportsRoot::|public|SetReadingCoachPassages(value:[]ReadingCoachPassageable):void github.com/microsoftgraph/msgraph-sdk-go/.models.reportsRoot::|public|SetReflectCheckInResponses(value:[]ReflectCheckInResponseable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.reportsRoot::|public|SetSpeakerAssignmentSubmissions(value:[]SpeakerAssignmentSubmissionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.reportsRoot::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.reportsRootable::|public|GetReadingAssignmentSubmissions():[]ReadingAssignmentSubmissionable +github.com/microsoftgraph/msgraph-sdk-go/.models.reportsRootable::|public|GetReadingCoachPassages():[]ReadingCoachPassageable github.com/microsoftgraph/msgraph-sdk-go/.models.reportsRootable::|public|GetReflectCheckInResponses():[]ReflectCheckInResponseable +github.com/microsoftgraph/msgraph-sdk-go/.models.reportsRootable::|public|GetSpeakerAssignmentSubmissions():[]SpeakerAssignmentSubmissionable github.com/microsoftgraph/msgraph-sdk-go/.models.reportsRootable::|public|SetReadingAssignmentSubmissions(value:[]ReadingAssignmentSubmissionable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.reportsRootable::|public|SetReadingCoachPassages(value:[]ReadingCoachPassageable):void github.com/microsoftgraph/msgraph-sdk-go/.models.reportsRootable::|public|SetReflectCheckInResponses(value:[]ReflectCheckInResponseable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.reportsRootable::|public|SetSpeakerAssignmentSubmissions(value:[]SpeakerAssignmentSubmissionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.reportsRootable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.report~~>Reportable github.com/microsoftgraph/msgraph-sdk-go/.models.request-->*Entity @@ -164234,6 +169837,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.resellerDelegatedAdminRelations github.com/microsoftgraph/msgraph-sdk-go/.models.resellerDelegatedAdminRelationshipable::|public|SetIndirectProviderTenantId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.resellerDelegatedAdminRelationshipable::|public|SetIsPartnerConsentPending(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.resellerDelegatedAdminRelationshipable~~>DelegatedAdminRelationshipable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.reservablePlaceMode-->*PlaceMode +github.com/microsoftgraph/msgraph-sdk-go/.models.reservablePlaceMode::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.reservablePlaceMode::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.reservablePlaceMode::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.reservablePlaceMode::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.reservablePlaceMode::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.reservablePlaceModeable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; PlaceModeable github.com/microsoftgraph/msgraph-sdk-go/.models.resetPasscodeActionResult-->*DeviceActionResult github.com/microsoftgraph/msgraph-sdk-go/.models.resetPasscodeActionResult::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.resetPasscodeActionResult::|public|GetErrorCode():*int32 @@ -164272,6 +169882,63 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessable::|public|Set github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessable::|public|SetTypeEscaped(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetail::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetail::|public|GetAccessType():*ResourceAccessType +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetail::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetail::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetail::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetail::|public|GetIdentifier():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetail::|public|GetIsCrossPromptInjectionDetected():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetail::|public|GetLabelId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetail::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetail::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetail::|public|GetStatus():*ResourceAccessStatus +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetail::|public|GetStorageId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetail::|public|GetUrl():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetail::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetail::|public|SetAccessType(value:*ResourceAccessType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetail::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetail::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetail::|public|SetIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetail::|public|SetIsCrossPromptInjectionDetected(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetail::|public|SetLabelId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetail::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetail::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetail::|public|SetStatus(value:*ResourceAccessStatus):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetail::|public|SetStorageId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetail::|public|SetUrl(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetail::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetailable::|public|GetAccessType():*ResourceAccessType +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetailable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetailable::|public|GetIdentifier():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetailable::|public|GetIsCrossPromptInjectionDetected():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetailable::|public|GetLabelId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetailable::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetailable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetailable::|public|GetStatus():*ResourceAccessStatus +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetailable::|public|GetStorageId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetailable::|public|GetUrl():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetailable::|public|SetAccessType(value:*ResourceAccessType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetailable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetailable::|public|SetIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetailable::|public|SetIsCrossPromptInjectionDetected(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetailable::|public|SetLabelId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetailable::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetailable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetailable::|public|SetStatus(value:*ResourceAccessStatus):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetailable::|public|SetStorageId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetailable::|public|SetUrl(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetailable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessDetail~~>ResourceAccessDetailable +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessStatus::0000-none +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessStatus::0001-failure +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessStatus::0002-success +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessStatus::0003-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessType::0000-none +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessType::0001-read +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessType::0002-write +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessType::0003-create +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccessType::0004-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAccess~~>ResourceAccessable github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAction::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAction::|public|GetAdditionalData():map[string]any @@ -164297,6 +169964,36 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.resourceActionable::|public|Set github.com/microsoftgraph/msgraph-sdk-go/.models.resourceActionable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.resourceActionable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAction~~>ResourceActionable +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|public|GetLinkType():*ResourceLinkType +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|public|GetValue():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|public|SetLinkType(value:*ResourceLinkType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|public|SetValue(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLinkable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLinkable::|public|GetLinkType():*ResourceLinkType +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLinkable::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLinkable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLinkable::|public|GetValue():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLinkable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLinkable::|public|SetLinkType(value:*ResourceLinkType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLinkable::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLinkable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLinkable::|public|SetValue(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLinkable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLinkType::0000-url +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLinkType::0001-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink~~>ResourceLinkable github.com/microsoftgraph/msgraph-sdk-go/.models.resourceOperation-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.resourceOperation::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.resourceOperation::|public|GetActionName():*string @@ -165184,6 +170881,34 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.riskLevel::0002-high github.com/microsoftgraph/msgraph-sdk-go/.models.riskLevel::0003-hidden github.com/microsoftgraph/msgraph-sdk-go/.models.riskLevel::0004-none github.com/microsoftgraph/msgraph-sdk-go/.models.riskLevel::0005-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.riskPreventionContainer::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.riskPreventionContainer::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.riskPreventionContainer::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.riskPreventionContainer::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.riskPreventionContainer::|public|GetFraudProtectionProviders():[]FraudProtectionProviderable +github.com/microsoftgraph/msgraph-sdk-go/.models.riskPreventionContainer::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.riskPreventionContainer::|public|GetWebApplicationFirewallProviders():[]WebApplicationFirewallProviderable +github.com/microsoftgraph/msgraph-sdk-go/.models.riskPreventionContainer::|public|GetWebApplicationFirewallVerifications():[]WebApplicationFirewallVerificationModelable +github.com/microsoftgraph/msgraph-sdk-go/.models.riskPreventionContainer::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.riskPreventionContainer::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.riskPreventionContainer::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.riskPreventionContainer::|public|SetFraudProtectionProviders(value:[]FraudProtectionProviderable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.riskPreventionContainer::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.riskPreventionContainer::|public|SetWebApplicationFirewallProviders(value:[]WebApplicationFirewallProviderable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.riskPreventionContainer::|public|SetWebApplicationFirewallVerifications(value:[]WebApplicationFirewallVerificationModelable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.riskPreventionContainer::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.riskPreventionContainerable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.riskPreventionContainerable::|public|GetFraudProtectionProviders():[]FraudProtectionProviderable +github.com/microsoftgraph/msgraph-sdk-go/.models.riskPreventionContainerable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.riskPreventionContainerable::|public|GetWebApplicationFirewallProviders():[]WebApplicationFirewallProviderable +github.com/microsoftgraph/msgraph-sdk-go/.models.riskPreventionContainerable::|public|GetWebApplicationFirewallVerifications():[]WebApplicationFirewallVerificationModelable +github.com/microsoftgraph/msgraph-sdk-go/.models.riskPreventionContainerable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.riskPreventionContainerable::|public|SetFraudProtectionProviders(value:[]FraudProtectionProviderable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.riskPreventionContainerable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.riskPreventionContainerable::|public|SetWebApplicationFirewallProviders(value:[]WebApplicationFirewallProviderable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.riskPreventionContainerable::|public|SetWebApplicationFirewallVerifications(value:[]WebApplicationFirewallVerificationModelable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.riskPreventionContainerable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.riskPreventionContainer~~>RiskPreventionContainerable github.com/microsoftgraph/msgraph-sdk-go/.models.riskServicePrincipalActivity::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.riskServicePrincipalActivity::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.riskServicePrincipalActivity::|public|GetBackingStore():BackingStore @@ -165528,10 +171253,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|GetEmailAddress() github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|GetFloorLabel():*string github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|GetFloorNumber():*int32 -github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|GetIsWheelChairAccessible():*bool -github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|GetLabel():*string github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|GetNickname():*string -github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|GetTags():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|GetTeamsEnabledState():*PlaceFeatureEnablement github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|GetVideoDeviceName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|Serialize(writer:SerializationWriter):void @@ -165543,10 +171267,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|SetDisplayDeviceN github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|SetEmailAddress(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|SetFloorLabel(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|SetFloorNumber(value:*int32):void -github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|SetIsWheelChairAccessible(value:*bool):void -github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|SetLabel(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|SetNickname(value:*string):void -github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|SetTags(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|SetTeamsEnabledState(value:*PlaceFeatureEnablement):void github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|SetVideoDeviceName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.room::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|GetAudioDeviceName():*string @@ -165557,10 +171280,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|GetDisplayDev github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|GetEmailAddress():*string github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|GetFloorLabel():*string github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|GetFloorNumber():*int32 -github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|GetIsWheelChairAccessible():*bool -github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|GetLabel():*string github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|GetNickname():*string -github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|GetTags():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|GetTeamsEnabledState():*PlaceFeatureEnablement github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|GetVideoDeviceName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|SetAudioDeviceName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|SetBookingType(value:*BookingType):void @@ -165570,10 +171292,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|SetDisplayDev github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|SetEmailAddress(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|SetFloorLabel(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|SetFloorNumber(value:*int32):void -github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|SetIsWheelChairAccessible(value:*bool):void -github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|SetLabel(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|SetNickname(value:*string):void -github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|SetTags(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|SetTeamsEnabledState(value:*PlaceFeatureEnablement):void github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|SetVideoDeviceName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.roomable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; Placeable github.com/microsoftgraph/msgraph-sdk-go/.models.roomCollectionResponse-->*BaseCollectionPaginationCountResponse @@ -165591,15 +171312,19 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.roomList::|public|constructor() github.com/microsoftgraph/msgraph-sdk-go/.models.roomList::|public|GetEmailAddress():*string github.com/microsoftgraph/msgraph-sdk-go/.models.roomList::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.roomList::|public|GetRooms():[]Roomable +github.com/microsoftgraph/msgraph-sdk-go/.models.roomList::|public|GetWorkspaces():[]Workspaceable github.com/microsoftgraph/msgraph-sdk-go/.models.roomList::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.roomList::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.roomList::|public|SetEmailAddress(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.roomList::|public|SetRooms(value:[]Roomable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.roomList::|public|SetWorkspaces(value:[]Workspaceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.roomList::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.roomListable::|public|GetEmailAddress():*string github.com/microsoftgraph/msgraph-sdk-go/.models.roomListable::|public|GetRooms():[]Roomable +github.com/microsoftgraph/msgraph-sdk-go/.models.roomListable::|public|GetWorkspaces():[]Workspaceable github.com/microsoftgraph/msgraph-sdk-go/.models.roomListable::|public|SetEmailAddress(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.roomListable::|public|SetRooms(value:[]Roomable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.roomListable::|public|SetWorkspaces(value:[]Workspaceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.roomListable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; Placeable github.com/microsoftgraph/msgraph-sdk-go/.models.roomListCollectionResponse-->*BaseCollectionPaginationCountResponse github.com/microsoftgraph/msgraph-sdk-go/.models.roomListCollectionResponse::|public|constructor():void @@ -166910,6 +172635,23 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.searchResultable::|public|SetOd github.com/microsoftgraph/msgraph-sdk-go/.models.searchResultable::|public|SetOnClickTelemetryUrl(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.searchResultable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.searchResult~~>SearchResultable +github.com/microsoftgraph/msgraph-sdk-go/.models.section-->*Place +github.com/microsoftgraph/msgraph-sdk-go/.models.section::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.section::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.section::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.section::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.section::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; Placeable +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionCollectionResponse::|public|GetValue():[]Sectionable +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionCollectionResponse::|public|SetValue(value:[]Sectionable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionCollectionResponseable::|public|GetValue():[]Sectionable +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionCollectionResponseable::|public|SetValue(value:[]Sectionable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.sectionEmphasisType::0000-none github.com/microsoftgraph/msgraph-sdk-go/.models.sectionEmphasisType::0001-neutral github.com/microsoftgraph/msgraph-sdk-go/.models.sectionEmphasisType::0002-soft @@ -166980,6 +172722,27 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.sectionLinksable::|public|SetOn github.com/microsoftgraph/msgraph-sdk-go/.models.sectionLinksable::|public|SetOneNoteWebUrl(value:ExternalLinkable):void github.com/microsoftgraph/msgraph-sdk-go/.models.sectionLinksable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.sectionLinks~~>SectionLinksable +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMap-->*BaseMapFeature +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMap::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMap::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMap::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMap::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMap::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMap::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMap::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMapable::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMapable::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMapable~~>BaseMapFeatureable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMapCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMapCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMapCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMapCollectionResponse::|public|GetValue():[]SectionMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMapCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMapCollectionResponse::|public|SetValue(value:[]SectionMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMapCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMapCollectionResponseable::|public|GetValue():[]SectionMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMapCollectionResponseable::|public|SetValue(value:[]SectionMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMapCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.secureScore-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.secureScore::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.secureScore::|public|GetActiveUserCount():*int32 @@ -167174,11 +172937,61 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.secureSignInSessionControl::|pu github.com/microsoftgraph/msgraph-sdk-go/.models.secureSignInSessionControl::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.secureSignInSessionControlable~~>ConditionalAccessSessionControlable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.security-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|public|GetActions():[]Action +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|public|GetIdentifier():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|public|GetIdentityProvider():*IdentityProvider +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|public|SetActions(value:[]Action):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|public|SetIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|public|SetIdentityProvider(value:*IdentityProvider):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.accountable::|public|GetActions():[]Action +github.com/microsoftgraph/msgraph-sdk-go/.models.security.accountable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.accountable::|public|GetIdentifier():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.accountable::|public|GetIdentityProvider():*IdentityProvider +github.com/microsoftgraph/msgraph-sdk-go/.models.security.accountable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.accountable::|public|SetActions(value:[]Action):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.accountable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.accountable::|public|SetIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.accountable::|public|SetIdentityProvider(value:*IdentityProvider):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.accountable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.accountable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account~~>Accountable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.action::0000-disable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.action::0001-enable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.action::0002-forcePasswordReset +github.com/microsoftgraph/msgraph-sdk-go/.models.security.action::0003-revokeAllSessions +github.com/microsoftgraph/msgraph-sdk-go/.models.security.action::0004-requireUserToSignInAgain +github.com/microsoftgraph/msgraph-sdk-go/.models.security.action::0005-markUserAsCompromised +github.com/microsoftgraph/msgraph-sdk-go/.models.security.action::0006-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.security.actionAfterRetentionPeriod::0000-none github.com/microsoftgraph/msgraph-sdk-go/.models.security.actionAfterRetentionPeriod::0001-delete github.com/microsoftgraph/msgraph-sdk-go/.models.security.actionAfterRetentionPeriod::0002-startDispositionReview github.com/microsoftgraph/msgraph-sdk-go/.models.security.actionAfterRetentionPeriod::0003-relabel github.com/microsoftgraph/msgraph-sdk-go/.models.security.actionAfterRetentionPeriod::0004-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.security.activeDirectoryDomainEvidence-->*AlertEvidence +github.com/microsoftgraph/msgraph-sdk-go/.models.security.activeDirectoryDomainEvidence::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.activeDirectoryDomainEvidence::|public|GetActiveDirectoryDomainName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.activeDirectoryDomainEvidence::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.activeDirectoryDomainEvidence::|public|GetTrustedDomains():[]ActiveDirectoryDomainEvidenceable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.activeDirectoryDomainEvidence::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.activeDirectoryDomainEvidence::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.activeDirectoryDomainEvidence::|public|SetActiveDirectoryDomainName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.activeDirectoryDomainEvidence::|public|SetTrustedDomains(value:[]ActiveDirectoryDomainEvidenceable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.activeDirectoryDomainEvidence::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.activeDirectoryDomainEvidenceable::|public|GetActiveDirectoryDomainName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.activeDirectoryDomainEvidenceable::|public|GetTrustedDomains():[]ActiveDirectoryDomainEvidenceable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.activeDirectoryDomainEvidenceable::|public|SetActiveDirectoryDomainName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.activeDirectoryDomainEvidenceable::|public|SetTrustedDomains(value:[]ActiveDirectoryDomainEvidenceable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.activeDirectoryDomainEvidenceable~~>AlertEvidenceable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.additionalDataOptions::0000-allVersions github.com/microsoftgraph/msgraph-sdk-go/.models.security.additionalDataOptions::0001-linkedFiles github.com/microsoftgraph/msgraph-sdk-go/.models.security.additionalDataOptions::0002-unknownFutureValue @@ -167203,6 +173016,34 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.additionalOptions::001 github.com/microsoftgraph/msgraph-sdk-go/.models.security.additionalOptions::0012-friendlyName github.com/microsoftgraph/msgraph-sdk-go/.models.security.additionalOptions::0013-splitSource github.com/microsoftgraph/msgraph-sdk-go/.models.security.additionalOptions::0014-includeReport +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidence-->*AlertEvidence +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidence::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidence::|public|GetAgentId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidence::|public|GetAgentName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidence::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidence::|public|GetHostingPlatformType():*AiAgentPlatform +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidence::|public|GetInstructions():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidence::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidence::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidence::|public|SetAgentId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidence::|public|SetAgentName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidence::|public|SetHostingPlatformType(value:*AiAgentPlatform):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidence::|public|SetInstructions(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidence::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidenceable::|public|GetAgentId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidenceable::|public|GetAgentName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidenceable::|public|GetHostingPlatformType():*AiAgentPlatform +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidenceable::|public|GetInstructions():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidenceable::|public|SetAgentId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidenceable::|public|SetAgentName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidenceable::|public|SetHostingPlatformType(value:*AiAgentPlatform):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidenceable::|public|SetInstructions(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidenceable~~>AlertEvidenceable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentPlatform::0000-unknown +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentPlatform::0001-azureAIFoundry +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentPlatform::0002-copilotStudio +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentPlatform::0003-copilot +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentPlatform::0004-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.security.alert-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity github.com/microsoftgraph/msgraph-sdk-go/.models.security.alert::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.alert::|public|GetActorDisplayName():*string @@ -167224,6 +173065,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.alert::|public|getFiel github.com/microsoftgraph/msgraph-sdk-go/.models.security.alert::|public|GetFirstActivityDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.security.alert::|public|GetIncidentId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.alert::|public|GetIncidentWebUrl():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.alert::|public|GetInvestigationState():*InvestigationState github.com/microsoftgraph/msgraph-sdk-go/.models.security.alert::|public|GetLastActivityDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.security.alert::|public|GetLastUpdateDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.security.alert::|public|GetMitreTechniques():[]string @@ -167259,6 +173101,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.alert::|public|SetEvid github.com/microsoftgraph/msgraph-sdk-go/.models.security.alert::|public|SetFirstActivityDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.alert::|public|SetIncidentId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.alert::|public|SetIncidentWebUrl(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.alert::|public|SetInvestigationState(value:*InvestigationState):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.alert::|public|SetLastActivityDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.alert::|public|SetLastUpdateDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.alert::|public|SetMitreTechniques(value:[]string):void @@ -167293,6 +173136,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.alertable::|public|Get github.com/microsoftgraph/msgraph-sdk-go/.models.security.alertable::|public|GetFirstActivityDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.security.alertable::|public|GetIncidentId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.alertable::|public|GetIncidentWebUrl():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.alertable::|public|GetInvestigationState():*InvestigationState github.com/microsoftgraph/msgraph-sdk-go/.models.security.alertable::|public|GetLastActivityDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.security.alertable::|public|GetLastUpdateDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.security.alertable::|public|GetMitreTechniques():[]string @@ -167326,6 +173170,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.alertable::|public|Set github.com/microsoftgraph/msgraph-sdk-go/.models.security.alertable::|public|SetFirstActivityDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.alertable::|public|SetIncidentId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.alertable::|public|SetIncidentWebUrl(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.alertable::|public|SetInvestigationState(value:*InvestigationState):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.alertable::|public|SetLastActivityDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.alertable::|public|SetLastUpdateDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.alertable::|public|SetMitreTechniques(value:[]string):void @@ -167770,6 +173615,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.caseAction::0007-unkno github.com/microsoftgraph/msgraph-sdk-go/.models.security.caseAction::0008-purgeData github.com/microsoftgraph/msgraph-sdk-go/.models.security.caseAction::0009-exportReport github.com/microsoftgraph/msgraph-sdk-go/.models.security.caseAction::0010-exportResult +github.com/microsoftgraph/msgraph-sdk-go/.models.security.caseAction::0011-holdPolicySync github.com/microsoftgraph/msgraph-sdk-go/.models.security.caseEscaped-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity github.com/microsoftgraph/msgraph-sdk-go/.models.security.caseEscaped::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.caseEscaped::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time @@ -168309,7 +174155,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.detectionSource::0032- github.com/microsoftgraph/msgraph-sdk-go/.models.security.detectionSource::0033-builtInMl github.com/microsoftgraph/msgraph-sdk-go/.models.security.detectionSource::0034-microsoftInsiderRiskManagement github.com/microsoftgraph/msgraph-sdk-go/.models.security.detectionSource::0035-microsoftThreatIntelligence -github.com/microsoftgraph/msgraph-sdk-go/.models.security.detectionSource::0036-microsoftSentinel +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detectionSource::0036-microsoftDefenderForAIServices +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detectionSource::0037-securityCopilot +github.com/microsoftgraph/msgraph-sdk-go/.models.security.detectionSource::0038-microsoftSentinel github.com/microsoftgraph/msgraph-sdk-go/.models.security.detectionStatus::0000-detected github.com/microsoftgraph/msgraph-sdk-go/.models.security.detectionStatus::0001-blocked github.com/microsoftgraph/msgraph-sdk-go/.models.security.detectionStatus::0002-prevented @@ -168335,6 +174183,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|publi github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|GetOsPlatform():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|GetRbacGroupId():*int32 github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|GetRbacGroupName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|GetResourceAccessEvents():[]ResourceAccessEventable github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|GetRiskScore():*DeviceRiskScore github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|GetVersion():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|GetVmMetadata():VmMetadataable @@ -168358,6 +174207,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|publi github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|SetOsPlatform(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|SetRbacGroupId(value:*int32):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|SetRbacGroupName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|SetResourceAccessEvents(value:[]ResourceAccessEventable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|SetRiskScore(value:*DeviceRiskScore):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|SetVersion(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|SetVmMetadata(value:VmMetadataable):void @@ -168380,6 +174230,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|p github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|GetOsPlatform():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|GetRbacGroupId():*int32 github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|GetRbacGroupName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|GetResourceAccessEvents():[]ResourceAccessEventable github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|GetRiskScore():*DeviceRiskScore github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|GetVersion():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|GetVmMetadata():VmMetadataable @@ -168401,6 +174252,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|p github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|SetOsPlatform(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|SetRbacGroupId(value:*int32):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|SetRbacGroupName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|SetResourceAccessEvents(value:[]ResourceAccessEventable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|SetRiskScore(value:*DeviceRiskScore):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|SetVersion(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|SetVmMetadata(value:VmMetadataable):void @@ -168528,6 +174380,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryAddToReviewS github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryAddToReviewSetOperationable~~>CaseOperationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCase-->*CaseEscaped github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCase::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCase::|public|GetCaseMembers():[]EdiscoveryCaseMemberable github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCase::|public|GetClosedBy():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IdentitySetable github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCase::|public|GetClosedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCase::|public|GetCustodians():[]EdiscoveryCustodianable @@ -168541,6 +174394,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCase::|publi github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCase::|public|GetTags():[]EdiscoveryReviewTagable github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCase::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCase::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCase::|public|SetCaseMembers(value:[]EdiscoveryCaseMemberable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCase::|public|SetClosedBy(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IdentitySetable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCase::|public|SetClosedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCase::|public|SetCustodians(value:[]EdiscoveryCustodianable):void @@ -168552,6 +174406,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCase::|publi github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCase::|public|SetSettings(value:EdiscoveryCaseSettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCase::|public|SetTags(value:[]EdiscoveryReviewTagable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseable::|public|GetCaseMembers():[]EdiscoveryCaseMemberable github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseable::|public|GetClosedBy():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IdentitySetable github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseable::|public|GetClosedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseable::|public|GetCustodians():[]EdiscoveryCustodianable @@ -168562,6 +174417,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseable::|p github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseable::|public|GetSearches():[]EdiscoverySearchable github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseable::|public|GetSettings():EdiscoveryCaseSettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseable::|public|GetTags():[]EdiscoveryReviewTagable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseable::|public|SetCaseMembers(value:[]EdiscoveryCaseMemberable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseable::|public|SetClosedBy(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IdentitySetable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseable::|public|SetClosedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseable::|public|SetCustodians(value:[]EdiscoveryCustodianable):void @@ -168583,6 +174439,35 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseCollecti github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseCollectionResponseable::|public|GetValue():[]EdiscoveryCaseable github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseCollectionResponseable::|public|SetValue(value:[]EdiscoveryCaseable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseCollectionResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseMember-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseMember::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseMember::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseMember::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseMember::|public|GetRecipientType():*RecipientType +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseMember::|public|GetSmtpAddress():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseMember::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseMember::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseMember::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseMember::|public|SetRecipientType(value:*RecipientType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseMember::|public|SetSmtpAddress(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseMember::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseMemberable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseMemberable::|public|GetRecipientType():*RecipientType +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseMemberable::|public|GetSmtpAddress():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseMemberable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseMemberable::|public|SetRecipientType(value:*RecipientType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseMemberable::|public|SetSmtpAddress(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseMemberable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseMemberCollectionResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseMemberCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseMemberCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseMemberCollectionResponse::|public|GetValue():[]EdiscoveryCaseMemberable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseMemberCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseMemberCollectionResponse::|public|SetValue(value:[]EdiscoveryCaseMemberable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseMemberCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseMemberCollectionResponseable::|public|GetValue():[]EdiscoveryCaseMemberable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseMemberCollectionResponseable::|public|SetValue(value:[]EdiscoveryCaseMemberable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseMemberCollectionResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseSettings-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseSettings::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseSettings::|public|GetCaseType():*CaseType @@ -168736,6 +174621,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryHoldOperatio github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryHoldOperation::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryHoldOperation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryHoldOperationable~~>CaseOperationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryHoldPolicySyncOperation-->*CaseOperation +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryHoldPolicySyncOperation::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryHoldPolicySyncOperation::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryHoldPolicySyncOperation::|public|GetReportFileMetadata():[]ReportFileMetadataable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryHoldPolicySyncOperation::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryHoldPolicySyncOperation::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryHoldPolicySyncOperation::|public|SetReportFileMetadata(value:[]ReportFileMetadataable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryHoldPolicySyncOperation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryHoldPolicySyncOperationable::|public|GetReportFileMetadata():[]ReportFileMetadataable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryHoldPolicySyncOperationable::|public|SetReportFileMetadata(value:[]ReportFileMetadataable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryHoldPolicySyncOperationable~~>CaseOperationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryIndexOperation-->*CaseOperation github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryIndexOperation::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryIndexOperation::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -168771,9 +174667,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryNoncustodial github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryPurgeDataOperation-->*CaseOperation github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryPurgeDataOperation::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryPurgeDataOperation::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryPurgeDataOperation::|public|GetReportFileMetadata():[]ReportFileMetadataable github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryPurgeDataOperation::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryPurgeDataOperation::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryPurgeDataOperation::|public|SetReportFileMetadata(value:[]ReportFileMetadataable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryPurgeDataOperation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryPurgeDataOperationable::|public|GetReportFileMetadata():[]ReportFileMetadataable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryPurgeDataOperationable::|public|SetReportFileMetadata(value:[]ReportFileMetadataable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryPurgeDataOperationable~~>CaseOperationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryReviewSet-->*DataSet github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryReviewSet::|public|constructor():void @@ -170259,21 +176159,78 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.hyperlinkable::|public github.com/microsoftgraph/msgraph-sdk-go/.models.security.hyperlinkable::|public|SetUrl(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.hyperlinkable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.hyperlink~~>Hyperlinkable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|GetAccounts():[]Accountable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|GetCloudSecurityIdentifier():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|GetDomain():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|GetIsEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|GetOnPremisesSecurityIdentifier():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|SetAccounts(value:[]Accountable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|SetCloudSecurityIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|SetDomain(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|SetIsEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|SetOnPremisesSecurityIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsable::|public|GetAccounts():[]Accountable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsable::|public|GetCloudSecurityIdentifier():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsable::|public|GetDomain():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsable::|public|GetIsEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsable::|public|GetOnPremisesSecurityIdentifier():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsable::|public|SetAccounts(value:[]Accountable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsable::|public|SetCloudSecurityIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsable::|public|SetDomain(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsable::|public|SetIsEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsable::|public|SetOnPremisesSecurityIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsCollectionResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsCollectionResponse::|public|GetValue():[]IdentityAccountsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsCollectionResponse::|public|SetValue(value:[]IdentityAccountsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsCollectionResponseable::|public|GetValue():[]IdentityAccountsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsCollectionResponseable::|public|SetValue(value:[]IdentityAccountsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsCollectionResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|GetHealthIssues():[]HealthIssueable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|GetIdentityAccounts():[]IdentityAccountsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|GetSensorCandidateActivationConfiguration():SensorCandidateActivationConfigurationable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|GetSensorCandidates():[]SensorCandidateable github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|GetSensors():[]Sensorable github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|SetHealthIssues(value:[]HealthIssueable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|SetIdentityAccounts(value:[]IdentityAccountsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|SetSensorCandidateActivationConfiguration(value:SensorCandidateActivationConfigurationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|SetSensorCandidates(value:[]SensorCandidateable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|SetSensors(value:[]Sensorable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainerable::|public|GetHealthIssues():[]HealthIssueable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainerable::|public|GetIdentityAccounts():[]IdentityAccountsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainerable::|public|GetSensorCandidateActivationConfiguration():SensorCandidateActivationConfigurationable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainerable::|public|GetSensorCandidates():[]SensorCandidateable github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainerable::|public|GetSensors():[]Sensorable github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainerable::|public|SetHealthIssues(value:[]HealthIssueable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainerable::|public|SetIdentityAccounts(value:[]IdentityAccountsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainerable::|public|SetSensorCandidateActivationConfiguration(value:SensorCandidateActivationConfigurationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainerable::|public|SetSensorCandidates(value:[]SensorCandidateable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainerable::|public|SetSensors(value:[]Sensorable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainerable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityProvider::0000-entraID +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityProvider::0001-activeDirectory +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityProvider::0002-okta +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityProvider::0003-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.security.incident-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity github.com/microsoftgraph/msgraph-sdk-go/.models.security.incident::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.incident::|public|GetAlerts():[]Alertable @@ -170289,6 +176246,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.incident::|public|getF github.com/microsoftgraph/msgraph-sdk-go/.models.security.incident::|public|GetIncidentWebUrl():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.incident::|public|GetLastModifiedBy():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.incident::|public|GetLastUpdateDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.security.incident::|public|GetPriorityScore():*int32 github.com/microsoftgraph/msgraph-sdk-go/.models.security.incident::|public|GetRedirectIncidentId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.incident::|public|GetResolvingComment():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.incident::|public|GetSeverity():*AlertSeverity @@ -170310,6 +176268,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.incident::|public|SetD github.com/microsoftgraph/msgraph-sdk-go/.models.security.incident::|public|SetIncidentWebUrl(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.incident::|public|SetLastModifiedBy(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.incident::|public|SetLastUpdateDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.incident::|public|SetPriorityScore(value:*int32):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.incident::|public|SetRedirectIncidentId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.incident::|public|SetResolvingComment(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.incident::|public|SetSeverity(value:*AlertSeverity):void @@ -170330,6 +176289,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.incidentable::|public| github.com/microsoftgraph/msgraph-sdk-go/.models.security.incidentable::|public|GetIncidentWebUrl():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.incidentable::|public|GetLastModifiedBy():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.incidentable::|public|GetLastUpdateDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.security.incidentable::|public|GetPriorityScore():*int32 github.com/microsoftgraph/msgraph-sdk-go/.models.security.incidentable::|public|GetRedirectIncidentId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.incidentable::|public|GetResolvingComment():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.incidentable::|public|GetSeverity():*AlertSeverity @@ -170349,6 +176309,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.incidentable::|public| github.com/microsoftgraph/msgraph-sdk-go/.models.security.incidentable::|public|SetIncidentWebUrl(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.incidentable::|public|SetLastModifiedBy(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.incidentable::|public|SetLastUpdateDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.incidentable::|public|SetPriorityScore(value:*int32):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.incidentable::|public|SetRedirectIncidentId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.incidentable::|public|SetResolvingComment(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.incidentable::|public|SetSeverity(value:*AlertSeverity):void @@ -170501,6 +176462,57 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.intelligenceProfileInd github.com/microsoftgraph/msgraph-sdk-go/.models.security.intelligenceProfileKind::0000-actor github.com/microsoftgraph/msgraph-sdk-go/.models.security.intelligenceProfileKind::0001-tool github.com/microsoftgraph/msgraph-sdk-go/.models.security.intelligenceProfileKind::0002-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.security.investigationState::0000-unknown +github.com/microsoftgraph/msgraph-sdk-go/.models.security.investigationState::0001-terminated +github.com/microsoftgraph/msgraph-sdk-go/.models.security.investigationState::0002-successfullyRemediated +github.com/microsoftgraph/msgraph-sdk-go/.models.security.investigationState::0003-benign +github.com/microsoftgraph/msgraph-sdk-go/.models.security.investigationState::0004-failed +github.com/microsoftgraph/msgraph-sdk-go/.models.security.investigationState::0005-partiallyRemediated +github.com/microsoftgraph/msgraph-sdk-go/.models.security.investigationState::0006-running +github.com/microsoftgraph/msgraph-sdk-go/.models.security.investigationState::0007-pendingApproval +github.com/microsoftgraph/msgraph-sdk-go/.models.security.investigationState::0008-pendingResource +github.com/microsoftgraph/msgraph-sdk-go/.models.security.investigationState::0009-queued +github.com/microsoftgraph/msgraph-sdk-go/.models.security.investigationState::0010-innerFailure +github.com/microsoftgraph/msgraph-sdk-go/.models.security.investigationState::0011-preexistingAlert +github.com/microsoftgraph/msgraph-sdk-go/.models.security.investigationState::0012-unsupportedOs +github.com/microsoftgraph/msgraph-sdk-go/.models.security.investigationState::0013-unsupportedAlertType +github.com/microsoftgraph/msgraph-sdk-go/.models.security.investigationState::0014-suppressedAlert +github.com/microsoftgraph/msgraph-sdk-go/.models.security.investigationState::0015-partiallyInvestigated +github.com/microsoftgraph/msgraph-sdk-go/.models.security.investigationState::0016-terminatedByUser +github.com/microsoftgraph/msgraph-sdk-go/.models.security.investigationState::0017-terminatedBySystem +github.com/microsoftgraph/msgraph-sdk-go/.models.security.investigationState::0018-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|GetAccountId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|GetAction():*Action +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|GetCorrelationId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|GetIdentityProvider():*IdentityProvider +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|SetAccountId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|SetAction(value:*Action):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|SetCorrelationId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|SetIdentityProvider(value:*IdentityProvider):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResultable::|public|GetAccountId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResultable::|public|GetAction():*Action +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResultable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResultable::|public|GetCorrelationId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResultable::|public|GetIdentityProvider():*IdentityProvider +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResultable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResultable::|public|SetAccountId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResultable::|public|SetAction(value:*Action):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResultable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResultable::|public|SetCorrelationId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResultable::|public|SetIdentityProvider(value:*IdentityProvider):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResultable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResultable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult~~>InvokeActionResultable github.com/microsoftgraph/msgraph-sdk-go/.models.security.ioTDeviceEvidence-->*AlertEvidence github.com/microsoftgraph/msgraph-sdk-go/.models.security.ioTDeviceEvidence::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.ioTDeviceEvidence::|public|GetDeviceId():*string @@ -171289,6 +177301,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.purgeType::0002-perman github.com/microsoftgraph/msgraph-sdk-go/.models.security.queryType::0000-files github.com/microsoftgraph/msgraph-sdk-go/.models.security.queryType::0001-messages github.com/microsoftgraph/msgraph-sdk-go/.models.security.queryType::0002-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.security.recipientType::0000-user +github.com/microsoftgraph/msgraph-sdk-go/.models.security.recipientType::0001-roleGroup +github.com/microsoftgraph/msgraph-sdk-go/.models.security.recipientType::0002-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.security.redundancyDetectionSettings::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.redundancyDetectionSettings::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.security.redundancyDetectionSettings::|public|GetBackingStore():BackingStore @@ -171808,6 +177823,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|GetHea github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|GetHealthStatus():*SensorHealthStatus github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|GetOpenHealthIssuesCount():*int64 github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|GetSensorType():*SensorType +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|GetServiceStatus():*ServiceStatus github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|GetSettings():SensorSettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|GetVersion():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|OdataType:*string @@ -171820,6 +177836,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|SetHea github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|SetHealthStatus(value:*SensorHealthStatus):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|SetOpenHealthIssuesCount(value:*int64):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|SetSensorType(value:*SensorType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|SetServiceStatus(value:*ServiceStatus):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|SetSettings(value:SensorSettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|SetVersion(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable @@ -171831,6 +177848,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|Ge github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|GetHealthStatus():*SensorHealthStatus github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|GetOpenHealthIssuesCount():*int64 github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|GetSensorType():*SensorType +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|GetServiceStatus():*ServiceStatus github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|GetSettings():SensorSettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|GetVersion():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void @@ -171841,9 +177859,57 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|Se github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|SetHealthStatus(value:*SensorHealthStatus):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|SetOpenHealthIssuesCount(value:*int64):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|SetSensorType(value:*SensorType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|SetServiceStatus(value:*ServiceStatus):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|SetSettings(value:SensorSettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|SetVersion(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidate-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidate::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidate::|public|GetComputerDnsName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidate::|public|GetDomainName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidate::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidate::|public|GetLastSeenDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidate::|public|GetSenseClientVersion():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidate::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidate::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidate::|public|SetComputerDnsName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidate::|public|SetDomainName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidate::|public|SetLastSeenDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidate::|public|SetSenseClientVersion(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidate::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateable::|public|GetComputerDnsName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateable::|public|GetDomainName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateable::|public|GetLastSeenDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateable::|public|GetSenseClientVersion():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateable::|public|SetComputerDnsName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateable::|public|SetDomainName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateable::|public|SetLastSeenDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateable::|public|SetSenseClientVersion(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateActivationConfiguration-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateActivationConfiguration::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateActivationConfiguration::|public|GetActivationMode():*SensorCandidateActivationMode +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateActivationConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateActivationConfiguration::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateActivationConfiguration::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateActivationConfiguration::|public|SetActivationMode(value:*SensorCandidateActivationMode):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateActivationConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateActivationConfigurationable::|public|GetActivationMode():*SensorCandidateActivationMode +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateActivationConfigurationable::|public|SetActivationMode(value:*SensorCandidateActivationMode):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateActivationConfigurationable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateActivationMode::0000-manual +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateActivationMode::0001-automated +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateActivationMode::0002-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateCollectionResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateCollectionResponse::|public|GetValue():[]SensorCandidateable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateCollectionResponse::|public|SetValue(value:[]SensorCandidateable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateCollectionResponseable::|public|GetValue():[]SensorCandidateable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateCollectionResponseable::|public|SetValue(value:[]SensorCandidateable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCandidateCollectionResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCollectionResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCollectionResponse::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -171971,6 +178037,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.serviceSource::0010-mi github.com/microsoftgraph/msgraph-sdk-go/.models.security.serviceSource::0011-microsoftSentinel github.com/microsoftgraph/msgraph-sdk-go/.models.security.serviceSource::0012-microsoftInsiderRiskManagement github.com/microsoftgraph/msgraph-sdk-go/.models.security.serviceSource::0013-microsoftThreatIntelligence +github.com/microsoftgraph/msgraph-sdk-go/.models.security.serviceStatus::0000-stopped +github.com/microsoftgraph/msgraph-sdk-go/.models.security.serviceStatus::0001-starting +github.com/microsoftgraph/msgraph-sdk-go/.models.security.serviceStatus::0002-running +github.com/microsoftgraph/msgraph-sdk-go/.models.security.serviceStatus::0003-disabled +github.com/microsoftgraph/msgraph-sdk-go/.models.security.serviceStatus::0004-onboarding +github.com/microsoftgraph/msgraph-sdk-go/.models.security.serviceStatus::0005-unknown +github.com/microsoftgraph/msgraph-sdk-go/.models.security.serviceStatus::0006-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.security.singlePropertySchema::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.singlePropertySchema::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.security.singlePropertySchema::|public|GetBackingStore():BackingStore @@ -172556,6 +178629,21 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.urlEvidence::|static|p github.com/microsoftgraph/msgraph-sdk-go/.models.security.urlEvidenceable::|public|GetUrl():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.urlEvidenceable::|public|SetUrl(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.urlEvidenceable~~>AlertEvidenceable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.user-->*IdentityAccounts +github.com/microsoftgraph/msgraph-sdk-go/.models.security.user::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.user::|public|GetEmailAddress():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.user::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.user::|public|GetUserPrincipalName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.user::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.user::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.user::|public|SetEmailAddress(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.user::|public|SetUserPrincipalName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.user::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.userable::|public|GetEmailAddress():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.userable::|public|GetUserPrincipalName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.userable::|public|SetEmailAddress(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.userable::|public|SetUserPrincipalName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.userable~~>IdentityAccountsable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|GetAccountName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|GetActiveDirectoryObjectGuid():*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID @@ -173201,6 +179289,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabel::|public|GetAu github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabel::|public|GetDescription():*string github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabel::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabel::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabel::|public|GetHasProtection():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabel::|public|GetIsDefault():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabel::|public|GetIsEndpointProtectionEnabled():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabel::|public|GetIsScopedToUser():*bool @@ -173216,6 +179305,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabel::|public|SetAc github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabel::|public|SetAutoTooltip(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabel::|public|SetDescription(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabel::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabel::|public|SetHasProtection(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabel::|public|SetIsDefault(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabel::|public|SetIsEndpointProtectionEnabled(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabel::|public|SetIsScopedToUser(value:*bool):void @@ -173230,6 +179320,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabelable::|public|G github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabelable::|public|GetAutoTooltip():*string github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabelable::|public|GetDescription():*string github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabelable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabelable::|public|GetHasProtection():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabelable::|public|GetIsDefault():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabelable::|public|GetIsEndpointProtectionEnabled():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabelable::|public|GetIsScopedToUser():*bool @@ -173243,6 +179334,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabelable::|public|S github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabelable::|public|SetAutoTooltip(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabelable::|public|SetDescription(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabelable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabelable::|public|SetHasProtection(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabelable::|public|SetIsDefault(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabelable::|public|SetIsEndpointProtectionEnabled(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.sensitivityLabelable::|public|SetIsScopedToUser(value:*bool):void @@ -174684,6 +180776,287 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.sharepointIdsable::|public|SetT github.com/microsoftgraph/msgraph-sdk-go/.models.sharepointIdsable::|public|SetWebId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.sharepointIdsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.sharepointIds~~>SharepointIdsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|public|GetDataContainerUri():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|public|GetEncryptionKey():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|public|GetMetadataContainerUri():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|public|SetDataContainerUri(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|public|SetEncryptionKey(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|public|SetMetadataContainerUri(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfoable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfoable::|public|GetDataContainerUri():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfoable::|public|GetEncryptionKey():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfoable::|public|GetMetadataContainerUri():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfoable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfoable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfoable::|public|SetDataContainerUri(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfoable::|public|SetEncryptionKey(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfoable::|public|SetMetadataContainerUri(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfoable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfoable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo~~>SharePointMigrationContainerInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEvent-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEvent::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEvent::|public|GetCorrelationId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEvent::|public|GetEventDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEvent::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEvent::|public|GetJobId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEvent::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEvent::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEvent::|public|SetCorrelationId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEvent::|public|SetEventDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEvent::|public|SetJobId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEvent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventable::|public|GetCorrelationId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventable::|public|GetEventDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventable::|public|GetJobId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventable::|public|SetCorrelationId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventable::|public|SetEventDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventable::|public|SetJobId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventCollectionResponse::|public|GetValue():[]SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventCollectionResponse::|public|SetValue(value:[]SharePointMigrationEventable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventCollectionResponseable::|public|GetValue():[]SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventCollectionResponseable::|public|SetValue(value:[]SharePointMigrationEventable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationFinishManifestFileUploadEvent-->*SharePointMigrationEvent +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationFinishManifestFileUploadEvent::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationFinishManifestFileUploadEvent::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationFinishManifestFileUploadEvent::|public|GetManifestFileName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationFinishManifestFileUploadEvent::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationFinishManifestFileUploadEvent::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationFinishManifestFileUploadEvent::|public|SetManifestFileName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationFinishManifestFileUploadEvent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationFinishManifestFileUploadEventable::|public|GetManifestFileName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationFinishManifestFileUploadEventable::|public|SetManifestFileName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationFinishManifestFileUploadEventable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJob-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJob::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJob::|public|GetContainerInfo():SharePointMigrationContainerInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJob::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJob::|public|GetProgressEvents():[]SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJob::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJob::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJob::|public|SetContainerInfo(value:SharePointMigrationContainerInfoable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJob::|public|SetProgressEvents(value:[]SharePointMigrationEventable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJob::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobable::|public|GetContainerInfo():SharePointMigrationContainerInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobable::|public|GetProgressEvents():[]SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobable::|public|SetContainerInfo(value:SharePointMigrationContainerInfoable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobable::|public|SetProgressEvents(value:[]SharePointMigrationEventable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCancelledEvent-->*SharePointMigrationEvent +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCancelledEvent::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCancelledEvent::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCancelledEvent::|public|GetIsCancelledByUser():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCancelledEvent::|public|GetTotalRetryCount():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCancelledEvent::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCancelledEvent::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCancelledEvent::|public|SetIsCancelledByUser(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCancelledEvent::|public|SetTotalRetryCount(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCancelledEvent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCancelledEventable::|public|GetIsCancelledByUser():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCancelledEventable::|public|GetTotalRetryCount():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCancelledEventable::|public|SetIsCancelledByUser(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCancelledEventable::|public|SetTotalRetryCount(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCancelledEventable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCollectionResponse::|public|GetValue():[]SharePointMigrationJobable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCollectionResponse::|public|SetValue(value:[]SharePointMigrationJobable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCollectionResponseable::|public|GetValue():[]SharePointMigrationJobable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCollectionResponseable::|public|SetValue(value:[]SharePointMigrationJobable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobDeletedEvent-->*SharePointMigrationEvent +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobDeletedEvent::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobDeletedEvent::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobDeletedEvent::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobDeletedEvent::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobDeletedEvent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobDeletedEventable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent-->*SharePointMigrationEvent +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|GetError():PublicErrorable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|GetErrorLevel():*SharePointMigrationJobErrorLevel +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|GetObjectId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|GetObjectType():*SharePointMigrationObjectType +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|GetObjectUrl():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|GetTotalRetryCount():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|SetError(value:PublicErrorable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|SetErrorLevel(value:*SharePointMigrationJobErrorLevel):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|SetObjectId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|SetObjectType(value:*SharePointMigrationObjectType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|SetObjectUrl(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|SetTotalRetryCount(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEventable::|public|GetError():PublicErrorable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEventable::|public|GetErrorLevel():*SharePointMigrationJobErrorLevel +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEventable::|public|GetObjectId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEventable::|public|GetObjectType():*SharePointMigrationObjectType +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEventable::|public|GetObjectUrl():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEventable::|public|GetTotalRetryCount():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEventable::|public|SetError(value:PublicErrorable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEventable::|public|SetErrorLevel(value:*SharePointMigrationJobErrorLevel):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEventable::|public|SetObjectId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEventable::|public|SetObjectType(value:*SharePointMigrationObjectType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEventable::|public|SetObjectUrl(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEventable::|public|SetTotalRetryCount(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEventable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorLevel::0000-important +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorLevel::0001-warning +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorLevel::0002-error +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorLevel::0003-fatalError +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorLevel::0004-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEvent-->*SharePointMigrationEvent +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEvent::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEvent::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEvent::|public|GetJobsInQueue():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEvent::|public|GetNextPickupDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEvent::|public|GetReason():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEvent::|public|GetTotalRetryCount():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEvent::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEvent::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEvent::|public|SetJobsInQueue(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEvent::|public|SetNextPickupDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEvent::|public|SetReason(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEvent::|public|SetTotalRetryCount(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEvent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEventable::|public|GetJobsInQueue():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEventable::|public|GetNextPickupDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEventable::|public|GetReason():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEventable::|public|GetTotalRetryCount():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEventable::|public|SetJobsInQueue(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEventable::|public|SetNextPickupDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEventable::|public|SetReason(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEventable::|public|SetTotalRetryCount(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEventable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent-->*SharePointMigrationEvent +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetBytesProcessed():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetBytesProcessedOnlyCurrentVersion():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetCpuDurationMs():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetFilesProcessed():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetFilesProcessedOnlyCurrentVersion():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetIsCompleted():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetLastProcessedObjectId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetObjectsProcessed():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetSqlDurationMs():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetSqlQueryCount():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetTotalDurationMs():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetTotalErrors():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetTotalExpectedBytes():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetTotalExpectedObjects():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetTotalRetryCount():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetTotalWarnings():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetWaitTimeOnSqlThrottlingMs():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetBytesProcessed(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetBytesProcessedOnlyCurrentVersion(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetCpuDurationMs(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetFilesProcessed(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetFilesProcessedOnlyCurrentVersion(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetIsCompleted(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetLastProcessedObjectId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetObjectsProcessed(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetSqlDurationMs(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetSqlQueryCount(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetTotalDurationMs(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetTotalErrors(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetTotalExpectedBytes(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetTotalExpectedObjects(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetTotalRetryCount(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetTotalWarnings(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetWaitTimeOnSqlThrottlingMs(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetBytesProcessed():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetBytesProcessedOnlyCurrentVersion():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetCpuDurationMs():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetFilesProcessed():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetFilesProcessedOnlyCurrentVersion():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetIsCompleted():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetLastProcessedObjectId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetObjectsProcessed():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetSqlDurationMs():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetSqlQueryCount():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetTotalDurationMs():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetTotalErrors():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetTotalExpectedBytes():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetTotalExpectedObjects():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetTotalRetryCount():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetTotalWarnings():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetWaitTimeOnSqlThrottlingMs():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetBytesProcessed(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetBytesProcessedOnlyCurrentVersion(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetCpuDurationMs(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetFilesProcessed(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetFilesProcessedOnlyCurrentVersion(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetIsCompleted(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetLastProcessedObjectId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetObjectsProcessed(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetSqlDurationMs(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetSqlQueryCount(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetTotalDurationMs(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetTotalErrors(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetTotalExpectedBytes(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetTotalExpectedObjects(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetTotalRetryCount(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetTotalWarnings(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetWaitTimeOnSqlThrottlingMs(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobQueuedEvent-->*SharePointMigrationEvent +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobQueuedEvent::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobQueuedEvent::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobQueuedEvent::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobQueuedEvent::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobQueuedEvent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobQueuedEventable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobStartEvent-->*SharePointMigrationEvent +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobStartEvent::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobStartEvent::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobStartEvent::|public|GetIsRestarted():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobStartEvent::|public|GetTotalRetryCount():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobStartEvent::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobStartEvent::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobStartEvent::|public|SetIsRestarted(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobStartEvent::|public|SetTotalRetryCount(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobStartEvent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobStartEventable::|public|GetIsRestarted():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobStartEventable::|public|GetTotalRetryCount():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobStartEventable::|public|SetIsRestarted(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobStartEventable::|public|SetTotalRetryCount(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobStartEventable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationObjectType::0000-site +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationObjectType::0001-web +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationObjectType::0002-folder +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationObjectType::0003-list +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationObjectType::0004-listItem +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationObjectType::0005-file +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationObjectType::0006-alert +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationObjectType::0007-sharedWithObject +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationObjectType::0008-invalid +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationObjectType::0009-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointOneDriveOptions::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointOneDriveOptions::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointOneDriveOptions::|public|GetBackingStore():BackingStore @@ -176511,6 +182884,99 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.spaApplicationable::|public|Set github.com/microsoftgraph/msgraph-sdk-go/.models.spaApplicationable::|public|SetRedirectUris(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.spaApplicationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.spaApplication~~>SpaApplicationable +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|GetAssignmentId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|GetAverageWordsPerMinutePace():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|GetClassId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|GetFillerWordsOccurrencesCount():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|GetIncorrectCameraDistanceOccurrencesCount():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|GetLengthOfSubmissionInSeconds():*float64 +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|GetLostEyeContactOccurrencesCount():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|GetMonotoneOccurrencesCount():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|GetNonInclusiveLanguageOccurrencesCount():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|GetObstructedViewOccurrencesCount():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|GetRepetitiveLanguageOccurrencesCount():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|GetStudentId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|GetSubmissionDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|GetSubmissionId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|GetTopFillerWords():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|GetTopMispronouncedWords():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|GetTopNonInclusiveWordsAndPhrases():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|GetTopRepetitiveWordsAndPhrases():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|GetWordsSpokenCount():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|SetAssignmentId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|SetAverageWordsPerMinutePace(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|SetClassId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|SetFillerWordsOccurrencesCount(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|SetIncorrectCameraDistanceOccurrencesCount(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|SetLengthOfSubmissionInSeconds(value:*float64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|SetLostEyeContactOccurrencesCount(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|SetMonotoneOccurrencesCount(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|SetNonInclusiveLanguageOccurrencesCount(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|SetObstructedViewOccurrencesCount(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|SetRepetitiveLanguageOccurrencesCount(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|SetStudentId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|SetSubmissionDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|SetSubmissionId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|SetTopFillerWords(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|SetTopMispronouncedWords(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|SetTopNonInclusiveWordsAndPhrases(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|SetTopRepetitiveWordsAndPhrases(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|public|SetWordsSpokenCount(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmission::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|GetAssignmentId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|GetAverageWordsPerMinutePace():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|GetClassId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|GetFillerWordsOccurrencesCount():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|GetIncorrectCameraDistanceOccurrencesCount():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|GetLengthOfSubmissionInSeconds():*float64 +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|GetLostEyeContactOccurrencesCount():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|GetMonotoneOccurrencesCount():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|GetNonInclusiveLanguageOccurrencesCount():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|GetObstructedViewOccurrencesCount():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|GetRepetitiveLanguageOccurrencesCount():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|GetStudentId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|GetSubmissionDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|GetSubmissionId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|GetTopFillerWords():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|GetTopMispronouncedWords():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|GetTopNonInclusiveWordsAndPhrases():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|GetTopRepetitiveWordsAndPhrases():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|GetWordsSpokenCount():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|SetAssignmentId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|SetAverageWordsPerMinutePace(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|SetClassId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|SetFillerWordsOccurrencesCount(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|SetIncorrectCameraDistanceOccurrencesCount(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|SetLengthOfSubmissionInSeconds(value:*float64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|SetLostEyeContactOccurrencesCount(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|SetMonotoneOccurrencesCount(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|SetNonInclusiveLanguageOccurrencesCount(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|SetObstructedViewOccurrencesCount(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|SetRepetitiveLanguageOccurrencesCount(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|SetStudentId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|SetSubmissionDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|SetSubmissionId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|SetTopFillerWords(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|SetTopMispronouncedWords(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|SetTopNonInclusiveWordsAndPhrases(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|SetTopRepetitiveWordsAndPhrases(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable::|public|SetWordsSpokenCount(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionCollectionResponse::|public|GetValue():[]SpeakerAssignmentSubmissionable +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionCollectionResponse::|public|SetValue(value:[]SpeakerAssignmentSubmissionable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionCollectionResponseable::|public|GetValue():[]SpeakerAssignmentSubmissionable +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionCollectionResponseable::|public|SetValue(value:[]SpeakerAssignmentSubmissionable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.speakerAssignmentSubmissionCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.specialFolder::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.specialFolder::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.specialFolder::|public|GetBackingStore():BackingStore @@ -178029,6 +184495,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.tabUpdatedEventMessageDetailabl github.com/microsoftgraph/msgraph-sdk-go/.models.tabUpdatedEventMessageDetailable::|public|SetInitiator(value:IdentitySetable):void github.com/microsoftgraph/msgraph-sdk-go/.models.tabUpdatedEventMessageDetailable::|public|SetTabId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.tabUpdatedEventMessageDetailable~~>EventMessageDetailable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.targetAgentIdentitySponsorsOrOwners-->*SubjectSet +github.com/microsoftgraph/msgraph-sdk-go/.models.targetAgentIdentitySponsorsOrOwners::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.targetAgentIdentitySponsorsOrOwners::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.targetAgentIdentitySponsorsOrOwners::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.targetAgentIdentitySponsorsOrOwners::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.targetAgentIdentitySponsorsOrOwners::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.targetAgentIdentitySponsorsOrOwnersable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; SubjectSetable github.com/microsoftgraph/msgraph-sdk-go/.models.targetApplicationOwners-->*SubjectSet github.com/microsoftgraph/msgraph-sdk-go/.models.targetApplicationOwners::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.targetApplicationOwners::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -178614,6 +185087,227 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.teamRenamedEventMessageDetailab github.com/microsoftgraph/msgraph-sdk-go/.models.teamRenamedEventMessageDetailable::|public|SetTeamDisplayName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.teamRenamedEventMessageDetailable::|public|SetTeamId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.teamRenamedEventMessageDetailable~~>EventMessageDetailable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.accountType::0000-user +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.accountType::0001-resourceAccount +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.accountType::0002-guest +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.accountType::0003-sfbOnPremUser +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.accountType::0004-unknown +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.accountType::0005-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.accountType::0006-ineligibleUser +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignedTelephoneNumber::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignedTelephoneNumber::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignedTelephoneNumber::|public|GetAssignmentCategory():*AssignmentCategory +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignedTelephoneNumber::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignedTelephoneNumber::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignedTelephoneNumber::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignedTelephoneNumber::|public|GetTelephoneNumber():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignedTelephoneNumber::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignedTelephoneNumber::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignedTelephoneNumber::|public|SetAssignmentCategory(value:*AssignmentCategory):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignedTelephoneNumber::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignedTelephoneNumber::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignedTelephoneNumber::|public|SetTelephoneNumber(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignedTelephoneNumber::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignedTelephoneNumberable::|public|GetAssignmentCategory():*AssignmentCategory +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignedTelephoneNumberable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignedTelephoneNumberable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignedTelephoneNumberable::|public|GetTelephoneNumber():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignedTelephoneNumberable::|public|SetAssignmentCategory(value:*AssignmentCategory):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignedTelephoneNumberable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignedTelephoneNumberable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignedTelephoneNumberable::|public|SetTelephoneNumber(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignedTelephoneNumberable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignedTelephoneNumber~~>AssignedTelephoneNumberable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignmentCategory::0000-primary +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignmentCategory::0001-private +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignmentCategory::0002-alternate +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignmentCategory::0003-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignmentType::0000-direct +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignmentType::0001-group +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignmentType::0002-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePolicyAssignment::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePolicyAssignment::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePolicyAssignment::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePolicyAssignment::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePolicyAssignment::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePolicyAssignment::|public|GetPolicyAssignment():PolicyAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePolicyAssignment::|public|GetPolicyType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePolicyAssignment::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePolicyAssignment::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePolicyAssignment::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePolicyAssignment::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePolicyAssignment::|public|SetPolicyAssignment(value:PolicyAssignmentable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePolicyAssignment::|public|SetPolicyType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePolicyAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePolicyAssignmentable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePolicyAssignmentable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePolicyAssignmentable::|public|GetPolicyAssignment():PolicyAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePolicyAssignmentable::|public|GetPolicyType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePolicyAssignmentable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePolicyAssignmentable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePolicyAssignmentable::|public|SetPolicyAssignment(value:PolicyAssignmentable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePolicyAssignmentable::|public|SetPolicyType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePolicyAssignmentable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePolicyAssignment~~>EffectivePolicyAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignment::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignment::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignment::|public|GetAssignmentType():*AssignmentType +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignment::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignment::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignment::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignment::|public|GetGroupId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignment::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignment::|public|GetPolicyId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignment::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignment::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignment::|public|SetAssignmentType(value:*AssignmentType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignment::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignment::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignment::|public|SetGroupId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignment::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignment::|public|SetPolicyId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignmentable::|public|GetAssignmentType():*AssignmentType +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignmentable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignmentable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignmentable::|public|GetGroupId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignmentable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignmentable::|public|GetPolicyId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignmentable::|public|SetAssignmentType(value:*AssignmentType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignmentable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignmentable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignmentable::|public|SetGroupId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignmentable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignmentable::|public|SetPolicyId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignmentable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignment~~>PolicyAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyIdentifierDetail-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyIdentifierDetail::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyIdentifierDetail::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyIdentifierDetail::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyIdentifierDetail::|public|GetPolicyId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyIdentifierDetail::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyIdentifierDetail::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyIdentifierDetail::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyIdentifierDetail::|public|SetPolicyId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyIdentifierDetail::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyIdentifierDetailable::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyIdentifierDetailable::|public|GetPolicyId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyIdentifierDetailable::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyIdentifierDetailable::|public|SetPolicyId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyIdentifierDetailable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRoot-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRoot::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRoot::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRoot::|public|GetPolicy():TeamsPolicyAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRoot::|public|GetUserConfigurations():[]TeamsUserConfigurationable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRoot::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRoot::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRoot::|public|SetPolicy(value:TeamsPolicyAssignmentable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRoot::|public|SetUserConfigurations(value:[]TeamsUserConfigurationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRoot::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRootable::|public|GetPolicy():TeamsPolicyAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRootable::|public|GetUserConfigurations():[]TeamsUserConfigurationable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRootable::|public|SetPolicy(value:TeamsPolicyAssignmentable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRootable::|public|SetUserConfigurations(value:[]TeamsUserConfigurationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRootable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyAssignment-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyAssignment::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyAssignment::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyAssignment::|public|GetUserAssignments():[]TeamsPolicyUserAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyAssignment::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyAssignment::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyAssignment::|public|SetUserAssignments(value:[]TeamsPolicyUserAssignmentable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyAssignmentable::|public|GetUserAssignments():[]TeamsPolicyUserAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyAssignmentable::|public|SetUserAssignments(value:[]TeamsPolicyUserAssignmentable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyAssignmentable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyUserAssignment-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyUserAssignment::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyUserAssignment::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyUserAssignment::|public|GetPolicyId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyUserAssignment::|public|GetPolicyType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyUserAssignment::|public|GetUserId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyUserAssignment::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyUserAssignment::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyUserAssignment::|public|SetPolicyId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyUserAssignment::|public|SetPolicyType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyUserAssignment::|public|SetUserId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyUserAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyUserAssignmentable::|public|GetPolicyId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyUserAssignmentable::|public|GetPolicyType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyUserAssignmentable::|public|GetUserId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyUserAssignmentable::|public|SetPolicyId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyUserAssignmentable::|public|SetPolicyType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyUserAssignmentable::|public|SetUserId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyUserAssignmentable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyUserAssignmentCollectionResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyUserAssignmentCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyUserAssignmentCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyUserAssignmentCollectionResponse::|public|GetValue():[]TeamsPolicyUserAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyUserAssignmentCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyUserAssignmentCollectionResponse::|public|SetValue(value:[]TeamsPolicyUserAssignmentable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyUserAssignmentCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyUserAssignmentCollectionResponseable::|public|GetValue():[]TeamsPolicyUserAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyUserAssignmentCollectionResponseable::|public|SetValue(value:[]TeamsPolicyUserAssignmentable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyUserAssignmentCollectionResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfiguration-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfiguration::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfiguration::|public|GetAccountType():*AccountType +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfiguration::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfiguration::|public|GetEffectivePolicyAssignments():[]EffectivePolicyAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfiguration::|public|GetFeatureTypes():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfiguration::|public|GetIsEnterpriseVoiceEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfiguration::|public|GetModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfiguration::|public|GetTelephoneNumbers():[]AssignedTelephoneNumberable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfiguration::|public|GetTenantId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfiguration::|public|GetUser():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfiguration::|public|GetUserPrincipalName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfiguration::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfiguration::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfiguration::|public|SetAccountType(value:*AccountType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfiguration::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfiguration::|public|SetEffectivePolicyAssignments(value:[]EffectivePolicyAssignmentable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfiguration::|public|SetFeatureTypes(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfiguration::|public|SetIsEnterpriseVoiceEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfiguration::|public|SetModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfiguration::|public|SetTelephoneNumbers(value:[]AssignedTelephoneNumberable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfiguration::|public|SetTenantId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfiguration::|public|SetUser(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfiguration::|public|SetUserPrincipalName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationable::|public|GetAccountType():*AccountType +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationable::|public|GetEffectivePolicyAssignments():[]EffectivePolicyAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationable::|public|GetFeatureTypes():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationable::|public|GetIsEnterpriseVoiceEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationable::|public|GetModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationable::|public|GetTelephoneNumbers():[]AssignedTelephoneNumberable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationable::|public|GetTenantId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationable::|public|GetUser():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationable::|public|GetUserPrincipalName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationable::|public|SetAccountType(value:*AccountType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationable::|public|SetEffectivePolicyAssignments(value:[]EffectivePolicyAssignmentable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationable::|public|SetFeatureTypes(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationable::|public|SetIsEnterpriseVoiceEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationable::|public|SetModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationable::|public|SetTelephoneNumbers(value:[]AssignedTelephoneNumberable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationable::|public|SetTenantId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationable::|public|SetUser(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationable::|public|SetUserPrincipalName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationCollectionResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationCollectionResponse::|public|GetValue():[]TeamsUserConfigurationable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationCollectionResponse::|public|SetValue(value:[]TeamsUserConfigurationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationCollectionResponseable::|public|GetValue():[]TeamsUserConfigurationable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationCollectionResponseable::|public|SetValue(value:[]TeamsUserConfigurationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationCollectionResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.teamsApp-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.teamsApp::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.teamsApp::|public|GetAppDefinitions():[]TeamsAppDefinitionable @@ -179359,43 +186053,6 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.teamworkUserIdentityType::0005- github.com/microsoftgraph/msgraph-sdk-go/.models.teamworkUserIdentityType::0006-phoneUser github.com/microsoftgraph/msgraph-sdk-go/.models.teamworkUserIdentityType::0007-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.teamworkUserIdentityType::0008-emailUser -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartner-->*Entity -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartner::|public|constructor():void -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartner::|public|GetAppAuthorized():*bool -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartner::|public|GetDisplayName():*string -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartner::|public|GetEnabled():*bool -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartner::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartner::|public|GetLastConnectionDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartner::|public|GetUrl():*string -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartner::|public|OdataType:*string -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartner::|public|Serialize(writer:SerializationWriter):void -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartner::|public|SetAppAuthorized(value:*bool):void -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartner::|public|SetDisplayName(value:*string):void -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartner::|public|SetEnabled(value:*bool):void -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartner::|public|SetLastConnectionDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartner::|public|SetUrl(value:*string):void -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartner::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartnerable::|public|GetAppAuthorized():*bool -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartnerable::|public|GetDisplayName():*string -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartnerable::|public|GetEnabled():*bool -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartnerable::|public|GetLastConnectionDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartnerable::|public|GetUrl():*string -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartnerable::|public|SetAppAuthorized(value:*bool):void -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartnerable::|public|SetDisplayName(value:*string):void -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartnerable::|public|SetEnabled(value:*bool):void -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartnerable::|public|SetLastConnectionDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartnerable::|public|SetUrl(value:*string):void -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartnerable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartnerCollectionResponse-->*BaseCollectionPaginationCountResponse -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartnerCollectionResponse::|public|constructor():void -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartnerCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartnerCollectionResponse::|public|GetValue():[]TelecomExpenseManagementPartnerable -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartnerCollectionResponse::|public|Serialize(writer:SerializationWriter):void -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartnerCollectionResponse::|public|SetValue(value:[]TelecomExpenseManagementPartnerable):void -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartnerCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartnerCollectionResponseable::|public|GetValue():[]TelecomExpenseManagementPartnerable -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartnerCollectionResponseable::|public|SetValue(value:[]TelecomExpenseManagementPartnerable):void -github.com/microsoftgraph/msgraph-sdk-go/.models.telecomExpenseManagementPartnerCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.teleconferenceDeviceAudioQuality-->*TeleconferenceDeviceMediaQuality github.com/microsoftgraph/msgraph-sdk-go/.models.teleconferenceDeviceAudioQuality::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.teleconferenceDeviceAudioQuality::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -179602,7 +186259,6 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.templateScenarios::0005-emergin github.com/microsoftgraph/msgraph-sdk-go/.models.templateScenarios::0006-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.temporaryAccessPassAuthenticationMethod-->*AuthenticationMethod github.com/microsoftgraph/msgraph-sdk-go/.models.temporaryAccessPassAuthenticationMethod::|public|constructor():void -github.com/microsoftgraph/msgraph-sdk-go/.models.temporaryAccessPassAuthenticationMethod::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.temporaryAccessPassAuthenticationMethod::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.temporaryAccessPassAuthenticationMethod::|public|GetIsUsable():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.temporaryAccessPassAuthenticationMethod::|public|GetIsUsableOnce():*bool @@ -179612,7 +186268,6 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.temporaryAccessPassAuthenticati github.com/microsoftgraph/msgraph-sdk-go/.models.temporaryAccessPassAuthenticationMethod::|public|GetTemporaryAccessPass():*string github.com/microsoftgraph/msgraph-sdk-go/.models.temporaryAccessPassAuthenticationMethod::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.temporaryAccessPassAuthenticationMethod::|public|Serialize(writer:SerializationWriter):void -github.com/microsoftgraph/msgraph-sdk-go/.models.temporaryAccessPassAuthenticationMethod::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.temporaryAccessPassAuthenticationMethod::|public|SetIsUsable(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.temporaryAccessPassAuthenticationMethod::|public|SetIsUsableOnce(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.temporaryAccessPassAuthenticationMethod::|public|SetLifetimeInMinutes(value:*int32):void @@ -179620,14 +186275,12 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.temporaryAccessPassAuthenticati github.com/microsoftgraph/msgraph-sdk-go/.models.temporaryAccessPassAuthenticationMethod::|public|SetStartDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.temporaryAccessPassAuthenticationMethod::|public|SetTemporaryAccessPass(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.temporaryAccessPassAuthenticationMethod::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable -github.com/microsoftgraph/msgraph-sdk-go/.models.temporaryAccessPassAuthenticationMethodable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.temporaryAccessPassAuthenticationMethodable::|public|GetIsUsable():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.temporaryAccessPassAuthenticationMethodable::|public|GetIsUsableOnce():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.temporaryAccessPassAuthenticationMethodable::|public|GetLifetimeInMinutes():*int32 github.com/microsoftgraph/msgraph-sdk-go/.models.temporaryAccessPassAuthenticationMethodable::|public|GetMethodUsabilityReason():*string github.com/microsoftgraph/msgraph-sdk-go/.models.temporaryAccessPassAuthenticationMethodable::|public|GetStartDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.temporaryAccessPassAuthenticationMethodable::|public|GetTemporaryAccessPass():*string -github.com/microsoftgraph/msgraph-sdk-go/.models.temporaryAccessPassAuthenticationMethodable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.temporaryAccessPassAuthenticationMethodable::|public|SetIsUsable(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.temporaryAccessPassAuthenticationMethodable::|public|SetIsUsableOnce(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.temporaryAccessPassAuthenticationMethodable::|public|SetLifetimeInMinutes(value:*int32):void @@ -180727,6 +187380,30 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffCollectionResponse::|sta github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffCollectionResponseable::|public|GetValue():[]TimeOffable github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffCollectionResponseable::|public|SetValue(value:[]TimeOffable):void github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffDetails::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffDetails::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffDetails::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffDetails::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffDetails::|public|GetIsAllDay():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffDetails::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffDetails::|public|GetSubject():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffDetails::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffDetails::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffDetails::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffDetails::|public|SetIsAllDay(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffDetails::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffDetails::|public|SetSubject(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffDetails::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffDetailsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffDetailsable::|public|GetIsAllDay():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffDetailsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffDetailsable::|public|GetSubject():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffDetailsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffDetailsable::|public|SetIsAllDay(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffDetailsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffDetailsable::|public|SetSubject(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffDetailsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffDetails~~>TimeOffDetailsable github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffItem-->*ScheduleEntity github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffItem::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.timeOffItem::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -181508,6 +188185,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.trendingCollectionResponse::|st github.com/microsoftgraph/msgraph-sdk-go/.models.trendingCollectionResponseable::|public|GetValue():[]Trendingable github.com/microsoftgraph/msgraph-sdk-go/.models.trendingCollectionResponseable::|public|SetValue(value:[]Trendingable):void github.com/microsoftgraph/msgraph-sdk-go/.models.trendingCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.unavailablePlaceMode-->*PlaceMode +github.com/microsoftgraph/msgraph-sdk-go/.models.unavailablePlaceMode::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.unavailablePlaceMode::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.unavailablePlaceMode::|public|GetReason():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.unavailablePlaceMode::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.unavailablePlaceMode::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.unavailablePlaceMode::|public|SetReason(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.unavailablePlaceMode::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.unavailablePlaceModeable::|public|GetReason():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.unavailablePlaceModeable::|public|SetReason(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.unavailablePlaceModeable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; PlaceModeable github.com/microsoftgraph/msgraph-sdk-go/.models.unifiedApprovalStage::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.unifiedApprovalStage::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.unifiedApprovalStage::|public|GetApprovalStageTimeOutInDays():*int32 @@ -182440,6 +189128,27 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.unifiedStorageQuotaable::|publi github.com/microsoftgraph/msgraph-sdk-go/.models.unifiedStorageQuotaable::|public|SetTotal(value:*int64):void github.com/microsoftgraph/msgraph-sdk-go/.models.unifiedStorageQuotaable::|public|SetUsed(value:*int64):void github.com/microsoftgraph/msgraph-sdk-go/.models.unifiedStorageQuotaable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMap-->*BaseMapFeature +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMap::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMap::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMap::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMap::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMap::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMap::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMap::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMapable::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMapable::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMapable~~>BaseMapFeatureable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMapCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMapCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMapCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMapCollectionResponse::|public|GetValue():[]UnitMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMapCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMapCollectionResponse::|public|SetValue(value:[]UnitMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMapCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMapCollectionResponseable::|public|GetValue():[]UnitMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMapCollectionResponseable::|public|SetValue(value:[]UnitMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMapCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.unmuteParticipantOperation-->*CommsOperation github.com/microsoftgraph/msgraph-sdk-go/.models.unmuteParticipantOperation::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.unmuteParticipantOperation::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -182649,7 +189358,8 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.usageRights::0016-userDefinedPr github.com/microsoftgraph/msgraph-sdk-go/.models.usageRights::0017-encryptedProtectionTypeNotSupportedException github.com/microsoftgraph/msgraph-sdk-go/.models.usageRights::0018-purviewClaimsChallengeNotSupportedException github.com/microsoftgraph/msgraph-sdk-go/.models.usageRights::0019-exception -github.com/microsoftgraph/msgraph-sdk-go/.models.usageRights::0020-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRights::0020-labelNotFoundException +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRights::0021-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.usageRightsIncluded-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.usageRightsIncluded::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.usageRightsIncluded::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -182707,6 +189417,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|constructor():voi github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetAboutMe():*string github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetAccountEnabled():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetActivities():[]UserActivityable +github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetAdhocCalls():[]AdhocCallable github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetAgeGroup():*string github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetAgreementAcceptances():[]AgreementAcceptanceable github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetAppRoleAssignments():[]AppRoleAssignmentable @@ -182723,6 +189434,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetCalendarView() github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetChats():[]Chatable github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetCity():*string github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetCloudClipboard():CloudClipboardRootable +github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetCloudPCs():[]CloudPCable github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetCompanyName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetConsentProvidedForMinor():*string github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetContactFolders():[]ContactFolderable @@ -182791,6 +189503,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetOnPremisesLast github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetOnPremisesProvisioningErrors():[]OnPremisesProvisioningErrorable github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetOnPremisesSamAccountName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetOnPremisesSecurityIdentifier():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetOnPremisesSyncBehavior():OnPremisesSyncBehaviorable github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetOnPremisesSyncEnabled():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetOnPremisesUserPrincipalName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetOtherMails():[]string @@ -182840,6 +189553,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|Serialize(writer: github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetAboutMe(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetAccountEnabled(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetActivities(value:[]UserActivityable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetAdhocCalls(value:[]AdhocCallable):void github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetAgeGroup(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetAgreementAcceptances(value:[]AgreementAcceptanceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetAppRoleAssignments(value:[]AppRoleAssignmentable):void @@ -182856,6 +189570,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetCalendarView(v github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetChats(value:[]Chatable):void github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetCity(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetCloudClipboard(value:CloudClipboardRootable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetCloudPCs(value:[]CloudPCable):void github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetCompanyName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetConsentProvidedForMinor(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetContactFolders(value:[]ContactFolderable):void @@ -182923,6 +189638,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetOnPremisesLast github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetOnPremisesProvisioningErrors(value:[]OnPremisesProvisioningErrorable):void github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetOnPremisesSamAccountName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetOnPremisesSecurityIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetOnPremisesSyncBehavior(value:OnPremisesSyncBehaviorable):void github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetOnPremisesSyncEnabled(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetOnPremisesUserPrincipalName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetOtherMails(value:[]string):void @@ -182971,6 +189687,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.user::|static|public|CreateFrom github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetAboutMe():*string github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetAccountEnabled():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetActivities():[]UserActivityable +github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetAdhocCalls():[]AdhocCallable github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetAgeGroup():*string github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetAgreementAcceptances():[]AgreementAcceptanceable github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetAppRoleAssignments():[]AppRoleAssignmentable @@ -182987,6 +189704,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetCalendarVi github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetChats():[]Chatable github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetCity():*string github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetCloudClipboard():CloudClipboardRootable +github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetCloudPCs():[]CloudPCable github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetCompanyName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetConsentProvidedForMinor():*string github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetContactFolders():[]ContactFolderable @@ -183054,6 +189772,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetOnPremises github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetOnPremisesProvisioningErrors():[]OnPremisesProvisioningErrorable github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetOnPremisesSamAccountName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetOnPremisesSecurityIdentifier():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetOnPremisesSyncBehavior():OnPremisesSyncBehaviorable github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetOnPremisesSyncEnabled():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetOnPremisesUserPrincipalName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetOtherMails():[]string @@ -183101,6 +189820,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetUserType() github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetAboutMe(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetAccountEnabled(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetActivities(value:[]UserActivityable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetAdhocCalls(value:[]AdhocCallable):void github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetAgeGroup(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetAgreementAcceptances(value:[]AgreementAcceptanceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetAppRoleAssignments(value:[]AppRoleAssignmentable):void @@ -183117,6 +189837,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetCalendarVi github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetChats(value:[]Chatable):void github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetCity(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetCloudClipboard(value:CloudClipboardRootable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetCloudPCs(value:[]CloudPCable):void github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetCompanyName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetConsentProvidedForMinor(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetContactFolders(value:[]ContactFolderable):void @@ -183184,6 +189905,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetOnPremises github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetOnPremisesProvisioningErrors(value:[]OnPremisesProvisioningErrorable):void github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetOnPremisesSamAccountName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetOnPremisesSecurityIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetOnPremisesSyncBehavior(value:OnPremisesSyncBehaviorable):void github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetOnPremisesSyncEnabled(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetOnPremisesUserPrincipalName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetOtherMails(value:[]string):void @@ -185361,6 +192083,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.userSettings::|public|GetItemIn github.com/microsoftgraph/msgraph-sdk-go/.models.userSettings::|public|GetShiftPreferences():ShiftPreferencesable github.com/microsoftgraph/msgraph-sdk-go/.models.userSettings::|public|GetStorage():UserStorageable github.com/microsoftgraph/msgraph-sdk-go/.models.userSettings::|public|GetWindows():[]WindowsSettingable +github.com/microsoftgraph/msgraph-sdk-go/.models.userSettings::|public|GetWorkHoursAndLocations():WorkHoursAndLocationsSettingable github.com/microsoftgraph/msgraph-sdk-go/.models.userSettings::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.userSettings::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.userSettings::|public|SetContributionToContentDiscoveryAsOrganizationDisabled(value:*bool):void @@ -185369,6 +192092,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.userSettings::|public|SetItemIn github.com/microsoftgraph/msgraph-sdk-go/.models.userSettings::|public|SetShiftPreferences(value:ShiftPreferencesable):void github.com/microsoftgraph/msgraph-sdk-go/.models.userSettings::|public|SetStorage(value:UserStorageable):void github.com/microsoftgraph/msgraph-sdk-go/.models.userSettings::|public|SetWindows(value:[]WindowsSettingable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.userSettings::|public|SetWorkHoursAndLocations(value:WorkHoursAndLocationsSettingable):void github.com/microsoftgraph/msgraph-sdk-go/.models.userSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.userSettingsable::|public|GetContributionToContentDiscoveryAsOrganizationDisabled():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.userSettingsable::|public|GetContributionToContentDiscoveryDisabled():*bool @@ -185376,12 +192100,14 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.userSettingsable::|public|GetIt github.com/microsoftgraph/msgraph-sdk-go/.models.userSettingsable::|public|GetShiftPreferences():ShiftPreferencesable github.com/microsoftgraph/msgraph-sdk-go/.models.userSettingsable::|public|GetStorage():UserStorageable github.com/microsoftgraph/msgraph-sdk-go/.models.userSettingsable::|public|GetWindows():[]WindowsSettingable +github.com/microsoftgraph/msgraph-sdk-go/.models.userSettingsable::|public|GetWorkHoursAndLocations():WorkHoursAndLocationsSettingable github.com/microsoftgraph/msgraph-sdk-go/.models.userSettingsable::|public|SetContributionToContentDiscoveryAsOrganizationDisabled(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.userSettingsable::|public|SetContributionToContentDiscoveryDisabled(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.userSettingsable::|public|SetItemInsights(value:UserInsightsSettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.userSettingsable::|public|SetShiftPreferences(value:ShiftPreferencesable):void github.com/microsoftgraph/msgraph-sdk-go/.models.userSettingsable::|public|SetStorage(value:UserStorageable):void github.com/microsoftgraph/msgraph-sdk-go/.models.userSettingsable::|public|SetWindows(value:[]WindowsSettingable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.userSettingsable::|public|SetWorkHoursAndLocations(value:WorkHoursAndLocationsSettingable):void github.com/microsoftgraph/msgraph-sdk-go/.models.userSettingsable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.userSignIn-->*SignInIdentity github.com/microsoftgraph/msgraph-sdk-go/.models.userSignIn::|public|constructor():void @@ -185660,6 +192386,34 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.userTrainingStatusInfo~~>UserTr github.com/microsoftgraph/msgraph-sdk-go/.models.userType::0000-member github.com/microsoftgraph/msgraph-sdk-go/.models.userType::0001-guest github.com/microsoftgraph/msgraph-sdk-go/.models.userType::0002-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocation::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocation::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocation::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocation::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocation::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocation::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocation::|public|GetSource():*WorkLocationSource +github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocation::|public|GetWorkLocationType():*WorkLocationType +github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocation::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocation::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocation::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocation::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocation::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocation::|public|SetSource(value:*WorkLocationSource):void +github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocation::|public|SetWorkLocationType(value:*WorkLocationType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocationable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocationable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocationable::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocationable::|public|GetSource():*WorkLocationSource +github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocationable::|public|GetWorkLocationType():*WorkLocationType +github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocationable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocationable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocationable::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocationable::|public|SetSource(value:*WorkLocationSource):void +github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocationable::|public|SetWorkLocationType(value:*WorkLocationType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.userWorkLocation~~>UserWorkLocationable github.com/microsoftgraph/msgraph-sdk-go/.models.verifiedDomain::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.verifiedDomain::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.verifiedDomain::|public|GetBackingStore():BackingStore @@ -185808,6 +192562,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpoint::|public|getFie github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpoint::|public|GetGalleryImages():[]CloudPcGalleryImageable github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpoint::|public|GetOnPremisesConnections():[]CloudPcOnPremisesConnectionable github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpoint::|public|GetProvisioningPolicies():[]CloudPcProvisioningPolicyable +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpoint::|public|GetReport():CloudPcReportable github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpoint::|public|GetUserSettings():[]CloudPcUserSettingable github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpoint::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpoint::|public|Serialize(writer:SerializationWriter):void @@ -185817,6 +192572,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpoint::|public|SetDev github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpoint::|public|SetGalleryImages(value:[]CloudPcGalleryImageable):void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpoint::|public|SetOnPremisesConnections(value:[]CloudPcOnPremisesConnectionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpoint::|public|SetProvisioningPolicies(value:[]CloudPcProvisioningPolicyable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpoint::|public|SetReport(value:CloudPcReportable):void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpoint::|public|SetUserSettings(value:[]CloudPcUserSettingable):void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpoint::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpointable::|public|GetAuditEvents():[]CloudPcAuditEventable @@ -185825,6 +192581,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpointable::|public|Ge github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpointable::|public|GetGalleryImages():[]CloudPcGalleryImageable github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpointable::|public|GetOnPremisesConnections():[]CloudPcOnPremisesConnectionable github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpointable::|public|GetProvisioningPolicies():[]CloudPcProvisioningPolicyable +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpointable::|public|GetReport():CloudPcReportable github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpointable::|public|GetUserSettings():[]CloudPcUserSettingable github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpointable::|public|SetAuditEvents(value:[]CloudPcAuditEventable):void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpointable::|public|SetCloudPCs(value:[]CloudPCable):void @@ -185832,6 +192589,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpointable::|public|Se github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpointable::|public|SetGalleryImages(value:[]CloudPcGalleryImageable):void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpointable::|public|SetOnPremisesConnections(value:[]CloudPcOnPremisesConnectionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpointable::|public|SetProvisioningPolicies(value:[]CloudPcProvisioningPolicyable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpointable::|public|SetReport(value:CloudPcReportable):void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpointable::|public|SetUserSettings(value:[]CloudPcUserSettingable):void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEndpointable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEvent-->*Entity @@ -186626,6 +193384,161 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationable::|public|Set github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationable::|public|SetRedirectUris(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationable::|public|SetRedirectUriSettings(value:[]RedirectUriSettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfiguration::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfiguration::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfiguration::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfiguration::|public|GetIsDomainVerified():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfiguration::|public|GetIsProxied():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfiguration::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfiguration::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfiguration::|public|GetRecordType():*WebApplicationFirewallDnsRecordType +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfiguration::|public|GetValue():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfiguration::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfiguration::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfiguration::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfiguration::|public|SetIsDomainVerified(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfiguration::|public|SetIsProxied(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfiguration::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfiguration::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfiguration::|public|SetRecordType(value:*WebApplicationFirewallDnsRecordType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfiguration::|public|SetValue(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfigurationable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfigurationable::|public|GetIsDomainVerified():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfigurationable::|public|GetIsProxied():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfigurationable::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfigurationable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfigurationable::|public|GetRecordType():*WebApplicationFirewallDnsRecordType +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfigurationable::|public|GetValue():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfigurationable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfigurationable::|public|SetIsDomainVerified(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfigurationable::|public|SetIsProxied(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfigurationable::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfigurationable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfigurationable::|public|SetRecordType(value:*WebApplicationFirewallDnsRecordType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfigurationable::|public|SetValue(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfigurationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsConfiguration~~>WebApplicationFirewallDnsConfigurationable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsRecordType::0000-cname +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallDnsRecordType::0001-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallProvider-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallProvider::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallProvider::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallProvider::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallProvider::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallProvider::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallProvider::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallProvider::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallProviderable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallProviderable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallProviderable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallProviderCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallProviderCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallProviderCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallProviderCollectionResponse::|public|GetValue():[]WebApplicationFirewallProviderable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallProviderCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallProviderCollectionResponse::|public|SetValue(value:[]WebApplicationFirewallProviderable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallProviderCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallProviderCollectionResponseable::|public|GetValue():[]WebApplicationFirewallProviderable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallProviderCollectionResponseable::|public|SetValue(value:[]WebApplicationFirewallProviderable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallProviderCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallProviderType::0000-akamai +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallProviderType::0001-cloudflare +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallProviderType::0002-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModel-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModel::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModel::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModel::|public|GetProvider():WebApplicationFirewallProviderable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModel::|public|GetProviderType():*WebApplicationFirewallProviderType +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModel::|public|GetVerificationResult():WebApplicationFirewallVerificationResultable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModel::|public|GetVerifiedDetails():WebApplicationFirewallVerifiedDetailsable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModel::|public|GetVerifiedHost():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModel::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModel::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModel::|public|SetProvider(value:WebApplicationFirewallProviderable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModel::|public|SetProviderType(value:*WebApplicationFirewallProviderType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModel::|public|SetVerificationResult(value:WebApplicationFirewallVerificationResultable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModel::|public|SetVerifiedDetails(value:WebApplicationFirewallVerifiedDetailsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModel::|public|SetVerifiedHost(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModel::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModelable::|public|GetProvider():WebApplicationFirewallProviderable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModelable::|public|GetProviderType():*WebApplicationFirewallProviderType +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModelable::|public|GetVerificationResult():WebApplicationFirewallVerificationResultable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModelable::|public|GetVerifiedDetails():WebApplicationFirewallVerifiedDetailsable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModelable::|public|GetVerifiedHost():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModelable::|public|SetProvider(value:WebApplicationFirewallProviderable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModelable::|public|SetProviderType(value:*WebApplicationFirewallProviderType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModelable::|public|SetVerificationResult(value:WebApplicationFirewallVerificationResultable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModelable::|public|SetVerifiedDetails(value:WebApplicationFirewallVerifiedDetailsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModelable::|public|SetVerifiedHost(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModelable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModelCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModelCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModelCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModelCollectionResponse::|public|GetValue():[]WebApplicationFirewallVerificationModelable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModelCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModelCollectionResponse::|public|SetValue(value:[]WebApplicationFirewallVerificationModelable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModelCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModelCollectionResponseable::|public|GetValue():[]WebApplicationFirewallVerificationModelable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModelCollectionResponseable::|public|SetValue(value:[]WebApplicationFirewallVerificationModelable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationModelCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResult::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResult::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResult::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResult::|public|GetErrors():[]GenericErrorable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResult::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResult::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResult::|public|GetStatus():*WebApplicationFirewallVerificationStatus +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResult::|public|GetVerifiedOnDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResult::|public|GetWarnings():[]GenericErrorable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResult::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResult::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResult::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResult::|public|SetErrors(value:[]GenericErrorable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResult::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResult::|public|SetStatus(value:*WebApplicationFirewallVerificationStatus):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResult::|public|SetVerifiedOnDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResult::|public|SetWarnings(value:[]GenericErrorable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResult::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResultable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResultable::|public|GetErrors():[]GenericErrorable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResultable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResultable::|public|GetStatus():*WebApplicationFirewallVerificationStatus +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResultable::|public|GetVerifiedOnDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResultable::|public|GetWarnings():[]GenericErrorable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResultable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResultable::|public|SetErrors(value:[]GenericErrorable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResultable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResultable::|public|SetStatus(value:*WebApplicationFirewallVerificationStatus):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResultable::|public|SetVerifiedOnDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResultable::|public|SetWarnings(value:[]GenericErrorable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResultable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationResult~~>WebApplicationFirewallVerificationResultable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationStatus::0000-success +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationStatus::0001-warning +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationStatus::0002-failure +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerificationStatus::0003-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerifiedDetails::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerifiedDetails::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerifiedDetails::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerifiedDetails::|public|GetDnsConfiguration():WebApplicationFirewallDnsConfigurationable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerifiedDetails::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerifiedDetails::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerifiedDetails::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerifiedDetails::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerifiedDetails::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerifiedDetails::|public|SetDnsConfiguration(value:WebApplicationFirewallDnsConfigurationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerifiedDetails::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerifiedDetails::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerifiedDetailsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerifiedDetailsable::|public|GetDnsConfiguration():WebApplicationFirewallDnsConfigurationable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerifiedDetailsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerifiedDetailsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerifiedDetailsable::|public|SetDnsConfiguration(value:WebApplicationFirewallDnsConfigurationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerifiedDetailsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerifiedDetailsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.webApplicationFirewallVerifiedDetails~~>WebApplicationFirewallVerifiedDetailsable github.com/microsoftgraph/msgraph-sdk-go/.models.webApplication~~>WebApplicationable github.com/microsoftgraph/msgraph-sdk-go/.models.webBrowserCookieSettings::0000-browserDefault github.com/microsoftgraph/msgraph-sdk-go/.models.webBrowserCookieSettings::0001-blockAlways @@ -188538,6 +195451,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.windows10TeamGeneralConfigurati github.com/microsoftgraph/msgraph-sdk-go/.models.windows10TeamGeneralConfigurationable::|public|SetWelcomeScreenBlockAutomaticWakeUp(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.windows10TeamGeneralConfigurationable::|public|SetWelcomeScreenMeetingInformation(value:*WelcomeScreenMeetingInformation):void github.com/microsoftgraph/msgraph-sdk-go/.models.windows10TeamGeneralConfigurationable~~>DeviceConfigurationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.windows365SwitchCompatibilityFailureReasonType::0000-osVersionNotSupported +github.com/microsoftgraph/msgraph-sdk-go/.models.windows365SwitchCompatibilityFailureReasonType::0001-hardwareNotSupported +github.com/microsoftgraph/msgraph-sdk-go/.models.windows365SwitchCompatibilityFailureReasonType::0002-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.windows81CompliancePolicy-->*DeviceCompliancePolicy github.com/microsoftgraph/msgraph-sdk-go/.models.windows81CompliancePolicy::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.windows81CompliancePolicy::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -189182,23 +196098,19 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.windowsFirewallNetworkProfileab github.com/microsoftgraph/msgraph-sdk-go/.models.windowsFirewallNetworkProfile~~>WindowsFirewallNetworkProfileable github.com/microsoftgraph/msgraph-sdk-go/.models.windowsHelloForBusinessAuthenticationMethod-->*AuthenticationMethod github.com/microsoftgraph/msgraph-sdk-go/.models.windowsHelloForBusinessAuthenticationMethod::|public|constructor():void -github.com/microsoftgraph/msgraph-sdk-go/.models.windowsHelloForBusinessAuthenticationMethod::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.windowsHelloForBusinessAuthenticationMethod::|public|GetDevice():Deviceable github.com/microsoftgraph/msgraph-sdk-go/.models.windowsHelloForBusinessAuthenticationMethod::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.windowsHelloForBusinessAuthenticationMethod::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.windowsHelloForBusinessAuthenticationMethod::|public|GetKeyStrength():*AuthenticationMethodKeyStrength github.com/microsoftgraph/msgraph-sdk-go/.models.windowsHelloForBusinessAuthenticationMethod::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.windowsHelloForBusinessAuthenticationMethod::|public|Serialize(writer:SerializationWriter):void -github.com/microsoftgraph/msgraph-sdk-go/.models.windowsHelloForBusinessAuthenticationMethod::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.windowsHelloForBusinessAuthenticationMethod::|public|SetDevice(value:Deviceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.windowsHelloForBusinessAuthenticationMethod::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.windowsHelloForBusinessAuthenticationMethod::|public|SetKeyStrength(value:*AuthenticationMethodKeyStrength):void github.com/microsoftgraph/msgraph-sdk-go/.models.windowsHelloForBusinessAuthenticationMethod::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable -github.com/microsoftgraph/msgraph-sdk-go/.models.windowsHelloForBusinessAuthenticationMethodable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.windowsHelloForBusinessAuthenticationMethodable::|public|GetDevice():Deviceable github.com/microsoftgraph/msgraph-sdk-go/.models.windowsHelloForBusinessAuthenticationMethodable::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.windowsHelloForBusinessAuthenticationMethodable::|public|GetKeyStrength():*AuthenticationMethodKeyStrength -github.com/microsoftgraph/msgraph-sdk-go/.models.windowsHelloForBusinessAuthenticationMethodable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.windowsHelloForBusinessAuthenticationMethodable::|public|SetDevice(value:Deviceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.windowsHelloForBusinessAuthenticationMethodable::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.windowsHelloForBusinessAuthenticationMethodable::|public|SetKeyStrength(value:*AuthenticationMethodKeyStrength):void @@ -192240,6 +199152,25 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegrationSupportedEn github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegrationSupportedEntities::0009-timeOffReason github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegrationSupportedEntities::0010-timeOff github.com/microsoftgraph/msgraph-sdk-go/.models.workforceIntegrationSupportedEntities::0011-timeOffRequest +github.com/microsoftgraph/msgraph-sdk-go/.models.workHoursAndLocationsSetting-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.workHoursAndLocationsSetting::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.workHoursAndLocationsSetting::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.workHoursAndLocationsSetting::|public|GetMaxSharedWorkLocationDetails():*MaxWorkLocationDetails +github.com/microsoftgraph/msgraph-sdk-go/.models.workHoursAndLocationsSetting::|public|GetOccurrences():[]WorkPlanOccurrenceable +github.com/microsoftgraph/msgraph-sdk-go/.models.workHoursAndLocationsSetting::|public|GetRecurrences():[]WorkPlanRecurrenceable +github.com/microsoftgraph/msgraph-sdk-go/.models.workHoursAndLocationsSetting::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.workHoursAndLocationsSetting::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workHoursAndLocationsSetting::|public|SetMaxSharedWorkLocationDetails(value:*MaxWorkLocationDetails):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workHoursAndLocationsSetting::|public|SetOccurrences(value:[]WorkPlanOccurrenceable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workHoursAndLocationsSetting::|public|SetRecurrences(value:[]WorkPlanRecurrenceable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workHoursAndLocationsSetting::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.workHoursAndLocationsSettingable::|public|GetMaxSharedWorkLocationDetails():*MaxWorkLocationDetails +github.com/microsoftgraph/msgraph-sdk-go/.models.workHoursAndLocationsSettingable::|public|GetOccurrences():[]WorkPlanOccurrenceable +github.com/microsoftgraph/msgraph-sdk-go/.models.workHoursAndLocationsSettingable::|public|GetRecurrences():[]WorkPlanRecurrenceable +github.com/microsoftgraph/msgraph-sdk-go/.models.workHoursAndLocationsSettingable::|public|SetMaxSharedWorkLocationDetails(value:*MaxWorkLocationDetails):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workHoursAndLocationsSettingable::|public|SetOccurrences(value:[]WorkPlanOccurrenceable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workHoursAndLocationsSettingable::|public|SetRecurrences(value:[]WorkPlanRecurrenceable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workHoursAndLocationsSettingable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.workingHours::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.workingHours::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.workingHours::|public|GetBackingStore():BackingStore @@ -192279,6 +199210,138 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.workingTimeSchedule::|public|Od github.com/microsoftgraph/msgraph-sdk-go/.models.workingTimeSchedule::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.workingTimeSchedule::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.workingTimeScheduleable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.workLocationSource::0000-none +github.com/microsoftgraph/msgraph-sdk-go/.models.workLocationSource::0001-manual +github.com/microsoftgraph/msgraph-sdk-go/.models.workLocationSource::0002-scheduled +github.com/microsoftgraph/msgraph-sdk-go/.models.workLocationSource::0003-automatic +github.com/microsoftgraph/msgraph-sdk-go/.models.workLocationSource::0004-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.workLocationType::0000-unspecified +github.com/microsoftgraph/msgraph-sdk-go/.models.workLocationType::0001-office +github.com/microsoftgraph/msgraph-sdk-go/.models.workLocationType::0002-remote +github.com/microsoftgraph/msgraph-sdk-go/.models.workLocationType::0003-timeOff +github.com/microsoftgraph/msgraph-sdk-go/.models.workLocationType::0004-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.workLocationUpdateScope::0000-currentSegment +github.com/microsoftgraph/msgraph-sdk-go/.models.workLocationUpdateScope::0001-currentDay +github.com/microsoftgraph/msgraph-sdk-go/.models.workLocationUpdateScope::0002-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrence-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrence::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrence::|public|GetEnd():DateTimeTimeZoneable +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrence::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrence::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrence::|public|GetRecurrenceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrence::|public|GetStart():DateTimeTimeZoneable +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrence::|public|GetTimeOffDetails():TimeOffDetailsable +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrence::|public|GetWorkLocationType():*WorkLocationType +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrence::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrence::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrence::|public|SetEnd(value:DateTimeTimeZoneable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrence::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrence::|public|SetRecurrenceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrence::|public|SetStart(value:DateTimeTimeZoneable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrence::|public|SetTimeOffDetails(value:TimeOffDetailsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrence::|public|SetWorkLocationType(value:*WorkLocationType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrence::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrenceable::|public|GetEnd():DateTimeTimeZoneable +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrenceable::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrenceable::|public|GetRecurrenceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrenceable::|public|GetStart():DateTimeTimeZoneable +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrenceable::|public|GetTimeOffDetails():TimeOffDetailsable +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrenceable::|public|GetWorkLocationType():*WorkLocationType +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrenceable::|public|SetEnd(value:DateTimeTimeZoneable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrenceable::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrenceable::|public|SetRecurrenceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrenceable::|public|SetStart(value:DateTimeTimeZoneable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrenceable::|public|SetTimeOffDetails(value:TimeOffDetailsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrenceable::|public|SetWorkLocationType(value:*WorkLocationType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrenceable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrenceCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrenceCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrenceCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrenceCollectionResponse::|public|GetValue():[]WorkPlanOccurrenceable +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrenceCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrenceCollectionResponse::|public|SetValue(value:[]WorkPlanOccurrenceable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrenceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrenceCollectionResponseable::|public|GetValue():[]WorkPlanOccurrenceable +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrenceCollectionResponseable::|public|SetValue(value:[]WorkPlanOccurrenceable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanOccurrenceCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrence-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrence::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrence::|public|GetEnd():DateTimeTimeZoneable +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrence::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrence::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrence::|public|GetRecurrence():PatternedRecurrenceable +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrence::|public|GetStart():DateTimeTimeZoneable +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrence::|public|GetWorkLocationType():*WorkLocationType +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrence::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrence::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrence::|public|SetEnd(value:DateTimeTimeZoneable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrence::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrence::|public|SetRecurrence(value:PatternedRecurrenceable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrence::|public|SetStart(value:DateTimeTimeZoneable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrence::|public|SetWorkLocationType(value:*WorkLocationType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrence::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrenceable::|public|GetEnd():DateTimeTimeZoneable +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrenceable::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrenceable::|public|GetRecurrence():PatternedRecurrenceable +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrenceable::|public|GetStart():DateTimeTimeZoneable +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrenceable::|public|GetWorkLocationType():*WorkLocationType +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrenceable::|public|SetEnd(value:DateTimeTimeZoneable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrenceable::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrenceable::|public|SetRecurrence(value:PatternedRecurrenceable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrenceable::|public|SetStart(value:DateTimeTimeZoneable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrenceable::|public|SetWorkLocationType(value:*WorkLocationType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrenceable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrenceCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrenceCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrenceCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrenceCollectionResponse::|public|GetValue():[]WorkPlanRecurrenceable +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrenceCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrenceCollectionResponse::|public|SetValue(value:[]WorkPlanRecurrenceable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrenceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrenceCollectionResponseable::|public|GetValue():[]WorkPlanRecurrenceable +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrenceCollectionResponseable::|public|SetValue(value:[]WorkPlanRecurrenceable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workPlanRecurrenceCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace-->*Place +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|public|GetCapacity():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|public|GetDisplayDeviceName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|public|GetEmailAddress():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|public|GetMode():PlaceModeable +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|public|GetNickname():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|public|SetCapacity(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|public|SetDisplayDeviceName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|public|SetEmailAddress(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|public|SetMode(value:PlaceModeable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|public|SetNickname(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceable::|public|GetCapacity():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceable::|public|GetDisplayDeviceName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceable::|public|GetEmailAddress():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceable::|public|GetMode():PlaceModeable +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceable::|public|GetNickname():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceable::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceable::|public|SetCapacity(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceable::|public|SetDisplayDeviceName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceable::|public|SetEmailAddress(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceable::|public|SetMode(value:PlaceModeable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceable::|public|SetNickname(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceable::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; Placeable +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceCollectionResponse::|public|GetValue():[]Workspaceable +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceCollectionResponse::|public|SetValue(value:[]Workspaceable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceCollectionResponseable::|public|GetValue():[]Workspaceable +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceCollectionResponseable::|public|SetValue(value:[]Workspaceable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAffinityLevel::0000-low github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAffinityLevel::0001-high github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAffinityLevel::0002-unknownFutureValue @@ -193896,6 +200959,111 @@ github.com/microsoftgraph/msgraph-sdk-go/.places.CountRequestBuilder::|public|re github.com/microsoftgraph/msgraph-sdk-go/.places.CountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CountRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.places.CountRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.places.CountRequestBuilder::|public|WithUrl(rawUrl:string):*CountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingCountRequestBuilder.GraphBuildingCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingCountRequestBuilder.GraphBuildingCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingCountRequestBuilder.GraphBuildingCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingCountRequestBuilder.GraphBuildingCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingCountRequestBuilder.GraphBuildingCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*GraphBuildingCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*GraphBuildingCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*GraphBuildingCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingCountRequestBuilder::|public|WithUrl(rawUrl:string):*GraphBuildingCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder.GraphBuildingRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder.GraphBuildingRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder.GraphBuildingRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder.GraphBuildingRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder.GraphBuildingRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder.GraphBuildingRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder.GraphBuildingRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder.GraphBuildingRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder.GraphBuildingRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder.GraphBuildingRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder.GraphBuildingRequestBuilderGetRequestConfiguration::|public|queryParameters:*GraphBuildingRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder::|public|Count():*GraphBuildingCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*GraphBuildingRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BuildingCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*GraphBuildingRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder::|public|WithUrl(rawUrl:string):*GraphBuildingRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskCountRequestBuilder.GraphDeskCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskCountRequestBuilder.GraphDeskCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskCountRequestBuilder.GraphDeskCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskCountRequestBuilder.GraphDeskCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskCountRequestBuilder.GraphDeskCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*GraphDeskCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*GraphDeskCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*GraphDeskCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskCountRequestBuilder::|public|WithUrl(rawUrl:string):*GraphDeskCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder.GraphDeskRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder.GraphDeskRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder.GraphDeskRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder.GraphDeskRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder.GraphDeskRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder.GraphDeskRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder.GraphDeskRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder.GraphDeskRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder.GraphDeskRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder.GraphDeskRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder.GraphDeskRequestBuilderGetRequestConfiguration::|public|queryParameters:*GraphDeskRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder::|public|Count():*GraphDeskCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*GraphDeskRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeskCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*GraphDeskRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder::|public|WithUrl(rawUrl:string):*GraphDeskRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorCountRequestBuilder.GraphFloorCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorCountRequestBuilder.GraphFloorCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorCountRequestBuilder.GraphFloorCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorCountRequestBuilder.GraphFloorCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorCountRequestBuilder.GraphFloorCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*GraphFloorCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*GraphFloorCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*GraphFloorCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorCountRequestBuilder::|public|WithUrl(rawUrl:string):*GraphFloorCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder.GraphFloorRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder.GraphFloorRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder.GraphFloorRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder.GraphFloorRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder.GraphFloorRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder.GraphFloorRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder.GraphFloorRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder.GraphFloorRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder.GraphFloorRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder.GraphFloorRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder.GraphFloorRequestBuilderGetRequestConfiguration::|public|queryParameters:*GraphFloorRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder::|public|Count():*GraphFloorCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*GraphFloorRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FloorCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*GraphFloorRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder::|public|WithUrl(rawUrl:string):*GraphFloorRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.GraphRoomCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.GraphRoomCountRequestBuilder.GraphRoomCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.places.GraphRoomCountRequestBuilder.GraphRoomCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -193966,12 +201134,873 @@ github.com/microsoftgraph/msgraph-sdk-go/.places.GraphRoomRequestBuilder::|publi github.com/microsoftgraph/msgraph-sdk-go/.places.GraphRoomRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*GraphRoomRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.places.GraphRoomRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.places.GraphRoomRequestBuilder::|public|WithUrl(rawUrl:string):*GraphRoomRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionCountRequestBuilder.GraphSectionCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionCountRequestBuilder.GraphSectionCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionCountRequestBuilder.GraphSectionCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionCountRequestBuilder.GraphSectionCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionCountRequestBuilder.GraphSectionCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*GraphSectionCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*GraphSectionCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*GraphSectionCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionCountRequestBuilder::|public|WithUrl(rawUrl:string):*GraphSectionCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder.GraphSectionRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder.GraphSectionRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder.GraphSectionRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder.GraphSectionRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder.GraphSectionRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder.GraphSectionRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder.GraphSectionRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder.GraphSectionRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder.GraphSectionRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder.GraphSectionRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder.GraphSectionRequestBuilderGetRequestConfiguration::|public|queryParameters:*GraphSectionRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder::|public|Count():*GraphSectionCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*GraphSectionRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*GraphSectionRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder::|public|WithUrl(rawUrl:string):*GraphSectionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceCountRequestBuilder.GraphWorkspaceCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceCountRequestBuilder.GraphWorkspaceCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceCountRequestBuilder.GraphWorkspaceCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceCountRequestBuilder.GraphWorkspaceCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceCountRequestBuilder.GraphWorkspaceCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*GraphWorkspaceCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*GraphWorkspaceCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*GraphWorkspaceCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceCountRequestBuilder::|public|WithUrl(rawUrl:string):*GraphWorkspaceCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder.GraphWorkspaceRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder.GraphWorkspaceRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder.GraphWorkspaceRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder.GraphWorkspaceRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder.GraphWorkspaceRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder.GraphWorkspaceRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder.GraphWorkspaceRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder.GraphWorkspaceRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder.GraphWorkspaceRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder.GraphWorkspaceRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder.GraphWorkspaceRequestBuilderGetRequestConfiguration::|public|queryParameters:*GraphWorkspaceRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder::|public|Count():*GraphWorkspaceCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*GraphWorkspaceRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkspaceCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*GraphWorkspaceRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder::|public|WithUrl(rawUrl:string):*GraphWorkspaceRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCountRequestBuilder.ItemCheckInsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCountRequestBuilder.ItemCheckInsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCountRequestBuilder.ItemCheckInsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCountRequestBuilder.ItemCheckInsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCountRequestBuilder.ItemCheckInsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemCheckInsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemCheckInsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemCheckInsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsRequestBuilder.ItemCheckInsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsRequestBuilder.ItemCheckInsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsRequestBuilder.ItemCheckInsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsRequestBuilder.ItemCheckInsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsRequestBuilder.ItemCheckInsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsRequestBuilder.ItemCheckInsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsRequestBuilder.ItemCheckInsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsRequestBuilder.ItemCheckInsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsRequestBuilder.ItemCheckInsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsRequestBuilder.ItemCheckInsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsRequestBuilder.ItemCheckInsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemCheckInsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsRequestBuilder.ItemCheckInsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsRequestBuilder.ItemCheckInsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsRequestBuilder::|public|ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId:string):*ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsRequestBuilder::|public|Count():*ItemCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemCheckInsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemCheckInsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemCheckInsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemCheckInsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemCheckInsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsGetResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsGetResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsGetResponse::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsGetResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsGetResponse::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsGetResponseable::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsGetResponseable::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsGetResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder.ItemDescendantsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder.ItemDescendantsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder.ItemDescendantsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder.ItemDescendantsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder.ItemDescendantsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder.ItemDescendantsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder.ItemDescendantsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder.ItemDescendantsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder.ItemDescendantsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder.ItemDescendantsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder.ItemDescendantsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemDescendantsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemDescendantsRequestBuilderGetRequestConfiguration):ItemDescendantsResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder::|public|GetAsDescendantsGetResponse(ctx:context.Context; requestConfiguration?:*ItemDescendantsRequestBuilderGetRequestConfiguration):ItemDescendantsGetResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemDescendantsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemDescendantsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsResponse-->*ItemDescendantsGetResponse +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsResponseable~~>ItemDescendantsGetResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCountRequestBuilder.ItemGraphBuildingCheckInsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCountRequestBuilder.ItemGraphBuildingCheckInsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCountRequestBuilder.ItemGraphBuildingCheckInsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCountRequestBuilder.ItemGraphBuildingCheckInsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCountRequestBuilder.ItemGraphBuildingCheckInsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingCheckInsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingCheckInsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingCheckInsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder.ItemGraphBuildingCheckInsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder.ItemGraphBuildingCheckInsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder.ItemGraphBuildingCheckInsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder.ItemGraphBuildingCheckInsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder.ItemGraphBuildingCheckInsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder.ItemGraphBuildingCheckInsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder.ItemGraphBuildingCheckInsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder.ItemGraphBuildingCheckInsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder.ItemGraphBuildingCheckInsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder.ItemGraphBuildingCheckInsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder.ItemGraphBuildingCheckInsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingCheckInsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder.ItemGraphBuildingCheckInsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder.ItemGraphBuildingCheckInsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder::|public|ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId:string):*ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder::|public|Count():*ItemGraphBuildingCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingCheckInsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingCheckInsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingCheckInsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingCheckInsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingCheckInsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsCountRequestBuilder.ItemGraphBuildingMapFootprintsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsCountRequestBuilder.ItemGraphBuildingMapFootprintsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsCountRequestBuilder.ItemGraphBuildingMapFootprintsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsCountRequestBuilder.ItemGraphBuildingMapFootprintsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsCountRequestBuilder.ItemGraphBuildingMapFootprintsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapFootprintsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapFootprintsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapFootprintsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapFootprintsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder.ItemGraphBuildingMapFootprintsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder.ItemGraphBuildingMapFootprintsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder.ItemGraphBuildingMapFootprintsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder.ItemGraphBuildingMapFootprintsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder.ItemGraphBuildingMapFootprintsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder.ItemGraphBuildingMapFootprintsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder.ItemGraphBuildingMapFootprintsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder.ItemGraphBuildingMapFootprintsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder.ItemGraphBuildingMapFootprintsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder.ItemGraphBuildingMapFootprintsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder.ItemGraphBuildingMapFootprintsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapFootprintsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder.ItemGraphBuildingMapFootprintsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder.ItemGraphBuildingMapFootprintsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder::|public|ByFootprintMapId(footprintMapId:string):*ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder::|public|Count():*ItemGraphBuildingMapFootprintsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapFootprintsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapFootprintsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapFootprintsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapFootprintsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapFootprintsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsCountRequestBuilder.ItemGraphBuildingMapLevelsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsCountRequestBuilder.ItemGraphBuildingMapLevelsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsCountRequestBuilder.ItemGraphBuildingMapLevelsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsCountRequestBuilder.ItemGraphBuildingMapLevelsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsCountRequestBuilder.ItemGraphBuildingMapLevelsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapLevelsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapLevelsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder::|public|ByFixtureMapId(fixtureMapId:string):*ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder::|public|Count():*ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemFixturesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemFixturesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapLevelsItemFixturesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder::|public|BySectionMapId(sectionMapId:string):*ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder::|public|Count():*ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemSectionsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemSectionsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapLevelsItemSectionsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder::|public|ByUnitMapId(unitMapId:string):*ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder::|public|Count():*ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemUnitsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemUnitsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapLevelsItemUnitsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder::|public|fixtures():*ItemGraphBuildingMapLevelsItemFixturesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder::|public|sections():*ItemGraphBuildingMapLevelsItemSectionsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder::|public|units():*ItemGraphBuildingMapLevelsItemUnitsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder.ItemGraphBuildingMapLevelsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder.ItemGraphBuildingMapLevelsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder.ItemGraphBuildingMapLevelsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder.ItemGraphBuildingMapLevelsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder.ItemGraphBuildingMapLevelsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder.ItemGraphBuildingMapLevelsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder.ItemGraphBuildingMapLevelsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder.ItemGraphBuildingMapLevelsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder.ItemGraphBuildingMapLevelsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder.ItemGraphBuildingMapLevelsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder.ItemGraphBuildingMapLevelsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapLevelsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder.ItemGraphBuildingMapLevelsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder.ItemGraphBuildingMapLevelsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder::|public|ByLevelMapId(levelMapId:string):*ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder::|public|Count():*ItemGraphBuildingMapLevelsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapLevelsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder.ItemGraphBuildingMapRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder.ItemGraphBuildingMapRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder.ItemGraphBuildingMapRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder.ItemGraphBuildingMapRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder.ItemGraphBuildingMapRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder.ItemGraphBuildingMapRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder.ItemGraphBuildingMapRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder.ItemGraphBuildingMapRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder.ItemGraphBuildingMapRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder::|public|footprints():*ItemGraphBuildingMapFootprintsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BuildingMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder::|public|levels():*ItemGraphBuildingMapLevelsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BuildingMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BuildingMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BuildingMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder.ItemGraphBuildingRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder.ItemGraphBuildingRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder.ItemGraphBuildingRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder.ItemGraphBuildingRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder.ItemGraphBuildingRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder::|public|checkIns():*ItemGraphBuildingCheckInsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Buildingable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder::|public|mapEscaped():*ItemGraphBuildingMapRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCountRequestBuilder.ItemGraphDeskCheckInsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCountRequestBuilder.ItemGraphDeskCheckInsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCountRequestBuilder.ItemGraphDeskCheckInsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCountRequestBuilder.ItemGraphDeskCheckInsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCountRequestBuilder.ItemGraphDeskCheckInsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphDeskCheckInsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphDeskCheckInsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphDeskCheckInsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphDeskCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder.ItemGraphDeskCheckInsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder.ItemGraphDeskCheckInsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder.ItemGraphDeskCheckInsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder.ItemGraphDeskCheckInsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder.ItemGraphDeskCheckInsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder.ItemGraphDeskCheckInsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder.ItemGraphDeskCheckInsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder.ItemGraphDeskCheckInsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder.ItemGraphDeskCheckInsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder.ItemGraphDeskCheckInsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder.ItemGraphDeskCheckInsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphDeskCheckInsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder.ItemGraphDeskCheckInsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder.ItemGraphDeskCheckInsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder::|public|ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId:string):*ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder::|public|Count():*ItemGraphDeskCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphDeskCheckInsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphDeskCheckInsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphDeskCheckInsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphDeskCheckInsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphDeskCheckInsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskRequestBuilder.ItemGraphDeskRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskRequestBuilder.ItemGraphDeskRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskRequestBuilder.ItemGraphDeskRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskRequestBuilder.ItemGraphDeskRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskRequestBuilder.ItemGraphDeskRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphDeskRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskRequestBuilder::|public|checkIns():*ItemGraphDeskCheckInsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphDeskRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Deskable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphDeskRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphDeskRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCountRequestBuilder.ItemGraphFloorCheckInsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCountRequestBuilder.ItemGraphFloorCheckInsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCountRequestBuilder.ItemGraphFloorCheckInsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCountRequestBuilder.ItemGraphFloorCheckInsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCountRequestBuilder.ItemGraphFloorCheckInsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphFloorCheckInsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphFloorCheckInsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphFloorCheckInsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphFloorCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder.ItemGraphFloorCheckInsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder.ItemGraphFloorCheckInsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder.ItemGraphFloorCheckInsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder.ItemGraphFloorCheckInsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder.ItemGraphFloorCheckInsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder.ItemGraphFloorCheckInsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder.ItemGraphFloorCheckInsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder.ItemGraphFloorCheckInsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder.ItemGraphFloorCheckInsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder.ItemGraphFloorCheckInsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder.ItemGraphFloorCheckInsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphFloorCheckInsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder.ItemGraphFloorCheckInsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder.ItemGraphFloorCheckInsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder::|public|ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId:string):*ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder::|public|Count():*ItemGraphFloorCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphFloorCheckInsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphFloorCheckInsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphFloorCheckInsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphFloorCheckInsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphFloorCheckInsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorRequestBuilder.ItemGraphFloorRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorRequestBuilder.ItemGraphFloorRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorRequestBuilder.ItemGraphFloorRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorRequestBuilder.ItemGraphFloorRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorRequestBuilder.ItemGraphFloorRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphFloorRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorRequestBuilder::|public|checkIns():*ItemGraphFloorCheckInsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphFloorRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Floorable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphFloorRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphFloorRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCountRequestBuilder.ItemGraphRoomCheckInsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCountRequestBuilder.ItemGraphRoomCheckInsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCountRequestBuilder.ItemGraphRoomCheckInsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCountRequestBuilder.ItemGraphRoomCheckInsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCountRequestBuilder.ItemGraphRoomCheckInsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphRoomCheckInsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphRoomCheckInsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomCheckInsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphRoomCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsRequestBuilder.ItemGraphRoomCheckInsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsRequestBuilder.ItemGraphRoomCheckInsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsRequestBuilder.ItemGraphRoomCheckInsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsRequestBuilder.ItemGraphRoomCheckInsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsRequestBuilder.ItemGraphRoomCheckInsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsRequestBuilder.ItemGraphRoomCheckInsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsRequestBuilder.ItemGraphRoomCheckInsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsRequestBuilder.ItemGraphRoomCheckInsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsRequestBuilder.ItemGraphRoomCheckInsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsRequestBuilder.ItemGraphRoomCheckInsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsRequestBuilder.ItemGraphRoomCheckInsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphRoomCheckInsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsRequestBuilder.ItemGraphRoomCheckInsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsRequestBuilder.ItemGraphRoomCheckInsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsRequestBuilder::|public|ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId:string):*ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsRequestBuilder::|public|Count():*ItemGraphRoomCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphRoomCheckInsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphRoomCheckInsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomCheckInsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphRoomCheckInsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphRoomCheckInsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCountRequestBuilder.ItemGraphRoomListCheckInsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCountRequestBuilder.ItemGraphRoomListCheckInsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCountRequestBuilder.ItemGraphRoomListCheckInsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCountRequestBuilder.ItemGraphRoomListCheckInsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCountRequestBuilder.ItemGraphRoomListCheckInsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphRoomListCheckInsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListCheckInsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListCheckInsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphRoomListCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsRequestBuilder.ItemGraphRoomListCheckInsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsRequestBuilder.ItemGraphRoomListCheckInsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsRequestBuilder.ItemGraphRoomListCheckInsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsRequestBuilder.ItemGraphRoomListCheckInsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsRequestBuilder.ItemGraphRoomListCheckInsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsRequestBuilder.ItemGraphRoomListCheckInsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsRequestBuilder.ItemGraphRoomListCheckInsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsRequestBuilder.ItemGraphRoomListCheckInsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsRequestBuilder.ItemGraphRoomListCheckInsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsRequestBuilder.ItemGraphRoomListCheckInsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsRequestBuilder.ItemGraphRoomListCheckInsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphRoomListCheckInsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsRequestBuilder.ItemGraphRoomListCheckInsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsRequestBuilder.ItemGraphRoomListCheckInsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsRequestBuilder::|public|ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId:string):*ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsRequestBuilder::|public|Count():*ItemGraphRoomListCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListCheckInsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphRoomListCheckInsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListCheckInsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphRoomListCheckInsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListCheckInsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphRoomListCheckInsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRequestBuilder.ItemGraphRoomListRequestBuilderGetQueryParameters::|public|Expand:[]string github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRequestBuilder.ItemGraphRoomListRequestBuilderGetQueryParameters::|public|Select:[]string github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRequestBuilder.ItemGraphRoomListRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRequestBuilder.ItemGraphRoomListRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRequestBuilder.ItemGraphRoomListRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphRoomListRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRequestBuilder::|public|checkIns():*ItemGraphRoomListCheckInsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoomListable @@ -193981,6 +202010,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphRoomListRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRequestBuilder::|public|workspaces():*ItemGraphRoomListWorkspacesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsCountRequestBuilder.ItemGraphRoomListRoomsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsCountRequestBuilder.ItemGraphRoomListRoomsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -193995,6 +202025,68 @@ github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsCountRequ github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListRoomsCountRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsCountRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphRoomListRoomsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCountRequestBuilder.ItemGraphRoomListRoomsItemCheckInsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCountRequestBuilder.ItemGraphRoomListRoomsItemCheckInsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCountRequestBuilder.ItemGraphRoomListRoomsItemCheckInsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCountRequestBuilder.ItemGraphRoomListRoomsItemCheckInsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCountRequestBuilder.ItemGraphRoomListRoomsItemCheckInsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphRoomListRoomsItemCheckInsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListRoomsItemCheckInsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListRoomsItemCheckInsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphRoomListRoomsItemCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsRequestBuilder.ItemGraphRoomListRoomsItemCheckInsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsRequestBuilder.ItemGraphRoomListRoomsItemCheckInsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsRequestBuilder.ItemGraphRoomListRoomsItemCheckInsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsRequestBuilder.ItemGraphRoomListRoomsItemCheckInsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsRequestBuilder.ItemGraphRoomListRoomsItemCheckInsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsRequestBuilder.ItemGraphRoomListRoomsItemCheckInsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsRequestBuilder.ItemGraphRoomListRoomsItemCheckInsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsRequestBuilder.ItemGraphRoomListRoomsItemCheckInsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsRequestBuilder.ItemGraphRoomListRoomsItemCheckInsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsRequestBuilder.ItemGraphRoomListRoomsItemCheckInsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsRequestBuilder.ItemGraphRoomListRoomsItemCheckInsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphRoomListRoomsItemCheckInsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsRequestBuilder.ItemGraphRoomListRoomsItemCheckInsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsRequestBuilder.ItemGraphRoomListRoomsItemCheckInsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsRequestBuilder::|public|ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId:string):*ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsRequestBuilder::|public|Count():*ItemGraphRoomListRoomsItemCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListRoomsItemCheckInsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphRoomListRoomsItemCheckInsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListRoomsItemCheckInsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphRoomListRoomsItemCheckInsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsItemCheckInsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphRoomListRoomsItemCheckInsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsRequestBuilder.ItemGraphRoomListRoomsRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsRequestBuilder.ItemGraphRoomListRoomsRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -194031,6 +202123,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsRoomItemR github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsRoomItemRequestBuilder.ItemGraphRoomListRoomsRoomItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphRoomListRoomsRoomItemRequestBuilderGetQueryParameters github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsRoomItemRequestBuilder.ItemGraphRoomListRoomsRoomItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsRoomItemRequestBuilder.ItemGraphRoomListRoomsRoomItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsRoomItemRequestBuilder::|public|checkIns():*ItemGraphRoomListRoomsItemCheckInsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsRoomItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsRoomItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsRoomItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListRoomsRoomItemRequestBuilderDeleteRequestConfiguration):void @@ -194043,12 +202136,138 @@ github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsRoomItemR github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsRoomItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Roomable; ctx:context.Context; requestConfiguration?:*ItemGraphRoomListRoomsRoomItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsRoomItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsRoomItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphRoomListRoomsRoomItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesCountRequestBuilder.ItemGraphRoomListWorkspacesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesCountRequestBuilder.ItemGraphRoomListWorkspacesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesCountRequestBuilder.ItemGraphRoomListWorkspacesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesCountRequestBuilder.ItemGraphRoomListWorkspacesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesCountRequestBuilder.ItemGraphRoomListWorkspacesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphRoomListWorkspacesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphRoomListWorkspacesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder::|public|ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId:string):*ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder::|public|Count():*ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder.ItemGraphRoomListWorkspacesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder.ItemGraphRoomListWorkspacesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder.ItemGraphRoomListWorkspacesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder.ItemGraphRoomListWorkspacesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder.ItemGraphRoomListWorkspacesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder.ItemGraphRoomListWorkspacesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder.ItemGraphRoomListWorkspacesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder.ItemGraphRoomListWorkspacesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder.ItemGraphRoomListWorkspacesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder.ItemGraphRoomListWorkspacesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder.ItemGraphRoomListWorkspacesRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphRoomListWorkspacesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder.ItemGraphRoomListWorkspacesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder.ItemGraphRoomListWorkspacesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder::|public|ByWorkspaceId(workspaceId:string):*ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder::|public|Count():*ItemGraphRoomListWorkspacesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkspaceCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable; ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable; ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphRoomListWorkspacesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder::|public|checkIns():*ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable; ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable; ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomRequestBuilder.ItemGraphRoomRequestBuilderGetQueryParameters::|public|Expand:[]string github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomRequestBuilder.ItemGraphRoomRequestBuilderGetQueryParameters::|public|Select:[]string github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomRequestBuilder.ItemGraphRoomRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomRequestBuilder.ItemGraphRoomRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomRequestBuilder.ItemGraphRoomRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphRoomRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomRequestBuilder::|public|checkIns():*ItemGraphRoomCheckInsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphRoomRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Roomable @@ -194057,16 +202276,177 @@ github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomRequestBuilder::|p github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphRoomRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCountRequestBuilder.ItemGraphSectionCheckInsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCountRequestBuilder.ItemGraphSectionCheckInsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCountRequestBuilder.ItemGraphSectionCheckInsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCountRequestBuilder.ItemGraphSectionCheckInsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCountRequestBuilder.ItemGraphSectionCheckInsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphSectionCheckInsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphSectionCheckInsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphSectionCheckInsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphSectionCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder.ItemGraphSectionCheckInsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder.ItemGraphSectionCheckInsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder.ItemGraphSectionCheckInsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder.ItemGraphSectionCheckInsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder.ItemGraphSectionCheckInsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder.ItemGraphSectionCheckInsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder.ItemGraphSectionCheckInsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder.ItemGraphSectionCheckInsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder.ItemGraphSectionCheckInsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder.ItemGraphSectionCheckInsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder.ItemGraphSectionCheckInsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphSectionCheckInsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder.ItemGraphSectionCheckInsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder.ItemGraphSectionCheckInsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder::|public|ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId:string):*ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder::|public|Count():*ItemGraphSectionCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphSectionCheckInsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphSectionCheckInsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphSectionCheckInsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphSectionCheckInsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphSectionCheckInsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionRequestBuilder.ItemGraphSectionRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionRequestBuilder.ItemGraphSectionRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionRequestBuilder.ItemGraphSectionRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionRequestBuilder.ItemGraphSectionRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionRequestBuilder.ItemGraphSectionRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphSectionRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionRequestBuilder::|public|checkIns():*ItemGraphSectionCheckInsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphSectionRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Sectionable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphSectionRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphSectionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCountRequestBuilder.ItemGraphWorkspaceCheckInsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCountRequestBuilder.ItemGraphWorkspaceCheckInsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCountRequestBuilder.ItemGraphWorkspaceCheckInsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCountRequestBuilder.ItemGraphWorkspaceCheckInsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCountRequestBuilder.ItemGraphWorkspaceCheckInsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphWorkspaceCheckInsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphWorkspaceCheckInsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphWorkspaceCheckInsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphWorkspaceCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder.ItemGraphWorkspaceCheckInsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder.ItemGraphWorkspaceCheckInsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder.ItemGraphWorkspaceCheckInsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder.ItemGraphWorkspaceCheckInsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder.ItemGraphWorkspaceCheckInsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder.ItemGraphWorkspaceCheckInsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder.ItemGraphWorkspaceCheckInsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder.ItemGraphWorkspaceCheckInsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder.ItemGraphWorkspaceCheckInsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder.ItemGraphWorkspaceCheckInsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder.ItemGraphWorkspaceCheckInsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphWorkspaceCheckInsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder.ItemGraphWorkspaceCheckInsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder.ItemGraphWorkspaceCheckInsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder::|public|ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId:string):*ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder::|public|Count():*ItemGraphWorkspaceCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphWorkspaceCheckInsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphWorkspaceCheckInsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphWorkspaceCheckInsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphWorkspaceCheckInsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphWorkspaceCheckInsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceRequestBuilder.ItemGraphWorkspaceRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceRequestBuilder.ItemGraphWorkspaceRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceRequestBuilder.ItemGraphWorkspaceRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceRequestBuilder.ItemGraphWorkspaceRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceRequestBuilder.ItemGraphWorkspaceRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphWorkspaceRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceRequestBuilder::|public|checkIns():*ItemGraphWorkspaceCheckInsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphWorkspaceRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphWorkspaceRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphWorkspaceRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder.PlaceItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder.PlaceItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder.PlaceItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder.PlaceItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|checkIns():*ItemCheckInsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*PlaceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|descendants():*ItemDescendantsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|graphBuilding():*ItemGraphBuildingRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|graphDesk():*ItemGraphDeskRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|graphFloor():*ItemGraphFloorRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|graphRoom():*ItemGraphRoomRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|graphRoomList():*ItemGraphRoomListRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|graphSection():*ItemGraphSectionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|graphWorkspace():*ItemGraphWorkspaceRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable; ctx:context.Context; requestConfiguration?:*PlaceItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|requestAdapter:RequestAdapter @@ -194075,15 +202455,25 @@ github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|publi github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|WithUrl(rawUrl:string):*PlaceItemRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder.PlacesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder.PlacesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|ByPlaceId(placeId:string):*PlaceItemRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|Count():*CountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|graphBuilding():*GraphBuildingRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|graphDesk():*GraphDeskRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|graphFloor():*GraphFloorRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|graphRoom():*GraphRoomRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|graphRoomList():*GraphRoomListRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|graphSection():*GraphSectionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|graphWorkspace():*GraphWorkspaceRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable; ctx:context.Context; requestConfiguration?:*PlacesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable; ctx:context.Context; requestConfiguration?:*PlacesRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|WithUrl(rawUrl:string):*PlacesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.planner.BucketsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.planner.BucketsCountRequestBuilder.BucketsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.planner.BucketsCountRequestBuilder.BucketsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -205685,6 +214075,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesEdiscover github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder.CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilderGetQueryParameters github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder.CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder.CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder::|public|caseMembers():*CasesEdiscoveryCasesItemCaseMembersRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder::|public|custodians():*CasesEdiscoveryCasesItemCustodiansRequestBuilder @@ -205706,6 +214097,68 @@ github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesEdiscover github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder::|public|ToPatchRequestInformation(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.EdiscoveryCaseable; ctx:context.Context; requestConfiguration?:*CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder::|public|WithUrl(rawUrl:string):*CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersCountRequestBuilder.CasesEdiscoveryCasesItemCaseMembersCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersCountRequestBuilder.CasesEdiscoveryCasesItemCaseMembersCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersCountRequestBuilder.CasesEdiscoveryCasesItemCaseMembersCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersCountRequestBuilder.CasesEdiscoveryCasesItemCaseMembersCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersCountRequestBuilder.CasesEdiscoveryCasesItemCaseMembersCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*CasesEdiscoveryCasesItemCaseMembersCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CasesEdiscoveryCasesItemCaseMembersCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CasesEdiscoveryCasesItemCaseMembersCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersCountRequestBuilder::|public|WithUrl(rawUrl:string):*CasesEdiscoveryCasesItemCaseMembersCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderGetRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.EdiscoveryCaseMemberable +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder::|public|Patch(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.EdiscoveryCaseMemberable; ctx:context.Context; requestConfiguration?:*CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderPatchRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.EdiscoveryCaseMemberable +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.EdiscoveryCaseMemberable; ctx:context.Context; requestConfiguration?:*CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):*CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersRequestBuilder.CasesEdiscoveryCasesItemCaseMembersRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersRequestBuilder.CasesEdiscoveryCasesItemCaseMembersRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersRequestBuilder.CasesEdiscoveryCasesItemCaseMembersRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersRequestBuilder.CasesEdiscoveryCasesItemCaseMembersRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersRequestBuilder.CasesEdiscoveryCasesItemCaseMembersRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersRequestBuilder.CasesEdiscoveryCasesItemCaseMembersRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersRequestBuilder.CasesEdiscoveryCasesItemCaseMembersRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersRequestBuilder.CasesEdiscoveryCasesItemCaseMembersRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersRequestBuilder.CasesEdiscoveryCasesItemCaseMembersRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersRequestBuilder.CasesEdiscoveryCasesItemCaseMembersRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersRequestBuilder.CasesEdiscoveryCasesItemCaseMembersRequestBuilderGetRequestConfiguration::|public|queryParameters:*CasesEdiscoveryCasesItemCaseMembersRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersRequestBuilder.CasesEdiscoveryCasesItemCaseMembersRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersRequestBuilder.CasesEdiscoveryCasesItemCaseMembersRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersRequestBuilder::|public|ByEdiscoveryCaseMemberId(ediscoveryCaseMemberId:string):*CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersRequestBuilder::|public|Count():*CasesEdiscoveryCasesItemCaseMembersCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CasesEdiscoveryCasesItemCaseMembersRequestBuilderGetRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.EdiscoveryCaseMemberCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersRequestBuilder::|public|Post(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.EdiscoveryCaseMemberable; ctx:context.Context; requestConfiguration?:*CasesEdiscoveryCasesItemCaseMembersRequestBuilderPostRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.EdiscoveryCaseMemberable +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CasesEdiscoveryCasesItemCaseMembersRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersRequestBuilder::|public|ToPostRequestInformation(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.EdiscoveryCaseMemberable; ctx:context.Context; requestConfiguration?:*CasesEdiscoveryCasesItemCaseMembersRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCaseMembersRequestBuilder::|public|WithUrl(rawUrl:string):*CasesEdiscoveryCasesItemCaseMembersRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCustodiansCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCustodiansCountRequestBuilder.CasesEdiscoveryCasesItemCustodiansCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemCustodiansCountRequestBuilder.CasesEdiscoveryCasesItemCustodiansCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -207852,6 +216305,104 @@ github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesHealthIssuesRequest github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesHealthIssuesRequestBuilder::|public|ToPostRequestInformation(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.HealthIssueable; ctx:context.Context; requestConfiguration?:*IdentitiesHealthIssuesRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesHealthIssuesRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesHealthIssuesRequestBuilder::|public|WithUrl(rawUrl:string):*IdentitiesHealthIssuesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsCountRequestBuilder.IdentitiesIdentityAccountsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsCountRequestBuilder.IdentitiesIdentityAccountsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsCountRequestBuilder.IdentitiesIdentityAccountsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsCountRequestBuilder.IdentitiesIdentityAccountsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsCountRequestBuilder.IdentitiesIdentityAccountsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*IdentitiesIdentityAccountsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*IdentitiesIdentityAccountsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*IdentitiesIdentityAccountsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsCountRequestBuilder::|public|WithUrl(rawUrl:string):*IdentitiesIdentityAccountsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderGetRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder::|public|microsoftGraphSecurityInvokeAction():*IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder::|public|Patch(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable; ctx:context.Context; requestConfiguration?:*IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderPatchRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder::|public|ToPatchRequestInformation(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable; ctx:context.Context; requestConfiguration?:*IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder::|public|WithUrl(rawUrl:string):*IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody::|public|GetAccountId():*string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody::|public|GetAction():*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Action +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody::|public|GetIdentityProvider():*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityProvider +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody::|public|SetAccountId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody::|public|SetAction(value:*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Action):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody::|public|SetIdentityProvider(value:*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityProvider):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyable::|public|GetAccountId():*string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyable::|public|GetAction():*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Action +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyable::|public|GetIdentityProvider():*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityProvider +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyable::|public|SetAccountId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyable::|public|SetAction(value:*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Action):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyable::|public|SetIdentityProvider(value:*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityProvider):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody~~>IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder::|public|Post(body:IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilderPostRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.InvokeActionResultable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder::|public|ToPostRequestInformation(body:IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder::|public|WithUrl(rawUrl:string):*IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder.IdentitiesIdentityAccountsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder.IdentitiesIdentityAccountsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder.IdentitiesIdentityAccountsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder.IdentitiesIdentityAccountsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder.IdentitiesIdentityAccountsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder.IdentitiesIdentityAccountsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder.IdentitiesIdentityAccountsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder.IdentitiesIdentityAccountsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder.IdentitiesIdentityAccountsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder.IdentitiesIdentityAccountsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder.IdentitiesIdentityAccountsRequestBuilderGetRequestConfiguration::|public|queryParameters:*IdentitiesIdentityAccountsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder.IdentitiesIdentityAccountsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder.IdentitiesIdentityAccountsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder::|public|ByIdentityAccountsId(identityAccountsId:string):*IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder::|public|Count():*IdentitiesIdentityAccountsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*IdentitiesIdentityAccountsRequestBuilderGetRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder::|public|Post(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable; ctx:context.Context; requestConfiguration?:*IdentitiesIdentityAccountsRequestBuilderPostRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*IdentitiesIdentityAccountsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder::|public|ToPostRequestInformation(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable; ctx:context.Context; requestConfiguration?:*IdentitiesIdentityAccountsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder::|public|WithUrl(rawUrl:string):*IdentitiesIdentityAccountsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder.IdentitiesRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder.IdentitiesRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption @@ -207867,15 +216418,130 @@ github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|pu github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*IdentitiesRequestBuilderDeleteRequestConfiguration):void github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*IdentitiesRequestBuilderGetRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityContainerable github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|healthIssues():*IdentitiesHealthIssuesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|identityAccounts():*IdentitiesIdentityAccountsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|Patch(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityContainerable; ctx:context.Context; requestConfiguration?:*IdentitiesRequestBuilderPatchRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityContainerable github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|sensorCandidateActivationConfiguration():*IdentitiesSensorCandidateActivationConfigurationRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|sensorCandidates():*IdentitiesSensorCandidatesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|sensors():*IdentitiesSensorsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*IdentitiesRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*IdentitiesRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|ToPatchRequestInformation(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityContainerable; ctx:context.Context; requestConfiguration?:*IdentitiesRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|WithUrl(rawUrl:string):*IdentitiesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidateActivationConfigurationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidateActivationConfigurationRequestBuilder.IdentitiesSensorCandidateActivationConfigurationRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidateActivationConfigurationRequestBuilder.IdentitiesSensorCandidateActivationConfigurationRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidateActivationConfigurationRequestBuilder.IdentitiesSensorCandidateActivationConfigurationRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidateActivationConfigurationRequestBuilder.IdentitiesSensorCandidateActivationConfigurationRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidateActivationConfigurationRequestBuilder.IdentitiesSensorCandidateActivationConfigurationRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidateActivationConfigurationRequestBuilder.IdentitiesSensorCandidateActivationConfigurationRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidateActivationConfigurationRequestBuilder.IdentitiesSensorCandidateActivationConfigurationRequestBuilderGetRequestConfiguration::|public|queryParameters:*IdentitiesSensorCandidateActivationConfigurationRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidateActivationConfigurationRequestBuilder.IdentitiesSensorCandidateActivationConfigurationRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidateActivationConfigurationRequestBuilder.IdentitiesSensorCandidateActivationConfigurationRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidateActivationConfigurationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidateActivationConfigurationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidateActivationConfigurationRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*IdentitiesSensorCandidateActivationConfigurationRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidateActivationConfigurationRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*IdentitiesSensorCandidateActivationConfigurationRequestBuilderGetRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCandidateActivationConfigurationable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidateActivationConfigurationRequestBuilder::|public|Patch(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCandidateActivationConfigurationable; ctx:context.Context; requestConfiguration?:*IdentitiesSensorCandidateActivationConfigurationRequestBuilderPatchRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCandidateActivationConfigurationable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidateActivationConfigurationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidateActivationConfigurationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidateActivationConfigurationRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*IdentitiesSensorCandidateActivationConfigurationRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidateActivationConfigurationRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*IdentitiesSensorCandidateActivationConfigurationRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidateActivationConfigurationRequestBuilder::|public|ToPatchRequestInformation(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCandidateActivationConfigurationable; ctx:context.Context; requestConfiguration?:*IdentitiesSensorCandidateActivationConfigurationRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidateActivationConfigurationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidateActivationConfigurationRequestBuilder::|public|WithUrl(rawUrl:string):*IdentitiesSensorCandidateActivationConfigurationRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesCountRequestBuilder.IdentitiesSensorCandidatesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesCountRequestBuilder.IdentitiesSensorCandidatesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesCountRequestBuilder.IdentitiesSensorCandidatesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesCountRequestBuilder.IdentitiesSensorCandidatesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesCountRequestBuilder.IdentitiesSensorCandidatesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*IdentitiesSensorCandidatesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*IdentitiesSensorCandidatesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*IdentitiesSensorCandidatesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesCountRequestBuilder::|public|WithUrl(rawUrl:string):*IdentitiesSensorCandidatesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBody::|public|GetServerIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBody::|public|SetServerIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBodyable::|public|GetServerIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBodyable::|public|SetServerIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBody~~>IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilder.IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilder.IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilder::|public|Post(body:IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBodyable; ctx:context.Context; requestConfiguration?:*IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilder::|public|ToPostRequestInformation(body:IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBodyable; ctx:context.Context; requestConfiguration?:*IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilder::|public|WithUrl(rawUrl:string):*IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesRequestBuilder.IdentitiesSensorCandidatesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesRequestBuilder.IdentitiesSensorCandidatesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesRequestBuilder.IdentitiesSensorCandidatesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesRequestBuilder.IdentitiesSensorCandidatesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesRequestBuilder.IdentitiesSensorCandidatesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesRequestBuilder.IdentitiesSensorCandidatesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesRequestBuilder.IdentitiesSensorCandidatesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesRequestBuilder.IdentitiesSensorCandidatesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesRequestBuilder.IdentitiesSensorCandidatesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesRequestBuilder.IdentitiesSensorCandidatesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesRequestBuilder.IdentitiesSensorCandidatesRequestBuilderGetRequestConfiguration::|public|queryParameters:*IdentitiesSensorCandidatesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesRequestBuilder.IdentitiesSensorCandidatesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesRequestBuilder.IdentitiesSensorCandidatesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesRequestBuilder::|public|BySensorCandidateId(sensorCandidateId:string):*IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesRequestBuilder::|public|Count():*IdentitiesSensorCandidatesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*IdentitiesSensorCandidatesRequestBuilderGetRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCandidateCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesRequestBuilder::|public|microsoftGraphSecurityActivate():*IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesRequestBuilder::|public|Post(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCandidateable; ctx:context.Context; requestConfiguration?:*IdentitiesSensorCandidatesRequestBuilderPostRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCandidateable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*IdentitiesSensorCandidatesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesRequestBuilder::|public|ToPostRequestInformation(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCandidateable; ctx:context.Context; requestConfiguration?:*IdentitiesSensorCandidatesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesRequestBuilder::|public|WithUrl(rawUrl:string):*IdentitiesSensorCandidatesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderGetRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCandidateable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder::|public|Patch(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCandidateable; ctx:context.Context; requestConfiguration?:*IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderPatchRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCandidateable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder::|public|ToPatchRequestInformation(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCandidateable; ctx:context.Context; requestConfiguration?:*IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder::|public|WithUrl(rawUrl:string):*IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsCountRequestBuilder.IdentitiesSensorsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsCountRequestBuilder.IdentitiesSensorsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -231466,6 +240132,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnits github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsGraphSiteProtectionUnitRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*BackupRestoreProtectionUnitsGraphSiteProtectionUnitRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsGraphSiteProtectionUnitRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsGraphSiteProtectionUnitRequestBuilder::|public|WithUrl(rawUrl:string):*BackupRestoreProtectionUnitsGraphSiteProtectionUnitRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder.BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder.BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProtectionUnitBaseable +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder::|public|WithUrl(rawUrl:string):*BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsItemGraphDriveProtectionUnitRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsItemGraphDriveProtectionUnitRequestBuilder.BackupRestoreProtectionUnitsItemGraphDriveProtectionUnitRequestBuilderGetQueryParameters::|public|Expand:[]string github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsItemGraphDriveProtectionUnitRequestBuilder.BackupRestoreProtectionUnitsItemGraphDriveProtectionUnitRequestBuilderGetQueryParameters::|public|Select:[]string @@ -231508,18 +240185,31 @@ github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnits github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsItemGraphSiteProtectionUnitRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*BackupRestoreProtectionUnitsItemGraphSiteProtectionUnitRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsItemGraphSiteProtectionUnitRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsItemGraphSiteProtectionUnitRequestBuilder::|public|WithUrl(rawUrl:string):*BackupRestoreProtectionUnitsItemGraphSiteProtectionUnitRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsItemOffboardRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsItemOffboardRequestBuilder.BackupRestoreProtectionUnitsItemOffboardRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsItemOffboardRequestBuilder.BackupRestoreProtectionUnitsItemOffboardRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsItemOffboardRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsItemOffboardRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsItemOffboardRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsItemOffboardRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*BackupRestoreProtectionUnitsItemOffboardRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProtectionUnitBaseable +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsItemOffboardRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsItemOffboardRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*BackupRestoreProtectionUnitsItemOffboardRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsItemOffboardRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsItemOffboardRequestBuilder::|public|WithUrl(rawUrl:string):*BackupRestoreProtectionUnitsItemOffboardRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilder.BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilderGetQueryParameters::|public|Expand:[]string github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilder.BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilderGetQueryParameters::|public|Select:[]string github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilder.BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilder.BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilder.BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilder::|public|cancelOffboard():*BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProtectionUnitBaseable github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilder::|public|graphDriveProtectionUnit():*BackupRestoreProtectionUnitsItemGraphDriveProtectionUnitRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilder::|public|graphMailboxProtectionUnit():*BackupRestoreProtectionUnitsItemGraphMailboxProtectionUnitRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilder::|public|graphSiteProtectionUnit():*BackupRestoreProtectionUnitsItemGraphSiteProtectionUnitRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilder::|public|offboard():*BackupRestoreProtectionUnitsItemOffboardRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.solutions.BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilderGetRequestConfiguration):*RequestInformation @@ -234632,10 +243322,12 @@ github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStora github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|drive():*FileStorageContainersItemDriveRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersFileStorageContainerItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|lock():*FileStorageContainersItemLockRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|migrationJobs():*FileStorageContainersItemMigrationJobsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable; ctx:context.Context; requestConfiguration?:*FileStorageContainersFileStorageContainerItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|permanentDelete():*FileStorageContainersItemPermanentDeleteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|permissions():*FileStorageContainersItemPermissionsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|provisionMigrationContainers():*FileStorageContainersItemProvisionMigrationContainersRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|recycleBin():*FileStorageContainersItemRecycleBinRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|restore():*FileStorageContainersItemRestoreRequestBuilder @@ -234774,6 +243466,131 @@ github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockR github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockRequestBuilder::|public|ToPostRequestInformation(body:FileStorageContainersItemLockPostRequestBodyable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemLockRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemLockRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsCountRequestBuilder.FileStorageContainersItemMigrationJobsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsCountRequestBuilder.FileStorageContainersItemMigrationJobsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsCountRequestBuilder.FileStorageContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsCountRequestBuilder.FileStorageContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsCountRequestBuilder.FileStorageContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemMigrationJobsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsCountRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemMigrationJobsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|BySharePointMigrationEventId(sharePointMigrationEventId:string):*FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|Count():*FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder.FileStorageContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder.FileStorageContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder.FileStorageContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder.FileStorageContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder.FileStorageContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder.FileStorageContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder.FileStorageContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder.FileStorageContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder.FileStorageContainersItemMigrationJobsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder.FileStorageContainersItemMigrationJobsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder.FileStorageContainersItemMigrationJobsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemMigrationJobsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder.FileStorageContainersItemMigrationJobsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder.FileStorageContainersItemMigrationJobsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder::|public|BySharePointMigrationJobId(sharePointMigrationJobId:string):*FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder::|public|Count():*FileStorageContainersItemMigrationJobsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemMigrationJobsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|progressEvents():*FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemPermanentDeleteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemPermanentDeleteRequestBuilder.FileStorageContainersItemPermanentDeleteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemPermanentDeleteRequestBuilder.FileStorageContainersItemPermanentDeleteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption @@ -234894,6 +243711,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemPermi github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemPermissionsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemPermissionsRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemPermissionsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemPermissionsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemPermissionsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemProvisionMigrationContainersRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemProvisionMigrationContainersRequestBuilder.FileStorageContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemProvisionMigrationContainersRequestBuilder.FileStorageContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemProvisionMigrationContainersRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemProvisionMigrationContainersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemProvisionMigrationContainersRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemProvisionMigrationContainersRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationContainerInfoable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemProvisionMigrationContainersRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemProvisionMigrationContainersRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemProvisionMigrationContainersRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemProvisionMigrationContainersRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemProvisionMigrationContainersRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:[]string github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters::|public|Select:[]string @@ -235307,6 +244135,193 @@ github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersRequestBu github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable; ctx:context.Context; requestConfiguration?:*FileStorageContainersRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsCountRequestBuilder.FileStorageContainerTypeRegistrationsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsCountRequestBuilder.FileStorageContainerTypeRegistrationsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsCountRequestBuilder.FileStorageContainerTypeRegistrationsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsCountRequestBuilder.FileStorageContainerTypeRegistrationsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsCountRequestBuilder.FileStorageContainerTypeRegistrationsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainerTypeRegistrationsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainerTypeRegistrationsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainerTypeRegistrationsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsCountRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainerTypeRegistrationsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder::|public|applicationPermissionGrants():*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeRegistrationable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeRegistrationable; ctx:context.Context; requestConfiguration?:*FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeRegistrationable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeRegistrationable; ctx:context.Context; requestConfiguration?:*FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeAppPermissionGrantable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeAppPermissionGrantable; ctx:context.Context; requestConfiguration?:*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeAppPermissionGrantable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeAppPermissionGrantable; ctx:context.Context; requestConfiguration?:*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder::|public|ByFileStorageContainerTypeAppPermissionGrantAppId(fileStorageContainerTypeAppPermissionGrantAppId:string):*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder::|public|Count():*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeAppPermissionGrantCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeAppPermissionGrantable; ctx:context.Context; requestConfiguration?:*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeAppPermissionGrantable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeAppPermissionGrantable; ctx:context.Context; requestConfiguration?:*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsRequestBuilder.FileStorageContainerTypeRegistrationsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsRequestBuilder.FileStorageContainerTypeRegistrationsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsRequestBuilder.FileStorageContainerTypeRegistrationsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsRequestBuilder.FileStorageContainerTypeRegistrationsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsRequestBuilder.FileStorageContainerTypeRegistrationsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsRequestBuilder.FileStorageContainerTypeRegistrationsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsRequestBuilder.FileStorageContainerTypeRegistrationsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsRequestBuilder.FileStorageContainerTypeRegistrationsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsRequestBuilder.FileStorageContainerTypeRegistrationsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsRequestBuilder.FileStorageContainerTypeRegistrationsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsRequestBuilder.FileStorageContainerTypeRegistrationsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainerTypeRegistrationsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsRequestBuilder.FileStorageContainerTypeRegistrationsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsRequestBuilder.FileStorageContainerTypeRegistrationsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsRequestBuilder::|public|ByFileStorageContainerTypeRegistrationId(fileStorageContainerTypeRegistrationId:string):*FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsRequestBuilder::|public|Count():*FileStorageContainerTypeRegistrationsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainerTypeRegistrationsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeRegistrationCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeRegistrationable; ctx:context.Context; requestConfiguration?:*FileStorageContainerTypeRegistrationsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeRegistrationable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainerTypeRegistrationsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeRegistrationable; ctx:context.Context; requestConfiguration?:*FileStorageContainerTypeRegistrationsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypeRegistrationsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainerTypeRegistrationsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesCountRequestBuilder.FileStorageContainerTypesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesCountRequestBuilder.FileStorageContainerTypesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesCountRequestBuilder.FileStorageContainerTypesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesCountRequestBuilder.FileStorageContainerTypesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesCountRequestBuilder.FileStorageContainerTypesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainerTypesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainerTypesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainerTypesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesCountRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainerTypesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeable; ctx:context.Context; requestConfiguration?:*FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeable; ctx:context.Context; requestConfiguration?:*FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesRequestBuilder.FileStorageContainerTypesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesRequestBuilder.FileStorageContainerTypesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesRequestBuilder.FileStorageContainerTypesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesRequestBuilder.FileStorageContainerTypesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesRequestBuilder.FileStorageContainerTypesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesRequestBuilder.FileStorageContainerTypesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesRequestBuilder.FileStorageContainerTypesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesRequestBuilder.FileStorageContainerTypesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesRequestBuilder.FileStorageContainerTypesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesRequestBuilder.FileStorageContainerTypesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesRequestBuilder.FileStorageContainerTypesRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainerTypesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesRequestBuilder.FileStorageContainerTypesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesRequestBuilder.FileStorageContainerTypesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesRequestBuilder::|public|ByFileStorageContainerTypeId(fileStorageContainerTypeId:string):*FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesRequestBuilder::|public|Count():*FileStorageContainerTypesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainerTypesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeable; ctx:context.Context; requestConfiguration?:*FileStorageContainerTypesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainerTypesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeable; ctx:context.Context; requestConfiguration?:*FileStorageContainerTypesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainerTypesRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainerTypesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersCountRequestBuilder.FileStorageDeletedContainersCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersCountRequestBuilder.FileStorageDeletedContainersCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -235339,10 +244354,12 @@ github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFi github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|drive():*FileStorageDeletedContainersItemDriveRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersFileStorageContainerItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|lock():*FileStorageDeletedContainersItemLockRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|migrationJobs():*FileStorageDeletedContainersItemMigrationJobsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersFileStorageContainerItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|permanentDelete():*FileStorageDeletedContainersItemPermanentDeleteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|permissions():*FileStorageDeletedContainersItemPermissionsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|provisionMigrationContainers():*FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|recycleBin():*FileStorageDeletedContainersItemRecycleBinRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|restore():*FileStorageDeletedContainersItemRestoreRequestBuilder @@ -235481,6 +244498,131 @@ github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersIt github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockRequestBuilder::|public|ToPostRequestInformation(body:FileStorageDeletedContainersItemLockPostRequestBodyable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemLockRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemLockRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemMigrationJobsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|BySharePointMigrationEventId(sharePointMigrationEventId:string):*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|Count():*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder::|public|BySharePointMigrationJobId(sharePointMigrationJobId:string):*FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder::|public|Count():*FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemMigrationJobsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|progressEvents():*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermanentDeleteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermanentDeleteRequestBuilder.FileStorageDeletedContainersItemPermanentDeleteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermanentDeleteRequestBuilder.FileStorageDeletedContainersItemPermanentDeleteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption @@ -235601,6 +244743,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersIt github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemPermissionsRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemPermissionsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder.FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder.FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationContainerInfoable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:[]string github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters::|public|Select:[]string @@ -236027,6 +245180,8 @@ github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageRequestBuilder.File github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageRequestBuilder::|public|containers():*FileStorageContainersRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageRequestBuilder::|public|containerTypeRegistrations():*FileStorageContainerTypeRegistrationsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageRequestBuilder::|public|containerTypes():*FileStorageContainerTypesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*FileStorageRequestBuilderDeleteRequestConfiguration):void github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageRequestBuilder::|public|deletedContainers():*FileStorageDeletedContainersRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageable @@ -243213,6 +252368,326 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemActivitiesUserActivityItemRe github.com/microsoftgraph/msgraph-sdk-go/.users.ItemActivitiesUserActivityItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserActivityable; ctx:context.Context; requestConfiguration?:*ItemActivitiesUserActivityItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.users.ItemActivitiesUserActivityItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemActivitiesUserActivityItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemActivitiesUserActivityItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsAdhocCallItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsAdhocCallItemRequestBuilder.ItemAdhocCallsAdhocCallItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsAdhocCallItemRequestBuilder.ItemAdhocCallsAdhocCallItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsAdhocCallItemRequestBuilder.ItemAdhocCallsAdhocCallItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsAdhocCallItemRequestBuilder.ItemAdhocCallsAdhocCallItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsAdhocCallItemRequestBuilder.ItemAdhocCallsAdhocCallItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsAdhocCallItemRequestBuilder.ItemAdhocCallsAdhocCallItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsAdhocCallItemRequestBuilder.ItemAdhocCallsAdhocCallItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAdhocCallsAdhocCallItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsAdhocCallItemRequestBuilder.ItemAdhocCallsAdhocCallItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsAdhocCallItemRequestBuilder.ItemAdhocCallsAdhocCallItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsAdhocCallItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsAdhocCallItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsAdhocCallItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsAdhocCallItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsAdhocCallItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsAdhocCallItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsAdhocCallItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable; ctx:context.Context; requestConfiguration?:*ItemAdhocCallsAdhocCallItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsAdhocCallItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsAdhocCallItemRequestBuilder::|public|recordings():*ItemAdhocCallsItemRecordingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsAdhocCallItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsAdhocCallItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsAdhocCallItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsAdhocCallItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsAdhocCallItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsAdhocCallItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable; ctx:context.Context; requestConfiguration?:*ItemAdhocCallsAdhocCallItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsAdhocCallItemRequestBuilder::|public|transcripts():*ItemAdhocCallsItemTranscriptsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsAdhocCallItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsAdhocCallItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAdhocCallsAdhocCallItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsCountRequestBuilder.ItemAdhocCallsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsCountRequestBuilder.ItemAdhocCallsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsCountRequestBuilder.ItemAdhocCallsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsCountRequestBuilder.ItemAdhocCallsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsCountRequestBuilder.ItemAdhocCallsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAdhocCallsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAdhocCallsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder::|public|content():*ItemAdhocCallsItemRecordingsItemContentRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable; ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable; ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCountRequestBuilder.ItemAdhocCallsItemRecordingsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCountRequestBuilder.ItemAdhocCallsItemRecordingsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCountRequestBuilder.ItemAdhocCallsItemRecordingsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCountRequestBuilder.ItemAdhocCallsItemRecordingsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCountRequestBuilder.ItemAdhocCallsItemRecordingsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAdhocCallsItemRecordingsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemRecordingsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemRecordingsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAdhocCallsItemRecordingsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaGetResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseDeltaFunctionResponse +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaGetResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaGetResponse::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaGetResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaGetResponse::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaGetResponseable::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaGetResponseable::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaGetResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseDeltaFunctionResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaRequestBuilder.ItemAdhocCallsItemRecordingsDeltaRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaRequestBuilder.ItemAdhocCallsItemRecordingsDeltaRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaRequestBuilder.ItemAdhocCallsItemRecordingsDeltaRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaRequestBuilder.ItemAdhocCallsItemRecordingsDeltaRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaRequestBuilder.ItemAdhocCallsItemRecordingsDeltaRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaRequestBuilder.ItemAdhocCallsItemRecordingsDeltaRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaRequestBuilder.ItemAdhocCallsItemRecordingsDeltaRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaRequestBuilder.ItemAdhocCallsItemRecordingsDeltaRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaRequestBuilder.ItemAdhocCallsItemRecordingsDeltaRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaRequestBuilder.ItemAdhocCallsItemRecordingsDeltaRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaRequestBuilder.ItemAdhocCallsItemRecordingsDeltaRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAdhocCallsItemRecordingsDeltaRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemRecordingsDeltaRequestBuilderGetRequestConfiguration):ItemAdhocCallsItemRecordingsDeltaResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaRequestBuilder::|public|GetAsDeltaGetResponse(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemRecordingsDeltaRequestBuilderGetRequestConfiguration):ItemAdhocCallsItemRecordingsDeltaGetResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemRecordingsDeltaRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAdhocCallsItemRecordingsDeltaRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaResponse-->*ItemAdhocCallsItemRecordingsDeltaGetResponse +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsDeltaResponseable~~>ItemAdhocCallsItemRecordingsDeltaGetResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsItemContentRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsItemContentRequestBuilder.ItemAdhocCallsItemRecordingsItemContentRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsItemContentRequestBuilder.ItemAdhocCallsItemRecordingsItemContentRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsItemContentRequestBuilder.ItemAdhocCallsItemRecordingsItemContentRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsItemContentRequestBuilder.ItemAdhocCallsItemRecordingsItemContentRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsItemContentRequestBuilder.ItemAdhocCallsItemRecordingsItemContentRequestBuilderPutRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsItemContentRequestBuilder.ItemAdhocCallsItemRecordingsItemContentRequestBuilderPutRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsItemContentRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsItemContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsItemContentRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemRecordingsItemContentRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsItemContentRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemRecordingsItemContentRequestBuilderGetRequestConfiguration):[]byte +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsItemContentRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsItemContentRequestBuilder::|public|Put(body:[]byte; ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemRecordingsItemContentRequestBuilderPutRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsItemContentRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsItemContentRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemRecordingsItemContentRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsItemContentRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemRecordingsItemContentRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsItemContentRequestBuilder::|public|ToPutRequestInformation(body:[]byte; ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemRecordingsItemContentRequestBuilderPutRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsItemContentRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsItemContentRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAdhocCallsItemRecordingsItemContentRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsRequestBuilder.ItemAdhocCallsItemRecordingsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsRequestBuilder.ItemAdhocCallsItemRecordingsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsRequestBuilder.ItemAdhocCallsItemRecordingsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsRequestBuilder.ItemAdhocCallsItemRecordingsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsRequestBuilder.ItemAdhocCallsItemRecordingsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsRequestBuilder.ItemAdhocCallsItemRecordingsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsRequestBuilder.ItemAdhocCallsItemRecordingsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsRequestBuilder.ItemAdhocCallsItemRecordingsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsRequestBuilder.ItemAdhocCallsItemRecordingsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsRequestBuilder.ItemAdhocCallsItemRecordingsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsRequestBuilder.ItemAdhocCallsItemRecordingsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAdhocCallsItemRecordingsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsRequestBuilder.ItemAdhocCallsItemRecordingsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsRequestBuilder.ItemAdhocCallsItemRecordingsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsRequestBuilder::|public|ByCallRecordingId(callRecordingId:string):*ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsRequestBuilder::|public|Count():*ItemAdhocCallsItemRecordingsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsRequestBuilder::|public|delta():*ItemAdhocCallsItemRecordingsDeltaRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemRecordingsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable; ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemRecordingsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemRecordingsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable; ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemRecordingsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemRecordingsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAdhocCallsItemRecordingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder::|public|content():*ItemAdhocCallsItemTranscriptsItemContentRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder::|public|metadataContent():*ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable; ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable; ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCountRequestBuilder.ItemAdhocCallsItemTranscriptsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCountRequestBuilder.ItemAdhocCallsItemTranscriptsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCountRequestBuilder.ItemAdhocCallsItemTranscriptsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCountRequestBuilder.ItemAdhocCallsItemTranscriptsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCountRequestBuilder.ItemAdhocCallsItemTranscriptsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAdhocCallsItemTranscriptsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemTranscriptsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemTranscriptsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAdhocCallsItemTranscriptsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaGetResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseDeltaFunctionResponse +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaGetResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaGetResponse::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaGetResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaGetResponse::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaGetResponseable::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaGetResponseable::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaGetResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseDeltaFunctionResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaRequestBuilder.ItemAdhocCallsItemTranscriptsDeltaRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaRequestBuilder.ItemAdhocCallsItemTranscriptsDeltaRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaRequestBuilder.ItemAdhocCallsItemTranscriptsDeltaRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaRequestBuilder.ItemAdhocCallsItemTranscriptsDeltaRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaRequestBuilder.ItemAdhocCallsItemTranscriptsDeltaRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaRequestBuilder.ItemAdhocCallsItemTranscriptsDeltaRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaRequestBuilder.ItemAdhocCallsItemTranscriptsDeltaRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaRequestBuilder.ItemAdhocCallsItemTranscriptsDeltaRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaRequestBuilder.ItemAdhocCallsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaRequestBuilder.ItemAdhocCallsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaRequestBuilder.ItemAdhocCallsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAdhocCallsItemTranscriptsDeltaRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration):ItemAdhocCallsItemTranscriptsDeltaResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaRequestBuilder::|public|GetAsDeltaGetResponse(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration):ItemAdhocCallsItemTranscriptsDeltaGetResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAdhocCallsItemTranscriptsDeltaRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaResponse-->*ItemAdhocCallsItemTranscriptsDeltaGetResponse +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsDeltaResponseable~~>ItemAdhocCallsItemTranscriptsDeltaGetResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemContentRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemContentRequestBuilder.ItemAdhocCallsItemTranscriptsItemContentRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemContentRequestBuilder.ItemAdhocCallsItemTranscriptsItemContentRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemContentRequestBuilder.ItemAdhocCallsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemContentRequestBuilder.ItemAdhocCallsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemContentRequestBuilder.ItemAdhocCallsItemTranscriptsItemContentRequestBuilderPutRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemContentRequestBuilder.ItemAdhocCallsItemTranscriptsItemContentRequestBuilderPutRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemContentRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemContentRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemTranscriptsItemContentRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemContentRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration):[]byte +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemContentRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemContentRequestBuilder::|public|Put(body:[]byte; ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemTranscriptsItemContentRequestBuilderPutRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemContentRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemContentRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemTranscriptsItemContentRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemContentRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemContentRequestBuilder::|public|ToPutRequestInformation(body:[]byte; ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemTranscriptsItemContentRequestBuilderPutRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemContentRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemContentRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAdhocCallsItemTranscriptsItemContentRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder.ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder.ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder.ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder.ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder.ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderPutRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder.ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderPutRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderGetRequestConfiguration):[]byte +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder::|public|Put(body:[]byte; ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderPutRequestConfiguration):[]byte +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder::|public|ToPutRequestInformation(body:[]byte; ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderPutRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsRequestBuilder.ItemAdhocCallsItemTranscriptsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsRequestBuilder.ItemAdhocCallsItemTranscriptsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsRequestBuilder.ItemAdhocCallsItemTranscriptsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsRequestBuilder.ItemAdhocCallsItemTranscriptsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsRequestBuilder.ItemAdhocCallsItemTranscriptsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsRequestBuilder.ItemAdhocCallsItemTranscriptsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsRequestBuilder.ItemAdhocCallsItemTranscriptsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsRequestBuilder.ItemAdhocCallsItemTranscriptsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsRequestBuilder.ItemAdhocCallsItemTranscriptsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsRequestBuilder.ItemAdhocCallsItemTranscriptsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsRequestBuilder.ItemAdhocCallsItemTranscriptsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAdhocCallsItemTranscriptsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsRequestBuilder.ItemAdhocCallsItemTranscriptsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsRequestBuilder.ItemAdhocCallsItemTranscriptsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsRequestBuilder::|public|ByCallTranscriptId(callTranscriptId:string):*ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsRequestBuilder::|public|Count():*ItemAdhocCallsItemTranscriptsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsRequestBuilder::|public|delta():*ItemAdhocCallsItemTranscriptsDeltaRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemTranscriptsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable; ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemTranscriptsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemTranscriptsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable; ctx:context.Context; requestConfiguration?:*ItemAdhocCallsItemTranscriptsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsItemTranscriptsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAdhocCallsItemTranscriptsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsRequestBuilder.ItemAdhocCallsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsRequestBuilder.ItemAdhocCallsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsRequestBuilder.ItemAdhocCallsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsRequestBuilder.ItemAdhocCallsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsRequestBuilder.ItemAdhocCallsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsRequestBuilder.ItemAdhocCallsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsRequestBuilder.ItemAdhocCallsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsRequestBuilder.ItemAdhocCallsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsRequestBuilder.ItemAdhocCallsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsRequestBuilder.ItemAdhocCallsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsRequestBuilder.ItemAdhocCallsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAdhocCallsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsRequestBuilder.ItemAdhocCallsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsRequestBuilder.ItemAdhocCallsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsRequestBuilder::|public|ByAdhocCallId(adhocCallId:string):*ItemAdhocCallsAdhocCallItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsRequestBuilder::|public|Count():*ItemAdhocCallsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable; ctx:context.Context; requestConfiguration?:*ItemAdhocCallsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable; ctx:context.Context; requestConfiguration?:*ItemAdhocCallsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAdhocCallsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAdhocCallsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAgreementAcceptancesAgreementAcceptanceItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAgreementAcceptancesAgreementAcceptanceItemRequestBuilder.ItemAgreementAcceptancesAgreementAcceptanceItemRequestBuilderGetQueryParameters::|public|Expand:[]string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAgreementAcceptancesAgreementAcceptanceItemRequestBuilder.ItemAgreementAcceptancesAgreementAcceptanceItemRequestBuilderGetQueryParameters::|public|Select:[]string @@ -243418,6 +252893,68 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationEmailMethodsRe github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationEmailMethodsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EmailAuthenticationMethodable; ctx:context.Context; requestConfiguration?:*ItemAuthenticationEmailMethodsRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationEmailMethodsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationEmailMethodsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAuthenticationEmailMethodsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder.ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder.ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder.ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder.ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder.ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ExternalAuthenticationMethodable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ExternalAuthenticationMethodable; ctx:context.Context; requestConfiguration?:*ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ExternalAuthenticationMethodable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ExternalAuthenticationMethodable; ctx:context.Context; requestConfiguration?:*ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsRequestBuilder.ItemAuthenticationExternalAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsRequestBuilder.ItemAuthenticationExternalAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsRequestBuilder.ItemAuthenticationExternalAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsRequestBuilder.ItemAuthenticationExternalAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsRequestBuilder.ItemAuthenticationExternalAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsRequestBuilder.ItemAuthenticationExternalAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsRequestBuilder.ItemAuthenticationExternalAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsRequestBuilder.ItemAuthenticationExternalAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsRequestBuilder.ItemAuthenticationExternalAuthenticationMethodsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsRequestBuilder.ItemAuthenticationExternalAuthenticationMethodsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsRequestBuilder.ItemAuthenticationExternalAuthenticationMethodsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAuthenticationExternalAuthenticationMethodsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsRequestBuilder.ItemAuthenticationExternalAuthenticationMethodsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsRequestBuilder.ItemAuthenticationExternalAuthenticationMethodsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsRequestBuilder::|public|ByExternalAuthenticationMethodId(externalAuthenticationMethodId:string):*ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsRequestBuilder::|public|Count():*ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAuthenticationExternalAuthenticationMethodsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ExternalAuthenticationMethodCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ExternalAuthenticationMethodable; ctx:context.Context; requestConfiguration?:*ItemAuthenticationExternalAuthenticationMethodsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ExternalAuthenticationMethodable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAuthenticationExternalAuthenticationMethodsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ExternalAuthenticationMethodable; ctx:context.Context; requestConfiguration?:*ItemAuthenticationExternalAuthenticationMethodsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationExternalAuthenticationMethodsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAuthenticationExternalAuthenticationMethodsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationFido2MethodsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationFido2MethodsCountRequestBuilder.ItemAuthenticationFido2MethodsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationFido2MethodsCountRequestBuilder.ItemAuthenticationFido2MethodsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -243912,6 +253449,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemAuthenticationRequestBuilderDeleteRequestConfiguration):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationRequestBuilder::|public|emailMethods():*ItemAuthenticationEmailMethodsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationRequestBuilder::|public|externalAuthenticationMethods():*ItemAuthenticationExternalAuthenticationMethodsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationRequestBuilder::|public|fido2Methods():*ItemAuthenticationFido2MethodsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAuthenticationRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Authenticationable github.com/microsoftgraph/msgraph-sdk-go/.users.ItemAuthenticationRequestBuilder::|public|methods():*ItemAuthenticationMethodsRequestBuilder @@ -246734,6 +256272,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsChatItemRequestBuilder: github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsChatItemRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsChatItemRequestBuilder::|public|permissionGrants():*ItemChatsItemPermissionGrantsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsChatItemRequestBuilder::|public|pinnedMessages():*ItemChatsItemPinnedMessagesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsChatItemRequestBuilder::|public|removeAllAccessForUser():*ItemChatsItemRemoveAllAccessForUserRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsChatItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsChatItemRequestBuilder::|public|sendActivityNotification():*ItemChatsItemSendActivityNotificationRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsChatItemRequestBuilder::|public|tabs():*ItemChatsItemTabsRequestBuilder @@ -247865,6 +257404,33 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemPinnedMessagesReque github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemPinnedMessagesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PinnedChatMessageInfoable; ctx:context.Context; requestConfiguration?:*ItemChatsItemPinnedMessagesRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemPinnedMessagesRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemPinnedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemPinnedMessagesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBody::|public|GetUser():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBody::|public|SetUser(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBodyable::|public|GetUser():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBodyable::|public|SetUser(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBody~~>ItemChatsItemRemoveAllAccessForUserPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserRequestBuilder.ItemChatsItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserRequestBuilder.ItemChatsItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserRequestBuilder::|public|Post(body:ItemChatsItemRemoveAllAccessForUserPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChatsItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserRequestBuilder::|public|ToPostRequestInformation(body:ItemChatsItemRemoveAllAccessForUserPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChatsItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemRemoveAllAccessForUserRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBody::|public|GetActivityType():*string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBody::|public|GetAdditionalData():map[string]any @@ -248221,6 +257787,232 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudClipboardRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudClipboardRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudClipboardRootable; ctx:context.Context; requestConfiguration?:*ItemCloudClipboardRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudClipboardRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudClipboardRequestBuilder::|public|WithUrl(rawUrl:string):*ItemCloudClipboardRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCloudPCItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCloudPCItemRequestBuilder.ItemCloudPCsCloudPCItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCloudPCItemRequestBuilder.ItemCloudPCsCloudPCItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCloudPCItemRequestBuilder.ItemCloudPCsCloudPCItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCloudPCItemRequestBuilder.ItemCloudPCsCloudPCItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCloudPCItemRequestBuilder.ItemCloudPCsCloudPCItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCloudPCItemRequestBuilder.ItemCloudPCsCloudPCItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCloudPCItemRequestBuilder.ItemCloudPCsCloudPCItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemCloudPCsCloudPCItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCloudPCItemRequestBuilder.ItemCloudPCsCloudPCItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCloudPCItemRequestBuilder.ItemCloudPCsCloudPCItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCloudPCItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCloudPCItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCloudPCItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemCloudPCsCloudPCItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCloudPCItemRequestBuilder::|public|endGracePeriod():*ItemCloudPCsItemEndGracePeriodRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCloudPCItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemCloudPCsCloudPCItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPCable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCloudPCItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPCable; ctx:context.Context; requestConfiguration?:*ItemCloudPCsCloudPCItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPCable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCloudPCItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCloudPCItemRequestBuilder::|public|reboot():*ItemCloudPCsItemRebootRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCloudPCItemRequestBuilder::|public|rename():*ItemCloudPCsItemRenameRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCloudPCItemRequestBuilder::|public|reprovision():*ItemCloudPCsItemReprovisionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCloudPCItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCloudPCItemRequestBuilder::|public|resize():*ItemCloudPCsItemResizeRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCloudPCItemRequestBuilder::|public|restore():*ItemCloudPCsItemRestoreRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCloudPCItemRequestBuilder::|public|retrieveCloudPcLaunchDetail():*ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCloudPCItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemCloudPCsCloudPCItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCloudPCItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemCloudPCsCloudPCItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCloudPCItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPCable; ctx:context.Context; requestConfiguration?:*ItemCloudPCsCloudPCItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCloudPCItemRequestBuilder::|public|troubleshoot():*ItemCloudPCsItemTroubleshootRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCloudPCItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCloudPCItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemCloudPCsCloudPCItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCountRequestBuilder.ItemCloudPCsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCountRequestBuilder.ItemCloudPCsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCountRequestBuilder.ItemCloudPCsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCountRequestBuilder.ItemCloudPCsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCountRequestBuilder.ItemCloudPCsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemCloudPCsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemCloudPCsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemCloudPCsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemCloudPCsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemEndGracePeriodRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemEndGracePeriodRequestBuilder.ItemCloudPCsItemEndGracePeriodRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemEndGracePeriodRequestBuilder.ItemCloudPCsItemEndGracePeriodRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemEndGracePeriodRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemEndGracePeriodRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemEndGracePeriodRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemEndGracePeriodRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*ItemCloudPCsItemEndGracePeriodRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemEndGracePeriodRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemEndGracePeriodRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*ItemCloudPCsItemEndGracePeriodRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemEndGracePeriodRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemEndGracePeriodRequestBuilder::|public|WithUrl(rawUrl:string):*ItemCloudPCsItemEndGracePeriodRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRebootRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRebootRequestBuilder.ItemCloudPCsItemRebootRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRebootRequestBuilder.ItemCloudPCsItemRebootRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRebootRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRebootRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRebootRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRebootRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*ItemCloudPCsItemRebootRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRebootRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRebootRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*ItemCloudPCsItemRebootRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRebootRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRebootRequestBuilder::|public|WithUrl(rawUrl:string):*ItemCloudPCsItemRebootRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRenamePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRenamePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRenamePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRenamePostRequestBody::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRenamePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRenamePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRenamePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRenamePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRenamePostRequestBody::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRenamePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRenamePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRenamePostRequestBodyable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRenamePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRenamePostRequestBodyable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRenamePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRenamePostRequestBody~~>ItemCloudPCsItemRenamePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRenameRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRenameRequestBuilder.ItemCloudPCsItemRenameRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRenameRequestBuilder.ItemCloudPCsItemRenameRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRenameRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRenameRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRenameRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRenameRequestBuilder::|public|Post(body:ItemCloudPCsItemRenamePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemCloudPCsItemRenameRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRenameRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRenameRequestBuilder::|public|ToPostRequestInformation(body:ItemCloudPCsItemRenamePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemCloudPCsItemRenameRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRenameRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRenameRequestBuilder::|public|WithUrl(rawUrl:string):*ItemCloudPCsItemRenameRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionPostRequestBody::|public|GetOsVersion():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcOperatingSystem +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionPostRequestBody::|public|GetUserAccountType():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcUserAccountType +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionPostRequestBody::|public|SetOsVersion(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcOperatingSystem):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionPostRequestBody::|public|SetUserAccountType(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcUserAccountType):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionPostRequestBodyable::|public|GetOsVersion():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcOperatingSystem +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionPostRequestBodyable::|public|GetUserAccountType():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcUserAccountType +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionPostRequestBodyable::|public|SetOsVersion(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcOperatingSystem):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionPostRequestBodyable::|public|SetUserAccountType(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcUserAccountType):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionPostRequestBody~~>ItemCloudPCsItemReprovisionPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionRequestBuilder.ItemCloudPCsItemReprovisionRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionRequestBuilder.ItemCloudPCsItemReprovisionRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionRequestBuilder::|public|Post(body:ItemCloudPCsItemReprovisionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemCloudPCsItemReprovisionRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionRequestBuilder::|public|ToPostRequestInformation(body:ItemCloudPCsItemReprovisionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemCloudPCsItemReprovisionRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemReprovisionRequestBuilder::|public|WithUrl(rawUrl:string):*ItemCloudPCsItemReprovisionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemResizePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemResizePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemResizePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemResizePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemResizePostRequestBody::|public|GetTargetServicePlanId():*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemResizePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemResizePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemResizePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemResizePostRequestBody::|public|SetTargetServicePlanId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemResizePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemResizePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemResizePostRequestBodyable::|public|GetTargetServicePlanId():*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemResizePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemResizePostRequestBodyable::|public|SetTargetServicePlanId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemResizePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemResizePostRequestBody~~>ItemCloudPCsItemResizePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemResizeRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemResizeRequestBuilder.ItemCloudPCsItemResizeRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemResizeRequestBuilder.ItemCloudPCsItemResizeRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemResizeRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemResizeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemResizeRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemResizeRequestBuilder::|public|Post(body:ItemCloudPCsItemResizePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemCloudPCsItemResizeRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemResizeRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemResizeRequestBuilder::|public|ToPostRequestInformation(body:ItemCloudPCsItemResizePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemCloudPCsItemResizeRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemResizeRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemResizeRequestBuilder::|public|WithUrl(rawUrl:string):*ItemCloudPCsItemResizeRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRestorePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRestorePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRestorePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRestorePostRequestBody::|public|GetCloudPcSnapshotId():*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRestorePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRestorePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRestorePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRestorePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRestorePostRequestBody::|public|SetCloudPcSnapshotId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRestorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRestorePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRestorePostRequestBodyable::|public|GetCloudPcSnapshotId():*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRestorePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRestorePostRequestBodyable::|public|SetCloudPcSnapshotId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRestorePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRestorePostRequestBody~~>ItemCloudPCsItemRestorePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRestoreRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRestoreRequestBuilder.ItemCloudPCsItemRestoreRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRestoreRequestBuilder.ItemCloudPCsItemRestoreRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRestoreRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRestoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRestoreRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRestoreRequestBuilder::|public|Post(body:ItemCloudPCsItemRestorePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemCloudPCsItemRestoreRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRestoreRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRestoreRequestBuilder::|public|ToPostRequestInformation(body:ItemCloudPCsItemRestorePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemCloudPCsItemRestoreRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRestoreRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRestoreRequestBuilder::|public|WithUrl(rawUrl:string):*ItemCloudPCsItemRestoreRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder.ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder.ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcLaunchDetailable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder::|public|WithUrl(rawUrl:string):*ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemTroubleshootRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemTroubleshootRequestBuilder.ItemCloudPCsItemTroubleshootRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemTroubleshootRequestBuilder.ItemCloudPCsItemTroubleshootRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemTroubleshootRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemTroubleshootRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemTroubleshootRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemTroubleshootRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*ItemCloudPCsItemTroubleshootRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemTroubleshootRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemTroubleshootRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*ItemCloudPCsItemTroubleshootRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemTroubleshootRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsItemTroubleshootRequestBuilder::|public|WithUrl(rawUrl:string):*ItemCloudPCsItemTroubleshootRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsRequestBuilder.ItemCloudPCsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsRequestBuilder.ItemCloudPCsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsRequestBuilder.ItemCloudPCsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsRequestBuilder.ItemCloudPCsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsRequestBuilder.ItemCloudPCsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsRequestBuilder.ItemCloudPCsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsRequestBuilder.ItemCloudPCsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsRequestBuilder.ItemCloudPCsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsRequestBuilder.ItemCloudPCsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsRequestBuilder.ItemCloudPCsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsRequestBuilder.ItemCloudPCsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemCloudPCsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsRequestBuilder.ItemCloudPCsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsRequestBuilder.ItemCloudPCsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsRequestBuilder::|public|ByCloudPCId(cloudPCId:string):*ItemCloudPCsCloudPCItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsRequestBuilder::|public|Count():*ItemCloudPCsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemCloudPCsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPCCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPCable; ctx:context.Context; requestConfiguration?:*ItemCloudPCsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPCable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemCloudPCsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPCable; ctx:context.Context; requestConfiguration?:*ItemCloudPCsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCloudPCsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemCloudPCsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemContactFoldersContactFolderItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemContactFoldersContactFolderItemRequestBuilder.ItemContactFoldersContactFolderItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.users.ItemContactFoldersContactFolderItemRequestBuilder.ItemContactFoldersContactFolderItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption @@ -249937,6 +259729,201 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDrivesRequestBuilder::|publi github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDrivesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemDrivesRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDrivesRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDrivesRequestBuilder::|public|WithUrl(rawUrl:string):*ItemDrivesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesCountRequestBuilder.ItemEmployeeExperienceAssignedRolesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesCountRequestBuilder.ItemEmployeeExperienceAssignedRolesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesCountRequestBuilder.ItemEmployeeExperienceAssignedRolesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesCountRequestBuilder.ItemEmployeeExperienceAssignedRolesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesCountRequestBuilder.ItemEmployeeExperienceAssignedRolesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemEmployeeExperienceAssignedRolesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemEmployeeExperienceAssignedRolesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder::|public|members():*ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable; ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable; ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable; ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable; ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder::|public|user():*ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable; ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable; ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder::|public|mailboxSettings():*ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder::|public|serviceProvisioningErrors():*ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder::|public|WithUrl(rawUrl:string):*ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder::|public|Count():*ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder::|public|ByEngagementRoleMemberId(engagementRoleMemberId:string):*ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder::|public|Count():*ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable; ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable; ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder::|public|WithUrl(rawUrl:string):*ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesRequestBuilder.ItemEmployeeExperienceAssignedRolesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesRequestBuilder.ItemEmployeeExperienceAssignedRolesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesRequestBuilder.ItemEmployeeExperienceAssignedRolesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesRequestBuilder.ItemEmployeeExperienceAssignedRolesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesRequestBuilder.ItemEmployeeExperienceAssignedRolesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesRequestBuilder.ItemEmployeeExperienceAssignedRolesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesRequestBuilder.ItemEmployeeExperienceAssignedRolesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesRequestBuilder.ItemEmployeeExperienceAssignedRolesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesRequestBuilder.ItemEmployeeExperienceAssignedRolesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesRequestBuilder.ItemEmployeeExperienceAssignedRolesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesRequestBuilder.ItemEmployeeExperienceAssignedRolesRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemEmployeeExperienceAssignedRolesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesRequestBuilder.ItemEmployeeExperienceAssignedRolesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesRequestBuilder.ItemEmployeeExperienceAssignedRolesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesRequestBuilder::|public|ByEngagementRoleId(engagementRoleId:string):*ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesRequestBuilder::|public|Count():*ItemEmployeeExperienceAssignedRolesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable; ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable; ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceAssignedRolesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceAssignedRolesRequestBuilder::|public|WithUrl(rawUrl:string):*ItemEmployeeExperienceAssignedRolesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceLearningCourseActivitiesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceLearningCourseActivitiesCountRequestBuilder.ItemEmployeeExperienceLearningCourseActivitiesCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceLearningCourseActivitiesCountRequestBuilder.ItemEmployeeExperienceLearningCourseActivitiesCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -250011,6 +259998,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceRequestBui github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceRequestBuilder.ItemEmployeeExperienceRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemEmployeeExperienceRequestBuilderGetQueryParameters github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceRequestBuilder.ItemEmployeeExperienceRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceRequestBuilder.ItemEmployeeExperienceRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceRequestBuilder::|public|assignedRoles():*ItemEmployeeExperienceAssignedRolesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemEmployeeExperienceRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemEmployeeExperienceRequestBuilderDeleteRequestConfiguration):void @@ -262134,6 +272122,28 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemOnlineMeetingsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemOnlineMeetingsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnlineMeetingable; ctx:context.Context; requestConfiguration?:*ItemOnlineMeetingsRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.users.ItemOnlineMeetingsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemOnlineMeetingsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemOnlineMeetingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemOnPremisesSyncBehaviorRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemOnPremisesSyncBehaviorRequestBuilder.ItemOnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemOnPremisesSyncBehaviorRequestBuilder.ItemOnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemOnPremisesSyncBehaviorRequestBuilder.ItemOnPremisesSyncBehaviorRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemOnPremisesSyncBehaviorRequestBuilder.ItemOnPremisesSyncBehaviorRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemOnPremisesSyncBehaviorRequestBuilder.ItemOnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemOnPremisesSyncBehaviorRequestBuilder.ItemOnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemOnPremisesSyncBehaviorRequestBuilder.ItemOnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemOnPremisesSyncBehaviorRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemOnPremisesSyncBehaviorRequestBuilder.ItemOnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemOnPremisesSyncBehaviorRequestBuilder.ItemOnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemOnPremisesSyncBehaviorRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemOnPremisesSyncBehaviorRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemOnPremisesSyncBehaviorRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemOnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemOnPremisesSyncBehaviorRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemOnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesSyncBehaviorable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemOnPremisesSyncBehaviorRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesSyncBehaviorable; ctx:context.Context; requestConfiguration?:*ItemOnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesSyncBehaviorable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemOnPremisesSyncBehaviorRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemOnPremisesSyncBehaviorRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemOnPremisesSyncBehaviorRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemOnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemOnPremisesSyncBehaviorRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemOnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemOnPremisesSyncBehaviorRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesSyncBehaviorable; ctx:context.Context; requestConfiguration?:*ItemOnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemOnPremisesSyncBehaviorRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemOnPremisesSyncBehaviorRequestBuilder::|public|WithUrl(rawUrl:string):*ItemOnPremisesSyncBehaviorRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemOutlookMasterCategoriesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemOutlookMasterCategoriesCountRequestBuilder.ItemOutlookMasterCategoriesCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemOutlookMasterCategoriesCountRequestBuilder.ItemOutlookMasterCategoriesCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -263561,6 +273571,28 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPlannerTasksRequestBuilder:: github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPlannerTasksRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PlannerTaskable; ctx:context.Context; requestConfiguration?:*ItemPlannerTasksRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPlannerTasksRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPlannerTasksRequestBuilder::|public|WithUrl(rawUrl:string):*ItemPlannerTasksRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceClearAutomaticLocationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceClearAutomaticLocationRequestBuilder.ItemPresenceClearAutomaticLocationRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceClearAutomaticLocationRequestBuilder.ItemPresenceClearAutomaticLocationRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceClearAutomaticLocationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceClearAutomaticLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceClearAutomaticLocationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceClearAutomaticLocationRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*ItemPresenceClearAutomaticLocationRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceClearAutomaticLocationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceClearAutomaticLocationRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*ItemPresenceClearAutomaticLocationRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceClearAutomaticLocationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceClearAutomaticLocationRequestBuilder::|public|WithUrl(rawUrl:string):*ItemPresenceClearAutomaticLocationRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceClearLocationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceClearLocationRequestBuilder.ItemPresenceClearLocationRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceClearLocationRequestBuilder.ItemPresenceClearLocationRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceClearLocationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceClearLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceClearLocationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceClearLocationRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*ItemPresenceClearLocationRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceClearLocationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceClearLocationRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*ItemPresenceClearLocationRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceClearLocationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceClearLocationRequestBuilder::|public|WithUrl(rawUrl:string):*ItemPresenceClearLocationRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceClearPresencePostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceClearPresencePostRequestBody::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceClearPresencePostRequestBody::|public|GetBackingStore():BackingStore @@ -263609,6 +273641,8 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceRequestBuilder.ItemP github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceRequestBuilder.ItemPresenceRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemPresenceRequestBuilderGetQueryParameters github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceRequestBuilder.ItemPresenceRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceRequestBuilder.ItemPresenceRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceRequestBuilder::|public|clearAutomaticLocation():*ItemPresenceClearAutomaticLocationRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceRequestBuilder::|public|clearLocation():*ItemPresenceClearLocationRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceRequestBuilder::|public|clearPresence():*ItemPresenceClearPresenceRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceRequestBuilder::|public|clearUserPreferredPresence():*ItemPresenceClearUserPreferredPresenceRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void @@ -263618,6 +273652,8 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceRequestBuilder::|pub github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Presenceable; ctx:context.Context; requestConfiguration?:*ItemPresenceRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Presenceable github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceRequestBuilder::|public|setAutomaticLocation():*ItemPresenceSetAutomaticLocationRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceRequestBuilder::|public|setManualLocation():*ItemPresenceSetManualLocationRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceRequestBuilder::|public|setPresence():*ItemPresenceSetPresenceRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceRequestBuilder::|public|setStatusMessage():*ItemPresenceSetStatusMessageRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceRequestBuilder::|public|setUserPreferredPresence():*ItemPresenceSetUserPreferredPresenceRequestBuilder @@ -263626,6 +273662,68 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceRequestBuilder::|pub github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Presenceable; ctx:context.Context; requestConfiguration?:*ItemPresenceRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceRequestBuilder::|public|WithUrl(rawUrl:string):*ItemPresenceRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationPostRequestBody::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationPostRequestBody::|public|GetWorkLocationType():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationPostRequestBody::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationPostRequestBody::|public|SetWorkLocationType(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationPostRequestBodyable::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationPostRequestBodyable::|public|GetWorkLocationType():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationPostRequestBodyable::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationPostRequestBodyable::|public|SetWorkLocationType(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationPostRequestBody~~>ItemPresenceSetAutomaticLocationPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationRequestBuilder.ItemPresenceSetAutomaticLocationRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationRequestBuilder.ItemPresenceSetAutomaticLocationRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationRequestBuilder::|public|Post(body:ItemPresenceSetAutomaticLocationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemPresenceSetAutomaticLocationRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationRequestBuilder::|public|ToPostRequestInformation(body:ItemPresenceSetAutomaticLocationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemPresenceSetAutomaticLocationRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetAutomaticLocationRequestBuilder::|public|WithUrl(rawUrl:string):*ItemPresenceSetAutomaticLocationRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationPostRequestBody::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationPostRequestBody::|public|GetWorkLocationType():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationPostRequestBody::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationPostRequestBody::|public|SetWorkLocationType(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationPostRequestBodyable::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationPostRequestBodyable::|public|GetWorkLocationType():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationPostRequestBodyable::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationPostRequestBodyable::|public|SetWorkLocationType(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationPostRequestBody~~>ItemPresenceSetManualLocationPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationRequestBuilder.ItemPresenceSetManualLocationRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationRequestBuilder.ItemPresenceSetManualLocationRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationRequestBuilder::|public|Post(body:ItemPresenceSetManualLocationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemPresenceSetManualLocationRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationRequestBuilder::|public|ToPostRequestInformation(body:ItemPresenceSetManualLocationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemPresenceSetManualLocationRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetManualLocationRequestBuilder::|public|WithUrl(rawUrl:string):*ItemPresenceSetManualLocationRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetPresencePostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetPresencePostRequestBody::|public|GetActivity():*string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemPresenceSetPresencePostRequestBody::|public|GetAdditionalData():map[string]any @@ -264214,6 +274312,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsRequestBuilder::|pub github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsRequestBuilder::|public|windows():*ItemSettingsWindowsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemSettingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsRequestBuilder::|public|workHoursAndLocations():*ItemSettingsWorkHoursAndLocationsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsShiftPreferencesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsShiftPreferencesRequestBuilder.ItemSettingsShiftPreferencesRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsShiftPreferencesRequestBuilder.ItemSettingsShiftPreferencesRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption @@ -264469,6 +274568,222 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWindowsWindowsSettin github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWindowsWindowsSettingItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsSettingable; ctx:context.Context; requestConfiguration?:*ItemSettingsWindowsWindowsSettingItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWindowsWindowsSettingItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWindowsWindowsSettingItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemSettingsWindowsWindowsSettingItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder::|public|ByWorkPlanOccurrenceId(workPlanOccurrenceId:string):*ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder::|public|Count():*ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceable; ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder::|public|setCurrentLocation():*ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceable; ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder::|public|WithUrl(rawUrl:string):*ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody::|public|GetUpdateScope():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationUpdateScope +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody::|public|GetWorkLocationType():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody::|public|SetUpdateScope(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationUpdateScope):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody::|public|SetWorkLocationType(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyable::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyable::|public|GetUpdateScope():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationUpdateScope +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyable::|public|GetWorkLocationType():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyable::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyable::|public|SetUpdateScope(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationUpdateScope):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyable::|public|SetWorkLocationType(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody~~>ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder::|public|Post(body:ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder::|public|ToPostRequestInformation(body:ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder::|public|WithUrl(rawUrl:string):*ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseable::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseable::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter; endDateTime?:*string; startDateTime?:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):*ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponse-->*ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponseable~~>ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder::|public|Put(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceable; ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder::|public|ToPutRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceable; ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder::|public|ByWorkPlanRecurrenceId(workPlanRecurrenceId:string):*ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder::|public|Count():*ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanRecurrenceCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanRecurrenceable; ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanRecurrenceable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanRecurrenceable; ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder::|public|WithUrl(rawUrl:string):*ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanRecurrenceable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder::|public|Put(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanRecurrenceable; ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanRecurrenceable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder::|public|ToPutRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanRecurrenceable; ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder.ItemSettingsWorkHoursAndLocationsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder.ItemSettingsWorkHoursAndLocationsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder.ItemSettingsWorkHoursAndLocationsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder.ItemSettingsWorkHoursAndLocationsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder.ItemSettingsWorkHoursAndLocationsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemSettingsWorkHoursAndLocationsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder.ItemSettingsWorkHoursAndLocationsRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder.ItemSettingsWorkHoursAndLocationsRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkHoursAndLocationsSettingable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder::|public|occurrences():*ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder::|public|occurrencesViewWithStartDateTimeWithEndDateTime(endDateTime:*string; startDateTime:*string):*ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkHoursAndLocationsSettingable; ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkHoursAndLocationsSettingable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder::|public|recurrences():*ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkHoursAndLocationsSettingable; ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemSettingsWorkHoursAndLocationsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSolutionsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSolutionsRequestBuilder.ItemSolutionsRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSolutionsRequestBuilder.ItemSolutionsRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption @@ -265797,6 +276112,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder.UserItemR github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder.UserItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder.UserItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder::|public|activities():*ItemActivitiesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder::|public|adhocCalls():*ItemAdhocCallsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder::|public|agreementAcceptances():*ItemAgreementAcceptancesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder::|public|appRoleAssignments():*ItemAppRoleAssignmentsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder::|public|assignLicense():*ItemAssignLicenseRequestBuilder @@ -265810,6 +276126,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder::|public| github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder::|public|checkMemberGroups():*ItemCheckMemberGroupsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder::|public|checkMemberObjects():*ItemCheckMemberObjectsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder::|public|cloudClipboard():*ItemCloudClipboardRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder::|public|cloudPCs():*ItemCloudPCsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder::|public|contactFolders():*ItemContactFoldersRequestBuilder @@ -265850,6 +276167,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder::|public| github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder::|public|oauth2PermissionGrants():*ItemOauth2PermissionGrantsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder::|public|onenote():*ItemOnenoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder::|public|onlineMeetings():*ItemOnlineMeetingsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder::|public|onPremisesSyncBehavior():*ItemOnPremisesSyncBehaviorRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder::|public|outlook():*ItemOutlookRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder::|public|ownedDevices():*ItemOwnedDevicesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder::|public|ownedObjects():*ItemOwnedObjectsRequestBuilder diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/kiota-lock.json b/vendor/github.com/microsoftgraph/msgraph-sdk-go/kiota-lock.json index c381f5e11c..35300afb32 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/kiota-lock.json +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "4B0031F70F3815D4CFACB6D42FBB4AAC7162437FEFE6F7701E162C33E876DABB21668F488EBB5BEFE3495DDBD43E689D40C62326CEBC5B416F6289B5DD495171", + "descriptionHash": "EE655C46667963A6B56284D80428908D898ADF7596E1B9840E2353EEE838BF5BDD1519D02373734226B3D8607AA86D05BD7FA51B4D709F95127054A6D86E6D4D", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.29.0", + "kiotaVersion": "1.31.0", "clientClassName": "GraphBaseServiceClient", "typeAccessModifier": "Public", "clientNamespaceName": "github.com/microsoftgraph/msgraph-sdk-go/", diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/aad_user_conversation_member.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/aad_user_conversation_member.go index 5e1374a968..fbd3539114 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/aad_user_conversation_member.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/aad_user_conversation_member.go @@ -82,7 +82,7 @@ func (m *AadUserConversationMember) GetFieldDeserializers()(map[string]func(i878 } return res } -// GetTenantId gets the tenantId property value. TenantId which the Microsoft Entra user belongs to. +// GetTenantId gets the tenantId property value. The tenant ID of the Microsoft Entra user. // returns a *string when successful func (m *AadUserConversationMember) GetTenantId()(*string) { val, err := m.GetBackingStore().Get("tenantId") @@ -106,7 +106,7 @@ func (m *AadUserConversationMember) GetUser()(Userable) { } return nil } -// GetUserId gets the userId property value. The guid of the user. +// GetUserId gets the userId property value. The user ID of the Microsoft Entra user. // returns a *string when successful func (m *AadUserConversationMember) GetUserId()(*string) { val, err := m.GetBackingStore().Get("userId") @@ -157,7 +157,7 @@ func (m *AadUserConversationMember) SetEmail(value *string)() { panic(err) } } -// SetTenantId sets the tenantId property value. TenantId which the Microsoft Entra user belongs to. +// SetTenantId sets the tenantId property value. The tenant ID of the Microsoft Entra user. func (m *AadUserConversationMember) SetTenantId(value *string)() { err := m.GetBackingStore().Set("tenantId", value) if err != nil { @@ -171,7 +171,7 @@ func (m *AadUserConversationMember) SetUser(value Userable)() { panic(err) } } -// SetUserId sets the userId property value. The guid of the user. +// SetUserId sets the userId property value. The user ID of the Microsoft Entra user. func (m *AadUserConversationMember) SetUserId(value *string)() { err := m.GetBackingStore().Set("userId", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/access_package_approval_stage.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/access_package_approval_stage.go index a3fec563b6..51bd665034 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/access_package_approval_stage.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/access_package_approval_stage.go @@ -23,6 +23,24 @@ func NewAccessPackageApprovalStage()(*AccessPackageApprovalStage) { // CreateAccessPackageApprovalStageFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value // returns a Parsable when successful func CreateAccessPackageApprovalStageFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.accessPackageDynamicApprovalStage": + return NewAccessPackageDynamicApprovalStage(), nil + } + } + } + } return NewAccessPackageApprovalStage(), nil } // GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/access_package_assignment_request_callback_data.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/access_package_assignment_request_callback_data.go index 432a0e690c..34e05451cc 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/access_package_assignment_request_callback_data.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/access_package_assignment_request_callback_data.go @@ -22,6 +22,24 @@ func NewAccessPackageAssignmentRequestCallbackData()(*AccessPackageAssignmentReq // CreateAccessPackageAssignmentRequestCallbackDataFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value // returns a Parsable when successful func CreateAccessPackageAssignmentRequestCallbackDataFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.assignmentRequestApprovalStageCallbackData": + return NewAssignmentRequestApprovalStageCallbackData(), nil + } + } + } + } return NewAccessPackageAssignmentRequestCallbackData(), nil } // GetCustomExtensionStageInstanceDetail gets the customExtensionStageInstanceDetail property value. Details for the callback. diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/access_package_dynamic_approval_stage.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/access_package_dynamic_approval_stage.go new file mode 100644 index 0000000000..0ebf510953 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/access_package_dynamic_approval_stage.go @@ -0,0 +1,44 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AccessPackageDynamicApprovalStage struct { + AccessPackageApprovalStage +} +// NewAccessPackageDynamicApprovalStage instantiates a new AccessPackageDynamicApprovalStage and sets the default values. +func NewAccessPackageDynamicApprovalStage()(*AccessPackageDynamicApprovalStage) { + m := &AccessPackageDynamicApprovalStage{ + AccessPackageApprovalStage: *NewAccessPackageApprovalStage(), + } + odataTypeValue := "#microsoft.graph.accessPackageDynamicApprovalStage" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateAccessPackageDynamicApprovalStageFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAccessPackageDynamicApprovalStageFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAccessPackageDynamicApprovalStage(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AccessPackageDynamicApprovalStage) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.AccessPackageApprovalStage.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *AccessPackageDynamicApprovalStage) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.AccessPackageApprovalStage.Serialize(writer) + if err != nil { + return err + } + return nil +} +type AccessPackageDynamicApprovalStageable interface { + AccessPackageApprovalStageable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/access_package_request_approval_stage_callback_configuration.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/access_package_request_approval_stage_callback_configuration.go new file mode 100644 index 0000000000..35540b9648 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/access_package_request_approval_stage_callback_configuration.go @@ -0,0 +1,44 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AccessPackageRequestApprovalStageCallbackConfiguration struct { + CustomExtensionCallbackConfiguration +} +// NewAccessPackageRequestApprovalStageCallbackConfiguration instantiates a new AccessPackageRequestApprovalStageCallbackConfiguration and sets the default values. +func NewAccessPackageRequestApprovalStageCallbackConfiguration()(*AccessPackageRequestApprovalStageCallbackConfiguration) { + m := &AccessPackageRequestApprovalStageCallbackConfiguration{ + CustomExtensionCallbackConfiguration: *NewCustomExtensionCallbackConfiguration(), + } + odataTypeValue := "#microsoft.graph.accessPackageRequestApprovalStageCallbackConfiguration" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateAccessPackageRequestApprovalStageCallbackConfigurationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAccessPackageRequestApprovalStageCallbackConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAccessPackageRequestApprovalStageCallbackConfiguration(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AccessPackageRequestApprovalStageCallbackConfiguration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.CustomExtensionCallbackConfiguration.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *AccessPackageRequestApprovalStageCallbackConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.CustomExtensionCallbackConfiguration.Serialize(writer) + if err != nil { + return err + } + return nil +} +type AccessPackageRequestApprovalStageCallbackConfigurationable interface { + CustomExtensionCallbackConfigurationable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/access_review_history_definition.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/access_review_history_definition.go index 0bacbf88a2..8378d97144 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/access_review_history_definition.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/access_review_history_definition.go @@ -47,7 +47,7 @@ func (m *AccessReviewHistoryDefinition) GetCreatedDateTime()(*i336074805fc853987 } return nil } -// GetDecisions gets the decisions property value. Determines which review decisions will be included in the fetched review history data if specified. Optional on create. All decisions are included by default if no decisions are provided on create. Possible values are: approve, deny, dontKnow, notReviewed, and notNotified. +// GetDecisions gets the decisions property value. Determines which review decisions will be included in the fetched review history data if specified. Optional on create. All decisions are included by default if no decisions are provided on create. The possible values are: approve, deny, dontKnow, notReviewed, and notNotified. // returns a []AccessReviewHistoryDecisionFilter when successful func (m *AccessReviewHistoryDefinition) GetDecisions()([]AccessReviewHistoryDecisionFilter) { val, err := m.GetBackingStore().Get("decisions") @@ -362,7 +362,7 @@ func (m *AccessReviewHistoryDefinition) SetCreatedDateTime(value *i336074805fc85 panic(err) } } -// SetDecisions sets the decisions property value. Determines which review decisions will be included in the fetched review history data if specified. Optional on create. All decisions are included by default if no decisions are provided on create. Possible values are: approve, deny, dontKnow, notReviewed, and notNotified. +// SetDecisions sets the decisions property value. Determines which review decisions will be included in the fetched review history data if specified. Optional on create. All decisions are included by default if no decisions are provided on create. The possible values are: approve, deny, dontKnow, notReviewed, and notNotified. func (m *AccessReviewHistoryDefinition) SetDecisions(value []AccessReviewHistoryDecisionFilter)() { err := m.GetBackingStore().Set("decisions", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/account_target_content.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/account_target_content.go index c4f6c53b2a..01339c0a2e 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/account_target_content.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/account_target_content.go @@ -101,7 +101,7 @@ func (m *AccountTargetContent) GetOdataType()(*string) { } return nil } -// GetTypeEscaped gets the type property value. The type of account target content. Possible values are: unknown, includeAll, addressBook, unknownFutureValue. +// GetTypeEscaped gets the type property value. The type of account target content. The possible values are: unknown, includeAll, addressBook, unknownFutureValue. // returns a *AccountTargetContentType when successful func (m *AccountTargetContent) GetTypeEscaped()(*AccountTargetContentType) { val, err := m.GetBackingStore().Get("typeEscaped") @@ -154,7 +154,7 @@ func (m *AccountTargetContent) SetOdataType(value *string)() { panic(err) } } -// SetTypeEscaped sets the type property value. The type of account target content. Possible values are: unknown, includeAll, addressBook, unknownFutureValue. +// SetTypeEscaped sets the type property value. The type of account target content. The possible values are: unknown, includeAll, addressBook, unknownFutureValue. func (m *AccountTargetContent) SetTypeEscaped(value *AccountTargetContentType)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/action_item.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/action_item.go new file mode 100644 index 0000000000..619027294a --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/action_item.go @@ -0,0 +1,227 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ActionItem struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewActionItem instantiates a new ActionItem and sets the default values. +func NewActionItem()(*ActionItem) { + m := &ActionItem{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateActionItemFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateActionItemFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewActionItem(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ActionItem) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ActionItem) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ActionItem) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["ownerDisplayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOwnerDisplayName(val) + } + return nil + } + res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetText(val) + } + return nil + } + res["title"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetTitle(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *ActionItem) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOwnerDisplayName gets the ownerDisplayName property value. The ownerDisplayName property +// returns a *string when successful +func (m *ActionItem) GetOwnerDisplayName()(*string) { + val, err := m.GetBackingStore().Get("ownerDisplayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetText gets the text property value. The text property +// returns a *string when successful +func (m *ActionItem) GetText()(*string) { + val, err := m.GetBackingStore().Get("text") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTitle gets the title property value. The title property +// returns a *string when successful +func (m *ActionItem) GetTitle()(*string) { + val, err := m.GetBackingStore().Get("title") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *ActionItem) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("ownerDisplayName", m.GetOwnerDisplayName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("text", m.GetText()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("title", m.GetTitle()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ActionItem) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ActionItem) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ActionItem) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetOwnerDisplayName sets the ownerDisplayName property value. The ownerDisplayName property +func (m *ActionItem) SetOwnerDisplayName(value *string)() { + err := m.GetBackingStore().Set("ownerDisplayName", value) + if err != nil { + panic(err) + } +} +// SetText sets the text property value. The text property +func (m *ActionItem) SetText(value *string)() { + err := m.GetBackingStore().Set("text", value) + if err != nil { + panic(err) + } +} +// SetTitle sets the title property value. The title property +func (m *ActionItem) SetTitle(value *string)() { + err := m.GetBackingStore().Set("title", value) + if err != nil { + panic(err) + } +} +type ActionItemable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetOwnerDisplayName()(*string) + GetText()(*string) + GetTitle()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetOwnerDisplayName(value *string)() + SetText(value *string)() + SetTitle(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/adhoc_call.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/adhoc_call.go new file mode 100644 index 0000000000..e28fd4c696 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/adhoc_call.go @@ -0,0 +1,140 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AdhocCall struct { + Entity +} +// NewAdhocCall instantiates a new AdhocCall and sets the default values. +func NewAdhocCall()(*AdhocCall) { + m := &AdhocCall{ + Entity: *NewEntity(), + } + return m +} +// CreateAdhocCallFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAdhocCallFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAdhocCall(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AdhocCall) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["recordings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateCallRecordingFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]CallRecordingable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(CallRecordingable) + } + } + m.SetRecordings(res) + } + return nil + } + res["transcripts"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateCallTranscriptFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]CallTranscriptable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(CallTranscriptable) + } + } + m.SetTranscripts(res) + } + return nil + } + return res +} +// GetRecordings gets the recordings property value. The recordings of a call. Read-only. +// returns a []CallRecordingable when successful +func (m *AdhocCall) GetRecordings()([]CallRecordingable) { + val, err := m.GetBackingStore().Get("recordings") + if err != nil { + panic(err) + } + if val != nil { + return val.([]CallRecordingable) + } + return nil +} +// GetTranscripts gets the transcripts property value. The transcripts of a call. Read-only. +// returns a []CallTranscriptable when successful +func (m *AdhocCall) GetTranscripts()([]CallTranscriptable) { + val, err := m.GetBackingStore().Get("transcripts") + if err != nil { + panic(err) + } + if val != nil { + return val.([]CallTranscriptable) + } + return nil +} +// Serialize serializes information the current object +func (m *AdhocCall) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetRecordings() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetRecordings())) + for i, v := range m.GetRecordings() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("recordings", cast) + if err != nil { + return err + } + } + if m.GetTranscripts() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetTranscripts())) + for i, v := range m.GetTranscripts() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("transcripts", cast) + if err != nil { + return err + } + } + return nil +} +// SetRecordings sets the recordings property value. The recordings of a call. Read-only. +func (m *AdhocCall) SetRecordings(value []CallRecordingable)() { + err := m.GetBackingStore().Set("recordings", value) + if err != nil { + panic(err) + } +} +// SetTranscripts sets the transcripts property value. The transcripts of a call. Read-only. +func (m *AdhocCall) SetTranscripts(value []CallTranscriptable)() { + err := m.GetBackingStore().Set("transcripts", value) + if err != nil { + panic(err) + } +} +type AdhocCallable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetRecordings()([]CallRecordingable) + GetTranscripts()([]CallTranscriptable) + SetRecordings(value []CallRecordingable)() + SetTranscripts(value []CallTranscriptable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/telecom_expense_management_partner_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/adhoc_call_collection_response.go similarity index 52% rename from vendor/github.com/microsoftgraph/msgraph-sdk-go/models/telecom_expense_management_partner_collection_response.go rename to vendor/github.com/microsoftgraph/msgraph-sdk-go/models/adhoc_call_collection_response.go index ea5f0bda95..92da98dcb5 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/telecom_expense_management_partner_collection_response.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/adhoc_call_collection_response.go @@ -7,35 +7,35 @@ import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" ) -type TelecomExpenseManagementPartnerCollectionResponse struct { +type AdhocCallCollectionResponse struct { BaseCollectionPaginationCountResponse } -// NewTelecomExpenseManagementPartnerCollectionResponse instantiates a new TelecomExpenseManagementPartnerCollectionResponse and sets the default values. -func NewTelecomExpenseManagementPartnerCollectionResponse()(*TelecomExpenseManagementPartnerCollectionResponse) { - m := &TelecomExpenseManagementPartnerCollectionResponse{ +// NewAdhocCallCollectionResponse instantiates a new AdhocCallCollectionResponse and sets the default values. +func NewAdhocCallCollectionResponse()(*AdhocCallCollectionResponse) { + m := &AdhocCallCollectionResponse{ BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), } return m } -// CreateTelecomExpenseManagementPartnerCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// CreateAdhocCallCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value // returns a Parsable when successful -func CreateTelecomExpenseManagementPartnerCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewTelecomExpenseManagementPartnerCollectionResponse(), nil +func CreateAdhocCallCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAdhocCallCollectionResponse(), nil } // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful -func (m *TelecomExpenseManagementPartnerCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { +func (m *AdhocCallCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetCollectionOfObjectValues(CreateTelecomExpenseManagementPartnerFromDiscriminatorValue) + val, err := n.GetCollectionOfObjectValues(CreateAdhocCallFromDiscriminatorValue) if err != nil { return err } if val != nil { - res := make([]TelecomExpenseManagementPartnerable, len(val)) + res := make([]AdhocCallable, len(val)) for i, v := range val { if v != nil { - res[i] = v.(TelecomExpenseManagementPartnerable) + res[i] = v.(AdhocCallable) } } m.SetValue(res) @@ -45,19 +45,19 @@ func (m *TelecomExpenseManagementPartnerCollectionResponse) GetFieldDeserializer return res } // GetValue gets the value property value. The value property -// returns a []TelecomExpenseManagementPartnerable when successful -func (m *TelecomExpenseManagementPartnerCollectionResponse) GetValue()([]TelecomExpenseManagementPartnerable) { +// returns a []AdhocCallable when successful +func (m *AdhocCallCollectionResponse) GetValue()([]AdhocCallable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.([]TelecomExpenseManagementPartnerable) + return val.([]AdhocCallable) } return nil } // Serialize serializes information the current object -func (m *TelecomExpenseManagementPartnerCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { +func (m *AdhocCallCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.BaseCollectionPaginationCountResponse.Serialize(writer) if err != nil { return err @@ -77,15 +77,15 @@ func (m *TelecomExpenseManagementPartnerCollectionResponse) Serialize(writer i87 return nil } // SetValue sets the value property value. The value property -func (m *TelecomExpenseManagementPartnerCollectionResponse) SetValue(value []TelecomExpenseManagementPartnerable)() { +func (m *AdhocCallCollectionResponse) SetValue(value []AdhocCallable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) } } -type TelecomExpenseManagementPartnerCollectionResponseable interface { +type AdhocCallCollectionResponseable interface { BaseCollectionPaginationCountResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetValue()([]TelecomExpenseManagementPartnerable) - SetValue(value []TelecomExpenseManagementPartnerable)() + GetValue()([]AdhocCallable) + SetValue(value []AdhocCallable)() } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/agreement_acceptance.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/agreement_acceptance.go index 304cd3d3cc..20e5660a3a 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/agreement_acceptance.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/agreement_acceptance.go @@ -255,7 +255,7 @@ func (m *AgreementAcceptance) GetRecordedDateTime()(*i336074805fc853987abe6f7fe3 } return nil } -// GetState gets the state property value. The state of the agreement acceptance. Possible values are: accepted, declined. Supports $filter (eq). +// GetState gets the state property value. The state of the agreement acceptance. The possible values are: accepted, declined. Supports $filter (eq). // returns a *AgreementAcceptanceState when successful func (m *AgreementAcceptance) GetState()(*AgreementAcceptanceState) { val, err := m.GetBackingStore().Get("state") @@ -458,7 +458,7 @@ func (m *AgreementAcceptance) SetRecordedDateTime(value *i336074805fc853987abe6f panic(err) } } -// SetState sets the state property value. The state of the agreement acceptance. Possible values are: accepted, declined. Supports $filter (eq). +// SetState sets the state property value. The state of the agreement acceptance. The possible values are: accepted, declined. Supports $filter (eq). func (m *AgreementAcceptance) SetState(value *AgreementAcceptanceState)() { err := m.GetBackingStore().Set("state", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ai_agent_info.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ai_agent_info.go new file mode 100644 index 0000000000..0117c6d136 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ai_agent_info.go @@ -0,0 +1,79 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AiAgentInfo struct { + AiInteractionEntity +} +// NewAiAgentInfo instantiates a new AiAgentInfo and sets the default values. +func NewAiAgentInfo()(*AiAgentInfo) { + m := &AiAgentInfo{ + AiInteractionEntity: *NewAiInteractionEntity(), + } + return m +} +// CreateAiAgentInfoFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAiAgentInfoFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAiAgentInfo(), nil +} +// GetBlueprintId gets the blueprintId property value. The blueprintId property +// returns a *string when successful +func (m *AiAgentInfo) GetBlueprintId()(*string) { + val, err := m.GetBackingStore().Get("blueprintId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AiAgentInfo) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.AiInteractionEntity.GetFieldDeserializers() + res["blueprintId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetBlueprintId(val) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *AiAgentInfo) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.AiInteractionEntity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("blueprintId", m.GetBlueprintId()) + if err != nil { + return err + } + } + return nil +} +// SetBlueprintId sets the blueprintId property value. The blueprintId property +func (m *AiAgentInfo) SetBlueprintId(value *string)() { + err := m.GetBackingStore().Set("blueprintId", value) + if err != nil { + panic(err) + } +} +type AiAgentInfoable interface { + AiInteractionEntityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBlueprintId()(*string) + SetBlueprintId(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ai_interaction_entity.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ai_interaction_entity.go new file mode 100644 index 0000000000..0b777a394d --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ai_interaction_entity.go @@ -0,0 +1,247 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type AiInteractionEntity struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewAiInteractionEntity instantiates a new AiInteractionEntity and sets the default values. +func NewAiInteractionEntity()(*AiInteractionEntity) { + m := &AiInteractionEntity{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateAiInteractionEntityFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAiInteractionEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.aiAgentInfo": + return NewAiAgentInfo(), nil + case "#microsoft.graph.aiInteractionPlugin": + return NewAiInteractionPlugin(), nil + } + } + } + } + return NewAiInteractionEntity(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *AiInteractionEntity) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *AiInteractionEntity) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AiInteractionEntity) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["identifier"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetIdentifier(val) + } + return nil + } + res["name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetName(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["version"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetVersion(val) + } + return nil + } + return res +} +// GetIdentifier gets the identifier property value. The identifier property +// returns a *string when successful +func (m *AiInteractionEntity) GetIdentifier()(*string) { + val, err := m.GetBackingStore().Get("identifier") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetName gets the name property value. The name property +// returns a *string when successful +func (m *AiInteractionEntity) GetName()(*string) { + val, err := m.GetBackingStore().Get("name") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *AiInteractionEntity) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetVersion gets the version property value. The version property +// returns a *string when successful +func (m *AiInteractionEntity) GetVersion()(*string) { + val, err := m.GetBackingStore().Get("version") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *AiInteractionEntity) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("identifier", m.GetIdentifier()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("name", m.GetName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("version", m.GetVersion()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *AiInteractionEntity) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *AiInteractionEntity) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetIdentifier sets the identifier property value. The identifier property +func (m *AiInteractionEntity) SetIdentifier(value *string)() { + err := m.GetBackingStore().Set("identifier", value) + if err != nil { + panic(err) + } +} +// SetName sets the name property value. The name property +func (m *AiInteractionEntity) SetName(value *string)() { + err := m.GetBackingStore().Set("name", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *AiInteractionEntity) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetVersion sets the version property value. The version property +func (m *AiInteractionEntity) SetVersion(value *string)() { + err := m.GetBackingStore().Set("version", value) + if err != nil { + panic(err) + } +} +type AiInteractionEntityable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetIdentifier()(*string) + GetName()(*string) + GetOdataType()(*string) + GetVersion()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetIdentifier(value *string)() + SetName(value *string)() + SetOdataType(value *string)() + SetVersion(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ai_interaction_plugin.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ai_interaction_plugin.go index 15f1f6d38c..0a0643b5d8 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ai_interaction_plugin.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ai_interaction_plugin.go @@ -5,19 +5,16 @@ package models import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) type AiInteractionPlugin struct { - // Stores model information. - backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore + AiInteractionEntity } // NewAiInteractionPlugin instantiates a new AiInteractionPlugin and sets the default values. func NewAiInteractionPlugin()(*AiInteractionPlugin) { m := &AiInteractionPlugin{ + AiInteractionEntity: *NewAiInteractionEntity(), } - m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); - m.SetAdditionalData(make(map[string]any)) return m } // CreateAiInteractionPluginFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value @@ -25,203 +22,21 @@ func NewAiInteractionPlugin()(*AiInteractionPlugin) { func CreateAiInteractionPluginFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewAiInteractionPlugin(), nil } -// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -// returns a map[string]any when successful -func (m *AiInteractionPlugin) GetAdditionalData()(map[string]any) { - val , err := m.backingStore.Get("additionalData") - if err != nil { - panic(err) - } - if val == nil { - var value = make(map[string]any); - m.SetAdditionalData(value); - } - return val.(map[string]any) -} -// GetBackingStore gets the BackingStore property value. Stores model information. -// returns a BackingStore when successful -func (m *AiInteractionPlugin) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { - return m.backingStore -} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *AiInteractionPlugin) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { - res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) - res["identifier"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetStringValue() - if err != nil { - return err - } - if val != nil { - m.SetIdentifier(val) - } - return nil - } - res["name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetStringValue() - if err != nil { - return err - } - if val != nil { - m.SetName(val) - } - return nil - } - res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetStringValue() - if err != nil { - return err - } - if val != nil { - m.SetOdataType(val) - } - return nil - } - res["version"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetStringValue() - if err != nil { - return err - } - if val != nil { - m.SetVersion(val) - } - return nil - } + res := m.AiInteractionEntity.GetFieldDeserializers() return res } -// GetIdentifier gets the identifier property value. The unique identifier of the plugin. -// returns a *string when successful -func (m *AiInteractionPlugin) GetIdentifier()(*string) { - val, err := m.GetBackingStore().Get("identifier") - if err != nil { - panic(err) - } - if val != nil { - return val.(*string) - } - return nil -} -// GetName gets the name property value. The display name of the plugin. -// returns a *string when successful -func (m *AiInteractionPlugin) GetName()(*string) { - val, err := m.GetBackingStore().Get("name") - if err != nil { - panic(err) - } - if val != nil { - return val.(*string) - } - return nil -} -// GetOdataType gets the @odata.type property value. The OdataType property -// returns a *string when successful -func (m *AiInteractionPlugin) GetOdataType()(*string) { - val, err := m.GetBackingStore().Get("odataType") - if err != nil { - panic(err) - } - if val != nil { - return val.(*string) - } - return nil -} -// GetVersion gets the version property value. The version of the plugin used. -// returns a *string when successful -func (m *AiInteractionPlugin) GetVersion()(*string) { - val, err := m.GetBackingStore().Get("version") - if err != nil { - panic(err) - } - if val != nil { - return val.(*string) - } - return nil -} // Serialize serializes information the current object func (m *AiInteractionPlugin) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { - { - err := writer.WriteStringValue("identifier", m.GetIdentifier()) - if err != nil { - return err - } - } - { - err := writer.WriteStringValue("name", m.GetName()) - if err != nil { - return err - } - } - { - err := writer.WriteStringValue("@odata.type", m.GetOdataType()) - if err != nil { - return err - } - } - { - err := writer.WriteStringValue("version", m.GetVersion()) - if err != nil { - return err - } - } - { - err := writer.WriteAdditionalData(m.GetAdditionalData()) - if err != nil { - return err - } - } - return nil -} -// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -func (m *AiInteractionPlugin) SetAdditionalData(value map[string]any)() { - err := m.GetBackingStore().Set("additionalData", value) + err := m.AiInteractionEntity.Serialize(writer) if err != nil { - panic(err) - } -} -// SetBackingStore sets the BackingStore property value. Stores model information. -func (m *AiInteractionPlugin) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { - m.backingStore = value -} -// SetIdentifier sets the identifier property value. The unique identifier of the plugin. -func (m *AiInteractionPlugin) SetIdentifier(value *string)() { - err := m.GetBackingStore().Set("identifier", value) - if err != nil { - panic(err) - } -} -// SetName sets the name property value. The display name of the plugin. -func (m *AiInteractionPlugin) SetName(value *string)() { - err := m.GetBackingStore().Set("name", value) - if err != nil { - panic(err) - } -} -// SetOdataType sets the @odata.type property value. The OdataType property -func (m *AiInteractionPlugin) SetOdataType(value *string)() { - err := m.GetBackingStore().Set("odataType", value) - if err != nil { - panic(err) - } -} -// SetVersion sets the version property value. The version of the plugin used. -func (m *AiInteractionPlugin) SetVersion(value *string)() { - err := m.GetBackingStore().Set("version", value) - if err != nil { - panic(err) + return err } + return nil } type AiInteractionPluginable interface { - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder - ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + AiInteractionEntityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetIdentifier()(*string) - GetName()(*string) - GetOdataType()(*string) - GetVersion()(*string) - SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetIdentifier(value *string)() - SetName(value *string)() - SetOdataType(value *string)() - SetVersion(value *string)() } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ai_online_meeting.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ai_online_meeting.go new file mode 100644 index 0000000000..a2795da141 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ai_online_meeting.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AiOnlineMeeting struct { + Entity +} +// NewAiOnlineMeeting instantiates a new AiOnlineMeeting and sets the default values. +func NewAiOnlineMeeting()(*AiOnlineMeeting) { + m := &AiOnlineMeeting{ + Entity: *NewEntity(), + } + return m +} +// CreateAiOnlineMeetingFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAiOnlineMeetingFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAiOnlineMeeting(), nil +} +// GetAiInsights gets the aiInsights property value. The aiInsights property +// returns a []CallAiInsightable when successful +func (m *AiOnlineMeeting) GetAiInsights()([]CallAiInsightable) { + val, err := m.GetBackingStore().Get("aiInsights") + if err != nil { + panic(err) + } + if val != nil { + return val.([]CallAiInsightable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AiOnlineMeeting) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["aiInsights"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateCallAiInsightFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]CallAiInsightable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(CallAiInsightable) + } + } + m.SetAiInsights(res) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *AiOnlineMeeting) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetAiInsights() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAiInsights())) + for i, v := range m.GetAiInsights() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("aiInsights", cast) + if err != nil { + return err + } + } + return nil +} +// SetAiInsights sets the aiInsights property value. The aiInsights property +func (m *AiOnlineMeeting) SetAiInsights(value []CallAiInsightable)() { + err := m.GetBackingStore().Set("aiInsights", value) + if err != nil { + panic(err) + } +} +type AiOnlineMeetingable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAiInsights()([]CallAiInsightable) + SetAiInsights(value []CallAiInsightable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ai_user.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ai_user.go index 5eca6781b4..5945cf8817 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ai_user.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ai_user.go @@ -36,6 +36,22 @@ func (m *AiUser) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2689638 } return nil } + res["onlineMeetings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAiOnlineMeetingFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AiOnlineMeetingable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AiOnlineMeetingable) + } + } + m.SetOnlineMeetings(res) + } + return nil + } return res } // GetInteractionHistory gets the interactionHistory property value. The interactionHistory property @@ -50,6 +66,18 @@ func (m *AiUser) GetInteractionHistory()(AiInteractionHistoryable) { } return nil } +// GetOnlineMeetings gets the onlineMeetings property value. The onlineMeetings property +// returns a []AiOnlineMeetingable when successful +func (m *AiUser) GetOnlineMeetings()([]AiOnlineMeetingable) { + val, err := m.GetBackingStore().Get("onlineMeetings") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AiOnlineMeetingable) + } + return nil +} // Serialize serializes information the current object func (m *AiUser) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.Entity.Serialize(writer) @@ -62,6 +90,18 @@ func (m *AiUser) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c return err } } + if m.GetOnlineMeetings() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetOnlineMeetings())) + for i, v := range m.GetOnlineMeetings() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("onlineMeetings", cast) + if err != nil { + return err + } + } return nil } // SetInteractionHistory sets the interactionHistory property value. The interactionHistory property @@ -71,9 +111,18 @@ func (m *AiUser) SetInteractionHistory(value AiInteractionHistoryable)() { panic(err) } } +// SetOnlineMeetings sets the onlineMeetings property value. The onlineMeetings property +func (m *AiUser) SetOnlineMeetings(value []AiOnlineMeetingable)() { + err := m.GetBackingStore().Set("onlineMeetings", value) + if err != nil { + panic(err) + } +} type AiUserable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetInteractionHistory()(AiInteractionHistoryable) + GetOnlineMeetings()([]AiOnlineMeetingable) SetInteractionHistory(value AiInteractionHistoryable)() + SetOnlineMeetings(value []AiOnlineMeetingable)() } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/akamai_attack_group_action_model.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/akamai_attack_group_action_model.go new file mode 100644 index 0000000000..0988713c6b --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/akamai_attack_group_action_model.go @@ -0,0 +1,190 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type AkamaiAttackGroupActionModel struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewAkamaiAttackGroupActionModel instantiates a new AkamaiAttackGroupActionModel and sets the default values. +func NewAkamaiAttackGroupActionModel()(*AkamaiAttackGroupActionModel) { + m := &AkamaiAttackGroupActionModel{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateAkamaiAttackGroupActionModelFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAkamaiAttackGroupActionModelFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAkamaiAttackGroupActionModel(), nil +} +// GetAction gets the action property value. The action Akamai applies to the attack group when a matching threat is detected. Common values include deny, none or alert. +// returns a *string when successful +func (m *AkamaiAttackGroupActionModel) GetAction()(*string) { + val, err := m.GetBackingStore().Get("action") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *AkamaiAttackGroupActionModel) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *AkamaiAttackGroupActionModel) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AkamaiAttackGroupActionModel) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["action"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetAction(val) + } + return nil + } + res["group"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetGroup(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetGroup gets the group property value. The name or identifier of the attack group. This value categorizes the type of attack the action applies to. +// returns a *string when successful +func (m *AkamaiAttackGroupActionModel) GetGroup()(*string) { + val, err := m.GetBackingStore().Get("group") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *AkamaiAttackGroupActionModel) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *AkamaiAttackGroupActionModel) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("action", m.GetAction()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("group", m.GetGroup()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAction sets the action property value. The action Akamai applies to the attack group when a matching threat is detected. Common values include deny, none or alert. +func (m *AkamaiAttackGroupActionModel) SetAction(value *string)() { + err := m.GetBackingStore().Set("action", value) + if err != nil { + panic(err) + } +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *AkamaiAttackGroupActionModel) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *AkamaiAttackGroupActionModel) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetGroup sets the group property value. The name or identifier of the attack group. This value categorizes the type of attack the action applies to. +func (m *AkamaiAttackGroupActionModel) SetGroup(value *string)() { + err := m.GetBackingStore().Set("group", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *AkamaiAttackGroupActionModel) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type AkamaiAttackGroupActionModelable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAction()(*string) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetGroup()(*string) + GetOdataType()(*string) + SetAction(value *string)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetGroup(value *string)() + SetOdataType(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/akamai_custom_rule_model.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/akamai_custom_rule_model.go new file mode 100644 index 0000000000..4e0667dc79 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/akamai_custom_rule_model.go @@ -0,0 +1,227 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type AkamaiCustomRuleModel struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewAkamaiCustomRuleModel instantiates a new AkamaiCustomRuleModel and sets the default values. +func NewAkamaiCustomRuleModel()(*AkamaiCustomRuleModel) { + m := &AkamaiCustomRuleModel{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateAkamaiCustomRuleModelFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAkamaiCustomRuleModelFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAkamaiCustomRuleModel(), nil +} +// GetAction gets the action property value. The action Akamai applies when the rule matches traffic. Common values include deny, none or alert. +// returns a *string when successful +func (m *AkamaiCustomRuleModel) GetAction()(*string) { + val, err := m.GetBackingStore().Get("action") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *AkamaiCustomRuleModel) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *AkamaiCustomRuleModel) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AkamaiCustomRuleModel) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["action"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetAction(val) + } + return nil + } + res["name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetName(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["ruleId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetRuleId(val) + } + return nil + } + return res +} +// GetName gets the name property value. Friendly name for the rule, used in UIs or logs to help administrators identify the rule (for example, 'Block suspicious user agents'). +// returns a *string when successful +func (m *AkamaiCustomRuleModel) GetName()(*string) { + val, err := m.GetBackingStore().Get("name") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *AkamaiCustomRuleModel) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetRuleId gets the ruleId property value. Unique identifier assigned to the rule by Akamai or the integration. Use this identifier to reference, update, or remove the rule in API requests. +// returns a *string when successful +func (m *AkamaiCustomRuleModel) GetRuleId()(*string) { + val, err := m.GetBackingStore().Get("ruleId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *AkamaiCustomRuleModel) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("action", m.GetAction()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("name", m.GetName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("ruleId", m.GetRuleId()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAction sets the action property value. The action Akamai applies when the rule matches traffic. Common values include deny, none or alert. +func (m *AkamaiCustomRuleModel) SetAction(value *string)() { + err := m.GetBackingStore().Set("action", value) + if err != nil { + panic(err) + } +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *AkamaiCustomRuleModel) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *AkamaiCustomRuleModel) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetName sets the name property value. Friendly name for the rule, used in UIs or logs to help administrators identify the rule (for example, 'Block suspicious user agents'). +func (m *AkamaiCustomRuleModel) SetName(value *string)() { + err := m.GetBackingStore().Set("name", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *AkamaiCustomRuleModel) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetRuleId sets the ruleId property value. Unique identifier assigned to the rule by Akamai or the integration. Use this identifier to reference, update, or remove the rule in API requests. +func (m *AkamaiCustomRuleModel) SetRuleId(value *string)() { + err := m.GetBackingStore().Set("ruleId", value) + if err != nil { + panic(err) + } +} +type AkamaiCustomRuleModelable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAction()(*string) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetName()(*string) + GetOdataType()(*string) + GetRuleId()(*string) + SetAction(value *string)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetName(value *string)() + SetOdataType(value *string)() + SetRuleId(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/akamai_rapid_rules_model.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/akamai_rapid_rules_model.go new file mode 100644 index 0000000000..93f7445560 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/akamai_rapid_rules_model.go @@ -0,0 +1,190 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type AkamaiRapidRulesModel struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewAkamaiRapidRulesModel instantiates a new AkamaiRapidRulesModel and sets the default values. +func NewAkamaiRapidRulesModel()(*AkamaiRapidRulesModel) { + m := &AkamaiRapidRulesModel{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateAkamaiRapidRulesModelFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAkamaiRapidRulesModelFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAkamaiRapidRulesModel(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *AkamaiRapidRulesModel) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *AkamaiRapidRulesModel) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetDefaultAction gets the defaultAction property value. The default action Akamai applies to traffic that matches Rapid Rules. Common values include deny, none or alert. +// returns a *string when successful +func (m *AkamaiRapidRulesModel) GetDefaultAction()(*string) { + val, err := m.GetBackingStore().Get("defaultAction") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AkamaiRapidRulesModel) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["defaultAction"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDefaultAction(val) + } + return nil + } + res["isEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsEnabled(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetIsEnabled gets the isEnabled property value. Indicates whether Akamai Rapid Rules are enabled for the WAF integration. If true, Rapid Rules are active and applied to incoming traffic. +// returns a *bool when successful +func (m *AkamaiRapidRulesModel) GetIsEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *AkamaiRapidRulesModel) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *AkamaiRapidRulesModel) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("defaultAction", m.GetDefaultAction()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isEnabled", m.GetIsEnabled()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *AkamaiRapidRulesModel) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *AkamaiRapidRulesModel) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetDefaultAction sets the defaultAction property value. The default action Akamai applies to traffic that matches Rapid Rules. Common values include deny, none or alert. +func (m *AkamaiRapidRulesModel) SetDefaultAction(value *string)() { + err := m.GetBackingStore().Set("defaultAction", value) + if err != nil { + panic(err) + } +} +// SetIsEnabled sets the isEnabled property value. Indicates whether Akamai Rapid Rules are enabled for the WAF integration. If true, Rapid Rules are active and applied to incoming traffic. +func (m *AkamaiRapidRulesModel) SetIsEnabled(value *bool)() { + err := m.GetBackingStore().Set("isEnabled", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *AkamaiRapidRulesModel) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type AkamaiRapidRulesModelable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDefaultAction()(*string) + GetIsEnabled()(*bool) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDefaultAction(value *string)() + SetIsEnabled(value *bool)() + SetOdataType(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/akamai_verified_details_model.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/akamai_verified_details_model.go new file mode 100644 index 0000000000..6b6234c346 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/akamai_verified_details_model.go @@ -0,0 +1,179 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AkamaiVerifiedDetailsModel struct { + WebApplicationFirewallVerifiedDetails +} +// NewAkamaiVerifiedDetailsModel instantiates a new AkamaiVerifiedDetailsModel and sets the default values. +func NewAkamaiVerifiedDetailsModel()(*AkamaiVerifiedDetailsModel) { + m := &AkamaiVerifiedDetailsModel{ + WebApplicationFirewallVerifiedDetails: *NewWebApplicationFirewallVerifiedDetails(), + } + odataTypeValue := "#microsoft.graph.akamaiVerifiedDetailsModel" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateAkamaiVerifiedDetailsModelFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAkamaiVerifiedDetailsModelFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAkamaiVerifiedDetailsModel(), nil +} +// GetActiveAttackGroups gets the activeAttackGroups property value. Collection of Akamai attack groups that are currently active for the zone or host, including the action applied to each group (for example, deny, none or alert). +// returns a []AkamaiAttackGroupActionModelable when successful +func (m *AkamaiVerifiedDetailsModel) GetActiveAttackGroups()([]AkamaiAttackGroupActionModelable) { + val, err := m.GetBackingStore().Get("activeAttackGroups") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AkamaiAttackGroupActionModelable) + } + return nil +} +// GetActiveCustomRules gets the activeCustomRules property value. Collection of Akamai custom rules that are currently enabled for the zone or host. Each entry includes rule metadata such as the rule identifier, friendly name, and the action taken when the rule matches traffic. +// returns a []AkamaiCustomRuleModelable when successful +func (m *AkamaiVerifiedDetailsModel) GetActiveCustomRules()([]AkamaiCustomRuleModelable) { + val, err := m.GetBackingStore().Get("activeCustomRules") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AkamaiCustomRuleModelable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AkamaiVerifiedDetailsModel) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.WebApplicationFirewallVerifiedDetails.GetFieldDeserializers() + res["activeAttackGroups"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAkamaiAttackGroupActionModelFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AkamaiAttackGroupActionModelable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AkamaiAttackGroupActionModelable) + } + } + m.SetActiveAttackGroups(res) + } + return nil + } + res["activeCustomRules"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAkamaiCustomRuleModelFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AkamaiCustomRuleModelable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AkamaiCustomRuleModelable) + } + } + m.SetActiveCustomRules(res) + } + return nil + } + res["rapidRules"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAkamaiRapidRulesModelFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetRapidRules(val.(AkamaiRapidRulesModelable)) + } + return nil + } + return res +} +// GetRapidRules gets the rapidRules property value. Configuration for Akamai Rapid Rules, including whether Rapid Rules are enabled and the default action applied to matching traffic. +// returns a AkamaiRapidRulesModelable when successful +func (m *AkamaiVerifiedDetailsModel) GetRapidRules()(AkamaiRapidRulesModelable) { + val, err := m.GetBackingStore().Get("rapidRules") + if err != nil { + panic(err) + } + if val != nil { + return val.(AkamaiRapidRulesModelable) + } + return nil +} +// Serialize serializes information the current object +func (m *AkamaiVerifiedDetailsModel) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.WebApplicationFirewallVerifiedDetails.Serialize(writer) + if err != nil { + return err + } + if m.GetActiveAttackGroups() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetActiveAttackGroups())) + for i, v := range m.GetActiveAttackGroups() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("activeAttackGroups", cast) + if err != nil { + return err + } + } + if m.GetActiveCustomRules() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetActiveCustomRules())) + for i, v := range m.GetActiveCustomRules() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("activeCustomRules", cast) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("rapidRules", m.GetRapidRules()) + if err != nil { + return err + } + } + return nil +} +// SetActiveAttackGroups sets the activeAttackGroups property value. Collection of Akamai attack groups that are currently active for the zone or host, including the action applied to each group (for example, deny, none or alert). +func (m *AkamaiVerifiedDetailsModel) SetActiveAttackGroups(value []AkamaiAttackGroupActionModelable)() { + err := m.GetBackingStore().Set("activeAttackGroups", value) + if err != nil { + panic(err) + } +} +// SetActiveCustomRules sets the activeCustomRules property value. Collection of Akamai custom rules that are currently enabled for the zone or host. Each entry includes rule metadata such as the rule identifier, friendly name, and the action taken when the rule matches traffic. +func (m *AkamaiVerifiedDetailsModel) SetActiveCustomRules(value []AkamaiCustomRuleModelable)() { + err := m.GetBackingStore().Set("activeCustomRules", value) + if err != nil { + panic(err) + } +} +// SetRapidRules sets the rapidRules property value. Configuration for Akamai Rapid Rules, including whether Rapid Rules are enabled and the default action applied to matching traffic. +func (m *AkamaiVerifiedDetailsModel) SetRapidRules(value AkamaiRapidRulesModelable)() { + err := m.GetBackingStore().Set("rapidRules", value) + if err != nil { + panic(err) + } +} +type AkamaiVerifiedDetailsModelable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + WebApplicationFirewallVerifiedDetailsable + GetActiveAttackGroups()([]AkamaiAttackGroupActionModelable) + GetActiveCustomRules()([]AkamaiCustomRuleModelable) + GetRapidRules()(AkamaiRapidRulesModelable) + SetActiveAttackGroups(value []AkamaiAttackGroupActionModelable)() + SetActiveCustomRules(value []AkamaiCustomRuleModelable)() + SetRapidRules(value AkamaiRapidRulesModelable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/akamai_web_application_firewall_provider.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/akamai_web_application_firewall_provider.go new file mode 100644 index 0000000000..e6227ae942 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/akamai_web_application_firewall_provider.go @@ -0,0 +1,192 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AkamaiWebApplicationFirewallProvider struct { + WebApplicationFirewallProvider +} +// NewAkamaiWebApplicationFirewallProvider instantiates a new AkamaiWebApplicationFirewallProvider and sets the default values. +func NewAkamaiWebApplicationFirewallProvider()(*AkamaiWebApplicationFirewallProvider) { + m := &AkamaiWebApplicationFirewallProvider{ + WebApplicationFirewallProvider: *NewWebApplicationFirewallProvider(), + } + odataTypeValue := "#microsoft.graph.akamaiWebApplicationFirewallProvider" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateAkamaiWebApplicationFirewallProviderFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAkamaiWebApplicationFirewallProviderFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAkamaiWebApplicationFirewallProvider(), nil +} +// GetAccessToken gets the accessToken property value. Akamai API access token used to authenticate to the Akamai account. Contact your Akamai Customer Success Manager for assistance with your accessToken. +// returns a *string when successful +func (m *AkamaiWebApplicationFirewallProvider) GetAccessToken()(*string) { + val, err := m.GetBackingStore().Get("accessToken") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetClientSecret gets the clientSecret property value. Akamai API client secret used in conjunction with the client token and access token for authentication. Contact your Akamai Customer Success Manager for assistance with this information. +// returns a *string when successful +func (m *AkamaiWebApplicationFirewallProvider) GetClientSecret()(*string) { + val, err := m.GetBackingStore().Get("clientSecret") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetClientToken gets the clientToken property value. Akamai API client token used for authentication to the Akamai account. Contact your Akamai Customer Success Manager for assistance with this information. +// returns a *string when successful +func (m *AkamaiWebApplicationFirewallProvider) GetClientToken()(*string) { + val, err := m.GetBackingStore().Get("clientToken") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AkamaiWebApplicationFirewallProvider) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.WebApplicationFirewallProvider.GetFieldDeserializers() + res["accessToken"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetAccessToken(val) + } + return nil + } + res["clientSecret"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetClientSecret(val) + } + return nil + } + res["clientToken"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetClientToken(val) + } + return nil + } + res["hostPrefix"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetHostPrefix(val) + } + return nil + } + return res +} +// GetHostPrefix gets the hostPrefix property value. Prefix used to identify the host or domain in Akamai configuration operations. This value may be required for certain API calls or configuration scenarios. +// returns a *string when successful +func (m *AkamaiWebApplicationFirewallProvider) GetHostPrefix()(*string) { + val, err := m.GetBackingStore().Get("hostPrefix") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *AkamaiWebApplicationFirewallProvider) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.WebApplicationFirewallProvider.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("accessToken", m.GetAccessToken()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("clientSecret", m.GetClientSecret()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("clientToken", m.GetClientToken()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("hostPrefix", m.GetHostPrefix()) + if err != nil { + return err + } + } + return nil +} +// SetAccessToken sets the accessToken property value. Akamai API access token used to authenticate to the Akamai account. Contact your Akamai Customer Success Manager for assistance with your accessToken. +func (m *AkamaiWebApplicationFirewallProvider) SetAccessToken(value *string)() { + err := m.GetBackingStore().Set("accessToken", value) + if err != nil { + panic(err) + } +} +// SetClientSecret sets the clientSecret property value. Akamai API client secret used in conjunction with the client token and access token for authentication. Contact your Akamai Customer Success Manager for assistance with this information. +func (m *AkamaiWebApplicationFirewallProvider) SetClientSecret(value *string)() { + err := m.GetBackingStore().Set("clientSecret", value) + if err != nil { + panic(err) + } +} +// SetClientToken sets the clientToken property value. Akamai API client token used for authentication to the Akamai account. Contact your Akamai Customer Success Manager for assistance with this information. +func (m *AkamaiWebApplicationFirewallProvider) SetClientToken(value *string)() { + err := m.GetBackingStore().Set("clientToken", value) + if err != nil { + panic(err) + } +} +// SetHostPrefix sets the hostPrefix property value. Prefix used to identify the host or domain in Akamai configuration operations. This value may be required for certain API calls or configuration scenarios. +func (m *AkamaiWebApplicationFirewallProvider) SetHostPrefix(value *string)() { + err := m.GetBackingStore().Set("hostPrefix", value) + if err != nil { + panic(err) + } +} +type AkamaiWebApplicationFirewallProviderable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + WebApplicationFirewallProviderable + GetAccessToken()(*string) + GetClientSecret()(*string) + GetClientToken()(*string) + GetHostPrefix()(*string) + SetAccessToken(value *string)() + SetClientSecret(value *string)() + SetClientToken(value *string)() + SetHostPrefix(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/alert.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/alert.go index c1c2d8709d..8fd347878c 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/alert.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/alert.go @@ -191,7 +191,7 @@ func (m *Alert) GetEventDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a163 } return nil } -// GetFeedback gets the feedback property value. Analyst feedback on the alert. Possible values are: unknown, truePositive, falsePositive, benignPositive. Supports update. +// GetFeedback gets the feedback property value. Analyst feedback on the alert. The possible values are: unknown, truePositive, falsePositive, benignPositive. Supports update. // returns a *AlertFeedback when successful func (m *Alert) GetFeedback()(*AlertFeedback) { val, err := m.GetBackingStore().Get("feedback") @@ -1458,7 +1458,7 @@ func (m *Alert) SetEventDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077 panic(err) } } -// SetFeedback sets the feedback property value. Analyst feedback on the alert. Possible values are: unknown, truePositive, falsePositive, benignPositive. Supports update. +// SetFeedback sets the feedback property value. Analyst feedback on the alert. The possible values are: unknown, truePositive, falsePositive, benignPositive. Supports update. func (m *Alert) SetFeedback(value *AlertFeedback)() { err := m.GetBackingStore().Set("feedback", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/allowed_target_scope.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/allowed_target_scope.go index 3187a44ac6..e343d62d2c 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/allowed_target_scope.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/allowed_target_scope.go @@ -14,11 +14,12 @@ const ( ALLDIRECTORYSERVICEPRINCIPALS_ALLOWEDTARGETSCOPE ALLCONFIGUREDCONNECTEDORGANIZATIONUSERS_ALLOWEDTARGETSCOPE ALLEXTERNALUSERS_ALLOWEDTARGETSCOPE + ALLDIRECTORYAGENTIDENTITIES_ALLOWEDTARGETSCOPE UNKNOWNFUTUREVALUE_ALLOWEDTARGETSCOPE ) func (i AllowedTargetScope) String() string { - return []string{"notSpecified", "specificDirectoryUsers", "specificConnectedOrganizationUsers", "specificDirectoryServicePrincipals", "allMemberUsers", "allDirectoryUsers", "allDirectoryServicePrincipals", "allConfiguredConnectedOrganizationUsers", "allExternalUsers", "unknownFutureValue"}[i] + return []string{"notSpecified", "specificDirectoryUsers", "specificConnectedOrganizationUsers", "specificDirectoryServicePrincipals", "allMemberUsers", "allDirectoryUsers", "allDirectoryServicePrincipals", "allConfiguredConnectedOrganizationUsers", "allExternalUsers", "allDirectoryAgentIdentities", "unknownFutureValue"}[i] } func ParseAllowedTargetScope(v string) (any, error) { result := NOTSPECIFIED_ALLOWEDTARGETSCOPE @@ -41,6 +42,8 @@ func ParseAllowedTargetScope(v string) (any, error) { result = ALLCONFIGUREDCONNECTEDORGANIZATIONUSERS_ALLOWEDTARGETSCOPE case "allExternalUsers": result = ALLEXTERNALUSERS_ALLOWEDTARGETSCOPE + case "allDirectoryAgentIdentities": + result = ALLDIRECTORYAGENTIDENTITIES_ALLOWEDTARGETSCOPE case "unknownFutureValue": result = UNKNOWNFUTUREVALUE_ALLOWEDTARGETSCOPE default: diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/alteration_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/alteration_response.go index e9f744ee05..2f7d5d44f8 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/alteration_response.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/alteration_response.go @@ -125,7 +125,7 @@ func (m *AlterationResponse) GetQueryAlteration()(SearchAlterationable) { } return nil } -// GetQueryAlterationType gets the queryAlterationType property value. Defines the type of the spelling correction. Possible values are: suggestion, modification. +// GetQueryAlterationType gets the queryAlterationType property value. Defines the type of the spelling correction. The possible values are: suggestion, modification. // returns a *SearchAlterationType when successful func (m *AlterationResponse) GetQueryAlterationType()(*SearchAlterationType) { val, err := m.GetBackingStore().Get("queryAlterationType") @@ -204,7 +204,7 @@ func (m *AlterationResponse) SetQueryAlteration(value SearchAlterationable)() { panic(err) } } -// SetQueryAlterationType sets the queryAlterationType property value. Defines the type of the spelling correction. Possible values are: suggestion, modification. +// SetQueryAlterationType sets the queryAlterationType property value. Defines the type of the spelling correction. The possible values are: suggestion, modification. func (m *AlterationResponse) SetQueryAlterationType(value *SearchAlterationType)() { err := m.GetBackingStore().Set("queryAlterationType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/android_compliance_policy.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/android_compliance_policy.go index fdf9407364..4343222839 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/android_compliance_policy.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/android_compliance_policy.go @@ -373,7 +373,7 @@ func (m *AndroidCompliancePolicy) GetPasswordRequiredType()(*AndroidRequiredPass } return nil } -// GetSecurityBlockJailbrokenDevices gets the securityBlockJailbrokenDevices property value. Devices must not be jailbroken or rooted. +// GetSecurityBlockJailbrokenDevices gets the securityBlockJailbrokenDevices property value. Indicates the device should not be rooted. When TRUE, if the device is detected as rooted it will be reported non-compliant. When FALSE, the device is not reported as non-compliant regardless of device rooted state. Default is FALSE. // returns a *bool when successful func (m *AndroidCompliancePolicy) GetSecurityBlockJailbrokenDevices()(*bool) { val, err := m.GetBackingStore().Get("securityBlockJailbrokenDevices") @@ -706,7 +706,7 @@ func (m *AndroidCompliancePolicy) SetPasswordRequiredType(value *AndroidRequired panic(err) } } -// SetSecurityBlockJailbrokenDevices sets the securityBlockJailbrokenDevices property value. Devices must not be jailbroken or rooted. +// SetSecurityBlockJailbrokenDevices sets the securityBlockJailbrokenDevices property value. Indicates the device should not be rooted. When TRUE, if the device is detected as rooted it will be reported non-compliant. When FALSE, the device is not reported as non-compliant regardless of device rooted state. Default is FALSE. func (m *AndroidCompliancePolicy) SetSecurityBlockJailbrokenDevices(value *bool)() { err := m.GetBackingStore().Set("securityBlockJailbrokenDevices", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/android_store_app.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/android_store_app.go index a34b6e316c..6a0738aed4 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/android_store_app.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/android_store_app.go @@ -85,7 +85,7 @@ func (m *AndroidStoreApp) GetMinimumSupportedOperatingSystem()(AndroidMinimumOpe } return nil } -// GetPackageId gets the packageId property value. The package identifier. +// GetPackageId gets the packageId property value. The package identifier. This property is read-only. // returns a *string when successful func (m *AndroidStoreApp) GetPackageId()(*string) { val, err := m.GetBackingStore().Get("packageId") @@ -131,7 +131,7 @@ func (m *AndroidStoreApp) SetMinimumSupportedOperatingSystem(value AndroidMinimu panic(err) } } -// SetPackageId sets the packageId property value. The package identifier. +// SetPackageId sets the packageId property value. The package identifier. This property is read-only. func (m *AndroidStoreApp) SetPackageId(value *string)() { err := m.GetBackingStore().Set("packageId", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/android_work_profile_compliance_policy.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/android_work_profile_compliance_policy.go index fdf05e1004..d255c989ce 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/android_work_profile_compliance_policy.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/android_work_profile_compliance_policy.go @@ -373,7 +373,7 @@ func (m *AndroidWorkProfileCompliancePolicy) GetPasswordRequiredType()(*AndroidR } return nil } -// GetSecurityBlockJailbrokenDevices gets the securityBlockJailbrokenDevices property value. Devices must not be jailbroken or rooted. +// GetSecurityBlockJailbrokenDevices gets the securityBlockJailbrokenDevices property value. Indicates the device should not be rooted. When TRUE, if the device is detected as rooted it will be reported non-compliant. When FALSE, the device is not reported as non-compliant regardless of device rooted state. Default is FALSE. // returns a *bool when successful func (m *AndroidWorkProfileCompliancePolicy) GetSecurityBlockJailbrokenDevices()(*bool) { val, err := m.GetBackingStore().Get("securityBlockJailbrokenDevices") @@ -433,7 +433,7 @@ func (m *AndroidWorkProfileCompliancePolicy) GetSecurityRequireGooglePlayService } return nil } -// GetSecurityRequireSafetyNetAttestationBasicIntegrity gets the securityRequireSafetyNetAttestationBasicIntegrity property value. Require the device to pass the SafetyNet basic integrity check. +// GetSecurityRequireSafetyNetAttestationBasicIntegrity gets the securityRequireSafetyNetAttestationBasicIntegrity property value. Require the device to pass the Play Integrity basic integrity check. // returns a *bool when successful func (m *AndroidWorkProfileCompliancePolicy) GetSecurityRequireSafetyNetAttestationBasicIntegrity()(*bool) { val, err := m.GetBackingStore().Get("securityRequireSafetyNetAttestationBasicIntegrity") @@ -445,7 +445,7 @@ func (m *AndroidWorkProfileCompliancePolicy) GetSecurityRequireSafetyNetAttestat } return nil } -// GetSecurityRequireSafetyNetAttestationCertifiedDevice gets the securityRequireSafetyNetAttestationCertifiedDevice property value. Require the device to pass the SafetyNet certified device check. +// GetSecurityRequireSafetyNetAttestationCertifiedDevice gets the securityRequireSafetyNetAttestationCertifiedDevice property value. Require the device to pass the Play Integrity device integrity check. // returns a *bool when successful func (m *AndroidWorkProfileCompliancePolicy) GetSecurityRequireSafetyNetAttestationCertifiedDevice()(*bool) { val, err := m.GetBackingStore().Get("securityRequireSafetyNetAttestationCertifiedDevice") @@ -706,7 +706,7 @@ func (m *AndroidWorkProfileCompliancePolicy) SetPasswordRequiredType(value *Andr panic(err) } } -// SetSecurityBlockJailbrokenDevices sets the securityBlockJailbrokenDevices property value. Devices must not be jailbroken or rooted. +// SetSecurityBlockJailbrokenDevices sets the securityBlockJailbrokenDevices property value. Indicates the device should not be rooted. When TRUE, if the device is detected as rooted it will be reported non-compliant. When FALSE, the device is not reported as non-compliant regardless of device rooted state. Default is FALSE. func (m *AndroidWorkProfileCompliancePolicy) SetSecurityBlockJailbrokenDevices(value *bool)() { err := m.GetBackingStore().Set("securityBlockJailbrokenDevices", value) if err != nil { @@ -741,14 +741,14 @@ func (m *AndroidWorkProfileCompliancePolicy) SetSecurityRequireGooglePlayService panic(err) } } -// SetSecurityRequireSafetyNetAttestationBasicIntegrity sets the securityRequireSafetyNetAttestationBasicIntegrity property value. Require the device to pass the SafetyNet basic integrity check. +// SetSecurityRequireSafetyNetAttestationBasicIntegrity sets the securityRequireSafetyNetAttestationBasicIntegrity property value. Require the device to pass the Play Integrity basic integrity check. func (m *AndroidWorkProfileCompliancePolicy) SetSecurityRequireSafetyNetAttestationBasicIntegrity(value *bool)() { err := m.GetBackingStore().Set("securityRequireSafetyNetAttestationBasicIntegrity", value) if err != nil { panic(err) } } -// SetSecurityRequireSafetyNetAttestationCertifiedDevice sets the securityRequireSafetyNetAttestationCertifiedDevice property value. Require the device to pass the SafetyNet certified device check. +// SetSecurityRequireSafetyNetAttestationCertifiedDevice sets the securityRequireSafetyNetAttestationCertifiedDevice property value. Require the device to pass the Play Integrity device integrity check. func (m *AndroidWorkProfileCompliancePolicy) SetSecurityRequireSafetyNetAttestationCertifiedDevice(value *bool)() { err := m.GetBackingStore().Set("securityRequireSafetyNetAttestationCertifiedDevice", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/apple_push_notification_certificate.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/apple_push_notification_certificate.go index db71305150..a880d61972 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/apple_push_notification_certificate.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/apple_push_notification_certificate.go @@ -36,7 +36,7 @@ func (m *ApplePushNotificationCertificate) GetAppleIdentifier()(*string) { } return nil } -// GetCertificate gets the certificate property value. Not yet documented +// GetCertificate gets the certificate property value. The certificate property // returns a *string when successful func (m *ApplePushNotificationCertificate) GetCertificate()(*string) { val, err := m.GetBackingStore().Get("certificate") @@ -263,7 +263,7 @@ func (m *ApplePushNotificationCertificate) SetAppleIdentifier(value *string)() { panic(err) } } -// SetCertificate sets the certificate property value. Not yet documented +// SetCertificate sets the certificate property value. The certificate property func (m *ApplePushNotificationCertificate) SetCertificate(value *string)() { err := m.GetBackingStore().Set("certificate", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/application.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/application.go index c64fceb5e8..b871775144 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/application.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/application.go @@ -170,7 +170,7 @@ func (m *Application) GetDescription()(*string) { } return nil } -// GetDisabledByMicrosoftStatus gets the disabledByMicrosoftStatus property value. Specifies whether Microsoft has disabled the registered application. Possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). Supports $filter (eq, ne, not). +// GetDisabledByMicrosoftStatus gets the disabledByMicrosoftStatus property value. Specifies whether Microsoft has disabled the registered application. The possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). Supports $filter (eq, ne, not). // returns a *string when successful func (m *Application) GetDisabledByMicrosoftStatus()(*string) { val, err := m.GetBackingStore().Get("disabledByMicrosoftStatus") @@ -1625,7 +1625,7 @@ func (m *Application) SetDescription(value *string)() { panic(err) } } -// SetDisabledByMicrosoftStatus sets the disabledByMicrosoftStatus property value. Specifies whether Microsoft has disabled the registered application. Possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). Supports $filter (eq, ne, not). +// SetDisabledByMicrosoftStatus sets the disabledByMicrosoftStatus property value. Specifies whether Microsoft has disabled the registered application. The possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). Supports $filter (eq, ne, not). func (m *Application) SetDisabledByMicrosoftStatus(value *string)() { err := m.GetBackingStore().Set("disabledByMicrosoftStatus", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/application_template.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/application_template.go index d461248f5f..5725ccd2d0 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/application_template.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/application_template.go @@ -22,7 +22,7 @@ func NewApplicationTemplate()(*ApplicationTemplate) { func CreateApplicationTemplateFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewApplicationTemplate(), nil } -// GetCategories gets the categories property value. The list of categories for the application. Supported values can be: Collaboration, Business Management, Consumer, Content management, CRM, Data services, Developer services, E-commerce, Education, ERP, Finance, Health, Human resources, IT infrastructure, Mail, Management, Marketing, Media, Productivity, Project management, Telecommunications, Tools, Travel, and Web design & hosting. +// GetCategories gets the categories property value. The list of categories for the application. Supported values can be: Collaboration, Business Management, Consumer, Content management, CRM, Data services, Developer services, E-commerce, Education, ERP, Finance, Health, Human resources, IT infrastructure, Mail, Management, Marketing, Media, Productivity, Project management, Telecommunications, Tools, Travel, and Web design & hosting. Supports $filter (contains). // returns a []string when successful func (m *ApplicationTemplate) GetCategories()([]string) { val, err := m.GetBackingStore().Get("categories") @@ -46,7 +46,7 @@ func (m *ApplicationTemplate) GetDescription()(*string) { } return nil } -// GetDisplayName gets the displayName property value. The name of the application. +// GetDisplayName gets the displayName property value. The name of the application. Supports $filter (contains). // returns a *string when successful func (m *ApplicationTemplate) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -278,7 +278,7 @@ func (m *ApplicationTemplate) Serialize(writer i878a80d2330e89d26896388a3f487eef } return nil } -// SetCategories sets the categories property value. The list of categories for the application. Supported values can be: Collaboration, Business Management, Consumer, Content management, CRM, Data services, Developer services, E-commerce, Education, ERP, Finance, Health, Human resources, IT infrastructure, Mail, Management, Marketing, Media, Productivity, Project management, Telecommunications, Tools, Travel, and Web design & hosting. +// SetCategories sets the categories property value. The list of categories for the application. Supported values can be: Collaboration, Business Management, Consumer, Content management, CRM, Data services, Developer services, E-commerce, Education, ERP, Finance, Health, Human resources, IT infrastructure, Mail, Management, Marketing, Media, Productivity, Project management, Telecommunications, Tools, Travel, and Web design & hosting. Supports $filter (contains). func (m *ApplicationTemplate) SetCategories(value []string)() { err := m.GetBackingStore().Set("categories", value) if err != nil { @@ -292,7 +292,7 @@ func (m *ApplicationTemplate) SetDescription(value *string)() { panic(err) } } -// SetDisplayName sets the displayName property value. The name of the application. +// SetDisplayName sets the displayName property value. The name of the application. Supports $filter (contains). func (m *ApplicationTemplate) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/applied_conditional_access_policy.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/applied_conditional_access_policy.go index 71eacfcba9..010ac2af00 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/applied_conditional_access_policy.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/applied_conditional_access_policy.go @@ -181,7 +181,7 @@ func (m *AppliedConditionalAccessPolicy) GetOdataType()(*string) { } return nil } -// GetResult gets the result property value. Indicates the result of the CA policy that was triggered. Possible values are: success, failure, notApplied (policy isn't applied because policy conditions weren't met), notEnabled (This is due to the policy in a disabled state), unknown, unknownFutureValue, reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. +// GetResult gets the result property value. Indicates the result of the CA policy that was triggered. The possible values are: success, failure, notApplied (policy isn't applied because policy conditions weren't met), notEnabled (This is due to the policy in a disabled state), unknown, unknownFutureValue, reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. // returns a *AppliedConditionalAccessPolicyResult when successful func (m *AppliedConditionalAccessPolicy) GetResult()(*AppliedConditionalAccessPolicyResult) { val, err := m.GetBackingStore().Get("result") @@ -286,7 +286,7 @@ func (m *AppliedConditionalAccessPolicy) SetOdataType(value *string)() { panic(err) } } -// SetResult sets the result property value. Indicates the result of the CA policy that was triggered. Possible values are: success, failure, notApplied (policy isn't applied because policy conditions weren't met), notEnabled (This is due to the policy in a disabled state), unknown, unknownFutureValue, reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. +// SetResult sets the result property value. Indicates the result of the CA policy that was triggered. The possible values are: success, failure, notApplied (policy isn't applied because policy conditions weren't met), notEnabled (This is due to the policy in a disabled state), unknown, unknownFutureValue, reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. func (m *AppliedConditionalAccessPolicy) SetResult(value *AppliedConditionalAccessPolicyResult)() { err := m.GetBackingStore().Set("result", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/arkose_fraud_protection_provider.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/arkose_fraud_protection_provider.go new file mode 100644 index 0000000000..9b8f91fb0f --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/arkose_fraud_protection_provider.go @@ -0,0 +1,192 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ArkoseFraudProtectionProvider struct { + FraudProtectionProvider +} +// NewArkoseFraudProtectionProvider instantiates a new ArkoseFraudProtectionProvider and sets the default values. +func NewArkoseFraudProtectionProvider()(*ArkoseFraudProtectionProvider) { + m := &ArkoseFraudProtectionProvider{ + FraudProtectionProvider: *NewFraudProtectionProvider(), + } + odataTypeValue := "#microsoft.graph.arkoseFraudProtectionProvider" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateArkoseFraudProtectionProviderFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateArkoseFraudProtectionProviderFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewArkoseFraudProtectionProvider(), nil +} +// GetClientSubDomain gets the clientSubDomain property value. Used to invoke the Arkose service from the client application. Request from your Arkose Customer Success Manager or use the default client-api value. +// returns a *string when successful +func (m *ArkoseFraudProtectionProvider) GetClientSubDomain()(*string) { + val, err := m.GetBackingStore().Get("clientSubDomain") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ArkoseFraudProtectionProvider) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.FraudProtectionProvider.GetFieldDeserializers() + res["clientSubDomain"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetClientSubDomain(val) + } + return nil + } + res["privateKey"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPrivateKey(val) + } + return nil + } + res["publicKey"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPublicKey(val) + } + return nil + } + res["verifySubDomain"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetVerifySubDomain(val) + } + return nil + } + return res +} +// GetPrivateKey gets the privateKey property value. The private key available on the Arkose Portal. Contact your Arkose Customer Success Manager for assistance with your keys. +// returns a *string when successful +func (m *ArkoseFraudProtectionProvider) GetPrivateKey()(*string) { + val, err := m.GetBackingStore().Get("privateKey") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPublicKey gets the publicKey property value. The public key available on the Arkose Portal. Contact your Arkose Customer Success Manager for assistance with your keys. +// returns a *string when successful +func (m *ArkoseFraudProtectionProvider) GetPublicKey()(*string) { + val, err := m.GetBackingStore().Get("publicKey") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetVerifySubDomain gets the verifySubDomain property value. Used to invoke the Arkose service from the Microsoft authentication server. Request from your Arkose Customer Success Manager or use the default verify-api value. +// returns a *string when successful +func (m *ArkoseFraudProtectionProvider) GetVerifySubDomain()(*string) { + val, err := m.GetBackingStore().Get("verifySubDomain") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *ArkoseFraudProtectionProvider) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.FraudProtectionProvider.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("clientSubDomain", m.GetClientSubDomain()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("privateKey", m.GetPrivateKey()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("publicKey", m.GetPublicKey()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("verifySubDomain", m.GetVerifySubDomain()) + if err != nil { + return err + } + } + return nil +} +// SetClientSubDomain sets the clientSubDomain property value. Used to invoke the Arkose service from the client application. Request from your Arkose Customer Success Manager or use the default client-api value. +func (m *ArkoseFraudProtectionProvider) SetClientSubDomain(value *string)() { + err := m.GetBackingStore().Set("clientSubDomain", value) + if err != nil { + panic(err) + } +} +// SetPrivateKey sets the privateKey property value. The private key available on the Arkose Portal. Contact your Arkose Customer Success Manager for assistance with your keys. +func (m *ArkoseFraudProtectionProvider) SetPrivateKey(value *string)() { + err := m.GetBackingStore().Set("privateKey", value) + if err != nil { + panic(err) + } +} +// SetPublicKey sets the publicKey property value. The public key available on the Arkose Portal. Contact your Arkose Customer Success Manager for assistance with your keys. +func (m *ArkoseFraudProtectionProvider) SetPublicKey(value *string)() { + err := m.GetBackingStore().Set("publicKey", value) + if err != nil { + panic(err) + } +} +// SetVerifySubDomain sets the verifySubDomain property value. Used to invoke the Arkose service from the Microsoft authentication server. Request from your Arkose Customer Success Manager or use the default verify-api value. +func (m *ArkoseFraudProtectionProvider) SetVerifySubDomain(value *string)() { + err := m.GetBackingStore().Set("verifySubDomain", value) + if err != nil { + panic(err) + } +} +type ArkoseFraudProtectionProviderable interface { + FraudProtectionProviderable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetClientSubDomain()(*string) + GetPrivateKey()(*string) + GetPublicKey()(*string) + GetVerifySubDomain()(*string) + SetClientSubDomain(value *string)() + SetPrivateKey(value *string)() + SetPublicKey(value *string)() + SetVerifySubDomain(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/assigned_place_mode.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/assigned_place_mode.go new file mode 100644 index 0000000000..aab31d7451 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/assigned_place_mode.go @@ -0,0 +1,118 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AssignedPlaceMode struct { + PlaceMode +} +// NewAssignedPlaceMode instantiates a new AssignedPlaceMode and sets the default values. +func NewAssignedPlaceMode()(*AssignedPlaceMode) { + m := &AssignedPlaceMode{ + PlaceMode: *NewPlaceMode(), + } + odataTypeValue := "#microsoft.graph.assignedPlaceMode" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateAssignedPlaceModeFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAssignedPlaceModeFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAssignedPlaceMode(), nil +} +// GetAssignedUserEmailAddress gets the assignedUserEmailAddress property value. The email address of the user to whom the desk is assigned. +// returns a *string when successful +func (m *AssignedPlaceMode) GetAssignedUserEmailAddress()(*string) { + val, err := m.GetBackingStore().Get("assignedUserEmailAddress") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetAssignedUserId gets the assignedUserId property value. The user ID of the user to whom the desk is assigned. +// returns a *string when successful +func (m *AssignedPlaceMode) GetAssignedUserId()(*string) { + val, err := m.GetBackingStore().Get("assignedUserId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AssignedPlaceMode) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.PlaceMode.GetFieldDeserializers() + res["assignedUserEmailAddress"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetAssignedUserEmailAddress(val) + } + return nil + } + res["assignedUserId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetAssignedUserId(val) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *AssignedPlaceMode) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.PlaceMode.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("assignedUserEmailAddress", m.GetAssignedUserEmailAddress()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("assignedUserId", m.GetAssignedUserId()) + if err != nil { + return err + } + } + return nil +} +// SetAssignedUserEmailAddress sets the assignedUserEmailAddress property value. The email address of the user to whom the desk is assigned. +func (m *AssignedPlaceMode) SetAssignedUserEmailAddress(value *string)() { + err := m.GetBackingStore().Set("assignedUserEmailAddress", value) + if err != nil { + panic(err) + } +} +// SetAssignedUserId sets the assignedUserId property value. The user ID of the user to whom the desk is assigned. +func (m *AssignedPlaceMode) SetAssignedUserId(value *string)() { + err := m.GetBackingStore().Set("assignedUserId", value) + if err != nil { + panic(err) + } +} +type AssignedPlaceModeable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + PlaceModeable + GetAssignedUserEmailAddress()(*string) + GetAssignedUserId()(*string) + SetAssignedUserEmailAddress(value *string)() + SetAssignedUserId(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/assignment_request_approval_stage_callback_data.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/assignment_request_approval_stage_callback_data.go new file mode 100644 index 0000000000..66ae8f5124 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/assignment_request_approval_stage_callback_data.go @@ -0,0 +1,81 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AssignmentRequestApprovalStageCallbackData struct { + AccessPackageAssignmentRequestCallbackData +} +// NewAssignmentRequestApprovalStageCallbackData instantiates a new AssignmentRequestApprovalStageCallbackData and sets the default values. +func NewAssignmentRequestApprovalStageCallbackData()(*AssignmentRequestApprovalStageCallbackData) { + m := &AssignmentRequestApprovalStageCallbackData{ + AccessPackageAssignmentRequestCallbackData: *NewAccessPackageAssignmentRequestCallbackData(), + } + odataTypeValue := "#microsoft.graph.assignmentRequestApprovalStageCallbackData" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateAssignmentRequestApprovalStageCallbackDataFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAssignmentRequestApprovalStageCallbackDataFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAssignmentRequestApprovalStageCallbackData(), nil +} +// GetApprovalStage gets the approvalStage property value. The stage in the approval decision. +// returns a AccessPackageApprovalStageable when successful +func (m *AssignmentRequestApprovalStageCallbackData) GetApprovalStage()(AccessPackageApprovalStageable) { + val, err := m.GetBackingStore().Get("approvalStage") + if err != nil { + panic(err) + } + if val != nil { + return val.(AccessPackageApprovalStageable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AssignmentRequestApprovalStageCallbackData) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.AccessPackageAssignmentRequestCallbackData.GetFieldDeserializers() + res["approvalStage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAccessPackageApprovalStageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetApprovalStage(val.(AccessPackageApprovalStageable)) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *AssignmentRequestApprovalStageCallbackData) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.AccessPackageAssignmentRequestCallbackData.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("approvalStage", m.GetApprovalStage()) + if err != nil { + return err + } + } + return nil +} +// SetApprovalStage sets the approvalStage property value. The stage in the approval decision. +func (m *AssignmentRequestApprovalStageCallbackData) SetApprovalStage(value AccessPackageApprovalStageable)() { + err := m.GetBackingStore().Set("approvalStage", value) + if err != nil { + panic(err) + } +} +type AssignmentRequestApprovalStageCallbackDataable interface { + AccessPackageAssignmentRequestCallbackDataable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetApprovalStage()(AccessPackageApprovalStageable) + SetApprovalStage(value AccessPackageApprovalStageable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/attachment_item.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/attachment_item.go index f7732c477c..915d8e0c85 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/attachment_item.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/attachment_item.go @@ -38,7 +38,7 @@ func (m *AttachmentItem) GetAdditionalData()(map[string]any) { } return val.(map[string]any) } -// GetAttachmentType gets the attachmentType property value. The type of attachment. Possible values are: file, item, reference. Required. +// GetAttachmentType gets the attachmentType property value. The type of attachment. The possible values are: file, item, reference. Required. // returns a *AttachmentType when successful func (m *AttachmentItem) GetAttachmentType()(*AttachmentType) { val, err := m.GetBackingStore().Get("attachmentType") @@ -263,7 +263,7 @@ func (m *AttachmentItem) SetAdditionalData(value map[string]any)() { panic(err) } } -// SetAttachmentType sets the attachmentType property value. The type of attachment. Possible values are: file, item, reference. Required. +// SetAttachmentType sets the attachmentType property value. The type of attachment. The possible values are: file, item, reference. Required. func (m *AttachmentItem) SetAttachmentType(value *AttachmentType)() { err := m.GetBackingStore().Set("attachmentType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/attack_simulation_operation.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/attack_simulation_operation.go index 2311cb9e5e..b8f9d88305 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/attack_simulation_operation.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/attack_simulation_operation.go @@ -83,7 +83,7 @@ func (m *AttackSimulationOperation) GetTenantId()(*string) { } return nil } -// GetTypeEscaped gets the type property value. The attack simulation operation type. Possible values are: createSimulation, updateSimulation, unknownFutureValue. +// GetTypeEscaped gets the type property value. The attack simulation operation type. The possible values are: createSimulation, updateSimulation, unknownFutureValue. // returns a *AttackSimulationOperationType when successful func (m *AttackSimulationOperation) GetTypeEscaped()(*AttackSimulationOperationType) { val, err := m.GetBackingStore().Get("typeEscaped") @@ -136,7 +136,7 @@ func (m *AttackSimulationOperation) SetTenantId(value *string)() { panic(err) } } -// SetTypeEscaped sets the type property value. The attack simulation operation type. Possible values are: createSimulation, updateSimulation, unknownFutureValue. +// SetTypeEscaped sets the type property value. The attack simulation operation type. The possible values are: createSimulation, updateSimulation, unknownFutureValue. func (m *AttackSimulationOperation) SetTypeEscaped(value *AttackSimulationOperationType)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/attendance_record.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/attendance_record.go index e67cfac7f6..6deda5b9e4 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/attendance_record.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/attendance_record.go @@ -164,7 +164,7 @@ func (m *AttendanceRecord) GetRegistrationId()(*string) { } return nil } -// GetRole gets the role property value. Role of the attendee. Possible values are: None, Attendee, Presenter, and Organizer. +// GetRole gets the role property value. Role of the attendee. The possible values are: None, Attendee, Presenter, and Organizer. // returns a *string when successful func (m *AttendanceRecord) GetRole()(*string) { val, err := m.GetBackingStore().Get("role") @@ -279,7 +279,7 @@ func (m *AttendanceRecord) SetRegistrationId(value *string)() { panic(err) } } -// SetRole sets the role property value. Role of the attendee. Possible values are: None, Attendee, Presenter, and Organizer. +// SetRole sets the role property value. Role of the attendee. The possible values are: None, Attendee, Presenter, and Organizer. func (m *AttendanceRecord) SetRole(value *string)() { err := m.GetBackingStore().Set("role", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/attribute_definition_metadata_entry.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/attribute_definition_metadata_entry.go index 4ebf89fd7b..abc7750f2b 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/attribute_definition_metadata_entry.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/attribute_definition_metadata_entry.go @@ -79,7 +79,7 @@ func (m *AttributeDefinitionMetadataEntry) GetFieldDeserializers()(map[string]fu } return res } -// GetKey gets the key property value. Possible values are: BaseAttributeName, ComplexObjectDefinition, IsContainer, IsCustomerDefined, IsDomainQualified, LinkPropertyNames, LinkTypeName, MaximumLength, ReferencedProperty. +// GetKey gets the key property value. The possible values are: BaseAttributeName, ComplexObjectDefinition, IsContainer, IsCustomerDefined, IsDomainQualified, LinkPropertyNames, LinkTypeName, MaximumLength, ReferencedProperty. // returns a *AttributeDefinitionMetadata when successful func (m *AttributeDefinitionMetadataEntry) GetKey()(*AttributeDefinitionMetadata) { val, err := m.GetBackingStore().Get("key") @@ -155,7 +155,7 @@ func (m *AttributeDefinitionMetadataEntry) SetAdditionalData(value map[string]an func (m *AttributeDefinitionMetadataEntry) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetKey sets the key property value. Possible values are: BaseAttributeName, ComplexObjectDefinition, IsContainer, IsCustomerDefined, IsDomainQualified, LinkPropertyNames, LinkTypeName, MaximumLength, ReferencedProperty. +// SetKey sets the key property value. The possible values are: BaseAttributeName, ComplexObjectDefinition, IsContainer, IsCustomerDefined, IsDomainQualified, LinkPropertyNames, LinkTypeName, MaximumLength, ReferencedProperty. func (m *AttributeDefinitionMetadataEntry) SetKey(value *AttributeDefinitionMetadata)() { err := m.GetBackingStore().Set("key", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/authentication.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/authentication.go index aa4c6664e0..3e9cca4585 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/authentication.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/authentication.go @@ -34,6 +34,18 @@ func (m *Authentication) GetEmailMethods()([]EmailAuthenticationMethodable) { } return nil } +// GetExternalAuthenticationMethods gets the externalAuthenticationMethods property value. Represents the external authentication methods registered to a user for authentication using an external identity provider. +// returns a []ExternalAuthenticationMethodable when successful +func (m *Authentication) GetExternalAuthenticationMethods()([]ExternalAuthenticationMethodable) { + val, err := m.GetBackingStore().Get("externalAuthenticationMethods") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ExternalAuthenticationMethodable) + } + return nil +} // GetFido2Methods gets the fido2Methods property value. Represents the FIDO2 security keys registered to a user for authentication. // returns a []Fido2AuthenticationMethodable when successful func (m *Authentication) GetFido2Methods()([]Fido2AuthenticationMethodable) { @@ -66,6 +78,22 @@ func (m *Authentication) GetFieldDeserializers()(map[string]func(i878a80d2330e89 } return nil } + res["externalAuthenticationMethods"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateExternalAuthenticationMethodFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ExternalAuthenticationMethodable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ExternalAuthenticationMethodable) + } + } + m.SetExternalAuthenticationMethods(res) + } + return nil + } res["fido2Methods"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateFido2AuthenticationMethodFromDiscriminatorValue) if err != nil { @@ -354,6 +382,18 @@ func (m *Authentication) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a return err } } + if m.GetExternalAuthenticationMethods() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetExternalAuthenticationMethods())) + for i, v := range m.GetExternalAuthenticationMethods() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("externalAuthenticationMethods", cast) + if err != nil { + return err + } + } if m.GetFido2Methods() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetFido2Methods())) for i, v := range m.GetFido2Methods() { @@ -483,6 +523,13 @@ func (m *Authentication) SetEmailMethods(value []EmailAuthenticationMethodable)( panic(err) } } +// SetExternalAuthenticationMethods sets the externalAuthenticationMethods property value. Represents the external authentication methods registered to a user for authentication using an external identity provider. +func (m *Authentication) SetExternalAuthenticationMethods(value []ExternalAuthenticationMethodable)() { + err := m.GetBackingStore().Set("externalAuthenticationMethods", value) + if err != nil { + panic(err) + } +} // SetFido2Methods sets the fido2Methods property value. Represents the FIDO2 security keys registered to a user for authentication. func (m *Authentication) SetFido2Methods(value []Fido2AuthenticationMethodable)() { err := m.GetBackingStore().Set("fido2Methods", value) @@ -557,6 +604,7 @@ type Authenticationable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetEmailMethods()([]EmailAuthenticationMethodable) + GetExternalAuthenticationMethods()([]ExternalAuthenticationMethodable) GetFido2Methods()([]Fido2AuthenticationMethodable) GetMethods()([]AuthenticationMethodable) GetMicrosoftAuthenticatorMethods()([]MicrosoftAuthenticatorAuthenticationMethodable) @@ -568,6 +616,7 @@ type Authenticationable interface { GetTemporaryAccessPassMethods()([]TemporaryAccessPassAuthenticationMethodable) GetWindowsHelloForBusinessMethods()([]WindowsHelloForBusinessAuthenticationMethodable) SetEmailMethods(value []EmailAuthenticationMethodable)() + SetExternalAuthenticationMethods(value []ExternalAuthenticationMethodable)() SetFido2Methods(value []Fido2AuthenticationMethodable)() SetMethods(value []AuthenticationMethodable)() SetMicrosoftAuthenticatorMethods(value []MicrosoftAuthenticatorAuthenticationMethodable)() diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/authentication_event_listener.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/authentication_event_listener.go index 3ddacfc889..2c1e812a00 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/authentication_event_listener.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/authentication_event_listener.go @@ -42,6 +42,8 @@ func CreateAuthenticationEventListenerFromDiscriminatorValue(parseNode i878a80d2 return NewOnAuthenticationMethodLoadStartListener(), nil case "#microsoft.graph.onEmailOtpSendListener": return NewOnEmailOtpSendListener(), nil + case "#microsoft.graph.onFraudProtectionLoadStartListener": + return NewOnFraudProtectionLoadStartListener(), nil case "#microsoft.graph.onInteractiveAuthFlowStartListener": return NewOnInteractiveAuthFlowStartListener(), nil case "#microsoft.graph.onTokenIssuanceStartListener": @@ -78,6 +80,18 @@ func (m *AuthenticationEventListener) GetConditions()(AuthenticationConditionsab } return nil } +// GetDisplayName gets the displayName property value. The display name of the listener. +// returns a *string when successful +func (m *AuthenticationEventListener) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *AuthenticationEventListener) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { @@ -102,6 +116,16 @@ func (m *AuthenticationEventListener) GetFieldDeserializers()(map[string]func(i8 } return nil } + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } return res } // Serialize serializes information the current object @@ -122,6 +146,12 @@ func (m *AuthenticationEventListener) Serialize(writer i878a80d2330e89d26896388a return err } } + { + err = writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } return nil } // SetAuthenticationEventsFlowId sets the authenticationEventsFlowId property value. The identifier of the authenticationEventsFlow object. @@ -138,11 +168,20 @@ func (m *AuthenticationEventListener) SetConditions(value AuthenticationConditio panic(err) } } +// SetDisplayName sets the displayName property value. The display name of the listener. +func (m *AuthenticationEventListener) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} type AuthenticationEventListenerable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAuthenticationEventsFlowId()(*string) GetConditions()(AuthenticationConditionsable) + GetDisplayName()(*string) SetAuthenticationEventsFlowId(value *string)() SetConditions(value AuthenticationConditionsable)() + SetDisplayName(value *string)() } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/authentication_method.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/authentication_method.go index 57b58d21e5..ac7253ff5e 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/authentication_method.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/authentication_method.go @@ -4,6 +4,7 @@ package models import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" ) @@ -34,6 +35,8 @@ func CreateAuthenticationMethodFromDiscriminatorValue(parseNode i878a80d2330e89d switch *mappingValue { case "#microsoft.graph.emailAuthenticationMethod": return NewEmailAuthenticationMethod(), nil + case "#microsoft.graph.externalAuthenticationMethod": + return NewExternalAuthenticationMethod(), nil case "#microsoft.graph.fido2AuthenticationMethod": return NewFido2AuthenticationMethod(), nil case "#microsoft.graph.microsoftAuthenticatorAuthenticationMethod": @@ -56,10 +59,32 @@ func CreateAuthenticationMethodFromDiscriminatorValue(parseNode i878a80d2330e89d } return NewAuthenticationMethod(), nil } +// GetCreatedDateTime gets the createdDateTime property value. Represents the date and time when an entity was created. Read-only. +// returns a *Time when successful +func (m *AuthenticationMethod) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("createdDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *AuthenticationMethod) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.Entity.GetFieldDeserializers() + res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetCreatedDateTime(val) + } + return nil + } return res } // Serialize serializes information the current object @@ -68,9 +93,24 @@ func (m *AuthenticationMethod) Serialize(writer i878a80d2330e89d26896388a3f487ee if err != nil { return err } + { + err = writer.WriteTimeValue("createdDateTime", m.GetCreatedDateTime()) + if err != nil { + return err + } + } return nil } +// SetCreatedDateTime sets the createdDateTime property value. Represents the date and time when an entity was created. Read-only. +func (m *AuthenticationMethod) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("createdDateTime", value) + if err != nil { + panic(err) + } +} type AuthenticationMethodable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/authentication_method_configuration.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/authentication_method_configuration.go index fb3b33f0af..34174f16d2 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/authentication_method_configuration.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/authentication_method_configuration.go @@ -98,7 +98,7 @@ func (m *AuthenticationMethodConfiguration) GetFieldDeserializers()(map[string]f } return res } -// GetState gets the state property value. The state of the policy. Possible values are: enabled, disabled. +// GetState gets the state property value. The state of the policy. The possible values are: enabled, disabled. // returns a *AuthenticationMethodState when successful func (m *AuthenticationMethodConfiguration) GetState()(*AuthenticationMethodState) { val, err := m.GetBackingStore().Get("state") @@ -144,7 +144,7 @@ func (m *AuthenticationMethodConfiguration) SetExcludeTargets(value []ExcludeTar panic(err) } } -// SetState sets the state property value. The state of the policy. Possible values are: enabled, disabled. +// SetState sets the state property value. The state of the policy. The possible values are: enabled, disabled. func (m *AuthenticationMethodConfiguration) SetState(value *AuthenticationMethodState)() { err := m.GetBackingStore().Set("state", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/authentication_method_feature_configuration.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/authentication_method_feature_configuration.go index 4ce74e98cc..a3952032ab 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/authentication_method_feature_configuration.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/authentication_method_feature_configuration.go @@ -125,7 +125,7 @@ func (m *AuthenticationMethodFeatureConfiguration) GetOdataType()(*string) { } return nil } -// GetState gets the state property value. Enable or disable the feature. Possible values are: default, enabled, disabled, unknownFutureValue. The default value is used when the configuration hasn't been explicitly set and uses the default behavior of Microsoft Entra ID for the setting. The default value is disabled. +// GetState gets the state property value. Enable or disable the feature. The possible values are: default, enabled, disabled, unknownFutureValue. The default value is used when the configuration hasn't been explicitly set and uses the default behavior of Microsoft Entra ID for the setting. The default value is disabled. // returns a *AdvancedConfigState when successful func (m *AuthenticationMethodFeatureConfiguration) GetState()(*AdvancedConfigState) { val, err := m.GetBackingStore().Get("state") @@ -204,7 +204,7 @@ func (m *AuthenticationMethodFeatureConfiguration) SetOdataType(value *string)() panic(err) } } -// SetState sets the state property value. Enable or disable the feature. Possible values are: default, enabled, disabled, unknownFutureValue. The default value is used when the configuration hasn't been explicitly set and uses the default behavior of Microsoft Entra ID for the setting. The default value is disabled. +// SetState sets the state property value. Enable or disable the feature. The possible values are: default, enabled, disabled, unknownFutureValue. The default value is used when the configuration hasn't been explicitly set and uses the default behavior of Microsoft Entra ID for the setting. The default value is disabled. func (m *AuthenticationMethodFeatureConfiguration) SetState(value *AdvancedConfigState)() { err := m.GetBackingStore().Set("state", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/authorization_policy.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/authorization_policy.go index 60da7eba7d..971933fe3d 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/authorization_policy.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/authorization_policy.go @@ -61,7 +61,7 @@ func (m *AuthorizationPolicy) GetAllowEmailVerifiedUsersToJoinOrganization()(*bo } return nil } -// GetAllowInvitesFrom gets the allowInvitesFrom property value. Indicates who can invite guests to the organization. Possible values are: none, adminsAndGuestInviters, adminsGuestInvitersAndAllMembers, everyone. everyone is the default setting for all cloud environments except US Government. For more information, see allowInvitesFrom values. +// GetAllowInvitesFrom gets the allowInvitesFrom property value. Indicates who can invite guests to the organization. The possible values are: none, adminsAndGuestInviters, adminsGuestInvitersAndAllMembers, everyone. everyone is the default setting for all cloud environments except US Government. For more information, see allowInvitesFrom values. // returns a *AllowInvitesFrom when successful func (m *AuthorizationPolicy) GetAllowInvitesFrom()(*AllowInvitesFrom) { val, err := m.GetBackingStore().Get("allowInvitesFrom") @@ -285,7 +285,7 @@ func (m *AuthorizationPolicy) SetAllowEmailVerifiedUsersToJoinOrganization(value panic(err) } } -// SetAllowInvitesFrom sets the allowInvitesFrom property value. Indicates who can invite guests to the organization. Possible values are: none, adminsAndGuestInviters, adminsGuestInvitersAndAllMembers, everyone. everyone is the default setting for all cloud environments except US Government. For more information, see allowInvitesFrom values. +// SetAllowInvitesFrom sets the allowInvitesFrom property value. Indicates who can invite guests to the organization. The possible values are: none, adminsAndGuestInviters, adminsGuestInvitersAndAllMembers, everyone. everyone is the default setting for all cloud environments except US Government. For more information, see allowInvitesFrom values. func (m *AuthorizationPolicy) SetAllowInvitesFrom(value *AllowInvitesFrom)() { err := m.GetBackingStore().Set("allowInvitesFrom", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/availability_item.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/availability_item.go index a3f6be37f5..3dfb76c107 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/availability_item.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/availability_item.go @@ -147,7 +147,7 @@ func (m *AvailabilityItem) GetStartDateTime()(DateTimeTimeZoneable) { } return nil } -// GetStatus gets the status property value. The status of the staff member. Possible values are: available, busy, slotsAvailable, outOfOffice, unknownFutureValue. +// GetStatus gets the status property value. The status of the staff member. The possible values are: available, busy, slotsAvailable, outOfOffice, unknownFutureValue. // returns a *BookingsAvailabilityStatus when successful func (m *AvailabilityItem) GetStatus()(*BookingsAvailabilityStatus) { val, err := m.GetBackingStore().Get("status") @@ -239,7 +239,7 @@ func (m *AvailabilityItem) SetStartDateTime(value DateTimeTimeZoneable)() { panic(err) } } -// SetStatus sets the status property value. The status of the staff member. Possible values are: available, busy, slotsAvailable, outOfOffice, unknownFutureValue. +// SetStatus sets the status property value. The status of the staff member. The possible values are: available, busy, slotsAvailable, outOfOffice, unknownFutureValue. func (m *AvailabilityItem) SetStatus(value *BookingsAvailabilityStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/base_map_feature.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/base_map_feature.go new file mode 100644 index 0000000000..a6141e2cee --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/base_map_feature.go @@ -0,0 +1,107 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type BaseMapFeature struct { + Entity +} +// NewBaseMapFeature instantiates a new BaseMapFeature and sets the default values. +func NewBaseMapFeature()(*BaseMapFeature) { + m := &BaseMapFeature{ + Entity: *NewEntity(), + } + return m +} +// CreateBaseMapFeatureFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateBaseMapFeatureFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.buildingMap": + return NewBuildingMap(), nil + case "#microsoft.graph.fixtureMap": + return NewFixtureMap(), nil + case "#microsoft.graph.footprintMap": + return NewFootprintMap(), nil + case "#microsoft.graph.levelMap": + return NewLevelMap(), nil + case "#microsoft.graph.sectionMap": + return NewSectionMap(), nil + case "#microsoft.graph.unitMap": + return NewUnitMap(), nil + } + } + } + } + return NewBaseMapFeature(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *BaseMapFeature) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["properties"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetProperties(val) + } + return nil + } + return res +} +// GetProperties gets the properties property value. Concatenated key-value pair of all properties of a GeoJSON file for this baseMapFeature. +// returns a *string when successful +func (m *BaseMapFeature) GetProperties()(*string) { + val, err := m.GetBackingStore().Get("properties") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *BaseMapFeature) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("properties", m.GetProperties()) + if err != nil { + return err + } + } + return nil +} +// SetProperties sets the properties property value. Concatenated key-value pair of all properties of a GeoJSON file for this baseMapFeature. +func (m *BaseMapFeature) SetProperties(value *string)() { + err := m.GetBackingStore().Set("properties", value) + if err != nil { + panic(err) + } +} +type BaseMapFeatureable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetProperties()(*string) + SetProperties(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/bit_locker_removable_drive_policy.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/bit_locker_removable_drive_policy.go index f57d5cd9f1..473595acec 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/bit_locker_removable_drive_policy.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/bit_locker_removable_drive_policy.go @@ -56,7 +56,7 @@ func (m *BitLockerRemovableDrivePolicy) GetBlockCrossOrganizationWriteAccess()(* } return nil } -// GetEncryptionMethod gets the encryptionMethod property value. Select the encryption method for removable drives. Possible values are: aesCbc128, aesCbc256, xtsAes128, xtsAes256. +// GetEncryptionMethod gets the encryptionMethod property value. Select the encryption method for removable drives. The possible values are: aesCbc128, aesCbc256, xtsAes128, xtsAes256. // returns a *BitLockerEncryptionMethod when successful func (m *BitLockerRemovableDrivePolicy) GetEncryptionMethod()(*BitLockerEncryptionMethod) { val, err := m.GetBackingStore().Get("encryptionMethod") @@ -191,7 +191,7 @@ func (m *BitLockerRemovableDrivePolicy) SetBlockCrossOrganizationWriteAccess(val panic(err) } } -// SetEncryptionMethod sets the encryptionMethod property value. Select the encryption method for removable drives. Possible values are: aesCbc128, aesCbc256, xtsAes128, xtsAes256. +// SetEncryptionMethod sets the encryptionMethod property value. Select the encryption method for removable drives. The possible values are: aesCbc128, aesCbc256, xtsAes128, xtsAes256. func (m *BitLockerRemovableDrivePolicy) SetEncryptionMethod(value *BitLockerEncryptionMethod)() { err := m.GetBackingStore().Set("encryptionMethod", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/building.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/building.go new file mode 100644 index 0000000000..3d25d9a545 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/building.go @@ -0,0 +1,168 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type Building struct { + Place +} +// NewBuilding instantiates a new Building and sets the default values. +func NewBuilding()(*Building) { + m := &Building{ + Place: *NewPlace(), + } + odataTypeValue := "#microsoft.graph.building" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateBuildingFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateBuildingFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewBuilding(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *Building) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Place.GetFieldDeserializers() + res["map"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateBuildingMapFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetMapEscaped(val.(BuildingMapable)) + } + return nil + } + res["resourceLinks"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateResourceLinkFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ResourceLinkable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ResourceLinkable) + } + } + m.SetResourceLinks(res) + } + return nil + } + res["wifiState"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParsePlaceFeatureEnablement) + if err != nil { + return err + } + if val != nil { + m.SetWifiState(val.(*PlaceFeatureEnablement)) + } + return nil + } + return res +} +// GetMapEscaped gets the map property value. Map file associated with a building in Places. This object is the IMDF-format representation of building.geojson. +// returns a BuildingMapable when successful +func (m *Building) GetMapEscaped()(BuildingMapable) { + val, err := m.GetBackingStore().Get("mapEscaped") + if err != nil { + panic(err) + } + if val != nil { + return val.(BuildingMapable) + } + return nil +} +// GetResourceLinks gets the resourceLinks property value. A set of links to external resources that are associated with the building. Inherited from place. +// returns a []ResourceLinkable when successful +func (m *Building) GetResourceLinks()([]ResourceLinkable) { + val, err := m.GetBackingStore().Get("resourceLinks") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ResourceLinkable) + } + return nil +} +// GetWifiState gets the wifiState property value. The wifiState property +// returns a *PlaceFeatureEnablement when successful +func (m *Building) GetWifiState()(*PlaceFeatureEnablement) { + val, err := m.GetBackingStore().Get("wifiState") + if err != nil { + panic(err) + } + if val != nil { + return val.(*PlaceFeatureEnablement) + } + return nil +} +// Serialize serializes information the current object +func (m *Building) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Place.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("map", m.GetMapEscaped()) + if err != nil { + return err + } + } + if m.GetResourceLinks() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetResourceLinks())) + for i, v := range m.GetResourceLinks() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("resourceLinks", cast) + if err != nil { + return err + } + } + if m.GetWifiState() != nil { + cast := (*m.GetWifiState()).String() + err = writer.WriteStringValue("wifiState", &cast) + if err != nil { + return err + } + } + return nil +} +// SetMapEscaped sets the map property value. Map file associated with a building in Places. This object is the IMDF-format representation of building.geojson. +func (m *Building) SetMapEscaped(value BuildingMapable)() { + err := m.GetBackingStore().Set("mapEscaped", value) + if err != nil { + panic(err) + } +} +// SetResourceLinks sets the resourceLinks property value. A set of links to external resources that are associated with the building. Inherited from place. +func (m *Building) SetResourceLinks(value []ResourceLinkable)() { + err := m.GetBackingStore().Set("resourceLinks", value) + if err != nil { + panic(err) + } +} +// SetWifiState sets the wifiState property value. The wifiState property +func (m *Building) SetWifiState(value *PlaceFeatureEnablement)() { + err := m.GetBackingStore().Set("wifiState", value) + if err != nil { + panic(err) + } +} +type Buildingable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + Placeable + GetMapEscaped()(BuildingMapable) + GetResourceLinks()([]ResourceLinkable) + GetWifiState()(*PlaceFeatureEnablement) + SetMapEscaped(value BuildingMapable)() + SetResourceLinks(value []ResourceLinkable)() + SetWifiState(value *PlaceFeatureEnablement)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/building_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/building_collection_response.go new file mode 100644 index 0000000000..3292b0ec15 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/building_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type BuildingCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewBuildingCollectionResponse instantiates a new BuildingCollectionResponse and sets the default values. +func NewBuildingCollectionResponse()(*BuildingCollectionResponse) { + m := &BuildingCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateBuildingCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateBuildingCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewBuildingCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *BuildingCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateBuildingFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Buildingable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Buildingable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Buildingable when successful +func (m *BuildingCollectionResponse) GetValue()([]Buildingable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Buildingable) + } + return nil +} +// Serialize serializes information the current object +func (m *BuildingCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *BuildingCollectionResponse) SetValue(value []Buildingable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type BuildingCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]Buildingable) + SetValue(value []Buildingable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/building_map.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/building_map.go new file mode 100644 index 0000000000..8cffb72c1c --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/building_map.go @@ -0,0 +1,179 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type BuildingMap struct { + BaseMapFeature +} +// NewBuildingMap instantiates a new BuildingMap and sets the default values. +func NewBuildingMap()(*BuildingMap) { + m := &BuildingMap{ + BaseMapFeature: *NewBaseMapFeature(), + } + odataTypeValue := "#microsoft.graph.buildingMap" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateBuildingMapFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateBuildingMapFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewBuildingMap(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *BuildingMap) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseMapFeature.GetFieldDeserializers() + res["footprints"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateFootprintMapFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]FootprintMapable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(FootprintMapable) + } + } + m.SetFootprints(res) + } + return nil + } + res["levels"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateLevelMapFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]LevelMapable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(LevelMapable) + } + } + m.SetLevels(res) + } + return nil + } + res["placeId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPlaceId(val) + } + return nil + } + return res +} +// GetFootprints gets the footprints property value. Represents the approximate physical extent of a referenced building. It corresponds to footprint.geojson in IMDF format. +// returns a []FootprintMapable when successful +func (m *BuildingMap) GetFootprints()([]FootprintMapable) { + val, err := m.GetBackingStore().Get("footprints") + if err != nil { + panic(err) + } + if val != nil { + return val.([]FootprintMapable) + } + return nil +} +// GetLevels gets the levels property value. Represents a physical floor structure within a building. It corresponds to level.geojson in IMDF format. +// returns a []LevelMapable when successful +func (m *BuildingMap) GetLevels()([]LevelMapable) { + val, err := m.GetBackingStore().Get("levels") + if err != nil { + panic(err) + } + if val != nil { + return val.([]LevelMapable) + } + return nil +} +// GetPlaceId gets the placeId property value. Identifier for the building to which this buildingMap belongs. +// returns a *string when successful +func (m *BuildingMap) GetPlaceId()(*string) { + val, err := m.GetBackingStore().Get("placeId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *BuildingMap) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseMapFeature.Serialize(writer) + if err != nil { + return err + } + if m.GetFootprints() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetFootprints())) + for i, v := range m.GetFootprints() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("footprints", cast) + if err != nil { + return err + } + } + if m.GetLevels() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetLevels())) + for i, v := range m.GetLevels() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("levels", cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("placeId", m.GetPlaceId()) + if err != nil { + return err + } + } + return nil +} +// SetFootprints sets the footprints property value. Represents the approximate physical extent of a referenced building. It corresponds to footprint.geojson in IMDF format. +func (m *BuildingMap) SetFootprints(value []FootprintMapable)() { + err := m.GetBackingStore().Set("footprints", value) + if err != nil { + panic(err) + } +} +// SetLevels sets the levels property value. Represents a physical floor structure within a building. It corresponds to level.geojson in IMDF format. +func (m *BuildingMap) SetLevels(value []LevelMapable)() { + err := m.GetBackingStore().Set("levels", value) + if err != nil { + panic(err) + } +} +// SetPlaceId sets the placeId property value. Identifier for the building to which this buildingMap belongs. +func (m *BuildingMap) SetPlaceId(value *string)() { + err := m.GetBackingStore().Set("placeId", value) + if err != nil { + panic(err) + } +} +type BuildingMapable interface { + BaseMapFeatureable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetFootprints()([]FootprintMapable) + GetLevels()([]LevelMapable) + GetPlaceId()(*string) + SetFootprints(value []FootprintMapable)() + SetLevels(value []LevelMapable)() + SetPlaceId(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/calculated_column.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/calculated_column.go index fb352745e3..693be2b4bc 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/calculated_column.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/calculated_column.go @@ -89,7 +89,7 @@ func (m *CalculatedColumn) GetFieldDeserializers()(map[string]func(i878a80d2330e } return res } -// GetFormat gets the format property value. For dateTime output types, the format of the value. Possible values are: dateOnly or dateTime. +// GetFormat gets the format property value. For dateTime output types, the format of the value. The possible values are: dateOnly or dateTime. // returns a *string when successful func (m *CalculatedColumn) GetFormat()(*string) { val, err := m.GetBackingStore().Get("format") @@ -125,7 +125,7 @@ func (m *CalculatedColumn) GetOdataType()(*string) { } return nil } -// GetOutputType gets the outputType property value. The output type used to format values in this column. Possible values are: boolean, currency, dateTime, number, or text. +// GetOutputType gets the outputType property value. The output type used to format values in this column. The possible values are: boolean, currency, dateTime, number, or text. // returns a *string when successful func (m *CalculatedColumn) GetOutputType()(*string) { val, err := m.GetBackingStore().Get("outputType") @@ -182,7 +182,7 @@ func (m *CalculatedColumn) SetAdditionalData(value map[string]any)() { func (m *CalculatedColumn) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetFormat sets the format property value. For dateTime output types, the format of the value. Possible values are: dateOnly or dateTime. +// SetFormat sets the format property value. For dateTime output types, the format of the value. The possible values are: dateOnly or dateTime. func (m *CalculatedColumn) SetFormat(value *string)() { err := m.GetBackingStore().Set("format", value) if err != nil { @@ -203,7 +203,7 @@ func (m *CalculatedColumn) SetOdataType(value *string)() { panic(err) } } -// SetOutputType sets the outputType property value. The output type used to format values in this column. Possible values are: boolean, currency, dateTime, number, or text. +// SetOutputType sets the outputType property value. The output type used to format values in this column. The possible values are: boolean, currency, dateTime, number, or text. func (m *CalculatedColumn) SetOutputType(value *string)() { err := m.GetBackingStore().Set("outputType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/calendar.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/calendar.go index f813d810d4..41bedb25bf 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/calendar.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/calendar.go @@ -22,7 +22,7 @@ func NewCalendar()(*Calendar) { func CreateCalendarFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewCalendar(), nil } -// GetAllowedOnlineMeetingProviders gets the allowedOnlineMeetingProviders property value. Represent the online meeting service providers that can be used to create online meetings in this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness. +// GetAllowedOnlineMeetingProviders gets the allowedOnlineMeetingProviders property value. Represent the online meeting service providers that can be used to create online meetings in this calendar. The possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness. // returns a []OnlineMeetingProviderType when successful func (m *Calendar) GetAllowedOnlineMeetingProviders()([]OnlineMeetingProviderType) { val, err := m.GetBackingStore().Get("allowedOnlineMeetingProviders") @@ -118,7 +118,7 @@ func (m *Calendar) GetColor()(*CalendarColor) { } return nil } -// GetDefaultOnlineMeetingProvider gets the defaultOnlineMeetingProvider property value. The default online meeting provider for meetings sent from this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness. +// GetDefaultOnlineMeetingProvider gets the defaultOnlineMeetingProvider property value. The default online meeting provider for meetings sent from this calendar. The possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness. // returns a *OnlineMeetingProviderType when successful func (m *Calendar) GetDefaultOnlineMeetingProvider()(*OnlineMeetingProviderType) { val, err := m.GetBackingStore().Get("defaultOnlineMeetingProvider") @@ -608,7 +608,7 @@ func (m *Calendar) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c01 } return nil } -// SetAllowedOnlineMeetingProviders sets the allowedOnlineMeetingProviders property value. Represent the online meeting service providers that can be used to create online meetings in this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness. +// SetAllowedOnlineMeetingProviders sets the allowedOnlineMeetingProviders property value. Represent the online meeting service providers that can be used to create online meetings in this calendar. The possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness. func (m *Calendar) SetAllowedOnlineMeetingProviders(value []OnlineMeetingProviderType)() { err := m.GetBackingStore().Set("allowedOnlineMeetingProviders", value) if err != nil { @@ -664,7 +664,7 @@ func (m *Calendar) SetColor(value *CalendarColor)() { panic(err) } } -// SetDefaultOnlineMeetingProvider sets the defaultOnlineMeetingProvider property value. The default online meeting provider for meetings sent from this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness. +// SetDefaultOnlineMeetingProvider sets the defaultOnlineMeetingProvider property value. The default online meeting provider for meetings sent from this calendar. The possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness. func (m *Calendar) SetDefaultOnlineMeetingProvider(value *OnlineMeetingProviderType)() { err := m.GetBackingStore().Set("defaultOnlineMeetingProvider", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/calendar_permission.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/calendar_permission.go index b27633330d..40edf6706a 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/calendar_permission.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/calendar_permission.go @@ -22,7 +22,7 @@ func NewCalendarPermission()(*CalendarPermission) { func CreateCalendarPermissionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewCalendarPermission(), nil } -// GetAllowedRoles gets the allowedRoles property value. List of allowed sharing or delegating permission levels for the calendar. Possible values are: none, freeBusyRead, limitedRead, read, write, delegateWithoutPrivateEventAccess, delegateWithPrivateEventAccess, custom. +// GetAllowedRoles gets the allowedRoles property value. List of allowed sharing or delegating permission levels for the calendar. The possible values are: none, freeBusyRead, limitedRead, read, write, delegateWithoutPrivateEventAccess, delegateWithPrivateEventAccess, custom. // returns a []CalendarRoleType when successful func (m *CalendarPermission) GetAllowedRoles()([]CalendarRoleType) { val, err := m.GetBackingStore().Get("allowedRoles") @@ -183,7 +183,7 @@ func (m *CalendarPermission) Serialize(writer i878a80d2330e89d26896388a3f487eef2 } return nil } -// SetAllowedRoles sets the allowedRoles property value. List of allowed sharing or delegating permission levels for the calendar. Possible values are: none, freeBusyRead, limitedRead, read, write, delegateWithoutPrivateEventAccess, delegateWithPrivateEventAccess, custom. +// SetAllowedRoles sets the allowedRoles property value. List of allowed sharing or delegating permission levels for the calendar. The possible values are: none, freeBusyRead, limitedRead, read, write, delegateWithoutPrivateEventAccess, delegateWithPrivateEventAccess, custom. func (m *CalendarPermission) SetAllowedRoles(value []CalendarRoleType)() { err := m.GetBackingStore().Set("allowedRoles", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call.go index 68f50968e9..79116e61ba 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call.go @@ -490,7 +490,7 @@ func (m *Call) GetParticipants()([]Participantable) { } return nil } -// GetRequestedModalities gets the requestedModalities property value. The list of requested modalities. Possible values are: unknown, audio, video, videoBasedScreenSharing, data. +// GetRequestedModalities gets the requestedModalities property value. The list of requested modalities. The possible values are: unknown, audio, video, videoBasedScreenSharing, data. // returns a []Modality when successful func (m *Call) GetRequestedModalities()([]Modality) { val, err := m.GetBackingStore().Get("requestedModalities") @@ -526,7 +526,7 @@ func (m *Call) GetSource()(ParticipantInfoable) { } return nil } -// GetState gets the state property value. The call state. Possible values are: incoming, establishing, ringing, established, hold, transferring, transferAccepted, redirecting, terminating, terminated. Read-only. +// GetState gets the state property value. The call state. The possible values are: incoming, establishing, ringing, established, hold, transferring, transferAccepted, redirecting, terminating, terminated. Read-only. // returns a *CallState when successful func (m *Call) GetState()(*CallState) { val, err := m.GetBackingStore().Get("state") @@ -893,7 +893,7 @@ func (m *Call) SetParticipants(value []Participantable)() { panic(err) } } -// SetRequestedModalities sets the requestedModalities property value. The list of requested modalities. Possible values are: unknown, audio, video, videoBasedScreenSharing, data. +// SetRequestedModalities sets the requestedModalities property value. The list of requested modalities. The possible values are: unknown, audio, video, videoBasedScreenSharing, data. func (m *Call) SetRequestedModalities(value []Modality)() { err := m.GetBackingStore().Set("requestedModalities", value) if err != nil { @@ -914,7 +914,7 @@ func (m *Call) SetSource(value ParticipantInfoable)() { panic(err) } } -// SetState sets the state property value. The call state. Possible values are: incoming, establishing, ringing, established, hold, transferring, transferAccepted, redirecting, terminating, terminated. Read-only. +// SetState sets the state property value. The call state. The possible values are: incoming, establishing, ringing, established, hold, transferring, transferAccepted, redirecting, terminating, terminated. Read-only. func (m *Call) SetState(value *CallState)() { err := m.GetBackingStore().Set("state", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call_ai_insight.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call_ai_insight.go new file mode 100644 index 0000000000..c1276453eb --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call_ai_insight.go @@ -0,0 +1,326 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type CallAiInsight struct { + Entity +} +// NewCallAiInsight instantiates a new CallAiInsight and sets the default values. +func NewCallAiInsight()(*CallAiInsight) { + m := &CallAiInsight{ + Entity: *NewEntity(), + } + return m +} +// CreateCallAiInsightFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCallAiInsightFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCallAiInsight(), nil +} +// GetActionItems gets the actionItems property value. The actionItems property +// returns a []ActionItemable when successful +func (m *CallAiInsight) GetActionItems()([]ActionItemable) { + val, err := m.GetBackingStore().Get("actionItems") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ActionItemable) + } + return nil +} +// GetCallId gets the callId property value. The callId property +// returns a *string when successful +func (m *CallAiInsight) GetCallId()(*string) { + val, err := m.GetBackingStore().Get("callId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetContentCorrelationId gets the contentCorrelationId property value. The contentCorrelationId property +// returns a *string when successful +func (m *CallAiInsight) GetContentCorrelationId()(*string) { + val, err := m.GetBackingStore().Get("contentCorrelationId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetCreatedDateTime gets the createdDateTime property value. The createdDateTime property +// returns a *Time when successful +func (m *CallAiInsight) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("createdDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetEndDateTime gets the endDateTime property value. The endDateTime property +// returns a *Time when successful +func (m *CallAiInsight) GetEndDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("endDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *CallAiInsight) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["actionItems"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateActionItemFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ActionItemable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ActionItemable) + } + } + m.SetActionItems(res) + } + return nil + } + res["callId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCallId(val) + } + return nil + } + res["contentCorrelationId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetContentCorrelationId(val) + } + return nil + } + res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetCreatedDateTime(val) + } + return nil + } + res["endDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetEndDateTime(val) + } + return nil + } + res["meetingNotes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateMeetingNoteFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]MeetingNoteable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(MeetingNoteable) + } + } + m.SetMeetingNotes(res) + } + return nil + } + res["viewpoint"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateCallAiInsightViewPointFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetViewpoint(val.(CallAiInsightViewPointable)) + } + return nil + } + return res +} +// GetMeetingNotes gets the meetingNotes property value. The meetingNotes property +// returns a []MeetingNoteable when successful +func (m *CallAiInsight) GetMeetingNotes()([]MeetingNoteable) { + val, err := m.GetBackingStore().Get("meetingNotes") + if err != nil { + panic(err) + } + if val != nil { + return val.([]MeetingNoteable) + } + return nil +} +// GetViewpoint gets the viewpoint property value. The viewpoint property +// returns a CallAiInsightViewPointable when successful +func (m *CallAiInsight) GetViewpoint()(CallAiInsightViewPointable) { + val, err := m.GetBackingStore().Get("viewpoint") + if err != nil { + panic(err) + } + if val != nil { + return val.(CallAiInsightViewPointable) + } + return nil +} +// Serialize serializes information the current object +func (m *CallAiInsight) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetActionItems() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetActionItems())) + for i, v := range m.GetActionItems() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("actionItems", cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("callId", m.GetCallId()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("contentCorrelationId", m.GetContentCorrelationId()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("createdDateTime", m.GetCreatedDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("endDateTime", m.GetEndDateTime()) + if err != nil { + return err + } + } + if m.GetMeetingNotes() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetMeetingNotes())) + for i, v := range m.GetMeetingNotes() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("meetingNotes", cast) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("viewpoint", m.GetViewpoint()) + if err != nil { + return err + } + } + return nil +} +// SetActionItems sets the actionItems property value. The actionItems property +func (m *CallAiInsight) SetActionItems(value []ActionItemable)() { + err := m.GetBackingStore().Set("actionItems", value) + if err != nil { + panic(err) + } +} +// SetCallId sets the callId property value. The callId property +func (m *CallAiInsight) SetCallId(value *string)() { + err := m.GetBackingStore().Set("callId", value) + if err != nil { + panic(err) + } +} +// SetContentCorrelationId sets the contentCorrelationId property value. The contentCorrelationId property +func (m *CallAiInsight) SetContentCorrelationId(value *string)() { + err := m.GetBackingStore().Set("contentCorrelationId", value) + if err != nil { + panic(err) + } +} +// SetCreatedDateTime sets the createdDateTime property value. The createdDateTime property +func (m *CallAiInsight) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("createdDateTime", value) + if err != nil { + panic(err) + } +} +// SetEndDateTime sets the endDateTime property value. The endDateTime property +func (m *CallAiInsight) SetEndDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("endDateTime", value) + if err != nil { + panic(err) + } +} +// SetMeetingNotes sets the meetingNotes property value. The meetingNotes property +func (m *CallAiInsight) SetMeetingNotes(value []MeetingNoteable)() { + err := m.GetBackingStore().Set("meetingNotes", value) + if err != nil { + panic(err) + } +} +// SetViewpoint sets the viewpoint property value. The viewpoint property +func (m *CallAiInsight) SetViewpoint(value CallAiInsightViewPointable)() { + err := m.GetBackingStore().Set("viewpoint", value) + if err != nil { + panic(err) + } +} +type CallAiInsightable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetActionItems()([]ActionItemable) + GetCallId()(*string) + GetContentCorrelationId()(*string) + GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetEndDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetMeetingNotes()([]MeetingNoteable) + GetViewpoint()(CallAiInsightViewPointable) + SetActionItems(value []ActionItemable)() + SetCallId(value *string)() + SetContentCorrelationId(value *string)() + SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetEndDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetMeetingNotes(value []MeetingNoteable)() + SetViewpoint(value CallAiInsightViewPointable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call_ai_insight_view_point.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call_ai_insight_view_point.go new file mode 100644 index 0000000000..6f9e87124a --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call_ai_insight_view_point.go @@ -0,0 +1,165 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type CallAiInsightViewPoint struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewCallAiInsightViewPoint instantiates a new CallAiInsightViewPoint and sets the default values. +func NewCallAiInsightViewPoint()(*CallAiInsightViewPoint) { + m := &CallAiInsightViewPoint{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateCallAiInsightViewPointFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCallAiInsightViewPointFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCallAiInsightViewPoint(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *CallAiInsightViewPoint) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *CallAiInsightViewPoint) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *CallAiInsightViewPoint) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["mentionEvents"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateMentionEventFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]MentionEventable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(MentionEventable) + } + } + m.SetMentionEvents(res) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetMentionEvents gets the mentionEvents property value. The mentionEvents property +// returns a []MentionEventable when successful +func (m *CallAiInsightViewPoint) GetMentionEvents()([]MentionEventable) { + val, err := m.GetBackingStore().Get("mentionEvents") + if err != nil { + panic(err) + } + if val != nil { + return val.([]MentionEventable) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *CallAiInsightViewPoint) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *CallAiInsightViewPoint) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetMentionEvents() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetMentionEvents())) + for i, v := range m.GetMentionEvents() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("mentionEvents", cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *CallAiInsightViewPoint) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *CallAiInsightViewPoint) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetMentionEvents sets the mentionEvents property value. The mentionEvents property +func (m *CallAiInsightViewPoint) SetMentionEvents(value []MentionEventable)() { + err := m.GetBackingStore().Set("mentionEvents", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *CallAiInsightViewPoint) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type CallAiInsightViewPointable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetMentionEvents()([]MentionEventable) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetMentionEvents(value []MentionEventable)() + SetOdataType(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call_ended_event_message_detail.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call_ended_event_message_detail.go index cfdc622d33..7c5bb25132 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call_ended_event_message_detail.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call_ended_event_message_detail.go @@ -36,7 +36,7 @@ func (m *CallEndedEventMessageDetail) GetCallDuration()(*i878a80d2330e89d2689638 } return nil } -// GetCallEventType gets the callEventType property value. Represents the call event type. Possible values are: call, meeting, screenShare, unknownFutureValue. +// GetCallEventType gets the callEventType property value. Represents the call event type. The possible values are: call, meeting, screenShare, unknownFutureValue. // returns a *TeamworkCallEventType when successful func (m *CallEndedEventMessageDetail) GetCallEventType()(*TeamworkCallEventType) { val, err := m.GetBackingStore().Get("callEventType") @@ -198,7 +198,7 @@ func (m *CallEndedEventMessageDetail) SetCallDuration(value *i878a80d2330e89d268 panic(err) } } -// SetCallEventType sets the callEventType property value. Represents the call event type. Possible values are: call, meeting, screenShare, unknownFutureValue. +// SetCallEventType sets the callEventType property value. Represents the call event type. The possible values are: call, meeting, screenShare, unknownFutureValue. func (m *CallEndedEventMessageDetail) SetCallEventType(value *TeamworkCallEventType)() { err := m.GetBackingStore().Set("callEventType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call_event.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call_event.go index 3ba7ce9ac6..e5b03bd962 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call_event.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call_event.go @@ -53,7 +53,7 @@ func (m *CallEvent) GetCallEventType()(*CallEventType) { } return nil } -// GetEventDateTime gets the eventDateTime property value. The eventDateTime property +// GetEventDateTime gets the eventDateTime property value. The date and time when the event occurred. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. // returns a *Time when successful func (m *CallEvent) GetEventDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("eventDateTime") @@ -107,7 +107,7 @@ func (m *CallEvent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2689 } return res } -// GetParticipants gets the participants property value. The participants property +// GetParticipants gets the participants property value. Participants collection for the call event. // returns a []Participantable when successful func (m *CallEvent) GetParticipants()([]Participantable) { val, err := m.GetBackingStore().Get("participants") @@ -159,14 +159,14 @@ func (m *CallEvent) SetCallEventType(value *CallEventType)() { panic(err) } } -// SetEventDateTime sets the eventDateTime property value. The eventDateTime property +// SetEventDateTime sets the eventDateTime property value. The date and time when the event occurred. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. func (m *CallEvent) SetEventDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("eventDateTime", value) if err != nil { panic(err) } } -// SetParticipants sets the participants property value. The participants property +// SetParticipants sets the participants property value. Participants collection for the call event. func (m *CallEvent) SetParticipants(value []Participantable)() { err := m.GetBackingStore().Set("participants", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call_media_state.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call_media_state.go index b36dc4879a..8d7dfd6512 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call_media_state.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call_media_state.go @@ -38,7 +38,7 @@ func (m *CallMediaState) GetAdditionalData()(map[string]any) { } return val.(map[string]any) } -// GetAudio gets the audio property value. The audio media state. Possible values are: active, inactive, unknownFutureValue. +// GetAudio gets the audio property value. The audio media state. The possible values are: active, inactive, unknownFutureValue. // returns a *MediaState when successful func (m *CallMediaState) GetAudio()(*MediaState) { val, err := m.GetBackingStore().Get("audio") @@ -123,7 +123,7 @@ func (m *CallMediaState) SetAdditionalData(value map[string]any)() { panic(err) } } -// SetAudio sets the audio property value. The audio media state. Possible values are: active, inactive, unknownFutureValue. +// SetAudio sets the audio property value. The audio media state. The possible values are: active, inactive, unknownFutureValue. func (m *CallMediaState) SetAudio(value *MediaState)() { err := m.GetBackingStore().Set("audio", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call_recording_event_message_detail.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call_recording_event_message_detail.go index 0f8b004676..60cb2d8d02 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call_recording_event_message_detail.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call_recording_event_message_detail.go @@ -60,7 +60,7 @@ func (m *CallRecordingEventMessageDetail) GetCallRecordingDuration()(*i878a80d23 } return nil } -// GetCallRecordingStatus gets the callRecordingStatus property value. Status of the call recording. Possible values are: success, failure, initial, chunkFinished, unknownFutureValue. +// GetCallRecordingStatus gets the callRecordingStatus property value. Status of the call recording. The possible values are: success, failure, initial, chunkFinished, unknownFutureValue. // returns a *CallRecordingStatus when successful func (m *CallRecordingEventMessageDetail) GetCallRecordingStatus()(*CallRecordingStatus) { val, err := m.GetBackingStore().Get("callRecordingStatus") @@ -256,7 +256,7 @@ func (m *CallRecordingEventMessageDetail) SetCallRecordingDuration(value *i878a8 panic(err) } } -// SetCallRecordingStatus sets the callRecordingStatus property value. Status of the call recording. Possible values are: success, failure, initial, chunkFinished, unknownFutureValue. +// SetCallRecordingStatus sets the callRecordingStatus property value. Status of the call recording. The possible values are: success, failure, initial, chunkFinished, unknownFutureValue. func (m *CallRecordingEventMessageDetail) SetCallRecordingStatus(value *CallRecordingStatus)() { err := m.GetBackingStore().Set("callRecordingStatus", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call_started_event_message_detail.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call_started_event_message_detail.go index 7e7dd45d7f..2795ae62a4 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call_started_event_message_detail.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/call_started_event_message_detail.go @@ -24,7 +24,7 @@ func NewCallStartedEventMessageDetail()(*CallStartedEventMessageDetail) { func CreateCallStartedEventMessageDetailFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewCallStartedEventMessageDetail(), nil } -// GetCallEventType gets the callEventType property value. Represents the call event type. Possible values are: call, meeting, screenShare, unknownFutureValue. +// GetCallEventType gets the callEventType property value. Represents the call event type. The possible values are: call, meeting, screenShare, unknownFutureValue. // returns a *TeamworkCallEventType when successful func (m *CallStartedEventMessageDetail) GetCallEventType()(*TeamworkCallEventType) { val, err := m.GetBackingStore().Get("callEventType") @@ -123,7 +123,7 @@ func (m *CallStartedEventMessageDetail) Serialize(writer i878a80d2330e89d2689638 } return nil } -// SetCallEventType sets the callEventType property value. Represents the call event type. Possible values are: call, meeting, screenShare, unknownFutureValue. +// SetCallEventType sets the callEventType property value. Represents the call event type. The possible values are: call, meeting, screenShare, unknownFutureValue. func (m *CallStartedEventMessageDetail) SetCallEventType(value *TeamworkCallEventType)() { err := m.GetBackingStore().Set("callEventType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/callrecords/call_record.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/callrecords/call_record.go index 80d9fd7d55..fdc0dc61d2 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/callrecords/call_record.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/callrecords/call_record.go @@ -210,7 +210,7 @@ func (m *CallRecord) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a } return nil } -// GetModalities gets the modalities property value. List of all the modalities used in the call. Possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue. +// GetModalities gets the modalities property value. List of all the modalities used in the call. The possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue. // returns a []Modality when successful func (m *CallRecord) GetModalities()([]Modality) { val, err := m.GetBackingStore().Get("modalities") @@ -438,7 +438,7 @@ func (m *CallRecord) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3a panic(err) } } -// SetModalities sets the modalities property value. List of all the modalities used in the call. Possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue. +// SetModalities sets the modalities property value. List of all the modalities used in the call. The possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue. func (m *CallRecord) SetModalities(value []Modality)() { err := m.GetBackingStore().Set("modalities", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/callrecords/media_stream.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/callrecords/media_stream.go index 4001f88779..f3d735a976 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/callrecords/media_stream.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/callrecords/media_stream.go @@ -39,7 +39,7 @@ func (m *MediaStream) GetAdditionalData()(map[string]any) { } return val.(map[string]any) } -// GetAudioCodec gets the audioCodec property value. Codec name used to encode audio for transmission on the network. Possible values are: unknown, invalid, cn, pcma, pcmu, amrWide, g722, g7221, g7221c, g729, multiChannelAudio, muchv2, opus, satin, satinFullband, rtAudio8, rtAudio16, silk, silkNarrow, silkWide, siren, xmsRta, unknownFutureValue. +// GetAudioCodec gets the audioCodec property value. Codec name used to encode audio for transmission on the network. The possible values are: unknown, invalid, cn, pcma, pcmu, amrWide, g722, g7221, g7221c, g729, multiChannelAudio, muchv2, opus, satin, satinFullband, rtAudio8, rtAudio16, silk, silkNarrow, silkWide, siren, xmsRta, unknownFutureValue. // returns a *AudioCodec when successful func (m *MediaStream) GetAudioCodec()(*AudioCodec) { val, err := m.GetBackingStore().Get("audioCodec") @@ -708,7 +708,7 @@ func (m *MediaStream) GetStreamId()(*string) { } return nil } -// GetVideoCodec gets the videoCodec property value. Codec name used to encode video for transmission on the network. Possible values are: unknown, invalid, av1, h263, h264, h264s, h264uc, h265, rtvc1, rtVideo, xrtvc1, unknownFutureValue. +// GetVideoCodec gets the videoCodec property value. Codec name used to encode video for transmission on the network. The possible values are: unknown, invalid, av1, h263, h264, h264s, h264uc, h265, rtvc1, rtVideo, xrtvc1, unknownFutureValue. // returns a *VideoCodec when successful func (m *MediaStream) GetVideoCodec()(*VideoCodec) { val, err := m.GetBackingStore().Get("videoCodec") @@ -938,7 +938,7 @@ func (m *MediaStream) SetAdditionalData(value map[string]any)() { panic(err) } } -// SetAudioCodec sets the audioCodec property value. Codec name used to encode audio for transmission on the network. Possible values are: unknown, invalid, cn, pcma, pcmu, amrWide, g722, g7221, g7221c, g729, multiChannelAudio, muchv2, opus, satin, satinFullband, rtAudio8, rtAudio16, silk, silkNarrow, silkWide, siren, xmsRta, unknownFutureValue. +// SetAudioCodec sets the audioCodec property value. Codec name used to encode audio for transmission on the network. The possible values are: unknown, invalid, cn, pcma, pcmu, amrWide, g722, g7221, g7221c, g729, multiChannelAudio, muchv2, opus, satin, satinFullband, rtAudio8, rtAudio16, silk, silkNarrow, silkWide, siren, xmsRta, unknownFutureValue. func (m *MediaStream) SetAudioCodec(value *AudioCodec)() { err := m.GetBackingStore().Set("audioCodec", value) if err != nil { @@ -1145,7 +1145,7 @@ func (m *MediaStream) SetStreamId(value *string)() { panic(err) } } -// SetVideoCodec sets the videoCodec property value. Codec name used to encode video for transmission on the network. Possible values are: unknown, invalid, av1, h263, h264, h264s, h264uc, h265, rtvc1, rtVideo, xrtvc1, unknownFutureValue. +// SetVideoCodec sets the videoCodec property value. Codec name used to encode video for transmission on the network. The possible values are: unknown, invalid, av1, h263, h264, h264s, h264uc, h265, rtvc1, rtVideo, xrtvc1, unknownFutureValue. func (m *MediaStream) SetVideoCodec(value *VideoCodec)() { err := m.GetBackingStore().Set("videoCodec", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/callrecords/session.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/callrecords/session.go index 75f100a58b..e6397c583f 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/callrecords/session.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/callrecords/session.go @@ -182,7 +182,7 @@ func (m *Session) GetIsTest()(*bool) { } return nil } -// GetModalities gets the modalities property value. List of modalities present in the session. Possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue. +// GetModalities gets the modalities property value. List of modalities present in the session. The possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue. // returns a []Modality when successful func (m *Session) GetModalities()([]Modality) { val, err := m.GetBackingStore().Get("modalities") @@ -315,7 +315,7 @@ func (m *Session) SetIsTest(value *bool)() { panic(err) } } -// SetModalities sets the modalities property value. List of modalities present in the session. Possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue. +// SetModalities sets the modalities property value. List of modalities present in the session. The possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue. func (m *Session) SetModalities(value []Modality)() { err := m.GetBackingStore().Set("modalities", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/channel.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/channel.go index a5df734f65..8a629e7d1e 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/channel.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/channel.go @@ -327,7 +327,7 @@ func (m *Channel) GetMembers()([]ConversationMemberable) { } return nil } -// GetMembershipType gets the membershipType property value. The type of the channel. Can be set during creation and can't be changed. The possible values are: standard, private, unknownFutureValue, shared. The default value is standard. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: shared. +// GetMembershipType gets the membershipType property value. The type of the channel. Can be set during creation and can't be changed. The possible values are: standard, private, unknownFutureValue, shared. The default value is standard. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: shared. // returns a *ChannelMembershipType when successful func (m *Channel) GetMembershipType()(*ChannelMembershipType) { val, err := m.GetBackingStore().Get("membershipType") @@ -609,7 +609,7 @@ func (m *Channel) SetMembers(value []ConversationMemberable)() { panic(err) } } -// SetMembershipType sets the membershipType property value. The type of the channel. Can be set during creation and can't be changed. The possible values are: standard, private, unknownFutureValue, shared. The default value is standard. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: shared. +// SetMembershipType sets the membershipType property value. The type of the channel. Can be set during creation and can't be changed. The possible values are: standard, private, unknownFutureValue, shared. The default value is standard. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: shared. func (m *Channel) SetMembershipType(value *ChannelMembershipType)() { err := m.GetBackingStore().Set("membershipType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/check_in_claim.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/check_in_claim.go new file mode 100644 index 0000000000..ef10a61bab --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/check_in_claim.go @@ -0,0 +1,229 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type CheckInClaim struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewCheckInClaim instantiates a new CheckInClaim and sets the default values. +func NewCheckInClaim()(*CheckInClaim) { + m := &CheckInClaim{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateCheckInClaimFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCheckInClaimFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCheckInClaim(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *CheckInClaim) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *CheckInClaim) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetCalendarEventId gets the calendarEventId property value. The unique identifier for an Outlook calendar event associated with the checkInClaim object. For more information, see the iCalUId property in event. +// returns a *string when successful +func (m *CheckInClaim) GetCalendarEventId()(*string) { + val, err := m.GetBackingStore().Get("calendarEventId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetCheckInMethod gets the checkInMethod property value. The checkInMethod property +// returns a *CheckInMethod when successful +func (m *CheckInClaim) GetCheckInMethod()(*CheckInMethod) { + val, err := m.GetBackingStore().Get("checkInMethod") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CheckInMethod) + } + return nil +} +// GetCreatedDateTime gets the createdDateTime property value. The date and time when the checkInClaim object was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +// returns a *Time when successful +func (m *CheckInClaim) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("createdDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *CheckInClaim) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["calendarEventId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCalendarEventId(val) + } + return nil + } + res["checkInMethod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCheckInMethod) + if err != nil { + return err + } + if val != nil { + m.SetCheckInMethod(val.(*CheckInMethod)) + } + return nil + } + res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetCreatedDateTime(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *CheckInClaim) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *CheckInClaim) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("calendarEventId", m.GetCalendarEventId()) + if err != nil { + return err + } + } + if m.GetCheckInMethod() != nil { + cast := (*m.GetCheckInMethod()).String() + err := writer.WriteStringValue("checkInMethod", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteTimeValue("createdDateTime", m.GetCreatedDateTime()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *CheckInClaim) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *CheckInClaim) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetCalendarEventId sets the calendarEventId property value. The unique identifier for an Outlook calendar event associated with the checkInClaim object. For more information, see the iCalUId property in event. +func (m *CheckInClaim) SetCalendarEventId(value *string)() { + err := m.GetBackingStore().Set("calendarEventId", value) + if err != nil { + panic(err) + } +} +// SetCheckInMethod sets the checkInMethod property value. The checkInMethod property +func (m *CheckInClaim) SetCheckInMethod(value *CheckInMethod)() { + err := m.GetBackingStore().Set("checkInMethod", value) + if err != nil { + panic(err) + } +} +// SetCreatedDateTime sets the createdDateTime property value. The date and time when the checkInClaim object was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +func (m *CheckInClaim) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("createdDateTime", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *CheckInClaim) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type CheckInClaimable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetCalendarEventId()(*string) + GetCheckInMethod()(*CheckInMethod) + GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetCalendarEventId(value *string)() + SetCheckInMethod(value *CheckInMethod)() + SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetOdataType(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/check_in_claim_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/check_in_claim_collection_response.go new file mode 100644 index 0000000000..6c4c168608 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/check_in_claim_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type CheckInClaimCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewCheckInClaimCollectionResponse instantiates a new CheckInClaimCollectionResponse and sets the default values. +func NewCheckInClaimCollectionResponse()(*CheckInClaimCollectionResponse) { + m := &CheckInClaimCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateCheckInClaimCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCheckInClaimCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCheckInClaimCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *CheckInClaimCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateCheckInClaimFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]CheckInClaimable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(CheckInClaimable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []CheckInClaimable when successful +func (m *CheckInClaimCollectionResponse) GetValue()([]CheckInClaimable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]CheckInClaimable) + } + return nil +} +// Serialize serializes information the current object +func (m *CheckInClaimCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *CheckInClaimCollectionResponse) SetValue(value []CheckInClaimable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type CheckInClaimCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]CheckInClaimable) + SetValue(value []CheckInClaimable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/check_in_method.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/check_in_method.go new file mode 100644 index 0000000000..308b495621 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/check_in_method.go @@ -0,0 +1,45 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type CheckInMethod int + +const ( + UNSPECIFIED_CHECKINMETHOD CheckInMethod = iota + MANUAL_CHECKINMETHOD + INFERRED_CHECKINMETHOD + VERIFIED_CHECKINMETHOD + UNKNOWNFUTUREVALUE_CHECKINMETHOD +) + +func (i CheckInMethod) String() string { + return []string{"unspecified", "manual", "inferred", "verified", "unknownFutureValue"}[i] +} +func ParseCheckInMethod(v string) (any, error) { + result := UNSPECIFIED_CHECKINMETHOD + switch v { + case "unspecified": + result = UNSPECIFIED_CHECKINMETHOD + case "manual": + result = MANUAL_CHECKINMETHOD + case "inferred": + result = INFERRED_CHECKINMETHOD + case "verified": + result = VERIFIED_CHECKINMETHOD + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_CHECKINMETHOD + default: + return nil, nil + } + return &result, nil +} +func SerializeCheckInMethod(values []CheckInMethod) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i CheckInMethod) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_app_security_session_control.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_app_security_session_control.go index 99bfd36541..8998a5353d 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_app_security_session_control.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_app_security_session_control.go @@ -24,7 +24,7 @@ func NewCloudAppSecuritySessionControl()(*CloudAppSecuritySessionControl) { func CreateCloudAppSecuritySessionControlFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewCloudAppSecuritySessionControl(), nil } -// GetCloudAppSecurityType gets the cloudAppSecurityType property value. Possible values are: mcasConfigured, monitorOnly, blockDownloads, unknownFutureValue. For more information, see Deploy Conditional Access App Control for featured apps. +// GetCloudAppSecurityType gets the cloudAppSecurityType property value. The possible values are: mcasConfigured, monitorOnly, blockDownloads, unknownFutureValue. For more information, see Deploy Conditional Access App Control for featured apps. // returns a *CloudAppSecuritySessionControlType when successful func (m *CloudAppSecuritySessionControl) GetCloudAppSecurityType()(*CloudAppSecuritySessionControlType) { val, err := m.GetBackingStore().Get("cloudAppSecurityType") @@ -67,7 +67,7 @@ func (m *CloudAppSecuritySessionControl) Serialize(writer i878a80d2330e89d268963 } return nil } -// SetCloudAppSecurityType sets the cloudAppSecurityType property value. Possible values are: mcasConfigured, monitorOnly, blockDownloads, unknownFutureValue. For more information, see Deploy Conditional Access App Control for featured apps. +// SetCloudAppSecurityType sets the cloudAppSecurityType property value. The possible values are: mcasConfigured, monitorOnly, blockDownloads, unknownFutureValue. For more information, see Deploy Conditional Access App Control for featured apps. func (m *CloudAppSecuritySessionControl) SetCloudAppSecurityType(value *CloudAppSecuritySessionControlType)() { err := m.GetBackingStore().Set("cloudAppSecurityType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_communications.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_communications.go index 2ad4de9951..74aeb7d28a 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_communications.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_communications.go @@ -8,6 +8,7 @@ import ( ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) +// CloudCommunications represents a container that exposes navigation properties for cloud communications resources. type CloudCommunications struct { // Stores model information. backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore @@ -38,6 +39,18 @@ func (m *CloudCommunications) GetAdditionalData()(map[string]any) { } return val.(map[string]any) } +// GetAdhocCalls gets the adhocCalls property value. The adhocCalls property +// returns a []AdhocCallable when successful +func (m *CloudCommunications) GetAdhocCalls()([]AdhocCallable) { + val, err := m.GetBackingStore().Get("adhocCalls") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AdhocCallable) + } + return nil +} // GetBackingStore gets the BackingStore property value. Stores model information. // returns a BackingStore when successful func (m *CloudCommunications) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { @@ -59,6 +72,22 @@ func (m *CloudCommunications) GetCalls()([]Callable) { // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *CloudCommunications) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["adhocCalls"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAdhocCallFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AdhocCallable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AdhocCallable) + } + } + m.SetAdhocCalls(res) + } + return nil + } res["calls"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateCallFromDiscriminatorValue) if err != nil { @@ -85,6 +114,22 @@ func (m *CloudCommunications) GetFieldDeserializers()(map[string]func(i878a80d23 } return nil } + res["onlineMeetingConversations"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateOnlineMeetingEngagementConversationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]OnlineMeetingEngagementConversationable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(OnlineMeetingEngagementConversationable) + } + } + m.SetOnlineMeetingConversations(res) + } + return nil + } res["onlineMeetings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateOnlineMeetingFromDiscriminatorValue) if err != nil { @@ -131,6 +176,18 @@ func (m *CloudCommunications) GetOdataType()(*string) { } return nil } +// GetOnlineMeetingConversations gets the onlineMeetingConversations property value. A collection of structured question-and-answer (Q&A) threads in Teams directly associated with online meetings. +// returns a []OnlineMeetingEngagementConversationable when successful +func (m *CloudCommunications) GetOnlineMeetingConversations()([]OnlineMeetingEngagementConversationable) { + val, err := m.GetBackingStore().Get("onlineMeetingConversations") + if err != nil { + panic(err) + } + if val != nil { + return val.([]OnlineMeetingEngagementConversationable) + } + return nil +} // GetOnlineMeetings gets the onlineMeetings property value. The onlineMeetings property // returns a []OnlineMeetingable when successful func (m *CloudCommunications) GetOnlineMeetings()([]OnlineMeetingable) { @@ -157,6 +214,18 @@ func (m *CloudCommunications) GetPresences()([]Presenceable) { } // Serialize serializes information the current object func (m *CloudCommunications) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetAdhocCalls() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAdhocCalls())) + for i, v := range m.GetAdhocCalls() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("adhocCalls", cast) + if err != nil { + return err + } + } if m.GetCalls() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetCalls())) for i, v := range m.GetCalls() { @@ -175,6 +244,18 @@ func (m *CloudCommunications) Serialize(writer i878a80d2330e89d26896388a3f487eef return err } } + if m.GetOnlineMeetingConversations() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetOnlineMeetingConversations())) + for i, v := range m.GetOnlineMeetingConversations() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("onlineMeetingConversations", cast) + if err != nil { + return err + } + } if m.GetOnlineMeetings() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetOnlineMeetings())) for i, v := range m.GetOnlineMeetings() { @@ -214,6 +295,13 @@ func (m *CloudCommunications) SetAdditionalData(value map[string]any)() { panic(err) } } +// SetAdhocCalls sets the adhocCalls property value. The adhocCalls property +func (m *CloudCommunications) SetAdhocCalls(value []AdhocCallable)() { + err := m.GetBackingStore().Set("adhocCalls", value) + if err != nil { + panic(err) + } +} // SetBackingStore sets the BackingStore property value. Stores model information. func (m *CloudCommunications) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value @@ -232,6 +320,13 @@ func (m *CloudCommunications) SetOdataType(value *string)() { panic(err) } } +// SetOnlineMeetingConversations sets the onlineMeetingConversations property value. A collection of structured question-and-answer (Q&A) threads in Teams directly associated with online meetings. +func (m *CloudCommunications) SetOnlineMeetingConversations(value []OnlineMeetingEngagementConversationable)() { + err := m.GetBackingStore().Set("onlineMeetingConversations", value) + if err != nil { + panic(err) + } +} // SetOnlineMeetings sets the onlineMeetings property value. The onlineMeetings property func (m *CloudCommunications) SetOnlineMeetings(value []OnlineMeetingable)() { err := m.GetBackingStore().Set("onlineMeetings", value) @@ -250,14 +345,18 @@ type CloudCommunicationsable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAdhocCalls()([]AdhocCallable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetCalls()([]Callable) GetOdataType()(*string) + GetOnlineMeetingConversations()([]OnlineMeetingEngagementConversationable) GetOnlineMeetings()([]OnlineMeetingable) GetPresences()([]Presenceable) + SetAdhocCalls(value []AdhocCallable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetCalls(value []Callable)() SetOdataType(value *string)() + SetOnlineMeetingConversations(value []OnlineMeetingEngagementConversationable)() SetOnlineMeetings(value []OnlineMeetingable)() SetPresences(value []Presenceable)() } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_flare_rule_model.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_flare_rule_model.go new file mode 100644 index 0000000000..9d0bb55e4b --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_flare_rule_model.go @@ -0,0 +1,227 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type CloudFlareRuleModel struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewCloudFlareRuleModel instantiates a new CloudFlareRuleModel and sets the default values. +func NewCloudFlareRuleModel()(*CloudFlareRuleModel) { + m := &CloudFlareRuleModel{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateCloudFlareRuleModelFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCloudFlareRuleModelFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCloudFlareRuleModel(), nil +} +// GetAction gets the action property value. The action Cloudflare applies when the rule matches traffic. Common values include Managed Challenge, Interactive Challenge, Log, Block, JS Challenge, or Skip. +// returns a *string when successful +func (m *CloudFlareRuleModel) GetAction()(*string) { + val, err := m.GetBackingStore().Get("action") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *CloudFlareRuleModel) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *CloudFlareRuleModel) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *CloudFlareRuleModel) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["action"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetAction(val) + } + return nil + } + res["name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetName(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["ruleId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetRuleId(val) + } + return nil + } + return res +} +// GetName gets the name property value. Friendly name for the rule, used in UIs or logs to help administrators identify the rule. +// returns a *string when successful +func (m *CloudFlareRuleModel) GetName()(*string) { + val, err := m.GetBackingStore().Get("name") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *CloudFlareRuleModel) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetRuleId gets the ruleId property value. Unique identifier assigned to the rule by Cloudflare or the integration. +// returns a *string when successful +func (m *CloudFlareRuleModel) GetRuleId()(*string) { + val, err := m.GetBackingStore().Get("ruleId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *CloudFlareRuleModel) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("action", m.GetAction()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("name", m.GetName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("ruleId", m.GetRuleId()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAction sets the action property value. The action Cloudflare applies when the rule matches traffic. Common values include Managed Challenge, Interactive Challenge, Log, Block, JS Challenge, or Skip. +func (m *CloudFlareRuleModel) SetAction(value *string)() { + err := m.GetBackingStore().Set("action", value) + if err != nil { + panic(err) + } +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *CloudFlareRuleModel) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *CloudFlareRuleModel) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetName sets the name property value. Friendly name for the rule, used in UIs or logs to help administrators identify the rule. +func (m *CloudFlareRuleModel) SetName(value *string)() { + err := m.GetBackingStore().Set("name", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *CloudFlareRuleModel) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetRuleId sets the ruleId property value. Unique identifier assigned to the rule by Cloudflare or the integration. +func (m *CloudFlareRuleModel) SetRuleId(value *string)() { + err := m.GetBackingStore().Set("ruleId", value) + if err != nil { + panic(err) + } +} +type CloudFlareRuleModelable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAction()(*string) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetName()(*string) + GetOdataType()(*string) + GetRuleId()(*string) + SetAction(value *string)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetName(value *string)() + SetOdataType(value *string)() + SetRuleId(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_flare_ruleset_model.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_flare_ruleset_model.go new file mode 100644 index 0000000000..27a3e0219b --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_flare_ruleset_model.go @@ -0,0 +1,227 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type CloudFlareRulesetModel struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewCloudFlareRulesetModel instantiates a new CloudFlareRulesetModel and sets the default values. +func NewCloudFlareRulesetModel()(*CloudFlareRulesetModel) { + m := &CloudFlareRulesetModel{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateCloudFlareRulesetModelFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCloudFlareRulesetModelFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCloudFlareRulesetModel(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *CloudFlareRulesetModel) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *CloudFlareRulesetModel) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *CloudFlareRulesetModel) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetName(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["phaseName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPhaseName(val) + } + return nil + } + res["rulesetId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetRulesetId(val) + } + return nil + } + return res +} +// GetName gets the name property value. Friendly name for the ruleset, used in UIs and logs to help administrators identify the ruleset. +// returns a *string when successful +func (m *CloudFlareRulesetModel) GetName()(*string) { + val, err := m.GetBackingStore().Get("name") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *CloudFlareRulesetModel) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPhaseName gets the phaseName property value. Name of the phase during which the ruleset is evaluated (for example, httprequestfirewallmanaged, httprequestfirewallcustom, or provider-specific phase names). This indicates when in the request/response lifecycle the rules apply. +// returns a *string when successful +func (m *CloudFlareRulesetModel) GetPhaseName()(*string) { + val, err := m.GetBackingStore().Get("phaseName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetRulesetId gets the rulesetId property value. Unique identifier assigned to the ruleset by Cloudflare or the integration. +// returns a *string when successful +func (m *CloudFlareRulesetModel) GetRulesetId()(*string) { + val, err := m.GetBackingStore().Get("rulesetId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *CloudFlareRulesetModel) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("name", m.GetName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("phaseName", m.GetPhaseName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("rulesetId", m.GetRulesetId()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *CloudFlareRulesetModel) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *CloudFlareRulesetModel) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetName sets the name property value. Friendly name for the ruleset, used in UIs and logs to help administrators identify the ruleset. +func (m *CloudFlareRulesetModel) SetName(value *string)() { + err := m.GetBackingStore().Set("name", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *CloudFlareRulesetModel) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetPhaseName sets the phaseName property value. Name of the phase during which the ruleset is evaluated (for example, httprequestfirewallmanaged, httprequestfirewallcustom, or provider-specific phase names). This indicates when in the request/response lifecycle the rules apply. +func (m *CloudFlareRulesetModel) SetPhaseName(value *string)() { + err := m.GetBackingStore().Set("phaseName", value) + if err != nil { + panic(err) + } +} +// SetRulesetId sets the rulesetId property value. Unique identifier assigned to the ruleset by Cloudflare or the integration. +func (m *CloudFlareRulesetModel) SetRulesetId(value *string)() { + err := m.GetBackingStore().Set("rulesetId", value) + if err != nil { + panic(err) + } +} +type CloudFlareRulesetModelable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetName()(*string) + GetOdataType()(*string) + GetPhaseName()(*string) + GetRulesetId()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetName(value *string)() + SetOdataType(value *string)() + SetPhaseName(value *string)() + SetRulesetId(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_flare_verified_details_model.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_flare_verified_details_model.go new file mode 100644 index 0000000000..51f1c26611 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_flare_verified_details_model.go @@ -0,0 +1,179 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type CloudFlareVerifiedDetailsModel struct { + WebApplicationFirewallVerifiedDetails +} +// NewCloudFlareVerifiedDetailsModel instantiates a new CloudFlareVerifiedDetailsModel and sets the default values. +func NewCloudFlareVerifiedDetailsModel()(*CloudFlareVerifiedDetailsModel) { + m := &CloudFlareVerifiedDetailsModel{ + WebApplicationFirewallVerifiedDetails: *NewWebApplicationFirewallVerifiedDetails(), + } + odataTypeValue := "#microsoft.graph.cloudFlareVerifiedDetailsModel" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateCloudFlareVerifiedDetailsModelFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCloudFlareVerifiedDetailsModelFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCloudFlareVerifiedDetailsModel(), nil +} +// GetEnabledCustomRules gets the enabledCustomRules property value. Collection of Cloudflare custom rules that are currently enabled for the zone or host. +// returns a []CloudFlareRuleModelable when successful +func (m *CloudFlareVerifiedDetailsModel) GetEnabledCustomRules()([]CloudFlareRuleModelable) { + val, err := m.GetBackingStore().Get("enabledCustomRules") + if err != nil { + panic(err) + } + if val != nil { + return val.([]CloudFlareRuleModelable) + } + return nil +} +// GetEnabledRecommendedRulesets gets the enabledRecommendedRulesets property value. Collection of Cloudflare recommended rulesets that are enabled for the zone or host. +// returns a []CloudFlareRulesetModelable when successful +func (m *CloudFlareVerifiedDetailsModel) GetEnabledRecommendedRulesets()([]CloudFlareRulesetModelable) { + val, err := m.GetBackingStore().Get("enabledRecommendedRulesets") + if err != nil { + panic(err) + } + if val != nil { + return val.([]CloudFlareRulesetModelable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *CloudFlareVerifiedDetailsModel) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.WebApplicationFirewallVerifiedDetails.GetFieldDeserializers() + res["enabledCustomRules"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateCloudFlareRuleModelFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]CloudFlareRuleModelable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(CloudFlareRuleModelable) + } + } + m.SetEnabledCustomRules(res) + } + return nil + } + res["enabledRecommendedRulesets"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateCloudFlareRulesetModelFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]CloudFlareRulesetModelable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(CloudFlareRulesetModelable) + } + } + m.SetEnabledRecommendedRulesets(res) + } + return nil + } + res["zoneId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetZoneId(val) + } + return nil + } + return res +} +// GetZoneId gets the zoneId property value. Cloudflare-assigned identifier for the DNS zone associated with the verified host (for example, the Cloudflare Zone ID). This ID is used to correlate verification details with the Cloudflare account and to perform configuration operations via the provider's API. +// returns a *string when successful +func (m *CloudFlareVerifiedDetailsModel) GetZoneId()(*string) { + val, err := m.GetBackingStore().Get("zoneId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *CloudFlareVerifiedDetailsModel) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.WebApplicationFirewallVerifiedDetails.Serialize(writer) + if err != nil { + return err + } + if m.GetEnabledCustomRules() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetEnabledCustomRules())) + for i, v := range m.GetEnabledCustomRules() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("enabledCustomRules", cast) + if err != nil { + return err + } + } + if m.GetEnabledRecommendedRulesets() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetEnabledRecommendedRulesets())) + for i, v := range m.GetEnabledRecommendedRulesets() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("enabledRecommendedRulesets", cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("zoneId", m.GetZoneId()) + if err != nil { + return err + } + } + return nil +} +// SetEnabledCustomRules sets the enabledCustomRules property value. Collection of Cloudflare custom rules that are currently enabled for the zone or host. +func (m *CloudFlareVerifiedDetailsModel) SetEnabledCustomRules(value []CloudFlareRuleModelable)() { + err := m.GetBackingStore().Set("enabledCustomRules", value) + if err != nil { + panic(err) + } +} +// SetEnabledRecommendedRulesets sets the enabledRecommendedRulesets property value. Collection of Cloudflare recommended rulesets that are enabled for the zone or host. +func (m *CloudFlareVerifiedDetailsModel) SetEnabledRecommendedRulesets(value []CloudFlareRulesetModelable)() { + err := m.GetBackingStore().Set("enabledRecommendedRulesets", value) + if err != nil { + panic(err) + } +} +// SetZoneId sets the zoneId property value. Cloudflare-assigned identifier for the DNS zone associated with the verified host (for example, the Cloudflare Zone ID). This ID is used to correlate verification details with the Cloudflare account and to perform configuration operations via the provider's API. +func (m *CloudFlareVerifiedDetailsModel) SetZoneId(value *string)() { + err := m.GetBackingStore().Set("zoneId", value) + if err != nil { + panic(err) + } +} +type CloudFlareVerifiedDetailsModelable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + WebApplicationFirewallVerifiedDetailsable + GetEnabledCustomRules()([]CloudFlareRuleModelable) + GetEnabledRecommendedRulesets()([]CloudFlareRulesetModelable) + GetZoneId()(*string) + SetEnabledCustomRules(value []CloudFlareRuleModelable)() + SetEnabledRecommendedRulesets(value []CloudFlareRulesetModelable)() + SetZoneId(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_flare_web_application_firewall_provider.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_flare_web_application_firewall_provider.go new file mode 100644 index 0000000000..f8855f8b10 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_flare_web_application_firewall_provider.go @@ -0,0 +1,118 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type CloudFlareWebApplicationFirewallProvider struct { + WebApplicationFirewallProvider +} +// NewCloudFlareWebApplicationFirewallProvider instantiates a new CloudFlareWebApplicationFirewallProvider and sets the default values. +func NewCloudFlareWebApplicationFirewallProvider()(*CloudFlareWebApplicationFirewallProvider) { + m := &CloudFlareWebApplicationFirewallProvider{ + WebApplicationFirewallProvider: *NewWebApplicationFirewallProvider(), + } + odataTypeValue := "#microsoft.graph.cloudFlareWebApplicationFirewallProvider" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateCloudFlareWebApplicationFirewallProviderFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCloudFlareWebApplicationFirewallProviderFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCloudFlareWebApplicationFirewallProvider(), nil +} +// GetApiToken gets the apiToken property value. Cloudflare API token or credential used by Microsoft services to authenticate to the Cloudflare account. Contact your Cloudflare Customer Success Manager for assistance with your apitoken. +// returns a *string when successful +func (m *CloudFlareWebApplicationFirewallProvider) GetApiToken()(*string) { + val, err := m.GetBackingStore().Get("apiToken") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *CloudFlareWebApplicationFirewallProvider) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.WebApplicationFirewallProvider.GetFieldDeserializers() + res["apiToken"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetApiToken(val) + } + return nil + } + res["zoneId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetZoneId(val) + } + return nil + } + return res +} +// GetZoneId gets the zoneId property value. Default Cloudflare Zone ID associated with this provider configuration. This ID identifies the DNS zone in Cloudflare that is commonly used for verification and configuration operations for the provider. +// returns a *string when successful +func (m *CloudFlareWebApplicationFirewallProvider) GetZoneId()(*string) { + val, err := m.GetBackingStore().Get("zoneId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *CloudFlareWebApplicationFirewallProvider) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.WebApplicationFirewallProvider.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("apiToken", m.GetApiToken()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("zoneId", m.GetZoneId()) + if err != nil { + return err + } + } + return nil +} +// SetApiToken sets the apiToken property value. Cloudflare API token or credential used by Microsoft services to authenticate to the Cloudflare account. Contact your Cloudflare Customer Success Manager for assistance with your apitoken. +func (m *CloudFlareWebApplicationFirewallProvider) SetApiToken(value *string)() { + err := m.GetBackingStore().Set("apiToken", value) + if err != nil { + panic(err) + } +} +// SetZoneId sets the zoneId property value. Default Cloudflare Zone ID associated with this provider configuration. This ID identifies the DNS zone in Cloudflare that is commonly used for verification and configuration operations for the provider. +func (m *CloudFlareWebApplicationFirewallProvider) SetZoneId(value *string)() { + err := m.GetBackingStore().Set("zoneId", value) + if err != nil { + panic(err) + } +} +type CloudFlareWebApplicationFirewallProviderable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + WebApplicationFirewallProviderable + GetApiToken()(*string) + GetZoneId()(*string) + SetApiToken(value *string)() + SetZoneId(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_p_c.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_p_c.go index 4c2abd7392..09d7dbbb3a 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_p_c.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_p_c.go @@ -289,7 +289,7 @@ func (m *CloudPC) GetProvisioningPolicyName()(*string) { } return nil } -// GetProvisioningType gets the provisioningType property value. The type of licenses to be used when provisioning Cloud PCs using this policy. Possible values are: dedicated, shared, unknownFutureValue. The default value is dedicated. +// GetProvisioningType gets the provisioningType property value. The type of licenses to be used when provisioning Cloud PCs using this policy. The possible values are: dedicated, shared, unknownFutureValue. The default value is dedicated. // returns a *CloudPcProvisioningType when successful func (m *CloudPC) GetProvisioningType()(*CloudPcProvisioningType) { val, err := m.GetBackingStore().Get("provisioningType") @@ -500,7 +500,7 @@ func (m *CloudPC) SetProvisioningPolicyName(value *string)() { panic(err) } } -// SetProvisioningType sets the provisioningType property value. The type of licenses to be used when provisioning Cloud PCs using this policy. Possible values are: dedicated, shared, unknownFutureValue. The default value is dedicated. +// SetProvisioningType sets the provisioningType property value. The type of licenses to be used when provisioning Cloud PCs using this policy. The possible values are: dedicated, shared, unknownFutureValue. The default value is dedicated. func (m *CloudPC) SetProvisioningType(value *CloudPcProvisioningType)() { err := m.GetBackingStore().Set("provisioningType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_device_image.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_device_image.go index 3694c0a402..1a02c4860d 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_device_image.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_device_image.go @@ -35,7 +35,7 @@ func (m *CloudPcDeviceImage) GetDisplayName()(*string) { } return nil } -// GetErrorCode gets the errorCode property value. The error code of the status of the image that indicates why the upload failed, if applicable. Possible values are: internalServerError, sourceImageNotFound, osVersionNotSupported, sourceImageInvalid, sourceImageNotGeneralized, unknownFutureValue, vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Read-only. +// GetErrorCode gets the errorCode property value. The error code of the status of the image that indicates why the upload failed, if applicable. The possible values are: internalServerError, sourceImageNotFound, osVersionNotSupported, sourceImageInvalid, sourceImageNotGeneralized, unknownFutureValue, vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Read-only. // returns a *CloudPcDeviceImageErrorCode when successful func (m *CloudPcDeviceImage) GetErrorCode()(*CloudPcDeviceImageErrorCode) { val, err := m.GetBackingStore().Get("errorCode") @@ -201,7 +201,7 @@ func (m *CloudPcDeviceImage) GetOsBuildNumber()(*string) { } return nil } -// GetOsStatus gets the osStatus property value. The OS status of this image. Possible values are: supported, supportedWithWarning, unknown, unknownFutureValue. The default value is unknown. Read-only. +// GetOsStatus gets the osStatus property value. The OS status of this image. The possible values are: supported, supportedWithWarning, unknown, unknownFutureValue. The default value is unknown. Read-only. // returns a *CloudPcDeviceImageOsStatus when successful func (m *CloudPcDeviceImage) GetOsStatus()(*CloudPcDeviceImageOsStatus) { val, err := m.GetBackingStore().Get("osStatus") @@ -225,7 +225,7 @@ func (m *CloudPcDeviceImage) GetSourceImageResourceId()(*string) { } return nil } -// GetStatus gets the status property value. The status of the image on the Cloud PC. Possible values are: pending, ready, failed, unknownFutureValue. Read-only. +// GetStatus gets the status property value. The status of the image on the Cloud PC. The possible values are: pending, ready, failed, unknownFutureValue. Read-only. // returns a *CloudPcDeviceImageStatus when successful func (m *CloudPcDeviceImage) GetStatus()(*CloudPcDeviceImageStatus) { val, err := m.GetBackingStore().Get("status") @@ -327,7 +327,7 @@ func (m *CloudPcDeviceImage) SetDisplayName(value *string)() { panic(err) } } -// SetErrorCode sets the errorCode property value. The error code of the status of the image that indicates why the upload failed, if applicable. Possible values are: internalServerError, sourceImageNotFound, osVersionNotSupported, sourceImageInvalid, sourceImageNotGeneralized, unknownFutureValue, vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Read-only. +// SetErrorCode sets the errorCode property value. The error code of the status of the image that indicates why the upload failed, if applicable. The possible values are: internalServerError, sourceImageNotFound, osVersionNotSupported, sourceImageInvalid, sourceImageNotGeneralized, unknownFutureValue, vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Read-only. func (m *CloudPcDeviceImage) SetErrorCode(value *CloudPcDeviceImageErrorCode)() { err := m.GetBackingStore().Set("errorCode", value) if err != nil { @@ -362,7 +362,7 @@ func (m *CloudPcDeviceImage) SetOsBuildNumber(value *string)() { panic(err) } } -// SetOsStatus sets the osStatus property value. The OS status of this image. Possible values are: supported, supportedWithWarning, unknown, unknownFutureValue. The default value is unknown. Read-only. +// SetOsStatus sets the osStatus property value. The OS status of this image. The possible values are: supported, supportedWithWarning, unknown, unknownFutureValue. The default value is unknown. Read-only. func (m *CloudPcDeviceImage) SetOsStatus(value *CloudPcDeviceImageOsStatus)() { err := m.GetBackingStore().Set("osStatus", value) if err != nil { @@ -376,7 +376,7 @@ func (m *CloudPcDeviceImage) SetSourceImageResourceId(value *string)() { panic(err) } } -// SetStatus sets the status property value. The status of the image on the Cloud PC. Possible values are: pending, ready, failed, unknownFutureValue. Read-only. +// SetStatus sets the status property value. The status of the image on the Cloud PC. The possible values are: pending, ready, failed, unknownFutureValue. Read-only. func (m *CloudPcDeviceImage) SetStatus(value *CloudPcDeviceImageStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_domain_join_configuration.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_domain_join_configuration.go index e1cf913ced..430a909cda 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_domain_join_configuration.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_domain_join_configuration.go @@ -43,7 +43,7 @@ func (m *CloudPcDomainJoinConfiguration) GetAdditionalData()(map[string]any) { func (m *CloudPcDomainJoinConfiguration) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetDomainJoinType gets the domainJoinType property value. Specifies the method by which the provisioned Cloud PC joins Microsoft Entra ID. If you choose the hybridAzureADJoin type, only provide a value for the onPremisesConnectionId property and leave the regionName property empty. If you choose the azureADJoin type, provide a value for either the onPremisesConnectionId or the regionName property. Possible values are: azureADJoin, hybridAzureADJoin, unknownFutureValue. +// GetDomainJoinType gets the domainJoinType property value. Specifies the method by which the provisioned Cloud PC joins Microsoft Entra ID. If you choose the hybridAzureADJoin type, only provide a value for the onPremisesConnectionId property and leave the regionName property empty. If you choose the azureADJoin type, provide a value for either the onPremisesConnectionId or the regionName property. The possible values are: azureADJoin, hybridAzureADJoin, unknownFutureValue. // returns a *CloudPcDomainJoinType when successful func (m *CloudPcDomainJoinConfiguration) GetDomainJoinType()(*CloudPcDomainJoinType) { val, err := m.GetBackingStore().Get("domainJoinType") @@ -135,7 +135,7 @@ func (m *CloudPcDomainJoinConfiguration) GetOnPremisesConnectionId()(*string) { } return nil } -// GetRegionGroup gets the regionGroup property value. The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when they provision a Cloud PC, and the Cloud PC is put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. Possible values are: default, australia, canada, usCentral, usEast, usWest, france, germany, europeUnion, unitedKingdom, japan, asia, india, southAmerica, euap, usGovernment, usGovernmentDOD, unknownFutureValue, norway, switzerland, southKorea. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: norway, switzerland, southKorea. Read-only. +// GetRegionGroup gets the regionGroup property value. The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when they provision a Cloud PC, and the Cloud PC is put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. Read-only. // returns a *CloudPcRegionGroup when successful func (m *CloudPcDomainJoinConfiguration) GetRegionGroup()(*CloudPcRegionGroup) { val, err := m.GetBackingStore().Get("regionGroup") @@ -212,7 +212,7 @@ func (m *CloudPcDomainJoinConfiguration) SetAdditionalData(value map[string]any) func (m *CloudPcDomainJoinConfiguration) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetDomainJoinType sets the domainJoinType property value. Specifies the method by which the provisioned Cloud PC joins Microsoft Entra ID. If you choose the hybridAzureADJoin type, only provide a value for the onPremisesConnectionId property and leave the regionName property empty. If you choose the azureADJoin type, provide a value for either the onPremisesConnectionId or the regionName property. Possible values are: azureADJoin, hybridAzureADJoin, unknownFutureValue. +// SetDomainJoinType sets the domainJoinType property value. Specifies the method by which the provisioned Cloud PC joins Microsoft Entra ID. If you choose the hybridAzureADJoin type, only provide a value for the onPremisesConnectionId property and leave the regionName property empty. If you choose the azureADJoin type, provide a value for either the onPremisesConnectionId or the regionName property. The possible values are: azureADJoin, hybridAzureADJoin, unknownFutureValue. func (m *CloudPcDomainJoinConfiguration) SetDomainJoinType(value *CloudPcDomainJoinType)() { err := m.GetBackingStore().Set("domainJoinType", value) if err != nil { @@ -233,7 +233,7 @@ func (m *CloudPcDomainJoinConfiguration) SetOnPremisesConnectionId(value *string panic(err) } } -// SetRegionGroup sets the regionGroup property value. The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when they provision a Cloud PC, and the Cloud PC is put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. Possible values are: default, australia, canada, usCentral, usEast, usWest, france, germany, europeUnion, unitedKingdom, japan, asia, india, southAmerica, euap, usGovernment, usGovernmentDOD, unknownFutureValue, norway, switzerland, southKorea. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: norway, switzerland, southKorea. Read-only. +// SetRegionGroup sets the regionGroup property value. The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when they provision a Cloud PC, and the Cloud PC is put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. Read-only. func (m *CloudPcDomainJoinConfiguration) SetRegionGroup(value *CloudPcRegionGroup)() { err := m.GetBackingStore().Set("regionGroup", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_gallery_image.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_gallery_image.go index 3c81e5672c..4b0be522f4 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_gallery_image.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_gallery_image.go @@ -214,7 +214,7 @@ func (m *CloudPcGalleryImage) GetStartDate()(*i878a80d2330e89d26896388a3f487eef2 } return nil } -// GetStatus gets the status property value. The status of the gallery image on the Cloud PC. Possible values are: supported, supportedWithWarning, notSupported, unknownFutureValue. The default value is supported. Read-only. +// GetStatus gets the status property value. The status of the gallery image on the Cloud PC. The possible values are: supported, supportedWithWarning, notSupported, unknownFutureValue. The default value is supported. Read-only. // returns a *CloudPcGalleryImageStatus when successful func (m *CloudPcGalleryImage) GetStatus()(*CloudPcGalleryImageStatus) { val, err := m.GetBackingStore().Get("status") @@ -345,7 +345,7 @@ func (m *CloudPcGalleryImage) SetStartDate(value *i878a80d2330e89d26896388a3f487 panic(err) } } -// SetStatus sets the status property value. The status of the gallery image on the Cloud PC. Possible values are: supported, supportedWithWarning, notSupported, unknownFutureValue. The default value is supported. Read-only. +// SetStatus sets the status property value. The status of the gallery image on the Cloud PC. The possible values are: supported, supportedWithWarning, notSupported, unknownFutureValue. The default value is supported. Read-only. func (m *CloudPcGalleryImage) SetStatus(value *CloudPcGalleryImageStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_launch_detail.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_launch_detail.go new file mode 100644 index 0000000000..62d7148cdc --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_launch_detail.go @@ -0,0 +1,265 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type CloudPcLaunchDetail struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewCloudPcLaunchDetail instantiates a new CloudPcLaunchDetail and sets the default values. +func NewCloudPcLaunchDetail()(*CloudPcLaunchDetail) { + m := &CloudPcLaunchDetail{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateCloudPcLaunchDetailFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCloudPcLaunchDetailFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCloudPcLaunchDetail(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *CloudPcLaunchDetail) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *CloudPcLaunchDetail) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetCloudPcId gets the cloudPcId property value. The unique identifier of the Cloud PC. +// returns a *string when successful +func (m *CloudPcLaunchDetail) GetCloudPcId()(*string) { + val, err := m.GetBackingStore().Get("cloudPcId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetCloudPcLaunchUrl gets the cloudPcLaunchUrl property value. The connect URL of the Cloud PC. +// returns a *string when successful +func (m *CloudPcLaunchDetail) GetCloudPcLaunchUrl()(*string) { + val, err := m.GetBackingStore().Get("cloudPcLaunchUrl") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *CloudPcLaunchDetail) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["cloudPcId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCloudPcId(val) + } + return nil + } + res["cloudPcLaunchUrl"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCloudPcLaunchUrl(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["windows365SwitchCompatibilityFailureReasonType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseWindows365SwitchCompatibilityFailureReasonType) + if err != nil { + return err + } + if val != nil { + m.SetWindows365SwitchCompatibilityFailureReasonType(val.(*Windows365SwitchCompatibilityFailureReasonType)) + } + return nil + } + res["windows365SwitchCompatible"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetWindows365SwitchCompatible(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *CloudPcLaunchDetail) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetWindows365SwitchCompatibilityFailureReasonType gets the windows365SwitchCompatibilityFailureReasonType property value. Indicates the reason the Cloud PC isn't compatible with Windows 365 Switch. Possible values are: osVersionNotSupported, hardwareNotSupported, unknownFutureValue. osVersionNotSupported indicates that the user needs to update their Cloud PC operating system version. hardwareNotSupported indicates that the Cloud PC needs more CPUs or RAM to support the functionality. +// returns a *Windows365SwitchCompatibilityFailureReasonType when successful +func (m *CloudPcLaunchDetail) GetWindows365SwitchCompatibilityFailureReasonType()(*Windows365SwitchCompatibilityFailureReasonType) { + val, err := m.GetBackingStore().Get("windows365SwitchCompatibilityFailureReasonType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*Windows365SwitchCompatibilityFailureReasonType) + } + return nil +} +// GetWindows365SwitchCompatible gets the windows365SwitchCompatible property value. Indicates whether the Cloud PC supports switch functionality. If the value is true, it supports switch functionality; otherwise, false. +// returns a *bool when successful +func (m *CloudPcLaunchDetail) GetWindows365SwitchCompatible()(*bool) { + val, err := m.GetBackingStore().Get("windows365SwitchCompatible") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// Serialize serializes information the current object +func (m *CloudPcLaunchDetail) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("cloudPcId", m.GetCloudPcId()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("cloudPcLaunchUrl", m.GetCloudPcLaunchUrl()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + if m.GetWindows365SwitchCompatibilityFailureReasonType() != nil { + cast := (*m.GetWindows365SwitchCompatibilityFailureReasonType()).String() + err := writer.WriteStringValue("windows365SwitchCompatibilityFailureReasonType", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("windows365SwitchCompatible", m.GetWindows365SwitchCompatible()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *CloudPcLaunchDetail) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *CloudPcLaunchDetail) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetCloudPcId sets the cloudPcId property value. The unique identifier of the Cloud PC. +func (m *CloudPcLaunchDetail) SetCloudPcId(value *string)() { + err := m.GetBackingStore().Set("cloudPcId", value) + if err != nil { + panic(err) + } +} +// SetCloudPcLaunchUrl sets the cloudPcLaunchUrl property value. The connect URL of the Cloud PC. +func (m *CloudPcLaunchDetail) SetCloudPcLaunchUrl(value *string)() { + err := m.GetBackingStore().Set("cloudPcLaunchUrl", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *CloudPcLaunchDetail) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetWindows365SwitchCompatibilityFailureReasonType sets the windows365SwitchCompatibilityFailureReasonType property value. Indicates the reason the Cloud PC isn't compatible with Windows 365 Switch. Possible values are: osVersionNotSupported, hardwareNotSupported, unknownFutureValue. osVersionNotSupported indicates that the user needs to update their Cloud PC operating system version. hardwareNotSupported indicates that the Cloud PC needs more CPUs or RAM to support the functionality. +func (m *CloudPcLaunchDetail) SetWindows365SwitchCompatibilityFailureReasonType(value *Windows365SwitchCompatibilityFailureReasonType)() { + err := m.GetBackingStore().Set("windows365SwitchCompatibilityFailureReasonType", value) + if err != nil { + panic(err) + } +} +// SetWindows365SwitchCompatible sets the windows365SwitchCompatible property value. Indicates whether the Cloud PC supports switch functionality. If the value is true, it supports switch functionality; otherwise, false. +func (m *CloudPcLaunchDetail) SetWindows365SwitchCompatible(value *bool)() { + err := m.GetBackingStore().Set("windows365SwitchCompatible", value) + if err != nil { + panic(err) + } +} +type CloudPcLaunchDetailable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetCloudPcId()(*string) + GetCloudPcLaunchUrl()(*string) + GetOdataType()(*string) + GetWindows365SwitchCompatibilityFailureReasonType()(*Windows365SwitchCompatibilityFailureReasonType) + GetWindows365SwitchCompatible()(*bool) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetCloudPcId(value *string)() + SetCloudPcLaunchUrl(value *string)() + SetOdataType(value *string)() + SetWindows365SwitchCompatibilityFailureReasonType(value *Windows365SwitchCompatibilityFailureReasonType)() + SetWindows365SwitchCompatible(value *bool)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_on_premises_connection_health_check.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_on_premises_connection_health_check.go index 19cf6cf28d..0462d314d9 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_on_premises_connection_health_check.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_on_premises_connection_health_check.go @@ -92,7 +92,7 @@ func (m *CloudPcOnPremisesConnectionHealthCheck) GetEndDateTime()(*i336074805fc8 } return nil } -// GetErrorType gets the errorType property value. The type of error that occurred during this health check. Possible values are: endpointConnectivityCheckCloudPcUrlNotAllowListed, endpointConnectivityCheckWVDUrlNotAllowListed, etc. (The all possible values can refer to cloudPcOnPremisesConnectionHealthCheckErrorType) Read-Only. +// GetErrorType gets the errorType property value. The type of error that occurred during this health check. Read-only. // returns a *CloudPcOnPremisesConnectionHealthCheckErrorType when successful func (m *CloudPcOnPremisesConnectionHealthCheck) GetErrorType()(*CloudPcOnPremisesConnectionHealthCheckErrorType) { val, err := m.GetBackingStore().Get("errorType") @@ -353,7 +353,7 @@ func (m *CloudPcOnPremisesConnectionHealthCheck) SetEndDateTime(value *i33607480 panic(err) } } -// SetErrorType sets the errorType property value. The type of error that occurred during this health check. Possible values are: endpointConnectivityCheckCloudPcUrlNotAllowListed, endpointConnectivityCheckWVDUrlNotAllowListed, etc. (The all possible values can refer to cloudPcOnPremisesConnectionHealthCheckErrorType) Read-Only. +// SetErrorType sets the errorType property value. The type of error that occurred during this health check. Read-only. func (m *CloudPcOnPremisesConnectionHealthCheck) SetErrorType(value *CloudPcOnPremisesConnectionHealthCheckErrorType)() { err := m.GetBackingStore().Set("errorType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_operating_system.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_operating_system.go new file mode 100644 index 0000000000..6f1ed479aa --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_operating_system.go @@ -0,0 +1,39 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type CloudPcOperatingSystem int + +const ( + WINDOWS10_CLOUDPCOPERATINGSYSTEM CloudPcOperatingSystem = iota + WINDOWS11_CLOUDPCOPERATINGSYSTEM + UNKNOWNFUTUREVALUE_CLOUDPCOPERATINGSYSTEM +) + +func (i CloudPcOperatingSystem) String() string { + return []string{"windows10", "windows11", "unknownFutureValue"}[i] +} +func ParseCloudPcOperatingSystem(v string) (any, error) { + result := WINDOWS10_CLOUDPCOPERATINGSYSTEM + switch v { + case "windows10": + result = WINDOWS10_CLOUDPCOPERATINGSYSTEM + case "windows11": + result = WINDOWS11_CLOUDPCOPERATINGSYSTEM + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_CLOUDPCOPERATINGSYSTEM + default: + return nil, nil + } + return &result, nil +} +func SerializeCloudPcOperatingSystem(values []CloudPcOperatingSystem) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i CloudPcOperatingSystem) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_provisioning_policy.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_provisioning_policy.go index 3f20d7e98f..0d13e91af3 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_provisioning_policy.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_provisioning_policy.go @@ -390,7 +390,7 @@ func (m *CloudPcProvisioningPolicy) GetMicrosoftManagedDesktop()(MicrosoftManage } return nil } -// GetProvisioningType gets the provisioningType property value. Specifies the type of license used when provisioning Cloud PCs using this policy. By default, the license type is dedicated if the provisioningType isn't specified when you create the cloudPcProvisioningPolicy. You can't change this property after the cloudPcProvisioningPolicy was created. Possible values are: dedicated, shared, unknownFutureValue. +// GetProvisioningType gets the provisioningType property value. Specifies the type of license used when provisioning Cloud PCs using this policy. By default, the license type is dedicated if the provisioningType isn't specified when you create the cloudPcProvisioningPolicy. You can't change this property after the cloudPcProvisioningPolicy was created. The possible values are: dedicated, shared, unknownFutureValue. // returns a *CloudPcProvisioningType when successful func (m *CloudPcProvisioningPolicy) GetProvisioningType()(*CloudPcProvisioningType) { val, err := m.GetBackingStore().Get("provisioningType") @@ -643,7 +643,7 @@ func (m *CloudPcProvisioningPolicy) SetMicrosoftManagedDesktop(value MicrosoftMa panic(err) } } -// SetProvisioningType sets the provisioningType property value. Specifies the type of license used when provisioning Cloud PCs using this policy. By default, the license type is dedicated if the provisioningType isn't specified when you create the cloudPcProvisioningPolicy. You can't change this property after the cloudPcProvisioningPolicy was created. Possible values are: dedicated, shared, unknownFutureValue. +// SetProvisioningType sets the provisioningType property value. Specifies the type of license used when provisioning Cloud PCs using this policy. By default, the license type is dedicated if the provisioningType isn't specified when you create the cloudPcProvisioningPolicy. You can't change this property after the cloudPcProvisioningPolicy was created. The possible values are: dedicated, shared, unknownFutureValue. func (m *CloudPcProvisioningPolicy) SetProvisioningType(value *CloudPcProvisioningType)() { err := m.GetBackingStore().Set("provisioningType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_recommendation_report_type.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_recommendation_report_type.go new file mode 100644 index 0000000000..b501ed6195 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_recommendation_report_type.go @@ -0,0 +1,36 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type CloudPcRecommendationReportType int + +const ( + CLOUDPCUSAGECATEGORYREPORT_CLOUDPCRECOMMENDATIONREPORTTYPE CloudPcRecommendationReportType = iota + UNKNOWNFUTUREVALUE_CLOUDPCRECOMMENDATIONREPORTTYPE +) + +func (i CloudPcRecommendationReportType) String() string { + return []string{"cloudPcUsageCategoryReport", "unknownFutureValue"}[i] +} +func ParseCloudPcRecommendationReportType(v string) (any, error) { + result := CLOUDPCUSAGECATEGORYREPORT_CLOUDPCRECOMMENDATIONREPORTTYPE + switch v { + case "cloudPcUsageCategoryReport": + result = CLOUDPCUSAGECATEGORYREPORT_CLOUDPCRECOMMENDATIONREPORTTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_CLOUDPCRECOMMENDATIONREPORTTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeCloudPcRecommendationReportType(values []CloudPcRecommendationReportType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i CloudPcRecommendationReportType) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_report.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_report.go new file mode 100644 index 0000000000..732e081130 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_report.go @@ -0,0 +1,42 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type CloudPcReport struct { + Entity +} +// NewCloudPcReport instantiates a new CloudPcReport and sets the default values. +func NewCloudPcReport()(*CloudPcReport) { + m := &CloudPcReport{ + Entity: *NewEntity(), + } + return m +} +// CreateCloudPcReportFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCloudPcReportFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCloudPcReport(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *CloudPcReport) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *CloudPcReport) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + return nil +} +type CloudPcReportable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_restore_point_setting.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_restore_point_setting.go index eeaaeeec5c..9af63c88f5 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_restore_point_setting.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_restore_point_setting.go @@ -79,7 +79,7 @@ func (m *CloudPcRestorePointSetting) GetFieldDeserializers()(map[string]func(i87 } return res } -// GetFrequencyType gets the frequencyType property value. The time interval in hours to take snapshots (restore points) of a Cloud PC automatically. Possible values are: default, fourHours, sixHours, twelveHours, sixteenHours, twentyFourHours, unknownFutureValue. The default value is default that indicates that the time interval for automatic capturing of restore point snapshots is set to 12 hours. +// GetFrequencyType gets the frequencyType property value. The time interval in hours to take snapshots (restore points) of a Cloud PC automatically. The possible values are: default, fourHours, sixHours, twelveHours, sixteenHours, twentyFourHours, unknownFutureValue. The default value is default that indicates that the time interval for automatic capturing of restore point snapshots is set to 12 hours. // returns a *CloudPcRestorePointFrequencyType when successful func (m *CloudPcRestorePointSetting) GetFrequencyType()(*CloudPcRestorePointFrequencyType) { val, err := m.GetBackingStore().Get("frequencyType") @@ -155,7 +155,7 @@ func (m *CloudPcRestorePointSetting) SetAdditionalData(value map[string]any)() { func (m *CloudPcRestorePointSetting) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetFrequencyType sets the frequencyType property value. The time interval in hours to take snapshots (restore points) of a Cloud PC automatically. Possible values are: default, fourHours, sixHours, twelveHours, sixteenHours, twentyFourHours, unknownFutureValue. The default value is default that indicates that the time interval for automatic capturing of restore point snapshots is set to 12 hours. +// SetFrequencyType sets the frequencyType property value. The time interval in hours to take snapshots (restore points) of a Cloud PC automatically. The possible values are: default, fourHours, sixHours, twelveHours, sixteenHours, twentyFourHours, unknownFutureValue. The default value is default that indicates that the time interval for automatic capturing of restore point snapshots is set to 12 hours. func (m *CloudPcRestorePointSetting) SetFrequencyType(value *CloudPcRestorePointFrequencyType)() { err := m.GetBackingStore().Set("frequencyType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_user_account_type.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_user_account_type.go new file mode 100644 index 0000000000..bf0d1ed931 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/cloud_pc_user_account_type.go @@ -0,0 +1,39 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type CloudPcUserAccountType int + +const ( + STANDARDUSER_CLOUDPCUSERACCOUNTTYPE CloudPcUserAccountType = iota + ADMINISTRATOR_CLOUDPCUSERACCOUNTTYPE + UNKNOWNFUTUREVALUE_CLOUDPCUSERACCOUNTTYPE +) + +func (i CloudPcUserAccountType) String() string { + return []string{"standardUser", "administrator", "unknownFutureValue"}[i] +} +func ParseCloudPcUserAccountType(v string) (any, error) { + result := STANDARDUSER_CLOUDPCUSERACCOUNTTYPE + switch v { + case "standardUser": + result = STANDARDUSER_CLOUDPCUSERACCOUNTTYPE + case "administrator": + result = ADMINISTRATOR_CLOUDPCUSERACCOUNTTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_CLOUDPCUSERACCOUNTTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeCloudPcUserAccountType(values []CloudPcUserAccountType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i CloudPcUserAccountType) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/communications_guest_identity.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/communications_guest_identity.go index f7050aa75e..d7baa0a9f9 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/communications_guest_identity.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/communications_guest_identity.go @@ -24,10 +24,32 @@ func NewCommunicationsGuestIdentity()(*CommunicationsGuestIdentity) { func CreateCommunicationsGuestIdentityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewCommunicationsGuestIdentity(), nil } +// GetEmail gets the email property value. The email of the guest user. +// returns a *string when successful +func (m *CommunicationsGuestIdentity) GetEmail()(*string) { + val, err := m.GetBackingStore().Get("email") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *CommunicationsGuestIdentity) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.Identity.GetFieldDeserializers() + res["email"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetEmail(val) + } + return nil + } return res } // Serialize serializes information the current object @@ -36,9 +58,24 @@ func (m *CommunicationsGuestIdentity) Serialize(writer i878a80d2330e89d26896388a if err != nil { return err } + { + err = writer.WriteStringValue("email", m.GetEmail()) + if err != nil { + return err + } + } return nil } +// SetEmail sets the email property value. The email of the guest user. +func (m *CommunicationsGuestIdentity) SetEmail(value *string)() { + err := m.GetBackingStore().Set("email", value) + if err != nil { + panic(err) + } +} type CommunicationsGuestIdentityable interface { Identityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetEmail()(*string) + SetEmail(value *string)() } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/communications_identity_set.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/communications_identity_set.go index efb7063854..60222af2ca 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/communications_identity_set.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/communications_identity_set.go @@ -72,7 +72,7 @@ func (m *CommunicationsIdentitySet) GetEncrypted()(Identityable) { } return nil } -// GetEndpointType gets the endpointType property value. Type of endpoint that the participant uses. Possible values are: default, voicemail, skypeForBusiness, skypeForBusinessVoipPhone, unknownFutureValue. +// GetEndpointType gets the endpointType property value. Type of endpoint that the participant uses. The possible values are: default, voicemail, skypeForBusiness, skypeForBusinessVoipPhone, unknownFutureValue. // returns a *EndpointType when successful func (m *CommunicationsIdentitySet) GetEndpointType()(*EndpointType) { val, err := m.GetBackingStore().Get("endpointType") @@ -291,7 +291,7 @@ func (m *CommunicationsIdentitySet) SetEncrypted(value Identityable)() { panic(err) } } -// SetEndpointType sets the endpointType property value. Type of endpoint that the participant uses. Possible values are: default, voicemail, skypeForBusiness, skypeForBusinessVoipPhone, unknownFutureValue. +// SetEndpointType sets the endpointType property value. Type of endpoint that the participant uses. The possible values are: default, voicemail, skypeForBusiness, skypeForBusinessVoipPhone, unknownFutureValue. func (m *CommunicationsIdentitySet) SetEndpointType(value *EndpointType)() { err := m.GetBackingStore().Set("endpointType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/company_subscription.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/company_subscription.go index cf2dc4dbf3..9281c1d431 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/company_subscription.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/company_subscription.go @@ -275,7 +275,7 @@ func (m *CompanySubscription) GetSkuPartNumber()(*string) { } return nil } -// GetStatus gets the status property value. The status of this subscription. Possible values are: Enabled, Deleted, Suspended, Warning, LockedOut. +// GetStatus gets the status property value. The status of this subscription. The possible values are: Enabled, Deleted, Suspended, Warning, LockedOut. // returns a *string when successful func (m *CompanySubscription) GetStatus()(*string) { val, err := m.GetBackingStore().Get("status") @@ -455,7 +455,7 @@ func (m *CompanySubscription) SetSkuPartNumber(value *string)() { panic(err) } } -// SetStatus sets the status property value. The status of this subscription. Possible values are: Enabled, Deleted, Suspended, Warning, LockedOut. +// SetStatus sets the status property value. The status of this subscription. The possible values are: Enabled, Deleted, Suspended, Warning, LockedOut. func (m *CompanySubscription) SetStatus(value *string)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/conditional_access_condition_set.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/conditional_access_condition_set.go index a1c4413575..21f1f1a8e0 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/conditional_access_condition_set.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/conditional_access_condition_set.go @@ -79,7 +79,7 @@ func (m *ConditionalAccessConditionSet) GetClientApplications()(ConditionalAcces } return nil } -// GetClientAppTypes gets the clientAppTypes property value. Client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. Required. The easUnsupported enumeration member will be deprecated in favor of exchangeActiveSync, which includes EAS supported and unsupported platforms. +// GetClientAppTypes gets the clientAppTypes property value. Client application types included in the policy. The possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. Required. The easUnsupported enumeration member will be deprecated in favor of exchangeActiveSync, which includes EAS supported and unsupported platforms. // returns a []ConditionalAccessClientApp when successful func (m *ConditionalAccessConditionSet) GetClientAppTypes()([]ConditionalAccessClientApp) { val, err := m.GetBackingStore().Get("clientAppTypes") @@ -311,7 +311,7 @@ func (m *ConditionalAccessConditionSet) GetPlatforms()(ConditionalAccessPlatform } return nil } -// GetServicePrincipalRiskLevels gets the servicePrincipalRiskLevels property value. Service principal risk levels included in the policy. Possible values are: low, medium, high, none, unknownFutureValue. +// GetServicePrincipalRiskLevels gets the servicePrincipalRiskLevels property value. Service principal risk levels included in the policy. The possible values are: low, medium, high, none, unknownFutureValue. // returns a []RiskLevel when successful func (m *ConditionalAccessConditionSet) GetServicePrincipalRiskLevels()([]RiskLevel) { val, err := m.GetBackingStore().Get("servicePrincipalRiskLevels") @@ -323,7 +323,7 @@ func (m *ConditionalAccessConditionSet) GetServicePrincipalRiskLevels()([]RiskLe } return nil } -// GetSignInRiskLevels gets the signInRiskLevels property value. Sign-in risk levels included in the policy. Possible values are: low, medium, high, hidden, none, unknownFutureValue. Required. +// GetSignInRiskLevels gets the signInRiskLevels property value. Sign-in risk levels included in the policy. The possible values are: low, medium, high, hidden, none, unknownFutureValue. Required. // returns a []RiskLevel when successful func (m *ConditionalAccessConditionSet) GetSignInRiskLevels()([]RiskLevel) { val, err := m.GetBackingStore().Get("signInRiskLevels") @@ -335,7 +335,7 @@ func (m *ConditionalAccessConditionSet) GetSignInRiskLevels()([]RiskLevel) { } return nil } -// GetUserRiskLevels gets the userRiskLevels property value. User risk levels included in the policy. Possible values are: low, medium, high, hidden, none, unknownFutureValue. Required. +// GetUserRiskLevels gets the userRiskLevels property value. User risk levels included in the policy. The possible values are: low, medium, high, hidden, none, unknownFutureValue. Required. // returns a []RiskLevel when successful func (m *ConditionalAccessConditionSet) GetUserRiskLevels()([]RiskLevel) { val, err := m.GetBackingStore().Get("userRiskLevels") @@ -480,7 +480,7 @@ func (m *ConditionalAccessConditionSet) SetClientApplications(value ConditionalA panic(err) } } -// SetClientAppTypes sets the clientAppTypes property value. Client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. Required. The easUnsupported enumeration member will be deprecated in favor of exchangeActiveSync, which includes EAS supported and unsupported platforms. +// SetClientAppTypes sets the clientAppTypes property value. Client application types included in the policy. The possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. Required. The easUnsupported enumeration member will be deprecated in favor of exchangeActiveSync, which includes EAS supported and unsupported platforms. func (m *ConditionalAccessConditionSet) SetClientAppTypes(value []ConditionalAccessClientApp)() { err := m.GetBackingStore().Set("clientAppTypes", value) if err != nil { @@ -522,21 +522,21 @@ func (m *ConditionalAccessConditionSet) SetPlatforms(value ConditionalAccessPlat panic(err) } } -// SetServicePrincipalRiskLevels sets the servicePrincipalRiskLevels property value. Service principal risk levels included in the policy. Possible values are: low, medium, high, none, unknownFutureValue. +// SetServicePrincipalRiskLevels sets the servicePrincipalRiskLevels property value. Service principal risk levels included in the policy. The possible values are: low, medium, high, none, unknownFutureValue. func (m *ConditionalAccessConditionSet) SetServicePrincipalRiskLevels(value []RiskLevel)() { err := m.GetBackingStore().Set("servicePrincipalRiskLevels", value) if err != nil { panic(err) } } -// SetSignInRiskLevels sets the signInRiskLevels property value. Sign-in risk levels included in the policy. Possible values are: low, medium, high, hidden, none, unknownFutureValue. Required. +// SetSignInRiskLevels sets the signInRiskLevels property value. Sign-in risk levels included in the policy. The possible values are: low, medium, high, hidden, none, unknownFutureValue. Required. func (m *ConditionalAccessConditionSet) SetSignInRiskLevels(value []RiskLevel)() { err := m.GetBackingStore().Set("signInRiskLevels", value) if err != nil { panic(err) } } -// SetUserRiskLevels sets the userRiskLevels property value. User risk levels included in the policy. Possible values are: low, medium, high, hidden, none, unknownFutureValue. Required. +// SetUserRiskLevels sets the userRiskLevels property value. User risk levels included in the policy. The possible values are: low, medium, high, hidden, none, unknownFutureValue. Required. func (m *ConditionalAccessConditionSet) SetUserRiskLevels(value []RiskLevel)() { err := m.GetBackingStore().Set("userRiskLevels", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/conditional_access_external_tenants.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/conditional_access_external_tenants.go index 38fddb3328..f241e998f1 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/conditional_access_external_tenants.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/conditional_access_external_tenants.go @@ -89,7 +89,7 @@ func (m *ConditionalAccessExternalTenants) GetFieldDeserializers()(map[string]fu } return res } -// GetMembershipKind gets the membershipKind property value. The membership kind. Possible values are: all, enumerated, unknownFutureValue. The enumerated member references an conditionalAccessEnumeratedExternalTenants object. +// GetMembershipKind gets the membershipKind property value. The membership kind. The possible values are: all, enumerated, unknownFutureValue. The enumerated member references an conditionalAccessEnumeratedExternalTenants object. // returns a *ConditionalAccessExternalTenantsMembershipKind when successful func (m *ConditionalAccessExternalTenants) GetMembershipKind()(*ConditionalAccessExternalTenantsMembershipKind) { val, err := m.GetBackingStore().Get("membershipKind") @@ -147,7 +147,7 @@ func (m *ConditionalAccessExternalTenants) SetAdditionalData(value map[string]an func (m *ConditionalAccessExternalTenants) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetMembershipKind sets the membershipKind property value. The membership kind. Possible values are: all, enumerated, unknownFutureValue. The enumerated member references an conditionalAccessEnumeratedExternalTenants object. +// SetMembershipKind sets the membershipKind property value. The membership kind. The possible values are: all, enumerated, unknownFutureValue. The enumerated member references an conditionalAccessEnumeratedExternalTenants object. func (m *ConditionalAccessExternalTenants) SetMembershipKind(value *ConditionalAccessExternalTenantsMembershipKind)() { err := m.GetBackingStore().Set("membershipKind", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/conditional_access_platforms.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/conditional_access_platforms.go index 9ce4083704..afe55d13d3 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/conditional_access_platforms.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/conditional_access_platforms.go @@ -43,7 +43,7 @@ func (m *ConditionalAccessPlatforms) GetAdditionalData()(map[string]any) { func (m *ConditionalAccessPlatforms) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetExcludePlatforms gets the excludePlatforms property value. Possible values are: android, iOS, windows, windowsPhone, macOS, linux, all, unknownFutureValue. +// GetExcludePlatforms gets the excludePlatforms property value. The possible values are: android, iOS, windows, windowsPhone, macOS, linux, all, unknownFutureValue. // returns a []ConditionalAccessDevicePlatform when successful func (m *ConditionalAccessPlatforms) GetExcludePlatforms()([]ConditionalAccessDevicePlatform) { val, err := m.GetBackingStore().Get("excludePlatforms") @@ -103,7 +103,7 @@ func (m *ConditionalAccessPlatforms) GetFieldDeserializers()(map[string]func(i87 } return res } -// GetIncludePlatforms gets the includePlatforms property value. Possible values are: android, iOS, windows, windowsPhone, macOS, linux, all, unknownFutureValue. +// GetIncludePlatforms gets the includePlatforms property value. The possible values are: android, iOS, windows, windowsPhone, macOS, linux, all, unknownFutureValue. // returns a []ConditionalAccessDevicePlatform when successful func (m *ConditionalAccessPlatforms) GetIncludePlatforms()([]ConditionalAccessDevicePlatform) { val, err := m.GetBackingStore().Get("includePlatforms") @@ -166,14 +166,14 @@ func (m *ConditionalAccessPlatforms) SetAdditionalData(value map[string]any)() { func (m *ConditionalAccessPlatforms) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetExcludePlatforms sets the excludePlatforms property value. Possible values are: android, iOS, windows, windowsPhone, macOS, linux, all, unknownFutureValue. +// SetExcludePlatforms sets the excludePlatforms property value. The possible values are: android, iOS, windows, windowsPhone, macOS, linux, all, unknownFutureValue. func (m *ConditionalAccessPlatforms) SetExcludePlatforms(value []ConditionalAccessDevicePlatform)() { err := m.GetBackingStore().Set("excludePlatforms", value) if err != nil { panic(err) } } -// SetIncludePlatforms sets the includePlatforms property value. Possible values are: android, iOS, windows, windowsPhone, macOS, linux, all, unknownFutureValue. +// SetIncludePlatforms sets the includePlatforms property value. The possible values are: android, iOS, windows, windowsPhone, macOS, linux, all, unknownFutureValue. func (m *ConditionalAccessPlatforms) SetIncludePlatforms(value []ConditionalAccessDevicePlatform)() { err := m.GetBackingStore().Set("includePlatforms", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/contract.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/contract.go index 43d694119b..7626344107 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/contract.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/contract.go @@ -25,7 +25,7 @@ func NewContract()(*Contract) { func CreateContractFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewContract(), nil } -// GetContractType gets the contractType property value. Type of contract. Possible values are: SyndicationPartner, BreadthPartner, ResellerPartner. See more in the table below. +// GetContractType gets the contractType property value. Type of contract. The possible values are: SyndicationPartner, BreadthPartner, ResellerPartner. See more in the table below. // returns a *string when successful func (m *Contract) GetContractType()(*string) { val, err := m.GetBackingStore().Get("contractType") @@ -151,7 +151,7 @@ func (m *Contract) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c01 } return nil } -// SetContractType sets the contractType property value. Type of contract. Possible values are: SyndicationPartner, BreadthPartner, ResellerPartner. See more in the table below. +// SetContractType sets the contractType property value. Type of contract. The possible values are: SyndicationPartner, BreadthPartner, ResellerPartner. See more in the table below. func (m *Contract) SetContractType(value *string)() { err := m.GetBackingStore().Set("contractType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/copilot_report_root.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/copilot_report_root.go new file mode 100644 index 0000000000..c92637924f --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/copilot_report_root.go @@ -0,0 +1,42 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type CopilotReportRoot struct { + Entity +} +// NewCopilotReportRoot instantiates a new CopilotReportRoot and sets the default values. +func NewCopilotReportRoot()(*CopilotReportRoot) { + m := &CopilotReportRoot{ + Entity: *NewEntity(), + } + return m +} +// CreateCopilotReportRootFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCopilotReportRootFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCopilotReportRoot(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *CopilotReportRoot) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *CopilotReportRoot) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + return nil +} +type CopilotReportRootable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/custom_extension_callback_configuration.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/custom_extension_callback_configuration.go index f838e17478..9b3a6aeeb8 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/custom_extension_callback_configuration.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/custom_extension_callback_configuration.go @@ -23,6 +23,24 @@ func NewCustomExtensionCallbackConfiguration()(*CustomExtensionCallbackConfigura // CreateCustomExtensionCallbackConfigurationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value // returns a Parsable when successful func CreateCustomExtensionCallbackConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.accessPackageRequestApprovalStageCallbackConfiguration": + return NewAccessPackageRequestApprovalStageCallbackConfiguration(), nil + } + } + } + } return NewCustomExtensionCallbackConfiguration(), nil } // GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/custom_extension_data.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/custom_extension_data.go index 53a2b25fe0..db9e4f547c 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/custom_extension_data.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/custom_extension_data.go @@ -37,6 +37,8 @@ func CreateCustomExtensionDataFromDiscriminatorValue(parseNode i878a80d2330e89d2 switch *mappingValue { case "#microsoft.graph.accessPackageAssignmentRequestCallbackData": return NewAccessPackageAssignmentRequestCallbackData(), nil + case "#microsoft.graph.assignmentRequestApprovalStageCallbackData": + return NewAssignmentRequestApprovalStageCallbackData(), nil } } } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/custom_training_setting.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/custom_training_setting.go index 46847a0782..d78752779d 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/custom_training_setting.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/custom_training_setting.go @@ -24,7 +24,7 @@ func NewCustomTrainingSetting()(*CustomTrainingSetting) { func CreateCustomTrainingSettingFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewCustomTrainingSetting(), nil } -// GetAssignedTo gets the assignedTo property value. A user collection that specifies to whom the training should be assigned. Possible values are: none, allUsers, clickedPayload, compromised, reportedPhish, readButNotClicked, didNothing, unknownFutureValue. +// GetAssignedTo gets the assignedTo property value. A user collection that specifies to whom the training should be assigned. The possible values are: none, allUsers, clickedPayload, compromised, reportedPhish, readButNotClicked, didNothing, unknownFutureValue. // returns a []TrainingAssignedTo when successful func (m *CustomTrainingSetting) GetAssignedTo()([]TrainingAssignedTo) { val, err := m.GetBackingStore().Get("assignedTo") @@ -184,7 +184,7 @@ func (m *CustomTrainingSetting) Serialize(writer i878a80d2330e89d26896388a3f487e } return nil } -// SetAssignedTo sets the assignedTo property value. A user collection that specifies to whom the training should be assigned. Possible values are: none, allUsers, clickedPayload, compromised, reportedPhish, readButNotClicked, didNothing, unknownFutureValue. +// SetAssignedTo sets the assignedTo property value. A user collection that specifies to whom the training should be assigned. The possible values are: none, allUsers, clickedPayload, compromised, reportedPhish, readButNotClicked, didNothing, unknownFutureValue. func (m *CustomTrainingSetting) SetAssignedTo(value []TrainingAssignedTo)() { err := m.GetBackingStore().Set("assignedTo", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/data_policy_operation.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/data_policy_operation.go index 0147639a1c..4a78e7e7cb 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/data_policy_operation.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/data_policy_operation.go @@ -113,7 +113,7 @@ func (m *DataPolicyOperation) GetProgress()(*float64) { } return nil } -// GetStatus gets the status property value. Possible values are: notStarted, running, complete, failed, unknownFutureValue. +// GetStatus gets the status property value. The possible values are: notStarted, running, complete, failed, unknownFutureValue. // returns a *DataPolicyOperationStatus when successful func (m *DataPolicyOperation) GetStatus()(*DataPolicyOperationStatus) { val, err := m.GetBackingStore().Get("status") @@ -220,7 +220,7 @@ func (m *DataPolicyOperation) SetProgress(value *float64)() { panic(err) } } -// SetStatus sets the status property value. Possible values are: notStarted, running, complete, failed, unknownFutureValue. +// SetStatus sets the status property value. The possible values are: notStarted, running, complete, failed, unknownFutureValue. func (m *DataPolicyOperation) SetStatus(value *DataPolicyOperationStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/desk.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/desk.go new file mode 100644 index 0000000000..208cae0240 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/desk.go @@ -0,0 +1,193 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type Desk struct { + Place +} +// NewDesk instantiates a new Desk and sets the default values. +func NewDesk()(*Desk) { + m := &Desk{ + Place: *NewPlace(), + } + odataTypeValue := "#microsoft.graph.desk" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateDeskFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDeskFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDesk(), nil +} +// GetDisplayDeviceName gets the displayDeviceName property value. The name of the display device (for example, monitor or projector) that is available at the desk. +// returns a *string when successful +func (m *Desk) GetDisplayDeviceName()(*string) { + val, err := m.GetBackingStore().Get("displayDeviceName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *Desk) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Place.GetFieldDeserializers() + res["displayDeviceName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayDeviceName(val) + } + return nil + } + res["heightAdjustableState"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParsePlaceFeatureEnablement) + if err != nil { + return err + } + if val != nil { + m.SetHeightAdjustableState(val.(*PlaceFeatureEnablement)) + } + return nil + } + res["mailboxDetails"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateMailboxDetailsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetMailboxDetails(val.(MailboxDetailsable)) + } + return nil + } + res["mode"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreatePlaceModeFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetMode(val.(PlaceModeable)) + } + return nil + } + return res +} +// GetHeightAdjustableState gets the heightAdjustableState property value. The heightAdjustableState property +// returns a *PlaceFeatureEnablement when successful +func (m *Desk) GetHeightAdjustableState()(*PlaceFeatureEnablement) { + val, err := m.GetBackingStore().Get("heightAdjustableState") + if err != nil { + panic(err) + } + if val != nil { + return val.(*PlaceFeatureEnablement) + } + return nil +} +// GetMailboxDetails gets the mailboxDetails property value. The mailbox object id and email address that are associated with the desk. +// returns a MailboxDetailsable when successful +func (m *Desk) GetMailboxDetails()(MailboxDetailsable) { + val, err := m.GetBackingStore().Get("mailboxDetails") + if err != nil { + panic(err) + } + if val != nil { + return val.(MailboxDetailsable) + } + return nil +} +// GetMode gets the mode property value. The mode of the desk. The supported modes are:assignedPlaceMode - Desks that are assigned to a user.reservablePlaceMode - Desks that can be booked in advance using desk reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks, the desk is booked for you, assuming the peripheral is associated with the desk in the Microsoft Teams Rooms pro management portal.unavailablePlaceMode - Desks that are taken down for maintenance or marked as not reservable. +// returns a PlaceModeable when successful +func (m *Desk) GetMode()(PlaceModeable) { + val, err := m.GetBackingStore().Get("mode") + if err != nil { + panic(err) + } + if val != nil { + return val.(PlaceModeable) + } + return nil +} +// Serialize serializes information the current object +func (m *Desk) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Place.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("displayDeviceName", m.GetDisplayDeviceName()) + if err != nil { + return err + } + } + if m.GetHeightAdjustableState() != nil { + cast := (*m.GetHeightAdjustableState()).String() + err = writer.WriteStringValue("heightAdjustableState", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("mailboxDetails", m.GetMailboxDetails()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("mode", m.GetMode()) + if err != nil { + return err + } + } + return nil +} +// SetDisplayDeviceName sets the displayDeviceName property value. The name of the display device (for example, monitor or projector) that is available at the desk. +func (m *Desk) SetDisplayDeviceName(value *string)() { + err := m.GetBackingStore().Set("displayDeviceName", value) + if err != nil { + panic(err) + } +} +// SetHeightAdjustableState sets the heightAdjustableState property value. The heightAdjustableState property +func (m *Desk) SetHeightAdjustableState(value *PlaceFeatureEnablement)() { + err := m.GetBackingStore().Set("heightAdjustableState", value) + if err != nil { + panic(err) + } +} +// SetMailboxDetails sets the mailboxDetails property value. The mailbox object id and email address that are associated with the desk. +func (m *Desk) SetMailboxDetails(value MailboxDetailsable)() { + err := m.GetBackingStore().Set("mailboxDetails", value) + if err != nil { + panic(err) + } +} +// SetMode sets the mode property value. The mode of the desk. The supported modes are:assignedPlaceMode - Desks that are assigned to a user.reservablePlaceMode - Desks that can be booked in advance using desk reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks, the desk is booked for you, assuming the peripheral is associated with the desk in the Microsoft Teams Rooms pro management portal.unavailablePlaceMode - Desks that are taken down for maintenance or marked as not reservable. +func (m *Desk) SetMode(value PlaceModeable)() { + err := m.GetBackingStore().Set("mode", value) + if err != nil { + panic(err) + } +} +type Deskable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + Placeable + GetDisplayDeviceName()(*string) + GetHeightAdjustableState()(*PlaceFeatureEnablement) + GetMailboxDetails()(MailboxDetailsable) + GetMode()(PlaceModeable) + SetDisplayDeviceName(value *string)() + SetHeightAdjustableState(value *PlaceFeatureEnablement)() + SetMailboxDetails(value MailboxDetailsable)() + SetMode(value PlaceModeable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/desk_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/desk_collection_response.go new file mode 100644 index 0000000000..43f7cc12fc --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/desk_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type DeskCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewDeskCollectionResponse instantiates a new DeskCollectionResponse and sets the default values. +func NewDeskCollectionResponse()(*DeskCollectionResponse) { + m := &DeskCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateDeskCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDeskCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDeskCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *DeskCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateDeskFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Deskable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Deskable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Deskable when successful +func (m *DeskCollectionResponse) GetValue()([]Deskable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Deskable) + } + return nil +} +// Serialize serializes information the current object +func (m *DeskCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *DeskCollectionResponse) SetValue(value []Deskable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type DeskCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]Deskable) + SetValue(value []Deskable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device.go index 3941fa1377..06529a0059 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device.go @@ -109,7 +109,7 @@ func (m *Device) GetDeviceMetadata()(*string) { } return nil } -// GetDeviceOwnership gets the deviceOwnership property value. Ownership of the device. Intune sets this property. Possible values are: unknown, company, personal. +// GetDeviceOwnership gets the deviceOwnership property value. Ownership of the device. Intune sets this property. The possible values are: unknown, company, personal. // returns a *string when successful func (m *Device) GetDeviceOwnership()(*string) { val, err := m.GetBackingStore().Get("deviceOwnership") @@ -157,7 +157,7 @@ func (m *Device) GetEnrollmentProfileName()(*string) { } return nil } -// GetEnrollmentType gets the enrollmentType property value. Enrollment type of the device. Intune sets this property. Possible values are: unknown, userEnrollment, deviceEnrollmentManager, appleBulkWithUser, appleBulkWithoutUser, windowsAzureADJoin, windowsBulkUserless, windowsAutoEnrollment, windowsBulkAzureDomainJoin, windowsCoManagement, windowsAzureADJoinUsingDeviceAuth,appleUserEnrollment, appleUserEnrollmentWithServiceAccount. NOTE: This property might return other values apart from those listed. +// GetEnrollmentType gets the enrollmentType property value. Enrollment type of the device. Intune sets this property. The possible values are: unknown, userEnrollment, deviceEnrollmentManager, appleBulkWithUser, appleBulkWithoutUser, windowsAzureADJoin, windowsBulkUserless, windowsAutoEnrollment, windowsBulkAzureDomainJoin, windowsCoManagement, windowsAzureADJoinUsingDeviceAuth,appleUserEnrollment, appleUserEnrollmentWithServiceAccount. NOTE: This property might return other values apart from those listed. // returns a *string when successful func (m *Device) GetEnrollmentType()(*string) { val, err := m.GetBackingStore().Get("enrollmentType") @@ -633,7 +633,7 @@ func (m *Device) GetIsRooted()(*bool) { } return nil } -// GetManagementType gets the managementType property value. The management channel of the device. This property is set by Intune. Possible values are: eas, mdm, easMdm, intuneClient, easIntuneClient, configurationManagerClient, configurationManagerClientMdm, configurationManagerClientMdmEas, unknown, jamf, googleCloudDevicePolicyController. +// GetManagementType gets the managementType property value. The management channel of the device. This property is set by Intune. The possible values are: eas, mdm, easMdm, intuneClient, easIntuneClient, configurationManagerClient, configurationManagerClientMdm, configurationManagerClientMdmEas, unknown, jamf, googleCloudDevicePolicyController. // returns a *string when successful func (m *Device) GetManagementType()(*string) { val, err := m.GetBackingStore().Get("managementType") @@ -1152,7 +1152,7 @@ func (m *Device) SetDeviceMetadata(value *string)() { panic(err) } } -// SetDeviceOwnership sets the deviceOwnership property value. Ownership of the device. Intune sets this property. Possible values are: unknown, company, personal. +// SetDeviceOwnership sets the deviceOwnership property value. Ownership of the device. Intune sets this property. The possible values are: unknown, company, personal. func (m *Device) SetDeviceOwnership(value *string)() { err := m.GetBackingStore().Set("deviceOwnership", value) if err != nil { @@ -1180,7 +1180,7 @@ func (m *Device) SetEnrollmentProfileName(value *string)() { panic(err) } } -// SetEnrollmentType sets the enrollmentType property value. Enrollment type of the device. Intune sets this property. Possible values are: unknown, userEnrollment, deviceEnrollmentManager, appleBulkWithUser, appleBulkWithoutUser, windowsAzureADJoin, windowsBulkUserless, windowsAutoEnrollment, windowsBulkAzureDomainJoin, windowsCoManagement, windowsAzureADJoinUsingDeviceAuth,appleUserEnrollment, appleUserEnrollmentWithServiceAccount. NOTE: This property might return other values apart from those listed. +// SetEnrollmentType sets the enrollmentType property value. Enrollment type of the device. Intune sets this property. The possible values are: unknown, userEnrollment, deviceEnrollmentManager, appleBulkWithUser, appleBulkWithoutUser, windowsAzureADJoin, windowsBulkUserless, windowsAutoEnrollment, windowsBulkAzureDomainJoin, windowsCoManagement, windowsAzureADJoinUsingDeviceAuth,appleUserEnrollment, appleUserEnrollmentWithServiceAccount. NOTE: This property might return other values apart from those listed. func (m *Device) SetEnrollmentType(value *string)() { err := m.GetBackingStore().Set("enrollmentType", value) if err != nil { @@ -1222,7 +1222,7 @@ func (m *Device) SetIsRooted(value *bool)() { panic(err) } } -// SetManagementType sets the managementType property value. The management channel of the device. This property is set by Intune. Possible values are: eas, mdm, easMdm, intuneClient, easIntuneClient, configurationManagerClient, configurationManagerClientMdm, configurationManagerClientMdmEas, unknown, jamf, googleCloudDevicePolicyController. +// SetManagementType sets the managementType property value. The management channel of the device. This property is set by Intune. The possible values are: eas, mdm, easMdm, intuneClient, easIntuneClient, configurationManagerClient, configurationManagerClientMdm, configurationManagerClientMdmEas, unknown, jamf, googleCloudDevicePolicyController. func (m *Device) SetManagementType(value *string)() { err := m.GetBackingStore().Set("managementType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_and_app_management_data.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_and_app_management_data.go index 7cd9aaa1d0..b18297bf3a 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_and_app_management_data.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_and_app_management_data.go @@ -44,7 +44,7 @@ func (m *DeviceAndAppManagementData) GetAdditionalData()(map[string]any) { func (m *DeviceAndAppManagementData) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetContent gets the content property value. Not yet documented +// GetContent gets the content property value. The content property // returns a []byte when successful func (m *DeviceAndAppManagementData) GetContent()([]byte) { val, err := m.GetBackingStore().Get("content") @@ -127,7 +127,7 @@ func (m *DeviceAndAppManagementData) SetAdditionalData(value map[string]any)() { func (m *DeviceAndAppManagementData) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetContent sets the content property value. Not yet documented +// SetContent sets the content property value. The content property func (m *DeviceAndAppManagementData) SetContent(value []byte)() { err := m.GetBackingStore().Set("content", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_and_app_management_role_assignment.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_and_app_management_role_assignment.go index dabea5d382..ab8a137c28 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_and_app_management_role_assignment.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_and_app_management_role_assignment.go @@ -45,7 +45,7 @@ func (m *DeviceAndAppManagementRoleAssignment) GetFieldDeserializers()(map[strin } return res } -// GetMembers gets the members property value. The list of ids of role member security groups. These are IDs from Azure Active Directory. +// GetMembers gets the members property value. Indicates the list of role member security group Entra IDs. For example: {dec942f4-6777-4998-96b4-522e383b08e2}. // returns a []string when successful func (m *DeviceAndAppManagementRoleAssignment) GetMembers()([]string) { val, err := m.GetBackingStore().Get("members") @@ -71,7 +71,7 @@ func (m *DeviceAndAppManagementRoleAssignment) Serialize(writer i878a80d2330e89d } return nil } -// SetMembers sets the members property value. The list of ids of role member security groups. These are IDs from Azure Active Directory. +// SetMembers sets the members property value. Indicates the list of role member security group Entra IDs. For example: {dec942f4-6777-4998-96b4-522e383b08e2}. func (m *DeviceAndAppManagementRoleAssignment) SetMembers(value []string)() { err := m.GetBackingStore().Set("members", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_compliance_policy_setting_state_summary.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_compliance_policy_setting_state_summary.go index c161af094c..a5f8828c86 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_compliance_policy_setting_state_summary.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_compliance_policy_setting_state_summary.go @@ -47,7 +47,7 @@ func (m *DeviceCompliancePolicySettingStateSummary) GetConflictDeviceCount()(*in } return nil } -// GetDeviceComplianceSettingStates gets the deviceComplianceSettingStates property value. Not yet documented +// GetDeviceComplianceSettingStates gets the deviceComplianceSettingStates property value. The deviceComplianceSettingStates property // returns a []DeviceComplianceSettingStateable when successful func (m *DeviceCompliancePolicySettingStateSummary) GetDeviceComplianceSettingStates()([]DeviceComplianceSettingStateable) { val, err := m.GetBackingStore().Get("deviceComplianceSettingStates") @@ -372,7 +372,7 @@ func (m *DeviceCompliancePolicySettingStateSummary) SetConflictDeviceCount(value panic(err) } } -// SetDeviceComplianceSettingStates sets the deviceComplianceSettingStates property value. Not yet documented +// SetDeviceComplianceSettingStates sets the deviceComplianceSettingStates property value. The deviceComplianceSettingStates property func (m *DeviceCompliancePolicySettingStateSummary) SetDeviceComplianceSettingStates(value []DeviceComplianceSettingStateable)() { err := m.GetBackingStore().Set("deviceComplianceSettingStates", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_enrollment_platform_restrictions_configuration.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_enrollment_platform_restrictions_configuration.go index 60b5466456..4c18893608 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_enrollment_platform_restrictions_configuration.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_enrollment_platform_restrictions_configuration.go @@ -25,7 +25,7 @@ func NewDeviceEnrollmentPlatformRestrictionsConfiguration()(*DeviceEnrollmentPla func CreateDeviceEnrollmentPlatformRestrictionsConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewDeviceEnrollmentPlatformRestrictionsConfiguration(), nil } -// GetAndroidRestriction gets the androidRestriction property value. Android restrictions based on platform, platform operating system version, and device ownership +// GetAndroidRestriction gets the androidRestriction property value. Indicates restrictions for Android platform. // returns a DeviceEnrollmentPlatformRestrictionable when successful func (m *DeviceEnrollmentPlatformRestrictionsConfiguration) GetAndroidRestriction()(DeviceEnrollmentPlatformRestrictionable) { val, err := m.GetBackingStore().Get("androidRestriction") @@ -93,7 +93,7 @@ func (m *DeviceEnrollmentPlatformRestrictionsConfiguration) GetFieldDeserializer } return res } -// GetIosRestriction gets the iosRestriction property value. Ios restrictions based on platform, platform operating system version, and device ownership +// GetIosRestriction gets the iosRestriction property value. Indicates restrictions for IOS platform. // returns a DeviceEnrollmentPlatformRestrictionable when successful func (m *DeviceEnrollmentPlatformRestrictionsConfiguration) GetIosRestriction()(DeviceEnrollmentPlatformRestrictionable) { val, err := m.GetBackingStore().Get("iosRestriction") @@ -105,7 +105,7 @@ func (m *DeviceEnrollmentPlatformRestrictionsConfiguration) GetIosRestriction()( } return nil } -// GetMacOSRestriction gets the macOSRestriction property value. Mac restrictions based on platform, platform operating system version, and device ownership +// GetMacOSRestriction gets the macOSRestriction property value. Indicates restrictions for MacOS platform. // returns a DeviceEnrollmentPlatformRestrictionable when successful func (m *DeviceEnrollmentPlatformRestrictionsConfiguration) GetMacOSRestriction()(DeviceEnrollmentPlatformRestrictionable) { val, err := m.GetBackingStore().Get("macOSRestriction") @@ -117,7 +117,7 @@ func (m *DeviceEnrollmentPlatformRestrictionsConfiguration) GetMacOSRestriction( } return nil } -// GetWindowsMobileRestriction gets the windowsMobileRestriction property value. Windows mobile restrictions based on platform, platform operating system version, and device ownership +// GetWindowsMobileRestriction gets the windowsMobileRestriction property value. Indicates restrictions for Windows Mobile platform. // returns a DeviceEnrollmentPlatformRestrictionable when successful func (m *DeviceEnrollmentPlatformRestrictionsConfiguration) GetWindowsMobileRestriction()(DeviceEnrollmentPlatformRestrictionable) { val, err := m.GetBackingStore().Get("windowsMobileRestriction") @@ -129,7 +129,7 @@ func (m *DeviceEnrollmentPlatformRestrictionsConfiguration) GetWindowsMobileRest } return nil } -// GetWindowsRestriction gets the windowsRestriction property value. Windows restrictions based on platform, platform operating system version, and device ownership +// GetWindowsRestriction gets the windowsRestriction property value. Indicates restrictions for Windows platform. // returns a DeviceEnrollmentPlatformRestrictionable when successful func (m *DeviceEnrollmentPlatformRestrictionsConfiguration) GetWindowsRestriction()(DeviceEnrollmentPlatformRestrictionable) { val, err := m.GetBackingStore().Get("windowsRestriction") @@ -179,35 +179,35 @@ func (m *DeviceEnrollmentPlatformRestrictionsConfiguration) Serialize(writer i87 } return nil } -// SetAndroidRestriction sets the androidRestriction property value. Android restrictions based on platform, platform operating system version, and device ownership +// SetAndroidRestriction sets the androidRestriction property value. Indicates restrictions for Android platform. func (m *DeviceEnrollmentPlatformRestrictionsConfiguration) SetAndroidRestriction(value DeviceEnrollmentPlatformRestrictionable)() { err := m.GetBackingStore().Set("androidRestriction", value) if err != nil { panic(err) } } -// SetIosRestriction sets the iosRestriction property value. Ios restrictions based on platform, platform operating system version, and device ownership +// SetIosRestriction sets the iosRestriction property value. Indicates restrictions for IOS platform. func (m *DeviceEnrollmentPlatformRestrictionsConfiguration) SetIosRestriction(value DeviceEnrollmentPlatformRestrictionable)() { err := m.GetBackingStore().Set("iosRestriction", value) if err != nil { panic(err) } } -// SetMacOSRestriction sets the macOSRestriction property value. Mac restrictions based on platform, platform operating system version, and device ownership +// SetMacOSRestriction sets the macOSRestriction property value. Indicates restrictions for MacOS platform. func (m *DeviceEnrollmentPlatformRestrictionsConfiguration) SetMacOSRestriction(value DeviceEnrollmentPlatformRestrictionable)() { err := m.GetBackingStore().Set("macOSRestriction", value) if err != nil { panic(err) } } -// SetWindowsMobileRestriction sets the windowsMobileRestriction property value. Windows mobile restrictions based on platform, platform operating system version, and device ownership +// SetWindowsMobileRestriction sets the windowsMobileRestriction property value. Indicates restrictions for Windows Mobile platform. func (m *DeviceEnrollmentPlatformRestrictionsConfiguration) SetWindowsMobileRestriction(value DeviceEnrollmentPlatformRestrictionable)() { err := m.GetBackingStore().Set("windowsMobileRestriction", value) if err != nil { panic(err) } } -// SetWindowsRestriction sets the windowsRestriction property value. Windows restrictions based on platform, platform operating system version, and device ownership +// SetWindowsRestriction sets the windowsRestriction property value. Indicates restrictions for Windows platform. func (m *DeviceEnrollmentPlatformRestrictionsConfiguration) SetWindowsRestriction(value DeviceEnrollmentPlatformRestrictionable)() { err := m.GetBackingStore().Set("windowsRestriction", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_health_attestation_state.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_health_attestation_state.go index 13d5febc62..80cc7d186d 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_health_attestation_state.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_health_attestation_state.go @@ -752,7 +752,7 @@ func (m *DeviceHealthAttestationState) GetTpmVersion()(*string) { } return nil } -// GetVirtualSecureMode gets the virtualSecureMode property value. VSM is a container that protects high value assets from a compromised kernel +// GetVirtualSecureMode gets the virtualSecureMode property value. Indicates whether the device has Virtual Secure Mode (VSM) enabled. Virtual Secure Mode (VSM) is a container that protects high value assets from a compromised kernel. This property will be deprecated in beta from August 2023. Support for this property will end in August 2025 for v1.0 API. A new property virtualizationBasedSecurity is added and used instead. The value used for virtualSecureMode will be passed by virtualizationBasedSecurity during the deprecation process. Possible values are 'enabled', 'disabled' and 'notApplicable'. 'enabled' indicates Virtual Secure Mode (VSM) is enabled. 'disabled' indicates Virtual Secure Mode (VSM) is disabled. 'notApplicable' indicates the device is not a Windows 11 device. Default value is 'notApplicable'. // returns a *string when successful func (m *DeviceHealthAttestationState) GetVirtualSecureMode()(*string) { val, err := m.GetBackingStore().Get("virtualSecureMode") @@ -1212,7 +1212,7 @@ func (m *DeviceHealthAttestationState) SetTpmVersion(value *string)() { panic(err) } } -// SetVirtualSecureMode sets the virtualSecureMode property value. VSM is a container that protects high value assets from a compromised kernel +// SetVirtualSecureMode sets the virtualSecureMode property value. Indicates whether the device has Virtual Secure Mode (VSM) enabled. Virtual Secure Mode (VSM) is a container that protects high value assets from a compromised kernel. This property will be deprecated in beta from August 2023. Support for this property will end in August 2025 for v1.0 API. A new property virtualizationBasedSecurity is added and used instead. The value used for virtualSecureMode will be passed by virtualizationBasedSecurity during the deprecation process. Possible values are 'enabled', 'disabled' and 'notApplicable'. 'enabled' indicates Virtual Secure Mode (VSM) is enabled. 'disabled' indicates Virtual Secure Mode (VSM) is disabled. 'notApplicable' indicates the device is not a Windows 11 device. Default value is 'notApplicable'. func (m *DeviceHealthAttestationState) SetVirtualSecureMode(value *string)() { err := m.GetBackingStore().Set("virtualSecureMode", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_management.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_management.go index 23a543f1e3..5e3c4b4fad 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_management.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_management.go @@ -647,22 +647,6 @@ func (m *DeviceManagement) GetFieldDeserializers()(map[string]func(i878a80d2330e } return nil } - res["telecomExpenseManagementPartners"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetCollectionOfObjectValues(CreateTelecomExpenseManagementPartnerFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - res := make([]TelecomExpenseManagementPartnerable, len(val)) - for i, v := range val { - if v != nil { - res[i] = v.(TelecomExpenseManagementPartnerable) - } - } - m.SetTelecomExpenseManagementPartners(res) - } - return nil - } res["termsAndConditions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateTermsAndConditionsFromDiscriminatorValue) if err != nil { @@ -1261,7 +1245,7 @@ func (m *DeviceManagement) GetRemoteAssistancePartners()([]RemoteAssistancePartn } return nil } -// GetReports gets the reports property value. Reports singleton +// GetReports gets the reports property value. The reports property // returns a DeviceManagementReportsable when successful func (m *DeviceManagement) GetReports()(DeviceManagementReportsable) { val, err := m.GetBackingStore().Get("reports") @@ -1345,18 +1329,6 @@ func (m *DeviceManagement) GetSubscriptionState()(*DeviceManagementSubscriptionS } return nil } -// GetTelecomExpenseManagementPartners gets the telecomExpenseManagementPartners property value. The telecom expense management partners. -// returns a []TelecomExpenseManagementPartnerable when successful -func (m *DeviceManagement) GetTelecomExpenseManagementPartners()([]TelecomExpenseManagementPartnerable) { - val, err := m.GetBackingStore().Get("telecomExpenseManagementPartners") - if err != nil { - panic(err) - } - if val != nil { - return val.([]TelecomExpenseManagementPartnerable) - } - return nil -} // GetTermsAndConditions gets the termsAndConditions property value. The terms and conditions associated with device management of the company. // returns a []TermsAndConditionsable when successful func (m *DeviceManagement) GetTermsAndConditions()([]TermsAndConditionsable) { @@ -1669,7 +1641,7 @@ func (m *DeviceManagement) GetUserExperienceAnalyticsWorkFromAnywhereModelPerfor } return nil } -// GetVirtualEndpoint gets the virtualEndpoint property value. Virtual endpoint +// GetVirtualEndpoint gets the virtualEndpoint property value. The virtualEndpoint property // returns a VirtualEndpointable when successful func (m *DeviceManagement) GetVirtualEndpoint()(VirtualEndpointable) { val, err := m.GetBackingStore().Get("virtualEndpoint") @@ -2060,18 +2032,6 @@ func (m *DeviceManagement) Serialize(writer i878a80d2330e89d26896388a3f487eef27b return err } } - if m.GetTelecomExpenseManagementPartners() != nil { - cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetTelecomExpenseManagementPartners())) - for i, v := range m.GetTelecomExpenseManagementPartners() { - if v != nil { - cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) - } - } - err = writer.WriteCollectionOfObjectValues("telecomExpenseManagementPartners", cast) - if err != nil { - return err - } - } if m.GetTermsAndConditions() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetTermsAndConditions())) for i, v := range m.GetTermsAndConditions() { @@ -2597,7 +2557,7 @@ func (m *DeviceManagement) SetRemoteAssistancePartners(value []RemoteAssistanceP panic(err) } } -// SetReports sets the reports property value. Reports singleton +// SetReports sets the reports property value. The reports property func (m *DeviceManagement) SetReports(value DeviceManagementReportsable)() { err := m.GetBackingStore().Set("reports", value) if err != nil { @@ -2646,13 +2606,6 @@ func (m *DeviceManagement) SetSubscriptionState(value *DeviceManagementSubscript panic(err) } } -// SetTelecomExpenseManagementPartners sets the telecomExpenseManagementPartners property value. The telecom expense management partners. -func (m *DeviceManagement) SetTelecomExpenseManagementPartners(value []TelecomExpenseManagementPartnerable)() { - err := m.GetBackingStore().Set("telecomExpenseManagementPartners", value) - if err != nil { - panic(err) - } -} // SetTermsAndConditions sets the termsAndConditions property value. The terms and conditions associated with device management of the company. func (m *DeviceManagement) SetTermsAndConditions(value []TermsAndConditionsable)() { err := m.GetBackingStore().Set("termsAndConditions", value) @@ -2835,7 +2788,7 @@ func (m *DeviceManagement) SetUserExperienceAnalyticsWorkFromAnywhereModelPerfor panic(err) } } -// SetVirtualEndpoint sets the virtualEndpoint property value. Virtual endpoint +// SetVirtualEndpoint sets the virtualEndpoint property value. The virtualEndpoint property func (m *DeviceManagement) SetVirtualEndpoint(value VirtualEndpointable)() { err := m.GetBackingStore().Set("virtualEndpoint", value) if err != nil { @@ -2912,7 +2865,6 @@ type DeviceManagementable interface { GetSettings()(DeviceManagementSettingsable) GetSoftwareUpdateStatusSummary()(SoftwareUpdateStatusSummaryable) GetSubscriptionState()(*DeviceManagementSubscriptionState) - GetTelecomExpenseManagementPartners()([]TelecomExpenseManagementPartnerable) GetTermsAndConditions()([]TermsAndConditionsable) GetTroubleshootingEvents()([]DeviceManagementTroubleshootingEventable) GetUserExperienceAnalyticsAppHealthApplicationPerformance()([]UserExperienceAnalyticsAppHealthApplicationPerformanceable) @@ -2977,7 +2929,6 @@ type DeviceManagementable interface { SetSettings(value DeviceManagementSettingsable)() SetSoftwareUpdateStatusSummary(value SoftwareUpdateStatusSummaryable)() SetSubscriptionState(value *DeviceManagementSubscriptionState)() - SetTelecomExpenseManagementPartners(value []TelecomExpenseManagementPartnerable)() SetTermsAndConditions(value []TermsAndConditionsable)() SetTroubleshootingEvents(value []DeviceManagementTroubleshootingEventable)() SetUserExperienceAnalyticsAppHealthApplicationPerformance(value []UserExperienceAnalyticsAppHealthApplicationPerformanceable)() diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_management_export_job.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_management_export_job.go index e36d2c37c1..6ff7a94da3 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_management_export_job.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_management_export_job.go @@ -24,7 +24,7 @@ func NewDeviceManagementExportJob()(*DeviceManagementExportJob) { func CreateDeviceManagementExportJobFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewDeviceManagementExportJob(), nil } -// GetExpirationDateTime gets the expirationDateTime property value. Time that the exported report expires +// GetExpirationDateTime gets the expirationDateTime property value. Time that the exported report expires. // returns a *Time when successful func (m *DeviceManagementExportJob) GetExpirationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("expirationDateTime") @@ -148,7 +148,7 @@ func (m *DeviceManagementExportJob) GetFieldDeserializers()(map[string]func(i878 } return res } -// GetFilter gets the filter property value. Filters applied on the report +// GetFilter gets the filter property value. Filters applied on the report. The maximum length allowed for this property is 2000 characters. // returns a *string when successful func (m *DeviceManagementExportJob) GetFilter()(*string) { val, err := m.GetBackingStore().Get("filter") @@ -184,7 +184,7 @@ func (m *DeviceManagementExportJob) GetLocalizationType()(*DeviceManagementExpor } return nil } -// GetReportName gets the reportName property value. Name of the report +// GetReportName gets the reportName property value. Name of the report. The maximum length allowed for this property is 2000 characters. // returns a *string when successful func (m *DeviceManagementExportJob) GetReportName()(*string) { val, err := m.GetBackingStore().Get("reportName") @@ -196,7 +196,7 @@ func (m *DeviceManagementExportJob) GetReportName()(*string) { } return nil } -// GetRequestDateTime gets the requestDateTime property value. Time that the exported report was requested +// GetRequestDateTime gets the requestDateTime property value. Time that the exported report was requested. // returns a *Time when successful func (m *DeviceManagementExportJob) GetRequestDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("requestDateTime") @@ -208,7 +208,7 @@ func (m *DeviceManagementExportJob) GetRequestDateTime()(*i336074805fc853987abe6 } return nil } -// GetSelectEscaped gets the select property value. Columns selected from the report +// GetSelectEscaped gets the select property value. Columns selected from the report. The maximum number of allowed columns names is 256. The maximum length allowed for each column name in this property is 1000 characters. // returns a []string when successful func (m *DeviceManagementExportJob) GetSelectEscaped()([]string) { val, err := m.GetBackingStore().Get("selectEscaped") @@ -220,7 +220,7 @@ func (m *DeviceManagementExportJob) GetSelectEscaped()([]string) { } return nil } -// GetSnapshotId gets the snapshotId property value. A snapshot is an identifiable subset of the dataset represented by the ReportName. A sessionId or CachedReportConfiguration id can be used here. If a sessionId is specified, Filter, Select, and OrderBy are applied to the data represented by the sessionId. Filter, Select, and OrderBy cannot be specified together with a CachedReportConfiguration id. +// GetSnapshotId gets the snapshotId property value. A snapshot is an identifiable subset of the dataset represented by the ReportName. A sessionId or CachedReportConfiguration id can be used here. If a sessionId is specified, Filter, Select, and OrderBy are applied to the data represented by the sessionId. Filter, Select, and OrderBy cannot be specified together with a CachedReportConfiguration id. The maximum length allowed for this property is 128 characters. // returns a *string when successful func (m *DeviceManagementExportJob) GetSnapshotId()(*string) { val, err := m.GetBackingStore().Get("snapshotId") @@ -244,7 +244,7 @@ func (m *DeviceManagementExportJob) GetStatus()(*DeviceManagementReportStatus) { } return nil } -// GetUrl gets the url property value. Temporary location of the exported report +// GetUrl gets the url property value. Temporary location of the exported report. // returns a *string when successful func (m *DeviceManagementExportJob) GetUrl()(*string) { val, err := m.GetBackingStore().Get("url") @@ -327,14 +327,14 @@ func (m *DeviceManagementExportJob) Serialize(writer i878a80d2330e89d26896388a3f } return nil } -// SetExpirationDateTime sets the expirationDateTime property value. Time that the exported report expires +// SetExpirationDateTime sets the expirationDateTime property value. Time that the exported report expires. func (m *DeviceManagementExportJob) SetExpirationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("expirationDateTime", value) if err != nil { panic(err) } } -// SetFilter sets the filter property value. Filters applied on the report +// SetFilter sets the filter property value. Filters applied on the report. The maximum length allowed for this property is 2000 characters. func (m *DeviceManagementExportJob) SetFilter(value *string)() { err := m.GetBackingStore().Set("filter", value) if err != nil { @@ -355,28 +355,28 @@ func (m *DeviceManagementExportJob) SetLocalizationType(value *DeviceManagementE panic(err) } } -// SetReportName sets the reportName property value. Name of the report +// SetReportName sets the reportName property value. Name of the report. The maximum length allowed for this property is 2000 characters. func (m *DeviceManagementExportJob) SetReportName(value *string)() { err := m.GetBackingStore().Set("reportName", value) if err != nil { panic(err) } } -// SetRequestDateTime sets the requestDateTime property value. Time that the exported report was requested +// SetRequestDateTime sets the requestDateTime property value. Time that the exported report was requested. func (m *DeviceManagementExportJob) SetRequestDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("requestDateTime", value) if err != nil { panic(err) } } -// SetSelectEscaped sets the select property value. Columns selected from the report +// SetSelectEscaped sets the select property value. Columns selected from the report. The maximum number of allowed columns names is 256. The maximum length allowed for each column name in this property is 1000 characters. func (m *DeviceManagementExportJob) SetSelectEscaped(value []string)() { err := m.GetBackingStore().Set("selectEscaped", value) if err != nil { panic(err) } } -// SetSnapshotId sets the snapshotId property value. A snapshot is an identifiable subset of the dataset represented by the ReportName. A sessionId or CachedReportConfiguration id can be used here. If a sessionId is specified, Filter, Select, and OrderBy are applied to the data represented by the sessionId. Filter, Select, and OrderBy cannot be specified together with a CachedReportConfiguration id. +// SetSnapshotId sets the snapshotId property value. A snapshot is an identifiable subset of the dataset represented by the ReportName. A sessionId or CachedReportConfiguration id can be used here. If a sessionId is specified, Filter, Select, and OrderBy are applied to the data represented by the sessionId. Filter, Select, and OrderBy cannot be specified together with a CachedReportConfiguration id. The maximum length allowed for this property is 128 characters. func (m *DeviceManagementExportJob) SetSnapshotId(value *string)() { err := m.GetBackingStore().Set("snapshotId", value) if err != nil { @@ -390,7 +390,7 @@ func (m *DeviceManagementExportJob) SetStatus(value *DeviceManagementReportStatu panic(err) } } -// SetUrl sets the url property value. Temporary location of the exported report +// SetUrl sets the url property value. Temporary location of the exported report. func (m *DeviceManagementExportJob) SetUrl(value *string)() { err := m.GetBackingStore().Set("url", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_management_reports.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_management_reports.go index cc63a90073..8ab3cb7904 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_management_reports.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/device_management_reports.go @@ -22,7 +22,7 @@ func NewDeviceManagementReports()(*DeviceManagementReports) { func CreateDeviceManagementReportsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewDeviceManagementReports(), nil } -// GetExportJobs gets the exportJobs property value. Entity representing a job to export a report +// GetExportJobs gets the exportJobs property value. Entity representing a job to export a report. // returns a []DeviceManagementExportJobable when successful func (m *DeviceManagementReports) GetExportJobs()([]DeviceManagementExportJobable) { val, err := m.GetBackingStore().Get("exportJobs") @@ -76,7 +76,7 @@ func (m *DeviceManagementReports) Serialize(writer i878a80d2330e89d26896388a3f48 } return nil } -// SetExportJobs sets the exportJobs property value. Entity representing a job to export a report +// SetExportJobs sets the exportJobs property value. Entity representing a job to export a report. func (m *DeviceManagementReports) SetExportJobs(value []DeviceManagementExportJobable)() { err := m.GetBackingStore().Set("exportJobs", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/directory_audit.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/directory_audit.go index 4038d4d55f..ef870ea19d 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/directory_audit.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/directory_audit.go @@ -247,7 +247,7 @@ func (m *DirectoryAudit) GetOperationType()(*string) { } return nil } -// GetResult gets the result property value. Indicates the result of the activity. Possible values are: success, failure, timeout, unknownFutureValue. +// GetResult gets the result property value. Indicates the result of the activity. The possible values are: success, failure, timeout, unknownFutureValue. // returns a *OperationResult when successful func (m *DirectoryAudit) GetResult()(*OperationResult) { val, err := m.GetBackingStore().Get("result") @@ -426,7 +426,7 @@ func (m *DirectoryAudit) SetOperationType(value *string)() { panic(err) } } -// SetResult sets the result property value. Indicates the result of the activity. Possible values are: success, failure, timeout, unknownFutureValue. +// SetResult sets the result property value. Indicates the result of the activity. The possible values are: success, failure, timeout, unknownFutureValue. func (m *DirectoryAudit) SetResult(value *OperationResult)() { err := m.GetBackingStore().Set("result", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/domain.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/domain.go index 2030e26871..0ed6a071ad 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/domain.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/domain.go @@ -22,7 +22,7 @@ func NewDomain()(*Domain) { func CreateDomainFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewDomain(), nil } -// GetAuthenticationType gets the authenticationType property value. Indicates the configured authentication type for the domain. The value is either Managed or Federated. Managed indicates a cloud managed domain where Microsoft Entra ID performs user authentication. Federated indicates authentication is federated with an identity provider such as the tenant's on-premises Active Directory via Active Directory Federation Services. Not nullable. To update this property in delegated scenarios, the calling app must be assigned the Directory.AccessAsUser.All delegated permission. +// GetAuthenticationType gets the authenticationType property value. Indicates the configured authentication type for the domain. The value is either Managed or Federated. Managed indicates a cloud managed domain where Microsoft Entra ID performs user authentication. Federated indicates authentication is federated with an identity provider such as the tenant's on-premises Active Directory via Active Directory Federation Services. Not nullable. To update this property in delegated scenarios, the calling app must be assigned the Domain-InternalFederation.ReadWrite.All permission. // returns a *string when successful func (m *Domain) GetAuthenticationType()(*string) { val, err := m.GetBackingStore().Get("authenticationType") @@ -594,7 +594,7 @@ func (m *Domain) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c } return nil } -// SetAuthenticationType sets the authenticationType property value. Indicates the configured authentication type for the domain. The value is either Managed or Federated. Managed indicates a cloud managed domain where Microsoft Entra ID performs user authentication. Federated indicates authentication is federated with an identity provider such as the tenant's on-premises Active Directory via Active Directory Federation Services. Not nullable. To update this property in delegated scenarios, the calling app must be assigned the Directory.AccessAsUser.All delegated permission. +// SetAuthenticationType sets the authenticationType property value. Indicates the configured authentication type for the domain. The value is either Managed or Federated. Managed indicates a cloud managed domain where Microsoft Entra ID performs user authentication. Federated indicates authentication is federated with an identity provider such as the tenant's on-premises Active Directory via Active Directory Federation Services. Not nullable. To update this property in delegated scenarios, the calling app must be assigned the Domain-InternalFederation.ReadWrite.All permission. func (m *Domain) SetAuthenticationType(value *string)() { err := m.GetBackingStore().Set("authenticationType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/drop_in_place_mode.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/drop_in_place_mode.go new file mode 100644 index 0000000000..e59c5680aa --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/drop_in_place_mode.go @@ -0,0 +1,44 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type DropInPlaceMode struct { + PlaceMode +} +// NewDropInPlaceMode instantiates a new DropInPlaceMode and sets the default values. +func NewDropInPlaceMode()(*DropInPlaceMode) { + m := &DropInPlaceMode{ + PlaceMode: *NewPlaceMode(), + } + odataTypeValue := "#microsoft.graph.dropInPlaceMode" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateDropInPlaceModeFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDropInPlaceModeFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDropInPlaceMode(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *DropInPlaceMode) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.PlaceMode.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *DropInPlaceMode) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.PlaceMode.Serialize(writer) + if err != nil { + return err + } + return nil +} +type DropInPlaceModeable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + PlaceModeable +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_ai_feedback_audience_engagement_settings.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_ai_feedback_audience_engagement_settings.go new file mode 100644 index 0000000000..69b7758585 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_ai_feedback_audience_engagement_settings.go @@ -0,0 +1,227 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type EducationAiFeedbackAudienceEngagementSettings struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewEducationAiFeedbackAudienceEngagementSettings instantiates a new EducationAiFeedbackAudienceEngagementSettings and sets the default values. +func NewEducationAiFeedbackAudienceEngagementSettings()(*EducationAiFeedbackAudienceEngagementSettings) { + m := &EducationAiFeedbackAudienceEngagementSettings{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateEducationAiFeedbackAudienceEngagementSettingsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEducationAiFeedbackAudienceEngagementSettingsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEducationAiFeedbackAudienceEngagementSettings(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *EducationAiFeedbackAudienceEngagementSettings) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetAreEngagementStrategiesEnabled gets the areEngagementStrategiesEnabled property value. Indicates whether the student should receive feedback on their engagement strategies from the AI feedback. +// returns a *bool when successful +func (m *EducationAiFeedbackAudienceEngagementSettings) GetAreEngagementStrategiesEnabled()(*bool) { + val, err := m.GetBackingStore().Get("areEngagementStrategiesEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *EducationAiFeedbackAudienceEngagementSettings) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EducationAiFeedbackAudienceEngagementSettings) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["areEngagementStrategiesEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetAreEngagementStrategiesEnabled(val) + } + return nil + } + res["isCallToActionEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsCallToActionEnabled(val) + } + return nil + } + res["isEmotionalAndIntellectualAppealEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsEmotionalAndIntellectualAppealEnabled(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetIsCallToActionEnabled gets the isCallToActionEnabled property value. Indicates whether the student should receive feedback on their call to action from the AI feedback. +// returns a *bool when successful +func (m *EducationAiFeedbackAudienceEngagementSettings) GetIsCallToActionEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isCallToActionEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIsEmotionalAndIntellectualAppealEnabled gets the isEmotionalAndIntellectualAppealEnabled property value. Indicates whether the student should receive feedback on their emotional and intellectual appeal from the AI feedback. +// returns a *bool when successful +func (m *EducationAiFeedbackAudienceEngagementSettings) GetIsEmotionalAndIntellectualAppealEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isEmotionalAndIntellectualAppealEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *EducationAiFeedbackAudienceEngagementSettings) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *EducationAiFeedbackAudienceEngagementSettings) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteBoolValue("areEngagementStrategiesEnabled", m.GetAreEngagementStrategiesEnabled()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isCallToActionEnabled", m.GetIsCallToActionEnabled()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isEmotionalAndIntellectualAppealEnabled", m.GetIsEmotionalAndIntellectualAppealEnabled()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *EducationAiFeedbackAudienceEngagementSettings) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAreEngagementStrategiesEnabled sets the areEngagementStrategiesEnabled property value. Indicates whether the student should receive feedback on their engagement strategies from the AI feedback. +func (m *EducationAiFeedbackAudienceEngagementSettings) SetAreEngagementStrategiesEnabled(value *bool)() { + err := m.GetBackingStore().Set("areEngagementStrategiesEnabled", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *EducationAiFeedbackAudienceEngagementSettings) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetIsCallToActionEnabled sets the isCallToActionEnabled property value. Indicates whether the student should receive feedback on their call to action from the AI feedback. +func (m *EducationAiFeedbackAudienceEngagementSettings) SetIsCallToActionEnabled(value *bool)() { + err := m.GetBackingStore().Set("isCallToActionEnabled", value) + if err != nil { + panic(err) + } +} +// SetIsEmotionalAndIntellectualAppealEnabled sets the isEmotionalAndIntellectualAppealEnabled property value. Indicates whether the student should receive feedback on their emotional and intellectual appeal from the AI feedback. +func (m *EducationAiFeedbackAudienceEngagementSettings) SetIsEmotionalAndIntellectualAppealEnabled(value *bool)() { + err := m.GetBackingStore().Set("isEmotionalAndIntellectualAppealEnabled", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *EducationAiFeedbackAudienceEngagementSettings) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type EducationAiFeedbackAudienceEngagementSettingsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAreEngagementStrategiesEnabled()(*bool) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetIsCallToActionEnabled()(*bool) + GetIsEmotionalAndIntellectualAppealEnabled()(*bool) + GetOdataType()(*string) + SetAreEngagementStrategiesEnabled(value *bool)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetIsCallToActionEnabled(value *bool)() + SetIsEmotionalAndIntellectualAppealEnabled(value *bool)() + SetOdataType(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_ai_feedback_content_settings.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_ai_feedback_content_settings.go new file mode 100644 index 0000000000..d7ce8d90f7 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_ai_feedback_content_settings.go @@ -0,0 +1,227 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type EducationAiFeedbackContentSettings struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewEducationAiFeedbackContentSettings instantiates a new EducationAiFeedbackContentSettings and sets the default values. +func NewEducationAiFeedbackContentSettings()(*EducationAiFeedbackContentSettings) { + m := &EducationAiFeedbackContentSettings{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateEducationAiFeedbackContentSettingsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEducationAiFeedbackContentSettingsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEducationAiFeedbackContentSettings(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *EducationAiFeedbackContentSettings) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *EducationAiFeedbackContentSettings) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EducationAiFeedbackContentSettings) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["isMessageClarityEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsMessageClarityEnabled(val) + } + return nil + } + res["isQualityOfInformationEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsQualityOfInformationEnabled(val) + } + return nil + } + res["isSpeechOrganizationEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsSpeechOrganizationEnabled(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetIsMessageClarityEnabled gets the isMessageClarityEnabled property value. Indicates whether the student should receive feedback on their message clarity from the AI feedback. +// returns a *bool when successful +func (m *EducationAiFeedbackContentSettings) GetIsMessageClarityEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isMessageClarityEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIsQualityOfInformationEnabled gets the isQualityOfInformationEnabled property value. Indicates whether the student should receive feedback on their quality of information from the AI feedback. +// returns a *bool when successful +func (m *EducationAiFeedbackContentSettings) GetIsQualityOfInformationEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isQualityOfInformationEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIsSpeechOrganizationEnabled gets the isSpeechOrganizationEnabled property value. Indicates whether the student should receive feedback on their speech organization from the AI feedback. +// returns a *bool when successful +func (m *EducationAiFeedbackContentSettings) GetIsSpeechOrganizationEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isSpeechOrganizationEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *EducationAiFeedbackContentSettings) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *EducationAiFeedbackContentSettings) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteBoolValue("isMessageClarityEnabled", m.GetIsMessageClarityEnabled()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isQualityOfInformationEnabled", m.GetIsQualityOfInformationEnabled()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isSpeechOrganizationEnabled", m.GetIsSpeechOrganizationEnabled()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *EducationAiFeedbackContentSettings) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *EducationAiFeedbackContentSettings) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetIsMessageClarityEnabled sets the isMessageClarityEnabled property value. Indicates whether the student should receive feedback on their message clarity from the AI feedback. +func (m *EducationAiFeedbackContentSettings) SetIsMessageClarityEnabled(value *bool)() { + err := m.GetBackingStore().Set("isMessageClarityEnabled", value) + if err != nil { + panic(err) + } +} +// SetIsQualityOfInformationEnabled sets the isQualityOfInformationEnabled property value. Indicates whether the student should receive feedback on their quality of information from the AI feedback. +func (m *EducationAiFeedbackContentSettings) SetIsQualityOfInformationEnabled(value *bool)() { + err := m.GetBackingStore().Set("isQualityOfInformationEnabled", value) + if err != nil { + panic(err) + } +} +// SetIsSpeechOrganizationEnabled sets the isSpeechOrganizationEnabled property value. Indicates whether the student should receive feedback on their speech organization from the AI feedback. +func (m *EducationAiFeedbackContentSettings) SetIsSpeechOrganizationEnabled(value *bool)() { + err := m.GetBackingStore().Set("isSpeechOrganizationEnabled", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *EducationAiFeedbackContentSettings) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type EducationAiFeedbackContentSettingsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetIsMessageClarityEnabled()(*bool) + GetIsQualityOfInformationEnabled()(*bool) + GetIsSpeechOrganizationEnabled()(*bool) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetIsMessageClarityEnabled(value *bool)() + SetIsQualityOfInformationEnabled(value *bool)() + SetIsSpeechOrganizationEnabled(value *bool)() + SetOdataType(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_ai_feedback_criteria.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_ai_feedback_criteria.go new file mode 100644 index 0000000000..a301ab0b17 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_ai_feedback_criteria.go @@ -0,0 +1,191 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type EducationAiFeedbackCriteria struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewEducationAiFeedbackCriteria instantiates a new EducationAiFeedbackCriteria and sets the default values. +func NewEducationAiFeedbackCriteria()(*EducationAiFeedbackCriteria) { + m := &EducationAiFeedbackCriteria{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateEducationAiFeedbackCriteriaFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEducationAiFeedbackCriteriaFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEducationAiFeedbackCriteria(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *EducationAiFeedbackCriteria) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetAiFeedbackSettings gets the aiFeedbackSettings property value. The aiFeedbackSettings property +// returns a EducationAiFeedbackSettingsable when successful +func (m *EducationAiFeedbackCriteria) GetAiFeedbackSettings()(EducationAiFeedbackSettingsable) { + val, err := m.GetBackingStore().Get("aiFeedbackSettings") + if err != nil { + panic(err) + } + if val != nil { + return val.(EducationAiFeedbackSettingsable) + } + return nil +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *EducationAiFeedbackCriteria) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EducationAiFeedbackCriteria) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["aiFeedbackSettings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateEducationAiFeedbackSettingsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetAiFeedbackSettings(val.(EducationAiFeedbackSettingsable)) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["speechType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseEducationSpeechType) + if err != nil { + return err + } + if val != nil { + m.SetSpeechType(val.(*EducationSpeechType)) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *EducationAiFeedbackCriteria) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSpeechType gets the speechType property value. The speechType property +// returns a *EducationSpeechType when successful +func (m *EducationAiFeedbackCriteria) GetSpeechType()(*EducationSpeechType) { + val, err := m.GetBackingStore().Get("speechType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*EducationSpeechType) + } + return nil +} +// Serialize serializes information the current object +func (m *EducationAiFeedbackCriteria) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("aiFeedbackSettings", m.GetAiFeedbackSettings()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + if m.GetSpeechType() != nil { + cast := (*m.GetSpeechType()).String() + err := writer.WriteStringValue("speechType", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *EducationAiFeedbackCriteria) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAiFeedbackSettings sets the aiFeedbackSettings property value. The aiFeedbackSettings property +func (m *EducationAiFeedbackCriteria) SetAiFeedbackSettings(value EducationAiFeedbackSettingsable)() { + err := m.GetBackingStore().Set("aiFeedbackSettings", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *EducationAiFeedbackCriteria) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *EducationAiFeedbackCriteria) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetSpeechType sets the speechType property value. The speechType property +func (m *EducationAiFeedbackCriteria) SetSpeechType(value *EducationSpeechType)() { + err := m.GetBackingStore().Set("speechType", value) + if err != nil { + panic(err) + } +} +type EducationAiFeedbackCriteriaable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAiFeedbackSettings()(EducationAiFeedbackSettingsable) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetSpeechType()(*EducationSpeechType) + SetAiFeedbackSettings(value EducationAiFeedbackSettingsable)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetSpeechType(value *EducationSpeechType)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_ai_feedback_delivery_settings.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_ai_feedback_delivery_settings.go new file mode 100644 index 0000000000..7ac990c697 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_ai_feedback_delivery_settings.go @@ -0,0 +1,227 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type EducationAiFeedbackDeliverySettings struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewEducationAiFeedbackDeliverySettings instantiates a new EducationAiFeedbackDeliverySettings and sets the default values. +func NewEducationAiFeedbackDeliverySettings()(*EducationAiFeedbackDeliverySettings) { + m := &EducationAiFeedbackDeliverySettings{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateEducationAiFeedbackDeliverySettingsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEducationAiFeedbackDeliverySettingsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEducationAiFeedbackDeliverySettings(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *EducationAiFeedbackDeliverySettings) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetAreRhetoricalTechniquesEnabled gets the areRhetoricalTechniquesEnabled property value. Indicates whether the student should receive feedback on their rhetorical techniques from the AI feedback. +// returns a *bool when successful +func (m *EducationAiFeedbackDeliverySettings) GetAreRhetoricalTechniquesEnabled()(*bool) { + val, err := m.GetBackingStore().Get("areRhetoricalTechniquesEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *EducationAiFeedbackDeliverySettings) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EducationAiFeedbackDeliverySettings) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["areRhetoricalTechniquesEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetAreRhetoricalTechniquesEnabled(val) + } + return nil + } + res["isLanguageUseEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsLanguageUseEnabled(val) + } + return nil + } + res["isStyleEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsStyleEnabled(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetIsLanguageUseEnabled gets the isLanguageUseEnabled property value. Indicates whether the student should receive feedback on their language use from the AI feedback. +// returns a *bool when successful +func (m *EducationAiFeedbackDeliverySettings) GetIsLanguageUseEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isLanguageUseEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIsStyleEnabled gets the isStyleEnabled property value. Indicates whether the student should receive feedback on their style from the AI feedback. +// returns a *bool when successful +func (m *EducationAiFeedbackDeliverySettings) GetIsStyleEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isStyleEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *EducationAiFeedbackDeliverySettings) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *EducationAiFeedbackDeliverySettings) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteBoolValue("areRhetoricalTechniquesEnabled", m.GetAreRhetoricalTechniquesEnabled()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isLanguageUseEnabled", m.GetIsLanguageUseEnabled()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isStyleEnabled", m.GetIsStyleEnabled()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *EducationAiFeedbackDeliverySettings) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAreRhetoricalTechniquesEnabled sets the areRhetoricalTechniquesEnabled property value. Indicates whether the student should receive feedback on their rhetorical techniques from the AI feedback. +func (m *EducationAiFeedbackDeliverySettings) SetAreRhetoricalTechniquesEnabled(value *bool)() { + err := m.GetBackingStore().Set("areRhetoricalTechniquesEnabled", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *EducationAiFeedbackDeliverySettings) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetIsLanguageUseEnabled sets the isLanguageUseEnabled property value. Indicates whether the student should receive feedback on their language use from the AI feedback. +func (m *EducationAiFeedbackDeliverySettings) SetIsLanguageUseEnabled(value *bool)() { + err := m.GetBackingStore().Set("isLanguageUseEnabled", value) + if err != nil { + panic(err) + } +} +// SetIsStyleEnabled sets the isStyleEnabled property value. Indicates whether the student should receive feedback on their style from the AI feedback. +func (m *EducationAiFeedbackDeliverySettings) SetIsStyleEnabled(value *bool)() { + err := m.GetBackingStore().Set("isStyleEnabled", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *EducationAiFeedbackDeliverySettings) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type EducationAiFeedbackDeliverySettingsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAreRhetoricalTechniquesEnabled()(*bool) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetIsLanguageUseEnabled()(*bool) + GetIsStyleEnabled()(*bool) + GetOdataType()(*string) + SetAreRhetoricalTechniquesEnabled(value *bool)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetIsLanguageUseEnabled(value *bool)() + SetIsStyleEnabled(value *bool)() + SetOdataType(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_ai_feedback_settings.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_ai_feedback_settings.go new file mode 100644 index 0000000000..25f08d6f1d --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_ai_feedback_settings.go @@ -0,0 +1,227 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type EducationAiFeedbackSettings struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewEducationAiFeedbackSettings instantiates a new EducationAiFeedbackSettings and sets the default values. +func NewEducationAiFeedbackSettings()(*EducationAiFeedbackSettings) { + m := &EducationAiFeedbackSettings{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateEducationAiFeedbackSettingsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEducationAiFeedbackSettingsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEducationAiFeedbackSettings(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *EducationAiFeedbackSettings) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetAudienceEngagementSettings gets the audienceEngagementSettings property value. The audience engagement related feedback types that students should receive from the AI feedback. +// returns a EducationAiFeedbackAudienceEngagementSettingsable when successful +func (m *EducationAiFeedbackSettings) GetAudienceEngagementSettings()(EducationAiFeedbackAudienceEngagementSettingsable) { + val, err := m.GetBackingStore().Get("audienceEngagementSettings") + if err != nil { + panic(err) + } + if val != nil { + return val.(EducationAiFeedbackAudienceEngagementSettingsable) + } + return nil +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *EducationAiFeedbackSettings) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetContentSettings gets the contentSettings property value. The content related feedback types that students should receive from the AI feedback. +// returns a EducationAiFeedbackContentSettingsable when successful +func (m *EducationAiFeedbackSettings) GetContentSettings()(EducationAiFeedbackContentSettingsable) { + val, err := m.GetBackingStore().Get("contentSettings") + if err != nil { + panic(err) + } + if val != nil { + return val.(EducationAiFeedbackContentSettingsable) + } + return nil +} +// GetDeliverySettings gets the deliverySettings property value. The delivery related feedback types that students should receive from the AI feedback. +// returns a EducationAiFeedbackDeliverySettingsable when successful +func (m *EducationAiFeedbackSettings) GetDeliverySettings()(EducationAiFeedbackDeliverySettingsable) { + val, err := m.GetBackingStore().Get("deliverySettings") + if err != nil { + panic(err) + } + if val != nil { + return val.(EducationAiFeedbackDeliverySettingsable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EducationAiFeedbackSettings) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["audienceEngagementSettings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateEducationAiFeedbackAudienceEngagementSettingsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetAudienceEngagementSettings(val.(EducationAiFeedbackAudienceEngagementSettingsable)) + } + return nil + } + res["contentSettings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateEducationAiFeedbackContentSettingsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetContentSettings(val.(EducationAiFeedbackContentSettingsable)) + } + return nil + } + res["deliverySettings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateEducationAiFeedbackDeliverySettingsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetDeliverySettings(val.(EducationAiFeedbackDeliverySettingsable)) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *EducationAiFeedbackSettings) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *EducationAiFeedbackSettings) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("audienceEngagementSettings", m.GetAudienceEngagementSettings()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("contentSettings", m.GetContentSettings()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("deliverySettings", m.GetDeliverySettings()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *EducationAiFeedbackSettings) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAudienceEngagementSettings sets the audienceEngagementSettings property value. The audience engagement related feedback types that students should receive from the AI feedback. +func (m *EducationAiFeedbackSettings) SetAudienceEngagementSettings(value EducationAiFeedbackAudienceEngagementSettingsable)() { + err := m.GetBackingStore().Set("audienceEngagementSettings", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *EducationAiFeedbackSettings) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetContentSettings sets the contentSettings property value. The content related feedback types that students should receive from the AI feedback. +func (m *EducationAiFeedbackSettings) SetContentSettings(value EducationAiFeedbackContentSettingsable)() { + err := m.GetBackingStore().Set("contentSettings", value) + if err != nil { + panic(err) + } +} +// SetDeliverySettings sets the deliverySettings property value. The delivery related feedback types that students should receive from the AI feedback. +func (m *EducationAiFeedbackSettings) SetDeliverySettings(value EducationAiFeedbackDeliverySettingsable)() { + err := m.GetBackingStore().Set("deliverySettings", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *EducationAiFeedbackSettings) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type EducationAiFeedbackSettingsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAudienceEngagementSettings()(EducationAiFeedbackAudienceEngagementSettingsable) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetContentSettings()(EducationAiFeedbackContentSettingsable) + GetDeliverySettings()(EducationAiFeedbackDeliverySettingsable) + GetOdataType()(*string) + SetAudienceEngagementSettings(value EducationAiFeedbackAudienceEngagementSettingsable)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetContentSettings(value EducationAiFeedbackContentSettingsable)() + SetDeliverySettings(value EducationAiFeedbackDeliverySettingsable)() + SetOdataType(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_assignment.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_assignment.go index 4825bdc132..efd4a6a774 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_assignment.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_assignment.go @@ -383,6 +383,16 @@ func (m *EducationAssignment) GetFieldDeserializers()(map[string]func(i878a80d23 } return nil } + res["gradingScheme"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateEducationGradingSchemeFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetGradingScheme(val.(EducationGradingSchemeable)) + } + return nil + } res["instructions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateEducationItemBodyFromDiscriminatorValue) if err != nil { @@ -393,6 +403,16 @@ func (m *EducationAssignment) GetFieldDeserializers()(map[string]func(i878a80d23 } return nil } + res["languageTag"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetLanguageTag(val) + } + return nil + } res["lastModifiedBy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateIdentitySetFromDiscriminatorValue) if err != nil { @@ -531,6 +551,18 @@ func (m *EducationAssignment) GetGradingCategory()(EducationGradingCategoryable) } return nil } +// GetGradingScheme gets the gradingScheme property value. When set, enables users to configure custom string grades based on the percentage of total points earned on this assignment. +// returns a EducationGradingSchemeable when successful +func (m *EducationAssignment) GetGradingScheme()(EducationGradingSchemeable) { + val, err := m.GetBackingStore().Get("gradingScheme") + if err != nil { + panic(err) + } + if val != nil { + return val.(EducationGradingSchemeable) + } + return nil +} // GetInstructions gets the instructions property value. Instructions for the assignment. The instructions and the display name tell the student what to do. // returns a EducationItemBodyable when successful func (m *EducationAssignment) GetInstructions()(EducationItemBodyable) { @@ -543,6 +575,18 @@ func (m *EducationAssignment) GetInstructions()(EducationItemBodyable) { } return nil } +// GetLanguageTag gets the languageTag property value. Specifies the language in which UI notifications for the assignment are displayed. If languageTag isn't provided, the default language is en-US. Optional. +// returns a *string when successful +func (m *EducationAssignment) GetLanguageTag()(*string) { + val, err := m.GetBackingStore().Get("languageTag") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetLastModifiedBy gets the lastModifiedBy property value. Who last modified the assignment. // returns a IdentitySetable when successful func (m *EducationAssignment) GetLastModifiedBy()(IdentitySetable) { @@ -627,7 +671,7 @@ func (m *EducationAssignment) GetRubric()(EducationRubricable) { } return nil } -// GetStatus gets the status property value. Status of the assignment. You can't PATCH this value. Possible values are: draft, scheduled, published, assigned, unknownFutureValue, inactive. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: inactive. +// GetStatus gets the status property value. Status of the assignment. You can't PATCH this value. The possible values are: draft, scheduled, published, assigned, unknownFutureValue, inactive. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: inactive. // returns a *EducationAssignmentStatus when successful func (m *EducationAssignment) GetStatus()(*EducationAssignmentStatus) { val, err := m.GetBackingStore().Get("status") @@ -749,12 +793,24 @@ func (m *EducationAssignment) Serialize(writer i878a80d2330e89d26896388a3f487eef return err } } + { + err = writer.WriteObjectValue("gradingScheme", m.GetGradingScheme()) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("instructions", m.GetInstructions()) if err != nil { return err } } + { + err = writer.WriteStringValue("languageTag", m.GetLanguageTag()) + if err != nil { + return err + } + } { err = writer.WriteStringValue("moduleUrl", m.GetModuleUrl()) if err != nil { @@ -918,6 +974,13 @@ func (m *EducationAssignment) SetGradingCategory(value EducationGradingCategorya panic(err) } } +// SetGradingScheme sets the gradingScheme property value. When set, enables users to configure custom string grades based on the percentage of total points earned on this assignment. +func (m *EducationAssignment) SetGradingScheme(value EducationGradingSchemeable)() { + err := m.GetBackingStore().Set("gradingScheme", value) + if err != nil { + panic(err) + } +} // SetInstructions sets the instructions property value. Instructions for the assignment. The instructions and the display name tell the student what to do. func (m *EducationAssignment) SetInstructions(value EducationItemBodyable)() { err := m.GetBackingStore().Set("instructions", value) @@ -925,6 +988,13 @@ func (m *EducationAssignment) SetInstructions(value EducationItemBodyable)() { panic(err) } } +// SetLanguageTag sets the languageTag property value. Specifies the language in which UI notifications for the assignment are displayed. If languageTag isn't provided, the default language is en-US. Optional. +func (m *EducationAssignment) SetLanguageTag(value *string)() { + err := m.GetBackingStore().Set("languageTag", value) + if err != nil { + panic(err) + } +} // SetLastModifiedBy sets the lastModifiedBy property value. Who last modified the assignment. func (m *EducationAssignment) SetLastModifiedBy(value IdentitySetable)() { err := m.GetBackingStore().Set("lastModifiedBy", value) @@ -974,7 +1044,7 @@ func (m *EducationAssignment) SetRubric(value EducationRubricable)() { panic(err) } } -// SetStatus sets the status property value. Status of the assignment. You can't PATCH this value. Possible values are: draft, scheduled, published, assigned, unknownFutureValue, inactive. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: inactive. +// SetStatus sets the status property value. Status of the assignment. You can't PATCH this value. The possible values are: draft, scheduled, published, assigned, unknownFutureValue, inactive. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: inactive. func (m *EducationAssignment) SetStatus(value *EducationAssignmentStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { @@ -1015,7 +1085,9 @@ type EducationAssignmentable interface { GetFeedbackResourcesFolderUrl()(*string) GetGrading()(EducationAssignmentGradeTypeable) GetGradingCategory()(EducationGradingCategoryable) + GetGradingScheme()(EducationGradingSchemeable) GetInstructions()(EducationItemBodyable) + GetLanguageTag()(*string) GetLastModifiedBy()(IdentitySetable) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetModuleUrl()(*string) @@ -1043,7 +1115,9 @@ type EducationAssignmentable interface { SetFeedbackResourcesFolderUrl(value *string)() SetGrading(value EducationAssignmentGradeTypeable)() SetGradingCategory(value EducationGradingCategoryable)() + SetGradingScheme(value EducationGradingSchemeable)() SetInstructions(value EducationItemBodyable)() + SetLanguageTag(value *string)() SetLastModifiedBy(value IdentitySetable)() SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetModuleUrl(value *string)() diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_assignment_defaults.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_assignment_defaults.go index 359fb2fa3c..2943f27dfb 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_assignment_defaults.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_assignment_defaults.go @@ -22,7 +22,7 @@ func NewEducationAssignmentDefaults()(*EducationAssignmentDefaults) { func CreateEducationAssignmentDefaultsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewEducationAssignmentDefaults(), nil } -// GetAddedStudentAction gets the addedStudentAction property value. Class-level default behavior for handling students who are added after the assignment is published. Possible values are: none, assignIfOpen. +// GetAddedStudentAction gets the addedStudentAction property value. Class-level default behavior for handling students who are added after the assignment is published. The possible values are: none, assignIfOpen. // returns a *EducationAddedStudentAction when successful func (m *EducationAssignmentDefaults) GetAddedStudentAction()(*EducationAddedStudentAction) { val, err := m.GetBackingStore().Get("addedStudentAction") @@ -34,7 +34,7 @@ func (m *EducationAssignmentDefaults) GetAddedStudentAction()(*EducationAddedStu } return nil } -// GetAddToCalendarAction gets the addToCalendarAction property value. Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: studentsOnly. The default value is none. +// GetAddToCalendarAction gets the addToCalendarAction property value. Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: studentsOnly. The default value is none. // returns a *EducationAddToCalendarOptions when successful func (m *EducationAssignmentDefaults) GetAddToCalendarAction()(*EducationAddToCalendarOptions) { val, err := m.GetBackingStore().Get("addToCalendarAction") @@ -150,14 +150,14 @@ func (m *EducationAssignmentDefaults) Serialize(writer i878a80d2330e89d26896388a } return nil } -// SetAddedStudentAction sets the addedStudentAction property value. Class-level default behavior for handling students who are added after the assignment is published. Possible values are: none, assignIfOpen. +// SetAddedStudentAction sets the addedStudentAction property value. Class-level default behavior for handling students who are added after the assignment is published. The possible values are: none, assignIfOpen. func (m *EducationAssignmentDefaults) SetAddedStudentAction(value *EducationAddedStudentAction)() { err := m.GetBackingStore().Set("addedStudentAction", value) if err != nil { panic(err) } } -// SetAddToCalendarAction sets the addToCalendarAction property value. Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: studentsOnly. The default value is none. +// SetAddToCalendarAction sets the addToCalendarAction property value. Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: studentsOnly. The default value is none. func (m *EducationAssignmentDefaults) SetAddToCalendarAction(value *EducationAddToCalendarOptions)() { err := m.GetBackingStore().Set("addToCalendarAction", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_assignment_resource.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_assignment_resource.go index 0efa4baa64..8a49998ee7 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_assignment_resource.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_assignment_resource.go @@ -22,6 +22,18 @@ func NewEducationAssignmentResource()(*EducationAssignmentResource) { func CreateEducationAssignmentResourceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewEducationAssignmentResource(), nil } +// GetDependentResources gets the dependentResources property value. A collection of assignment resources that depend on the parent educationAssignmentResource. +// returns a []EducationAssignmentResourceable when successful +func (m *EducationAssignmentResource) GetDependentResources()([]EducationAssignmentResourceable) { + val, err := m.GetBackingStore().Get("dependentResources") + if err != nil { + panic(err) + } + if val != nil { + return val.([]EducationAssignmentResourceable) + } + return nil +} // GetDistributeForStudentWork gets the distributeForStudentWork property value. Indicates whether this resource should be copied to each student submission for modification and submission. Required // returns a *bool when successful func (m *EducationAssignmentResource) GetDistributeForStudentWork()(*bool) { @@ -38,6 +50,22 @@ func (m *EducationAssignmentResource) GetDistributeForStudentWork()(*bool) { // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *EducationAssignmentResource) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.Entity.GetFieldDeserializers() + res["dependentResources"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateEducationAssignmentResourceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]EducationAssignmentResourceable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(EducationAssignmentResourceable) + } + } + m.SetDependentResources(res) + } + return nil + } res["distributeForStudentWork"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetBoolValue() if err != nil { @@ -78,6 +106,18 @@ func (m *EducationAssignmentResource) Serialize(writer i878a80d2330e89d26896388a if err != nil { return err } + if m.GetDependentResources() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetDependentResources())) + for i, v := range m.GetDependentResources() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("dependentResources", cast) + if err != nil { + return err + } + } { err = writer.WriteBoolValue("distributeForStudentWork", m.GetDistributeForStudentWork()) if err != nil { @@ -92,6 +132,13 @@ func (m *EducationAssignmentResource) Serialize(writer i878a80d2330e89d26896388a } return nil } +// SetDependentResources sets the dependentResources property value. A collection of assignment resources that depend on the parent educationAssignmentResource. +func (m *EducationAssignmentResource) SetDependentResources(value []EducationAssignmentResourceable)() { + err := m.GetBackingStore().Set("dependentResources", value) + if err != nil { + panic(err) + } +} // SetDistributeForStudentWork sets the distributeForStudentWork property value. Indicates whether this resource should be copied to each student submission for modification and submission. Required func (m *EducationAssignmentResource) SetDistributeForStudentWork(value *bool)() { err := m.GetBackingStore().Set("distributeForStudentWork", value) @@ -109,8 +156,10 @@ func (m *EducationAssignmentResource) SetResource(value EducationResourceable)() type EducationAssignmentResourceable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetDependentResources()([]EducationAssignmentResourceable) GetDistributeForStudentWork()(*bool) GetResource()(EducationResourceable) + SetDependentResources(value []EducationAssignmentResourceable)() SetDistributeForStudentWork(value *bool)() SetResource(value EducationResourceable)() } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_assignment_settings.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_assignment_settings.go index 33a9b086b0..4e26cba9f4 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_assignment_settings.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_assignment_settings.go @@ -22,10 +22,32 @@ func NewEducationAssignmentSettings()(*EducationAssignmentSettings) { func CreateEducationAssignmentSettingsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewEducationAssignmentSettings(), nil } +// GetDefaultGradingScheme gets the defaultGradingScheme property value. The default grading scheme for assignments created in this class. +// returns a EducationGradingSchemeable when successful +func (m *EducationAssignmentSettings) GetDefaultGradingScheme()(EducationGradingSchemeable) { + val, err := m.GetBackingStore().Get("defaultGradingScheme") + if err != nil { + panic(err) + } + if val != nil { + return val.(EducationGradingSchemeable) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *EducationAssignmentSettings) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.Entity.GetFieldDeserializers() + res["defaultGradingScheme"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateEducationGradingSchemeFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetDefaultGradingScheme(val.(EducationGradingSchemeable)) + } + return nil + } res["gradingCategories"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateEducationGradingCategoryFromDiscriminatorValue) if err != nil { @@ -42,6 +64,22 @@ func (m *EducationAssignmentSettings) GetFieldDeserializers()(map[string]func(i8 } return nil } + res["gradingSchemes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateEducationGradingSchemeFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]EducationGradingSchemeable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(EducationGradingSchemeable) + } + } + m.SetGradingSchemes(res) + } + return nil + } res["submissionAnimationDisabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetBoolValue() if err != nil { @@ -66,6 +104,18 @@ func (m *EducationAssignmentSettings) GetGradingCategories()([]EducationGradingC } return nil } +// GetGradingSchemes gets the gradingSchemes property value. The grading schemes that can be attached to assignments created in this class. +// returns a []EducationGradingSchemeable when successful +func (m *EducationAssignmentSettings) GetGradingSchemes()([]EducationGradingSchemeable) { + val, err := m.GetBackingStore().Get("gradingSchemes") + if err != nil { + panic(err) + } + if val != nil { + return val.([]EducationGradingSchemeable) + } + return nil +} // GetSubmissionAnimationDisabled gets the submissionAnimationDisabled property value. Indicates whether to show the turn-in celebration animation. If true, indicates to skip the animation. The default value is false. // returns a *bool when successful func (m *EducationAssignmentSettings) GetSubmissionAnimationDisabled()(*bool) { @@ -84,6 +134,12 @@ func (m *EducationAssignmentSettings) Serialize(writer i878a80d2330e89d26896388a if err != nil { return err } + { + err = writer.WriteObjectValue("defaultGradingScheme", m.GetDefaultGradingScheme()) + if err != nil { + return err + } + } if m.GetGradingCategories() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetGradingCategories())) for i, v := range m.GetGradingCategories() { @@ -96,6 +152,18 @@ func (m *EducationAssignmentSettings) Serialize(writer i878a80d2330e89d26896388a return err } } + if m.GetGradingSchemes() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetGradingSchemes())) + for i, v := range m.GetGradingSchemes() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("gradingSchemes", cast) + if err != nil { + return err + } + } { err = writer.WriteBoolValue("submissionAnimationDisabled", m.GetSubmissionAnimationDisabled()) if err != nil { @@ -104,6 +172,13 @@ func (m *EducationAssignmentSettings) Serialize(writer i878a80d2330e89d26896388a } return nil } +// SetDefaultGradingScheme sets the defaultGradingScheme property value. The default grading scheme for assignments created in this class. +func (m *EducationAssignmentSettings) SetDefaultGradingScheme(value EducationGradingSchemeable)() { + err := m.GetBackingStore().Set("defaultGradingScheme", value) + if err != nil { + panic(err) + } +} // SetGradingCategories sets the gradingCategories property value. When set, enables users to weight assignments differently when computing a class average grade. func (m *EducationAssignmentSettings) SetGradingCategories(value []EducationGradingCategoryable)() { err := m.GetBackingStore().Set("gradingCategories", value) @@ -111,6 +186,13 @@ func (m *EducationAssignmentSettings) SetGradingCategories(value []EducationGrad panic(err) } } +// SetGradingSchemes sets the gradingSchemes property value. The grading schemes that can be attached to assignments created in this class. +func (m *EducationAssignmentSettings) SetGradingSchemes(value []EducationGradingSchemeable)() { + err := m.GetBackingStore().Set("gradingSchemes", value) + if err != nil { + panic(err) + } +} // SetSubmissionAnimationDisabled sets the submissionAnimationDisabled property value. Indicates whether to show the turn-in celebration animation. If true, indicates to skip the animation. The default value is false. func (m *EducationAssignmentSettings) SetSubmissionAnimationDisabled(value *bool)() { err := m.GetBackingStore().Set("submissionAnimationDisabled", value) @@ -121,8 +203,12 @@ func (m *EducationAssignmentSettings) SetSubmissionAnimationDisabled(value *bool type EducationAssignmentSettingsable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetDefaultGradingScheme()(EducationGradingSchemeable) GetGradingCategories()([]EducationGradingCategoryable) + GetGradingSchemes()([]EducationGradingSchemeable) GetSubmissionAnimationDisabled()(*bool) + SetDefaultGradingScheme(value EducationGradingSchemeable)() SetGradingCategories(value []EducationGradingCategoryable)() + SetGradingSchemes(value []EducationGradingSchemeable)() SetSubmissionAnimationDisabled(value *bool)() } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_class.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_class.go index 0aa455b646..e081786ec2 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_class.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_class.go @@ -154,7 +154,7 @@ func (m *EducationClass) GetExternalName()(*string) { } return nil } -// GetExternalSource gets the externalSource property value. How this class was created. Possible values are: sis, manual. +// GetExternalSource gets the externalSource property value. How this class was created. The possible values are: sis, manual. // returns a *EducationExternalSource when successful func (m *EducationClass) GetExternalSource()(*EducationExternalSource) { val, err := m.GetBackingStore().Get("externalSource") @@ -774,7 +774,7 @@ func (m *EducationClass) SetExternalName(value *string)() { panic(err) } } -// SetExternalSource sets the externalSource property value. How this class was created. Possible values are: sis, manual. +// SetExternalSource sets the externalSource property value. How this class was created. The possible values are: sis, manual. func (m *EducationClass) SetExternalSource(value *EducationExternalSource)() { err := m.GetBackingStore().Set("externalSource", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_grading_scheme.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_grading_scheme.go new file mode 100644 index 0000000000..3f061bf282 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_grading_scheme.go @@ -0,0 +1,165 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type EducationGradingScheme struct { + Entity +} +// NewEducationGradingScheme instantiates a new EducationGradingScheme and sets the default values. +func NewEducationGradingScheme()(*EducationGradingScheme) { + m := &EducationGradingScheme{ + Entity: *NewEntity(), + } + return m +} +// CreateEducationGradingSchemeFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEducationGradingSchemeFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEducationGradingScheme(), nil +} +// GetDisplayName gets the displayName property value. The name of the grading scheme. +// returns a *string when successful +func (m *EducationGradingScheme) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EducationGradingScheme) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } + res["grades"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateEducationGradingSchemeGradeFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]EducationGradingSchemeGradeable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(EducationGradingSchemeGradeable) + } + } + m.SetGrades(res) + } + return nil + } + res["hidePointsDuringGrading"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetHidePointsDuringGrading(val) + } + return nil + } + return res +} +// GetGrades gets the grades property value. The grades that make up the scheme. +// returns a []EducationGradingSchemeGradeable when successful +func (m *EducationGradingScheme) GetGrades()([]EducationGradingSchemeGradeable) { + val, err := m.GetBackingStore().Get("grades") + if err != nil { + panic(err) + } + if val != nil { + return val.([]EducationGradingSchemeGradeable) + } + return nil +} +// GetHidePointsDuringGrading gets the hidePointsDuringGrading property value. The display setting for the UI. Indicates whether teachers can grade with points in addition to letter grades. +// returns a *bool when successful +func (m *EducationGradingScheme) GetHidePointsDuringGrading()(*bool) { + val, err := m.GetBackingStore().Get("hidePointsDuringGrading") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// Serialize serializes information the current object +func (m *EducationGradingScheme) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + if m.GetGrades() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetGrades())) + for i, v := range m.GetGrades() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("grades", cast) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("hidePointsDuringGrading", m.GetHidePointsDuringGrading()) + if err != nil { + return err + } + } + return nil +} +// SetDisplayName sets the displayName property value. The name of the grading scheme. +func (m *EducationGradingScheme) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetGrades sets the grades property value. The grades that make up the scheme. +func (m *EducationGradingScheme) SetGrades(value []EducationGradingSchemeGradeable)() { + err := m.GetBackingStore().Set("grades", value) + if err != nil { + panic(err) + } +} +// SetHidePointsDuringGrading sets the hidePointsDuringGrading property value. The display setting for the UI. Indicates whether teachers can grade with points in addition to letter grades. +func (m *EducationGradingScheme) SetHidePointsDuringGrading(value *bool)() { + err := m.GetBackingStore().Set("hidePointsDuringGrading", value) + if err != nil { + panic(err) + } +} +type EducationGradingSchemeable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetDisplayName()(*string) + GetGrades()([]EducationGradingSchemeGradeable) + GetHidePointsDuringGrading()(*bool) + SetDisplayName(value *string)() + SetGrades(value []EducationGradingSchemeGradeable)() + SetHidePointsDuringGrading(value *bool)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_grading_scheme_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_grading_scheme_collection_response.go new file mode 100644 index 0000000000..715a404b1f --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_grading_scheme_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type EducationGradingSchemeCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewEducationGradingSchemeCollectionResponse instantiates a new EducationGradingSchemeCollectionResponse and sets the default values. +func NewEducationGradingSchemeCollectionResponse()(*EducationGradingSchemeCollectionResponse) { + m := &EducationGradingSchemeCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateEducationGradingSchemeCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEducationGradingSchemeCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEducationGradingSchemeCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EducationGradingSchemeCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateEducationGradingSchemeFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]EducationGradingSchemeable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(EducationGradingSchemeable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []EducationGradingSchemeable when successful +func (m *EducationGradingSchemeCollectionResponse) GetValue()([]EducationGradingSchemeable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]EducationGradingSchemeable) + } + return nil +} +// Serialize serializes information the current object +func (m *EducationGradingSchemeCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *EducationGradingSchemeCollectionResponse) SetValue(value []EducationGradingSchemeable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type EducationGradingSchemeCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]EducationGradingSchemeable) + SetValue(value []EducationGradingSchemeable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_grading_scheme_grade.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_grading_scheme_grade.go new file mode 100644 index 0000000000..d46b00c816 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_grading_scheme_grade.go @@ -0,0 +1,227 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type EducationGradingSchemeGrade struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewEducationGradingSchemeGrade instantiates a new EducationGradingSchemeGrade and sets the default values. +func NewEducationGradingSchemeGrade()(*EducationGradingSchemeGrade) { + m := &EducationGradingSchemeGrade{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateEducationGradingSchemeGradeFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEducationGradingSchemeGradeFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEducationGradingSchemeGrade(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *EducationGradingSchemeGrade) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *EducationGradingSchemeGrade) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetDefaultPercentage gets the defaultPercentage property value. The midpoint of the grade range. +// returns a *float32 when successful +func (m *EducationGradingSchemeGrade) GetDefaultPercentage()(*float32) { + val, err := m.GetBackingStore().Get("defaultPercentage") + if err != nil { + panic(err) + } + if val != nil { + return val.(*float32) + } + return nil +} +// GetDisplayName gets the displayName property value. The name of this individual grade. +// returns a *string when successful +func (m *EducationGradingSchemeGrade) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EducationGradingSchemeGrade) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["defaultPercentage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetFloat32Value() + if err != nil { + return err + } + if val != nil { + m.SetDefaultPercentage(val) + } + return nil + } + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } + res["minPercentage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetFloat32Value() + if err != nil { + return err + } + if val != nil { + m.SetMinPercentage(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetMinPercentage gets the minPercentage property value. The minimum percentage of the total points needed to achieve this grade. +// returns a *float32 when successful +func (m *EducationGradingSchemeGrade) GetMinPercentage()(*float32) { + val, err := m.GetBackingStore().Get("minPercentage") + if err != nil { + panic(err) + } + if val != nil { + return val.(*float32) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *EducationGradingSchemeGrade) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *EducationGradingSchemeGrade) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteFloat32Value("defaultPercentage", m.GetDefaultPercentage()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + { + err := writer.WriteFloat32Value("minPercentage", m.GetMinPercentage()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *EducationGradingSchemeGrade) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *EducationGradingSchemeGrade) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetDefaultPercentage sets the defaultPercentage property value. The midpoint of the grade range. +func (m *EducationGradingSchemeGrade) SetDefaultPercentage(value *float32)() { + err := m.GetBackingStore().Set("defaultPercentage", value) + if err != nil { + panic(err) + } +} +// SetDisplayName sets the displayName property value. The name of this individual grade. +func (m *EducationGradingSchemeGrade) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetMinPercentage sets the minPercentage property value. The minimum percentage of the total points needed to achieve this grade. +func (m *EducationGradingSchemeGrade) SetMinPercentage(value *float32)() { + err := m.GetBackingStore().Set("minPercentage", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *EducationGradingSchemeGrade) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type EducationGradingSchemeGradeable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDefaultPercentage()(*float32) + GetDisplayName()(*string) + GetMinPercentage()(*float32) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDefaultPercentage(value *float32)() + SetDisplayName(value *string)() + SetMinPercentage(value *float32)() + SetOdataType(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_module.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_module.go index bca1c4a3c0..7c3f68f11b 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_module.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_module.go @@ -243,7 +243,7 @@ func (m *EducationModule) GetResourcesFolderUrl()(*string) { } return nil } -// GetStatus gets the status property value. Status of the module. You can't use a PATCH operation to update this value. Possible values are: draft and published. +// GetStatus gets the status property value. Status of the module. You can't use a PATCH operation to update this value. The possible values are: draft and published. // returns a *EducationModuleStatus when successful func (m *EducationModule) GetStatus()(*EducationModuleStatus) { val, err := m.GetBackingStore().Get("status") @@ -356,7 +356,7 @@ func (m *EducationModule) SetResourcesFolderUrl(value *string)() { panic(err) } } -// SetStatus sets the status property value. Status of the module. You can't use a PATCH operation to update this value. Possible values are: draft and published. +// SetStatus sets the status property value. Status of the module. You can't use a PATCH operation to update this value. The possible values are: draft and published. func (m *EducationModule) SetStatus(value *EducationModuleStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_organization.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_organization.go index ba23f72d56..6f0abed97c 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_organization.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_organization.go @@ -64,7 +64,7 @@ func (m *EducationOrganization) GetDisplayName()(*string) { } return nil } -// GetExternalSource gets the externalSource property value. Source where this organization was created from. Possible values are: sis, manual. +// GetExternalSource gets the externalSource property value. Source where this organization was created from. The possible values are: sis, manual. // returns a *EducationExternalSource when successful func (m *EducationOrganization) GetExternalSource()(*EducationExternalSource) { val, err := m.GetBackingStore().Get("externalSource") @@ -181,7 +181,7 @@ func (m *EducationOrganization) SetDisplayName(value *string)() { panic(err) } } -// SetExternalSource sets the externalSource property value. Source where this organization was created from. Possible values are: sis, manual. +// SetExternalSource sets the externalSource property value. Source where this organization was created from. The possible values are: sis, manual. func (m *EducationOrganization) SetExternalSource(value *EducationExternalSource)() { err := m.GetBackingStore().Set("externalSource", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_resource.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_resource.go index 84f4fae8d4..8a9f56e1c5 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_resource.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_resource.go @@ -52,6 +52,8 @@ func CreateEducationResourceFromDiscriminatorValue(parseNode i878a80d2330e89d268 return NewEducationMediaResource(), nil case "#microsoft.graph.educationPowerPointResource": return NewEducationPowerPointResource(), nil + case "#microsoft.graph.educationSpeakerProgressResource": + return NewEducationSpeakerProgressResource(), nil case "#microsoft.graph.educationTeamsAppResource": return NewEducationTeamsAppResource(), nil case "#microsoft.graph.educationWordResource": diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_speaker_coach_audience_engagement_settings.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_speaker_coach_audience_engagement_settings.go new file mode 100644 index 0000000000..f8e4b8df3d --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_speaker_coach_audience_engagement_settings.go @@ -0,0 +1,153 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type EducationSpeakerCoachAudienceEngagementSettings struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewEducationSpeakerCoachAudienceEngagementSettings instantiates a new EducationSpeakerCoachAudienceEngagementSettings and sets the default values. +func NewEducationSpeakerCoachAudienceEngagementSettings()(*EducationSpeakerCoachAudienceEngagementSettings) { + m := &EducationSpeakerCoachAudienceEngagementSettings{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateEducationSpeakerCoachAudienceEngagementSettingsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEducationSpeakerCoachAudienceEngagementSettingsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEducationSpeakerCoachAudienceEngagementSettings(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *EducationSpeakerCoachAudienceEngagementSettings) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *EducationSpeakerCoachAudienceEngagementSettings) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EducationSpeakerCoachAudienceEngagementSettings) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["isBodyLanguageEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsBodyLanguageEnabled(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetIsBodyLanguageEnabled gets the isBodyLanguageEnabled property value. Indicates whether the student should receive feedback on their body language from the Speaker Coach. +// returns a *bool when successful +func (m *EducationSpeakerCoachAudienceEngagementSettings) GetIsBodyLanguageEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isBodyLanguageEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *EducationSpeakerCoachAudienceEngagementSettings) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *EducationSpeakerCoachAudienceEngagementSettings) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteBoolValue("isBodyLanguageEnabled", m.GetIsBodyLanguageEnabled()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *EducationSpeakerCoachAudienceEngagementSettings) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *EducationSpeakerCoachAudienceEngagementSettings) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetIsBodyLanguageEnabled sets the isBodyLanguageEnabled property value. Indicates whether the student should receive feedback on their body language from the Speaker Coach. +func (m *EducationSpeakerCoachAudienceEngagementSettings) SetIsBodyLanguageEnabled(value *bool)() { + err := m.GetBackingStore().Set("isBodyLanguageEnabled", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *EducationSpeakerCoachAudienceEngagementSettings) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type EducationSpeakerCoachAudienceEngagementSettingsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetIsBodyLanguageEnabled()(*bool) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetIsBodyLanguageEnabled(value *bool)() + SetOdataType(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_speaker_coach_content_settings.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_speaker_coach_content_settings.go new file mode 100644 index 0000000000..a5b262dacc --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_speaker_coach_content_settings.go @@ -0,0 +1,190 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type EducationSpeakerCoachContentSettings struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewEducationSpeakerCoachContentSettings instantiates a new EducationSpeakerCoachContentSettings and sets the default values. +func NewEducationSpeakerCoachContentSettings()(*EducationSpeakerCoachContentSettings) { + m := &EducationSpeakerCoachContentSettings{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateEducationSpeakerCoachContentSettingsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEducationSpeakerCoachContentSettingsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEducationSpeakerCoachContentSettings(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *EducationSpeakerCoachContentSettings) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *EducationSpeakerCoachContentSettings) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EducationSpeakerCoachContentSettings) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["isInclusivenessEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsInclusivenessEnabled(val) + } + return nil + } + res["isRepetitiveLanguageEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsRepetitiveLanguageEnabled(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetIsInclusivenessEnabled gets the isInclusivenessEnabled property value. Indicates whether the student should receive feedback on their inclusiveness from the Speaker Coach. +// returns a *bool when successful +func (m *EducationSpeakerCoachContentSettings) GetIsInclusivenessEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isInclusivenessEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIsRepetitiveLanguageEnabled gets the isRepetitiveLanguageEnabled property value. Indicates whether the student should receive feedback on their repetitive language from the Speaker Coach. +// returns a *bool when successful +func (m *EducationSpeakerCoachContentSettings) GetIsRepetitiveLanguageEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isRepetitiveLanguageEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *EducationSpeakerCoachContentSettings) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *EducationSpeakerCoachContentSettings) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteBoolValue("isInclusivenessEnabled", m.GetIsInclusivenessEnabled()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isRepetitiveLanguageEnabled", m.GetIsRepetitiveLanguageEnabled()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *EducationSpeakerCoachContentSettings) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *EducationSpeakerCoachContentSettings) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetIsInclusivenessEnabled sets the isInclusivenessEnabled property value. Indicates whether the student should receive feedback on their inclusiveness from the Speaker Coach. +func (m *EducationSpeakerCoachContentSettings) SetIsInclusivenessEnabled(value *bool)() { + err := m.GetBackingStore().Set("isInclusivenessEnabled", value) + if err != nil { + panic(err) + } +} +// SetIsRepetitiveLanguageEnabled sets the isRepetitiveLanguageEnabled property value. Indicates whether the student should receive feedback on their repetitive language from the Speaker Coach. +func (m *EducationSpeakerCoachContentSettings) SetIsRepetitiveLanguageEnabled(value *bool)() { + err := m.GetBackingStore().Set("isRepetitiveLanguageEnabled", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *EducationSpeakerCoachContentSettings) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type EducationSpeakerCoachContentSettingsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetIsInclusivenessEnabled()(*bool) + GetIsRepetitiveLanguageEnabled()(*bool) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetIsInclusivenessEnabled(value *bool)() + SetIsRepetitiveLanguageEnabled(value *bool)() + SetOdataType(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_speaker_coach_delivery_settings.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_speaker_coach_delivery_settings.go new file mode 100644 index 0000000000..c36d3410ac --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_speaker_coach_delivery_settings.go @@ -0,0 +1,264 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type EducationSpeakerCoachDeliverySettings struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewEducationSpeakerCoachDeliverySettings instantiates a new EducationSpeakerCoachDeliverySettings and sets the default values. +func NewEducationSpeakerCoachDeliverySettings()(*EducationSpeakerCoachDeliverySettings) { + m := &EducationSpeakerCoachDeliverySettings{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateEducationSpeakerCoachDeliverySettingsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEducationSpeakerCoachDeliverySettingsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEducationSpeakerCoachDeliverySettings(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *EducationSpeakerCoachDeliverySettings) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetAreFillerWordsEnabled gets the areFillerWordsEnabled property value. Indicates whether the student should receive feedback on their filler words from the Speaker Coach. +// returns a *bool when successful +func (m *EducationSpeakerCoachDeliverySettings) GetAreFillerWordsEnabled()(*bool) { + val, err := m.GetBackingStore().Get("areFillerWordsEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *EducationSpeakerCoachDeliverySettings) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EducationSpeakerCoachDeliverySettings) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["areFillerWordsEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetAreFillerWordsEnabled(val) + } + return nil + } + res["isPaceEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsPaceEnabled(val) + } + return nil + } + res["isPitchEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsPitchEnabled(val) + } + return nil + } + res["isPronunciationEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsPronunciationEnabled(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetIsPaceEnabled gets the isPaceEnabled property value. Indicates whether the student should receive feedback on their pace from the Speaker Coach. +// returns a *bool when successful +func (m *EducationSpeakerCoachDeliverySettings) GetIsPaceEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isPaceEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIsPitchEnabled gets the isPitchEnabled property value. Indicates whether the student should receive feedback on their pitch from the Speaker Coach. +// returns a *bool when successful +func (m *EducationSpeakerCoachDeliverySettings) GetIsPitchEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isPitchEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIsPronunciationEnabled gets the isPronunciationEnabled property value. Indicates whether the student should receive feedback on their pronunciation from the Speaker Coach. This is automatically enabled if isAiFeedbackEnabled is set to true on the educationSpeakerProgressResource, or if spokenLanguageLocale is set to a value besides en-US on the educationSpeakerProgressResource. +// returns a *bool when successful +func (m *EducationSpeakerCoachDeliverySettings) GetIsPronunciationEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isPronunciationEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *EducationSpeakerCoachDeliverySettings) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *EducationSpeakerCoachDeliverySettings) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteBoolValue("areFillerWordsEnabled", m.GetAreFillerWordsEnabled()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isPaceEnabled", m.GetIsPaceEnabled()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isPitchEnabled", m.GetIsPitchEnabled()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isPronunciationEnabled", m.GetIsPronunciationEnabled()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *EducationSpeakerCoachDeliverySettings) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAreFillerWordsEnabled sets the areFillerWordsEnabled property value. Indicates whether the student should receive feedback on their filler words from the Speaker Coach. +func (m *EducationSpeakerCoachDeliverySettings) SetAreFillerWordsEnabled(value *bool)() { + err := m.GetBackingStore().Set("areFillerWordsEnabled", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *EducationSpeakerCoachDeliverySettings) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetIsPaceEnabled sets the isPaceEnabled property value. Indicates whether the student should receive feedback on their pace from the Speaker Coach. +func (m *EducationSpeakerCoachDeliverySettings) SetIsPaceEnabled(value *bool)() { + err := m.GetBackingStore().Set("isPaceEnabled", value) + if err != nil { + panic(err) + } +} +// SetIsPitchEnabled sets the isPitchEnabled property value. Indicates whether the student should receive feedback on their pitch from the Speaker Coach. +func (m *EducationSpeakerCoachDeliverySettings) SetIsPitchEnabled(value *bool)() { + err := m.GetBackingStore().Set("isPitchEnabled", value) + if err != nil { + panic(err) + } +} +// SetIsPronunciationEnabled sets the isPronunciationEnabled property value. Indicates whether the student should receive feedback on their pronunciation from the Speaker Coach. This is automatically enabled if isAiFeedbackEnabled is set to true on the educationSpeakerProgressResource, or if spokenLanguageLocale is set to a value besides en-US on the educationSpeakerProgressResource. +func (m *EducationSpeakerCoachDeliverySettings) SetIsPronunciationEnabled(value *bool)() { + err := m.GetBackingStore().Set("isPronunciationEnabled", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *EducationSpeakerCoachDeliverySettings) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type EducationSpeakerCoachDeliverySettingsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAreFillerWordsEnabled()(*bool) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetIsPaceEnabled()(*bool) + GetIsPitchEnabled()(*bool) + GetIsPronunciationEnabled()(*bool) + GetOdataType()(*string) + SetAreFillerWordsEnabled(value *bool)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetIsPaceEnabled(value *bool)() + SetIsPitchEnabled(value *bool)() + SetIsPronunciationEnabled(value *bool)() + SetOdataType(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_speaker_coach_settings.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_speaker_coach_settings.go new file mode 100644 index 0000000000..38c299c7f7 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_speaker_coach_settings.go @@ -0,0 +1,227 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type EducationSpeakerCoachSettings struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewEducationSpeakerCoachSettings instantiates a new EducationSpeakerCoachSettings and sets the default values. +func NewEducationSpeakerCoachSettings()(*EducationSpeakerCoachSettings) { + m := &EducationSpeakerCoachSettings{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateEducationSpeakerCoachSettingsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEducationSpeakerCoachSettingsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEducationSpeakerCoachSettings(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *EducationSpeakerCoachSettings) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetAudienceEngagementSettings gets the audienceEngagementSettings property value. The audience engagement related feedback types that students should receive from the Speaker Coach. +// returns a EducationSpeakerCoachAudienceEngagementSettingsable when successful +func (m *EducationSpeakerCoachSettings) GetAudienceEngagementSettings()(EducationSpeakerCoachAudienceEngagementSettingsable) { + val, err := m.GetBackingStore().Get("audienceEngagementSettings") + if err != nil { + panic(err) + } + if val != nil { + return val.(EducationSpeakerCoachAudienceEngagementSettingsable) + } + return nil +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *EducationSpeakerCoachSettings) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetContentSettings gets the contentSettings property value. The content related feedback types that students should receive from the Speaker Coach. +// returns a EducationSpeakerCoachContentSettingsable when successful +func (m *EducationSpeakerCoachSettings) GetContentSettings()(EducationSpeakerCoachContentSettingsable) { + val, err := m.GetBackingStore().Get("contentSettings") + if err != nil { + panic(err) + } + if val != nil { + return val.(EducationSpeakerCoachContentSettingsable) + } + return nil +} +// GetDeliverySettings gets the deliverySettings property value. The delivery related feedback types that students should receive from the Speaker Coach. +// returns a EducationSpeakerCoachDeliverySettingsable when successful +func (m *EducationSpeakerCoachSettings) GetDeliverySettings()(EducationSpeakerCoachDeliverySettingsable) { + val, err := m.GetBackingStore().Get("deliverySettings") + if err != nil { + panic(err) + } + if val != nil { + return val.(EducationSpeakerCoachDeliverySettingsable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EducationSpeakerCoachSettings) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["audienceEngagementSettings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateEducationSpeakerCoachAudienceEngagementSettingsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetAudienceEngagementSettings(val.(EducationSpeakerCoachAudienceEngagementSettingsable)) + } + return nil + } + res["contentSettings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateEducationSpeakerCoachContentSettingsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetContentSettings(val.(EducationSpeakerCoachContentSettingsable)) + } + return nil + } + res["deliverySettings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateEducationSpeakerCoachDeliverySettingsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetDeliverySettings(val.(EducationSpeakerCoachDeliverySettingsable)) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *EducationSpeakerCoachSettings) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *EducationSpeakerCoachSettings) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("audienceEngagementSettings", m.GetAudienceEngagementSettings()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("contentSettings", m.GetContentSettings()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("deliverySettings", m.GetDeliverySettings()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *EducationSpeakerCoachSettings) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAudienceEngagementSettings sets the audienceEngagementSettings property value. The audience engagement related feedback types that students should receive from the Speaker Coach. +func (m *EducationSpeakerCoachSettings) SetAudienceEngagementSettings(value EducationSpeakerCoachAudienceEngagementSettingsable)() { + err := m.GetBackingStore().Set("audienceEngagementSettings", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *EducationSpeakerCoachSettings) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetContentSettings sets the contentSettings property value. The content related feedback types that students should receive from the Speaker Coach. +func (m *EducationSpeakerCoachSettings) SetContentSettings(value EducationSpeakerCoachContentSettingsable)() { + err := m.GetBackingStore().Set("contentSettings", value) + if err != nil { + panic(err) + } +} +// SetDeliverySettings sets the deliverySettings property value. The delivery related feedback types that students should receive from the Speaker Coach. +func (m *EducationSpeakerCoachSettings) SetDeliverySettings(value EducationSpeakerCoachDeliverySettingsable)() { + err := m.GetBackingStore().Set("deliverySettings", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *EducationSpeakerCoachSettings) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type EducationSpeakerCoachSettingsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAudienceEngagementSettings()(EducationSpeakerCoachAudienceEngagementSettingsable) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetContentSettings()(EducationSpeakerCoachContentSettingsable) + GetDeliverySettings()(EducationSpeakerCoachDeliverySettingsable) + GetOdataType()(*string) + SetAudienceEngagementSettings(value EducationSpeakerCoachAudienceEngagementSettingsable)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetContentSettings(value EducationSpeakerCoachContentSettingsable)() + SetDeliverySettings(value EducationSpeakerCoachDeliverySettingsable)() + SetOdataType(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_speaker_progress_resource.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_speaker_progress_resource.go new file mode 100644 index 0000000000..a7f4121bef --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_speaker_progress_resource.go @@ -0,0 +1,377 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type EducationSpeakerProgressResource struct { + EducationResource +} +// NewEducationSpeakerProgressResource instantiates a new EducationSpeakerProgressResource and sets the default values. +func NewEducationSpeakerProgressResource()(*EducationSpeakerProgressResource) { + m := &EducationSpeakerProgressResource{ + EducationResource: *NewEducationResource(), + } + odataTypeValue := "#microsoft.graph.educationSpeakerProgressResource" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateEducationSpeakerProgressResourceFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEducationSpeakerProgressResourceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEducationSpeakerProgressResource(), nil +} +// GetAiFeedbackCriteria gets the aiFeedbackCriteria property value. The feedback types that students should receive from AI feedback. This property should only be provided if isAiFeedbackEnabled is true. +// returns a EducationAiFeedbackCriteriaable when successful +func (m *EducationSpeakerProgressResource) GetAiFeedbackCriteria()(EducationAiFeedbackCriteriaable) { + val, err := m.GetBackingStore().Get("aiFeedbackCriteria") + if err != nil { + panic(err) + } + if val != nil { + return val.(EducationAiFeedbackCriteriaable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EducationSpeakerProgressResource) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.EducationResource.GetFieldDeserializers() + res["aiFeedbackCriteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateEducationAiFeedbackCriteriaFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetAiFeedbackCriteria(val.(EducationAiFeedbackCriteriaable)) + } + return nil + } + res["isAiFeedbackEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsAiFeedbackEnabled(val) + } + return nil + } + res["isVideoRequired"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsVideoRequired(val) + } + return nil + } + res["maxRecordingAttempts"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetMaxRecordingAttempts(val) + } + return nil + } + res["presentationTitle"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPresentationTitle(val) + } + return nil + } + res["recordingTimeLimitInMinutes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetRecordingTimeLimitInMinutes(val) + } + return nil + } + res["showRehearsalReportToStudentBeforeMediaUpload"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetShowRehearsalReportToStudentBeforeMediaUpload(val) + } + return nil + } + res["speakerCoachSettings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateEducationSpeakerCoachSettingsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetSpeakerCoachSettings(val.(EducationSpeakerCoachSettingsable)) + } + return nil + } + res["spokenLanguageLocale"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSpokenLanguageLocale(val) + } + return nil + } + return res +} +// GetIsAiFeedbackEnabled gets the isAiFeedbackEnabled property value. Indicates whether AI feedback is enabled for the student submissions. +// returns a *bool when successful +func (m *EducationSpeakerProgressResource) GetIsAiFeedbackEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isAiFeedbackEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIsVideoRequired gets the isVideoRequired property value. Indicates whether video is required for the student recording. +// returns a *bool when successful +func (m *EducationSpeakerProgressResource) GetIsVideoRequired()(*bool) { + val, err := m.GetBackingStore().Get("isVideoRequired") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetMaxRecordingAttempts gets the maxRecordingAttempts property value. The maximum number of recording attempts available to the student. Specify 0 to set unlimited recording attempts. +// returns a *int32 when successful +func (m *EducationSpeakerProgressResource) GetMaxRecordingAttempts()(*int32) { + val, err := m.GetBackingStore().Get("maxRecordingAttempts") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetPresentationTitle gets the presentationTitle property value. The title of the speaker progress resource visible to students. +// returns a *string when successful +func (m *EducationSpeakerProgressResource) GetPresentationTitle()(*string) { + val, err := m.GetBackingStore().Get("presentationTitle") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetRecordingTimeLimitInMinutes gets the recordingTimeLimitInMinutes property value. The time limit is in minutes for the student recording. +// returns a *int32 when successful +func (m *EducationSpeakerProgressResource) GetRecordingTimeLimitInMinutes()(*int32) { + val, err := m.GetBackingStore().Get("recordingTimeLimitInMinutes") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetShowRehearsalReportToStudentBeforeMediaUpload gets the showRehearsalReportToStudentBeforeMediaUpload property value. Allows students to view their rehearsal report before the assignment is graded. +// returns a *bool when successful +func (m *EducationSpeakerProgressResource) GetShowRehearsalReportToStudentBeforeMediaUpload()(*bool) { + val, err := m.GetBackingStore().Get("showRehearsalReportToStudentBeforeMediaUpload") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetSpeakerCoachSettings gets the speakerCoachSettings property value. The feedback types that students should receive from the Speaker Coach. +// returns a EducationSpeakerCoachSettingsable when successful +func (m *EducationSpeakerProgressResource) GetSpeakerCoachSettings()(EducationSpeakerCoachSettingsable) { + val, err := m.GetBackingStore().Get("speakerCoachSettings") + if err != nil { + panic(err) + } + if val != nil { + return val.(EducationSpeakerCoachSettingsable) + } + return nil +} +// GetSpokenLanguageLocale gets the spokenLanguageLocale property value. The spoken language for the student recording. For example, en-US. +// returns a *string when successful +func (m *EducationSpeakerProgressResource) GetSpokenLanguageLocale()(*string) { + val, err := m.GetBackingStore().Get("spokenLanguageLocale") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *EducationSpeakerProgressResource) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.EducationResource.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("aiFeedbackCriteria", m.GetAiFeedbackCriteria()) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("isAiFeedbackEnabled", m.GetIsAiFeedbackEnabled()) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("isVideoRequired", m.GetIsVideoRequired()) + if err != nil { + return err + } + } + { + err = writer.WriteInt32Value("maxRecordingAttempts", m.GetMaxRecordingAttempts()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("presentationTitle", m.GetPresentationTitle()) + if err != nil { + return err + } + } + { + err = writer.WriteInt32Value("recordingTimeLimitInMinutes", m.GetRecordingTimeLimitInMinutes()) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("showRehearsalReportToStudentBeforeMediaUpload", m.GetShowRehearsalReportToStudentBeforeMediaUpload()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("speakerCoachSettings", m.GetSpeakerCoachSettings()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("spokenLanguageLocale", m.GetSpokenLanguageLocale()) + if err != nil { + return err + } + } + return nil +} +// SetAiFeedbackCriteria sets the aiFeedbackCriteria property value. The feedback types that students should receive from AI feedback. This property should only be provided if isAiFeedbackEnabled is true. +func (m *EducationSpeakerProgressResource) SetAiFeedbackCriteria(value EducationAiFeedbackCriteriaable)() { + err := m.GetBackingStore().Set("aiFeedbackCriteria", value) + if err != nil { + panic(err) + } +} +// SetIsAiFeedbackEnabled sets the isAiFeedbackEnabled property value. Indicates whether AI feedback is enabled for the student submissions. +func (m *EducationSpeakerProgressResource) SetIsAiFeedbackEnabled(value *bool)() { + err := m.GetBackingStore().Set("isAiFeedbackEnabled", value) + if err != nil { + panic(err) + } +} +// SetIsVideoRequired sets the isVideoRequired property value. Indicates whether video is required for the student recording. +func (m *EducationSpeakerProgressResource) SetIsVideoRequired(value *bool)() { + err := m.GetBackingStore().Set("isVideoRequired", value) + if err != nil { + panic(err) + } +} +// SetMaxRecordingAttempts sets the maxRecordingAttempts property value. The maximum number of recording attempts available to the student. Specify 0 to set unlimited recording attempts. +func (m *EducationSpeakerProgressResource) SetMaxRecordingAttempts(value *int32)() { + err := m.GetBackingStore().Set("maxRecordingAttempts", value) + if err != nil { + panic(err) + } +} +// SetPresentationTitle sets the presentationTitle property value. The title of the speaker progress resource visible to students. +func (m *EducationSpeakerProgressResource) SetPresentationTitle(value *string)() { + err := m.GetBackingStore().Set("presentationTitle", value) + if err != nil { + panic(err) + } +} +// SetRecordingTimeLimitInMinutes sets the recordingTimeLimitInMinutes property value. The time limit is in minutes for the student recording. +func (m *EducationSpeakerProgressResource) SetRecordingTimeLimitInMinutes(value *int32)() { + err := m.GetBackingStore().Set("recordingTimeLimitInMinutes", value) + if err != nil { + panic(err) + } +} +// SetShowRehearsalReportToStudentBeforeMediaUpload sets the showRehearsalReportToStudentBeforeMediaUpload property value. Allows students to view their rehearsal report before the assignment is graded. +func (m *EducationSpeakerProgressResource) SetShowRehearsalReportToStudentBeforeMediaUpload(value *bool)() { + err := m.GetBackingStore().Set("showRehearsalReportToStudentBeforeMediaUpload", value) + if err != nil { + panic(err) + } +} +// SetSpeakerCoachSettings sets the speakerCoachSettings property value. The feedback types that students should receive from the Speaker Coach. +func (m *EducationSpeakerProgressResource) SetSpeakerCoachSettings(value EducationSpeakerCoachSettingsable)() { + err := m.GetBackingStore().Set("speakerCoachSettings", value) + if err != nil { + panic(err) + } +} +// SetSpokenLanguageLocale sets the spokenLanguageLocale property value. The spoken language for the student recording. For example, en-US. +func (m *EducationSpeakerProgressResource) SetSpokenLanguageLocale(value *string)() { + err := m.GetBackingStore().Set("spokenLanguageLocale", value) + if err != nil { + panic(err) + } +} +type EducationSpeakerProgressResourceable interface { + EducationResourceable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAiFeedbackCriteria()(EducationAiFeedbackCriteriaable) + GetIsAiFeedbackEnabled()(*bool) + GetIsVideoRequired()(*bool) + GetMaxRecordingAttempts()(*int32) + GetPresentationTitle()(*string) + GetRecordingTimeLimitInMinutes()(*int32) + GetShowRehearsalReportToStudentBeforeMediaUpload()(*bool) + GetSpeakerCoachSettings()(EducationSpeakerCoachSettingsable) + GetSpokenLanguageLocale()(*string) + SetAiFeedbackCriteria(value EducationAiFeedbackCriteriaable)() + SetIsAiFeedbackEnabled(value *bool)() + SetIsVideoRequired(value *bool)() + SetMaxRecordingAttempts(value *int32)() + SetPresentationTitle(value *string)() + SetRecordingTimeLimitInMinutes(value *int32)() + SetShowRehearsalReportToStudentBeforeMediaUpload(value *bool)() + SetSpeakerCoachSettings(value EducationSpeakerCoachSettingsable)() + SetSpokenLanguageLocale(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_speech_type.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_speech_type.go new file mode 100644 index 0000000000..48bbed9f41 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_speech_type.go @@ -0,0 +1,42 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type EducationSpeechType int + +const ( + INFORMATIVE_EDUCATIONSPEECHTYPE EducationSpeechType = iota + PERSONAL_EDUCATIONSPEECHTYPE + PERSUASIVE_EDUCATIONSPEECHTYPE + UNKNOWNFUTUREVALUE_EDUCATIONSPEECHTYPE +) + +func (i EducationSpeechType) String() string { + return []string{"informative", "personal", "persuasive", "unknownFutureValue"}[i] +} +func ParseEducationSpeechType(v string) (any, error) { + result := INFORMATIVE_EDUCATIONSPEECHTYPE + switch v { + case "informative": + result = INFORMATIVE_EDUCATIONSPEECHTYPE + case "personal": + result = PERSONAL_EDUCATIONSPEECHTYPE + case "persuasive": + result = PERSUASIVE_EDUCATIONSPEECHTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_EDUCATIONSPEECHTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeEducationSpeechType(values []EducationSpeechType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i EducationSpeechType) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_submission.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_submission.go index 7ad14cf798..c345f9d7a3 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_submission.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_submission.go @@ -403,7 +403,7 @@ func (m *EducationSubmission) GetReturnedDateTime()(*i336074805fc853987abe6f7fe3 } return nil } -// GetStatus gets the status property value. Read-only. Possible values are: excused, reassigned, returned, submitted and working. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: excused and reassigned. +// GetStatus gets the status property value. Read-only. The possible values are: excused, reassigned, returned, submitted and working. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: excused and reassigned. // returns a *EducationSubmissionStatus when successful func (m *EducationSubmission) GetStatus()(*EducationSubmissionStatus) { val, err := m.GetBackingStore().Get("status") @@ -628,7 +628,7 @@ func (m *EducationSubmission) SetReturnedDateTime(value *i336074805fc853987abe6f panic(err) } } -// SetStatus sets the status property value. Read-only. Possible values are: excused, reassigned, returned, submitted and working. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: excused and reassigned. +// SetStatus sets the status property value. Read-only. The possible values are: excused, reassigned, returned, submitted and working. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: excused and reassigned. func (m *EducationSubmission) SetStatus(value *EducationSubmissionStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_submission_resource.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_submission_resource.go index fcfb05cc53..d42f91fc72 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_submission_resource.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_submission_resource.go @@ -22,7 +22,7 @@ func NewEducationSubmissionResource()(*EducationSubmissionResource) { func CreateEducationSubmissionResourceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewEducationSubmissionResource(), nil } -// GetAssignmentResourceUrl gets the assignmentResourceUrl property value. Pointer to the assignment from which the resource was copied, and if null, the student uploaded the resource. +// GetAssignmentResourceUrl gets the assignmentResourceUrl property value. Pointer to the assignment from which the resource was copied. If the value is null, the student uploaded the resource. // returns a *string when successful func (m *EducationSubmissionResource) GetAssignmentResourceUrl()(*string) { val, err := m.GetBackingStore().Get("assignmentResourceUrl") @@ -34,6 +34,18 @@ func (m *EducationSubmissionResource) GetAssignmentResourceUrl()(*string) { } return nil } +// GetDependentResources gets the dependentResources property value. A collection of submission resources that depend on the parent educationSubmissionResource. +// returns a []EducationSubmissionResourceable when successful +func (m *EducationSubmissionResource) GetDependentResources()([]EducationSubmissionResourceable) { + val, err := m.GetBackingStore().Get("dependentResources") + if err != nil { + panic(err) + } + if val != nil { + return val.([]EducationSubmissionResourceable) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *EducationSubmissionResource) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { @@ -48,6 +60,22 @@ func (m *EducationSubmissionResource) GetFieldDeserializers()(map[string]func(i8 } return nil } + res["dependentResources"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateEducationSubmissionResourceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]EducationSubmissionResourceable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(EducationSubmissionResourceable) + } + } + m.SetDependentResources(res) + } + return nil + } res["resource"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateEducationResourceFromDiscriminatorValue) if err != nil { @@ -84,6 +112,18 @@ func (m *EducationSubmissionResource) Serialize(writer i878a80d2330e89d26896388a return err } } + if m.GetDependentResources() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetDependentResources())) + for i, v := range m.GetDependentResources() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("dependentResources", cast) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("resource", m.GetResource()) if err != nil { @@ -92,13 +132,20 @@ func (m *EducationSubmissionResource) Serialize(writer i878a80d2330e89d26896388a } return nil } -// SetAssignmentResourceUrl sets the assignmentResourceUrl property value. Pointer to the assignment from which the resource was copied, and if null, the student uploaded the resource. +// SetAssignmentResourceUrl sets the assignmentResourceUrl property value. Pointer to the assignment from which the resource was copied. If the value is null, the student uploaded the resource. func (m *EducationSubmissionResource) SetAssignmentResourceUrl(value *string)() { err := m.GetBackingStore().Set("assignmentResourceUrl", value) if err != nil { panic(err) } } +// SetDependentResources sets the dependentResources property value. A collection of submission resources that depend on the parent educationSubmissionResource. +func (m *EducationSubmissionResource) SetDependentResources(value []EducationSubmissionResourceable)() { + err := m.GetBackingStore().Set("dependentResources", value) + if err != nil { + panic(err) + } +} // SetResource sets the resource property value. Resource object. func (m *EducationSubmissionResource) SetResource(value EducationResourceable)() { err := m.GetBackingStore().Set("resource", value) @@ -110,7 +157,9 @@ type EducationSubmissionResourceable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAssignmentResourceUrl()(*string) + GetDependentResources()([]EducationSubmissionResourceable) GetResource()(EducationResourceable) SetAssignmentResourceUrl(value *string)() + SetDependentResources(value []EducationSubmissionResourceable)() SetResource(value EducationResourceable)() } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_user.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_user.go index 8b19fb3867..32cda73361 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_user.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/education_user.go @@ -131,7 +131,7 @@ func (m *EducationUser) GetDisplayName()(*string) { } return nil } -// GetExternalSource gets the externalSource property value. Where this user was created from. Possible values are: sis, manual. +// GetExternalSource gets the externalSource property value. Where this user was created from. The possible values are: sis, manual. // returns a *EducationExternalSource when successful func (m *EducationUser) GetExternalSource()(*EducationExternalSource) { val, err := m.GetBackingStore().Get("externalSource") @@ -1280,7 +1280,7 @@ func (m *EducationUser) SetDisplayName(value *string)() { panic(err) } } -// SetExternalSource sets the externalSource property value. Where this user was created from. Possible values are: sis, manual. +// SetExternalSource sets the externalSource property value. Where this user was created from. The possible values are: sis, manual. func (m *EducationUser) SetExternalSource(value *EducationExternalSource)() { err := m.GetBackingStore().Set("externalSource", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/email_authentication_method_configuration.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/email_authentication_method_configuration.go index 2a16b949b7..74d034e8c7 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/email_authentication_method_configuration.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/email_authentication_method_configuration.go @@ -24,7 +24,7 @@ func NewEmailAuthenticationMethodConfiguration()(*EmailAuthenticationMethodConfi func CreateEmailAuthenticationMethodConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewEmailAuthenticationMethodConfiguration(), nil } -// GetAllowExternalIdToUseEmailOtp gets the allowExternalIdToUseEmailOtp property value. Determines whether email OTP is usable by external users for authentication. Possible values are: default, enabled, disabled, unknownFutureValue. Tenants in the default state who didn't use public preview have email OTP enabled beginning in October 2021. +// GetAllowExternalIdToUseEmailOtp gets the allowExternalIdToUseEmailOtp property value. Determines whether email OTP is usable by external users for authentication. The possible values are: default, enabled, disabled, unknownFutureValue. Tenants in the default state who didn't use public preview have email OTP enabled beginning in October 2021. // returns a *ExternalEmailOtpState when successful func (m *EmailAuthenticationMethodConfiguration) GetAllowExternalIdToUseEmailOtp()(*ExternalEmailOtpState) { val, err := m.GetBackingStore().Get("allowExternalIdToUseEmailOtp") @@ -107,7 +107,7 @@ func (m *EmailAuthenticationMethodConfiguration) Serialize(writer i878a80d2330e8 } return nil } -// SetAllowExternalIdToUseEmailOtp sets the allowExternalIdToUseEmailOtp property value. Determines whether email OTP is usable by external users for authentication. Possible values are: default, enabled, disabled, unknownFutureValue. Tenants in the default state who didn't use public preview have email OTP enabled beginning in October 2021. +// SetAllowExternalIdToUseEmailOtp sets the allowExternalIdToUseEmailOtp property value. Determines whether email OTP is usable by external users for authentication. The possible values are: default, enabled, disabled, unknownFutureValue. Tenants in the default state who didn't use public preview have email OTP enabled beginning in October 2021. func (m *EmailAuthenticationMethodConfiguration) SetAllowExternalIdToUseEmailOtp(value *ExternalEmailOtpState)() { err := m.GetBackingStore().Set("allowExternalIdToUseEmailOtp", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/email_file_assessment_request.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/email_file_assessment_request.go index b709d9ad36..89c6f23ba6 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/email_file_assessment_request.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/email_file_assessment_request.go @@ -36,7 +36,7 @@ func (m *EmailFileAssessmentRequest) GetContentData()(*string) { } return nil } -// GetDestinationRoutingReason gets the destinationRoutingReason property value. The reason for mail routed to its destination. Possible values are: none, mailFlowRule, safeSender, blockedSender, advancedSpamFiltering, domainAllowList, domainBlockList, notInAddressBook, firstTimeSender, autoPurgeToInbox, autoPurgeToJunk, autoPurgeToDeleted, outbound, notJunk, junk. +// GetDestinationRoutingReason gets the destinationRoutingReason property value. The reason for mail routed to its destination. The possible values are: none, mailFlowRule, safeSender, blockedSender, advancedSpamFiltering, domainAllowList, domainBlockList, notInAddressBook, firstTimeSender, autoPurgeToInbox, autoPurgeToJunk, autoPurgeToDeleted, outbound, notJunk, junk. // returns a *MailDestinationRoutingReason when successful func (m *EmailFileAssessmentRequest) GetDestinationRoutingReason()(*MailDestinationRoutingReason) { val, err := m.GetBackingStore().Get("destinationRoutingReason") @@ -130,7 +130,7 @@ func (m *EmailFileAssessmentRequest) SetContentData(value *string)() { panic(err) } } -// SetDestinationRoutingReason sets the destinationRoutingReason property value. The reason for mail routed to its destination. Possible values are: none, mailFlowRule, safeSender, blockedSender, advancedSpamFiltering, domainAllowList, domainBlockList, notInAddressBook, firstTimeSender, autoPurgeToInbox, autoPurgeToJunk, autoPurgeToDeleted, outbound, notJunk, junk. +// SetDestinationRoutingReason sets the destinationRoutingReason property value. The reason for mail routed to its destination. The possible values are: none, mailFlowRule, safeSender, blockedSender, advancedSpamFiltering, domainAllowList, domainBlockList, notInAddressBook, firstTimeSender, autoPurgeToInbox, autoPurgeToJunk, autoPurgeToDeleted, outbound, notJunk, junk. func (m *EmailFileAssessmentRequest) SetDestinationRoutingReason(value *MailDestinationRoutingReason)() { err := m.GetBackingStore().Set("destinationRoutingReason", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/emergency_call_event.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/emergency_call_event.go index 0f56608e8d..b4337ce275 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/emergency_call_event.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/emergency_call_event.go @@ -22,7 +22,7 @@ func NewEmergencyCallEvent()(*EmergencyCallEvent) { func CreateEmergencyCallEventFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewEmergencyCallEvent(), nil } -// GetCallerInfo gets the callerInfo property value. The callerInfo property +// GetCallerInfo gets the callerInfo property value. The information of the emergency caller. // returns a EmergencyCallerInfoable when successful func (m *EmergencyCallEvent) GetCallerInfo()(EmergencyCallerInfoable) { val, err := m.GetBackingStore().Get("callerInfo") @@ -34,7 +34,7 @@ func (m *EmergencyCallEvent) GetCallerInfo()(EmergencyCallerInfoable) { } return nil } -// GetEmergencyNumberDialed gets the emergencyNumberDialed property value. The emergencyNumberDialed property +// GetEmergencyNumberDialed gets the emergencyNumberDialed property value. The emergency number dialed. // returns a *string when successful func (m *EmergencyCallEvent) GetEmergencyNumberDialed()(*string) { val, err := m.GetBackingStore().Get("emergencyNumberDialed") @@ -82,7 +82,7 @@ func (m *EmergencyCallEvent) GetFieldDeserializers()(map[string]func(i878a80d233 } return res } -// GetPolicyName gets the policyName property value. The policyName property +// GetPolicyName gets the policyName property value. The policy name for the emergency call event. // returns a *string when successful func (m *EmergencyCallEvent) GetPolicyName()(*string) { val, err := m.GetBackingStore().Get("policyName") @@ -120,21 +120,21 @@ func (m *EmergencyCallEvent) Serialize(writer i878a80d2330e89d26896388a3f487eef2 } return nil } -// SetCallerInfo sets the callerInfo property value. The callerInfo property +// SetCallerInfo sets the callerInfo property value. The information of the emergency caller. func (m *EmergencyCallEvent) SetCallerInfo(value EmergencyCallerInfoable)() { err := m.GetBackingStore().Set("callerInfo", value) if err != nil { panic(err) } } -// SetEmergencyNumberDialed sets the emergencyNumberDialed property value. The emergencyNumberDialed property +// SetEmergencyNumberDialed sets the emergencyNumberDialed property value. The emergency number dialed. func (m *EmergencyCallEvent) SetEmergencyNumberDialed(value *string)() { err := m.GetBackingStore().Set("emergencyNumberDialed", value) if err != nil { panic(err) } } -// SetPolicyName sets the policyName property value. The policyName property +// SetPolicyName sets the policyName property value. The policy name for the emergency call event. func (m *EmergencyCallEvent) SetPolicyName(value *string)() { err := m.GetBackingStore().Set("policyName", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/emergency_caller_info.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/emergency_caller_info.go index 8d5736b2e0..dd717b8e2e 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/emergency_caller_info.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/emergency_caller_info.go @@ -43,7 +43,7 @@ func (m *EmergencyCallerInfo) GetAdditionalData()(map[string]any) { func (m *EmergencyCallerInfo) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetDisplayName gets the displayName property value. The displayName property +// GetDisplayName gets the displayName property value. The display name of the emergency caller. // returns a *string when successful func (m *EmergencyCallerInfo) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -121,7 +121,7 @@ func (m *EmergencyCallerInfo) GetFieldDeserializers()(map[string]func(i878a80d23 } return res } -// GetLocation gets the location property value. The location property +// GetLocation gets the location property value. The location of the emergency caller. // returns a Locationable when successful func (m *EmergencyCallerInfo) GetLocation()(Locationable) { val, err := m.GetBackingStore().Get("location") @@ -145,7 +145,7 @@ func (m *EmergencyCallerInfo) GetOdataType()(*string) { } return nil } -// GetPhoneNumber gets the phoneNumber property value. The phoneNumber property +// GetPhoneNumber gets the phoneNumber property value. The phone number of the emergency caller. // returns a *string when successful func (m *EmergencyCallerInfo) GetPhoneNumber()(*string) { val, err := m.GetBackingStore().Get("phoneNumber") @@ -157,7 +157,7 @@ func (m *EmergencyCallerInfo) GetPhoneNumber()(*string) { } return nil } -// GetTenantId gets the tenantId property value. The tenantId property +// GetTenantId gets the tenantId property value. The tenant ID of the emergency caller. // returns a *string when successful func (m *EmergencyCallerInfo) GetTenantId()(*string) { val, err := m.GetBackingStore().Get("tenantId") @@ -169,7 +169,7 @@ func (m *EmergencyCallerInfo) GetTenantId()(*string) { } return nil } -// GetUpn gets the upn property value. The upn property +// GetUpn gets the upn property value. The user principal name of the emergency caller. // returns a *string when successful func (m *EmergencyCallerInfo) GetUpn()(*string) { val, err := m.GetBackingStore().Get("upn") @@ -238,14 +238,14 @@ func (m *EmergencyCallerInfo) SetAdditionalData(value map[string]any)() { func (m *EmergencyCallerInfo) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetDisplayName sets the displayName property value. The displayName property +// SetDisplayName sets the displayName property value. The display name of the emergency caller. func (m *EmergencyCallerInfo) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetLocation sets the location property value. The location property +// SetLocation sets the location property value. The location of the emergency caller. func (m *EmergencyCallerInfo) SetLocation(value Locationable)() { err := m.GetBackingStore().Set("location", value) if err != nil { @@ -259,21 +259,21 @@ func (m *EmergencyCallerInfo) SetOdataType(value *string)() { panic(err) } } -// SetPhoneNumber sets the phoneNumber property value. The phoneNumber property +// SetPhoneNumber sets the phoneNumber property value. The phone number of the emergency caller. func (m *EmergencyCallerInfo) SetPhoneNumber(value *string)() { err := m.GetBackingStore().Set("phoneNumber", value) if err != nil { panic(err) } } -// SetTenantId sets the tenantId property value. The tenantId property +// SetTenantId sets the tenantId property value. The tenant ID of the emergency caller. func (m *EmergencyCallerInfo) SetTenantId(value *string)() { err := m.GetBackingStore().Set("tenantId", value) if err != nil { panic(err) } } -// SetUpn sets the upn property value. The upn property +// SetUpn sets the upn property value. The user principal name of the emergency caller. func (m *EmergencyCallerInfo) SetUpn(value *string)() { err := m.GetBackingStore().Set("upn", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/employee_experience.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/employee_experience.go index e6502b8ea9..6f40c5f438 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/employee_experience.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/employee_experience.go @@ -146,6 +146,22 @@ func (m *EmployeeExperience) GetFieldDeserializers()(map[string]func(i878a80d233 } return nil } + res["roles"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateEngagementRoleFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]EngagementRoleable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(EngagementRoleable) + } + } + m.SetRoles(res) + } + return nil + } return res } // GetLearningCourseActivities gets the learningCourseActivities property value. The learningCourseActivities property @@ -184,6 +200,18 @@ func (m *EmployeeExperience) GetOdataType()(*string) { } return nil } +// GetRoles gets the roles property value. A collection of roles in Viva Engage. +// returns a []EngagementRoleable when successful +func (m *EmployeeExperience) GetRoles()([]EngagementRoleable) { + val, err := m.GetBackingStore().Get("roles") + if err != nil { + panic(err) + } + if val != nil { + return val.([]EngagementRoleable) + } + return nil +} // Serialize serializes information the current object func (m *EmployeeExperience) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { if m.GetCommunities() != nil { @@ -240,6 +268,18 @@ func (m *EmployeeExperience) Serialize(writer i878a80d2330e89d26896388a3f487eef2 return err } } + if m.GetRoles() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetRoles())) + for i, v := range m.GetRoles() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("roles", cast) + if err != nil { + return err + } + } { err := writer.WriteAdditionalData(m.GetAdditionalData()) if err != nil { @@ -294,6 +334,13 @@ func (m *EmployeeExperience) SetOdataType(value *string)() { panic(err) } } +// SetRoles sets the roles property value. A collection of roles in Viva Engage. +func (m *EmployeeExperience) SetRoles(value []EngagementRoleable)() { + err := m.GetBackingStore().Set("roles", value) + if err != nil { + panic(err) + } +} type EmployeeExperienceable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel @@ -304,10 +351,12 @@ type EmployeeExperienceable interface { GetLearningCourseActivities()([]LearningCourseActivityable) GetLearningProviders()([]LearningProviderable) GetOdataType()(*string) + GetRoles()([]EngagementRoleable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetCommunities(value []Communityable)() SetEngagementAsyncOperations(value []EngagementAsyncOperationable)() SetLearningCourseActivities(value []LearningCourseActivityable)() SetLearningProviders(value []LearningProviderable)() SetOdataType(value *string)() + SetRoles(value []EngagementRoleable)() } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/employee_experience_user.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/employee_experience_user.go index 9ac17a9b0a..caff497a5f 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/employee_experience_user.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/employee_experience_user.go @@ -22,10 +22,38 @@ func NewEmployeeExperienceUser()(*EmployeeExperienceUser) { func CreateEmployeeExperienceUserFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewEmployeeExperienceUser(), nil } +// GetAssignedRoles gets the assignedRoles property value. Represents the collection of Viva Engage roles assigned to a user. +// returns a []EngagementRoleable when successful +func (m *EmployeeExperienceUser) GetAssignedRoles()([]EngagementRoleable) { + val, err := m.GetBackingStore().Get("assignedRoles") + if err != nil { + panic(err) + } + if val != nil { + return val.([]EngagementRoleable) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *EmployeeExperienceUser) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.Entity.GetFieldDeserializers() + res["assignedRoles"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateEngagementRoleFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]EngagementRoleable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(EngagementRoleable) + } + } + m.SetAssignedRoles(res) + } + return nil + } res["learningCourseActivities"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateLearningCourseActivityFromDiscriminatorValue) if err != nil { @@ -62,6 +90,18 @@ func (m *EmployeeExperienceUser) Serialize(writer i878a80d2330e89d26896388a3f487 if err != nil { return err } + if m.GetAssignedRoles() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAssignedRoles())) + for i, v := range m.GetAssignedRoles() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("assignedRoles", cast) + if err != nil { + return err + } + } if m.GetLearningCourseActivities() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetLearningCourseActivities())) for i, v := range m.GetLearningCourseActivities() { @@ -76,6 +116,13 @@ func (m *EmployeeExperienceUser) Serialize(writer i878a80d2330e89d26896388a3f487 } return nil } +// SetAssignedRoles sets the assignedRoles property value. Represents the collection of Viva Engage roles assigned to a user. +func (m *EmployeeExperienceUser) SetAssignedRoles(value []EngagementRoleable)() { + err := m.GetBackingStore().Set("assignedRoles", value) + if err != nil { + panic(err) + } +} // SetLearningCourseActivities sets the learningCourseActivities property value. The learningCourseActivities property func (m *EmployeeExperienceUser) SetLearningCourseActivities(value []LearningCourseActivityable)() { err := m.GetBackingStore().Set("learningCourseActivities", value) @@ -86,6 +133,8 @@ func (m *EmployeeExperienceUser) SetLearningCourseActivities(value []LearningCou type EmployeeExperienceUserable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAssignedRoles()([]EngagementRoleable) GetLearningCourseActivities()([]LearningCourseActivityable) + SetAssignedRoles(value []EngagementRoleable)() SetLearningCourseActivities(value []LearningCourseActivityable)() } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/end_user_notification.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/end_user_notification.go index fffe8259fb..5747c60262 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/end_user_notification.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/end_user_notification.go @@ -235,7 +235,7 @@ func (m *EndUserNotification) GetLastModifiedDateTime()(*i336074805fc853987abe6f } return nil } -// GetNotificationType gets the notificationType property value. Type of notification. Possible values are: unknown, positiveReinforcement, noTraining, trainingAssignment, trainingReminder, unknownFutureValue. +// GetNotificationType gets the notificationType property value. Type of notification. The possible values are: unknown, positiveReinforcement, noTraining, trainingAssignment, trainingReminder, unknownFutureValue. // returns a *EndUserNotificationType when successful func (m *EndUserNotification) GetNotificationType()(*EndUserNotificationType) { val, err := m.GetBackingStore().Get("notificationType") @@ -247,7 +247,7 @@ func (m *EndUserNotification) GetNotificationType()(*EndUserNotificationType) { } return nil } -// GetSource gets the source property value. The source of the content. Possible values are: unknown, global, tenant, unknownFutureValue. +// GetSource gets the source property value. The source of the content. The possible values are: unknown, global, tenant, unknownFutureValue. // returns a *SimulationContentSource when successful func (m *EndUserNotification) GetSource()(*SimulationContentSource) { val, err := m.GetBackingStore().Get("source") @@ -259,7 +259,7 @@ func (m *EndUserNotification) GetSource()(*SimulationContentSource) { } return nil } -// GetStatus gets the status property value. The status of the notification. Possible values are: unknown, draft, ready, archive, delete, unknownFutureValue. +// GetStatus gets the status property value. The status of the notification. The possible values are: unknown, draft, ready, archive, delete, unknownFutureValue. // returns a *SimulationContentStatus when successful func (m *EndUserNotification) GetStatus()(*SimulationContentStatus) { val, err := m.GetBackingStore().Get("status") @@ -415,21 +415,21 @@ func (m *EndUserNotification) SetLastModifiedDateTime(value *i336074805fc853987a panic(err) } } -// SetNotificationType sets the notificationType property value. Type of notification. Possible values are: unknown, positiveReinforcement, noTraining, trainingAssignment, trainingReminder, unknownFutureValue. +// SetNotificationType sets the notificationType property value. Type of notification. The possible values are: unknown, positiveReinforcement, noTraining, trainingAssignment, trainingReminder, unknownFutureValue. func (m *EndUserNotification) SetNotificationType(value *EndUserNotificationType)() { err := m.GetBackingStore().Set("notificationType", value) if err != nil { panic(err) } } -// SetSource sets the source property value. The source of the content. Possible values are: unknown, global, tenant, unknownFutureValue. +// SetSource sets the source property value. The source of the content. The possible values are: unknown, global, tenant, unknownFutureValue. func (m *EndUserNotification) SetSource(value *SimulationContentSource)() { err := m.GetBackingStore().Set("source", value) if err != nil { panic(err) } } -// SetStatus sets the status property value. The status of the notification. Possible values are: unknown, draft, ready, archive, delete, unknownFutureValue. +// SetStatus sets the status property value. The status of the notification. The possible values are: unknown, draft, ready, archive, delete, unknownFutureValue. func (m *EndUserNotification) SetStatus(value *SimulationContentStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/end_user_notification_setting.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/end_user_notification_setting.go index 46d845f662..4f04b98036 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/end_user_notification_setting.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/end_user_notification_setting.go @@ -109,7 +109,7 @@ func (m *EndUserNotificationSetting) GetFieldDeserializers()(map[string]func(i87 } return res } -// GetNotificationPreference gets the notificationPreference property value. Notification preference. Possible values are: unknown, microsoft, custom, unknownFutureValue. +// GetNotificationPreference gets the notificationPreference property value. Notification preference. The possible values are: unknown, microsoft, custom, unknownFutureValue. // returns a *EndUserNotificationPreference when successful func (m *EndUserNotificationSetting) GetNotificationPreference()(*EndUserNotificationPreference) { val, err := m.GetBackingStore().Get("notificationPreference") @@ -145,7 +145,7 @@ func (m *EndUserNotificationSetting) GetPositiveReinforcement()(PositiveReinforc } return nil } -// GetSettingType gets the settingType property value. End user notification type. Possible values are: unknown, noTraining, trainingSelected, noNotification, unknownFutureValue. +// GetSettingType gets the settingType property value. End user notification type. The possible values are: unknown, noTraining, trainingSelected, noNotification, unknownFutureValue. // returns a *EndUserNotificationSettingType when successful func (m *EndUserNotificationSetting) GetSettingType()(*EndUserNotificationSettingType) { val, err := m.GetBackingStore().Get("settingType") @@ -204,7 +204,7 @@ func (m *EndUserNotificationSetting) SetAdditionalData(value map[string]any)() { func (m *EndUserNotificationSetting) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetNotificationPreference sets the notificationPreference property value. Notification preference. Possible values are: unknown, microsoft, custom, unknownFutureValue. +// SetNotificationPreference sets the notificationPreference property value. Notification preference. The possible values are: unknown, microsoft, custom, unknownFutureValue. func (m *EndUserNotificationSetting) SetNotificationPreference(value *EndUserNotificationPreference)() { err := m.GetBackingStore().Set("notificationPreference", value) if err != nil { @@ -225,7 +225,7 @@ func (m *EndUserNotificationSetting) SetPositiveReinforcement(value PositiveRein panic(err) } } -// SetSettingType sets the settingType property value. End user notification type. Possible values are: unknown, noTraining, trainingSelected, noNotification, unknownFutureValue. +// SetSettingType sets the settingType property value. End user notification type. The possible values are: unknown, noTraining, trainingSelected, noNotification, unknownFutureValue. func (m *EndUserNotificationSetting) SetSettingType(value *EndUserNotificationSettingType)() { err := m.GetBackingStore().Set("settingType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation.go new file mode 100644 index 0000000000..431a463f21 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation.go @@ -0,0 +1,222 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// EngagementConversation represents a conversation in Viva Engage. +type EngagementConversation struct { + Entity +} +// NewEngagementConversation instantiates a new EngagementConversation and sets the default values. +func NewEngagementConversation()(*EngagementConversation) { + m := &EngagementConversation{ + Entity: *NewEntity(), + } + return m +} +// CreateEngagementConversationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEngagementConversationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.onlineMeetingEngagementConversation": + return NewOnlineMeetingEngagementConversation(), nil + } + } + } + } + return NewEngagementConversation(), nil +} +// GetCreationMode gets the creationMode property value. Indicates that the resource is in migration state and is currently being used for migration purposes. +// returns a *EngagementCreationMode when successful +func (m *EngagementConversation) GetCreationMode()(*EngagementCreationMode) { + val, err := m.GetBackingStore().Get("creationMode") + if err != nil { + panic(err) + } + if val != nil { + return val.(*EngagementCreationMode) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EngagementConversation) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["creationMode"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseEngagementCreationMode) + if err != nil { + return err + } + if val != nil { + m.SetCreationMode(val.(*EngagementCreationMode)) + } + return nil + } + res["messages"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateEngagementConversationMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]EngagementConversationMessageable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(EngagementConversationMessageable) + } + } + m.SetMessages(res) + } + return nil + } + res["starter"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateEngagementConversationMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetStarter(val.(EngagementConversationMessageable)) + } + return nil + } + res["starterId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetStarterId(val) + } + return nil + } + return res +} +// GetMessages gets the messages property value. The messages in a Viva Engage conversation. +// returns a []EngagementConversationMessageable when successful +func (m *EngagementConversation) GetMessages()([]EngagementConversationMessageable) { + val, err := m.GetBackingStore().Get("messages") + if err != nil { + panic(err) + } + if val != nil { + return val.([]EngagementConversationMessageable) + } + return nil +} +// GetStarter gets the starter property value. The starter property +// returns a EngagementConversationMessageable when successful +func (m *EngagementConversation) GetStarter()(EngagementConversationMessageable) { + val, err := m.GetBackingStore().Get("starter") + if err != nil { + panic(err) + } + if val != nil { + return val.(EngagementConversationMessageable) + } + return nil +} +// GetStarterId gets the starterId property value. The unique ID of the first message in a Viva Engage conversation. +// returns a *string when successful +func (m *EngagementConversation) GetStarterId()(*string) { + val, err := m.GetBackingStore().Get("starterId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *EngagementConversation) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetCreationMode() != nil { + cast := (*m.GetCreationMode()).String() + err = writer.WriteStringValue("creationMode", &cast) + if err != nil { + return err + } + } + if m.GetMessages() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetMessages())) + for i, v := range m.GetMessages() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("messages", cast) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("starter", m.GetStarter()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("starterId", m.GetStarterId()) + if err != nil { + return err + } + } + return nil +} +// SetCreationMode sets the creationMode property value. Indicates that the resource is in migration state and is currently being used for migration purposes. +func (m *EngagementConversation) SetCreationMode(value *EngagementCreationMode)() { + err := m.GetBackingStore().Set("creationMode", value) + if err != nil { + panic(err) + } +} +// SetMessages sets the messages property value. The messages in a Viva Engage conversation. +func (m *EngagementConversation) SetMessages(value []EngagementConversationMessageable)() { + err := m.GetBackingStore().Set("messages", value) + if err != nil { + panic(err) + } +} +// SetStarter sets the starter property value. The starter property +func (m *EngagementConversation) SetStarter(value EngagementConversationMessageable)() { + err := m.GetBackingStore().Set("starter", value) + if err != nil { + panic(err) + } +} +// SetStarterId sets the starterId property value. The unique ID of the first message in a Viva Engage conversation. +func (m *EngagementConversation) SetStarterId(value *string)() { + err := m.GetBackingStore().Set("starterId", value) + if err != nil { + panic(err) + } +} +type EngagementConversationable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCreationMode()(*EngagementCreationMode) + GetMessages()([]EngagementConversationMessageable) + GetStarter()(EngagementConversationMessageable) + GetStarterId()(*string) + SetCreationMode(value *EngagementCreationMode)() + SetMessages(value []EngagementConversationMessageable)() + SetStarter(value EngagementConversationMessageable)() + SetStarterId(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_discussion_message.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_discussion_message.go new file mode 100644 index 0000000000..7b7bcbd177 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_discussion_message.go @@ -0,0 +1,45 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// EngagementConversationDiscussionMessage a Viva Engage conversation discussion message. +type EngagementConversationDiscussionMessage struct { + EngagementConversationMessage +} +// NewEngagementConversationDiscussionMessage instantiates a new EngagementConversationDiscussionMessage and sets the default values. +func NewEngagementConversationDiscussionMessage()(*EngagementConversationDiscussionMessage) { + m := &EngagementConversationDiscussionMessage{ + EngagementConversationMessage: *NewEngagementConversationMessage(), + } + odataTypeValue := "#microsoft.graph.engagementConversationDiscussionMessage" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateEngagementConversationDiscussionMessageFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEngagementConversationDiscussionMessageFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEngagementConversationDiscussionMessage(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EngagementConversationDiscussionMessage) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.EngagementConversationMessage.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *EngagementConversationDiscussionMessage) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.EngagementConversationMessage.Serialize(writer) + if err != nil { + return err + } + return nil +} +type EngagementConversationDiscussionMessageable interface { + EngagementConversationMessageable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_message.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_message.go new file mode 100644 index 0000000000..1a74f1a9b1 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_message.go @@ -0,0 +1,449 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// EngagementConversationMessage a Viva Engage conversation message. +type EngagementConversationMessage struct { + Entity +} +// NewEngagementConversationMessage instantiates a new EngagementConversationMessage and sets the default values. +func NewEngagementConversationMessage()(*EngagementConversationMessage) { + m := &EngagementConversationMessage{ + Entity: *NewEntity(), + } + return m +} +// CreateEngagementConversationMessageFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEngagementConversationMessageFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.engagementConversationDiscussionMessage": + return NewEngagementConversationDiscussionMessage(), nil + case "#microsoft.graph.engagementConversationQuestionMessage": + return NewEngagementConversationQuestionMessage(), nil + case "#microsoft.graph.engagementConversationSystemMessage": + return NewEngagementConversationSystemMessage(), nil + } + } + } + } + return NewEngagementConversationMessage(), nil +} +// GetBody gets the body property value. The body property +// returns a ItemBodyable when successful +func (m *EngagementConversationMessage) GetBody()(ItemBodyable) { + val, err := m.GetBackingStore().Get("body") + if err != nil { + panic(err) + } + if val != nil { + return val.(ItemBodyable) + } + return nil +} +// GetConversation gets the conversation property value. The conversation property +// returns a EngagementConversationable when successful +func (m *EngagementConversationMessage) GetConversation()(EngagementConversationable) { + val, err := m.GetBackingStore().Get("conversation") + if err != nil { + panic(err) + } + if val != nil { + return val.(EngagementConversationable) + } + return nil +} +// GetCreatedDateTime gets the createdDateTime property value. The date and time when the message was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +// returns a *Time when successful +func (m *EngagementConversationMessage) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("createdDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetCreationMode gets the creationMode property value. Indicates that the resource is in migration state and is currently being used for migration purposes. +// returns a *EngagementCreationMode when successful +func (m *EngagementConversationMessage) GetCreationMode()(*EngagementCreationMode) { + val, err := m.GetBackingStore().Get("creationMode") + if err != nil { + panic(err) + } + if val != nil { + return val.(*EngagementCreationMode) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EngagementConversationMessage) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["body"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateItemBodyFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetBody(val.(ItemBodyable)) + } + return nil + } + res["conversation"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateEngagementConversationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetConversation(val.(EngagementConversationable)) + } + return nil + } + res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetCreatedDateTime(val) + } + return nil + } + res["creationMode"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseEngagementCreationMode) + if err != nil { + return err + } + if val != nil { + m.SetCreationMode(val.(*EngagementCreationMode)) + } + return nil + } + res["from"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateEngagementIdentitySetFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetFrom(val.(EngagementIdentitySetable)) + } + return nil + } + res["lastModifiedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetLastModifiedDateTime(val) + } + return nil + } + res["reactions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateEngagementConversationMessageReactionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]EngagementConversationMessageReactionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(EngagementConversationMessageReactionable) + } + } + m.SetReactions(res) + } + return nil + } + res["replies"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateEngagementConversationMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]EngagementConversationMessageable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(EngagementConversationMessageable) + } + } + m.SetReplies(res) + } + return nil + } + res["replyTo"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateEngagementConversationMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetReplyTo(val.(EngagementConversationMessageable)) + } + return nil + } + res["replyToId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetReplyToId(val) + } + return nil + } + return res +} +// GetFrom gets the from property value. Identity of the sender of the message. +// returns a EngagementIdentitySetable when successful +func (m *EngagementConversationMessage) GetFrom()(EngagementIdentitySetable) { + val, err := m.GetBackingStore().Get("from") + if err != nil { + panic(err) + } + if val != nil { + return val.(EngagementIdentitySetable) + } + return nil +} +// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The date and time when message was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +// returns a *Time when successful +func (m *EngagementConversationMessage) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("lastModifiedDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetReactions gets the reactions property value. A collection of reactions (such as like and smile) that users have applied to this message. +// returns a []EngagementConversationMessageReactionable when successful +func (m *EngagementConversationMessage) GetReactions()([]EngagementConversationMessageReactionable) { + val, err := m.GetBackingStore().Get("reactions") + if err != nil { + panic(err) + } + if val != nil { + return val.([]EngagementConversationMessageReactionable) + } + return nil +} +// GetReplies gets the replies property value. A collection of messages that are replies to this message and form a threaded discussion. +// returns a []EngagementConversationMessageable when successful +func (m *EngagementConversationMessage) GetReplies()([]EngagementConversationMessageable) { + val, err := m.GetBackingStore().Get("replies") + if err != nil { + panic(err) + } + if val != nil { + return val.([]EngagementConversationMessageable) + } + return nil +} +// GetReplyTo gets the replyTo property value. The parent message to which this message is a reply, if it is part of a reply chain. +// returns a EngagementConversationMessageable when successful +func (m *EngagementConversationMessage) GetReplyTo()(EngagementConversationMessageable) { + val, err := m.GetBackingStore().Get("replyTo") + if err != nil { + panic(err) + } + if val != nil { + return val.(EngagementConversationMessageable) + } + return nil +} +// GetReplyToId gets the replyToId property value. The ID of the parent message to which this message is a reply, if applicable. +// returns a *string when successful +func (m *EngagementConversationMessage) GetReplyToId()(*string) { + val, err := m.GetBackingStore().Get("replyToId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *EngagementConversationMessage) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("body", m.GetBody()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("conversation", m.GetConversation()) + if err != nil { + return err + } + } + if m.GetCreationMode() != nil { + cast := (*m.GetCreationMode()).String() + err = writer.WriteStringValue("creationMode", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("from", m.GetFrom()) + if err != nil { + return err + } + } + if m.GetReactions() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetReactions())) + for i, v := range m.GetReactions() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("reactions", cast) + if err != nil { + return err + } + } + if m.GetReplies() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetReplies())) + for i, v := range m.GetReplies() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("replies", cast) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("replyTo", m.GetReplyTo()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("replyToId", m.GetReplyToId()) + if err != nil { + return err + } + } + return nil +} +// SetBody sets the body property value. The body property +func (m *EngagementConversationMessage) SetBody(value ItemBodyable)() { + err := m.GetBackingStore().Set("body", value) + if err != nil { + panic(err) + } +} +// SetConversation sets the conversation property value. The conversation property +func (m *EngagementConversationMessage) SetConversation(value EngagementConversationable)() { + err := m.GetBackingStore().Set("conversation", value) + if err != nil { + panic(err) + } +} +// SetCreatedDateTime sets the createdDateTime property value. The date and time when the message was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +func (m *EngagementConversationMessage) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("createdDateTime", value) + if err != nil { + panic(err) + } +} +// SetCreationMode sets the creationMode property value. Indicates that the resource is in migration state and is currently being used for migration purposes. +func (m *EngagementConversationMessage) SetCreationMode(value *EngagementCreationMode)() { + err := m.GetBackingStore().Set("creationMode", value) + if err != nil { + panic(err) + } +} +// SetFrom sets the from property value. Identity of the sender of the message. +func (m *EngagementConversationMessage) SetFrom(value EngagementIdentitySetable)() { + err := m.GetBackingStore().Set("from", value) + if err != nil { + panic(err) + } +} +// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The date and time when message was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +func (m *EngagementConversationMessage) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("lastModifiedDateTime", value) + if err != nil { + panic(err) + } +} +// SetReactions sets the reactions property value. A collection of reactions (such as like and smile) that users have applied to this message. +func (m *EngagementConversationMessage) SetReactions(value []EngagementConversationMessageReactionable)() { + err := m.GetBackingStore().Set("reactions", value) + if err != nil { + panic(err) + } +} +// SetReplies sets the replies property value. A collection of messages that are replies to this message and form a threaded discussion. +func (m *EngagementConversationMessage) SetReplies(value []EngagementConversationMessageable)() { + err := m.GetBackingStore().Set("replies", value) + if err != nil { + panic(err) + } +} +// SetReplyTo sets the replyTo property value. The parent message to which this message is a reply, if it is part of a reply chain. +func (m *EngagementConversationMessage) SetReplyTo(value EngagementConversationMessageable)() { + err := m.GetBackingStore().Set("replyTo", value) + if err != nil { + panic(err) + } +} +// SetReplyToId sets the replyToId property value. The ID of the parent message to which this message is a reply, if applicable. +func (m *EngagementConversationMessage) SetReplyToId(value *string)() { + err := m.GetBackingStore().Set("replyToId", value) + if err != nil { + panic(err) + } +} +type EngagementConversationMessageable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBody()(ItemBodyable) + GetConversation()(EngagementConversationable) + GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetCreationMode()(*EngagementCreationMode) + GetFrom()(EngagementIdentitySetable) + GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetReactions()([]EngagementConversationMessageReactionable) + GetReplies()([]EngagementConversationMessageable) + GetReplyTo()(EngagementConversationMessageable) + GetReplyToId()(*string) + SetBody(value ItemBodyable)() + SetConversation(value EngagementConversationable)() + SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetCreationMode(value *EngagementCreationMode)() + SetFrom(value EngagementIdentitySetable)() + SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetReactions(value []EngagementConversationMessageReactionable)() + SetReplies(value []EngagementConversationMessageable)() + SetReplyTo(value EngagementConversationMessageable)() + SetReplyToId(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_message_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_message_collection_response.go new file mode 100644 index 0000000000..99a9e4bf20 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_message_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type EngagementConversationMessageCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewEngagementConversationMessageCollectionResponse instantiates a new EngagementConversationMessageCollectionResponse and sets the default values. +func NewEngagementConversationMessageCollectionResponse()(*EngagementConversationMessageCollectionResponse) { + m := &EngagementConversationMessageCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateEngagementConversationMessageCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEngagementConversationMessageCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEngagementConversationMessageCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EngagementConversationMessageCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateEngagementConversationMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]EngagementConversationMessageable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(EngagementConversationMessageable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []EngagementConversationMessageable when successful +func (m *EngagementConversationMessageCollectionResponse) GetValue()([]EngagementConversationMessageable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]EngagementConversationMessageable) + } + return nil +} +// Serialize serializes information the current object +func (m *EngagementConversationMessageCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *EngagementConversationMessageCollectionResponse) SetValue(value []EngagementConversationMessageable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type EngagementConversationMessageCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]EngagementConversationMessageable) + SetValue(value []EngagementConversationMessageable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_message_reaction.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_message_reaction.go new file mode 100644 index 0000000000..54b850b7a2 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_message_reaction.go @@ -0,0 +1,150 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// EngagementConversationMessageReaction a reaction to a conversation message. +type EngagementConversationMessageReaction struct { + Entity +} +// NewEngagementConversationMessageReaction instantiates a new EngagementConversationMessageReaction and sets the default values. +func NewEngagementConversationMessageReaction()(*EngagementConversationMessageReaction) { + m := &EngagementConversationMessageReaction{ + Entity: *NewEntity(), + } + return m +} +// CreateEngagementConversationMessageReactionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEngagementConversationMessageReactionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEngagementConversationMessageReaction(), nil +} +// GetCreatedDateTime gets the createdDateTime property value. Date and time when the reaction was added. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +// returns a *Time when successful +func (m *EngagementConversationMessageReaction) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("createdDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EngagementConversationMessageReaction) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetCreatedDateTime(val) + } + return nil + } + res["reactionBy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateEngagementIdentitySetFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetReactionBy(val.(EngagementIdentitySetable)) + } + return nil + } + res["reactionType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseEngagementConversationMessageReactionType) + if err != nil { + return err + } + if val != nil { + m.SetReactionType(val.(*EngagementConversationMessageReactionType)) + } + return nil + } + return res +} +// GetReactionBy gets the reactionBy property value. The reactionBy property +// returns a EngagementIdentitySetable when successful +func (m *EngagementConversationMessageReaction) GetReactionBy()(EngagementIdentitySetable) { + val, err := m.GetBackingStore().Get("reactionBy") + if err != nil { + panic(err) + } + if val != nil { + return val.(EngagementIdentitySetable) + } + return nil +} +// GetReactionType gets the reactionType property value. Types of reactions to conversation messages. +// returns a *EngagementConversationMessageReactionType when successful +func (m *EngagementConversationMessageReaction) GetReactionType()(*EngagementConversationMessageReactionType) { + val, err := m.GetBackingStore().Get("reactionType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*EngagementConversationMessageReactionType) + } + return nil +} +// Serialize serializes information the current object +func (m *EngagementConversationMessageReaction) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("reactionBy", m.GetReactionBy()) + if err != nil { + return err + } + } + if m.GetReactionType() != nil { + cast := (*m.GetReactionType()).String() + err = writer.WriteStringValue("reactionType", &cast) + if err != nil { + return err + } + } + return nil +} +// SetCreatedDateTime sets the createdDateTime property value. Date and time when the reaction was added. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +func (m *EngagementConversationMessageReaction) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("createdDateTime", value) + if err != nil { + panic(err) + } +} +// SetReactionBy sets the reactionBy property value. The reactionBy property +func (m *EngagementConversationMessageReaction) SetReactionBy(value EngagementIdentitySetable)() { + err := m.GetBackingStore().Set("reactionBy", value) + if err != nil { + panic(err) + } +} +// SetReactionType sets the reactionType property value. Types of reactions to conversation messages. +func (m *EngagementConversationMessageReaction) SetReactionType(value *EngagementConversationMessageReactionType)() { + err := m.GetBackingStore().Set("reactionType", value) + if err != nil { + panic(err) + } +} +type EngagementConversationMessageReactionable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetReactionBy()(EngagementIdentitySetable) + GetReactionType()(*EngagementConversationMessageReactionType) + SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetReactionBy(value EngagementIdentitySetable)() + SetReactionType(value *EngagementConversationMessageReactionType)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_message_reaction_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_message_reaction_collection_response.go new file mode 100644 index 0000000000..de60d2fc6c --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_message_reaction_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type EngagementConversationMessageReactionCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewEngagementConversationMessageReactionCollectionResponse instantiates a new EngagementConversationMessageReactionCollectionResponse and sets the default values. +func NewEngagementConversationMessageReactionCollectionResponse()(*EngagementConversationMessageReactionCollectionResponse) { + m := &EngagementConversationMessageReactionCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateEngagementConversationMessageReactionCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEngagementConversationMessageReactionCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEngagementConversationMessageReactionCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EngagementConversationMessageReactionCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateEngagementConversationMessageReactionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]EngagementConversationMessageReactionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(EngagementConversationMessageReactionable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []EngagementConversationMessageReactionable when successful +func (m *EngagementConversationMessageReactionCollectionResponse) GetValue()([]EngagementConversationMessageReactionable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]EngagementConversationMessageReactionable) + } + return nil +} +// Serialize serializes information the current object +func (m *EngagementConversationMessageReactionCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *EngagementConversationMessageReactionCollectionResponse) SetValue(value []EngagementConversationMessageReactionable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type EngagementConversationMessageReactionCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]EngagementConversationMessageReactionable) + SetValue(value []EngagementConversationMessageReactionable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_message_reaction_type.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_message_reaction_type.go new file mode 100644 index 0000000000..15586fea05 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_message_reaction_type.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +// Types of reactions to conversation messages. +type EngagementConversationMessageReactionType int + +const ( + // Like reaction, represented as a thumbs-up hand. A positive sentiment. + LIKE_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE EngagementConversationMessageReactionType = iota + // Love reaction, represented as a solid heart shape. A very positive sentiment. + LOVE_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + // Celebrate reaction, represented as a party hat. A positive sentiment. + CELEBRATE_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + // Thank reaction, represented as applauding hands. A positive sentiment. + THANK_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + // Laugh reaction, represented as a grinning face. A positive sentiment. + LAUGH_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + // Sad reaction, represented as a frowning face. A sympathetic sentiment. + SAD_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + // Happy reaction, represented as an open mouth smile face. A very positive sentiment. + HAPPY_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + // Excited reaction, represented as a face with closed eyes and a big smile. A very positive sentiment. + EXCITED_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + // Smiling reaction, represented as a face with a small smile. A positive sentiment. + SMILE_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + // Silly reaction, represented as an upside down smiling face. A positive sentiment. + SILLY_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + // Intense laughter reaction, represented as a crying laughing face. A very positive sentiment. + INTENSELAUGH_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + // Star struck reaction, represented as a face with stars for eyes. A very positive sentiment. + STARSTRUCK_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + // Goofy reaction, represented as a face with tongue sticking out of mouth. A positive sentiment. + GOOFY_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + // Thinking reaction, represented as a face with a hand on the chin. A neutral sentiment. + THINKING_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + // Surprised reaction, represented as a face with its mouth open. A neutral sentiment. + SURPRISED_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + // Mind blown reaction, represented as a face with its head covered in an exploding cloud. A positive sentiment. + MINDBLOWN_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + // Scared reaction, represented as a face with fearful look. A negative sentiment. + SCARED_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + // Crying reaction, represented as a face with tears streaming down. A negative sentiment. + CRYING_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + // Shocked reaction, represented as a face with two hands against cheeks and mouth open. A negative sentiment. + SHOCKED_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + // Angry reaction, represented as a face with furrowed eyebrows and sad mouth. A very negative sentiment. + ANGRY_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + // Agree reaction, represented as a hand pointing upward. A positive sentiment. + AGREE_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + // Praise reaction, represented as two hands facing outward. A positive sentiment. + PRAISE_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + // Taking notes reaction, represented as a hand holding a pen. A neutral sentiment. + TAKINGNOTES_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + // Heart broken reaction, represented as a broken heart. A negative sentiment. + HEARTBROKEN_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + // Support reaction, represented as red numbers showing 100. A positive sentiment. + SUPPORT_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + // Confirmed reaction, represented as a green check mark. A neutral sentiment. + CONFIRMED_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + // Watching reaction, represented as two eyeballs. A neutral sentiment. + WATCHING_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + // Brain reaction, represented as a brain. A neutral sentiment. + BRAIN_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + // Medal reaction, represented as a medal hanging from a sash. A positive sentiment. + MEDAL_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + // Bullseye reaction, represented as a target with an arrow in the middle. A positive sentiment. + BULLSEYE_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + // A marker value for members added after the release of this API. + UNKNOWNFUTUREVALUE_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE +) + +func (i EngagementConversationMessageReactionType) String() string { + return []string{"like", "love", "celebrate", "thank", "laugh", "sad", "happy", "excited", "smile", "silly", "intenseLaugh", "starStruck", "goofy", "thinking", "surprised", "mindBlown", "scared", "crying", "shocked", "angry", "agree", "praise", "takingNotes", "heartBroken", "support", "confirmed", "watching", "brain", "medal", "bullseye", "unknownFutureValue"}[i] +} +func ParseEngagementConversationMessageReactionType(v string) (any, error) { + result := LIKE_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + switch v { + case "like": + result = LIKE_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + case "love": + result = LOVE_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + case "celebrate": + result = CELEBRATE_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + case "thank": + result = THANK_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + case "laugh": + result = LAUGH_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + case "sad": + result = SAD_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + case "happy": + result = HAPPY_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + case "excited": + result = EXCITED_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + case "smile": + result = SMILE_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + case "silly": + result = SILLY_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + case "intenseLaugh": + result = INTENSELAUGH_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + case "starStruck": + result = STARSTRUCK_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + case "goofy": + result = GOOFY_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + case "thinking": + result = THINKING_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + case "surprised": + result = SURPRISED_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + case "mindBlown": + result = MINDBLOWN_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + case "scared": + result = SCARED_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + case "crying": + result = CRYING_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + case "shocked": + result = SHOCKED_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + case "angry": + result = ANGRY_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + case "agree": + result = AGREE_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + case "praise": + result = PRAISE_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + case "takingNotes": + result = TAKINGNOTES_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + case "heartBroken": + result = HEARTBROKEN_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + case "support": + result = SUPPORT_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + case "confirmed": + result = CONFIRMED_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + case "watching": + result = WATCHING_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + case "brain": + result = BRAIN_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + case "medal": + result = MEDAL_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + case "bullseye": + result = BULLSEYE_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_ENGAGEMENTCONVERSATIONMESSAGEREACTIONTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeEngagementConversationMessageReactionType(values []EngagementConversationMessageReactionType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i EngagementConversationMessageReactionType) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_moderation_state.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_moderation_state.go new file mode 100644 index 0000000000..f69963a767 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_moderation_state.go @@ -0,0 +1,47 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +// Represents the moderation state of an Engage conversation message. +type EngagementConversationModerationState int + +const ( + // The content is published. + PUBLISHED_ENGAGEMENTCONVERSATIONMODERATIONSTATE EngagementConversationModerationState = iota + // The content is pending review by a moderator. + PENDINGREVIEW_ENGAGEMENTCONVERSATIONMODERATIONSTATE + // he content has been rejected by a moderator. + DISMISSED_ENGAGEMENTCONVERSATIONMODERATIONSTATE + // A marker value for members added after the release of this API. + UNKNOWNFUTUREVALUE_ENGAGEMENTCONVERSATIONMODERATIONSTATE +) + +func (i EngagementConversationModerationState) String() string { + return []string{"published", "pendingReview", "dismissed", "unknownFutureValue"}[i] +} +func ParseEngagementConversationModerationState(v string) (any, error) { + result := PUBLISHED_ENGAGEMENTCONVERSATIONMODERATIONSTATE + switch v { + case "published": + result = PUBLISHED_ENGAGEMENTCONVERSATIONMODERATIONSTATE + case "pendingReview": + result = PENDINGREVIEW_ENGAGEMENTCONVERSATIONMODERATIONSTATE + case "dismissed": + result = DISMISSED_ENGAGEMENTCONVERSATIONMODERATIONSTATE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_ENGAGEMENTCONVERSATIONMODERATIONSTATE + default: + return nil, nil + } + return &result, nil +} +func SerializeEngagementConversationModerationState(values []EngagementConversationModerationState) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i EngagementConversationModerationState) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_question_message.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_question_message.go new file mode 100644 index 0000000000..40567a9a2a --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_question_message.go @@ -0,0 +1,82 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// EngagementConversationQuestionMessage a Viva Engage conversation question message. +type EngagementConversationQuestionMessage struct { + EngagementConversationMessage +} +// NewEngagementConversationQuestionMessage instantiates a new EngagementConversationQuestionMessage and sets the default values. +func NewEngagementConversationQuestionMessage()(*EngagementConversationQuestionMessage) { + m := &EngagementConversationQuestionMessage{ + EngagementConversationMessage: *NewEngagementConversationMessage(), + } + odataTypeValue := "#microsoft.graph.engagementConversationQuestionMessage" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateEngagementConversationQuestionMessageFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEngagementConversationQuestionMessageFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEngagementConversationQuestionMessage(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EngagementConversationQuestionMessage) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.EngagementConversationMessage.GetFieldDeserializers() + res["title"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetTitle(val) + } + return nil + } + return res +} +// GetTitle gets the title property value. The title of the question post message on Viva Engage. Inherited from engagementConversationMessage. +// returns a *string when successful +func (m *EngagementConversationQuestionMessage) GetTitle()(*string) { + val, err := m.GetBackingStore().Get("title") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *EngagementConversationQuestionMessage) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.EngagementConversationMessage.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("title", m.GetTitle()) + if err != nil { + return err + } + } + return nil +} +// SetTitle sets the title property value. The title of the question post message on Viva Engage. Inherited from engagementConversationMessage. +func (m *EngagementConversationQuestionMessage) SetTitle(value *string)() { + err := m.GetBackingStore().Set("title", value) + if err != nil { + panic(err) + } +} +type EngagementConversationQuestionMessageable interface { + EngagementConversationMessageable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetTitle()(*string) + SetTitle(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_system_message.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_system_message.go new file mode 100644 index 0000000000..5220dd7a0a --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_conversation_system_message.go @@ -0,0 +1,45 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// EngagementConversationSystemMessage a Viva Engage conversation system message. +type EngagementConversationSystemMessage struct { + EngagementConversationMessage +} +// NewEngagementConversationSystemMessage instantiates a new EngagementConversationSystemMessage and sets the default values. +func NewEngagementConversationSystemMessage()(*EngagementConversationSystemMessage) { + m := &EngagementConversationSystemMessage{ + EngagementConversationMessage: *NewEngagementConversationMessage(), + } + odataTypeValue := "#microsoft.graph.engagementConversationSystemMessage" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateEngagementConversationSystemMessageFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEngagementConversationSystemMessageFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEngagementConversationSystemMessage(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EngagementConversationSystemMessage) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.EngagementConversationMessage.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *EngagementConversationSystemMessage) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.EngagementConversationMessage.Serialize(writer) + if err != nil { + return err + } + return nil +} +type EngagementConversationSystemMessageable interface { + EngagementConversationMessageable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_creation_mode.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_creation_mode.go new file mode 100644 index 0000000000..2eb8f3f3b4 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_creation_mode.go @@ -0,0 +1,43 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +// Indicates that the resource is in migration state and is currently being used for migration purposes. +type EngagementCreationMode int + +const ( + // Unspecified creation mode. + NONE_ENGAGEMENTCREATIONMODE EngagementCreationMode = iota + // Creation is a migration. + MIGRATION_ENGAGEMENTCREATIONMODE + // A marker value for members added after the release of this API. + UNKNOWNFUTUREVALUE_ENGAGEMENTCREATIONMODE +) + +func (i EngagementCreationMode) String() string { + return []string{"none", "migration", "unknownFutureValue"}[i] +} +func ParseEngagementCreationMode(v string) (any, error) { + result := NONE_ENGAGEMENTCREATIONMODE + switch v { + case "none": + result = NONE_ENGAGEMENTCREATIONMODE + case "migration": + result = MIGRATION_ENGAGEMENTCREATIONMODE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_ENGAGEMENTCREATIONMODE + default: + return nil, nil + } + return &result, nil +} +func SerializeEngagementCreationMode(values []EngagementCreationMode) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i EngagementCreationMode) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_identity_set.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_identity_set.go new file mode 100644 index 0000000000..180733f508 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_identity_set.go @@ -0,0 +1,119 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// EngagementIdentitySet the Viva Engage identities. +type EngagementIdentitySet struct { + IdentitySet +} +// NewEngagementIdentitySet instantiates a new EngagementIdentitySet and sets the default values. +func NewEngagementIdentitySet()(*EngagementIdentitySet) { + m := &EngagementIdentitySet{ + IdentitySet: *NewIdentitySet(), + } + odataTypeValue := "#microsoft.graph.engagementIdentitySet" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateEngagementIdentitySetFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEngagementIdentitySetFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEngagementIdentitySet(), nil +} +// GetAudience gets the audience property value. Optional. The audience associated with this action. +// returns a Identityable when successful +func (m *EngagementIdentitySet) GetAudience()(Identityable) { + val, err := m.GetBackingStore().Get("audience") + if err != nil { + panic(err) + } + if val != nil { + return val.(Identityable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EngagementIdentitySet) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.IdentitySet.GetFieldDeserializers() + res["audience"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateIdentityFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetAudience(val.(Identityable)) + } + return nil + } + res["group"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateIdentityFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetGroup(val.(Identityable)) + } + return nil + } + return res +} +// GetGroup gets the group property value. Optional. The group associated with this action. +// returns a Identityable when successful +func (m *EngagementIdentitySet) GetGroup()(Identityable) { + val, err := m.GetBackingStore().Get("group") + if err != nil { + panic(err) + } + if val != nil { + return val.(Identityable) + } + return nil +} +// Serialize serializes information the current object +func (m *EngagementIdentitySet) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.IdentitySet.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("audience", m.GetAudience()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("group", m.GetGroup()) + if err != nil { + return err + } + } + return nil +} +// SetAudience sets the audience property value. Optional. The audience associated with this action. +func (m *EngagementIdentitySet) SetAudience(value Identityable)() { + err := m.GetBackingStore().Set("audience", value) + if err != nil { + panic(err) + } +} +// SetGroup sets the group property value. Optional. The group associated with this action. +func (m *EngagementIdentitySet) SetGroup(value Identityable)() { + err := m.GetBackingStore().Set("group", value) + if err != nil { + panic(err) + } +} +type EngagementIdentitySetable interface { + IdentitySetable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAudience()(Identityable) + GetGroup()(Identityable) + SetAudience(value Identityable)() + SetGroup(value Identityable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_role.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_role.go new file mode 100644 index 0000000000..7155863b59 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_role.go @@ -0,0 +1,129 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// EngagementRole represents a Viva Engage role and its members +type EngagementRole struct { + Entity +} +// NewEngagementRole instantiates a new EngagementRole and sets the default values. +func NewEngagementRole()(*EngagementRole) { + m := &EngagementRole{ + Entity: *NewEntity(), + } + return m +} +// CreateEngagementRoleFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEngagementRoleFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEngagementRole(), nil +} +// GetDisplayName gets the displayName property value. The name of the role. +// returns a *string when successful +func (m *EngagementRole) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EngagementRole) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } + res["members"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateEngagementRoleMemberFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]EngagementRoleMemberable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(EngagementRoleMemberable) + } + } + m.SetMembers(res) + } + return nil + } + return res +} +// GetMembers gets the members property value. Users that have this role assigned. +// returns a []EngagementRoleMemberable when successful +func (m *EngagementRole) GetMembers()([]EngagementRoleMemberable) { + val, err := m.GetBackingStore().Get("members") + if err != nil { + panic(err) + } + if val != nil { + return val.([]EngagementRoleMemberable) + } + return nil +} +// Serialize serializes information the current object +func (m *EngagementRole) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + if m.GetMembers() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetMembers())) + for i, v := range m.GetMembers() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("members", cast) + if err != nil { + return err + } + } + return nil +} +// SetDisplayName sets the displayName property value. The name of the role. +func (m *EngagementRole) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetMembers sets the members property value. Users that have this role assigned. +func (m *EngagementRole) SetMembers(value []EngagementRoleMemberable)() { + err := m.GetBackingStore().Set("members", value) + if err != nil { + panic(err) + } +} +type EngagementRoleable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetDisplayName()(*string) + GetMembers()([]EngagementRoleMemberable) + SetDisplayName(value *string)() + SetMembers(value []EngagementRoleMemberable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_role_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_role_collection_response.go new file mode 100644 index 0000000000..8114e0e31d --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_role_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type EngagementRoleCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewEngagementRoleCollectionResponse instantiates a new EngagementRoleCollectionResponse and sets the default values. +func NewEngagementRoleCollectionResponse()(*EngagementRoleCollectionResponse) { + m := &EngagementRoleCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateEngagementRoleCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEngagementRoleCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEngagementRoleCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EngagementRoleCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateEngagementRoleFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]EngagementRoleable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(EngagementRoleable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []EngagementRoleable when successful +func (m *EngagementRoleCollectionResponse) GetValue()([]EngagementRoleable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]EngagementRoleable) + } + return nil +} +// Serialize serializes information the current object +func (m *EngagementRoleCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *EngagementRoleCollectionResponse) SetValue(value []EngagementRoleable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type EngagementRoleCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]EngagementRoleable) + SetValue(value []EngagementRoleable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_role_member.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_role_member.go new file mode 100644 index 0000000000..777a6e6e8a --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_role_member.go @@ -0,0 +1,143 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// EngagementRoleMember entity to represent the assignment of a role to a user. +type EngagementRoleMember struct { + Entity +} +// NewEngagementRoleMember instantiates a new EngagementRoleMember and sets the default values. +func NewEngagementRoleMember()(*EngagementRoleMember) { + m := &EngagementRoleMember{ + Entity: *NewEntity(), + } + return m +} +// CreateEngagementRoleMemberFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEngagementRoleMemberFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEngagementRoleMember(), nil +} +// GetCreatedDateTime gets the createdDateTime property value. The date and time when the role was assigned to the user. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +// returns a *Time when successful +func (m *EngagementRoleMember) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("createdDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EngagementRoleMember) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetCreatedDateTime(val) + } + return nil + } + res["user"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateUserFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetUser(val.(Userable)) + } + return nil + } + res["userId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetUserId(val) + } + return nil + } + return res +} +// GetUser gets the user property value. The user who has this role assigned. +// returns a Userable when successful +func (m *EngagementRoleMember) GetUser()(Userable) { + val, err := m.GetBackingStore().Get("user") + if err != nil { + panic(err) + } + if val != nil { + return val.(Userable) + } + return nil +} +// GetUserId gets the userId property value. The Microsoft Entra ID of the user who has the role assigned. +// returns a *string when successful +func (m *EngagementRoleMember) GetUserId()(*string) { + val, err := m.GetBackingStore().Get("userId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *EngagementRoleMember) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("user", m.GetUser()) + if err != nil { + return err + } + } + return nil +} +// SetCreatedDateTime sets the createdDateTime property value. The date and time when the role was assigned to the user. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +func (m *EngagementRoleMember) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("createdDateTime", value) + if err != nil { + panic(err) + } +} +// SetUser sets the user property value. The user who has this role assigned. +func (m *EngagementRoleMember) SetUser(value Userable)() { + err := m.GetBackingStore().Set("user", value) + if err != nil { + panic(err) + } +} +// SetUserId sets the userId property value. The Microsoft Entra ID of the user who has the role assigned. +func (m *EngagementRoleMember) SetUserId(value *string)() { + err := m.GetBackingStore().Set("userId", value) + if err != nil { + panic(err) + } +} +type EngagementRoleMemberable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetUser()(Userable) + GetUserId()(*string) + SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetUser(value Userable)() + SetUserId(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_role_member_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_role_member_collection_response.go new file mode 100644 index 0000000000..392e42b54c --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/engagement_role_member_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type EngagementRoleMemberCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewEngagementRoleMemberCollectionResponse instantiates a new EngagementRoleMemberCollectionResponse and sets the default values. +func NewEngagementRoleMemberCollectionResponse()(*EngagementRoleMemberCollectionResponse) { + m := &EngagementRoleMemberCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateEngagementRoleMemberCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEngagementRoleMemberCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEngagementRoleMemberCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EngagementRoleMemberCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateEngagementRoleMemberFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]EngagementRoleMemberable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(EngagementRoleMemberable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []EngagementRoleMemberable when successful +func (m *EngagementRoleMemberCollectionResponse) GetValue()([]EngagementRoleMemberable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]EngagementRoleMemberable) + } + return nil +} +// Serialize serializes information the current object +func (m *EngagementRoleMemberCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *EngagementRoleMemberCollectionResponse) SetValue(value []EngagementRoleMemberable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type EngagementRoleMemberCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]EngagementRoleMemberable) + SetValue(value []EngagementRoleMemberable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/entity.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/entity.go index 98b68768ac..8b59bb24c6 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/entity.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/entity.go @@ -95,6 +95,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewActivityHistoryItem(), nil case "#microsoft.graph.addLargeGalleryViewOperation": return NewAddLargeGalleryViewOperation(), nil + case "#microsoft.graph.adhocCall": + return NewAdhocCall(), nil case "#microsoft.graph.adminConsentRequestPolicy": return NewAdminConsentRequestPolicy(), nil case "#microsoft.graph.administrativeUnit": @@ -119,8 +121,12 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewAiInteraction(), nil case "#microsoft.graph.aiInteractionHistory": return NewAiInteractionHistory(), nil + case "#microsoft.graph.aiOnlineMeeting": + return NewAiOnlineMeeting(), nil case "#microsoft.graph.aiUser": return NewAiUser(), nil + case "#microsoft.graph.akamaiWebApplicationFirewallProvider": + return NewAkamaiWebApplicationFirewallProvider(), nil case "#microsoft.graph.alert": return NewAlert(), nil case "#microsoft.graph.allowedValue": @@ -175,6 +181,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewApprovalStage(), nil case "#microsoft.graph.appScope": return NewAppScope(), nil + case "#microsoft.graph.arkoseFraudProtectionProvider": + return NewArkoseFraudProtectionProvider(), nil case "#microsoft.graph.associatedTeamInfo": return NewAssociatedTeamInfo(), nil case "#microsoft.graph.attachment": @@ -241,6 +249,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewBaseItem(), nil case "#microsoft.graph.baseItemVersion": return NewBaseItemVersion(), nil + case "#microsoft.graph.baseMapFeature": + return NewBaseMapFeature(), nil case "#microsoft.graph.baseSitePage": return NewBaseSitePage(), nil case "#microsoft.graph.bitlocker": @@ -271,6 +281,10 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewBrowserSite(), nil case "#microsoft.graph.browserSiteList": return NewBrowserSiteList(), nil + case "#microsoft.graph.building": + return NewBuilding(), nil + case "#microsoft.graph.buildingMap": + return NewBuildingMap(), nil case "#microsoft.graph.builtInIdentityProvider": return NewBuiltInIdentityProvider(), nil case "#microsoft.graph.bulkUpload": @@ -285,6 +299,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewCalendarSharingMessage(), nil case "#microsoft.graph.call": return NewCall(), nil + case "#microsoft.graph.callAiInsight": + return NewCallAiInsight(), nil case "#microsoft.graph.callEvent": return NewCallEvent(), nil case "#microsoft.graph.callRecording": @@ -321,6 +337,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewCloudClipboardItem(), nil case "#microsoft.graph.cloudClipboardRoot": return NewCloudClipboardRoot(), nil + case "#microsoft.graph.cloudFlareWebApplicationFirewallProvider": + return NewCloudFlareWebApplicationFirewallProvider(), nil case "#microsoft.graph.cloudPC": return NewCloudPC(), nil case "#microsoft.graph.cloudPcAuditEvent": @@ -335,6 +353,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewCloudPcProvisioningPolicy(), nil case "#microsoft.graph.cloudPcProvisioningPolicyAssignment": return NewCloudPcProvisioningPolicyAssignment(), nil + case "#microsoft.graph.cloudPcReport": + return NewCloudPcReport(), nil case "#microsoft.graph.cloudPcUserSetting": return NewCloudPcUserSetting(), nil case "#microsoft.graph.cloudPcUserSettingAssignment": @@ -383,6 +403,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewCopilotAdminLimitedMode(), nil case "#microsoft.graph.copilotAdminSetting": return NewCopilotAdminSetting(), nil + case "#microsoft.graph.copilotReportRoot": + return NewCopilotReportRoot(), nil case "#microsoft.graph.countryNamedLocation": return NewCountryNamedLocation(), nil case "#microsoft.graph.crossTenantAccessPolicy": @@ -427,6 +449,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewDeletedTeam(), nil case "#microsoft.graph.deltaParticipants": return NewDeltaParticipants(), nil + case "#microsoft.graph.desk": + return NewDesk(), nil case "#microsoft.graph.detectedApp": return NewDetectedApp(), nil case "#microsoft.graph.device": @@ -579,6 +603,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewEducationFeedbackResourceOutcome(), nil case "#microsoft.graph.educationGradingCategory": return NewEducationGradingCategory(), nil + case "#microsoft.graph.educationGradingScheme": + return NewEducationGradingScheme(), nil case "#microsoft.graph.educationModule": return NewEducationModule(), nil case "#microsoft.graph.educationModuleResource": @@ -619,6 +645,22 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewEndUserNotificationDetail(), nil case "#microsoft.graph.engagementAsyncOperation": return NewEngagementAsyncOperation(), nil + case "#microsoft.graph.engagementConversation": + return NewEngagementConversation(), nil + case "#microsoft.graph.engagementConversationDiscussionMessage": + return NewEngagementConversationDiscussionMessage(), nil + case "#microsoft.graph.engagementConversationMessage": + return NewEngagementConversationMessage(), nil + case "#microsoft.graph.engagementConversationMessageReaction": + return NewEngagementConversationMessageReaction(), nil + case "#microsoft.graph.engagementConversationQuestionMessage": + return NewEngagementConversationQuestionMessage(), nil + case "#microsoft.graph.engagementConversationSystemMessage": + return NewEngagementConversationSystemMessage(), nil + case "#microsoft.graph.engagementRole": + return NewEngagementRole(), nil + case "#microsoft.graph.engagementRoleMember": + return NewEngagementRoleMember(), nil case "#microsoft.graph.enrollmentConfigurationAssignment": return NewEnrollmentConfigurationAssignment(), nil case "#microsoft.graph.enrollmentTroubleshootingEvent": @@ -645,6 +687,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewExtension(), nil case "#microsoft.graph.extensionProperty": return NewExtensionProperty(), nil + case "#microsoft.graph.externalAuthenticationMethod": + return NewExternalAuthenticationMethod(), nil case "#microsoft.graph.externalDomainName": return NewExternalDomainName(), nil case "#microsoft.graph.externalUsersSelfServiceSignUpEventsFlow": @@ -669,8 +713,20 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewFileStorage(), nil case "#microsoft.graph.fileStorageContainer": return NewFileStorageContainer(), nil + case "#microsoft.graph.fileStorageContainerType": + return NewFileStorageContainerType(), nil + case "#microsoft.graph.fileStorageContainerTypeRegistration": + return NewFileStorageContainerTypeRegistration(), nil case "#microsoft.graph.filterOperatorSchema": return NewFilterOperatorSchema(), nil + case "#microsoft.graph.fixtureMap": + return NewFixtureMap(), nil + case "#microsoft.graph.floor": + return NewFloor(), nil + case "#microsoft.graph.footprintMap": + return NewFootprintMap(), nil + case "#microsoft.graph.fraudProtectionProvider": + return NewFraudProtectionProvider(), nil case "#microsoft.graph.governanceInsight": return NewGovernanceInsight(), nil case "#microsoft.graph.granularMailboxRestoreArtifact": @@ -689,6 +745,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewHorizontalSection(), nil case "#microsoft.graph.horizontalSectionColumn": return NewHorizontalSectionColumn(), nil + case "#microsoft.graph.humanSecurityFraudProtectionProvider": + return NewHumanSecurityFraudProtectionProvider(), nil case "#microsoft.graph.identityApiConnector": return NewIdentityApiConnector(), nil case "#microsoft.graph.identityBuiltInUserFlowAttribute": @@ -791,6 +849,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewLearningProvider(), nil case "#microsoft.graph.learningSelfInitiatedCourse": return NewLearningSelfInitiatedCourse(), nil + case "#microsoft.graph.levelMap": + return NewLevelMap(), nil case "#microsoft.graph.licenseDetails": return NewLicenseDetails(), nil case "#microsoft.graph.linkedResource": @@ -961,6 +1021,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewOfferShiftRequest(), nil case "#microsoft.graph.officeGraphInsights": return NewOfficeGraphInsights(), nil + case "#microsoft.graph.oidcIdentityProvider": + return NewOidcIdentityProvider(), nil case "#microsoft.graph.onAttributeCollectionListener": return NewOnAttributeCollectionListener(), nil case "#microsoft.graph.onAttributeCollectionStartCustomExtension": @@ -995,18 +1057,24 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewOnenoteResource(), nil case "#microsoft.graph.onenoteSection": return NewOnenoteSection(), nil + case "#microsoft.graph.onFraudProtectionLoadStartListener": + return NewOnFraudProtectionLoadStartListener(), nil case "#microsoft.graph.onInteractiveAuthFlowStartListener": return NewOnInteractiveAuthFlowStartListener(), nil case "#microsoft.graph.onlineMeeting": return NewOnlineMeeting(), nil case "#microsoft.graph.onlineMeetingBase": return NewOnlineMeetingBase(), nil + case "#microsoft.graph.onlineMeetingEngagementConversation": + return NewOnlineMeetingEngagementConversation(), nil case "#microsoft.graph.onOtpSendCustomExtension": return NewOnOtpSendCustomExtension(), nil case "#microsoft.graph.onPremisesConditionalAccessSettings": return NewOnPremisesConditionalAccessSettings(), nil case "#microsoft.graph.onPremisesDirectorySynchronization": return NewOnPremisesDirectorySynchronization(), nil + case "#microsoft.graph.onPremisesSyncBehavior": + return NewOnPremisesSyncBehavior(), nil case "#microsoft.graph.onTokenIssuanceStartCustomExtension": return NewOnTokenIssuanceStartCustomExtension(), nil case "#microsoft.graph.onTokenIssuanceStartListener": @@ -1179,6 +1247,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewRbacApplication(), nil case "#microsoft.graph.readingAssignmentSubmission": return NewReadingAssignmentSubmission(), nil + case "#microsoft.graph.readingCoachPassage": + return NewReadingCoachPassage(), nil case "#microsoft.graph.recordOperation": return NewRecordOperation(), nil case "#microsoft.graph.recycleBin": @@ -1249,8 +1319,12 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewScopedRoleMembership(), nil case "#microsoft.graph.searchEntity": return NewSearchEntity(), nil + case "#microsoft.graph.section": + return NewSection(), nil case "#microsoft.graph.sectionGroup": return NewSectionGroup(), nil + case "#microsoft.graph.sectionMap": + return NewSectionMap(), nil case "#microsoft.graph.secureScore": return NewSecureScore(), nil case "#microsoft.graph.secureScoreControlProfile": @@ -1295,6 +1369,26 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewSharedWithChannelTeamInfo(), nil case "#microsoft.graph.sharepoint": return NewSharepoint(), nil + case "#microsoft.graph.sharePointMigrationEvent": + return NewSharePointMigrationEvent(), nil + case "#microsoft.graph.sharePointMigrationFinishManifestFileUploadEvent": + return NewSharePointMigrationFinishManifestFileUploadEvent(), nil + case "#microsoft.graph.sharePointMigrationJob": + return NewSharePointMigrationJob(), nil + case "#microsoft.graph.sharePointMigrationJobCancelledEvent": + return NewSharePointMigrationJobCancelledEvent(), nil + case "#microsoft.graph.sharePointMigrationJobDeletedEvent": + return NewSharePointMigrationJobDeletedEvent(), nil + case "#microsoft.graph.sharePointMigrationJobErrorEvent": + return NewSharePointMigrationJobErrorEvent(), nil + case "#microsoft.graph.sharePointMigrationJobPostponedEvent": + return NewSharePointMigrationJobPostponedEvent(), nil + case "#microsoft.graph.sharePointMigrationJobProgressEvent": + return NewSharePointMigrationJobProgressEvent(), nil + case "#microsoft.graph.sharePointMigrationJobQueuedEvent": + return NewSharePointMigrationJobQueuedEvent(), nil + case "#microsoft.graph.sharePointMigrationJobStartEvent": + return NewSharePointMigrationJobStartEvent(), nil case "#microsoft.graph.sharePointProtectionPolicy": return NewSharePointProtectionPolicy(), nil case "#microsoft.graph.sharePointRestoreSession": @@ -1345,6 +1439,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewSoftwareOathAuthenticationMethodConfiguration(), nil case "#microsoft.graph.softwareUpdateStatusSummary": return NewSoftwareUpdateStatusSummary(), nil + case "#microsoft.graph.speakerAssignmentSubmission": + return NewSpeakerAssignmentSubmission(), nil case "#microsoft.graph.standardWebPart": return NewStandardWebPart(), nil case "#microsoft.graph.startHoldMusicOperation": @@ -1413,8 +1509,6 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewTeamworkTag(), nil case "#microsoft.graph.teamworkTagMember": return NewTeamworkTagMember(), nil - case "#microsoft.graph.telecomExpenseManagementPartner": - return NewTelecomExpenseManagementPartner(), nil case "#microsoft.graph.temporaryAccessPassAuthenticationMethod": return NewTemporaryAccessPassAuthenticationMethod(), nil case "#microsoft.graph.temporaryAccessPassAuthenticationMethodConfiguration": @@ -1507,6 +1601,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewUnifiedRoleScheduleInstanceBase(), nil case "#microsoft.graph.unifiedStorageQuota": return NewUnifiedStorageQuota(), nil + case "#microsoft.graph.unitMap": + return NewUnitMap(), nil case "#microsoft.graph.unmuteParticipantOperation": return NewUnmuteParticipantOperation(), nil case "#microsoft.graph.updateRecordingStatusOperation": @@ -1631,6 +1727,10 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewVppToken(), nil case "#microsoft.graph.webApp": return NewWebApp(), nil + case "#microsoft.graph.webApplicationFirewallProvider": + return NewWebApplicationFirewallProvider(), nil + case "#microsoft.graph.webApplicationFirewallVerificationModel": + return NewWebApplicationFirewallVerificationModel(), nil case "#microsoft.graph.webPart": return NewWebPart(), nil case "#microsoft.graph.whatIfAnalysisResult": @@ -1803,8 +1903,16 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewWorkbookWorksheetProtection(), nil case "#microsoft.graph.workforceIntegration": return NewWorkforceIntegration(), nil + case "#microsoft.graph.workHoursAndLocationsSetting": + return NewWorkHoursAndLocationsSetting(), nil case "#microsoft.graph.workingTimeSchedule": return NewWorkingTimeSchedule(), nil + case "#microsoft.graph.workPlanOccurrence": + return NewWorkPlanOccurrence(), nil + case "#microsoft.graph.workPlanRecurrence": + return NewWorkPlanRecurrence(), nil + case "#microsoft.graph.workspace": + return NewWorkspace(), nil case "#microsoft.graph.x509CertificateAuthenticationMethodConfiguration": return NewX509CertificateAuthenticationMethodConfiguration(), nil case "#microsoft.graph.x509CertificateCombinationConfiguration": diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/event.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/event.go index 4d68961273..8399a72c23 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/event.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/event.go @@ -945,7 +945,7 @@ func (m *Event) GetResponseStatus()(ResponseStatusable) { } return nil } -// GetSensitivity gets the sensitivity property value. Possible values are: normal, personal, private, and confidential. +// GetSensitivity gets the sensitivity property value. The possible values are: normal, personal, private, and confidential. // returns a *Sensitivity when successful func (m *Event) GetSensitivity()(*Sensitivity) { val, err := m.GetBackingStore().Get("sensitivity") @@ -969,7 +969,7 @@ func (m *Event) GetSeriesMasterId()(*string) { } return nil } -// GetShowAs gets the showAs property value. The status to show. Possible values are: free, tentative, busy, oof, workingElsewhere, unknown. +// GetShowAs gets the showAs property value. The status to show. The possible values are: free, tentative, busy, oof, workingElsewhere, unknown. // returns a *FreeBusyStatus when successful func (m *Event) GetShowAs()(*FreeBusyStatus) { val, err := m.GetBackingStore().Get("showAs") @@ -1029,7 +1029,7 @@ func (m *Event) GetTransactionId()(*string) { } return nil } -// GetTypeEscaped gets the type property value. The event type. Possible values are: singleInstance, occurrence, exception, seriesMaster. Read-only +// GetTypeEscaped gets the type property value. The event type. The possible values are: singleInstance, occurrence, exception, seriesMaster. Read-only // returns a *EventType when successful func (m *Event) GetTypeEscaped()(*EventType) { val, err := m.GetBackingStore().Get("typeEscaped") @@ -1623,7 +1623,7 @@ func (m *Event) SetResponseStatus(value ResponseStatusable)() { panic(err) } } -// SetSensitivity sets the sensitivity property value. Possible values are: normal, personal, private, and confidential. +// SetSensitivity sets the sensitivity property value. The possible values are: normal, personal, private, and confidential. func (m *Event) SetSensitivity(value *Sensitivity)() { err := m.GetBackingStore().Set("sensitivity", value) if err != nil { @@ -1637,7 +1637,7 @@ func (m *Event) SetSeriesMasterId(value *string)() { panic(err) } } -// SetShowAs sets the showAs property value. The status to show. Possible values are: free, tentative, busy, oof, workingElsewhere, unknown. +// SetShowAs sets the showAs property value. The status to show. The possible values are: free, tentative, busy, oof, workingElsewhere, unknown. func (m *Event) SetShowAs(value *FreeBusyStatus)() { err := m.GetBackingStore().Set("showAs", value) if err != nil { @@ -1672,7 +1672,7 @@ func (m *Event) SetTransactionId(value *string)() { panic(err) } } -// SetTypeEscaped sets the type property value. The event type. Possible values are: singleInstance, occurrence, exception, seriesMaster. Read-only +// SetTypeEscaped sets the type property value. The event type. The possible values are: singleInstance, occurrence, exception, seriesMaster. Read-only func (m *Event) SetTypeEscaped(value *EventType)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/event_message_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/event_message_response.go index 1815f0e5b3..642ad130df 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/event_message_response.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/event_message_response.go @@ -62,7 +62,7 @@ func (m *EventMessageResponse) GetProposedNewTime()(TimeSlotable) { } return nil } -// GetResponseType gets the responseType property value. Specifies the type of response to a meeting request. Possible values are: tentativelyAccepted, accepted, declined. For the eventMessageResponse type, none, organizer, and notResponded are not supported. Read-only. Not filterable. +// GetResponseType gets the responseType property value. Specifies the type of response to a meeting request. The possible values are: tentativelyAccepted, accepted, declined. For the eventMessageResponse type, none, organizer, and notResponded are not supported. Read-only. Not filterable. // returns a *ResponseType when successful func (m *EventMessageResponse) GetResponseType()(*ResponseType) { val, err := m.GetBackingStore().Get("responseType") @@ -102,7 +102,7 @@ func (m *EventMessageResponse) SetProposedNewTime(value TimeSlotable)() { panic(err) } } -// SetResponseType sets the responseType property value. Specifies the type of response to a meeting request. Possible values are: tentativelyAccepted, accepted, declined. For the eventMessageResponse type, none, organizer, and notResponded are not supported. Read-only. Not filterable. +// SetResponseType sets the responseType property value. Specifies the type of response to a meeting request. The possible values are: tentativelyAccepted, accepted, declined. For the eventMessageResponse type, none, organizer, and notResponded are not supported. Read-only. Not filterable. func (m *EventMessageResponse) SetResponseType(value *ResponseType)() { err := m.GetBackingStore().Set("responseType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/external_authentication_method.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/external_authentication_method.go new file mode 100644 index 0000000000..c9a4efd6e1 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/external_authentication_method.go @@ -0,0 +1,118 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ExternalAuthenticationMethod struct { + AuthenticationMethod +} +// NewExternalAuthenticationMethod instantiates a new ExternalAuthenticationMethod and sets the default values. +func NewExternalAuthenticationMethod()(*ExternalAuthenticationMethod) { + m := &ExternalAuthenticationMethod{ + AuthenticationMethod: *NewAuthenticationMethod(), + } + odataTypeValue := "#microsoft.graph.externalAuthenticationMethod" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateExternalAuthenticationMethodFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateExternalAuthenticationMethodFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewExternalAuthenticationMethod(), nil +} +// GetConfigurationId gets the configurationId property value. A unique identifier used to manage the external auth method within Microsoft Entra ID. +// returns a *string when successful +func (m *ExternalAuthenticationMethod) GetConfigurationId()(*string) { + val, err := m.GetBackingStore().Get("configurationId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDisplayName gets the displayName property value. Custom name given to the registered external authentication method. +// returns a *string when successful +func (m *ExternalAuthenticationMethod) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ExternalAuthenticationMethod) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.AuthenticationMethod.GetFieldDeserializers() + res["configurationId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetConfigurationId(val) + } + return nil + } + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *ExternalAuthenticationMethod) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.AuthenticationMethod.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("configurationId", m.GetConfigurationId()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + return nil +} +// SetConfigurationId sets the configurationId property value. A unique identifier used to manage the external auth method within Microsoft Entra ID. +func (m *ExternalAuthenticationMethod) SetConfigurationId(value *string)() { + err := m.GetBackingStore().Set("configurationId", value) + if err != nil { + panic(err) + } +} +// SetDisplayName sets the displayName property value. Custom name given to the registered external authentication method. +func (m *ExternalAuthenticationMethod) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +type ExternalAuthenticationMethodable interface { + AuthenticationMethodable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetConfigurationId()(*string) + GetDisplayName()(*string) + SetConfigurationId(value *string)() + SetDisplayName(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/external_authentication_method_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/external_authentication_method_collection_response.go new file mode 100644 index 0000000000..1cdcd6c93f --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/external_authentication_method_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ExternalAuthenticationMethodCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewExternalAuthenticationMethodCollectionResponse instantiates a new ExternalAuthenticationMethodCollectionResponse and sets the default values. +func NewExternalAuthenticationMethodCollectionResponse()(*ExternalAuthenticationMethodCollectionResponse) { + m := &ExternalAuthenticationMethodCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateExternalAuthenticationMethodCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateExternalAuthenticationMethodCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewExternalAuthenticationMethodCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ExternalAuthenticationMethodCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateExternalAuthenticationMethodFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ExternalAuthenticationMethodable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ExternalAuthenticationMethodable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ExternalAuthenticationMethodable when successful +func (m *ExternalAuthenticationMethodCollectionResponse) GetValue()([]ExternalAuthenticationMethodable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ExternalAuthenticationMethodable) + } + return nil +} +// Serialize serializes information the current object +func (m *ExternalAuthenticationMethodCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *ExternalAuthenticationMethodCollectionResponse) SetValue(value []ExternalAuthenticationMethodable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ExternalAuthenticationMethodCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ExternalAuthenticationMethodable) + SetValue(value []ExternalAuthenticationMethodable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/externalconnectors/connection_operation.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/externalconnectors/connection_operation.go index 646aa7319e..0dcb7d6f44 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/externalconnectors/connection_operation.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/externalconnectors/connection_operation.go @@ -61,7 +61,7 @@ func (m *ConnectionOperation) GetFieldDeserializers()(map[string]func(i878a80d23 } return res } -// GetStatus gets the status property value. Indicates the status of the asynchronous operation. Possible values are: unspecified, inprogress, completed, failed, unknownFutureValue. +// GetStatus gets the status property value. Indicates the status of the asynchronous operation. The possible values are: unspecified, inprogress, completed, failed, unknownFutureValue. // returns a *ConnectionOperationStatus when successful func (m *ConnectionOperation) GetStatus()(*ConnectionOperationStatus) { val, err := m.GetBackingStore().Get("status") @@ -101,7 +101,7 @@ func (m *ConnectionOperation) SetError(value iadcd81124412c61e647227ecfc4449d8bb panic(err) } } -// SetStatus sets the status property value. Indicates the status of the asynchronous operation. Possible values are: unspecified, inprogress, completed, failed, unknownFutureValue. +// SetStatus sets the status property value. Indicates the status of the asynchronous operation. The possible values are: unspecified, inprogress, completed, failed, unknownFutureValue. func (m *ConnectionOperation) SetStatus(value *ConnectionOperationStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/externalconnectors/external_connection.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/externalconnectors/external_connection.go index dee6507fe7..09cc1eb1f9 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/externalconnectors/external_connection.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/externalconnectors/external_connection.go @@ -277,7 +277,7 @@ func (m *ExternalConnection) GetSearchSettings()(SearchSettingsable) { } return nil } -// GetState gets the state property value. Indicates the current state of the connection. Possible values are: draft, ready, obsolete, limitExceeded, unknownFutureValue. +// GetState gets the state property value. Indicates the current state of the connection. The possible values are: draft, ready, obsolete, limitExceeded, unknownFutureValue. // returns a *ConnectionState when successful func (m *ExternalConnection) GetState()(*ConnectionState) { val, err := m.GetBackingStore().Get("state") @@ -445,7 +445,7 @@ func (m *ExternalConnection) SetSearchSettings(value SearchSettingsable)() { panic(err) } } -// SetState sets the state property value. Indicates the current state of the connection. Possible values are: draft, ready, obsolete, limitExceeded, unknownFutureValue. +// SetState sets the state property value. Indicates the current state of the connection. The possible values are: draft, ready, obsolete, limitExceeded, unknownFutureValue. func (m *ExternalConnection) SetState(value *ConnectionState)() { err := m.GetBackingStore().Set("state", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/externalconnectors/identity.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/externalconnectors/identity.go index 86034ea990..049ad05ff9 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/externalconnectors/identity.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/externalconnectors/identity.go @@ -39,7 +39,7 @@ func (m *Identity) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896 } return res } -// GetTypeEscaped gets the type property value. The type of identity. Possible values are: user or group for Microsoft Entra identities and externalgroup for groups in an external system. +// GetTypeEscaped gets the type property value. The type of identity. The possible values are: user or group for Microsoft Entra identities and externalgroup for groups in an external system. // returns a *IdentityType when successful func (m *Identity) GetTypeEscaped()(*IdentityType) { val, err := m.GetBackingStore().Get("typeEscaped") @@ -66,7 +66,7 @@ func (m *Identity) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c01 } return nil } -// SetTypeEscaped sets the type property value. The type of identity. Possible values are: user or group for Microsoft Entra identities and externalgroup for groups in an external system. +// SetTypeEscaped sets the type property value. The type of identity. The possible values are: user or group for Microsoft Entra identities and externalgroup for groups in an external system. func (m *Identity) SetTypeEscaped(value *IdentityType)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/externalconnectors/property.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/externalconnectors/property.go index 36405e8ddf..497dd3ec60 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/externalconnectors/property.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/externalconnectors/property.go @@ -211,7 +211,7 @@ func (m *Property) GetIsSearchable()(*bool) { } return nil } -// GetLabels gets the labels property value. Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: iconUrl. +// GetLabels gets the labels property value. Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: iconUrl. // returns a []Label when successful func (m *Property) GetLabels()([]Label) { val, err := m.GetBackingStore().Get("labels") @@ -370,7 +370,7 @@ func (m *Property) SetIsSearchable(value *bool)() { panic(err) } } -// SetLabels sets the labels property value. Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: iconUrl. +// SetLabels sets the labels property value. Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: iconUrl. func (m *Property) SetLabels(value []Label)() { err := m.GetBackingStore().Set("labels", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fido2_authentication_method.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fido2_authentication_method.go index a8cc16baf5..a2e7dc9cc4 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fido2_authentication_method.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fido2_authentication_method.go @@ -4,7 +4,6 @@ package models import ( - i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" ) @@ -49,7 +48,7 @@ func (m *Fido2AuthenticationMethod) GetAttestationCertificates()([]string) { } return nil } -// GetAttestationLevel gets the attestationLevel property value. The attestation level of this FIDO2 security key. Possible values are: attested, or notAttested. +// GetAttestationLevel gets the attestationLevel property value. The attestation level of this FIDO2 security key. The possible values are: attested, or notAttested. // returns a *AttestationLevel when successful func (m *Fido2AuthenticationMethod) GetAttestationLevel()(*AttestationLevel) { val, err := m.GetBackingStore().Get("attestationLevel") @@ -61,18 +60,6 @@ func (m *Fido2AuthenticationMethod) GetAttestationLevel()(*AttestationLevel) { } return nil } -// GetCreatedDateTime gets the createdDateTime property value. The timestamp when this key was registered to the user. -// returns a *Time when successful -func (m *Fido2AuthenticationMethod) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { - val, err := m.GetBackingStore().Get("createdDateTime") - if err != nil { - panic(err) - } - if val != nil { - return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) - } - return nil -} // GetDisplayName gets the displayName property value. The display name of the key as given by the user. // returns a *string when successful func (m *Fido2AuthenticationMethod) GetDisplayName()(*string) { @@ -125,16 +112,6 @@ func (m *Fido2AuthenticationMethod) GetFieldDeserializers()(map[string]func(i878 } return nil } - res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetTimeValue() - if err != nil { - return err - } - if val != nil { - m.SetCreatedDateTime(val) - } - return nil - } res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -194,12 +171,6 @@ func (m *Fido2AuthenticationMethod) Serialize(writer i878a80d2330e89d26896388a3f return err } } - { - err = writer.WriteTimeValue("createdDateTime", m.GetCreatedDateTime()) - if err != nil { - return err - } - } { err = writer.WriteStringValue("displayName", m.GetDisplayName()) if err != nil { @@ -228,20 +199,13 @@ func (m *Fido2AuthenticationMethod) SetAttestationCertificates(value []string)() panic(err) } } -// SetAttestationLevel sets the attestationLevel property value. The attestation level of this FIDO2 security key. Possible values are: attested, or notAttested. +// SetAttestationLevel sets the attestationLevel property value. The attestation level of this FIDO2 security key. The possible values are: attested, or notAttested. func (m *Fido2AuthenticationMethod) SetAttestationLevel(value *AttestationLevel)() { err := m.GetBackingStore().Set("attestationLevel", value) if err != nil { panic(err) } } -// SetCreatedDateTime sets the createdDateTime property value. The timestamp when this key was registered to the user. -func (m *Fido2AuthenticationMethod) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { - err := m.GetBackingStore().Set("createdDateTime", value) - if err != nil { - panic(err) - } -} // SetDisplayName sets the displayName property value. The display name of the key as given by the user. func (m *Fido2AuthenticationMethod) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) @@ -262,13 +226,11 @@ type Fido2AuthenticationMethodable interface { GetAaGuid()(*string) GetAttestationCertificates()([]string) GetAttestationLevel()(*AttestationLevel) - GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetDisplayName()(*string) GetModel()(*string) SetAaGuid(value *string)() SetAttestationCertificates(value []string)() SetAttestationLevel(value *AttestationLevel)() - SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetDisplayName(value *string)() SetModel(value *string)() } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fido2_key_restrictions.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fido2_key_restrictions.go index 815c39deb1..579b2aa045 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fido2_key_restrictions.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fido2_key_restrictions.go @@ -55,7 +55,7 @@ func (m *Fido2KeyRestrictions) GetAdditionalData()(map[string]any) { func (m *Fido2KeyRestrictions) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetEnforcementType gets the enforcementType property value. Enforcement type. Possible values are: allow, block. +// GetEnforcementType gets the enforcementType property value. Enforcement type. The possible values are: allow, block. // returns a *Fido2RestrictionEnforcementType when successful func (m *Fido2KeyRestrictions) GetEnforcementType()(*Fido2RestrictionEnforcementType) { val, err := m.GetBackingStore().Get("enforcementType") @@ -196,7 +196,7 @@ func (m *Fido2KeyRestrictions) SetAdditionalData(value map[string]any)() { func (m *Fido2KeyRestrictions) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetEnforcementType sets the enforcementType property value. Enforcement type. Possible values are: allow, block. +// SetEnforcementType sets the enforcementType property value. Enforcement type. The possible values are: allow, block. func (m *Fido2KeyRestrictions) SetEnforcementType(value *Fido2RestrictionEnforcementType)() { err := m.GetBackingStore().Set("enforcementType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_hash.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_hash.go index 2d86fa46d1..99fe2e35b8 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_hash.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_hash.go @@ -79,7 +79,7 @@ func (m *FileHash) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896 } return res } -// GetHashType gets the hashType property value. File hash type. Possible values are: unknown, sha1, sha256, md5, authenticodeHash256, lsHash, ctph, peSha1, peSha256. +// GetHashType gets the hashType property value. File hash type. The possible values are: unknown, sha1, sha256, md5, authenticodeHash256, lsHash, ctph, peSha1, peSha256. // returns a *FileHashType when successful func (m *FileHash) GetHashType()(*FileHashType) { val, err := m.GetBackingStore().Get("hashType") @@ -155,7 +155,7 @@ func (m *FileHash) SetAdditionalData(value map[string]any)() { func (m *FileHash) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetHashType sets the hashType property value. File hash type. Possible values are: unknown, sha1, sha256, md5, authenticodeHash256, lsHash, ctph, peSha1, peSha256. +// SetHashType sets the hashType property value. File hash type. The possible values are: unknown, sha1, sha256, md5, authenticodeHash256, lsHash, ctph, peSha1, peSha256. func (m *FileHash) SetHashType(value *FileHashType)() { err := m.GetBackingStore().Set("hashType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage.go index ed050179d8..ad4819f7eb 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage.go @@ -22,7 +22,7 @@ func NewFileStorage()(*FileStorage) { func CreateFileStorageFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewFileStorage(), nil } -// GetContainers gets the containers property value. The containers property +// GetContainers gets the containers property value. The collection of active fileStorageContainer resources. // returns a []FileStorageContainerable when successful func (m *FileStorage) GetContainers()([]FileStorageContainerable) { val, err := m.GetBackingStore().Get("containers") @@ -34,7 +34,31 @@ func (m *FileStorage) GetContainers()([]FileStorageContainerable) { } return nil } -// GetDeletedContainers gets the deletedContainers property value. The deletedContainers property +// GetContainerTypeRegistrations gets the containerTypeRegistrations property value. The collection of fileStorageContainerTypeRegistration resources. +// returns a []FileStorageContainerTypeRegistrationable when successful +func (m *FileStorage) GetContainerTypeRegistrations()([]FileStorageContainerTypeRegistrationable) { + val, err := m.GetBackingStore().Get("containerTypeRegistrations") + if err != nil { + panic(err) + } + if val != nil { + return val.([]FileStorageContainerTypeRegistrationable) + } + return nil +} +// GetContainerTypes gets the containerTypes property value. The collection of fileStorageContainerType resources. +// returns a []FileStorageContainerTypeable when successful +func (m *FileStorage) GetContainerTypes()([]FileStorageContainerTypeable) { + val, err := m.GetBackingStore().Get("containerTypes") + if err != nil { + panic(err) + } + if val != nil { + return val.([]FileStorageContainerTypeable) + } + return nil +} +// GetDeletedContainers gets the deletedContainers property value. The collection of deleted fileStorageContainer resources. // returns a []FileStorageContainerable when successful func (m *FileStorage) GetDeletedContainers()([]FileStorageContainerable) { val, err := m.GetBackingStore().Get("deletedContainers") @@ -66,6 +90,38 @@ func (m *FileStorage) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26 } return nil } + res["containerTypeRegistrations"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateFileStorageContainerTypeRegistrationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]FileStorageContainerTypeRegistrationable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(FileStorageContainerTypeRegistrationable) + } + } + m.SetContainerTypeRegistrations(res) + } + return nil + } + res["containerTypes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateFileStorageContainerTypeFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]FileStorageContainerTypeable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(FileStorageContainerTypeable) + } + } + m.SetContainerTypes(res) + } + return nil + } res["deletedContainers"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateFileStorageContainerFromDiscriminatorValue) if err != nil { @@ -102,6 +158,30 @@ func (m *FileStorage) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6 return err } } + if m.GetContainerTypeRegistrations() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetContainerTypeRegistrations())) + for i, v := range m.GetContainerTypeRegistrations() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("containerTypeRegistrations", cast) + if err != nil { + return err + } + } + if m.GetContainerTypes() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetContainerTypes())) + for i, v := range m.GetContainerTypes() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("containerTypes", cast) + if err != nil { + return err + } + } if m.GetDeletedContainers() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetDeletedContainers())) for i, v := range m.GetDeletedContainers() { @@ -116,14 +196,28 @@ func (m *FileStorage) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6 } return nil } -// SetContainers sets the containers property value. The containers property +// SetContainers sets the containers property value. The collection of active fileStorageContainer resources. func (m *FileStorage) SetContainers(value []FileStorageContainerable)() { err := m.GetBackingStore().Set("containers", value) if err != nil { panic(err) } } -// SetDeletedContainers sets the deletedContainers property value. The deletedContainers property +// SetContainerTypeRegistrations sets the containerTypeRegistrations property value. The collection of fileStorageContainerTypeRegistration resources. +func (m *FileStorage) SetContainerTypeRegistrations(value []FileStorageContainerTypeRegistrationable)() { + err := m.GetBackingStore().Set("containerTypeRegistrations", value) + if err != nil { + panic(err) + } +} +// SetContainerTypes sets the containerTypes property value. The collection of fileStorageContainerType resources. +func (m *FileStorage) SetContainerTypes(value []FileStorageContainerTypeable)() { + err := m.GetBackingStore().Set("containerTypes", value) + if err != nil { + panic(err) + } +} +// SetDeletedContainers sets the deletedContainers property value. The collection of deleted fileStorageContainer resources. func (m *FileStorage) SetDeletedContainers(value []FileStorageContainerable)() { err := m.GetBackingStore().Set("deletedContainers", value) if err != nil { @@ -134,7 +228,11 @@ type FileStorageable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetContainers()([]FileStorageContainerable) + GetContainerTypeRegistrations()([]FileStorageContainerTypeRegistrationable) + GetContainerTypes()([]FileStorageContainerTypeable) GetDeletedContainers()([]FileStorageContainerable) SetContainers(value []FileStorageContainerable)() + SetContainerTypeRegistrations(value []FileStorageContainerTypeRegistrationable)() + SetContainerTypes(value []FileStorageContainerTypeable)() SetDeletedContainers(value []FileStorageContainerable)() } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container.go index 982e27548d..9b8f6758f9 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container.go @@ -24,6 +24,18 @@ func NewFileStorageContainer()(*FileStorageContainer) { func CreateFileStorageContainerFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewFileStorageContainer(), nil } +// GetAssignedSensitivityLabel gets the assignedSensitivityLabel property value. Sensitivity label assigned to the fileStorageContainer. Read-write. +// returns a AssignedLabelable when successful +func (m *FileStorageContainer) GetAssignedSensitivityLabel()(AssignedLabelable) { + val, err := m.GetBackingStore().Get("assignedSensitivityLabel") + if err != nil { + panic(err) + } + if val != nil { + return val.(AssignedLabelable) + } + return nil +} // GetColumns gets the columns property value. The columns property // returns a []ColumnDefinitionable when successful func (m *FileStorageContainer) GetColumns()([]ColumnDefinitionable) { @@ -112,6 +124,16 @@ func (m *FileStorageContainer) GetDrive()(Driveable) { // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *FileStorageContainer) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.Entity.GetFieldDeserializers() + res["assignedSensitivityLabel"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAssignedLabelFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetAssignedSensitivityLabel(val.(AssignedLabelable)) + } + return nil + } res["columns"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateColumnDefinitionFromDiscriminatorValue) if err != nil { @@ -198,6 +220,22 @@ func (m *FileStorageContainer) GetFieldDeserializers()(map[string]func(i878a80d2 } return nil } + res["migrationJobs"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSharePointMigrationJobFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]SharePointMigrationJobable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(SharePointMigrationJobable) + } + } + m.SetMigrationJobs(res) + } + return nil + } res["permissions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreatePermissionFromDiscriminatorValue) if err != nil { @@ -268,6 +306,18 @@ func (m *FileStorageContainer) GetLockState()(*SiteLockState) { } return nil } +// GetMigrationJobs gets the migrationJobs property value. The collection of sharePointMigrationJob objects local to the container. Read-write. +// returns a []SharePointMigrationJobable when successful +func (m *FileStorageContainer) GetMigrationJobs()([]SharePointMigrationJobable) { + val, err := m.GetBackingStore().Get("migrationJobs") + if err != nil { + panic(err) + } + if val != nil { + return val.([]SharePointMigrationJobable) + } + return nil +} // GetPermissions gets the permissions property value. The set of permissions for users in the fileStorageContainer. Permission for each user is set by the roles property. The possible values are: reader, writer, manager, and owner. Read-write. // returns a []Permissionable when successful func (m *FileStorageContainer) GetPermissions()([]Permissionable) { @@ -334,6 +384,12 @@ func (m *FileStorageContainer) Serialize(writer i878a80d2330e89d26896388a3f487ee if err != nil { return err } + { + err = writer.WriteObjectValue("assignedSensitivityLabel", m.GetAssignedSensitivityLabel()) + if err != nil { + return err + } + } if m.GetColumns() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetColumns())) for i, v := range m.GetColumns() { @@ -389,6 +445,18 @@ func (m *FileStorageContainer) Serialize(writer i878a80d2330e89d26896388a3f487ee return err } } + if m.GetMigrationJobs() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetMigrationJobs())) + for i, v := range m.GetMigrationJobs() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("migrationJobs", cast) + if err != nil { + return err + } + } if m.GetPermissions() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetPermissions())) for i, v := range m.GetPermissions() { @@ -428,6 +496,13 @@ func (m *FileStorageContainer) Serialize(writer i878a80d2330e89d26896388a3f487ee } return nil } +// SetAssignedSensitivityLabel sets the assignedSensitivityLabel property value. Sensitivity label assigned to the fileStorageContainer. Read-write. +func (m *FileStorageContainer) SetAssignedSensitivityLabel(value AssignedLabelable)() { + err := m.GetBackingStore().Set("assignedSensitivityLabel", value) + if err != nil { + panic(err) + } +} // SetColumns sets the columns property value. The columns property func (m *FileStorageContainer) SetColumns(value []ColumnDefinitionable)() { err := m.GetBackingStore().Set("columns", value) @@ -484,6 +559,13 @@ func (m *FileStorageContainer) SetLockState(value *SiteLockState)() { panic(err) } } +// SetMigrationJobs sets the migrationJobs property value. The collection of sharePointMigrationJob objects local to the container. Read-write. +func (m *FileStorageContainer) SetMigrationJobs(value []SharePointMigrationJobable)() { + err := m.GetBackingStore().Set("migrationJobs", value) + if err != nil { + panic(err) + } +} // SetPermissions sets the permissions property value. The set of permissions for users in the fileStorageContainer. Permission for each user is set by the roles property. The possible values are: reader, writer, manager, and owner. Read-write. func (m *FileStorageContainer) SetPermissions(value []Permissionable)() { err := m.GetBackingStore().Set("permissions", value) @@ -522,6 +604,7 @@ func (m *FileStorageContainer) SetViewpoint(value FileStorageContainerViewpointa type FileStorageContainerable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAssignedSensitivityLabel()(AssignedLabelable) GetColumns()([]ColumnDefinitionable) GetContainerTypeId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) @@ -530,11 +613,13 @@ type FileStorageContainerable interface { GetDisplayName()(*string) GetDrive()(Driveable) GetLockState()(*SiteLockState) + GetMigrationJobs()([]SharePointMigrationJobable) GetPermissions()([]Permissionable) GetRecycleBin()(RecycleBinable) GetSettings()(FileStorageContainerSettingsable) GetStatus()(*FileStorageContainerStatus) GetViewpoint()(FileStorageContainerViewpointable) + SetAssignedSensitivityLabel(value AssignedLabelable)() SetColumns(value []ColumnDefinitionable)() SetContainerTypeId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() @@ -543,6 +628,7 @@ type FileStorageContainerable interface { SetDisplayName(value *string)() SetDrive(value Driveable)() SetLockState(value *SiteLockState)() + SetMigrationJobs(value []SharePointMigrationJobable)() SetPermissions(value []Permissionable)() SetRecycleBin(value RecycleBinable)() SetSettings(value FileStorageContainerSettingsable)() diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_billing_classification.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_billing_classification.go new file mode 100644 index 0000000000..e2556cfad0 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_billing_classification.go @@ -0,0 +1,42 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type FileStorageContainerBillingClassification int + +const ( + STANDARD_FILESTORAGECONTAINERBILLINGCLASSIFICATION FileStorageContainerBillingClassification = iota + TRIAL_FILESTORAGECONTAINERBILLINGCLASSIFICATION + DIRECTTOCUSTOMER_FILESTORAGECONTAINERBILLINGCLASSIFICATION + UNKNOWNFUTUREVALUE_FILESTORAGECONTAINERBILLINGCLASSIFICATION +) + +func (i FileStorageContainerBillingClassification) String() string { + return []string{"standard", "trial", "directToCustomer", "unknownFutureValue"}[i] +} +func ParseFileStorageContainerBillingClassification(v string) (any, error) { + result := STANDARD_FILESTORAGECONTAINERBILLINGCLASSIFICATION + switch v { + case "standard": + result = STANDARD_FILESTORAGECONTAINERBILLINGCLASSIFICATION + case "trial": + result = TRIAL_FILESTORAGECONTAINERBILLINGCLASSIFICATION + case "directToCustomer": + result = DIRECTTOCUSTOMER_FILESTORAGECONTAINERBILLINGCLASSIFICATION + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_FILESTORAGECONTAINERBILLINGCLASSIFICATION + default: + return nil, nil + } + return &result, nil +} +func SerializeFileStorageContainerBillingClassification(values []FileStorageContainerBillingClassification) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i FileStorageContainerBillingClassification) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_billing_status.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_billing_status.go new file mode 100644 index 0000000000..0816b8dee7 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_billing_status.go @@ -0,0 +1,39 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type FileStorageContainerBillingStatus int + +const ( + INVALID_FILESTORAGECONTAINERBILLINGSTATUS FileStorageContainerBillingStatus = iota + VALID_FILESTORAGECONTAINERBILLINGSTATUS + UNKNOWNFUTUREVALUE_FILESTORAGECONTAINERBILLINGSTATUS +) + +func (i FileStorageContainerBillingStatus) String() string { + return []string{"invalid", "valid", "unknownFutureValue"}[i] +} +func ParseFileStorageContainerBillingStatus(v string) (any, error) { + result := INVALID_FILESTORAGECONTAINERBILLINGSTATUS + switch v { + case "invalid": + result = INVALID_FILESTORAGECONTAINERBILLINGSTATUS + case "valid": + result = VALID_FILESTORAGECONTAINERBILLINGSTATUS + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_FILESTORAGECONTAINERBILLINGSTATUS + default: + return nil, nil + } + return &result, nil +} +func SerializeFileStorageContainerBillingStatus(values []FileStorageContainerBillingStatus) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i FileStorageContainerBillingStatus) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type.go new file mode 100644 index 0000000000..af40ad5e95 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type.go @@ -0,0 +1,342 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22 "github.com/google/uuid" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type FileStorageContainerType struct { + Entity +} +// NewFileStorageContainerType instantiates a new FileStorageContainerType and sets the default values. +func NewFileStorageContainerType()(*FileStorageContainerType) { + m := &FileStorageContainerType{ + Entity: *NewEntity(), + } + return m +} +// CreateFileStorageContainerTypeFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFileStorageContainerTypeFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFileStorageContainerType(), nil +} +// GetBillingClassification gets the billingClassification property value. The billingClassification property +// returns a *FileStorageContainerBillingClassification when successful +func (m *FileStorageContainerType) GetBillingClassification()(*FileStorageContainerBillingClassification) { + val, err := m.GetBackingStore().Get("billingClassification") + if err != nil { + panic(err) + } + if val != nil { + return val.(*FileStorageContainerBillingClassification) + } + return nil +} +// GetBillingStatus gets the billingStatus property value. The billingStatus property +// returns a *FileStorageContainerBillingStatus when successful +func (m *FileStorageContainerType) GetBillingStatus()(*FileStorageContainerBillingStatus) { + val, err := m.GetBackingStore().Get("billingStatus") + if err != nil { + panic(err) + } + if val != nil { + return val.(*FileStorageContainerBillingStatus) + } + return nil +} +// GetCreatedDateTime gets the createdDateTime property value. The creation date. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. +// returns a *Time when successful +func (m *FileStorageContainerType) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("createdDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetEtag gets the etag property value. Used in update scenarios for optimistic concurrency control. Read-only. +// returns a *string when successful +func (m *FileStorageContainerType) GetEtag()(*string) { + val, err := m.GetBackingStore().Get("etag") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetExpirationDateTime gets the expirationDateTime property value. The expiration date. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. +// returns a *Time when successful +func (m *FileStorageContainerType) GetExpirationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("expirationDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FileStorageContainerType) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["billingClassification"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseFileStorageContainerBillingClassification) + if err != nil { + return err + } + if val != nil { + m.SetBillingClassification(val.(*FileStorageContainerBillingClassification)) + } + return nil + } + res["billingStatus"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseFileStorageContainerBillingStatus) + if err != nil { + return err + } + if val != nil { + m.SetBillingStatus(val.(*FileStorageContainerBillingStatus)) + } + return nil + } + res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetCreatedDateTime(val) + } + return nil + } + res["etag"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetEtag(val) + } + return nil + } + res["expirationDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetExpirationDateTime(val) + } + return nil + } + res["name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetName(val) + } + return nil + } + res["owningAppId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetUUIDValue() + if err != nil { + return err + } + if val != nil { + m.SetOwningAppId(val) + } + return nil + } + res["settings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateFileStorageContainerTypeSettingsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetSettings(val.(FileStorageContainerTypeSettingsable)) + } + return nil + } + return res +} +// GetName gets the name property value. The name of the fileStorageContainerType. +// returns a *string when successful +func (m *FileStorageContainerType) GetName()(*string) { + val, err := m.GetBackingStore().Get("name") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOwningAppId gets the owningAppId property value. ID of the application that owns the fileStorageContainerType. +// returns a *UUID when successful +func (m *FileStorageContainerType) GetOwningAppId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) { + val, err := m.GetBackingStore().Get("owningAppId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) + } + return nil +} +// GetSettings gets the settings property value. The settings property +// returns a FileStorageContainerTypeSettingsable when successful +func (m *FileStorageContainerType) GetSettings()(FileStorageContainerTypeSettingsable) { + val, err := m.GetBackingStore().Get("settings") + if err != nil { + panic(err) + } + if val != nil { + return val.(FileStorageContainerTypeSettingsable) + } + return nil +} +// Serialize serializes information the current object +func (m *FileStorageContainerType) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetBillingClassification() != nil { + cast := (*m.GetBillingClassification()).String() + err = writer.WriteStringValue("billingClassification", &cast) + if err != nil { + return err + } + } + if m.GetBillingStatus() != nil { + cast := (*m.GetBillingStatus()).String() + err = writer.WriteStringValue("billingStatus", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("createdDateTime", m.GetCreatedDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("etag", m.GetEtag()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("expirationDateTime", m.GetExpirationDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("name", m.GetName()) + if err != nil { + return err + } + } + { + err = writer.WriteUUIDValue("owningAppId", m.GetOwningAppId()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("settings", m.GetSettings()) + if err != nil { + return err + } + } + return nil +} +// SetBillingClassification sets the billingClassification property value. The billingClassification property +func (m *FileStorageContainerType) SetBillingClassification(value *FileStorageContainerBillingClassification)() { + err := m.GetBackingStore().Set("billingClassification", value) + if err != nil { + panic(err) + } +} +// SetBillingStatus sets the billingStatus property value. The billingStatus property +func (m *FileStorageContainerType) SetBillingStatus(value *FileStorageContainerBillingStatus)() { + err := m.GetBackingStore().Set("billingStatus", value) + if err != nil { + panic(err) + } +} +// SetCreatedDateTime sets the createdDateTime property value. The creation date. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. +func (m *FileStorageContainerType) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("createdDateTime", value) + if err != nil { + panic(err) + } +} +// SetEtag sets the etag property value. Used in update scenarios for optimistic concurrency control. Read-only. +func (m *FileStorageContainerType) SetEtag(value *string)() { + err := m.GetBackingStore().Set("etag", value) + if err != nil { + panic(err) + } +} +// SetExpirationDateTime sets the expirationDateTime property value. The expiration date. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. +func (m *FileStorageContainerType) SetExpirationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("expirationDateTime", value) + if err != nil { + panic(err) + } +} +// SetName sets the name property value. The name of the fileStorageContainerType. +func (m *FileStorageContainerType) SetName(value *string)() { + err := m.GetBackingStore().Set("name", value) + if err != nil { + panic(err) + } +} +// SetOwningAppId sets the owningAppId property value. ID of the application that owns the fileStorageContainerType. +func (m *FileStorageContainerType) SetOwningAppId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() { + err := m.GetBackingStore().Set("owningAppId", value) + if err != nil { + panic(err) + } +} +// SetSettings sets the settings property value. The settings property +func (m *FileStorageContainerType) SetSettings(value FileStorageContainerTypeSettingsable)() { + err := m.GetBackingStore().Set("settings", value) + if err != nil { + panic(err) + } +} +type FileStorageContainerTypeable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBillingClassification()(*FileStorageContainerBillingClassification) + GetBillingStatus()(*FileStorageContainerBillingStatus) + GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetEtag()(*string) + GetExpirationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetName()(*string) + GetOwningAppId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) + GetSettings()(FileStorageContainerTypeSettingsable) + SetBillingClassification(value *FileStorageContainerBillingClassification)() + SetBillingStatus(value *FileStorageContainerBillingStatus)() + SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetEtag(value *string)() + SetExpirationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetName(value *string)() + SetOwningAppId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() + SetSettings(value FileStorageContainerTypeSettingsable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_app_permission.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_app_permission.go new file mode 100644 index 0000000000..ef8c621d3d --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_app_permission.go @@ -0,0 +1,78 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type FileStorageContainerTypeAppPermission int + +const ( + NONE_FILESTORAGECONTAINERTYPEAPPPERMISSION FileStorageContainerTypeAppPermission = iota + READCONTENT_FILESTORAGECONTAINERTYPEAPPPERMISSION + WRITECONTENT_FILESTORAGECONTAINERTYPEAPPPERMISSION + MANAGECONTENT_FILESTORAGECONTAINERTYPEAPPPERMISSION + CREATE_FILESTORAGECONTAINERTYPEAPPPERMISSION + DELETE_FILESTORAGECONTAINERTYPEAPPPERMISSION + READ_FILESTORAGECONTAINERTYPEAPPPERMISSION + WRITE_FILESTORAGECONTAINERTYPEAPPPERMISSION + ENUMERATEPERMISSIONS_FILESTORAGECONTAINERTYPEAPPPERMISSION + ADDPERMISSIONS_FILESTORAGECONTAINERTYPEAPPPERMISSION + UPDATEPERMISSIONS_FILESTORAGECONTAINERTYPEAPPPERMISSION + DELETEPERMISSIONS_FILESTORAGECONTAINERTYPEAPPPERMISSION + DELETEOWNPERMISSION_FILESTORAGECONTAINERTYPEAPPPERMISSION + MANAGEPERMISSIONS_FILESTORAGECONTAINERTYPEAPPPERMISSION + FULL_FILESTORAGECONTAINERTYPEAPPPERMISSION + UNKNOWNFUTUREVALUE_FILESTORAGECONTAINERTYPEAPPPERMISSION +) + +func (i FileStorageContainerTypeAppPermission) String() string { + return []string{"none", "readContent", "writeContent", "manageContent", "create", "delete", "read", "write", "enumeratePermissions", "addPermissions", "updatePermissions", "deletePermissions", "deleteOwnPermission", "managePermissions", "full", "unknownFutureValue"}[i] +} +func ParseFileStorageContainerTypeAppPermission(v string) (any, error) { + result := NONE_FILESTORAGECONTAINERTYPEAPPPERMISSION + switch v { + case "none": + result = NONE_FILESTORAGECONTAINERTYPEAPPPERMISSION + case "readContent": + result = READCONTENT_FILESTORAGECONTAINERTYPEAPPPERMISSION + case "writeContent": + result = WRITECONTENT_FILESTORAGECONTAINERTYPEAPPPERMISSION + case "manageContent": + result = MANAGECONTENT_FILESTORAGECONTAINERTYPEAPPPERMISSION + case "create": + result = CREATE_FILESTORAGECONTAINERTYPEAPPPERMISSION + case "delete": + result = DELETE_FILESTORAGECONTAINERTYPEAPPPERMISSION + case "read": + result = READ_FILESTORAGECONTAINERTYPEAPPPERMISSION + case "write": + result = WRITE_FILESTORAGECONTAINERTYPEAPPPERMISSION + case "enumeratePermissions": + result = ENUMERATEPERMISSIONS_FILESTORAGECONTAINERTYPEAPPPERMISSION + case "addPermissions": + result = ADDPERMISSIONS_FILESTORAGECONTAINERTYPEAPPPERMISSION + case "updatePermissions": + result = UPDATEPERMISSIONS_FILESTORAGECONTAINERTYPEAPPPERMISSION + case "deletePermissions": + result = DELETEPERMISSIONS_FILESTORAGECONTAINERTYPEAPPPERMISSION + case "deleteOwnPermission": + result = DELETEOWNPERMISSION_FILESTORAGECONTAINERTYPEAPPPERMISSION + case "managePermissions": + result = MANAGEPERMISSIONS_FILESTORAGECONTAINERTYPEAPPPERMISSION + case "full": + result = FULL_FILESTORAGECONTAINERTYPEAPPPERMISSION + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_FILESTORAGECONTAINERTYPEAPPPERMISSION + default: + return nil, nil + } + return &result, nil +} +func SerializeFileStorageContainerTypeAppPermission(values []FileStorageContainerTypeAppPermission) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i FileStorageContainerTypeAppPermission) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_app_permission_grant.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_app_permission_grant.go new file mode 100644 index 0000000000..4019040ec1 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_app_permission_grant.go @@ -0,0 +1,239 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type FileStorageContainerTypeAppPermissionGrant struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewFileStorageContainerTypeAppPermissionGrant instantiates a new FileStorageContainerTypeAppPermissionGrant and sets the default values. +func NewFileStorageContainerTypeAppPermissionGrant()(*FileStorageContainerTypeAppPermissionGrant) { + m := &FileStorageContainerTypeAppPermissionGrant{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateFileStorageContainerTypeAppPermissionGrantFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFileStorageContainerTypeAppPermissionGrantFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFileStorageContainerTypeAppPermissionGrant(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *FileStorageContainerTypeAppPermissionGrant) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetAppId gets the appId property value. Application ID to which to set permissions. +// returns a *string when successful +func (m *FileStorageContainerTypeAppPermissionGrant) GetAppId()(*string) { + val, err := m.GetBackingStore().Get("appId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetApplicationPermissions gets the applicationPermissions property value. Allowed permissions when you use delegated tokens. The possible values are: none, readContent, writeContent, manageContent, create, delete, read, write, enumeratePermissions, addPermissions, updatePermissions, deletePermissions, deleteOwnPermission, managePermissions, full, unknownFutureValue. +// returns a []FileStorageContainerTypeAppPermission when successful +func (m *FileStorageContainerTypeAppPermissionGrant) GetApplicationPermissions()([]FileStorageContainerTypeAppPermission) { + val, err := m.GetBackingStore().Get("applicationPermissions") + if err != nil { + panic(err) + } + if val != nil { + return val.([]FileStorageContainerTypeAppPermission) + } + return nil +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *FileStorageContainerTypeAppPermissionGrant) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetDelegatedPermissions gets the delegatedPermissions property value. Allowed permissions when you use application tokens. The possible values are: none, readContent, writeContent, manageContent, create, delete, read, write, enumeratePermissions, addPermissions, updatePermissions, deletePermissions, deleteOwnPermission, managePermissions, full, unknownFutureValue. +// returns a []FileStorageContainerTypeAppPermission when successful +func (m *FileStorageContainerTypeAppPermissionGrant) GetDelegatedPermissions()([]FileStorageContainerTypeAppPermission) { + val, err := m.GetBackingStore().Get("delegatedPermissions") + if err != nil { + panic(err) + } + if val != nil { + return val.([]FileStorageContainerTypeAppPermission) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FileStorageContainerTypeAppPermissionGrant) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["appId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetAppId(val) + } + return nil + } + res["applicationPermissions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfEnumValues(ParseFileStorageContainerTypeAppPermission) + if err != nil { + return err + } + if val != nil { + res := make([]FileStorageContainerTypeAppPermission, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*FileStorageContainerTypeAppPermission)) + } + } + m.SetApplicationPermissions(res) + } + return nil + } + res["delegatedPermissions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfEnumValues(ParseFileStorageContainerTypeAppPermission) + if err != nil { + return err + } + if val != nil { + res := make([]FileStorageContainerTypeAppPermission, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*FileStorageContainerTypeAppPermission)) + } + } + m.SetDelegatedPermissions(res) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *FileStorageContainerTypeAppPermissionGrant) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *FileStorageContainerTypeAppPermissionGrant) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("appId", m.GetAppId()) + if err != nil { + return err + } + } + if m.GetApplicationPermissions() != nil { + err := writer.WriteCollectionOfStringValues("applicationPermissions", SerializeFileStorageContainerTypeAppPermission(m.GetApplicationPermissions())) + if err != nil { + return err + } + } + if m.GetDelegatedPermissions() != nil { + err := writer.WriteCollectionOfStringValues("delegatedPermissions", SerializeFileStorageContainerTypeAppPermission(m.GetDelegatedPermissions())) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *FileStorageContainerTypeAppPermissionGrant) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAppId sets the appId property value. Application ID to which to set permissions. +func (m *FileStorageContainerTypeAppPermissionGrant) SetAppId(value *string)() { + err := m.GetBackingStore().Set("appId", value) + if err != nil { + panic(err) + } +} +// SetApplicationPermissions sets the applicationPermissions property value. Allowed permissions when you use delegated tokens. The possible values are: none, readContent, writeContent, manageContent, create, delete, read, write, enumeratePermissions, addPermissions, updatePermissions, deletePermissions, deleteOwnPermission, managePermissions, full, unknownFutureValue. +func (m *FileStorageContainerTypeAppPermissionGrant) SetApplicationPermissions(value []FileStorageContainerTypeAppPermission)() { + err := m.GetBackingStore().Set("applicationPermissions", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *FileStorageContainerTypeAppPermissionGrant) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetDelegatedPermissions sets the delegatedPermissions property value. Allowed permissions when you use application tokens. The possible values are: none, readContent, writeContent, manageContent, create, delete, read, write, enumeratePermissions, addPermissions, updatePermissions, deletePermissions, deleteOwnPermission, managePermissions, full, unknownFutureValue. +func (m *FileStorageContainerTypeAppPermissionGrant) SetDelegatedPermissions(value []FileStorageContainerTypeAppPermission)() { + err := m.GetBackingStore().Set("delegatedPermissions", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *FileStorageContainerTypeAppPermissionGrant) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type FileStorageContainerTypeAppPermissionGrantable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAppId()(*string) + GetApplicationPermissions()([]FileStorageContainerTypeAppPermission) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDelegatedPermissions()([]FileStorageContainerTypeAppPermission) + GetOdataType()(*string) + SetAppId(value *string)() + SetApplicationPermissions(value []FileStorageContainerTypeAppPermission)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDelegatedPermissions(value []FileStorageContainerTypeAppPermission)() + SetOdataType(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_app_permission_grant_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_app_permission_grant_collection_response.go new file mode 100644 index 0000000000..92a7541947 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_app_permission_grant_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type FileStorageContainerTypeAppPermissionGrantCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewFileStorageContainerTypeAppPermissionGrantCollectionResponse instantiates a new FileStorageContainerTypeAppPermissionGrantCollectionResponse and sets the default values. +func NewFileStorageContainerTypeAppPermissionGrantCollectionResponse()(*FileStorageContainerTypeAppPermissionGrantCollectionResponse) { + m := &FileStorageContainerTypeAppPermissionGrantCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateFileStorageContainerTypeAppPermissionGrantCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFileStorageContainerTypeAppPermissionGrantCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFileStorageContainerTypeAppPermissionGrantCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FileStorageContainerTypeAppPermissionGrantCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateFileStorageContainerTypeAppPermissionGrantFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]FileStorageContainerTypeAppPermissionGrantable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(FileStorageContainerTypeAppPermissionGrantable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []FileStorageContainerTypeAppPermissionGrantable when successful +func (m *FileStorageContainerTypeAppPermissionGrantCollectionResponse) GetValue()([]FileStorageContainerTypeAppPermissionGrantable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]FileStorageContainerTypeAppPermissionGrantable) + } + return nil +} +// Serialize serializes information the current object +func (m *FileStorageContainerTypeAppPermissionGrantCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *FileStorageContainerTypeAppPermissionGrantCollectionResponse) SetValue(value []FileStorageContainerTypeAppPermissionGrantable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type FileStorageContainerTypeAppPermissionGrantCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]FileStorageContainerTypeAppPermissionGrantable) + SetValue(value []FileStorageContainerTypeAppPermissionGrantable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_collection_response.go new file mode 100644 index 0000000000..47accb26c6 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type FileStorageContainerTypeCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewFileStorageContainerTypeCollectionResponse instantiates a new FileStorageContainerTypeCollectionResponse and sets the default values. +func NewFileStorageContainerTypeCollectionResponse()(*FileStorageContainerTypeCollectionResponse) { + m := &FileStorageContainerTypeCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateFileStorageContainerTypeCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFileStorageContainerTypeCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFileStorageContainerTypeCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FileStorageContainerTypeCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateFileStorageContainerTypeFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]FileStorageContainerTypeable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(FileStorageContainerTypeable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []FileStorageContainerTypeable when successful +func (m *FileStorageContainerTypeCollectionResponse) GetValue()([]FileStorageContainerTypeable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]FileStorageContainerTypeable) + } + return nil +} +// Serialize serializes information the current object +func (m *FileStorageContainerTypeCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *FileStorageContainerTypeCollectionResponse) SetValue(value []FileStorageContainerTypeable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type FileStorageContainerTypeCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]FileStorageContainerTypeable) + SetValue(value []FileStorageContainerTypeable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_registration.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_registration.go new file mode 100644 index 0000000000..deb0ae932c --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_registration.go @@ -0,0 +1,391 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22 "github.com/google/uuid" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type FileStorageContainerTypeRegistration struct { + Entity +} +// NewFileStorageContainerTypeRegistration instantiates a new FileStorageContainerTypeRegistration and sets the default values. +func NewFileStorageContainerTypeRegistration()(*FileStorageContainerTypeRegistration) { + m := &FileStorageContainerTypeRegistration{ + Entity: *NewEntity(), + } + return m +} +// CreateFileStorageContainerTypeRegistrationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFileStorageContainerTypeRegistrationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFileStorageContainerTypeRegistration(), nil +} +// GetApplicationPermissionGrants gets the applicationPermissionGrants property value. Access privileges of applications on containers. +// returns a []FileStorageContainerTypeAppPermissionGrantable when successful +func (m *FileStorageContainerTypeRegistration) GetApplicationPermissionGrants()([]FileStorageContainerTypeAppPermissionGrantable) { + val, err := m.GetBackingStore().Get("applicationPermissionGrants") + if err != nil { + panic(err) + } + if val != nil { + return val.([]FileStorageContainerTypeAppPermissionGrantable) + } + return nil +} +// GetBillingClassification gets the billingClassification property value. The billingClassification property +// returns a *FileStorageContainerBillingClassification when successful +func (m *FileStorageContainerTypeRegistration) GetBillingClassification()(*FileStorageContainerBillingClassification) { + val, err := m.GetBackingStore().Get("billingClassification") + if err != nil { + panic(err) + } + if val != nil { + return val.(*FileStorageContainerBillingClassification) + } + return nil +} +// GetBillingStatus gets the billingStatus property value. The billingStatus property +// returns a *FileStorageContainerBillingStatus when successful +func (m *FileStorageContainerTypeRegistration) GetBillingStatus()(*FileStorageContainerBillingStatus) { + val, err := m.GetBackingStore().Get("billingStatus") + if err != nil { + panic(err) + } + if val != nil { + return val.(*FileStorageContainerBillingStatus) + } + return nil +} +// GetEtag gets the etag property value. Used in update scenarios for optimistic concurrency control. Read-only. +// returns a *string when successful +func (m *FileStorageContainerTypeRegistration) GetEtag()(*string) { + val, err := m.GetBackingStore().Get("etag") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetExpirationDateTime gets the expirationDateTime property value. The expiration date. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. +// returns a *Time when successful +func (m *FileStorageContainerTypeRegistration) GetExpirationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("expirationDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FileStorageContainerTypeRegistration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["applicationPermissionGrants"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateFileStorageContainerTypeAppPermissionGrantFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]FileStorageContainerTypeAppPermissionGrantable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(FileStorageContainerTypeAppPermissionGrantable) + } + } + m.SetApplicationPermissionGrants(res) + } + return nil + } + res["billingClassification"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseFileStorageContainerBillingClassification) + if err != nil { + return err + } + if val != nil { + m.SetBillingClassification(val.(*FileStorageContainerBillingClassification)) + } + return nil + } + res["billingStatus"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseFileStorageContainerBillingStatus) + if err != nil { + return err + } + if val != nil { + m.SetBillingStatus(val.(*FileStorageContainerBillingStatus)) + } + return nil + } + res["etag"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetEtag(val) + } + return nil + } + res["expirationDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetExpirationDateTime(val) + } + return nil + } + res["name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetName(val) + } + return nil + } + res["owningAppId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetUUIDValue() + if err != nil { + return err + } + if val != nil { + m.SetOwningAppId(val) + } + return nil + } + res["registeredDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetRegisteredDateTime(val) + } + return nil + } + res["settings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateFileStorageContainerTypeRegistrationSettingsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetSettings(val.(FileStorageContainerTypeRegistrationSettingsable)) + } + return nil + } + return res +} +// GetName gets the name property value. The name of the fileStorageContainerTypeRegistration. Read-only. +// returns a *string when successful +func (m *FileStorageContainerTypeRegistration) GetName()(*string) { + val, err := m.GetBackingStore().Get("name") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOwningAppId gets the owningAppId property value. ID of the application that owns the fileStorageContainerType. Read-only. +// returns a *UUID when successful +func (m *FileStorageContainerTypeRegistration) GetOwningAppId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) { + val, err := m.GetBackingStore().Get("owningAppId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) + } + return nil +} +// GetRegisteredDateTime gets the registeredDateTime property value. The registration date. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. +// returns a *Time when successful +func (m *FileStorageContainerTypeRegistration) GetRegisteredDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("registeredDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetSettings gets the settings property value. The settings property +// returns a FileStorageContainerTypeRegistrationSettingsable when successful +func (m *FileStorageContainerTypeRegistration) GetSettings()(FileStorageContainerTypeRegistrationSettingsable) { + val, err := m.GetBackingStore().Get("settings") + if err != nil { + panic(err) + } + if val != nil { + return val.(FileStorageContainerTypeRegistrationSettingsable) + } + return nil +} +// Serialize serializes information the current object +func (m *FileStorageContainerTypeRegistration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetApplicationPermissionGrants() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetApplicationPermissionGrants())) + for i, v := range m.GetApplicationPermissionGrants() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("applicationPermissionGrants", cast) + if err != nil { + return err + } + } + if m.GetBillingClassification() != nil { + cast := (*m.GetBillingClassification()).String() + err = writer.WriteStringValue("billingClassification", &cast) + if err != nil { + return err + } + } + if m.GetBillingStatus() != nil { + cast := (*m.GetBillingStatus()).String() + err = writer.WriteStringValue("billingStatus", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("etag", m.GetEtag()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("expirationDateTime", m.GetExpirationDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("name", m.GetName()) + if err != nil { + return err + } + } + { + err = writer.WriteUUIDValue("owningAppId", m.GetOwningAppId()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("registeredDateTime", m.GetRegisteredDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("settings", m.GetSettings()) + if err != nil { + return err + } + } + return nil +} +// SetApplicationPermissionGrants sets the applicationPermissionGrants property value. Access privileges of applications on containers. +func (m *FileStorageContainerTypeRegistration) SetApplicationPermissionGrants(value []FileStorageContainerTypeAppPermissionGrantable)() { + err := m.GetBackingStore().Set("applicationPermissionGrants", value) + if err != nil { + panic(err) + } +} +// SetBillingClassification sets the billingClassification property value. The billingClassification property +func (m *FileStorageContainerTypeRegistration) SetBillingClassification(value *FileStorageContainerBillingClassification)() { + err := m.GetBackingStore().Set("billingClassification", value) + if err != nil { + panic(err) + } +} +// SetBillingStatus sets the billingStatus property value. The billingStatus property +func (m *FileStorageContainerTypeRegistration) SetBillingStatus(value *FileStorageContainerBillingStatus)() { + err := m.GetBackingStore().Set("billingStatus", value) + if err != nil { + panic(err) + } +} +// SetEtag sets the etag property value. Used in update scenarios for optimistic concurrency control. Read-only. +func (m *FileStorageContainerTypeRegistration) SetEtag(value *string)() { + err := m.GetBackingStore().Set("etag", value) + if err != nil { + panic(err) + } +} +// SetExpirationDateTime sets the expirationDateTime property value. The expiration date. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. +func (m *FileStorageContainerTypeRegistration) SetExpirationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("expirationDateTime", value) + if err != nil { + panic(err) + } +} +// SetName sets the name property value. The name of the fileStorageContainerTypeRegistration. Read-only. +func (m *FileStorageContainerTypeRegistration) SetName(value *string)() { + err := m.GetBackingStore().Set("name", value) + if err != nil { + panic(err) + } +} +// SetOwningAppId sets the owningAppId property value. ID of the application that owns the fileStorageContainerType. Read-only. +func (m *FileStorageContainerTypeRegistration) SetOwningAppId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() { + err := m.GetBackingStore().Set("owningAppId", value) + if err != nil { + panic(err) + } +} +// SetRegisteredDateTime sets the registeredDateTime property value. The registration date. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. +func (m *FileStorageContainerTypeRegistration) SetRegisteredDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("registeredDateTime", value) + if err != nil { + panic(err) + } +} +// SetSettings sets the settings property value. The settings property +func (m *FileStorageContainerTypeRegistration) SetSettings(value FileStorageContainerTypeRegistrationSettingsable)() { + err := m.GetBackingStore().Set("settings", value) + if err != nil { + panic(err) + } +} +type FileStorageContainerTypeRegistrationable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetApplicationPermissionGrants()([]FileStorageContainerTypeAppPermissionGrantable) + GetBillingClassification()(*FileStorageContainerBillingClassification) + GetBillingStatus()(*FileStorageContainerBillingStatus) + GetEtag()(*string) + GetExpirationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetName()(*string) + GetOwningAppId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) + GetRegisteredDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetSettings()(FileStorageContainerTypeRegistrationSettingsable) + SetApplicationPermissionGrants(value []FileStorageContainerTypeAppPermissionGrantable)() + SetBillingClassification(value *FileStorageContainerBillingClassification)() + SetBillingStatus(value *FileStorageContainerBillingStatus)() + SetEtag(value *string)() + SetExpirationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetName(value *string)() + SetOwningAppId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() + SetRegisteredDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetSettings(value FileStorageContainerTypeRegistrationSettingsable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_registration_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_registration_collection_response.go new file mode 100644 index 0000000000..3f9e6a8073 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_registration_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type FileStorageContainerTypeRegistrationCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewFileStorageContainerTypeRegistrationCollectionResponse instantiates a new FileStorageContainerTypeRegistrationCollectionResponse and sets the default values. +func NewFileStorageContainerTypeRegistrationCollectionResponse()(*FileStorageContainerTypeRegistrationCollectionResponse) { + m := &FileStorageContainerTypeRegistrationCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateFileStorageContainerTypeRegistrationCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFileStorageContainerTypeRegistrationCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFileStorageContainerTypeRegistrationCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FileStorageContainerTypeRegistrationCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateFileStorageContainerTypeRegistrationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]FileStorageContainerTypeRegistrationable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(FileStorageContainerTypeRegistrationable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []FileStorageContainerTypeRegistrationable when successful +func (m *FileStorageContainerTypeRegistrationCollectionResponse) GetValue()([]FileStorageContainerTypeRegistrationable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]FileStorageContainerTypeRegistrationable) + } + return nil +} +// Serialize serializes information the current object +func (m *FileStorageContainerTypeRegistrationCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *FileStorageContainerTypeRegistrationCollectionResponse) SetValue(value []FileStorageContainerTypeRegistrationable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type FileStorageContainerTypeRegistrationCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]FileStorageContainerTypeRegistrationable) + SetValue(value []FileStorageContainerTypeRegistrationable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_registration_settings.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_registration_settings.go new file mode 100644 index 0000000000..cc737bc6b6 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_registration_settings.go @@ -0,0 +1,413 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type FileStorageContainerTypeRegistrationSettings struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewFileStorageContainerTypeRegistrationSettings instantiates a new FileStorageContainerTypeRegistrationSettings and sets the default values. +func NewFileStorageContainerTypeRegistrationSettings()(*FileStorageContainerTypeRegistrationSettings) { + m := &FileStorageContainerTypeRegistrationSettings{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateFileStorageContainerTypeRegistrationSettingsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFileStorageContainerTypeRegistrationSettingsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFileStorageContainerTypeRegistrationSettings(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *FileStorageContainerTypeRegistrationSettings) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *FileStorageContainerTypeRegistrationSettings) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FileStorageContainerTypeRegistrationSettings) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["isDiscoverabilityEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsDiscoverabilityEnabled(val) + } + return nil + } + res["isItemVersioningEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsItemVersioningEnabled(val) + } + return nil + } + res["isSearchEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsSearchEnabled(val) + } + return nil + } + res["isSharingRestricted"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsSharingRestricted(val) + } + return nil + } + res["itemMajorVersionLimit"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetItemMajorVersionLimit(val) + } + return nil + } + res["maxStoragePerContainerInBytes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetMaxStoragePerContainerInBytes(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["sharingCapability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseSharingCapabilities) + if err != nil { + return err + } + if val != nil { + m.SetSharingCapability(val.(*SharingCapabilities)) + } + return nil + } + res["urlTemplate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetUrlTemplate(val) + } + return nil + } + return res +} +// GetIsDiscoverabilityEnabled gets the isDiscoverabilityEnabled property value. Indicates whether items from containers are surfaced in experiences such as My Activity or Microsoft 365. +// returns a *bool when successful +func (m *FileStorageContainerTypeRegistrationSettings) GetIsDiscoverabilityEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isDiscoverabilityEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIsItemVersioningEnabled gets the isItemVersioningEnabled property value. Indicates whether item versioning is enabled. +// returns a *bool when successful +func (m *FileStorageContainerTypeRegistrationSettings) GetIsItemVersioningEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isItemVersioningEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIsSearchEnabled gets the isSearchEnabled property value. Indicates whether search is enabled. +// returns a *bool when successful +func (m *FileStorageContainerTypeRegistrationSettings) GetIsSearchEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isSearchEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIsSharingRestricted gets the isSharingRestricted property value. Only the manager and owner can share files in the container if restricted sharing is enabled. +// returns a *bool when successful +func (m *FileStorageContainerTypeRegistrationSettings) GetIsSharingRestricted()(*bool) { + val, err := m.GetBackingStore().Get("isSharingRestricted") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetItemMajorVersionLimit gets the itemMajorVersionLimit property value. Maximum number of versions. Versioning must be enabled ('isItemVersioningEnabled'=true). +// returns a *int64 when successful +func (m *FileStorageContainerTypeRegistrationSettings) GetItemMajorVersionLimit()(*int64) { + val, err := m.GetBackingStore().Get("itemMajorVersionLimit") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetMaxStoragePerContainerInBytes gets the maxStoragePerContainerInBytes property value. Controls maximum storage in bytes. +// returns a *int64 when successful +func (m *FileStorageContainerTypeRegistrationSettings) GetMaxStoragePerContainerInBytes()(*int64) { + val, err := m.GetBackingStore().Get("maxStoragePerContainerInBytes") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *FileStorageContainerTypeRegistrationSettings) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSharingCapability gets the sharingCapability property value. Sharing capabilities permitted for containers. The possible values are: disabled, externalUserSharingOnly, externalUserAndGuestSharing, existingExternalUserSharingOnly, unknownFutureValue. Can always be updated. +// returns a *SharingCapabilities when successful +func (m *FileStorageContainerTypeRegistrationSettings) GetSharingCapability()(*SharingCapabilities) { + val, err := m.GetBackingStore().Get("sharingCapability") + if err != nil { + panic(err) + } + if val != nil { + return val.(*SharingCapabilities) + } + return nil +} +// GetUrlTemplate gets the urlTemplate property value. Pattern used to redirect files. +// returns a *string when successful +func (m *FileStorageContainerTypeRegistrationSettings) GetUrlTemplate()(*string) { + val, err := m.GetBackingStore().Get("urlTemplate") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *FileStorageContainerTypeRegistrationSettings) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteBoolValue("isDiscoverabilityEnabled", m.GetIsDiscoverabilityEnabled()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isItemVersioningEnabled", m.GetIsItemVersioningEnabled()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isSearchEnabled", m.GetIsSearchEnabled()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isSharingRestricted", m.GetIsSharingRestricted()) + if err != nil { + return err + } + } + { + err := writer.WriteInt64Value("itemMajorVersionLimit", m.GetItemMajorVersionLimit()) + if err != nil { + return err + } + } + { + err := writer.WriteInt64Value("maxStoragePerContainerInBytes", m.GetMaxStoragePerContainerInBytes()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + if m.GetSharingCapability() != nil { + cast := (*m.GetSharingCapability()).String() + err := writer.WriteStringValue("sharingCapability", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("urlTemplate", m.GetUrlTemplate()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *FileStorageContainerTypeRegistrationSettings) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *FileStorageContainerTypeRegistrationSettings) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetIsDiscoverabilityEnabled sets the isDiscoverabilityEnabled property value. Indicates whether items from containers are surfaced in experiences such as My Activity or Microsoft 365. +func (m *FileStorageContainerTypeRegistrationSettings) SetIsDiscoverabilityEnabled(value *bool)() { + err := m.GetBackingStore().Set("isDiscoverabilityEnabled", value) + if err != nil { + panic(err) + } +} +// SetIsItemVersioningEnabled sets the isItemVersioningEnabled property value. Indicates whether item versioning is enabled. +func (m *FileStorageContainerTypeRegistrationSettings) SetIsItemVersioningEnabled(value *bool)() { + err := m.GetBackingStore().Set("isItemVersioningEnabled", value) + if err != nil { + panic(err) + } +} +// SetIsSearchEnabled sets the isSearchEnabled property value. Indicates whether search is enabled. +func (m *FileStorageContainerTypeRegistrationSettings) SetIsSearchEnabled(value *bool)() { + err := m.GetBackingStore().Set("isSearchEnabled", value) + if err != nil { + panic(err) + } +} +// SetIsSharingRestricted sets the isSharingRestricted property value. Only the manager and owner can share files in the container if restricted sharing is enabled. +func (m *FileStorageContainerTypeRegistrationSettings) SetIsSharingRestricted(value *bool)() { + err := m.GetBackingStore().Set("isSharingRestricted", value) + if err != nil { + panic(err) + } +} +// SetItemMajorVersionLimit sets the itemMajorVersionLimit property value. Maximum number of versions. Versioning must be enabled ('isItemVersioningEnabled'=true). +func (m *FileStorageContainerTypeRegistrationSettings) SetItemMajorVersionLimit(value *int64)() { + err := m.GetBackingStore().Set("itemMajorVersionLimit", value) + if err != nil { + panic(err) + } +} +// SetMaxStoragePerContainerInBytes sets the maxStoragePerContainerInBytes property value. Controls maximum storage in bytes. +func (m *FileStorageContainerTypeRegistrationSettings) SetMaxStoragePerContainerInBytes(value *int64)() { + err := m.GetBackingStore().Set("maxStoragePerContainerInBytes", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *FileStorageContainerTypeRegistrationSettings) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetSharingCapability sets the sharingCapability property value. Sharing capabilities permitted for containers. The possible values are: disabled, externalUserSharingOnly, externalUserAndGuestSharing, existingExternalUserSharingOnly, unknownFutureValue. Can always be updated. +func (m *FileStorageContainerTypeRegistrationSettings) SetSharingCapability(value *SharingCapabilities)() { + err := m.GetBackingStore().Set("sharingCapability", value) + if err != nil { + panic(err) + } +} +// SetUrlTemplate sets the urlTemplate property value. Pattern used to redirect files. +func (m *FileStorageContainerTypeRegistrationSettings) SetUrlTemplate(value *string)() { + err := m.GetBackingStore().Set("urlTemplate", value) + if err != nil { + panic(err) + } +} +type FileStorageContainerTypeRegistrationSettingsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetIsDiscoverabilityEnabled()(*bool) + GetIsItemVersioningEnabled()(*bool) + GetIsSearchEnabled()(*bool) + GetIsSharingRestricted()(*bool) + GetItemMajorVersionLimit()(*int64) + GetMaxStoragePerContainerInBytes()(*int64) + GetOdataType()(*string) + GetSharingCapability()(*SharingCapabilities) + GetUrlTemplate()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetIsDiscoverabilityEnabled(value *bool)() + SetIsItemVersioningEnabled(value *bool)() + SetIsSearchEnabled(value *bool)() + SetIsSharingRestricted(value *bool)() + SetItemMajorVersionLimit(value *int64)() + SetMaxStoragePerContainerInBytes(value *int64)() + SetOdataType(value *string)() + SetSharingCapability(value *SharingCapabilities)() + SetUrlTemplate(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_settings.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_settings.go new file mode 100644 index 0000000000..dc4e88e8d7 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_settings.go @@ -0,0 +1,451 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type FileStorageContainerTypeSettings struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewFileStorageContainerTypeSettings instantiates a new FileStorageContainerTypeSettings and sets the default values. +func NewFileStorageContainerTypeSettings()(*FileStorageContainerTypeSettings) { + m := &FileStorageContainerTypeSettings{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateFileStorageContainerTypeSettingsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFileStorageContainerTypeSettingsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFileStorageContainerTypeSettings(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *FileStorageContainerTypeSettings) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *FileStorageContainerTypeSettings) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetConsumingTenantOverridables gets the consumingTenantOverridables property value. A comma-separated list of settings that can be overridden in the consuming tenant. The possible values are: urlTemplate, isDiscoverabilityEnabled, isSearchEnabled, isItemVersioningEnabled, itemMajorVersionLimit, maxStoragePerContainerInBytes, unknownFutureValue. +// returns a *FileStorageContainerTypeSettingsOverride when successful +func (m *FileStorageContainerTypeSettings) GetConsumingTenantOverridables()(*FileStorageContainerTypeSettingsOverride) { + val, err := m.GetBackingStore().Get("consumingTenantOverridables") + if err != nil { + panic(err) + } + if val != nil { + return val.(*FileStorageContainerTypeSettingsOverride) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FileStorageContainerTypeSettings) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["consumingTenantOverridables"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseFileStorageContainerTypeSettingsOverride) + if err != nil { + return err + } + if val != nil { + m.SetConsumingTenantOverridables(val.(*FileStorageContainerTypeSettingsOverride)) + } + return nil + } + res["isDiscoverabilityEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsDiscoverabilityEnabled(val) + } + return nil + } + res["isItemVersioningEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsItemVersioningEnabled(val) + } + return nil + } + res["isSearchEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsSearchEnabled(val) + } + return nil + } + res["isSharingRestricted"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsSharingRestricted(val) + } + return nil + } + res["itemMajorVersionLimit"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetItemMajorVersionLimit(val) + } + return nil + } + res["maxStoragePerContainerInBytes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetMaxStoragePerContainerInBytes(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["sharingCapability"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseSharingCapabilities) + if err != nil { + return err + } + if val != nil { + m.SetSharingCapability(val.(*SharingCapabilities)) + } + return nil + } + res["urlTemplate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetUrlTemplate(val) + } + return nil + } + return res +} +// GetIsDiscoverabilityEnabled gets the isDiscoverabilityEnabled property value. Indicates whether items from containers are surfaced in experiences such as My Activity or Microsoft 365. +// returns a *bool when successful +func (m *FileStorageContainerTypeSettings) GetIsDiscoverabilityEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isDiscoverabilityEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIsItemVersioningEnabled gets the isItemVersioningEnabled property value. Indicates whether item versioning is enabled. +// returns a *bool when successful +func (m *FileStorageContainerTypeSettings) GetIsItemVersioningEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isItemVersioningEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIsSearchEnabled gets the isSearchEnabled property value. Indicates whether search is enabled. +// returns a *bool when successful +func (m *FileStorageContainerTypeSettings) GetIsSearchEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isSearchEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIsSharingRestricted gets the isSharingRestricted property value. Only the manager and owner can share files in the container if restricted sharing is enabled. +// returns a *bool when successful +func (m *FileStorageContainerTypeSettings) GetIsSharingRestricted()(*bool) { + val, err := m.GetBackingStore().Get("isSharingRestricted") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetItemMajorVersionLimit gets the itemMajorVersionLimit property value. Maximum number of versions. Versioning must be enabled ('isItemVersioningEnabled'=true). +// returns a *int64 when successful +func (m *FileStorageContainerTypeSettings) GetItemMajorVersionLimit()(*int64) { + val, err := m.GetBackingStore().Get("itemMajorVersionLimit") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetMaxStoragePerContainerInBytes gets the maxStoragePerContainerInBytes property value. Controls maximum storage in bytes. +// returns a *int64 when successful +func (m *FileStorageContainerTypeSettings) GetMaxStoragePerContainerInBytes()(*int64) { + val, err := m.GetBackingStore().Get("maxStoragePerContainerInBytes") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *FileStorageContainerTypeSettings) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSharingCapability gets the sharingCapability property value. Sharing capabilities permitted for containers. This value can always be overridden during registration if needed. The possible values are: disabled, externalUserSharingOnly, externalUserAndGuestSharing, existingExternalUserSharingOnly, unknownFutureValue. +// returns a *SharingCapabilities when successful +func (m *FileStorageContainerTypeSettings) GetSharingCapability()(*SharingCapabilities) { + val, err := m.GetBackingStore().Get("sharingCapability") + if err != nil { + panic(err) + } + if val != nil { + return val.(*SharingCapabilities) + } + return nil +} +// GetUrlTemplate gets the urlTemplate property value. Pattern used to redirect files. +// returns a *string when successful +func (m *FileStorageContainerTypeSettings) GetUrlTemplate()(*string) { + val, err := m.GetBackingStore().Get("urlTemplate") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *FileStorageContainerTypeSettings) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetConsumingTenantOverridables() != nil { + cast := (*m.GetConsumingTenantOverridables()).String() + err := writer.WriteStringValue("consumingTenantOverridables", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isDiscoverabilityEnabled", m.GetIsDiscoverabilityEnabled()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isItemVersioningEnabled", m.GetIsItemVersioningEnabled()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isSearchEnabled", m.GetIsSearchEnabled()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isSharingRestricted", m.GetIsSharingRestricted()) + if err != nil { + return err + } + } + { + err := writer.WriteInt64Value("itemMajorVersionLimit", m.GetItemMajorVersionLimit()) + if err != nil { + return err + } + } + { + err := writer.WriteInt64Value("maxStoragePerContainerInBytes", m.GetMaxStoragePerContainerInBytes()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + if m.GetSharingCapability() != nil { + cast := (*m.GetSharingCapability()).String() + err := writer.WriteStringValue("sharingCapability", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("urlTemplate", m.GetUrlTemplate()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *FileStorageContainerTypeSettings) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *FileStorageContainerTypeSettings) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetConsumingTenantOverridables sets the consumingTenantOverridables property value. A comma-separated list of settings that can be overridden in the consuming tenant. The possible values are: urlTemplate, isDiscoverabilityEnabled, isSearchEnabled, isItemVersioningEnabled, itemMajorVersionLimit, maxStoragePerContainerInBytes, unknownFutureValue. +func (m *FileStorageContainerTypeSettings) SetConsumingTenantOverridables(value *FileStorageContainerTypeSettingsOverride)() { + err := m.GetBackingStore().Set("consumingTenantOverridables", value) + if err != nil { + panic(err) + } +} +// SetIsDiscoverabilityEnabled sets the isDiscoverabilityEnabled property value. Indicates whether items from containers are surfaced in experiences such as My Activity or Microsoft 365. +func (m *FileStorageContainerTypeSettings) SetIsDiscoverabilityEnabled(value *bool)() { + err := m.GetBackingStore().Set("isDiscoverabilityEnabled", value) + if err != nil { + panic(err) + } +} +// SetIsItemVersioningEnabled sets the isItemVersioningEnabled property value. Indicates whether item versioning is enabled. +func (m *FileStorageContainerTypeSettings) SetIsItemVersioningEnabled(value *bool)() { + err := m.GetBackingStore().Set("isItemVersioningEnabled", value) + if err != nil { + panic(err) + } +} +// SetIsSearchEnabled sets the isSearchEnabled property value. Indicates whether search is enabled. +func (m *FileStorageContainerTypeSettings) SetIsSearchEnabled(value *bool)() { + err := m.GetBackingStore().Set("isSearchEnabled", value) + if err != nil { + panic(err) + } +} +// SetIsSharingRestricted sets the isSharingRestricted property value. Only the manager and owner can share files in the container if restricted sharing is enabled. +func (m *FileStorageContainerTypeSettings) SetIsSharingRestricted(value *bool)() { + err := m.GetBackingStore().Set("isSharingRestricted", value) + if err != nil { + panic(err) + } +} +// SetItemMajorVersionLimit sets the itemMajorVersionLimit property value. Maximum number of versions. Versioning must be enabled ('isItemVersioningEnabled'=true). +func (m *FileStorageContainerTypeSettings) SetItemMajorVersionLimit(value *int64)() { + err := m.GetBackingStore().Set("itemMajorVersionLimit", value) + if err != nil { + panic(err) + } +} +// SetMaxStoragePerContainerInBytes sets the maxStoragePerContainerInBytes property value. Controls maximum storage in bytes. +func (m *FileStorageContainerTypeSettings) SetMaxStoragePerContainerInBytes(value *int64)() { + err := m.GetBackingStore().Set("maxStoragePerContainerInBytes", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *FileStorageContainerTypeSettings) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetSharingCapability sets the sharingCapability property value. Sharing capabilities permitted for containers. This value can always be overridden during registration if needed. The possible values are: disabled, externalUserSharingOnly, externalUserAndGuestSharing, existingExternalUserSharingOnly, unknownFutureValue. +func (m *FileStorageContainerTypeSettings) SetSharingCapability(value *SharingCapabilities)() { + err := m.GetBackingStore().Set("sharingCapability", value) + if err != nil { + panic(err) + } +} +// SetUrlTemplate sets the urlTemplate property value. Pattern used to redirect files. +func (m *FileStorageContainerTypeSettings) SetUrlTemplate(value *string)() { + err := m.GetBackingStore().Set("urlTemplate", value) + if err != nil { + panic(err) + } +} +type FileStorageContainerTypeSettingsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetConsumingTenantOverridables()(*FileStorageContainerTypeSettingsOverride) + GetIsDiscoverabilityEnabled()(*bool) + GetIsItemVersioningEnabled()(*bool) + GetIsSearchEnabled()(*bool) + GetIsSharingRestricted()(*bool) + GetItemMajorVersionLimit()(*int64) + GetMaxStoragePerContainerInBytes()(*int64) + GetOdataType()(*string) + GetSharingCapability()(*SharingCapabilities) + GetUrlTemplate()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetConsumingTenantOverridables(value *FileStorageContainerTypeSettingsOverride)() + SetIsDiscoverabilityEnabled(value *bool)() + SetIsItemVersioningEnabled(value *bool)() + SetIsSearchEnabled(value *bool)() + SetIsSharingRestricted(value *bool)() + SetItemMajorVersionLimit(value *int64)() + SetMaxStoragePerContainerInBytes(value *int64)() + SetOdataType(value *string)() + SetSharingCapability(value *SharingCapabilities)() + SetUrlTemplate(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_settings_override.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_settings_override.go new file mode 100644 index 0000000000..f861c1cc1e --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/file_storage_container_type_settings_override.go @@ -0,0 +1,66 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +import ( + "math" + "strings" +) +type FileStorageContainerTypeSettingsOverride int + +const ( + URLTEMPLATE_FILESTORAGECONTAINERTYPESETTINGSOVERRIDE = 1 + ISDISCOVERABILITYENABLED_FILESTORAGECONTAINERTYPESETTINGSOVERRIDE = 2 + ISSEARCHENABLED_FILESTORAGECONTAINERTYPESETTINGSOVERRIDE = 4 + ISITEMVERSIONINGENABLED_FILESTORAGECONTAINERTYPESETTINGSOVERRIDE = 8 + ITEMMAJORVERSIONLIMIT_FILESTORAGECONTAINERTYPESETTINGSOVERRIDE = 16 + MAXSTORAGEPERCONTAINERINBYTES_FILESTORAGECONTAINERTYPESETTINGSOVERRIDE = 32 + UNKNOWNFUTUREVALUE_FILESTORAGECONTAINERTYPESETTINGSOVERRIDE = 64 +) + +func (i FileStorageContainerTypeSettingsOverride) String() string { + var values []string + options := []string{"urlTemplate", "isDiscoverabilityEnabled", "isSearchEnabled", "isItemVersioningEnabled", "itemMajorVersionLimit", "maxStoragePerContainerInBytes", "unknownFutureValue"} + for p := 0; p < 7; p++ { + mantis := FileStorageContainerTypeSettingsOverride(int(math.Pow(2, float64(p)))) + if i&mantis == mantis { + values = append(values, options[p]) + } + } + return strings.Join(values, ",") +} +func ParseFileStorageContainerTypeSettingsOverride(v string) (any, error) { + var result FileStorageContainerTypeSettingsOverride + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "urlTemplate": + result |= URLTEMPLATE_FILESTORAGECONTAINERTYPESETTINGSOVERRIDE + case "isDiscoverabilityEnabled": + result |= ISDISCOVERABILITYENABLED_FILESTORAGECONTAINERTYPESETTINGSOVERRIDE + case "isSearchEnabled": + result |= ISSEARCHENABLED_FILESTORAGECONTAINERTYPESETTINGSOVERRIDE + case "isItemVersioningEnabled": + result |= ISITEMVERSIONINGENABLED_FILESTORAGECONTAINERTYPESETTINGSOVERRIDE + case "itemMajorVersionLimit": + result |= ITEMMAJORVERSIONLIMIT_FILESTORAGECONTAINERTYPESETTINGSOVERRIDE + case "maxStoragePerContainerInBytes": + result |= MAXSTORAGEPERCONTAINERINBYTES_FILESTORAGECONTAINERTYPESETTINGSOVERRIDE + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_FILESTORAGECONTAINERTYPESETTINGSOVERRIDE + default: + return nil, nil + } + } + return &result, nil +} +func SerializeFileStorageContainerTypeSettingsOverride(values []FileStorageContainerTypeSettingsOverride) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i FileStorageContainerTypeSettingsOverride) isMultiValue() bool { + return true +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/filter_operator_schema.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/filter_operator_schema.go index f6ca6e6322..32177da209 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/filter_operator_schema.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/filter_operator_schema.go @@ -88,7 +88,7 @@ func (m *FilterOperatorSchema) GetMultivaluedComparisonType()(*ScopeOperatorMult } return nil } -// GetSupportedAttributeTypes gets the supportedAttributeTypes property value. Attribute types supported by the operator. Possible values are: Boolean, Binary, Reference, Integer, String. +// GetSupportedAttributeTypes gets the supportedAttributeTypes property value. Attribute types supported by the operator. The possible values are: Boolean, Binary, Reference, Integer, String. // returns a []AttributeType when successful func (m *FilterOperatorSchema) GetSupportedAttributeTypes()([]AttributeType) { val, err := m.GetBackingStore().Get("supportedAttributeTypes") @@ -142,7 +142,7 @@ func (m *FilterOperatorSchema) SetMultivaluedComparisonType(value *ScopeOperator panic(err) } } -// SetSupportedAttributeTypes sets the supportedAttributeTypes property value. Attribute types supported by the operator. Possible values are: Boolean, Binary, Reference, Integer, String. +// SetSupportedAttributeTypes sets the supportedAttributeTypes property value. Attribute types supported by the operator. The possible values are: Boolean, Binary, Reference, Integer, String. func (m *FilterOperatorSchema) SetSupportedAttributeTypes(value []AttributeType)() { err := m.GetBackingStore().Set("supportedAttributeTypes", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fixture_map.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fixture_map.go new file mode 100644 index 0000000000..a969bed7f5 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fixture_map.go @@ -0,0 +1,81 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type FixtureMap struct { + BaseMapFeature +} +// NewFixtureMap instantiates a new FixtureMap and sets the default values. +func NewFixtureMap()(*FixtureMap) { + m := &FixtureMap{ + BaseMapFeature: *NewBaseMapFeature(), + } + odataTypeValue := "#microsoft.graph.fixtureMap" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateFixtureMapFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFixtureMapFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFixtureMap(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FixtureMap) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseMapFeature.GetFieldDeserializers() + res["placeId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPlaceId(val) + } + return nil + } + return res +} +// GetPlaceId gets the placeId property value. Identifier for the floor to which this fixtureMap belongs. +// returns a *string when successful +func (m *FixtureMap) GetPlaceId()(*string) { + val, err := m.GetBackingStore().Get("placeId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *FixtureMap) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseMapFeature.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("placeId", m.GetPlaceId()) + if err != nil { + return err + } + } + return nil +} +// SetPlaceId sets the placeId property value. Identifier for the floor to which this fixtureMap belongs. +func (m *FixtureMap) SetPlaceId(value *string)() { + err := m.GetBackingStore().Set("placeId", value) + if err != nil { + panic(err) + } +} +type FixtureMapable interface { + BaseMapFeatureable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetPlaceId()(*string) + SetPlaceId(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fixture_map_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fixture_map_collection_response.go new file mode 100644 index 0000000000..212cde5919 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fixture_map_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type FixtureMapCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewFixtureMapCollectionResponse instantiates a new FixtureMapCollectionResponse and sets the default values. +func NewFixtureMapCollectionResponse()(*FixtureMapCollectionResponse) { + m := &FixtureMapCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateFixtureMapCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFixtureMapCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFixtureMapCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FixtureMapCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateFixtureMapFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]FixtureMapable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(FixtureMapable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []FixtureMapable when successful +func (m *FixtureMapCollectionResponse) GetValue()([]FixtureMapable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]FixtureMapable) + } + return nil +} +// Serialize serializes information the current object +func (m *FixtureMapCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *FixtureMapCollectionResponse) SetValue(value []FixtureMapable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type FixtureMapCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]FixtureMapable) + SetValue(value []FixtureMapable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/floor.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/floor.go new file mode 100644 index 0000000000..f087596901 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/floor.go @@ -0,0 +1,81 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type Floor struct { + Place +} +// NewFloor instantiates a new Floor and sets the default values. +func NewFloor()(*Floor) { + m := &Floor{ + Place: *NewPlace(), + } + odataTypeValue := "#microsoft.graph.floor" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateFloorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFloorFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFloor(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *Floor) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Place.GetFieldDeserializers() + res["sortOrder"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetSortOrder(val) + } + return nil + } + return res +} +// GetSortOrder gets the sortOrder property value. Specifies the sort order of the floor. For example, a floor might be named 'Lobby' with a sort order of 0 to show this floor first in ordered lists. +// returns a *int32 when successful +func (m *Floor) GetSortOrder()(*int32) { + val, err := m.GetBackingStore().Get("sortOrder") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *Floor) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Place.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteInt32Value("sortOrder", m.GetSortOrder()) + if err != nil { + return err + } + } + return nil +} +// SetSortOrder sets the sortOrder property value. Specifies the sort order of the floor. For example, a floor might be named 'Lobby' with a sort order of 0 to show this floor first in ordered lists. +func (m *Floor) SetSortOrder(value *int32)() { + err := m.GetBackingStore().Set("sortOrder", value) + if err != nil { + panic(err) + } +} +type Floorable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + Placeable + GetSortOrder()(*int32) + SetSortOrder(value *int32)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/floor_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/floor_collection_response.go new file mode 100644 index 0000000000..081d13a811 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/floor_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type FloorCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewFloorCollectionResponse instantiates a new FloorCollectionResponse and sets the default values. +func NewFloorCollectionResponse()(*FloorCollectionResponse) { + m := &FloorCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateFloorCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFloorCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFloorCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FloorCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateFloorFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Floorable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Floorable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Floorable when successful +func (m *FloorCollectionResponse) GetValue()([]Floorable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Floorable) + } + return nil +} +// Serialize serializes information the current object +func (m *FloorCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *FloorCollectionResponse) SetValue(value []Floorable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type FloorCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]Floorable) + SetValue(value []Floorable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/footprint_map.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/footprint_map.go new file mode 100644 index 0000000000..6b56216ba4 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/footprint_map.go @@ -0,0 +1,44 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type FootprintMap struct { + BaseMapFeature +} +// NewFootprintMap instantiates a new FootprintMap and sets the default values. +func NewFootprintMap()(*FootprintMap) { + m := &FootprintMap{ + BaseMapFeature: *NewBaseMapFeature(), + } + odataTypeValue := "#microsoft.graph.footprintMap" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateFootprintMapFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFootprintMapFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFootprintMap(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FootprintMap) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseMapFeature.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *FootprintMap) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseMapFeature.Serialize(writer) + if err != nil { + return err + } + return nil +} +type FootprintMapable interface { + BaseMapFeatureable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/footprint_map_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/footprint_map_collection_response.go new file mode 100644 index 0000000000..ae1a8cf635 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/footprint_map_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type FootprintMapCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewFootprintMapCollectionResponse instantiates a new FootprintMapCollectionResponse and sets the default values. +func NewFootprintMapCollectionResponse()(*FootprintMapCollectionResponse) { + m := &FootprintMapCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateFootprintMapCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFootprintMapCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFootprintMapCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FootprintMapCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateFootprintMapFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]FootprintMapable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(FootprintMapable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []FootprintMapable when successful +func (m *FootprintMapCollectionResponse) GetValue()([]FootprintMapable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]FootprintMapable) + } + return nil +} +// Serialize serializes information the current object +func (m *FootprintMapCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *FootprintMapCollectionResponse) SetValue(value []FootprintMapable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type FootprintMapCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]FootprintMapable) + SetValue(value []FootprintMapable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fraud_protection_configuration.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fraud_protection_configuration.go new file mode 100644 index 0000000000..e687d9d3b9 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fraud_protection_configuration.go @@ -0,0 +1,134 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type FraudProtectionConfiguration struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewFraudProtectionConfiguration instantiates a new FraudProtectionConfiguration and sets the default values. +func NewFraudProtectionConfiguration()(*FraudProtectionConfiguration) { + m := &FraudProtectionConfiguration{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateFraudProtectionConfigurationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFraudProtectionConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.fraudProtectionProviderConfiguration": + return NewFraudProtectionProviderConfiguration(), nil + } + } + } + } + return NewFraudProtectionConfiguration(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *FraudProtectionConfiguration) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *FraudProtectionConfiguration) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FraudProtectionConfiguration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *FraudProtectionConfiguration) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *FraudProtectionConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *FraudProtectionConfiguration) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *FraudProtectionConfiguration) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *FraudProtectionConfiguration) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type FraudProtectionConfigurationable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fraud_protection_provider.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fraud_protection_provider.go new file mode 100644 index 0000000000..dac157d04b --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fraud_protection_provider.go @@ -0,0 +1,99 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type FraudProtectionProvider struct { + Entity +} +// NewFraudProtectionProvider instantiates a new FraudProtectionProvider and sets the default values. +func NewFraudProtectionProvider()(*FraudProtectionProvider) { + m := &FraudProtectionProvider{ + Entity: *NewEntity(), + } + return m +} +// CreateFraudProtectionProviderFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFraudProtectionProviderFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.arkoseFraudProtectionProvider": + return NewArkoseFraudProtectionProvider(), nil + case "#microsoft.graph.humanSecurityFraudProtectionProvider": + return NewHumanSecurityFraudProtectionProvider(), nil + } + } + } + } + return NewFraudProtectionProvider(), nil +} +// GetDisplayName gets the displayName property value. The display name of the fraud protection provider configuration. +// returns a *string when successful +func (m *FraudProtectionProvider) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FraudProtectionProvider) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *FraudProtectionProvider) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + return nil +} +// SetDisplayName sets the displayName property value. The display name of the fraud protection provider configuration. +func (m *FraudProtectionProvider) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +type FraudProtectionProviderable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetDisplayName()(*string) + SetDisplayName(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fraud_protection_provider_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fraud_protection_provider_collection_response.go new file mode 100644 index 0000000000..dbd3445db4 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fraud_protection_provider_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type FraudProtectionProviderCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewFraudProtectionProviderCollectionResponse instantiates a new FraudProtectionProviderCollectionResponse and sets the default values. +func NewFraudProtectionProviderCollectionResponse()(*FraudProtectionProviderCollectionResponse) { + m := &FraudProtectionProviderCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateFraudProtectionProviderCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFraudProtectionProviderCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFraudProtectionProviderCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FraudProtectionProviderCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateFraudProtectionProviderFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]FraudProtectionProviderable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(FraudProtectionProviderable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []FraudProtectionProviderable when successful +func (m *FraudProtectionProviderCollectionResponse) GetValue()([]FraudProtectionProviderable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]FraudProtectionProviderable) + } + return nil +} +// Serialize serializes information the current object +func (m *FraudProtectionProviderCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *FraudProtectionProviderCollectionResponse) SetValue(value []FraudProtectionProviderable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type FraudProtectionProviderCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]FraudProtectionProviderable) + SetValue(value []FraudProtectionProviderable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fraud_protection_provider_configuration.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fraud_protection_provider_configuration.go new file mode 100644 index 0000000000..71406f7813 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/fraud_protection_provider_configuration.go @@ -0,0 +1,81 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type FraudProtectionProviderConfiguration struct { + FraudProtectionConfiguration +} +// NewFraudProtectionProviderConfiguration instantiates a new FraudProtectionProviderConfiguration and sets the default values. +func NewFraudProtectionProviderConfiguration()(*FraudProtectionProviderConfiguration) { + m := &FraudProtectionProviderConfiguration{ + FraudProtectionConfiguration: *NewFraudProtectionConfiguration(), + } + odataTypeValue := "#microsoft.graph.fraudProtectionProviderConfiguration" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateFraudProtectionProviderConfigurationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFraudProtectionProviderConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFraudProtectionProviderConfiguration(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FraudProtectionProviderConfiguration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.FraudProtectionConfiguration.GetFieldDeserializers() + res["fraudProtectionProvider"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateFraudProtectionProviderFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetFraudProtectionProvider(val.(FraudProtectionProviderable)) + } + return nil + } + return res +} +// GetFraudProtectionProvider gets the fraudProtectionProvider property value. The fraudProtectionProvider property +// returns a FraudProtectionProviderable when successful +func (m *FraudProtectionProviderConfiguration) GetFraudProtectionProvider()(FraudProtectionProviderable) { + val, err := m.GetBackingStore().Get("fraudProtectionProvider") + if err != nil { + panic(err) + } + if val != nil { + return val.(FraudProtectionProviderable) + } + return nil +} +// Serialize serializes information the current object +func (m *FraudProtectionProviderConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.FraudProtectionConfiguration.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("fraudProtectionProvider", m.GetFraudProtectionProvider()) + if err != nil { + return err + } + } + return nil +} +// SetFraudProtectionProvider sets the fraudProtectionProvider property value. The fraudProtectionProvider property +func (m *FraudProtectionProviderConfiguration) SetFraudProtectionProvider(value FraudProtectionProviderable)() { + err := m.GetBackingStore().Set("fraudProtectionProvider", value) + if err != nil { + panic(err) + } +} +type FraudProtectionProviderConfigurationable interface { + FraudProtectionConfigurationable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetFraudProtectionProvider()(FraudProtectionProviderable) + SetFraudProtectionProvider(value FraudProtectionProviderable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/group.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/group.go index 047d6fa986..cf3bc10a0a 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/group.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/group.go @@ -788,6 +788,16 @@ func (m *Group) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388 } return nil } + res["onPremisesSyncBehavior"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateOnPremisesSyncBehaviorFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetOnPremisesSyncBehavior(val.(OnPremisesSyncBehaviorable)) + } + return nil + } res["onPremisesSyncEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetBoolValue() if err != nil { @@ -1396,6 +1406,18 @@ func (m *Group) GetOnPremisesSecurityIdentifier()(*string) { } return nil } +// GetOnPremisesSyncBehavior gets the onPremisesSyncBehavior property value. The onPremisesSyncBehavior property +// returns a OnPremisesSyncBehaviorable when successful +func (m *Group) GetOnPremisesSyncBehavior()(OnPremisesSyncBehaviorable) { + val, err := m.GetBackingStore().Get("onPremisesSyncBehavior") + if err != nil { + panic(err) + } + if val != nil { + return val.(OnPremisesSyncBehaviorable) + } + return nil +} // GetOnPremisesSyncEnabled gets the onPremisesSyncEnabled property value. true if this group is synced from an on-premises directory; false if this group was originally synced from an on-premises directory but is no longer synced; null if this object has never synced from an on-premises directory (default). Returned by default. Read-only. Supports $filter (eq, ne, not, in, and eq on null values). // returns a *bool when successful func (m *Group) GetOnPremisesSyncEnabled()(*bool) { @@ -1672,7 +1694,7 @@ func (m *Group) GetUnseenCount()(*int32) { } return nil } -// GetVisibility gets the visibility property value. Specifies the group join policy and group content visibility for groups. Possible values are: Private, Public, or HiddenMembership. HiddenMembership can be set only for Microsoft 365 groups when the groups are created. It can't be updated later. Other values of visibility can be updated after group creation. If visibility value isn't specified during group creation on Microsoft Graph, a security group is created as Private by default, and the Microsoft 365 group is Public. Groups assignable to roles are always Private. To learn more, see group visibility options. Returned by default. Nullable. +// GetVisibility gets the visibility property value. Specifies the group join policy and group content visibility for groups. The possible values are: Private, Public, or HiddenMembership. HiddenMembership can be set only for Microsoft 365 groups when the groups are created. It can't be updated later. Other values of visibility can be updated after group creation. If visibility value isn't specified during group creation on Microsoft Graph, a security group is created as Private by default, and the Microsoft 365 group is Public. Groups assignable to roles are always Private. To learn more, see group visibility options. Returned by default. Nullable. // returns a *string when successful func (m *Group) GetVisibility()(*string) { val, err := m.GetBackingStore().Get("visibility") @@ -2038,6 +2060,12 @@ func (m *Group) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c4 return err } } + { + err = writer.WriteObjectValue("onPremisesSyncBehavior", m.GetOnPremisesSyncBehavior()) + if err != nil { + return err + } + } { err = writer.WriteBoolValue("onPremisesSyncEnabled", m.GetOnPremisesSyncEnabled()) if err != nil { @@ -2552,6 +2580,13 @@ func (m *Group) SetOnPremisesSecurityIdentifier(value *string)() { panic(err) } } +// SetOnPremisesSyncBehavior sets the onPremisesSyncBehavior property value. The onPremisesSyncBehavior property +func (m *Group) SetOnPremisesSyncBehavior(value OnPremisesSyncBehaviorable)() { + err := m.GetBackingStore().Set("onPremisesSyncBehavior", value) + if err != nil { + panic(err) + } +} // SetOnPremisesSyncEnabled sets the onPremisesSyncEnabled property value. true if this group is synced from an on-premises directory; false if this group was originally synced from an on-premises directory but is no longer synced; null if this object has never synced from an on-premises directory (default). Returned by default. Read-only. Supports $filter (eq, ne, not, in, and eq on null values). func (m *Group) SetOnPremisesSyncEnabled(value *bool)() { err := m.GetBackingStore().Set("onPremisesSyncEnabled", value) @@ -2713,7 +2748,7 @@ func (m *Group) SetUnseenCount(value *int32)() { panic(err) } } -// SetVisibility sets the visibility property value. Specifies the group join policy and group content visibility for groups. Possible values are: Private, Public, or HiddenMembership. HiddenMembership can be set only for Microsoft 365 groups when the groups are created. It can't be updated later. Other values of visibility can be updated after group creation. If visibility value isn't specified during group creation on Microsoft Graph, a security group is created as Private by default, and the Microsoft 365 group is Public. Groups assignable to roles are always Private. To learn more, see group visibility options. Returned by default. Nullable. +// SetVisibility sets the visibility property value. Specifies the group join policy and group content visibility for groups. The possible values are: Private, Public, or HiddenMembership. HiddenMembership can be set only for Microsoft 365 groups when the groups are created. It can't be updated later. Other values of visibility can be updated after group creation. If visibility value isn't specified during group creation on Microsoft Graph, a security group is created as Private by default, and the Microsoft 365 group is Public. Groups assignable to roles are always Private. To learn more, see group visibility options. Returned by default. Nullable. func (m *Group) SetVisibility(value *string)() { err := m.GetBackingStore().Set("visibility", value) if err != nil { @@ -2767,6 +2802,7 @@ type Groupable interface { GetOnPremisesProvisioningErrors()([]OnPremisesProvisioningErrorable) GetOnPremisesSamAccountName()(*string) GetOnPremisesSecurityIdentifier()(*string) + GetOnPremisesSyncBehavior()(OnPremisesSyncBehaviorable) GetOnPremisesSyncEnabled()(*bool) GetOwners()([]DirectoryObjectable) GetPermissionGrants()([]ResourceSpecificPermissionGrantable) @@ -2835,6 +2871,7 @@ type Groupable interface { SetOnPremisesProvisioningErrors(value []OnPremisesProvisioningErrorable)() SetOnPremisesSamAccountName(value *string)() SetOnPremisesSecurityIdentifier(value *string)() + SetOnPremisesSyncBehavior(value OnPremisesSyncBehaviorable)() SetOnPremisesSyncEnabled(value *bool)() SetOwners(value []DirectoryObjectable)() SetPermissionGrants(value []ResourceSpecificPermissionGrantable)() diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/human_security_fraud_protection_provider.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/human_security_fraud_protection_provider.go new file mode 100644 index 0000000000..a8886b3db4 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/human_security_fraud_protection_provider.go @@ -0,0 +1,118 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type HumanSecurityFraudProtectionProvider struct { + FraudProtectionProvider +} +// NewHumanSecurityFraudProtectionProvider instantiates a new HumanSecurityFraudProtectionProvider and sets the default values. +func NewHumanSecurityFraudProtectionProvider()(*HumanSecurityFraudProtectionProvider) { + m := &HumanSecurityFraudProtectionProvider{ + FraudProtectionProvider: *NewFraudProtectionProvider(), + } + odataTypeValue := "#microsoft.graph.humanSecurityFraudProtectionProvider" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateHumanSecurityFraudProtectionProviderFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateHumanSecurityFraudProtectionProviderFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewHumanSecurityFraudProtectionProvider(), nil +} +// GetAppId gets the appId property value. Unique identifier for an individual application. You can retrieve this from the HUMAN Security Admin Console or request it from your HUMAN Security Customer Success Manager. +// returns a *string when successful +func (m *HumanSecurityFraudProtectionProvider) GetAppId()(*string) { + val, err := m.GetBackingStore().Get("appId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *HumanSecurityFraudProtectionProvider) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.FraudProtectionProvider.GetFieldDeserializers() + res["appId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetAppId(val) + } + return nil + } + res["serverToken"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetServerToken(val) + } + return nil + } + return res +} +// GetServerToken gets the serverToken property value. Unique identifier used to authenticate API calls between the Server side integration and the HUMAN platform. You can retrieve this from the HUMAN Security Admin Console or request it from your HUMAN Security Customer Success Manager. +// returns a *string when successful +func (m *HumanSecurityFraudProtectionProvider) GetServerToken()(*string) { + val, err := m.GetBackingStore().Get("serverToken") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *HumanSecurityFraudProtectionProvider) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.FraudProtectionProvider.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("appId", m.GetAppId()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("serverToken", m.GetServerToken()) + if err != nil { + return err + } + } + return nil +} +// SetAppId sets the appId property value. Unique identifier for an individual application. You can retrieve this from the HUMAN Security Admin Console or request it from your HUMAN Security Customer Success Manager. +func (m *HumanSecurityFraudProtectionProvider) SetAppId(value *string)() { + err := m.GetBackingStore().Set("appId", value) + if err != nil { + panic(err) + } +} +// SetServerToken sets the serverToken property value. Unique identifier used to authenticate API calls between the Server side integration and the HUMAN platform. You can retrieve this from the HUMAN Security Admin Console or request it from your HUMAN Security Customer Success Manager. +func (m *HumanSecurityFraudProtectionProvider) SetServerToken(value *string)() { + err := m.GetBackingStore().Set("serverToken", value) + if err != nil { + panic(err) + } +} +type HumanSecurityFraudProtectionProviderable interface { + FraudProtectionProviderable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAppId()(*string) + GetServerToken()(*string) + SetAppId(value *string)() + SetServerToken(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identity_container.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identity_container.go index 11d50afa98..27a45db8d0 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identity_container.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identity_container.go @@ -204,6 +204,16 @@ func (m *IdentityContainer) GetFieldDeserializers()(map[string]func(i878a80d2330 } return nil } + res["riskPrevention"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateRiskPreventionContainerFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetRiskPrevention(val.(RiskPreventionContainerable)) + } + return nil + } res["userFlowAttributes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateIdentityUserFlowAttributeFromDiscriminatorValue) if err != nil { @@ -234,6 +244,18 @@ func (m *IdentityContainer) GetIdentityProviders()([]IdentityProviderBaseable) { } return nil } +// GetRiskPrevention gets the riskPrevention property value. Represents the entry point for fraud and risk prevention configurations in Microsoft Entra External ID, including third-party provider settings. +// returns a RiskPreventionContainerable when successful +func (m *IdentityContainer) GetRiskPrevention()(RiskPreventionContainerable) { + val, err := m.GetBackingStore().Get("riskPrevention") + if err != nil { + panic(err) + } + if val != nil { + return val.(RiskPreventionContainerable) + } + return nil +} // GetUserFlowAttributes gets the userFlowAttributes property value. Represents entry point for identity userflow attributes. // returns a []IdentityUserFlowAttributeable when successful func (m *IdentityContainer) GetUserFlowAttributes()([]IdentityUserFlowAttributeable) { @@ -330,6 +352,12 @@ func (m *IdentityContainer) Serialize(writer i878a80d2330e89d26896388a3f487eef27 return err } } + { + err = writer.WriteObjectValue("riskPrevention", m.GetRiskPrevention()) + if err != nil { + return err + } + } if m.GetUserFlowAttributes() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetUserFlowAttributes())) for i, v := range m.GetUserFlowAttributes() { @@ -393,6 +421,13 @@ func (m *IdentityContainer) SetIdentityProviders(value []IdentityProviderBaseabl panic(err) } } +// SetRiskPrevention sets the riskPrevention property value. Represents the entry point for fraud and risk prevention configurations in Microsoft Entra External ID, including third-party provider settings. +func (m *IdentityContainer) SetRiskPrevention(value RiskPreventionContainerable)() { + err := m.GetBackingStore().Set("riskPrevention", value) + if err != nil { + panic(err) + } +} // SetUserFlowAttributes sets the userFlowAttributes property value. Represents entry point for identity userflow attributes. func (m *IdentityContainer) SetUserFlowAttributes(value []IdentityUserFlowAttributeable)() { err := m.GetBackingStore().Set("userFlowAttributes", value) @@ -410,6 +445,7 @@ type IdentityContainerable interface { GetConditionalAccess()(ConditionalAccessRootable) GetCustomAuthenticationExtensions()([]CustomAuthenticationExtensionable) GetIdentityProviders()([]IdentityProviderBaseable) + GetRiskPrevention()(RiskPreventionContainerable) GetUserFlowAttributes()([]IdentityUserFlowAttributeable) SetApiConnectors(value []IdentityApiConnectorable)() SetAuthenticationEventListeners(value []AuthenticationEventListenerable)() @@ -418,5 +454,6 @@ type IdentityContainerable interface { SetConditionalAccess(value ConditionalAccessRootable)() SetCustomAuthenticationExtensions(value []CustomAuthenticationExtensionable)() SetIdentityProviders(value []IdentityProviderBaseable)() + SetRiskPrevention(value RiskPreventionContainerable)() SetUserFlowAttributes(value []IdentityUserFlowAttributeable)() } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identity_provider_base.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identity_provider_base.go index 24634759f8..9bb3ea8fd6 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identity_provider_base.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identity_provider_base.go @@ -38,6 +38,8 @@ func CreateIdentityProviderBaseFromDiscriminatorValue(parseNode i878a80d2330e89d return NewBuiltInIdentityProvider(), nil case "#microsoft.graph.internalDomainFederation": return NewInternalDomainFederation(), nil + case "#microsoft.graph.oidcIdentityProvider": + return NewOidcIdentityProvider(), nil case "#microsoft.graph.samlOrWsFedExternalDomainFederation": return NewSamlOrWsFedExternalDomainFederation(), nil case "#microsoft.graph.samlOrWsFedProvider": diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identity_set.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identity_set.go index 57f921db8b..3235c7fc2a 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identity_set.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identity_set.go @@ -45,6 +45,8 @@ func CreateIdentitySetFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a return NewChatMessageReactionIdentitySet(), nil case "#microsoft.graph.communicationsIdentitySet": return NewCommunicationsIdentitySet(), nil + case "#microsoft.graph.engagementIdentitySet": + return NewEngagementIdentitySet(), nil case "#microsoft.graph.sharePointIdentitySet": return NewSharePointIdentitySet(), nil } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/activate_group_scope.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/activate_group_scope.go new file mode 100644 index 0000000000..2a8160dc77 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/activate_group_scope.go @@ -0,0 +1,82 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type ActivateGroupScope struct { + ActivationScope +} +// NewActivateGroupScope instantiates a new ActivateGroupScope and sets the default values. +func NewActivateGroupScope()(*ActivateGroupScope) { + m := &ActivateGroupScope{ + ActivationScope: *NewActivationScope(), + } + odataTypeValue := "#microsoft.graph.identityGovernance.activateGroupScope" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateActivateGroupScopeFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateActivateGroupScopeFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewActivateGroupScope(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ActivateGroupScope) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ActivationScope.GetFieldDeserializers() + res["group"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateGroupFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetGroup(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable)) + } + return nil + } + return res +} +// GetGroup gets the group property value. The group property +// returns a Groupable when successful +func (m *ActivateGroupScope) GetGroup()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable) { + val, err := m.GetBackingStore().Get("group") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable) + } + return nil +} +// Serialize serializes information the current object +func (m *ActivateGroupScope) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ActivationScope.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("group", m.GetGroup()) + if err != nil { + return err + } + } + return nil +} +// SetGroup sets the group property value. The group property +func (m *ActivateGroupScope) SetGroup(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable)() { + err := m.GetBackingStore().Set("group", value) + if err != nil { + panic(err) + } +} +type ActivateGroupScopeable interface { + ActivationScopeable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetGroup()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable) + SetGroup(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/activate_processing_result_scope.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/activate_processing_result_scope.go new file mode 100644 index 0000000000..f130dac969 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/activate_processing_result_scope.go @@ -0,0 +1,131 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ActivateProcessingResultScope struct { + ActivationScope +} +// NewActivateProcessingResultScope instantiates a new ActivateProcessingResultScope and sets the default values. +func NewActivateProcessingResultScope()(*ActivateProcessingResultScope) { + m := &ActivateProcessingResultScope{ + ActivationScope: *NewActivationScope(), + } + odataTypeValue := "#microsoft.graph.identityGovernance.activateProcessingResultScope" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateActivateProcessingResultScopeFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateActivateProcessingResultScopeFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewActivateProcessingResultScope(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ActivateProcessingResultScope) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ActivationScope.GetFieldDeserializers() + res["processingResults"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateUserProcessingResultFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]UserProcessingResultable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(UserProcessingResultable) + } + } + m.SetProcessingResults(res) + } + return nil + } + res["taskScope"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseActivationTaskScopeType) + if err != nil { + return err + } + if val != nil { + m.SetTaskScope(val.(*ActivationTaskScopeType)) + } + return nil + } + return res +} +// GetProcessingResults gets the processingResults property value. The processingResults property +// returns a []UserProcessingResultable when successful +func (m *ActivateProcessingResultScope) GetProcessingResults()([]UserProcessingResultable) { + val, err := m.GetBackingStore().Get("processingResults") + if err != nil { + panic(err) + } + if val != nil { + return val.([]UserProcessingResultable) + } + return nil +} +// GetTaskScope gets the taskScope property value. The taskScope property +// returns a *ActivationTaskScopeType when successful +func (m *ActivateProcessingResultScope) GetTaskScope()(*ActivationTaskScopeType) { + val, err := m.GetBackingStore().Get("taskScope") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ActivationTaskScopeType) + } + return nil +} +// Serialize serializes information the current object +func (m *ActivateProcessingResultScope) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ActivationScope.Serialize(writer) + if err != nil { + return err + } + if m.GetProcessingResults() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetProcessingResults())) + for i, v := range m.GetProcessingResults() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("processingResults", cast) + if err != nil { + return err + } + } + if m.GetTaskScope() != nil { + cast := (*m.GetTaskScope()).String() + err = writer.WriteStringValue("taskScope", &cast) + if err != nil { + return err + } + } + return nil +} +// SetProcessingResults sets the processingResults property value. The processingResults property +func (m *ActivateProcessingResultScope) SetProcessingResults(value []UserProcessingResultable)() { + err := m.GetBackingStore().Set("processingResults", value) + if err != nil { + panic(err) + } +} +// SetTaskScope sets the taskScope property value. The taskScope property +func (m *ActivateProcessingResultScope) SetTaskScope(value *ActivationTaskScopeType)() { + err := m.GetBackingStore().Set("taskScope", value) + if err != nil { + panic(err) + } +} +type ActivateProcessingResultScopeable interface { + ActivationScopeable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetProcessingResults()([]UserProcessingResultable) + GetTaskScope()(*ActivationTaskScopeType) + SetProcessingResults(value []UserProcessingResultable)() + SetTaskScope(value *ActivationTaskScopeType)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/activate_run_scope.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/activate_run_scope.go new file mode 100644 index 0000000000..22e4ae6ed8 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/activate_run_scope.go @@ -0,0 +1,157 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ActivateRunScope struct { + ActivationScope +} +// NewActivateRunScope instantiates a new ActivateRunScope and sets the default values. +func NewActivateRunScope()(*ActivateRunScope) { + m := &ActivateRunScope{ + ActivationScope: *NewActivationScope(), + } + odataTypeValue := "#microsoft.graph.identityGovernance.activateRunScope" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateActivateRunScopeFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateActivateRunScopeFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewActivateRunScope(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ActivateRunScope) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ActivationScope.GetFieldDeserializers() + res["run"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateRunFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetRun(val.(Runable)) + } + return nil + } + res["taskScope"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseActivationTaskScopeType) + if err != nil { + return err + } + if val != nil { + m.SetTaskScope(val.(*ActivationTaskScopeType)) + } + return nil + } + res["userScope"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseActivationUserScopeType) + if err != nil { + return err + } + if val != nil { + m.SetUserScope(val.(*ActivationUserScopeType)) + } + return nil + } + return res +} +// GetRun gets the run property value. The run property +// returns a Runable when successful +func (m *ActivateRunScope) GetRun()(Runable) { + val, err := m.GetBackingStore().Get("run") + if err != nil { + panic(err) + } + if val != nil { + return val.(Runable) + } + return nil +} +// GetTaskScope gets the taskScope property value. The taskScope property +// returns a *ActivationTaskScopeType when successful +func (m *ActivateRunScope) GetTaskScope()(*ActivationTaskScopeType) { + val, err := m.GetBackingStore().Get("taskScope") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ActivationTaskScopeType) + } + return nil +} +// GetUserScope gets the userScope property value. The userScope property +// returns a *ActivationUserScopeType when successful +func (m *ActivateRunScope) GetUserScope()(*ActivationUserScopeType) { + val, err := m.GetBackingStore().Get("userScope") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ActivationUserScopeType) + } + return nil +} +// Serialize serializes information the current object +func (m *ActivateRunScope) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ActivationScope.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("run", m.GetRun()) + if err != nil { + return err + } + } + if m.GetTaskScope() != nil { + cast := (*m.GetTaskScope()).String() + err = writer.WriteStringValue("taskScope", &cast) + if err != nil { + return err + } + } + if m.GetUserScope() != nil { + cast := (*m.GetUserScope()).String() + err = writer.WriteStringValue("userScope", &cast) + if err != nil { + return err + } + } + return nil +} +// SetRun sets the run property value. The run property +func (m *ActivateRunScope) SetRun(value Runable)() { + err := m.GetBackingStore().Set("run", value) + if err != nil { + panic(err) + } +} +// SetTaskScope sets the taskScope property value. The taskScope property +func (m *ActivateRunScope) SetTaskScope(value *ActivationTaskScopeType)() { + err := m.GetBackingStore().Set("taskScope", value) + if err != nil { + panic(err) + } +} +// SetUserScope sets the userScope property value. The userScope property +func (m *ActivateRunScope) SetUserScope(value *ActivationUserScopeType)() { + err := m.GetBackingStore().Set("userScope", value) + if err != nil { + panic(err) + } +} +type ActivateRunScopeable interface { + ActivationScopeable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetRun()(Runable) + GetTaskScope()(*ActivationTaskScopeType) + GetUserScope()(*ActivationUserScopeType) + SetRun(value Runable)() + SetTaskScope(value *ActivationTaskScopeType)() + SetUserScope(value *ActivationUserScopeType)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/activate_user_scope.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/activate_user_scope.go new file mode 100644 index 0000000000..18f6eeb9aa --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/activate_user_scope.go @@ -0,0 +1,94 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type ActivateUserScope struct { + ActivationScope +} +// NewActivateUserScope instantiates a new ActivateUserScope and sets the default values. +func NewActivateUserScope()(*ActivateUserScope) { + m := &ActivateUserScope{ + ActivationScope: *NewActivationScope(), + } + odataTypeValue := "#microsoft.graph.identityGovernance.activateUserScope" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateActivateUserScopeFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateActivateUserScopeFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewActivateUserScope(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ActivateUserScope) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ActivationScope.GetFieldDeserializers() + res["users"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateUserFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable) + } + } + m.SetUsers(res) + } + return nil + } + return res +} +// GetUsers gets the users property value. The users property +// returns a []Userable when successful +func (m *ActivateUserScope) GetUsers()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable) { + val, err := m.GetBackingStore().Get("users") + if err != nil { + panic(err) + } + if val != nil { + return val.([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable) + } + return nil +} +// Serialize serializes information the current object +func (m *ActivateUserScope) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ActivationScope.Serialize(writer) + if err != nil { + return err + } + if m.GetUsers() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetUsers())) + for i, v := range m.GetUsers() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("users", cast) + if err != nil { + return err + } + } + return nil +} +// SetUsers sets the users property value. The users property +func (m *ActivateUserScope) SetUsers(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable)() { + err := m.GetBackingStore().Set("users", value) + if err != nil { + panic(err) + } +} +type ActivateUserScopeable interface { + ActivationScopeable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetUsers()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable) + SetUsers(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/activation_scope.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/activation_scope.go new file mode 100644 index 0000000000..5209c49397 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/activation_scope.go @@ -0,0 +1,140 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ActivationScope struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewActivationScope instantiates a new ActivationScope and sets the default values. +func NewActivationScope()(*ActivationScope) { + m := &ActivationScope{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateActivationScopeFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateActivationScopeFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.identityGovernance.activateGroupScope": + return NewActivateGroupScope(), nil + case "#microsoft.graph.identityGovernance.activateProcessingResultScope": + return NewActivateProcessingResultScope(), nil + case "#microsoft.graph.identityGovernance.activateRunScope": + return NewActivateRunScope(), nil + case "#microsoft.graph.identityGovernance.activateUserScope": + return NewActivateUserScope(), nil + } + } + } + } + return NewActivationScope(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ActivationScope) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ActivationScope) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ActivationScope) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *ActivationScope) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *ActivationScope) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ActivationScope) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ActivationScope) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ActivationScope) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type ActivationScopeable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/activation_task_scope_type.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/activation_task_scope_type.go new file mode 100644 index 0000000000..68a74e8c1c --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/activation_task_scope_type.go @@ -0,0 +1,39 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance +type ActivationTaskScopeType int + +const ( + ALLTASKS_ACTIVATIONTASKSCOPETYPE ActivationTaskScopeType = iota + FAILEDTASKS_ACTIVATIONTASKSCOPETYPE + UNKNOWNFUTUREVALUE_ACTIVATIONTASKSCOPETYPE +) + +func (i ActivationTaskScopeType) String() string { + return []string{"allTasks", "failedTasks", "unknownFutureValue"}[i] +} +func ParseActivationTaskScopeType(v string) (any, error) { + result := ALLTASKS_ACTIVATIONTASKSCOPETYPE + switch v { + case "allTasks": + result = ALLTASKS_ACTIVATIONTASKSCOPETYPE + case "failedTasks": + result = FAILEDTASKS_ACTIVATIONTASKSCOPETYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_ACTIVATIONTASKSCOPETYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeActivationTaskScopeType(values []ActivationTaskScopeType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ActivationTaskScopeType) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/activation_user_scope_type.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/activation_user_scope_type.go new file mode 100644 index 0000000000..56b0563217 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/activation_user_scope_type.go @@ -0,0 +1,39 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance +type ActivationUserScopeType int + +const ( + ALLUSERS_ACTIVATIONUSERSCOPETYPE ActivationUserScopeType = iota + FAILEDUSERS_ACTIVATIONUSERSCOPETYPE + UNKNOWNFUTUREVALUE_ACTIVATIONUSERSCOPETYPE +) + +func (i ActivationUserScopeType) String() string { + return []string{"allUsers", "failedUsers", "unknownFutureValue"}[i] +} +func ParseActivationUserScopeType(v string) (any, error) { + result := ALLUSERS_ACTIVATIONUSERSCOPETYPE + switch v { + case "allUsers": + result = ALLUSERS_ACTIVATIONUSERSCOPETYPE + case "failedUsers": + result = FAILEDUSERS_ACTIVATIONUSERSCOPETYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_ACTIVATIONUSERSCOPETYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeActivationUserScopeType(values []ActivationUserScopeType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ActivationUserScopeType) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/run.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/run.go index bd6c314226..1c4065cbd8 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/run.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/run.go @@ -24,6 +24,18 @@ func NewRun()(*Run) { func CreateRunFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewRun(), nil } +// GetActivatedOnScope gets the activatedOnScope property value. The scope for which the workflow runs. +// returns a ActivationScopeable when successful +func (m *Run) GetActivatedOnScope()(ActivationScopeable) { + val, err := m.GetBackingStore().Get("activatedOnScope") + if err != nil { + panic(err) + } + if val != nil { + return val.(ActivationScopeable) + } + return nil +} // GetCompletedDateTime gets the completedDateTime property value. The date time that the run completed. Value is null if the workflow hasn't completed.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. // returns a *Time when successful func (m *Run) GetCompletedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { @@ -64,6 +76,16 @@ func (m *Run) GetFailedUsersCount()(*int32) { // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *Run) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.Entity.GetFieldDeserializers() + res["activatedOnScope"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateActivationScopeFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetActivatedOnScope(val.(ActivationScopeable)) + } + return nil + } res["completedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetTimeValue() if err != nil { @@ -114,6 +136,22 @@ func (m *Run) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3 } return nil } + res["reprocessedRuns"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateRunFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Runable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Runable) + } + } + m.SetReprocessedRuns(res) + } + return nil + } res["scheduledDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetTimeValue() if err != nil { @@ -242,6 +280,18 @@ func (m *Run) GetProcessingStatus()(*LifecycleWorkflowProcessingStatus) { } return nil } +// GetReprocessedRuns gets the reprocessedRuns property value. The related reprocessed workflow run. +// returns a []Runable when successful +func (m *Run) GetReprocessedRuns()([]Runable) { + val, err := m.GetBackingStore().Get("reprocessedRuns") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Runable) + } + return nil +} // GetScheduledDateTime gets the scheduledDateTime property value. The date time that the run is scheduled to be executed for a workflow.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. // returns a *Time when successful func (m *Run) GetScheduledDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { @@ -356,6 +406,12 @@ func (m *Run) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493 if err != nil { return err } + { + err = writer.WriteObjectValue("activatedOnScope", m.GetActivatedOnScope()) + if err != nil { + return err + } + } { err = writer.WriteTimeValue("completedDateTime", m.GetCompletedDateTime()) if err != nil { @@ -387,6 +443,18 @@ func (m *Run) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493 return err } } + if m.GetReprocessedRuns() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetReprocessedRuns())) + for i, v := range m.GetReprocessedRuns() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("reprocessedRuns", cast) + if err != nil { + return err + } + } { err = writer.WriteTimeValue("scheduledDateTime", m.GetScheduledDateTime()) if err != nil { @@ -456,6 +524,13 @@ func (m *Run) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493 } return nil } +// SetActivatedOnScope sets the activatedOnScope property value. The scope for which the workflow runs. +func (m *Run) SetActivatedOnScope(value ActivationScopeable)() { + err := m.GetBackingStore().Set("activatedOnScope", value) + if err != nil { + panic(err) + } +} // SetCompletedDateTime sets the completedDateTime property value. The date time that the run completed. Value is null if the workflow hasn't completed.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. func (m *Run) SetCompletedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("completedDateTime", value) @@ -491,6 +566,13 @@ func (m *Run) SetProcessingStatus(value *LifecycleWorkflowProcessingStatus)() { panic(err) } } +// SetReprocessedRuns sets the reprocessedRuns property value. The related reprocessed workflow run. +func (m *Run) SetReprocessedRuns(value []Runable)() { + err := m.GetBackingStore().Set("reprocessedRuns", value) + if err != nil { + panic(err) + } +} // SetScheduledDateTime sets the scheduledDateTime property value. The date time that the run is scheduled to be executed for a workflow.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. func (m *Run) SetScheduledDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("scheduledDateTime", value) @@ -557,11 +639,13 @@ func (m *Run) SetWorkflowExecutionType(value *WorkflowExecutionType)() { type Runable interface { iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetActivatedOnScope()(ActivationScopeable) GetCompletedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetFailedTasksCount()(*int32) GetFailedUsersCount()(*int32) GetLastUpdatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetProcessingStatus()(*LifecycleWorkflowProcessingStatus) + GetReprocessedRuns()([]Runable) GetScheduledDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetStartedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetSuccessfulUsersCount()(*int32) @@ -571,11 +655,13 @@ type Runable interface { GetTotalUsersCount()(*int32) GetUserProcessingResults()([]UserProcessingResultable) GetWorkflowExecutionType()(*WorkflowExecutionType) + SetActivatedOnScope(value ActivationScopeable)() SetCompletedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetFailedTasksCount(value *int32)() SetFailedUsersCount(value *int32)() SetLastUpdatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetProcessingStatus(value *LifecycleWorkflowProcessingStatus)() + SetReprocessedRuns(value []Runable)() SetScheduledDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetStartedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetSuccessfulUsersCount(value *int32)() diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/user_inactivity_trigger.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/user_inactivity_trigger.go new file mode 100644 index 0000000000..44254d0c89 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/user_inactivity_trigger.go @@ -0,0 +1,81 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type UserInactivityTrigger struct { + WorkflowExecutionTrigger +} +// NewUserInactivityTrigger instantiates a new UserInactivityTrigger and sets the default values. +func NewUserInactivityTrigger()(*UserInactivityTrigger) { + m := &UserInactivityTrigger{ + WorkflowExecutionTrigger: *NewWorkflowExecutionTrigger(), + } + odataTypeValue := "#microsoft.graph.identityGovernance.userInactivityTrigger" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateUserInactivityTriggerFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateUserInactivityTriggerFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewUserInactivityTrigger(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *UserInactivityTrigger) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.WorkflowExecutionTrigger.GetFieldDeserializers() + res["inactivityPeriodInDays"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetInactivityPeriodInDays(val) + } + return nil + } + return res +} +// GetInactivityPeriodInDays gets the inactivityPeriodInDays property value. The number of days a user must be inactive before triggering workflow execution. +// returns a *int32 when successful +func (m *UserInactivityTrigger) GetInactivityPeriodInDays()(*int32) { + val, err := m.GetBackingStore().Get("inactivityPeriodInDays") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *UserInactivityTrigger) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.WorkflowExecutionTrigger.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteInt32Value("inactivityPeriodInDays", m.GetInactivityPeriodInDays()) + if err != nil { + return err + } + } + return nil +} +// SetInactivityPeriodInDays sets the inactivityPeriodInDays property value. The number of days a user must be inactive before triggering workflow execution. +func (m *UserInactivityTrigger) SetInactivityPeriodInDays(value *int32)() { + err := m.GetBackingStore().Set("inactivityPeriodInDays", value) + if err != nil { + panic(err) + } +} +type UserInactivityTriggerable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + WorkflowExecutionTriggerable + GetInactivityPeriodInDays()(*int32) + SetInactivityPeriodInDays(value *int32)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/user_processing_result.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/user_processing_result.go index bb1c4c07e7..22834a9b33 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/user_processing_result.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/user_processing_result.go @@ -82,6 +82,22 @@ func (m *UserProcessingResult) GetFieldDeserializers()(map[string]func(i878a80d2 } return nil } + res["reprocessedRuns"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateRunFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Runable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Runable) + } + } + m.SetReprocessedRuns(res) + } + return nil + } res["scheduledDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetTimeValue() if err != nil { @@ -182,6 +198,18 @@ func (m *UserProcessingResult) GetProcessingStatus()(*LifecycleWorkflowProcessin } return nil } +// GetReprocessedRuns gets the reprocessedRuns property value. The related reprocessed workflow run. +// returns a []Runable when successful +func (m *UserProcessingResult) GetReprocessedRuns()([]Runable) { + val, err := m.GetBackingStore().Get("reprocessedRuns") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Runable) + } + return nil +} // GetScheduledDateTime gets the scheduledDateTime property value. The date time that the workflow is scheduled to be executed for a user.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. // returns a *Time when successful func (m *UserProcessingResult) GetScheduledDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { @@ -194,7 +222,7 @@ func (m *UserProcessingResult) GetScheduledDateTime()(*i336074805fc853987abe6f7f } return nil } -// GetStartedDateTime gets the startedDateTime property value. The date time that the workflow execution started. Value is null if the workflow execution has not started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. +// GetStartedDateTime gets the startedDateTime property value. The date time that the workflow execution started. Value is null if the workflow execution hasn't started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. // returns a *Time when successful func (m *UserProcessingResult) GetStartedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("startedDateTime") @@ -303,6 +331,18 @@ func (m *UserProcessingResult) Serialize(writer i878a80d2330e89d26896388a3f487ee return err } } + if m.GetReprocessedRuns() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetReprocessedRuns())) + for i, v := range m.GetReprocessedRuns() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("reprocessedRuns", cast) + if err != nil { + return err + } + } { err = writer.WriteTimeValue("scheduledDateTime", m.GetScheduledDateTime()) if err != nil { @@ -381,6 +421,13 @@ func (m *UserProcessingResult) SetProcessingStatus(value *LifecycleWorkflowProce panic(err) } } +// SetReprocessedRuns sets the reprocessedRuns property value. The related reprocessed workflow run. +func (m *UserProcessingResult) SetReprocessedRuns(value []Runable)() { + err := m.GetBackingStore().Set("reprocessedRuns", value) + if err != nil { + panic(err) + } +} // SetScheduledDateTime sets the scheduledDateTime property value. The date time that the workflow is scheduled to be executed for a user.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. func (m *UserProcessingResult) SetScheduledDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("scheduledDateTime", value) @@ -388,7 +435,7 @@ func (m *UserProcessingResult) SetScheduledDateTime(value *i336074805fc853987abe panic(err) } } -// SetStartedDateTime sets the startedDateTime property value. The date time that the workflow execution started. Value is null if the workflow execution has not started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. +// SetStartedDateTime sets the startedDateTime property value. The date time that the workflow execution started. Value is null if the workflow execution hasn't started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. func (m *UserProcessingResult) SetStartedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("startedDateTime", value) if err != nil { @@ -443,6 +490,7 @@ type UserProcessingResultable interface { GetCompletedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetFailedTasksCount()(*int32) GetProcessingStatus()(*LifecycleWorkflowProcessingStatus) + GetReprocessedRuns()([]Runable) GetScheduledDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetStartedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetSubject()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable) @@ -454,6 +502,7 @@ type UserProcessingResultable interface { SetCompletedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetFailedTasksCount(value *int32)() SetProcessingStatus(value *LifecycleWorkflowProcessingStatus)() + SetReprocessedRuns(value []Runable)() SetScheduledDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetStartedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetSubject(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable)() diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/workflow.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/workflow.go index 6395a951ce..b49b372c07 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/workflow.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/workflow.go @@ -37,7 +37,7 @@ func (m *Workflow) GetDeletedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f307 } return nil } -// GetExecutionScope gets the executionScope property value. The unique identifier of the Microsoft Entra identity that last modified the workflow object. +// GetExecutionScope gets the executionScope property value. The list of users that meet the workflowExecutionConditions of a workflow. // returns a []UserProcessingResultable when successful func (m *Workflow) GetExecutionScope()([]UserProcessingResultable) { val, err := m.GetBackingStore().Get("executionScope") @@ -358,7 +358,7 @@ func (m *Workflow) SetDeletedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6 panic(err) } } -// SetExecutionScope sets the executionScope property value. The unique identifier of the Microsoft Entra identity that last modified the workflow object. +// SetExecutionScope sets the executionScope property value. The list of users that meet the workflowExecutionConditions of a workflow. func (m *Workflow) SetExecutionScope(value []UserProcessingResultable)() { err := m.GetBackingStore().Set("executionScope", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/workflow_execution_trigger.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/workflow_execution_trigger.go index 5a2c7d53a5..8357af3cc1 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/workflow_execution_trigger.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/workflow_execution_trigger.go @@ -41,6 +41,8 @@ func CreateWorkflowExecutionTriggerFromDiscriminatorValue(parseNode i878a80d2330 return NewMembershipChangeTrigger(), nil case "#microsoft.graph.identityGovernance.timeBasedAttributeTrigger": return NewTimeBasedAttributeTrigger(), nil + case "#microsoft.graph.identityGovernance.userInactivityTrigger": + return NewUserInactivityTrigger(), nil } } } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/workflow_execution_type.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/workflow_execution_type.go index 970ffecfba..9bde3fffd8 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/workflow_execution_type.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/identitygovernance/workflow_execution_type.go @@ -8,10 +8,11 @@ const ( SCHEDULED_WORKFLOWEXECUTIONTYPE WorkflowExecutionType = iota ONDEMAND_WORKFLOWEXECUTIONTYPE UNKNOWNFUTUREVALUE_WORKFLOWEXECUTIONTYPE + ACTIVATEDWITHSCOPE_WORKFLOWEXECUTIONTYPE ) func (i WorkflowExecutionType) String() string { - return []string{"scheduled", "onDemand", "unknownFutureValue"}[i] + return []string{"scheduled", "onDemand", "unknownFutureValue", "activatedWithScope"}[i] } func ParseWorkflowExecutionType(v string) (any, error) { result := SCHEDULED_WORKFLOWEXECUTIONTYPE @@ -22,6 +23,8 @@ func ParseWorkflowExecutionType(v string) (any, error) { result = ONDEMAND_WORKFLOWEXECUTIONTYPE case "unknownFutureValue": result = UNKNOWNFUTUREVALUE_WORKFLOWEXECUTIONTYPE + case "activatedWithScope": + result = ACTIVATEDWITHSCOPE_WORKFLOWEXECUTIONTYPE default: return nil, nil } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/initiator.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/initiator.go index b8e58ae94e..631712be7b 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/initiator.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/initiator.go @@ -40,7 +40,7 @@ func (m *Initiator) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2689 } return res } -// GetInitiatorType gets the initiatorType property value. Type of initiator. Possible values are: user, application, system, unknownFutureValue. +// GetInitiatorType gets the initiatorType property value. Type of initiator. The possible values are: user, application, system, unknownFutureValue. // returns a *InitiatorType when successful func (m *Initiator) GetInitiatorType()(*InitiatorType) { val, err := m.GetBackingStore().Get("initiatorType") @@ -67,7 +67,7 @@ func (m *Initiator) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c0 } return nil } -// SetInitiatorType sets the initiatorType property value. Type of initiator. Possible values are: user, application, system, unknownFutureValue. +// SetInitiatorType sets the initiatorType property value. Type of initiator. The possible values are: user, application, system, unknownFutureValue. func (m *Initiator) SetInitiatorType(value *InitiatorType)() { err := m.GetBackingStore().Set("initiatorType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/invitation.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/invitation.go index 489c8853de..e8a5d7e381 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/invitation.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/invitation.go @@ -264,7 +264,7 @@ func (m *Invitation) GetSendInvitationMessage()(*bool) { } return nil } -// GetStatus gets the status property value. The status of the invitation. Possible values are: PendingAcceptance, Completed, InProgress, and Error. +// GetStatus gets the status property value. The status of the invitation. The possible values are: PendingAcceptance, Completed, InProgress, and Error. // returns a *string when successful func (m *Invitation) GetStatus()(*string) { val, err := m.GetBackingStore().Get("status") @@ -426,7 +426,7 @@ func (m *Invitation) SetSendInvitationMessage(value *bool)() { panic(err) } } -// SetStatus sets the status property value. The status of the invitation. Possible values are: PendingAcceptance, Completed, InProgress, and Error. +// SetStatus sets the status property value. The status of the invitation. The possible values are: PendingAcceptance, Completed, InProgress, and Error. func (m *Invitation) SetStatus(value *string)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/invitation_redemption_identity_provider_configuration.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/invitation_redemption_identity_provider_configuration.go index db701c7d41..5cc881b738 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/invitation_redemption_identity_provider_configuration.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/invitation_redemption_identity_provider_configuration.go @@ -61,7 +61,7 @@ func (m *InvitationRedemptionIdentityProviderConfiguration) GetAdditionalData()( func (m *InvitationRedemptionIdentityProviderConfiguration) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetFallbackIdentityProvider gets the fallbackIdentityProvider property value. The fallback identity provider to be used in case no primary identity provider can be used for guest invitation redemption. Possible values are: defaultConfiguredIdp, emailOneTimePasscode, or microsoftAccount. +// GetFallbackIdentityProvider gets the fallbackIdentityProvider property value. The fallback identity provider to be used in case no primary identity provider can be used for guest invitation redemption. The possible values are: defaultConfiguredIdp, emailOneTimePasscode, or microsoftAccount. // returns a *B2bIdentityProvidersType when successful func (m *InvitationRedemptionIdentityProviderConfiguration) GetFallbackIdentityProvider()(*B2bIdentityProvidersType) { val, err := m.GetBackingStore().Get("fallbackIdentityProvider") @@ -127,7 +127,7 @@ func (m *InvitationRedemptionIdentityProviderConfiguration) GetOdataType()(*stri } return nil } -// GetPrimaryIdentityProviderPrecedenceOrder gets the primaryIdentityProviderPrecedenceOrder property value. Collection of identity providers in priority order of preference to be used for guest invitation redemption. Possible values are: azureActiveDirectory, externalFederation, or socialIdentityProviders. +// GetPrimaryIdentityProviderPrecedenceOrder gets the primaryIdentityProviderPrecedenceOrder property value. Collection of identity providers in priority order of preference to be used for guest invitation redemption. The possible values are: azureActiveDirectory, externalFederation, or socialIdentityProviders. // returns a []B2bIdentityProvidersType when successful func (m *InvitationRedemptionIdentityProviderConfiguration) GetPrimaryIdentityProviderPrecedenceOrder()([]B2bIdentityProvidersType) { val, err := m.GetBackingStore().Get("primaryIdentityProviderPrecedenceOrder") @@ -179,7 +179,7 @@ func (m *InvitationRedemptionIdentityProviderConfiguration) SetAdditionalData(va func (m *InvitationRedemptionIdentityProviderConfiguration) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetFallbackIdentityProvider sets the fallbackIdentityProvider property value. The fallback identity provider to be used in case no primary identity provider can be used for guest invitation redemption. Possible values are: defaultConfiguredIdp, emailOneTimePasscode, or microsoftAccount. +// SetFallbackIdentityProvider sets the fallbackIdentityProvider property value. The fallback identity provider to be used in case no primary identity provider can be used for guest invitation redemption. The possible values are: defaultConfiguredIdp, emailOneTimePasscode, or microsoftAccount. func (m *InvitationRedemptionIdentityProviderConfiguration) SetFallbackIdentityProvider(value *B2bIdentityProvidersType)() { err := m.GetBackingStore().Set("fallbackIdentityProvider", value) if err != nil { @@ -193,7 +193,7 @@ func (m *InvitationRedemptionIdentityProviderConfiguration) SetOdataType(value * panic(err) } } -// SetPrimaryIdentityProviderPrecedenceOrder sets the primaryIdentityProviderPrecedenceOrder property value. Collection of identity providers in priority order of preference to be used for guest invitation redemption. Possible values are: azureActiveDirectory, externalFederation, or socialIdentityProviders. +// SetPrimaryIdentityProviderPrecedenceOrder sets the primaryIdentityProviderPrecedenceOrder property value. Collection of identity providers in priority order of preference to be used for guest invitation redemption. The possible values are: azureActiveDirectory, externalFederation, or socialIdentityProviders. func (m *InvitationRedemptionIdentityProviderConfiguration) SetPrimaryIdentityProviderPrecedenceOrder(value []B2bIdentityProvidersType)() { err := m.GetBackingStore().Set("primaryIdentityProviderPrecedenceOrder", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ios_compliance_policy.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ios_compliance_policy.go index a45dc736cc..972692aef4 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ios_compliance_policy.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ios_compliance_policy.go @@ -327,7 +327,7 @@ func (m *IosCompliancePolicy) GetPasscodeRequiredType()(*RequiredPasswordType) { } return nil } -// GetSecurityBlockJailbrokenDevices gets the securityBlockJailbrokenDevices property value. Devices must not be jailbroken or rooted. +// GetSecurityBlockJailbrokenDevices gets the securityBlockJailbrokenDevices property value. Indicates the device should not be jailbroken. When TRUE, if the device is detected as jailbroken it will be reported non-compliant. When FALSE, the device is not reported as non-compliant regardless of device jailbroken state. Default is FALSE. // returns a *bool when successful func (m *IosCompliancePolicy) GetSecurityBlockJailbrokenDevices()(*bool) { val, err := m.GetBackingStore().Get("securityBlockJailbrokenDevices") @@ -524,7 +524,7 @@ func (m *IosCompliancePolicy) SetPasscodeRequiredType(value *RequiredPasswordTyp panic(err) } } -// SetSecurityBlockJailbrokenDevices sets the securityBlockJailbrokenDevices property value. Devices must not be jailbroken or rooted. +// SetSecurityBlockJailbrokenDevices sets the securityBlockJailbrokenDevices property value. Indicates the device should not be jailbroken. When TRUE, if the device is detected as jailbroken it will be reported non-compliant. When FALSE, the device is not reported as non-compliant regardless of device jailbroken state. Default is FALSE. func (m *IosCompliancePolicy) SetSecurityBlockJailbrokenDevices(value *bool)() { err := m.GetBackingStore().Set("securityBlockJailbrokenDevices", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ios_ddm_lob_app_assignment_settings.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ios_ddm_lob_app_assignment_settings.go deleted file mode 100644 index 4ba7f0e60f..0000000000 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ios_ddm_lob_app_assignment_settings.go +++ /dev/null @@ -1,236 +0,0 @@ -// Code generated by Microsoft Kiota - DO NOT EDIT. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -package models - -import ( - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" -) - -// IosDdmLobAppAssignmentSettings contains properties used to assign an iOS iOS Declarative Device Management (DDM) Line Of Business (LOB) mobile app to a group. -type IosDdmLobAppAssignmentSettings struct { - MobileAppAssignmentSettings -} -// NewIosDdmLobAppAssignmentSettings instantiates a new IosDdmLobAppAssignmentSettings and sets the default values. -func NewIosDdmLobAppAssignmentSettings()(*IosDdmLobAppAssignmentSettings) { - m := &IosDdmLobAppAssignmentSettings{ - MobileAppAssignmentSettings: *NewMobileAppAssignmentSettings(), - } - odataTypeValue := "#microsoft.graph.iosDdmLobAppAssignmentSettings" - m.SetOdataType(&odataTypeValue) - return m -} -// CreateIosDdmLobAppAssignmentSettingsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value -// returns a Parsable when successful -func CreateIosDdmLobAppAssignmentSettingsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewIosDdmLobAppAssignmentSettings(), nil -} -// GetAssociatedDomains gets the associatedDomains property value. Domain names to associate with the app -// returns a []string when successful -func (m *IosDdmLobAppAssignmentSettings) GetAssociatedDomains()([]string) { - val, err := m.GetBackingStore().Get("associatedDomains") - if err != nil { - panic(err) - } - if val != nil { - return val.([]string) - } - return nil -} -// GetAssociatedDomainsDirectDownloadAllowed gets the associatedDomainsDirectDownloadAllowed property value. When true, the system allows direct downloads for the AssociatedDomains. When false, the system will not allow direct downloads for the AssociatedDomains. Default is false. -// returns a *bool when successful -func (m *IosDdmLobAppAssignmentSettings) GetAssociatedDomainsDirectDownloadAllowed()(*bool) { - val, err := m.GetBackingStore().Get("associatedDomainsDirectDownloadAllowed") - if err != nil { - panic(err) - } - if val != nil { - return val.(*bool) - } - return nil -} -// GetFieldDeserializers the deserialization information for the current model -// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful -func (m *IosDdmLobAppAssignmentSettings) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { - res := m.MobileAppAssignmentSettings.GetFieldDeserializers() - res["associatedDomains"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetCollectionOfPrimitiveValues("string") - if err != nil { - return err - } - if val != nil { - res := make([]string, len(val)) - for i, v := range val { - if v != nil { - res[i] = *(v.(*string)) - } - } - m.SetAssociatedDomains(res) - } - return nil - } - res["associatedDomainsDirectDownloadAllowed"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetBoolValue() - if err != nil { - return err - } - if val != nil { - m.SetAssociatedDomainsDirectDownloadAllowed(val) - } - return nil - } - res["preventManagedAppBackup"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetBoolValue() - if err != nil { - return err - } - if val != nil { - m.SetPreventManagedAppBackup(val) - } - return nil - } - res["tapToPayScreenLockEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetBoolValue() - if err != nil { - return err - } - if val != nil { - m.SetTapToPayScreenLockEnabled(val) - } - return nil - } - res["vpnConfigurationId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetStringValue() - if err != nil { - return err - } - if val != nil { - m.SetVpnConfigurationId(val) - } - return nil - } - return res -} -// GetPreventManagedAppBackup gets the preventManagedAppBackup property value. When true, indicates that the app should not be backed up to iCloud. When false, indicates that the app may be backed up to iCloud. Default is false. -// returns a *bool when successful -func (m *IosDdmLobAppAssignmentSettings) GetPreventManagedAppBackup()(*bool) { - val, err := m.GetBackingStore().Get("preventManagedAppBackup") - if err != nil { - panic(err) - } - if val != nil { - return val.(*bool) - } - return nil -} -// GetTapToPayScreenLockEnabled gets the tapToPayScreenLockEnabled property value. When true, the device locks its screen after every transaction that requires a customer’s card PIN. When false, the user can choose the behavior. Default value is false. -// returns a *bool when successful -func (m *IosDdmLobAppAssignmentSettings) GetTapToPayScreenLockEnabled()(*bool) { - val, err := m.GetBackingStore().Get("tapToPayScreenLockEnabled") - if err != nil { - panic(err) - } - if val != nil { - return val.(*bool) - } - return nil -} -// GetVpnConfigurationId gets the vpnConfigurationId property value. The unique identifier of the relay to associate with the app. -// returns a *string when successful -func (m *IosDdmLobAppAssignmentSettings) GetVpnConfigurationId()(*string) { - val, err := m.GetBackingStore().Get("vpnConfigurationId") - if err != nil { - panic(err) - } - if val != nil { - return val.(*string) - } - return nil -} -// Serialize serializes information the current object -func (m *IosDdmLobAppAssignmentSettings) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { - err := m.MobileAppAssignmentSettings.Serialize(writer) - if err != nil { - return err - } - if m.GetAssociatedDomains() != nil { - err = writer.WriteCollectionOfStringValues("associatedDomains", m.GetAssociatedDomains()) - if err != nil { - return err - } - } - { - err = writer.WriteBoolValue("associatedDomainsDirectDownloadAllowed", m.GetAssociatedDomainsDirectDownloadAllowed()) - if err != nil { - return err - } - } - { - err = writer.WriteBoolValue("preventManagedAppBackup", m.GetPreventManagedAppBackup()) - if err != nil { - return err - } - } - { - err = writer.WriteBoolValue("tapToPayScreenLockEnabled", m.GetTapToPayScreenLockEnabled()) - if err != nil { - return err - } - } - { - err = writer.WriteStringValue("vpnConfigurationId", m.GetVpnConfigurationId()) - if err != nil { - return err - } - } - return nil -} -// SetAssociatedDomains sets the associatedDomains property value. Domain names to associate with the app -func (m *IosDdmLobAppAssignmentSettings) SetAssociatedDomains(value []string)() { - err := m.GetBackingStore().Set("associatedDomains", value) - if err != nil { - panic(err) - } -} -// SetAssociatedDomainsDirectDownloadAllowed sets the associatedDomainsDirectDownloadAllowed property value. When true, the system allows direct downloads for the AssociatedDomains. When false, the system will not allow direct downloads for the AssociatedDomains. Default is false. -func (m *IosDdmLobAppAssignmentSettings) SetAssociatedDomainsDirectDownloadAllowed(value *bool)() { - err := m.GetBackingStore().Set("associatedDomainsDirectDownloadAllowed", value) - if err != nil { - panic(err) - } -} -// SetPreventManagedAppBackup sets the preventManagedAppBackup property value. When true, indicates that the app should not be backed up to iCloud. When false, indicates that the app may be backed up to iCloud. Default is false. -func (m *IosDdmLobAppAssignmentSettings) SetPreventManagedAppBackup(value *bool)() { - err := m.GetBackingStore().Set("preventManagedAppBackup", value) - if err != nil { - panic(err) - } -} -// SetTapToPayScreenLockEnabled sets the tapToPayScreenLockEnabled property value. When true, the device locks its screen after every transaction that requires a customer’s card PIN. When false, the user can choose the behavior. Default value is false. -func (m *IosDdmLobAppAssignmentSettings) SetTapToPayScreenLockEnabled(value *bool)() { - err := m.GetBackingStore().Set("tapToPayScreenLockEnabled", value) - if err != nil { - panic(err) - } -} -// SetVpnConfigurationId sets the vpnConfigurationId property value. The unique identifier of the relay to associate with the app. -func (m *IosDdmLobAppAssignmentSettings) SetVpnConfigurationId(value *string)() { - err := m.GetBackingStore().Set("vpnConfigurationId", value) - if err != nil { - panic(err) - } -} -type IosDdmLobAppAssignmentSettingsable interface { - MobileAppAssignmentSettingsable - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAssociatedDomains()([]string) - GetAssociatedDomainsDirectDownloadAllowed()(*bool) - GetPreventManagedAppBackup()(*bool) - GetTapToPayScreenLockEnabled()(*bool) - GetVpnConfigurationId()(*string) - SetAssociatedDomains(value []string)() - SetAssociatedDomainsDirectDownloadAllowed(value *bool)() - SetPreventManagedAppBackup(value *bool)() - SetTapToPayScreenLockEnabled(value *bool)() - SetVpnConfigurationId(value *string)() -} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ios_minimum_operating_system.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ios_minimum_operating_system.go index 5111552d39..eb30f373ee 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ios_minimum_operating_system.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/ios_minimum_operating_system.go @@ -152,7 +152,7 @@ func (m *IosMinimumOperatingSystem) GetOdataType()(*string) { } return nil } -// GetV100 gets the v10_0 property value. When TRUE, only Version 10.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. +// GetV100 gets the v10_0 property value. Indicates the minimum iOS version support required for the managed device. When 'True', iOS with OS Version 10.0 or later is required to install the app. If 'False', iOS Version 10.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. // returns a *bool when successful func (m *IosMinimumOperatingSystem) GetV100()(*bool) { val, err := m.GetBackingStore().Get("v10_0") @@ -164,7 +164,7 @@ func (m *IosMinimumOperatingSystem) GetV100()(*bool) { } return nil } -// GetV110 gets the v11_0 property value. When TRUE, only Version 11.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. +// GetV110 gets the v11_0 property value. Indicates the minimum iOS version support required for the managed device. When 'True', iOS with OS Version 11.0 or later is required to install the app. If 'False', iOS Version 11.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. // returns a *bool when successful func (m *IosMinimumOperatingSystem) GetV110()(*bool) { val, err := m.GetBackingStore().Get("v11_0") @@ -176,7 +176,7 @@ func (m *IosMinimumOperatingSystem) GetV110()(*bool) { } return nil } -// GetV120 gets the v12_0 property value. When TRUE, only Version 12.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. +// GetV120 gets the v12_0 property value. Indicates the minimum iOS version support required for the managed device. When 'True', iOS with OS Version 12.0 or later is required to install the app. If 'False', iOS Version 12.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. // returns a *bool when successful func (m *IosMinimumOperatingSystem) GetV120()(*bool) { val, err := m.GetBackingStore().Get("v12_0") @@ -188,7 +188,7 @@ func (m *IosMinimumOperatingSystem) GetV120()(*bool) { } return nil } -// GetV130 gets the v13_0 property value. When TRUE, only Version 13.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. +// GetV130 gets the v13_0 property value. Indicates the minimum iOS version support required for the managed device. When 'True', iOS with OS Version 13.0 or later is required to install the app. If 'False', iOS Version 13.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. // returns a *bool when successful func (m *IosMinimumOperatingSystem) GetV130()(*bool) { val, err := m.GetBackingStore().Get("v13_0") @@ -200,7 +200,7 @@ func (m *IosMinimumOperatingSystem) GetV130()(*bool) { } return nil } -// GetV140 gets the v14_0 property value. When TRUE, only Version 14.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. +// GetV140 gets the v14_0 property value. Indicates the minimum iOS version support required for the managed device. When 'True', iOS with OS Version 14.0 or later is required to install the app. If 'False', iOS Version 14.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. // returns a *bool when successful func (m *IosMinimumOperatingSystem) GetV140()(*bool) { val, err := m.GetBackingStore().Get("v14_0") @@ -212,7 +212,7 @@ func (m *IosMinimumOperatingSystem) GetV140()(*bool) { } return nil } -// GetV150 gets the v15_0 property value. When TRUE, only Version 15.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. +// GetV150 gets the v15_0 property value. Indicates the minimum iOS version support required for the managed device. When 'True', iOS with OS Version 15.0 or later is required to install the app. If 'False', iOS Version 15.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. // returns a *bool when successful func (m *IosMinimumOperatingSystem) GetV150()(*bool) { val, err := m.GetBackingStore().Get("v15_0") @@ -224,7 +224,7 @@ func (m *IosMinimumOperatingSystem) GetV150()(*bool) { } return nil } -// GetV80 gets the v8_0 property value. When TRUE, only Version 8.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. +// GetV80 gets the v8_0 property value. Indicates the minimum iOS version support required for the managed device. When 'True', iOS with OS Version 8.0 or later is required to install the app. If 'False', iOS Version 8.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. // returns a *bool when successful func (m *IosMinimumOperatingSystem) GetV80()(*bool) { val, err := m.GetBackingStore().Get("v8_0") @@ -236,7 +236,7 @@ func (m *IosMinimumOperatingSystem) GetV80()(*bool) { } return nil } -// GetV90 gets the v9_0 property value. When TRUE, only Version 9.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. +// GetV90 gets the v9_0 property value. Indicates the minimum iOS version support required for the managed device. When 'True', iOS with OS Version 9.0 or later is required to install the app. If 'False', iOS Version 9.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. // returns a *bool when successful func (m *IosMinimumOperatingSystem) GetV90()(*bool) { val, err := m.GetBackingStore().Get("v9_0") @@ -330,56 +330,56 @@ func (m *IosMinimumOperatingSystem) SetOdataType(value *string)() { panic(err) } } -// SetV100 sets the v10_0 property value. When TRUE, only Version 10.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. +// SetV100 sets the v10_0 property value. Indicates the minimum iOS version support required for the managed device. When 'True', iOS with OS Version 10.0 or later is required to install the app. If 'False', iOS Version 10.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. func (m *IosMinimumOperatingSystem) SetV100(value *bool)() { err := m.GetBackingStore().Set("v10_0", value) if err != nil { panic(err) } } -// SetV110 sets the v11_0 property value. When TRUE, only Version 11.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. +// SetV110 sets the v11_0 property value. Indicates the minimum iOS version support required for the managed device. When 'True', iOS with OS Version 11.0 or later is required to install the app. If 'False', iOS Version 11.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. func (m *IosMinimumOperatingSystem) SetV110(value *bool)() { err := m.GetBackingStore().Set("v11_0", value) if err != nil { panic(err) } } -// SetV120 sets the v12_0 property value. When TRUE, only Version 12.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. +// SetV120 sets the v12_0 property value. Indicates the minimum iOS version support required for the managed device. When 'True', iOS with OS Version 12.0 or later is required to install the app. If 'False', iOS Version 12.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. func (m *IosMinimumOperatingSystem) SetV120(value *bool)() { err := m.GetBackingStore().Set("v12_0", value) if err != nil { panic(err) } } -// SetV130 sets the v13_0 property value. When TRUE, only Version 13.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. +// SetV130 sets the v13_0 property value. Indicates the minimum iOS version support required for the managed device. When 'True', iOS with OS Version 13.0 or later is required to install the app. If 'False', iOS Version 13.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. func (m *IosMinimumOperatingSystem) SetV130(value *bool)() { err := m.GetBackingStore().Set("v13_0", value) if err != nil { panic(err) } } -// SetV140 sets the v14_0 property value. When TRUE, only Version 14.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. +// SetV140 sets the v14_0 property value. Indicates the minimum iOS version support required for the managed device. When 'True', iOS with OS Version 14.0 or later is required to install the app. If 'False', iOS Version 14.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. func (m *IosMinimumOperatingSystem) SetV140(value *bool)() { err := m.GetBackingStore().Set("v14_0", value) if err != nil { panic(err) } } -// SetV150 sets the v15_0 property value. When TRUE, only Version 15.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. +// SetV150 sets the v15_0 property value. Indicates the minimum iOS version support required for the managed device. When 'True', iOS with OS Version 15.0 or later is required to install the app. If 'False', iOS Version 15.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. func (m *IosMinimumOperatingSystem) SetV150(value *bool)() { err := m.GetBackingStore().Set("v15_0", value) if err != nil { panic(err) } } -// SetV80 sets the v8_0 property value. When TRUE, only Version 8.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. +// SetV80 sets the v8_0 property value. Indicates the minimum iOS version support required for the managed device. When 'True', iOS with OS Version 8.0 or later is required to install the app. If 'False', iOS Version 8.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. func (m *IosMinimumOperatingSystem) SetV80(value *bool)() { err := m.GetBackingStore().Set("v8_0", value) if err != nil { panic(err) } } -// SetV90 sets the v9_0 property value. When TRUE, only Version 9.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. +// SetV90 sets the v9_0 property value. Indicates the minimum iOS version support required for the managed device. When 'True', iOS with OS Version 9.0 or later is required to install the app. If 'False', iOS Version 9.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. func (m *IosMinimumOperatingSystem) SetV90(value *bool)() { err := m.GetBackingStore().Set("v9_0", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/landing_page.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/landing_page.go index d8aad3c910..97d4ec2eb3 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/landing_page.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/landing_page.go @@ -247,7 +247,7 @@ func (m *LandingPage) GetLocale()(*string) { } return nil } -// GetSource gets the source property value. The source of the content. Possible values are: unknown, global, tenant, unknownFutureValue. +// GetSource gets the source property value. The source of the content. The possible values are: unknown, global, tenant, unknownFutureValue. // returns a *SimulationContentSource when successful func (m *LandingPage) GetSource()(*SimulationContentSource) { val, err := m.GetBackingStore().Get("source") @@ -259,7 +259,7 @@ func (m *LandingPage) GetSource()(*SimulationContentSource) { } return nil } -// GetStatus gets the status property value. The status of the simulation. Possible values are: unknown, draft, ready, archive, delete, unknownFutureValue. +// GetStatus gets the status property value. The status of the simulation. The possible values are: unknown, draft, ready, archive, delete, unknownFutureValue. // returns a *SimulationContentStatus when successful func (m *LandingPage) GetStatus()(*SimulationContentStatus) { val, err := m.GetBackingStore().Get("status") @@ -421,14 +421,14 @@ func (m *LandingPage) SetLocale(value *string)() { panic(err) } } -// SetSource sets the source property value. The source of the content. Possible values are: unknown, global, tenant, unknownFutureValue. +// SetSource sets the source property value. The source of the content. The possible values are: unknown, global, tenant, unknownFutureValue. func (m *LandingPage) SetSource(value *SimulationContentSource)() { err := m.GetBackingStore().Set("source", value) if err != nil { panic(err) } } -// SetStatus sets the status property value. The status of the simulation. Possible values are: unknown, draft, ready, archive, delete, unknownFutureValue. +// SetStatus sets the status property value. The status of the simulation. The possible values are: unknown, draft, ready, archive, delete, unknownFutureValue. func (m *LandingPage) SetStatus(value *SimulationContentStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/learning_content.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/learning_content.go index 6652234a3b..4899904380 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/learning_content.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/learning_content.go @@ -393,7 +393,7 @@ func (m *LearningContent) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3 } return nil } -// GetLevel gets the level property value. The difficulty level of the learning content. Possible values are: Beginner, Intermediate, Advanced, unknownFutureValue. Optional. +// GetLevel gets the level property value. The difficulty level of the learning content. The possible values are: Beginner, Intermediate, Advanced, unknownFutureValue. Optional. // returns a *Level when successful func (m *LearningContent) GetLevel()(*Level) { val, err := m.GetBackingStore().Get("level") @@ -679,7 +679,7 @@ func (m *LearningContent) SetLastModifiedDateTime(value *i336074805fc853987abe6f panic(err) } } -// SetLevel sets the level property value. The difficulty level of the learning content. Possible values are: Beginner, Intermediate, Advanced, unknownFutureValue. Optional. +// SetLevel sets the level property value. The difficulty level of the learning content. The possible values are: Beginner, Intermediate, Advanced, unknownFutureValue. Optional. func (m *LearningContent) SetLevel(value *Level)() { err := m.GetBackingStore().Set("level", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/learning_course_activity.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/learning_course_activity.go index 8ab4b8e303..f85f569d61 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/learning_course_activity.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/learning_course_activity.go @@ -191,7 +191,7 @@ func (m *LearningCourseActivity) GetLearningProviderId()(*string) { } return nil } -// GetStatus gets the status property value. The status of the course activity. Possible values are: notStarted, inProgress, completed. Required. +// GetStatus gets the status property value. The status of the course activity. The possible values are: notStarted, inProgress, completed. Required. // returns a *CourseStatus when successful func (m *LearningCourseActivity) GetStatus()(*CourseStatus) { val, err := m.GetBackingStore().Get("status") @@ -296,7 +296,7 @@ func (m *LearningCourseActivity) SetLearningProviderId(value *string)() { panic(err) } } -// SetStatus sets the status property value. The status of the course activity. Possible values are: notStarted, inProgress, completed. Required. +// SetStatus sets the status property value. The status of the course activity. The possible values are: notStarted, inProgress, completed. Required. func (m *LearningCourseActivity) SetStatus(value *CourseStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/level_map.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/level_map.go new file mode 100644 index 0000000000..6c548a5d77 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/level_map.go @@ -0,0 +1,228 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type LevelMap struct { + BaseMapFeature +} +// NewLevelMap instantiates a new LevelMap and sets the default values. +func NewLevelMap()(*LevelMap) { + m := &LevelMap{ + BaseMapFeature: *NewBaseMapFeature(), + } + odataTypeValue := "#microsoft.graph.levelMap" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateLevelMapFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateLevelMapFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewLevelMap(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *LevelMap) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseMapFeature.GetFieldDeserializers() + res["fixtures"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateFixtureMapFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]FixtureMapable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(FixtureMapable) + } + } + m.SetFixtures(res) + } + return nil + } + res["placeId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPlaceId(val) + } + return nil + } + res["sections"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSectionMapFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]SectionMapable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(SectionMapable) + } + } + m.SetSections(res) + } + return nil + } + res["units"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateUnitMapFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]UnitMapable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(UnitMapable) + } + } + m.SetUnits(res) + } + return nil + } + return res +} +// GetFixtures gets the fixtures property value. Collection of fixtures (such as furniture or equipment) on this level. Supports upsert. +// returns a []FixtureMapable when successful +func (m *LevelMap) GetFixtures()([]FixtureMapable) { + val, err := m.GetBackingStore().Get("fixtures") + if err != nil { + panic(err) + } + if val != nil { + return val.([]FixtureMapable) + } + return nil +} +// GetPlaceId gets the placeId property value. Identifier of the floor to which this levelMap belongs. +// returns a *string when successful +func (m *LevelMap) GetPlaceId()(*string) { + val, err := m.GetBackingStore().Get("placeId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSections gets the sections property value. Collection of sections (such as zones or partitions) on this level. Supports upsert. +// returns a []SectionMapable when successful +func (m *LevelMap) GetSections()([]SectionMapable) { + val, err := m.GetBackingStore().Get("sections") + if err != nil { + panic(err) + } + if val != nil { + return val.([]SectionMapable) + } + return nil +} +// GetUnits gets the units property value. Collection of units (such as rooms or offices) on this level. Supports upsert. +// returns a []UnitMapable when successful +func (m *LevelMap) GetUnits()([]UnitMapable) { + val, err := m.GetBackingStore().Get("units") + if err != nil { + panic(err) + } + if val != nil { + return val.([]UnitMapable) + } + return nil +} +// Serialize serializes information the current object +func (m *LevelMap) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseMapFeature.Serialize(writer) + if err != nil { + return err + } + if m.GetFixtures() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetFixtures())) + for i, v := range m.GetFixtures() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("fixtures", cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("placeId", m.GetPlaceId()) + if err != nil { + return err + } + } + if m.GetSections() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetSections())) + for i, v := range m.GetSections() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("sections", cast) + if err != nil { + return err + } + } + if m.GetUnits() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetUnits())) + for i, v := range m.GetUnits() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("units", cast) + if err != nil { + return err + } + } + return nil +} +// SetFixtures sets the fixtures property value. Collection of fixtures (such as furniture or equipment) on this level. Supports upsert. +func (m *LevelMap) SetFixtures(value []FixtureMapable)() { + err := m.GetBackingStore().Set("fixtures", value) + if err != nil { + panic(err) + } +} +// SetPlaceId sets the placeId property value. Identifier of the floor to which this levelMap belongs. +func (m *LevelMap) SetPlaceId(value *string)() { + err := m.GetBackingStore().Set("placeId", value) + if err != nil { + panic(err) + } +} +// SetSections sets the sections property value. Collection of sections (such as zones or partitions) on this level. Supports upsert. +func (m *LevelMap) SetSections(value []SectionMapable)() { + err := m.GetBackingStore().Set("sections", value) + if err != nil { + panic(err) + } +} +// SetUnits sets the units property value. Collection of units (such as rooms or offices) on this level. Supports upsert. +func (m *LevelMap) SetUnits(value []UnitMapable)() { + err := m.GetBackingStore().Set("units", value) + if err != nil { + panic(err) + } +} +type LevelMapable interface { + BaseMapFeatureable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetFixtures()([]FixtureMapable) + GetPlaceId()(*string) + GetSections()([]SectionMapable) + GetUnits()([]UnitMapable) + SetFixtures(value []FixtureMapable)() + SetPlaceId(value *string)() + SetSections(value []SectionMapable)() + SetUnits(value []UnitMapable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/level_map_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/level_map_collection_response.go new file mode 100644 index 0000000000..7f82f23611 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/level_map_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type LevelMapCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewLevelMapCollectionResponse instantiates a new LevelMapCollectionResponse and sets the default values. +func NewLevelMapCollectionResponse()(*LevelMapCollectionResponse) { + m := &LevelMapCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateLevelMapCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateLevelMapCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewLevelMapCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *LevelMapCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateLevelMapFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]LevelMapable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(LevelMapable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []LevelMapable when successful +func (m *LevelMapCollectionResponse) GetValue()([]LevelMapable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]LevelMapable) + } + return nil +} +// Serialize serializes information the current object +func (m *LevelMapCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *LevelMapCollectionResponse) SetValue(value []LevelMapable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type LevelMapCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]LevelMapable) + SetValue(value []LevelMapable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/list_item.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/list_item.go index 5e52f83f69..cae9c4c1ef 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/list_item.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/list_item.go @@ -48,6 +48,18 @@ func (m *ListItem) GetContentType()(ContentTypeInfoable) { } return nil } +// GetDeleted gets the deleted property value. If present in the result of a delta enumeration, indicates that the item was deleted. Read-only. +// returns a Deletedable when successful +func (m *ListItem) GetDeleted()(Deletedable) { + val, err := m.GetBackingStore().Get("deleted") + if err != nil { + panic(err) + } + if val != nil { + return val.(Deletedable) + } + return nil +} // GetDocumentSetVersions gets the documentSetVersions property value. Version information for a document set version created by a user. // returns a []DocumentSetVersionable when successful func (m *ListItem) GetDocumentSetVersions()([]DocumentSetVersionable) { @@ -96,6 +108,16 @@ func (m *ListItem) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896 } return nil } + res["deleted"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateDeletedFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetDeleted(val.(Deletedable)) + } + return nil + } res["documentSetVersions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateDocumentSetVersionFromDiscriminatorValue) if err != nil { @@ -214,6 +236,12 @@ func (m *ListItem) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c01 return err } } + { + err = writer.WriteObjectValue("deleted", m.GetDeleted()) + if err != nil { + return err + } + } if m.GetDocumentSetVersions() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetDocumentSetVersions())) for i, v := range m.GetDocumentSetVersions() { @@ -272,6 +300,13 @@ func (m *ListItem) SetContentType(value ContentTypeInfoable)() { panic(err) } } +// SetDeleted sets the deleted property value. If present in the result of a delta enumeration, indicates that the item was deleted. Read-only. +func (m *ListItem) SetDeleted(value Deletedable)() { + err := m.GetBackingStore().Set("deleted", value) + if err != nil { + panic(err) + } +} // SetDocumentSetVersions sets the documentSetVersions property value. Version information for a document set version created by a user. func (m *ListItem) SetDocumentSetVersions(value []DocumentSetVersionable)() { err := m.GetBackingStore().Set("documentSetVersions", value) @@ -312,6 +347,7 @@ type ListItemable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAnalytics()(ItemAnalyticsable) GetContentType()(ContentTypeInfoable) + GetDeleted()(Deletedable) GetDocumentSetVersions()([]DocumentSetVersionable) GetDriveItem()(DriveItemable) GetFields()(FieldValueSetable) @@ -319,6 +355,7 @@ type ListItemable interface { GetVersions()([]ListItemVersionable) SetAnalytics(value ItemAnalyticsable)() SetContentType(value ContentTypeInfoable)() + SetDeleted(value Deletedable)() SetDocumentSetVersions(value []DocumentSetVersionable)() SetDriveItem(value DriveItemable)() SetFields(value FieldValueSetable)() diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/login_page.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/login_page.go index 6f7015306c..f368e56202 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/login_page.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/login_page.go @@ -225,7 +225,7 @@ func (m *LoginPage) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6 } return nil } -// GetSource gets the source property value. The source of the content. Possible values are: unknown, global, tenant, unknownFutureValue. +// GetSource gets the source property value. The source of the content. The possible values are: unknown, global, tenant, unknownFutureValue. // returns a *SimulationContentSource when successful func (m *LoginPage) GetSource()(*SimulationContentSource) { val, err := m.GetBackingStore().Get("source") @@ -237,7 +237,7 @@ func (m *LoginPage) GetSource()(*SimulationContentSource) { } return nil } -// GetStatus gets the status property value. The login page status. Possible values are: unknown, draft, ready, archive, delete, unknownFutureValue. +// GetStatus gets the status property value. The login page status. The possible values are: unknown, draft, ready, archive, delete, unknownFutureValue. // returns a *SimulationContentStatus when successful func (m *LoginPage) GetStatus()(*SimulationContentStatus) { val, err := m.GetBackingStore().Get("status") @@ -375,14 +375,14 @@ func (m *LoginPage) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad panic(err) } } -// SetSource sets the source property value. The source of the content. Possible values are: unknown, global, tenant, unknownFutureValue. +// SetSource sets the source property value. The source of the content. The possible values are: unknown, global, tenant, unknownFutureValue. func (m *LoginPage) SetSource(value *SimulationContentSource)() { err := m.GetBackingStore().Set("source", value) if err != nil { panic(err) } } -// SetStatus sets the status property value. The login page status. Possible values are: unknown, draft, ready, archive, delete, unknownFutureValue. +// SetStatus sets the status property value. The login page status. The possible values are: unknown, draft, ready, archive, delete, unknownFutureValue. func (m *LoginPage) SetStatus(value *SimulationContentStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mac_o_s_lob_app.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mac_o_s_lob_app.go index e0ee01e684..2ee8901256 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mac_o_s_lob_app.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mac_o_s_lob_app.go @@ -169,7 +169,7 @@ func (m *MacOSLobApp) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26 } return res } -// GetIgnoreVersionDetection gets the ignoreVersionDetection property value. When TRUE, indicates that the app's version will NOT be used to detect if the app is installed on a device. When FALSE, indicates that the app's version will be used to detect if the app is installed on a device. Set this to true for apps that use a self update feature. +// GetIgnoreVersionDetection gets the ignoreVersionDetection property value. When TRUE, indicates that the app's version will NOT be used to detect if the app is installed on a device. When FALSE, indicates that the app's version will be used to detect if the app is installed on a device. Set this to true for apps that use a self update feature. The default value is FALSE. // returns a *bool when successful func (m *MacOSLobApp) GetIgnoreVersionDetection()(*bool) { val, err := m.GetBackingStore().Get("ignoreVersionDetection") @@ -181,7 +181,7 @@ func (m *MacOSLobApp) GetIgnoreVersionDetection()(*bool) { } return nil } -// GetInstallAsManaged gets the installAsManaged property value. When TRUE, indicates that the app will be installed as managed (requires macOS 11.0 and other managed package restrictions). When FALSE, indicates that the app will be installed as unmanaged. +// GetInstallAsManaged gets the installAsManaged property value. When TRUE, indicates that the app will be installed as managed (requires macOS 11.0 and other managed package restrictions). When FALSE, indicates that the app will be installed as unmanaged. The default value is FALSE. // returns a *bool when successful func (m *MacOSLobApp) GetInstallAsManaged()(*bool) { val, err := m.GetBackingStore().Get("installAsManaged") @@ -330,14 +330,14 @@ func (m *MacOSLobApp) SetChildApps(value []MacOSLobChildAppable)() { panic(err) } } -// SetIgnoreVersionDetection sets the ignoreVersionDetection property value. When TRUE, indicates that the app's version will NOT be used to detect if the app is installed on a device. When FALSE, indicates that the app's version will be used to detect if the app is installed on a device. Set this to true for apps that use a self update feature. +// SetIgnoreVersionDetection sets the ignoreVersionDetection property value. When TRUE, indicates that the app's version will NOT be used to detect if the app is installed on a device. When FALSE, indicates that the app's version will be used to detect if the app is installed on a device. Set this to true for apps that use a self update feature. The default value is FALSE. func (m *MacOSLobApp) SetIgnoreVersionDetection(value *bool)() { err := m.GetBackingStore().Set("ignoreVersionDetection", value) if err != nil { panic(err) } } -// SetInstallAsManaged sets the installAsManaged property value. When TRUE, indicates that the app will be installed as managed (requires macOS 11.0 and other managed package restrictions). When FALSE, indicates that the app will be installed as unmanaged. +// SetInstallAsManaged sets the installAsManaged property value. When TRUE, indicates that the app will be installed as managed (requires macOS 11.0 and other managed package restrictions). When FALSE, indicates that the app will be installed as unmanaged. The default value is FALSE. func (m *MacOSLobApp) SetInstallAsManaged(value *bool)() { err := m.GetBackingStore().Set("installAsManaged", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mac_o_s_minimum_operating_system.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mac_o_s_minimum_operating_system.go index ca367b28d5..bf9283bc3c 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mac_o_s_minimum_operating_system.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mac_o_s_minimum_operating_system.go @@ -192,7 +192,7 @@ func (m *MacOSMinimumOperatingSystem) GetOdataType()(*string) { } return nil } -// GetV1010 gets the v10_10 property value. When TRUE, indicates OS X 10.10 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. +// GetV1010 gets the v10_10 property value. Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 10.10 or later is required to install the app. If 'False', OS X Version 10.10 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. // returns a *bool when successful func (m *MacOSMinimumOperatingSystem) GetV1010()(*bool) { val, err := m.GetBackingStore().Get("v10_10") @@ -204,7 +204,7 @@ func (m *MacOSMinimumOperatingSystem) GetV1010()(*bool) { } return nil } -// GetV1011 gets the v10_11 property value. When TRUE, indicates OS X 10.11 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. +// GetV1011 gets the v10_11 property value. Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 10.11 or later is required to install the app. If 'False', OS X Version 10.11 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. // returns a *bool when successful func (m *MacOSMinimumOperatingSystem) GetV1011()(*bool) { val, err := m.GetBackingStore().Get("v10_11") @@ -216,7 +216,7 @@ func (m *MacOSMinimumOperatingSystem) GetV1011()(*bool) { } return nil } -// GetV1012 gets the v10_12 property value. When TRUE, indicates macOS 10.12 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. +// GetV1012 gets the v10_12 property value. Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 10.12 or later is required to install the app. If 'False', OS X Version 10.12 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. // returns a *bool when successful func (m *MacOSMinimumOperatingSystem) GetV1012()(*bool) { val, err := m.GetBackingStore().Get("v10_12") @@ -228,7 +228,7 @@ func (m *MacOSMinimumOperatingSystem) GetV1012()(*bool) { } return nil } -// GetV1013 gets the v10_13 property value. When TRUE, indicates macOS 10.13 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. +// GetV1013 gets the v10_13 property value. Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 10.13 or later is required to install the app. If 'False', OS X Version 10.13 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. // returns a *bool when successful func (m *MacOSMinimumOperatingSystem) GetV1013()(*bool) { val, err := m.GetBackingStore().Get("v10_13") @@ -240,7 +240,7 @@ func (m *MacOSMinimumOperatingSystem) GetV1013()(*bool) { } return nil } -// GetV1014 gets the v10_14 property value. When TRUE, indicates macOS 10.14 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. +// GetV1014 gets the v10_14 property value. Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 10.14 or later is required to install the app. If 'False', OS X Version 10.14 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. // returns a *bool when successful func (m *MacOSMinimumOperatingSystem) GetV1014()(*bool) { val, err := m.GetBackingStore().Get("v10_14") @@ -252,7 +252,7 @@ func (m *MacOSMinimumOperatingSystem) GetV1014()(*bool) { } return nil } -// GetV1015 gets the v10_15 property value. When TRUE, indicates macOS 10.15 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. +// GetV1015 gets the v10_15 property value. Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 10.15 or later is required to install the app. If 'False', OS X Version 10.15 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. // returns a *bool when successful func (m *MacOSMinimumOperatingSystem) GetV1015()(*bool) { val, err := m.GetBackingStore().Get("v10_15") @@ -264,7 +264,7 @@ func (m *MacOSMinimumOperatingSystem) GetV1015()(*bool) { } return nil } -// GetV107 gets the v10_7 property value. When TRUE, indicates Mac OS X 10.7 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. +// GetV107 gets the v10_7 property value. Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 10.7 or later is required to install the app. If 'False', OS X Version 10.7 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. // returns a *bool when successful func (m *MacOSMinimumOperatingSystem) GetV107()(*bool) { val, err := m.GetBackingStore().Get("v10_7") @@ -276,7 +276,7 @@ func (m *MacOSMinimumOperatingSystem) GetV107()(*bool) { } return nil } -// GetV108 gets the v10_8 property value. When TRUE, indicates OS X 10.8 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. +// GetV108 gets the v10_8 property value. Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 10.8 or later is required to install the app. If 'False', OS X Version 10.8 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. // returns a *bool when successful func (m *MacOSMinimumOperatingSystem) GetV108()(*bool) { val, err := m.GetBackingStore().Get("v10_8") @@ -288,7 +288,7 @@ func (m *MacOSMinimumOperatingSystem) GetV108()(*bool) { } return nil } -// GetV109 gets the v10_9 property value. When TRUE, indicates OS X 10.9 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. +// GetV109 gets the v10_9 property value. Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 10.9 or later is required to install the app. If 'False', OS X Version 10.9 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. // returns a *bool when successful func (m *MacOSMinimumOperatingSystem) GetV109()(*bool) { val, err := m.GetBackingStore().Get("v10_9") @@ -300,7 +300,7 @@ func (m *MacOSMinimumOperatingSystem) GetV109()(*bool) { } return nil } -// GetV110 gets the v11_0 property value. When TRUE, indicates macOS 11.0 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. +// GetV110 gets the v11_0 property value. Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 11.0 or later is required to install the app. If 'False', OS X Version 11.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. // returns a *bool when successful func (m *MacOSMinimumOperatingSystem) GetV110()(*bool) { val, err := m.GetBackingStore().Get("v11_0") @@ -312,7 +312,7 @@ func (m *MacOSMinimumOperatingSystem) GetV110()(*bool) { } return nil } -// GetV120 gets the v12_0 property value. When TRUE, indicates macOS 12.0 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. +// GetV120 gets the v12_0 property value. Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 12.0 or later is required to install the app. If 'False', OS X Version 12.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. // returns a *bool when successful func (m *MacOSMinimumOperatingSystem) GetV120()(*bool) { val, err := m.GetBackingStore().Get("v12_0") @@ -324,7 +324,7 @@ func (m *MacOSMinimumOperatingSystem) GetV120()(*bool) { } return nil } -// GetV130 gets the v13_0 property value. When TRUE, indicates macOS 13.0 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. +// GetV130 gets the v13_0 property value. Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 13.0 or later is required to install the app. If 'False', OS X Version 13.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. // returns a *bool when successful func (m *MacOSMinimumOperatingSystem) GetV130()(*bool) { val, err := m.GetBackingStore().Get("v13_0") @@ -442,84 +442,84 @@ func (m *MacOSMinimumOperatingSystem) SetOdataType(value *string)() { panic(err) } } -// SetV1010 sets the v10_10 property value. When TRUE, indicates OS X 10.10 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. +// SetV1010 sets the v10_10 property value. Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 10.10 or later is required to install the app. If 'False', OS X Version 10.10 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. func (m *MacOSMinimumOperatingSystem) SetV1010(value *bool)() { err := m.GetBackingStore().Set("v10_10", value) if err != nil { panic(err) } } -// SetV1011 sets the v10_11 property value. When TRUE, indicates OS X 10.11 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. +// SetV1011 sets the v10_11 property value. Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 10.11 or later is required to install the app. If 'False', OS X Version 10.11 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. func (m *MacOSMinimumOperatingSystem) SetV1011(value *bool)() { err := m.GetBackingStore().Set("v10_11", value) if err != nil { panic(err) } } -// SetV1012 sets the v10_12 property value. When TRUE, indicates macOS 10.12 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. +// SetV1012 sets the v10_12 property value. Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 10.12 or later is required to install the app. If 'False', OS X Version 10.12 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. func (m *MacOSMinimumOperatingSystem) SetV1012(value *bool)() { err := m.GetBackingStore().Set("v10_12", value) if err != nil { panic(err) } } -// SetV1013 sets the v10_13 property value. When TRUE, indicates macOS 10.13 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. +// SetV1013 sets the v10_13 property value. Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 10.13 or later is required to install the app. If 'False', OS X Version 10.13 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. func (m *MacOSMinimumOperatingSystem) SetV1013(value *bool)() { err := m.GetBackingStore().Set("v10_13", value) if err != nil { panic(err) } } -// SetV1014 sets the v10_14 property value. When TRUE, indicates macOS 10.14 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. +// SetV1014 sets the v10_14 property value. Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 10.14 or later is required to install the app. If 'False', OS X Version 10.14 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. func (m *MacOSMinimumOperatingSystem) SetV1014(value *bool)() { err := m.GetBackingStore().Set("v10_14", value) if err != nil { panic(err) } } -// SetV1015 sets the v10_15 property value. When TRUE, indicates macOS 10.15 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. +// SetV1015 sets the v10_15 property value. Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 10.15 or later is required to install the app. If 'False', OS X Version 10.15 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. func (m *MacOSMinimumOperatingSystem) SetV1015(value *bool)() { err := m.GetBackingStore().Set("v10_15", value) if err != nil { panic(err) } } -// SetV107 sets the v10_7 property value. When TRUE, indicates Mac OS X 10.7 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. +// SetV107 sets the v10_7 property value. Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 10.7 or later is required to install the app. If 'False', OS X Version 10.7 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. func (m *MacOSMinimumOperatingSystem) SetV107(value *bool)() { err := m.GetBackingStore().Set("v10_7", value) if err != nil { panic(err) } } -// SetV108 sets the v10_8 property value. When TRUE, indicates OS X 10.8 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. +// SetV108 sets the v10_8 property value. Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 10.8 or later is required to install the app. If 'False', OS X Version 10.8 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. func (m *MacOSMinimumOperatingSystem) SetV108(value *bool)() { err := m.GetBackingStore().Set("v10_8", value) if err != nil { panic(err) } } -// SetV109 sets the v10_9 property value. When TRUE, indicates OS X 10.9 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. +// SetV109 sets the v10_9 property value. Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 10.9 or later is required to install the app. If 'False', OS X Version 10.9 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. func (m *MacOSMinimumOperatingSystem) SetV109(value *bool)() { err := m.GetBackingStore().Set("v10_9", value) if err != nil { panic(err) } } -// SetV110 sets the v11_0 property value. When TRUE, indicates macOS 11.0 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. +// SetV110 sets the v11_0 property value. Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 11.0 or later is required to install the app. If 'False', OS X Version 11.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. func (m *MacOSMinimumOperatingSystem) SetV110(value *bool)() { err := m.GetBackingStore().Set("v11_0", value) if err != nil { panic(err) } } -// SetV120 sets the v12_0 property value. When TRUE, indicates macOS 12.0 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. +// SetV120 sets the v12_0 property value. Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 12.0 or later is required to install the app. If 'False', OS X Version 12.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. func (m *MacOSMinimumOperatingSystem) SetV120(value *bool)() { err := m.GetBackingStore().Set("v12_0", value) if err != nil { panic(err) } } -// SetV130 sets the v13_0 property value. When TRUE, indicates macOS 13.0 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. +// SetV130 sets the v13_0 property value. Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 13.0 or later is required to install the app. If 'False', OS X Version 13.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. func (m *MacOSMinimumOperatingSystem) SetV130(value *bool)() { err := m.GetBackingStore().Set("v13_0", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mail_assessment_request.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mail_assessment_request.go index cab0c99081..d35433502b 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mail_assessment_request.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mail_assessment_request.go @@ -24,7 +24,7 @@ func NewMailAssessmentRequest()(*MailAssessmentRequest) { func CreateMailAssessmentRequestFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewMailAssessmentRequest(), nil } -// GetDestinationRoutingReason gets the destinationRoutingReason property value. The reason for mail routed to its destination. Possible values are: none, mailFlowRule, safeSender, blockedSender, advancedSpamFiltering, domainAllowList, domainBlockList, notInAddressBook, firstTimeSender, autoPurgeToInbox, autoPurgeToJunk, autoPurgeToDeleted, outbound, notJunk, junk. +// GetDestinationRoutingReason gets the destinationRoutingReason property value. The reason for mail routed to its destination. The possible values are: none, mailFlowRule, safeSender, blockedSender, advancedSpamFiltering, domainAllowList, domainBlockList, notInAddressBook, firstTimeSender, autoPurgeToInbox, autoPurgeToJunk, autoPurgeToDeleted, outbound, notJunk, junk. // returns a *MailDestinationRoutingReason when successful func (m *MailAssessmentRequest) GetDestinationRoutingReason()(*MailDestinationRoutingReason) { val, err := m.GetBackingStore().Get("destinationRoutingReason") @@ -123,7 +123,7 @@ func (m *MailAssessmentRequest) Serialize(writer i878a80d2330e89d26896388a3f487e } return nil } -// SetDestinationRoutingReason sets the destinationRoutingReason property value. The reason for mail routed to its destination. Possible values are: none, mailFlowRule, safeSender, blockedSender, advancedSpamFiltering, domainAllowList, domainBlockList, notInAddressBook, firstTimeSender, autoPurgeToInbox, autoPurgeToJunk, autoPurgeToDeleted, outbound, notJunk, junk. +// SetDestinationRoutingReason sets the destinationRoutingReason property value. The reason for mail routed to its destination. The possible values are: none, mailFlowRule, safeSender, blockedSender, advancedSpamFiltering, domainAllowList, domainBlockList, notInAddressBook, firstTimeSender, autoPurgeToInbox, autoPurgeToJunk, autoPurgeToDeleted, outbound, notJunk, junk. func (m *MailAssessmentRequest) SetDestinationRoutingReason(value *MailDestinationRoutingReason)() { err := m.GetBackingStore().Set("destinationRoutingReason", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mail_tips.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mail_tips.go index 9856645e96..ab80748cf6 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mail_tips.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mail_tips.go @@ -305,7 +305,7 @@ func (m *MailTips) GetOdataType()(*string) { } return nil } -// GetRecipientScope gets the recipientScope property value. The scope of the recipient. Possible values are: none, internal, external, externalPartner, externalNonParther. For example, an administrator can set another organization to be its 'partner'. The scope is useful if an administrator wants certain mailtips to be accessible to certain scopes. It's also useful to senders to inform them that their message may leave the organization, helping them make the correct decisions about wording, tone and content. +// GetRecipientScope gets the recipientScope property value. The scope of the recipient. The possible values are: none, internal, external, externalPartner, externalNonParther. For example, an administrator can set another organization to be its 'partner'. The scope is useful if an administrator wants certain mailtips to be accessible to certain scopes. It's also useful to senders to inform them that their message may leave the organization, helping them make the correct decisions about wording, tone and content. // returns a *RecipientScopeType when successful func (m *MailTips) GetRecipientScope()(*RecipientScopeType) { val, err := m.GetBackingStore().Get("recipientScope") @@ -517,7 +517,7 @@ func (m *MailTips) SetOdataType(value *string)() { panic(err) } } -// SetRecipientScope sets the recipientScope property value. The scope of the recipient. Possible values are: none, internal, external, externalPartner, externalNonParther. For example, an administrator can set another organization to be its 'partner'. The scope is useful if an administrator wants certain mailtips to be accessible to certain scopes. It's also useful to senders to inform them that their message may leave the organization, helping them make the correct decisions about wording, tone and content. +// SetRecipientScope sets the recipientScope property value. The scope of the recipient. The possible values are: none, internal, external, externalPartner, externalNonParther. For example, an administrator can set another organization to be its 'partner'. The scope is useful if an administrator wants certain mailtips to be accessible to certain scopes. It's also useful to senders to inform them that their message may leave the organization, helping them make the correct decisions about wording, tone and content. func (m *MailTips) SetRecipientScope(value *RecipientScopeType)() { err := m.GetBackingStore().Set("recipientScope", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mailbox_details.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mailbox_details.go new file mode 100644 index 0000000000..c089e73479 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mailbox_details.go @@ -0,0 +1,190 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type MailboxDetails struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewMailboxDetails instantiates a new MailboxDetails and sets the default values. +func NewMailboxDetails()(*MailboxDetails) { + m := &MailboxDetails{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateMailboxDetailsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateMailboxDetailsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewMailboxDetails(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *MailboxDetails) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *MailboxDetails) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetEmailAddress gets the emailAddress property value. The primary SMTP address associated with the mailbox. +// returns a *string when successful +func (m *MailboxDetails) GetEmailAddress()(*string) { + val, err := m.GetBackingStore().Get("emailAddress") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetExternalDirectoryObjectId gets the externalDirectoryObjectId property value. The unique identifier of the mailbox in the external directory (such as Microsoft Entra). +// returns a *string when successful +func (m *MailboxDetails) GetExternalDirectoryObjectId()(*string) { + val, err := m.GetBackingStore().Get("externalDirectoryObjectId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *MailboxDetails) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["emailAddress"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetEmailAddress(val) + } + return nil + } + res["externalDirectoryObjectId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetExternalDirectoryObjectId(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *MailboxDetails) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *MailboxDetails) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("emailAddress", m.GetEmailAddress()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("externalDirectoryObjectId", m.GetExternalDirectoryObjectId()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *MailboxDetails) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *MailboxDetails) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetEmailAddress sets the emailAddress property value. The primary SMTP address associated with the mailbox. +func (m *MailboxDetails) SetEmailAddress(value *string)() { + err := m.GetBackingStore().Set("emailAddress", value) + if err != nil { + panic(err) + } +} +// SetExternalDirectoryObjectId sets the externalDirectoryObjectId property value. The unique identifier of the mailbox in the external directory (such as Microsoft Entra). +func (m *MailboxDetails) SetExternalDirectoryObjectId(value *string)() { + err := m.GetBackingStore().Set("externalDirectoryObjectId", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *MailboxDetails) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type MailboxDetailsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetEmailAddress()(*string) + GetExternalDirectoryObjectId()(*string) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetEmailAddress(value *string)() + SetExternalDirectoryObjectId(value *string)() + SetOdataType(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mailbox_settings.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mailbox_settings.go index 1b4e86df55..6b8704f03b 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mailbox_settings.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mailbox_settings.go @@ -79,7 +79,7 @@ func (m *MailboxSettings) GetDateFormat()(*string) { } return nil } -// GetDelegateMeetingMessageDeliveryOptions gets the delegateMeetingMessageDeliveryOptions property value. If the user has a calendar delegate, this specifies whether the delegate, mailbox owner, or both receive meeting messages and meeting responses. Possible values are: sendToDelegateAndInformationToPrincipal, sendToDelegateAndPrincipal, sendToDelegateOnly. +// GetDelegateMeetingMessageDeliveryOptions gets the delegateMeetingMessageDeliveryOptions property value. If the user has a calendar delegate, this specifies whether the delegate, mailbox owner, or both receive meeting messages and meeting responses. The possible values are: sendToDelegateAndInformationToPrincipal, sendToDelegateAndPrincipal, sendToDelegateOnly. // returns a *DelegateMeetingMessageDeliveryOptions when successful func (m *MailboxSettings) GetDelegateMeetingMessageDeliveryOptions()(*DelegateMeetingMessageDeliveryOptions) { val, err := m.GetBackingStore().Get("delegateMeetingMessageDeliveryOptions") @@ -245,7 +245,7 @@ func (m *MailboxSettings) GetTimeZone()(*string) { } return nil } -// GetUserPurpose gets the userPurpose property value. The purpose of the mailbox. Differentiates a mailbox for a single user from a shared mailbox and equipment mailbox in Exchange Online. Possible values are: user, linked, shared, room, equipment, others, unknownFutureValue. Read-only. +// GetUserPurpose gets the userPurpose property value. The purpose of the mailbox. Differentiates a mailbox for a single user from a shared mailbox and equipment mailbox in Exchange Online. The possible values are: user, linked, shared, room, equipment, others, unknownFutureValue. Read-only. // returns a *UserPurpose when successful func (m *MailboxSettings) GetUserPurpose()(*UserPurpose) { val, err := m.GetBackingStore().Get("userPurpose") @@ -373,7 +373,7 @@ func (m *MailboxSettings) SetDateFormat(value *string)() { panic(err) } } -// SetDelegateMeetingMessageDeliveryOptions sets the delegateMeetingMessageDeliveryOptions property value. If the user has a calendar delegate, this specifies whether the delegate, mailbox owner, or both receive meeting messages and meeting responses. Possible values are: sendToDelegateAndInformationToPrincipal, sendToDelegateAndPrincipal, sendToDelegateOnly. +// SetDelegateMeetingMessageDeliveryOptions sets the delegateMeetingMessageDeliveryOptions property value. If the user has a calendar delegate, this specifies whether the delegate, mailbox owner, or both receive meeting messages and meeting responses. The possible values are: sendToDelegateAndInformationToPrincipal, sendToDelegateAndPrincipal, sendToDelegateOnly. func (m *MailboxSettings) SetDelegateMeetingMessageDeliveryOptions(value *DelegateMeetingMessageDeliveryOptions)() { err := m.GetBackingStore().Set("delegateMeetingMessageDeliveryOptions", value) if err != nil { @@ -408,7 +408,7 @@ func (m *MailboxSettings) SetTimeZone(value *string)() { panic(err) } } -// SetUserPurpose sets the userPurpose property value. The purpose of the mailbox. Differentiates a mailbox for a single user from a shared mailbox and equipment mailbox in Exchange Online. Possible values are: user, linked, shared, room, equipment, others, unknownFutureValue. Read-only. +// SetUserPurpose sets the userPurpose property value. The purpose of the mailbox. Differentiates a mailbox for a single user from a shared mailbox and equipment mailbox in Exchange Online. The possible values are: user, linked, shared, room, equipment, others, unknownFutureValue. Read-only. func (m *MailboxSettings) SetUserPurpose(value *UserPurpose)() { err := m.GetBackingStore().Set("userPurpose", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/malware_state_for_windows_device.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/malware_state_for_windows_device.go index e26d9b7cd3..14e2f319ea 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/malware_state_for_windows_device.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/malware_state_for_windows_device.go @@ -48,7 +48,7 @@ func (m *MalwareStateForWindowsDevice) GetDeviceName()(*string) { } return nil } -// GetExecutionState gets the executionState property value. Indicates execution status of the malware. Possible values are: unknown, blocked, allowed, running, notRunning. Defaults to unknown. Possible values are: unknown, blocked, allowed, running, notRunning. +// GetExecutionState gets the executionState property value. Indicates execution status of the malware. The possible values are: unknown, blocked, allowed, running, notRunning. Defaults to unknown. The possible values are: unknown, blocked, allowed, running, notRunning. // returns a *WindowsMalwareExecutionState when successful func (m *MalwareStateForWindowsDevice) GetExecutionState()(*WindowsMalwareExecutionState) { val, err := m.GetBackingStore().Get("executionState") @@ -150,7 +150,7 @@ func (m *MalwareStateForWindowsDevice) GetLastStateChangeDateTime()(*i336074805f } return nil } -// GetThreatState gets the threatState property value. Indicates threat status of the malware. Possible values are: active, actionFailed, manualStepsRequired, fullScanRequired, rebootRequired, remediatedWithNonCriticalFailures, quarantined, removed, cleaned, allowed, noStatusCleared. defaults to noStatusCleared. Possible values are: active, actionFailed, manualStepsRequired, fullScanRequired, rebootRequired, remediatedWithNonCriticalFailures, quarantined, removed, cleaned, allowed, noStatusCleared. +// GetThreatState gets the threatState property value. Indicates threat status of the malware. The possible values are: active, actionFailed, manualStepsRequired, fullScanRequired, rebootRequired, remediatedWithNonCriticalFailures, quarantined, removed, cleaned, allowed, noStatusCleared. defaults to noStatusCleared. The possible values are: active, actionFailed, manualStepsRequired, fullScanRequired, rebootRequired, remediatedWithNonCriticalFailures, quarantined, removed, cleaned, allowed, noStatusCleared. // returns a *WindowsMalwareThreatState when successful func (m *MalwareStateForWindowsDevice) GetThreatState()(*WindowsMalwareThreatState) { val, err := m.GetBackingStore().Get("threatState") @@ -222,7 +222,7 @@ func (m *MalwareStateForWindowsDevice) SetDeviceName(value *string)() { panic(err) } } -// SetExecutionState sets the executionState property value. Indicates execution status of the malware. Possible values are: unknown, blocked, allowed, running, notRunning. Defaults to unknown. Possible values are: unknown, blocked, allowed, running, notRunning. +// SetExecutionState sets the executionState property value. Indicates execution status of the malware. The possible values are: unknown, blocked, allowed, running, notRunning. Defaults to unknown. The possible values are: unknown, blocked, allowed, running, notRunning. func (m *MalwareStateForWindowsDevice) SetExecutionState(value *WindowsMalwareExecutionState)() { err := m.GetBackingStore().Set("executionState", value) if err != nil { @@ -243,7 +243,7 @@ func (m *MalwareStateForWindowsDevice) SetLastStateChangeDateTime(value *i336074 panic(err) } } -// SetThreatState sets the threatState property value. Indicates threat status of the malware. Possible values are: active, actionFailed, manualStepsRequired, fullScanRequired, rebootRequired, remediatedWithNonCriticalFailures, quarantined, removed, cleaned, allowed, noStatusCleared. defaults to noStatusCleared. Possible values are: active, actionFailed, manualStepsRequired, fullScanRequired, rebootRequired, remediatedWithNonCriticalFailures, quarantined, removed, cleaned, allowed, noStatusCleared. +// SetThreatState sets the threatState property value. Indicates threat status of the malware. The possible values are: active, actionFailed, manualStepsRequired, fullScanRequired, rebootRequired, remediatedWithNonCriticalFailures, quarantined, removed, cleaned, allowed, noStatusCleared. defaults to noStatusCleared. The possible values are: active, actionFailed, manualStepsRequired, fullScanRequired, rebootRequired, remediatedWithNonCriticalFailures, quarantined, removed, cleaned, allowed, noStatusCleared. func (m *MalwareStateForWindowsDevice) SetThreatState(value *WindowsMalwareThreatState)() { err := m.GetBackingStore().Set("threatState", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/managed_app_policy_deployment_summary.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/managed_app_policy_deployment_summary.go index 89d02c21e4..c4bdcde9a3 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/managed_app_policy_deployment_summary.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/managed_app_policy_deployment_summary.go @@ -24,7 +24,7 @@ func NewManagedAppPolicyDeploymentSummary()(*ManagedAppPolicyDeploymentSummary) func CreateManagedAppPolicyDeploymentSummaryFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewManagedAppPolicyDeploymentSummary(), nil } -// GetConfigurationDeployedUserCount gets the configurationDeployedUserCount property value. Not yet documented +// GetConfigurationDeployedUserCount gets the configurationDeployedUserCount property value. The configurationDeployedUserCount property // returns a *int32 when successful func (m *ManagedAppPolicyDeploymentSummary) GetConfigurationDeployedUserCount()(*int32) { val, err := m.GetBackingStore().Get("configurationDeployedUserCount") @@ -36,7 +36,7 @@ func (m *ManagedAppPolicyDeploymentSummary) GetConfigurationDeployedUserCount()( } return nil } -// GetConfigurationDeploymentSummaryPerApp gets the configurationDeploymentSummaryPerApp property value. Not yet documented +// GetConfigurationDeploymentSummaryPerApp gets the configurationDeploymentSummaryPerApp property value. The configurationDeploymentSummaryPerApp property // returns a []ManagedAppPolicyDeploymentSummaryPerAppable when successful func (m *ManagedAppPolicyDeploymentSummary) GetConfigurationDeploymentSummaryPerApp()([]ManagedAppPolicyDeploymentSummaryPerAppable) { val, err := m.GetBackingStore().Get("configurationDeploymentSummaryPerApp") @@ -48,7 +48,7 @@ func (m *ManagedAppPolicyDeploymentSummary) GetConfigurationDeploymentSummaryPer } return nil } -// GetDisplayName gets the displayName property value. Not yet documented +// GetDisplayName gets the displayName property value. The displayName property // returns a *string when successful func (m *ManagedAppPolicyDeploymentSummary) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -122,7 +122,7 @@ func (m *ManagedAppPolicyDeploymentSummary) GetFieldDeserializers()(map[string]f } return res } -// GetLastRefreshTime gets the lastRefreshTime property value. Not yet documented +// GetLastRefreshTime gets the lastRefreshTime property value. The lastRefreshTime property // returns a *Time when successful func (m *ManagedAppPolicyDeploymentSummary) GetLastRefreshTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("lastRefreshTime") @@ -190,28 +190,28 @@ func (m *ManagedAppPolicyDeploymentSummary) Serialize(writer i878a80d2330e89d268 } return nil } -// SetConfigurationDeployedUserCount sets the configurationDeployedUserCount property value. Not yet documented +// SetConfigurationDeployedUserCount sets the configurationDeployedUserCount property value. The configurationDeployedUserCount property func (m *ManagedAppPolicyDeploymentSummary) SetConfigurationDeployedUserCount(value *int32)() { err := m.GetBackingStore().Set("configurationDeployedUserCount", value) if err != nil { panic(err) } } -// SetConfigurationDeploymentSummaryPerApp sets the configurationDeploymentSummaryPerApp property value. Not yet documented +// SetConfigurationDeploymentSummaryPerApp sets the configurationDeploymentSummaryPerApp property value. The configurationDeploymentSummaryPerApp property func (m *ManagedAppPolicyDeploymentSummary) SetConfigurationDeploymentSummaryPerApp(value []ManagedAppPolicyDeploymentSummaryPerAppable)() { err := m.GetBackingStore().Set("configurationDeploymentSummaryPerApp", value) if err != nil { panic(err) } } -// SetDisplayName sets the displayName property value. Not yet documented +// SetDisplayName sets the displayName property value. The displayName property func (m *ManagedAppPolicyDeploymentSummary) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetLastRefreshTime sets the lastRefreshTime property value. Not yet documented +// SetLastRefreshTime sets the lastRefreshTime property value. The lastRefreshTime property func (m *ManagedAppPolicyDeploymentSummary) SetLastRefreshTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("lastRefreshTime", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/managed_app_protection.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/managed_app_protection.go index 2d5a638c68..fe7bc0a878 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/managed_app_protection.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/managed_app_protection.go @@ -463,7 +463,7 @@ func (m *ManagedAppProtection) GetManagedBrowserToOpenLinksRequired()(*bool) { } return nil } -// GetMaximumPinRetries gets the maximumPinRetries property value. Maximum number of incorrect pin retry attempts before the managed app is either blocked or wiped. +// GetMaximumPinRetries gets the maximumPinRetries property value. Maximum number of incorrect pin retry attempts before the managed app is either blocked or wiped. Valid values 1 to 65535 // returns a *int32 when successful func (m *ManagedAppProtection) GetMaximumPinRetries()(*int32) { val, err := m.GetBackingStore().Get("maximumPinRetries") @@ -907,7 +907,7 @@ func (m *ManagedAppProtection) SetManagedBrowserToOpenLinksRequired(value *bool) panic(err) } } -// SetMaximumPinRetries sets the maximumPinRetries property value. Maximum number of incorrect pin retry attempts before the managed app is either blocked or wiped. +// SetMaximumPinRetries sets the maximumPinRetries property value. Maximum number of incorrect pin retry attempts before the managed app is either blocked or wiped. Valid values 1 to 65535 func (m *ManagedAppProtection) SetMaximumPinRetries(value *int32)() { err := m.GetBackingStore().Set("maximumPinRetries", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/managed_device.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/managed_device.go index 80fb880bf8..bc6a7e92a7 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/managed_device.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/managed_device.go @@ -744,6 +744,16 @@ func (m *ManagedDevice) GetFieldDeserializers()(map[string]func(i878a80d2330e89d } return nil } + res["managementState"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseManagementState) + if err != nil { + return err + } + if val != nil { + m.SetManagementState(val.(*ManagementState)) + } + return nil + } res["manufacturer"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -1116,6 +1126,18 @@ func (m *ManagedDevice) GetManagementCertificateExpirationDate()(*i336074805fc85 } return nil } +// GetManagementState gets the managementState property value. Management state of device in Microsoft Intune. +// returns a *ManagementState when successful +func (m *ManagedDevice) GetManagementState()(*ManagementState) { + val, err := m.GetBackingStore().Get("managementState") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ManagementState) + } + return nil +} // GetManufacturer gets the manufacturer property value. Manufacturer of the device. This property is read-only. // returns a *string when successful func (m *ManagedDevice) GetManufacturer()(*string) { @@ -1483,6 +1505,13 @@ func (m *ManagedDevice) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0 return err } } + if m.GetManagementState() != nil { + cast := (*m.GetManagementState()).String() + err = writer.WriteStringValue("managementState", &cast) + if err != nil { + return err + } + } { err = writer.WriteStringValue("notes", m.GetNotes()) if err != nil { @@ -1782,6 +1811,13 @@ func (m *ManagedDevice) SetManagementCertificateExpirationDate(value *i336074805 panic(err) } } +// SetManagementState sets the managementState property value. Management state of device in Microsoft Intune. +func (m *ManagedDevice) SetManagementState(value *ManagementState)() { + err := m.GetBackingStore().Set("managementState", value) + if err != nil { + panic(err) + } +} // SetManufacturer sets the manufacturer property value. Manufacturer of the device. This property is read-only. func (m *ManagedDevice) SetManufacturer(value *string)() { err := m.GetBackingStore().Set("manufacturer", value) @@ -1977,6 +2013,7 @@ type ManagedDeviceable interface { GetManagedDeviceOwnerType()(*ManagedDeviceOwnerType) GetManagementAgent()(*ManagementAgentType) GetManagementCertificateExpirationDate()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetManagementState()(*ManagementState) GetManufacturer()(*string) GetMeid()(*string) GetModel()(*string) @@ -2037,6 +2074,7 @@ type ManagedDeviceable interface { SetManagedDeviceOwnerType(value *ManagedDeviceOwnerType)() SetManagementAgent(value *ManagementAgentType)() SetManagementCertificateExpirationDate(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetManagementState(value *ManagementState)() SetManufacturer(value *string)() SetMeid(value *string)() SetModel(value *string)() diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/managed_mobile_lob_app.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/managed_mobile_lob_app.go index 10412e3829..0db16b50e9 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/managed_mobile_lob_app.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/managed_mobile_lob_app.go @@ -57,7 +57,7 @@ func (m *ManagedMobileLobApp) GetCommittedContentVersion()(*string) { } return nil } -// GetContentVersions gets the contentVersions property value. The list of content versions for this app. +// GetContentVersions gets the contentVersions property value. The list of content versions for this app. This property is read-only. // returns a []MobileAppContentable when successful func (m *ManagedMobileLobApp) GetContentVersions()([]MobileAppContentable) { val, err := m.GetBackingStore().Get("contentVersions") @@ -133,7 +133,7 @@ func (m *ManagedMobileLobApp) GetFileName()(*string) { } return nil } -// GetSize gets the size property value. The total size, including all uploaded files. +// GetSize gets the size property value. The total size, including all uploaded files. This property is read-only. // returns a *int64 when successful func (m *ManagedMobileLobApp) GetSize()(*int64) { val, err := m.GetBackingStore().Get("size") @@ -184,7 +184,7 @@ func (m *ManagedMobileLobApp) SetCommittedContentVersion(value *string)() { panic(err) } } -// SetContentVersions sets the contentVersions property value. The list of content versions for this app. +// SetContentVersions sets the contentVersions property value. The list of content versions for this app. This property is read-only. func (m *ManagedMobileLobApp) SetContentVersions(value []MobileAppContentable)() { err := m.GetBackingStore().Set("contentVersions", value) if err != nil { @@ -198,7 +198,7 @@ func (m *ManagedMobileLobApp) SetFileName(value *string)() { panic(err) } } -// SetSize sets the size property value. The total size, including all uploaded files. +// SetSize sets the size property value. The total size, including all uploaded files. This property is read-only. func (m *ManagedMobileLobApp) SetSize(value *int64)() { err := m.GetBackingStore().Set("size", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/management_state.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/management_state.go new file mode 100644 index 0000000000..26da613207 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/management_state.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +// Management state of device in Microsoft Intune. +type ManagementState int + +const ( + // The device is under management + MANAGED_MANAGEMENTSTATE ManagementState = iota + // A retire command is occuring on the device and in the process of unenrolling from management + RETIREPENDING_MANAGEMENTSTATE + // Retire command failed on the device + RETIREFAILED_MANAGEMENTSTATE + // A wipe command is occuring on the device and in the process of unenrolling from management + WIPEPENDING_MANAGEMENTSTATE + // Wipe command failed on the device + WIPEFAILED_MANAGEMENTSTATE + // The device is unhealthy. + UNHEALTHY_MANAGEMENTSTATE + // A delete command is occuring on the device + DELETEPENDING_MANAGEMENTSTATE + // A retire command was issued for the device + RETIREISSUED_MANAGEMENTSTATE + // A wipe command was issued for the device + WIPEISSUED_MANAGEMENTSTATE + // A wipe command for this device has been canceled + WIPECANCELED_MANAGEMENTSTATE + // A retire command for this device has been canceled + RETIRECANCELED_MANAGEMENTSTATE + // The device is discovered but not fully enrolled. + DISCOVERED_MANAGEMENTSTATE + // Evolvable enumeration sentinel value. Do not use. + UNKNOWNFUTUREVALUE_MANAGEMENTSTATE +) + +func (i ManagementState) String() string { + return []string{"managed", "retirePending", "retireFailed", "wipePending", "wipeFailed", "unhealthy", "deletePending", "retireIssued", "wipeIssued", "wipeCanceled", "retireCanceled", "discovered", "unknownFutureValue"}[i] +} +func ParseManagementState(v string) (any, error) { + result := MANAGED_MANAGEMENTSTATE + switch v { + case "managed": + result = MANAGED_MANAGEMENTSTATE + case "retirePending": + result = RETIREPENDING_MANAGEMENTSTATE + case "retireFailed": + result = RETIREFAILED_MANAGEMENTSTATE + case "wipePending": + result = WIPEPENDING_MANAGEMENTSTATE + case "wipeFailed": + result = WIPEFAILED_MANAGEMENTSTATE + case "unhealthy": + result = UNHEALTHY_MANAGEMENTSTATE + case "deletePending": + result = DELETEPENDING_MANAGEMENTSTATE + case "retireIssued": + result = RETIREISSUED_MANAGEMENTSTATE + case "wipeIssued": + result = WIPEISSUED_MANAGEMENTSTATE + case "wipeCanceled": + result = WIPECANCELED_MANAGEMENTSTATE + case "retireCanceled": + result = RETIRECANCELED_MANAGEMENTSTATE + case "discovered": + result = DISCOVERED_MANAGEMENTSTATE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_MANAGEMENTSTATE + default: + return nil, nil + } + return &result, nil +} +func SerializeManagementState(values []ManagementState) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ManagementState) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/max_work_location_details.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/max_work_location_details.go new file mode 100644 index 0000000000..f503de311d --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/max_work_location_details.go @@ -0,0 +1,45 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type MaxWorkLocationDetails int + +const ( + UNKNOWN_MAXWORKLOCATIONDETAILS MaxWorkLocationDetails = iota + NONE_MAXWORKLOCATIONDETAILS + APPROXIMATE_MAXWORKLOCATIONDETAILS + SPECIFIC_MAXWORKLOCATIONDETAILS + UNKNOWNFUTUREVALUE_MAXWORKLOCATIONDETAILS +) + +func (i MaxWorkLocationDetails) String() string { + return []string{"unknown", "none", "approximate", "specific", "unknownFutureValue"}[i] +} +func ParseMaxWorkLocationDetails(v string) (any, error) { + result := UNKNOWN_MAXWORKLOCATIONDETAILS + switch v { + case "unknown": + result = UNKNOWN_MAXWORKLOCATIONDETAILS + case "none": + result = NONE_MAXWORKLOCATIONDETAILS + case "approximate": + result = APPROXIMATE_MAXWORKLOCATIONDETAILS + case "specific": + result = SPECIFIC_MAXWORKLOCATIONDETAILS + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_MAXWORKLOCATIONDETAILS + default: + return nil, nil + } + return &result, nil +} +func SerializeMaxWorkLocationDetails(values []MaxWorkLocationDetails) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i MaxWorkLocationDetails) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/meeting_note.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/meeting_note.go new file mode 100644 index 0000000000..a1fce34a4b --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/meeting_note.go @@ -0,0 +1,239 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type MeetingNote struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewMeetingNote instantiates a new MeetingNote and sets the default values. +func NewMeetingNote()(*MeetingNote) { + m := &MeetingNote{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateMeetingNoteFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateMeetingNoteFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewMeetingNote(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *MeetingNote) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *MeetingNote) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *MeetingNote) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["subpoints"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateMeetingNoteSubpointFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]MeetingNoteSubpointable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(MeetingNoteSubpointable) + } + } + m.SetSubpoints(res) + } + return nil + } + res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetText(val) + } + return nil + } + res["title"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetTitle(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *MeetingNote) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSubpoints gets the subpoints property value. The subpoints property +// returns a []MeetingNoteSubpointable when successful +func (m *MeetingNote) GetSubpoints()([]MeetingNoteSubpointable) { + val, err := m.GetBackingStore().Get("subpoints") + if err != nil { + panic(err) + } + if val != nil { + return val.([]MeetingNoteSubpointable) + } + return nil +} +// GetText gets the text property value. The text property +// returns a *string when successful +func (m *MeetingNote) GetText()(*string) { + val, err := m.GetBackingStore().Get("text") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTitle gets the title property value. The title property +// returns a *string when successful +func (m *MeetingNote) GetTitle()(*string) { + val, err := m.GetBackingStore().Get("title") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *MeetingNote) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + if m.GetSubpoints() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetSubpoints())) + for i, v := range m.GetSubpoints() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("subpoints", cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("text", m.GetText()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("title", m.GetTitle()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *MeetingNote) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *MeetingNote) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *MeetingNote) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetSubpoints sets the subpoints property value. The subpoints property +func (m *MeetingNote) SetSubpoints(value []MeetingNoteSubpointable)() { + err := m.GetBackingStore().Set("subpoints", value) + if err != nil { + panic(err) + } +} +// SetText sets the text property value. The text property +func (m *MeetingNote) SetText(value *string)() { + err := m.GetBackingStore().Set("text", value) + if err != nil { + panic(err) + } +} +// SetTitle sets the title property value. The title property +func (m *MeetingNote) SetTitle(value *string)() { + err := m.GetBackingStore().Set("title", value) + if err != nil { + panic(err) + } +} +type MeetingNoteable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetSubpoints()([]MeetingNoteSubpointable) + GetText()(*string) + GetTitle()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetSubpoints(value []MeetingNoteSubpointable)() + SetText(value *string)() + SetTitle(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/meeting_note_subpoint.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/meeting_note_subpoint.go new file mode 100644 index 0000000000..102e73dee5 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/meeting_note_subpoint.go @@ -0,0 +1,190 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type MeetingNoteSubpoint struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewMeetingNoteSubpoint instantiates a new MeetingNoteSubpoint and sets the default values. +func NewMeetingNoteSubpoint()(*MeetingNoteSubpoint) { + m := &MeetingNoteSubpoint{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateMeetingNoteSubpointFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateMeetingNoteSubpointFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewMeetingNoteSubpoint(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *MeetingNoteSubpoint) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *MeetingNoteSubpoint) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *MeetingNoteSubpoint) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetText(val) + } + return nil + } + res["title"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetTitle(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *MeetingNoteSubpoint) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetText gets the text property value. The text property +// returns a *string when successful +func (m *MeetingNoteSubpoint) GetText()(*string) { + val, err := m.GetBackingStore().Get("text") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTitle gets the title property value. The title property +// returns a *string when successful +func (m *MeetingNoteSubpoint) GetTitle()(*string) { + val, err := m.GetBackingStore().Get("title") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *MeetingNoteSubpoint) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("text", m.GetText()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("title", m.GetTitle()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *MeetingNoteSubpoint) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *MeetingNoteSubpoint) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *MeetingNoteSubpoint) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetText sets the text property value. The text property +func (m *MeetingNoteSubpoint) SetText(value *string)() { + err := m.GetBackingStore().Set("text", value) + if err != nil { + panic(err) + } +} +// SetTitle sets the title property value. The title property +func (m *MeetingNoteSubpoint) SetTitle(value *string)() { + err := m.GetBackingStore().Set("title", value) + if err != nil { + panic(err) + } +} +type MeetingNoteSubpointable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetText()(*string) + GetTitle()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetText(value *string)() + SetTitle(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mention_event.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mention_event.go new file mode 100644 index 0000000000..9b7badbfb9 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mention_event.go @@ -0,0 +1,228 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type MentionEvent struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewMentionEvent instantiates a new MentionEvent and sets the default values. +func NewMentionEvent()(*MentionEvent) { + m := &MentionEvent{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateMentionEventFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateMentionEventFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewMentionEvent(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *MentionEvent) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *MentionEvent) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetEventDateTime gets the eventDateTime property value. The eventDateTime property +// returns a *Time when successful +func (m *MentionEvent) GetEventDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("eventDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *MentionEvent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["eventDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetEventDateTime(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["speaker"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateIdentitySetFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetSpeaker(val.(IdentitySetable)) + } + return nil + } + res["transcriptUtterance"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetTranscriptUtterance(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *MentionEvent) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSpeaker gets the speaker property value. The speaker property +// returns a IdentitySetable when successful +func (m *MentionEvent) GetSpeaker()(IdentitySetable) { + val, err := m.GetBackingStore().Get("speaker") + if err != nil { + panic(err) + } + if val != nil { + return val.(IdentitySetable) + } + return nil +} +// GetTranscriptUtterance gets the transcriptUtterance property value. The transcriptUtterance property +// returns a *string when successful +func (m *MentionEvent) GetTranscriptUtterance()(*string) { + val, err := m.GetBackingStore().Get("transcriptUtterance") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *MentionEvent) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteTimeValue("eventDateTime", m.GetEventDateTime()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("speaker", m.GetSpeaker()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("transcriptUtterance", m.GetTranscriptUtterance()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *MentionEvent) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *MentionEvent) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetEventDateTime sets the eventDateTime property value. The eventDateTime property +func (m *MentionEvent) SetEventDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("eventDateTime", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *MentionEvent) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetSpeaker sets the speaker property value. The speaker property +func (m *MentionEvent) SetSpeaker(value IdentitySetable)() { + err := m.GetBackingStore().Set("speaker", value) + if err != nil { + panic(err) + } +} +// SetTranscriptUtterance sets the transcriptUtterance property value. The transcriptUtterance property +func (m *MentionEvent) SetTranscriptUtterance(value *string)() { + err := m.GetBackingStore().Set("transcriptUtterance", value) + if err != nil { + panic(err) + } +} +type MentionEventable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetEventDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetOdataType()(*string) + GetSpeaker()(IdentitySetable) + GetTranscriptUtterance()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetEventDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetOdataType(value *string)() + SetSpeaker(value IdentitySetable)() + SetTranscriptUtterance(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/message.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/message.go index dfd0c5b374..00bde6d737 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/message.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/message.go @@ -757,7 +757,7 @@ func (m *Message) GetUniqueBody()(ItemBodyable) { } return nil } -// GetWebLink gets the webLink property value. The URL to open the message in Outlook on the web.You can append an ispopout argument to the end of the URL to change how the message is displayed. If ispopout is not present or if it is set to 1, then the message is shown in a popout window. If ispopout is set to 0, the browser shows the message in the Outlook on the web review pane.The message opens in the browser if you are signed in to your mailbox via Outlook on the web. You are prompted to sign in if you are not already signed in with the browser.This URL cannot be accessed from within an iFrame. +// GetWebLink gets the webLink property value. The URL to open the message in Outlook on the web.You can append an ispopout argument to the end of the URL to change how the message is displayed. If ispopout is not present or if it is set to 1, then the message is shown in a popout window. If ispopout is set to 0, the browser shows the message in the Outlook on the web review pane.The message opens in the browser if you are signed in to your mailbox via Outlook on the web. You are prompted to sign in if you are not already signed in with the browser.This URL cannot be accessed from within an iFrame.NOTE: When using this URL to access a message from a mailbox with delegate permissions, both the signed-in user and the target mailbox must be in the same database region. For example, an error is returned when a user with a mailbox in the EUR (Europe) region attempts to access messages from a mailbox in the NAM (North America) region. // returns a *string when successful func (m *Message) GetWebLink()(*string) { val, err := m.GetBackingStore().Get("webLink") @@ -1216,7 +1216,7 @@ func (m *Message) SetUniqueBody(value ItemBodyable)() { panic(err) } } -// SetWebLink sets the webLink property value. The URL to open the message in Outlook on the web.You can append an ispopout argument to the end of the URL to change how the message is displayed. If ispopout is not present or if it is set to 1, then the message is shown in a popout window. If ispopout is set to 0, the browser shows the message in the Outlook on the web review pane.The message opens in the browser if you are signed in to your mailbox via Outlook on the web. You are prompted to sign in if you are not already signed in with the browser.This URL cannot be accessed from within an iFrame. +// SetWebLink sets the webLink property value. The URL to open the message in Outlook on the web.You can append an ispopout argument to the end of the URL to change how the message is displayed. If ispopout is not present or if it is set to 1, then the message is shown in a popout window. If ispopout is set to 0, the browser shows the message in the Outlook on the web review pane.The message opens in the browser if you are signed in to your mailbox via Outlook on the web. You are prompted to sign in if you are not already signed in with the browser.This URL cannot be accessed from within an iFrame.NOTE: When using this URL to access a message from a mailbox with delegate permissions, both the signed-in user and the target mailbox must be in the same database region. For example, an error is returned when a user with a mailbox in the EUR (Europe) region attempts to access messages from a mailbox in the NAM (North America) region. func (m *Message) SetWebLink(value *string)() { err := m.GetBackingStore().Set("webLink", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/microsoft_authenticator_authentication_method.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/microsoft_authenticator_authentication_method.go index fbc66c177f..d790df66be 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/microsoft_authenticator_authentication_method.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/microsoft_authenticator_authentication_method.go @@ -4,7 +4,6 @@ package models import ( - i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" ) @@ -25,18 +24,6 @@ func NewMicrosoftAuthenticatorAuthenticationMethod()(*MicrosoftAuthenticatorAuth func CreateMicrosoftAuthenticatorAuthenticationMethodFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewMicrosoftAuthenticatorAuthenticationMethod(), nil } -// GetCreatedDateTime gets the createdDateTime property value. The date and time that this app was registered. This property is null if the device isn't registered for passwordless Phone Sign-In. -// returns a *Time when successful -func (m *MicrosoftAuthenticatorAuthenticationMethod) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { - val, err := m.GetBackingStore().Get("createdDateTime") - if err != nil { - panic(err) - } - if val != nil { - return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) - } - return nil -} // GetDevice gets the device property value. The registered device on which Microsoft Authenticator resides. This property is null if the device isn't registered for passwordless Phone Sign-In. // returns a Deviceable when successful func (m *MicrosoftAuthenticatorAuthenticationMethod) GetDevice()(Deviceable) { @@ -77,16 +64,6 @@ func (m *MicrosoftAuthenticatorAuthenticationMethod) GetDisplayName()(*string) { // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *MicrosoftAuthenticatorAuthenticationMethod) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.AuthenticationMethod.GetFieldDeserializers() - res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetTimeValue() - if err != nil { - return err - } - if val != nil { - m.SetCreatedDateTime(val) - } - return nil - } res["device"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateDeviceFromDiscriminatorValue) if err != nil { @@ -147,12 +124,6 @@ func (m *MicrosoftAuthenticatorAuthenticationMethod) Serialize(writer i878a80d23 if err != nil { return err } - { - err = writer.WriteTimeValue("createdDateTime", m.GetCreatedDateTime()) - if err != nil { - return err - } - } { err = writer.WriteObjectValue("device", m.GetDevice()) if err != nil { @@ -179,13 +150,6 @@ func (m *MicrosoftAuthenticatorAuthenticationMethod) Serialize(writer i878a80d23 } return nil } -// SetCreatedDateTime sets the createdDateTime property value. The date and time that this app was registered. This property is null if the device isn't registered for passwordless Phone Sign-In. -func (m *MicrosoftAuthenticatorAuthenticationMethod) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { - err := m.GetBackingStore().Set("createdDateTime", value) - if err != nil { - panic(err) - } -} // SetDevice sets the device property value. The registered device on which Microsoft Authenticator resides. This property is null if the device isn't registered for passwordless Phone Sign-In. func (m *MicrosoftAuthenticatorAuthenticationMethod) SetDevice(value Deviceable)() { err := m.GetBackingStore().Set("device", value) @@ -217,12 +181,10 @@ func (m *MicrosoftAuthenticatorAuthenticationMethod) SetPhoneAppVersion(value *s type MicrosoftAuthenticatorAuthenticationMethodable interface { AuthenticationMethodable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetDevice()(Deviceable) GetDeviceTag()(*string) GetDisplayName()(*string) GetPhoneAppVersion()(*string) - SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetDevice(value Deviceable)() SetDeviceTag(value *string)() SetDisplayName(value *string)() diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/microsoft_custom_training_setting.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/microsoft_custom_training_setting.go index 6b81607d3a..666539a766 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/microsoft_custom_training_setting.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/microsoft_custom_training_setting.go @@ -91,7 +91,7 @@ func (m *MicrosoftCustomTrainingSetting) GetTrainingAssignmentMappings()([]Micro } return nil } -// GetTrainingCompletionDuration gets the trainingCompletionDuration property value. The training completion duration that needs to be provided before scheduling the training. Possible values are: week, fortnite, month, unknownFutureValue. +// GetTrainingCompletionDuration gets the trainingCompletionDuration property value. The training completion duration that needs to be provided before scheduling the training. The possible values are: week, fortnite, month, unknownFutureValue. // returns a *TrainingCompletionDuration when successful func (m *MicrosoftCustomTrainingSetting) GetTrainingCompletionDuration()(*TrainingCompletionDuration) { val, err := m.GetBackingStore().Get("trainingCompletionDuration") @@ -150,7 +150,7 @@ func (m *MicrosoftCustomTrainingSetting) SetTrainingAssignmentMappings(value []M panic(err) } } -// SetTrainingCompletionDuration sets the trainingCompletionDuration property value. The training completion duration that needs to be provided before scheduling the training. Possible values are: week, fortnite, month, unknownFutureValue. +// SetTrainingCompletionDuration sets the trainingCompletionDuration property value. The training completion duration that needs to be provided before scheduling the training. The possible values are: week, fortnite, month, unknownFutureValue. func (m *MicrosoftCustomTrainingSetting) SetTrainingCompletionDuration(value *TrainingCompletionDuration)() { err := m.GetBackingStore().Set("trainingCompletionDuration", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/microsoft_managed_desktop.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/microsoft_managed_desktop.go index dda1d4ab3d..e7de4d11cf 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/microsoft_managed_desktop.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/microsoft_managed_desktop.go @@ -79,7 +79,7 @@ func (m *MicrosoftManagedDesktop) GetFieldDeserializers()(map[string]func(i878a8 } return res } -// GetManagedType gets the managedType property value. Indicates the provisioning policy associated with Microsoft Managed Desktop settings. Possible values are: notManaged, premiumManaged, standardManaged, starterManaged, unknownFutureValue. The default is notManaged. +// GetManagedType gets the managedType property value. Indicates the provisioning policy associated with Microsoft Managed Desktop settings. The possible values are: notManaged, premiumManaged, standardManaged, starterManaged, unknownFutureValue. The default is notManaged. // returns a *MicrosoftManagedDesktopType when successful func (m *MicrosoftManagedDesktop) GetManagedType()(*MicrosoftManagedDesktopType) { val, err := m.GetBackingStore().Get("managedType") @@ -155,7 +155,7 @@ func (m *MicrosoftManagedDesktop) SetAdditionalData(value map[string]any)() { func (m *MicrosoftManagedDesktop) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetManagedType sets the managedType property value. Indicates the provisioning policy associated with Microsoft Managed Desktop settings. Possible values are: notManaged, premiumManaged, standardManaged, starterManaged, unknownFutureValue. The default is notManaged. +// SetManagedType sets the managedType property value. Indicates the provisioning policy associated with Microsoft Managed Desktop settings. The possible values are: notManaged, premiumManaged, standardManaged, starterManaged, unknownFutureValue. The default is notManaged. func (m *MicrosoftManagedDesktop) SetManagedType(value *MicrosoftManagedDesktopType)() { err := m.GetBackingStore().Set("managedType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/microsoft_training_assignment_mapping.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/microsoft_training_assignment_mapping.go index 981e5be1f3..32931d7afb 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/microsoft_training_assignment_mapping.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/microsoft_training_assignment_mapping.go @@ -24,7 +24,7 @@ func NewMicrosoftTrainingAssignmentMapping()(*MicrosoftTrainingAssignmentMapping func CreateMicrosoftTrainingAssignmentMappingFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewMicrosoftTrainingAssignmentMapping(), nil } -// GetAssignedTo gets the assignedTo property value. A user collection that specifies to whom the training should be assigned. Possible values are: none, allUsers, clickedPayload, compromised, reportedPhish, readButNotClicked, didNothing, unknownFutureValue. +// GetAssignedTo gets the assignedTo property value. A user collection that specifies to whom the training should be assigned. The possible values are: none, allUsers, clickedPayload, compromised, reportedPhish, readButNotClicked, didNothing, unknownFutureValue. // returns a []TrainingAssignedTo when successful func (m *MicrosoftTrainingAssignmentMapping) GetAssignedTo()([]TrainingAssignedTo) { val, err := m.GetBackingStore().Get("assignedTo") @@ -100,7 +100,7 @@ func (m *MicrosoftTrainingAssignmentMapping) Serialize(writer i878a80d2330e89d26 } return nil } -// SetAssignedTo sets the assignedTo property value. A user collection that specifies to whom the training should be assigned. Possible values are: none, allUsers, clickedPayload, compromised, reportedPhish, readButNotClicked, didNothing, unknownFutureValue. +// SetAssignedTo sets the assignedTo property value. A user collection that specifies to whom the training should be assigned. The possible values are: none, allUsers, clickedPayload, compromised, reportedPhish, readButNotClicked, didNothing, unknownFutureValue. func (m *MicrosoftTrainingAssignmentMapping) SetAssignedTo(value []TrainingAssignedTo)() { err := m.GetBackingStore().Set("assignedTo", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mobile_app.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mobile_app.go index 117a48ce5c..734d6349a9 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mobile_app.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mobile_app.go @@ -116,7 +116,7 @@ func (m *MobileApp) GetCategories()([]MobileAppCategoryable) { } return nil } -// GetCreatedDateTime gets the createdDateTime property value. The date and time the app was created. +// GetCreatedDateTime gets the createdDateTime property value. The date and time the app was created. This property is read-only. // returns a *Time when successful func (m *MobileApp) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("createdDateTime") @@ -368,7 +368,7 @@ func (m *MobileApp) GetLargeIcon()(MimeContentable) { } return nil } -// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The date and time the app was last modified. +// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The date and time the app was last modified. This property is read-only. // returns a *Time when successful func (m *MobileApp) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("lastModifiedDateTime") @@ -553,7 +553,7 @@ func (m *MobileApp) SetCategories(value []MobileAppCategoryable)() { panic(err) } } -// SetCreatedDateTime sets the createdDateTime property value. The date and time the app was created. +// SetCreatedDateTime sets the createdDateTime property value. The date and time the app was created. This property is read-only. func (m *MobileApp) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("createdDateTime", value) if err != nil { @@ -602,7 +602,7 @@ func (m *MobileApp) SetLargeIcon(value MimeContentable)() { panic(err) } } -// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The date and time the app was last modified. +// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The date and time the app was last modified. This property is read-only. func (m *MobileApp) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("lastModifiedDateTime", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mobile_app_assignment_settings.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mobile_app_assignment_settings.go index 436d1da983..82be30dc9f 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mobile_app_assignment_settings.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mobile_app_assignment_settings.go @@ -36,8 +36,6 @@ func CreateMobileAppAssignmentSettingsFromDiscriminatorValue(parseNode i878a80d2 } if mappingValue != nil { switch *mappingValue { - case "#microsoft.graph.iosDdmLobAppAssignmentSettings": - return NewIosDdmLobAppAssignmentSettings(), nil case "#microsoft.graph.iosLobAppAssignmentSettings": return NewIosLobAppAssignmentSettings(), nil case "#microsoft.graph.iosStoreAppAssignmentSettings": diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mobile_app_category.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mobile_app_category.go index 8b872034e5..1f09af5795 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mobile_app_category.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mobile_app_category.go @@ -62,7 +62,7 @@ func (m *MobileAppCategory) GetFieldDeserializers()(map[string]func(i878a80d2330 } return res } -// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The date and time the mobileAppCategory was last modified. +// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The date and time the mobileAppCategory was last modified. This property is read-only. // returns a *Time when successful func (m *MobileAppCategory) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("lastModifiedDateTime") @@ -95,7 +95,7 @@ func (m *MobileAppCategory) SetDisplayName(value *string)() { panic(err) } } -// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The date and time the mobileAppCategory was last modified. +// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The date and time the mobileAppCategory was last modified. This property is read-only. func (m *MobileAppCategory) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("lastModifiedDateTime", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mobile_app_content_file.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mobile_app_content_file.go index bbd119f32c..57d9cb93fe 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mobile_app_content_file.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mobile_app_content_file.go @@ -24,7 +24,7 @@ func NewMobileAppContentFile()(*MobileAppContentFile) { func CreateMobileAppContentFileFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewMobileAppContentFile(), nil } -// GetAzureStorageUri gets the azureStorageUri property value. The Azure Storage URI. +// GetAzureStorageUri gets the azureStorageUri property value. Indicates the Azure Storage URI that the file is uploaded to. Created by the service upon receiving a valid mobileAppContentFile. Read-only. This property is read-only. // returns a *string when successful func (m *MobileAppContentFile) GetAzureStorageUri()(*string) { val, err := m.GetBackingStore().Get("azureStorageUri") @@ -36,7 +36,7 @@ func (m *MobileAppContentFile) GetAzureStorageUri()(*string) { } return nil } -// GetAzureStorageUriExpirationDateTime gets the azureStorageUriExpirationDateTime property value. The time the Azure storage Uri expires. +// GetAzureStorageUriExpirationDateTime gets the azureStorageUriExpirationDateTime property value. Indicates the date and time when the Azure storage URI expires, in ISO 8601 format. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. This property is read-only. // returns a *Time when successful func (m *MobileAppContentFile) GetAzureStorageUriExpirationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("azureStorageUriExpirationDateTime") @@ -48,7 +48,7 @@ func (m *MobileAppContentFile) GetAzureStorageUriExpirationDateTime()(*i33607480 } return nil } -// GetCreatedDateTime gets the createdDateTime property value. The time the file was created. +// GetCreatedDateTime gets the createdDateTime property value. Indicates created date and time associated with app content file, in ISO 8601 format. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. This property is read-only. // returns a *Time when successful func (m *MobileAppContentFile) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("createdDateTime") @@ -166,7 +166,7 @@ func (m *MobileAppContentFile) GetFieldDeserializers()(map[string]func(i878a80d2 } return res } -// GetIsCommitted gets the isCommitted property value. A value indicating whether the file is committed. +// GetIsCommitted gets the isCommitted property value. A value indicating whether the file is committed. A committed app content file has been fully uploaded and validated by the Intune service. TRUE means that app content file is committed, FALSE means that app content file is not committed. Defaults to FALSE. Read-only. This property is read-only. // returns a *bool when successful func (m *MobileAppContentFile) GetIsCommitted()(*bool) { val, err := m.GetBackingStore().Get("isCommitted") @@ -190,7 +190,7 @@ func (m *MobileAppContentFile) GetIsDependency()(*bool) { } return nil } -// GetManifest gets the manifest property value. The manifest information. +// GetManifest gets the manifest property value. Indicates the manifest information, containing file metadata. // returns a []byte when successful func (m *MobileAppContentFile) GetManifest()([]byte) { val, err := m.GetBackingStore().Get("manifest") @@ -202,7 +202,7 @@ func (m *MobileAppContentFile) GetManifest()([]byte) { } return nil } -// GetName gets the name property value. the file name. +// GetName gets the name property value. Indicates the name of the file. // returns a *string when successful func (m *MobileAppContentFile) GetName()(*string) { val, err := m.GetBackingStore().Get("name") @@ -214,7 +214,7 @@ func (m *MobileAppContentFile) GetName()(*string) { } return nil } -// GetSize gets the size property value. The size of the file prior to encryption. +// GetSize gets the size property value. Indicates the original size of the file, in bytes. // returns a *int64 when successful func (m *MobileAppContentFile) GetSize()(*int64) { val, err := m.GetBackingStore().Get("size") @@ -226,7 +226,7 @@ func (m *MobileAppContentFile) GetSize()(*int64) { } return nil } -// GetSizeEncrypted gets the sizeEncrypted property value. The size of the file after encryption. +// GetSizeEncrypted gets the sizeEncrypted property value. Indicates the size of the file after encryption, in bytes. // returns a *int64 when successful func (m *MobileAppContentFile) GetSizeEncrypted()(*int64) { val, err := m.GetBackingStore().Get("sizeEncrypted") @@ -295,28 +295,28 @@ func (m *MobileAppContentFile) Serialize(writer i878a80d2330e89d26896388a3f487ee } return nil } -// SetAzureStorageUri sets the azureStorageUri property value. The Azure Storage URI. +// SetAzureStorageUri sets the azureStorageUri property value. Indicates the Azure Storage URI that the file is uploaded to. Created by the service upon receiving a valid mobileAppContentFile. Read-only. This property is read-only. func (m *MobileAppContentFile) SetAzureStorageUri(value *string)() { err := m.GetBackingStore().Set("azureStorageUri", value) if err != nil { panic(err) } } -// SetAzureStorageUriExpirationDateTime sets the azureStorageUriExpirationDateTime property value. The time the Azure storage Uri expires. +// SetAzureStorageUriExpirationDateTime sets the azureStorageUriExpirationDateTime property value. Indicates the date and time when the Azure storage URI expires, in ISO 8601 format. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. This property is read-only. func (m *MobileAppContentFile) SetAzureStorageUriExpirationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("azureStorageUriExpirationDateTime", value) if err != nil { panic(err) } } -// SetCreatedDateTime sets the createdDateTime property value. The time the file was created. +// SetCreatedDateTime sets the createdDateTime property value. Indicates created date and time associated with app content file, in ISO 8601 format. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. This property is read-only. func (m *MobileAppContentFile) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("createdDateTime", value) if err != nil { panic(err) } } -// SetIsCommitted sets the isCommitted property value. A value indicating whether the file is committed. +// SetIsCommitted sets the isCommitted property value. A value indicating whether the file is committed. A committed app content file has been fully uploaded and validated by the Intune service. TRUE means that app content file is committed, FALSE means that app content file is not committed. Defaults to FALSE. Read-only. This property is read-only. func (m *MobileAppContentFile) SetIsCommitted(value *bool)() { err := m.GetBackingStore().Set("isCommitted", value) if err != nil { @@ -330,28 +330,28 @@ func (m *MobileAppContentFile) SetIsDependency(value *bool)() { panic(err) } } -// SetManifest sets the manifest property value. The manifest information. +// SetManifest sets the manifest property value. Indicates the manifest information, containing file metadata. func (m *MobileAppContentFile) SetManifest(value []byte)() { err := m.GetBackingStore().Set("manifest", value) if err != nil { panic(err) } } -// SetName sets the name property value. the file name. +// SetName sets the name property value. Indicates the name of the file. func (m *MobileAppContentFile) SetName(value *string)() { err := m.GetBackingStore().Set("name", value) if err != nil { panic(err) } } -// SetSize sets the size property value. The size of the file prior to encryption. +// SetSize sets the size property value. Indicates the original size of the file, in bytes. func (m *MobileAppContentFile) SetSize(value *int64)() { err := m.GetBackingStore().Set("size", value) if err != nil { panic(err) } } -// SetSizeEncrypted sets the sizeEncrypted property value. The size of the file after encryption. +// SetSizeEncrypted sets the sizeEncrypted property value. Indicates the size of the file after encryption, in bytes. func (m *MobileAppContentFile) SetSizeEncrypted(value *int64)() { err := m.GetBackingStore().Set("sizeEncrypted", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mobile_lob_app.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mobile_lob_app.go index dc2f7f4fa2..871f06fb25 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mobile_lob_app.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mobile_lob_app.go @@ -69,7 +69,7 @@ func (m *MobileLobApp) GetCommittedContentVersion()(*string) { } return nil } -// GetContentVersions gets the contentVersions property value. The list of content versions for this app. +// GetContentVersions gets the contentVersions property value. The list of content versions for this app. This property is read-only. // returns a []MobileAppContentable when successful func (m *MobileLobApp) GetContentVersions()([]MobileAppContentable) { val, err := m.GetBackingStore().Get("contentVersions") @@ -145,7 +145,7 @@ func (m *MobileLobApp) GetFileName()(*string) { } return nil } -// GetSize gets the size property value. The total size, including all uploaded files. +// GetSize gets the size property value. The total size, including all uploaded files. This property is read-only. // returns a *int64 when successful func (m *MobileLobApp) GetSize()(*int64) { val, err := m.GetBackingStore().Get("size") @@ -196,7 +196,7 @@ func (m *MobileLobApp) SetCommittedContentVersion(value *string)() { panic(err) } } -// SetContentVersions sets the contentVersions property value. The list of content versions for this app. +// SetContentVersions sets the contentVersions property value. The list of content versions for this app. This property is read-only. func (m *MobileLobApp) SetContentVersions(value []MobileAppContentable)() { err := m.GetBackingStore().Set("contentVersions", value) if err != nil { @@ -210,7 +210,7 @@ func (m *MobileLobApp) SetFileName(value *string)() { panic(err) } } -// SetSize sets the size property value. The total size, including all uploaded files. +// SetSize sets the size property value. The total size, including all uploaded files. This property is read-only. func (m *MobileLobApp) SetSize(value *int64)() { err := m.GetBackingStore().Set("size", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mobile_threat_defense_connector.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mobile_threat_defense_connector.go index 064fa5d04d..fbb05cef4d 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mobile_threat_defense_connector.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/mobile_threat_defense_connector.go @@ -24,7 +24,7 @@ func NewMobileThreatDefenseConnector()(*MobileThreatDefenseConnector) { func CreateMobileThreatDefenseConnectorFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewMobileThreatDefenseConnector(), nil } -// GetAllowPartnerToCollectIOSApplicationMetadata gets the allowPartnerToCollectIOSApplicationMetadata property value. When TRUE, indicates the Mobile Threat Defense partner may collect metadata about installed applications from Intune for IOS devices. When FALSE, indicates the Mobile Threat Defense partner may not collect metadata about installed applications from Intune for IOS devices. Default value is FALSE. +// GetAllowPartnerToCollectIOSApplicationMetadata gets the allowPartnerToCollectIOSApplicationMetadata property value. When TRUE, indicates the Mobile Threat Defense partner may collect metadata about installed applications from Intune for iOS devices. When FALSE, indicates the Mobile Threat Defense partner may not collect metadata about installed applications from Intune for iOS devices. Default value is FALSE. // returns a *bool when successful func (m *MobileThreatDefenseConnector) GetAllowPartnerToCollectIOSApplicationMetadata()(*bool) { val, err := m.GetBackingStore().Get("allowPartnerToCollectIOSApplicationMetadata") @@ -36,7 +36,7 @@ func (m *MobileThreatDefenseConnector) GetAllowPartnerToCollectIOSApplicationMet } return nil } -// GetAllowPartnerToCollectIOSPersonalApplicationMetadata gets the allowPartnerToCollectIOSPersonalApplicationMetadata property value. When TRUE, indicates the Mobile Threat Defense partner may collect metadata about personally installed applications from Intune for IOS devices. When FALSE, indicates the Mobile Threat Defense partner may not collect metadata about personally installed applications from Intune for IOS devices. Default value is FALSE. +// GetAllowPartnerToCollectIOSPersonalApplicationMetadata gets the allowPartnerToCollectIOSPersonalApplicationMetadata property value. When TRUE, indicates the Mobile Threat Defense partner may collect metadata about personally installed applications from Intune for iOS devices. When FALSE, indicates the Mobile Threat Defense partner may not collect metadata about personally installed applications from Intune for iOS devices. Default value is FALSE. // returns a *bool when successful func (m *MobileThreatDefenseConnector) GetAllowPartnerToCollectIOSPersonalApplicationMetadata()(*bool) { val, err := m.GetBackingStore().Get("allowPartnerToCollectIOSPersonalApplicationMetadata") @@ -48,7 +48,7 @@ func (m *MobileThreatDefenseConnector) GetAllowPartnerToCollectIOSPersonalApplic } return nil } -// GetAndroidDeviceBlockedOnMissingPartnerData gets the androidDeviceBlockedOnMissingPartnerData property value. For Android, set whether Intune must receive data from the Mobile Threat Defense partner prior to marking a device compliant +// GetAndroidDeviceBlockedOnMissingPartnerData gets the androidDeviceBlockedOnMissingPartnerData property value. When TRUE, indicates that Intune must receive data from the Mobile Threat Defense partner prior to marking an Android device compliant. When FALSE, indicates that Intune may mark an Android device compliant before receiving data from the Mobile Threat Defense partner. // returns a *bool when successful func (m *MobileThreatDefenseConnector) GetAndroidDeviceBlockedOnMissingPartnerData()(*bool) { val, err := m.GetBackingStore().Get("androidDeviceBlockedOnMissingPartnerData") @@ -60,7 +60,7 @@ func (m *MobileThreatDefenseConnector) GetAndroidDeviceBlockedOnMissingPartnerDa } return nil } -// GetAndroidEnabled gets the androidEnabled property value. For Android, set whether data from the Mobile Threat Defense partner should be used during compliance evaluations +// GetAndroidEnabled gets the androidEnabled property value. When TRUE, indicates that data from the Mobile Threat Defense partner will be used during compliance evaluations for Android devices. When FALSE, indicates that data from the Mobile Threat Defense partner will not be used during compliance evaluations for Android devices. Default value is FALSE. // returns a *bool when successful func (m *MobileThreatDefenseConnector) GetAndroidEnabled()(*bool) { val, err := m.GetBackingStore().Get("androidEnabled") @@ -240,7 +240,7 @@ func (m *MobileThreatDefenseConnector) GetFieldDeserializers()(map[string]func(i } return res } -// GetIosDeviceBlockedOnMissingPartnerData gets the iosDeviceBlockedOnMissingPartnerData property value. For IOS, set whether Intune must receive data from the Mobile Threat Defense partner prior to marking a device compliant +// GetIosDeviceBlockedOnMissingPartnerData gets the iosDeviceBlockedOnMissingPartnerData property value. When TRUE, indicates that Intune must receive data from the Mobile Threat Defense partner prior to marking a device compliant. When FALSE, indicates that Intune may not recieve data from Mobile Threat Defense partner prior to making device compliant. Default value is FALSE. // returns a *bool when successful func (m *MobileThreatDefenseConnector) GetIosDeviceBlockedOnMissingPartnerData()(*bool) { val, err := m.GetBackingStore().Get("iosDeviceBlockedOnMissingPartnerData") @@ -252,7 +252,7 @@ func (m *MobileThreatDefenseConnector) GetIosDeviceBlockedOnMissingPartnerData() } return nil } -// GetIosEnabled gets the iosEnabled property value. For IOS, get or set whether data from the Mobile Threat Defense partner should be used during compliance evaluations +// GetIosEnabled gets the iosEnabled property value. When TRUE, indicates that data from the Mobile Threat Defense partner will be used during compliance evaluations for iOS devices. When FALSE, indicates that data from the Mobile Threat Defense partner will not be used during compliance evaluations for iOS devices. Default value is FALSE. // returns a *bool when successful func (m *MobileThreatDefenseConnector) GetIosEnabled()(*bool) { val, err := m.GetBackingStore().Get("iosEnabled") @@ -264,7 +264,7 @@ func (m *MobileThreatDefenseConnector) GetIosEnabled()(*bool) { } return nil } -// GetIosMobileApplicationManagementEnabled gets the iosMobileApplicationManagementEnabled property value. When TRUE, inidicates that data from the Mobile Threat Defense partner can be used during Mobile Application Management (MAM) evaluations for IOS devices. When FALSE, inidicates that data from the Mobile Threat Defense partner should not be used during Mobile Application Management (MAM) evaluations for IOS devices. Only one partner per platform may be enabled for Mobile Application Management (MAM) evaluation. Default value is FALSE. +// GetIosMobileApplicationManagementEnabled gets the iosMobileApplicationManagementEnabled property value. When TRUE, inidicates that data from the Mobile Threat Defense partner can be used during Mobile Application Management (MAM) evaluations for iOS devices. When FALSE, inidicates that data from the Mobile Threat Defense partner should not be used during Mobile Application Management (MAM) evaluations for iOS devices. Only one partner per platform may be enabled for Mobile Application Management (MAM) evaluation. Default value is FALSE. // returns a *bool when successful func (m *MobileThreatDefenseConnector) GetIosMobileApplicationManagementEnabled()(*bool) { val, err := m.GetBackingStore().Get("iosMobileApplicationManagementEnabled") @@ -312,7 +312,7 @@ func (m *MobileThreatDefenseConnector) GetPartnerState()(*MobileThreatPartnerTen } return nil } -// GetPartnerUnresponsivenessThresholdInDays gets the partnerUnresponsivenessThresholdInDays property value. Get or Set days the per tenant tolerance to unresponsiveness for this partner integration +// GetPartnerUnresponsivenessThresholdInDays gets the partnerUnresponsivenessThresholdInDays property value. Indicates the number of days without receiving a heartbeat from a Mobile Threat Defense partner before the partner is marked as unresponsive. Intune will the ignore the data from this Mobile Threat Defense Partner for next compliance calculation. // returns a *int32 when successful func (m *MobileThreatDefenseConnector) GetPartnerUnresponsivenessThresholdInDays()(*int32) { val, err := m.GetBackingStore().Get("partnerUnresponsivenessThresholdInDays") @@ -324,7 +324,7 @@ func (m *MobileThreatDefenseConnector) GetPartnerUnresponsivenessThresholdInDays } return nil } -// GetPartnerUnsupportedOsVersionBlocked gets the partnerUnsupportedOsVersionBlocked property value. Get or set whether to block devices on the enabled platforms that do not meet the minimum version requirements of the Mobile Threat Defense partner +// GetPartnerUnsupportedOsVersionBlocked gets the partnerUnsupportedOsVersionBlocked property value. When TRUE, indicates that Intune will mark devices noncompliant on enabled platforms that do not meet the minimum version requirements of the Mobile Threat Defense partner. When FALSE, indicates that Intune will not mark devices noncompliant on enabled platforms that do not meet the minimum version requirements of the Mobile Threat Defense partner. Default value is FALSE. // returns a *bool when successful func (m *MobileThreatDefenseConnector) GetPartnerUnsupportedOsVersionBlocked()(*bool) { val, err := m.GetBackingStore().Get("partnerUnsupportedOsVersionBlocked") @@ -336,7 +336,7 @@ func (m *MobileThreatDefenseConnector) GetPartnerUnsupportedOsVersionBlocked()(* } return nil } -// GetWindowsDeviceBlockedOnMissingPartnerData gets the windowsDeviceBlockedOnMissingPartnerData property value. When TRUE, inidicates that Intune must receive data from the Mobile Threat Defense partner prior to marking a device compliant for Windows. When FALSE, inidicates that Intune may make a device compliant without receiving data from the Mobile Threat Defense partner for Windows. Default value is FALSE. +// GetWindowsDeviceBlockedOnMissingPartnerData gets the windowsDeviceBlockedOnMissingPartnerData property value. When TRUE, indicates that Intune must receive data from the data sync partner prior to marking a device compliant for Windows. When FALSE, indicates that Intune may mark a device compliant without receiving data from the data sync partner for Windows. Default value is FALSE. // returns a *bool when successful func (m *MobileThreatDefenseConnector) GetWindowsDeviceBlockedOnMissingPartnerData()(*bool) { val, err := m.GetBackingStore().Get("windowsDeviceBlockedOnMissingPartnerData") @@ -348,7 +348,7 @@ func (m *MobileThreatDefenseConnector) GetWindowsDeviceBlockedOnMissingPartnerDa } return nil } -// GetWindowsEnabled gets the windowsEnabled property value. When TRUE, inidicates that data from the Mobile Threat Defense partner can be used during compliance evaluations for Windows. When FALSE, inidicates that data from the Mobile Threat Defense partner should not be used during compliance evaluations for Windows. Default value is FALSE. +// GetWindowsEnabled gets the windowsEnabled property value. When TRUE, indicates that data from the Mobile Threat Defense partner will be used during compliance evaluations for Windows. When FALSE, indicates that data from the Mobile Threat Defense partner will not be used during compliance evaluations for Windows. Default value is FALSE. // returns a *bool when successful func (m *MobileThreatDefenseConnector) GetWindowsEnabled()(*bool) { val, err := m.GetBackingStore().Get("windowsEnabled") @@ -459,28 +459,28 @@ func (m *MobileThreatDefenseConnector) Serialize(writer i878a80d2330e89d26896388 } return nil } -// SetAllowPartnerToCollectIOSApplicationMetadata sets the allowPartnerToCollectIOSApplicationMetadata property value. When TRUE, indicates the Mobile Threat Defense partner may collect metadata about installed applications from Intune for IOS devices. When FALSE, indicates the Mobile Threat Defense partner may not collect metadata about installed applications from Intune for IOS devices. Default value is FALSE. +// SetAllowPartnerToCollectIOSApplicationMetadata sets the allowPartnerToCollectIOSApplicationMetadata property value. When TRUE, indicates the Mobile Threat Defense partner may collect metadata about installed applications from Intune for iOS devices. When FALSE, indicates the Mobile Threat Defense partner may not collect metadata about installed applications from Intune for iOS devices. Default value is FALSE. func (m *MobileThreatDefenseConnector) SetAllowPartnerToCollectIOSApplicationMetadata(value *bool)() { err := m.GetBackingStore().Set("allowPartnerToCollectIOSApplicationMetadata", value) if err != nil { panic(err) } } -// SetAllowPartnerToCollectIOSPersonalApplicationMetadata sets the allowPartnerToCollectIOSPersonalApplicationMetadata property value. When TRUE, indicates the Mobile Threat Defense partner may collect metadata about personally installed applications from Intune for IOS devices. When FALSE, indicates the Mobile Threat Defense partner may not collect metadata about personally installed applications from Intune for IOS devices. Default value is FALSE. +// SetAllowPartnerToCollectIOSPersonalApplicationMetadata sets the allowPartnerToCollectIOSPersonalApplicationMetadata property value. When TRUE, indicates the Mobile Threat Defense partner may collect metadata about personally installed applications from Intune for iOS devices. When FALSE, indicates the Mobile Threat Defense partner may not collect metadata about personally installed applications from Intune for iOS devices. Default value is FALSE. func (m *MobileThreatDefenseConnector) SetAllowPartnerToCollectIOSPersonalApplicationMetadata(value *bool)() { err := m.GetBackingStore().Set("allowPartnerToCollectIOSPersonalApplicationMetadata", value) if err != nil { panic(err) } } -// SetAndroidDeviceBlockedOnMissingPartnerData sets the androidDeviceBlockedOnMissingPartnerData property value. For Android, set whether Intune must receive data from the Mobile Threat Defense partner prior to marking a device compliant +// SetAndroidDeviceBlockedOnMissingPartnerData sets the androidDeviceBlockedOnMissingPartnerData property value. When TRUE, indicates that Intune must receive data from the Mobile Threat Defense partner prior to marking an Android device compliant. When FALSE, indicates that Intune may mark an Android device compliant before receiving data from the Mobile Threat Defense partner. func (m *MobileThreatDefenseConnector) SetAndroidDeviceBlockedOnMissingPartnerData(value *bool)() { err := m.GetBackingStore().Set("androidDeviceBlockedOnMissingPartnerData", value) if err != nil { panic(err) } } -// SetAndroidEnabled sets the androidEnabled property value. For Android, set whether data from the Mobile Threat Defense partner should be used during compliance evaluations +// SetAndroidEnabled sets the androidEnabled property value. When TRUE, indicates that data from the Mobile Threat Defense partner will be used during compliance evaluations for Android devices. When FALSE, indicates that data from the Mobile Threat Defense partner will not be used during compliance evaluations for Android devices. Default value is FALSE. func (m *MobileThreatDefenseConnector) SetAndroidEnabled(value *bool)() { err := m.GetBackingStore().Set("androidEnabled", value) if err != nil { @@ -494,21 +494,21 @@ func (m *MobileThreatDefenseConnector) SetAndroidMobileApplicationManagementEnab panic(err) } } -// SetIosDeviceBlockedOnMissingPartnerData sets the iosDeviceBlockedOnMissingPartnerData property value. For IOS, set whether Intune must receive data from the Mobile Threat Defense partner prior to marking a device compliant +// SetIosDeviceBlockedOnMissingPartnerData sets the iosDeviceBlockedOnMissingPartnerData property value. When TRUE, indicates that Intune must receive data from the Mobile Threat Defense partner prior to marking a device compliant. When FALSE, indicates that Intune may not recieve data from Mobile Threat Defense partner prior to making device compliant. Default value is FALSE. func (m *MobileThreatDefenseConnector) SetIosDeviceBlockedOnMissingPartnerData(value *bool)() { err := m.GetBackingStore().Set("iosDeviceBlockedOnMissingPartnerData", value) if err != nil { panic(err) } } -// SetIosEnabled sets the iosEnabled property value. For IOS, get or set whether data from the Mobile Threat Defense partner should be used during compliance evaluations +// SetIosEnabled sets the iosEnabled property value. When TRUE, indicates that data from the Mobile Threat Defense partner will be used during compliance evaluations for iOS devices. When FALSE, indicates that data from the Mobile Threat Defense partner will not be used during compliance evaluations for iOS devices. Default value is FALSE. func (m *MobileThreatDefenseConnector) SetIosEnabled(value *bool)() { err := m.GetBackingStore().Set("iosEnabled", value) if err != nil { panic(err) } } -// SetIosMobileApplicationManagementEnabled sets the iosMobileApplicationManagementEnabled property value. When TRUE, inidicates that data from the Mobile Threat Defense partner can be used during Mobile Application Management (MAM) evaluations for IOS devices. When FALSE, inidicates that data from the Mobile Threat Defense partner should not be used during Mobile Application Management (MAM) evaluations for IOS devices. Only one partner per platform may be enabled for Mobile Application Management (MAM) evaluation. Default value is FALSE. +// SetIosMobileApplicationManagementEnabled sets the iosMobileApplicationManagementEnabled property value. When TRUE, inidicates that data from the Mobile Threat Defense partner can be used during Mobile Application Management (MAM) evaluations for iOS devices. When FALSE, inidicates that data from the Mobile Threat Defense partner should not be used during Mobile Application Management (MAM) evaluations for iOS devices. Only one partner per platform may be enabled for Mobile Application Management (MAM) evaluation. Default value is FALSE. func (m *MobileThreatDefenseConnector) SetIosMobileApplicationManagementEnabled(value *bool)() { err := m.GetBackingStore().Set("iosMobileApplicationManagementEnabled", value) if err != nil { @@ -536,28 +536,28 @@ func (m *MobileThreatDefenseConnector) SetPartnerState(value *MobileThreatPartne panic(err) } } -// SetPartnerUnresponsivenessThresholdInDays sets the partnerUnresponsivenessThresholdInDays property value. Get or Set days the per tenant tolerance to unresponsiveness for this partner integration +// SetPartnerUnresponsivenessThresholdInDays sets the partnerUnresponsivenessThresholdInDays property value. Indicates the number of days without receiving a heartbeat from a Mobile Threat Defense partner before the partner is marked as unresponsive. Intune will the ignore the data from this Mobile Threat Defense Partner for next compliance calculation. func (m *MobileThreatDefenseConnector) SetPartnerUnresponsivenessThresholdInDays(value *int32)() { err := m.GetBackingStore().Set("partnerUnresponsivenessThresholdInDays", value) if err != nil { panic(err) } } -// SetPartnerUnsupportedOsVersionBlocked sets the partnerUnsupportedOsVersionBlocked property value. Get or set whether to block devices on the enabled platforms that do not meet the minimum version requirements of the Mobile Threat Defense partner +// SetPartnerUnsupportedOsVersionBlocked sets the partnerUnsupportedOsVersionBlocked property value. When TRUE, indicates that Intune will mark devices noncompliant on enabled platforms that do not meet the minimum version requirements of the Mobile Threat Defense partner. When FALSE, indicates that Intune will not mark devices noncompliant on enabled platforms that do not meet the minimum version requirements of the Mobile Threat Defense partner. Default value is FALSE. func (m *MobileThreatDefenseConnector) SetPartnerUnsupportedOsVersionBlocked(value *bool)() { err := m.GetBackingStore().Set("partnerUnsupportedOsVersionBlocked", value) if err != nil { panic(err) } } -// SetWindowsDeviceBlockedOnMissingPartnerData sets the windowsDeviceBlockedOnMissingPartnerData property value. When TRUE, inidicates that Intune must receive data from the Mobile Threat Defense partner prior to marking a device compliant for Windows. When FALSE, inidicates that Intune may make a device compliant without receiving data from the Mobile Threat Defense partner for Windows. Default value is FALSE. +// SetWindowsDeviceBlockedOnMissingPartnerData sets the windowsDeviceBlockedOnMissingPartnerData property value. When TRUE, indicates that Intune must receive data from the data sync partner prior to marking a device compliant for Windows. When FALSE, indicates that Intune may mark a device compliant without receiving data from the data sync partner for Windows. Default value is FALSE. func (m *MobileThreatDefenseConnector) SetWindowsDeviceBlockedOnMissingPartnerData(value *bool)() { err := m.GetBackingStore().Set("windowsDeviceBlockedOnMissingPartnerData", value) if err != nil { panic(err) } } -// SetWindowsEnabled sets the windowsEnabled property value. When TRUE, inidicates that data from the Mobile Threat Defense partner can be used during compliance evaluations for Windows. When FALSE, inidicates that data from the Mobile Threat Defense partner should not be used during compliance evaluations for Windows. Default value is FALSE. +// SetWindowsEnabled sets the windowsEnabled property value. When TRUE, indicates that data from the Mobile Threat Defense partner will be used during compliance evaluations for Windows. When FALSE, indicates that data from the Mobile Threat Defense partner will not be used during compliance evaluations for Windows. Default value is FALSE. func (m *MobileThreatDefenseConnector) SetWindowsEnabled(value *bool)() { err := m.GetBackingStore().Set("windowsEnabled", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/network_connection.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/network_connection.go index fad698b14c..f7df860198 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/network_connection.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/network_connection.go @@ -116,7 +116,7 @@ func (m *NetworkConnection) GetDestinationUrl()(*string) { } return nil } -// GetDirection gets the direction property value. Network connection direction. Possible values are: unknown, inbound, outbound. +// GetDirection gets the direction property value. Network connection direction. The possible values are: unknown, inbound, outbound. // returns a *ConnectionDirection when successful func (m *NetworkConnection) GetDirection()(*ConnectionDirection) { val, err := m.GetBackingStore().Get("direction") @@ -428,7 +428,7 @@ func (m *NetworkConnection) GetOdataType()(*string) { } return nil } -// GetProtocol gets the protocol property value. Network protocol. Possible values are: unknown, ip, icmp, igmp, ggp, ipv4, tcp, pup, udp, idp, ipv6, ipv6RoutingHeader, ipv6FragmentHeader, ipSecEncapsulatingSecurityPayload, ipSecAuthenticationHeader, icmpV6, ipv6NoNextHeader, ipv6DestinationOptions, nd, raw, ipx, spx, spxII. +// GetProtocol gets the protocol property value. Network protocol. The possible values are: unknown, ip, icmp, igmp, ggp, ipv4, tcp, pup, udp, idp, ipv6, ipv6RoutingHeader, ipv6FragmentHeader, ipSecEncapsulatingSecurityPayload, ipSecAuthenticationHeader, icmpV6, ipv6NoNextHeader, ipv6DestinationOptions, nd, raw, ipx, spx, spxII. // returns a *SecurityNetworkProtocol when successful func (m *NetworkConnection) GetProtocol()(*SecurityNetworkProtocol) { val, err := m.GetBackingStore().Get("protocol") @@ -488,7 +488,7 @@ func (m *NetworkConnection) GetSourcePort()(*string) { } return nil } -// GetStatus gets the status property value. Network connection status. Possible values are: unknown, attempted, succeeded, blocked, failed. +// GetStatus gets the status property value. Network connection status. The possible values are: unknown, attempted, succeeded, blocked, failed. // returns a *ConnectionStatus when successful func (m *NetworkConnection) GetStatus()(*ConnectionStatus) { val, err := m.GetBackingStore().Get("status") @@ -704,7 +704,7 @@ func (m *NetworkConnection) SetDestinationUrl(value *string)() { panic(err) } } -// SetDirection sets the direction property value. Network connection direction. Possible values are: unknown, inbound, outbound. +// SetDirection sets the direction property value. Network connection direction. The possible values are: unknown, inbound, outbound. func (m *NetworkConnection) SetDirection(value *ConnectionDirection)() { err := m.GetBackingStore().Set("direction", value) if err != nil { @@ -760,7 +760,7 @@ func (m *NetworkConnection) SetOdataType(value *string)() { panic(err) } } -// SetProtocol sets the protocol property value. Network protocol. Possible values are: unknown, ip, icmp, igmp, ggp, ipv4, tcp, pup, udp, idp, ipv6, ipv6RoutingHeader, ipv6FragmentHeader, ipSecEncapsulatingSecurityPayload, ipSecAuthenticationHeader, icmpV6, ipv6NoNextHeader, ipv6DestinationOptions, nd, raw, ipx, spx, spxII. +// SetProtocol sets the protocol property value. Network protocol. The possible values are: unknown, ip, icmp, igmp, ggp, ipv4, tcp, pup, udp, idp, ipv6, ipv6RoutingHeader, ipv6FragmentHeader, ipSecEncapsulatingSecurityPayload, ipSecAuthenticationHeader, icmpV6, ipv6NoNextHeader, ipv6DestinationOptions, nd, raw, ipx, spx, spxII. func (m *NetworkConnection) SetProtocol(value *SecurityNetworkProtocol)() { err := m.GetBackingStore().Set("protocol", value) if err != nil { @@ -795,7 +795,7 @@ func (m *NetworkConnection) SetSourcePort(value *string)() { panic(err) } } -// SetStatus sets the status property value. Network connection status. Possible values are: unknown, attempted, succeeded, blocked, failed. +// SetStatus sets the status property value. Network connection status. The possible values are: unknown, attempted, succeeded, blocked, failed. func (m *NetworkConnection) SetStatus(value *ConnectionStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/notebook.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/notebook.go index 5a0cf88e32..aa279bb797 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/notebook.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/notebook.go @@ -206,7 +206,7 @@ func (m *Notebook) GetSectionsUrl()(*string) { } return nil } -// GetUserRole gets the userRole property value. Possible values are: Owner, Contributor, Reader, None. Owner represents owner-level access to the notebook. Contributor represents read/write access to the notebook. Reader represents read-only access to the notebook. Read-only. +// GetUserRole gets the userRole property value. The possible values are: Owner, Contributor, Reader, None. Owner represents owner-level access to the notebook. Contributor represents read/write access to the notebook. Reader represents read-only access to the notebook. Read-only. // returns a *OnenoteUserRole when successful func (m *Notebook) GetUserRole()(*OnenoteUserRole) { val, err := m.GetBackingStore().Get("userRole") @@ -336,7 +336,7 @@ func (m *Notebook) SetSectionsUrl(value *string)() { panic(err) } } -// SetUserRole sets the userRole property value. Possible values are: Owner, Contributor, Reader, None. Owner represents owner-level access to the notebook. Contributor represents read/write access to the notebook. Reader represents read-only access to the notebook. Read-only. +// SetUserRole sets the userRole property value. The possible values are: Owner, Contributor, Reader, None. Owner represents owner-level access to the notebook. Contributor represents read/write access to the notebook. Reader represents read-only access to the notebook. Read-only. func (m *Notebook) SetUserRole(value *OnenoteUserRole)() { err := m.GetBackingStore().Set("userRole", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/o_auth_consent_app_detail.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/o_auth_consent_app_detail.go index d20ec8030d..f36fa8530c 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/o_auth_consent_app_detail.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/o_auth_consent_app_detail.go @@ -38,7 +38,7 @@ func (m *OAuthConsentAppDetail) GetAdditionalData()(map[string]any) { } return val.(map[string]any) } -// GetAppScope gets the appScope property value. App scope. Possible values are: unknown, readCalendar, readContact, readMail, readAllChat, readAllFile, readAndWriteMail, sendMail, unknownFutureValue. +// GetAppScope gets the appScope property value. App scope. The possible values are: unknown, readCalendar, readContact, readMail, readAllChat, readAllFile, readAndWriteMail, sendMail, unknownFutureValue. // returns a *OAuthAppScope when successful func (m *OAuthConsentAppDetail) GetAppScope()(*OAuthAppScope) { val, err := m.GetBackingStore().Get("appScope") @@ -179,7 +179,7 @@ func (m *OAuthConsentAppDetail) SetAdditionalData(value map[string]any)() { panic(err) } } -// SetAppScope sets the appScope property value. App scope. Possible values are: unknown, readCalendar, readContact, readMail, readAllChat, readAllFile, readAndWriteMail, sendMail, unknownFutureValue. +// SetAppScope sets the appScope property value. App scope. The possible values are: unknown, readCalendar, readContact, readMail, readAllChat, readAllFile, readAndWriteMail, sendMail, unknownFutureValue. func (m *OAuthConsentAppDetail) SetAppScope(value *OAuthAppScope)() { err := m.GetBackingStore().Set("appScope", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/object_definition_metadata_entry.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/object_definition_metadata_entry.go index cfb0cf0530..4f1492db23 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/object_definition_metadata_entry.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/object_definition_metadata_entry.go @@ -79,7 +79,7 @@ func (m *ObjectDefinitionMetadataEntry) GetFieldDeserializers()(map[string]func( } return res } -// GetKey gets the key property value. Possible values are: PropertyNameAccountEnabled, PropertyNameSoftDeleted, IsSoftDeletionSupported, IsSynchronizeAllSupported, ConnectorDataStorageRequired, Extensions, LinkTypeName. +// GetKey gets the key property value. The possible values are: PropertyNameAccountEnabled, PropertyNameSoftDeleted, IsSoftDeletionSupported, IsSynchronizeAllSupported, ConnectorDataStorageRequired, Extensions, LinkTypeName. // returns a *ObjectDefinitionMetadata when successful func (m *ObjectDefinitionMetadataEntry) GetKey()(*ObjectDefinitionMetadata) { val, err := m.GetBackingStore().Get("key") @@ -155,7 +155,7 @@ func (m *ObjectDefinitionMetadataEntry) SetAdditionalData(value map[string]any)( func (m *ObjectDefinitionMetadataEntry) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetKey sets the key property value. Possible values are: PropertyNameAccountEnabled, PropertyNameSoftDeleted, IsSoftDeletionSupported, IsSynchronizeAllSupported, ConnectorDataStorageRequired, Extensions, LinkTypeName. +// SetKey sets the key property value. The possible values are: PropertyNameAccountEnabled, PropertyNameSoftDeleted, IsSoftDeletionSupported, IsSynchronizeAllSupported, ConnectorDataStorageRequired, Extensions, LinkTypeName. func (m *ObjectDefinitionMetadataEntry) SetKey(value *ObjectDefinitionMetadata)() { err := m.GetBackingStore().Set("key", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/object_mapping_metadata_entry.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/object_mapping_metadata_entry.go index 8e5bff0d59..caad5c08de 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/object_mapping_metadata_entry.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/object_mapping_metadata_entry.go @@ -79,7 +79,7 @@ func (m *ObjectMappingMetadataEntry) GetFieldDeserializers()(map[string]func(i87 } return res } -// GetKey gets the key property value. Possible values are: EscrowBehavior, DisableMonitoringForChanges, OriginalJoiningProperty, Disposition, IsCustomerDefined, ExcludeFromReporting, Unsynchronized. +// GetKey gets the key property value. The possible values are: EscrowBehavior, DisableMonitoringForChanges, OriginalJoiningProperty, Disposition, IsCustomerDefined, ExcludeFromReporting, Unsynchronized. // returns a *ObjectMappingMetadata when successful func (m *ObjectMappingMetadataEntry) GetKey()(*ObjectMappingMetadata) { val, err := m.GetBackingStore().Get("key") @@ -155,7 +155,7 @@ func (m *ObjectMappingMetadataEntry) SetAdditionalData(value map[string]any)() { func (m *ObjectMappingMetadataEntry) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetKey sets the key property value. Possible values are: EscrowBehavior, DisableMonitoringForChanges, OriginalJoiningProperty, Disposition, IsCustomerDefined, ExcludeFromReporting, Unsynchronized. +// SetKey sets the key property value. The possible values are: EscrowBehavior, DisableMonitoringForChanges, OriginalJoiningProperty, Disposition, IsCustomerDefined, ExcludeFromReporting, Unsynchronized. func (m *ObjectMappingMetadataEntry) SetKey(value *ObjectMappingMetadata)() { err := m.GetBackingStore().Set("key", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/oidc_address_inbound_claims.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/oidc_address_inbound_claims.go new file mode 100644 index 0000000000..23ff4d7011 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/oidc_address_inbound_claims.go @@ -0,0 +1,301 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type OidcAddressInboundClaims struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewOidcAddressInboundClaims instantiates a new OidcAddressInboundClaims and sets the default values. +func NewOidcAddressInboundClaims()(*OidcAddressInboundClaims) { + m := &OidcAddressInboundClaims{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateOidcAddressInboundClaimsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateOidcAddressInboundClaimsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewOidcAddressInboundClaims(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *OidcAddressInboundClaims) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *OidcAddressInboundClaims) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetCountry gets the country property value. The country property +// returns a *string when successful +func (m *OidcAddressInboundClaims) GetCountry()(*string) { + val, err := m.GetBackingStore().Get("country") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *OidcAddressInboundClaims) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["country"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCountry(val) + } + return nil + } + res["locality"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetLocality(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["postal_code"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPostalCode(val) + } + return nil + } + res["region"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetRegion(val) + } + return nil + } + res["street_address"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetStreetAddress(val) + } + return nil + } + return res +} +// GetLocality gets the locality property value. The locality property +// returns a *string when successful +func (m *OidcAddressInboundClaims) GetLocality()(*string) { + val, err := m.GetBackingStore().Get("locality") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *OidcAddressInboundClaims) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPostalCode gets the postal_code property value. The postal_code property +// returns a *string when successful +func (m *OidcAddressInboundClaims) GetPostalCode()(*string) { + val, err := m.GetBackingStore().Get("postal_code") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetRegion gets the region property value. The region property +// returns a *string when successful +func (m *OidcAddressInboundClaims) GetRegion()(*string) { + val, err := m.GetBackingStore().Get("region") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetStreetAddress gets the street_address property value. The street_address property +// returns a *string when successful +func (m *OidcAddressInboundClaims) GetStreetAddress()(*string) { + val, err := m.GetBackingStore().Get("street_address") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *OidcAddressInboundClaims) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("country", m.GetCountry()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("locality", m.GetLocality()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("postal_code", m.GetPostalCode()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("region", m.GetRegion()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("street_address", m.GetStreetAddress()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *OidcAddressInboundClaims) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *OidcAddressInboundClaims) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetCountry sets the country property value. The country property +func (m *OidcAddressInboundClaims) SetCountry(value *string)() { + err := m.GetBackingStore().Set("country", value) + if err != nil { + panic(err) + } +} +// SetLocality sets the locality property value. The locality property +func (m *OidcAddressInboundClaims) SetLocality(value *string)() { + err := m.GetBackingStore().Set("locality", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *OidcAddressInboundClaims) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetPostalCode sets the postal_code property value. The postal_code property +func (m *OidcAddressInboundClaims) SetPostalCode(value *string)() { + err := m.GetBackingStore().Set("postal_code", value) + if err != nil { + panic(err) + } +} +// SetRegion sets the region property value. The region property +func (m *OidcAddressInboundClaims) SetRegion(value *string)() { + err := m.GetBackingStore().Set("region", value) + if err != nil { + panic(err) + } +} +// SetStreetAddress sets the street_address property value. The street_address property +func (m *OidcAddressInboundClaims) SetStreetAddress(value *string)() { + err := m.GetBackingStore().Set("street_address", value) + if err != nil { + panic(err) + } +} +type OidcAddressInboundClaimsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetCountry()(*string) + GetLocality()(*string) + GetOdataType()(*string) + GetPostalCode()(*string) + GetRegion()(*string) + GetStreetAddress()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetCountry(value *string)() + SetLocality(value *string)() + SetOdataType(value *string)() + SetPostalCode(value *string)() + SetRegion(value *string)() + SetStreetAddress(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/oidc_client_authentication.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/oidc_client_authentication.go new file mode 100644 index 0000000000..b22b39d06f --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/oidc_client_authentication.go @@ -0,0 +1,136 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type OidcClientAuthentication struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewOidcClientAuthentication instantiates a new OidcClientAuthentication and sets the default values. +func NewOidcClientAuthentication()(*OidcClientAuthentication) { + m := &OidcClientAuthentication{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateOidcClientAuthenticationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateOidcClientAuthenticationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.oidcClientSecretAuthentication": + return NewOidcClientSecretAuthentication(), nil + case "#microsoft.graph.oidcPrivateJwtKeyClientAuthentication": + return NewOidcPrivateJwtKeyClientAuthentication(), nil + } + } + } + } + return NewOidcClientAuthentication(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *OidcClientAuthentication) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *OidcClientAuthentication) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *OidcClientAuthentication) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *OidcClientAuthentication) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *OidcClientAuthentication) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *OidcClientAuthentication) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *OidcClientAuthentication) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *OidcClientAuthentication) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type OidcClientAuthenticationable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/oidc_client_secret_authentication.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/oidc_client_secret_authentication.go new file mode 100644 index 0000000000..5b58040a58 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/oidc_client_secret_authentication.go @@ -0,0 +1,81 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type OidcClientSecretAuthentication struct { + OidcClientAuthentication +} +// NewOidcClientSecretAuthentication instantiates a new OidcClientSecretAuthentication and sets the default values. +func NewOidcClientSecretAuthentication()(*OidcClientSecretAuthentication) { + m := &OidcClientSecretAuthentication{ + OidcClientAuthentication: *NewOidcClientAuthentication(), + } + odataTypeValue := "#microsoft.graph.oidcClientSecretAuthentication" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateOidcClientSecretAuthenticationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateOidcClientSecretAuthenticationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewOidcClientSecretAuthentication(), nil +} +// GetClientSecret gets the clientSecret property value. The clientSecret property +// returns a *string when successful +func (m *OidcClientSecretAuthentication) GetClientSecret()(*string) { + val, err := m.GetBackingStore().Get("clientSecret") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *OidcClientSecretAuthentication) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.OidcClientAuthentication.GetFieldDeserializers() + res["clientSecret"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetClientSecret(val) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *OidcClientSecretAuthentication) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.OidcClientAuthentication.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("clientSecret", m.GetClientSecret()) + if err != nil { + return err + } + } + return nil +} +// SetClientSecret sets the clientSecret property value. The clientSecret property +func (m *OidcClientSecretAuthentication) SetClientSecret(value *string)() { + err := m.GetBackingStore().Set("clientSecret", value) + if err != nil { + panic(err) + } +} +type OidcClientSecretAuthenticationable interface { + OidcClientAuthenticationable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetClientSecret()(*string) + SetClientSecret(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/oidc_identity_provider.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/oidc_identity_provider.go new file mode 100644 index 0000000000..8df4c8ffea --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/oidc_identity_provider.go @@ -0,0 +1,304 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type OidcIdentityProvider struct { + IdentityProviderBase +} +// NewOidcIdentityProvider instantiates a new OidcIdentityProvider and sets the default values. +func NewOidcIdentityProvider()(*OidcIdentityProvider) { + m := &OidcIdentityProvider{ + IdentityProviderBase: *NewIdentityProviderBase(), + } + odataTypeValue := "#microsoft.graph.oidcIdentityProvider" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateOidcIdentityProviderFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateOidcIdentityProviderFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewOidcIdentityProvider(), nil +} +// GetClientAuthentication gets the clientAuthentication property value. The clientAuthentication property +// returns a OidcClientAuthenticationable when successful +func (m *OidcIdentityProvider) GetClientAuthentication()(OidcClientAuthenticationable) { + val, err := m.GetBackingStore().Get("clientAuthentication") + if err != nil { + panic(err) + } + if val != nil { + return val.(OidcClientAuthenticationable) + } + return nil +} +// GetClientId gets the clientId property value. The clientId property +// returns a *string when successful +func (m *OidcIdentityProvider) GetClientId()(*string) { + val, err := m.GetBackingStore().Get("clientId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *OidcIdentityProvider) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.IdentityProviderBase.GetFieldDeserializers() + res["clientAuthentication"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateOidcClientAuthenticationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetClientAuthentication(val.(OidcClientAuthenticationable)) + } + return nil + } + res["clientId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetClientId(val) + } + return nil + } + res["inboundClaimMapping"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateOidcInboundClaimMappingOverrideFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetInboundClaimMapping(val.(OidcInboundClaimMappingOverrideable)) + } + return nil + } + res["issuer"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetIssuer(val) + } + return nil + } + res["responseType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseOidcResponseType) + if err != nil { + return err + } + if val != nil { + m.SetResponseType(val.(*OidcResponseType)) + } + return nil + } + res["scope"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetScope(val) + } + return nil + } + res["wellKnownEndpoint"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetWellKnownEndpoint(val) + } + return nil + } + return res +} +// GetInboundClaimMapping gets the inboundClaimMapping property value. The inboundClaimMapping property +// returns a OidcInboundClaimMappingOverrideable when successful +func (m *OidcIdentityProvider) GetInboundClaimMapping()(OidcInboundClaimMappingOverrideable) { + val, err := m.GetBackingStore().Get("inboundClaimMapping") + if err != nil { + panic(err) + } + if val != nil { + return val.(OidcInboundClaimMappingOverrideable) + } + return nil +} +// GetIssuer gets the issuer property value. The issuer property +// returns a *string when successful +func (m *OidcIdentityProvider) GetIssuer()(*string) { + val, err := m.GetBackingStore().Get("issuer") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetResponseType gets the responseType property value. The responseType property +// returns a *OidcResponseType when successful +func (m *OidcIdentityProvider) GetResponseType()(*OidcResponseType) { + val, err := m.GetBackingStore().Get("responseType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*OidcResponseType) + } + return nil +} +// GetScope gets the scope property value. The scope property +// returns a *string when successful +func (m *OidcIdentityProvider) GetScope()(*string) { + val, err := m.GetBackingStore().Get("scope") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetWellKnownEndpoint gets the wellKnownEndpoint property value. The wellKnownEndpoint property +// returns a *string when successful +func (m *OidcIdentityProvider) GetWellKnownEndpoint()(*string) { + val, err := m.GetBackingStore().Get("wellKnownEndpoint") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *OidcIdentityProvider) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.IdentityProviderBase.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("clientAuthentication", m.GetClientAuthentication()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("clientId", m.GetClientId()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("inboundClaimMapping", m.GetInboundClaimMapping()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("issuer", m.GetIssuer()) + if err != nil { + return err + } + } + if m.GetResponseType() != nil { + cast := (*m.GetResponseType()).String() + err = writer.WriteStringValue("responseType", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("scope", m.GetScope()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("wellKnownEndpoint", m.GetWellKnownEndpoint()) + if err != nil { + return err + } + } + return nil +} +// SetClientAuthentication sets the clientAuthentication property value. The clientAuthentication property +func (m *OidcIdentityProvider) SetClientAuthentication(value OidcClientAuthenticationable)() { + err := m.GetBackingStore().Set("clientAuthentication", value) + if err != nil { + panic(err) + } +} +// SetClientId sets the clientId property value. The clientId property +func (m *OidcIdentityProvider) SetClientId(value *string)() { + err := m.GetBackingStore().Set("clientId", value) + if err != nil { + panic(err) + } +} +// SetInboundClaimMapping sets the inboundClaimMapping property value. The inboundClaimMapping property +func (m *OidcIdentityProvider) SetInboundClaimMapping(value OidcInboundClaimMappingOverrideable)() { + err := m.GetBackingStore().Set("inboundClaimMapping", value) + if err != nil { + panic(err) + } +} +// SetIssuer sets the issuer property value. The issuer property +func (m *OidcIdentityProvider) SetIssuer(value *string)() { + err := m.GetBackingStore().Set("issuer", value) + if err != nil { + panic(err) + } +} +// SetResponseType sets the responseType property value. The responseType property +func (m *OidcIdentityProvider) SetResponseType(value *OidcResponseType)() { + err := m.GetBackingStore().Set("responseType", value) + if err != nil { + panic(err) + } +} +// SetScope sets the scope property value. The scope property +func (m *OidcIdentityProvider) SetScope(value *string)() { + err := m.GetBackingStore().Set("scope", value) + if err != nil { + panic(err) + } +} +// SetWellKnownEndpoint sets the wellKnownEndpoint property value. The wellKnownEndpoint property +func (m *OidcIdentityProvider) SetWellKnownEndpoint(value *string)() { + err := m.GetBackingStore().Set("wellKnownEndpoint", value) + if err != nil { + panic(err) + } +} +type OidcIdentityProviderable interface { + IdentityProviderBaseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetClientAuthentication()(OidcClientAuthenticationable) + GetClientId()(*string) + GetInboundClaimMapping()(OidcInboundClaimMappingOverrideable) + GetIssuer()(*string) + GetResponseType()(*OidcResponseType) + GetScope()(*string) + GetWellKnownEndpoint()(*string) + SetClientAuthentication(value OidcClientAuthenticationable)() + SetClientId(value *string)() + SetInboundClaimMapping(value OidcInboundClaimMappingOverrideable)() + SetIssuer(value *string)() + SetResponseType(value *OidcResponseType)() + SetScope(value *string)() + SetWellKnownEndpoint(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/oidc_inbound_claim_mapping_override.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/oidc_inbound_claim_mapping_override.go new file mode 100644 index 0000000000..c4faae42f0 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/oidc_inbound_claim_mapping_override.go @@ -0,0 +1,449 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type OidcInboundClaimMappingOverride struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewOidcInboundClaimMappingOverride instantiates a new OidcInboundClaimMappingOverride and sets the default values. +func NewOidcInboundClaimMappingOverride()(*OidcInboundClaimMappingOverride) { + m := &OidcInboundClaimMappingOverride{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateOidcInboundClaimMappingOverrideFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateOidcInboundClaimMappingOverrideFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewOidcInboundClaimMappingOverride(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *OidcInboundClaimMappingOverride) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetAddress gets the address property value. The address property +// returns a OidcAddressInboundClaimsable when successful +func (m *OidcInboundClaimMappingOverride) GetAddress()(OidcAddressInboundClaimsable) { + val, err := m.GetBackingStore().Get("address") + if err != nil { + panic(err) + } + if val != nil { + return val.(OidcAddressInboundClaimsable) + } + return nil +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *OidcInboundClaimMappingOverride) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetEmail gets the email property value. The email property +// returns a *string when successful +func (m *OidcInboundClaimMappingOverride) GetEmail()(*string) { + val, err := m.GetBackingStore().Get("email") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetEmailVerified gets the email_verified property value. The email_verified property +// returns a *string when successful +func (m *OidcInboundClaimMappingOverride) GetEmailVerified()(*string) { + val, err := m.GetBackingStore().Get("email_verified") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFamilyName gets the family_name property value. The family_name property +// returns a *string when successful +func (m *OidcInboundClaimMappingOverride) GetFamilyName()(*string) { + val, err := m.GetBackingStore().Get("family_name") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *OidcInboundClaimMappingOverride) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["address"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateOidcAddressInboundClaimsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetAddress(val.(OidcAddressInboundClaimsable)) + } + return nil + } + res["email"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetEmail(val) + } + return nil + } + res["email_verified"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetEmailVerified(val) + } + return nil + } + res["family_name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetFamilyName(val) + } + return nil + } + res["given_name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetGivenName(val) + } + return nil + } + res["name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetName(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["phone_number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPhoneNumber(val) + } + return nil + } + res["phone_number_verified"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPhoneNumberVerified(val) + } + return nil + } + res["sub"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSub(val) + } + return nil + } + return res +} +// GetGivenName gets the given_name property value. The given_name property +// returns a *string when successful +func (m *OidcInboundClaimMappingOverride) GetGivenName()(*string) { + val, err := m.GetBackingStore().Get("given_name") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetName gets the name property value. The name property +// returns a *string when successful +func (m *OidcInboundClaimMappingOverride) GetName()(*string) { + val, err := m.GetBackingStore().Get("name") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *OidcInboundClaimMappingOverride) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPhoneNumber gets the phone_number property value. The phone_number property +// returns a *string when successful +func (m *OidcInboundClaimMappingOverride) GetPhoneNumber()(*string) { + val, err := m.GetBackingStore().Get("phone_number") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPhoneNumberVerified gets the phone_number_verified property value. The phone_number_verified property +// returns a *string when successful +func (m *OidcInboundClaimMappingOverride) GetPhoneNumberVerified()(*string) { + val, err := m.GetBackingStore().Get("phone_number_verified") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSub gets the sub property value. The sub property +// returns a *string when successful +func (m *OidcInboundClaimMappingOverride) GetSub()(*string) { + val, err := m.GetBackingStore().Get("sub") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *OidcInboundClaimMappingOverride) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("address", m.GetAddress()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("email", m.GetEmail()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("email_verified", m.GetEmailVerified()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("family_name", m.GetFamilyName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("given_name", m.GetGivenName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("name", m.GetName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("phone_number", m.GetPhoneNumber()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("phone_number_verified", m.GetPhoneNumberVerified()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("sub", m.GetSub()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *OidcInboundClaimMappingOverride) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAddress sets the address property value. The address property +func (m *OidcInboundClaimMappingOverride) SetAddress(value OidcAddressInboundClaimsable)() { + err := m.GetBackingStore().Set("address", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *OidcInboundClaimMappingOverride) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetEmail sets the email property value. The email property +func (m *OidcInboundClaimMappingOverride) SetEmail(value *string)() { + err := m.GetBackingStore().Set("email", value) + if err != nil { + panic(err) + } +} +// SetEmailVerified sets the email_verified property value. The email_verified property +func (m *OidcInboundClaimMappingOverride) SetEmailVerified(value *string)() { + err := m.GetBackingStore().Set("email_verified", value) + if err != nil { + panic(err) + } +} +// SetFamilyName sets the family_name property value. The family_name property +func (m *OidcInboundClaimMappingOverride) SetFamilyName(value *string)() { + err := m.GetBackingStore().Set("family_name", value) + if err != nil { + panic(err) + } +} +// SetGivenName sets the given_name property value. The given_name property +func (m *OidcInboundClaimMappingOverride) SetGivenName(value *string)() { + err := m.GetBackingStore().Set("given_name", value) + if err != nil { + panic(err) + } +} +// SetName sets the name property value. The name property +func (m *OidcInboundClaimMappingOverride) SetName(value *string)() { + err := m.GetBackingStore().Set("name", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *OidcInboundClaimMappingOverride) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetPhoneNumber sets the phone_number property value. The phone_number property +func (m *OidcInboundClaimMappingOverride) SetPhoneNumber(value *string)() { + err := m.GetBackingStore().Set("phone_number", value) + if err != nil { + panic(err) + } +} +// SetPhoneNumberVerified sets the phone_number_verified property value. The phone_number_verified property +func (m *OidcInboundClaimMappingOverride) SetPhoneNumberVerified(value *string)() { + err := m.GetBackingStore().Set("phone_number_verified", value) + if err != nil { + panic(err) + } +} +// SetSub sets the sub property value. The sub property +func (m *OidcInboundClaimMappingOverride) SetSub(value *string)() { + err := m.GetBackingStore().Set("sub", value) + if err != nil { + panic(err) + } +} +type OidcInboundClaimMappingOverrideable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAddress()(OidcAddressInboundClaimsable) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetEmail()(*string) + GetEmailVerified()(*string) + GetFamilyName()(*string) + GetGivenName()(*string) + GetName()(*string) + GetOdataType()(*string) + GetPhoneNumber()(*string) + GetPhoneNumberVerified()(*string) + GetSub()(*string) + SetAddress(value OidcAddressInboundClaimsable)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetEmail(value *string)() + SetEmailVerified(value *string)() + SetFamilyName(value *string)() + SetGivenName(value *string)() + SetName(value *string)() + SetOdataType(value *string)() + SetPhoneNumber(value *string)() + SetPhoneNumberVerified(value *string)() + SetSub(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/oidc_private_jwt_key_client_authentication.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/oidc_private_jwt_key_client_authentication.go new file mode 100644 index 0000000000..c36feae452 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/oidc_private_jwt_key_client_authentication.go @@ -0,0 +1,44 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type OidcPrivateJwtKeyClientAuthentication struct { + OidcClientAuthentication +} +// NewOidcPrivateJwtKeyClientAuthentication instantiates a new OidcPrivateJwtKeyClientAuthentication and sets the default values. +func NewOidcPrivateJwtKeyClientAuthentication()(*OidcPrivateJwtKeyClientAuthentication) { + m := &OidcPrivateJwtKeyClientAuthentication{ + OidcClientAuthentication: *NewOidcClientAuthentication(), + } + odataTypeValue := "#microsoft.graph.oidcPrivateJwtKeyClientAuthentication" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateOidcPrivateJwtKeyClientAuthenticationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateOidcPrivateJwtKeyClientAuthenticationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewOidcPrivateJwtKeyClientAuthentication(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *OidcPrivateJwtKeyClientAuthentication) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.OidcClientAuthentication.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *OidcPrivateJwtKeyClientAuthentication) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.OidcClientAuthentication.Serialize(writer) + if err != nil { + return err + } + return nil +} +type OidcPrivateJwtKeyClientAuthenticationable interface { + OidcClientAuthenticationable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/oidc_response_type.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/oidc_response_type.go new file mode 100644 index 0000000000..7de317ec98 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/oidc_response_type.go @@ -0,0 +1,57 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +import ( + "math" + "strings" +) +type OidcResponseType int + +const ( + CODE_OIDCRESPONSETYPE = 1 + ID_TOKEN_OIDCRESPONSETYPE = 2 + TOKEN_OIDCRESPONSETYPE = 4 + UNKNOWNFUTUREVALUE_OIDCRESPONSETYPE = 8 +) + +func (i OidcResponseType) String() string { + var values []string + options := []string{"code", "id_token", "token", "unknownFutureValue"} + for p := 0; p < 4; p++ { + mantis := OidcResponseType(int(math.Pow(2, float64(p)))) + if i&mantis == mantis { + values = append(values, options[p]) + } + } + return strings.Join(values, ",") +} +func ParseOidcResponseType(v string) (any, error) { + var result OidcResponseType + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "code": + result |= CODE_OIDCRESPONSETYPE + case "id_token": + result |= ID_TOKEN_OIDCRESPONSETYPE + case "token": + result |= TOKEN_OIDCRESPONSETYPE + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_OIDCRESPONSETYPE + default: + return nil, nil + } + } + return &result, nil +} +func SerializeOidcResponseType(values []OidcResponseType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i OidcResponseType) isMultiValue() bool { + return true +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/on_fraud_protection_load_start_external_users_auth_handler.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/on_fraud_protection_load_start_external_users_auth_handler.go new file mode 100644 index 0000000000..4e9f845b57 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/on_fraud_protection_load_start_external_users_auth_handler.go @@ -0,0 +1,81 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type OnFraudProtectionLoadStartExternalUsersAuthHandler struct { + OnFraudProtectionLoadStartHandler +} +// NewOnFraudProtectionLoadStartExternalUsersAuthHandler instantiates a new OnFraudProtectionLoadStartExternalUsersAuthHandler and sets the default values. +func NewOnFraudProtectionLoadStartExternalUsersAuthHandler()(*OnFraudProtectionLoadStartExternalUsersAuthHandler) { + m := &OnFraudProtectionLoadStartExternalUsersAuthHandler{ + OnFraudProtectionLoadStartHandler: *NewOnFraudProtectionLoadStartHandler(), + } + odataTypeValue := "#microsoft.graph.onFraudProtectionLoadStartExternalUsersAuthHandler" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateOnFraudProtectionLoadStartExternalUsersAuthHandlerFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateOnFraudProtectionLoadStartExternalUsersAuthHandlerFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewOnFraudProtectionLoadStartExternalUsersAuthHandler(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *OnFraudProtectionLoadStartExternalUsersAuthHandler) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.OnFraudProtectionLoadStartHandler.GetFieldDeserializers() + res["signUp"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateFraudProtectionConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetSignUp(val.(FraudProtectionConfigurationable)) + } + return nil + } + return res +} +// GetSignUp gets the signUp property value. Specifies the fraud protection configuration for sign-up events. +// returns a FraudProtectionConfigurationable when successful +func (m *OnFraudProtectionLoadStartExternalUsersAuthHandler) GetSignUp()(FraudProtectionConfigurationable) { + val, err := m.GetBackingStore().Get("signUp") + if err != nil { + panic(err) + } + if val != nil { + return val.(FraudProtectionConfigurationable) + } + return nil +} +// Serialize serializes information the current object +func (m *OnFraudProtectionLoadStartExternalUsersAuthHandler) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.OnFraudProtectionLoadStartHandler.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("signUp", m.GetSignUp()) + if err != nil { + return err + } + } + return nil +} +// SetSignUp sets the signUp property value. Specifies the fraud protection configuration for sign-up events. +func (m *OnFraudProtectionLoadStartExternalUsersAuthHandler) SetSignUp(value FraudProtectionConfigurationable)() { + err := m.GetBackingStore().Set("signUp", value) + if err != nil { + panic(err) + } +} +type OnFraudProtectionLoadStartExternalUsersAuthHandlerable interface { + OnFraudProtectionLoadStartHandlerable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetSignUp()(FraudProtectionConfigurationable) + SetSignUp(value FraudProtectionConfigurationable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/on_fraud_protection_load_start_handler.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/on_fraud_protection_load_start_handler.go new file mode 100644 index 0000000000..681a9e232d --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/on_fraud_protection_load_start_handler.go @@ -0,0 +1,134 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type OnFraudProtectionLoadStartHandler struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewOnFraudProtectionLoadStartHandler instantiates a new OnFraudProtectionLoadStartHandler and sets the default values. +func NewOnFraudProtectionLoadStartHandler()(*OnFraudProtectionLoadStartHandler) { + m := &OnFraudProtectionLoadStartHandler{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateOnFraudProtectionLoadStartHandlerFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateOnFraudProtectionLoadStartHandlerFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.onFraudProtectionLoadStartExternalUsersAuthHandler": + return NewOnFraudProtectionLoadStartExternalUsersAuthHandler(), nil + } + } + } + } + return NewOnFraudProtectionLoadStartHandler(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *OnFraudProtectionLoadStartHandler) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *OnFraudProtectionLoadStartHandler) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *OnFraudProtectionLoadStartHandler) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *OnFraudProtectionLoadStartHandler) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *OnFraudProtectionLoadStartHandler) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *OnFraudProtectionLoadStartHandler) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *OnFraudProtectionLoadStartHandler) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *OnFraudProtectionLoadStartHandler) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type OnFraudProtectionLoadStartHandlerable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/on_fraud_protection_load_start_listener.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/on_fraud_protection_load_start_listener.go new file mode 100644 index 0000000000..e99c08de81 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/on_fraud_protection_load_start_listener.go @@ -0,0 +1,81 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type OnFraudProtectionLoadStartListener struct { + AuthenticationEventListener +} +// NewOnFraudProtectionLoadStartListener instantiates a new OnFraudProtectionLoadStartListener and sets the default values. +func NewOnFraudProtectionLoadStartListener()(*OnFraudProtectionLoadStartListener) { + m := &OnFraudProtectionLoadStartListener{ + AuthenticationEventListener: *NewAuthenticationEventListener(), + } + odataTypeValue := "#microsoft.graph.onFraudProtectionLoadStartListener" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateOnFraudProtectionLoadStartListenerFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateOnFraudProtectionLoadStartListenerFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewOnFraudProtectionLoadStartListener(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *OnFraudProtectionLoadStartListener) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.AuthenticationEventListener.GetFieldDeserializers() + res["handler"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateOnFraudProtectionLoadStartHandlerFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetHandler(val.(OnFraudProtectionLoadStartHandlerable)) + } + return nil + } + return res +} +// GetHandler gets the handler property value. Configuration for what to invoke if the event resolves to this listener. +// returns a OnFraudProtectionLoadStartHandlerable when successful +func (m *OnFraudProtectionLoadStartListener) GetHandler()(OnFraudProtectionLoadStartHandlerable) { + val, err := m.GetBackingStore().Get("handler") + if err != nil { + panic(err) + } + if val != nil { + return val.(OnFraudProtectionLoadStartHandlerable) + } + return nil +} +// Serialize serializes information the current object +func (m *OnFraudProtectionLoadStartListener) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.AuthenticationEventListener.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("handler", m.GetHandler()) + if err != nil { + return err + } + } + return nil +} +// SetHandler sets the handler property value. Configuration for what to invoke if the event resolves to this listener. +func (m *OnFraudProtectionLoadStartListener) SetHandler(value OnFraudProtectionLoadStartHandlerable)() { + err := m.GetBackingStore().Set("handler", value) + if err != nil { + panic(err) + } +} +type OnFraudProtectionLoadStartListenerable interface { + AuthenticationEventListenerable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetHandler()(OnFraudProtectionLoadStartHandlerable) + SetHandler(value OnFraudProtectionLoadStartHandlerable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/on_premises_sync_behavior.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/on_premises_sync_behavior.go new file mode 100644 index 0000000000..86a4403778 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/on_premises_sync_behavior.go @@ -0,0 +1,79 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type OnPremisesSyncBehavior struct { + Entity +} +// NewOnPremisesSyncBehavior instantiates a new OnPremisesSyncBehavior and sets the default values. +func NewOnPremisesSyncBehavior()(*OnPremisesSyncBehavior) { + m := &OnPremisesSyncBehavior{ + Entity: *NewEntity(), + } + return m +} +// CreateOnPremisesSyncBehaviorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateOnPremisesSyncBehaviorFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewOnPremisesSyncBehavior(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *OnPremisesSyncBehavior) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["isCloudManaged"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsCloudManaged(val) + } + return nil + } + return res +} +// GetIsCloudManaged gets the isCloudManaged property value. The isCloudManaged property +// returns a *bool when successful +func (m *OnPremisesSyncBehavior) GetIsCloudManaged()(*bool) { + val, err := m.GetBackingStore().Get("isCloudManaged") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// Serialize serializes information the current object +func (m *OnPremisesSyncBehavior) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteBoolValue("isCloudManaged", m.GetIsCloudManaged()) + if err != nil { + return err + } + } + return nil +} +// SetIsCloudManaged sets the isCloudManaged property value. The isCloudManaged property +func (m *OnPremisesSyncBehavior) SetIsCloudManaged(value *bool)() { + err := m.GetBackingStore().Set("isCloudManaged", value) + if err != nil { + panic(err) + } +} +type OnPremisesSyncBehaviorable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetIsCloudManaged()(*bool) + SetIsCloudManaged(value *bool)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/online_meeting.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/online_meeting.go index 065a6b7f1a..506c4f8bcc 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/online_meeting.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/online_meeting.go @@ -8,6 +8,7 @@ import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" ) +// OnlineMeeting represents a Microsoft online meeting. type OnlineMeeting struct { OnlineMeetingBase } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/online_meeting_base.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/online_meeting_base.go index b7da1d04a8..12d93dd8eb 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/online_meeting_base.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/online_meeting_base.go @@ -4,6 +4,7 @@ package models import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" ) @@ -90,7 +91,7 @@ func (m *OnlineMeetingBase) GetAllowCopyingAndSharingMeetingContent()(*bool) { } return nil } -// GetAllowedLobbyAdmitters gets the allowedLobbyAdmitters property value. Specifies the users who can admit from the lobby. Possible values are: organizerAndCoOrganizersAndPresenters, organizerAndCoOrganizers, unknownFutureValue. +// GetAllowedLobbyAdmitters gets the allowedLobbyAdmitters property value. Specifies the users who can admit from the lobby. The possible values are: organizerAndCoOrganizersAndPresenters, organizerAndCoOrganizers, unknownFutureValue. // returns a *AllowedLobbyAdmitterRoles when successful func (m *OnlineMeetingBase) GetAllowedLobbyAdmitters()(*AllowedLobbyAdmitterRoles) { val, err := m.GetBackingStore().Get("allowedLobbyAdmitters") @@ -102,7 +103,7 @@ func (m *OnlineMeetingBase) GetAllowedLobbyAdmitters()(*AllowedLobbyAdmitterRole } return nil } -// GetAllowedPresenters gets the allowedPresenters property value. Specifies who can be a presenter in a meeting. Possible values are: everyone, organization, roleIsPresenter, organizer, unknownFutureValue. Inherited from onlineMeetingBase. +// GetAllowedPresenters gets the allowedPresenters property value. Specifies who can be a presenter in a meeting. The possible values are: everyone, organization, roleIsPresenter, organizer, unknownFutureValue. Inherited from onlineMeetingBase. // returns a *OnlineMeetingPresenters when successful func (m *OnlineMeetingBase) GetAllowedPresenters()(*OnlineMeetingPresenters) { val, err := m.GetBackingStore().Get("allowedPresenters") @@ -114,7 +115,7 @@ func (m *OnlineMeetingBase) GetAllowedPresenters()(*OnlineMeetingPresenters) { } return nil } -// GetAllowLiveShare gets the allowLiveShare property value. Indicates whether live share is enabled for the meeting. Possible values are: enabled, disabled, unknownFutureValue. +// GetAllowLiveShare gets the allowLiveShare property value. Indicates whether live share is enabled for the meeting. The possible values are: enabled, disabled, unknownFutureValue. // returns a *MeetingLiveShareOptions when successful func (m *OnlineMeetingBase) GetAllowLiveShare()(*MeetingLiveShareOptions) { val, err := m.GetBackingStore().Get("allowLiveShare") @@ -258,6 +259,18 @@ func (m *OnlineMeetingBase) GetChatRestrictions()(ChatRestrictionsable) { } return nil } +// GetExpiryDateTime gets the expiryDateTime property value. Indicates the date and time when the meeting resource expires. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +// returns a *Time when successful +func (m *OnlineMeetingBase) GetExpiryDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("expiryDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *OnlineMeetingBase) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { @@ -448,6 +461,16 @@ func (m *OnlineMeetingBase) GetFieldDeserializers()(map[string]func(i878a80d2330 } return nil } + res["expiryDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetExpiryDateTime(val) + } + return nil + } res["isEndToEndEncryptionEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetBoolValue() if err != nil { @@ -508,6 +531,26 @@ func (m *OnlineMeetingBase) GetFieldDeserializers()(map[string]func(i878a80d2330 } return nil } + res["meetingOptionsWebUrl"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetMeetingOptionsWebUrl(val) + } + return nil + } + res["meetingSpokenLanguageTag"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetMeetingSpokenLanguageTag(val) + } + return nil + } res["recordAutomatically"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetBoolValue() if err != nil { @@ -518,6 +561,16 @@ func (m *OnlineMeetingBase) GetFieldDeserializers()(map[string]func(i878a80d2330 } return nil } + res["sensitivityLabelAssignment"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateOnlineMeetingSensitivityLabelAssignmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetSensitivityLabelAssignment(val.(OnlineMeetingSensitivityLabelAssignmentable)) + } + return nil + } res["shareMeetingChatHistoryDefault"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetEnumValue(ParseMeetingChatHistoryDefaultMode) if err != nil { @@ -632,6 +685,30 @@ func (m *OnlineMeetingBase) GetLobbyBypassSettings()(LobbyBypassSettingsable) { } return nil } +// GetMeetingOptionsWebUrl gets the meetingOptionsWebUrl property value. Provides the URL to the Teams meeting options page for the specified meeting. This link allows only the organizer to configure meeting settings. +// returns a *string when successful +func (m *OnlineMeetingBase) GetMeetingOptionsWebUrl()(*string) { + val, err := m.GetBackingStore().Get("meetingOptionsWebUrl") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetMeetingSpokenLanguageTag gets the meetingSpokenLanguageTag property value. Specifies the spoken language used during the meeting for recording and transcription purposes. +// returns a *string when successful +func (m *OnlineMeetingBase) GetMeetingSpokenLanguageTag()(*string) { + val, err := m.GetBackingStore().Get("meetingSpokenLanguageTag") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetRecordAutomatically gets the recordAutomatically property value. Indicates whether to record the meeting automatically. // returns a *bool when successful func (m *OnlineMeetingBase) GetRecordAutomatically()(*bool) { @@ -644,7 +721,19 @@ func (m *OnlineMeetingBase) GetRecordAutomatically()(*bool) { } return nil } -// GetShareMeetingChatHistoryDefault gets the shareMeetingChatHistoryDefault property value. Specifies whether meeting chat history is shared with participants. Possible values are: all, none, unknownFutureValue. +// GetSensitivityLabelAssignment gets the sensitivityLabelAssignment property value. Specifies the sensitivity label applied to the Teams meeting. +// returns a OnlineMeetingSensitivityLabelAssignmentable when successful +func (m *OnlineMeetingBase) GetSensitivityLabelAssignment()(OnlineMeetingSensitivityLabelAssignmentable) { + val, err := m.GetBackingStore().Get("sensitivityLabelAssignment") + if err != nil { + panic(err) + } + if val != nil { + return val.(OnlineMeetingSensitivityLabelAssignmentable) + } + return nil +} +// GetShareMeetingChatHistoryDefault gets the shareMeetingChatHistoryDefault property value. Specifies whether meeting chat history is shared with participants. The possible values are: all, none, unknownFutureValue. // returns a *MeetingChatHistoryDefaultMode when successful func (m *OnlineMeetingBase) GetShareMeetingChatHistoryDefault()(*MeetingChatHistoryDefaultMode) { val, err := m.GetBackingStore().Get("shareMeetingChatHistoryDefault") @@ -816,6 +905,12 @@ func (m *OnlineMeetingBase) Serialize(writer i878a80d2330e89d26896388a3f487eef27 return err } } + { + err = writer.WriteTimeValue("expiryDateTime", m.GetExpiryDateTime()) + if err != nil { + return err + } + } { err = writer.WriteBoolValue("isEndToEndEncryptionEnabled", m.GetIsEndToEndEncryptionEnabled()) if err != nil { @@ -852,12 +947,30 @@ func (m *OnlineMeetingBase) Serialize(writer i878a80d2330e89d26896388a3f487eef27 return err } } + { + err = writer.WriteStringValue("meetingOptionsWebUrl", m.GetMeetingOptionsWebUrl()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("meetingSpokenLanguageTag", m.GetMeetingSpokenLanguageTag()) + if err != nil { + return err + } + } { err = writer.WriteBoolValue("recordAutomatically", m.GetRecordAutomatically()) if err != nil { return err } } + { + err = writer.WriteObjectValue("sensitivityLabelAssignment", m.GetSensitivityLabelAssignment()) + if err != nil { + return err + } + } if m.GetShareMeetingChatHistoryDefault() != nil { cast := (*m.GetShareMeetingChatHistoryDefault()).String() err = writer.WriteStringValue("shareMeetingChatHistoryDefault", &cast) @@ -913,21 +1026,21 @@ func (m *OnlineMeetingBase) SetAllowCopyingAndSharingMeetingContent(value *bool) panic(err) } } -// SetAllowedLobbyAdmitters sets the allowedLobbyAdmitters property value. Specifies the users who can admit from the lobby. Possible values are: organizerAndCoOrganizersAndPresenters, organizerAndCoOrganizers, unknownFutureValue. +// SetAllowedLobbyAdmitters sets the allowedLobbyAdmitters property value. Specifies the users who can admit from the lobby. The possible values are: organizerAndCoOrganizersAndPresenters, organizerAndCoOrganizers, unknownFutureValue. func (m *OnlineMeetingBase) SetAllowedLobbyAdmitters(value *AllowedLobbyAdmitterRoles)() { err := m.GetBackingStore().Set("allowedLobbyAdmitters", value) if err != nil { panic(err) } } -// SetAllowedPresenters sets the allowedPresenters property value. Specifies who can be a presenter in a meeting. Possible values are: everyone, organization, roleIsPresenter, organizer, unknownFutureValue. Inherited from onlineMeetingBase. +// SetAllowedPresenters sets the allowedPresenters property value. Specifies who can be a presenter in a meeting. The possible values are: everyone, organization, roleIsPresenter, organizer, unknownFutureValue. Inherited from onlineMeetingBase. func (m *OnlineMeetingBase) SetAllowedPresenters(value *OnlineMeetingPresenters)() { err := m.GetBackingStore().Set("allowedPresenters", value) if err != nil { panic(err) } } -// SetAllowLiveShare sets the allowLiveShare property value. Indicates whether live share is enabled for the meeting. Possible values are: enabled, disabled, unknownFutureValue. +// SetAllowLiveShare sets the allowLiveShare property value. Indicates whether live share is enabled for the meeting. The possible values are: enabled, disabled, unknownFutureValue. func (m *OnlineMeetingBase) SetAllowLiveShare(value *MeetingLiveShareOptions)() { err := m.GetBackingStore().Set("allowLiveShare", value) if err != nil { @@ -1011,6 +1124,13 @@ func (m *OnlineMeetingBase) SetChatRestrictions(value ChatRestrictionsable)() { panic(err) } } +// SetExpiryDateTime sets the expiryDateTime property value. Indicates the date and time when the meeting resource expires. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +func (m *OnlineMeetingBase) SetExpiryDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("expiryDateTime", value) + if err != nil { + panic(err) + } +} // SetIsEndToEndEncryptionEnabled sets the isEndToEndEncryptionEnabled property value. Indicates whether end-to-end encryption (E2EE) is enabled for the online meeting. func (m *OnlineMeetingBase) SetIsEndToEndEncryptionEnabled(value *bool)() { err := m.GetBackingStore().Set("isEndToEndEncryptionEnabled", value) @@ -1053,6 +1173,20 @@ func (m *OnlineMeetingBase) SetLobbyBypassSettings(value LobbyBypassSettingsable panic(err) } } +// SetMeetingOptionsWebUrl sets the meetingOptionsWebUrl property value. Provides the URL to the Teams meeting options page for the specified meeting. This link allows only the organizer to configure meeting settings. +func (m *OnlineMeetingBase) SetMeetingOptionsWebUrl(value *string)() { + err := m.GetBackingStore().Set("meetingOptionsWebUrl", value) + if err != nil { + panic(err) + } +} +// SetMeetingSpokenLanguageTag sets the meetingSpokenLanguageTag property value. Specifies the spoken language used during the meeting for recording and transcription purposes. +func (m *OnlineMeetingBase) SetMeetingSpokenLanguageTag(value *string)() { + err := m.GetBackingStore().Set("meetingSpokenLanguageTag", value) + if err != nil { + panic(err) + } +} // SetRecordAutomatically sets the recordAutomatically property value. Indicates whether to record the meeting automatically. func (m *OnlineMeetingBase) SetRecordAutomatically(value *bool)() { err := m.GetBackingStore().Set("recordAutomatically", value) @@ -1060,7 +1194,14 @@ func (m *OnlineMeetingBase) SetRecordAutomatically(value *bool)() { panic(err) } } -// SetShareMeetingChatHistoryDefault sets the shareMeetingChatHistoryDefault property value. Specifies whether meeting chat history is shared with participants. Possible values are: all, none, unknownFutureValue. +// SetSensitivityLabelAssignment sets the sensitivityLabelAssignment property value. Specifies the sensitivity label applied to the Teams meeting. +func (m *OnlineMeetingBase) SetSensitivityLabelAssignment(value OnlineMeetingSensitivityLabelAssignmentable)() { + err := m.GetBackingStore().Set("sensitivityLabelAssignment", value) + if err != nil { + panic(err) + } +} +// SetShareMeetingChatHistoryDefault sets the shareMeetingChatHistoryDefault property value. Specifies whether meeting chat history is shared with participants. The possible values are: all, none, unknownFutureValue. func (m *OnlineMeetingBase) SetShareMeetingChatHistoryDefault(value *MeetingChatHistoryDefaultMode)() { err := m.GetBackingStore().Set("shareMeetingChatHistoryDefault", value) if err != nil { @@ -1109,13 +1250,17 @@ type OnlineMeetingBaseable interface { GetAudioConferencing()(AudioConferencingable) GetChatInfo()(ChatInfoable) GetChatRestrictions()(ChatRestrictionsable) + GetExpiryDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetIsEndToEndEncryptionEnabled()(*bool) GetIsEntryExitAnnounced()(*bool) GetJoinInformation()(ItemBodyable) GetJoinMeetingIdSettings()(JoinMeetingIdSettingsable) GetJoinWebUrl()(*string) GetLobbyBypassSettings()(LobbyBypassSettingsable) + GetMeetingOptionsWebUrl()(*string) + GetMeetingSpokenLanguageTag()(*string) GetRecordAutomatically()(*bool) + GetSensitivityLabelAssignment()(OnlineMeetingSensitivityLabelAssignmentable) GetShareMeetingChatHistoryDefault()(*MeetingChatHistoryDefaultMode) GetSubject()(*string) GetVideoTeleconferenceId()(*string) @@ -1138,13 +1283,17 @@ type OnlineMeetingBaseable interface { SetAudioConferencing(value AudioConferencingable)() SetChatInfo(value ChatInfoable)() SetChatRestrictions(value ChatRestrictionsable)() + SetExpiryDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetIsEndToEndEncryptionEnabled(value *bool)() SetIsEntryExitAnnounced(value *bool)() SetJoinInformation(value ItemBodyable)() SetJoinMeetingIdSettings(value JoinMeetingIdSettingsable)() SetJoinWebUrl(value *string)() SetLobbyBypassSettings(value LobbyBypassSettingsable)() + SetMeetingOptionsWebUrl(value *string)() + SetMeetingSpokenLanguageTag(value *string)() SetRecordAutomatically(value *bool)() + SetSensitivityLabelAssignment(value OnlineMeetingSensitivityLabelAssignmentable)() SetShareMeetingChatHistoryDefault(value *MeetingChatHistoryDefaultMode)() SetSubject(value *string)() SetVideoTeleconferenceId(value *string)() diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/online_meeting_engagement_conversation.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/online_meeting_engagement_conversation.go new file mode 100644 index 0000000000..38107fe431 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/online_meeting_engagement_conversation.go @@ -0,0 +1,225 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// OnlineMeetingEngagementConversation a conversation for Teams QA online meeting. +type OnlineMeetingEngagementConversation struct { + EngagementConversation +} +// NewOnlineMeetingEngagementConversation instantiates a new OnlineMeetingEngagementConversation and sets the default values. +func NewOnlineMeetingEngagementConversation()(*OnlineMeetingEngagementConversation) { + m := &OnlineMeetingEngagementConversation{ + EngagementConversation: *NewEngagementConversation(), + } + odataTypeValue := "#microsoft.graph.onlineMeetingEngagementConversation" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateOnlineMeetingEngagementConversationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateOnlineMeetingEngagementConversationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewOnlineMeetingEngagementConversation(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *OnlineMeetingEngagementConversation) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.EngagementConversation.GetFieldDeserializers() + res["moderationState"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseEngagementConversationModerationState) + if err != nil { + return err + } + if val != nil { + m.SetModerationState(val.(*EngagementConversationModerationState)) + } + return nil + } + res["onlineMeeting"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateOnlineMeetingFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetOnlineMeeting(val.(OnlineMeetingable)) + } + return nil + } + res["onlineMeetingId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOnlineMeetingId(val) + } + return nil + } + res["organizer"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateEngagementIdentitySetFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetOrganizer(val.(EngagementIdentitySetable)) + } + return nil + } + res["upvoteCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetUpvoteCount(val) + } + return nil + } + return res +} +// GetModerationState gets the moderationState property value. Represents the moderation state of an Engage conversation message. +// returns a *EngagementConversationModerationState when successful +func (m *OnlineMeetingEngagementConversation) GetModerationState()(*EngagementConversationModerationState) { + val, err := m.GetBackingStore().Get("moderationState") + if err != nil { + panic(err) + } + if val != nil { + return val.(*EngagementConversationModerationState) + } + return nil +} +// GetOnlineMeeting gets the onlineMeeting property value. The onlineMeeting property +// returns a OnlineMeetingable when successful +func (m *OnlineMeetingEngagementConversation) GetOnlineMeeting()(OnlineMeetingable) { + val, err := m.GetBackingStore().Get("onlineMeeting") + if err != nil { + panic(err) + } + if val != nil { + return val.(OnlineMeetingable) + } + return nil +} +// GetOnlineMeetingId gets the onlineMeetingId property value. The unique identifier of the online meeting associated with this conversation. The online meeting ID links the conversation to a specific meeting instance. +// returns a *string when successful +func (m *OnlineMeetingEngagementConversation) GetOnlineMeetingId()(*string) { + val, err := m.GetBackingStore().Get("onlineMeetingId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOrganizer gets the organizer property value. The organizer property +// returns a EngagementIdentitySetable when successful +func (m *OnlineMeetingEngagementConversation) GetOrganizer()(EngagementIdentitySetable) { + val, err := m.GetBackingStore().Get("organizer") + if err != nil { + panic(err) + } + if val != nil { + return val.(EngagementIdentitySetable) + } + return nil +} +// GetUpvoteCount gets the upvoteCount property value. The number of upvotes the conversation received. +// returns a *int32 when successful +func (m *OnlineMeetingEngagementConversation) GetUpvoteCount()(*int32) { + val, err := m.GetBackingStore().Get("upvoteCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *OnlineMeetingEngagementConversation) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.EngagementConversation.Serialize(writer) + if err != nil { + return err + } + if m.GetModerationState() != nil { + cast := (*m.GetModerationState()).String() + err = writer.WriteStringValue("moderationState", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("onlineMeeting", m.GetOnlineMeeting()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("onlineMeetingId", m.GetOnlineMeetingId()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("organizer", m.GetOrganizer()) + if err != nil { + return err + } + } + return nil +} +// SetModerationState sets the moderationState property value. Represents the moderation state of an Engage conversation message. +func (m *OnlineMeetingEngagementConversation) SetModerationState(value *EngagementConversationModerationState)() { + err := m.GetBackingStore().Set("moderationState", value) + if err != nil { + panic(err) + } +} +// SetOnlineMeeting sets the onlineMeeting property value. The onlineMeeting property +func (m *OnlineMeetingEngagementConversation) SetOnlineMeeting(value OnlineMeetingable)() { + err := m.GetBackingStore().Set("onlineMeeting", value) + if err != nil { + panic(err) + } +} +// SetOnlineMeetingId sets the onlineMeetingId property value. The unique identifier of the online meeting associated with this conversation. The online meeting ID links the conversation to a specific meeting instance. +func (m *OnlineMeetingEngagementConversation) SetOnlineMeetingId(value *string)() { + err := m.GetBackingStore().Set("onlineMeetingId", value) + if err != nil { + panic(err) + } +} +// SetOrganizer sets the organizer property value. The organizer property +func (m *OnlineMeetingEngagementConversation) SetOrganizer(value EngagementIdentitySetable)() { + err := m.GetBackingStore().Set("organizer", value) + if err != nil { + panic(err) + } +} +// SetUpvoteCount sets the upvoteCount property value. The number of upvotes the conversation received. +func (m *OnlineMeetingEngagementConversation) SetUpvoteCount(value *int32)() { + err := m.GetBackingStore().Set("upvoteCount", value) + if err != nil { + panic(err) + } +} +type OnlineMeetingEngagementConversationable interface { + EngagementConversationable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetModerationState()(*EngagementConversationModerationState) + GetOnlineMeeting()(OnlineMeetingable) + GetOnlineMeetingId()(*string) + GetOrganizer()(EngagementIdentitySetable) + GetUpvoteCount()(*int32) + SetModerationState(value *EngagementConversationModerationState)() + SetOnlineMeeting(value OnlineMeetingable)() + SetOnlineMeetingId(value *string)() + SetOrganizer(value EngagementIdentitySetable)() + SetUpvoteCount(value *int32)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/online_meeting_engagement_conversation_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/online_meeting_engagement_conversation_collection_response.go new file mode 100644 index 0000000000..b4b308fd53 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/online_meeting_engagement_conversation_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type OnlineMeetingEngagementConversationCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewOnlineMeetingEngagementConversationCollectionResponse instantiates a new OnlineMeetingEngagementConversationCollectionResponse and sets the default values. +func NewOnlineMeetingEngagementConversationCollectionResponse()(*OnlineMeetingEngagementConversationCollectionResponse) { + m := &OnlineMeetingEngagementConversationCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateOnlineMeetingEngagementConversationCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateOnlineMeetingEngagementConversationCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewOnlineMeetingEngagementConversationCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *OnlineMeetingEngagementConversationCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateOnlineMeetingEngagementConversationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]OnlineMeetingEngagementConversationable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(OnlineMeetingEngagementConversationable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []OnlineMeetingEngagementConversationable when successful +func (m *OnlineMeetingEngagementConversationCollectionResponse) GetValue()([]OnlineMeetingEngagementConversationable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]OnlineMeetingEngagementConversationable) + } + return nil +} +// Serialize serializes information the current object +func (m *OnlineMeetingEngagementConversationCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *OnlineMeetingEngagementConversationCollectionResponse) SetValue(value []OnlineMeetingEngagementConversationable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type OnlineMeetingEngagementConversationCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]OnlineMeetingEngagementConversationable) + SetValue(value []OnlineMeetingEngagementConversationable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/online_meeting_restricted.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/online_meeting_restricted.go index 0ea075f889..5f46a25788 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/online_meeting_restricted.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/online_meeting_restricted.go @@ -43,7 +43,7 @@ func (m *OnlineMeetingRestricted) GetAdditionalData()(map[string]any) { func (m *OnlineMeetingRestricted) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetContentSharingDisabled gets the contentSharingDisabled property value. Specifies the reason shared content from this participant is disabled. Possible values are: watermarkProtection, unknownFutureValue. +// GetContentSharingDisabled gets the contentSharingDisabled property value. Specifies the reason shared content from this participant is disabled. The possible values are: watermarkProtection, unknownFutureValue. // returns a *OnlineMeetingContentSharingDisabledReason when successful func (m *OnlineMeetingRestricted) GetContentSharingDisabled()(*OnlineMeetingContentSharingDisabledReason) { val, err := m.GetBackingStore().Get("contentSharingDisabled") @@ -103,7 +103,7 @@ func (m *OnlineMeetingRestricted) GetOdataType()(*string) { } return nil } -// GetVideoDisabled gets the videoDisabled property value. Specifies the reason video from this participant is disabled. Possible values are: watermarkProtection, unknownFutureValue. +// GetVideoDisabled gets the videoDisabled property value. Specifies the reason video from this participant is disabled. The possible values are: watermarkProtection, unknownFutureValue. // returns a *OnlineMeetingVideoDisabledReason when successful func (m *OnlineMeetingRestricted) GetVideoDisabled()(*OnlineMeetingVideoDisabledReason) { val, err := m.GetBackingStore().Get("videoDisabled") @@ -156,7 +156,7 @@ func (m *OnlineMeetingRestricted) SetAdditionalData(value map[string]any)() { func (m *OnlineMeetingRestricted) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetContentSharingDisabled sets the contentSharingDisabled property value. Specifies the reason shared content from this participant is disabled. Possible values are: watermarkProtection, unknownFutureValue. +// SetContentSharingDisabled sets the contentSharingDisabled property value. Specifies the reason shared content from this participant is disabled. The possible values are: watermarkProtection, unknownFutureValue. func (m *OnlineMeetingRestricted) SetContentSharingDisabled(value *OnlineMeetingContentSharingDisabledReason)() { err := m.GetBackingStore().Set("contentSharingDisabled", value) if err != nil { @@ -170,7 +170,7 @@ func (m *OnlineMeetingRestricted) SetOdataType(value *string)() { panic(err) } } -// SetVideoDisabled sets the videoDisabled property value. Specifies the reason video from this participant is disabled. Possible values are: watermarkProtection, unknownFutureValue. +// SetVideoDisabled sets the videoDisabled property value. Specifies the reason video from this participant is disabled. The possible values are: watermarkProtection, unknownFutureValue. func (m *OnlineMeetingRestricted) SetVideoDisabled(value *OnlineMeetingVideoDisabledReason)() { err := m.GetBackingStore().Set("videoDisabled", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/online_meeting_sensitivity_label_assignment.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/online_meeting_sensitivity_label_assignment.go new file mode 100644 index 0000000000..e6931d8c65 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/online_meeting_sensitivity_label_assignment.go @@ -0,0 +1,153 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type OnlineMeetingSensitivityLabelAssignment struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewOnlineMeetingSensitivityLabelAssignment instantiates a new OnlineMeetingSensitivityLabelAssignment and sets the default values. +func NewOnlineMeetingSensitivityLabelAssignment()(*OnlineMeetingSensitivityLabelAssignment) { + m := &OnlineMeetingSensitivityLabelAssignment{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateOnlineMeetingSensitivityLabelAssignmentFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateOnlineMeetingSensitivityLabelAssignmentFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewOnlineMeetingSensitivityLabelAssignment(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *OnlineMeetingSensitivityLabelAssignment) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *OnlineMeetingSensitivityLabelAssignment) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *OnlineMeetingSensitivityLabelAssignment) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["sensitivityLabelId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSensitivityLabelId(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *OnlineMeetingSensitivityLabelAssignment) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSensitivityLabelId gets the sensitivityLabelId property value. The ID of the sensitivity label that is applied to the Teams meeting. +// returns a *string when successful +func (m *OnlineMeetingSensitivityLabelAssignment) GetSensitivityLabelId()(*string) { + val, err := m.GetBackingStore().Get("sensitivityLabelId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *OnlineMeetingSensitivityLabelAssignment) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("sensitivityLabelId", m.GetSensitivityLabelId()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *OnlineMeetingSensitivityLabelAssignment) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *OnlineMeetingSensitivityLabelAssignment) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *OnlineMeetingSensitivityLabelAssignment) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetSensitivityLabelId sets the sensitivityLabelId property value. The ID of the sensitivity label that is applied to the Teams meeting. +func (m *OnlineMeetingSensitivityLabelAssignment) SetSensitivityLabelId(value *string)() { + err := m.GetBackingStore().Set("sensitivityLabelId", value) + if err != nil { + panic(err) + } +} +type OnlineMeetingSensitivityLabelAssignmentable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetSensitivityLabelId()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetSensitivityLabelId(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/org_contact.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/org_contact.go index d55d5c327d..0af06db6c5 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/org_contact.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/org_contact.go @@ -243,6 +243,16 @@ func (m *OrgContact) GetFieldDeserializers()(map[string]func(i878a80d2330e89d268 } return nil } + res["onPremisesSyncBehavior"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateOnPremisesSyncBehaviorFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetOnPremisesSyncBehavior(val.(OnPremisesSyncBehaviorable)) + } + return nil + } res["onPremisesSyncEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetBoolValue() if err != nil { @@ -425,6 +435,18 @@ func (m *OrgContact) GetOnPremisesProvisioningErrors()([]OnPremisesProvisioningE } return nil } +// GetOnPremisesSyncBehavior gets the onPremisesSyncBehavior property value. The onPremisesSyncBehavior property +// returns a OnPremisesSyncBehaviorable when successful +func (m *OrgContact) GetOnPremisesSyncBehavior()(OnPremisesSyncBehaviorable) { + val, err := m.GetBackingStore().Get("onPremisesSyncBehavior") + if err != nil { + panic(err) + } + if val != nil { + return val.(OnPremisesSyncBehaviorable) + } + return nil +} // GetOnPremisesSyncEnabled gets the onPremisesSyncEnabled property value. true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced and now mastered in Exchange; null if this object has never been synced from an on-premises directory (default). Supports $filter (eq, ne, not, in, and eq for null values). // returns a *bool when successful func (m *OrgContact) GetOnPremisesSyncEnabled()(*bool) { @@ -605,6 +627,12 @@ func (m *OrgContact) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c return err } } + { + err = writer.WriteObjectValue("onPremisesSyncBehavior", m.GetOnPremisesSyncBehavior()) + if err != nil { + return err + } + } { err = writer.WriteBoolValue("onPremisesSyncEnabled", m.GetOnPremisesSyncEnabled()) if err != nil { @@ -752,6 +780,13 @@ func (m *OrgContact) SetOnPremisesProvisioningErrors(value []OnPremisesProvision panic(err) } } +// SetOnPremisesSyncBehavior sets the onPremisesSyncBehavior property value. The onPremisesSyncBehavior property +func (m *OrgContact) SetOnPremisesSyncBehavior(value OnPremisesSyncBehaviorable)() { + err := m.GetBackingStore().Set("onPremisesSyncBehavior", value) + if err != nil { + panic(err) + } +} // SetOnPremisesSyncEnabled sets the onPremisesSyncEnabled property value. true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced and now mastered in Exchange; null if this object has never been synced from an on-premises directory (default). Supports $filter (eq, ne, not, in, and eq for null values). func (m *OrgContact) SetOnPremisesSyncEnabled(value *bool)() { err := m.GetBackingStore().Set("onPremisesSyncEnabled", value) @@ -810,6 +845,7 @@ type OrgContactable interface { GetMemberOf()([]DirectoryObjectable) GetOnPremisesLastSyncDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetOnPremisesProvisioningErrors()([]OnPremisesProvisioningErrorable) + GetOnPremisesSyncBehavior()(OnPremisesSyncBehaviorable) GetOnPremisesSyncEnabled()(*bool) GetPhones()([]Phoneable) GetProxyAddresses()([]string) @@ -829,6 +865,7 @@ type OrgContactable interface { SetMemberOf(value []DirectoryObjectable)() SetOnPremisesLastSyncDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetOnPremisesProvisioningErrors(value []OnPremisesProvisioningErrorable)() + SetOnPremisesSyncBehavior(value OnPremisesSyncBehaviorable)() SetOnPremisesSyncEnabled(value *bool)() SetPhones(value []Phoneable)() SetProxyAddresses(value []string)() diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/participant_info.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/participant_info.go index 8f1a2aff8e..bcfcf65f91 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/participant_info.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/participant_info.go @@ -55,7 +55,7 @@ func (m *ParticipantInfo) GetCountryCode()(*string) { } return nil } -// GetEndpointType gets the endpointType property value. The type of endpoint the participant is using. Possible values are: default, skypeForBusiness, or skypeForBusinessVoipPhone. Read-only. +// GetEndpointType gets the endpointType property value. The type of endpoint the participant is using. The possible values are: default, skypeForBusiness, or skypeForBusinessVoipPhone. Read-only. // returns a *EndpointType when successful func (m *ParticipantInfo) GetEndpointType()(*EndpointType) { val, err := m.GetBackingStore().Get("endpointType") @@ -274,7 +274,7 @@ func (m *ParticipantInfo) SetCountryCode(value *string)() { panic(err) } } -// SetEndpointType sets the endpointType property value. The type of endpoint the participant is using. Possible values are: default, skypeForBusiness, or skypeForBusinessVoipPhone. Read-only. +// SetEndpointType sets the endpointType property value. The type of endpoint the participant is using. The possible values are: default, skypeForBusiness, or skypeForBusinessVoipPhone. Read-only. func (m *ParticipantInfo) SetEndpointType(value *EndpointType)() { err := m.GetBackingStore().Set("endpointType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/partners/billing/operation.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/partners/billing/operation.go index 34138b814f..0ff72d75d1 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/partners/billing/operation.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/partners/billing/operation.go @@ -106,7 +106,7 @@ func (m *Operation) GetLastActionDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6 } return nil } -// GetStatus gets the status property value. The status of the operation. Possible values are: notStarted, running, completed, failed, unknownFutureValue. +// GetStatus gets the status property value. The status of the operation. The possible values are: notStarted, running, completed, failed, unknownFutureValue. // returns a *LongRunningOperationStatus when successful func (m *Operation) GetStatus()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LongRunningOperationStatus) { val, err := m.GetBackingStore().Get("status") @@ -159,7 +159,7 @@ func (m *Operation) SetLastActionDateTime(value *i336074805fc853987abe6f7fe3ad97 panic(err) } } -// SetStatus sets the status property value. The status of the operation. Possible values are: notStarted, running, completed, failed, unknownFutureValue. +// SetStatus sets the status property value. The status of the operation. The possible values are: notStarted, running, completed, failed, unknownFutureValue. func (m *Operation) SetStatus(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LongRunningOperationStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/password_authentication_method.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/password_authentication_method.go index d38e747361..2ceef8f9fa 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/password_authentication_method.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/password_authentication_method.go @@ -4,7 +4,6 @@ package models import ( - i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" ) @@ -25,32 +24,10 @@ func NewPasswordAuthenticationMethod()(*PasswordAuthenticationMethod) { func CreatePasswordAuthenticationMethodFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewPasswordAuthenticationMethod(), nil } -// GetCreatedDateTime gets the createdDateTime property value. The date and time when this password was last updated. This property is currently not populated. Read-only. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. -// returns a *Time when successful -func (m *PasswordAuthenticationMethod) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { - val, err := m.GetBackingStore().Get("createdDateTime") - if err != nil { - panic(err) - } - if val != nil { - return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) - } - return nil -} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *PasswordAuthenticationMethod) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.AuthenticationMethod.GetFieldDeserializers() - res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetTimeValue() - if err != nil { - return err - } - if val != nil { - m.SetCreatedDateTime(val) - } - return nil - } res["password"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -81,12 +58,6 @@ func (m *PasswordAuthenticationMethod) Serialize(writer i878a80d2330e89d26896388 if err != nil { return err } - { - err = writer.WriteTimeValue("createdDateTime", m.GetCreatedDateTime()) - if err != nil { - return err - } - } { err = writer.WriteStringValue("password", m.GetPassword()) if err != nil { @@ -95,13 +66,6 @@ func (m *PasswordAuthenticationMethod) Serialize(writer i878a80d2330e89d26896388 } return nil } -// SetCreatedDateTime sets the createdDateTime property value. The date and time when this password was last updated. This property is currently not populated. Read-only. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. -func (m *PasswordAuthenticationMethod) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { - err := m.GetBackingStore().Set("createdDateTime", value) - if err != nil { - panic(err) - } -} // SetPassword sets the password property value. For security, the password is always returned as null from a LIST or GET operation. func (m *PasswordAuthenticationMethod) SetPassword(value *string)() { err := m.GetBackingStore().Set("password", value) @@ -112,8 +76,6 @@ func (m *PasswordAuthenticationMethod) SetPassword(value *string)() { type PasswordAuthenticationMethodable interface { AuthenticationMethodable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetPassword()(*string) - SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetPassword(value *string)() } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/payload.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/payload.go index 6ac721d1e7..aa3685d385 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/payload.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/payload.go @@ -23,7 +23,7 @@ func NewPayload()(*Payload) { func CreatePayloadFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewPayload(), nil } -// GetBrand gets the brand property value. The branch of a payload. Possible values are: unknown, other, americanExpress, capitalOne, dhl, docuSign, dropbox, facebook, firstAmerican, microsoft, netflix, scotiabank, sendGrid, stewartTitle, tesco, wellsFargo, syrinxCloud, adobe, teams, zoom, unknownFutureValue. +// GetBrand gets the brand property value. The branch of a payload. The possible values are: unknown, other, americanExpress, capitalOne, dhl, docuSign, dropbox, facebook, firstAmerican, microsoft, netflix, scotiabank, sendGrid, stewartTitle, tesco, wellsFargo, syrinxCloud, adobe, teams, zoom, unknownFutureValue. // returns a *PayloadBrand when successful func (m *Payload) GetBrand()(*PayloadBrand) { val, err := m.GetBackingStore().Get("brand") @@ -35,7 +35,7 @@ func (m *Payload) GetBrand()(*PayloadBrand) { } return nil } -// GetComplexity gets the complexity property value. The complexity of a payload. Possible values are: unknown, low, medium, high, unknownFutureValue. +// GetComplexity gets the complexity property value. The complexity of a payload. The possible values are: unknown, low, medium, high, unknownFutureValue. // returns a *PayloadComplexity when successful func (m *Payload) GetComplexity()(*PayloadComplexity) { val, err := m.GetBackingStore().Get("complexity") @@ -339,7 +339,7 @@ func (m *Payload) GetFieldDeserializers()(map[string]func(i878a80d2330e89d268963 } return res } -// GetIndustry gets the industry property value. Industry of a payload. Possible values are: unknown, other, banking, businessServices, consumerServices, education, energy, construction, consulting, financialServices, government, hospitality, insurance, legal, courierServices, IT, healthcare, manufacturing, retail, telecom, realEstate, unknownFutureValue. +// GetIndustry gets the industry property value. Industry of a payload. The possible values are: unknown, other, banking, businessServices, consumerServices, education, energy, construction, consulting, financialServices, government, hospitality, insurance, legal, courierServices, IT, healthcare, manufacturing, retail, telecom, realEstate, unknownFutureValue. // returns a *PayloadIndustry when successful func (m *Payload) GetIndustry()(*PayloadIndustry) { val, err := m.GetBackingStore().Get("industry") @@ -435,7 +435,7 @@ func (m *Payload) GetPayloadTags()([]string) { } return nil } -// GetPlatform gets the platform property value. The payload delivery platform for a simulation. Possible values are: unknown, sms, email, teams, unknownFutureValue. +// GetPlatform gets the platform property value. The payload delivery platform for a simulation. The possible values are: unknown, sms, email, teams, unknownFutureValue. // returns a *PayloadDeliveryPlatform when successful func (m *Payload) GetPlatform()(*PayloadDeliveryPlatform) { val, err := m.GetBackingStore().Get("platform") @@ -459,7 +459,7 @@ func (m *Payload) GetPredictedCompromiseRate()(*float64) { } return nil } -// GetSimulationAttackType gets the simulationAttackType property value. Attack type of the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, social, cloud, endpoint, unknownFutureValue. +// GetSimulationAttackType gets the simulationAttackType property value. Attack type of the attack simulation and training campaign. Supports $filter and $orderby. The possible values are: unknown, social, cloud, endpoint, unknownFutureValue. // returns a *SimulationAttackType when successful func (m *Payload) GetSimulationAttackType()(*SimulationAttackType) { val, err := m.GetBackingStore().Get("simulationAttackType") @@ -483,7 +483,7 @@ func (m *Payload) GetSource()(*SimulationContentSource) { } return nil } -// GetStatus gets the status property value. Simulation content status. Supports $filter and $orderby. Possible values are: unknown, draft, ready, archive, delete, unknownFutureValue. +// GetStatus gets the status property value. Simulation content status. Supports $filter and $orderby. The possible values are: unknown, draft, ready, archive, delete, unknownFutureValue. // returns a *SimulationContentStatus when successful func (m *Payload) GetStatus()(*SimulationContentStatus) { val, err := m.GetBackingStore().Get("status") @@ -495,7 +495,7 @@ func (m *Payload) GetStatus()(*SimulationContentStatus) { } return nil } -// GetTechnique gets the technique property value. The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. +// GetTechnique gets the technique property value. The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. The possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. // returns a *SimulationAttackTechnique when successful func (m *Payload) GetTechnique()(*SimulationAttackTechnique) { val, err := m.GetBackingStore().Get("technique") @@ -507,7 +507,7 @@ func (m *Payload) GetTechnique()(*SimulationAttackTechnique) { } return nil } -// GetTheme gets the theme property value. The theme of a payload. Possible values are: unknown, other, accountActivation, accountVerification, billing, cleanUpMail, controversial, documentReceived, expense, fax, financeReport, incomingMessages, invoice, itemReceived, loginAlert, mailReceived, password, payment, payroll, personalizedOffer, quarantine, remoteWork, reviewMessage, securityUpdate, serviceSuspended, signatureRequired, upgradeMailboxStorage, verifyMailbox, voicemail, advertisement, employeeEngagement, unknownFutureValue. +// GetTheme gets the theme property value. The theme of a payload. The possible values are: unknown, other, accountActivation, accountVerification, billing, cleanUpMail, controversial, documentReceived, expense, fax, financeReport, incomingMessages, invoice, itemReceived, loginAlert, mailReceived, password, payment, payroll, personalizedOffer, quarantine, remoteWork, reviewMessage, securityUpdate, serviceSuspended, signatureRequired, upgradeMailboxStorage, verifyMailbox, voicemail, advertisement, employeeEngagement, unknownFutureValue. // returns a *PayloadTheme when successful func (m *Payload) GetTheme()(*PayloadTheme) { val, err := m.GetBackingStore().Get("theme") @@ -668,14 +668,14 @@ func (m *Payload) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010 } return nil } -// SetBrand sets the brand property value. The branch of a payload. Possible values are: unknown, other, americanExpress, capitalOne, dhl, docuSign, dropbox, facebook, firstAmerican, microsoft, netflix, scotiabank, sendGrid, stewartTitle, tesco, wellsFargo, syrinxCloud, adobe, teams, zoom, unknownFutureValue. +// SetBrand sets the brand property value. The branch of a payload. The possible values are: unknown, other, americanExpress, capitalOne, dhl, docuSign, dropbox, facebook, firstAmerican, microsoft, netflix, scotiabank, sendGrid, stewartTitle, tesco, wellsFargo, syrinxCloud, adobe, teams, zoom, unknownFutureValue. func (m *Payload) SetBrand(value *PayloadBrand)() { err := m.GetBackingStore().Set("brand", value) if err != nil { panic(err) } } -// SetComplexity sets the complexity property value. The complexity of a payload. Possible values are: unknown, low, medium, high, unknownFutureValue. +// SetComplexity sets the complexity property value. The complexity of a payload. The possible values are: unknown, low, medium, high, unknownFutureValue. func (m *Payload) SetComplexity(value *PayloadComplexity)() { err := m.GetBackingStore().Set("complexity", value) if err != nil { @@ -717,7 +717,7 @@ func (m *Payload) SetDisplayName(value *string)() { panic(err) } } -// SetIndustry sets the industry property value. Industry of a payload. Possible values are: unknown, other, banking, businessServices, consumerServices, education, energy, construction, consulting, financialServices, government, hospitality, insurance, legal, courierServices, IT, healthcare, manufacturing, retail, telecom, realEstate, unknownFutureValue. +// SetIndustry sets the industry property value. Industry of a payload. The possible values are: unknown, other, banking, businessServices, consumerServices, education, energy, construction, consulting, financialServices, government, hospitality, insurance, legal, courierServices, IT, healthcare, manufacturing, retail, telecom, realEstate, unknownFutureValue. func (m *Payload) SetIndustry(value *PayloadIndustry)() { err := m.GetBackingStore().Set("industry", value) if err != nil { @@ -773,7 +773,7 @@ func (m *Payload) SetPayloadTags(value []string)() { panic(err) } } -// SetPlatform sets the platform property value. The payload delivery platform for a simulation. Possible values are: unknown, sms, email, teams, unknownFutureValue. +// SetPlatform sets the platform property value. The payload delivery platform for a simulation. The possible values are: unknown, sms, email, teams, unknownFutureValue. func (m *Payload) SetPlatform(value *PayloadDeliveryPlatform)() { err := m.GetBackingStore().Set("platform", value) if err != nil { @@ -787,7 +787,7 @@ func (m *Payload) SetPredictedCompromiseRate(value *float64)() { panic(err) } } -// SetSimulationAttackType sets the simulationAttackType property value. Attack type of the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, social, cloud, endpoint, unknownFutureValue. +// SetSimulationAttackType sets the simulationAttackType property value. Attack type of the attack simulation and training campaign. Supports $filter and $orderby. The possible values are: unknown, social, cloud, endpoint, unknownFutureValue. func (m *Payload) SetSimulationAttackType(value *SimulationAttackType)() { err := m.GetBackingStore().Set("simulationAttackType", value) if err != nil { @@ -801,21 +801,21 @@ func (m *Payload) SetSource(value *SimulationContentSource)() { panic(err) } } -// SetStatus sets the status property value. Simulation content status. Supports $filter and $orderby. Possible values are: unknown, draft, ready, archive, delete, unknownFutureValue. +// SetStatus sets the status property value. Simulation content status. Supports $filter and $orderby. The possible values are: unknown, draft, ready, archive, delete, unknownFutureValue. func (m *Payload) SetStatus(value *SimulationContentStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { panic(err) } } -// SetTechnique sets the technique property value. The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. +// SetTechnique sets the technique property value. The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. The possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. func (m *Payload) SetTechnique(value *SimulationAttackTechnique)() { err := m.GetBackingStore().Set("technique", value) if err != nil { panic(err) } } -// SetTheme sets the theme property value. The theme of a payload. Possible values are: unknown, other, accountActivation, accountVerification, billing, cleanUpMail, controversial, documentReceived, expense, fax, financeReport, incomingMessages, invoice, itemReceived, loginAlert, mailReceived, password, payment, payroll, personalizedOffer, quarantine, remoteWork, reviewMessage, securityUpdate, serviceSuspended, signatureRequired, upgradeMailboxStorage, verifyMailbox, voicemail, advertisement, employeeEngagement, unknownFutureValue. +// SetTheme sets the theme property value. The theme of a payload. The possible values are: unknown, other, accountActivation, accountVerification, billing, cleanUpMail, controversial, documentReceived, expense, fax, financeReport, incomingMessages, invoice, itemReceived, loginAlert, mailReceived, password, payment, payroll, personalizedOffer, quarantine, remoteWork, reviewMessage, securityUpdate, serviceSuspended, signatureRequired, upgradeMailboxStorage, verifyMailbox, voicemail, advertisement, employeeEngagement, unknownFutureValue. func (m *Payload) SetTheme(value *PayloadTheme)() { err := m.GetBackingStore().Set("theme", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/persistent_browser_session_control.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/persistent_browser_session_control.go index db1f24a0ec..0114620891 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/persistent_browser_session_control.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/persistent_browser_session_control.go @@ -40,7 +40,7 @@ func (m *PersistentBrowserSessionControl) GetFieldDeserializers()(map[string]fun } return res } -// GetMode gets the mode property value. Possible values are: always, never. +// GetMode gets the mode property value. The possible values are: always, never. // returns a *PersistentBrowserSessionMode when successful func (m *PersistentBrowserSessionControl) GetMode()(*PersistentBrowserSessionMode) { val, err := m.GetBackingStore().Get("mode") @@ -67,7 +67,7 @@ func (m *PersistentBrowserSessionControl) Serialize(writer i878a80d2330e89d26896 } return nil } -// SetMode sets the mode property value. Possible values are: always, never. +// SetMode sets the mode property value. The possible values are: always, never. func (m *PersistentBrowserSessionControl) SetMode(value *PersistentBrowserSessionMode)() { err := m.GetBackingStore().Set("mode", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/phone_authentication_method.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/phone_authentication_method.go index 9223018dc6..ea2245ce51 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/phone_authentication_method.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/phone_authentication_method.go @@ -72,7 +72,7 @@ func (m *PhoneAuthenticationMethod) GetPhoneNumber()(*string) { } return nil } -// GetPhoneType gets the phoneType property value. The type of this phone. Possible values are: mobile, alternateMobile, or office. +// GetPhoneType gets the phoneType property value. The type of this phone. The possible values are: mobile, alternateMobile, or office. // returns a *AuthenticationPhoneType when successful func (m *PhoneAuthenticationMethod) GetPhoneType()(*AuthenticationPhoneType) { val, err := m.GetBackingStore().Get("phoneType") @@ -84,7 +84,7 @@ func (m *PhoneAuthenticationMethod) GetPhoneType()(*AuthenticationPhoneType) { } return nil } -// GetSmsSignInState gets the smsSignInState property value. Whether a phone is ready to be used for SMS sign-in or not. Possible values are: notSupported, notAllowedByPolicy, notEnabled, phoneNumberNotUnique, ready, or notConfigured, unknownFutureValue. +// GetSmsSignInState gets the smsSignInState property value. Whether a phone is ready to be used for SMS sign-in or not. The possible values are: notSupported, notAllowedByPolicy, notEnabled, phoneNumberNotUnique, ready, or notConfigured, unknownFutureValue. // returns a *AuthenticationMethodSignInState when successful func (m *PhoneAuthenticationMethod) GetSmsSignInState()(*AuthenticationMethodSignInState) { val, err := m.GetBackingStore().Get("smsSignInState") @@ -131,14 +131,14 @@ func (m *PhoneAuthenticationMethod) SetPhoneNumber(value *string)() { panic(err) } } -// SetPhoneType sets the phoneType property value. The type of this phone. Possible values are: mobile, alternateMobile, or office. +// SetPhoneType sets the phoneType property value. The type of this phone. The possible values are: mobile, alternateMobile, or office. func (m *PhoneAuthenticationMethod) SetPhoneType(value *AuthenticationPhoneType)() { err := m.GetBackingStore().Set("phoneType", value) if err != nil { panic(err) } } -// SetSmsSignInState sets the smsSignInState property value. Whether a phone is ready to be used for SMS sign-in or not. Possible values are: notSupported, notAllowedByPolicy, notEnabled, phoneNumberNotUnique, ready, or notConfigured, unknownFutureValue. +// SetSmsSignInState sets the smsSignInState property value. Whether a phone is ready to be used for SMS sign-in or not. The possible values are: notSupported, notAllowedByPolicy, notEnabled, phoneNumberNotUnique, ready, or notConfigured, unknownFutureValue. func (m *PhoneAuthenticationMethod) SetSmsSignInState(value *AuthenticationMethodSignInState)() { err := m.GetBackingStore().Set("smsSignInState", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/place.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/place.go index 819a6cdf9e..df962bbb18 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/place.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/place.go @@ -32,17 +32,27 @@ func CreatePlaceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487e } if mappingValue != nil { switch *mappingValue { + case "#microsoft.graph.building": + return NewBuilding(), nil + case "#microsoft.graph.desk": + return NewDesk(), nil + case "#microsoft.graph.floor": + return NewFloor(), nil case "#microsoft.graph.room": return NewRoom(), nil case "#microsoft.graph.roomList": return NewRoomList(), nil + case "#microsoft.graph.section": + return NewSection(), nil + case "#microsoft.graph.workspace": + return NewWorkspace(), nil } } } } return NewPlace(), nil } -// GetAddress gets the address property value. The street address of the place. +// GetAddress gets the address property value. The physical address of the place, including the street, city, state, country or region, and postal code. // returns a PhysicalAddressable when successful func (m *Place) GetAddress()(PhysicalAddressable) { val, err := m.GetBackingStore().Get("address") @@ -54,7 +64,19 @@ func (m *Place) GetAddress()(PhysicalAddressable) { } return nil } -// GetDisplayName gets the displayName property value. The name associated with the place. +// GetCheckIns gets the checkIns property value. A subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a []CheckInClaimable when successful +func (m *Place) GetCheckIns()([]CheckInClaimable) { + val, err := m.GetBackingStore().Get("checkIns") + if err != nil { + panic(err) + } + if val != nil { + return val.([]CheckInClaimable) + } + return nil +} +// GetDisplayName gets the displayName property value. The name that is associated with the place. // returns a *string when successful func (m *Place) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -80,6 +102,22 @@ func (m *Place) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388 } return nil } + res["checkIns"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateCheckInClaimFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]CheckInClaimable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(CheckInClaimable) + } + } + m.SetCheckIns(res) + } + return nil + } res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -100,6 +138,36 @@ func (m *Place) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388 } return nil } + res["isWheelChairAccessible"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsWheelChairAccessible(val) + } + return nil + } + res["label"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetLabel(val) + } + return nil + } + res["parentId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetParentId(val) + } + return nil + } res["phone"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -110,6 +178,22 @@ func (m *Place) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388 } return nil } + res["tags"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetTags(res) + } + return nil + } return res } // GetGeoCoordinates gets the geoCoordinates property value. Specifies the place location in latitude, longitude, and (optionally) altitude coordinates. @@ -124,6 +208,42 @@ func (m *Place) GetGeoCoordinates()(OutlookGeoCoordinatesable) { } return nil } +// GetIsWheelChairAccessible gets the isWheelChairAccessible property value. Indicates whether the place is wheelchair accessible. +// returns a *bool when successful +func (m *Place) GetIsWheelChairAccessible()(*bool) { + val, err := m.GetBackingStore().Get("isWheelChairAccessible") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetLabel gets the label property value. User-defined description of the place. +// returns a *string when successful +func (m *Place) GetLabel()(*string) { + val, err := m.GetBackingStore().Get("label") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetParentId gets the parentId property value. The ID of a parent place. +// returns a *string when successful +func (m *Place) GetParentId()(*string) { + val, err := m.GetBackingStore().Get("parentId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetPhone gets the phone property value. The phone number of the place. // returns a *string when successful func (m *Place) GetPhone()(*string) { @@ -136,6 +256,18 @@ func (m *Place) GetPhone()(*string) { } return nil } +// GetTags gets the tags property value. Custom tags that are associated with the place for categorization or filtering. +// returns a []string when successful +func (m *Place) GetTags()([]string) { + val, err := m.GetBackingStore().Get("tags") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} // Serialize serializes information the current object func (m *Place) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.Entity.Serialize(writer) @@ -148,6 +280,18 @@ func (m *Place) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c4 return err } } + if m.GetCheckIns() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetCheckIns())) + for i, v := range m.GetCheckIns() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("checkIns", cast) + if err != nil { + return err + } + } { err = writer.WriteStringValue("displayName", m.GetDisplayName()) if err != nil { @@ -160,22 +304,53 @@ func (m *Place) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c4 return err } } + { + err = writer.WriteBoolValue("isWheelChairAccessible", m.GetIsWheelChairAccessible()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("label", m.GetLabel()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("parentId", m.GetParentId()) + if err != nil { + return err + } + } { err = writer.WriteStringValue("phone", m.GetPhone()) if err != nil { return err } } + if m.GetTags() != nil { + err = writer.WriteCollectionOfStringValues("tags", m.GetTags()) + if err != nil { + return err + } + } return nil } -// SetAddress sets the address property value. The street address of the place. +// SetAddress sets the address property value. The physical address of the place, including the street, city, state, country or region, and postal code. func (m *Place) SetAddress(value PhysicalAddressable)() { err := m.GetBackingStore().Set("address", value) if err != nil { panic(err) } } -// SetDisplayName sets the displayName property value. The name associated with the place. +// SetCheckIns sets the checkIns property value. A subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +func (m *Place) SetCheckIns(value []CheckInClaimable)() { + err := m.GetBackingStore().Set("checkIns", value) + if err != nil { + panic(err) + } +} +// SetDisplayName sets the displayName property value. The name that is associated with the place. func (m *Place) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { @@ -189,6 +364,27 @@ func (m *Place) SetGeoCoordinates(value OutlookGeoCoordinatesable)() { panic(err) } } +// SetIsWheelChairAccessible sets the isWheelChairAccessible property value. Indicates whether the place is wheelchair accessible. +func (m *Place) SetIsWheelChairAccessible(value *bool)() { + err := m.GetBackingStore().Set("isWheelChairAccessible", value) + if err != nil { + panic(err) + } +} +// SetLabel sets the label property value. User-defined description of the place. +func (m *Place) SetLabel(value *string)() { + err := m.GetBackingStore().Set("label", value) + if err != nil { + panic(err) + } +} +// SetParentId sets the parentId property value. The ID of a parent place. +func (m *Place) SetParentId(value *string)() { + err := m.GetBackingStore().Set("parentId", value) + if err != nil { + panic(err) + } +} // SetPhone sets the phone property value. The phone number of the place. func (m *Place) SetPhone(value *string)() { err := m.GetBackingStore().Set("phone", value) @@ -196,15 +392,32 @@ func (m *Place) SetPhone(value *string)() { panic(err) } } +// SetTags sets the tags property value. Custom tags that are associated with the place for categorization or filtering. +func (m *Place) SetTags(value []string)() { + err := m.GetBackingStore().Set("tags", value) + if err != nil { + panic(err) + } +} type Placeable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAddress()(PhysicalAddressable) + GetCheckIns()([]CheckInClaimable) GetDisplayName()(*string) GetGeoCoordinates()(OutlookGeoCoordinatesable) + GetIsWheelChairAccessible()(*bool) + GetLabel()(*string) + GetParentId()(*string) GetPhone()(*string) + GetTags()([]string) SetAddress(value PhysicalAddressable)() + SetCheckIns(value []CheckInClaimable)() SetDisplayName(value *string)() SetGeoCoordinates(value OutlookGeoCoordinatesable)() + SetIsWheelChairAccessible(value *bool)() + SetLabel(value *string)() + SetParentId(value *string)() SetPhone(value *string)() + SetTags(value []string)() } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/place_feature_enablement.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/place_feature_enablement.go new file mode 100644 index 0000000000..eb5fb28bb0 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/place_feature_enablement.go @@ -0,0 +1,42 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type PlaceFeatureEnablement int + +const ( + UNKNOWN_PLACEFEATUREENABLEMENT PlaceFeatureEnablement = iota + ENABLED_PLACEFEATUREENABLEMENT + DISABLED_PLACEFEATUREENABLEMENT + UNKNOWNFUTUREVALUE_PLACEFEATUREENABLEMENT +) + +func (i PlaceFeatureEnablement) String() string { + return []string{"unknown", "enabled", "disabled", "unknownFutureValue"}[i] +} +func ParsePlaceFeatureEnablement(v string) (any, error) { + result := UNKNOWN_PLACEFEATUREENABLEMENT + switch v { + case "unknown": + result = UNKNOWN_PLACEFEATUREENABLEMENT + case "enabled": + result = ENABLED_PLACEFEATUREENABLEMENT + case "disabled": + result = DISABLED_PLACEFEATUREENABLEMENT + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_PLACEFEATUREENABLEMENT + default: + return nil, nil + } + return &result, nil +} +func SerializePlaceFeatureEnablement(values []PlaceFeatureEnablement) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i PlaceFeatureEnablement) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/place_mode.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/place_mode.go new file mode 100644 index 0000000000..65f0bf761b --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/place_mode.go @@ -0,0 +1,140 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type PlaceMode struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewPlaceMode instantiates a new PlaceMode and sets the default values. +func NewPlaceMode()(*PlaceMode) { + m := &PlaceMode{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreatePlaceModeFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreatePlaceModeFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.assignedPlaceMode": + return NewAssignedPlaceMode(), nil + case "#microsoft.graph.dropInPlaceMode": + return NewDropInPlaceMode(), nil + case "#microsoft.graph.reservablePlaceMode": + return NewReservablePlaceMode(), nil + case "#microsoft.graph.unavailablePlaceMode": + return NewUnavailablePlaceMode(), nil + } + } + } + } + return NewPlaceMode(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *PlaceMode) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *PlaceMode) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *PlaceMode) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *PlaceMode) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *PlaceMode) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *PlaceMode) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *PlaceMode) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *PlaceMode) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type PlaceModeable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/planner_plan_container.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/planner_plan_container.go index a168336e12..e59621f233 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/planner_plan_container.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/planner_plan_container.go @@ -113,7 +113,7 @@ func (m *PlannerPlanContainer) GetOdataType()(*string) { } return nil } -// GetTypeEscaped gets the type property value. The type of the resource that contains the plan. For supported types, see the previous table. Possible values are: group, unknownFutureValue, roster. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: roster. Optional. +// GetTypeEscaped gets the type property value. The type of the resource that contains the plan. For supported types, see the previous table. The possible values are: group, unknownFutureValue, roster. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: roster. Optional. // returns a *PlannerContainerType when successful func (m *PlannerPlanContainer) GetTypeEscaped()(*PlannerContainerType) { val, err := m.GetBackingStore().Get("typeEscaped") @@ -197,7 +197,7 @@ func (m *PlannerPlanContainer) SetOdataType(value *string)() { panic(err) } } -// SetTypeEscaped sets the type property value. The type of the resource that contains the plan. For supported types, see the previous table. Possible values are: group, unknownFutureValue, roster. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: roster. Optional. +// SetTypeEscaped sets the type property value. The type of the resource that contains the plan. For supported types, see the previous table. The possible values are: group, unknownFutureValue, roster. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: roster. Optional. func (m *PlannerPlanContainer) SetTypeEscaped(value *PlannerContainerType)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/platform_credential_authentication_method.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/platform_credential_authentication_method.go index 669cb7e28b..b73db9cedc 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/platform_credential_authentication_method.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/platform_credential_authentication_method.go @@ -4,7 +4,6 @@ package models import ( - i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" ) @@ -25,18 +24,6 @@ func NewPlatformCredentialAuthenticationMethod()(*PlatformCredentialAuthenticati func CreatePlatformCredentialAuthenticationMethodFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewPlatformCredentialAuthenticationMethod(), nil } -// GetCreatedDateTime gets the createdDateTime property value. The date and time that this Platform Credential Key was registered. -// returns a *Time when successful -func (m *PlatformCredentialAuthenticationMethod) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { - val, err := m.GetBackingStore().Get("createdDateTime") - if err != nil { - panic(err) - } - if val != nil { - return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) - } - return nil -} // GetDevice gets the device property value. The registered device on which this Platform Credential resides. Supports $expand. When you get a user's Platform Credential registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/platformCredentialAuthenticationMethod/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device. // returns a Deviceable when successful func (m *PlatformCredentialAuthenticationMethod) GetDevice()(Deviceable) { @@ -65,16 +52,6 @@ func (m *PlatformCredentialAuthenticationMethod) GetDisplayName()(*string) { // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *PlatformCredentialAuthenticationMethod) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.AuthenticationMethod.GetFieldDeserializers() - res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetTimeValue() - if err != nil { - return err - } - if val != nil { - m.SetCreatedDateTime(val) - } - return nil - } res["device"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateDeviceFromDiscriminatorValue) if err != nil { @@ -117,7 +94,7 @@ func (m *PlatformCredentialAuthenticationMethod) GetFieldDeserializers()(map[str } return res } -// GetKeyStrength gets the keyStrength property value. Key strength of this Platform Credential key. Possible values are: normal, weak, unknown. +// GetKeyStrength gets the keyStrength property value. Key strength of this Platform Credential key. The possible values are: normal, weak, unknown. // returns a *AuthenticationMethodKeyStrength when successful func (m *PlatformCredentialAuthenticationMethod) GetKeyStrength()(*AuthenticationMethodKeyStrength) { val, err := m.GetBackingStore().Get("keyStrength") @@ -129,7 +106,7 @@ func (m *PlatformCredentialAuthenticationMethod) GetKeyStrength()(*Authenticatio } return nil } -// GetPlatform gets the platform property value. Platform on which this Platform Credential key is present. Possible values are: unknown, windows, macOS,iOS, android, linux. +// GetPlatform gets the platform property value. Platform on which this Platform Credential key is present. The possible values are: unknown, windows, macOS,iOS, android, linux. // returns a *AuthenticationMethodPlatform when successful func (m *PlatformCredentialAuthenticationMethod) GetPlatform()(*AuthenticationMethodPlatform) { val, err := m.GetBackingStore().Get("platform") @@ -147,12 +124,6 @@ func (m *PlatformCredentialAuthenticationMethod) Serialize(writer i878a80d2330e8 if err != nil { return err } - { - err = writer.WriteTimeValue("createdDateTime", m.GetCreatedDateTime()) - if err != nil { - return err - } - } { err = writer.WriteObjectValue("device", m.GetDevice()) if err != nil { @@ -181,13 +152,6 @@ func (m *PlatformCredentialAuthenticationMethod) Serialize(writer i878a80d2330e8 } return nil } -// SetCreatedDateTime sets the createdDateTime property value. The date and time that this Platform Credential Key was registered. -func (m *PlatformCredentialAuthenticationMethod) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { - err := m.GetBackingStore().Set("createdDateTime", value) - if err != nil { - panic(err) - } -} // SetDevice sets the device property value. The registered device on which this Platform Credential resides. Supports $expand. When you get a user's Platform Credential registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/platformCredentialAuthenticationMethod/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device. func (m *PlatformCredentialAuthenticationMethod) SetDevice(value Deviceable)() { err := m.GetBackingStore().Set("device", value) @@ -202,14 +166,14 @@ func (m *PlatformCredentialAuthenticationMethod) SetDisplayName(value *string)() panic(err) } } -// SetKeyStrength sets the keyStrength property value. Key strength of this Platform Credential key. Possible values are: normal, weak, unknown. +// SetKeyStrength sets the keyStrength property value. Key strength of this Platform Credential key. The possible values are: normal, weak, unknown. func (m *PlatformCredentialAuthenticationMethod) SetKeyStrength(value *AuthenticationMethodKeyStrength)() { err := m.GetBackingStore().Set("keyStrength", value) if err != nil { panic(err) } } -// SetPlatform sets the platform property value. Platform on which this Platform Credential key is present. Possible values are: unknown, windows, macOS,iOS, android, linux. +// SetPlatform sets the platform property value. Platform on which this Platform Credential key is present. The possible values are: unknown, windows, macOS,iOS, android, linux. func (m *PlatformCredentialAuthenticationMethod) SetPlatform(value *AuthenticationMethodPlatform)() { err := m.GetBackingStore().Set("platform", value) if err != nil { @@ -219,12 +183,10 @@ func (m *PlatformCredentialAuthenticationMethod) SetPlatform(value *Authenticati type PlatformCredentialAuthenticationMethodable interface { AuthenticationMethodable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetDevice()(Deviceable) GetDisplayName()(*string) GetKeyStrength()(*AuthenticationMethodKeyStrength) GetPlatform()(*AuthenticationMethodPlatform) - SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetDevice(value Deviceable)() SetDisplayName(value *string)() SetKeyStrength(value *AuthenticationMethodKeyStrength)() diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/positive_reinforcement_notification.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/positive_reinforcement_notification.go index 682301ba4b..0b1638b16c 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/positive_reinforcement_notification.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/positive_reinforcement_notification.go @@ -24,7 +24,7 @@ func NewPositiveReinforcementNotification()(*PositiveReinforcementNotification) func CreatePositiveReinforcementNotificationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewPositiveReinforcementNotification(), nil } -// GetDeliveryPreference gets the deliveryPreference property value. Delivery preference. Possible values are: unknown, deliverImmedietly, deliverAfterCampaignEnd, unknownFutureValue. +// GetDeliveryPreference gets the deliveryPreference property value. Delivery preference. The possible values are: unknown, deliverImmedietly, deliverAfterCampaignEnd, unknownFutureValue. // returns a *NotificationDeliveryPreference when successful func (m *PositiveReinforcementNotification) GetDeliveryPreference()(*NotificationDeliveryPreference) { val, err := m.GetBackingStore().Get("deliveryPreference") @@ -67,7 +67,7 @@ func (m *PositiveReinforcementNotification) Serialize(writer i878a80d2330e89d268 } return nil } -// SetDeliveryPreference sets the deliveryPreference property value. Delivery preference. Possible values are: unknown, deliverImmedietly, deliverAfterCampaignEnd, unknownFutureValue. +// SetDeliveryPreference sets the deliveryPreference property value. Delivery preference. The possible values are: unknown, deliverImmedietly, deliverAfterCampaignEnd, unknownFutureValue. func (m *PositiveReinforcementNotification) SetDeliveryPreference(value *NotificationDeliveryPreference)() { err := m.GetBackingStore().Set("deliveryPreference", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/presence.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/presence.go index 3a70b1f14c..83db3e0363 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/presence.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/presence.go @@ -100,6 +100,16 @@ func (m *Presence) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896 } return nil } + res["workLocation"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateUserWorkLocationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetWorkLocation(val.(UserWorkLocationable)) + } + return nil + } return res } // GetOutOfOfficeSettings gets the outOfOfficeSettings property value. The out of office settings for a user. @@ -138,6 +148,18 @@ func (m *Presence) GetStatusMessage()(PresenceStatusMessageable) { } return nil } +// GetWorkLocation gets the workLocation property value. Represents the user’s aggregated work location state. +// returns a UserWorkLocationable when successful +func (m *Presence) GetWorkLocation()(UserWorkLocationable) { + val, err := m.GetBackingStore().Get("workLocation") + if err != nil { + panic(err) + } + if val != nil { + return val.(UserWorkLocationable) + } + return nil +} // Serialize serializes information the current object func (m *Presence) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.Entity.Serialize(writer) @@ -168,6 +190,12 @@ func (m *Presence) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c01 return err } } + { + err = writer.WriteObjectValue("workLocation", m.GetWorkLocation()) + if err != nil { + return err + } + } return nil } // SetActivity sets the activity property value. The supplemental information to a user's availability. Possible values are available, away, beRightBack, busy, doNotDisturb, offline, outOfOffice, presenceUnknown. @@ -205,6 +233,13 @@ func (m *Presence) SetStatusMessage(value PresenceStatusMessageable)() { panic(err) } } +// SetWorkLocation sets the workLocation property value. Represents the user’s aggregated work location state. +func (m *Presence) SetWorkLocation(value UserWorkLocationable)() { + err := m.GetBackingStore().Set("workLocation", value) + if err != nil { + panic(err) + } +} type Presenceable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable @@ -213,9 +248,11 @@ type Presenceable interface { GetOutOfOfficeSettings()(OutOfOfficeSettingsable) GetSequenceNumber()(*string) GetStatusMessage()(PresenceStatusMessageable) + GetWorkLocation()(UserWorkLocationable) SetActivity(value *string)() SetAvailability(value *string)() SetOutOfOfficeSettings(value OutOfOfficeSettingsable)() SetSequenceNumber(value *string)() SetStatusMessage(value PresenceStatusMessageable)() + SetWorkLocation(value UserWorkLocationable)() } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/printer_capabilities.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/printer_capabilities.go index 8083091943..1edc5a8474 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/printer_capabilities.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/printer_capabilities.go @@ -585,7 +585,7 @@ func (m *PrinterCapabilities) GetLeftMargins()([]int32) { } return nil } -// GetMediaColors gets the mediaColors property value. The media (i.e., paper) colors supported by the printer. +// GetMediaColors gets the mediaColors property value. The media (for example, paper) colors supported by the printer. // returns a []string when successful func (m *PrinterCapabilities) GetMediaColors()([]string) { val, err := m.GetBackingStore().Get("mediaColors") @@ -597,7 +597,7 @@ func (m *PrinterCapabilities) GetMediaColors()([]string) { } return nil } -// GetMediaSizes gets the mediaSizes property value. The media sizes supported by the printer. Supports standard size names for ISO and ANSI media sizes. Valid values are in the following table. +// GetMediaSizes gets the mediaSizes property value. The media sizes supported by the printer. Supports standard size names for ISO and ANSI media sizes. For the list of supported values, see mediaSizes values. // returns a []string when successful func (m *PrinterCapabilities) GetMediaSizes()([]string) { val, err := m.GetBackingStore().Get("mediaSizes") @@ -1009,14 +1009,14 @@ func (m *PrinterCapabilities) SetLeftMargins(value []int32)() { panic(err) } } -// SetMediaColors sets the mediaColors property value. The media (i.e., paper) colors supported by the printer. +// SetMediaColors sets the mediaColors property value. The media (for example, paper) colors supported by the printer. func (m *PrinterCapabilities) SetMediaColors(value []string)() { err := m.GetBackingStore().Set("mediaColors", value) if err != nil { panic(err) } } -// SetMediaSizes sets the mediaSizes property value. The media sizes supported by the printer. Supports standard size names for ISO and ANSI media sizes. Valid values are in the following table. +// SetMediaSizes sets the mediaSizes property value. The media sizes supported by the printer. Supports standard size names for ISO and ANSI media sizes. For the list of supported values, see mediaSizes values. func (m *PrinterCapabilities) SetMediaSizes(value []string)() { err := m.GetBackingStore().Set("mediaSizes", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/process.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/process.go index f7d3f70bf2..bf50efb971 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/process.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/process.go @@ -228,7 +228,7 @@ func (m *Process) GetFileHash()(FileHashable) { } return nil } -// GetIntegrityLevel gets the integrityLevel property value. The integrity level of the process. Possible values are: unknown, untrusted, low, medium, high, system. +// GetIntegrityLevel gets the integrityLevel property value. The integrity level of the process. The possible values are: unknown, untrusted, low, medium, high, system. // returns a *ProcessIntegrityLevel when successful func (m *Process) GetIntegrityLevel()(*ProcessIntegrityLevel) { val, err := m.GetBackingStore().Get("integrityLevel") @@ -464,7 +464,7 @@ func (m *Process) SetFileHash(value FileHashable)() { panic(err) } } -// SetIntegrityLevel sets the integrityLevel property value. The integrity level of the process. Possible values are: unknown, untrusted, low, medium, high, system. +// SetIntegrityLevel sets the integrityLevel property value. The integrity level of the process. The possible values are: unknown, untrusted, low, medium, high, system. func (m *Process) SetIntegrityLevel(value *ProcessIntegrityLevel)() { err := m.GetBackingStore().Set("integrityLevel", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/process_conversation_metadata.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/process_conversation_metadata.go index a8c48151e3..425020fce5 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/process_conversation_metadata.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/process_conversation_metadata.go @@ -36,6 +36,30 @@ func (m *ProcessConversationMetadata) GetAccessedResources()([]string) { } return nil } +// GetAccessedResourcesV2 gets the accessedResources_v2 property value. The accessedResources_v2 property +// returns a []ResourceAccessDetailable when successful +func (m *ProcessConversationMetadata) GetAccessedResourcesV2()([]ResourceAccessDetailable) { + val, err := m.GetBackingStore().Get("accessedResources_v2") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ResourceAccessDetailable) + } + return nil +} +// GetAgents gets the agents property value. The agents property +// returns a []AiAgentInfoable when successful +func (m *ProcessConversationMetadata) GetAgents()([]AiAgentInfoable) { + val, err := m.GetBackingStore().Get("agents") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AiAgentInfoable) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *ProcessConversationMetadata) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { @@ -56,6 +80,38 @@ func (m *ProcessConversationMetadata) GetFieldDeserializers()(map[string]func(i8 } return nil } + res["accessedResources_v2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateResourceAccessDetailFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ResourceAccessDetailable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ResourceAccessDetailable) + } + } + m.SetAccessedResourcesV2(res) + } + return nil + } + res["agents"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAiAgentInfoFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AiAgentInfoable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AiAgentInfoable) + } + } + m.SetAgents(res) + } + return nil + } res["parentMessageId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -120,6 +176,30 @@ func (m *ProcessConversationMetadata) Serialize(writer i878a80d2330e89d26896388a return err } } + if m.GetAccessedResourcesV2() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAccessedResourcesV2())) + for i, v := range m.GetAccessedResourcesV2() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("accessedResources_v2", cast) + if err != nil { + return err + } + } + if m.GetAgents() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAgents())) + for i, v := range m.GetAgents() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("agents", cast) + if err != nil { + return err + } + } { err = writer.WriteStringValue("parentMessageId", m.GetParentMessageId()) if err != nil { @@ -147,6 +227,20 @@ func (m *ProcessConversationMetadata) SetAccessedResources(value []string)() { panic(err) } } +// SetAccessedResourcesV2 sets the accessedResources_v2 property value. The accessedResources_v2 property +func (m *ProcessConversationMetadata) SetAccessedResourcesV2(value []ResourceAccessDetailable)() { + err := m.GetBackingStore().Set("accessedResources_v2", value) + if err != nil { + panic(err) + } +} +// SetAgents sets the agents property value. The agents property +func (m *ProcessConversationMetadata) SetAgents(value []AiAgentInfoable)() { + err := m.GetBackingStore().Set("agents", value) + if err != nil { + panic(err) + } +} // SetParentMessageId sets the parentMessageId property value. Identifier of the parent message in a threaded conversation, if applicable. func (m *ProcessConversationMetadata) SetParentMessageId(value *string)() { err := m.GetBackingStore().Set("parentMessageId", value) @@ -165,9 +259,13 @@ type ProcessConversationMetadataable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable ProcessContentMetadataBaseable GetAccessedResources()([]string) + GetAccessedResourcesV2()([]ResourceAccessDetailable) + GetAgents()([]AiAgentInfoable) GetParentMessageId()(*string) GetPlugins()([]AiInteractionPluginable) SetAccessedResources(value []string)() + SetAccessedResourcesV2(value []ResourceAccessDetailable)() + SetAgents(value []AiAgentInfoable)() SetParentMessageId(value *string)() SetPlugins(value []AiInteractionPluginable)() } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/protection_policy_artifact_count.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/protection_policy_artifact_count.go new file mode 100644 index 0000000000..8504d3cef9 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/protection_policy_artifact_count.go @@ -0,0 +1,264 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ProtectionPolicyArtifactCount struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewProtectionPolicyArtifactCount instantiates a new ProtectionPolicyArtifactCount and sets the default values. +func NewProtectionPolicyArtifactCount()(*ProtectionPolicyArtifactCount) { + m := &ProtectionPolicyArtifactCount{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateProtectionPolicyArtifactCountFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateProtectionPolicyArtifactCountFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewProtectionPolicyArtifactCount(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ProtectionPolicyArtifactCount) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ProtectionPolicyArtifactCount) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetCompleted gets the completed property value. The completed property +// returns a *int32 when successful +func (m *ProtectionPolicyArtifactCount) GetCompleted()(*int32) { + val, err := m.GetBackingStore().Get("completed") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetFailed gets the failed property value. The failed property +// returns a *int32 when successful +func (m *ProtectionPolicyArtifactCount) GetFailed()(*int32) { + val, err := m.GetBackingStore().Get("failed") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ProtectionPolicyArtifactCount) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["completed"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetCompleted(val) + } + return nil + } + res["failed"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetFailed(val) + } + return nil + } + res["inProgress"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetInProgress(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["total"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTotal(val) + } + return nil + } + return res +} +// GetInProgress gets the inProgress property value. The inProgress property +// returns a *int32 when successful +func (m *ProtectionPolicyArtifactCount) GetInProgress()(*int32) { + val, err := m.GetBackingStore().Get("inProgress") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *ProtectionPolicyArtifactCount) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTotal gets the total property value. The total property +// returns a *int32 when successful +func (m *ProtectionPolicyArtifactCount) GetTotal()(*int32) { + val, err := m.GetBackingStore().Get("total") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *ProtectionPolicyArtifactCount) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteInt32Value("completed", m.GetCompleted()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("failed", m.GetFailed()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("inProgress", m.GetInProgress()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("total", m.GetTotal()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ProtectionPolicyArtifactCount) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ProtectionPolicyArtifactCount) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetCompleted sets the completed property value. The completed property +func (m *ProtectionPolicyArtifactCount) SetCompleted(value *int32)() { + err := m.GetBackingStore().Set("completed", value) + if err != nil { + panic(err) + } +} +// SetFailed sets the failed property value. The failed property +func (m *ProtectionPolicyArtifactCount) SetFailed(value *int32)() { + err := m.GetBackingStore().Set("failed", value) + if err != nil { + panic(err) + } +} +// SetInProgress sets the inProgress property value. The inProgress property +func (m *ProtectionPolicyArtifactCount) SetInProgress(value *int32)() { + err := m.GetBackingStore().Set("inProgress", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ProtectionPolicyArtifactCount) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetTotal sets the total property value. The total property +func (m *ProtectionPolicyArtifactCount) SetTotal(value *int32)() { + err := m.GetBackingStore().Set("total", value) + if err != nil { + panic(err) + } +} +type ProtectionPolicyArtifactCountable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetCompleted()(*int32) + GetFailed()(*int32) + GetInProgress()(*int32) + GetOdataType()(*string) + GetTotal()(*int32) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetCompleted(value *int32)() + SetFailed(value *int32)() + SetInProgress(value *int32)() + SetOdataType(value *string)() + SetTotal(value *int32)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/protection_policy_base.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/protection_policy_base.go index 4b1dbb49d3..fee9faf411 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/protection_policy_base.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/protection_policy_base.go @@ -115,6 +115,16 @@ func (m *ProtectionPolicyBase) GetFieldDeserializers()(map[string]func(i878a80d2 } return nil } + res["isEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsEnabled(val) + } + return nil + } res["lastModifiedBy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateIdentitySetFromDiscriminatorValue) if err != nil { @@ -135,6 +145,16 @@ func (m *ProtectionPolicyBase) GetFieldDeserializers()(map[string]func(i878a80d2 } return nil } + res["protectionPolicyArtifactCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateProtectionPolicyArtifactCountFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetProtectionPolicyArtifactCount(val.(ProtectionPolicyArtifactCountable)) + } + return nil + } res["retentionSettings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateRetentionSettingFromDiscriminatorValue) if err != nil { @@ -163,6 +183,18 @@ func (m *ProtectionPolicyBase) GetFieldDeserializers()(map[string]func(i878a80d2 } return res } +// GetIsEnabled gets the isEnabled property value. The isEnabled property +// returns a *bool when successful +func (m *ProtectionPolicyBase) GetIsEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetLastModifiedBy gets the lastModifiedBy property value. The identity of the person who last modified the policy. // returns a IdentitySetable when successful func (m *ProtectionPolicyBase) GetLastModifiedBy()(IdentitySetable) { @@ -187,6 +219,18 @@ func (m *ProtectionPolicyBase) GetLastModifiedDateTime()(*i336074805fc853987abe6 } return nil } +// GetProtectionPolicyArtifactCount gets the protectionPolicyArtifactCount property value. The protectionPolicyArtifactCount property +// returns a ProtectionPolicyArtifactCountable when successful +func (m *ProtectionPolicyBase) GetProtectionPolicyArtifactCount()(ProtectionPolicyArtifactCountable) { + val, err := m.GetBackingStore().Get("protectionPolicyArtifactCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(ProtectionPolicyArtifactCountable) + } + return nil +} // GetRetentionSettings gets the retentionSettings property value. Contains the retention setting details for the policy. // returns a []RetentionSettingable when successful func (m *ProtectionPolicyBase) GetRetentionSettings()([]RetentionSettingable) { @@ -235,6 +279,12 @@ func (m *ProtectionPolicyBase) Serialize(writer i878a80d2330e89d26896388a3f487ee return err } } + { + err = writer.WriteBoolValue("isEnabled", m.GetIsEnabled()) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("lastModifiedBy", m.GetLastModifiedBy()) if err != nil { @@ -247,6 +297,12 @@ func (m *ProtectionPolicyBase) Serialize(writer i878a80d2330e89d26896388a3f487ee return err } } + { + err = writer.WriteObjectValue("protectionPolicyArtifactCount", m.GetProtectionPolicyArtifactCount()) + if err != nil { + return err + } + } if m.GetRetentionSettings() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetRetentionSettings())) for i, v := range m.GetRetentionSettings() { @@ -289,6 +345,13 @@ func (m *ProtectionPolicyBase) SetDisplayName(value *string)() { panic(err) } } +// SetIsEnabled sets the isEnabled property value. The isEnabled property +func (m *ProtectionPolicyBase) SetIsEnabled(value *bool)() { + err := m.GetBackingStore().Set("isEnabled", value) + if err != nil { + panic(err) + } +} // SetLastModifiedBy sets the lastModifiedBy property value. The identity of the person who last modified the policy. func (m *ProtectionPolicyBase) SetLastModifiedBy(value IdentitySetable)() { err := m.GetBackingStore().Set("lastModifiedBy", value) @@ -303,6 +366,13 @@ func (m *ProtectionPolicyBase) SetLastModifiedDateTime(value *i336074805fc853987 panic(err) } } +// SetProtectionPolicyArtifactCount sets the protectionPolicyArtifactCount property value. The protectionPolicyArtifactCount property +func (m *ProtectionPolicyBase) SetProtectionPolicyArtifactCount(value ProtectionPolicyArtifactCountable)() { + err := m.GetBackingStore().Set("protectionPolicyArtifactCount", value) + if err != nil { + panic(err) + } +} // SetRetentionSettings sets the retentionSettings property value. Contains the retention setting details for the policy. func (m *ProtectionPolicyBase) SetRetentionSettings(value []RetentionSettingable)() { err := m.GetBackingStore().Set("retentionSettings", value) @@ -323,15 +393,19 @@ type ProtectionPolicyBaseable interface { GetCreatedBy()(IdentitySetable) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetDisplayName()(*string) + GetIsEnabled()(*bool) GetLastModifiedBy()(IdentitySetable) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetProtectionPolicyArtifactCount()(ProtectionPolicyArtifactCountable) GetRetentionSettings()([]RetentionSettingable) GetStatus()(*ProtectionPolicyStatus) SetCreatedBy(value IdentitySetable)() SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetDisplayName(value *string)() + SetIsEnabled(value *bool)() SetLastModifiedBy(value IdentitySetable)() SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetProtectionPolicyArtifactCount(value ProtectionPolicyArtifactCountable)() SetRetentionSettings(value []RetentionSettingable)() SetStatus(value *ProtectionPolicyStatus)() } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/protection_rule_base.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/protection_rule_base.go index 26c1dea49e..4ec79fd627 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/protection_rule_base.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/protection_rule_base.go @@ -157,7 +157,7 @@ func (m *ProtectionRuleBase) GetFieldDeserializers()(map[string]func(i878a80d233 } return res } -// GetIsAutoApplyEnabled gets the isAutoApplyEnabled property value. The isAutoApplyEnabled property +// GetIsAutoApplyEnabled gets the isAutoApplyEnabled property value. true indicates that the protection rule is dynamic; false that it's static. // returns a *bool when successful func (m *ProtectionRuleBase) GetIsAutoApplyEnabled()(*bool) { val, err := m.GetBackingStore().Get("isAutoApplyEnabled") @@ -193,7 +193,7 @@ func (m *ProtectionRuleBase) GetLastModifiedDateTime()(*i336074805fc853987abe6f7 } return nil } -// GetStatus gets the status property value. The status of the protection rule. The possible values are: draft, active, completed, completedWithErrors, unknownFutureValue. The draft member is currently unsupported. +// GetStatus gets the status property value. The status of the protection rule. The possible values are: draft, active, completed, completedWithErrors, unknownFutureValue, updateRequested, deleteRequested. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: updateRequested , deleteRequested. The draft member is currently unsupported. // returns a *ProtectionRuleStatus when successful func (m *ProtectionRuleBase) GetStatus()(*ProtectionRuleStatus) { val, err := m.GetBackingStore().Get("status") @@ -277,7 +277,7 @@ func (m *ProtectionRuleBase) SetError(value PublicErrorable)() { panic(err) } } -// SetIsAutoApplyEnabled sets the isAutoApplyEnabled property value. The isAutoApplyEnabled property +// SetIsAutoApplyEnabled sets the isAutoApplyEnabled property value. true indicates that the protection rule is dynamic; false that it's static. func (m *ProtectionRuleBase) SetIsAutoApplyEnabled(value *bool)() { err := m.GetBackingStore().Set("isAutoApplyEnabled", value) if err != nil { @@ -298,7 +298,7 @@ func (m *ProtectionRuleBase) SetLastModifiedDateTime(value *i336074805fc853987ab panic(err) } } -// SetStatus sets the status property value. The status of the protection rule. The possible values are: draft, active, completed, completedWithErrors, unknownFutureValue. The draft member is currently unsupported. +// SetStatus sets the status property value. The status of the protection rule. The possible values are: draft, active, completed, completedWithErrors, unknownFutureValue, updateRequested, deleteRequested. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: updateRequested , deleteRequested. The draft member is currently unsupported. func (m *ProtectionRuleBase) SetStatus(value *ProtectionRuleStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/protection_rule_status.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/protection_rule_status.go index 8aa10a92d4..6d163cc745 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/protection_rule_status.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/protection_rule_status.go @@ -10,10 +10,12 @@ const ( COMPLETED_PROTECTIONRULESTATUS COMPLETEDWITHERRORS_PROTECTIONRULESTATUS UNKNOWNFUTUREVALUE_PROTECTIONRULESTATUS + UPDATEREQUESTED_PROTECTIONRULESTATUS + DELETEREQUESTED_PROTECTIONRULESTATUS ) func (i ProtectionRuleStatus) String() string { - return []string{"draft", "active", "completed", "completedWithErrors", "unknownFutureValue"}[i] + return []string{"draft", "active", "completed", "completedWithErrors", "unknownFutureValue", "updateRequested", "deleteRequested"}[i] } func ParseProtectionRuleStatus(v string) (any, error) { result := DRAFT_PROTECTIONRULESTATUS @@ -28,6 +30,10 @@ func ParseProtectionRuleStatus(v string) (any, error) { result = COMPLETEDWITHERRORS_PROTECTIONRULESTATUS case "unknownFutureValue": result = UNKNOWNFUTUREVALUE_PROTECTIONRULESTATUS + case "updateRequested": + result = UPDATEREQUESTED_PROTECTIONRULESTATUS + case "deleteRequested": + result = DELETEREQUESTED_PROTECTIONRULESTATUS default: return nil, nil } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/protection_source.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/protection_source.go new file mode 100644 index 0000000000..47237b4028 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/protection_source.go @@ -0,0 +1,57 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +import ( + "math" + "strings" +) +type ProtectionSource int + +const ( + NONE_PROTECTIONSOURCE = 1 + MANUAL_PROTECTIONSOURCE = 2 + DYNAMICRULE_PROTECTIONSOURCE = 4 + UNKNOWNFUTUREVALUE_PROTECTIONSOURCE = 8 +) + +func (i ProtectionSource) String() string { + var values []string + options := []string{"none", "manual", "dynamicRule", "unknownFutureValue"} + for p := 0; p < 4; p++ { + mantis := ProtectionSource(int(math.Pow(2, float64(p)))) + if i&mantis == mantis { + values = append(values, options[p]) + } + } + return strings.Join(values, ",") +} +func ParseProtectionSource(v string) (any, error) { + var result ProtectionSource + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_PROTECTIONSOURCE + case "manual": + result |= MANUAL_PROTECTIONSOURCE + case "dynamicRule": + result |= DYNAMICRULE_PROTECTIONSOURCE + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_PROTECTIONSOURCE + default: + return nil, nil + } + } + return &result, nil +} +func SerializeProtectionSource(values []ProtectionSource) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ProtectionSource) isMultiValue() bool { + return true +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/protection_unit_base.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/protection_unit_base.go index e8d69cd08d..ee5eb39a1e 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/protection_unit_base.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/protection_unit_base.go @@ -135,6 +135,16 @@ func (m *ProtectionUnitBase) GetFieldDeserializers()(map[string]func(i878a80d233 } return nil } + res["offboardRequestedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetOffboardRequestedDateTime(val) + } + return nil + } res["policyId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -145,6 +155,16 @@ func (m *ProtectionUnitBase) GetFieldDeserializers()(map[string]func(i878a80d233 } return nil } + res["protectionSources"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseProtectionSource) + if err != nil { + return err + } + if val != nil { + m.SetProtectionSources(val.(*ProtectionSource)) + } + return nil + } res["status"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetEnumValue(ParseProtectionUnitStatus) if err != nil { @@ -181,6 +201,18 @@ func (m *ProtectionUnitBase) GetLastModifiedDateTime()(*i336074805fc853987abe6f7 } return nil } +// GetOffboardRequestedDateTime gets the offboardRequestedDateTime property value. The date and time when protection unit offboard was requested. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +// returns a *Time when successful +func (m *ProtectionUnitBase) GetOffboardRequestedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("offboardRequestedDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} // GetPolicyId gets the policyId property value. The unique identifier of the protection policy based on which protection unit was created. // returns a *string when successful func (m *ProtectionUnitBase) GetPolicyId()(*string) { @@ -193,6 +225,18 @@ func (m *ProtectionUnitBase) GetPolicyId()(*string) { } return nil } +// GetProtectionSources gets the protectionSources property value. The protectionSources property +// returns a *ProtectionSource when successful +func (m *ProtectionUnitBase) GetProtectionSources()(*ProtectionSource) { + val, err := m.GetBackingStore().Get("protectionSources") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ProtectionSource) + } + return nil +} // GetStatus gets the status property value. The status of the protection unit. The possible values are: protectRequested, protected, unprotectRequested, unprotected, removeRequested, unknownFutureValue, offboardRequested, offboarded, cancelOffboardRequested. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: offboardRequested, offboarded, cancelOffboardRequested. // returns a *ProtectionUnitStatus when successful func (m *ProtectionUnitBase) GetStatus()(*ProtectionUnitStatus) { @@ -241,12 +285,25 @@ func (m *ProtectionUnitBase) Serialize(writer i878a80d2330e89d26896388a3f487eef2 return err } } + { + err = writer.WriteTimeValue("offboardRequestedDateTime", m.GetOffboardRequestedDateTime()) + if err != nil { + return err + } + } { err = writer.WriteStringValue("policyId", m.GetPolicyId()) if err != nil { return err } } + if m.GetProtectionSources() != nil { + cast := (*m.GetProtectionSources()).String() + err = writer.WriteStringValue("protectionSources", &cast) + if err != nil { + return err + } + } if m.GetStatus() != nil { cast := (*m.GetStatus()).String() err = writer.WriteStringValue("status", &cast) @@ -291,6 +348,13 @@ func (m *ProtectionUnitBase) SetLastModifiedDateTime(value *i336074805fc853987ab panic(err) } } +// SetOffboardRequestedDateTime sets the offboardRequestedDateTime property value. The date and time when protection unit offboard was requested. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +func (m *ProtectionUnitBase) SetOffboardRequestedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("offboardRequestedDateTime", value) + if err != nil { + panic(err) + } +} // SetPolicyId sets the policyId property value. The unique identifier of the protection policy based on which protection unit was created. func (m *ProtectionUnitBase) SetPolicyId(value *string)() { err := m.GetBackingStore().Set("policyId", value) @@ -298,6 +362,13 @@ func (m *ProtectionUnitBase) SetPolicyId(value *string)() { panic(err) } } +// SetProtectionSources sets the protectionSources property value. The protectionSources property +func (m *ProtectionUnitBase) SetProtectionSources(value *ProtectionSource)() { + err := m.GetBackingStore().Set("protectionSources", value) + if err != nil { + panic(err) + } +} // SetStatus sets the status property value. The status of the protection unit. The possible values are: protectRequested, protected, unprotectRequested, unprotected, removeRequested, unknownFutureValue, offboardRequested, offboarded, cancelOffboardRequested. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: offboardRequested, offboarded, cancelOffboardRequested. func (m *ProtectionUnitBase) SetStatus(value *ProtectionUnitStatus)() { err := m.GetBackingStore().Set("status", value) @@ -313,13 +384,17 @@ type ProtectionUnitBaseable interface { GetError()(PublicErrorable) GetLastModifiedBy()(IdentitySetable) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetOffboardRequestedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetPolicyId()(*string) + GetProtectionSources()(*ProtectionSource) GetStatus()(*ProtectionUnitStatus) SetCreatedBy(value IdentitySetable)() SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetError(value PublicErrorable)() SetLastModifiedBy(value IdentitySetable)() SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetOffboardRequestedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetPolicyId(value *string)() + SetProtectionSources(value *ProtectionSource)() SetStatus(value *ProtectionUnitStatus)() } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/protection_unit_status.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/protection_unit_status.go index b6654528dc..921c53a67a 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/protection_unit_status.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/protection_unit_status.go @@ -11,10 +11,13 @@ const ( UNPROTECTED_PROTECTIONUNITSTATUS REMOVEREQUESTED_PROTECTIONUNITSTATUS UNKNOWNFUTUREVALUE_PROTECTIONUNITSTATUS + OFFBOARDREQUESTED_PROTECTIONUNITSTATUS + OFFBOARDED_PROTECTIONUNITSTATUS + CANCELOFFBOARDREQUESTED_PROTECTIONUNITSTATUS ) func (i ProtectionUnitStatus) String() string { - return []string{"protectRequested", "protected", "unprotectRequested", "unprotected", "removeRequested", "unknownFutureValue"}[i] + return []string{"protectRequested", "protected", "unprotectRequested", "unprotected", "removeRequested", "unknownFutureValue", "offboardRequested", "offboarded", "cancelOffboardRequested"}[i] } func ParseProtectionUnitStatus(v string) (any, error) { result := PROTECTREQUESTED_PROTECTIONUNITSTATUS @@ -31,6 +34,12 @@ func ParseProtectionUnitStatus(v string) (any, error) { result = REMOVEREQUESTED_PROTECTIONUNITSTATUS case "unknownFutureValue": result = UNKNOWNFUTUREVALUE_PROTECTIONUNITSTATUS + case "offboardRequested": + result = OFFBOARDREQUESTED_PROTECTIONUNITSTATUS + case "offboarded": + result = OFFBOARDED_PROTECTIONUNITSTATUS + case "cancelOffboardRequested": + result = CANCELOFFBOARDREQUESTED_PROTECTIONUNITSTATUS default: return nil, nil } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/provisioning_object_summary.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/provisioning_object_summary.go index bd7288a701..f06902131a 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/provisioning_object_summary.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/provisioning_object_summary.go @@ -285,7 +285,7 @@ func (m *ProvisioningObjectSummary) GetModifiedProperties()([]ModifiedPropertyab } return nil } -// GetProvisioningAction gets the provisioningAction property value. Indicates the activity name or the operation name. Possible values are: create, update, delete, stageddelete, disable, other and unknownFutureValue. For a list of activities logged, refer to Microsoft Entra activity list. Supports $filter (eq, contains). +// GetProvisioningAction gets the provisioningAction property value. Indicates the activity name or the operation name. The possible values are: create, update, delete, stageddelete, disable, other and unknownFutureValue. For a list of activities logged, refer to Microsoft Entra activity list. Supports $filter (eq, contains). // returns a *ProvisioningAction when successful func (m *ProvisioningObjectSummary) GetProvisioningAction()(*ProvisioningAction) { val, err := m.GetBackingStore().Get("provisioningAction") @@ -559,7 +559,7 @@ func (m *ProvisioningObjectSummary) SetModifiedProperties(value []ModifiedProper panic(err) } } -// SetProvisioningAction sets the provisioningAction property value. Indicates the activity name or the operation name. Possible values are: create, update, delete, stageddelete, disable, other and unknownFutureValue. For a list of activities logged, refer to Microsoft Entra activity list. Supports $filter (eq, contains). +// SetProvisioningAction sets the provisioningAction property value. Indicates the activity name or the operation name. The possible values are: create, update, delete, stageddelete, disable, other and unknownFutureValue. For a list of activities logged, refer to Microsoft Entra activity list. Supports $filter (eq, contains). func (m *ProvisioningObjectSummary) SetProvisioningAction(value *ProvisioningAction)() { err := m.GetBackingStore().Set("provisioningAction", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/provisioning_status_info.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/provisioning_status_info.go index a71720f49b..b92d2611ad 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/provisioning_status_info.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/provisioning_status_info.go @@ -103,7 +103,7 @@ func (m *ProvisioningStatusInfo) GetOdataType()(*string) { } return nil } -// GetStatus gets the status property value. Possible values are: success, warning, failure, skipped, unknownFutureValue. +// GetStatus gets the status property value. The possible values are: success, warning, failure, skipped, unknownFutureValue. // returns a *ProvisioningResult when successful func (m *ProvisioningStatusInfo) GetStatus()(*ProvisioningResult) { val, err := m.GetBackingStore().Get("status") @@ -169,7 +169,7 @@ func (m *ProvisioningStatusInfo) SetOdataType(value *string)() { panic(err) } } -// SetStatus sets the status property value. Possible values are: success, warning, failure, skipped, unknownFutureValue. +// SetStatus sets the status property value. The possible values are: success, warning, failure, skipped, unknownFutureValue. func (m *ProvisioningStatusInfo) SetStatus(value *ProvisioningResult)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/provisioning_step.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/provisioning_step.go index e4e161fb93..99373b8caa 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/provisioning_step.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/provisioning_step.go @@ -157,7 +157,7 @@ func (m *ProvisioningStep) GetOdataType()(*string) { } return nil } -// GetProvisioningStepType gets the provisioningStepType property value. Type of step. Possible values are: import, scoping, matching, processing, referenceResolution, export, unknownFutureValue. +// GetProvisioningStepType gets the provisioningStepType property value. Type of step. The possible values are: import, scoping, matching, processing, referenceResolution, export, unknownFutureValue. // returns a *ProvisioningStepType when successful func (m *ProvisioningStep) GetProvisioningStepType()(*ProvisioningStepType) { val, err := m.GetBackingStore().Get("provisioningStepType") @@ -169,7 +169,7 @@ func (m *ProvisioningStep) GetProvisioningStepType()(*ProvisioningStepType) { } return nil } -// GetStatus gets the status property value. Status of the step. Possible values are: success, warning, failure, skipped, unknownFutureValue. +// GetStatus gets the status property value. Status of the step. The possible values are: success, warning, failure, skipped, unknownFutureValue. // returns a *ProvisioningResult when successful func (m *ProvisioningStep) GetStatus()(*ProvisioningResult) { val, err := m.GetBackingStore().Get("status") @@ -268,14 +268,14 @@ func (m *ProvisioningStep) SetOdataType(value *string)() { panic(err) } } -// SetProvisioningStepType sets the provisioningStepType property value. Type of step. Possible values are: import, scoping, matching, processing, referenceResolution, export, unknownFutureValue. +// SetProvisioningStepType sets the provisioningStepType property value. Type of step. The possible values are: import, scoping, matching, processing, referenceResolution, export, unknownFutureValue. func (m *ProvisioningStep) SetProvisioningStepType(value *ProvisioningStepType)() { err := m.GetBackingStore().Set("provisioningStepType", value) if err != nil { panic(err) } } -// SetStatus sets the status property value. Status of the step. Possible values are: success, warning, failure, skipped, unknownFutureValue. +// SetStatus sets the status property value. Status of the step. The possible values are: success, warning, failure, skipped, unknownFutureValue. func (m *ProvisioningStep) SetStatus(value *ProvisioningResult)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/reading_coach_passage.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/reading_coach_passage.go new file mode 100644 index 0000000000..dacc70e34a --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/reading_coach_passage.go @@ -0,0 +1,383 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ReadingCoachPassage struct { + Entity +} +// NewReadingCoachPassage instantiates a new ReadingCoachPassage and sets the default values. +func NewReadingCoachPassage()(*ReadingCoachPassage) { + m := &ReadingCoachPassage{ + Entity: *NewEntity(), + } + return m +} +// CreateReadingCoachPassageFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateReadingCoachPassageFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewReadingCoachPassage(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ReadingCoachPassage) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["isReadingCompleted"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsReadingCompleted(val) + } + return nil + } + res["languageTag"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetLanguageTag(val) + } + return nil + } + res["practicedAtDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetPracticedAtDateTime(val) + } + return nil + } + res["practiceWords"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetPracticeWords(res) + } + return nil + } + res["storyType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseReadingCoachStoryType) + if err != nil { + return err + } + if val != nil { + m.SetStoryType(val.(*ReadingCoachStoryType)) + } + return nil + } + res["studentId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetStudentId(val) + } + return nil + } + res["timeSpentReadingInSeconds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetFloat64Value() + if err != nil { + return err + } + if val != nil { + m.SetTimeSpentReadingInSeconds(val) + } + return nil + } + res["wordsAccuracyPercentage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetFloat64Value() + if err != nil { + return err + } + if val != nil { + m.SetWordsAccuracyPercentage(val) + } + return nil + } + res["wordsPerMinute"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetFloat64Value() + if err != nil { + return err + } + if val != nil { + m.SetWordsPerMinute(val) + } + return nil + } + return res +} +// GetIsReadingCompleted gets the isReadingCompleted property value. Indicates if the reading passage was completed. +// returns a *bool when successful +func (m *ReadingCoachPassage) GetIsReadingCompleted()(*bool) { + val, err := m.GetBackingStore().Get("isReadingCompleted") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetLanguageTag gets the languageTag property value. The language of the reading passage. +// returns a *string when successful +func (m *ReadingCoachPassage) GetLanguageTag()(*string) { + val, err := m.GetBackingStore().Get("languageTag") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPracticedAtDateTime gets the practicedAtDateTime property value. The date and time when the Reading Coach passage was practiced. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +// returns a *Time when successful +func (m *ReadingCoachPassage) GetPracticedAtDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("practicedAtDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetPracticeWords gets the practiceWords property value. The list of challenging words for the student that they can practice further. +// returns a []string when successful +func (m *ReadingCoachPassage) GetPracticeWords()([]string) { + val, err := m.GetBackingStore().Get("practiceWords") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetStoryType gets the storyType property value. The storyType property +// returns a *ReadingCoachStoryType when successful +func (m *ReadingCoachPassage) GetStoryType()(*ReadingCoachStoryType) { + val, err := m.GetBackingStore().Get("storyType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ReadingCoachStoryType) + } + return nil +} +// GetStudentId gets the studentId property value. ID of the student that practiced the reading passage. +// returns a *string when successful +func (m *ReadingCoachPassage) GetStudentId()(*string) { + val, err := m.GetBackingStore().Get("studentId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTimeSpentReadingInSeconds gets the timeSpentReadingInSeconds property value. The time the student spent reading in seconds. +// returns a *float64 when successful +func (m *ReadingCoachPassage) GetTimeSpentReadingInSeconds()(*float64) { + val, err := m.GetBackingStore().Get("timeSpentReadingInSeconds") + if err != nil { + panic(err) + } + if val != nil { + return val.(*float64) + } + return nil +} +// GetWordsAccuracyPercentage gets the wordsAccuracyPercentage property value. The percentage of words that the student read correctly. +// returns a *float64 when successful +func (m *ReadingCoachPassage) GetWordsAccuracyPercentage()(*float64) { + val, err := m.GetBackingStore().Get("wordsAccuracyPercentage") + if err != nil { + panic(err) + } + if val != nil { + return val.(*float64) + } + return nil +} +// GetWordsPerMinute gets the wordsPerMinute property value. The rate the student read at in words per minute. +// returns a *float64 when successful +func (m *ReadingCoachPassage) GetWordsPerMinute()(*float64) { + val, err := m.GetBackingStore().Get("wordsPerMinute") + if err != nil { + panic(err) + } + if val != nil { + return val.(*float64) + } + return nil +} +// Serialize serializes information the current object +func (m *ReadingCoachPassage) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteBoolValue("isReadingCompleted", m.GetIsReadingCompleted()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("languageTag", m.GetLanguageTag()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("practicedAtDateTime", m.GetPracticedAtDateTime()) + if err != nil { + return err + } + } + if m.GetPracticeWords() != nil { + err = writer.WriteCollectionOfStringValues("practiceWords", m.GetPracticeWords()) + if err != nil { + return err + } + } + if m.GetStoryType() != nil { + cast := (*m.GetStoryType()).String() + err = writer.WriteStringValue("storyType", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("studentId", m.GetStudentId()) + if err != nil { + return err + } + } + { + err = writer.WriteFloat64Value("timeSpentReadingInSeconds", m.GetTimeSpentReadingInSeconds()) + if err != nil { + return err + } + } + { + err = writer.WriteFloat64Value("wordsAccuracyPercentage", m.GetWordsAccuracyPercentage()) + if err != nil { + return err + } + } + { + err = writer.WriteFloat64Value("wordsPerMinute", m.GetWordsPerMinute()) + if err != nil { + return err + } + } + return nil +} +// SetIsReadingCompleted sets the isReadingCompleted property value. Indicates if the reading passage was completed. +func (m *ReadingCoachPassage) SetIsReadingCompleted(value *bool)() { + err := m.GetBackingStore().Set("isReadingCompleted", value) + if err != nil { + panic(err) + } +} +// SetLanguageTag sets the languageTag property value. The language of the reading passage. +func (m *ReadingCoachPassage) SetLanguageTag(value *string)() { + err := m.GetBackingStore().Set("languageTag", value) + if err != nil { + panic(err) + } +} +// SetPracticedAtDateTime sets the practicedAtDateTime property value. The date and time when the Reading Coach passage was practiced. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +func (m *ReadingCoachPassage) SetPracticedAtDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("practicedAtDateTime", value) + if err != nil { + panic(err) + } +} +// SetPracticeWords sets the practiceWords property value. The list of challenging words for the student that they can practice further. +func (m *ReadingCoachPassage) SetPracticeWords(value []string)() { + err := m.GetBackingStore().Set("practiceWords", value) + if err != nil { + panic(err) + } +} +// SetStoryType sets the storyType property value. The storyType property +func (m *ReadingCoachPassage) SetStoryType(value *ReadingCoachStoryType)() { + err := m.GetBackingStore().Set("storyType", value) + if err != nil { + panic(err) + } +} +// SetStudentId sets the studentId property value. ID of the student that practiced the reading passage. +func (m *ReadingCoachPassage) SetStudentId(value *string)() { + err := m.GetBackingStore().Set("studentId", value) + if err != nil { + panic(err) + } +} +// SetTimeSpentReadingInSeconds sets the timeSpentReadingInSeconds property value. The time the student spent reading in seconds. +func (m *ReadingCoachPassage) SetTimeSpentReadingInSeconds(value *float64)() { + err := m.GetBackingStore().Set("timeSpentReadingInSeconds", value) + if err != nil { + panic(err) + } +} +// SetWordsAccuracyPercentage sets the wordsAccuracyPercentage property value. The percentage of words that the student read correctly. +func (m *ReadingCoachPassage) SetWordsAccuracyPercentage(value *float64)() { + err := m.GetBackingStore().Set("wordsAccuracyPercentage", value) + if err != nil { + panic(err) + } +} +// SetWordsPerMinute sets the wordsPerMinute property value. The rate the student read at in words per minute. +func (m *ReadingCoachPassage) SetWordsPerMinute(value *float64)() { + err := m.GetBackingStore().Set("wordsPerMinute", value) + if err != nil { + panic(err) + } +} +type ReadingCoachPassageable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetIsReadingCompleted()(*bool) + GetLanguageTag()(*string) + GetPracticedAtDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetPracticeWords()([]string) + GetStoryType()(*ReadingCoachStoryType) + GetStudentId()(*string) + GetTimeSpentReadingInSeconds()(*float64) + GetWordsAccuracyPercentage()(*float64) + GetWordsPerMinute()(*float64) + SetIsReadingCompleted(value *bool)() + SetLanguageTag(value *string)() + SetPracticedAtDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetPracticeWords(value []string)() + SetStoryType(value *ReadingCoachStoryType)() + SetStudentId(value *string)() + SetTimeSpentReadingInSeconds(value *float64)() + SetWordsAccuracyPercentage(value *float64)() + SetWordsPerMinute(value *float64)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/reading_coach_passage_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/reading_coach_passage_collection_response.go new file mode 100644 index 0000000000..2a6d3e187d --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/reading_coach_passage_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ReadingCoachPassageCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewReadingCoachPassageCollectionResponse instantiates a new ReadingCoachPassageCollectionResponse and sets the default values. +func NewReadingCoachPassageCollectionResponse()(*ReadingCoachPassageCollectionResponse) { + m := &ReadingCoachPassageCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateReadingCoachPassageCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateReadingCoachPassageCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewReadingCoachPassageCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ReadingCoachPassageCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateReadingCoachPassageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ReadingCoachPassageable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ReadingCoachPassageable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ReadingCoachPassageable when successful +func (m *ReadingCoachPassageCollectionResponse) GetValue()([]ReadingCoachPassageable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ReadingCoachPassageable) + } + return nil +} +// Serialize serializes information the current object +func (m *ReadingCoachPassageCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *ReadingCoachPassageCollectionResponse) SetValue(value []ReadingCoachPassageable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ReadingCoachPassageCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ReadingCoachPassageable) + SetValue(value []ReadingCoachPassageable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/reading_coach_story_type.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/reading_coach_story_type.go new file mode 100644 index 0000000000..1430cadd41 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/reading_coach_story_type.go @@ -0,0 +1,42 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type ReadingCoachStoryType int + +const ( + AIGENERATED_READINGCOACHSTORYTYPE ReadingCoachStoryType = iota + READWORKS_READINGCOACHSTORYTYPE + USERPROVIDED_READINGCOACHSTORYTYPE + UNKNOWNFUTUREVALUE_READINGCOACHSTORYTYPE +) + +func (i ReadingCoachStoryType) String() string { + return []string{"aiGenerated", "readWorks", "userProvided", "unknownFutureValue"}[i] +} +func ParseReadingCoachStoryType(v string) (any, error) { + result := AIGENERATED_READINGCOACHSTORYTYPE + switch v { + case "aiGenerated": + result = AIGENERATED_READINGCOACHSTORYTYPE + case "readWorks": + result = READWORKS_READINGCOACHSTORYTYPE + case "userProvided": + result = USERPROVIDED_READINGCOACHSTORYTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_READINGCOACHSTORYTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeReadingCoachStoryType(values []ReadingCoachStoryType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ReadingCoachStoryType) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/registry_key_state.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/registry_key_state.go index 189725a8f5..e8a2d575b1 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/registry_key_state.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/registry_key_state.go @@ -159,7 +159,7 @@ func (m *RegistryKeyState) GetFieldDeserializers()(map[string]func(i878a80d2330e } return res } -// GetHive gets the hive property value. A Windows registry hive : HKEYCURRENTCONFIG HKEYCURRENTUSER HKEYLOCALMACHINE/SAM HKEYLOCALMACHINE/Security HKEYLOCALMACHINE/Software HKEYLOCALMACHINE/System HKEY_USERS/.Default. Possible values are: unknown, currentConfig, currentUser, localMachineSam, localMachineSecurity, localMachineSoftware, localMachineSystem, usersDefault. +// GetHive gets the hive property value. A Windows registry hive : HKEYCURRENTCONFIG HKEYCURRENTUSER HKEYLOCALMACHINE/SAM HKEYLOCALMACHINE/Security HKEYLOCALMACHINE/Software HKEYLOCALMACHINE/System HKEY_USERS/.Default. The possible values are: unknown, currentConfig, currentUser, localMachineSam, localMachineSecurity, localMachineSoftware, localMachineSystem, usersDefault. // returns a *RegistryHive when successful func (m *RegistryKeyState) GetHive()(*RegistryHive) { val, err := m.GetBackingStore().Get("hive") @@ -231,7 +231,7 @@ func (m *RegistryKeyState) GetOldValueName()(*string) { } return nil } -// GetOperation gets the operation property value. Operation that changed the registry key name and/or value. Possible values are: unknown, create, modify, delete. +// GetOperation gets the operation property value. Operation that changed the registry key name and/or value. The possible values are: unknown, create, modify, delete. // returns a *RegistryOperation when successful func (m *RegistryKeyState) GetOperation()(*RegistryOperation) { val, err := m.GetBackingStore().Get("operation") @@ -279,7 +279,7 @@ func (m *RegistryKeyState) GetValueName()(*string) { } return nil } -// GetValueType gets the valueType property value. Registry key value type REGBINARY REGDWORD REGDWORDLITTLEENDIAN REGDWORDBIGENDIANREGEXPANDSZ REGLINK REGMULTISZ REGNONE REGQWORD REGQWORDLITTLEENDIAN REG_SZ Possible values are: unknown, binary, dword, dwordLittleEndian, dwordBigEndian, expandSz, link, multiSz, none, qword, qwordlittleEndian, sz. +// GetValueType gets the valueType property value. Registry key value type REGBINARY REGDWORD REGDWORDLITTLEENDIAN REGDWORDBIGENDIANREGEXPANDSZ REGLINK REGMULTISZ REGNONE REGQWORD REGQWORDLITTLEENDIAN REG_SZ The possible values are: unknown, binary, dword, dwordLittleEndian, dwordBigEndian, expandSz, link, multiSz, none, qword, qwordlittleEndian, sz. // returns a *RegistryValueType when successful func (m *RegistryKeyState) GetValueType()(*RegistryValueType) { val, err := m.GetBackingStore().Get("valueType") @@ -381,7 +381,7 @@ func (m *RegistryKeyState) SetAdditionalData(value map[string]any)() { func (m *RegistryKeyState) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetHive sets the hive property value. A Windows registry hive : HKEYCURRENTCONFIG HKEYCURRENTUSER HKEYLOCALMACHINE/SAM HKEYLOCALMACHINE/Security HKEYLOCALMACHINE/Software HKEYLOCALMACHINE/System HKEY_USERS/.Default. Possible values are: unknown, currentConfig, currentUser, localMachineSam, localMachineSecurity, localMachineSoftware, localMachineSystem, usersDefault. +// SetHive sets the hive property value. A Windows registry hive : HKEYCURRENTCONFIG HKEYCURRENTUSER HKEYLOCALMACHINE/SAM HKEYLOCALMACHINE/Security HKEYLOCALMACHINE/Software HKEYLOCALMACHINE/System HKEY_USERS/.Default. The possible values are: unknown, currentConfig, currentUser, localMachineSam, localMachineSecurity, localMachineSoftware, localMachineSystem, usersDefault. func (m *RegistryKeyState) SetHive(value *RegistryHive)() { err := m.GetBackingStore().Set("hive", value) if err != nil { @@ -423,7 +423,7 @@ func (m *RegistryKeyState) SetOldValueName(value *string)() { panic(err) } } -// SetOperation sets the operation property value. Operation that changed the registry key name and/or value. Possible values are: unknown, create, modify, delete. +// SetOperation sets the operation property value. Operation that changed the registry key name and/or value. The possible values are: unknown, create, modify, delete. func (m *RegistryKeyState) SetOperation(value *RegistryOperation)() { err := m.GetBackingStore().Set("operation", value) if err != nil { @@ -451,7 +451,7 @@ func (m *RegistryKeyState) SetValueName(value *string)() { panic(err) } } -// SetValueType sets the valueType property value. Registry key value type REGBINARY REGDWORD REGDWORDLITTLEENDIAN REGDWORDBIGENDIANREGEXPANDSZ REGLINK REGMULTISZ REGNONE REGQWORD REGQWORDLITTLEENDIAN REG_SZ Possible values are: unknown, binary, dword, dwordLittleEndian, dwordBigEndian, expandSz, link, multiSz, none, qword, qwordlittleEndian, sz. +// SetValueType sets the valueType property value. Registry key value type REGBINARY REGDWORD REGDWORDLITTLEENDIAN REGDWORDBIGENDIANREGEXPANDSZ REGLINK REGMULTISZ REGNONE REGQWORD REGQWORDLITTLEENDIAN REG_SZ The possible values are: unknown, binary, dword, dwordLittleEndian, dwordBigEndian, expandSz, link, multiSz, none, qword, qwordlittleEndian, sz. func (m *RegistryKeyState) SetValueType(value *RegistryValueType)() { err := m.GetBackingStore().Set("valueType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/remote_desktop_security_configuration.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/remote_desktop_security_configuration.go index b0e0dd590b..ba260060bb 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/remote_desktop_security_configuration.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/remote_desktop_security_configuration.go @@ -66,7 +66,7 @@ func (m *RemoteDesktopSecurityConfiguration) GetIsRemoteDesktopProtocolEnabled() } return nil } -// GetTargetDeviceGroups gets the targetDeviceGroups property value. The collection of target device groups that are associated with the RDS security configuration that will be enabled for SSO when a client connects to the target device over RDP using the new Microsoft Entra ID RDS authentication protocol. +// GetTargetDeviceGroups gets the targetDeviceGroups property value. The collection of target device groups that are associated with the RDS security configuration that will be enabled for SSO when a client connects to the target device over RDP using the new Microsoft Entra ID RDS authentication protocol.
85 being the top priority, 15 - 85 medium priority, and < 15 low priority. This score is generated using machine learning and is based on multiple factors, including severity, disruption impact, threat intelligence, alert types, asset criticality, threat analytics, incident rarity, and additional priority signals. The value can also be null which indicates the feature is not open for the tenant or the value of the score is pending calculation. +// returns a *int32 when successful +func (m *Incident) GetPriorityScore()(*int32) { + val, err := m.GetBackingStore().Get("priorityScore") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} // GetRedirectIncidentId gets the redirectIncidentId property value. Only populated in case an incident is grouped with another incident, as part of the logic that processes incidents. In such a case, the status property is redirected. // returns a *string when successful func (m *Incident) GetRedirectIncidentId()(*string) { @@ -564,6 +586,12 @@ func (m *Incident) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c01 return err } } + { + err = writer.WriteInt32Value("priorityScore", m.GetPriorityScore()) + if err != nil { + return err + } + } { err = writer.WriteStringValue("redirectIncidentId", m.GetRedirectIncidentId()) if err != nil { @@ -624,7 +652,7 @@ func (m *Incident) SetAssignedTo(value *string)() { panic(err) } } -// SetClassification sets the classification property value. The specification for the incident. Possible values are: unknown, falsePositive, truePositive, informationalExpectedActivity, unknownFutureValue. +// SetClassification sets the classification property value. The specification for the incident. The possible values are: unknown, falsePositive, truePositive, informationalExpectedActivity, unknownFutureValue. func (m *Incident) SetClassification(value *AlertClassification)() { err := m.GetBackingStore().Set("classification", value) if err != nil { @@ -659,7 +687,7 @@ func (m *Incident) SetDescription(value *string)() { panic(err) } } -// SetDetermination sets the determination property value. Specifies the determination of the incident. Possible values are: unknown, apt, malware, securityPersonnel, securityTesting, unwantedSoftware, other, multiStagedAttack, compromisedUser, phishing, maliciousUserActivity, clean, insufficientData, confirmedUserActivity, lineOfBusinessApplication, unknownFutureValue. +// SetDetermination sets the determination property value. Specifies the determination of the incident. The possible values are: unknown, apt, malware, securityPersonnel, securityTesting, unwantedSoftware, other, multiStagedAttack, compromisedUser, phishing, maliciousUserActivity, clean, insufficientData, confirmedUserActivity, lineOfBusinessApplication, unknownFutureValue. func (m *Incident) SetDetermination(value *AlertDetermination)() { err := m.GetBackingStore().Set("determination", value) if err != nil { @@ -694,6 +722,13 @@ func (m *Incident) SetLastUpdateDateTime(value *i336074805fc853987abe6f7fe3ad97a panic(err) } } +// SetPriorityScore sets the priorityScore property value. A priority score for the incident from 0 to 100, with > 85 being the top priority, 15 - 85 medium priority, and < 15 low priority. This score is generated using machine learning and is based on multiple factors, including severity, disruption impact, threat intelligence, alert types, asset criticality, threat analytics, incident rarity, and additional priority signals. The value can also be null which indicates the feature is not open for the tenant or the value of the score is pending calculation. +func (m *Incident) SetPriorityScore(value *int32)() { + err := m.GetBackingStore().Set("priorityScore", value) + if err != nil { + panic(err) + } +} // SetRedirectIncidentId sets the redirectIncidentId property value. Only populated in case an incident is grouped with another incident, as part of the logic that processes incidents. In such a case, the status property is redirected. func (m *Incident) SetRedirectIncidentId(value *string)() { err := m.GetBackingStore().Set("redirectIncidentId", value) @@ -758,6 +793,7 @@ type Incidentable interface { GetIncidentWebUrl()(*string) GetLastModifiedBy()(*string) GetLastUpdateDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetPriorityScore()(*int32) GetRedirectIncidentId()(*string) GetResolvingComment()(*string) GetSeverity()(*AlertSeverity) @@ -777,6 +813,7 @@ type Incidentable interface { SetIncidentWebUrl(value *string)() SetLastModifiedBy(value *string)() SetLastUpdateDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetPriorityScore(value *int32)() SetRedirectIncidentId(value *string)() SetResolvingComment(value *string)() SetSeverity(value *AlertSeverity)() diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/investigation_state.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/investigation_state.go new file mode 100644 index 0000000000..885b100413 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/investigation_state.go @@ -0,0 +1,87 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security +type InvestigationState int + +const ( + UNKNOWN_INVESTIGATIONSTATE InvestigationState = iota + TERMINATED_INVESTIGATIONSTATE + SUCCESSFULLYREMEDIATED_INVESTIGATIONSTATE + BENIGN_INVESTIGATIONSTATE + FAILED_INVESTIGATIONSTATE + PARTIALLYREMEDIATED_INVESTIGATIONSTATE + RUNNING_INVESTIGATIONSTATE + PENDINGAPPROVAL_INVESTIGATIONSTATE + PENDINGRESOURCE_INVESTIGATIONSTATE + QUEUED_INVESTIGATIONSTATE + INNERFAILURE_INVESTIGATIONSTATE + PREEXISTINGALERT_INVESTIGATIONSTATE + UNSUPPORTEDOS_INVESTIGATIONSTATE + UNSUPPORTEDALERTTYPE_INVESTIGATIONSTATE + SUPPRESSEDALERT_INVESTIGATIONSTATE + PARTIALLYINVESTIGATED_INVESTIGATIONSTATE + TERMINATEDBYUSER_INVESTIGATIONSTATE + TERMINATEDBYSYSTEM_INVESTIGATIONSTATE + UNKNOWNFUTUREVALUE_INVESTIGATIONSTATE +) + +func (i InvestigationState) String() string { + return []string{"unknown", "terminated", "successfullyRemediated", "benign", "failed", "partiallyRemediated", "running", "pendingApproval", "pendingResource", "queued", "innerFailure", "preexistingAlert", "unsupportedOs", "unsupportedAlertType", "suppressedAlert", "partiallyInvestigated", "terminatedByUser", "terminatedBySystem", "unknownFutureValue"}[i] +} +func ParseInvestigationState(v string) (any, error) { + result := UNKNOWN_INVESTIGATIONSTATE + switch v { + case "unknown": + result = UNKNOWN_INVESTIGATIONSTATE + case "terminated": + result = TERMINATED_INVESTIGATIONSTATE + case "successfullyRemediated": + result = SUCCESSFULLYREMEDIATED_INVESTIGATIONSTATE + case "benign": + result = BENIGN_INVESTIGATIONSTATE + case "failed": + result = FAILED_INVESTIGATIONSTATE + case "partiallyRemediated": + result = PARTIALLYREMEDIATED_INVESTIGATIONSTATE + case "running": + result = RUNNING_INVESTIGATIONSTATE + case "pendingApproval": + result = PENDINGAPPROVAL_INVESTIGATIONSTATE + case "pendingResource": + result = PENDINGRESOURCE_INVESTIGATIONSTATE + case "queued": + result = QUEUED_INVESTIGATIONSTATE + case "innerFailure": + result = INNERFAILURE_INVESTIGATIONSTATE + case "preexistingAlert": + result = PREEXISTINGALERT_INVESTIGATIONSTATE + case "unsupportedOs": + result = UNSUPPORTEDOS_INVESTIGATIONSTATE + case "unsupportedAlertType": + result = UNSUPPORTEDALERTTYPE_INVESTIGATIONSTATE + case "suppressedAlert": + result = SUPPRESSEDALERT_INVESTIGATIONSTATE + case "partiallyInvestigated": + result = PARTIALLYINVESTIGATED_INVESTIGATIONSTATE + case "terminatedByUser": + result = TERMINATEDBYUSER_INVESTIGATIONSTATE + case "terminatedBySystem": + result = TERMINATEDBYSYSTEM_INVESTIGATIONSTATE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_INVESTIGATIONSTATE + default: + return nil, nil + } + return &result, nil +} +func SerializeInvestigationState(values []InvestigationState) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i InvestigationState) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/invoke_action_result.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/invoke_action_result.go new file mode 100644 index 0000000000..326f94e320 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/invoke_action_result.go @@ -0,0 +1,266 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type InvokeActionResult struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewInvokeActionResult instantiates a new InvokeActionResult and sets the default values. +func NewInvokeActionResult()(*InvokeActionResult) { + m := &InvokeActionResult{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateInvokeActionResultFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateInvokeActionResultFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewInvokeActionResult(), nil +} +// GetAccountId gets the accountId property value. The account ID. +// returns a *string when successful +func (m *InvokeActionResult) GetAccountId()(*string) { + val, err := m.GetBackingStore().Get("accountId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetAction gets the action property value. The action property +// returns a *Action when successful +func (m *InvokeActionResult) GetAction()(*Action) { + val, err := m.GetBackingStore().Get("action") + if err != nil { + panic(err) + } + if val != nil { + return val.(*Action) + } + return nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *InvokeActionResult) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *InvokeActionResult) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetCorrelationId gets the correlationId property value. The unique identifier for tracking the request. +// returns a *string when successful +func (m *InvokeActionResult) GetCorrelationId()(*string) { + val, err := m.GetBackingStore().Get("correlationId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *InvokeActionResult) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["accountId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetAccountId(val) + } + return nil + } + res["action"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAction) + if err != nil { + return err + } + if val != nil { + m.SetAction(val.(*Action)) + } + return nil + } + res["correlationId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCorrelationId(val) + } + return nil + } + res["identityProvider"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseIdentityProvider) + if err != nil { + return err + } + if val != nil { + m.SetIdentityProvider(val.(*IdentityProvider)) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetIdentityProvider gets the identityProvider property value. The identityProvider property +// returns a *IdentityProvider when successful +func (m *InvokeActionResult) GetIdentityProvider()(*IdentityProvider) { + val, err := m.GetBackingStore().Get("identityProvider") + if err != nil { + panic(err) + } + if val != nil { + return val.(*IdentityProvider) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *InvokeActionResult) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *InvokeActionResult) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("accountId", m.GetAccountId()) + if err != nil { + return err + } + } + if m.GetAction() != nil { + cast := (*m.GetAction()).String() + err := writer.WriteStringValue("action", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("correlationId", m.GetCorrelationId()) + if err != nil { + return err + } + } + if m.GetIdentityProvider() != nil { + cast := (*m.GetIdentityProvider()).String() + err := writer.WriteStringValue("identityProvider", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAccountId sets the accountId property value. The account ID. +func (m *InvokeActionResult) SetAccountId(value *string)() { + err := m.GetBackingStore().Set("accountId", value) + if err != nil { + panic(err) + } +} +// SetAction sets the action property value. The action property +func (m *InvokeActionResult) SetAction(value *Action)() { + err := m.GetBackingStore().Set("action", value) + if err != nil { + panic(err) + } +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *InvokeActionResult) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *InvokeActionResult) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetCorrelationId sets the correlationId property value. The unique identifier for tracking the request. +func (m *InvokeActionResult) SetCorrelationId(value *string)() { + err := m.GetBackingStore().Set("correlationId", value) + if err != nil { + panic(err) + } +} +// SetIdentityProvider sets the identityProvider property value. The identityProvider property +func (m *InvokeActionResult) SetIdentityProvider(value *IdentityProvider)() { + err := m.GetBackingStore().Set("identityProvider", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *InvokeActionResult) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type InvokeActionResultable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAccountId()(*string) + GetAction()(*Action) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetCorrelationId()(*string) + GetIdentityProvider()(*IdentityProvider) + GetOdataType()(*string) + SetAccountId(value *string)() + SetAction(value *Action)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetCorrelationId(value *string)() + SetIdentityProvider(value *IdentityProvider)() + SetOdataType(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/kubernetes_cluster_evidence.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/kubernetes_cluster_evidence.go index c52f0060f7..d47d9b6dc5 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/kubernetes_cluster_evidence.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/kubernetes_cluster_evidence.go @@ -116,7 +116,7 @@ func (m *KubernetesClusterEvidence) GetName()(*string) { } return nil } -// GetPlatform gets the platform property value. The platform the cluster runs on. Possible values are: unknown, aks, eks, gke, arc, unknownFutureValue. +// GetPlatform gets the platform property value. The platform the cluster runs on. The possible values are: unknown, aks, eks, gke, arc, unknownFutureValue. // returns a *KubernetesPlatform when successful func (m *KubernetesClusterEvidence) GetPlatform()(*KubernetesPlatform) { val, err := m.GetBackingStore().Get("platform") @@ -200,7 +200,7 @@ func (m *KubernetesClusterEvidence) SetName(value *string)() { panic(err) } } -// SetPlatform sets the platform property value. The platform the cluster runs on. Possible values are: unknown, aks, eks, gke, arc, unknownFutureValue. +// SetPlatform sets the platform property value. The platform the cluster runs on. The possible values are: unknown, aks, eks, gke, arc, unknownFutureValue. func (m *KubernetesClusterEvidence) SetPlatform(value *KubernetesPlatform)() { err := m.GetBackingStore().Set("platform", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/kubernetes_service_port.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/kubernetes_service_port.go index 08580a59b6..81e0a58414 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/kubernetes_service_port.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/kubernetes_service_port.go @@ -179,7 +179,7 @@ func (m *KubernetesServicePort) GetPort()(*int32) { } return nil } -// GetProtocol gets the protocol property value. The protocol name. Possible values are: udp, tcp, sctp, unknownFutureValue. +// GetProtocol gets the protocol property value. The protocol name. The possible values are: udp, tcp, sctp, unknownFutureValue. // returns a *ContainerPortProtocol when successful func (m *KubernetesServicePort) GetProtocol()(*ContainerPortProtocol) { val, err := m.GetBackingStore().Get("protocol") @@ -302,7 +302,7 @@ func (m *KubernetesServicePort) SetPort(value *int32)() { panic(err) } } -// SetProtocol sets the protocol property value. The protocol name. Possible values are: udp, tcp, sctp, unknownFutureValue. +// SetProtocol sets the protocol property value. The protocol name. The possible values are: udp, tcp, sctp, unknownFutureValue. func (m *KubernetesServicePort) SetProtocol(value *ContainerPortProtocol)() { err := m.GetBackingStore().Set("protocol", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/mailbox_configuration_evidence.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/mailbox_configuration_evidence.go index 974ca9c25d..974709736b 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/mailbox_configuration_evidence.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/mailbox_configuration_evidence.go @@ -25,7 +25,7 @@ func NewMailboxConfigurationEvidence()(*MailboxConfigurationEvidence) { func CreateMailboxConfigurationEvidenceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewMailboxConfigurationEvidence(), nil } -// GetConfigurationId gets the configurationId property value. The configurationId property +// GetConfigurationId gets the configurationId property value. The unique identifier of the mailbox configuration. // returns a *string when successful func (m *MailboxConfigurationEvidence) GetConfigurationId()(*string) { val, err := m.GetBackingStore().Get("configurationId") @@ -37,7 +37,7 @@ func (m *MailboxConfigurationEvidence) GetConfigurationId()(*string) { } return nil } -// GetConfigurationType gets the configurationType property value. The configurationType property +// GetConfigurationType gets the configurationType property value. The type of mailbox configuration. The possible values are: mailForwardingRule, owaSettings, ewsSettings, mailDelegation, userInboxRule, unknownFutureValue. // returns a *MailboxConfigurationType when successful func (m *MailboxConfigurationEvidence) GetConfigurationType()(*MailboxConfigurationType) { val, err := m.GetBackingStore().Get("configurationType") @@ -49,7 +49,7 @@ func (m *MailboxConfigurationEvidence) GetConfigurationType()(*MailboxConfigurat } return nil } -// GetDisplayName gets the displayName property value. The displayName property +// GetDisplayName gets the displayName property value. The display name of the mailbox. // returns a *string when successful func (m *MailboxConfigurationEvidence) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -61,7 +61,7 @@ func (m *MailboxConfigurationEvidence) GetDisplayName()(*string) { } return nil } -// GetExternalDirectoryObjectId gets the externalDirectoryObjectId property value. The externalDirectoryObjectId property +// GetExternalDirectoryObjectId gets the externalDirectoryObjectId property value. The external directory object identifier of the mailbox. // returns a *UUID when successful func (m *MailboxConfigurationEvidence) GetExternalDirectoryObjectId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) { val, err := m.GetBackingStore().Get("externalDirectoryObjectId") @@ -139,7 +139,7 @@ func (m *MailboxConfigurationEvidence) GetFieldDeserializers()(map[string]func(i } return res } -// GetMailboxPrimaryAddress gets the mailboxPrimaryAddress property value. The mailboxPrimaryAddress property +// GetMailboxPrimaryAddress gets the mailboxPrimaryAddress property value. The primary email address of the mailbox. // returns a *string when successful func (m *MailboxConfigurationEvidence) GetMailboxPrimaryAddress()(*string) { val, err := m.GetBackingStore().Get("mailboxPrimaryAddress") @@ -151,7 +151,7 @@ func (m *MailboxConfigurationEvidence) GetMailboxPrimaryAddress()(*string) { } return nil } -// GetUpn gets the upn property value. The upn property +// GetUpn gets the upn property value. The user principal name (UPN) of the mailbox. // returns a *string when successful func (m *MailboxConfigurationEvidence) GetUpn()(*string) { val, err := m.GetBackingStore().Get("upn") @@ -208,42 +208,42 @@ func (m *MailboxConfigurationEvidence) Serialize(writer i878a80d2330e89d26896388 } return nil } -// SetConfigurationId sets the configurationId property value. The configurationId property +// SetConfigurationId sets the configurationId property value. The unique identifier of the mailbox configuration. func (m *MailboxConfigurationEvidence) SetConfigurationId(value *string)() { err := m.GetBackingStore().Set("configurationId", value) if err != nil { panic(err) } } -// SetConfigurationType sets the configurationType property value. The configurationType property +// SetConfigurationType sets the configurationType property value. The type of mailbox configuration. The possible values are: mailForwardingRule, owaSettings, ewsSettings, mailDelegation, userInboxRule, unknownFutureValue. func (m *MailboxConfigurationEvidence) SetConfigurationType(value *MailboxConfigurationType)() { err := m.GetBackingStore().Set("configurationType", value) if err != nil { panic(err) } } -// SetDisplayName sets the displayName property value. The displayName property +// SetDisplayName sets the displayName property value. The display name of the mailbox. func (m *MailboxConfigurationEvidence) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetExternalDirectoryObjectId sets the externalDirectoryObjectId property value. The externalDirectoryObjectId property +// SetExternalDirectoryObjectId sets the externalDirectoryObjectId property value. The external directory object identifier of the mailbox. func (m *MailboxConfigurationEvidence) SetExternalDirectoryObjectId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() { err := m.GetBackingStore().Set("externalDirectoryObjectId", value) if err != nil { panic(err) } } -// SetMailboxPrimaryAddress sets the mailboxPrimaryAddress property value. The mailboxPrimaryAddress property +// SetMailboxPrimaryAddress sets the mailboxPrimaryAddress property value. The primary email address of the mailbox. func (m *MailboxConfigurationEvidence) SetMailboxPrimaryAddress(value *string)() { err := m.GetBackingStore().Set("mailboxPrimaryAddress", value) if err != nil { panic(err) } } -// SetUpn sets the upn property value. The upn property +// SetUpn sets the upn property value. The user principal name (UPN) of the mailbox. func (m *MailboxConfigurationEvidence) SetUpn(value *string)() { err := m.GetBackingStore().Set("upn", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/recipient_type.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/recipient_type.go new file mode 100644 index 0000000000..70ecb8ddb2 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/recipient_type.go @@ -0,0 +1,54 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security +import ( + "math" + "strings" +) +type RecipientType int + +const ( + USER_RECIPIENTTYPE = 1 + ROLEGROUP_RECIPIENTTYPE = 2 + UNKNOWNFUTUREVALUE_RECIPIENTTYPE = 4 +) + +func (i RecipientType) String() string { + var values []string + options := []string{"user", "roleGroup", "unknownFutureValue"} + for p := 0; p < 3; p++ { + mantis := RecipientType(int(math.Pow(2, float64(p)))) + if i&mantis == mantis { + values = append(values, options[p]) + } + } + return strings.Join(values, ",") +} +func ParseRecipientType(v string) (any, error) { + var result RecipientType + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "user": + result |= USER_RECIPIENTTYPE + case "roleGroup": + result |= ROLEGROUP_RECIPIENTTYPE + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_RECIPIENTTYPE + default: + return nil, nil + } + } + return &result, nil +} +func SerializeRecipientType(values []RecipientType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i RecipientType) isMultiValue() bool { + return true +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/sensor.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/sensor.go index ab97a48d88..910411522b 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/sensor.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/sensor.go @@ -162,6 +162,16 @@ func (m *Sensor) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2689638 } return nil } + res["serviceStatus"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseServiceStatus) + if err != nil { + return err + } + if val != nil { + m.SetServiceStatus(val.(*ServiceStatus)) + } + return nil + } res["settings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateSensorSettingsFromDiscriminatorValue) if err != nil { @@ -232,6 +242,18 @@ func (m *Sensor) GetSensorType()(*SensorType) { } return nil } +// GetServiceStatus gets the serviceStatus property value. The serviceStatus property +// returns a *ServiceStatus when successful +func (m *Sensor) GetServiceStatus()(*ServiceStatus) { + val, err := m.GetBackingStore().Get("serviceStatus") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ServiceStatus) + } + return nil +} // GetSettings gets the settings property value. The settings property // returns a SensorSettingsable when successful func (m *Sensor) GetSettings()(SensorSettingsable) { @@ -319,6 +341,13 @@ func (m *Sensor) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c return err } } + if m.GetServiceStatus() != nil { + cast := (*m.GetServiceStatus()).String() + err = writer.WriteStringValue("serviceStatus", &cast) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("settings", m.GetSettings()) if err != nil { @@ -389,6 +418,13 @@ func (m *Sensor) SetSensorType(value *SensorType)() { panic(err) } } +// SetServiceStatus sets the serviceStatus property value. The serviceStatus property +func (m *Sensor) SetServiceStatus(value *ServiceStatus)() { + err := m.GetBackingStore().Set("serviceStatus", value) + if err != nil { + panic(err) + } +} // SetSettings sets the settings property value. The settings property func (m *Sensor) SetSettings(value SensorSettingsable)() { err := m.GetBackingStore().Set("settings", value) @@ -414,6 +450,7 @@ type Sensorable interface { GetHealthStatus()(*SensorHealthStatus) GetOpenHealthIssuesCount()(*int64) GetSensorType()(*SensorType) + GetServiceStatus()(*ServiceStatus) GetSettings()(SensorSettingsable) GetVersion()(*string) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() @@ -424,6 +461,7 @@ type Sensorable interface { SetHealthStatus(value *SensorHealthStatus)() SetOpenHealthIssuesCount(value *int64)() SetSensorType(value *SensorType)() + SetServiceStatus(value *ServiceStatus)() SetSettings(value SensorSettingsable)() SetVersion(value *string)() } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/sensor_candidate.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/sensor_candidate.go new file mode 100644 index 0000000000..d305b7375f --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/sensor_candidate.go @@ -0,0 +1,192 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type SensorCandidate struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +} +// NewSensorCandidate instantiates a new SensorCandidate and sets the default values. +func NewSensorCandidate()(*SensorCandidate) { + m := &SensorCandidate{ + Entity: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewEntity(), + } + return m +} +// CreateSensorCandidateFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSensorCandidateFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSensorCandidate(), nil +} +// GetComputerDnsName gets the computerDnsName property value. The DNS name of the computer associated with the sensor. +// returns a *string when successful +func (m *SensorCandidate) GetComputerDnsName()(*string) { + val, err := m.GetBackingStore().Get("computerDnsName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDomainName gets the domainName property value. The domain name of the sensor. +// returns a *string when successful +func (m *SensorCandidate) GetDomainName()(*string) { + val, err := m.GetBackingStore().Get("domainName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SensorCandidate) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["computerDnsName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetComputerDnsName(val) + } + return nil + } + res["domainName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDomainName(val) + } + return nil + } + res["lastSeenDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetLastSeenDateTime(val) + } + return nil + } + res["senseClientVersion"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSenseClientVersion(val) + } + return nil + } + return res +} +// GetLastSeenDateTime gets the lastSeenDateTime property value. The date and time when the sensor was last seen. +// returns a *Time when successful +func (m *SensorCandidate) GetLastSeenDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("lastSeenDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetSenseClientVersion gets the senseClientVersion property value. The version of the Defender for Identity sensor client. Supports $filter (eq). +// returns a *string when successful +func (m *SensorCandidate) GetSenseClientVersion()(*string) { + val, err := m.GetBackingStore().Get("senseClientVersion") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *SensorCandidate) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("computerDnsName", m.GetComputerDnsName()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("domainName", m.GetDomainName()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("lastSeenDateTime", m.GetLastSeenDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("senseClientVersion", m.GetSenseClientVersion()) + if err != nil { + return err + } + } + return nil +} +// SetComputerDnsName sets the computerDnsName property value. The DNS name of the computer associated with the sensor. +func (m *SensorCandidate) SetComputerDnsName(value *string)() { + err := m.GetBackingStore().Set("computerDnsName", value) + if err != nil { + panic(err) + } +} +// SetDomainName sets the domainName property value. The domain name of the sensor. +func (m *SensorCandidate) SetDomainName(value *string)() { + err := m.GetBackingStore().Set("domainName", value) + if err != nil { + panic(err) + } +} +// SetLastSeenDateTime sets the lastSeenDateTime property value. The date and time when the sensor was last seen. +func (m *SensorCandidate) SetLastSeenDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("lastSeenDateTime", value) + if err != nil { + panic(err) + } +} +// SetSenseClientVersion sets the senseClientVersion property value. The version of the Defender for Identity sensor client. Supports $filter (eq). +func (m *SensorCandidate) SetSenseClientVersion(value *string)() { + err := m.GetBackingStore().Set("senseClientVersion", value) + if err != nil { + panic(err) + } +} +type SensorCandidateable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetComputerDnsName()(*string) + GetDomainName()(*string) + GetLastSeenDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetSenseClientVersion()(*string) + SetComputerDnsName(value *string)() + SetDomainName(value *string)() + SetLastSeenDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetSenseClientVersion(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/sensor_candidate_activation_configuration.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/sensor_candidate_activation_configuration.go new file mode 100644 index 0000000000..cc09ade04d --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/sensor_candidate_activation_configuration.go @@ -0,0 +1,81 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type SensorCandidateActivationConfiguration struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +} +// NewSensorCandidateActivationConfiguration instantiates a new SensorCandidateActivationConfiguration and sets the default values. +func NewSensorCandidateActivationConfiguration()(*SensorCandidateActivationConfiguration) { + m := &SensorCandidateActivationConfiguration{ + Entity: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewEntity(), + } + return m +} +// CreateSensorCandidateActivationConfigurationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSensorCandidateActivationConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSensorCandidateActivationConfiguration(), nil +} +// GetActivationMode gets the activationMode property value. The activationMode property +// returns a *SensorCandidateActivationMode when successful +func (m *SensorCandidateActivationConfiguration) GetActivationMode()(*SensorCandidateActivationMode) { + val, err := m.GetBackingStore().Get("activationMode") + if err != nil { + panic(err) + } + if val != nil { + return val.(*SensorCandidateActivationMode) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SensorCandidateActivationConfiguration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["activationMode"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseSensorCandidateActivationMode) + if err != nil { + return err + } + if val != nil { + m.SetActivationMode(val.(*SensorCandidateActivationMode)) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *SensorCandidateActivationConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetActivationMode() != nil { + cast := (*m.GetActivationMode()).String() + err = writer.WriteStringValue("activationMode", &cast) + if err != nil { + return err + } + } + return nil +} +// SetActivationMode sets the activationMode property value. The activationMode property +func (m *SensorCandidateActivationConfiguration) SetActivationMode(value *SensorCandidateActivationMode)() { + err := m.GetBackingStore().Set("activationMode", value) + if err != nil { + panic(err) + } +} +type SensorCandidateActivationConfigurationable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetActivationMode()(*SensorCandidateActivationMode) + SetActivationMode(value *SensorCandidateActivationMode)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/sensor_candidate_activation_mode.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/sensor_candidate_activation_mode.go new file mode 100644 index 0000000000..77040d998a --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/sensor_candidate_activation_mode.go @@ -0,0 +1,39 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security +type SensorCandidateActivationMode int + +const ( + MANUAL_SENSORCANDIDATEACTIVATIONMODE SensorCandidateActivationMode = iota + AUTOMATED_SENSORCANDIDATEACTIVATIONMODE + UNKNOWNFUTUREVALUE_SENSORCANDIDATEACTIVATIONMODE +) + +func (i SensorCandidateActivationMode) String() string { + return []string{"manual", "automated", "unknownFutureValue"}[i] +} +func ParseSensorCandidateActivationMode(v string) (any, error) { + result := MANUAL_SENSORCANDIDATEACTIVATIONMODE + switch v { + case "manual": + result = MANUAL_SENSORCANDIDATEACTIVATIONMODE + case "automated": + result = AUTOMATED_SENSORCANDIDATEACTIVATIONMODE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_SENSORCANDIDATEACTIVATIONMODE + default: + return nil, nil + } + return &result, nil +} +func SerializeSensorCandidateActivationMode(values []SensorCandidateActivationMode) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i SensorCandidateActivationMode) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/sensor_candidate_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/sensor_candidate_collection_response.go new file mode 100644 index 0000000000..661ddd42ff --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/sensor_candidate_collection_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type SensorCandidateCollectionResponse struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +} +// NewSensorCandidateCollectionResponse instantiates a new SensorCandidateCollectionResponse and sets the default values. +func NewSensorCandidateCollectionResponse()(*SensorCandidateCollectionResponse) { + m := &SensorCandidateCollectionResponse{ + BaseCollectionPaginationCountResponse: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateSensorCandidateCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSensorCandidateCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSensorCandidateCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SensorCandidateCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSensorCandidateFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]SensorCandidateable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(SensorCandidateable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []SensorCandidateable when successful +func (m *SensorCandidateCollectionResponse) GetValue()([]SensorCandidateable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]SensorCandidateable) + } + return nil +} +// Serialize serializes information the current object +func (m *SensorCandidateCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *SensorCandidateCollectionResponse) SetValue(value []SensorCandidateable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type SensorCandidateCollectionResponseable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]SensorCandidateable) + SetValue(value []SensorCandidateable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/service_status.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/service_status.go new file mode 100644 index 0000000000..bbc5f35222 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/service_status.go @@ -0,0 +1,51 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security +type ServiceStatus int + +const ( + STOPPED_SERVICESTATUS ServiceStatus = iota + STARTING_SERVICESTATUS + RUNNING_SERVICESTATUS + DISABLED_SERVICESTATUS + ONBOARDING_SERVICESTATUS + UNKNOWN_SERVICESTATUS + UNKNOWNFUTUREVALUE_SERVICESTATUS +) + +func (i ServiceStatus) String() string { + return []string{"stopped", "starting", "running", "disabled", "onboarding", "unknown", "unknownFutureValue"}[i] +} +func ParseServiceStatus(v string) (any, error) { + result := STOPPED_SERVICESTATUS + switch v { + case "stopped": + result = STOPPED_SERVICESTATUS + case "starting": + result = STARTING_SERVICESTATUS + case "running": + result = RUNNING_SERVICESTATUS + case "disabled": + result = DISABLED_SERVICESTATUS + case "onboarding": + result = ONBOARDING_SERVICESTATUS + case "unknown": + result = UNKNOWN_SERVICESTATUS + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_SERVICESTATUS + default: + return nil, nil + } + return &result, nil +} +func SerializeServiceStatus(values []ServiceStatus) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ServiceStatus) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/teams_message_evidence.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/teams_message_evidence.go index 265b7d75c7..06ecd1a0ad 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/teams_message_evidence.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/teams_message_evidence.go @@ -50,7 +50,7 @@ func (m *TeamsMessageEvidence) GetChannelId()(*string) { } return nil } -// GetDeliveryAction gets the deliveryAction property value. The delivery action of this Teams message. Possible values are: unknown, deliveredAsSpam, delivered, blocked, replaced, unknownFutureValue. +// GetDeliveryAction gets the deliveryAction property value. The delivery action of this Teams message. The possible values are: unknown, deliveredAsSpam, delivered, blocked, replaced, unknownFutureValue. // returns a *TeamsMessageDeliveryAction when successful func (m *TeamsMessageEvidence) GetDeliveryAction()(*TeamsMessageDeliveryAction) { val, err := m.GetBackingStore().Get("deliveryAction") @@ -62,7 +62,7 @@ func (m *TeamsMessageEvidence) GetDeliveryAction()(*TeamsMessageDeliveryAction) } return nil } -// GetDeliveryLocation gets the deliveryLocation property value. The delivery location of this Teams message. Possible values are: unknown, teams, quarantine, failed, unknownFutureValue. +// GetDeliveryLocation gets the deliveryLocation property value. The delivery location of this Teams message. The possible values are: unknown, teams, quarantine, failed, unknownFutureValue. // returns a *TeamsDeliveryLocation when successful func (m *TeamsMessageEvidence) GetDeliveryLocation()(*TeamsDeliveryLocation) { val, err := m.GetBackingStore().Get("deliveryLocation") @@ -765,14 +765,14 @@ func (m *TeamsMessageEvidence) SetChannelId(value *string)() { panic(err) } } -// SetDeliveryAction sets the deliveryAction property value. The delivery action of this Teams message. Possible values are: unknown, deliveredAsSpam, delivered, blocked, replaced, unknownFutureValue. +// SetDeliveryAction sets the deliveryAction property value. The delivery action of this Teams message. The possible values are: unknown, deliveredAsSpam, delivered, blocked, replaced, unknownFutureValue. func (m *TeamsMessageEvidence) SetDeliveryAction(value *TeamsMessageDeliveryAction)() { err := m.GetBackingStore().Set("deliveryAction", value) if err != nil { panic(err) } } -// SetDeliveryLocation sets the deliveryLocation property value. The delivery location of this Teams message. Possible values are: unknown, teams, quarantine, failed, unknownFutureValue. +// SetDeliveryLocation sets the deliveryLocation property value. The delivery location of this Teams message. The possible values are: unknown, teams, quarantine, failed, unknownFutureValue. func (m *TeamsMessageEvidence) SetDeliveryLocation(value *TeamsDeliveryLocation)() { err := m.GetBackingStore().Set("deliveryLocation", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/unified_group_source.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/unified_group_source.go index b4e0db7ca7..86fb20b8aa 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/unified_group_source.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/unified_group_source.go @@ -63,7 +63,7 @@ func (m *UnifiedGroupSource) GetGroup()(iadcd81124412c61e647227ecfc4449d8bba17de } return nil } -// GetIncludedSources gets the includedSources property value. Specifies which sources are included in this group. Possible values are: mailbox, site. +// GetIncludedSources gets the includedSources property value. Specifies which sources are included in this group. The possible values are: mailbox, site. // returns a *SourceType when successful func (m *UnifiedGroupSource) GetIncludedSources()(*SourceType) { val, err := m.GetBackingStore().Get("includedSources") @@ -103,7 +103,7 @@ func (m *UnifiedGroupSource) SetGroup(value iadcd81124412c61e647227ecfc4449d8bba panic(err) } } -// SetIncludedSources sets the includedSources property value. Specifies which sources are included in this group. Possible values are: mailbox, site. +// SetIncludedSources sets the includedSources property value. Specifies which sources are included in this group. The possible values are: mailbox, site. func (m *UnifiedGroupSource) SetIncludedSources(value *SourceType)() { err := m.GetBackingStore().Set("includedSources", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/user.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/user.go new file mode 100644 index 0000000000..82869c1933 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/user.go @@ -0,0 +1,118 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type User struct { + IdentityAccounts +} +// NewUser instantiates a new User and sets the default values. +func NewUser()(*User) { + m := &User{ + IdentityAccounts: *NewIdentityAccounts(), + } + odataTypeValue := "#microsoft.graph.security.user" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateUserFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateUserFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewUser(), nil +} +// GetEmailAddress gets the emailAddress property value. Email address of the user. +// returns a *string when successful +func (m *User) GetEmailAddress()(*string) { + val, err := m.GetBackingStore().Get("emailAddress") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *User) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.IdentityAccounts.GetFieldDeserializers() + res["emailAddress"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetEmailAddress(val) + } + return nil + } + res["userPrincipalName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetUserPrincipalName(val) + } + return nil + } + return res +} +// GetUserPrincipalName gets the userPrincipalName property value. The user principal name. +// returns a *string when successful +func (m *User) GetUserPrincipalName()(*string) { + val, err := m.GetBackingStore().Get("userPrincipalName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *User) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.IdentityAccounts.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("emailAddress", m.GetEmailAddress()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("userPrincipalName", m.GetUserPrincipalName()) + if err != nil { + return err + } + } + return nil +} +// SetEmailAddress sets the emailAddress property value. Email address of the user. +func (m *User) SetEmailAddress(value *string)() { + err := m.GetBackingStore().Set("emailAddress", value) + if err != nil { + panic(err) + } +} +// SetUserPrincipalName sets the userPrincipalName property value. The user principal name. +func (m *User) SetUserPrincipalName(value *string)() { + err := m.GetBackingStore().Set("userPrincipalName", value) + if err != nil { + panic(err) + } +} +type Userable interface { + IdentityAccountsable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetEmailAddress()(*string) + GetUserPrincipalName()(*string) + SetEmailAddress(value *string)() + SetUserPrincipalName(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/user_source.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/user_source.go index cc96983da4..cd8b58b653 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/user_source.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security/user_source.go @@ -72,7 +72,7 @@ func (m *UserSource) GetFieldDeserializers()(map[string]func(i878a80d2330e89d268 } return res } -// GetIncludedSources gets the includedSources property value. Specifies which sources are included in this group. Possible values are: mailbox, site. +// GetIncludedSources gets the includedSources property value. Specifies which sources are included in this group. The possible values are: mailbox, site. // returns a *SourceType when successful func (m *UserSource) GetIncludedSources()(*SourceType) { val, err := m.GetBackingStore().Get("includedSources") @@ -130,7 +130,7 @@ func (m *UserSource) SetEmail(value *string)() { panic(err) } } -// SetIncludedSources sets the includedSources property value. Specifies which sources are included in this group. Possible values are: mailbox, site. +// SetIncludedSources sets the includedSources property value. Specifies which sources are included in this group. The possible values are: mailbox, site. func (m *UserSource) SetIncludedSources(value *SourceType)() { err := m.GetBackingStore().Set("includedSources", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security_resource.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security_resource.go index 23855c1b16..64f0bbafca 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security_resource.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/security_resource.go @@ -103,7 +103,7 @@ func (m *SecurityResource) GetResource()(*string) { } return nil } -// GetResourceType gets the resourceType property value. Represents type of security resources related to an alert. Possible values are: attacked, related. +// GetResourceType gets the resourceType property value. Represents type of security resources related to an alert. The possible values are: attacked, related. // returns a *SecurityResourceType when successful func (m *SecurityResource) GetResourceType()(*SecurityResourceType) { val, err := m.GetBackingStore().Get("resourceType") @@ -169,7 +169,7 @@ func (m *SecurityResource) SetResource(value *string)() { panic(err) } } -// SetResourceType sets the resourceType property value. Represents type of security resources related to an alert. Possible values are: attacked, related. +// SetResourceType sets the resourceType property value. Represents type of security resources related to an alert. The possible values are: attacked, related. func (m *SecurityResource) SetResourceType(value *SecurityResourceType)() { err := m.GetBackingStore().Set("resourceType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/send_dtmf_tones_operation.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/send_dtmf_tones_operation.go index 57b29cfd40..05b0de0196 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/send_dtmf_tones_operation.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/send_dtmf_tones_operation.go @@ -22,7 +22,7 @@ func NewSendDtmfTonesOperation()(*SendDtmfTonesOperation) { func CreateSendDtmfTonesOperationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewSendDtmfTonesOperation(), nil } -// GetCompletionReason gets the completionReason property value. The results of the action. Possible values are: unknown, completedSuccessfully, mediaOperationCanceled, unknownfutureValue. +// GetCompletionReason gets the completionReason property value. The results of the action. The possible values are: unknown, completedSuccessfully, mediaOperationCanceled, unknownfutureValue. // returns a *SendDtmfCompletionReason when successful func (m *SendDtmfTonesOperation) GetCompletionReason()(*SendDtmfCompletionReason) { val, err := m.GetBackingStore().Get("completionReason") @@ -65,7 +65,7 @@ func (m *SendDtmfTonesOperation) Serialize(writer i878a80d2330e89d26896388a3f487 } return nil } -// SetCompletionReason sets the completionReason property value. The results of the action. Possible values are: unknown, completedSuccessfully, mediaOperationCanceled, unknownfutureValue. +// SetCompletionReason sets the completionReason property value. The results of the action. The possible values are: unknown, completedSuccessfully, mediaOperationCanceled, unknownfutureValue. func (m *SendDtmfTonesOperation) SetCompletionReason(value *SendDtmfCompletionReason)() { err := m.GetBackingStore().Set("completionReason", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/sensitivity_label.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/sensitivity_label.go index 9ca96ee087..57c38906cc 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/sensitivity_label.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/sensitivity_label.go @@ -114,6 +114,16 @@ func (m *SensitivityLabel) GetFieldDeserializers()(map[string]func(i878a80d2330e } return nil } + res["hasProtection"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetHasProtection(val) + } + return nil + } res["isDefault"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetBoolValue() if err != nil { @@ -212,6 +222,18 @@ func (m *SensitivityLabel) GetFieldDeserializers()(map[string]func(i878a80d2330e } return res } +// GetHasProtection gets the hasProtection property value. The hasProtection property +// returns a *bool when successful +func (m *SensitivityLabel) GetHasProtection()(*bool) { + val, err := m.GetBackingStore().Get("hasProtection") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetIsDefault gets the isDefault property value. The isDefault property // returns a *bool when successful func (m *SensitivityLabel) GetIsDefault()(*bool) { @@ -351,6 +373,12 @@ func (m *SensitivityLabel) Serialize(writer i878a80d2330e89d26896388a3f487eef27b return err } } + { + err = writer.WriteBoolValue("hasProtection", m.GetHasProtection()) + if err != nil { + return err + } + } { err = writer.WriteBoolValue("isDefault", m.GetIsDefault()) if err != nil { @@ -441,6 +469,13 @@ func (m *SensitivityLabel) SetDisplayName(value *string)() { panic(err) } } +// SetHasProtection sets the hasProtection property value. The hasProtection property +func (m *SensitivityLabel) SetHasProtection(value *bool)() { + err := m.GetBackingStore().Set("hasProtection", value) + if err != nil { + panic(err) + } +} // SetIsDefault sets the isDefault property value. The isDefault property func (m *SensitivityLabel) SetIsDefault(value *bool)() { err := m.GetBackingStore().Set("isDefault", value) @@ -511,6 +546,7 @@ type SensitivityLabelable interface { GetAutoTooltip()(*string) GetDescription()(*string) GetDisplayName()(*string) + GetHasProtection()(*bool) GetIsDefault()(*bool) GetIsEndpointProtectionEnabled()(*bool) GetIsScopedToUser()(*bool) @@ -524,6 +560,7 @@ type SensitivityLabelable interface { SetAutoTooltip(value *string)() SetDescription(value *string)() SetDisplayName(value *string)() + SetHasProtection(value *bool)() SetIsDefault(value *bool)() SetIsEndpointProtectionEnabled(value *bool)() SetIsScopedToUser(value *bool)() diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/service_health_issue_post.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/service_health_issue_post.go index b93966e999..4344e803a2 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/service_health_issue_post.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/service_health_issue_post.go @@ -126,7 +126,7 @@ func (m *ServiceHealthIssuePost) GetOdataType()(*string) { } return nil } -// GetPostType gets the postType property value. The post type of the service issue historical post. Possible values are: regular, quick, strategic, unknownFutureValue. +// GetPostType gets the postType property value. The post type of the service issue historical post. The possible values are: regular, quick, strategic, unknownFutureValue. // returns a *PostType when successful func (m *ServiceHealthIssuePost) GetPostType()(*PostType) { val, err := m.GetBackingStore().Get("postType") @@ -205,7 +205,7 @@ func (m *ServiceHealthIssuePost) SetOdataType(value *string)() { panic(err) } } -// SetPostType sets the postType property value. The post type of the service issue historical post. Possible values are: regular, quick, strategic, unknownFutureValue. +// SetPostType sets the postType property value. The post type of the service issue historical post. The possible values are: regular, quick, strategic, unknownFutureValue. func (m *ServiceHealthIssuePost) SetPostType(value *PostType)() { err := m.GetBackingStore().Set("postType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/service_principal.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/service_principal.go index 13b709dd58..535b6102ca 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/service_principal.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/service_principal.go @@ -241,7 +241,7 @@ func (m *ServicePrincipal) GetDescription()(*string) { } return nil } -// GetDisabledByMicrosoftStatus gets the disabledByMicrosoftStatus property value. Specifies whether Microsoft has disabled the registered application. Possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). Supports $filter (eq, ne, not). +// GetDisabledByMicrosoftStatus gets the disabledByMicrosoftStatus property value. Specifies whether Microsoft has disabled the registered application. The possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). Supports $filter (eq, ne, not). // returns a *string when successful func (m *ServicePrincipal) GetDisabledByMicrosoftStatus()(*string) { val, err := m.GetBackingStore().Get("disabledByMicrosoftStatus") @@ -1229,7 +1229,7 @@ func (m *ServicePrincipal) GetServicePrincipalNames()([]string) { } return nil } -// GetServicePrincipalType gets the servicePrincipalType property value. Identifies whether the service principal represents an application, a managed identity, or a legacy application. This is set by Microsoft Entra ID internally. The servicePrincipalType property can be set to three different values: Application - A service principal that represents an application or service. The appId property identifies the associated app registration, and matches the appId of an application, possibly from a different tenant. If the associated app registration is missing, tokens aren't issued for the service principal.ManagedIdentity - A service principal that represents a managed identity. Service principals representing managed identities can be granted access and permissions, but can't be updated or modified directly.Legacy - A service principal that represents an app created before app registrations, or through legacy experiences. A legacy service principal can have credentials, service principal names, reply URLs, and other properties that are editable by an authorized user, but doesn't have an associated app registration. The appId value doesn't associate the service principal with an app registration. The service principal can only be used in the tenant where it was created.SocialIdp - For internal use. +// GetServicePrincipalType gets the servicePrincipalType property value. Identifies whether the service principal represents an application, a managed identity, or a legacy application. This property is set by Microsoft Entra ID internally. The servicePrincipalType property can be set to three different values: Application - A service principal that represents an application or service. The appId property identifies the associated app registration, and matches the appId of an application, possibly from a different tenant. If the associated app registration is missing, tokens aren't issued for the service principal.ManagedIdentity - A service principal that represents a managed identity. Service principals representing managed identities can be granted access and permissions, but can't be updated or modified directly.Legacy - A service principal that represents an app created before app registrations, or through legacy experiences. A legacy service principal can have credentials, service principal names, reply URLs, and other properties that are editable by an authorized user, but doesn't have an associated app registration. The appId value doesn't associate the service principal with an app registration. The service principal can only be used in the tenant where it was created.ServiceIdentity - A service principal that represents an agent identity.SocialIdp - For internal use. // returns a *string when successful func (m *ServicePrincipal) GetServicePrincipalType()(*string) { val, err := m.GetBackingStore().Get("servicePrincipalType") @@ -1915,7 +1915,7 @@ func (m *ServicePrincipal) SetDescription(value *string)() { panic(err) } } -// SetDisabledByMicrosoftStatus sets the disabledByMicrosoftStatus property value. Specifies whether Microsoft has disabled the registered application. Possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). Supports $filter (eq, ne, not). +// SetDisabledByMicrosoftStatus sets the disabledByMicrosoftStatus property value. Specifies whether Microsoft has disabled the registered application. The possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). Supports $filter (eq, ne, not). func (m *ServicePrincipal) SetDisabledByMicrosoftStatus(value *string)() { err := m.GetBackingStore().Set("disabledByMicrosoftStatus", value) if err != nil { @@ -2090,7 +2090,7 @@ func (m *ServicePrincipal) SetServicePrincipalNames(value []string)() { panic(err) } } -// SetServicePrincipalType sets the servicePrincipalType property value. Identifies whether the service principal represents an application, a managed identity, or a legacy application. This is set by Microsoft Entra ID internally. The servicePrincipalType property can be set to three different values: Application - A service principal that represents an application or service. The appId property identifies the associated app registration, and matches the appId of an application, possibly from a different tenant. If the associated app registration is missing, tokens aren't issued for the service principal.ManagedIdentity - A service principal that represents a managed identity. Service principals representing managed identities can be granted access and permissions, but can't be updated or modified directly.Legacy - A service principal that represents an app created before app registrations, or through legacy experiences. A legacy service principal can have credentials, service principal names, reply URLs, and other properties that are editable by an authorized user, but doesn't have an associated app registration. The appId value doesn't associate the service principal with an app registration. The service principal can only be used in the tenant where it was created.SocialIdp - For internal use. +// SetServicePrincipalType sets the servicePrincipalType property value. Identifies whether the service principal represents an application, a managed identity, or a legacy application. This property is set by Microsoft Entra ID internally. The servicePrincipalType property can be set to three different values: Application - A service principal that represents an application or service. The appId property identifies the associated app registration, and matches the appId of an application, possibly from a different tenant. If the associated app registration is missing, tokens aren't issued for the service principal.ManagedIdentity - A service principal that represents a managed identity. Service principals representing managed identities can be granted access and permissions, but can't be updated or modified directly.Legacy - A service principal that represents an app created before app registrations, or through legacy experiences. A legacy service principal can have credentials, service principal names, reply URLs, and other properties that are editable by an authorized user, but doesn't have an associated app registration. The appId value doesn't associate the service principal with an app registration. The service principal can only be used in the tenant where it was created.ServiceIdentity - A service principal that represents an agent identity.SocialIdp - For internal use. func (m *ServicePrincipal) SetServicePrincipalType(value *string)() { err := m.GetBackingStore().Set("servicePrincipalType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/service_principal_risk_detection.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/service_principal_risk_detection.go index 6982534ada..d0503509cd 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/service_principal_risk_detection.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/service_principal_risk_detection.go @@ -23,7 +23,7 @@ func NewServicePrincipalRiskDetection()(*ServicePrincipalRiskDetection) { func CreateServicePrincipalRiskDetectionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewServicePrincipalRiskDetection(), nil } -// GetActivity gets the activity property value. Indicates the activity type the detected risk is linked to. The possible values are: signin, servicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: servicePrincipal. +// GetActivity gets the activity property value. Indicates the activity type the detected risk is linked to. // returns a *ActivityType when successful func (m *ServicePrincipalRiskDetection) GetActivity()(*ActivityType) { val, err := m.GetBackingStore().Get("activity") @@ -379,7 +379,7 @@ func (m *ServicePrincipalRiskDetection) GetRequestId()(*string) { } return nil } -// GetRiskDetail gets the riskDetail property value. Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. +// GetRiskDetail gets the riskDetail property value. Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. // returns a *RiskDetail when successful func (m *ServicePrincipalRiskDetection) GetRiskDetail()(*RiskDetail) { val, err := m.GetBackingStore().Get("riskDetail") @@ -609,7 +609,7 @@ func (m *ServicePrincipalRiskDetection) Serialize(writer i878a80d2330e89d2689638 } return nil } -// SetActivity sets the activity property value. Indicates the activity type the detected risk is linked to. The possible values are: signin, servicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: servicePrincipal. +// SetActivity sets the activity property value. Indicates the activity type the detected risk is linked to. func (m *ServicePrincipalRiskDetection) SetActivity(value *ActivityType)() { err := m.GetBackingStore().Set("activity", value) if err != nil { @@ -693,7 +693,7 @@ func (m *ServicePrincipalRiskDetection) SetRequestId(value *string)() { panic(err) } } -// SetRiskDetail sets the riskDetail property value. Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. +// SetRiskDetail sets the riskDetail property value. Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. func (m *ServicePrincipalRiskDetection) SetRiskDetail(value *RiskDetail)() { err := m.GetBackingStore().Set("riskDetail", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/setting_source.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/setting_source.go index 10545906ab..1b10b3b9fb 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/setting_source.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/setting_source.go @@ -43,7 +43,7 @@ func (m *SettingSource) GetAdditionalData()(map[string]any) { func (m *SettingSource) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetDisplayName gets the displayName property value. Not yet documented +// GetDisplayName gets the displayName property value. The displayName property // returns a *string when successful func (m *SettingSource) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -101,7 +101,7 @@ func (m *SettingSource) GetFieldDeserializers()(map[string]func(i878a80d2330e89d } return res } -// GetId gets the id property value. Not yet documented +// GetId gets the id property value. The id property // returns a *string when successful func (m *SettingSource) GetId()(*string) { val, err := m.GetBackingStore().Get("id") @@ -183,14 +183,14 @@ func (m *SettingSource) SetAdditionalData(value map[string]any)() { func (m *SettingSource) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetDisplayName sets the displayName property value. Not yet documented +// SetDisplayName sets the displayName property value. The displayName property func (m *SettingSource) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetId sets the id property value. Not yet documented +// SetId sets the id property value. The id property func (m *SettingSource) SetId(value *string)() { err := m.GetBackingStore().Set("id", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_container_info.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_container_info.go new file mode 100644 index 0000000000..7caf5aa52f --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_container_info.go @@ -0,0 +1,227 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type SharePointMigrationContainerInfo struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewSharePointMigrationContainerInfo instantiates a new SharePointMigrationContainerInfo and sets the default values. +func NewSharePointMigrationContainerInfo()(*SharePointMigrationContainerInfo) { + m := &SharePointMigrationContainerInfo{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateSharePointMigrationContainerInfoFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointMigrationContainerInfoFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointMigrationContainerInfo(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *SharePointMigrationContainerInfo) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *SharePointMigrationContainerInfo) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetDataContainerUri gets the dataContainerUri property value. A valid URL with a SAS token for accessing the Azure blob storage container that contains the file content. Read-only. +// returns a *string when successful +func (m *SharePointMigrationContainerInfo) GetDataContainerUri()(*string) { + val, err := m.GetBackingStore().Get("dataContainerUri") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetEncryptionKey gets the encryptionKey property value. Provides the AES-256-CBC encryption key if files stored in Azure blob containers are encrypted. The key is Base64-encoded. Read-only. +// returns a *string when successful +func (m *SharePointMigrationContainerInfo) GetEncryptionKey()(*string) { + val, err := m.GetBackingStore().Get("encryptionKey") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointMigrationContainerInfo) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["dataContainerUri"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDataContainerUri(val) + } + return nil + } + res["encryptionKey"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetEncryptionKey(val) + } + return nil + } + res["metadataContainerUri"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetMetadataContainerUri(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetMetadataContainerUri gets the metadataContainerUri property value. A valid URL with a SAS token for accessing the Azure blob storage container that contains the file metadata. Read-only. +// returns a *string when successful +func (m *SharePointMigrationContainerInfo) GetMetadataContainerUri()(*string) { + val, err := m.GetBackingStore().Get("metadataContainerUri") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *SharePointMigrationContainerInfo) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *SharePointMigrationContainerInfo) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("dataContainerUri", m.GetDataContainerUri()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("encryptionKey", m.GetEncryptionKey()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("metadataContainerUri", m.GetMetadataContainerUri()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *SharePointMigrationContainerInfo) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *SharePointMigrationContainerInfo) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetDataContainerUri sets the dataContainerUri property value. A valid URL with a SAS token for accessing the Azure blob storage container that contains the file content. Read-only. +func (m *SharePointMigrationContainerInfo) SetDataContainerUri(value *string)() { + err := m.GetBackingStore().Set("dataContainerUri", value) + if err != nil { + panic(err) + } +} +// SetEncryptionKey sets the encryptionKey property value. Provides the AES-256-CBC encryption key if files stored in Azure blob containers are encrypted. The key is Base64-encoded. Read-only. +func (m *SharePointMigrationContainerInfo) SetEncryptionKey(value *string)() { + err := m.GetBackingStore().Set("encryptionKey", value) + if err != nil { + panic(err) + } +} +// SetMetadataContainerUri sets the metadataContainerUri property value. A valid URL with a SAS token for accessing the Azure blob storage container that contains the file metadata. Read-only. +func (m *SharePointMigrationContainerInfo) SetMetadataContainerUri(value *string)() { + err := m.GetBackingStore().Set("metadataContainerUri", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *SharePointMigrationContainerInfo) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type SharePointMigrationContainerInfoable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDataContainerUri()(*string) + GetEncryptionKey()(*string) + GetMetadataContainerUri()(*string) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDataContainerUri(value *string)() + SetEncryptionKey(value *string)() + SetMetadataContainerUri(value *string)() + SetOdataType(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_event.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_event.go new file mode 100644 index 0000000000..6d0cc8c7a8 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_event.go @@ -0,0 +1,186 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SharePointMigrationEvent struct { + Entity +} +// NewSharePointMigrationEvent instantiates a new SharePointMigrationEvent and sets the default values. +func NewSharePointMigrationEvent()(*SharePointMigrationEvent) { + m := &SharePointMigrationEvent{ + Entity: *NewEntity(), + } + return m +} +// CreateSharePointMigrationEventFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointMigrationEventFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.sharePointMigrationFinishManifestFileUploadEvent": + return NewSharePointMigrationFinishManifestFileUploadEvent(), nil + case "#microsoft.graph.sharePointMigrationJobCancelledEvent": + return NewSharePointMigrationJobCancelledEvent(), nil + case "#microsoft.graph.sharePointMigrationJobDeletedEvent": + return NewSharePointMigrationJobDeletedEvent(), nil + case "#microsoft.graph.sharePointMigrationJobErrorEvent": + return NewSharePointMigrationJobErrorEvent(), nil + case "#microsoft.graph.sharePointMigrationJobPostponedEvent": + return NewSharePointMigrationJobPostponedEvent(), nil + case "#microsoft.graph.sharePointMigrationJobProgressEvent": + return NewSharePointMigrationJobProgressEvent(), nil + case "#microsoft.graph.sharePointMigrationJobQueuedEvent": + return NewSharePointMigrationJobQueuedEvent(), nil + case "#microsoft.graph.sharePointMigrationJobStartEvent": + return NewSharePointMigrationJobStartEvent(), nil + } + } + } + } + return NewSharePointMigrationEvent(), nil +} +// GetCorrelationId gets the correlationId property value. The correlation ID of a migration job. Read-only. +// returns a *string when successful +func (m *SharePointMigrationEvent) GetCorrelationId()(*string) { + val, err := m.GetBackingStore().Get("correlationId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetEventDateTime gets the eventDateTime property value. The date and time when the job status changes. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. +// returns a *Time when successful +func (m *SharePointMigrationEvent) GetEventDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("eventDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointMigrationEvent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["correlationId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCorrelationId(val) + } + return nil + } + res["eventDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetEventDateTime(val) + } + return nil + } + res["jobId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetJobId(val) + } + return nil + } + return res +} +// GetJobId gets the jobId property value. The unique identifier of a migration job. Read-only. +// returns a *string when successful +func (m *SharePointMigrationEvent) GetJobId()(*string) { + val, err := m.GetBackingStore().Get("jobId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *SharePointMigrationEvent) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("correlationId", m.GetCorrelationId()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("eventDateTime", m.GetEventDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("jobId", m.GetJobId()) + if err != nil { + return err + } + } + return nil +} +// SetCorrelationId sets the correlationId property value. The correlation ID of a migration job. Read-only. +func (m *SharePointMigrationEvent) SetCorrelationId(value *string)() { + err := m.GetBackingStore().Set("correlationId", value) + if err != nil { + panic(err) + } +} +// SetEventDateTime sets the eventDateTime property value. The date and time when the job status changes. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. +func (m *SharePointMigrationEvent) SetEventDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("eventDateTime", value) + if err != nil { + panic(err) + } +} +// SetJobId sets the jobId property value. The unique identifier of a migration job. Read-only. +func (m *SharePointMigrationEvent) SetJobId(value *string)() { + err := m.GetBackingStore().Set("jobId", value) + if err != nil { + panic(err) + } +} +type SharePointMigrationEventable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCorrelationId()(*string) + GetEventDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetJobId()(*string) + SetCorrelationId(value *string)() + SetEventDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetJobId(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_event_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_event_collection_response.go new file mode 100644 index 0000000000..8b74771c0b --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_event_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SharePointMigrationEventCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewSharePointMigrationEventCollectionResponse instantiates a new SharePointMigrationEventCollectionResponse and sets the default values. +func NewSharePointMigrationEventCollectionResponse()(*SharePointMigrationEventCollectionResponse) { + m := &SharePointMigrationEventCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateSharePointMigrationEventCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointMigrationEventCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointMigrationEventCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointMigrationEventCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSharePointMigrationEventFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]SharePointMigrationEventable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(SharePointMigrationEventable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []SharePointMigrationEventable when successful +func (m *SharePointMigrationEventCollectionResponse) GetValue()([]SharePointMigrationEventable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]SharePointMigrationEventable) + } + return nil +} +// Serialize serializes information the current object +func (m *SharePointMigrationEventCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *SharePointMigrationEventCollectionResponse) SetValue(value []SharePointMigrationEventable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type SharePointMigrationEventCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]SharePointMigrationEventable) + SetValue(value []SharePointMigrationEventable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_finish_manifest_file_upload_event.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_finish_manifest_file_upload_event.go new file mode 100644 index 0000000000..e16534b6e3 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_finish_manifest_file_upload_event.go @@ -0,0 +1,79 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SharePointMigrationFinishManifestFileUploadEvent struct { + SharePointMigrationEvent +} +// NewSharePointMigrationFinishManifestFileUploadEvent instantiates a new SharePointMigrationFinishManifestFileUploadEvent and sets the default values. +func NewSharePointMigrationFinishManifestFileUploadEvent()(*SharePointMigrationFinishManifestFileUploadEvent) { + m := &SharePointMigrationFinishManifestFileUploadEvent{ + SharePointMigrationEvent: *NewSharePointMigrationEvent(), + } + return m +} +// CreateSharePointMigrationFinishManifestFileUploadEventFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointMigrationFinishManifestFileUploadEventFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointMigrationFinishManifestFileUploadEvent(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointMigrationFinishManifestFileUploadEvent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.SharePointMigrationEvent.GetFieldDeserializers() + res["manifestFileName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetManifestFileName(val) + } + return nil + } + return res +} +// GetManifestFileName gets the manifestFileName property value. The exported manifest file name. Read-only. +// returns a *string when successful +func (m *SharePointMigrationFinishManifestFileUploadEvent) GetManifestFileName()(*string) { + val, err := m.GetBackingStore().Get("manifestFileName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *SharePointMigrationFinishManifestFileUploadEvent) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.SharePointMigrationEvent.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("manifestFileName", m.GetManifestFileName()) + if err != nil { + return err + } + } + return nil +} +// SetManifestFileName sets the manifestFileName property value. The exported manifest file name. Read-only. +func (m *SharePointMigrationFinishManifestFileUploadEvent) SetManifestFileName(value *string)() { + err := m.GetBackingStore().Set("manifestFileName", value) + if err != nil { + panic(err) + } +} +type SharePointMigrationFinishManifestFileUploadEventable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + SharePointMigrationEventable + GetManifestFileName()(*string) + SetManifestFileName(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job.go new file mode 100644 index 0000000000..1d1d4efcb8 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job.go @@ -0,0 +1,128 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SharePointMigrationJob struct { + Entity +} +// NewSharePointMigrationJob instantiates a new SharePointMigrationJob and sets the default values. +func NewSharePointMigrationJob()(*SharePointMigrationJob) { + m := &SharePointMigrationJob{ + Entity: *NewEntity(), + } + return m +} +// CreateSharePointMigrationJobFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointMigrationJobFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointMigrationJob(), nil +} +// GetContainerInfo gets the containerInfo property value. The containerInfo property +// returns a SharePointMigrationContainerInfoable when successful +func (m *SharePointMigrationJob) GetContainerInfo()(SharePointMigrationContainerInfoable) { + val, err := m.GetBackingStore().Get("containerInfo") + if err != nil { + panic(err) + } + if val != nil { + return val.(SharePointMigrationContainerInfoable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointMigrationJob) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["containerInfo"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateSharePointMigrationContainerInfoFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetContainerInfo(val.(SharePointMigrationContainerInfoable)) + } + return nil + } + res["progressEvents"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSharePointMigrationEventFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]SharePointMigrationEventable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(SharePointMigrationEventable) + } + } + m.SetProgressEvents(res) + } + return nil + } + return res +} +// GetProgressEvents gets the progressEvents property value. A collection of migration events that reflects the job status changes. +// returns a []SharePointMigrationEventable when successful +func (m *SharePointMigrationJob) GetProgressEvents()([]SharePointMigrationEventable) { + val, err := m.GetBackingStore().Get("progressEvents") + if err != nil { + panic(err) + } + if val != nil { + return val.([]SharePointMigrationEventable) + } + return nil +} +// Serialize serializes information the current object +func (m *SharePointMigrationJob) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("containerInfo", m.GetContainerInfo()) + if err != nil { + return err + } + } + if m.GetProgressEvents() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetProgressEvents())) + for i, v := range m.GetProgressEvents() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("progressEvents", cast) + if err != nil { + return err + } + } + return nil +} +// SetContainerInfo sets the containerInfo property value. The containerInfo property +func (m *SharePointMigrationJob) SetContainerInfo(value SharePointMigrationContainerInfoable)() { + err := m.GetBackingStore().Set("containerInfo", value) + if err != nil { + panic(err) + } +} +// SetProgressEvents sets the progressEvents property value. A collection of migration events that reflects the job status changes. +func (m *SharePointMigrationJob) SetProgressEvents(value []SharePointMigrationEventable)() { + err := m.GetBackingStore().Set("progressEvents", value) + if err != nil { + panic(err) + } +} +type SharePointMigrationJobable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetContainerInfo()(SharePointMigrationContainerInfoable) + GetProgressEvents()([]SharePointMigrationEventable) + SetContainerInfo(value SharePointMigrationContainerInfoable)() + SetProgressEvents(value []SharePointMigrationEventable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_cancelled_event.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_cancelled_event.go new file mode 100644 index 0000000000..9db694763f --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_cancelled_event.go @@ -0,0 +1,116 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SharePointMigrationJobCancelledEvent struct { + SharePointMigrationEvent +} +// NewSharePointMigrationJobCancelledEvent instantiates a new SharePointMigrationJobCancelledEvent and sets the default values. +func NewSharePointMigrationJobCancelledEvent()(*SharePointMigrationJobCancelledEvent) { + m := &SharePointMigrationJobCancelledEvent{ + SharePointMigrationEvent: *NewSharePointMigrationEvent(), + } + return m +} +// CreateSharePointMigrationJobCancelledEventFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointMigrationJobCancelledEventFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointMigrationJobCancelledEvent(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointMigrationJobCancelledEvent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.SharePointMigrationEvent.GetFieldDeserializers() + res["isCancelledByUser"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsCancelledByUser(val) + } + return nil + } + res["totalRetryCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTotalRetryCount(val) + } + return nil + } + return res +} +// GetIsCancelledByUser gets the isCancelledByUser property value. True when a user cancels the job; otherwise, false. Read-only. +// returns a *bool when successful +func (m *SharePointMigrationJobCancelledEvent) GetIsCancelledByUser()(*bool) { + val, err := m.GetBackingStore().Get("isCancelledByUser") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetTotalRetryCount gets the totalRetryCount property value. The current retry count of the job. Read-only. +// returns a *int32 when successful +func (m *SharePointMigrationJobCancelledEvent) GetTotalRetryCount()(*int32) { + val, err := m.GetBackingStore().Get("totalRetryCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *SharePointMigrationJobCancelledEvent) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.SharePointMigrationEvent.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteBoolValue("isCancelledByUser", m.GetIsCancelledByUser()) + if err != nil { + return err + } + } + { + err = writer.WriteInt32Value("totalRetryCount", m.GetTotalRetryCount()) + if err != nil { + return err + } + } + return nil +} +// SetIsCancelledByUser sets the isCancelledByUser property value. True when a user cancels the job; otherwise, false. Read-only. +func (m *SharePointMigrationJobCancelledEvent) SetIsCancelledByUser(value *bool)() { + err := m.GetBackingStore().Set("isCancelledByUser", value) + if err != nil { + panic(err) + } +} +// SetTotalRetryCount sets the totalRetryCount property value. The current retry count of the job. Read-only. +func (m *SharePointMigrationJobCancelledEvent) SetTotalRetryCount(value *int32)() { + err := m.GetBackingStore().Set("totalRetryCount", value) + if err != nil { + panic(err) + } +} +type SharePointMigrationJobCancelledEventable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + SharePointMigrationEventable + GetIsCancelledByUser()(*bool) + GetTotalRetryCount()(*int32) + SetIsCancelledByUser(value *bool)() + SetTotalRetryCount(value *int32)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_collection_response.go new file mode 100644 index 0000000000..10288a05af --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SharePointMigrationJobCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewSharePointMigrationJobCollectionResponse instantiates a new SharePointMigrationJobCollectionResponse and sets the default values. +func NewSharePointMigrationJobCollectionResponse()(*SharePointMigrationJobCollectionResponse) { + m := &SharePointMigrationJobCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateSharePointMigrationJobCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointMigrationJobCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointMigrationJobCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointMigrationJobCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSharePointMigrationJobFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]SharePointMigrationJobable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(SharePointMigrationJobable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []SharePointMigrationJobable when successful +func (m *SharePointMigrationJobCollectionResponse) GetValue()([]SharePointMigrationJobable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]SharePointMigrationJobable) + } + return nil +} +// Serialize serializes information the current object +func (m *SharePointMigrationJobCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *SharePointMigrationJobCollectionResponse) SetValue(value []SharePointMigrationJobable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type SharePointMigrationJobCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]SharePointMigrationJobable) + SetValue(value []SharePointMigrationJobable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_deleted_event.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_deleted_event.go new file mode 100644 index 0000000000..fe70bc9338 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_deleted_event.go @@ -0,0 +1,42 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SharePointMigrationJobDeletedEvent struct { + SharePointMigrationEvent +} +// NewSharePointMigrationJobDeletedEvent instantiates a new SharePointMigrationJobDeletedEvent and sets the default values. +func NewSharePointMigrationJobDeletedEvent()(*SharePointMigrationJobDeletedEvent) { + m := &SharePointMigrationJobDeletedEvent{ + SharePointMigrationEvent: *NewSharePointMigrationEvent(), + } + return m +} +// CreateSharePointMigrationJobDeletedEventFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointMigrationJobDeletedEventFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointMigrationJobDeletedEvent(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointMigrationJobDeletedEvent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.SharePointMigrationEvent.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *SharePointMigrationJobDeletedEvent) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.SharePointMigrationEvent.Serialize(writer) + if err != nil { + return err + } + return nil +} +type SharePointMigrationJobDeletedEventable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + SharePointMigrationEventable +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_error_event.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_error_event.go new file mode 100644 index 0000000000..fc34c1c4d9 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_error_event.go @@ -0,0 +1,266 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SharePointMigrationJobErrorEvent struct { + SharePointMigrationEvent +} +// NewSharePointMigrationJobErrorEvent instantiates a new SharePointMigrationJobErrorEvent and sets the default values. +func NewSharePointMigrationJobErrorEvent()(*SharePointMigrationJobErrorEvent) { + m := &SharePointMigrationJobErrorEvent{ + SharePointMigrationEvent: *NewSharePointMigrationEvent(), + } + return m +} +// CreateSharePointMigrationJobErrorEventFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointMigrationJobErrorEventFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointMigrationJobErrorEvent(), nil +} +// GetError gets the error property value. The error property +// returns a PublicErrorable when successful +func (m *SharePointMigrationJobErrorEvent) GetError()(PublicErrorable) { + val, err := m.GetBackingStore().Get("error") + if err != nil { + panic(err) + } + if val != nil { + return val.(PublicErrorable) + } + return nil +} +// GetErrorLevel gets the errorLevel property value. The errorLevel property +// returns a *SharePointMigrationJobErrorLevel when successful +func (m *SharePointMigrationJobErrorEvent) GetErrorLevel()(*SharePointMigrationJobErrorLevel) { + val, err := m.GetBackingStore().Get("errorLevel") + if err != nil { + panic(err) + } + if val != nil { + return val.(*SharePointMigrationJobErrorLevel) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointMigrationJobErrorEvent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.SharePointMigrationEvent.GetFieldDeserializers() + res["error"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreatePublicErrorFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetError(val.(PublicErrorable)) + } + return nil + } + res["errorLevel"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseSharePointMigrationJobErrorLevel) + if err != nil { + return err + } + if val != nil { + m.SetErrorLevel(val.(*SharePointMigrationJobErrorLevel)) + } + return nil + } + res["objectId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetObjectId(val) + } + return nil + } + res["objectType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseSharePointMigrationObjectType) + if err != nil { + return err + } + if val != nil { + m.SetObjectType(val.(*SharePointMigrationObjectType)) + } + return nil + } + res["objectUrl"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetObjectUrl(val) + } + return nil + } + res["totalRetryCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTotalRetryCount(val) + } + return nil + } + return res +} +// GetObjectId gets the objectId property value. The object ID. Read-only. +// returns a *string when successful +func (m *SharePointMigrationJobErrorEvent) GetObjectId()(*string) { + val, err := m.GetBackingStore().Get("objectId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetObjectType gets the objectType property value. The objectType property +// returns a *SharePointMigrationObjectType when successful +func (m *SharePointMigrationJobErrorEvent) GetObjectType()(*SharePointMigrationObjectType) { + val, err := m.GetBackingStore().Get("objectType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*SharePointMigrationObjectType) + } + return nil +} +// GetObjectUrl gets the objectUrl property value. The object URL. Read-only. +// returns a *string when successful +func (m *SharePointMigrationJobErrorEvent) GetObjectUrl()(*string) { + val, err := m.GetBackingStore().Get("objectUrl") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTotalRetryCount gets the totalRetryCount property value. The current retry count of the job. Read-only. +// returns a *int32 when successful +func (m *SharePointMigrationJobErrorEvent) GetTotalRetryCount()(*int32) { + val, err := m.GetBackingStore().Get("totalRetryCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *SharePointMigrationJobErrorEvent) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.SharePointMigrationEvent.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("error", m.GetError()) + if err != nil { + return err + } + } + if m.GetErrorLevel() != nil { + cast := (*m.GetErrorLevel()).String() + err = writer.WriteStringValue("errorLevel", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("objectId", m.GetObjectId()) + if err != nil { + return err + } + } + if m.GetObjectType() != nil { + cast := (*m.GetObjectType()).String() + err = writer.WriteStringValue("objectType", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("objectUrl", m.GetObjectUrl()) + if err != nil { + return err + } + } + { + err = writer.WriteInt32Value("totalRetryCount", m.GetTotalRetryCount()) + if err != nil { + return err + } + } + return nil +} +// SetError sets the error property value. The error property +func (m *SharePointMigrationJobErrorEvent) SetError(value PublicErrorable)() { + err := m.GetBackingStore().Set("error", value) + if err != nil { + panic(err) + } +} +// SetErrorLevel sets the errorLevel property value. The errorLevel property +func (m *SharePointMigrationJobErrorEvent) SetErrorLevel(value *SharePointMigrationJobErrorLevel)() { + err := m.GetBackingStore().Set("errorLevel", value) + if err != nil { + panic(err) + } +} +// SetObjectId sets the objectId property value. The object ID. Read-only. +func (m *SharePointMigrationJobErrorEvent) SetObjectId(value *string)() { + err := m.GetBackingStore().Set("objectId", value) + if err != nil { + panic(err) + } +} +// SetObjectType sets the objectType property value. The objectType property +func (m *SharePointMigrationJobErrorEvent) SetObjectType(value *SharePointMigrationObjectType)() { + err := m.GetBackingStore().Set("objectType", value) + if err != nil { + panic(err) + } +} +// SetObjectUrl sets the objectUrl property value. The object URL. Read-only. +func (m *SharePointMigrationJobErrorEvent) SetObjectUrl(value *string)() { + err := m.GetBackingStore().Set("objectUrl", value) + if err != nil { + panic(err) + } +} +// SetTotalRetryCount sets the totalRetryCount property value. The current retry count of the job. Read-only. +func (m *SharePointMigrationJobErrorEvent) SetTotalRetryCount(value *int32)() { + err := m.GetBackingStore().Set("totalRetryCount", value) + if err != nil { + panic(err) + } +} +type SharePointMigrationJobErrorEventable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + SharePointMigrationEventable + GetError()(PublicErrorable) + GetErrorLevel()(*SharePointMigrationJobErrorLevel) + GetObjectId()(*string) + GetObjectType()(*SharePointMigrationObjectType) + GetObjectUrl()(*string) + GetTotalRetryCount()(*int32) + SetError(value PublicErrorable)() + SetErrorLevel(value *SharePointMigrationJobErrorLevel)() + SetObjectId(value *string)() + SetObjectType(value *SharePointMigrationObjectType)() + SetObjectUrl(value *string)() + SetTotalRetryCount(value *int32)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_error_level.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_error_level.go new file mode 100644 index 0000000000..d29cafcd73 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_error_level.go @@ -0,0 +1,45 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type SharePointMigrationJobErrorLevel int + +const ( + IMPORTANT_SHAREPOINTMIGRATIONJOBERRORLEVEL SharePointMigrationJobErrorLevel = iota + WARNING_SHAREPOINTMIGRATIONJOBERRORLEVEL + ERROR_SHAREPOINTMIGRATIONJOBERRORLEVEL + FATALERROR_SHAREPOINTMIGRATIONJOBERRORLEVEL + UNKNOWNFUTUREVALUE_SHAREPOINTMIGRATIONJOBERRORLEVEL +) + +func (i SharePointMigrationJobErrorLevel) String() string { + return []string{"important", "warning", "error", "fatalError", "unknownFutureValue"}[i] +} +func ParseSharePointMigrationJobErrorLevel(v string) (any, error) { + result := IMPORTANT_SHAREPOINTMIGRATIONJOBERRORLEVEL + switch v { + case "important": + result = IMPORTANT_SHAREPOINTMIGRATIONJOBERRORLEVEL + case "warning": + result = WARNING_SHAREPOINTMIGRATIONJOBERRORLEVEL + case "error": + result = ERROR_SHAREPOINTMIGRATIONJOBERRORLEVEL + case "fatalError": + result = FATALERROR_SHAREPOINTMIGRATIONJOBERRORLEVEL + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_SHAREPOINTMIGRATIONJOBERRORLEVEL + default: + return nil, nil + } + return &result, nil +} +func SerializeSharePointMigrationJobErrorLevel(values []SharePointMigrationJobErrorLevel) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i SharePointMigrationJobErrorLevel) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_postponed_event.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_postponed_event.go new file mode 100644 index 0000000000..d8af4cefc3 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_postponed_event.go @@ -0,0 +1,191 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SharePointMigrationJobPostponedEvent struct { + SharePointMigrationEvent +} +// NewSharePointMigrationJobPostponedEvent instantiates a new SharePointMigrationJobPostponedEvent and sets the default values. +func NewSharePointMigrationJobPostponedEvent()(*SharePointMigrationJobPostponedEvent) { + m := &SharePointMigrationJobPostponedEvent{ + SharePointMigrationEvent: *NewSharePointMigrationEvent(), + } + return m +} +// CreateSharePointMigrationJobPostponedEventFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointMigrationJobPostponedEventFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointMigrationJobPostponedEvent(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointMigrationJobPostponedEvent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.SharePointMigrationEvent.GetFieldDeserializers() + res["jobsInQueue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetJobsInQueue(val) + } + return nil + } + res["nextPickupDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetNextPickupDateTime(val) + } + return nil + } + res["reason"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetReason(val) + } + return nil + } + res["totalRetryCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTotalRetryCount(val) + } + return nil + } + return res +} +// GetJobsInQueue gets the jobsInQueue property value. The number of migration jobs in the queue of the current database. Read-only. +// returns a *int64 when successful +func (m *SharePointMigrationJobPostponedEvent) GetJobsInQueue()(*int64) { + val, err := m.GetBackingStore().Get("jobsInQueue") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetNextPickupDateTime gets the nextPickupDateTime property value. The date and time that indicate when this job is picked up next. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. +// returns a *Time when successful +func (m *SharePointMigrationJobPostponedEvent) GetNextPickupDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("nextPickupDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetReason gets the reason property value. The reason for the postponement. Read-only. +// returns a *string when successful +func (m *SharePointMigrationJobPostponedEvent) GetReason()(*string) { + val, err := m.GetBackingStore().Get("reason") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTotalRetryCount gets the totalRetryCount property value. The current retry count of the job. Read-only. +// returns a *int32 when successful +func (m *SharePointMigrationJobPostponedEvent) GetTotalRetryCount()(*int32) { + val, err := m.GetBackingStore().Get("totalRetryCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *SharePointMigrationJobPostponedEvent) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.SharePointMigrationEvent.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteInt64Value("jobsInQueue", m.GetJobsInQueue()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("nextPickupDateTime", m.GetNextPickupDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("reason", m.GetReason()) + if err != nil { + return err + } + } + { + err = writer.WriteInt32Value("totalRetryCount", m.GetTotalRetryCount()) + if err != nil { + return err + } + } + return nil +} +// SetJobsInQueue sets the jobsInQueue property value. The number of migration jobs in the queue of the current database. Read-only. +func (m *SharePointMigrationJobPostponedEvent) SetJobsInQueue(value *int64)() { + err := m.GetBackingStore().Set("jobsInQueue", value) + if err != nil { + panic(err) + } +} +// SetNextPickupDateTime sets the nextPickupDateTime property value. The date and time that indicate when this job is picked up next. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. +func (m *SharePointMigrationJobPostponedEvent) SetNextPickupDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("nextPickupDateTime", value) + if err != nil { + panic(err) + } +} +// SetReason sets the reason property value. The reason for the postponement. Read-only. +func (m *SharePointMigrationJobPostponedEvent) SetReason(value *string)() { + err := m.GetBackingStore().Set("reason", value) + if err != nil { + panic(err) + } +} +// SetTotalRetryCount sets the totalRetryCount property value. The current retry count of the job. Read-only. +func (m *SharePointMigrationJobPostponedEvent) SetTotalRetryCount(value *int32)() { + err := m.GetBackingStore().Set("totalRetryCount", value) + if err != nil { + panic(err) + } +} +type SharePointMigrationJobPostponedEventable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + SharePointMigrationEventable + GetJobsInQueue()(*int64) + GetNextPickupDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetReason()(*string) + GetTotalRetryCount()(*int32) + SetJobsInQueue(value *int64)() + SetNextPickupDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetReason(value *string)() + SetTotalRetryCount(value *int32)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_progress_event.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_progress_event.go new file mode 100644 index 0000000000..fdbf4a0def --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_progress_event.go @@ -0,0 +1,671 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SharePointMigrationJobProgressEvent struct { + SharePointMigrationEvent +} +// NewSharePointMigrationJobProgressEvent instantiates a new SharePointMigrationJobProgressEvent and sets the default values. +func NewSharePointMigrationJobProgressEvent()(*SharePointMigrationJobProgressEvent) { + m := &SharePointMigrationJobProgressEvent{ + SharePointMigrationEvent: *NewSharePointMigrationEvent(), + } + return m +} +// CreateSharePointMigrationJobProgressEventFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointMigrationJobProgressEventFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointMigrationJobProgressEvent(), nil +} +// GetBytesProcessed gets the bytesProcessed property value. The number of bytes processed. Read-only. +// returns a *int64 when successful +func (m *SharePointMigrationJobProgressEvent) GetBytesProcessed()(*int64) { + val, err := m.GetBackingStore().Get("bytesProcessed") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetBytesProcessedOnlyCurrentVersion gets the bytesProcessedOnlyCurrentVersion property value. The number of bytes processed with version history excluded. Read-only. +// returns a *int64 when successful +func (m *SharePointMigrationJobProgressEvent) GetBytesProcessedOnlyCurrentVersion()(*int64) { + val, err := m.GetBackingStore().Get("bytesProcessedOnlyCurrentVersion") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetCpuDurationMs gets the cpuDurationMs property value. CPU duration in milliseconds. Read-only. +// returns a *int64 when successful +func (m *SharePointMigrationJobProgressEvent) GetCpuDurationMs()(*int64) { + val, err := m.GetBackingStore().Get("cpuDurationMs") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointMigrationJobProgressEvent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.SharePointMigrationEvent.GetFieldDeserializers() + res["bytesProcessed"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetBytesProcessed(val) + } + return nil + } + res["bytesProcessedOnlyCurrentVersion"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetBytesProcessedOnlyCurrentVersion(val) + } + return nil + } + res["cpuDurationMs"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetCpuDurationMs(val) + } + return nil + } + res["filesProcessed"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetFilesProcessed(val) + } + return nil + } + res["filesProcessedOnlyCurrentVersion"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetFilesProcessedOnlyCurrentVersion(val) + } + return nil + } + res["isCompleted"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsCompleted(val) + } + return nil + } + res["lastProcessedObjectId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetLastProcessedObjectId(val) + } + return nil + } + res["objectsProcessed"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetObjectsProcessed(val) + } + return nil + } + res["sqlDurationMs"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetSqlDurationMs(val) + } + return nil + } + res["sqlQueryCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetSqlQueryCount(val) + } + return nil + } + res["totalDurationMs"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetTotalDurationMs(val) + } + return nil + } + res["totalErrors"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetTotalErrors(val) + } + return nil + } + res["totalExpectedBytes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetTotalExpectedBytes(val) + } + return nil + } + res["totalExpectedObjects"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetTotalExpectedObjects(val) + } + return nil + } + res["totalRetryCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTotalRetryCount(val) + } + return nil + } + res["totalWarnings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetTotalWarnings(val) + } + return nil + } + res["waitTimeOnSqlThrottlingMs"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetWaitTimeOnSqlThrottlingMs(val) + } + return nil + } + return res +} +// GetFilesProcessed gets the filesProcessed property value. The number of files processed. Read-only. +// returns a *int64 when successful +func (m *SharePointMigrationJobProgressEvent) GetFilesProcessed()(*int64) { + val, err := m.GetBackingStore().Get("filesProcessed") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetFilesProcessedOnlyCurrentVersion gets the filesProcessedOnlyCurrentVersion property value. The number of files processed with version history excluded. Read-only. +// returns a *int64 when successful +func (m *SharePointMigrationJobProgressEvent) GetFilesProcessedOnlyCurrentVersion()(*int64) { + val, err := m.GetBackingStore().Get("filesProcessedOnlyCurrentVersion") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetIsCompleted gets the isCompleted property value. True if the job status is End. False if the job is In progress. Read-only. +// returns a *bool when successful +func (m *SharePointMigrationJobProgressEvent) GetIsCompleted()(*bool) { + val, err := m.GetBackingStore().Get("isCompleted") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetLastProcessedObjectId gets the lastProcessedObjectId property value. The unique identifier of the last object processed. Read-only. +// returns a *string when successful +func (m *SharePointMigrationJobProgressEvent) GetLastProcessedObjectId()(*string) { + val, err := m.GetBackingStore().Get("lastProcessedObjectId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetObjectsProcessed gets the objectsProcessed property value. The number of objects processed. Read-only. +// returns a *int64 when successful +func (m *SharePointMigrationJobProgressEvent) GetObjectsProcessed()(*int64) { + val, err := m.GetBackingStore().Get("objectsProcessed") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetSqlDurationMs gets the sqlDurationMs property value. SQL duration in milliseconds. Read-only. +// returns a *int64 when successful +func (m *SharePointMigrationJobProgressEvent) GetSqlDurationMs()(*int64) { + val, err := m.GetBackingStore().Get("sqlDurationMs") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetSqlQueryCount gets the sqlQueryCount property value. SQL query count. Read-only. +// returns a *int64 when successful +func (m *SharePointMigrationJobProgressEvent) GetSqlQueryCount()(*int64) { + val, err := m.GetBackingStore().Get("sqlQueryCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetTotalDurationMs gets the totalDurationMs property value. Total duration time in milliseconds. Read-only. +// returns a *int64 when successful +func (m *SharePointMigrationJobProgressEvent) GetTotalDurationMs()(*int64) { + val, err := m.GetBackingStore().Get("totalDurationMs") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetTotalErrors gets the totalErrors property value. Total errors. Read-only. +// returns a *int64 when successful +func (m *SharePointMigrationJobProgressEvent) GetTotalErrors()(*int64) { + val, err := m.GetBackingStore().Get("totalErrors") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetTotalExpectedBytes gets the totalExpectedBytes property value. Total bytes to be processed. Read-only. +// returns a *int64 when successful +func (m *SharePointMigrationJobProgressEvent) GetTotalExpectedBytes()(*int64) { + val, err := m.GetBackingStore().Get("totalExpectedBytes") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetTotalExpectedObjects gets the totalExpectedObjects property value. The number of objects to process. Read-only. +// returns a *int64 when successful +func (m *SharePointMigrationJobProgressEvent) GetTotalExpectedObjects()(*int64) { + val, err := m.GetBackingStore().Get("totalExpectedObjects") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetTotalRetryCount gets the totalRetryCount property value. The current retry count of the job. Read-only. +// returns a *int32 when successful +func (m *SharePointMigrationJobProgressEvent) GetTotalRetryCount()(*int32) { + val, err := m.GetBackingStore().Get("totalRetryCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetTotalWarnings gets the totalWarnings property value. Total warnings. Read-only. +// returns a *int64 when successful +func (m *SharePointMigrationJobProgressEvent) GetTotalWarnings()(*int64) { + val, err := m.GetBackingStore().Get("totalWarnings") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetWaitTimeOnSqlThrottlingMs gets the waitTimeOnSqlThrottlingMs property value. Waiting time due to SQL throttling, in milliseconds. Read-only. +// returns a *int64 when successful +func (m *SharePointMigrationJobProgressEvent) GetWaitTimeOnSqlThrottlingMs()(*int64) { + val, err := m.GetBackingStore().Get("waitTimeOnSqlThrottlingMs") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// Serialize serializes information the current object +func (m *SharePointMigrationJobProgressEvent) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.SharePointMigrationEvent.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteInt64Value("bytesProcessed", m.GetBytesProcessed()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("bytesProcessedOnlyCurrentVersion", m.GetBytesProcessedOnlyCurrentVersion()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("cpuDurationMs", m.GetCpuDurationMs()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("filesProcessed", m.GetFilesProcessed()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("filesProcessedOnlyCurrentVersion", m.GetFilesProcessedOnlyCurrentVersion()) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("isCompleted", m.GetIsCompleted()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("lastProcessedObjectId", m.GetLastProcessedObjectId()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("objectsProcessed", m.GetObjectsProcessed()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("sqlDurationMs", m.GetSqlDurationMs()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("sqlQueryCount", m.GetSqlQueryCount()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("totalDurationMs", m.GetTotalDurationMs()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("totalErrors", m.GetTotalErrors()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("totalExpectedBytes", m.GetTotalExpectedBytes()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("totalExpectedObjects", m.GetTotalExpectedObjects()) + if err != nil { + return err + } + } + { + err = writer.WriteInt32Value("totalRetryCount", m.GetTotalRetryCount()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("totalWarnings", m.GetTotalWarnings()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("waitTimeOnSqlThrottlingMs", m.GetWaitTimeOnSqlThrottlingMs()) + if err != nil { + return err + } + } + return nil +} +// SetBytesProcessed sets the bytesProcessed property value. The number of bytes processed. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetBytesProcessed(value *int64)() { + err := m.GetBackingStore().Set("bytesProcessed", value) + if err != nil { + panic(err) + } +} +// SetBytesProcessedOnlyCurrentVersion sets the bytesProcessedOnlyCurrentVersion property value. The number of bytes processed with version history excluded. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetBytesProcessedOnlyCurrentVersion(value *int64)() { + err := m.GetBackingStore().Set("bytesProcessedOnlyCurrentVersion", value) + if err != nil { + panic(err) + } +} +// SetCpuDurationMs sets the cpuDurationMs property value. CPU duration in milliseconds. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetCpuDurationMs(value *int64)() { + err := m.GetBackingStore().Set("cpuDurationMs", value) + if err != nil { + panic(err) + } +} +// SetFilesProcessed sets the filesProcessed property value. The number of files processed. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetFilesProcessed(value *int64)() { + err := m.GetBackingStore().Set("filesProcessed", value) + if err != nil { + panic(err) + } +} +// SetFilesProcessedOnlyCurrentVersion sets the filesProcessedOnlyCurrentVersion property value. The number of files processed with version history excluded. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetFilesProcessedOnlyCurrentVersion(value *int64)() { + err := m.GetBackingStore().Set("filesProcessedOnlyCurrentVersion", value) + if err != nil { + panic(err) + } +} +// SetIsCompleted sets the isCompleted property value. True if the job status is End. False if the job is In progress. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetIsCompleted(value *bool)() { + err := m.GetBackingStore().Set("isCompleted", value) + if err != nil { + panic(err) + } +} +// SetLastProcessedObjectId sets the lastProcessedObjectId property value. The unique identifier of the last object processed. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetLastProcessedObjectId(value *string)() { + err := m.GetBackingStore().Set("lastProcessedObjectId", value) + if err != nil { + panic(err) + } +} +// SetObjectsProcessed sets the objectsProcessed property value. The number of objects processed. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetObjectsProcessed(value *int64)() { + err := m.GetBackingStore().Set("objectsProcessed", value) + if err != nil { + panic(err) + } +} +// SetSqlDurationMs sets the sqlDurationMs property value. SQL duration in milliseconds. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetSqlDurationMs(value *int64)() { + err := m.GetBackingStore().Set("sqlDurationMs", value) + if err != nil { + panic(err) + } +} +// SetSqlQueryCount sets the sqlQueryCount property value. SQL query count. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetSqlQueryCount(value *int64)() { + err := m.GetBackingStore().Set("sqlQueryCount", value) + if err != nil { + panic(err) + } +} +// SetTotalDurationMs sets the totalDurationMs property value. Total duration time in milliseconds. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetTotalDurationMs(value *int64)() { + err := m.GetBackingStore().Set("totalDurationMs", value) + if err != nil { + panic(err) + } +} +// SetTotalErrors sets the totalErrors property value. Total errors. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetTotalErrors(value *int64)() { + err := m.GetBackingStore().Set("totalErrors", value) + if err != nil { + panic(err) + } +} +// SetTotalExpectedBytes sets the totalExpectedBytes property value. Total bytes to be processed. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetTotalExpectedBytes(value *int64)() { + err := m.GetBackingStore().Set("totalExpectedBytes", value) + if err != nil { + panic(err) + } +} +// SetTotalExpectedObjects sets the totalExpectedObjects property value. The number of objects to process. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetTotalExpectedObjects(value *int64)() { + err := m.GetBackingStore().Set("totalExpectedObjects", value) + if err != nil { + panic(err) + } +} +// SetTotalRetryCount sets the totalRetryCount property value. The current retry count of the job. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetTotalRetryCount(value *int32)() { + err := m.GetBackingStore().Set("totalRetryCount", value) + if err != nil { + panic(err) + } +} +// SetTotalWarnings sets the totalWarnings property value. Total warnings. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetTotalWarnings(value *int64)() { + err := m.GetBackingStore().Set("totalWarnings", value) + if err != nil { + panic(err) + } +} +// SetWaitTimeOnSqlThrottlingMs sets the waitTimeOnSqlThrottlingMs property value. Waiting time due to SQL throttling, in milliseconds. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetWaitTimeOnSqlThrottlingMs(value *int64)() { + err := m.GetBackingStore().Set("waitTimeOnSqlThrottlingMs", value) + if err != nil { + panic(err) + } +} +type SharePointMigrationJobProgressEventable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + SharePointMigrationEventable + GetBytesProcessed()(*int64) + GetBytesProcessedOnlyCurrentVersion()(*int64) + GetCpuDurationMs()(*int64) + GetFilesProcessed()(*int64) + GetFilesProcessedOnlyCurrentVersion()(*int64) + GetIsCompleted()(*bool) + GetLastProcessedObjectId()(*string) + GetObjectsProcessed()(*int64) + GetSqlDurationMs()(*int64) + GetSqlQueryCount()(*int64) + GetTotalDurationMs()(*int64) + GetTotalErrors()(*int64) + GetTotalExpectedBytes()(*int64) + GetTotalExpectedObjects()(*int64) + GetTotalRetryCount()(*int32) + GetTotalWarnings()(*int64) + GetWaitTimeOnSqlThrottlingMs()(*int64) + SetBytesProcessed(value *int64)() + SetBytesProcessedOnlyCurrentVersion(value *int64)() + SetCpuDurationMs(value *int64)() + SetFilesProcessed(value *int64)() + SetFilesProcessedOnlyCurrentVersion(value *int64)() + SetIsCompleted(value *bool)() + SetLastProcessedObjectId(value *string)() + SetObjectsProcessed(value *int64)() + SetSqlDurationMs(value *int64)() + SetSqlQueryCount(value *int64)() + SetTotalDurationMs(value *int64)() + SetTotalErrors(value *int64)() + SetTotalExpectedBytes(value *int64)() + SetTotalExpectedObjects(value *int64)() + SetTotalRetryCount(value *int32)() + SetTotalWarnings(value *int64)() + SetWaitTimeOnSqlThrottlingMs(value *int64)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_queued_event.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_queued_event.go new file mode 100644 index 0000000000..ee184baf39 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_queued_event.go @@ -0,0 +1,42 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SharePointMigrationJobQueuedEvent struct { + SharePointMigrationEvent +} +// NewSharePointMigrationJobQueuedEvent instantiates a new SharePointMigrationJobQueuedEvent and sets the default values. +func NewSharePointMigrationJobQueuedEvent()(*SharePointMigrationJobQueuedEvent) { + m := &SharePointMigrationJobQueuedEvent{ + SharePointMigrationEvent: *NewSharePointMigrationEvent(), + } + return m +} +// CreateSharePointMigrationJobQueuedEventFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointMigrationJobQueuedEventFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointMigrationJobQueuedEvent(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointMigrationJobQueuedEvent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.SharePointMigrationEvent.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *SharePointMigrationJobQueuedEvent) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.SharePointMigrationEvent.Serialize(writer) + if err != nil { + return err + } + return nil +} +type SharePointMigrationJobQueuedEventable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + SharePointMigrationEventable +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_start_event.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_start_event.go new file mode 100644 index 0000000000..f861525988 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_job_start_event.go @@ -0,0 +1,116 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SharePointMigrationJobStartEvent struct { + SharePointMigrationEvent +} +// NewSharePointMigrationJobStartEvent instantiates a new SharePointMigrationJobStartEvent and sets the default values. +func NewSharePointMigrationJobStartEvent()(*SharePointMigrationJobStartEvent) { + m := &SharePointMigrationJobStartEvent{ + SharePointMigrationEvent: *NewSharePointMigrationEvent(), + } + return m +} +// CreateSharePointMigrationJobStartEventFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointMigrationJobStartEventFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointMigrationJobStartEvent(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointMigrationJobStartEvent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.SharePointMigrationEvent.GetFieldDeserializers() + res["isRestarted"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsRestarted(val) + } + return nil + } + res["totalRetryCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTotalRetryCount(val) + } + return nil + } + return res +} +// GetIsRestarted gets the isRestarted property value. True if the job is restarted. False if it's the initial start. Read-only. +// returns a *bool when successful +func (m *SharePointMigrationJobStartEvent) GetIsRestarted()(*bool) { + val, err := m.GetBackingStore().Get("isRestarted") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetTotalRetryCount gets the totalRetryCount property value. The current retry count of the job. Read-only. +// returns a *int32 when successful +func (m *SharePointMigrationJobStartEvent) GetTotalRetryCount()(*int32) { + val, err := m.GetBackingStore().Get("totalRetryCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *SharePointMigrationJobStartEvent) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.SharePointMigrationEvent.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteBoolValue("isRestarted", m.GetIsRestarted()) + if err != nil { + return err + } + } + { + err = writer.WriteInt32Value("totalRetryCount", m.GetTotalRetryCount()) + if err != nil { + return err + } + } + return nil +} +// SetIsRestarted sets the isRestarted property value. True if the job is restarted. False if it's the initial start. Read-only. +func (m *SharePointMigrationJobStartEvent) SetIsRestarted(value *bool)() { + err := m.GetBackingStore().Set("isRestarted", value) + if err != nil { + panic(err) + } +} +// SetTotalRetryCount sets the totalRetryCount property value. The current retry count of the job. Read-only. +func (m *SharePointMigrationJobStartEvent) SetTotalRetryCount(value *int32)() { + err := m.GetBackingStore().Set("totalRetryCount", value) + if err != nil { + panic(err) + } +} +type SharePointMigrationJobStartEventable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + SharePointMigrationEventable + GetIsRestarted()(*bool) + GetTotalRetryCount()(*int32) + SetIsRestarted(value *bool)() + SetTotalRetryCount(value *int32)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_object_type.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_object_type.go new file mode 100644 index 0000000000..b60664b569 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/share_point_migration_object_type.go @@ -0,0 +1,60 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type SharePointMigrationObjectType int + +const ( + SITE_SHAREPOINTMIGRATIONOBJECTTYPE SharePointMigrationObjectType = iota + WEB_SHAREPOINTMIGRATIONOBJECTTYPE + FOLDER_SHAREPOINTMIGRATIONOBJECTTYPE + LIST_SHAREPOINTMIGRATIONOBJECTTYPE + LISTITEM_SHAREPOINTMIGRATIONOBJECTTYPE + FILE_SHAREPOINTMIGRATIONOBJECTTYPE + ALERT_SHAREPOINTMIGRATIONOBJECTTYPE + SHAREDWITHOBJECT_SHAREPOINTMIGRATIONOBJECTTYPE + INVALID_SHAREPOINTMIGRATIONOBJECTTYPE + UNKNOWNFUTUREVALUE_SHAREPOINTMIGRATIONOBJECTTYPE +) + +func (i SharePointMigrationObjectType) String() string { + return []string{"site", "web", "folder", "list", "listItem", "file", "alert", "sharedWithObject", "invalid", "unknownFutureValue"}[i] +} +func ParseSharePointMigrationObjectType(v string) (any, error) { + result := SITE_SHAREPOINTMIGRATIONOBJECTTYPE + switch v { + case "site": + result = SITE_SHAREPOINTMIGRATIONOBJECTTYPE + case "web": + result = WEB_SHAREPOINTMIGRATIONOBJECTTYPE + case "folder": + result = FOLDER_SHAREPOINTMIGRATIONOBJECTTYPE + case "list": + result = LIST_SHAREPOINTMIGRATIONOBJECTTYPE + case "listItem": + result = LISTITEM_SHAREPOINTMIGRATIONOBJECTTYPE + case "file": + result = FILE_SHAREPOINTMIGRATIONOBJECTTYPE + case "alert": + result = ALERT_SHAREPOINTMIGRATIONOBJECTTYPE + case "sharedWithObject": + result = SHAREDWITHOBJECT_SHAREPOINTMIGRATIONOBJECTTYPE + case "invalid": + result = INVALID_SHAREPOINTMIGRATIONOBJECTTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_SHAREPOINTMIGRATIONOBJECTTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeSharePointMigrationObjectType(values []SharePointMigrationObjectType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i SharePointMigrationObjectType) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/sharepoint_settings.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/sharepoint_settings.go index 1e9c45ce49..7cbe1471b0 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/sharepoint_settings.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/sharepoint_settings.go @@ -409,7 +409,7 @@ func (m *SharepointSettings) GetIdleSessionSignOut()(IdleSessionSignOutable) { } return nil } -// GetImageTaggingOption gets the imageTaggingOption property value. Specifies the image tagging option for the tenant. Possible values are: disabled, basic, enhanced. +// GetImageTaggingOption gets the imageTaggingOption property value. Specifies the image tagging option for the tenant. The possible values are: disabled, basic, enhanced. // returns a *ImageTaggingChoice when successful func (m *SharepointSettings) GetImageTaggingOption()(*ImageTaggingChoice) { val, err := m.GetBackingStore().Get("imageTaggingOption") @@ -637,7 +637,7 @@ func (m *SharepointSettings) GetSharingBlockedDomainList()([]string) { } return nil } -// GetSharingCapability gets the sharingCapability property value. Sharing capability for the tenant. Possible values are: disabled, externalUserSharingOnly, externalUserAndGuestSharing, existingExternalUserSharingOnly. +// GetSharingCapability gets the sharingCapability property value. Sharing capability for the tenant. The possible values are: disabled, externalUserSharingOnly, externalUserAndGuestSharing, existingExternalUserSharingOnly. // returns a *SharingCapabilities when successful func (m *SharepointSettings) GetSharingCapability()(*SharingCapabilities) { val, err := m.GetBackingStore().Get("sharingCapability") @@ -649,7 +649,7 @@ func (m *SharepointSettings) GetSharingCapability()(*SharingCapabilities) { } return nil } -// GetSharingDomainRestrictionMode gets the sharingDomainRestrictionMode property value. Specifies the external sharing mode for domains. Possible values are: none, allowList, blockList. +// GetSharingDomainRestrictionMode gets the sharingDomainRestrictionMode property value. Specifies the external sharing mode for domains. The possible values are: none, allowList, blockList. // returns a *SharingDomainRestrictionMode when successful func (m *SharepointSettings) GetSharingDomainRestrictionMode()(*SharingDomainRestrictionMode) { val, err := m.GetBackingStore().Get("sharingDomainRestrictionMode") @@ -917,7 +917,7 @@ func (m *SharepointSettings) SetIdleSessionSignOut(value IdleSessionSignOutable) panic(err) } } -// SetImageTaggingOption sets the imageTaggingOption property value. Specifies the image tagging option for the tenant. Possible values are: disabled, basic, enhanced. +// SetImageTaggingOption sets the imageTaggingOption property value. Specifies the image tagging option for the tenant. The possible values are: disabled, basic, enhanced. func (m *SharepointSettings) SetImageTaggingOption(value *ImageTaggingChoice)() { err := m.GetBackingStore().Set("imageTaggingOption", value) if err != nil { @@ -1050,14 +1050,14 @@ func (m *SharepointSettings) SetSharingBlockedDomainList(value []string)() { panic(err) } } -// SetSharingCapability sets the sharingCapability property value. Sharing capability for the tenant. Possible values are: disabled, externalUserSharingOnly, externalUserAndGuestSharing, existingExternalUserSharingOnly. +// SetSharingCapability sets the sharingCapability property value. Sharing capability for the tenant. The possible values are: disabled, externalUserSharingOnly, externalUserAndGuestSharing, existingExternalUserSharingOnly. func (m *SharepointSettings) SetSharingCapability(value *SharingCapabilities)() { err := m.GetBackingStore().Set("sharingCapability", value) if err != nil { panic(err) } } -// SetSharingDomainRestrictionMode sets the sharingDomainRestrictionMode property value. Specifies the external sharing mode for domains. Possible values are: none, allowList, blockList. +// SetSharingDomainRestrictionMode sets the sharingDomainRestrictionMode property value. Specifies the external sharing mode for domains. The possible values are: none, allowList, blockList. func (m *SharepointSettings) SetSharingDomainRestrictionMode(value *SharingDomainRestrictionMode)() { err := m.GetBackingStore().Set("sharingDomainRestrictionMode", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/sign_in.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/sign_in.go index 37f321affb..cb51ac61a3 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/sign_in.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/sign_in.go @@ -71,7 +71,7 @@ func (m *SignIn) GetClientAppUsed()(*string) { } return nil } -// GetConditionalAccessStatus gets the conditionalAccessStatus property value. Reports status of an activated conditional access policy. Possible values are: success, failure, notApplied, and unknownFutureValue. Supports $filter (eq). +// GetConditionalAccessStatus gets the conditionalAccessStatus property value. Reports status of an activated conditional access policy. The possible values are: success, failure, notApplied, and unknownFutureValue. Supports $filter (eq). // returns a *ConditionalAccessStatus when successful func (m *SignIn) GetConditionalAccessStatus()(*ConditionalAccessStatus) { val, err := m.GetBackingStore().Get("conditionalAccessStatus") @@ -433,7 +433,7 @@ func (m *SignIn) GetResourceId()(*string) { } return nil } -// GetRiskDetail gets the riskDetail property value. The reason behind a specific state of a risky user, sign-in, or a risk event. The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. Use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe.The value none means that Microsoft Entra risk detection did not flag the user or the sign-in as a risky event so far. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden. +// GetRiskDetail gets the riskDetail property value. The reason behind a specific state of a risky user, sign-in, or a risk event. The value none means that Microsoft Entra risk detection did not flag the user or the sign-in as a risky event so far. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden. // returns a *RiskDetail when successful func (m *SignIn) GetRiskDetail()(*RiskDetail) { val, err := m.GetBackingStore().Get("riskDetail") @@ -738,7 +738,7 @@ func (m *SignIn) SetClientAppUsed(value *string)() { panic(err) } } -// SetConditionalAccessStatus sets the conditionalAccessStatus property value. Reports status of an activated conditional access policy. Possible values are: success, failure, notApplied, and unknownFutureValue. Supports $filter (eq). +// SetConditionalAccessStatus sets the conditionalAccessStatus property value. Reports status of an activated conditional access policy. The possible values are: success, failure, notApplied, and unknownFutureValue. Supports $filter (eq). func (m *SignIn) SetConditionalAccessStatus(value *ConditionalAccessStatus)() { err := m.GetBackingStore().Set("conditionalAccessStatus", value) if err != nil { @@ -801,7 +801,7 @@ func (m *SignIn) SetResourceId(value *string)() { panic(err) } } -// SetRiskDetail sets the riskDetail property value. The reason behind a specific state of a risky user, sign-in, or a risk event. The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. Use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe.The value none means that Microsoft Entra risk detection did not flag the user or the sign-in as a risky event so far. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden. +// SetRiskDetail sets the riskDetail property value. The reason behind a specific state of a risky user, sign-in, or a risk event. The value none means that Microsoft Entra risk detection did not flag the user or the sign-in as a risky event so far. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden. func (m *SignIn) SetRiskDetail(value *RiskDetail)() { err := m.GetBackingStore().Set("riskDetail", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/sign_in_frequency_session_control.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/sign_in_frequency_session_control.go index 6bd95c20d9..f334975192 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/sign_in_frequency_session_control.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/sign_in_frequency_session_control.go @@ -94,7 +94,7 @@ func (m *SignInFrequencySessionControl) GetFrequencyInterval()(*SignInFrequencyI } return nil } -// GetTypeEscaped gets the type property value. Possible values are: days, hours. +// GetTypeEscaped gets the type property value. The possible values are: days, hours. // returns a *SigninFrequencyType when successful func (m *SignInFrequencySessionControl) GetTypeEscaped()(*SigninFrequencyType) { val, err := m.GetBackingStore().Get("typeEscaped") @@ -167,7 +167,7 @@ func (m *SignInFrequencySessionControl) SetFrequencyInterval(value *SignInFreque panic(err) } } -// SetTypeEscaped sets the type property value. Possible values are: days, hours. +// SetTypeEscaped sets the type property value. The possible values are: days, hours. func (m *SignInFrequencySessionControl) SetTypeEscaped(value *SigninFrequencyType)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/simulation.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/simulation.go index 7758dc0b41..b1302d63c1 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/simulation.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/simulation.go @@ -23,7 +23,7 @@ func NewSimulation()(*Simulation) { func CreateSimulationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewSimulation(), nil } -// GetAttackTechnique gets the attackTechnique property value. The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. +// GetAttackTechnique gets the attackTechnique property value. The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. The possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. // returns a *SimulationAttackTechnique when successful func (m *Simulation) GetAttackTechnique()(*SimulationAttackTechnique) { val, err := m.GetBackingStore().Get("attackTechnique") @@ -35,7 +35,7 @@ func (m *Simulation) GetAttackTechnique()(*SimulationAttackTechnique) { } return nil } -// GetAttackType gets the attackType property value. Attack type of the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, social, cloud, endpoint, unknownFutureValue. +// GetAttackType gets the attackType property value. Attack type of the attack simulation and training campaign. Supports $filter and $orderby. The possible values are: unknown, social, cloud, endpoint, unknownFutureValue. // returns a *SimulationAttackType when successful func (m *Simulation) GetAttackType()(*SimulationAttackType) { val, err := m.GetBackingStore().Get("attackType") @@ -509,7 +509,7 @@ func (m *Simulation) GetPayload()(Payloadable) { } return nil } -// GetPayloadDeliveryPlatform gets the payloadDeliveryPlatform property value. Method of delivery of the phishing payload used in the attack simulation and training campaign. Possible values are: unknown, sms, email, teams, unknownFutureValue. +// GetPayloadDeliveryPlatform gets the payloadDeliveryPlatform property value. Method of delivery of the phishing payload used in the attack simulation and training campaign. The possible values are: unknown, sms, email, teams, unknownFutureValue. // returns a *PayloadDeliveryPlatform when successful func (m *Simulation) GetPayloadDeliveryPlatform()(*PayloadDeliveryPlatform) { val, err := m.GetBackingStore().Get("payloadDeliveryPlatform") @@ -533,7 +533,7 @@ func (m *Simulation) GetReport()(SimulationReportable) { } return nil } -// GetStatus gets the status property value. Status of the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, draft, running, scheduled, succeeded, failed, cancelled, excluded, unknownFutureValue. +// GetStatus gets the status property value. Status of the attack simulation and training campaign. Supports $filter and $orderby. The possible values are: unknown, draft, running, scheduled, succeeded, failed, cancelled, excluded, unknownFutureValue. // returns a *SimulationStatus when successful func (m *Simulation) GetStatus()(*SimulationStatus) { val, err := m.GetBackingStore().Get("status") @@ -713,14 +713,14 @@ func (m *Simulation) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c } return nil } -// SetAttackTechnique sets the attackTechnique property value. The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. +// SetAttackTechnique sets the attackTechnique property value. The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. The possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. func (m *Simulation) SetAttackTechnique(value *SimulationAttackTechnique)() { err := m.GetBackingStore().Set("attackTechnique", value) if err != nil { panic(err) } } -// SetAttackType sets the attackType property value. Attack type of the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, social, cloud, endpoint, unknownFutureValue. +// SetAttackType sets the attackType property value. Attack type of the attack simulation and training campaign. Supports $filter and $orderby. The possible values are: unknown, social, cloud, endpoint, unknownFutureValue. func (m *Simulation) SetAttackType(value *SimulationAttackType)() { err := m.GetBackingStore().Set("attackType", value) if err != nil { @@ -853,7 +853,7 @@ func (m *Simulation) SetPayload(value Payloadable)() { panic(err) } } -// SetPayloadDeliveryPlatform sets the payloadDeliveryPlatform property value. Method of delivery of the phishing payload used in the attack simulation and training campaign. Possible values are: unknown, sms, email, teams, unknownFutureValue. +// SetPayloadDeliveryPlatform sets the payloadDeliveryPlatform property value. Method of delivery of the phishing payload used in the attack simulation and training campaign. The possible values are: unknown, sms, email, teams, unknownFutureValue. func (m *Simulation) SetPayloadDeliveryPlatform(value *PayloadDeliveryPlatform)() { err := m.GetBackingStore().Set("payloadDeliveryPlatform", value) if err != nil { @@ -867,7 +867,7 @@ func (m *Simulation) SetReport(value SimulationReportable)() { panic(err) } } -// SetStatus sets the status property value. Status of the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, draft, running, scheduled, succeeded, failed, cancelled, excluded, unknownFutureValue. +// SetStatus sets the status property value. Status of the attack simulation and training campaign. Supports $filter and $orderby. The possible values are: unknown, draft, running, scheduled, succeeded, failed, cancelled, excluded, unknownFutureValue. func (m *Simulation) SetStatus(value *SimulationStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/simulation_notification.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/simulation_notification.go index af1fed3d4c..52bf1aae26 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/simulation_notification.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/simulation_notification.go @@ -40,7 +40,7 @@ func (m *SimulationNotification) GetFieldDeserializers()(map[string]func(i878a80 } return res } -// GetTargettedUserType gets the targettedUserType property value. Target user type. Possible values are: unknown, clicked, compromised, allUsers, unknownFutureValue. +// GetTargettedUserType gets the targettedUserType property value. Target user type. The possible values are: unknown, clicked, compromised, allUsers, unknownFutureValue. // returns a *TargettedUserType when successful func (m *SimulationNotification) GetTargettedUserType()(*TargettedUserType) { val, err := m.GetBackingStore().Get("targettedUserType") @@ -67,7 +67,7 @@ func (m *SimulationNotification) Serialize(writer i878a80d2330e89d26896388a3f487 } return nil } -// SetTargettedUserType sets the targettedUserType property value. Target user type. Possible values are: unknown, clicked, compromised, allUsers, unknownFutureValue. +// SetTargettedUserType sets the targettedUserType property value. Target user type. The possible values are: unknown, clicked, compromised, allUsers, unknownFutureValue. func (m *SimulationNotification) SetTargettedUserType(value *TargettedUserType)() { err := m.GetBackingStore().Set("targettedUserType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/site_collection.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/site_collection.go index c1e3cc74b5..b442d7a706 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/site_collection.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/site_collection.go @@ -38,7 +38,7 @@ func (m *SiteCollection) GetAdditionalData()(map[string]any) { } return val.(map[string]any) } -// GetArchivalDetails gets the archivalDetails property value. Represents whether the site collection is recently archived, fully archived, or reactivating. Possible values are: recentlyArchived, fullyArchived, reactivating, unknownFutureValue. +// GetArchivalDetails gets the archivalDetails property value. Represents whether the site collection is recently archived, fully archived, or reactivating. The possible values are: recentlyArchived, fullyArchived, reactivating, unknownFutureValue. // returns a SiteArchivalDetailsable when successful func (m *SiteCollection) GetArchivalDetails()(SiteArchivalDetailsable) { val, err := m.GetBackingStore().Get("archivalDetails") @@ -206,7 +206,7 @@ func (m *SiteCollection) SetAdditionalData(value map[string]any)() { panic(err) } } -// SetArchivalDetails sets the archivalDetails property value. Represents whether the site collection is recently archived, fully archived, or reactivating. Possible values are: recentlyArchived, fullyArchived, reactivating, unknownFutureValue. +// SetArchivalDetails sets the archivalDetails property value. Represents whether the site collection is recently archived, fully archived, or reactivating. The possible values are: recentlyArchived, fullyArchived, reactivating, unknownFutureValue. func (m *SiteCollection) SetArchivalDetails(value SiteArchivalDetailsable)() { err := m.GetBackingStore().Set("archivalDetails", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/speaker_assignment_submission.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/speaker_assignment_submission.go new file mode 100644 index 0000000000..4cfcf06659 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/speaker_assignment_submission.go @@ -0,0 +1,770 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SpeakerAssignmentSubmission struct { + Entity +} +// NewSpeakerAssignmentSubmission instantiates a new SpeakerAssignmentSubmission and sets the default values. +func NewSpeakerAssignmentSubmission()(*SpeakerAssignmentSubmission) { + m := &SpeakerAssignmentSubmission{ + Entity: *NewEntity(), + } + return m +} +// CreateSpeakerAssignmentSubmissionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSpeakerAssignmentSubmissionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSpeakerAssignmentSubmission(), nil +} +// GetAssignmentId gets the assignmentId property value. ID of the assignment with which this submission is associated. +// returns a *string when successful +func (m *SpeakerAssignmentSubmission) GetAssignmentId()(*string) { + val, err := m.GetBackingStore().Get("assignmentId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetAverageWordsPerMinutePace gets the averageWordsPerMinutePace property value. The average speaking pace of the student, measured in words per minute. +// returns a *int64 when successful +func (m *SpeakerAssignmentSubmission) GetAverageWordsPerMinutePace()(*int64) { + val, err := m.GetBackingStore().Get("averageWordsPerMinutePace") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetClassId gets the classId property value. ID of the class this speaker progress is associated with. +// returns a *string when successful +func (m *SpeakerAssignmentSubmission) GetClassId()(*string) { + val, err := m.GetBackingStore().Get("classId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SpeakerAssignmentSubmission) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["assignmentId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetAssignmentId(val) + } + return nil + } + res["averageWordsPerMinutePace"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetAverageWordsPerMinutePace(val) + } + return nil + } + res["classId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetClassId(val) + } + return nil + } + res["fillerWordsOccurrencesCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetFillerWordsOccurrencesCount(val) + } + return nil + } + res["incorrectCameraDistanceOccurrencesCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetIncorrectCameraDistanceOccurrencesCount(val) + } + return nil + } + res["lengthOfSubmissionInSeconds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetFloat64Value() + if err != nil { + return err + } + if val != nil { + m.SetLengthOfSubmissionInSeconds(val) + } + return nil + } + res["lostEyeContactOccurrencesCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetLostEyeContactOccurrencesCount(val) + } + return nil + } + res["monotoneOccurrencesCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetMonotoneOccurrencesCount(val) + } + return nil + } + res["nonInclusiveLanguageOccurrencesCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetNonInclusiveLanguageOccurrencesCount(val) + } + return nil + } + res["obstructedViewOccurrencesCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetObstructedViewOccurrencesCount(val) + } + return nil + } + res["repetitiveLanguageOccurrencesCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetRepetitiveLanguageOccurrencesCount(val) + } + return nil + } + res["studentId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetStudentId(val) + } + return nil + } + res["submissionDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetSubmissionDateTime(val) + } + return nil + } + res["submissionId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSubmissionId(val) + } + return nil + } + res["topFillerWords"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetTopFillerWords(res) + } + return nil + } + res["topMispronouncedWords"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetTopMispronouncedWords(res) + } + return nil + } + res["topNonInclusiveWordsAndPhrases"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetTopNonInclusiveWordsAndPhrases(res) + } + return nil + } + res["topRepetitiveWordsAndPhrases"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetTopRepetitiveWordsAndPhrases(res) + } + return nil + } + res["wordsSpokenCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetWordsSpokenCount(val) + } + return nil + } + return res +} +// GetFillerWordsOccurrencesCount gets the fillerWordsOccurrencesCount property value. The number of times the student was flagged by Speaker Coach for using a filler word. +// returns a *int64 when successful +func (m *SpeakerAssignmentSubmission) GetFillerWordsOccurrencesCount()(*int64) { + val, err := m.GetBackingStore().Get("fillerWordsOccurrencesCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetIncorrectCameraDistanceOccurrencesCount gets the incorrectCameraDistanceOccurrencesCount property value. The number of times the student was flagged by Speaker Coach for being either too close or too far away from the camera. +// returns a *int64 when successful +func (m *SpeakerAssignmentSubmission) GetIncorrectCameraDistanceOccurrencesCount()(*int64) { + val, err := m.GetBackingStore().Get("incorrectCameraDistanceOccurrencesCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetLengthOfSubmissionInSeconds gets the lengthOfSubmissionInSeconds property value. The length of the student submission in seconds. +// returns a *float64 when successful +func (m *SpeakerAssignmentSubmission) GetLengthOfSubmissionInSeconds()(*float64) { + val, err := m.GetBackingStore().Get("lengthOfSubmissionInSeconds") + if err != nil { + panic(err) + } + if val != nil { + return val.(*float64) + } + return nil +} +// GetLostEyeContactOccurrencesCount gets the lostEyeContactOccurrencesCount property value. The number of times the student was flagged by Speaker Coach for losing eye contact with the camera. +// returns a *int64 when successful +func (m *SpeakerAssignmentSubmission) GetLostEyeContactOccurrencesCount()(*int64) { + val, err := m.GetBackingStore().Get("lostEyeContactOccurrencesCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetMonotoneOccurrencesCount gets the monotoneOccurrencesCount property value. The number of times the student was flagged by Speaker Coach for speaking in monotone. +// returns a *int64 when successful +func (m *SpeakerAssignmentSubmission) GetMonotoneOccurrencesCount()(*int64) { + val, err := m.GetBackingStore().Get("monotoneOccurrencesCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetNonInclusiveLanguageOccurrencesCount gets the nonInclusiveLanguageOccurrencesCount property value. The number of times the student was flagged by Speaker Coach for using non-inclusive or sensitive language. +// returns a *int64 when successful +func (m *SpeakerAssignmentSubmission) GetNonInclusiveLanguageOccurrencesCount()(*int64) { + val, err := m.GetBackingStore().Get("nonInclusiveLanguageOccurrencesCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetObstructedViewOccurrencesCount gets the obstructedViewOccurrencesCount property value. The number of times the student was flagged by Speaker Coach for obstructing the view of their face. +// returns a *int64 when successful +func (m *SpeakerAssignmentSubmission) GetObstructedViewOccurrencesCount()(*int64) { + val, err := m.GetBackingStore().Get("obstructedViewOccurrencesCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetRepetitiveLanguageOccurrencesCount gets the repetitiveLanguageOccurrencesCount property value. The number of times the student was flagged by Speaker Coach for using repetitive language. +// returns a *int64 when successful +func (m *SpeakerAssignmentSubmission) GetRepetitiveLanguageOccurrencesCount()(*int64) { + val, err := m.GetBackingStore().Get("repetitiveLanguageOccurrencesCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetStudentId gets the studentId property value. ID of the user this speaker progress is associated with. +// returns a *string when successful +func (m *SpeakerAssignmentSubmission) GetStudentId()(*string) { + val, err := m.GetBackingStore().Get("studentId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSubmissionDateTime gets the submissionDateTime property value. Date and time of the submission this speaker progress is associated with. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +// returns a *Time when successful +func (m *SpeakerAssignmentSubmission) GetSubmissionDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("submissionDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetSubmissionId gets the submissionId property value. ID of the submission this speaker progress is associated with. +// returns a *string when successful +func (m *SpeakerAssignmentSubmission) GetSubmissionId()(*string) { + val, err := m.GetBackingStore().Get("submissionId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTopFillerWords gets the topFillerWords property value. The filler words used most by the student. +// returns a []string when successful +func (m *SpeakerAssignmentSubmission) GetTopFillerWords()([]string) { + val, err := m.GetBackingStore().Get("topFillerWords") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetTopMispronouncedWords gets the topMispronouncedWords property value. The words mispronounced most by the student. +// returns a []string when successful +func (m *SpeakerAssignmentSubmission) GetTopMispronouncedWords()([]string) { + val, err := m.GetBackingStore().Get("topMispronouncedWords") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetTopNonInclusiveWordsAndPhrases gets the topNonInclusiveWordsAndPhrases property value. The non-inclusive or sensitive words and phrases most used by the student. +// returns a []string when successful +func (m *SpeakerAssignmentSubmission) GetTopNonInclusiveWordsAndPhrases()([]string) { + val, err := m.GetBackingStore().Get("topNonInclusiveWordsAndPhrases") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetTopRepetitiveWordsAndPhrases gets the topRepetitiveWordsAndPhrases property value. The words and phrases most repeated by the student. +// returns a []string when successful +func (m *SpeakerAssignmentSubmission) GetTopRepetitiveWordsAndPhrases()([]string) { + val, err := m.GetBackingStore().Get("topRepetitiveWordsAndPhrases") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetWordsSpokenCount gets the wordsSpokenCount property value. Total number of words spoken by the student in the submission. +// returns a *int64 when successful +func (m *SpeakerAssignmentSubmission) GetWordsSpokenCount()(*int64) { + val, err := m.GetBackingStore().Get("wordsSpokenCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// Serialize serializes information the current object +func (m *SpeakerAssignmentSubmission) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("assignmentId", m.GetAssignmentId()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("averageWordsPerMinutePace", m.GetAverageWordsPerMinutePace()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("classId", m.GetClassId()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("fillerWordsOccurrencesCount", m.GetFillerWordsOccurrencesCount()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("incorrectCameraDistanceOccurrencesCount", m.GetIncorrectCameraDistanceOccurrencesCount()) + if err != nil { + return err + } + } + { + err = writer.WriteFloat64Value("lengthOfSubmissionInSeconds", m.GetLengthOfSubmissionInSeconds()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("lostEyeContactOccurrencesCount", m.GetLostEyeContactOccurrencesCount()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("monotoneOccurrencesCount", m.GetMonotoneOccurrencesCount()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("nonInclusiveLanguageOccurrencesCount", m.GetNonInclusiveLanguageOccurrencesCount()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("obstructedViewOccurrencesCount", m.GetObstructedViewOccurrencesCount()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("repetitiveLanguageOccurrencesCount", m.GetRepetitiveLanguageOccurrencesCount()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("studentId", m.GetStudentId()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("submissionDateTime", m.GetSubmissionDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("submissionId", m.GetSubmissionId()) + if err != nil { + return err + } + } + if m.GetTopFillerWords() != nil { + err = writer.WriteCollectionOfStringValues("topFillerWords", m.GetTopFillerWords()) + if err != nil { + return err + } + } + if m.GetTopMispronouncedWords() != nil { + err = writer.WriteCollectionOfStringValues("topMispronouncedWords", m.GetTopMispronouncedWords()) + if err != nil { + return err + } + } + if m.GetTopNonInclusiveWordsAndPhrases() != nil { + err = writer.WriteCollectionOfStringValues("topNonInclusiveWordsAndPhrases", m.GetTopNonInclusiveWordsAndPhrases()) + if err != nil { + return err + } + } + if m.GetTopRepetitiveWordsAndPhrases() != nil { + err = writer.WriteCollectionOfStringValues("topRepetitiveWordsAndPhrases", m.GetTopRepetitiveWordsAndPhrases()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("wordsSpokenCount", m.GetWordsSpokenCount()) + if err != nil { + return err + } + } + return nil +} +// SetAssignmentId sets the assignmentId property value. ID of the assignment with which this submission is associated. +func (m *SpeakerAssignmentSubmission) SetAssignmentId(value *string)() { + err := m.GetBackingStore().Set("assignmentId", value) + if err != nil { + panic(err) + } +} +// SetAverageWordsPerMinutePace sets the averageWordsPerMinutePace property value. The average speaking pace of the student, measured in words per minute. +func (m *SpeakerAssignmentSubmission) SetAverageWordsPerMinutePace(value *int64)() { + err := m.GetBackingStore().Set("averageWordsPerMinutePace", value) + if err != nil { + panic(err) + } +} +// SetClassId sets the classId property value. ID of the class this speaker progress is associated with. +func (m *SpeakerAssignmentSubmission) SetClassId(value *string)() { + err := m.GetBackingStore().Set("classId", value) + if err != nil { + panic(err) + } +} +// SetFillerWordsOccurrencesCount sets the fillerWordsOccurrencesCount property value. The number of times the student was flagged by Speaker Coach for using a filler word. +func (m *SpeakerAssignmentSubmission) SetFillerWordsOccurrencesCount(value *int64)() { + err := m.GetBackingStore().Set("fillerWordsOccurrencesCount", value) + if err != nil { + panic(err) + } +} +// SetIncorrectCameraDistanceOccurrencesCount sets the incorrectCameraDistanceOccurrencesCount property value. The number of times the student was flagged by Speaker Coach for being either too close or too far away from the camera. +func (m *SpeakerAssignmentSubmission) SetIncorrectCameraDistanceOccurrencesCount(value *int64)() { + err := m.GetBackingStore().Set("incorrectCameraDistanceOccurrencesCount", value) + if err != nil { + panic(err) + } +} +// SetLengthOfSubmissionInSeconds sets the lengthOfSubmissionInSeconds property value. The length of the student submission in seconds. +func (m *SpeakerAssignmentSubmission) SetLengthOfSubmissionInSeconds(value *float64)() { + err := m.GetBackingStore().Set("lengthOfSubmissionInSeconds", value) + if err != nil { + panic(err) + } +} +// SetLostEyeContactOccurrencesCount sets the lostEyeContactOccurrencesCount property value. The number of times the student was flagged by Speaker Coach for losing eye contact with the camera. +func (m *SpeakerAssignmentSubmission) SetLostEyeContactOccurrencesCount(value *int64)() { + err := m.GetBackingStore().Set("lostEyeContactOccurrencesCount", value) + if err != nil { + panic(err) + } +} +// SetMonotoneOccurrencesCount sets the monotoneOccurrencesCount property value. The number of times the student was flagged by Speaker Coach for speaking in monotone. +func (m *SpeakerAssignmentSubmission) SetMonotoneOccurrencesCount(value *int64)() { + err := m.GetBackingStore().Set("monotoneOccurrencesCount", value) + if err != nil { + panic(err) + } +} +// SetNonInclusiveLanguageOccurrencesCount sets the nonInclusiveLanguageOccurrencesCount property value. The number of times the student was flagged by Speaker Coach for using non-inclusive or sensitive language. +func (m *SpeakerAssignmentSubmission) SetNonInclusiveLanguageOccurrencesCount(value *int64)() { + err := m.GetBackingStore().Set("nonInclusiveLanguageOccurrencesCount", value) + if err != nil { + panic(err) + } +} +// SetObstructedViewOccurrencesCount sets the obstructedViewOccurrencesCount property value. The number of times the student was flagged by Speaker Coach for obstructing the view of their face. +func (m *SpeakerAssignmentSubmission) SetObstructedViewOccurrencesCount(value *int64)() { + err := m.GetBackingStore().Set("obstructedViewOccurrencesCount", value) + if err != nil { + panic(err) + } +} +// SetRepetitiveLanguageOccurrencesCount sets the repetitiveLanguageOccurrencesCount property value. The number of times the student was flagged by Speaker Coach for using repetitive language. +func (m *SpeakerAssignmentSubmission) SetRepetitiveLanguageOccurrencesCount(value *int64)() { + err := m.GetBackingStore().Set("repetitiveLanguageOccurrencesCount", value) + if err != nil { + panic(err) + } +} +// SetStudentId sets the studentId property value. ID of the user this speaker progress is associated with. +func (m *SpeakerAssignmentSubmission) SetStudentId(value *string)() { + err := m.GetBackingStore().Set("studentId", value) + if err != nil { + panic(err) + } +} +// SetSubmissionDateTime sets the submissionDateTime property value. Date and time of the submission this speaker progress is associated with. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +func (m *SpeakerAssignmentSubmission) SetSubmissionDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("submissionDateTime", value) + if err != nil { + panic(err) + } +} +// SetSubmissionId sets the submissionId property value. ID of the submission this speaker progress is associated with. +func (m *SpeakerAssignmentSubmission) SetSubmissionId(value *string)() { + err := m.GetBackingStore().Set("submissionId", value) + if err != nil { + panic(err) + } +} +// SetTopFillerWords sets the topFillerWords property value. The filler words used most by the student. +func (m *SpeakerAssignmentSubmission) SetTopFillerWords(value []string)() { + err := m.GetBackingStore().Set("topFillerWords", value) + if err != nil { + panic(err) + } +} +// SetTopMispronouncedWords sets the topMispronouncedWords property value. The words mispronounced most by the student. +func (m *SpeakerAssignmentSubmission) SetTopMispronouncedWords(value []string)() { + err := m.GetBackingStore().Set("topMispronouncedWords", value) + if err != nil { + panic(err) + } +} +// SetTopNonInclusiveWordsAndPhrases sets the topNonInclusiveWordsAndPhrases property value. The non-inclusive or sensitive words and phrases most used by the student. +func (m *SpeakerAssignmentSubmission) SetTopNonInclusiveWordsAndPhrases(value []string)() { + err := m.GetBackingStore().Set("topNonInclusiveWordsAndPhrases", value) + if err != nil { + panic(err) + } +} +// SetTopRepetitiveWordsAndPhrases sets the topRepetitiveWordsAndPhrases property value. The words and phrases most repeated by the student. +func (m *SpeakerAssignmentSubmission) SetTopRepetitiveWordsAndPhrases(value []string)() { + err := m.GetBackingStore().Set("topRepetitiveWordsAndPhrases", value) + if err != nil { + panic(err) + } +} +// SetWordsSpokenCount sets the wordsSpokenCount property value. Total number of words spoken by the student in the submission. +func (m *SpeakerAssignmentSubmission) SetWordsSpokenCount(value *int64)() { + err := m.GetBackingStore().Set("wordsSpokenCount", value) + if err != nil { + panic(err) + } +} +type SpeakerAssignmentSubmissionable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAssignmentId()(*string) + GetAverageWordsPerMinutePace()(*int64) + GetClassId()(*string) + GetFillerWordsOccurrencesCount()(*int64) + GetIncorrectCameraDistanceOccurrencesCount()(*int64) + GetLengthOfSubmissionInSeconds()(*float64) + GetLostEyeContactOccurrencesCount()(*int64) + GetMonotoneOccurrencesCount()(*int64) + GetNonInclusiveLanguageOccurrencesCount()(*int64) + GetObstructedViewOccurrencesCount()(*int64) + GetRepetitiveLanguageOccurrencesCount()(*int64) + GetStudentId()(*string) + GetSubmissionDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetSubmissionId()(*string) + GetTopFillerWords()([]string) + GetTopMispronouncedWords()([]string) + GetTopNonInclusiveWordsAndPhrases()([]string) + GetTopRepetitiveWordsAndPhrases()([]string) + GetWordsSpokenCount()(*int64) + SetAssignmentId(value *string)() + SetAverageWordsPerMinutePace(value *int64)() + SetClassId(value *string)() + SetFillerWordsOccurrencesCount(value *int64)() + SetIncorrectCameraDistanceOccurrencesCount(value *int64)() + SetLengthOfSubmissionInSeconds(value *float64)() + SetLostEyeContactOccurrencesCount(value *int64)() + SetMonotoneOccurrencesCount(value *int64)() + SetNonInclusiveLanguageOccurrencesCount(value *int64)() + SetObstructedViewOccurrencesCount(value *int64)() + SetRepetitiveLanguageOccurrencesCount(value *int64)() + SetStudentId(value *string)() + SetSubmissionDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetSubmissionId(value *string)() + SetTopFillerWords(value []string)() + SetTopMispronouncedWords(value []string)() + SetTopNonInclusiveWordsAndPhrases(value []string)() + SetTopRepetitiveWordsAndPhrases(value []string)() + SetWordsSpokenCount(value *int64)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/speaker_assignment_submission_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/speaker_assignment_submission_collection_response.go new file mode 100644 index 0000000000..be3adf26eb --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/speaker_assignment_submission_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SpeakerAssignmentSubmissionCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewSpeakerAssignmentSubmissionCollectionResponse instantiates a new SpeakerAssignmentSubmissionCollectionResponse and sets the default values. +func NewSpeakerAssignmentSubmissionCollectionResponse()(*SpeakerAssignmentSubmissionCollectionResponse) { + m := &SpeakerAssignmentSubmissionCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateSpeakerAssignmentSubmissionCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSpeakerAssignmentSubmissionCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSpeakerAssignmentSubmissionCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SpeakerAssignmentSubmissionCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSpeakerAssignmentSubmissionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]SpeakerAssignmentSubmissionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(SpeakerAssignmentSubmissionable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []SpeakerAssignmentSubmissionable when successful +func (m *SpeakerAssignmentSubmissionCollectionResponse) GetValue()([]SpeakerAssignmentSubmissionable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]SpeakerAssignmentSubmissionable) + } + return nil +} +// Serialize serializes information the current object +func (m *SpeakerAssignmentSubmissionCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *SpeakerAssignmentSubmissionCollectionResponse) SetValue(value []SpeakerAssignmentSubmissionable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type SpeakerAssignmentSubmissionCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]SpeakerAssignmentSubmissionable) + SetValue(value []SpeakerAssignmentSubmissionable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/subject_rights_request.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/subject_rights_request.go index 2d5f3d5b6c..9ad08779f3 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/subject_rights_request.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/subject_rights_request.go @@ -119,7 +119,7 @@ func (m *SubjectRightsRequest) GetDataSubject()(DataSubjectable) { } return nil } -// GetDataSubjectType gets the dataSubjectType property value. The type of the data subject. Possible values are: customer, currentEmployee, formerEmployee, prospectiveEmployee, student, teacher, faculty, other, unknownFutureValue. +// GetDataSubjectType gets the dataSubjectType property value. The type of the data subject. The possible values are: customer, currentEmployee, formerEmployee, prospectiveEmployee, student, teacher, faculty, other, unknownFutureValue. // returns a *DataSubjectType when successful func (m *SubjectRightsRequest) GetDataSubjectType()(*DataSubjectType) { val, err := m.GetBackingStore().Get("dataSubjectType") @@ -645,7 +645,7 @@ func (m *SubjectRightsRequest) GetStages()([]SubjectRightsRequestStageDetailable } return nil } -// GetStatus gets the status property value. The status of the request. Possible values are: active, closed, unknownFutureValue. +// GetStatus gets the status property value. The status of the request. The possible values are: active, closed, unknownFutureValue. // returns a *SubjectRightsRequestStatus when successful func (m *SubjectRightsRequest) GetStatus()(*SubjectRightsRequestStatus) { val, err := m.GetBackingStore().Get("status") @@ -669,7 +669,7 @@ func (m *SubjectRightsRequest) GetTeam()(Teamable) { } return nil } -// GetTypeEscaped gets the type property value. The type of the request. Possible values are: export, delete, access, tagForAction, unknownFutureValue. +// GetTypeEscaped gets the type property value. The type of the request. The possible values are: export, delete, access, tagForAction, unknownFutureValue. // returns a *SubjectRightsRequestType when successful func (m *SubjectRightsRequest) GetTypeEscaped()(*SubjectRightsRequestType) { val, err := m.GetBackingStore().Get("typeEscaped") @@ -946,7 +946,7 @@ func (m *SubjectRightsRequest) SetDataSubject(value DataSubjectable)() { panic(err) } } -// SetDataSubjectType sets the dataSubjectType property value. The type of the data subject. Possible values are: customer, currentEmployee, formerEmployee, prospectiveEmployee, student, teacher, faculty, other, unknownFutureValue. +// SetDataSubjectType sets the dataSubjectType property value. The type of the data subject. The possible values are: customer, currentEmployee, formerEmployee, prospectiveEmployee, student, teacher, faculty, other, unknownFutureValue. func (m *SubjectRightsRequest) SetDataSubjectType(value *DataSubjectType)() { err := m.GetBackingStore().Set("dataSubjectType", value) if err != nil { @@ -1065,7 +1065,7 @@ func (m *SubjectRightsRequest) SetStages(value []SubjectRightsRequestStageDetail panic(err) } } -// SetStatus sets the status property value. The status of the request. Possible values are: active, closed, unknownFutureValue. +// SetStatus sets the status property value. The status of the request. The possible values are: active, closed, unknownFutureValue. func (m *SubjectRightsRequest) SetStatus(value *SubjectRightsRequestStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { @@ -1079,7 +1079,7 @@ func (m *SubjectRightsRequest) SetTeam(value Teamable)() { panic(err) } } -// SetTypeEscaped sets the type property value. The type of the request. Possible values are: export, delete, access, tagForAction, unknownFutureValue. +// SetTypeEscaped sets the type property value. The type of the request. The possible values are: export, delete, access, tagForAction, unknownFutureValue. func (m *SubjectRightsRequest) SetTypeEscaped(value *SubjectRightsRequestType)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/subject_rights_request_history.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/subject_rights_request_history.go index 51ec900b62..660713e9f3 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/subject_rights_request_history.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/subject_rights_request_history.go @@ -146,7 +146,7 @@ func (m *SubjectRightsRequestHistory) GetOdataType()(*string) { } return nil } -// GetStage gets the stage property value. The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: approval. +// GetStage gets the stage property value. The stage when the entity was changed. // returns a *SubjectRightsRequestStage when successful func (m *SubjectRightsRequestHistory) GetStage()(*SubjectRightsRequestStage) { val, err := m.GetBackingStore().Get("stage") @@ -158,7 +158,7 @@ func (m *SubjectRightsRequestHistory) GetStage()(*SubjectRightsRequestStage) { } return nil } -// GetStageStatus gets the stageStatus property value. The status of the stage when the entity was changed. Possible values are: notStarted, current, completed, failed, unknownFutureValue. +// GetStageStatus gets the stageStatus property value. The status of the stage when the entity was changed. The possible values are: notStarted, current, completed, failed, unknownFutureValue. // returns a *SubjectRightsRequestStageStatus when successful func (m *SubjectRightsRequestHistory) GetStageStatus()(*SubjectRightsRequestStageStatus) { val, err := m.GetBackingStore().Get("stageStatus") @@ -262,14 +262,14 @@ func (m *SubjectRightsRequestHistory) SetOdataType(value *string)() { panic(err) } } -// SetStage sets the stage property value. The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: approval. +// SetStage sets the stage property value. The stage when the entity was changed. func (m *SubjectRightsRequestHistory) SetStage(value *SubjectRightsRequestStage)() { err := m.GetBackingStore().Set("stage", value) if err != nil { panic(err) } } -// SetStageStatus sets the stageStatus property value. The status of the stage when the entity was changed. Possible values are: notStarted, current, completed, failed, unknownFutureValue. +// SetStageStatus sets the stageStatus property value. The status of the stage when the entity was changed. The possible values are: notStarted, current, completed, failed, unknownFutureValue. func (m *SubjectRightsRequestHistory) SetStageStatus(value *SubjectRightsRequestStageStatus)() { err := m.GetBackingStore().Set("stageStatus", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/subject_rights_request_stage_detail.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/subject_rights_request_stage_detail.go index 8a45851eb8..8d987dd58a 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/subject_rights_request_stage_detail.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/subject_rights_request_stage_detail.go @@ -113,7 +113,7 @@ func (m *SubjectRightsRequestStageDetail) GetOdataType()(*string) { } return nil } -// GetStage gets the stage property value. The stage of the subject rights request. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: approval. +// GetStage gets the stage property value. The stage of the subject rights request. // returns a *SubjectRightsRequestStage when successful func (m *SubjectRightsRequestStageDetail) GetStage()(*SubjectRightsRequestStage) { val, err := m.GetBackingStore().Get("stage") @@ -125,7 +125,7 @@ func (m *SubjectRightsRequestStageDetail) GetStage()(*SubjectRightsRequestStage) } return nil } -// GetStatus gets the status property value. Status of the current stage. Possible values are: notStarted, current, completed, failed, unknownFutureValue. +// GetStatus gets the status property value. Status of the current stage. The possible values are: notStarted, current, completed, failed, unknownFutureValue. // returns a *SubjectRightsRequestStageStatus when successful func (m *SubjectRightsRequestStageDetail) GetStatus()(*SubjectRightsRequestStageStatus) { val, err := m.GetBackingStore().Get("status") @@ -198,14 +198,14 @@ func (m *SubjectRightsRequestStageDetail) SetOdataType(value *string)() { panic(err) } } -// SetStage sets the stage property value. The stage of the subject rights request. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: approval. +// SetStage sets the stage property value. The stage of the subject rights request. func (m *SubjectRightsRequestStageDetail) SetStage(value *SubjectRightsRequestStage)() { err := m.GetBackingStore().Set("stage", value) if err != nil { panic(err) } } -// SetStatus sets the status property value. Status of the current stage. Possible values are: notStarted, current, completed, failed, unknownFutureValue. +// SetStatus sets the status property value. Status of the current stage. The possible values are: notStarted, current, completed, failed, unknownFutureValue. func (m *SubjectRightsRequestStageDetail) SetStatus(value *SubjectRightsRequestStageStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/subject_set.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/subject_set.go index 42122dea28..2cdf11f9bc 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/subject_set.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/subject_set.go @@ -51,6 +51,8 @@ func CreateSubjectSetFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3 return NewSingleServicePrincipal(), nil case "#microsoft.graph.singleUser": return NewSingleUser(), nil + case "#microsoft.graph.targetAgentIdentitySponsorsOrOwners": + return NewTargetAgentIdentitySponsorsOrOwners(), nil case "#microsoft.graph.targetApplicationOwners": return NewTargetApplicationOwners(), nil case "#microsoft.graph.targetManager": diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/subscribed_sku.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/subscribed_sku.go index ee1a557a8a..16ede18475 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/subscribed_sku.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/subscribed_sku.go @@ -47,7 +47,7 @@ func (m *SubscribedSku) GetAccountName()(*string) { } return nil } -// GetAppliesTo gets the appliesTo property value. The target class for this SKU. Only SKUs with target class User are assignable. Possible values are: User, Company. +// GetAppliesTo gets the appliesTo property value. The target class for this SKU. Only SKUs with target class User are assignable. The possible values are: User, Company. // returns a *string when successful func (m *SubscribedSku) GetAppliesTo()(*string) { val, err := m.GetBackingStore().Get("appliesTo") @@ -59,7 +59,7 @@ func (m *SubscribedSku) GetAppliesTo()(*string) { } return nil } -// GetCapabilityStatus gets the capabilityStatus property value. Enabled indicates that the prepaidUnits property has at least one unit that is enabled. LockedOut indicates that the customer canceled their subscription. Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut. +// GetCapabilityStatus gets the capabilityStatus property value. Enabled indicates that the prepaidUnits property has at least one unit that is enabled. LockedOut indicates that the customer canceled their subscription. The possible values are: Enabled, Warning, Suspended, Deleted, LockedOut. // returns a *string when successful func (m *SubscribedSku) GetCapabilityStatus()(*string) { val, err := m.GetBackingStore().Get("capabilityStatus") @@ -349,14 +349,14 @@ func (m *SubscribedSku) SetAccountName(value *string)() { panic(err) } } -// SetAppliesTo sets the appliesTo property value. The target class for this SKU. Only SKUs with target class User are assignable. Possible values are: User, Company. +// SetAppliesTo sets the appliesTo property value. The target class for this SKU. Only SKUs with target class User are assignable. The possible values are: User, Company. func (m *SubscribedSku) SetAppliesTo(value *string)() { err := m.GetBackingStore().Set("appliesTo", value) if err != nil { panic(err) } } -// SetCapabilityStatus sets the capabilityStatus property value. Enabled indicates that the prepaidUnits property has at least one unit that is enabled. LockedOut indicates that the customer canceled their subscription. Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut. +// SetCapabilityStatus sets the capabilityStatus property value. Enabled indicates that the prepaidUnits property has at least one unit that is enabled. LockedOut indicates that the customer canceled their subscription. The possible values are: Enabled, Warning, Suspended, Deleted, LockedOut. func (m *SubscribedSku) SetCapabilityStatus(value *string)() { err := m.GetBackingStore().Set("capabilityStatus", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/synchronization_metadata_entry.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/synchronization_metadata_entry.go index 9ac63ff483..6befd68ffb 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/synchronization_metadata_entry.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/synchronization_metadata_entry.go @@ -79,7 +79,7 @@ func (m *SynchronizationMetadataEntry) GetFieldDeserializers()(map[string]func(i } return res } -// GetKey gets the key property value. Possible values are: GalleryApplicationIdentifier, GalleryApplicationKey, IsOAuthEnabled, IsSynchronizationAgentAssignmentRequired, IsSynchronizationAgentRequired, IsSynchronizationInPreview, OAuthSettings, SynchronizationLearnMoreIbizaFwLink, ConfigurationFields. +// GetKey gets the key property value. The possible values are: GalleryApplicationIdentifier, GalleryApplicationKey, IsOAuthEnabled, IsSynchronizationAgentAssignmentRequired, IsSynchronizationAgentRequired, IsSynchronizationInPreview, OAuthSettings, SynchronizationLearnMoreIbizaFwLink, ConfigurationFields. // returns a *SynchronizationMetadata when successful func (m *SynchronizationMetadataEntry) GetKey()(*SynchronizationMetadata) { val, err := m.GetBackingStore().Get("key") @@ -155,7 +155,7 @@ func (m *SynchronizationMetadataEntry) SetAdditionalData(value map[string]any)() func (m *SynchronizationMetadataEntry) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetKey sets the key property value. Possible values are: GalleryApplicationIdentifier, GalleryApplicationKey, IsOAuthEnabled, IsSynchronizationAgentAssignmentRequired, IsSynchronizationAgentRequired, IsSynchronizationInPreview, OAuthSettings, SynchronizationLearnMoreIbizaFwLink, ConfigurationFields. +// SetKey sets the key property value. The possible values are: GalleryApplicationIdentifier, GalleryApplicationKey, IsOAuthEnabled, IsSynchronizationAgentAssignmentRequired, IsSynchronizationAgentRequired, IsSynchronizationInPreview, OAuthSettings, SynchronizationLearnMoreIbizaFwLink, ConfigurationFields. func (m *SynchronizationMetadataEntry) SetKey(value *SynchronizationMetadata)() { err := m.GetBackingStore().Set("key", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/target_agent_identity_sponsors_or_owners.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/target_agent_identity_sponsors_or_owners.go new file mode 100644 index 0000000000..a5df50af3d --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/target_agent_identity_sponsors_or_owners.go @@ -0,0 +1,44 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type TargetAgentIdentitySponsorsOrOwners struct { + SubjectSet +} +// NewTargetAgentIdentitySponsorsOrOwners instantiates a new TargetAgentIdentitySponsorsOrOwners and sets the default values. +func NewTargetAgentIdentitySponsorsOrOwners()(*TargetAgentIdentitySponsorsOrOwners) { + m := &TargetAgentIdentitySponsorsOrOwners{ + SubjectSet: *NewSubjectSet(), + } + odataTypeValue := "#microsoft.graph.targetAgentIdentitySponsorsOrOwners" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateTargetAgentIdentitySponsorsOrOwnersFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTargetAgentIdentitySponsorsOrOwnersFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTargetAgentIdentitySponsorsOrOwners(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TargetAgentIdentitySponsorsOrOwners) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.SubjectSet.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *TargetAgentIdentitySponsorsOrOwners) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.SubjectSet.Serialize(writer) + if err != nil { + return err + } + return nil +} +type TargetAgentIdentitySponsorsOrOwnersable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + SubjectSetable +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/target_resource.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/target_resource.go index d9c5ed2240..f4b1bd3694 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/target_resource.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/target_resource.go @@ -137,7 +137,7 @@ func (m *TargetResource) GetFieldDeserializers()(map[string]func(i878a80d2330e89 } return res } -// GetGroupType gets the groupType property value. When type is set to Group, this indicates the group type. Possible values are: unifiedGroups, azureAD, and unknownFutureValue +// GetGroupType gets the groupType property value. When type is set to Group, this indicates the group type. The possible values are: unifiedGroups, azureAD, and unknownFutureValue // returns a *GroupType when successful func (m *TargetResource) GetGroupType()(*GroupType) { val, err := m.GetBackingStore().Get("groupType") @@ -286,7 +286,7 @@ func (m *TargetResource) SetDisplayName(value *string)() { panic(err) } } -// SetGroupType sets the groupType property value. When type is set to Group, this indicates the group type. Possible values are: unifiedGroups, azureAD, and unknownFutureValue +// SetGroupType sets the groupType property value. When type is set to Group, this indicates the group type. The possible values are: unifiedGroups, azureAD, and unknownFutureValue func (m *TargetResource) SetGroupType(value *GroupType)() { err := m.GetBackingStore().Set("groupType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/team_fun_settings.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/team_fun_settings.go index 410d412bdc..b542f13098 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/team_fun_settings.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/team_fun_settings.go @@ -135,7 +135,7 @@ func (m *TeamFunSettings) GetFieldDeserializers()(map[string]func(i878a80d2330e8 } return res } -// GetGiphyContentRating gets the giphyContentRating property value. Giphy content rating. Possible values are: moderate, strict. +// GetGiphyContentRating gets the giphyContentRating property value. Giphy content rating. The possible values are: moderate, strict. // returns a *GiphyRatingType when successful func (m *TeamFunSettings) GetGiphyContentRating()(*GiphyRatingType) { val, err := m.GetBackingStore().Get("giphyContentRating") @@ -232,7 +232,7 @@ func (m *TeamFunSettings) SetAllowStickersAndMemes(value *bool)() { func (m *TeamFunSettings) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetGiphyContentRating sets the giphyContentRating property value. Giphy content rating. Possible values are: moderate, strict. +// SetGiphyContentRating sets the giphyContentRating property value. Giphy content rating. The possible values are: moderate, strict. func (m *TeamFunSettings) SetGiphyContentRating(value *GiphyRatingType)() { err := m.GetBackingStore().Set("giphyContentRating", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teams_app_definition.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teams_app_definition.go index 3dbf06c880..79824d1ded 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teams_app_definition.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teams_app_definition.go @@ -201,7 +201,7 @@ func (m *TeamsAppDefinition) GetLastModifiedDateTime()(*i336074805fc853987abe6f7 } return nil } -// GetPublishingState gets the publishingState property value. The published status of a specific version of a Teams app. Possible values are:submitted—The specific version of the Teams app was submitted and is under review.published—The request to publish the specific version of the Teams app was approved by the admin and the app is published.rejected—The admin rejected the request to publish the specific version of the Teams app. +// GetPublishingState gets the publishingState property value. The published status of a specific version of a Teams app. The possible values are:submitted—The specific version of the Teams app was submitted and is under review.published—The request to publish the specific version of the Teams app was approved by the admin and the app is published.rejected—The admin rejected the request to publish the specific version of the Teams app. // returns a *TeamsAppPublishingState when successful func (m *TeamsAppDefinition) GetPublishingState()(*TeamsAppPublishingState) { val, err := m.GetBackingStore().Get("publishingState") @@ -360,7 +360,7 @@ func (m *TeamsAppDefinition) SetLastModifiedDateTime(value *i336074805fc853987ab panic(err) } } -// SetPublishingState sets the publishingState property value. The published status of a specific version of a Teams app. Possible values are:submitted—The specific version of the Teams app was submitted and is under review.published—The request to publish the specific version of the Teams app was approved by the admin and the app is published.rejected—The admin rejected the request to publish the specific version of the Teams app. +// SetPublishingState sets the publishingState property value. The published status of a specific version of a Teams app. The possible values are:submitted—The specific version of the Teams app was submitted and is under review.published—The request to publish the specific version of the Teams app was approved by the admin and the app is published.rejected—The admin rejected the request to publish the specific version of the Teams app. func (m *TeamsAppDefinition) SetPublishingState(value *TeamsAppPublishingState)() { err := m.GetBackingStore().Set("publishingState", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/account_type.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/account_type.go new file mode 100644 index 0000000000..a8e1651353 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/account_type.go @@ -0,0 +1,51 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamsadministration +type AccountType int + +const ( + USER_ACCOUNTTYPE AccountType = iota + RESOURCEACCOUNT_ACCOUNTTYPE + GUEST_ACCOUNTTYPE + SFBONPREMUSER_ACCOUNTTYPE + UNKNOWN_ACCOUNTTYPE + UNKNOWNFUTUREVALUE_ACCOUNTTYPE + INELIGIBLEUSER_ACCOUNTTYPE +) + +func (i AccountType) String() string { + return []string{"user", "resourceAccount", "guest", "sfbOnPremUser", "unknown", "unknownFutureValue", "ineligibleUser"}[i] +} +func ParseAccountType(v string) (any, error) { + result := USER_ACCOUNTTYPE + switch v { + case "user": + result = USER_ACCOUNTTYPE + case "resourceAccount": + result = RESOURCEACCOUNT_ACCOUNTTYPE + case "guest": + result = GUEST_ACCOUNTTYPE + case "sfbOnPremUser": + result = SFBONPREMUSER_ACCOUNTTYPE + case "unknown": + result = UNKNOWN_ACCOUNTTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_ACCOUNTTYPE + case "ineligibleUser": + result = INELIGIBLEUSER_ACCOUNTTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeAccountType(values []AccountType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i AccountType) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/assigned_telephone_number.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/assigned_telephone_number.go new file mode 100644 index 0000000000..f46bd84893 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/assigned_telephone_number.go @@ -0,0 +1,191 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamsadministration + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type AssignedTelephoneNumber struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewAssignedTelephoneNumber instantiates a new AssignedTelephoneNumber and sets the default values. +func NewAssignedTelephoneNumber()(*AssignedTelephoneNumber) { + m := &AssignedTelephoneNumber{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateAssignedTelephoneNumberFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAssignedTelephoneNumberFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAssignedTelephoneNumber(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *AssignedTelephoneNumber) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetAssignmentCategory gets the assignmentCategory property value. The assignmentCategory property +// returns a *AssignmentCategory when successful +func (m *AssignedTelephoneNumber) GetAssignmentCategory()(*AssignmentCategory) { + val, err := m.GetBackingStore().Get("assignmentCategory") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AssignmentCategory) + } + return nil +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *AssignedTelephoneNumber) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AssignedTelephoneNumber) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["assignmentCategory"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAssignmentCategory) + if err != nil { + return err + } + if val != nil { + m.SetAssignmentCategory(val.(*AssignmentCategory)) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["telephoneNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetTelephoneNumber(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *AssignedTelephoneNumber) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTelephoneNumber gets the telephoneNumber property value. The assigned phone number. +// returns a *string when successful +func (m *AssignedTelephoneNumber) GetTelephoneNumber()(*string) { + val, err := m.GetBackingStore().Get("telephoneNumber") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *AssignedTelephoneNumber) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetAssignmentCategory() != nil { + cast := (*m.GetAssignmentCategory()).String() + err := writer.WriteStringValue("assignmentCategory", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("telephoneNumber", m.GetTelephoneNumber()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *AssignedTelephoneNumber) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAssignmentCategory sets the assignmentCategory property value. The assignmentCategory property +func (m *AssignedTelephoneNumber) SetAssignmentCategory(value *AssignmentCategory)() { + err := m.GetBackingStore().Set("assignmentCategory", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *AssignedTelephoneNumber) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *AssignedTelephoneNumber) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetTelephoneNumber sets the telephoneNumber property value. The assigned phone number. +func (m *AssignedTelephoneNumber) SetTelephoneNumber(value *string)() { + err := m.GetBackingStore().Set("telephoneNumber", value) + if err != nil { + panic(err) + } +} +type AssignedTelephoneNumberable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAssignmentCategory()(*AssignmentCategory) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetTelephoneNumber()(*string) + SetAssignmentCategory(value *AssignmentCategory)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetTelephoneNumber(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/assignment_category.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/assignment_category.go new file mode 100644 index 0000000000..c232e6c443 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/assignment_category.go @@ -0,0 +1,42 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamsadministration +type AssignmentCategory int + +const ( + PRIMARY_ASSIGNMENTCATEGORY AssignmentCategory = iota + PRIVATE_ASSIGNMENTCATEGORY + ALTERNATE_ASSIGNMENTCATEGORY + UNKNOWNFUTUREVALUE_ASSIGNMENTCATEGORY +) + +func (i AssignmentCategory) String() string { + return []string{"primary", "private", "alternate", "unknownFutureValue"}[i] +} +func ParseAssignmentCategory(v string) (any, error) { + result := PRIMARY_ASSIGNMENTCATEGORY + switch v { + case "primary": + result = PRIMARY_ASSIGNMENTCATEGORY + case "private": + result = PRIVATE_ASSIGNMENTCATEGORY + case "alternate": + result = ALTERNATE_ASSIGNMENTCATEGORY + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_ASSIGNMENTCATEGORY + default: + return nil, nil + } + return &result, nil +} +func SerializeAssignmentCategory(values []AssignmentCategory) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i AssignmentCategory) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/assignment_type.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/assignment_type.go new file mode 100644 index 0000000000..6ba2f61264 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/assignment_type.go @@ -0,0 +1,39 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamsadministration +type AssignmentType int + +const ( + DIRECT_ASSIGNMENTTYPE AssignmentType = iota + GROUP_ASSIGNMENTTYPE + UNKNOWNFUTUREVALUE_ASSIGNMENTTYPE +) + +func (i AssignmentType) String() string { + return []string{"direct", "group", "unknownFutureValue"}[i] +} +func ParseAssignmentType(v string) (any, error) { + result := DIRECT_ASSIGNMENTTYPE + switch v { + case "direct": + result = DIRECT_ASSIGNMENTTYPE + case "group": + result = GROUP_ASSIGNMENTTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_ASSIGNMENTTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeAssignmentType(values []AssignmentType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i AssignmentType) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/effective_policy_assignment.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/effective_policy_assignment.go new file mode 100644 index 0000000000..97e30fe20d --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/effective_policy_assignment.go @@ -0,0 +1,190 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamsadministration + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type EffectivePolicyAssignment struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewEffectivePolicyAssignment instantiates a new EffectivePolicyAssignment and sets the default values. +func NewEffectivePolicyAssignment()(*EffectivePolicyAssignment) { + m := &EffectivePolicyAssignment{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateEffectivePolicyAssignmentFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEffectivePolicyAssignmentFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEffectivePolicyAssignment(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *EffectivePolicyAssignment) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *EffectivePolicyAssignment) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EffectivePolicyAssignment) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["policyAssignment"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreatePolicyAssignmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetPolicyAssignment(val.(PolicyAssignmentable)) + } + return nil + } + res["policyType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPolicyType(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *EffectivePolicyAssignment) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPolicyAssignment gets the policyAssignment property value. The policyAssignment property +// returns a PolicyAssignmentable when successful +func (m *EffectivePolicyAssignment) GetPolicyAssignment()(PolicyAssignmentable) { + val, err := m.GetBackingStore().Get("policyAssignment") + if err != nil { + panic(err) + } + if val != nil { + return val.(PolicyAssignmentable) + } + return nil +} +// GetPolicyType gets the policyType property value. The type of the assigned policy; for example, TeamsMeetingPolicy and TeamsCallingPolicy. +// returns a *string when successful +func (m *EffectivePolicyAssignment) GetPolicyType()(*string) { + val, err := m.GetBackingStore().Get("policyType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *EffectivePolicyAssignment) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("policyAssignment", m.GetPolicyAssignment()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("policyType", m.GetPolicyType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *EffectivePolicyAssignment) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *EffectivePolicyAssignment) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *EffectivePolicyAssignment) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetPolicyAssignment sets the policyAssignment property value. The policyAssignment property +func (m *EffectivePolicyAssignment) SetPolicyAssignment(value PolicyAssignmentable)() { + err := m.GetBackingStore().Set("policyAssignment", value) + if err != nil { + panic(err) + } +} +// SetPolicyType sets the policyType property value. The type of the assigned policy; for example, TeamsMeetingPolicy and TeamsCallingPolicy. +func (m *EffectivePolicyAssignment) SetPolicyType(value *string)() { + err := m.GetBackingStore().Set("policyType", value) + if err != nil { + panic(err) + } +} +type EffectivePolicyAssignmentable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetPolicyAssignment()(PolicyAssignmentable) + GetPolicyType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetPolicyAssignment(value PolicyAssignmentable)() + SetPolicyType(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/policy_assignment.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/policy_assignment.go new file mode 100644 index 0000000000..c2e0993040 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/policy_assignment.go @@ -0,0 +1,265 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamsadministration + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type PolicyAssignment struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewPolicyAssignment instantiates a new PolicyAssignment and sets the default values. +func NewPolicyAssignment()(*PolicyAssignment) { + m := &PolicyAssignment{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreatePolicyAssignmentFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreatePolicyAssignmentFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewPolicyAssignment(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *PolicyAssignment) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetAssignmentType gets the assignmentType property value. The assignmentType property +// returns a *AssignmentType when successful +func (m *PolicyAssignment) GetAssignmentType()(*AssignmentType) { + val, err := m.GetBackingStore().Get("assignmentType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AssignmentType) + } + return nil +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *PolicyAssignment) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetDisplayName gets the displayName property value. Represents the name of the policy. +// returns a *string when successful +func (m *PolicyAssignment) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *PolicyAssignment) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["assignmentType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAssignmentType) + if err != nil { + return err + } + if val != nil { + m.SetAssignmentType(val.(*AssignmentType)) + } + return nil + } + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } + res["groupId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetGroupId(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["policyId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPolicyId(val) + } + return nil + } + return res +} +// GetGroupId gets the groupId property value. Represents the group identifier. +// returns a *string when successful +func (m *PolicyAssignment) GetGroupId()(*string) { + val, err := m.GetBackingStore().Get("groupId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *PolicyAssignment) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPolicyId gets the policyId property value. Represents the unique identifier for the policy. +// returns a *string when successful +func (m *PolicyAssignment) GetPolicyId()(*string) { + val, err := m.GetBackingStore().Get("policyId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *PolicyAssignment) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetAssignmentType() != nil { + cast := (*m.GetAssignmentType()).String() + err := writer.WriteStringValue("assignmentType", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("groupId", m.GetGroupId()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("policyId", m.GetPolicyId()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *PolicyAssignment) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAssignmentType sets the assignmentType property value. The assignmentType property +func (m *PolicyAssignment) SetAssignmentType(value *AssignmentType)() { + err := m.GetBackingStore().Set("assignmentType", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *PolicyAssignment) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetDisplayName sets the displayName property value. Represents the name of the policy. +func (m *PolicyAssignment) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetGroupId sets the groupId property value. Represents the group identifier. +func (m *PolicyAssignment) SetGroupId(value *string)() { + err := m.GetBackingStore().Set("groupId", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *PolicyAssignment) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetPolicyId sets the policyId property value. Represents the unique identifier for the policy. +func (m *PolicyAssignment) SetPolicyId(value *string)() { + err := m.GetBackingStore().Set("policyId", value) + if err != nil { + panic(err) + } +} +type PolicyAssignmentable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAssignmentType()(*AssignmentType) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDisplayName()(*string) + GetGroupId()(*string) + GetOdataType()(*string) + GetPolicyId()(*string) + SetAssignmentType(value *AssignmentType)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDisplayName(value *string)() + SetGroupId(value *string)() + SetOdataType(value *string)() + SetPolicyId(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/policy_identifier_detail.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/policy_identifier_detail.go new file mode 100644 index 0000000000..edc77bf8fe --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/policy_identifier_detail.go @@ -0,0 +1,117 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamsadministration + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type PolicyIdentifierDetail struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +} +// NewPolicyIdentifierDetail instantiates a new PolicyIdentifierDetail and sets the default values. +func NewPolicyIdentifierDetail()(*PolicyIdentifierDetail) { + m := &PolicyIdentifierDetail{ + Entity: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewEntity(), + } + return m +} +// CreatePolicyIdentifierDetailFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreatePolicyIdentifierDetailFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewPolicyIdentifierDetail(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *PolicyIdentifierDetail) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetName(val) + } + return nil + } + res["policyId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPolicyId(val) + } + return nil + } + return res +} +// GetName gets the name property value. The display name of the policy instance. +// returns a *string when successful +func (m *PolicyIdentifierDetail) GetName()(*string) { + val, err := m.GetBackingStore().Get("name") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPolicyId gets the policyId property value. The unique ID associated with the policy instance. +// returns a *string when successful +func (m *PolicyIdentifierDetail) GetPolicyId()(*string) { + val, err := m.GetBackingStore().Get("policyId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *PolicyIdentifierDetail) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("name", m.GetName()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("policyId", m.GetPolicyId()) + if err != nil { + return err + } + } + return nil +} +// SetName sets the name property value. The display name of the policy instance. +func (m *PolicyIdentifierDetail) SetName(value *string)() { + err := m.GetBackingStore().Set("name", value) + if err != nil { + panic(err) + } +} +// SetPolicyId sets the policyId property value. The unique ID associated with the policy instance. +func (m *PolicyIdentifierDetail) SetPolicyId(value *string)() { + err := m.GetBackingStore().Set("policyId", value) + if err != nil { + panic(err) + } +} +type PolicyIdentifierDetailable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetName()(*string) + GetPolicyId()(*string) + SetName(value *string)() + SetPolicyId(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/teams_admin_root.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/teams_admin_root.go new file mode 100644 index 0000000000..10eb6f0fe5 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/teams_admin_root.go @@ -0,0 +1,129 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamsadministration + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type TeamsAdminRoot struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +} +// NewTeamsAdminRoot instantiates a new TeamsAdminRoot and sets the default values. +func NewTeamsAdminRoot()(*TeamsAdminRoot) { + m := &TeamsAdminRoot{ + Entity: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewEntity(), + } + return m +} +// CreateTeamsAdminRootFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTeamsAdminRootFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTeamsAdminRoot(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TeamsAdminRoot) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["policy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateTeamsPolicyAssignmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetPolicy(val.(TeamsPolicyAssignmentable)) + } + return nil + } + res["userConfigurations"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateTeamsUserConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]TeamsUserConfigurationable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(TeamsUserConfigurationable) + } + } + m.SetUserConfigurations(res) + } + return nil + } + return res +} +// GetPolicy gets the policy property value. Represents a navigation property to the Teams policy assignment object. +// returns a TeamsPolicyAssignmentable when successful +func (m *TeamsAdminRoot) GetPolicy()(TeamsPolicyAssignmentable) { + val, err := m.GetBackingStore().Get("policy") + if err != nil { + panic(err) + } + if val != nil { + return val.(TeamsPolicyAssignmentable) + } + return nil +} +// GetUserConfigurations gets the userConfigurations property value. Represents the configuration information of users who have accounts hosted on Microsoft Teams +// returns a []TeamsUserConfigurationable when successful +func (m *TeamsAdminRoot) GetUserConfigurations()([]TeamsUserConfigurationable) { + val, err := m.GetBackingStore().Get("userConfigurations") + if err != nil { + panic(err) + } + if val != nil { + return val.([]TeamsUserConfigurationable) + } + return nil +} +// Serialize serializes information the current object +func (m *TeamsAdminRoot) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("policy", m.GetPolicy()) + if err != nil { + return err + } + } + if m.GetUserConfigurations() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetUserConfigurations())) + for i, v := range m.GetUserConfigurations() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("userConfigurations", cast) + if err != nil { + return err + } + } + return nil +} +// SetPolicy sets the policy property value. Represents a navigation property to the Teams policy assignment object. +func (m *TeamsAdminRoot) SetPolicy(value TeamsPolicyAssignmentable)() { + err := m.GetBackingStore().Set("policy", value) + if err != nil { + panic(err) + } +} +// SetUserConfigurations sets the userConfigurations property value. Represents the configuration information of users who have accounts hosted on Microsoft Teams +func (m *TeamsAdminRoot) SetUserConfigurations(value []TeamsUserConfigurationable)() { + err := m.GetBackingStore().Set("userConfigurations", value) + if err != nil { + panic(err) + } +} +type TeamsAdminRootable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetPolicy()(TeamsPolicyAssignmentable) + GetUserConfigurations()([]TeamsUserConfigurationable) + SetPolicy(value TeamsPolicyAssignmentable)() + SetUserConfigurations(value []TeamsUserConfigurationable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/teams_policy_assignment.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/teams_policy_assignment.go new file mode 100644 index 0000000000..27c3e9f45b --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/teams_policy_assignment.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamsadministration + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type TeamsPolicyAssignment struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +} +// NewTeamsPolicyAssignment instantiates a new TeamsPolicyAssignment and sets the default values. +func NewTeamsPolicyAssignment()(*TeamsPolicyAssignment) { + m := &TeamsPolicyAssignment{ + Entity: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewEntity(), + } + return m +} +// CreateTeamsPolicyAssignmentFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTeamsPolicyAssignmentFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTeamsPolicyAssignment(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TeamsPolicyAssignment) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["userAssignments"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateTeamsPolicyUserAssignmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]TeamsPolicyUserAssignmentable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(TeamsPolicyUserAssignmentable) + } + } + m.SetUserAssignments(res) + } + return nil + } + return res +} +// GetUserAssignments gets the userAssignments property value. The collection of user policy assignments. +// returns a []TeamsPolicyUserAssignmentable when successful +func (m *TeamsPolicyAssignment) GetUserAssignments()([]TeamsPolicyUserAssignmentable) { + val, err := m.GetBackingStore().Get("userAssignments") + if err != nil { + panic(err) + } + if val != nil { + return val.([]TeamsPolicyUserAssignmentable) + } + return nil +} +// Serialize serializes information the current object +func (m *TeamsPolicyAssignment) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetUserAssignments() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetUserAssignments())) + for i, v := range m.GetUserAssignments() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("userAssignments", cast) + if err != nil { + return err + } + } + return nil +} +// SetUserAssignments sets the userAssignments property value. The collection of user policy assignments. +func (m *TeamsPolicyAssignment) SetUserAssignments(value []TeamsPolicyUserAssignmentable)() { + err := m.GetBackingStore().Set("userAssignments", value) + if err != nil { + panic(err) + } +} +type TeamsPolicyAssignmentable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetUserAssignments()([]TeamsPolicyUserAssignmentable) + SetUserAssignments(value []TeamsPolicyUserAssignmentable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/teams_policy_user_assignment.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/teams_policy_user_assignment.go new file mode 100644 index 0000000000..2e436ac6f6 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/teams_policy_user_assignment.go @@ -0,0 +1,154 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamsadministration + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type TeamsPolicyUserAssignment struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +} +// NewTeamsPolicyUserAssignment instantiates a new TeamsPolicyUserAssignment and sets the default values. +func NewTeamsPolicyUserAssignment()(*TeamsPolicyUserAssignment) { + m := &TeamsPolicyUserAssignment{ + Entity: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewEntity(), + } + return m +} +// CreateTeamsPolicyUserAssignmentFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTeamsPolicyUserAssignmentFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTeamsPolicyUserAssignment(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TeamsPolicyUserAssignment) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["policyId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPolicyId(val) + } + return nil + } + res["policyType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPolicyType(val) + } + return nil + } + res["userId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetUserId(val) + } + return nil + } + return res +} +// GetPolicyId gets the policyId property value. The unique identifier (GUID) of the policy within the specified policy type. +// returns a *string when successful +func (m *TeamsPolicyUserAssignment) GetPolicyId()(*string) { + val, err := m.GetBackingStore().Get("policyId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPolicyType gets the policyType property value. The type of Teams policy assigned or unassigned, such as teamsMeetingBroadcastPolicy. +// returns a *string when successful +func (m *TeamsPolicyUserAssignment) GetPolicyType()(*string) { + val, err := m.GetBackingStore().Get("policyType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetUserId gets the userId property value. The unique identifier (GUID) of the user. +// returns a *string when successful +func (m *TeamsPolicyUserAssignment) GetUserId()(*string) { + val, err := m.GetBackingStore().Get("userId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *TeamsPolicyUserAssignment) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("policyId", m.GetPolicyId()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("policyType", m.GetPolicyType()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("userId", m.GetUserId()) + if err != nil { + return err + } + } + return nil +} +// SetPolicyId sets the policyId property value. The unique identifier (GUID) of the policy within the specified policy type. +func (m *TeamsPolicyUserAssignment) SetPolicyId(value *string)() { + err := m.GetBackingStore().Set("policyId", value) + if err != nil { + panic(err) + } +} +// SetPolicyType sets the policyType property value. The type of Teams policy assigned or unassigned, such as teamsMeetingBroadcastPolicy. +func (m *TeamsPolicyUserAssignment) SetPolicyType(value *string)() { + err := m.GetBackingStore().Set("policyType", value) + if err != nil { + panic(err) + } +} +// SetUserId sets the userId property value. The unique identifier (GUID) of the user. +func (m *TeamsPolicyUserAssignment) SetUserId(value *string)() { + err := m.GetBackingStore().Set("userId", value) + if err != nil { + panic(err) + } +} +type TeamsPolicyUserAssignmentable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetPolicyId()(*string) + GetPolicyType()(*string) + GetUserId()(*string) + SetPolicyId(value *string)() + SetPolicyType(value *string)() + SetUserId(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/teams_policy_user_assignment_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/teams_policy_user_assignment_collection_response.go new file mode 100644 index 0000000000..a87c9b4a19 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/teams_policy_user_assignment_collection_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamsadministration + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type TeamsPolicyUserAssignmentCollectionResponse struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +} +// NewTeamsPolicyUserAssignmentCollectionResponse instantiates a new TeamsPolicyUserAssignmentCollectionResponse and sets the default values. +func NewTeamsPolicyUserAssignmentCollectionResponse()(*TeamsPolicyUserAssignmentCollectionResponse) { + m := &TeamsPolicyUserAssignmentCollectionResponse{ + BaseCollectionPaginationCountResponse: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateTeamsPolicyUserAssignmentCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTeamsPolicyUserAssignmentCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTeamsPolicyUserAssignmentCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TeamsPolicyUserAssignmentCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateTeamsPolicyUserAssignmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]TeamsPolicyUserAssignmentable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(TeamsPolicyUserAssignmentable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []TeamsPolicyUserAssignmentable when successful +func (m *TeamsPolicyUserAssignmentCollectionResponse) GetValue()([]TeamsPolicyUserAssignmentable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]TeamsPolicyUserAssignmentable) + } + return nil +} +// Serialize serializes information the current object +func (m *TeamsPolicyUserAssignmentCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *TeamsPolicyUserAssignmentCollectionResponse) SetValue(value []TeamsPolicyUserAssignmentable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type TeamsPolicyUserAssignmentCollectionResponseable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]TeamsPolicyUserAssignmentable) + SetValue(value []TeamsPolicyUserAssignmentable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/teams_user_configuration.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/teams_user_configuration.go new file mode 100644 index 0000000000..227873741d --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/teams_user_configuration.go @@ -0,0 +1,445 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamsadministration + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type TeamsUserConfiguration struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +} +// NewTeamsUserConfiguration instantiates a new TeamsUserConfiguration and sets the default values. +func NewTeamsUserConfiguration()(*TeamsUserConfiguration) { + m := &TeamsUserConfiguration{ + Entity: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewEntity(), + } + return m +} +// CreateTeamsUserConfigurationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTeamsUserConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTeamsUserConfiguration(), nil +} +// GetAccountType gets the accountType property value. The accountType property +// returns a *AccountType when successful +func (m *TeamsUserConfiguration) GetAccountType()(*AccountType) { + val, err := m.GetBackingStore().Get("accountType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AccountType) + } + return nil +} +// GetCreatedDateTime gets the createdDateTime property value. The date and time when the user was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +// returns a *Time when successful +func (m *TeamsUserConfiguration) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("createdDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetEffectivePolicyAssignments gets the effectivePolicyAssignments property value. Contains the user's effective policy assignments, with each assignment including policyType and policyAssignment details. +// returns a []EffectivePolicyAssignmentable when successful +func (m *TeamsUserConfiguration) GetEffectivePolicyAssignments()([]EffectivePolicyAssignmentable) { + val, err := m.GetBackingStore().Get("effectivePolicyAssignments") + if err != nil { + panic(err) + } + if val != nil { + return val.([]EffectivePolicyAssignmentable) + } + return nil +} +// GetFeatureTypes gets the featureTypes property value. The Teams features enabled for a given user based on licensing or service plan. +// returns a []string when successful +func (m *TeamsUserConfiguration) GetFeatureTypes()([]string) { + val, err := m.GetBackingStore().Get("featureTypes") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TeamsUserConfiguration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["accountType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAccountType) + if err != nil { + return err + } + if val != nil { + m.SetAccountType(val.(*AccountType)) + } + return nil + } + res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetCreatedDateTime(val) + } + return nil + } + res["effectivePolicyAssignments"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateEffectivePolicyAssignmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]EffectivePolicyAssignmentable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(EffectivePolicyAssignmentable) + } + } + m.SetEffectivePolicyAssignments(res) + } + return nil + } + res["featureTypes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetFeatureTypes(res) + } + return nil + } + res["isEnterpriseVoiceEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsEnterpriseVoiceEnabled(val) + } + return nil + } + res["modifiedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetModifiedDateTime(val) + } + return nil + } + res["telephoneNumbers"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAssignedTelephoneNumberFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AssignedTelephoneNumberable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AssignedTelephoneNumberable) + } + } + m.SetTelephoneNumbers(res) + } + return nil + } + res["tenantId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetTenantId(val) + } + return nil + } + res["user"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateUserFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetUser(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable)) + } + return nil + } + res["userPrincipalName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetUserPrincipalName(val) + } + return nil + } + return res +} +// GetIsEnterpriseVoiceEnabled gets the isEnterpriseVoiceEnabled property value. Indicates whether voice capability is enabled. +// returns a *bool when successful +func (m *TeamsUserConfiguration) GetIsEnterpriseVoiceEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isEnterpriseVoiceEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetModifiedDateTime gets the modifiedDateTime property value. The date and time when the user's details were last modified. The system updates this value each time the user's details are changed. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +// returns a *Time when successful +func (m *TeamsUserConfiguration) GetModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("modifiedDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetTelephoneNumbers gets the telephoneNumbers property value. Includes both the phone number and its corresponding assignment category. The assignment category can include values such as primary, private, and alternate. +// returns a []AssignedTelephoneNumberable when successful +func (m *TeamsUserConfiguration) GetTelephoneNumbers()([]AssignedTelephoneNumberable) { + val, err := m.GetBackingStore().Get("telephoneNumbers") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AssignedTelephoneNumberable) + } + return nil +} +// GetTenantId gets the tenantId property value. The unique identifier of the tenant in Entra to which this user is assigned. +// returns a *string when successful +func (m *TeamsUserConfiguration) GetTenantId()(*string) { + val, err := m.GetBackingStore().Get("tenantId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetUser gets the user property value. Represents an Entra user account. +// returns a Userable when successful +func (m *TeamsUserConfiguration) GetUser()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable) { + val, err := m.GetBackingStore().Get("user") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable) + } + return nil +} +// GetUserPrincipalName gets the userPrincipalName property value. The sign-in address of the user. +// returns a *string when successful +func (m *TeamsUserConfiguration) GetUserPrincipalName()(*string) { + val, err := m.GetBackingStore().Get("userPrincipalName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *TeamsUserConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetAccountType() != nil { + cast := (*m.GetAccountType()).String() + err = writer.WriteStringValue("accountType", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("createdDateTime", m.GetCreatedDateTime()) + if err != nil { + return err + } + } + if m.GetEffectivePolicyAssignments() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetEffectivePolicyAssignments())) + for i, v := range m.GetEffectivePolicyAssignments() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("effectivePolicyAssignments", cast) + if err != nil { + return err + } + } + if m.GetFeatureTypes() != nil { + err = writer.WriteCollectionOfStringValues("featureTypes", m.GetFeatureTypes()) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("isEnterpriseVoiceEnabled", m.GetIsEnterpriseVoiceEnabled()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("modifiedDateTime", m.GetModifiedDateTime()) + if err != nil { + return err + } + } + if m.GetTelephoneNumbers() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetTelephoneNumbers())) + for i, v := range m.GetTelephoneNumbers() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("telephoneNumbers", cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("tenantId", m.GetTenantId()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("user", m.GetUser()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("userPrincipalName", m.GetUserPrincipalName()) + if err != nil { + return err + } + } + return nil +} +// SetAccountType sets the accountType property value. The accountType property +func (m *TeamsUserConfiguration) SetAccountType(value *AccountType)() { + err := m.GetBackingStore().Set("accountType", value) + if err != nil { + panic(err) + } +} +// SetCreatedDateTime sets the createdDateTime property value. The date and time when the user was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +func (m *TeamsUserConfiguration) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("createdDateTime", value) + if err != nil { + panic(err) + } +} +// SetEffectivePolicyAssignments sets the effectivePolicyAssignments property value. Contains the user's effective policy assignments, with each assignment including policyType and policyAssignment details. +func (m *TeamsUserConfiguration) SetEffectivePolicyAssignments(value []EffectivePolicyAssignmentable)() { + err := m.GetBackingStore().Set("effectivePolicyAssignments", value) + if err != nil { + panic(err) + } +} +// SetFeatureTypes sets the featureTypes property value. The Teams features enabled for a given user based on licensing or service plan. +func (m *TeamsUserConfiguration) SetFeatureTypes(value []string)() { + err := m.GetBackingStore().Set("featureTypes", value) + if err != nil { + panic(err) + } +} +// SetIsEnterpriseVoiceEnabled sets the isEnterpriseVoiceEnabled property value. Indicates whether voice capability is enabled. +func (m *TeamsUserConfiguration) SetIsEnterpriseVoiceEnabled(value *bool)() { + err := m.GetBackingStore().Set("isEnterpriseVoiceEnabled", value) + if err != nil { + panic(err) + } +} +// SetModifiedDateTime sets the modifiedDateTime property value. The date and time when the user's details were last modified. The system updates this value each time the user's details are changed. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +func (m *TeamsUserConfiguration) SetModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("modifiedDateTime", value) + if err != nil { + panic(err) + } +} +// SetTelephoneNumbers sets the telephoneNumbers property value. Includes both the phone number and its corresponding assignment category. The assignment category can include values such as primary, private, and alternate. +func (m *TeamsUserConfiguration) SetTelephoneNumbers(value []AssignedTelephoneNumberable)() { + err := m.GetBackingStore().Set("telephoneNumbers", value) + if err != nil { + panic(err) + } +} +// SetTenantId sets the tenantId property value. The unique identifier of the tenant in Entra to which this user is assigned. +func (m *TeamsUserConfiguration) SetTenantId(value *string)() { + err := m.GetBackingStore().Set("tenantId", value) + if err != nil { + panic(err) + } +} +// SetUser sets the user property value. Represents an Entra user account. +func (m *TeamsUserConfiguration) SetUser(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable)() { + err := m.GetBackingStore().Set("user", value) + if err != nil { + panic(err) + } +} +// SetUserPrincipalName sets the userPrincipalName property value. The sign-in address of the user. +func (m *TeamsUserConfiguration) SetUserPrincipalName(value *string)() { + err := m.GetBackingStore().Set("userPrincipalName", value) + if err != nil { + panic(err) + } +} +type TeamsUserConfigurationable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAccountType()(*AccountType) + GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetEffectivePolicyAssignments()([]EffectivePolicyAssignmentable) + GetFeatureTypes()([]string) + GetIsEnterpriseVoiceEnabled()(*bool) + GetModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetTelephoneNumbers()([]AssignedTelephoneNumberable) + GetTenantId()(*string) + GetUser()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable) + GetUserPrincipalName()(*string) + SetAccountType(value *AccountType)() + SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetEffectivePolicyAssignments(value []EffectivePolicyAssignmentable)() + SetFeatureTypes(value []string)() + SetIsEnterpriseVoiceEnabled(value *bool)() + SetModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetTelephoneNumbers(value []AssignedTelephoneNumberable)() + SetTenantId(value *string)() + SetUser(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable)() + SetUserPrincipalName(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/teams_user_configuration_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/teams_user_configuration_collection_response.go new file mode 100644 index 0000000000..d1424eb2e0 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration/teams_user_configuration_collection_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamsadministration + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type TeamsUserConfigurationCollectionResponse struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +} +// NewTeamsUserConfigurationCollectionResponse instantiates a new TeamsUserConfigurationCollectionResponse and sets the default values. +func NewTeamsUserConfigurationCollectionResponse()(*TeamsUserConfigurationCollectionResponse) { + m := &TeamsUserConfigurationCollectionResponse{ + BaseCollectionPaginationCountResponse: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateTeamsUserConfigurationCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTeamsUserConfigurationCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTeamsUserConfigurationCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TeamsUserConfigurationCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateTeamsUserConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]TeamsUserConfigurationable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(TeamsUserConfigurationable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []TeamsUserConfigurationable when successful +func (m *TeamsUserConfigurationCollectionResponse) GetValue()([]TeamsUserConfigurationable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]TeamsUserConfigurationable) + } + return nil +} +// Serialize serializes information the current object +func (m *TeamsUserConfigurationCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *TeamsUserConfigurationCollectionResponse) SetValue(value []TeamsUserConfigurationable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type TeamsUserConfigurationCollectionResponseable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]TeamsUserConfigurationable) + SetValue(value []TeamsUserConfigurationable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamwork_activity_topic.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamwork_activity_topic.go index 4dc59d81c7..c1126b9860 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamwork_activity_topic.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamwork_activity_topic.go @@ -101,7 +101,7 @@ func (m *TeamworkActivityTopic) GetOdataType()(*string) { } return nil } -// GetSource gets the source property value. Type of source. Possible values are: entityUrl, text. For supported Microsoft Graph URLs, use entityUrl. For custom text, use text. +// GetSource gets the source property value. Type of source. The possible values are: entityUrl, text. For supported Microsoft Graph URLs, use entityUrl. For custom text, use text. // returns a *TeamworkActivityTopicSource when successful func (m *TeamworkActivityTopic) GetSource()(*TeamworkActivityTopicSource) { val, err := m.GetBackingStore().Get("source") @@ -190,7 +190,7 @@ func (m *TeamworkActivityTopic) SetOdataType(value *string)() { panic(err) } } -// SetSource sets the source property value. Type of source. Possible values are: entityUrl, text. For supported Microsoft Graph URLs, use entityUrl. For custom text, use text. +// SetSource sets the source property value. Type of source. The possible values are: entityUrl, text. For supported Microsoft Graph URLs, use entityUrl. For custom text, use text. func (m *TeamworkActivityTopic) SetSource(value *TeamworkActivityTopicSource)() { err := m.GetBackingStore().Set("source", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamwork_application_identity.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamwork_application_identity.go index bf56c2da3e..64b39a95ff 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamwork_application_identity.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamwork_application_identity.go @@ -24,7 +24,7 @@ func NewTeamworkApplicationIdentity()(*TeamworkApplicationIdentity) { func CreateTeamworkApplicationIdentityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewTeamworkApplicationIdentity(), nil } -// GetApplicationIdentityType gets the applicationIdentityType property value. Type of application that is referenced. Possible values are: aadApplication, bot, tenantBot, office365Connector, outgoingWebhook, and unknownFutureValue. +// GetApplicationIdentityType gets the applicationIdentityType property value. Type of application that is referenced. The possible values are: aadApplication, bot, tenantBot, office365Connector, outgoingWebhook, and unknownFutureValue. // returns a *TeamworkApplicationIdentityType when successful func (m *TeamworkApplicationIdentity) GetApplicationIdentityType()(*TeamworkApplicationIdentityType) { val, err := m.GetBackingStore().Get("applicationIdentityType") @@ -67,7 +67,7 @@ func (m *TeamworkApplicationIdentity) Serialize(writer i878a80d2330e89d26896388a } return nil } -// SetApplicationIdentityType sets the applicationIdentityType property value. Type of application that is referenced. Possible values are: aadApplication, bot, tenantBot, office365Connector, outgoingWebhook, and unknownFutureValue. +// SetApplicationIdentityType sets the applicationIdentityType property value. Type of application that is referenced. The possible values are: aadApplication, bot, tenantBot, office365Connector, outgoingWebhook, and unknownFutureValue. func (m *TeamworkApplicationIdentity) SetApplicationIdentityType(value *TeamworkApplicationIdentityType)() { err := m.GetBackingStore().Set("applicationIdentityType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamwork_conversation_identity.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamwork_conversation_identity.go index de29e8d0ac..8c175120cb 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamwork_conversation_identity.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamwork_conversation_identity.go @@ -24,7 +24,7 @@ func NewTeamworkConversationIdentity()(*TeamworkConversationIdentity) { func CreateTeamworkConversationIdentityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewTeamworkConversationIdentity(), nil } -// GetConversationIdentityType gets the conversationIdentityType property value. Type of conversation. Possible values are: team, channel, chat, and unknownFutureValue. +// GetConversationIdentityType gets the conversationIdentityType property value. Type of conversation. The possible values are: team, channel, chat, and unknownFutureValue. // returns a *TeamworkConversationIdentityType when successful func (m *TeamworkConversationIdentity) GetConversationIdentityType()(*TeamworkConversationIdentityType) { val, err := m.GetBackingStore().Get("conversationIdentityType") @@ -67,7 +67,7 @@ func (m *TeamworkConversationIdentity) Serialize(writer i878a80d2330e89d26896388 } return nil } -// SetConversationIdentityType sets the conversationIdentityType property value. Type of conversation. Possible values are: team, channel, chat, and unknownFutureValue. +// SetConversationIdentityType sets the conversationIdentityType property value. Type of conversation. The possible values are: team, channel, chat, and unknownFutureValue. func (m *TeamworkConversationIdentity) SetConversationIdentityType(value *TeamworkConversationIdentityType)() { err := m.GetBackingStore().Set("conversationIdentityType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamwork_user_identity.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamwork_user_identity.go index e1214d778a..dc03a228ef 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamwork_user_identity.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/teamwork_user_identity.go @@ -40,7 +40,7 @@ func (m *TeamworkUserIdentity) GetFieldDeserializers()(map[string]func(i878a80d2 } return res } -// GetUserIdentityType gets the userIdentityType property value. Type of user. Possible values are: aadUser, onPremiseAadUser, anonymousGuest, federatedUser, personalMicrosoftAccountUser, skypeUser, phoneUser, unknownFutureValue and emailUser. +// GetUserIdentityType gets the userIdentityType property value. Type of user. The possible values are: aadUser, onPremiseAadUser, anonymousGuest, federatedUser, personalMicrosoftAccountUser, skypeUser, phoneUser, unknownFutureValue and emailUser. // returns a *TeamworkUserIdentityType when successful func (m *TeamworkUserIdentity) GetUserIdentityType()(*TeamworkUserIdentityType) { val, err := m.GetBackingStore().Get("userIdentityType") @@ -67,7 +67,7 @@ func (m *TeamworkUserIdentity) Serialize(writer i878a80d2330e89d26896388a3f487ee } return nil } -// SetUserIdentityType sets the userIdentityType property value. Type of user. Possible values are: aadUser, onPremiseAadUser, anonymousGuest, federatedUser, personalMicrosoftAccountUser, skypeUser, phoneUser, unknownFutureValue and emailUser. +// SetUserIdentityType sets the userIdentityType property value. Type of user. The possible values are: aadUser, onPremiseAadUser, anonymousGuest, federatedUser, personalMicrosoftAccountUser, skypeUser, phoneUser, unknownFutureValue and emailUser. func (m *TeamworkUserIdentity) SetUserIdentityType(value *TeamworkUserIdentityType)() { err := m.GetBackingStore().Set("userIdentityType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/telecom_expense_management_partner.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/telecom_expense_management_partner.go deleted file mode 100644 index 8bdfae59f7..0000000000 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/telecom_expense_management_partner.go +++ /dev/null @@ -1,229 +0,0 @@ -// Code generated by Microsoft Kiota - DO NOT EDIT. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -package models - -import ( - i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" -) - -// TelecomExpenseManagementPartner telecomExpenseManagementPartner resources represent the metadata and status of a given TEM service. Once your organization has onboarded with a partner, the partner can be enabled or disabled to switch TEM functionality on or off. -type TelecomExpenseManagementPartner struct { - Entity -} -// NewTelecomExpenseManagementPartner instantiates a new TelecomExpenseManagementPartner and sets the default values. -func NewTelecomExpenseManagementPartner()(*TelecomExpenseManagementPartner) { - m := &TelecomExpenseManagementPartner{ - Entity: *NewEntity(), - } - return m -} -// CreateTelecomExpenseManagementPartnerFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value -// returns a Parsable when successful -func CreateTelecomExpenseManagementPartnerFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewTelecomExpenseManagementPartner(), nil -} -// GetAppAuthorized gets the appAuthorized property value. Whether the partner's AAD app has been authorized to access Intune. -// returns a *bool when successful -func (m *TelecomExpenseManagementPartner) GetAppAuthorized()(*bool) { - val, err := m.GetBackingStore().Get("appAuthorized") - if err != nil { - panic(err) - } - if val != nil { - return val.(*bool) - } - return nil -} -// GetDisplayName gets the displayName property value. Display name of the TEM partner. -// returns a *string when successful -func (m *TelecomExpenseManagementPartner) GetDisplayName()(*string) { - val, err := m.GetBackingStore().Get("displayName") - if err != nil { - panic(err) - } - if val != nil { - return val.(*string) - } - return nil -} -// GetEnabled gets the enabled property value. Whether Intune's connection to the TEM service is currently enabled or disabled. -// returns a *bool when successful -func (m *TelecomExpenseManagementPartner) GetEnabled()(*bool) { - val, err := m.GetBackingStore().Get("enabled") - if err != nil { - panic(err) - } - if val != nil { - return val.(*bool) - } - return nil -} -// GetFieldDeserializers the deserialization information for the current model -// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful -func (m *TelecomExpenseManagementPartner) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { - res := m.Entity.GetFieldDeserializers() - res["appAuthorized"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetBoolValue() - if err != nil { - return err - } - if val != nil { - m.SetAppAuthorized(val) - } - return nil - } - res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetStringValue() - if err != nil { - return err - } - if val != nil { - m.SetDisplayName(val) - } - return nil - } - res["enabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetBoolValue() - if err != nil { - return err - } - if val != nil { - m.SetEnabled(val) - } - return nil - } - res["lastConnectionDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetTimeValue() - if err != nil { - return err - } - if val != nil { - m.SetLastConnectionDateTime(val) - } - return nil - } - res["url"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetStringValue() - if err != nil { - return err - } - if val != nil { - m.SetUrl(val) - } - return nil - } - return res -} -// GetLastConnectionDateTime gets the lastConnectionDateTime property value. Timestamp of the last request sent to Intune by the TEM partner. -// returns a *Time when successful -func (m *TelecomExpenseManagementPartner) GetLastConnectionDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { - val, err := m.GetBackingStore().Get("lastConnectionDateTime") - if err != nil { - panic(err) - } - if val != nil { - return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) - } - return nil -} -// GetUrl gets the url property value. URL of the TEM partner's administrative control panel, where an administrator can configure their TEM service. -// returns a *string when successful -func (m *TelecomExpenseManagementPartner) GetUrl()(*string) { - val, err := m.GetBackingStore().Get("url") - if err != nil { - panic(err) - } - if val != nil { - return val.(*string) - } - return nil -} -// Serialize serializes information the current object -func (m *TelecomExpenseManagementPartner) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { - err := m.Entity.Serialize(writer) - if err != nil { - return err - } - { - err = writer.WriteBoolValue("appAuthorized", m.GetAppAuthorized()) - if err != nil { - return err - } - } - { - err = writer.WriteStringValue("displayName", m.GetDisplayName()) - if err != nil { - return err - } - } - { - err = writer.WriteBoolValue("enabled", m.GetEnabled()) - if err != nil { - return err - } - } - { - err = writer.WriteTimeValue("lastConnectionDateTime", m.GetLastConnectionDateTime()) - if err != nil { - return err - } - } - { - err = writer.WriteStringValue("url", m.GetUrl()) - if err != nil { - return err - } - } - return nil -} -// SetAppAuthorized sets the appAuthorized property value. Whether the partner's AAD app has been authorized to access Intune. -func (m *TelecomExpenseManagementPartner) SetAppAuthorized(value *bool)() { - err := m.GetBackingStore().Set("appAuthorized", value) - if err != nil { - panic(err) - } -} -// SetDisplayName sets the displayName property value. Display name of the TEM partner. -func (m *TelecomExpenseManagementPartner) SetDisplayName(value *string)() { - err := m.GetBackingStore().Set("displayName", value) - if err != nil { - panic(err) - } -} -// SetEnabled sets the enabled property value. Whether Intune's connection to the TEM service is currently enabled or disabled. -func (m *TelecomExpenseManagementPartner) SetEnabled(value *bool)() { - err := m.GetBackingStore().Set("enabled", value) - if err != nil { - panic(err) - } -} -// SetLastConnectionDateTime sets the lastConnectionDateTime property value. Timestamp of the last request sent to Intune by the TEM partner. -func (m *TelecomExpenseManagementPartner) SetLastConnectionDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { - err := m.GetBackingStore().Set("lastConnectionDateTime", value) - if err != nil { - panic(err) - } -} -// SetUrl sets the url property value. URL of the TEM partner's administrative control panel, where an administrator can configure their TEM service. -func (m *TelecomExpenseManagementPartner) SetUrl(value *string)() { - err := m.GetBackingStore().Set("url", value) - if err != nil { - panic(err) - } -} -type TelecomExpenseManagementPartnerable interface { - Entityable - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAppAuthorized()(*bool) - GetDisplayName()(*string) - GetEnabled()(*bool) - GetLastConnectionDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) - GetUrl()(*string) - SetAppAuthorized(value *bool)() - SetDisplayName(value *string)() - SetEnabled(value *bool)() - SetLastConnectionDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() - SetUrl(value *string)() -} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/temporary_access_pass_authentication_method.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/temporary_access_pass_authentication_method.go index 8b45f84e0c..f3e797f033 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/temporary_access_pass_authentication_method.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/temporary_access_pass_authentication_method.go @@ -25,32 +25,10 @@ func NewTemporaryAccessPassAuthenticationMethod()(*TemporaryAccessPassAuthentica func CreateTemporaryAccessPassAuthenticationMethodFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewTemporaryAccessPassAuthenticationMethod(), nil } -// GetCreatedDateTime gets the createdDateTime property value. The date and time when the Temporary Access Pass was created. -// returns a *Time when successful -func (m *TemporaryAccessPassAuthenticationMethod) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { - val, err := m.GetBackingStore().Get("createdDateTime") - if err != nil { - panic(err) - } - if val != nil { - return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) - } - return nil -} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *TemporaryAccessPassAuthenticationMethod) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.AuthenticationMethod.GetFieldDeserializers() - res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetTimeValue() - if err != nil { - return err - } - if val != nil { - m.SetCreatedDateTime(val) - } - return nil - } res["isUsable"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetBoolValue() if err != nil { @@ -191,12 +169,6 @@ func (m *TemporaryAccessPassAuthenticationMethod) Serialize(writer i878a80d2330e if err != nil { return err } - { - err = writer.WriteTimeValue("createdDateTime", m.GetCreatedDateTime()) - if err != nil { - return err - } - } { err = writer.WriteBoolValue("isUsable", m.GetIsUsable()) if err != nil { @@ -235,13 +207,6 @@ func (m *TemporaryAccessPassAuthenticationMethod) Serialize(writer i878a80d2330e } return nil } -// SetCreatedDateTime sets the createdDateTime property value. The date and time when the Temporary Access Pass was created. -func (m *TemporaryAccessPassAuthenticationMethod) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { - err := m.GetBackingStore().Set("createdDateTime", value) - if err != nil { - panic(err) - } -} // SetIsUsable sets the isUsable property value. The state of the authentication method that indicates whether it's currently usable by the user. func (m *TemporaryAccessPassAuthenticationMethod) SetIsUsable(value *bool)() { err := m.GetBackingStore().Set("isUsable", value) @@ -287,14 +252,12 @@ func (m *TemporaryAccessPassAuthenticationMethod) SetTemporaryAccessPass(value * type TemporaryAccessPassAuthenticationMethodable interface { AuthenticationMethodable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetIsUsable()(*bool) GetIsUsableOnce()(*bool) GetLifetimeInMinutes()(*int32) GetMethodUsabilityReason()(*string) GetStartDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetTemporaryAccessPass()(*string) - SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetIsUsable(value *bool)() SetIsUsableOnce(value *bool)() SetLifetimeInMinutes(value *int32)() diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/termstore/group.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/termstore/group.go index bc41397ee0..c37ded8bc6 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/termstore/group.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/termstore/group.go @@ -144,7 +144,7 @@ func (m *Group) GetParentSiteId()(*string) { } return nil } -// GetScope gets the scope property value. Returns the type of the group. Possible values are: global, system, and siteCollection. +// GetScope gets the scope property value. Returns the type of the group. The possible values are: global, system, and siteCollection. // returns a *TermGroupScope when successful func (m *Group) GetScope()(*TermGroupScope) { val, err := m.GetBackingStore().Get("scope") @@ -247,7 +247,7 @@ func (m *Group) SetParentSiteId(value *string)() { panic(err) } } -// SetScope sets the scope property value. Returns the type of the group. Possible values are: global, system, and siteCollection. +// SetScope sets the scope property value. Returns the type of the group. The possible values are: global, system, and siteCollection. func (m *Group) SetScope(value *TermGroupScope)() { err := m.GetBackingStore().Set("scope", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/termstore/relation.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/termstore/relation.go index c877c19732..583241d0be 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/termstore/relation.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/termstore/relation.go @@ -81,7 +81,7 @@ func (m *Relation) GetFromTerm()(Termable) { } return nil } -// GetRelationship gets the relationship property value. The type of relation. Possible values are: pin, reuse. +// GetRelationship gets the relationship property value. The type of relation. The possible values are: pin, reuse. // returns a *RelationType when successful func (m *Relation) GetRelationship()(*RelationType) { val, err := m.GetBackingStore().Get("relationship") @@ -157,7 +157,7 @@ func (m *Relation) SetFromTerm(value Termable)() { panic(err) } } -// SetRelationship sets the relationship property value. The type of relation. Possible values are: pin, reuse. +// SetRelationship sets the relationship property value. The type of relation. The possible values are: pin, reuse. func (m *Relation) SetRelationship(value *RelationType)() { err := m.GetBackingStore().Set("relationship", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/threat_assessment_request.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/threat_assessment_request.go index 4995743ad2..6e45f4b255 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/threat_assessment_request.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/threat_assessment_request.go @@ -59,7 +59,7 @@ func (m *ThreatAssessmentRequest) GetCategory()(*ThreatCategory) { } return nil } -// GetContentType gets the contentType property value. The content type of threat assessment. Possible values are: mail, url, file. +// GetContentType gets the contentType property value. The content type of threat assessment. The possible values are: mail, url, file. // returns a *ThreatAssessmentContentType when successful func (m *ThreatAssessmentRequest) GetContentType()(*ThreatAssessmentContentType) { val, err := m.GetBackingStore().Get("contentType") @@ -199,7 +199,7 @@ func (m *ThreatAssessmentRequest) GetFieldDeserializers()(map[string]func(i878a8 } return res } -// GetRequestSource gets the requestSource property value. The source of the threat assessment request. Possible values are: administrator. +// GetRequestSource gets the requestSource property value. The source of the threat assessment request. The possible values are: administrator. // returns a *ThreatAssessmentRequestSource when successful func (m *ThreatAssessmentRequest) GetRequestSource()(*ThreatAssessmentRequestSource) { val, err := m.GetBackingStore().Get("requestSource") @@ -223,7 +223,7 @@ func (m *ThreatAssessmentRequest) GetResults()([]ThreatAssessmentResultable) { } return nil } -// GetStatus gets the status property value. The assessment process status. Possible values are: pending, completed. +// GetStatus gets the status property value. The assessment process status. The possible values are: pending, completed. // returns a *ThreatAssessmentStatus when successful func (m *ThreatAssessmentRequest) GetStatus()(*ThreatAssessmentStatus) { val, err := m.GetBackingStore().Get("status") @@ -309,7 +309,7 @@ func (m *ThreatAssessmentRequest) SetCategory(value *ThreatCategory)() { panic(err) } } -// SetContentType sets the contentType property value. The content type of threat assessment. Possible values are: mail, url, file. +// SetContentType sets the contentType property value. The content type of threat assessment. The possible values are: mail, url, file. func (m *ThreatAssessmentRequest) SetContentType(value *ThreatAssessmentContentType)() { err := m.GetBackingStore().Set("contentType", value) if err != nil { @@ -337,7 +337,7 @@ func (m *ThreatAssessmentRequest) SetExpectedAssessment(value *ThreatExpectedAss panic(err) } } -// SetRequestSource sets the requestSource property value. The source of the threat assessment request. Possible values are: administrator. +// SetRequestSource sets the requestSource property value. The source of the threat assessment request. The possible values are: administrator. func (m *ThreatAssessmentRequest) SetRequestSource(value *ThreatAssessmentRequestSource)() { err := m.GetBackingStore().Set("requestSource", value) if err != nil { @@ -351,7 +351,7 @@ func (m *ThreatAssessmentRequest) SetResults(value []ThreatAssessmentResultable) panic(err) } } -// SetStatus sets the status property value. The assessment process status. Possible values are: pending, completed. +// SetStatus sets the status property value. The assessment process status. The possible values are: pending, completed. func (m *ThreatAssessmentRequest) SetStatus(value *ThreatAssessmentStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/threat_assessment_result.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/threat_assessment_result.go index 688362edab..d92157546c 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/threat_assessment_result.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/threat_assessment_result.go @@ -83,7 +83,7 @@ func (m *ThreatAssessmentResult) GetMessage()(*string) { } return nil } -// GetResultType gets the resultType property value. The threat assessment result type. Possible values are: checkPolicy, rescan. +// GetResultType gets the resultType property value. The threat assessment result type. The possible values are: checkPolicy, rescan. // returns a *ThreatAssessmentResultType when successful func (m *ThreatAssessmentResult) GetResultType()(*ThreatAssessmentResultType) { val, err := m.GetBackingStore().Get("resultType") @@ -136,7 +136,7 @@ func (m *ThreatAssessmentResult) SetMessage(value *string)() { panic(err) } } -// SetResultType sets the resultType property value. The threat assessment result type. Possible values are: checkPolicy, rescan. +// SetResultType sets the resultType property value. The threat assessment result type. The possible values are: checkPolicy, rescan. func (m *ThreatAssessmentResult) SetResultType(value *ThreatAssessmentResultType)() { err := m.GetBackingStore().Set("resultType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/time_card.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/time_card.go index 43806f40f2..abe8d80ad2 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/time_card.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/time_card.go @@ -60,7 +60,7 @@ func (m *TimeCard) GetClockOutEvent()(TimeCardEventable) { } return nil } -// GetConfirmedBy gets the confirmedBy property value. Indicates whether this timeCard entry is confirmed. Possible values are: none, user, manager, unknownFutureValue. +// GetConfirmedBy gets the confirmedBy property value. Indicates whether this timeCard entry is confirmed. The possible values are: none, user, manager, unknownFutureValue. // returns a *ConfirmedBy when successful func (m *TimeCard) GetConfirmedBy()(*ConfirmedBy) { val, err := m.GetBackingStore().Get("confirmedBy") @@ -297,7 +297,7 @@ func (m *TimeCard) SetClockOutEvent(value TimeCardEventable)() { panic(err) } } -// SetConfirmedBy sets the confirmedBy property value. Indicates whether this timeCard entry is confirmed. Possible values are: none, user, manager, unknownFutureValue. +// SetConfirmedBy sets the confirmedBy property value. Indicates whether this timeCard entry is confirmed. The possible values are: none, user, manager, unknownFutureValue. func (m *TimeCard) SetConfirmedBy(value *ConfirmedBy)() { err := m.GetBackingStore().Set("confirmedBy", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/time_off_details.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/time_off_details.go new file mode 100644 index 0000000000..570cd1d5a8 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/time_off_details.go @@ -0,0 +1,190 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type TimeOffDetails struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewTimeOffDetails instantiates a new TimeOffDetails and sets the default values. +func NewTimeOffDetails()(*TimeOffDetails) { + m := &TimeOffDetails{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateTimeOffDetailsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTimeOffDetailsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTimeOffDetails(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *TimeOffDetails) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *TimeOffDetails) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TimeOffDetails) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["isAllDay"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsAllDay(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["subject"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSubject(val) + } + return nil + } + return res +} +// GetIsAllDay gets the isAllDay property value. Indicates whether the time-off entry spans the entire day. +// returns a *bool when successful +func (m *TimeOffDetails) GetIsAllDay()(*bool) { + val, err := m.GetBackingStore().Get("isAllDay") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *TimeOffDetails) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSubject gets the subject property value. The subject or reason for the time-off entry. +// returns a *string when successful +func (m *TimeOffDetails) GetSubject()(*string) { + val, err := m.GetBackingStore().Get("subject") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *TimeOffDetails) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteBoolValue("isAllDay", m.GetIsAllDay()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("subject", m.GetSubject()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *TimeOffDetails) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *TimeOffDetails) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetIsAllDay sets the isAllDay property value. Indicates whether the time-off entry spans the entire day. +func (m *TimeOffDetails) SetIsAllDay(value *bool)() { + err := m.GetBackingStore().Set("isAllDay", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *TimeOffDetails) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetSubject sets the subject property value. The subject or reason for the time-off entry. +func (m *TimeOffDetails) SetSubject(value *string)() { + err := m.GetBackingStore().Set("subject", value) + if err != nil { + panic(err) + } +} +type TimeOffDetailsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetIsAllDay()(*bool) + GetOdataType()(*string) + GetSubject()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetIsAllDay(value *bool)() + SetOdataType(value *string)() + SetSubject(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/training.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/training.go index bb068bfd08..6c2f6546c7 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/training.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/training.go @@ -23,7 +23,7 @@ func NewTraining()(*Training) { func CreateTrainingFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewTraining(), nil } -// GetAvailabilityStatus gets the availabilityStatus property value. Training availability status. Possible values are: unknown, notAvailable, available, archive, delete, unknownFutureValue. +// GetAvailabilityStatus gets the availabilityStatus property value. Training availability status. The possible values are: unknown, notAvailable, available, archive, delete, unknownFutureValue. // returns a *TrainingAvailabilityStatus when successful func (m *Training) GetAvailabilityStatus()(*TrainingAvailabilityStatus) { val, err := m.GetBackingStore().Get("availabilityStatus") @@ -307,7 +307,7 @@ func (m *Training) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a } return nil } -// GetSource gets the source property value. Training content source. Possible values are: unknown, global, tenant, unknownFutureValue. +// GetSource gets the source property value. Training content source. The possible values are: unknown, global, tenant, unknownFutureValue. // returns a *SimulationContentSource when successful func (m *Training) GetSource()(*SimulationContentSource) { val, err := m.GetBackingStore().Get("source") @@ -343,7 +343,7 @@ func (m *Training) GetTags()([]string) { } return nil } -// GetTypeEscaped gets the type property value. The type of training. Possible values are: unknown, phishing, unknownFutureValue. +// GetTypeEscaped gets the type property value. The type of training. The possible values are: unknown, phishing, unknownFutureValue. // returns a *TrainingType when successful func (m *Training) GetTypeEscaped()(*TrainingType) { val, err := m.GetBackingStore().Get("typeEscaped") @@ -456,7 +456,7 @@ func (m *Training) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c01 } return nil } -// SetAvailabilityStatus sets the availabilityStatus property value. Training availability status. Possible values are: unknown, notAvailable, available, archive, delete, unknownFutureValue. +// SetAvailabilityStatus sets the availabilityStatus property value. Training availability status. The possible values are: unknown, notAvailable, available, archive, delete, unknownFutureValue. func (m *Training) SetAvailabilityStatus(value *TrainingAvailabilityStatus)() { err := m.GetBackingStore().Set("availabilityStatus", value) if err != nil { @@ -526,7 +526,7 @@ func (m *Training) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad9 panic(err) } } -// SetSource sets the source property value. Training content source. Possible values are: unknown, global, tenant, unknownFutureValue. +// SetSource sets the source property value. Training content source. The possible values are: unknown, global, tenant, unknownFutureValue. func (m *Training) SetSource(value *SimulationContentSource)() { err := m.GetBackingStore().Set("source", value) if err != nil { @@ -547,7 +547,7 @@ func (m *Training) SetTags(value []string)() { panic(err) } } -// SetTypeEscaped sets the type property value. The type of training. Possible values are: unknown, phishing, unknownFutureValue. +// SetTypeEscaped sets the type property value. The type of training. The possible values are: unknown, phishing, unknownFutureValue. func (m *Training) SetTypeEscaped(value *TrainingType)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/training_reminder_notification.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/training_reminder_notification.go index 882d52915e..80535762ae 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/training_reminder_notification.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/training_reminder_notification.go @@ -24,7 +24,7 @@ func NewTrainingReminderNotification()(*TrainingReminderNotification) { func CreateTrainingReminderNotificationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewTrainingReminderNotification(), nil } -// GetDeliveryFrequency gets the deliveryFrequency property value. Configurable frequency for the reminder email introduced during simulation creation. Possible values are: unknown, weekly, biWeekly, unknownFutureValue. +// GetDeliveryFrequency gets the deliveryFrequency property value. Configurable frequency for the reminder email introduced during simulation creation. The possible values are: unknown, weekly, biWeekly, unknownFutureValue. // returns a *NotificationDeliveryFrequency when successful func (m *TrainingReminderNotification) GetDeliveryFrequency()(*NotificationDeliveryFrequency) { val, err := m.GetBackingStore().Get("deliveryFrequency") @@ -67,7 +67,7 @@ func (m *TrainingReminderNotification) Serialize(writer i878a80d2330e89d26896388 } return nil } -// SetDeliveryFrequency sets the deliveryFrequency property value. Configurable frequency for the reminder email introduced during simulation creation. Possible values are: unknown, weekly, biWeekly, unknownFutureValue. +// SetDeliveryFrequency sets the deliveryFrequency property value. Configurable frequency for the reminder email introduced during simulation creation. The possible values are: unknown, weekly, biWeekly, unknownFutureValue. func (m *TrainingReminderNotification) SetDeliveryFrequency(value *NotificationDeliveryFrequency)() { err := m.GetBackingStore().Set("deliveryFrequency", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/training_setting.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/training_setting.go index c3e69472d6..4fcab6c09e 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/training_setting.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/training_setting.go @@ -107,7 +107,7 @@ func (m *TrainingSetting) GetOdataType()(*string) { } return nil } -// GetSettingType gets the settingType property value. Type of setting. Possible values are: microsoftCustom, microsoftManaged, noTraining, custom, unknownFutureValue. +// GetSettingType gets the settingType property value. Type of setting. The possible values are: microsoftCustom, microsoftManaged, noTraining, custom, unknownFutureValue. // returns a *TrainingSettingType when successful func (m *TrainingSetting) GetSettingType()(*TrainingSettingType) { val, err := m.GetBackingStore().Get("settingType") @@ -160,7 +160,7 @@ func (m *TrainingSetting) SetOdataType(value *string)() { panic(err) } } -// SetSettingType sets the settingType property value. Type of setting. Possible values are: microsoftCustom, microsoftManaged, noTraining, custom, unknownFutureValue. +// SetSettingType sets the settingType property value. Type of setting. The possible values are: microsoftCustom, microsoftManaged, noTraining, custom, unknownFutureValue. func (m *TrainingSetting) SetSettingType(value *TrainingSettingType)() { err := m.GetBackingStore().Set("settingType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/unavailable_place_mode.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/unavailable_place_mode.go new file mode 100644 index 0000000000..d57e80ad8e --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/unavailable_place_mode.go @@ -0,0 +1,81 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type UnavailablePlaceMode struct { + PlaceMode +} +// NewUnavailablePlaceMode instantiates a new UnavailablePlaceMode and sets the default values. +func NewUnavailablePlaceMode()(*UnavailablePlaceMode) { + m := &UnavailablePlaceMode{ + PlaceMode: *NewPlaceMode(), + } + odataTypeValue := "#microsoft.graph.unavailablePlaceMode" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateUnavailablePlaceModeFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateUnavailablePlaceModeFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewUnavailablePlaceMode(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *UnavailablePlaceMode) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.PlaceMode.GetFieldDeserializers() + res["reason"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetReason(val) + } + return nil + } + return res +} +// GetReason gets the reason property value. The reason a place is marked unavailable. +// returns a *string when successful +func (m *UnavailablePlaceMode) GetReason()(*string) { + val, err := m.GetBackingStore().Get("reason") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *UnavailablePlaceMode) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.PlaceMode.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("reason", m.GetReason()) + if err != nil { + return err + } + } + return nil +} +// SetReason sets the reason property value. The reason a place is marked unavailable. +func (m *UnavailablePlaceMode) SetReason(value *string)() { + err := m.GetBackingStore().Set("reason", value) + if err != nil { + panic(err) + } +} +type UnavailablePlaceModeable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + PlaceModeable + GetReason()(*string) + SetReason(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/unit_map.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/unit_map.go new file mode 100644 index 0000000000..d85daf743d --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/unit_map.go @@ -0,0 +1,81 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type UnitMap struct { + BaseMapFeature +} +// NewUnitMap instantiates a new UnitMap and sets the default values. +func NewUnitMap()(*UnitMap) { + m := &UnitMap{ + BaseMapFeature: *NewBaseMapFeature(), + } + odataTypeValue := "#microsoft.graph.unitMap" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateUnitMapFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateUnitMapFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewUnitMap(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *UnitMap) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseMapFeature.GetFieldDeserializers() + res["placeId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPlaceId(val) + } + return nil + } + return res +} +// GetPlaceId gets the placeId property value. Identifier of the place (such as a room) to which this unitMap belongs. +// returns a *string when successful +func (m *UnitMap) GetPlaceId()(*string) { + val, err := m.GetBackingStore().Get("placeId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *UnitMap) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseMapFeature.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("placeId", m.GetPlaceId()) + if err != nil { + return err + } + } + return nil +} +// SetPlaceId sets the placeId property value. Identifier of the place (such as a room) to which this unitMap belongs. +func (m *UnitMap) SetPlaceId(value *string)() { + err := m.GetBackingStore().Set("placeId", value) + if err != nil { + panic(err) + } +} +type UnitMapable interface { + BaseMapFeatureable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetPlaceId()(*string) + SetPlaceId(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/unit_map_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/unit_map_collection_response.go new file mode 100644 index 0000000000..0cba4fa440 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/unit_map_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type UnitMapCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewUnitMapCollectionResponse instantiates a new UnitMapCollectionResponse and sets the default values. +func NewUnitMapCollectionResponse()(*UnitMapCollectionResponse) { + m := &UnitMapCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateUnitMapCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateUnitMapCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewUnitMapCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *UnitMapCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateUnitMapFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]UnitMapable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(UnitMapable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []UnitMapable when successful +func (m *UnitMapCollectionResponse) GetValue()([]UnitMapable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]UnitMapable) + } + return nil +} +// Serialize serializes information the current object +func (m *UnitMapCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *UnitMapCollectionResponse) SetValue(value []UnitMapable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type UnitMapCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]UnitMapable) + SetValue(value []UnitMapable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/update_windows_device_account_action_parameter.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/update_windows_device_account_action_parameter.go index a0eeb3228d..ec81ccbc2b 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/update_windows_device_account_action_parameter.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/update_windows_device_account_action_parameter.go @@ -43,7 +43,7 @@ func (m *UpdateWindowsDeviceAccountActionParameter) GetAdditionalData()(map[stri func (m *UpdateWindowsDeviceAccountActionParameter) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetCalendarSyncEnabled gets the calendarSyncEnabled property value. Not yet documented +// GetCalendarSyncEnabled gets the calendarSyncEnabled property value. The calendarSyncEnabled property // returns a *bool when successful func (m *UpdateWindowsDeviceAccountActionParameter) GetCalendarSyncEnabled()(*bool) { val, err := m.GetBackingStore().Get("calendarSyncEnabled") @@ -55,7 +55,7 @@ func (m *UpdateWindowsDeviceAccountActionParameter) GetCalendarSyncEnabled()(*bo } return nil } -// GetDeviceAccount gets the deviceAccount property value. Not yet documented +// GetDeviceAccount gets the deviceAccount property value. The deviceAccount property // returns a WindowsDeviceAccountable when successful func (m *UpdateWindowsDeviceAccountActionParameter) GetDeviceAccount()(WindowsDeviceAccountable) { val, err := m.GetBackingStore().Get("deviceAccount") @@ -67,7 +67,7 @@ func (m *UpdateWindowsDeviceAccountActionParameter) GetDeviceAccount()(WindowsDe } return nil } -// GetDeviceAccountEmail gets the deviceAccountEmail property value. Not yet documented +// GetDeviceAccountEmail gets the deviceAccountEmail property value. The deviceAccountEmail property // returns a *string when successful func (m *UpdateWindowsDeviceAccountActionParameter) GetDeviceAccountEmail()(*string) { val, err := m.GetBackingStore().Get("deviceAccountEmail") @@ -79,7 +79,7 @@ func (m *UpdateWindowsDeviceAccountActionParameter) GetDeviceAccountEmail()(*str } return nil } -// GetExchangeServer gets the exchangeServer property value. Not yet documented +// GetExchangeServer gets the exchangeServer property value. The exchangeServer property // returns a *string when successful func (m *UpdateWindowsDeviceAccountActionParameter) GetExchangeServer()(*string) { val, err := m.GetBackingStore().Get("exchangeServer") @@ -179,7 +179,7 @@ func (m *UpdateWindowsDeviceAccountActionParameter) GetOdataType()(*string) { } return nil } -// GetPasswordRotationEnabled gets the passwordRotationEnabled property value. Not yet documented +// GetPasswordRotationEnabled gets the passwordRotationEnabled property value. The passwordRotationEnabled property // returns a *bool when successful func (m *UpdateWindowsDeviceAccountActionParameter) GetPasswordRotationEnabled()(*bool) { val, err := m.GetBackingStore().Get("passwordRotationEnabled") @@ -191,7 +191,7 @@ func (m *UpdateWindowsDeviceAccountActionParameter) GetPasswordRotationEnabled() } return nil } -// GetSessionInitiationProtocalAddress gets the sessionInitiationProtocalAddress property value. Not yet documented +// GetSessionInitiationProtocalAddress gets the sessionInitiationProtocalAddress property value. The sessionInitiationProtocalAddress property // returns a *string when successful func (m *UpdateWindowsDeviceAccountActionParameter) GetSessionInitiationProtocalAddress()(*string) { val, err := m.GetBackingStore().Get("sessionInitiationProtocalAddress") @@ -266,28 +266,28 @@ func (m *UpdateWindowsDeviceAccountActionParameter) SetAdditionalData(value map[ func (m *UpdateWindowsDeviceAccountActionParameter) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetCalendarSyncEnabled sets the calendarSyncEnabled property value. Not yet documented +// SetCalendarSyncEnabled sets the calendarSyncEnabled property value. The calendarSyncEnabled property func (m *UpdateWindowsDeviceAccountActionParameter) SetCalendarSyncEnabled(value *bool)() { err := m.GetBackingStore().Set("calendarSyncEnabled", value) if err != nil { panic(err) } } -// SetDeviceAccount sets the deviceAccount property value. Not yet documented +// SetDeviceAccount sets the deviceAccount property value. The deviceAccount property func (m *UpdateWindowsDeviceAccountActionParameter) SetDeviceAccount(value WindowsDeviceAccountable)() { err := m.GetBackingStore().Set("deviceAccount", value) if err != nil { panic(err) } } -// SetDeviceAccountEmail sets the deviceAccountEmail property value. Not yet documented +// SetDeviceAccountEmail sets the deviceAccountEmail property value. The deviceAccountEmail property func (m *UpdateWindowsDeviceAccountActionParameter) SetDeviceAccountEmail(value *string)() { err := m.GetBackingStore().Set("deviceAccountEmail", value) if err != nil { panic(err) } } -// SetExchangeServer sets the exchangeServer property value. Not yet documented +// SetExchangeServer sets the exchangeServer property value. The exchangeServer property func (m *UpdateWindowsDeviceAccountActionParameter) SetExchangeServer(value *string)() { err := m.GetBackingStore().Set("exchangeServer", value) if err != nil { @@ -301,14 +301,14 @@ func (m *UpdateWindowsDeviceAccountActionParameter) SetOdataType(value *string)( panic(err) } } -// SetPasswordRotationEnabled sets the passwordRotationEnabled property value. Not yet documented +// SetPasswordRotationEnabled sets the passwordRotationEnabled property value. The passwordRotationEnabled property func (m *UpdateWindowsDeviceAccountActionParameter) SetPasswordRotationEnabled(value *bool)() { err := m.GetBackingStore().Set("passwordRotationEnabled", value) if err != nil { panic(err) } } -// SetSessionInitiationProtocalAddress sets the sessionInitiationProtocalAddress property value. Not yet documented +// SetSessionInitiationProtocalAddress sets the sessionInitiationProtocalAddress property value. The sessionInitiationProtocalAddress property func (m *UpdateWindowsDeviceAccountActionParameter) SetSessionInitiationProtocalAddress(value *string)() { err := m.GetBackingStore().Set("sessionInitiationProtocalAddress", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/usage_rights.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/usage_rights.go index 2e91fb7c74..8bcfe5616e 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/usage_rights.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/usage_rights.go @@ -29,13 +29,14 @@ const ( ENCRYPTEDPROTECTIONTYPENOTSUPPORTEDEXCEPTION_USAGERIGHTS = 131072 PURVIEWCLAIMSCHALLENGENOTSUPPORTEDEXCEPTION_USAGERIGHTS = 262144 EXCEPTION_USAGERIGHTS = 524288 - UNKNOWNFUTUREVALUE_USAGERIGHTS = 1048576 + LABELNOTFOUNDEXCEPTION_USAGERIGHTS = 1048576 + UNKNOWNFUTUREVALUE_USAGERIGHTS = 2097152 ) func (i UsageRights) String() string { var values []string - options := []string{"unknown", "docEdit", "edit", "comment", "export", "forward", "owner", "print", "reply", "replyAll", "view", "extract", "viewRightsData", "editRightsData", "objModel", "accessDenied", "userDefinedProtectionTypeNotSupportedException", "encryptedProtectionTypeNotSupportedException", "purviewClaimsChallengeNotSupportedException", "exception", "unknownFutureValue"} - for p := 0; p < 21; p++ { + options := []string{"unknown", "docEdit", "edit", "comment", "export", "forward", "owner", "print", "reply", "replyAll", "view", "extract", "viewRightsData", "editRightsData", "objModel", "accessDenied", "userDefinedProtectionTypeNotSupportedException", "encryptedProtectionTypeNotSupportedException", "purviewClaimsChallengeNotSupportedException", "exception", "labelNotFoundException", "unknownFutureValue"} + for p := 0; p < 22; p++ { mantis := UsageRights(int(math.Pow(2, float64(p)))) if i&mantis == mantis { values = append(values, options[p]) @@ -88,6 +89,8 @@ func ParseUsageRights(v string) (any, error) { result |= PURVIEWCLAIMSCHALLENGENOTSUPPORTEDEXCEPTION_USAGERIGHTS case "exception": result |= EXCEPTION_USAGERIGHTS + case "labelNotFoundException": + result |= LABELNOTFOUNDEXCEPTION_USAGERIGHTS case "unknownFutureValue": result |= UNKNOWNFUTUREVALUE_USAGERIGHTS default: diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user.go index 89918d7ab8..4c8ecbb7da 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user.go @@ -62,6 +62,18 @@ func (m *User) GetActivities()([]UserActivityable) { } return nil } +// GetAdhocCalls gets the adhocCalls property value. Ad hoc calls associated with the user. Read-only. Nullable. +// returns a []AdhocCallable when successful +func (m *User) GetAdhocCalls()([]AdhocCallable) { + val, err := m.GetBackingStore().Get("adhocCalls") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AdhocCallable) + } + return nil +} // GetAgeGroup gets the ageGroup property value. Sets the age group of the user. Allowed values: null, Minor, NotAdult, and Adult. For more information, see legal age group property definitions. Returned only on $select. Supports $filter (eq, ne, not, and in). // returns a *string when successful func (m *User) GetAgeGroup()(*string) { @@ -254,6 +266,18 @@ func (m *User) GetCloudClipboard()(CloudClipboardRootable) { } return nil } +// GetCloudPCs gets the cloudPCs property value. The user's Cloud PCs. Read-only. Nullable. +// returns a []CloudPCable when successful +func (m *User) GetCloudPCs()([]CloudPCable) { + val, err := m.GetBackingStore().Get("cloudPCs") + if err != nil { + panic(err) + } + if val != nil { + return val.([]CloudPCable) + } + return nil +} // GetCompanyName gets the companyName property value. The name of the company that the user is associated with. This property can be useful for describing the company that a guest comes from. The maximum length is 64 characters.Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). // returns a *string when successful func (m *User) GetCompanyName()(*string) { @@ -630,6 +654,22 @@ func (m *User) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a } return nil } + res["adhocCalls"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAdhocCallFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AdhocCallable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AdhocCallable) + } + } + m.SetAdhocCalls(res) + } + return nil + } res["ageGroup"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -844,6 +884,22 @@ func (m *User) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a } return nil } + res["cloudPCs"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateCloudPCFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]CloudPCable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(CloudPCable) + } + } + m.SetCloudPCs(res) + } + return nil + } res["companyName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -1652,6 +1708,16 @@ func (m *User) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a } return nil } + res["onPremisesSyncBehavior"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateOnPremisesSyncBehaviorFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetOnPremisesSyncBehavior(val.(OnPremisesSyncBehaviorable)) + } + return nil + } res["onPremisesSyncEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetBoolValue() if err != nil { @@ -2664,6 +2730,18 @@ func (m *User) GetOnPremisesSecurityIdentifier()(*string) { } return nil } +// GetOnPremisesSyncBehavior gets the onPremisesSyncBehavior property value. The onPremisesSyncBehavior property +// returns a OnPremisesSyncBehaviorable when successful +func (m *User) GetOnPremisesSyncBehavior()(OnPremisesSyncBehaviorable) { + val, err := m.GetBackingStore().Get("onPremisesSyncBehavior") + if err != nil { + panic(err) + } + if val != nil { + return val.(OnPremisesSyncBehaviorable) + } + return nil +} // GetOnPremisesSyncEnabled gets the onPremisesSyncEnabled property value. true if this user object is currently being synced from an on-premises Active Directory (AD); otherwise the user isn't being synced and can be managed in Microsoft Entra ID. Read-only. Returned only on $select. Supports $filter (eq, ne, not, in, and eq on null values). // returns a *bool when successful func (m *User) GetOnPremisesSyncEnabled()(*bool) { @@ -3222,6 +3300,18 @@ func (m *User) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c49 return err } } + if m.GetAdhocCalls() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAdhocCalls())) + for i, v := range m.GetAdhocCalls() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("adhocCalls", cast) + if err != nil { + return err + } + } { err = writer.WriteStringValue("ageGroup", m.GetAgeGroup()) if err != nil { @@ -3366,6 +3456,18 @@ func (m *User) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c49 return err } } + if m.GetCloudPCs() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetCloudPCs())) + for i, v := range m.GetCloudPCs() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("cloudPCs", cast) + if err != nil { + return err + } + } { err = writer.WriteStringValue("companyName", m.GetCompanyName()) if err != nil { @@ -3894,6 +3996,12 @@ func (m *User) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c49 return err } } + { + err = writer.WriteObjectValue("onPremisesSyncBehavior", m.GetOnPremisesSyncBehavior()) + if err != nil { + return err + } + } { err = writer.WriteBoolValue("onPremisesSyncEnabled", m.GetOnPremisesSyncEnabled()) if err != nil { @@ -4247,6 +4355,13 @@ func (m *User) SetActivities(value []UserActivityable)() { panic(err) } } +// SetAdhocCalls sets the adhocCalls property value. Ad hoc calls associated with the user. Read-only. Nullable. +func (m *User) SetAdhocCalls(value []AdhocCallable)() { + err := m.GetBackingStore().Set("adhocCalls", value) + if err != nil { + panic(err) + } +} // SetAgeGroup sets the ageGroup property value. Sets the age group of the user. Allowed values: null, Minor, NotAdult, and Adult. For more information, see legal age group property definitions. Returned only on $select. Supports $filter (eq, ne, not, and in). func (m *User) SetAgeGroup(value *string)() { err := m.GetBackingStore().Set("ageGroup", value) @@ -4359,6 +4474,13 @@ func (m *User) SetCloudClipboard(value CloudClipboardRootable)() { panic(err) } } +// SetCloudPCs sets the cloudPCs property value. The user's Cloud PCs. Read-only. Nullable. +func (m *User) SetCloudPCs(value []CloudPCable)() { + err := m.GetBackingStore().Set("cloudPCs", value) + if err != nil { + panic(err) + } +} // SetCompanyName sets the companyName property value. The name of the company that the user is associated with. This property can be useful for describing the company that a guest comes from. The maximum length is 64 characters.Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). func (m *User) SetCompanyName(value *string)() { err := m.GetBackingStore().Set("companyName", value) @@ -4828,6 +4950,13 @@ func (m *User) SetOnPremisesSecurityIdentifier(value *string)() { panic(err) } } +// SetOnPremisesSyncBehavior sets the onPremisesSyncBehavior property value. The onPremisesSyncBehavior property +func (m *User) SetOnPremisesSyncBehavior(value OnPremisesSyncBehaviorable)() { + err := m.GetBackingStore().Set("onPremisesSyncBehavior", value) + if err != nil { + panic(err) + } +} // SetOnPremisesSyncEnabled sets the onPremisesSyncEnabled property value. true if this user object is currently being synced from an on-premises Active Directory (AD); otherwise the user isn't being synced and can be managed in Microsoft Entra ID. Read-only. Returned only on $select. Supports $filter (eq, ne, not, in, and eq on null values). func (m *User) SetOnPremisesSyncEnabled(value *bool)() { err := m.GetBackingStore().Set("onPremisesSyncEnabled", value) @@ -5142,6 +5271,7 @@ type Userable interface { GetAboutMe()(*string) GetAccountEnabled()(*bool) GetActivities()([]UserActivityable) + GetAdhocCalls()([]AdhocCallable) GetAgeGroup()(*string) GetAgreementAcceptances()([]AgreementAcceptanceable) GetAppRoleAssignments()([]AppRoleAssignmentable) @@ -5158,6 +5288,7 @@ type Userable interface { GetChats()([]Chatable) GetCity()(*string) GetCloudClipboard()(CloudClipboardRootable) + GetCloudPCs()([]CloudPCable) GetCompanyName()(*string) GetConsentProvidedForMinor()(*string) GetContactFolders()([]ContactFolderable) @@ -5225,6 +5356,7 @@ type Userable interface { GetOnPremisesProvisioningErrors()([]OnPremisesProvisioningErrorable) GetOnPremisesSamAccountName()(*string) GetOnPremisesSecurityIdentifier()(*string) + GetOnPremisesSyncBehavior()(OnPremisesSyncBehaviorable) GetOnPremisesSyncEnabled()(*bool) GetOnPremisesUserPrincipalName()(*string) GetOtherMails()([]string) @@ -5272,6 +5404,7 @@ type Userable interface { SetAboutMe(value *string)() SetAccountEnabled(value *bool)() SetActivities(value []UserActivityable)() + SetAdhocCalls(value []AdhocCallable)() SetAgeGroup(value *string)() SetAgreementAcceptances(value []AgreementAcceptanceable)() SetAppRoleAssignments(value []AppRoleAssignmentable)() @@ -5288,6 +5421,7 @@ type Userable interface { SetChats(value []Chatable)() SetCity(value *string)() SetCloudClipboard(value CloudClipboardRootable)() + SetCloudPCs(value []CloudPCable)() SetCompanyName(value *string)() SetConsentProvidedForMinor(value *string)() SetContactFolders(value []ContactFolderable)() @@ -5355,6 +5489,7 @@ type Userable interface { SetOnPremisesProvisioningErrors(value []OnPremisesProvisioningErrorable)() SetOnPremisesSamAccountName(value *string)() SetOnPremisesSecurityIdentifier(value *string)() + SetOnPremisesSyncBehavior(value OnPremisesSyncBehaviorable)() SetOnPremisesSyncEnabled(value *bool)() SetOnPremisesUserPrincipalName(value *string)() SetOtherMails(value []string)() diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_experience_analytics_app_health_app_performance_by_o_s_version.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_experience_analytics_app_health_app_performance_by_o_s_version.go index ae324ad316..e811bbfaa4 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_experience_analytics_app_health_app_performance_by_o_s_version.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_experience_analytics_app_health_app_performance_by_o_s_version.go @@ -47,7 +47,7 @@ func (m *UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion) GetAppCrashC } return nil } -// GetAppDisplayName gets the appDisplayName property value. The friendly name of the application. Possible values are: Outlook, Excel. Supports: $select, $OrderBy. Read-only. +// GetAppDisplayName gets the appDisplayName property value. The friendly name of the application. The possible values are: Outlook, Excel. Supports: $select, $OrderBy. Read-only. // returns a *string when successful func (m *UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion) GetAppDisplayName()(*string) { val, err := m.GetBackingStore().Get("appDisplayName") @@ -59,7 +59,7 @@ func (m *UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion) GetAppDispla } return nil } -// GetAppName gets the appName property value. The name of the application. Possible values are: outlook.exe, excel.exe. Supports: $select, $OrderBy. Read-only. +// GetAppName gets the appName property value. The name of the application. The possible values are: outlook.exe, excel.exe. Supports: $select, $OrderBy. Read-only. // returns a *string when successful func (m *UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion) GetAppName()(*string) { val, err := m.GetBackingStore().Get("appName") @@ -303,14 +303,14 @@ func (m *UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion) SetAppCrashC panic(err) } } -// SetAppDisplayName sets the appDisplayName property value. The friendly name of the application. Possible values are: Outlook, Excel. Supports: $select, $OrderBy. Read-only. +// SetAppDisplayName sets the appDisplayName property value. The friendly name of the application. The possible values are: Outlook, Excel. Supports: $select, $OrderBy. Read-only. func (m *UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion) SetAppDisplayName(value *string)() { err := m.GetBackingStore().Set("appDisplayName", value) if err != nil { panic(err) } } -// SetAppName sets the appName property value. The name of the application. Possible values are: outlook.exe, excel.exe. Supports: $select, $OrderBy. Read-only. +// SetAppName sets the appName property value. The name of the application. The possible values are: outlook.exe, excel.exe. Supports: $select, $OrderBy. Read-only. func (m *UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion) SetAppName(value *string)() { err := m.GetBackingStore().Set("appName", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_experience_analytics_app_health_application_performance.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_experience_analytics_app_health_application_performance.go index 42cf45709d..aa949b6fd7 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_experience_analytics_app_health_application_performance.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_experience_analytics_app_health_application_performance.go @@ -47,7 +47,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformance) GetAppCrashCoun } return nil } -// GetAppDisplayName gets the appDisplayName property value. The friendly name of the application. Possible values are: Outlook, Excel. Supports: $select, $OrderBy. Read-only. +// GetAppDisplayName gets the appDisplayName property value. The friendly name of the application. The possible values are: Outlook, Excel. Supports: $select, $OrderBy. Read-only. // returns a *string when successful func (m *UserExperienceAnalyticsAppHealthApplicationPerformance) GetAppDisplayName()(*string) { val, err := m.GetBackingStore().Get("appDisplayName") @@ -83,7 +83,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformance) GetAppHealthSco } return nil } -// GetAppName gets the appName property value. The name of the application. Possible values are: outlook.exe, excel.exe. Supports: $select, $OrderBy. Read-only. +// GetAppName gets the appName property value. The name of the application. The possible values are: outlook.exe, excel.exe. Supports: $select, $OrderBy. Read-only. // returns a *string when successful func (m *UserExperienceAnalyticsAppHealthApplicationPerformance) GetAppName()(*string) { val, err := m.GetBackingStore().Get("appName") @@ -303,7 +303,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformance) SetAppCrashCoun panic(err) } } -// SetAppDisplayName sets the appDisplayName property value. The friendly name of the application. Possible values are: Outlook, Excel. Supports: $select, $OrderBy. Read-only. +// SetAppDisplayName sets the appDisplayName property value. The friendly name of the application. The possible values are: Outlook, Excel. Supports: $select, $OrderBy. Read-only. func (m *UserExperienceAnalyticsAppHealthApplicationPerformance) SetAppDisplayName(value *string)() { err := m.GetBackingStore().Set("appDisplayName", value) if err != nil { @@ -324,7 +324,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformance) SetAppHealthSco panic(err) } } -// SetAppName sets the appName property value. The name of the application. Possible values are: outlook.exe, excel.exe. Supports: $select, $OrderBy. Read-only. +// SetAppName sets the appName property value. The name of the application. The possible values are: outlook.exe, excel.exe. Supports: $select, $OrderBy. Read-only. func (m *UserExperienceAnalyticsAppHealthApplicationPerformance) SetAppName(value *string)() { err := m.GetBackingStore().Set("appName", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_experience_analytics_app_health_device_performance_details.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_experience_analytics_app_health_device_performance_details.go index 999f9f618c..342667e5f7 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_experience_analytics_app_health_device_performance_details.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_experience_analytics_app_health_device_performance_details.go @@ -24,7 +24,7 @@ func NewUserExperienceAnalyticsAppHealthDevicePerformanceDetails()(*UserExperien func CreateUserExperienceAnalyticsAppHealthDevicePerformanceDetailsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewUserExperienceAnalyticsAppHealthDevicePerformanceDetails(), nil } -// GetAppDisplayName gets the appDisplayName property value. The friendly name of the application for which the event occurred. Possible values are: outlook.exe, excel.exe. Supports: $select, $OrderBy. Read-only. +// GetAppDisplayName gets the appDisplayName property value. The friendly name of the application for which the event occurred. The possible values are: outlook.exe, excel.exe. Supports: $select, $OrderBy. Read-only. // returns a *string when successful func (m *UserExperienceAnalyticsAppHealthDevicePerformanceDetails) GetAppDisplayName()(*string) { val, err := m.GetBackingStore().Get("appDisplayName") @@ -48,7 +48,7 @@ func (m *UserExperienceAnalyticsAppHealthDevicePerformanceDetails) GetAppPublish } return nil } -// GetAppVersion gets the appVersion property value. The version of the application. Possible values are: 1.0.0.1, 75.65.23.9. Supports: $select, $OrderBy. Read-only. +// GetAppVersion gets the appVersion property value. The version of the application. The possible values are: 1.0.0.1, 75.65.23.9. Supports: $select, $OrderBy. Read-only. // returns a *string when successful func (m *UserExperienceAnalyticsAppHealthDevicePerformanceDetails) GetAppVersion()(*string) { val, err := m.GetBackingStore().Get("appVersion") @@ -234,7 +234,7 @@ func (m *UserExperienceAnalyticsAppHealthDevicePerformanceDetails) Serialize(wri } return nil } -// SetAppDisplayName sets the appDisplayName property value. The friendly name of the application for which the event occurred. Possible values are: outlook.exe, excel.exe. Supports: $select, $OrderBy. Read-only. +// SetAppDisplayName sets the appDisplayName property value. The friendly name of the application for which the event occurred. The possible values are: outlook.exe, excel.exe. Supports: $select, $OrderBy. Read-only. func (m *UserExperienceAnalyticsAppHealthDevicePerformanceDetails) SetAppDisplayName(value *string)() { err := m.GetBackingStore().Set("appDisplayName", value) if err != nil { @@ -248,7 +248,7 @@ func (m *UserExperienceAnalyticsAppHealthDevicePerformanceDetails) SetAppPublish panic(err) } } -// SetAppVersion sets the appVersion property value. The version of the application. Possible values are: 1.0.0.1, 75.65.23.9. Supports: $select, $OrderBy. Read-only. +// SetAppVersion sets the appVersion property value. The version of the application. The possible values are: 1.0.0.1, 75.65.23.9. Supports: $select, $OrderBy. Read-only. func (m *UserExperienceAnalyticsAppHealthDevicePerformanceDetails) SetAppVersion(value *string)() { err := m.GetBackingStore().Set("appVersion", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_registration_details.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_registration_details.go index d9fc3da999..88bf43c576 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_registration_details.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_registration_details.go @@ -311,7 +311,7 @@ func (m *UserRegistrationDetails) GetMethodsRegistered()([]string) { } return nil } -// GetSystemPreferredAuthenticationMethods gets the systemPreferredAuthenticationMethods property value. Collection of authentication methods that the system determined to be the most secure authentication methods among the registered methods for second factor authentication. Possible values are: push, oath, voiceMobile, voiceAlternateMobile, voiceOffice, sms, none, unknownFutureValue. Supports $filter (any with eq). +// GetSystemPreferredAuthenticationMethods gets the systemPreferredAuthenticationMethods property value. Collection of authentication methods that the system determined to be the most secure authentication methods among the registered methods for second factor authentication. The possible values are: push, oath, voiceMobile, voiceAlternateMobile, voiceOffice, sms, none, unknownFutureValue. Supports $filter (any with eq). // returns a []string when successful func (m *UserRegistrationDetails) GetSystemPreferredAuthenticationMethods()([]string) { val, err := m.GetBackingStore().Get("systemPreferredAuthenticationMethods") @@ -335,7 +335,7 @@ func (m *UserRegistrationDetails) GetUserDisplayName()(*string) { } return nil } -// GetUserPreferredMethodForSecondaryAuthentication gets the userPreferredMethodForSecondaryAuthentication property value. The method the user selected as the default second-factor for performing multifactor authentication. Possible values are: push, oath, voiceMobile, voiceAlternateMobile, voiceOffice, sms, none, unknownFutureValue. This property is used as preferred MFA method when isSystemPreferredAuthenticationMethodEnabled is false. Supports $filter (any with eq). +// GetUserPreferredMethodForSecondaryAuthentication gets the userPreferredMethodForSecondaryAuthentication property value. The method the user selected as the default second-factor for performing multifactor authentication. The possible values are: push, oath, voiceMobile, voiceAlternateMobile, voiceOffice, sms, none, unknownFutureValue. This property is used as preferred MFA method when isSystemPreferredAuthenticationMethodEnabled is false. Supports $filter (any with eq). // returns a *UserDefaultAuthenticationMethod when successful func (m *UserRegistrationDetails) GetUserPreferredMethodForSecondaryAuthentication()(*UserDefaultAuthenticationMethod) { val, err := m.GetBackingStore().Get("userPreferredMethodForSecondaryAuthentication") @@ -541,7 +541,7 @@ func (m *UserRegistrationDetails) SetMethodsRegistered(value []string)() { panic(err) } } -// SetSystemPreferredAuthenticationMethods sets the systemPreferredAuthenticationMethods property value. Collection of authentication methods that the system determined to be the most secure authentication methods among the registered methods for second factor authentication. Possible values are: push, oath, voiceMobile, voiceAlternateMobile, voiceOffice, sms, none, unknownFutureValue. Supports $filter (any with eq). +// SetSystemPreferredAuthenticationMethods sets the systemPreferredAuthenticationMethods property value. Collection of authentication methods that the system determined to be the most secure authentication methods among the registered methods for second factor authentication. The possible values are: push, oath, voiceMobile, voiceAlternateMobile, voiceOffice, sms, none, unknownFutureValue. Supports $filter (any with eq). func (m *UserRegistrationDetails) SetSystemPreferredAuthenticationMethods(value []string)() { err := m.GetBackingStore().Set("systemPreferredAuthenticationMethods", value) if err != nil { @@ -555,7 +555,7 @@ func (m *UserRegistrationDetails) SetUserDisplayName(value *string)() { panic(err) } } -// SetUserPreferredMethodForSecondaryAuthentication sets the userPreferredMethodForSecondaryAuthentication property value. The method the user selected as the default second-factor for performing multifactor authentication. Possible values are: push, oath, voiceMobile, voiceAlternateMobile, voiceOffice, sms, none, unknownFutureValue. This property is used as preferred MFA method when isSystemPreferredAuthenticationMethodEnabled is false. Supports $filter (any with eq). +// SetUserPreferredMethodForSecondaryAuthentication sets the userPreferredMethodForSecondaryAuthentication property value. The method the user selected as the default second-factor for performing multifactor authentication. The possible values are: push, oath, voiceMobile, voiceAlternateMobile, voiceOffice, sms, none, unknownFutureValue. This property is used as preferred MFA method when isSystemPreferredAuthenticationMethodEnabled is false. Supports $filter (any with eq). func (m *UserRegistrationDetails) SetUserPreferredMethodForSecondaryAuthentication(value *UserDefaultAuthenticationMethod)() { err := m.GetBackingStore().Set("userPreferredMethodForSecondaryAuthentication", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_registration_feature_summary.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_registration_feature_summary.go index 1057f18a75..0c73c78938 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_registration_feature_summary.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_registration_feature_summary.go @@ -141,7 +141,7 @@ func (m *UserRegistrationFeatureSummary) GetUserRegistrationFeatureCounts()([]Us } return nil } -// GetUserRoles gets the userRoles property value. The role type of the user. Possible values are: all, privilegedAdmin, admin, user, unknownFutureValue. +// GetUserRoles gets the userRoles property value. The role type of the user. The possible values are: all, privilegedAdmin, admin, user, unknownFutureValue. // returns a *IncludedUserRoles when successful func (m *UserRegistrationFeatureSummary) GetUserRoles()(*IncludedUserRoles) { val, err := m.GetBackingStore().Get("userRoles") @@ -153,7 +153,7 @@ func (m *UserRegistrationFeatureSummary) GetUserRoles()(*IncludedUserRoles) { } return nil } -// GetUserTypes gets the userTypes property value. User type. Possible values are: all, member, guest, unknownFutureValue. +// GetUserTypes gets the userTypes property value. User type. The possible values are: all, member, guest, unknownFutureValue. // returns a *IncludedUserTypes when successful func (m *UserRegistrationFeatureSummary) GetUserTypes()(*IncludedUserTypes) { val, err := m.GetBackingStore().Get("userTypes") @@ -245,14 +245,14 @@ func (m *UserRegistrationFeatureSummary) SetUserRegistrationFeatureCounts(value panic(err) } } -// SetUserRoles sets the userRoles property value. The role type of the user. Possible values are: all, privilegedAdmin, admin, user, unknownFutureValue. +// SetUserRoles sets the userRoles property value. The role type of the user. The possible values are: all, privilegedAdmin, admin, user, unknownFutureValue. func (m *UserRegistrationFeatureSummary) SetUserRoles(value *IncludedUserRoles)() { err := m.GetBackingStore().Set("userRoles", value) if err != nil { panic(err) } } -// SetUserTypes sets the userTypes property value. User type. Possible values are: all, member, guest, unknownFutureValue. +// SetUserTypes sets the userTypes property value. User type. The possible values are: all, member, guest, unknownFutureValue. func (m *UserRegistrationFeatureSummary) SetUserTypes(value *IncludedUserTypes)() { err := m.GetBackingStore().Set("userTypes", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_registration_method_summary.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_registration_method_summary.go index a61ed3d37f..5dd9eefed5 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_registration_method_summary.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_registration_method_summary.go @@ -141,7 +141,7 @@ func (m *UserRegistrationMethodSummary) GetUserRegistrationMethodCounts()([]User } return nil } -// GetUserRoles gets the userRoles property value. The role type of the user. Possible values are: all, privilegedAdmin, admin, user, unknownFutureValue. +// GetUserRoles gets the userRoles property value. The role type of the user. The possible values are: all, privilegedAdmin, admin, user, unknownFutureValue. // returns a *IncludedUserRoles when successful func (m *UserRegistrationMethodSummary) GetUserRoles()(*IncludedUserRoles) { val, err := m.GetBackingStore().Get("userRoles") @@ -153,7 +153,7 @@ func (m *UserRegistrationMethodSummary) GetUserRoles()(*IncludedUserRoles) { } return nil } -// GetUserTypes gets the userTypes property value. User type. Possible values are: all, member, guest, unknownFutureValue. +// GetUserTypes gets the userTypes property value. User type. The possible values are: all, member, guest, unknownFutureValue. // returns a *IncludedUserTypes when successful func (m *UserRegistrationMethodSummary) GetUserTypes()(*IncludedUserTypes) { val, err := m.GetBackingStore().Get("userTypes") @@ -245,14 +245,14 @@ func (m *UserRegistrationMethodSummary) SetUserRegistrationMethodCounts(value [] panic(err) } } -// SetUserRoles sets the userRoles property value. The role type of the user. Possible values are: all, privilegedAdmin, admin, user, unknownFutureValue. +// SetUserRoles sets the userRoles property value. The role type of the user. The possible values are: all, privilegedAdmin, admin, user, unknownFutureValue. func (m *UserRegistrationMethodSummary) SetUserRoles(value *IncludedUserRoles)() { err := m.GetBackingStore().Set("userRoles", value) if err != nil { panic(err) } } -// SetUserTypes sets the userTypes property value. User type. Possible values are: all, member, guest, unknownFutureValue. +// SetUserTypes sets the userTypes property value. User type. The possible values are: all, member, guest, unknownFutureValue. func (m *UserRegistrationMethodSummary) SetUserTypes(value *IncludedUserTypes)() { err := m.GetBackingStore().Set("userTypes", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_security_state.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_security_state.go index 1107cbb0e5..460f730b77 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_security_state.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_security_state.go @@ -80,7 +80,7 @@ func (m *UserSecurityState) GetDomainName()(*string) { } return nil } -// GetEmailRole gets the emailRole property value. For email-related alerts - user account's email 'role'. Possible values are: unknown, sender, recipient. +// GetEmailRole gets the emailRole property value. For email-related alerts - user account's email 'role'. The possible values are: unknown, sender, recipient. // returns a *EmailRole when successful func (m *UserSecurityState) GetEmailRole()(*EmailRole) { val, err := m.GetBackingStore().Get("emailRole") @@ -308,7 +308,7 @@ func (m *UserSecurityState) GetLogonLocation()(*string) { } return nil } -// GetLogonType gets the logonType property value. Method of user sign in. Possible values are: unknown, interactive, remoteInteractive, network, batch, service. +// GetLogonType gets the logonType property value. Method of user sign in. The possible values are: unknown, interactive, remoteInteractive, network, batch, service. // returns a *LogonType when successful func (m *UserSecurityState) GetLogonType()(*LogonType) { val, err := m.GetBackingStore().Get("logonType") @@ -356,7 +356,7 @@ func (m *UserSecurityState) GetRiskScore()(*string) { } return nil } -// GetUserAccountType gets the userAccountType property value. User account type (group membership), per Windows definition. Possible values are: unknown, standard, power, administrator. +// GetUserAccountType gets the userAccountType property value. User account type (group membership), per Windows definition. The possible values are: unknown, standard, power, administrator. // returns a *UserAccountSecurityType when successful func (m *UserSecurityState) GetUserAccountType()(*UserAccountSecurityType) { val, err := m.GetBackingStore().Get("userAccountType") @@ -515,7 +515,7 @@ func (m *UserSecurityState) SetDomainName(value *string)() { panic(err) } } -// SetEmailRole sets the emailRole property value. For email-related alerts - user account's email 'role'. Possible values are: unknown, sender, recipient. +// SetEmailRole sets the emailRole property value. For email-related alerts - user account's email 'role'. The possible values are: unknown, sender, recipient. func (m *UserSecurityState) SetEmailRole(value *EmailRole)() { err := m.GetBackingStore().Set("emailRole", value) if err != nil { @@ -557,7 +557,7 @@ func (m *UserSecurityState) SetLogonLocation(value *string)() { panic(err) } } -// SetLogonType sets the logonType property value. Method of user sign in. Possible values are: unknown, interactive, remoteInteractive, network, batch, service. +// SetLogonType sets the logonType property value. Method of user sign in. The possible values are: unknown, interactive, remoteInteractive, network, batch, service. func (m *UserSecurityState) SetLogonType(value *LogonType)() { err := m.GetBackingStore().Set("logonType", value) if err != nil { @@ -585,7 +585,7 @@ func (m *UserSecurityState) SetRiskScore(value *string)() { panic(err) } } -// SetUserAccountType sets the userAccountType property value. User account type (group membership), per Windows definition. Possible values are: unknown, standard, power, administrator. +// SetUserAccountType sets the userAccountType property value. User account type (group membership), per Windows definition. The possible values are: unknown, standard, power, administrator. func (m *UserSecurityState) SetUserAccountType(value *UserAccountSecurityType)() { err := m.GetBackingStore().Set("userAccountType", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_settings.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_settings.go index 2f6cc631ac..986ab43e1d 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_settings.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_settings.go @@ -116,6 +116,16 @@ func (m *UserSettings) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2 } return nil } + res["workHoursAndLocations"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateWorkHoursAndLocationsSettingFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetWorkHoursAndLocations(val.(WorkHoursAndLocationsSettingable)) + } + return nil + } return res } // GetItemInsights gets the itemInsights property value. The user's settings for the visibility of meeting hour insights, and insights derived between a user and other items in Microsoft 365, such as documents or sites. Get userInsightsSettings through this navigation property. @@ -154,7 +164,7 @@ func (m *UserSettings) GetStorage()(UserStorageable) { } return nil } -// GetWindows gets the windows property value. The windows property +// GetWindows gets the windows property value. The Windows settings of the user stored in the cloud. // returns a []WindowsSettingable when successful func (m *UserSettings) GetWindows()([]WindowsSettingable) { val, err := m.GetBackingStore().Get("windows") @@ -166,6 +176,18 @@ func (m *UserSettings) GetWindows()([]WindowsSettingable) { } return nil } +// GetWorkHoursAndLocations gets the workHoursAndLocations property value. The user's settings for work hours and location preferences for scheduling and availability management. +// returns a WorkHoursAndLocationsSettingable when successful +func (m *UserSettings) GetWorkHoursAndLocations()(WorkHoursAndLocationsSettingable) { + val, err := m.GetBackingStore().Get("workHoursAndLocations") + if err != nil { + panic(err) + } + if val != nil { + return val.(WorkHoursAndLocationsSettingable) + } + return nil +} // Serialize serializes information the current object func (m *UserSettings) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.Entity.Serialize(writer) @@ -214,6 +236,12 @@ func (m *UserSettings) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e return err } } + { + err = writer.WriteObjectValue("workHoursAndLocations", m.GetWorkHoursAndLocations()) + if err != nil { + return err + } + } return nil } // SetContributionToContentDiscoveryAsOrganizationDisabled sets the contributionToContentDiscoveryAsOrganizationDisabled property value. Reflects the organization level setting controlling delegate access to the trending API. When set to true, the organization doesn't have access to Office Delve. The relevancy of the content displayed in Microsoft 365, for example in Suggested sites in SharePoint Home and the Discover view in OneDrive for work or school is affected for the whole organization. This setting is read-only and can only be changed by administrators in the SharePoint admin center. @@ -251,13 +279,20 @@ func (m *UserSettings) SetStorage(value UserStorageable)() { panic(err) } } -// SetWindows sets the windows property value. The windows property +// SetWindows sets the windows property value. The Windows settings of the user stored in the cloud. func (m *UserSettings) SetWindows(value []WindowsSettingable)() { err := m.GetBackingStore().Set("windows", value) if err != nil { panic(err) } } +// SetWorkHoursAndLocations sets the workHoursAndLocations property value. The user's settings for work hours and location preferences for scheduling and availability management. +func (m *UserSettings) SetWorkHoursAndLocations(value WorkHoursAndLocationsSettingable)() { + err := m.GetBackingStore().Set("workHoursAndLocations", value) + if err != nil { + panic(err) + } +} type UserSettingsable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable @@ -267,10 +302,12 @@ type UserSettingsable interface { GetShiftPreferences()(ShiftPreferencesable) GetStorage()(UserStorageable) GetWindows()([]WindowsSettingable) + GetWorkHoursAndLocations()(WorkHoursAndLocationsSettingable) SetContributionToContentDiscoveryAsOrganizationDisabled(value *bool)() SetContributionToContentDiscoveryDisabled(value *bool)() SetItemInsights(value UserInsightsSettingsable)() SetShiftPreferences(value ShiftPreferencesable)() SetStorage(value UserStorageable)() SetWindows(value []WindowsSettingable)() + SetWorkHoursAndLocations(value WorkHoursAndLocationsSettingable)() } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_training_event_info.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_training_event_info.go index 0b20b0724f..8293dda485 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_training_event_info.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_training_event_info.go @@ -121,7 +121,7 @@ func (m *UserTrainingEventInfo) GetFieldDeserializers()(map[string]func(i878a80d } return res } -// GetLatestTrainingStatus gets the latestTrainingStatus property value. Latest status of the training assigned to the user. Possible values are: unknown, assigned, inProgress, completed, overdue, unknownFutureValue. +// GetLatestTrainingStatus gets the latestTrainingStatus property value. Latest status of the training assigned to the user. The possible values are: unknown, assigned, inProgress, completed, overdue, unknownFutureValue. // returns a *TrainingStatus when successful func (m *UserTrainingEventInfo) GetLatestTrainingStatus()(*TrainingStatus) { val, err := m.GetBackingStore().Get("latestTrainingStatus") @@ -246,7 +246,7 @@ func (m *UserTrainingEventInfo) SetDisplayName(value *string)() { panic(err) } } -// SetLatestTrainingStatus sets the latestTrainingStatus property value. Latest status of the training assigned to the user. Possible values are: unknown, assigned, inProgress, completed, overdue, unknownFutureValue. +// SetLatestTrainingStatus sets the latestTrainingStatus property value. Latest status of the training assigned to the user. The possible values are: unknown, assigned, inProgress, completed, overdue, unknownFutureValue. func (m *UserTrainingEventInfo) SetLatestTrainingStatus(value *TrainingStatus)() { err := m.GetBackingStore().Set("latestTrainingStatus", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_training_status_info.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_training_status_info.go index b5610941da..aa2b96494e 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_training_status_info.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_training_status_info.go @@ -148,7 +148,7 @@ func (m *UserTrainingStatusInfo) GetOdataType()(*string) { } return nil } -// GetTrainingStatus gets the trainingStatus property value. The status of the training assigned to the user. Possible values are: unknown, assigned, inProgress, completed, overdue, unknownFutureValue. +// GetTrainingStatus gets the trainingStatus property value. The status of the training assigned to the user. The possible values are: unknown, assigned, inProgress, completed, overdue, unknownFutureValue. // returns a *TrainingStatus when successful func (m *UserTrainingStatusInfo) GetTrainingStatus()(*TrainingStatus) { val, err := m.GetBackingStore().Get("trainingStatus") @@ -240,7 +240,7 @@ func (m *UserTrainingStatusInfo) SetOdataType(value *string)() { panic(err) } } -// SetTrainingStatus sets the trainingStatus property value. The status of the training assigned to the user. Possible values are: unknown, assigned, inProgress, completed, overdue, unknownFutureValue. +// SetTrainingStatus sets the trainingStatus property value. The status of the training assigned to the user. The possible values are: unknown, assigned, inProgress, completed, overdue, unknownFutureValue. func (m *UserTrainingStatusInfo) SetTrainingStatus(value *TrainingStatus)() { err := m.GetBackingStore().Set("trainingStatus", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_work_location.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_work_location.go new file mode 100644 index 0000000000..ad7b6ff821 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/user_work_location.go @@ -0,0 +1,229 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type UserWorkLocation struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewUserWorkLocation instantiates a new UserWorkLocation and sets the default values. +func NewUserWorkLocation()(*UserWorkLocation) { + m := &UserWorkLocation{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateUserWorkLocationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateUserWorkLocationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewUserWorkLocation(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *UserWorkLocation) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *UserWorkLocation) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *UserWorkLocation) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["placeId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPlaceId(val) + } + return nil + } + res["source"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseWorkLocationSource) + if err != nil { + return err + } + if val != nil { + m.SetSource(val.(*WorkLocationSource)) + } + return nil + } + res["workLocationType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseWorkLocationType) + if err != nil { + return err + } + if val != nil { + m.SetWorkLocationType(val.(*WorkLocationType)) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *UserWorkLocation) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPlaceId gets the placeId property value. Identifier of the place, if applicable. +// returns a *string when successful +func (m *UserWorkLocation) GetPlaceId()(*string) { + val, err := m.GetBackingStore().Get("placeId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSource gets the source property value. The source property +// returns a *WorkLocationSource when successful +func (m *UserWorkLocation) GetSource()(*WorkLocationSource) { + val, err := m.GetBackingStore().Get("source") + if err != nil { + panic(err) + } + if val != nil { + return val.(*WorkLocationSource) + } + return nil +} +// GetWorkLocationType gets the workLocationType property value. The workLocationType property +// returns a *WorkLocationType when successful +func (m *UserWorkLocation) GetWorkLocationType()(*WorkLocationType) { + val, err := m.GetBackingStore().Get("workLocationType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*WorkLocationType) + } + return nil +} +// Serialize serializes information the current object +func (m *UserWorkLocation) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("placeId", m.GetPlaceId()) + if err != nil { + return err + } + } + if m.GetSource() != nil { + cast := (*m.GetSource()).String() + err := writer.WriteStringValue("source", &cast) + if err != nil { + return err + } + } + if m.GetWorkLocationType() != nil { + cast := (*m.GetWorkLocationType()).String() + err := writer.WriteStringValue("workLocationType", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *UserWorkLocation) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *UserWorkLocation) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *UserWorkLocation) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetPlaceId sets the placeId property value. Identifier of the place, if applicable. +func (m *UserWorkLocation) SetPlaceId(value *string)() { + err := m.GetBackingStore().Set("placeId", value) + if err != nil { + panic(err) + } +} +// SetSource sets the source property value. The source property +func (m *UserWorkLocation) SetSource(value *WorkLocationSource)() { + err := m.GetBackingStore().Set("source", value) + if err != nil { + panic(err) + } +} +// SetWorkLocationType sets the workLocationType property value. The workLocationType property +func (m *UserWorkLocation) SetWorkLocationType(value *WorkLocationType)() { + err := m.GetBackingStore().Set("workLocationType", value) + if err != nil { + panic(err) + } +} +type UserWorkLocationable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetPlaceId()(*string) + GetSource()(*WorkLocationSource) + GetWorkLocationType()(*WorkLocationType) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetPlaceId(value *string)() + SetSource(value *WorkLocationSource)() + SetWorkLocationType(value *WorkLocationType)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/virtual_endpoint.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/virtual_endpoint.go index 45fb44bd7d..0a61d9a9c2 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/virtual_endpoint.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/virtual_endpoint.go @@ -158,6 +158,16 @@ func (m *VirtualEndpoint) GetFieldDeserializers()(map[string]func(i878a80d2330e8 } return nil } + res["report"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateCloudPcReportFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetReport(val.(CloudPcReportable)) + } + return nil + } res["userSettings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateCloudPcUserSettingFromDiscriminatorValue) if err != nil { @@ -212,6 +222,18 @@ func (m *VirtualEndpoint) GetProvisioningPolicies()([]CloudPcProvisioningPolicya } return nil } +// GetReport gets the report property value. Cloud PC-related reports. Read-only. +// returns a CloudPcReportable when successful +func (m *VirtualEndpoint) GetReport()(CloudPcReportable) { + val, err := m.GetBackingStore().Get("report") + if err != nil { + panic(err) + } + if val != nil { + return val.(CloudPcReportable) + } + return nil +} // GetUserSettings gets the userSettings property value. A collection of Cloud PC user settings. // returns a []CloudPcUserSettingable when successful func (m *VirtualEndpoint) GetUserSettings()([]CloudPcUserSettingable) { @@ -302,6 +324,12 @@ func (m *VirtualEndpoint) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0 return err } } + { + err = writer.WriteObjectValue("report", m.GetReport()) + if err != nil { + return err + } + } if m.GetUserSettings() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetUserSettings())) for i, v := range m.GetUserSettings() { @@ -358,6 +386,13 @@ func (m *VirtualEndpoint) SetProvisioningPolicies(value []CloudPcProvisioningPol panic(err) } } +// SetReport sets the report property value. Cloud PC-related reports. Read-only. +func (m *VirtualEndpoint) SetReport(value CloudPcReportable)() { + err := m.GetBackingStore().Set("report", value) + if err != nil { + panic(err) + } +} // SetUserSettings sets the userSettings property value. A collection of Cloud PC user settings. func (m *VirtualEndpoint) SetUserSettings(value []CloudPcUserSettingable)() { err := m.GetBackingStore().Set("userSettings", value) @@ -374,6 +409,7 @@ type VirtualEndpointable interface { GetGalleryImages()([]CloudPcGalleryImageable) GetOnPremisesConnections()([]CloudPcOnPremisesConnectionable) GetProvisioningPolicies()([]CloudPcProvisioningPolicyable) + GetReport()(CloudPcReportable) GetUserSettings()([]CloudPcUserSettingable) SetAuditEvents(value []CloudPcAuditEventable)() SetCloudPCs(value []CloudPCable)() @@ -381,5 +417,6 @@ type VirtualEndpointable interface { SetGalleryImages(value []CloudPcGalleryImageable)() SetOnPremisesConnections(value []CloudPcOnPremisesConnectionable)() SetProvisioningPolicies(value []CloudPcProvisioningPolicyable)() + SetReport(value CloudPcReportable)() SetUserSettings(value []CloudPcUserSettingable)() } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/virtual_event_townhall.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/virtual_event_townhall.go index c7ad9fedb4..9672f19d67 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/virtual_event_townhall.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/virtual_event_townhall.go @@ -24,7 +24,7 @@ func NewVirtualEventTownhall()(*VirtualEventTownhall) { func CreateVirtualEventTownhallFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewVirtualEventTownhall(), nil } -// GetAudience gets the audience property value. The audience to whom the town hall is visible. Possible values are: everyone, organization, and unknownFutureValue. +// GetAudience gets the audience property value. The audience to whom the town hall is visible. The possible values are: everyone, organization, and unknownFutureValue. // returns a *MeetingAudience when successful func (m *VirtualEventTownhall) GetAudience()(*MeetingAudience) { val, err := m.GetBackingStore().Get("audience") @@ -175,7 +175,7 @@ func (m *VirtualEventTownhall) Serialize(writer i878a80d2330e89d26896388a3f487ee } return nil } -// SetAudience sets the audience property value. The audience to whom the town hall is visible. Possible values are: everyone, organization, and unknownFutureValue. +// SetAudience sets the audience property value. The audience to whom the town hall is visible. The possible values are: everyone, organization, and unknownFutureValue. func (m *VirtualEventTownhall) SetAudience(value *MeetingAudience)() { err := m.GetBackingStore().Set("audience", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/virtual_event_webinar.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/virtual_event_webinar.go index 69d93fb1f2..d556c8e523 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/virtual_event_webinar.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/virtual_event_webinar.go @@ -24,7 +24,7 @@ func NewVirtualEventWebinar()(*VirtualEventWebinar) { func CreateVirtualEventWebinarFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewVirtualEventWebinar(), nil } -// GetAudience gets the audience property value. To whom the webinar is visible. Possible values are: everyone, organization, and unknownFutureValue. +// GetAudience gets the audience property value. To whom the webinar is visible. The possible values are: everyone, organization, and unknownFutureValue. // returns a *MeetingAudience when successful func (m *VirtualEventWebinar) GetAudience()(*MeetingAudience) { val, err := m.GetBackingStore().Get("audience") @@ -175,7 +175,7 @@ func (m *VirtualEventWebinar) Serialize(writer i878a80d2330e89d26896388a3f487eef } return nil } -// SetAudience sets the audience property value. To whom the webinar is visible. Possible values are: everyone, organization, and unknownFutureValue. +// SetAudience sets the audience property value. To whom the webinar is visible. The possible values are: everyone, organization, and unknownFutureValue. func (m *VirtualEventWebinar) SetAudience(value *MeetingAudience)() { err := m.GetBackingStore().Set("audience", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/vpp_token.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/vpp_token.go index db8e49b0f3..2f3e5bad84 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/vpp_token.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/vpp_token.go @@ -24,7 +24,7 @@ func NewVppToken()(*VppToken) { func CreateVppTokenFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewVppToken(), nil } -// GetAppleId gets the appleId property value. The Apple ID associated with the given Apple Volume Purchase Program Token. +// GetAppleId gets the appleId property value. The apple Id associated with the given Apple Volume Purchase Program Token. // returns a *string when successful func (m *VppToken) GetAppleId()(*string) { val, err := m.GetBackingStore().Get("appleId") @@ -48,7 +48,7 @@ func (m *VppToken) GetAutomaticallyUpdateApps()(*bool) { } return nil } -// GetCountryOrRegion gets the countryOrRegion property value. The country or region associated with the Apple Volume Purchase Program Token. +// GetCountryOrRegion gets the countryOrRegion property value. Whether or not apps for the VPP token will be automatically updated. // returns a *string when successful func (m *VppToken) GetCountryOrRegion()(*string) { val, err := m.GetBackingStore().Get("countryOrRegion") @@ -349,7 +349,7 @@ func (m *VppToken) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c01 } return nil } -// SetAppleId sets the appleId property value. The Apple ID associated with the given Apple Volume Purchase Program Token. +// SetAppleId sets the appleId property value. The apple Id associated with the given Apple Volume Purchase Program Token. func (m *VppToken) SetAppleId(value *string)() { err := m.GetBackingStore().Set("appleId", value) if err != nil { @@ -363,7 +363,7 @@ func (m *VppToken) SetAutomaticallyUpdateApps(value *bool)() { panic(err) } } -// SetCountryOrRegion sets the countryOrRegion property value. The country or region associated with the Apple Volume Purchase Program Token. +// SetCountryOrRegion sets the countryOrRegion property value. Whether or not apps for the VPP token will be automatically updated. func (m *VppToken) SetCountryOrRegion(value *string)() { err := m.GetBackingStore().Set("countryOrRegion", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_dns_configuration.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_dns_configuration.go new file mode 100644 index 0000000000..4faf723d9c --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_dns_configuration.go @@ -0,0 +1,302 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type WebApplicationFirewallDnsConfiguration struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewWebApplicationFirewallDnsConfiguration instantiates a new WebApplicationFirewallDnsConfiguration and sets the default values. +func NewWebApplicationFirewallDnsConfiguration()(*WebApplicationFirewallDnsConfiguration) { + m := &WebApplicationFirewallDnsConfiguration{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateWebApplicationFirewallDnsConfigurationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWebApplicationFirewallDnsConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWebApplicationFirewallDnsConfiguration(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *WebApplicationFirewallDnsConfiguration) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *WebApplicationFirewallDnsConfiguration) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *WebApplicationFirewallDnsConfiguration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["isDomainVerified"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsDomainVerified(val) + } + return nil + } + res["isProxied"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsProxied(val) + } + return nil + } + res["name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetName(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["recordType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseWebApplicationFirewallDnsRecordType) + if err != nil { + return err + } + if val != nil { + m.SetRecordType(val.(*WebApplicationFirewallDnsRecordType)) + } + return nil + } + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetValue(val) + } + return nil + } + return res +} +// GetIsDomainVerified gets the isDomainVerified property value. Indicates whether the domain owning this DNS record has been verified by the WAF provider. +// returns a *bool when successful +func (m *WebApplicationFirewallDnsConfiguration) GetIsDomainVerified()(*bool) { + val, err := m.GetBackingStore().Get("isDomainVerified") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIsProxied gets the isProxied property value. Indicates whether traffic for this DNS record is proxied through the WAF provider's network (for example, using a CDN or reverse proxy). +// returns a *bool when successful +func (m *WebApplicationFirewallDnsConfiguration) GetIsProxied()(*bool) { + val, err := m.GetBackingStore().Get("isProxied") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetName gets the name property value. The DNS record name (for example, www.contoso.com or contoso.com). This is the host or zone name to which the configuration applies. +// returns a *string when successful +func (m *WebApplicationFirewallDnsConfiguration) GetName()(*string) { + val, err := m.GetBackingStore().Get("name") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *WebApplicationFirewallDnsConfiguration) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetRecordType gets the recordType property value. The recordType property +// returns a *WebApplicationFirewallDnsRecordType when successful +func (m *WebApplicationFirewallDnsConfiguration) GetRecordType()(*WebApplicationFirewallDnsRecordType) { + val, err := m.GetBackingStore().Get("recordType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*WebApplicationFirewallDnsRecordType) + } + return nil +} +// GetValue gets the value property value. The value of the DNS record. +// returns a *string when successful +func (m *WebApplicationFirewallDnsConfiguration) GetValue()(*string) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *WebApplicationFirewallDnsConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteBoolValue("isDomainVerified", m.GetIsDomainVerified()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isProxied", m.GetIsProxied()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("name", m.GetName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + if m.GetRecordType() != nil { + cast := (*m.GetRecordType()).String() + err := writer.WriteStringValue("recordType", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("value", m.GetValue()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *WebApplicationFirewallDnsConfiguration) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *WebApplicationFirewallDnsConfiguration) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetIsDomainVerified sets the isDomainVerified property value. Indicates whether the domain owning this DNS record has been verified by the WAF provider. +func (m *WebApplicationFirewallDnsConfiguration) SetIsDomainVerified(value *bool)() { + err := m.GetBackingStore().Set("isDomainVerified", value) + if err != nil { + panic(err) + } +} +// SetIsProxied sets the isProxied property value. Indicates whether traffic for this DNS record is proxied through the WAF provider's network (for example, using a CDN or reverse proxy). +func (m *WebApplicationFirewallDnsConfiguration) SetIsProxied(value *bool)() { + err := m.GetBackingStore().Set("isProxied", value) + if err != nil { + panic(err) + } +} +// SetName sets the name property value. The DNS record name (for example, www.contoso.com or contoso.com). This is the host or zone name to which the configuration applies. +func (m *WebApplicationFirewallDnsConfiguration) SetName(value *string)() { + err := m.GetBackingStore().Set("name", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *WebApplicationFirewallDnsConfiguration) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetRecordType sets the recordType property value. The recordType property +func (m *WebApplicationFirewallDnsConfiguration) SetRecordType(value *WebApplicationFirewallDnsRecordType)() { + err := m.GetBackingStore().Set("recordType", value) + if err != nil { + panic(err) + } +} +// SetValue sets the value property value. The value of the DNS record. +func (m *WebApplicationFirewallDnsConfiguration) SetValue(value *string)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type WebApplicationFirewallDnsConfigurationable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetIsDomainVerified()(*bool) + GetIsProxied()(*bool) + GetName()(*string) + GetOdataType()(*string) + GetRecordType()(*WebApplicationFirewallDnsRecordType) + GetValue()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetIsDomainVerified(value *bool)() + SetIsProxied(value *bool)() + SetName(value *string)() + SetOdataType(value *string)() + SetRecordType(value *WebApplicationFirewallDnsRecordType)() + SetValue(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_dns_record_type.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_dns_record_type.go new file mode 100644 index 0000000000..d9457558a1 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_dns_record_type.go @@ -0,0 +1,36 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type WebApplicationFirewallDnsRecordType int + +const ( + CNAME_WEBAPPLICATIONFIREWALLDNSRECORDTYPE WebApplicationFirewallDnsRecordType = iota + UNKNOWNFUTUREVALUE_WEBAPPLICATIONFIREWALLDNSRECORDTYPE +) + +func (i WebApplicationFirewallDnsRecordType) String() string { + return []string{"cname", "unknownFutureValue"}[i] +} +func ParseWebApplicationFirewallDnsRecordType(v string) (any, error) { + result := CNAME_WEBAPPLICATIONFIREWALLDNSRECORDTYPE + switch v { + case "cname": + result = CNAME_WEBAPPLICATIONFIREWALLDNSRECORDTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_WEBAPPLICATIONFIREWALLDNSRECORDTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeWebApplicationFirewallDnsRecordType(values []WebApplicationFirewallDnsRecordType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i WebApplicationFirewallDnsRecordType) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_provider.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_provider.go new file mode 100644 index 0000000000..fd6bdd99fb --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_provider.go @@ -0,0 +1,99 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type WebApplicationFirewallProvider struct { + Entity +} +// NewWebApplicationFirewallProvider instantiates a new WebApplicationFirewallProvider and sets the default values. +func NewWebApplicationFirewallProvider()(*WebApplicationFirewallProvider) { + m := &WebApplicationFirewallProvider{ + Entity: *NewEntity(), + } + return m +} +// CreateWebApplicationFirewallProviderFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWebApplicationFirewallProviderFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.akamaiWebApplicationFirewallProvider": + return NewAkamaiWebApplicationFirewallProvider(), nil + case "#microsoft.graph.cloudFlareWebApplicationFirewallProvider": + return NewCloudFlareWebApplicationFirewallProvider(), nil + } + } + } + } + return NewWebApplicationFirewallProvider(), nil +} +// GetDisplayName gets the displayName property value. The display name of the WAF provider. +// returns a *string when successful +func (m *WebApplicationFirewallProvider) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *WebApplicationFirewallProvider) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *WebApplicationFirewallProvider) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + return nil +} +// SetDisplayName sets the displayName property value. The display name of the WAF provider. +func (m *WebApplicationFirewallProvider) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +type WebApplicationFirewallProviderable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetDisplayName()(*string) + SetDisplayName(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_provider_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_provider_collection_response.go new file mode 100644 index 0000000000..2f34a4c836 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_provider_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type WebApplicationFirewallProviderCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewWebApplicationFirewallProviderCollectionResponse instantiates a new WebApplicationFirewallProviderCollectionResponse and sets the default values. +func NewWebApplicationFirewallProviderCollectionResponse()(*WebApplicationFirewallProviderCollectionResponse) { + m := &WebApplicationFirewallProviderCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateWebApplicationFirewallProviderCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWebApplicationFirewallProviderCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWebApplicationFirewallProviderCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *WebApplicationFirewallProviderCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateWebApplicationFirewallProviderFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]WebApplicationFirewallProviderable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(WebApplicationFirewallProviderable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []WebApplicationFirewallProviderable when successful +func (m *WebApplicationFirewallProviderCollectionResponse) GetValue()([]WebApplicationFirewallProviderable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]WebApplicationFirewallProviderable) + } + return nil +} +// Serialize serializes information the current object +func (m *WebApplicationFirewallProviderCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *WebApplicationFirewallProviderCollectionResponse) SetValue(value []WebApplicationFirewallProviderable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type WebApplicationFirewallProviderCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]WebApplicationFirewallProviderable) + SetValue(value []WebApplicationFirewallProviderable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_provider_type.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_provider_type.go new file mode 100644 index 0000000000..97c590173e --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_provider_type.go @@ -0,0 +1,39 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type WebApplicationFirewallProviderType int + +const ( + AKAMAI_WEBAPPLICATIONFIREWALLPROVIDERTYPE WebApplicationFirewallProviderType = iota + CLOUDFLARE_WEBAPPLICATIONFIREWALLPROVIDERTYPE + UNKNOWNFUTUREVALUE_WEBAPPLICATIONFIREWALLPROVIDERTYPE +) + +func (i WebApplicationFirewallProviderType) String() string { + return []string{"akamai", "cloudflare", "unknownFutureValue"}[i] +} +func ParseWebApplicationFirewallProviderType(v string) (any, error) { + result := AKAMAI_WEBAPPLICATIONFIREWALLPROVIDERTYPE + switch v { + case "akamai": + result = AKAMAI_WEBAPPLICATIONFIREWALLPROVIDERTYPE + case "cloudflare": + result = CLOUDFLARE_WEBAPPLICATIONFIREWALLPROVIDERTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_WEBAPPLICATIONFIREWALLPROVIDERTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeWebApplicationFirewallProviderType(values []WebApplicationFirewallProviderType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i WebApplicationFirewallProviderType) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_verification_model.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_verification_model.go new file mode 100644 index 0000000000..53db932026 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_verification_model.go @@ -0,0 +1,228 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type WebApplicationFirewallVerificationModel struct { + Entity +} +// NewWebApplicationFirewallVerificationModel instantiates a new WebApplicationFirewallVerificationModel and sets the default values. +func NewWebApplicationFirewallVerificationModel()(*WebApplicationFirewallVerificationModel) { + m := &WebApplicationFirewallVerificationModel{ + Entity: *NewEntity(), + } + return m +} +// CreateWebApplicationFirewallVerificationModelFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWebApplicationFirewallVerificationModelFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWebApplicationFirewallVerificationModel(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *WebApplicationFirewallVerificationModel) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["provider"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateWebApplicationFirewallProviderFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetProvider(val.(WebApplicationFirewallProviderable)) + } + return nil + } + res["providerType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseWebApplicationFirewallProviderType) + if err != nil { + return err + } + if val != nil { + m.SetProviderType(val.(*WebApplicationFirewallProviderType)) + } + return nil + } + res["verificationResult"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateWebApplicationFirewallVerificationResultFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetVerificationResult(val.(WebApplicationFirewallVerificationResultable)) + } + return nil + } + res["verifiedDetails"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateWebApplicationFirewallVerifiedDetailsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetVerifiedDetails(val.(WebApplicationFirewallVerifiedDetailsable)) + } + return nil + } + res["verifiedHost"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetVerifiedHost(val) + } + return nil + } + return res +} +// GetProvider gets the provider property value. Reference to a provider resource associated with this verification model. Represents a WAF provider that can be used to verify or manage the host. +// returns a WebApplicationFirewallProviderable when successful +func (m *WebApplicationFirewallVerificationModel) GetProvider()(WebApplicationFirewallProviderable) { + val, err := m.GetBackingStore().Get("provider") + if err != nil { + panic(err) + } + if val != nil { + return val.(WebApplicationFirewallProviderable) + } + return nil +} +// GetProviderType gets the providerType property value. The providerType property +// returns a *WebApplicationFirewallProviderType when successful +func (m *WebApplicationFirewallVerificationModel) GetProviderType()(*WebApplicationFirewallProviderType) { + val, err := m.GetBackingStore().Get("providerType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*WebApplicationFirewallProviderType) + } + return nil +} +// GetVerificationResult gets the verificationResult property value. An object describing the outcome of the verification operation, including status, errors or warnings +// returns a WebApplicationFirewallVerificationResultable when successful +func (m *WebApplicationFirewallVerificationModel) GetVerificationResult()(WebApplicationFirewallVerificationResultable) { + val, err := m.GetBackingStore().Get("verificationResult") + if err != nil { + panic(err) + } + if val != nil { + return val.(WebApplicationFirewallVerificationResultable) + } + return nil +} +// GetVerifiedDetails gets the verifiedDetails property value. Details of DNS configuration +// returns a WebApplicationFirewallVerifiedDetailsable when successful +func (m *WebApplicationFirewallVerificationModel) GetVerifiedDetails()(WebApplicationFirewallVerifiedDetailsable) { + val, err := m.GetBackingStore().Get("verifiedDetails") + if err != nil { + panic(err) + } + if val != nil { + return val.(WebApplicationFirewallVerifiedDetailsable) + } + return nil +} +// GetVerifiedHost gets the verifiedHost property value. The host (domain or subdomain) that was verified as part of this verification operation. +// returns a *string when successful +func (m *WebApplicationFirewallVerificationModel) GetVerifiedHost()(*string) { + val, err := m.GetBackingStore().Get("verifiedHost") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *WebApplicationFirewallVerificationModel) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("provider", m.GetProvider()) + if err != nil { + return err + } + } + if m.GetProviderType() != nil { + cast := (*m.GetProviderType()).String() + err = writer.WriteStringValue("providerType", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("verificationResult", m.GetVerificationResult()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("verifiedDetails", m.GetVerifiedDetails()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("verifiedHost", m.GetVerifiedHost()) + if err != nil { + return err + } + } + return nil +} +// SetProvider sets the provider property value. Reference to a provider resource associated with this verification model. Represents a WAF provider that can be used to verify or manage the host. +func (m *WebApplicationFirewallVerificationModel) SetProvider(value WebApplicationFirewallProviderable)() { + err := m.GetBackingStore().Set("provider", value) + if err != nil { + panic(err) + } +} +// SetProviderType sets the providerType property value. The providerType property +func (m *WebApplicationFirewallVerificationModel) SetProviderType(value *WebApplicationFirewallProviderType)() { + err := m.GetBackingStore().Set("providerType", value) + if err != nil { + panic(err) + } +} +// SetVerificationResult sets the verificationResult property value. An object describing the outcome of the verification operation, including status, errors or warnings +func (m *WebApplicationFirewallVerificationModel) SetVerificationResult(value WebApplicationFirewallVerificationResultable)() { + err := m.GetBackingStore().Set("verificationResult", value) + if err != nil { + panic(err) + } +} +// SetVerifiedDetails sets the verifiedDetails property value. Details of DNS configuration +func (m *WebApplicationFirewallVerificationModel) SetVerifiedDetails(value WebApplicationFirewallVerifiedDetailsable)() { + err := m.GetBackingStore().Set("verifiedDetails", value) + if err != nil { + panic(err) + } +} +// SetVerifiedHost sets the verifiedHost property value. The host (domain or subdomain) that was verified as part of this verification operation. +func (m *WebApplicationFirewallVerificationModel) SetVerifiedHost(value *string)() { + err := m.GetBackingStore().Set("verifiedHost", value) + if err != nil { + panic(err) + } +} +type WebApplicationFirewallVerificationModelable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetProvider()(WebApplicationFirewallProviderable) + GetProviderType()(*WebApplicationFirewallProviderType) + GetVerificationResult()(WebApplicationFirewallVerificationResultable) + GetVerifiedDetails()(WebApplicationFirewallVerifiedDetailsable) + GetVerifiedHost()(*string) + SetProvider(value WebApplicationFirewallProviderable)() + SetProviderType(value *WebApplicationFirewallProviderType)() + SetVerificationResult(value WebApplicationFirewallVerificationResultable)() + SetVerifiedDetails(value WebApplicationFirewallVerifiedDetailsable)() + SetVerifiedHost(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_verification_model_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_verification_model_collection_response.go new file mode 100644 index 0000000000..5a9dca3d0f --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_verification_model_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type WebApplicationFirewallVerificationModelCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewWebApplicationFirewallVerificationModelCollectionResponse instantiates a new WebApplicationFirewallVerificationModelCollectionResponse and sets the default values. +func NewWebApplicationFirewallVerificationModelCollectionResponse()(*WebApplicationFirewallVerificationModelCollectionResponse) { + m := &WebApplicationFirewallVerificationModelCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateWebApplicationFirewallVerificationModelCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWebApplicationFirewallVerificationModelCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWebApplicationFirewallVerificationModelCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *WebApplicationFirewallVerificationModelCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateWebApplicationFirewallVerificationModelFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]WebApplicationFirewallVerificationModelable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(WebApplicationFirewallVerificationModelable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []WebApplicationFirewallVerificationModelable when successful +func (m *WebApplicationFirewallVerificationModelCollectionResponse) GetValue()([]WebApplicationFirewallVerificationModelable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]WebApplicationFirewallVerificationModelable) + } + return nil +} +// Serialize serializes information the current object +func (m *WebApplicationFirewallVerificationModelCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *WebApplicationFirewallVerificationModelCollectionResponse) SetValue(value []WebApplicationFirewallVerificationModelable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type WebApplicationFirewallVerificationModelCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]WebApplicationFirewallVerificationModelable) + SetValue(value []WebApplicationFirewallVerificationModelable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_verification_result.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_verification_result.go new file mode 100644 index 0000000000..50860972b3 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_verification_result.go @@ -0,0 +1,290 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type WebApplicationFirewallVerificationResult struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewWebApplicationFirewallVerificationResult instantiates a new WebApplicationFirewallVerificationResult and sets the default values. +func NewWebApplicationFirewallVerificationResult()(*WebApplicationFirewallVerificationResult) { + m := &WebApplicationFirewallVerificationResult{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateWebApplicationFirewallVerificationResultFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWebApplicationFirewallVerificationResultFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWebApplicationFirewallVerificationResult(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *WebApplicationFirewallVerificationResult) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *WebApplicationFirewallVerificationResult) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetErrors gets the errors property value. List of errors encountered during the verification process. +// returns a []GenericErrorable when successful +func (m *WebApplicationFirewallVerificationResult) GetErrors()([]GenericErrorable) { + val, err := m.GetBackingStore().Get("errors") + if err != nil { + panic(err) + } + if val != nil { + return val.([]GenericErrorable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *WebApplicationFirewallVerificationResult) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["errors"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateGenericErrorFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]GenericErrorable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(GenericErrorable) + } + } + m.SetErrors(res) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["status"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseWebApplicationFirewallVerificationStatus) + if err != nil { + return err + } + if val != nil { + m.SetStatus(val.(*WebApplicationFirewallVerificationStatus)) + } + return nil + } + res["verifiedOnDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetVerifiedOnDateTime(val) + } + return nil + } + res["warnings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateGenericErrorFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]GenericErrorable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(GenericErrorable) + } + } + m.SetWarnings(res) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *WebApplicationFirewallVerificationResult) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetStatus gets the status property value. The status property +// returns a *WebApplicationFirewallVerificationStatus when successful +func (m *WebApplicationFirewallVerificationResult) GetStatus()(*WebApplicationFirewallVerificationStatus) { + val, err := m.GetBackingStore().Get("status") + if err != nil { + panic(err) + } + if val != nil { + return val.(*WebApplicationFirewallVerificationStatus) + } + return nil +} +// GetVerifiedOnDateTime gets the verifiedOnDateTime property value. UTC timestamp when the verification was performed or last updated. This indicates when the verification result was produced. +// returns a *Time when successful +func (m *WebApplicationFirewallVerificationResult) GetVerifiedOnDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("verifiedOnDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetWarnings gets the warnings property value. List of warnings produced during verification. +// returns a []GenericErrorable when successful +func (m *WebApplicationFirewallVerificationResult) GetWarnings()([]GenericErrorable) { + val, err := m.GetBackingStore().Get("warnings") + if err != nil { + panic(err) + } + if val != nil { + return val.([]GenericErrorable) + } + return nil +} +// Serialize serializes information the current object +func (m *WebApplicationFirewallVerificationResult) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetErrors() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetErrors())) + for i, v := range m.GetErrors() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("errors", cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + if m.GetStatus() != nil { + cast := (*m.GetStatus()).String() + err := writer.WriteStringValue("status", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteTimeValue("verifiedOnDateTime", m.GetVerifiedOnDateTime()) + if err != nil { + return err + } + } + if m.GetWarnings() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetWarnings())) + for i, v := range m.GetWarnings() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("warnings", cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *WebApplicationFirewallVerificationResult) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *WebApplicationFirewallVerificationResult) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetErrors sets the errors property value. List of errors encountered during the verification process. +func (m *WebApplicationFirewallVerificationResult) SetErrors(value []GenericErrorable)() { + err := m.GetBackingStore().Set("errors", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *WebApplicationFirewallVerificationResult) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetStatus sets the status property value. The status property +func (m *WebApplicationFirewallVerificationResult) SetStatus(value *WebApplicationFirewallVerificationStatus)() { + err := m.GetBackingStore().Set("status", value) + if err != nil { + panic(err) + } +} +// SetVerifiedOnDateTime sets the verifiedOnDateTime property value. UTC timestamp when the verification was performed or last updated. This indicates when the verification result was produced. +func (m *WebApplicationFirewallVerificationResult) SetVerifiedOnDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("verifiedOnDateTime", value) + if err != nil { + panic(err) + } +} +// SetWarnings sets the warnings property value. List of warnings produced during verification. +func (m *WebApplicationFirewallVerificationResult) SetWarnings(value []GenericErrorable)() { + err := m.GetBackingStore().Set("warnings", value) + if err != nil { + panic(err) + } +} +type WebApplicationFirewallVerificationResultable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetErrors()([]GenericErrorable) + GetOdataType()(*string) + GetStatus()(*WebApplicationFirewallVerificationStatus) + GetVerifiedOnDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetWarnings()([]GenericErrorable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetErrors(value []GenericErrorable)() + SetOdataType(value *string)() + SetStatus(value *WebApplicationFirewallVerificationStatus)() + SetVerifiedOnDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetWarnings(value []GenericErrorable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_verification_status.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_verification_status.go new file mode 100644 index 0000000000..678c961672 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_verification_status.go @@ -0,0 +1,42 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type WebApplicationFirewallVerificationStatus int + +const ( + SUCCESS_WEBAPPLICATIONFIREWALLVERIFICATIONSTATUS WebApplicationFirewallVerificationStatus = iota + WARNING_WEBAPPLICATIONFIREWALLVERIFICATIONSTATUS + FAILURE_WEBAPPLICATIONFIREWALLVERIFICATIONSTATUS + UNKNOWNFUTUREVALUE_WEBAPPLICATIONFIREWALLVERIFICATIONSTATUS +) + +func (i WebApplicationFirewallVerificationStatus) String() string { + return []string{"success", "warning", "failure", "unknownFutureValue"}[i] +} +func ParseWebApplicationFirewallVerificationStatus(v string) (any, error) { + result := SUCCESS_WEBAPPLICATIONFIREWALLVERIFICATIONSTATUS + switch v { + case "success": + result = SUCCESS_WEBAPPLICATIONFIREWALLVERIFICATIONSTATUS + case "warning": + result = WARNING_WEBAPPLICATIONFIREWALLVERIFICATIONSTATUS + case "failure": + result = FAILURE_WEBAPPLICATIONFIREWALLVERIFICATIONSTATUS + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_WEBAPPLICATIONFIREWALLVERIFICATIONSTATUS + default: + return nil, nil + } + return &result, nil +} +func SerializeWebApplicationFirewallVerificationStatus(values []WebApplicationFirewallVerificationStatus) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i WebApplicationFirewallVerificationStatus) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_verified_details.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_verified_details.go new file mode 100644 index 0000000000..3620185b8a --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/web_application_firewall_verified_details.go @@ -0,0 +1,173 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type WebApplicationFirewallVerifiedDetails struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewWebApplicationFirewallVerifiedDetails instantiates a new WebApplicationFirewallVerifiedDetails and sets the default values. +func NewWebApplicationFirewallVerifiedDetails()(*WebApplicationFirewallVerifiedDetails) { + m := &WebApplicationFirewallVerifiedDetails{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateWebApplicationFirewallVerifiedDetailsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWebApplicationFirewallVerifiedDetailsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.akamaiVerifiedDetailsModel": + return NewAkamaiVerifiedDetailsModel(), nil + case "#microsoft.graph.cloudFlareVerifiedDetailsModel": + return NewCloudFlareVerifiedDetailsModel(), nil + } + } + } + } + return NewWebApplicationFirewallVerifiedDetails(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *WebApplicationFirewallVerifiedDetails) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *WebApplicationFirewallVerifiedDetails) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetDnsConfiguration gets the dnsConfiguration property value. DNS-related details discovered during verification for the host, such as the DNS record name, record type, record value, whether the record is proxied through the provider, and whether the domain is verified. +// returns a WebApplicationFirewallDnsConfigurationable when successful +func (m *WebApplicationFirewallVerifiedDetails) GetDnsConfiguration()(WebApplicationFirewallDnsConfigurationable) { + val, err := m.GetBackingStore().Get("dnsConfiguration") + if err != nil { + panic(err) + } + if val != nil { + return val.(WebApplicationFirewallDnsConfigurationable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *WebApplicationFirewallVerifiedDetails) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["dnsConfiguration"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateWebApplicationFirewallDnsConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetDnsConfiguration(val.(WebApplicationFirewallDnsConfigurationable)) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *WebApplicationFirewallVerifiedDetails) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *WebApplicationFirewallVerifiedDetails) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("dnsConfiguration", m.GetDnsConfiguration()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *WebApplicationFirewallVerifiedDetails) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *WebApplicationFirewallVerifiedDetails) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetDnsConfiguration sets the dnsConfiguration property value. DNS-related details discovered during verification for the host, such as the DNS record name, record type, record value, whether the record is proxied through the provider, and whether the domain is verified. +func (m *WebApplicationFirewallVerifiedDetails) SetDnsConfiguration(value WebApplicationFirewallDnsConfigurationable)() { + err := m.GetBackingStore().Set("dnsConfiguration", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *WebApplicationFirewallVerifiedDetails) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type WebApplicationFirewallVerifiedDetailsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDnsConfiguration()(WebApplicationFirewallDnsConfigurationable) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDnsConfiguration(value WebApplicationFirewallDnsConfigurationable)() + SetOdataType(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/win32_lob_app.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/win32_lob_app.go index 743a92ae07..5aba3ea748 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/win32_lob_app.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/win32_lob_app.go @@ -25,7 +25,7 @@ func NewWin32LobApp()(*Win32LobApp) { func CreateWin32LobAppFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewWin32LobApp(), nil } -// GetAllowedArchitectures gets the allowedArchitectures property value. Indicates the Windows architecture(s) this app should be installed on. The app will be treated as not applicable for devices with architectures not matching the selected value. When a non-null value is provided for the `allowedArchitectures` property, the value of the `applicableArchitectures` property is set to `none`. Possible values are: `null`, `x86`, `x64`, `arm64`. +// GetAllowedArchitectures gets the allowedArchitectures property value. Indicates the Windows architecture(s) this app should be installed on. The app will be treated as not applicable for devices with architectures not matching the selected value. When a non-null value is provided for the allowedArchitectures property, the value of the applicableArchitectures property is set to none. The possible values are: null, x86, x64, arm64. The possible values are: none, x86, x64, arm, neutral. // returns a *WindowsArchitecture when successful func (m *Win32LobApp) GetAllowedArchitectures()(*WindowsArchitecture) { val, err := m.GetBackingStore().Get("allowedArchitectures") @@ -207,7 +207,7 @@ func (m *Win32LobApp) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26 } return res } -// GetInstallCommandLine gets the installCommandLine property value. The command line to install this app +// GetInstallCommandLine gets the installCommandLine property value. Indicates the command line to install this app. Used to install the Win32 app. Example: msiexec /i 'Orca.Msi' /qn. // returns a *string when successful func (m *Win32LobApp) GetInstallCommandLine()(*string) { val, err := m.GetBackingStore().Get("installCommandLine") @@ -219,7 +219,7 @@ func (m *Win32LobApp) GetInstallCommandLine()(*string) { } return nil } -// GetInstallExperience gets the installExperience property value. The install experience for this app. +// GetInstallExperience gets the installExperience property value. Indicates the install experience for this app. // returns a Win32LobAppInstallExperienceable when successful func (m *Win32LobApp) GetInstallExperience()(Win32LobAppInstallExperienceable) { val, err := m.GetBackingStore().Get("installExperience") @@ -231,7 +231,7 @@ func (m *Win32LobApp) GetInstallExperience()(Win32LobAppInstallExperienceable) { } return nil } -// GetMinimumCpuSpeedInMHz gets the minimumCpuSpeedInMHz property value. The value for the minimum CPU speed which is required to install this app. +// GetMinimumCpuSpeedInMHz gets the minimumCpuSpeedInMHz property value. Indicates the value for the minimum CPU speed which is required to install this app. Allowed range from 0 to clock speed from WMI helper. // returns a *int32 when successful func (m *Win32LobApp) GetMinimumCpuSpeedInMHz()(*int32) { val, err := m.GetBackingStore().Get("minimumCpuSpeedInMHz") @@ -243,7 +243,7 @@ func (m *Win32LobApp) GetMinimumCpuSpeedInMHz()(*int32) { } return nil } -// GetMinimumFreeDiskSpaceInMB gets the minimumFreeDiskSpaceInMB property value. The value for the minimum free disk space which is required to install this app. +// GetMinimumFreeDiskSpaceInMB gets the minimumFreeDiskSpaceInMB property value. Indicates the value for the minimum free disk space which is required to install this app. Allowed range from 0 to driver's maximum available free space. // returns a *int32 when successful func (m *Win32LobApp) GetMinimumFreeDiskSpaceInMB()(*int32) { val, err := m.GetBackingStore().Get("minimumFreeDiskSpaceInMB") @@ -255,7 +255,7 @@ func (m *Win32LobApp) GetMinimumFreeDiskSpaceInMB()(*int32) { } return nil } -// GetMinimumMemoryInMB gets the minimumMemoryInMB property value. The value for the minimum physical memory which is required to install this app. +// GetMinimumMemoryInMB gets the minimumMemoryInMB property value. Indicates the value for the minimum physical memory which is required to install this app. Allowed range from 0 to total physical memory from WMI helper. // returns a *int32 when successful func (m *Win32LobApp) GetMinimumMemoryInMB()(*int32) { val, err := m.GetBackingStore().Get("minimumMemoryInMB") @@ -267,7 +267,7 @@ func (m *Win32LobApp) GetMinimumMemoryInMB()(*int32) { } return nil } -// GetMinimumNumberOfProcessors gets the minimumNumberOfProcessors property value. The value for the minimum number of processors which is required to install this app. +// GetMinimumNumberOfProcessors gets the minimumNumberOfProcessors property value. Indicates the value for the minimum number of processors which is required to install this app. Minimum value is 0. // returns a *int32 when successful func (m *Win32LobApp) GetMinimumNumberOfProcessors()(*int32) { val, err := m.GetBackingStore().Get("minimumNumberOfProcessors") @@ -279,7 +279,7 @@ func (m *Win32LobApp) GetMinimumNumberOfProcessors()(*int32) { } return nil } -// GetMinimumSupportedWindowsRelease gets the minimumSupportedWindowsRelease property value. The value for the minimum supported windows release. +// GetMinimumSupportedWindowsRelease gets the minimumSupportedWindowsRelease property value. Indicates the value for the minimum supported windows release. Example: Windows11_23H2. // returns a *string when successful func (m *Win32LobApp) GetMinimumSupportedWindowsRelease()(*string) { val, err := m.GetBackingStore().Get("minimumSupportedWindowsRelease") @@ -291,7 +291,7 @@ func (m *Win32LobApp) GetMinimumSupportedWindowsRelease()(*string) { } return nil } -// GetMsiInformation gets the msiInformation property value. The MSI details if this Win32 app is an MSI app. +// GetMsiInformation gets the msiInformation property value. Indicates the MSI details if this Win32 app is an MSI app. // returns a Win32LobAppMsiInformationable when successful func (m *Win32LobApp) GetMsiInformation()(Win32LobAppMsiInformationable) { val, err := m.GetBackingStore().Get("msiInformation") @@ -303,7 +303,7 @@ func (m *Win32LobApp) GetMsiInformation()(Win32LobAppMsiInformationable) { } return nil } -// GetReturnCodes gets the returnCodes property value. The return codes for post installation behavior. +// GetReturnCodes gets the returnCodes property value. Indicates the return codes for post installation behavior. // returns a []Win32LobAppReturnCodeable when successful func (m *Win32LobApp) GetReturnCodes()([]Win32LobAppReturnCodeable) { val, err := m.GetBackingStore().Get("returnCodes") @@ -315,7 +315,7 @@ func (m *Win32LobApp) GetReturnCodes()([]Win32LobAppReturnCodeable) { } return nil } -// GetRules gets the rules property value. The detection and requirement rules for this app. +// GetRules gets the rules property value. Indicates the detection and requirement rules for this app. The possible values are: Win32LobAppFileSystemRule, Win32LobAppPowerShellScriptRule, Win32LobAppProductCodeRule, Win32LobAppRegistryRule. // returns a []Win32LobAppRuleable when successful func (m *Win32LobApp) GetRules()([]Win32LobAppRuleable) { val, err := m.GetBackingStore().Get("rules") @@ -327,7 +327,7 @@ func (m *Win32LobApp) GetRules()([]Win32LobAppRuleable) { } return nil } -// GetSetupFilePath gets the setupFilePath property value. The relative path of the setup file in the encrypted Win32LobApp package. +// GetSetupFilePath gets the setupFilePath property value. Indicates the relative path of the setup file in the encrypted Win32LobApp package. Example: Intel-SA-00075 Detection and Mitigation Tool.msi. // returns a *string when successful func (m *Win32LobApp) GetSetupFilePath()(*string) { val, err := m.GetBackingStore().Get("setupFilePath") @@ -339,7 +339,7 @@ func (m *Win32LobApp) GetSetupFilePath()(*string) { } return nil } -// GetUninstallCommandLine gets the uninstallCommandLine property value. The command line to uninstall this app +// GetUninstallCommandLine gets the uninstallCommandLine property value. Indicates the command line to uninstall this app. Used to uninstall the app. Example: msiexec /x '{85F4CBCB-9BBC-4B50-A7D8-E1106771498D}' /qn. // returns a *string when successful func (m *Win32LobApp) GetUninstallCommandLine()(*string) { val, err := m.GetBackingStore().Get("uninstallCommandLine") @@ -457,7 +457,7 @@ func (m *Win32LobApp) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6 } return nil } -// SetAllowedArchitectures sets the allowedArchitectures property value. Indicates the Windows architecture(s) this app should be installed on. The app will be treated as not applicable for devices with architectures not matching the selected value. When a non-null value is provided for the `allowedArchitectures` property, the value of the `applicableArchitectures` property is set to `none`. Possible values are: `null`, `x86`, `x64`, `arm64`. +// SetAllowedArchitectures sets the allowedArchitectures property value. Indicates the Windows architecture(s) this app should be installed on. The app will be treated as not applicable for devices with architectures not matching the selected value. When a non-null value is provided for the allowedArchitectures property, the value of the applicableArchitectures property is set to none. The possible values are: null, x86, x64, arm64. The possible values are: none, x86, x64, arm, neutral. func (m *Win32LobApp) SetAllowedArchitectures(value *WindowsArchitecture)() { err := m.GetBackingStore().Set("allowedArchitectures", value) if err != nil { @@ -471,84 +471,84 @@ func (m *Win32LobApp) SetApplicableArchitectures(value *WindowsArchitecture)() { panic(err) } } -// SetInstallCommandLine sets the installCommandLine property value. The command line to install this app +// SetInstallCommandLine sets the installCommandLine property value. Indicates the command line to install this app. Used to install the Win32 app. Example: msiexec /i 'Orca.Msi' /qn. func (m *Win32LobApp) SetInstallCommandLine(value *string)() { err := m.GetBackingStore().Set("installCommandLine", value) if err != nil { panic(err) } } -// SetInstallExperience sets the installExperience property value. The install experience for this app. +// SetInstallExperience sets the installExperience property value. Indicates the install experience for this app. func (m *Win32LobApp) SetInstallExperience(value Win32LobAppInstallExperienceable)() { err := m.GetBackingStore().Set("installExperience", value) if err != nil { panic(err) } } -// SetMinimumCpuSpeedInMHz sets the minimumCpuSpeedInMHz property value. The value for the minimum CPU speed which is required to install this app. +// SetMinimumCpuSpeedInMHz sets the minimumCpuSpeedInMHz property value. Indicates the value for the minimum CPU speed which is required to install this app. Allowed range from 0 to clock speed from WMI helper. func (m *Win32LobApp) SetMinimumCpuSpeedInMHz(value *int32)() { err := m.GetBackingStore().Set("minimumCpuSpeedInMHz", value) if err != nil { panic(err) } } -// SetMinimumFreeDiskSpaceInMB sets the minimumFreeDiskSpaceInMB property value. The value for the minimum free disk space which is required to install this app. +// SetMinimumFreeDiskSpaceInMB sets the minimumFreeDiskSpaceInMB property value. Indicates the value for the minimum free disk space which is required to install this app. Allowed range from 0 to driver's maximum available free space. func (m *Win32LobApp) SetMinimumFreeDiskSpaceInMB(value *int32)() { err := m.GetBackingStore().Set("minimumFreeDiskSpaceInMB", value) if err != nil { panic(err) } } -// SetMinimumMemoryInMB sets the minimumMemoryInMB property value. The value for the minimum physical memory which is required to install this app. +// SetMinimumMemoryInMB sets the minimumMemoryInMB property value. Indicates the value for the minimum physical memory which is required to install this app. Allowed range from 0 to total physical memory from WMI helper. func (m *Win32LobApp) SetMinimumMemoryInMB(value *int32)() { err := m.GetBackingStore().Set("minimumMemoryInMB", value) if err != nil { panic(err) } } -// SetMinimumNumberOfProcessors sets the minimumNumberOfProcessors property value. The value for the minimum number of processors which is required to install this app. +// SetMinimumNumberOfProcessors sets the minimumNumberOfProcessors property value. Indicates the value for the minimum number of processors which is required to install this app. Minimum value is 0. func (m *Win32LobApp) SetMinimumNumberOfProcessors(value *int32)() { err := m.GetBackingStore().Set("minimumNumberOfProcessors", value) if err != nil { panic(err) } } -// SetMinimumSupportedWindowsRelease sets the minimumSupportedWindowsRelease property value. The value for the minimum supported windows release. +// SetMinimumSupportedWindowsRelease sets the minimumSupportedWindowsRelease property value. Indicates the value for the minimum supported windows release. Example: Windows11_23H2. func (m *Win32LobApp) SetMinimumSupportedWindowsRelease(value *string)() { err := m.GetBackingStore().Set("minimumSupportedWindowsRelease", value) if err != nil { panic(err) } } -// SetMsiInformation sets the msiInformation property value. The MSI details if this Win32 app is an MSI app. +// SetMsiInformation sets the msiInformation property value. Indicates the MSI details if this Win32 app is an MSI app. func (m *Win32LobApp) SetMsiInformation(value Win32LobAppMsiInformationable)() { err := m.GetBackingStore().Set("msiInformation", value) if err != nil { panic(err) } } -// SetReturnCodes sets the returnCodes property value. The return codes for post installation behavior. +// SetReturnCodes sets the returnCodes property value. Indicates the return codes for post installation behavior. func (m *Win32LobApp) SetReturnCodes(value []Win32LobAppReturnCodeable)() { err := m.GetBackingStore().Set("returnCodes", value) if err != nil { panic(err) } } -// SetRules sets the rules property value. The detection and requirement rules for this app. +// SetRules sets the rules property value. Indicates the detection and requirement rules for this app. The possible values are: Win32LobAppFileSystemRule, Win32LobAppPowerShellScriptRule, Win32LobAppProductCodeRule, Win32LobAppRegistryRule. func (m *Win32LobApp) SetRules(value []Win32LobAppRuleable)() { err := m.GetBackingStore().Set("rules", value) if err != nil { panic(err) } } -// SetSetupFilePath sets the setupFilePath property value. The relative path of the setup file in the encrypted Win32LobApp package. +// SetSetupFilePath sets the setupFilePath property value. Indicates the relative path of the setup file in the encrypted Win32LobApp package. Example: Intel-SA-00075 Detection and Mitigation Tool.msi. func (m *Win32LobApp) SetSetupFilePath(value *string)() { err := m.GetBackingStore().Set("setupFilePath", value) if err != nil { panic(err) } } -// SetUninstallCommandLine sets the uninstallCommandLine property value. The command line to uninstall this app +// SetUninstallCommandLine sets the uninstallCommandLine property value. Indicates the command line to uninstall this app. Used to uninstall the app. Example: msiexec /x '{85F4CBCB-9BBC-4B50-A7D8-E1106771498D}' /qn. func (m *Win32LobApp) SetUninstallCommandLine(value *string)() { err := m.GetBackingStore().Set("uninstallCommandLine", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/win32_lob_app_power_shell_script_rule.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/win32_lob_app_power_shell_script_rule.go index f6b65f9be4..02886c031b 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/win32_lob_app_power_shell_script_rule.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/win32_lob_app_power_shell_script_rule.go @@ -183,7 +183,7 @@ func (m *Win32LobAppPowerShellScriptRule) GetRunAs32Bit()(*bool) { } return nil } -// GetRunAsAccount gets the runAsAccount property value. The execution context of the script. Do not specify this value if the rule is used for detection. Script detection rules will run in the same context as the associated app install context. Possible values are: system, user. +// GetRunAsAccount gets the runAsAccount property value. The execution context of the script. Do not specify this value if the rule is used for detection. Script detection rules will run in the same context as the associated app install context. The possible values are: system, user. // returns a *RunAsAccountType when successful func (m *Win32LobAppPowerShellScriptRule) GetRunAsAccount()(*RunAsAccountType) { val, err := m.GetBackingStore().Get("runAsAccount") @@ -308,7 +308,7 @@ func (m *Win32LobAppPowerShellScriptRule) SetRunAs32Bit(value *bool)() { panic(err) } } -// SetRunAsAccount sets the runAsAccount property value. The execution context of the script. Do not specify this value if the rule is used for detection. Script detection rules will run in the same context as the associated app install context. Possible values are: system, user. +// SetRunAsAccount sets the runAsAccount property value. The execution context of the script. Do not specify this value if the rule is used for detection. Script detection rules will run in the same context as the associated app install context. The possible values are: system, user. func (m *Win32LobAppPowerShellScriptRule) SetRunAsAccount(value *RunAsAccountType)() { err := m.GetBackingStore().Set("runAsAccount", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows365_switch_compatibility_failure_reason_type.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows365_switch_compatibility_failure_reason_type.go new file mode 100644 index 0000000000..60769ab7f7 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows365_switch_compatibility_failure_reason_type.go @@ -0,0 +1,39 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type Windows365SwitchCompatibilityFailureReasonType int + +const ( + OSVERSIONNOTSUPPORTED_WINDOWS365SWITCHCOMPATIBILITYFAILUREREASONTYPE Windows365SwitchCompatibilityFailureReasonType = iota + HARDWARENOTSUPPORTED_WINDOWS365SWITCHCOMPATIBILITYFAILUREREASONTYPE + UNKNOWNFUTUREVALUE_WINDOWS365SWITCHCOMPATIBILITYFAILUREREASONTYPE +) + +func (i Windows365SwitchCompatibilityFailureReasonType) String() string { + return []string{"osVersionNotSupported", "hardwareNotSupported", "unknownFutureValue"}[i] +} +func ParseWindows365SwitchCompatibilityFailureReasonType(v string) (any, error) { + result := OSVERSIONNOTSUPPORTED_WINDOWS365SWITCHCOMPATIBILITYFAILUREREASONTYPE + switch v { + case "osVersionNotSupported": + result = OSVERSIONNOTSUPPORTED_WINDOWS365SWITCHCOMPATIBILITYFAILUREREASONTYPE + case "hardwareNotSupported": + result = HARDWARENOTSUPPORTED_WINDOWS365SWITCHCOMPATIBILITYFAILUREREASONTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_WINDOWS365SWITCHCOMPATIBILITYFAILUREREASONTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeWindows365SwitchCompatibilityFailureReasonType(values []Windows365SwitchCompatibilityFailureReasonType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i Windows365SwitchCompatibilityFailureReasonType) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_device_a_d_account.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_device_a_d_account.go index 0a4cd7693c..be3b393f88 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_device_a_d_account.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_device_a_d_account.go @@ -24,7 +24,7 @@ func NewWindowsDeviceADAccount()(*WindowsDeviceADAccount) { func CreateWindowsDeviceADAccountFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewWindowsDeviceADAccount(), nil } -// GetDomainName gets the domainName property value. Not yet documented +// GetDomainName gets the domainName property value. The domainName property // returns a *string when successful func (m *WindowsDeviceADAccount) GetDomainName()(*string) { val, err := m.GetBackingStore().Get("domainName") @@ -62,7 +62,7 @@ func (m *WindowsDeviceADAccount) GetFieldDeserializers()(map[string]func(i878a80 } return res } -// GetUserName gets the userName property value. Not yet documented +// GetUserName gets the userName property value. The userName property // returns a *string when successful func (m *WindowsDeviceADAccount) GetUserName()(*string) { val, err := m.GetBackingStore().Get("userName") @@ -94,14 +94,14 @@ func (m *WindowsDeviceADAccount) Serialize(writer i878a80d2330e89d26896388a3f487 } return nil } -// SetDomainName sets the domainName property value. Not yet documented +// SetDomainName sets the domainName property value. The domainName property func (m *WindowsDeviceADAccount) SetDomainName(value *string)() { err := m.GetBackingStore().Set("domainName", value) if err != nil { panic(err) } } -// SetUserName sets the userName property value. Not yet documented +// SetUserName sets the userName property value. The userName property func (m *WindowsDeviceADAccount) SetUserName(value *string)() { err := m.GetBackingStore().Set("userName", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_device_account.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_device_account.go index 36699bc405..a93509abde 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_device_account.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_device_account.go @@ -101,7 +101,7 @@ func (m *WindowsDeviceAccount) GetOdataType()(*string) { } return nil } -// GetPassword gets the password property value. Not yet documented +// GetPassword gets the password property value. The password property // returns a *string when successful func (m *WindowsDeviceAccount) GetPassword()(*string) { val, err := m.GetBackingStore().Get("password") @@ -153,7 +153,7 @@ func (m *WindowsDeviceAccount) SetOdataType(value *string)() { panic(err) } } -// SetPassword sets the password property value. Not yet documented +// SetPassword sets the password property value. The password property func (m *WindowsDeviceAccount) SetPassword(value *string)() { err := m.GetBackingStore().Set("password", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_device_azure_a_d_account.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_device_azure_a_d_account.go index 3aa34b7bb6..5208f2d634 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_device_azure_a_d_account.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_device_azure_a_d_account.go @@ -40,7 +40,7 @@ func (m *WindowsDeviceAzureADAccount) GetFieldDeserializers()(map[string]func(i8 } return res } -// GetUserPrincipalName gets the userPrincipalName property value. Not yet documented +// GetUserPrincipalName gets the userPrincipalName property value. The userPrincipalName property // returns a *string when successful func (m *WindowsDeviceAzureADAccount) GetUserPrincipalName()(*string) { val, err := m.GetBackingStore().Get("userPrincipalName") @@ -66,7 +66,7 @@ func (m *WindowsDeviceAzureADAccount) Serialize(writer i878a80d2330e89d26896388a } return nil } -// SetUserPrincipalName sets the userPrincipalName property value. Not yet documented +// SetUserPrincipalName sets the userPrincipalName property value. The userPrincipalName property func (m *WindowsDeviceAzureADAccount) SetUserPrincipalName(value *string)() { err := m.GetBackingStore().Set("userPrincipalName", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_device_malware_state.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_device_malware_state.go index 6a2b9b56bb..31307ebabd 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_device_malware_state.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_device_malware_state.go @@ -36,7 +36,7 @@ func (m *WindowsDeviceMalwareState) GetAdditionalInformationUrl()(*string) { } return nil } -// GetCategory gets the category property value. Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. +// GetCategory gets the category property value. Category of the malware. The possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. // returns a *WindowsMalwareCategory when successful func (m *WindowsDeviceMalwareState) GetCategory()(*WindowsMalwareCategory) { val, err := m.GetBackingStore().Get("category") @@ -72,7 +72,7 @@ func (m *WindowsDeviceMalwareState) GetDisplayName()(*string) { } return nil } -// GetExecutionState gets the executionState property value. Execution status of the malware like blocked/executing etc. Possible values are: unknown, blocked, allowed, running, notRunning. +// GetExecutionState gets the executionState property value. Execution status of the malware like blocked/executing etc. The possible values are: unknown, blocked, allowed, running, notRunning. // returns a *WindowsMalwareExecutionState when successful func (m *WindowsDeviceMalwareState) GetExecutionState()(*WindowsMalwareExecutionState) { val, err := m.GetBackingStore().Get("executionState") @@ -214,7 +214,7 @@ func (m *WindowsDeviceMalwareState) GetLastStateChangeDateTime()(*i336074805fc85 } return nil } -// GetSeverity gets the severity property value. Severity of the malware. Possible values are: unknown, low, moderate, high, severe. +// GetSeverity gets the severity property value. Severity of the malware. The possible values are: unknown, low, moderate, high, severe. // returns a *WindowsMalwareSeverity when successful func (m *WindowsDeviceMalwareState) GetSeverity()(*WindowsMalwareSeverity) { val, err := m.GetBackingStore().Get("severity") @@ -226,7 +226,7 @@ func (m *WindowsDeviceMalwareState) GetSeverity()(*WindowsMalwareSeverity) { } return nil } -// GetState gets the state property value. Current status of the malware like cleaned/quarantined/allowed etc. Possible values are: unknown, detected, cleaned, quarantined, removed, allowed, blocked, cleanFailed, quarantineFailed, removeFailed, allowFailed, abandoned, blockFailed. +// GetState gets the state property value. Current status of the malware like cleaned/quarantined/allowed etc. The possible values are: unknown, detected, cleaned, quarantined, removed, allowed, blocked, cleanFailed, quarantineFailed, removeFailed, allowFailed, abandoned, blockFailed. // returns a *WindowsMalwareState when successful func (m *WindowsDeviceMalwareState) GetState()(*WindowsMalwareState) { val, err := m.GetBackingStore().Get("state") @@ -238,7 +238,7 @@ func (m *WindowsDeviceMalwareState) GetState()(*WindowsMalwareState) { } return nil } -// GetThreatState gets the threatState property value. Current status of the malware like cleaned/quarantined/allowed etc. Possible values are: active, actionFailed, manualStepsRequired, fullScanRequired, rebootRequired, remediatedWithNonCriticalFailures, quarantined, removed, cleaned, allowed, noStatusCleared. +// GetThreatState gets the threatState property value. Current status of the malware like cleaned/quarantined/allowed etc. The possible values are: active, actionFailed, manualStepsRequired, fullScanRequired, rebootRequired, remediatedWithNonCriticalFailures, quarantined, removed, cleaned, allowed, noStatusCleared. // returns a *WindowsMalwareThreatState when successful func (m *WindowsDeviceMalwareState) GetThreatState()(*WindowsMalwareThreatState) { val, err := m.GetBackingStore().Get("threatState") @@ -330,7 +330,7 @@ func (m *WindowsDeviceMalwareState) SetAdditionalInformationUrl(value *string)() panic(err) } } -// SetCategory sets the category property value. Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. +// SetCategory sets the category property value. Category of the malware. The possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. func (m *WindowsDeviceMalwareState) SetCategory(value *WindowsMalwareCategory)() { err := m.GetBackingStore().Set("category", value) if err != nil { @@ -351,7 +351,7 @@ func (m *WindowsDeviceMalwareState) SetDisplayName(value *string)() { panic(err) } } -// SetExecutionState sets the executionState property value. Execution status of the malware like blocked/executing etc. Possible values are: unknown, blocked, allowed, running, notRunning. +// SetExecutionState sets the executionState property value. Execution status of the malware like blocked/executing etc. The possible values are: unknown, blocked, allowed, running, notRunning. func (m *WindowsDeviceMalwareState) SetExecutionState(value *WindowsMalwareExecutionState)() { err := m.GetBackingStore().Set("executionState", value) if err != nil { @@ -372,21 +372,21 @@ func (m *WindowsDeviceMalwareState) SetLastStateChangeDateTime(value *i336074805 panic(err) } } -// SetSeverity sets the severity property value. Severity of the malware. Possible values are: unknown, low, moderate, high, severe. +// SetSeverity sets the severity property value. Severity of the malware. The possible values are: unknown, low, moderate, high, severe. func (m *WindowsDeviceMalwareState) SetSeverity(value *WindowsMalwareSeverity)() { err := m.GetBackingStore().Set("severity", value) if err != nil { panic(err) } } -// SetState sets the state property value. Current status of the malware like cleaned/quarantined/allowed etc. Possible values are: unknown, detected, cleaned, quarantined, removed, allowed, blocked, cleanFailed, quarantineFailed, removeFailed, allowFailed, abandoned, blockFailed. +// SetState sets the state property value. Current status of the malware like cleaned/quarantined/allowed etc. The possible values are: unknown, detected, cleaned, quarantined, removed, allowed, blocked, cleanFailed, quarantineFailed, removeFailed, allowFailed, abandoned, blockFailed. func (m *WindowsDeviceMalwareState) SetState(value *WindowsMalwareState)() { err := m.GetBackingStore().Set("state", value) if err != nil { panic(err) } } -// SetThreatState sets the threatState property value. Current status of the malware like cleaned/quarantined/allowed etc. Possible values are: active, actionFailed, manualStepsRequired, fullScanRequired, rebootRequired, remediatedWithNonCriticalFailures, quarantined, removed, cleaned, allowed, noStatusCleared. +// SetThreatState sets the threatState property value. Current status of the malware like cleaned/quarantined/allowed etc. The possible values are: active, actionFailed, manualStepsRequired, fullScanRequired, rebootRequired, remediatedWithNonCriticalFailures, quarantined, removed, cleaned, allowed, noStatusCleared. func (m *WindowsDeviceMalwareState) SetThreatState(value *WindowsMalwareThreatState)() { err := m.GetBackingStore().Set("threatState", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_hello_for_business_authentication_method.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_hello_for_business_authentication_method.go index a6466af62c..62e0393eac 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_hello_for_business_authentication_method.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_hello_for_business_authentication_method.go @@ -4,7 +4,6 @@ package models import ( - i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" ) @@ -25,18 +24,6 @@ func NewWindowsHelloForBusinessAuthenticationMethod()(*WindowsHelloForBusinessAu func CreateWindowsHelloForBusinessAuthenticationMethodFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewWindowsHelloForBusinessAuthenticationMethod(), nil } -// GetCreatedDateTime gets the createdDateTime property value. The date and time that this Windows Hello for Business key was registered. -// returns a *Time when successful -func (m *WindowsHelloForBusinessAuthenticationMethod) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { - val, err := m.GetBackingStore().Get("createdDateTime") - if err != nil { - panic(err) - } - if val != nil { - return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) - } - return nil -} // GetDevice gets the device property value. The registered device on which this Windows Hello for Business key resides. Supports $expand. When you get a user's Windows Hello for Business registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/windowsHelloForBusinessMethods/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device. // returns a Deviceable when successful func (m *WindowsHelloForBusinessAuthenticationMethod) GetDevice()(Deviceable) { @@ -65,16 +52,6 @@ func (m *WindowsHelloForBusinessAuthenticationMethod) GetDisplayName()(*string) // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *WindowsHelloForBusinessAuthenticationMethod) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.AuthenticationMethod.GetFieldDeserializers() - res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetTimeValue() - if err != nil { - return err - } - if val != nil { - m.SetCreatedDateTime(val) - } - return nil - } res["device"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateDeviceFromDiscriminatorValue) if err != nil { @@ -107,7 +84,7 @@ func (m *WindowsHelloForBusinessAuthenticationMethod) GetFieldDeserializers()(ma } return res } -// GetKeyStrength gets the keyStrength property value. Key strength of this Windows Hello for Business key. Possible values are: normal, weak, unknown. +// GetKeyStrength gets the keyStrength property value. Key strength of this Windows Hello for Business key. The possible values are: normal, weak, unknown. // returns a *AuthenticationMethodKeyStrength when successful func (m *WindowsHelloForBusinessAuthenticationMethod) GetKeyStrength()(*AuthenticationMethodKeyStrength) { val, err := m.GetBackingStore().Get("keyStrength") @@ -125,12 +102,6 @@ func (m *WindowsHelloForBusinessAuthenticationMethod) Serialize(writer i878a80d2 if err != nil { return err } - { - err = writer.WriteTimeValue("createdDateTime", m.GetCreatedDateTime()) - if err != nil { - return err - } - } { err = writer.WriteObjectValue("device", m.GetDevice()) if err != nil { @@ -152,13 +123,6 @@ func (m *WindowsHelloForBusinessAuthenticationMethod) Serialize(writer i878a80d2 } return nil } -// SetCreatedDateTime sets the createdDateTime property value. The date and time that this Windows Hello for Business key was registered. -func (m *WindowsHelloForBusinessAuthenticationMethod) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { - err := m.GetBackingStore().Set("createdDateTime", value) - if err != nil { - panic(err) - } -} // SetDevice sets the device property value. The registered device on which this Windows Hello for Business key resides. Supports $expand. When you get a user's Windows Hello for Business registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/windowsHelloForBusinessMethods/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device. func (m *WindowsHelloForBusinessAuthenticationMethod) SetDevice(value Deviceable)() { err := m.GetBackingStore().Set("device", value) @@ -173,7 +137,7 @@ func (m *WindowsHelloForBusinessAuthenticationMethod) SetDisplayName(value *stri panic(err) } } -// SetKeyStrength sets the keyStrength property value. Key strength of this Windows Hello for Business key. Possible values are: normal, weak, unknown. +// SetKeyStrength sets the keyStrength property value. Key strength of this Windows Hello for Business key. The possible values are: normal, weak, unknown. func (m *WindowsHelloForBusinessAuthenticationMethod) SetKeyStrength(value *AuthenticationMethodKeyStrength)() { err := m.GetBackingStore().Set("keyStrength", value) if err != nil { @@ -183,11 +147,9 @@ func (m *WindowsHelloForBusinessAuthenticationMethod) SetKeyStrength(value *Auth type WindowsHelloForBusinessAuthenticationMethodable interface { AuthenticationMethodable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetDevice()(Deviceable) GetDisplayName()(*string) GetKeyStrength()(*AuthenticationMethodKeyStrength) - SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetDevice(value Deviceable)() SetDisplayName(value *string)() SetKeyStrength(value *AuthenticationMethodKeyStrength)() diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_information_protection_policy.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_information_protection_policy.go index 0bb7b7cd8b..d9e0d4cf92 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_information_protection_policy.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_information_protection_policy.go @@ -25,7 +25,7 @@ func NewWindowsInformationProtectionPolicy()(*WindowsInformationProtectionPolicy func CreateWindowsInformationProtectionPolicyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewWindowsInformationProtectionPolicy(), nil } -// GetDaysWithoutContactBeforeUnenroll gets the daysWithoutContactBeforeUnenroll property value. Offline interval before app data is wiped (days) +// GetDaysWithoutContactBeforeUnenroll gets the daysWithoutContactBeforeUnenroll property value. Offline interval before app data is wiped (days) . Valid values 0 to 999 // returns a *int32 when successful func (m *WindowsInformationProtectionPolicy) GetDaysWithoutContactBeforeUnenroll()(*int32) { val, err := m.GetBackingStore().Get("daysWithoutContactBeforeUnenroll") @@ -175,7 +175,7 @@ func (m *WindowsInformationProtectionPolicy) GetMdmEnrollmentUrl()(*string) { } return nil } -// GetMinutesOfInactivityBeforeDeviceLock gets the minutesOfInactivityBeforeDeviceLock property value. Specifies the maximum amount of time (in minutes) allowed after the device is idle that will cause the device to become PIN or password locked. Range is an integer X where 0 <= X <= 999. +// GetMinutesOfInactivityBeforeDeviceLock gets the minutesOfInactivityBeforeDeviceLock property value. Specifies the maximum amount of time (in minutes) allowed after the device is idle that will cause the device to become PIN or password locked. Range is an integer X where 0 <= X <= 999. Valid values 0 to 999 // returns a *int32 when successful func (m *WindowsInformationProtectionPolicy) GetMinutesOfInactivityBeforeDeviceLock()(*int32) { val, err := m.GetBackingStore().Get("minutesOfInactivityBeforeDeviceLock") @@ -187,7 +187,7 @@ func (m *WindowsInformationProtectionPolicy) GetMinutesOfInactivityBeforeDeviceL } return nil } -// GetNumberOfPastPinsRemembered gets the numberOfPastPinsRemembered property value. Integer value that specifies the number of past PINs that can be associated to a user account that can't be reused. The largest number you can configure for this policy setting is 50. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then storage of previous PINs is not required. This node was added in Windows 10, version 1511. Default is 0. +// GetNumberOfPastPinsRemembered gets the numberOfPastPinsRemembered property value. Integer value that specifies the number of past PINs that can be associated to a user account that can't be reused. The largest number you can configure for this policy setting is 50. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then storage of previous PINs is not required. This node was added in Windows 10, version 1511. Default is 0. Valid values 0 to 50 // returns a *int32 when successful func (m *WindowsInformationProtectionPolicy) GetNumberOfPastPinsRemembered()(*int32) { val, err := m.GetBackingStore().Get("numberOfPastPinsRemembered") @@ -199,7 +199,7 @@ func (m *WindowsInformationProtectionPolicy) GetNumberOfPastPinsRemembered()(*in } return nil } -// GetPasswordMaximumAttemptCount gets the passwordMaximumAttemptCount property value. The number of authentication failures allowed before the device will be wiped. A value of 0 disables device wipe functionality. Range is an integer X where 4 <= X <= 16 for desktop and 0 <= X <= 999 for mobile devices. +// GetPasswordMaximumAttemptCount gets the passwordMaximumAttemptCount property value. The number of authentication failures allowed before the device will be wiped. A value of 0 disables device wipe functionality. Range is an integer X where 4 <= X <= 16 for desktop and 0 <= X <= 999 for mobile devices. Valid values 0 to 999 // returns a *int32 when successful func (m *WindowsInformationProtectionPolicy) GetPasswordMaximumAttemptCount()(*int32) { val, err := m.GetBackingStore().Get("passwordMaximumAttemptCount") @@ -211,7 +211,7 @@ func (m *WindowsInformationProtectionPolicy) GetPasswordMaximumAttemptCount()(*i } return nil } -// GetPinExpirationDays gets the pinExpirationDays property value. Integer value specifies the period of time (in days) that a PIN can be used before the system requires the user to change it. The largest number you can configure for this policy setting is 730. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then the user's PIN will never expire. This node was added in Windows 10, version 1511. Default is 0. +// GetPinExpirationDays gets the pinExpirationDays property value. Integer value specifies the period of time (in days) that a PIN can be used before the system requires the user to change it. The largest number you can configure for this policy setting is 730. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then the user's PIN will never expire. This node was added in Windows 10, version 1511. Default is 0. Valid values 0 to 730 // returns a *int32 when successful func (m *WindowsInformationProtectionPolicy) GetPinExpirationDays()(*int32) { val, err := m.GetBackingStore().Get("pinExpirationDays") @@ -235,7 +235,7 @@ func (m *WindowsInformationProtectionPolicy) GetPinLowercaseLetters()(*WindowsIn } return nil } -// GetPinMinimumLength gets the pinMinimumLength property value. Integer value that sets the minimum number of characters required for the PIN. Default value is 4. The lowest number you can configure for this policy setting is 4. The largest number you can configure must be less than the number configured in the Maximum PIN length policy setting or the number 127, whichever is the lowest. +// GetPinMinimumLength gets the pinMinimumLength property value. Integer value that sets the minimum number of characters required for the PIN. Default value is 4. The lowest number you can configure for this policy setting is 4. The largest number you can configure must be less than the number configured in the Maximum PIN length policy setting or the number 127, whichever is the lowest. Valid values 0 to 127 // returns a *int32 when successful func (m *WindowsInformationProtectionPolicy) GetPinMinimumLength()(*int32) { val, err := m.GetBackingStore().Get("pinMinimumLength") @@ -378,7 +378,7 @@ func (m *WindowsInformationProtectionPolicy) Serialize(writer i878a80d2330e89d26 } return nil } -// SetDaysWithoutContactBeforeUnenroll sets the daysWithoutContactBeforeUnenroll property value. Offline interval before app data is wiped (days) +// SetDaysWithoutContactBeforeUnenroll sets the daysWithoutContactBeforeUnenroll property value. Offline interval before app data is wiped (days) . Valid values 0 to 999 func (m *WindowsInformationProtectionPolicy) SetDaysWithoutContactBeforeUnenroll(value *int32)() { err := m.GetBackingStore().Set("daysWithoutContactBeforeUnenroll", value) if err != nil { @@ -392,28 +392,28 @@ func (m *WindowsInformationProtectionPolicy) SetMdmEnrollmentUrl(value *string)( panic(err) } } -// SetMinutesOfInactivityBeforeDeviceLock sets the minutesOfInactivityBeforeDeviceLock property value. Specifies the maximum amount of time (in minutes) allowed after the device is idle that will cause the device to become PIN or password locked. Range is an integer X where 0 <= X <= 999. +// SetMinutesOfInactivityBeforeDeviceLock sets the minutesOfInactivityBeforeDeviceLock property value. Specifies the maximum amount of time (in minutes) allowed after the device is idle that will cause the device to become PIN or password locked. Range is an integer X where 0 <= X <= 999. Valid values 0 to 999 func (m *WindowsInformationProtectionPolicy) SetMinutesOfInactivityBeforeDeviceLock(value *int32)() { err := m.GetBackingStore().Set("minutesOfInactivityBeforeDeviceLock", value) if err != nil { panic(err) } } -// SetNumberOfPastPinsRemembered sets the numberOfPastPinsRemembered property value. Integer value that specifies the number of past PINs that can be associated to a user account that can't be reused. The largest number you can configure for this policy setting is 50. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then storage of previous PINs is not required. This node was added in Windows 10, version 1511. Default is 0. +// SetNumberOfPastPinsRemembered sets the numberOfPastPinsRemembered property value. Integer value that specifies the number of past PINs that can be associated to a user account that can't be reused. The largest number you can configure for this policy setting is 50. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then storage of previous PINs is not required. This node was added in Windows 10, version 1511. Default is 0. Valid values 0 to 50 func (m *WindowsInformationProtectionPolicy) SetNumberOfPastPinsRemembered(value *int32)() { err := m.GetBackingStore().Set("numberOfPastPinsRemembered", value) if err != nil { panic(err) } } -// SetPasswordMaximumAttemptCount sets the passwordMaximumAttemptCount property value. The number of authentication failures allowed before the device will be wiped. A value of 0 disables device wipe functionality. Range is an integer X where 4 <= X <= 16 for desktop and 0 <= X <= 999 for mobile devices. +// SetPasswordMaximumAttemptCount sets the passwordMaximumAttemptCount property value. The number of authentication failures allowed before the device will be wiped. A value of 0 disables device wipe functionality. Range is an integer X where 4 <= X <= 16 for desktop and 0 <= X <= 999 for mobile devices. Valid values 0 to 999 func (m *WindowsInformationProtectionPolicy) SetPasswordMaximumAttemptCount(value *int32)() { err := m.GetBackingStore().Set("passwordMaximumAttemptCount", value) if err != nil { panic(err) } } -// SetPinExpirationDays sets the pinExpirationDays property value. Integer value specifies the period of time (in days) that a PIN can be used before the system requires the user to change it. The largest number you can configure for this policy setting is 730. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then the user's PIN will never expire. This node was added in Windows 10, version 1511. Default is 0. +// SetPinExpirationDays sets the pinExpirationDays property value. Integer value specifies the period of time (in days) that a PIN can be used before the system requires the user to change it. The largest number you can configure for this policy setting is 730. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then the user's PIN will never expire. This node was added in Windows 10, version 1511. Default is 0. Valid values 0 to 730 func (m *WindowsInformationProtectionPolicy) SetPinExpirationDays(value *int32)() { err := m.GetBackingStore().Set("pinExpirationDays", value) if err != nil { @@ -427,7 +427,7 @@ func (m *WindowsInformationProtectionPolicy) SetPinLowercaseLetters(value *Windo panic(err) } } -// SetPinMinimumLength sets the pinMinimumLength property value. Integer value that sets the minimum number of characters required for the PIN. Default value is 4. The lowest number you can configure for this policy setting is 4. The largest number you can configure must be less than the number configured in the Maximum PIN length policy setting or the number 127, whichever is the lowest. +// SetPinMinimumLength sets the pinMinimumLength property value. Integer value that sets the minimum number of characters required for the PIN. Default value is 4. The lowest number you can configure for this policy setting is 4. The largest number you can configure must be less than the number configured in the Maximum PIN length policy setting or the number 127, whichever is the lowest. Valid values 0 to 127 func (m *WindowsInformationProtectionPolicy) SetPinMinimumLength(value *int32)() { err := m.GetBackingStore().Set("pinMinimumLength", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_malware_information.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_malware_information.go index cf2267ffe2..0cf902d872 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_malware_information.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_malware_information.go @@ -36,7 +36,7 @@ func (m *WindowsMalwareInformation) GetAdditionalInformationUrl()(*string) { } return nil } -// GetCategory gets the category property value. Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. default value is invalid. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. +// GetCategory gets the category property value. Category of the malware. The possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. default value is invalid. The possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. // returns a *WindowsMalwareCategory when successful func (m *WindowsMalwareInformation) GetCategory()(*WindowsMalwareCategory) { val, err := m.GetBackingStore().Get("category") @@ -156,7 +156,7 @@ func (m *WindowsMalwareInformation) GetLastDetectionDateTime()(*i336074805fc8539 } return nil } -// GetSeverity gets the severity property value. Severity of the malware. Possible values are: unknown, low, moderate, high, severe. default is unknown. Possible values are: unknown, low, moderate, high, severe. +// GetSeverity gets the severity property value. Severity of the malware. The possible values are: unknown, low, moderate, high, severe. default is unknown. The possible values are: unknown, low, moderate, high, severe. // returns a *WindowsMalwareSeverity when successful func (m *WindowsMalwareInformation) GetSeverity()(*WindowsMalwareSeverity) { val, err := m.GetBackingStore().Get("severity") @@ -227,7 +227,7 @@ func (m *WindowsMalwareInformation) SetAdditionalInformationUrl(value *string)() panic(err) } } -// SetCategory sets the category property value. Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. default value is invalid. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. +// SetCategory sets the category property value. Category of the malware. The possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. default value is invalid. The possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. func (m *WindowsMalwareInformation) SetCategory(value *WindowsMalwareCategory)() { err := m.GetBackingStore().Set("category", value) if err != nil { @@ -255,7 +255,7 @@ func (m *WindowsMalwareInformation) SetLastDetectionDateTime(value *i336074805fc panic(err) } } -// SetSeverity sets the severity property value. Severity of the malware. Possible values are: unknown, low, moderate, high, severe. default is unknown. Possible values are: unknown, low, moderate, high, severe. +// SetSeverity sets the severity property value. Severity of the malware. The possible values are: unknown, low, moderate, high, severe. default is unknown. The possible values are: unknown, low, moderate, high, severe. func (m *WindowsMalwareInformation) SetSeverity(value *WindowsMalwareSeverity)() { err := m.GetBackingStore().Set("severity", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_protection_state.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_protection_state.go index 9c465d1658..d7033be767 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_protection_state.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_protection_state.go @@ -48,7 +48,7 @@ func (m *WindowsProtectionState) GetDetectedMalwareState()([]WindowsDeviceMalwar } return nil } -// GetDeviceState gets the deviceState property value. Indicates device's health state. Possible values are: clean, fullScanPending, rebootPending, manualStepsPending, offlineScanPending, critical. Possible values are: clean, fullScanPending, rebootPending, manualStepsPending, offlineScanPending, critical. +// GetDeviceState gets the deviceState property value. Indicates device's health state. The possible values are: clean, fullScanPending, rebootPending, manualStepsPending, offlineScanPending, critical. The possible values are: clean, fullScanPending, rebootPending, manualStepsPending, offlineScanPending, critical. // returns a *WindowsDeviceHealthState when successful func (m *WindowsProtectionState) GetDeviceState()(*WindowsDeviceHealthState) { val, err := m.GetBackingStore().Get("deviceState") @@ -414,7 +414,7 @@ func (m *WindowsProtectionState) GetNetworkInspectionSystemEnabled()(*bool) { } return nil } -// GetProductStatus gets the productStatus property value. Product Status of Windows Defender Antivirus. Possible values are: noStatus, serviceNotRunning, serviceStartedWithoutMalwareProtection, pendingFullScanDueToThreatAction, pendingRebootDueToThreatAction, pendingManualStepsDueToThreatAction, avSignaturesOutOfDate, asSignaturesOutOfDate, noQuickScanHappenedForSpecifiedPeriod, noFullScanHappenedForSpecifiedPeriod, systemInitiatedScanInProgress, systemInitiatedCleanInProgress, samplesPendingSubmission, productRunningInEvaluationMode, productRunningInNonGenuineMode, productExpired, offlineScanRequired, serviceShutdownAsPartOfSystemShutdown, threatRemediationFailedCritically, threatRemediationFailedNonCritically, noStatusFlagsSet, platformOutOfDate, platformUpdateInProgress, platformAboutToBeOutdated, signatureOrPlatformEndOfLifeIsPastOrIsImpending, windowsSModeSignaturesInUseOnNonWin10SInstall. Possible values are: noStatus, serviceNotRunning, serviceStartedWithoutMalwareProtection, pendingFullScanDueToThreatAction, pendingRebootDueToThreatAction, pendingManualStepsDueToThreatAction, avSignaturesOutOfDate, asSignaturesOutOfDate, noQuickScanHappenedForSpecifiedPeriod, noFullScanHappenedForSpecifiedPeriod, systemInitiatedScanInProgress, systemInitiatedCleanInProgress, samplesPendingSubmission, productRunningInEvaluationMode, productRunningInNonGenuineMode, productExpired, offlineScanRequired, serviceShutdownAsPartOfSystemShutdown, threatRemediationFailedCritically, threatRemediationFailedNonCritically, noStatusFlagsSet, platformOutOfDate, platformUpdateInProgress, platformAboutToBeOutdated, signatureOrPlatformEndOfLifeIsPastOrIsImpending, windowsSModeSignaturesInUseOnNonWin10SInstall. +// GetProductStatus gets the productStatus property value. Product Status of Windows Defender Antivirus. The possible values are: noStatus, serviceNotRunning, serviceStartedWithoutMalwareProtection, pendingFullScanDueToThreatAction, pendingRebootDueToThreatAction, pendingManualStepsDueToThreatAction, avSignaturesOutOfDate, asSignaturesOutOfDate, noQuickScanHappenedForSpecifiedPeriod, noFullScanHappenedForSpecifiedPeriod, systemInitiatedScanInProgress, systemInitiatedCleanInProgress, samplesPendingSubmission, productRunningInEvaluationMode, productRunningInNonGenuineMode, productExpired, offlineScanRequired, serviceShutdownAsPartOfSystemShutdown, threatRemediationFailedCritically, threatRemediationFailedNonCritically, noStatusFlagsSet, platformOutOfDate, platformUpdateInProgress, platformAboutToBeOutdated, signatureOrPlatformEndOfLifeIsPastOrIsImpending, windowsSModeSignaturesInUseOnNonWin10SInstall. The possible values are: noStatus, serviceNotRunning, serviceStartedWithoutMalwareProtection, pendingFullScanDueToThreatAction, pendingRebootDueToThreatAction, pendingManualStepsDueToThreatAction, avSignaturesOutOfDate, asSignaturesOutOfDate, noQuickScanHappenedForSpecifiedPeriod, noFullScanHappenedForSpecifiedPeriod, systemInitiatedScanInProgress, systemInitiatedCleanInProgress, samplesPendingSubmission, productRunningInEvaluationMode, productRunningInNonGenuineMode, productExpired, offlineScanRequired, serviceShutdownAsPartOfSystemShutdown, threatRemediationFailedCritically, threatRemediationFailedNonCritically, noStatusFlagsSet, platformOutOfDate, platformUpdateInProgress, platformAboutToBeOutdated, signatureOrPlatformEndOfLifeIsPastOrIsImpending, windowsSModeSignaturesInUseOnNonWin10SInstall. // returns a *WindowsDefenderProductStatus when successful func (m *WindowsProtectionState) GetProductStatus()(*WindowsDefenderProductStatus) { val, err := m.GetBackingStore().Get("productStatus") @@ -654,7 +654,7 @@ func (m *WindowsProtectionState) SetDetectedMalwareState(value []WindowsDeviceMa panic(err) } } -// SetDeviceState sets the deviceState property value. Indicates device's health state. Possible values are: clean, fullScanPending, rebootPending, manualStepsPending, offlineScanPending, critical. Possible values are: clean, fullScanPending, rebootPending, manualStepsPending, offlineScanPending, critical. +// SetDeviceState sets the deviceState property value. Indicates device's health state. The possible values are: clean, fullScanPending, rebootPending, manualStepsPending, offlineScanPending, critical. The possible values are: clean, fullScanPending, rebootPending, manualStepsPending, offlineScanPending, critical. func (m *WindowsProtectionState) SetDeviceState(value *WindowsDeviceHealthState)() { err := m.GetBackingStore().Set("deviceState", value) if err != nil { @@ -738,7 +738,7 @@ func (m *WindowsProtectionState) SetNetworkInspectionSystemEnabled(value *bool)( panic(err) } } -// SetProductStatus sets the productStatus property value. Product Status of Windows Defender Antivirus. Possible values are: noStatus, serviceNotRunning, serviceStartedWithoutMalwareProtection, pendingFullScanDueToThreatAction, pendingRebootDueToThreatAction, pendingManualStepsDueToThreatAction, avSignaturesOutOfDate, asSignaturesOutOfDate, noQuickScanHappenedForSpecifiedPeriod, noFullScanHappenedForSpecifiedPeriod, systemInitiatedScanInProgress, systemInitiatedCleanInProgress, samplesPendingSubmission, productRunningInEvaluationMode, productRunningInNonGenuineMode, productExpired, offlineScanRequired, serviceShutdownAsPartOfSystemShutdown, threatRemediationFailedCritically, threatRemediationFailedNonCritically, noStatusFlagsSet, platformOutOfDate, platformUpdateInProgress, platformAboutToBeOutdated, signatureOrPlatformEndOfLifeIsPastOrIsImpending, windowsSModeSignaturesInUseOnNonWin10SInstall. Possible values are: noStatus, serviceNotRunning, serviceStartedWithoutMalwareProtection, pendingFullScanDueToThreatAction, pendingRebootDueToThreatAction, pendingManualStepsDueToThreatAction, avSignaturesOutOfDate, asSignaturesOutOfDate, noQuickScanHappenedForSpecifiedPeriod, noFullScanHappenedForSpecifiedPeriod, systemInitiatedScanInProgress, systemInitiatedCleanInProgress, samplesPendingSubmission, productRunningInEvaluationMode, productRunningInNonGenuineMode, productExpired, offlineScanRequired, serviceShutdownAsPartOfSystemShutdown, threatRemediationFailedCritically, threatRemediationFailedNonCritically, noStatusFlagsSet, platformOutOfDate, platformUpdateInProgress, platformAboutToBeOutdated, signatureOrPlatformEndOfLifeIsPastOrIsImpending, windowsSModeSignaturesInUseOnNonWin10SInstall. +// SetProductStatus sets the productStatus property value. Product Status of Windows Defender Antivirus. The possible values are: noStatus, serviceNotRunning, serviceStartedWithoutMalwareProtection, pendingFullScanDueToThreatAction, pendingRebootDueToThreatAction, pendingManualStepsDueToThreatAction, avSignaturesOutOfDate, asSignaturesOutOfDate, noQuickScanHappenedForSpecifiedPeriod, noFullScanHappenedForSpecifiedPeriod, systemInitiatedScanInProgress, systemInitiatedCleanInProgress, samplesPendingSubmission, productRunningInEvaluationMode, productRunningInNonGenuineMode, productExpired, offlineScanRequired, serviceShutdownAsPartOfSystemShutdown, threatRemediationFailedCritically, threatRemediationFailedNonCritically, noStatusFlagsSet, platformOutOfDate, platformUpdateInProgress, platformAboutToBeOutdated, signatureOrPlatformEndOfLifeIsPastOrIsImpending, windowsSModeSignaturesInUseOnNonWin10SInstall. The possible values are: noStatus, serviceNotRunning, serviceStartedWithoutMalwareProtection, pendingFullScanDueToThreatAction, pendingRebootDueToThreatAction, pendingManualStepsDueToThreatAction, avSignaturesOutOfDate, asSignaturesOutOfDate, noQuickScanHappenedForSpecifiedPeriod, noFullScanHappenedForSpecifiedPeriod, systemInitiatedScanInProgress, systemInitiatedCleanInProgress, samplesPendingSubmission, productRunningInEvaluationMode, productRunningInNonGenuineMode, productExpired, offlineScanRequired, serviceShutdownAsPartOfSystemShutdown, threatRemediationFailedCritically, threatRemediationFailedNonCritically, noStatusFlagsSet, platformOutOfDate, platformUpdateInProgress, platformAboutToBeOutdated, signatureOrPlatformEndOfLifeIsPastOrIsImpending, windowsSModeSignaturesInUseOnNonWin10SInstall. func (m *WindowsProtectionState) SetProductStatus(value *WindowsDefenderProductStatus)() { err := m.GetBackingStore().Set("productStatus", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_universal_app_x.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_universal_app_x.go index b4414601d1..d2d085f979 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_universal_app_x.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_universal_app_x.go @@ -49,7 +49,7 @@ func (m *WindowsUniversalAppX) GetApplicableDeviceTypes()(*WindowsDeviceType) { } return nil } -// GetCommittedContainedApps gets the committedContainedApps property value. The collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. +// GetCommittedContainedApps gets the committedContainedApps property value. The collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. This property is read-only. // returns a []MobileContainedAppable when successful func (m *WindowsUniversalAppX) GetCommittedContainedApps()([]MobileContainedAppable) { val, err := m.GetBackingStore().Get("committedContainedApps") @@ -163,7 +163,7 @@ func (m *WindowsUniversalAppX) GetFieldDeserializers()(map[string]func(i878a80d2 } return res } -// GetIdentityName gets the identityName property value. The Identity Name. +// GetIdentityName gets the identityName property value. The Identity Name of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: 'Contoso.DemoApp'. // returns a *string when successful func (m *WindowsUniversalAppX) GetIdentityName()(*string) { val, err := m.GetBackingStore().Get("identityName") @@ -175,7 +175,7 @@ func (m *WindowsUniversalAppX) GetIdentityName()(*string) { } return nil } -// GetIdentityPublisherHash gets the identityPublisherHash property value. The Identity Publisher Hash. +// GetIdentityPublisherHash gets the identityPublisherHash property value. The Identity Publisher Hash of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: 'AB82CD0XYZ'. // returns a *string when successful func (m *WindowsUniversalAppX) GetIdentityPublisherHash()(*string) { val, err := m.GetBackingStore().Get("identityPublisherHash") @@ -187,7 +187,7 @@ func (m *WindowsUniversalAppX) GetIdentityPublisherHash()(*string) { } return nil } -// GetIdentityResourceIdentifier gets the identityResourceIdentifier property value. The Identity Resource Identifier. +// GetIdentityResourceIdentifier gets the identityResourceIdentifier property value. The Identity Resource Identifier of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: 'TestResourceId'. // returns a *string when successful func (m *WindowsUniversalAppX) GetIdentityResourceIdentifier()(*string) { val, err := m.GetBackingStore().Get("identityResourceIdentifier") @@ -199,7 +199,7 @@ func (m *WindowsUniversalAppX) GetIdentityResourceIdentifier()(*string) { } return nil } -// GetIdentityVersion gets the identityVersion property value. The identity version. +// GetIdentityVersion gets the identityVersion property value. The Identity Version of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: '1.0.0.0'. // returns a *string when successful func (m *WindowsUniversalAppX) GetIdentityVersion()(*string) { val, err := m.GetBackingStore().Get("identityVersion") @@ -211,7 +211,7 @@ func (m *WindowsUniversalAppX) GetIdentityVersion()(*string) { } return nil } -// GetIsBundle gets the isBundle property value. Whether or not the app is a bundle. +// GetIsBundle gets the isBundle property value. Whether or not the app is a bundle. If TRUE, app is a bundle; if FALSE, app is not a bundle. // returns a *bool when successful func (m *WindowsUniversalAppX) GetIsBundle()(*bool) { val, err := m.GetBackingStore().Get("isBundle") @@ -319,42 +319,42 @@ func (m *WindowsUniversalAppX) SetApplicableDeviceTypes(value *WindowsDeviceType panic(err) } } -// SetCommittedContainedApps sets the committedContainedApps property value. The collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. +// SetCommittedContainedApps sets the committedContainedApps property value. The collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. This property is read-only. func (m *WindowsUniversalAppX) SetCommittedContainedApps(value []MobileContainedAppable)() { err := m.GetBackingStore().Set("committedContainedApps", value) if err != nil { panic(err) } } -// SetIdentityName sets the identityName property value. The Identity Name. +// SetIdentityName sets the identityName property value. The Identity Name of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: 'Contoso.DemoApp'. func (m *WindowsUniversalAppX) SetIdentityName(value *string)() { err := m.GetBackingStore().Set("identityName", value) if err != nil { panic(err) } } -// SetIdentityPublisherHash sets the identityPublisherHash property value. The Identity Publisher Hash. +// SetIdentityPublisherHash sets the identityPublisherHash property value. The Identity Publisher Hash of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: 'AB82CD0XYZ'. func (m *WindowsUniversalAppX) SetIdentityPublisherHash(value *string)() { err := m.GetBackingStore().Set("identityPublisherHash", value) if err != nil { panic(err) } } -// SetIdentityResourceIdentifier sets the identityResourceIdentifier property value. The Identity Resource Identifier. +// SetIdentityResourceIdentifier sets the identityResourceIdentifier property value. The Identity Resource Identifier of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: 'TestResourceId'. func (m *WindowsUniversalAppX) SetIdentityResourceIdentifier(value *string)() { err := m.GetBackingStore().Set("identityResourceIdentifier", value) if err != nil { panic(err) } } -// SetIdentityVersion sets the identityVersion property value. The identity version. +// SetIdentityVersion sets the identityVersion property value. The Identity Version of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: '1.0.0.0'. func (m *WindowsUniversalAppX) SetIdentityVersion(value *string)() { err := m.GetBackingStore().Set("identityVersion", value) if err != nil { panic(err) } } -// SetIsBundle sets the isBundle property value. Whether or not the app is a bundle. +// SetIsBundle sets the isBundle property value. Whether or not the app is a bundle. If TRUE, app is a bundle; if FALSE, app is not a bundle. func (m *WindowsUniversalAppX) SetIsBundle(value *bool)() { err := m.GetBackingStore().Set("isBundle", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_update_for_business_configuration.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_update_for_business_configuration.go index 55f71a1929..94a8e94d74 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_update_for_business_configuration.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/windows_update_for_business_configuration.go @@ -620,7 +620,7 @@ func (m *WindowsUpdateForBusinessConfiguration) GetFieldDeserializers()(map[stri } return res } -// GetInstallationSchedule gets the installationSchedule property value. The Installation Schedule. Possible values are: ActiveHoursStart, ActiveHoursEnd, ScheduledInstallDay, ScheduledInstallTime. Returned by default. Query parameters are not supported. +// GetInstallationSchedule gets the installationSchedule property value. The Installation Schedule. The possible values are: ActiveHoursStart, ActiveHoursEnd, ScheduledInstallDay, ScheduledInstallTime. Returned by default. Query parameters are not supported. // returns a WindowsUpdateInstallScheduleTypeable when successful func (m *WindowsUpdateForBusinessConfiguration) GetInstallationSchedule()(WindowsUpdateInstallScheduleTypeable) { val, err := m.GetBackingStore().Get("installationSchedule") @@ -788,7 +788,7 @@ func (m *WindowsUpdateForBusinessConfiguration) GetUpdateNotificationLevel()(*Wi } return nil } -// GetUpdateWeeks gets the updateWeeks property value. Schedule the update installation on the weeks of the month. Possible values are: UserDefined, FirstWeek, SecondWeek, ThirdWeek, FourthWeek, EveryWeek. Returned by default. Query parameters are not supported. Possible values are: userDefined, firstWeek, secondWeek, thirdWeek, fourthWeek, everyWeek, unknownFutureValue. +// GetUpdateWeeks gets the updateWeeks property value. Schedule the update installation on the weeks of the month. The possible values are: UserDefined, FirstWeek, SecondWeek, ThirdWeek, FourthWeek, EveryWeek. Returned by default. Query parameters are not supported. The possible values are: userDefined, firstWeek, secondWeek, thirdWeek, fourthWeek, everyWeek, unknownFutureValue. // returns a *WindowsUpdateForBusinessUpdateWeeks when successful func (m *WindowsUpdateForBusinessConfiguration) GetUpdateWeeks()(*WindowsUpdateForBusinessUpdateWeeks) { val, err := m.GetBackingStore().Get("updateWeeks") @@ -1178,7 +1178,7 @@ func (m *WindowsUpdateForBusinessConfiguration) SetFeatureUpdatesWillBeRolledBac panic(err) } } -// SetInstallationSchedule sets the installationSchedule property value. The Installation Schedule. Possible values are: ActiveHoursStart, ActiveHoursEnd, ScheduledInstallDay, ScheduledInstallTime. Returned by default. Query parameters are not supported. +// SetInstallationSchedule sets the installationSchedule property value. The Installation Schedule. The possible values are: ActiveHoursStart, ActiveHoursEnd, ScheduledInstallDay, ScheduledInstallTime. Returned by default. Query parameters are not supported. func (m *WindowsUpdateForBusinessConfiguration) SetInstallationSchedule(value WindowsUpdateInstallScheduleTypeable)() { err := m.GetBackingStore().Set("installationSchedule", value) if err != nil { @@ -1276,7 +1276,7 @@ func (m *WindowsUpdateForBusinessConfiguration) SetUpdateNotificationLevel(value panic(err) } } -// SetUpdateWeeks sets the updateWeeks property value. Schedule the update installation on the weeks of the month. Possible values are: UserDefined, FirstWeek, SecondWeek, ThirdWeek, FourthWeek, EveryWeek. Returned by default. Query parameters are not supported. Possible values are: userDefined, firstWeek, secondWeek, thirdWeek, fourthWeek, everyWeek, unknownFutureValue. +// SetUpdateWeeks sets the updateWeeks property value. Schedule the update installation on the weeks of the month. The possible values are: UserDefined, FirstWeek, SecondWeek, ThirdWeek, FourthWeek, EveryWeek. Returned by default. Query parameters are not supported. The possible values are: userDefined, firstWeek, secondWeek, thirdWeek, fourthWeek, everyWeek, unknownFutureValue. func (m *WindowsUpdateForBusinessConfiguration) SetUpdateWeeks(value *WindowsUpdateForBusinessUpdateWeeks)() { err := m.GetBackingStore().Set("updateWeeks", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_hours_and_locations_setting.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_hours_and_locations_setting.go new file mode 100644 index 0000000000..97c25f2db8 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_hours_and_locations_setting.go @@ -0,0 +1,178 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type WorkHoursAndLocationsSetting struct { + Entity +} +// NewWorkHoursAndLocationsSetting instantiates a new WorkHoursAndLocationsSetting and sets the default values. +func NewWorkHoursAndLocationsSetting()(*WorkHoursAndLocationsSetting) { + m := &WorkHoursAndLocationsSetting{ + Entity: *NewEntity(), + } + return m +} +// CreateWorkHoursAndLocationsSettingFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWorkHoursAndLocationsSettingFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWorkHoursAndLocationsSetting(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *WorkHoursAndLocationsSetting) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["maxSharedWorkLocationDetails"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseMaxWorkLocationDetails) + if err != nil { + return err + } + if val != nil { + m.SetMaxSharedWorkLocationDetails(val.(*MaxWorkLocationDetails)) + } + return nil + } + res["occurrences"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateWorkPlanOccurrenceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]WorkPlanOccurrenceable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(WorkPlanOccurrenceable) + } + } + m.SetOccurrences(res) + } + return nil + } + res["recurrences"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateWorkPlanRecurrenceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]WorkPlanRecurrenceable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(WorkPlanRecurrenceable) + } + } + m.SetRecurrences(res) + } + return nil + } + return res +} +// GetMaxSharedWorkLocationDetails gets the maxSharedWorkLocationDetails property value. The maxSharedWorkLocationDetails property +// returns a *MaxWorkLocationDetails when successful +func (m *WorkHoursAndLocationsSetting) GetMaxSharedWorkLocationDetails()(*MaxWorkLocationDetails) { + val, err := m.GetBackingStore().Get("maxSharedWorkLocationDetails") + if err != nil { + panic(err) + } + if val != nil { + return val.(*MaxWorkLocationDetails) + } + return nil +} +// GetOccurrences gets the occurrences property value. Collection of work plan occurrences. +// returns a []WorkPlanOccurrenceable when successful +func (m *WorkHoursAndLocationsSetting) GetOccurrences()([]WorkPlanOccurrenceable) { + val, err := m.GetBackingStore().Get("occurrences") + if err != nil { + panic(err) + } + if val != nil { + return val.([]WorkPlanOccurrenceable) + } + return nil +} +// GetRecurrences gets the recurrences property value. Collection of recurring work plans defined by the user. +// returns a []WorkPlanRecurrenceable when successful +func (m *WorkHoursAndLocationsSetting) GetRecurrences()([]WorkPlanRecurrenceable) { + val, err := m.GetBackingStore().Get("recurrences") + if err != nil { + panic(err) + } + if val != nil { + return val.([]WorkPlanRecurrenceable) + } + return nil +} +// Serialize serializes information the current object +func (m *WorkHoursAndLocationsSetting) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetMaxSharedWorkLocationDetails() != nil { + cast := (*m.GetMaxSharedWorkLocationDetails()).String() + err = writer.WriteStringValue("maxSharedWorkLocationDetails", &cast) + if err != nil { + return err + } + } + if m.GetOccurrences() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetOccurrences())) + for i, v := range m.GetOccurrences() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("occurrences", cast) + if err != nil { + return err + } + } + if m.GetRecurrences() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetRecurrences())) + for i, v := range m.GetRecurrences() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("recurrences", cast) + if err != nil { + return err + } + } + return nil +} +// SetMaxSharedWorkLocationDetails sets the maxSharedWorkLocationDetails property value. The maxSharedWorkLocationDetails property +func (m *WorkHoursAndLocationsSetting) SetMaxSharedWorkLocationDetails(value *MaxWorkLocationDetails)() { + err := m.GetBackingStore().Set("maxSharedWorkLocationDetails", value) + if err != nil { + panic(err) + } +} +// SetOccurrences sets the occurrences property value. Collection of work plan occurrences. +func (m *WorkHoursAndLocationsSetting) SetOccurrences(value []WorkPlanOccurrenceable)() { + err := m.GetBackingStore().Set("occurrences", value) + if err != nil { + panic(err) + } +} +// SetRecurrences sets the recurrences property value. Collection of recurring work plans defined by the user. +func (m *WorkHoursAndLocationsSetting) SetRecurrences(value []WorkPlanRecurrenceable)() { + err := m.GetBackingStore().Set("recurrences", value) + if err != nil { + panic(err) + } +} +type WorkHoursAndLocationsSettingable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetMaxSharedWorkLocationDetails()(*MaxWorkLocationDetails) + GetOccurrences()([]WorkPlanOccurrenceable) + GetRecurrences()([]WorkPlanRecurrenceable) + SetMaxSharedWorkLocationDetails(value *MaxWorkLocationDetails)() + SetOccurrences(value []WorkPlanOccurrenceable)() + SetRecurrences(value []WorkPlanRecurrenceable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_location_source.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_location_source.go new file mode 100644 index 0000000000..5ba7170067 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_location_source.go @@ -0,0 +1,45 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type WorkLocationSource int + +const ( + NONE_WORKLOCATIONSOURCE WorkLocationSource = iota + MANUAL_WORKLOCATIONSOURCE + SCHEDULED_WORKLOCATIONSOURCE + AUTOMATIC_WORKLOCATIONSOURCE + UNKNOWNFUTUREVALUE_WORKLOCATIONSOURCE +) + +func (i WorkLocationSource) String() string { + return []string{"none", "manual", "scheduled", "automatic", "unknownFutureValue"}[i] +} +func ParseWorkLocationSource(v string) (any, error) { + result := NONE_WORKLOCATIONSOURCE + switch v { + case "none": + result = NONE_WORKLOCATIONSOURCE + case "manual": + result = MANUAL_WORKLOCATIONSOURCE + case "scheduled": + result = SCHEDULED_WORKLOCATIONSOURCE + case "automatic": + result = AUTOMATIC_WORKLOCATIONSOURCE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_WORKLOCATIONSOURCE + default: + return nil, nil + } + return &result, nil +} +func SerializeWorkLocationSource(values []WorkLocationSource) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i WorkLocationSource) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_location_type.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_location_type.go new file mode 100644 index 0000000000..c4e826f243 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_location_type.go @@ -0,0 +1,45 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type WorkLocationType int + +const ( + UNSPECIFIED_WORKLOCATIONTYPE WorkLocationType = iota + OFFICE_WORKLOCATIONTYPE + REMOTE_WORKLOCATIONTYPE + TIMEOFF_WORKLOCATIONTYPE + UNKNOWNFUTUREVALUE_WORKLOCATIONTYPE +) + +func (i WorkLocationType) String() string { + return []string{"unspecified", "office", "remote", "timeOff", "unknownFutureValue"}[i] +} +func ParseWorkLocationType(v string) (any, error) { + result := UNSPECIFIED_WORKLOCATIONTYPE + switch v { + case "unspecified": + result = UNSPECIFIED_WORKLOCATIONTYPE + case "office": + result = OFFICE_WORKLOCATIONTYPE + case "remote": + result = REMOTE_WORKLOCATIONTYPE + case "timeOff": + result = TIMEOFF_WORKLOCATIONTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_WORKLOCATIONTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeWorkLocationType(values []WorkLocationType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i WorkLocationType) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_location_update_scope.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_location_update_scope.go new file mode 100644 index 0000000000..8c4d1086cf --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_location_update_scope.go @@ -0,0 +1,39 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type WorkLocationUpdateScope int + +const ( + CURRENTSEGMENT_WORKLOCATIONUPDATESCOPE WorkLocationUpdateScope = iota + CURRENTDAY_WORKLOCATIONUPDATESCOPE + UNKNOWNFUTUREVALUE_WORKLOCATIONUPDATESCOPE +) + +func (i WorkLocationUpdateScope) String() string { + return []string{"currentSegment", "currentDay", "unknownFutureValue"}[i] +} +func ParseWorkLocationUpdateScope(v string) (any, error) { + result := CURRENTSEGMENT_WORKLOCATIONUPDATESCOPE + switch v { + case "currentSegment": + result = CURRENTSEGMENT_WORKLOCATIONUPDATESCOPE + case "currentDay": + result = CURRENTDAY_WORKLOCATIONUPDATESCOPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_WORKLOCATIONUPDATESCOPE + default: + return nil, nil + } + return &result, nil +} +func SerializeWorkLocationUpdateScope(values []WorkLocationUpdateScope) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i WorkLocationUpdateScope) isMultiValue() bool { + return false +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_plan_occurrence.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_plan_occurrence.go new file mode 100644 index 0000000000..2c1167b0e6 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_plan_occurrence.go @@ -0,0 +1,265 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type WorkPlanOccurrence struct { + Entity +} +// NewWorkPlanOccurrence instantiates a new WorkPlanOccurrence and sets the default values. +func NewWorkPlanOccurrence()(*WorkPlanOccurrence) { + m := &WorkPlanOccurrence{ + Entity: *NewEntity(), + } + return m +} +// CreateWorkPlanOccurrenceFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWorkPlanOccurrenceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWorkPlanOccurrence(), nil +} +// GetEnd gets the end property value. The end property +// returns a DateTimeTimeZoneable when successful +func (m *WorkPlanOccurrence) GetEnd()(DateTimeTimeZoneable) { + val, err := m.GetBackingStore().Get("end") + if err != nil { + panic(err) + } + if val != nil { + return val.(DateTimeTimeZoneable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *WorkPlanOccurrence) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["end"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateDateTimeTimeZoneFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetEnd(val.(DateTimeTimeZoneable)) + } + return nil + } + res["placeId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPlaceId(val) + } + return nil + } + res["recurrenceId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetRecurrenceId(val) + } + return nil + } + res["start"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateDateTimeTimeZoneFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetStart(val.(DateTimeTimeZoneable)) + } + return nil + } + res["timeOffDetails"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateTimeOffDetailsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetTimeOffDetails(val.(TimeOffDetailsable)) + } + return nil + } + res["workLocationType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseWorkLocationType) + if err != nil { + return err + } + if val != nil { + m.SetWorkLocationType(val.(*WorkLocationType)) + } + return nil + } + return res +} +// GetPlaceId gets the placeId property value. Identifier of a place from the Microsoft Graph Places Directory API. Only applicable when workLocationType is set to office. +// returns a *string when successful +func (m *WorkPlanOccurrence) GetPlaceId()(*string) { + val, err := m.GetBackingStore().Get("placeId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetRecurrenceId gets the recurrenceId property value. The identifier of the parent recurrence pattern that generated this occurrence. The value is null for time-off occurrences because they don't have a parent recurrence. +// returns a *string when successful +func (m *WorkPlanOccurrence) GetRecurrenceId()(*string) { + val, err := m.GetBackingStore().Get("recurrenceId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetStart gets the start property value. The start property +// returns a DateTimeTimeZoneable when successful +func (m *WorkPlanOccurrence) GetStart()(DateTimeTimeZoneable) { + val, err := m.GetBackingStore().Get("start") + if err != nil { + panic(err) + } + if val != nil { + return val.(DateTimeTimeZoneable) + } + return nil +} +// GetTimeOffDetails gets the timeOffDetails property value. The details about the time off. Only applicable when workLocationType is set to timeOff. +// returns a TimeOffDetailsable when successful +func (m *WorkPlanOccurrence) GetTimeOffDetails()(TimeOffDetailsable) { + val, err := m.GetBackingStore().Get("timeOffDetails") + if err != nil { + panic(err) + } + if val != nil { + return val.(TimeOffDetailsable) + } + return nil +} +// GetWorkLocationType gets the workLocationType property value. The workLocationType property +// returns a *WorkLocationType when successful +func (m *WorkPlanOccurrence) GetWorkLocationType()(*WorkLocationType) { + val, err := m.GetBackingStore().Get("workLocationType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*WorkLocationType) + } + return nil +} +// Serialize serializes information the current object +func (m *WorkPlanOccurrence) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("end", m.GetEnd()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("placeId", m.GetPlaceId()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("recurrenceId", m.GetRecurrenceId()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("start", m.GetStart()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("timeOffDetails", m.GetTimeOffDetails()) + if err != nil { + return err + } + } + if m.GetWorkLocationType() != nil { + cast := (*m.GetWorkLocationType()).String() + err = writer.WriteStringValue("workLocationType", &cast) + if err != nil { + return err + } + } + return nil +} +// SetEnd sets the end property value. The end property +func (m *WorkPlanOccurrence) SetEnd(value DateTimeTimeZoneable)() { + err := m.GetBackingStore().Set("end", value) + if err != nil { + panic(err) + } +} +// SetPlaceId sets the placeId property value. Identifier of a place from the Microsoft Graph Places Directory API. Only applicable when workLocationType is set to office. +func (m *WorkPlanOccurrence) SetPlaceId(value *string)() { + err := m.GetBackingStore().Set("placeId", value) + if err != nil { + panic(err) + } +} +// SetRecurrenceId sets the recurrenceId property value. The identifier of the parent recurrence pattern that generated this occurrence. The value is null for time-off occurrences because they don't have a parent recurrence. +func (m *WorkPlanOccurrence) SetRecurrenceId(value *string)() { + err := m.GetBackingStore().Set("recurrenceId", value) + if err != nil { + panic(err) + } +} +// SetStart sets the start property value. The start property +func (m *WorkPlanOccurrence) SetStart(value DateTimeTimeZoneable)() { + err := m.GetBackingStore().Set("start", value) + if err != nil { + panic(err) + } +} +// SetTimeOffDetails sets the timeOffDetails property value. The details about the time off. Only applicable when workLocationType is set to timeOff. +func (m *WorkPlanOccurrence) SetTimeOffDetails(value TimeOffDetailsable)() { + err := m.GetBackingStore().Set("timeOffDetails", value) + if err != nil { + panic(err) + } +} +// SetWorkLocationType sets the workLocationType property value. The workLocationType property +func (m *WorkPlanOccurrence) SetWorkLocationType(value *WorkLocationType)() { + err := m.GetBackingStore().Set("workLocationType", value) + if err != nil { + panic(err) + } +} +type WorkPlanOccurrenceable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetEnd()(DateTimeTimeZoneable) + GetPlaceId()(*string) + GetRecurrenceId()(*string) + GetStart()(DateTimeTimeZoneable) + GetTimeOffDetails()(TimeOffDetailsable) + GetWorkLocationType()(*WorkLocationType) + SetEnd(value DateTimeTimeZoneable)() + SetPlaceId(value *string)() + SetRecurrenceId(value *string)() + SetStart(value DateTimeTimeZoneable)() + SetTimeOffDetails(value TimeOffDetailsable)() + SetWorkLocationType(value *WorkLocationType)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_plan_occurrence_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_plan_occurrence_collection_response.go new file mode 100644 index 0000000000..5eb3d2dbbf --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_plan_occurrence_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type WorkPlanOccurrenceCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewWorkPlanOccurrenceCollectionResponse instantiates a new WorkPlanOccurrenceCollectionResponse and sets the default values. +func NewWorkPlanOccurrenceCollectionResponse()(*WorkPlanOccurrenceCollectionResponse) { + m := &WorkPlanOccurrenceCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateWorkPlanOccurrenceCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWorkPlanOccurrenceCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWorkPlanOccurrenceCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *WorkPlanOccurrenceCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateWorkPlanOccurrenceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]WorkPlanOccurrenceable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(WorkPlanOccurrenceable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []WorkPlanOccurrenceable when successful +func (m *WorkPlanOccurrenceCollectionResponse) GetValue()([]WorkPlanOccurrenceable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]WorkPlanOccurrenceable) + } + return nil +} +// Serialize serializes information the current object +func (m *WorkPlanOccurrenceCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *WorkPlanOccurrenceCollectionResponse) SetValue(value []WorkPlanOccurrenceable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type WorkPlanOccurrenceCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]WorkPlanOccurrenceable) + SetValue(value []WorkPlanOccurrenceable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_plan_recurrence.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_plan_recurrence.go new file mode 100644 index 0000000000..a640370d0d --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_plan_recurrence.go @@ -0,0 +1,228 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type WorkPlanRecurrence struct { + Entity +} +// NewWorkPlanRecurrence instantiates a new WorkPlanRecurrence and sets the default values. +func NewWorkPlanRecurrence()(*WorkPlanRecurrence) { + m := &WorkPlanRecurrence{ + Entity: *NewEntity(), + } + return m +} +// CreateWorkPlanRecurrenceFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWorkPlanRecurrenceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWorkPlanRecurrence(), nil +} +// GetEnd gets the end property value. The end property +// returns a DateTimeTimeZoneable when successful +func (m *WorkPlanRecurrence) GetEnd()(DateTimeTimeZoneable) { + val, err := m.GetBackingStore().Get("end") + if err != nil { + panic(err) + } + if val != nil { + return val.(DateTimeTimeZoneable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *WorkPlanRecurrence) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["end"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateDateTimeTimeZoneFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetEnd(val.(DateTimeTimeZoneable)) + } + return nil + } + res["placeId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPlaceId(val) + } + return nil + } + res["recurrence"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreatePatternedRecurrenceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetRecurrence(val.(PatternedRecurrenceable)) + } + return nil + } + res["start"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateDateTimeTimeZoneFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetStart(val.(DateTimeTimeZoneable)) + } + return nil + } + res["workLocationType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseWorkLocationType) + if err != nil { + return err + } + if val != nil { + m.SetWorkLocationType(val.(*WorkLocationType)) + } + return nil + } + return res +} +// GetPlaceId gets the placeId property value. Identifier of a place from the Microsoft Graph Places Directory API. Only applicable when workLocationType is set to office. +// returns a *string when successful +func (m *WorkPlanRecurrence) GetPlaceId()(*string) { + val, err := m.GetBackingStore().Get("placeId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetRecurrence gets the recurrence property value. The recurrence property +// returns a PatternedRecurrenceable when successful +func (m *WorkPlanRecurrence) GetRecurrence()(PatternedRecurrenceable) { + val, err := m.GetBackingStore().Get("recurrence") + if err != nil { + panic(err) + } + if val != nil { + return val.(PatternedRecurrenceable) + } + return nil +} +// GetStart gets the start property value. The start property +// returns a DateTimeTimeZoneable when successful +func (m *WorkPlanRecurrence) GetStart()(DateTimeTimeZoneable) { + val, err := m.GetBackingStore().Get("start") + if err != nil { + panic(err) + } + if val != nil { + return val.(DateTimeTimeZoneable) + } + return nil +} +// GetWorkLocationType gets the workLocationType property value. The workLocationType property +// returns a *WorkLocationType when successful +func (m *WorkPlanRecurrence) GetWorkLocationType()(*WorkLocationType) { + val, err := m.GetBackingStore().Get("workLocationType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*WorkLocationType) + } + return nil +} +// Serialize serializes information the current object +func (m *WorkPlanRecurrence) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("end", m.GetEnd()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("placeId", m.GetPlaceId()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("recurrence", m.GetRecurrence()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("start", m.GetStart()) + if err != nil { + return err + } + } + if m.GetWorkLocationType() != nil { + cast := (*m.GetWorkLocationType()).String() + err = writer.WriteStringValue("workLocationType", &cast) + if err != nil { + return err + } + } + return nil +} +// SetEnd sets the end property value. The end property +func (m *WorkPlanRecurrence) SetEnd(value DateTimeTimeZoneable)() { + err := m.GetBackingStore().Set("end", value) + if err != nil { + panic(err) + } +} +// SetPlaceId sets the placeId property value. Identifier of a place from the Microsoft Graph Places Directory API. Only applicable when workLocationType is set to office. +func (m *WorkPlanRecurrence) SetPlaceId(value *string)() { + err := m.GetBackingStore().Set("placeId", value) + if err != nil { + panic(err) + } +} +// SetRecurrence sets the recurrence property value. The recurrence property +func (m *WorkPlanRecurrence) SetRecurrence(value PatternedRecurrenceable)() { + err := m.GetBackingStore().Set("recurrence", value) + if err != nil { + panic(err) + } +} +// SetStart sets the start property value. The start property +func (m *WorkPlanRecurrence) SetStart(value DateTimeTimeZoneable)() { + err := m.GetBackingStore().Set("start", value) + if err != nil { + panic(err) + } +} +// SetWorkLocationType sets the workLocationType property value. The workLocationType property +func (m *WorkPlanRecurrence) SetWorkLocationType(value *WorkLocationType)() { + err := m.GetBackingStore().Set("workLocationType", value) + if err != nil { + panic(err) + } +} +type WorkPlanRecurrenceable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetEnd()(DateTimeTimeZoneable) + GetPlaceId()(*string) + GetRecurrence()(PatternedRecurrenceable) + GetStart()(DateTimeTimeZoneable) + GetWorkLocationType()(*WorkLocationType) + SetEnd(value DateTimeTimeZoneable)() + SetPlaceId(value *string)() + SetRecurrence(value PatternedRecurrenceable)() + SetStart(value DateTimeTimeZoneable)() + SetWorkLocationType(value *WorkLocationType)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_plan_recurrence_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_plan_recurrence_collection_response.go new file mode 100644 index 0000000000..492d6a3815 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/work_plan_recurrence_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type WorkPlanRecurrenceCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewWorkPlanRecurrenceCollectionResponse instantiates a new WorkPlanRecurrenceCollectionResponse and sets the default values. +func NewWorkPlanRecurrenceCollectionResponse()(*WorkPlanRecurrenceCollectionResponse) { + m := &WorkPlanRecurrenceCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateWorkPlanRecurrenceCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWorkPlanRecurrenceCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWorkPlanRecurrenceCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *WorkPlanRecurrenceCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateWorkPlanRecurrenceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]WorkPlanRecurrenceable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(WorkPlanRecurrenceable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []WorkPlanRecurrenceable when successful +func (m *WorkPlanRecurrenceCollectionResponse) GetValue()([]WorkPlanRecurrenceable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]WorkPlanRecurrenceable) + } + return nil +} +// Serialize serializes information the current object +func (m *WorkPlanRecurrenceCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *WorkPlanRecurrenceCollectionResponse) SetValue(value []WorkPlanRecurrenceable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type WorkPlanRecurrenceCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]WorkPlanRecurrenceable) + SetValue(value []WorkPlanRecurrenceable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workbook_application.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workbook_application.go index 0bdd226187..30c812943c 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workbook_application.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workbook_application.go @@ -22,7 +22,7 @@ func NewWorkbookApplication()(*WorkbookApplication) { func CreateWorkbookApplicationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewWorkbookApplication(), nil } -// GetCalculationMode gets the calculationMode property value. Returns the calculation mode used in the workbook. Possible values are: Automatic, AutomaticExceptTables, Manual. +// GetCalculationMode gets the calculationMode property value. Returns the calculation mode used in the workbook. The possible values are: Automatic, AutomaticExceptTables, Manual. // returns a *string when successful func (m *WorkbookApplication) GetCalculationMode()(*string) { val, err := m.GetBackingStore().Get("calculationMode") @@ -64,7 +64,7 @@ func (m *WorkbookApplication) Serialize(writer i878a80d2330e89d26896388a3f487eef } return nil } -// SetCalculationMode sets the calculationMode property value. Returns the calculation mode used in the workbook. Possible values are: Automatic, AutomaticExceptTables, Manual. +// SetCalculationMode sets the calculationMode property value. Returns the calculation mode used in the workbook. The possible values are: Automatic, AutomaticExceptTables, Manual. func (m *WorkbookApplication) SetCalculationMode(value *string)() { err := m.GetBackingStore().Set("calculationMode", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workbook_named_item.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workbook_named_item.go index ecc99f44ed..51cd28ec22 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workbook_named_item.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workbook_named_item.go @@ -134,7 +134,7 @@ func (m *WorkbookNamedItem) GetScope()(*string) { } return nil } -// GetTypeEscaped gets the type property value. The type of reference is associated with the name. Possible values are: String, Integer, Double, Boolean, Range. Read-only. +// GetTypeEscaped gets the type property value. The type of reference is associated with the name. The possible values are: String, Integer, Double, Boolean, Range. Read-only. // returns a *string when successful func (m *WorkbookNamedItem) GetTypeEscaped()(*string) { val, err := m.GetBackingStore().Get("typeEscaped") @@ -253,7 +253,7 @@ func (m *WorkbookNamedItem) SetScope(value *string)() { panic(err) } } -// SetTypeEscaped sets the type property value. The type of reference is associated with the name. Possible values are: String, Integer, Double, Boolean, Range. Read-only. +// SetTypeEscaped sets the type property value. The type of reference is associated with the name. The possible values are: String, Integer, Double, Boolean, Range. Read-only. func (m *WorkbookNamedItem) SetTypeEscaped(value *string)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workbook_range_format.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workbook_range_format.go index fba0f2aa6d..663423ffd1 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workbook_range_format.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workbook_range_format.go @@ -172,7 +172,7 @@ func (m *WorkbookRangeFormat) GetFont()(WorkbookRangeFontable) { } return nil } -// GetHorizontalAlignment gets the horizontalAlignment property value. The horizontal alignment for the specified object. Possible values are: General, Left, Center, Right, Fill, Justify, CenterAcrossSelection, Distributed. +// GetHorizontalAlignment gets the horizontalAlignment property value. The horizontal alignment for the specified object. The possible values are: General, Left, Center, Right, Fill, Justify, CenterAcrossSelection, Distributed. // returns a *string when successful func (m *WorkbookRangeFormat) GetHorizontalAlignment()(*string) { val, err := m.GetBackingStore().Get("horizontalAlignment") @@ -208,7 +208,7 @@ func (m *WorkbookRangeFormat) GetRowHeight()(*float64) { } return nil } -// GetVerticalAlignment gets the verticalAlignment property value. The vertical alignment for the specified object. Possible values are: Top, Center, Bottom, Justify, Distributed. +// GetVerticalAlignment gets the verticalAlignment property value. The vertical alignment for the specified object. The possible values are: Top, Center, Bottom, Justify, Distributed. // returns a *string when successful func (m *WorkbookRangeFormat) GetVerticalAlignment()(*string) { val, err := m.GetBackingStore().Get("verticalAlignment") @@ -328,7 +328,7 @@ func (m *WorkbookRangeFormat) SetFont(value WorkbookRangeFontable)() { panic(err) } } -// SetHorizontalAlignment sets the horizontalAlignment property value. The horizontal alignment for the specified object. Possible values are: General, Left, Center, Right, Fill, Justify, CenterAcrossSelection, Distributed. +// SetHorizontalAlignment sets the horizontalAlignment property value. The horizontal alignment for the specified object. The possible values are: General, Left, Center, Right, Fill, Justify, CenterAcrossSelection, Distributed. func (m *WorkbookRangeFormat) SetHorizontalAlignment(value *string)() { err := m.GetBackingStore().Set("horizontalAlignment", value) if err != nil { @@ -349,7 +349,7 @@ func (m *WorkbookRangeFormat) SetRowHeight(value *float64)() { panic(err) } } -// SetVerticalAlignment sets the verticalAlignment property value. The vertical alignment for the specified object. Possible values are: Top, Center, Bottom, Justify, Distributed. +// SetVerticalAlignment sets the verticalAlignment property value. The vertical alignment for the specified object. The possible values are: Top, Center, Bottom, Justify, Distributed. func (m *WorkbookRangeFormat) SetVerticalAlignment(value *string)() { err := m.GetBackingStore().Set("verticalAlignment", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workbook_table.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workbook_table.go index 221d810c19..ce599271b8 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workbook_table.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workbook_table.go @@ -324,7 +324,7 @@ func (m *WorkbookTable) GetSort()(WorkbookTableSortable) { } return nil } -// GetStyle gets the style property value. A constant value that represents the Table style. Possible values are: TableStyleLight1 through TableStyleLight21, TableStyleMedium1 through TableStyleMedium28, TableStyleStyleDark1 through TableStyleStyleDark11. A custom user-defined style present in the workbook can also be specified. +// GetStyle gets the style property value. A constant value that represents the Table style. The possible values are: TableStyleLight1 through TableStyleLight21, TableStyleMedium1 through TableStyleMedium28, TableStyleStyleDark1 through TableStyleStyleDark11. A custom user-defined style present in the workbook can also be specified. // returns a *string when successful func (m *WorkbookTable) GetStyle()(*string) { val, err := m.GetBackingStore().Get("style") @@ -536,7 +536,7 @@ func (m *WorkbookTable) SetSort(value WorkbookTableSortable)() { panic(err) } } -// SetStyle sets the style property value. A constant value that represents the Table style. Possible values are: TableStyleLight1 through TableStyleLight21, TableStyleMedium1 through TableStyleMedium28, TableStyleStyleDark1 through TableStyleStyleDark11. A custom user-defined style present in the workbook can also be specified. +// SetStyle sets the style property value. A constant value that represents the Table style. The possible values are: TableStyleLight1 through TableStyleLight21, TableStyleMedium1 through TableStyleMedium28, TableStyleStyleDark1 through TableStyleStyleDark11. A custom user-defined style present in the workbook can also be specified. func (m *WorkbookTable) SetStyle(value *string)() { err := m.GetBackingStore().Set("style", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workforce_integration.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workforce_integration.go index 17a9d256df..8d1be7b2a0 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workforce_integration.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workforce_integration.go @@ -48,7 +48,7 @@ func (m *WorkforceIntegration) GetDisplayName()(*string) { } return nil } -// GetEligibilityFilteringEnabledEntities gets the eligibilityFilteringEnabledEntities property value. Support to view eligibility-filtered results. Possible values are: none, swapRequest, offerShiftRequest, unknownFutureValue, timeOffReason. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: timeOffReason. +// GetEligibilityFilteringEnabledEntities gets the eligibilityFilteringEnabledEntities property value. Support to view eligibility-filtered results. The possible values are: none, swapRequest, offerShiftRequest, unknownFutureValue, timeOffReason. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: timeOffReason. // returns a *EligibilityFilteringEnabledEntities when successful func (m *WorkforceIntegration) GetEligibilityFilteringEnabledEntities()(*EligibilityFilteringEnabledEntities) { val, err := m.GetBackingStore().Get("eligibilityFilteringEnabledEntities") @@ -160,7 +160,7 @@ func (m *WorkforceIntegration) GetIsActive()(*bool) { } return nil } -// GetSupportedEntities gets the supportedEntities property value. The Shifts entities supported for synchronous change notifications. Shifts call back to the provided URL when client changes occur to the entities specified in this property. By default, no entities are supported for change notifications. Possible values are: none, shift, swapRequest, userShiftPreferences, openShift, openShiftRequest, offerShiftRequest, unknownFutureValue, timeCard, timeOffReason, timeOff, timeOffRequest. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeCard , timeOffReason , timeOff , timeOffRequest. +// GetSupportedEntities gets the supportedEntities property value. The Shifts entities supported for synchronous change notifications. Shifts call back to the provided URL when client changes occur to the entities specified in this property. By default, no entities are supported for change notifications. The possible values are: none, shift, swapRequest, userShiftPreferences, openShift, openShiftRequest, offerShiftRequest, unknownFutureValue, timeCard, timeOffReason, timeOff, timeOffRequest. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeCard , timeOffReason , timeOff , timeOffRequest. // returns a *WorkforceIntegrationSupportedEntities when successful func (m *WorkforceIntegration) GetSupportedEntities()(*WorkforceIntegrationSupportedEntities) { val, err := m.GetBackingStore().Get("supportedEntities") @@ -250,7 +250,7 @@ func (m *WorkforceIntegration) SetDisplayName(value *string)() { panic(err) } } -// SetEligibilityFilteringEnabledEntities sets the eligibilityFilteringEnabledEntities property value. Support to view eligibility-filtered results. Possible values are: none, swapRequest, offerShiftRequest, unknownFutureValue, timeOffReason. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: timeOffReason. +// SetEligibilityFilteringEnabledEntities sets the eligibilityFilteringEnabledEntities property value. Support to view eligibility-filtered results. The possible values are: none, swapRequest, offerShiftRequest, unknownFutureValue, timeOffReason. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: timeOffReason. func (m *WorkforceIntegration) SetEligibilityFilteringEnabledEntities(value *EligibilityFilteringEnabledEntities)() { err := m.GetBackingStore().Set("eligibilityFilteringEnabledEntities", value) if err != nil { @@ -271,7 +271,7 @@ func (m *WorkforceIntegration) SetIsActive(value *bool)() { panic(err) } } -// SetSupportedEntities sets the supportedEntities property value. The Shifts entities supported for synchronous change notifications. Shifts call back to the provided URL when client changes occur to the entities specified in this property. By default, no entities are supported for change notifications. Possible values are: none, shift, swapRequest, userShiftPreferences, openShift, openShiftRequest, offerShiftRequest, unknownFutureValue, timeCard, timeOffReason, timeOff, timeOffRequest. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeCard , timeOffReason , timeOff , timeOffRequest. +// SetSupportedEntities sets the supportedEntities property value. The Shifts entities supported for synchronous change notifications. Shifts call back to the provided URL when client changes occur to the entities specified in this property. By default, no entities are supported for change notifications. The possible values are: none, shift, swapRequest, userShiftPreferences, openShift, openShiftRequest, offerShiftRequest, unknownFutureValue, timeCard, timeOffReason, timeOff, timeOffRequest. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeCard , timeOffReason , timeOff , timeOffRequest. func (m *WorkforceIntegration) SetSupportedEntities(value *WorkforceIntegrationSupportedEntities)() { err := m.GetBackingStore().Set("supportedEntities", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workforce_integration_encryption.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workforce_integration_encryption.go index 9d6862102a..ad220d4c54 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workforce_integration_encryption.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workforce_integration_encryption.go @@ -91,7 +91,7 @@ func (m *WorkforceIntegrationEncryption) GetOdataType()(*string) { } return nil } -// GetProtocol gets the protocol property value. Possible values are: sharedSecret, unknownFutureValue. +// GetProtocol gets the protocol property value. The possible values are: sharedSecret, unknownFutureValue. // returns a *WorkforceIntegrationEncryptionProtocol when successful func (m *WorkforceIntegrationEncryption) GetProtocol()(*WorkforceIntegrationEncryptionProtocol) { val, err := m.GetBackingStore().Get("protocol") @@ -162,7 +162,7 @@ func (m *WorkforceIntegrationEncryption) SetOdataType(value *string)() { panic(err) } } -// SetProtocol sets the protocol property value. Possible values are: sharedSecret, unknownFutureValue. +// SetProtocol sets the protocol property value. The possible values are: sharedSecret, unknownFutureValue. func (m *WorkforceIntegrationEncryption) SetProtocol(value *WorkforceIntegrationEncryptionProtocol)() { err := m.GetBackingStore().Set("protocol", value) if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workspace.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workspace.go new file mode 100644 index 0000000000..9b2931add2 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workspace.go @@ -0,0 +1,266 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type Workspace struct { + Place +} +// NewWorkspace instantiates a new Workspace and sets the default values. +func NewWorkspace()(*Workspace) { + m := &Workspace{ + Place: *NewPlace(), + } + odataTypeValue := "#microsoft.graph.workspace" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateWorkspaceFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWorkspaceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWorkspace(), nil +} +// GetCapacity gets the capacity property value. The maximum number of individual desks within a workspace. +// returns a *int32 when successful +func (m *Workspace) GetCapacity()(*int32) { + val, err := m.GetBackingStore().Get("capacity") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetDisplayDeviceName gets the displayDeviceName property value. The name of the display device (for example, monitor or projector) that is available in the workspace. +// returns a *string when successful +func (m *Workspace) GetDisplayDeviceName()(*string) { + val, err := m.GetBackingStore().Get("displayDeviceName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetEmailAddress gets the emailAddress property value. The email address that is associated with the workspace. This email address is used for booking. +// returns a *string when successful +func (m *Workspace) GetEmailAddress()(*string) { + val, err := m.GetBackingStore().Get("emailAddress") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *Workspace) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Place.GetFieldDeserializers() + res["capacity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetCapacity(val) + } + return nil + } + res["displayDeviceName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayDeviceName(val) + } + return nil + } + res["emailAddress"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetEmailAddress(val) + } + return nil + } + res["mode"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreatePlaceModeFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetMode(val.(PlaceModeable)) + } + return nil + } + res["nickname"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetNickname(val) + } + return nil + } + res["placeId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPlaceId(val) + } + return nil + } + return res +} +// GetMode gets the mode property value. The mode for a workspace. The supported modes are:reservablePlaceMode - Workspaces that can be booked in advance using desk pool reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks in the workspace, the desk is booked for you, assuming that the peripheral has been associated with the desk in the Microsoft Teams Rooms pro management portal.unavailablePlaceMode - Workspaces that are taken down for maintenance or marked as not reservable. +// returns a PlaceModeable when successful +func (m *Workspace) GetMode()(PlaceModeable) { + val, err := m.GetBackingStore().Get("mode") + if err != nil { + panic(err) + } + if val != nil { + return val.(PlaceModeable) + } + return nil +} +// GetNickname gets the nickname property value. A short, friendly name for the workspace, often used for easier identification or display in the UI. +// returns a *string when successful +func (m *Workspace) GetNickname()(*string) { + val, err := m.GetBackingStore().Get("nickname") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPlaceId gets the placeId property value. An alternative immutable unique identifier of the workspace. Read-only. +// returns a *string when successful +func (m *Workspace) GetPlaceId()(*string) { + val, err := m.GetBackingStore().Get("placeId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *Workspace) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Place.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteInt32Value("capacity", m.GetCapacity()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("displayDeviceName", m.GetDisplayDeviceName()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("emailAddress", m.GetEmailAddress()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("mode", m.GetMode()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("nickname", m.GetNickname()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("placeId", m.GetPlaceId()) + if err != nil { + return err + } + } + return nil +} +// SetCapacity sets the capacity property value. The maximum number of individual desks within a workspace. +func (m *Workspace) SetCapacity(value *int32)() { + err := m.GetBackingStore().Set("capacity", value) + if err != nil { + panic(err) + } +} +// SetDisplayDeviceName sets the displayDeviceName property value. The name of the display device (for example, monitor or projector) that is available in the workspace. +func (m *Workspace) SetDisplayDeviceName(value *string)() { + err := m.GetBackingStore().Set("displayDeviceName", value) + if err != nil { + panic(err) + } +} +// SetEmailAddress sets the emailAddress property value. The email address that is associated with the workspace. This email address is used for booking. +func (m *Workspace) SetEmailAddress(value *string)() { + err := m.GetBackingStore().Set("emailAddress", value) + if err != nil { + panic(err) + } +} +// SetMode sets the mode property value. The mode for a workspace. The supported modes are:reservablePlaceMode - Workspaces that can be booked in advance using desk pool reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks in the workspace, the desk is booked for you, assuming that the peripheral has been associated with the desk in the Microsoft Teams Rooms pro management portal.unavailablePlaceMode - Workspaces that are taken down for maintenance or marked as not reservable. +func (m *Workspace) SetMode(value PlaceModeable)() { + err := m.GetBackingStore().Set("mode", value) + if err != nil { + panic(err) + } +} +// SetNickname sets the nickname property value. A short, friendly name for the workspace, often used for easier identification or display in the UI. +func (m *Workspace) SetNickname(value *string)() { + err := m.GetBackingStore().Set("nickname", value) + if err != nil { + panic(err) + } +} +// SetPlaceId sets the placeId property value. An alternative immutable unique identifier of the workspace. Read-only. +func (m *Workspace) SetPlaceId(value *string)() { + err := m.GetBackingStore().Set("placeId", value) + if err != nil { + panic(err) + } +} +type Workspaceable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + Placeable + GetCapacity()(*int32) + GetDisplayDeviceName()(*string) + GetEmailAddress()(*string) + GetMode()(PlaceModeable) + GetNickname()(*string) + GetPlaceId()(*string) + SetCapacity(value *int32)() + SetDisplayDeviceName(value *string)() + SetEmailAddress(value *string)() + SetMode(value PlaceModeable)() + SetNickname(value *string)() + SetPlaceId(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workspace_collection_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workspace_collection_response.go new file mode 100644 index 0000000000..56b5c43d3f --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/models/workspace_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type WorkspaceCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewWorkspaceCollectionResponse instantiates a new WorkspaceCollectionResponse and sets the default values. +func NewWorkspaceCollectionResponse()(*WorkspaceCollectionResponse) { + m := &WorkspaceCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateWorkspaceCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWorkspaceCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWorkspaceCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *WorkspaceCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateWorkspaceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Workspaceable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Workspaceable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Workspaceable when successful +func (m *WorkspaceCollectionResponse) GetValue()([]Workspaceable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Workspaceable) + } + return nil +} +// Serialize serializes information the current object +func (m *WorkspaceCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *WorkspaceCollectionResponse) SetValue(value []Workspaceable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type WorkspaceCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]Workspaceable) + SetValue(value []Workspaceable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/organization/item_branding_localizations_item_banner_logo_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/organization/item_branding_localizations_item_banner_logo_request_builder.go index f343be25b3..2f5a039bb9 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/organization/item_branding_localizations_item_banner_logo_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/organization/item_branding_localizations_item_banner_logo_request_builder.go @@ -63,12 +63,12 @@ func (m *ItemBrandingLocalizationsItemBannerLogoRequestBuilder) Delete(ctx conte } return nil } -// Get read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. +// Get retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/organizationalbrandinglocalization-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/organizationalbranding-get?view=graph-rest-1.0 func (m *ItemBrandingLocalizationsItemBannerLogoRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemBrandingLocalizationsItemBannerLogoRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -120,7 +120,7 @@ func (m *ItemBrandingLocalizationsItemBannerLogoRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. +// ToGetRequestInformation retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. // returns a *RequestInformation when successful func (m *ItemBrandingLocalizationsItemBannerLogoRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemBrandingLocalizationsItemBannerLogoRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/organization/item_restore_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/organization/item_restore_request_builder.go index 3a7717d11a..af74b05ace 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/organization/item_restore_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/organization/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/organization/item_set_mobile_device_management_authority_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/organization/item_set_mobile_device_management_authority_request_builder.go index f4f5077572..bf5d4266af 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/organization/item_set_mobile_device_management_authority_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/organization/item_set_mobile_device_management_authority_request_builder.go @@ -37,9 +37,6 @@ func NewItemSetMobileDeviceManagementAuthorityRequestBuilder(rawUrl string, requ // Deprecated: This method is obsolete. Use PostAsSetMobileDeviceManagementAuthorityPostResponse instead. // returns a ItemSetMobileDeviceManagementAuthorityResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-organization-setmobiledevicemanagementauthority?view=graph-rest-1.0 func (m *ItemSetMobileDeviceManagementAuthorityRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemSetMobileDeviceManagementAuthorityRequestBuilderPostRequestConfiguration)(ItemSetMobileDeviceManagementAuthorityResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -60,9 +57,6 @@ func (m *ItemSetMobileDeviceManagementAuthorityRequestBuilder) Post(ctx context. // PostAsSetMobileDeviceManagementAuthorityPostResponse set mobile device management authority // returns a ItemSetMobileDeviceManagementAuthorityPostResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-organization-setmobiledevicemanagementauthority?view=graph-rest-1.0 func (m *ItemSetMobileDeviceManagementAuthorityRequestBuilder) PostAsSetMobileDeviceManagementAuthorityPostResponse(ctx context.Context, requestConfiguration *ItemSetMobileDeviceManagementAuthorityRequestBuilderPostRequestConfiguration)(ItemSetMobileDeviceManagementAuthorityPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/organization/organization_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/organization/organization_item_request_builder.go index 33f812a4ab..a5e286c7aa 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/organization/organization_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/organization/organization_item_request_builder.go @@ -21,7 +21,7 @@ type OrganizationItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// OrganizationItemRequestBuilderGetQueryParameters read properties and relationships of the organization object. +// OrganizationItemRequestBuilderGetQueryParameters get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. type OrganizationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -98,12 +98,12 @@ func (m *OrganizationItemRequestBuilder) Delete(ctx context.Context, requestConf func (m *OrganizationItemRequestBuilder) Extensions()(*ItemExtensionsRequestBuilder) { return NewItemExtensionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the organization object. +// Get get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. // returns a Organizationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-organization-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/organization-get?view=graph-rest-1.0 func (m *OrganizationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *OrganizationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Organizationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -175,7 +175,7 @@ func (m *OrganizationItemRequestBuilder) ToDeleteRequestInformation(ctx context. requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the organization object. +// ToGetRequestInformation get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. // returns a *RequestInformation when successful func (m *OrganizationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OrganizationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/permissiongrants/item_restore_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/permissiongrants/item_restore_request_builder.go index e0e1fa076f..55f9d5ed35 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/permissiongrants/item_restore_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/permissiongrants/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_building_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_building_count_request_builder.go new file mode 100644 index 0000000000..95f3882ed9 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_building_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// GraphBuildingCountRequestBuilder provides operations to count the resources in the collection. +type GraphBuildingCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// GraphBuildingCountRequestBuilderGetQueryParameters get the number of the resource +type GraphBuildingCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// GraphBuildingCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type GraphBuildingCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *GraphBuildingCountRequestBuilderGetQueryParameters +} +// NewGraphBuildingCountRequestBuilderInternal instantiates a new GraphBuildingCountRequestBuilder and sets the default values. +func NewGraphBuildingCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphBuildingCountRequestBuilder) { + m := &GraphBuildingCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/graph.building/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewGraphBuildingCountRequestBuilder instantiates a new GraphBuildingCountRequestBuilder and sets the default values. +func NewGraphBuildingCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphBuildingCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewGraphBuildingCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *GraphBuildingCountRequestBuilder) Get(ctx context.Context, requestConfiguration *GraphBuildingCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *GraphBuildingCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GraphBuildingCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *GraphBuildingCountRequestBuilder when successful +func (m *GraphBuildingCountRequestBuilder) WithUrl(rawUrl string)(*GraphBuildingCountRequestBuilder) { + return NewGraphBuildingCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_building_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_building_request_builder.go new file mode 100644 index 0000000000..7d9a800c13 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_building_request_builder.go @@ -0,0 +1,104 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// GraphBuildingRequestBuilder casts the previous resource to building. +type GraphBuildingRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// GraphBuildingRequestBuilderGetQueryParameters get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. +type GraphBuildingRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// GraphBuildingRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type GraphBuildingRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *GraphBuildingRequestBuilderGetQueryParameters +} +// NewGraphBuildingRequestBuilderInternal instantiates a new GraphBuildingRequestBuilder and sets the default values. +func NewGraphBuildingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphBuildingRequestBuilder) { + m := &GraphBuildingRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/graph.building{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewGraphBuildingRequestBuilder instantiates a new GraphBuildingRequestBuilder and sets the default values. +func NewGraphBuildingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphBuildingRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewGraphBuildingRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *GraphBuildingCountRequestBuilder when successful +func (m *GraphBuildingRequestBuilder) Count()(*GraphBuildingCountRequestBuilder) { + return NewGraphBuildingCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. +// returns a BuildingCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/place-list?view=graph-rest-1.0 +func (m *GraphBuildingRequestBuilder) Get(ctx context.Context, requestConfiguration *GraphBuildingRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BuildingCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateBuildingCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BuildingCollectionResponseable), nil +} +// ToGetRequestInformation get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. +// returns a *RequestInformation when successful +func (m *GraphBuildingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GraphBuildingRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *GraphBuildingRequestBuilder when successful +func (m *GraphBuildingRequestBuilder) WithUrl(rawUrl string)(*GraphBuildingRequestBuilder) { + return NewGraphBuildingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_desk_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_desk_count_request_builder.go new file mode 100644 index 0000000000..86a81e8968 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_desk_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// GraphDeskCountRequestBuilder provides operations to count the resources in the collection. +type GraphDeskCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// GraphDeskCountRequestBuilderGetQueryParameters get the number of the resource +type GraphDeskCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// GraphDeskCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type GraphDeskCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *GraphDeskCountRequestBuilderGetQueryParameters +} +// NewGraphDeskCountRequestBuilderInternal instantiates a new GraphDeskCountRequestBuilder and sets the default values. +func NewGraphDeskCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphDeskCountRequestBuilder) { + m := &GraphDeskCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/graph.desk/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewGraphDeskCountRequestBuilder instantiates a new GraphDeskCountRequestBuilder and sets the default values. +func NewGraphDeskCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphDeskCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewGraphDeskCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *GraphDeskCountRequestBuilder) Get(ctx context.Context, requestConfiguration *GraphDeskCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *GraphDeskCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GraphDeskCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *GraphDeskCountRequestBuilder when successful +func (m *GraphDeskCountRequestBuilder) WithUrl(rawUrl string)(*GraphDeskCountRequestBuilder) { + return NewGraphDeskCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_desk_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_desk_request_builder.go new file mode 100644 index 0000000000..4d8605ace7 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_desk_request_builder.go @@ -0,0 +1,104 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// GraphDeskRequestBuilder casts the previous resource to desk. +type GraphDeskRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// GraphDeskRequestBuilderGetQueryParameters get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. +type GraphDeskRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// GraphDeskRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type GraphDeskRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *GraphDeskRequestBuilderGetQueryParameters +} +// NewGraphDeskRequestBuilderInternal instantiates a new GraphDeskRequestBuilder and sets the default values. +func NewGraphDeskRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphDeskRequestBuilder) { + m := &GraphDeskRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/graph.desk{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewGraphDeskRequestBuilder instantiates a new GraphDeskRequestBuilder and sets the default values. +func NewGraphDeskRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphDeskRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewGraphDeskRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *GraphDeskCountRequestBuilder when successful +func (m *GraphDeskRequestBuilder) Count()(*GraphDeskCountRequestBuilder) { + return NewGraphDeskCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. +// returns a DeskCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/place-list?view=graph-rest-1.0 +func (m *GraphDeskRequestBuilder) Get(ctx context.Context, requestConfiguration *GraphDeskRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeskCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateDeskCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeskCollectionResponseable), nil +} +// ToGetRequestInformation get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. +// returns a *RequestInformation when successful +func (m *GraphDeskRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GraphDeskRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *GraphDeskRequestBuilder when successful +func (m *GraphDeskRequestBuilder) WithUrl(rawUrl string)(*GraphDeskRequestBuilder) { + return NewGraphDeskRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_floor_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_floor_count_request_builder.go new file mode 100644 index 0000000000..b518f36637 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_floor_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// GraphFloorCountRequestBuilder provides operations to count the resources in the collection. +type GraphFloorCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// GraphFloorCountRequestBuilderGetQueryParameters get the number of the resource +type GraphFloorCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// GraphFloorCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type GraphFloorCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *GraphFloorCountRequestBuilderGetQueryParameters +} +// NewGraphFloorCountRequestBuilderInternal instantiates a new GraphFloorCountRequestBuilder and sets the default values. +func NewGraphFloorCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphFloorCountRequestBuilder) { + m := &GraphFloorCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/graph.floor/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewGraphFloorCountRequestBuilder instantiates a new GraphFloorCountRequestBuilder and sets the default values. +func NewGraphFloorCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphFloorCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewGraphFloorCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *GraphFloorCountRequestBuilder) Get(ctx context.Context, requestConfiguration *GraphFloorCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *GraphFloorCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GraphFloorCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *GraphFloorCountRequestBuilder when successful +func (m *GraphFloorCountRequestBuilder) WithUrl(rawUrl string)(*GraphFloorCountRequestBuilder) { + return NewGraphFloorCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_floor_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_floor_request_builder.go new file mode 100644 index 0000000000..ae8473fdfe --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_floor_request_builder.go @@ -0,0 +1,104 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// GraphFloorRequestBuilder casts the previous resource to floor. +type GraphFloorRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// GraphFloorRequestBuilderGetQueryParameters get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. +type GraphFloorRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// GraphFloorRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type GraphFloorRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *GraphFloorRequestBuilderGetQueryParameters +} +// NewGraphFloorRequestBuilderInternal instantiates a new GraphFloorRequestBuilder and sets the default values. +func NewGraphFloorRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphFloorRequestBuilder) { + m := &GraphFloorRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/graph.floor{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewGraphFloorRequestBuilder instantiates a new GraphFloorRequestBuilder and sets the default values. +func NewGraphFloorRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphFloorRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewGraphFloorRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *GraphFloorCountRequestBuilder when successful +func (m *GraphFloorRequestBuilder) Count()(*GraphFloorCountRequestBuilder) { + return NewGraphFloorCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. +// returns a FloorCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/place-list?view=graph-rest-1.0 +func (m *GraphFloorRequestBuilder) Get(ctx context.Context, requestConfiguration *GraphFloorRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FloorCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFloorCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FloorCollectionResponseable), nil +} +// ToGetRequestInformation get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. +// returns a *RequestInformation when successful +func (m *GraphFloorRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GraphFloorRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *GraphFloorRequestBuilder when successful +func (m *GraphFloorRequestBuilder) WithUrl(rawUrl string)(*GraphFloorRequestBuilder) { + return NewGraphFloorRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_room_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_room_request_builder.go index d56a4ae228..99dbe4a61b 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_room_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_room_request_builder.go @@ -14,7 +14,7 @@ import ( type GraphRoomRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// GraphRoomRequestBuilderGetQueryParameters get a collection of the specified type of place objects defined in the tenant. For example, you can get all the rooms, all the room lists, or the rooms in a specific room list in the tenant. A place object can be one of the following types: Both room and roomList are derived from the place object. By default, this operation returns 100 places per page. Compared with the findRooms and findRoomLists functions, this operation returns a richer payload for rooms and room lists. See details for how they compare. +// GraphRoomRequestBuilderGetQueryParameters get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. type GraphRoomRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -60,7 +60,7 @@ func NewGraphRoomRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2633 func (m *GraphRoomRequestBuilder) Count()(*GraphRoomCountRequestBuilder) { return NewGraphRoomCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a collection of the specified type of place objects defined in the tenant. For example, you can get all the rooms, all the room lists, or the rooms in a specific room list in the tenant. A place object can be one of the following types: Both room and roomList are derived from the place object. By default, this operation returns 100 places per page. Compared with the findRooms and findRoomLists functions, this operation returns a richer payload for rooms and room lists. See details for how they compare. +// Get get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. // returns a RoomCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -83,7 +83,7 @@ func (m *GraphRoomRequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoomCollectionResponseable), nil } -// ToGetRequestInformation get a collection of the specified type of place objects defined in the tenant. For example, you can get all the rooms, all the room lists, or the rooms in a specific room list in the tenant. A place object can be one of the following types: Both room and roomList are derived from the place object. By default, this operation returns 100 places per page. Compared with the findRooms and findRoomLists functions, this operation returns a richer payload for rooms and room lists. See details for how they compare. +// ToGetRequestInformation get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. // returns a *RequestInformation when successful func (m *GraphRoomRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GraphRoomRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_section_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_section_count_request_builder.go new file mode 100644 index 0000000000..ac33c2923e --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_section_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// GraphSectionCountRequestBuilder provides operations to count the resources in the collection. +type GraphSectionCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// GraphSectionCountRequestBuilderGetQueryParameters get the number of the resource +type GraphSectionCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// GraphSectionCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type GraphSectionCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *GraphSectionCountRequestBuilderGetQueryParameters +} +// NewGraphSectionCountRequestBuilderInternal instantiates a new GraphSectionCountRequestBuilder and sets the default values. +func NewGraphSectionCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphSectionCountRequestBuilder) { + m := &GraphSectionCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/graph.section/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewGraphSectionCountRequestBuilder instantiates a new GraphSectionCountRequestBuilder and sets the default values. +func NewGraphSectionCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphSectionCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewGraphSectionCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *GraphSectionCountRequestBuilder) Get(ctx context.Context, requestConfiguration *GraphSectionCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *GraphSectionCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GraphSectionCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *GraphSectionCountRequestBuilder when successful +func (m *GraphSectionCountRequestBuilder) WithUrl(rawUrl string)(*GraphSectionCountRequestBuilder) { + return NewGraphSectionCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_section_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_section_request_builder.go new file mode 100644 index 0000000000..3f28db3e73 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_section_request_builder.go @@ -0,0 +1,104 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// GraphSectionRequestBuilder casts the previous resource to section. +type GraphSectionRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// GraphSectionRequestBuilderGetQueryParameters get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. +type GraphSectionRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// GraphSectionRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type GraphSectionRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *GraphSectionRequestBuilderGetQueryParameters +} +// NewGraphSectionRequestBuilderInternal instantiates a new GraphSectionRequestBuilder and sets the default values. +func NewGraphSectionRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphSectionRequestBuilder) { + m := &GraphSectionRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/graph.section{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewGraphSectionRequestBuilder instantiates a new GraphSectionRequestBuilder and sets the default values. +func NewGraphSectionRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphSectionRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewGraphSectionRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *GraphSectionCountRequestBuilder when successful +func (m *GraphSectionRequestBuilder) Count()(*GraphSectionCountRequestBuilder) { + return NewGraphSectionCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. +// returns a SectionCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/place-list?view=graph-rest-1.0 +func (m *GraphSectionRequestBuilder) Get(ctx context.Context, requestConfiguration *GraphSectionRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSectionCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionCollectionResponseable), nil +} +// ToGetRequestInformation get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. +// returns a *RequestInformation when successful +func (m *GraphSectionRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GraphSectionRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *GraphSectionRequestBuilder when successful +func (m *GraphSectionRequestBuilder) WithUrl(rawUrl string)(*GraphSectionRequestBuilder) { + return NewGraphSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_workspace_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_workspace_count_request_builder.go new file mode 100644 index 0000000000..a0daf9b856 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_workspace_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// GraphWorkspaceCountRequestBuilder provides operations to count the resources in the collection. +type GraphWorkspaceCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// GraphWorkspaceCountRequestBuilderGetQueryParameters get the number of the resource +type GraphWorkspaceCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// GraphWorkspaceCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type GraphWorkspaceCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *GraphWorkspaceCountRequestBuilderGetQueryParameters +} +// NewGraphWorkspaceCountRequestBuilderInternal instantiates a new GraphWorkspaceCountRequestBuilder and sets the default values. +func NewGraphWorkspaceCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphWorkspaceCountRequestBuilder) { + m := &GraphWorkspaceCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/graph.workspace/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewGraphWorkspaceCountRequestBuilder instantiates a new GraphWorkspaceCountRequestBuilder and sets the default values. +func NewGraphWorkspaceCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphWorkspaceCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewGraphWorkspaceCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *GraphWorkspaceCountRequestBuilder) Get(ctx context.Context, requestConfiguration *GraphWorkspaceCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *GraphWorkspaceCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GraphWorkspaceCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *GraphWorkspaceCountRequestBuilder when successful +func (m *GraphWorkspaceCountRequestBuilder) WithUrl(rawUrl string)(*GraphWorkspaceCountRequestBuilder) { + return NewGraphWorkspaceCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_workspace_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_workspace_request_builder.go new file mode 100644 index 0000000000..9ff6a9886c --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/graph_workspace_request_builder.go @@ -0,0 +1,104 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// GraphWorkspaceRequestBuilder casts the previous resource to workspace. +type GraphWorkspaceRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// GraphWorkspaceRequestBuilderGetQueryParameters get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. +type GraphWorkspaceRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// GraphWorkspaceRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type GraphWorkspaceRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *GraphWorkspaceRequestBuilderGetQueryParameters +} +// NewGraphWorkspaceRequestBuilderInternal instantiates a new GraphWorkspaceRequestBuilder and sets the default values. +func NewGraphWorkspaceRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphWorkspaceRequestBuilder) { + m := &GraphWorkspaceRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/graph.workspace{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewGraphWorkspaceRequestBuilder instantiates a new GraphWorkspaceRequestBuilder and sets the default values. +func NewGraphWorkspaceRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphWorkspaceRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewGraphWorkspaceRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *GraphWorkspaceCountRequestBuilder when successful +func (m *GraphWorkspaceRequestBuilder) Count()(*GraphWorkspaceCountRequestBuilder) { + return NewGraphWorkspaceCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. +// returns a WorkspaceCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/place-list?view=graph-rest-1.0 +func (m *GraphWorkspaceRequestBuilder) Get(ctx context.Context, requestConfiguration *GraphWorkspaceRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkspaceCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWorkspaceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkspaceCollectionResponseable), nil +} +// ToGetRequestInformation get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. +// returns a *RequestInformation when successful +func (m *GraphWorkspaceRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GraphWorkspaceRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *GraphWorkspaceRequestBuilder when successful +func (m *GraphWorkspaceRequestBuilder) WithUrl(rawUrl string)(*GraphWorkspaceRequestBuilder) { + return NewGraphWorkspaceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_check_ins_check_in_claim_calendar_event_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_check_ins_check_in_claim_calendar_event_item_request_builder.go new file mode 100644 index 0000000000..527bc96de1 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_check_ins_check_in_claim_calendar_event_item_request_builder.go @@ -0,0 +1,163 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters read the properties and relationships of a checkInClaim object. This API provides the check-in status for a specific place, such as a desk, room, or workspace, associated with a particular reservation. +type ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +} +// ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal instantiates a new ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + m := &ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemCheckInsCheckInClaimCalendarEventItemRequestBuilder instantiates a new ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property checkIns for places +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get read the properties and relationships of a checkInClaim object. This API provides the check-in status for a specific place, such as a desk, room, or workspace, associated with a particular reservation. +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/checkinclaim-get?view=graph-rest-1.0 +func (m *ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// Patch update the navigation property checkIns in places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToDeleteRequestInformation delete navigation property checkIns for places +// returns a *RequestInformation when successful +func (m *ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation read the properties and relationships of a checkInClaim object. This API provides the check-in status for a specific place, such as a desk, room, or workspace, associated with a particular reservation. +// returns a *RequestInformation when successful +func (m *ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property checkIns in places +// returns a *RequestInformation when successful +func (m *ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + return NewItemCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_check_ins_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_check_ins_count_request_builder.go new file mode 100644 index 0000000000..fdbb6759cd --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_check_ins_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemCheckInsCountRequestBuilder provides operations to count the resources in the collection. +type ItemCheckInsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemCheckInsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemCheckInsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemCheckInsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemCheckInsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemCheckInsCountRequestBuilderGetQueryParameters +} +// NewItemCheckInsCountRequestBuilderInternal instantiates a new ItemCheckInsCountRequestBuilder and sets the default values. +func NewItemCheckInsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCheckInsCountRequestBuilder) { + m := &ItemCheckInsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/checkIns/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemCheckInsCountRequestBuilder instantiates a new ItemCheckInsCountRequestBuilder and sets the default values. +func NewItemCheckInsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCheckInsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemCheckInsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemCheckInsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCheckInsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemCheckInsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCheckInsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemCheckInsCountRequestBuilder when successful +func (m *ItemCheckInsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCheckInsCountRequestBuilder) { + return NewItemCheckInsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_check_ins_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_check_ins_request_builder.go new file mode 100644 index 0000000000..ae876e0917 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_check_ins_request_builder.go @@ -0,0 +1,158 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemCheckInsRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemCheckInsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemCheckInsRequestBuilderGetQueryParameters read the properties and relationships of a checkInClaim object. This API provides the check-in status for a specific place, such as a desk, room, or workspace, associated with a particular reservation. +type ItemCheckInsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemCheckInsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemCheckInsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemCheckInsRequestBuilderGetQueryParameters +} +// ItemCheckInsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemCheckInsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByCheckInClaimCalendarEventId provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemCheckInsRequestBuilder) ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId string)(*ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if checkInClaimCalendarEventId != "" { + urlTplParams["checkInClaim%2DcalendarEventId"] = checkInClaimCalendarEventId + } + return NewItemCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemCheckInsRequestBuilderInternal instantiates a new ItemCheckInsRequestBuilder and sets the default values. +func NewItemCheckInsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCheckInsRequestBuilder) { + m := &ItemCheckInsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemCheckInsRequestBuilder instantiates a new ItemCheckInsRequestBuilder and sets the default values. +func NewItemCheckInsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCheckInsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemCheckInsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemCheckInsCountRequestBuilder when successful +func (m *ItemCheckInsRequestBuilder) Count()(*ItemCheckInsCountRequestBuilder) { + return NewItemCheckInsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get read the properties and relationships of a checkInClaim object. This API provides the check-in status for a specific place, such as a desk, room, or workspace, associated with a particular reservation. +// returns a CheckInClaimCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemCheckInsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCheckInsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable), nil +} +// Post create a new checkInClaim object to record the check-in status for a specific place, such as a desk or a room, associated with a specific calendar reservation. This check-in confirms that the reserved space is in use and prevents automatic release if auto-release policies are configured for that place. +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/place-post-checkins?view=graph-rest-1.0 +func (m *ItemCheckInsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemCheckInsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToGetRequestInformation read the properties and relationships of a checkInClaim object. This API provides the check-in status for a specific place, such as a desk, room, or workspace, associated with a particular reservation. +// returns a *RequestInformation when successful +func (m *ItemCheckInsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCheckInsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create a new checkInClaim object to record the check-in status for a specific place, such as a desk or a room, associated with a specific calendar reservation. This check-in confirms that the reserved space is in use and prevents automatic release if auto-release policies are configured for that place. +// returns a *RequestInformation when successful +func (m *ItemCheckInsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemCheckInsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemCheckInsRequestBuilder when successful +func (m *ItemCheckInsRequestBuilder) WithUrl(rawUrl string)(*ItemCheckInsRequestBuilder) { + return NewItemCheckInsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_descendants_get_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_descendants_get_response.go new file mode 100644 index 0000000000..27ba5dedf9 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_descendants_get_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type ItemDescendantsGetResponse struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +} +// NewItemDescendantsGetResponse instantiates a new ItemDescendantsGetResponse and sets the default values. +func NewItemDescendantsGetResponse()(*ItemDescendantsGetResponse) { + m := &ItemDescendantsGetResponse{ + BaseCollectionPaginationCountResponse: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateItemDescendantsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemDescendantsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemDescendantsGetResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemDescendantsGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreatePlaceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Placeable when successful +func (m *ItemDescendantsGetResponse) GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemDescendantsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *ItemDescendantsGetResponse) SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemDescendantsGetResponseable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable) + SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_descendants_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_descendants_request_builder.go new file mode 100644 index 0000000000..d5c689965e --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_descendants_request_builder.go @@ -0,0 +1,116 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemDescendantsRequestBuilder provides operations to call the descendants method. +type ItemDescendantsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemDescendantsRequestBuilderGetQueryParameters invoke function descendants +type ItemDescendantsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemDescendantsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemDescendantsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemDescendantsRequestBuilderGetQueryParameters +} +// NewItemDescendantsRequestBuilderInternal instantiates a new ItemDescendantsRequestBuilder and sets the default values. +func NewItemDescendantsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDescendantsRequestBuilder) { + m := &ItemDescendantsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/descendants(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemDescendantsRequestBuilder instantiates a new ItemDescendantsRequestBuilder and sets the default values. +func NewItemDescendantsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDescendantsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemDescendantsRequestBuilderInternal(urlParams, requestAdapter) +} +// Get invoke function descendants +// Deprecated: This method is obsolete. Use GetAsDescendantsGetResponse instead. +// returns a ItemDescendantsResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemDescendantsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDescendantsRequestBuilderGetRequestConfiguration)(ItemDescendantsResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemDescendantsResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemDescendantsResponseable), nil +} +// GetAsDescendantsGetResponse invoke function descendants +// returns a ItemDescendantsGetResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemDescendantsRequestBuilder) GetAsDescendantsGetResponse(ctx context.Context, requestConfiguration *ItemDescendantsRequestBuilderGetRequestConfiguration)(ItemDescendantsGetResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemDescendantsGetResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemDescendantsGetResponseable), nil +} +// ToGetRequestInformation invoke function descendants +// returns a *RequestInformation when successful +func (m *ItemDescendantsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDescendantsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemDescendantsRequestBuilder when successful +func (m *ItemDescendantsRequestBuilder) WithUrl(rawUrl string)(*ItemDescendantsRequestBuilder) { + return NewItemDescendantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_descendants_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_descendants_response.go new file mode 100644 index 0000000000..ac9f6fdd20 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_descendants_response.go @@ -0,0 +1,30 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemDescendantsGetResponseable instead. +type ItemDescendantsResponse struct { + ItemDescendantsGetResponse +} +// NewItemDescendantsResponse instantiates a new ItemDescendantsResponse and sets the default values. +func NewItemDescendantsResponse()(*ItemDescendantsResponse) { + m := &ItemDescendantsResponse{ + ItemDescendantsGetResponse: *NewItemDescendantsGetResponse(), + } + return m +} +// CreateItemDescendantsResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemDescendantsResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemDescendantsResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemDescendantsGetResponseable instead. +type ItemDescendantsResponseable interface { + ItemDescendantsGetResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_check_ins_check_in_claim_calendar_event_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_check_ins_check_in_claim_calendar_event_item_request_builder.go new file mode 100644 index 0000000000..9e53ee1454 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_check_ins_check_in_claim_calendar_event_item_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +type ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +} +// ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal instantiates a new ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + m := &ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder instantiates a new ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property checkIns for places +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// Patch update the navigation property checkIns in places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToDeleteRequestInformation delete navigation property checkIns for places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property checkIns in places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + return NewItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/telecom_expense_management_partners_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_check_ins_count_request_builder.go similarity index 53% rename from vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/telecom_expense_management_partners_count_request_builder.go rename to vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_check_ins_count_request_builder.go index 2011985a09..bbeda26a94 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/devicemanagement/telecom_expense_management_partners_count_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_check_ins_count_request_builder.go @@ -1,7 +1,7 @@ // Code generated by Microsoft Kiota - DO NOT EDIT. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -package devicemanagement +package places import ( "context" @@ -9,43 +9,43 @@ import ( ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" ) -// TelecomExpenseManagementPartnersCountRequestBuilder provides operations to count the resources in the collection. -type TelecomExpenseManagementPartnersCountRequestBuilder struct { +// ItemGraphBuildingCheckInsCountRequestBuilder provides operations to count the resources in the collection. +type ItemGraphBuildingCheckInsCountRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TelecomExpenseManagementPartnersCountRequestBuilderGetQueryParameters get the number of the resource -type TelecomExpenseManagementPartnersCountRequestBuilderGetQueryParameters struct { +// ItemGraphBuildingCheckInsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemGraphBuildingCheckInsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` // Search items by search phrases Search *string `uriparametername:"%24search"` } -// TelecomExpenseManagementPartnersCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type TelecomExpenseManagementPartnersCountRequestBuilderGetRequestConfiguration struct { +// ItemGraphBuildingCheckInsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingCheckInsCountRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters - QueryParameters *TelecomExpenseManagementPartnersCountRequestBuilderGetQueryParameters + QueryParameters *ItemGraphBuildingCheckInsCountRequestBuilderGetQueryParameters } -// NewTelecomExpenseManagementPartnersCountRequestBuilderInternal instantiates a new TelecomExpenseManagementPartnersCountRequestBuilder and sets the default values. -func NewTelecomExpenseManagementPartnersCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TelecomExpenseManagementPartnersCountRequestBuilder) { - m := &TelecomExpenseManagementPartnersCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/telecomExpenseManagementPartners/$count{?%24filter,%24search}", pathParameters), +// NewItemGraphBuildingCheckInsCountRequestBuilderInternal instantiates a new ItemGraphBuildingCheckInsCountRequestBuilder and sets the default values. +func NewItemGraphBuildingCheckInsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingCheckInsCountRequestBuilder) { + m := &ItemGraphBuildingCheckInsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/checkIns/$count{?%24filter,%24search}", pathParameters), } return m } -// NewTelecomExpenseManagementPartnersCountRequestBuilder instantiates a new TelecomExpenseManagementPartnersCountRequestBuilder and sets the default values. -func NewTelecomExpenseManagementPartnersCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TelecomExpenseManagementPartnersCountRequestBuilder) { +// NewItemGraphBuildingCheckInsCountRequestBuilder instantiates a new ItemGraphBuildingCheckInsCountRequestBuilder and sets the default values. +func NewItemGraphBuildingCheckInsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingCheckInsCountRequestBuilder) { urlParams := make(map[string]string) urlParams["request-raw-url"] = rawUrl - return NewTelecomExpenseManagementPartnersCountRequestBuilderInternal(urlParams, requestAdapter) + return NewItemGraphBuildingCheckInsCountRequestBuilderInternal(urlParams, requestAdapter) } // Get get the number of the resource // returns a *int32 when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -func (m *TelecomExpenseManagementPartnersCountRequestBuilder) Get(ctx context.Context, requestConfiguration *TelecomExpenseManagementPartnersCountRequestBuilderGetRequestConfiguration)(*int32, error) { +func (m *ItemGraphBuildingCheckInsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingCheckInsCountRequestBuilderGetRequestConfiguration)(*int32, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { return nil, err @@ -64,7 +64,7 @@ func (m *TelecomExpenseManagementPartnersCountRequestBuilder) Get(ctx context.Co } // ToGetRequestInformation get the number of the resource // returns a *RequestInformation when successful -func (m *TelecomExpenseManagementPartnersCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TelecomExpenseManagementPartnersCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { +func (m *ItemGraphBuildingCheckInsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingCheckInsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { @@ -77,7 +77,7 @@ func (m *TelecomExpenseManagementPartnersCountRequestBuilder) ToGetRequestInform return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -// returns a *TelecomExpenseManagementPartnersCountRequestBuilder when successful -func (m *TelecomExpenseManagementPartnersCountRequestBuilder) WithUrl(rawUrl string)(*TelecomExpenseManagementPartnersCountRequestBuilder) { - return NewTelecomExpenseManagementPartnersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +// returns a *ItemGraphBuildingCheckInsCountRequestBuilder when successful +func (m *ItemGraphBuildingCheckInsCountRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingCheckInsCountRequestBuilder) { + return NewItemGraphBuildingCheckInsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); } diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_check_ins_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_check_ins_request_builder.go new file mode 100644 index 0000000000..f2a2c9a48a --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_check_ins_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingCheckInsRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemGraphBuildingCheckInsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingCheckInsRequestBuilderGetQueryParameters a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +type ItemGraphBuildingCheckInsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemGraphBuildingCheckInsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingCheckInsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingCheckInsRequestBuilderGetQueryParameters +} +// ItemGraphBuildingCheckInsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingCheckInsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByCheckInClaimCalendarEventId provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemGraphBuildingCheckInsRequestBuilder) ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId string)(*ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if checkInClaimCalendarEventId != "" { + urlTplParams["checkInClaim%2DcalendarEventId"] = checkInClaimCalendarEventId + } + return NewItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphBuildingCheckInsRequestBuilderInternal instantiates a new ItemGraphBuildingCheckInsRequestBuilder and sets the default values. +func NewItemGraphBuildingCheckInsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingCheckInsRequestBuilder) { + m := &ItemGraphBuildingCheckInsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemGraphBuildingCheckInsRequestBuilder instantiates a new ItemGraphBuildingCheckInsRequestBuilder and sets the default values. +func NewItemGraphBuildingCheckInsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingCheckInsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingCheckInsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemGraphBuildingCheckInsCountRequestBuilder when successful +func (m *ItemGraphBuildingCheckInsRequestBuilder) Count()(*ItemGraphBuildingCheckInsCountRequestBuilder) { + return NewItemGraphBuildingCheckInsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a CheckInClaimCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingCheckInsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingCheckInsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable), nil +} +// Post create new navigation property to checkIns for places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingCheckInsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphBuildingCheckInsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToGetRequestInformation a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingCheckInsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingCheckInsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to checkIns for places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingCheckInsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphBuildingCheckInsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphBuildingCheckInsRequestBuilder when successful +func (m *ItemGraphBuildingCheckInsRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingCheckInsRequestBuilder) { + return NewItemGraphBuildingCheckInsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_footprints_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_footprints_count_request_builder.go new file mode 100644 index 0000000000..cb4c9d1c29 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_footprints_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapFootprintsCountRequestBuilder provides operations to count the resources in the collection. +type ItemGraphBuildingMapFootprintsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapFootprintsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemGraphBuildingMapFootprintsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemGraphBuildingMapFootprintsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapFootprintsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapFootprintsCountRequestBuilderGetQueryParameters +} +// NewItemGraphBuildingMapFootprintsCountRequestBuilderInternal instantiates a new ItemGraphBuildingMapFootprintsCountRequestBuilder and sets the default values. +func NewItemGraphBuildingMapFootprintsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapFootprintsCountRequestBuilder) { + m := &ItemGraphBuildingMapFootprintsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/footprints/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapFootprintsCountRequestBuilder instantiates a new ItemGraphBuildingMapFootprintsCountRequestBuilder and sets the default values. +func NewItemGraphBuildingMapFootprintsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapFootprintsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapFootprintsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapFootprintsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapFootprintsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapFootprintsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapFootprintsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphBuildingMapFootprintsCountRequestBuilder when successful +func (m *ItemGraphBuildingMapFootprintsCountRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapFootprintsCountRequestBuilder) { + return NewItemGraphBuildingMapFootprintsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_footprints_footprint_map_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_footprints_footprint_map_item_request_builder.go new file mode 100644 index 0000000000..5789c3cac2 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_footprints_footprint_map_item_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder provides operations to manage the footprints property of the microsoft.graph.buildingMap entity. +type ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderGetQueryParameters represents the approximate physical extent of a referenced building. It corresponds to footprint.geojson in IMDF format. +type ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderGetQueryParameters +} +// ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderInternal instantiates a new ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder and sets the default values. +func NewItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder) { + m := &ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/footprints/{footprintMap%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder instantiates a new ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder and sets the default values. +func NewItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property footprints for places +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get represents the approximate physical extent of a referenced building. It corresponds to footprint.geojson in IMDF format. +// returns a FootprintMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFootprintMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable), nil +} +// Patch update the navigation property footprints in places +// returns a FootprintMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable, requestConfiguration *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFootprintMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable), nil +} +// ToDeleteRequestInformation delete navigation property footprints for places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation represents the approximate physical extent of a referenced building. It corresponds to footprint.geojson in IMDF format. +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property footprints in places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable, requestConfiguration *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder when successful +func (m *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder) { + return NewItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_footprints_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_footprints_request_builder.go new file mode 100644 index 0000000000..4b63419126 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_footprints_request_builder.go @@ -0,0 +1,158 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapFootprintsRequestBuilder provides operations to manage the footprints property of the microsoft.graph.buildingMap entity. +type ItemGraphBuildingMapFootprintsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapFootprintsRequestBuilderGetQueryParameters get a list of footprintMap objects for building footprints and their properties. +type ItemGraphBuildingMapFootprintsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemGraphBuildingMapFootprintsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapFootprintsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapFootprintsRequestBuilderGetQueryParameters +} +// ItemGraphBuildingMapFootprintsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapFootprintsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByFootprintMapId provides operations to manage the footprints property of the microsoft.graph.buildingMap entity. +// returns a *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder when successful +func (m *ItemGraphBuildingMapFootprintsRequestBuilder) ByFootprintMapId(footprintMapId string)(*ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if footprintMapId != "" { + urlTplParams["footprintMap%2Did"] = footprintMapId + } + return NewItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphBuildingMapFootprintsRequestBuilderInternal instantiates a new ItemGraphBuildingMapFootprintsRequestBuilder and sets the default values. +func NewItemGraphBuildingMapFootprintsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapFootprintsRequestBuilder) { + m := &ItemGraphBuildingMapFootprintsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/footprints{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapFootprintsRequestBuilder instantiates a new ItemGraphBuildingMapFootprintsRequestBuilder and sets the default values. +func NewItemGraphBuildingMapFootprintsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapFootprintsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapFootprintsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemGraphBuildingMapFootprintsCountRequestBuilder when successful +func (m *ItemGraphBuildingMapFootprintsRequestBuilder) Count()(*ItemGraphBuildingMapFootprintsCountRequestBuilder) { + return NewItemGraphBuildingMapFootprintsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of footprintMap objects for building footprints and their properties. +// returns a FootprintMapCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/buildingmap-list-footprints?view=graph-rest-1.0 +func (m *ItemGraphBuildingMapFootprintsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapFootprintsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFootprintMapCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapCollectionResponseable), nil +} +// Post create new navigation property to footprints for places +// returns a FootprintMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapFootprintsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable, requestConfiguration *ItemGraphBuildingMapFootprintsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFootprintMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable), nil +} +// ToGetRequestInformation get a list of footprintMap objects for building footprints and their properties. +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapFootprintsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapFootprintsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to footprints for places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapFootprintsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable, requestConfiguration *ItemGraphBuildingMapFootprintsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphBuildingMapFootprintsRequestBuilder when successful +func (m *ItemGraphBuildingMapFootprintsRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapFootprintsRequestBuilder) { + return NewItemGraphBuildingMapFootprintsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_count_request_builder.go new file mode 100644 index 0000000000..32c10616af --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapLevelsCountRequestBuilder provides operations to count the resources in the collection. +type ItemGraphBuildingMapLevelsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapLevelsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemGraphBuildingMapLevelsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemGraphBuildingMapLevelsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapLevelsCountRequestBuilderGetQueryParameters +} +// NewItemGraphBuildingMapLevelsCountRequestBuilderInternal instantiates a new ItemGraphBuildingMapLevelsCountRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsCountRequestBuilder) { + m := &ItemGraphBuildingMapLevelsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapLevelsCountRequestBuilder instantiates a new ItemGraphBuildingMapLevelsCountRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapLevelsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphBuildingMapLevelsCountRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsCountRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapLevelsCountRequestBuilder) { + return NewItemGraphBuildingMapLevelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_fixtures_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_fixtures_count_request_builder.go new file mode 100644 index 0000000000..67bbbc276d --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_fixtures_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder provides operations to count the resources in the collection. +type ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderGetQueryParameters get the number of the resource +type ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderGetQueryParameters +} +// NewItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderInternal instantiates a new ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder) { + m := &ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/fixtures/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder instantiates a new ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder) { + return NewItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_fixtures_fixture_map_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_fixtures_fixture_map_item_request_builder.go new file mode 100644 index 0000000000..1d78b7f765 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_fixtures_fixture_map_item_request_builder.go @@ -0,0 +1,166 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder provides operations to manage the fixtures property of the microsoft.graph.levelMap entity. +type ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderGetQueryParameters collection of fixtures (such as furniture or equipment) on this level. Supports upsert. +type ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderGetQueryParameters +} +// ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderInternal instantiates a new ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder) { + m := &ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/fixtures/{fixtureMap%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder instantiates a new ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete a fixture on a specified floor. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/fixturemap-delete?view=graph-rest-1.0 +func (m *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get collection of fixtures (such as furniture or equipment) on this level. Supports upsert. +// returns a FixtureMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFixtureMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable), nil +} +// Patch update the properties of an existing fixtureMap object in IMDF format on a specified floor, or create one if it doesn't exist. +// returns a FixtureMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/fixturemap-update?view=graph-rest-1.0 +func (m *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable, requestConfiguration *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFixtureMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable), nil +} +// ToDeleteRequestInformation delete a fixture on a specified floor. +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation collection of fixtures (such as furniture or equipment) on this level. Supports upsert. +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the properties of an existing fixtureMap object in IMDF format on a specified floor, or create one if it doesn't exist. +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable, requestConfiguration *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder) { + return NewItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_fixtures_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_fixtures_request_builder.go new file mode 100644 index 0000000000..6a0d56b819 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_fixtures_request_builder.go @@ -0,0 +1,158 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapLevelsItemFixturesRequestBuilder provides operations to manage the fixtures property of the microsoft.graph.levelMap entity. +type ItemGraphBuildingMapLevelsItemFixturesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetQueryParameters get a list of the fixtureMap objects and their properties. +type ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetQueryParameters +} +// ItemGraphBuildingMapLevelsItemFixturesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemFixturesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByFixtureMapId provides operations to manage the fixtures property of the microsoft.graph.levelMap entity. +// returns a *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsItemFixturesRequestBuilder) ByFixtureMapId(fixtureMapId string)(*ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if fixtureMapId != "" { + urlTplParams["fixtureMap%2Did"] = fixtureMapId + } + return NewItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphBuildingMapLevelsItemFixturesRequestBuilderInternal instantiates a new ItemGraphBuildingMapLevelsItemFixturesRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemFixturesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemFixturesRequestBuilder) { + m := &ItemGraphBuildingMapLevelsItemFixturesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/fixtures{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapLevelsItemFixturesRequestBuilder instantiates a new ItemGraphBuildingMapLevelsItemFixturesRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemFixturesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemFixturesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapLevelsItemFixturesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsItemFixturesRequestBuilder) Count()(*ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder) { + return NewItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of the fixtureMap objects and their properties. +// returns a FixtureMapCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/levelmap-list-fixtures?view=graph-rest-1.0 +func (m *ItemGraphBuildingMapLevelsItemFixturesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFixtureMapCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapCollectionResponseable), nil +} +// Post create new navigation property to fixtures for places +// returns a FixtureMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsItemFixturesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable, requestConfiguration *ItemGraphBuildingMapLevelsItemFixturesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFixtureMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable), nil +} +// ToGetRequestInformation get a list of the fixtureMap objects and their properties. +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemFixturesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to fixtures for places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemFixturesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable, requestConfiguration *ItemGraphBuildingMapLevelsItemFixturesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphBuildingMapLevelsItemFixturesRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsItemFixturesRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapLevelsItemFixturesRequestBuilder) { + return NewItemGraphBuildingMapLevelsItemFixturesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_sections_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_sections_count_request_builder.go new file mode 100644 index 0000000000..7104abf462 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_sections_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder provides operations to count the resources in the collection. +type ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderGetQueryParameters +} +// NewItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderInternal instantiates a new ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder) { + m := &ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/sections/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder instantiates a new ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder) { + return NewItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_sections_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_sections_request_builder.go new file mode 100644 index 0000000000..c40e2d8aff --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_sections_request_builder.go @@ -0,0 +1,158 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapLevelsItemSectionsRequestBuilder provides operations to manage the sections property of the microsoft.graph.levelMap entity. +type ItemGraphBuildingMapLevelsItemSectionsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetQueryParameters get a list of the sectionMap objects and their properties. +type ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetQueryParameters +} +// ItemGraphBuildingMapLevelsItemSectionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemSectionsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BySectionMapId provides operations to manage the sections property of the microsoft.graph.levelMap entity. +// returns a *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsItemSectionsRequestBuilder) BySectionMapId(sectionMapId string)(*ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if sectionMapId != "" { + urlTplParams["sectionMap%2Did"] = sectionMapId + } + return NewItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphBuildingMapLevelsItemSectionsRequestBuilderInternal instantiates a new ItemGraphBuildingMapLevelsItemSectionsRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemSectionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemSectionsRequestBuilder) { + m := &ItemGraphBuildingMapLevelsItemSectionsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/sections{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapLevelsItemSectionsRequestBuilder instantiates a new ItemGraphBuildingMapLevelsItemSectionsRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemSectionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemSectionsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapLevelsItemSectionsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsItemSectionsRequestBuilder) Count()(*ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder) { + return NewItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of the sectionMap objects and their properties. +// returns a SectionMapCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/levelmap-list-sections?view=graph-rest-1.0 +func (m *ItemGraphBuildingMapLevelsItemSectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSectionMapCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapCollectionResponseable), nil +} +// Post create new navigation property to sections for places +// returns a SectionMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsItemSectionsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable, requestConfiguration *ItemGraphBuildingMapLevelsItemSectionsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSectionMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable), nil +} +// ToGetRequestInformation get a list of the sectionMap objects and their properties. +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemSectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to sections for places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemSectionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable, requestConfiguration *ItemGraphBuildingMapLevelsItemSectionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphBuildingMapLevelsItemSectionsRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsItemSectionsRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapLevelsItemSectionsRequestBuilder) { + return NewItemGraphBuildingMapLevelsItemSectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_sections_section_map_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_sections_section_map_item_request_builder.go new file mode 100644 index 0000000000..cc77be9b88 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_sections_section_map_item_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder provides operations to manage the sections property of the microsoft.graph.levelMap entity. +type ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderGetQueryParameters collection of sections (such as zones or partitions) on this level. Supports upsert. +type ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderGetQueryParameters +} +// ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderInternal instantiates a new ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder) { + m := &ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/sections/{sectionMap%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder instantiates a new ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property sections for places +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get collection of sections (such as zones or partitions) on this level. Supports upsert. +// returns a SectionMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSectionMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable), nil +} +// Patch update the navigation property sections in places +// returns a SectionMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable, requestConfiguration *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSectionMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable), nil +} +// ToDeleteRequestInformation delete navigation property sections for places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation collection of sections (such as zones or partitions) on this level. Supports upsert. +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property sections in places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable, requestConfiguration *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder) { + return NewItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_units_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_units_count_request_builder.go new file mode 100644 index 0000000000..04a5dd3f17 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_units_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder provides operations to count the resources in the collection. +type ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderGetQueryParameters +} +// NewItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderInternal instantiates a new ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder) { + m := &ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/units/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder instantiates a new ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder) { + return NewItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_units_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_units_request_builder.go new file mode 100644 index 0000000000..6b016b6ee1 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_units_request_builder.go @@ -0,0 +1,158 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapLevelsItemUnitsRequestBuilder provides operations to manage the units property of the microsoft.graph.levelMap entity. +type ItemGraphBuildingMapLevelsItemUnitsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetQueryParameters get a list of the unitMap objects and their properties. +type ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetQueryParameters +} +// ItemGraphBuildingMapLevelsItemUnitsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemUnitsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByUnitMapId provides operations to manage the units property of the microsoft.graph.levelMap entity. +// returns a *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsItemUnitsRequestBuilder) ByUnitMapId(unitMapId string)(*ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if unitMapId != "" { + urlTplParams["unitMap%2Did"] = unitMapId + } + return NewItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphBuildingMapLevelsItemUnitsRequestBuilderInternal instantiates a new ItemGraphBuildingMapLevelsItemUnitsRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemUnitsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemUnitsRequestBuilder) { + m := &ItemGraphBuildingMapLevelsItemUnitsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/units{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapLevelsItemUnitsRequestBuilder instantiates a new ItemGraphBuildingMapLevelsItemUnitsRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemUnitsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemUnitsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapLevelsItemUnitsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsItemUnitsRequestBuilder) Count()(*ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder) { + return NewItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of the unitMap objects and their properties. +// returns a UnitMapCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/levelmap-list-units?view=graph-rest-1.0 +func (m *ItemGraphBuildingMapLevelsItemUnitsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateUnitMapCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapCollectionResponseable), nil +} +// Post create new navigation property to units for places +// returns a UnitMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsItemUnitsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable, requestConfiguration *ItemGraphBuildingMapLevelsItemUnitsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateUnitMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable), nil +} +// ToGetRequestInformation get a list of the unitMap objects and their properties. +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemUnitsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to units for places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemUnitsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable, requestConfiguration *ItemGraphBuildingMapLevelsItemUnitsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphBuildingMapLevelsItemUnitsRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsItemUnitsRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapLevelsItemUnitsRequestBuilder) { + return NewItemGraphBuildingMapLevelsItemUnitsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_units_unit_map_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_units_unit_map_item_request_builder.go new file mode 100644 index 0000000000..f176b7beb1 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_item_units_unit_map_item_request_builder.go @@ -0,0 +1,166 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder provides operations to manage the units property of the microsoft.graph.levelMap entity. +type ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderGetQueryParameters collection of units (such as rooms or offices) on this level. Supports upsert. +type ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderGetQueryParameters +} +// ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderInternal instantiates a new ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder) { + m := &ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/units/{unitMap%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder instantiates a new ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete a unitMap object. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unitmap-delete?view=graph-rest-1.0 +func (m *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get collection of units (such as rooms or offices) on this level. Supports upsert. +// returns a UnitMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateUnitMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable), nil +} +// Patch update the properties of an existing unitMap object in IMDF format on a specified floor, or create one if it doesn't exist. +// returns a UnitMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unitmap-update?view=graph-rest-1.0 +func (m *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable, requestConfiguration *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateUnitMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable), nil +} +// ToDeleteRequestInformation delete a unitMap object. +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation collection of units (such as rooms or offices) on this level. Supports upsert. +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the properties of an existing unitMap object in IMDF format on a specified floor, or create one if it doesn't exist. +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable, requestConfiguration *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder) { + return NewItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_level_map_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_level_map_item_request_builder.go new file mode 100644 index 0000000000..f88f1a8a72 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_level_map_item_request_builder.go @@ -0,0 +1,175 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder provides operations to manage the levels property of the microsoft.graph.buildingMap entity. +type ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderGetQueryParameters represents a physical floor structure within a building. It corresponds to level.geojson in IMDF format. +type ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderGetQueryParameters +} +// ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemGraphBuildingMapLevelsLevelMapItemRequestBuilderInternal instantiates a new ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsLevelMapItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder) { + m := &ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapLevelsLevelMapItemRequestBuilder instantiates a new ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsLevelMapItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapLevelsLevelMapItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property levels for places +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Fixtures provides operations to manage the fixtures property of the microsoft.graph.levelMap entity. +// returns a *ItemGraphBuildingMapLevelsItemFixturesRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder) Fixtures()(*ItemGraphBuildingMapLevelsItemFixturesRequestBuilder) { + return NewItemGraphBuildingMapLevelsItemFixturesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get represents a physical floor structure within a building. It corresponds to level.geojson in IMDF format. +// returns a LevelMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateLevelMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable), nil +} +// Patch update the navigation property levels in places +// returns a LevelMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable, requestConfiguration *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateLevelMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable), nil +} +// Sections provides operations to manage the sections property of the microsoft.graph.levelMap entity. +// returns a *ItemGraphBuildingMapLevelsItemSectionsRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder) Sections()(*ItemGraphBuildingMapLevelsItemSectionsRequestBuilder) { + return NewItemGraphBuildingMapLevelsItemSectionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property levels for places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation represents a physical floor structure within a building. It corresponds to level.geojson in IMDF format. +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property levels in places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable, requestConfiguration *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// Units provides operations to manage the units property of the microsoft.graph.levelMap entity. +// returns a *ItemGraphBuildingMapLevelsItemUnitsRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder) Units()(*ItemGraphBuildingMapLevelsItemUnitsRequestBuilder) { + return NewItemGraphBuildingMapLevelsItemUnitsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder) { + return NewItemGraphBuildingMapLevelsLevelMapItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_request_builder.go new file mode 100644 index 0000000000..617318bcd2 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_levels_request_builder.go @@ -0,0 +1,158 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapLevelsRequestBuilder provides operations to manage the levels property of the microsoft.graph.buildingMap entity. +type ItemGraphBuildingMapLevelsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapLevelsRequestBuilderGetQueryParameters get a list of the levelMap objects and their properties. +type ItemGraphBuildingMapLevelsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemGraphBuildingMapLevelsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapLevelsRequestBuilderGetQueryParameters +} +// ItemGraphBuildingMapLevelsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByLevelMapId provides operations to manage the levels property of the microsoft.graph.buildingMap entity. +// returns a *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsRequestBuilder) ByLevelMapId(levelMapId string)(*ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if levelMapId != "" { + urlTplParams["levelMap%2Did"] = levelMapId + } + return NewItemGraphBuildingMapLevelsLevelMapItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphBuildingMapLevelsRequestBuilderInternal instantiates a new ItemGraphBuildingMapLevelsRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsRequestBuilder) { + m := &ItemGraphBuildingMapLevelsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapLevelsRequestBuilder instantiates a new ItemGraphBuildingMapLevelsRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapLevelsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemGraphBuildingMapLevelsCountRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsRequestBuilder) Count()(*ItemGraphBuildingMapLevelsCountRequestBuilder) { + return NewItemGraphBuildingMapLevelsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of the levelMap objects and their properties. +// returns a LevelMapCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/buildingmap-list-levels?view=graph-rest-1.0 +func (m *ItemGraphBuildingMapLevelsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateLevelMapCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapCollectionResponseable), nil +} +// Post create new navigation property to levels for places +// returns a LevelMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable, requestConfiguration *ItemGraphBuildingMapLevelsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateLevelMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable), nil +} +// ToGetRequestInformation get a list of the levelMap objects and their properties. +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to levels for places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable, requestConfiguration *ItemGraphBuildingMapLevelsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphBuildingMapLevelsRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapLevelsRequestBuilder) { + return NewItemGraphBuildingMapLevelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_request_builder.go new file mode 100644 index 0000000000..6cf567a3da --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_map_request_builder.go @@ -0,0 +1,176 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapRequestBuilder provides operations to manage the map property of the microsoft.graph.building entity. +type ItemGraphBuildingMapRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemGraphBuildingMapRequestBuilderGetQueryParameters get the map of a building in IMDF format. +type ItemGraphBuildingMapRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphBuildingMapRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapRequestBuilderGetQueryParameters +} +// ItemGraphBuildingMapRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemGraphBuildingMapRequestBuilderInternal instantiates a new ItemGraphBuildingMapRequestBuilder and sets the default values. +func NewItemGraphBuildingMapRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapRequestBuilder) { + m := &ItemGraphBuildingMapRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapRequestBuilder instantiates a new ItemGraphBuildingMapRequestBuilder and sets the default values. +func NewItemGraphBuildingMapRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete the map of a specific building. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/buildingmap-delete?view=graph-rest-1.0 +func (m *ItemGraphBuildingMapRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGraphBuildingMapRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Footprints provides operations to manage the footprints property of the microsoft.graph.buildingMap entity. +// returns a *ItemGraphBuildingMapFootprintsRequestBuilder when successful +func (m *ItemGraphBuildingMapRequestBuilder) Footprints()(*ItemGraphBuildingMapFootprintsRequestBuilder) { + return NewItemGraphBuildingMapFootprintsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get the map of a building in IMDF format. +// returns a BuildingMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/buildingmap-get?view=graph-rest-1.0 +func (m *ItemGraphBuildingMapRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BuildingMapable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateBuildingMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BuildingMapable), nil +} +// Levels provides operations to manage the levels property of the microsoft.graph.buildingMap entity. +// returns a *ItemGraphBuildingMapLevelsRequestBuilder when successful +func (m *ItemGraphBuildingMapRequestBuilder) Levels()(*ItemGraphBuildingMapLevelsRequestBuilder) { + return NewItemGraphBuildingMapLevelsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property map in places +// returns a BuildingMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BuildingMapable, requestConfiguration *ItemGraphBuildingMapRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BuildingMapable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateBuildingMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BuildingMapable), nil +} +// ToDeleteRequestInformation delete the map of a specific building. +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get the map of a building in IMDF format. +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property map in places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BuildingMapable, requestConfiguration *ItemGraphBuildingMapRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphBuildingMapRequestBuilder when successful +func (m *ItemGraphBuildingMapRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapRequestBuilder) { + return NewItemGraphBuildingMapRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_request_builder.go new file mode 100644 index 0000000000..8e0ee4d14a --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_building_request_builder.go @@ -0,0 +1,97 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingRequestBuilder casts the previous resource to building. +type ItemGraphBuildingRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingRequestBuilderGetQueryParameters get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. +type ItemGraphBuildingRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphBuildingRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingRequestBuilderGetQueryParameters +} +// CheckIns provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemGraphBuildingCheckInsRequestBuilder when successful +func (m *ItemGraphBuildingRequestBuilder) CheckIns()(*ItemGraphBuildingCheckInsRequestBuilder) { + return NewItemGraphBuildingCheckInsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphBuildingRequestBuilderInternal instantiates a new ItemGraphBuildingRequestBuilder and sets the default values. +func NewItemGraphBuildingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingRequestBuilder) { + m := &ItemGraphBuildingRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphBuildingRequestBuilder instantiates a new ItemGraphBuildingRequestBuilder and sets the default values. +func NewItemGraphBuildingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. +// returns a Buildingable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/place-list?view=graph-rest-1.0 +func (m *ItemGraphBuildingRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Buildingable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateBuildingFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Buildingable), nil +} +// MapEscaped provides operations to manage the map property of the microsoft.graph.building entity. +// returns a *ItemGraphBuildingMapRequestBuilder when successful +func (m *ItemGraphBuildingRequestBuilder) MapEscaped()(*ItemGraphBuildingMapRequestBuilder) { + return NewItemGraphBuildingMapRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphBuildingRequestBuilder when successful +func (m *ItemGraphBuildingRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingRequestBuilder) { + return NewItemGraphBuildingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_desk_check_ins_check_in_claim_calendar_event_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_desk_check_ins_check_in_claim_calendar_event_item_request_builder.go new file mode 100644 index 0000000000..a82cb5b795 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_desk_check_ins_check_in_claim_calendar_event_item_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +type ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +} +// ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal instantiates a new ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + m := &ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.desk/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder instantiates a new ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property checkIns for places +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// Patch update the navigation property checkIns in places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToDeleteRequestInformation delete navigation property checkIns for places +// returns a *RequestInformation when successful +func (m *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a *RequestInformation when successful +func (m *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property checkIns in places +// returns a *RequestInformation when successful +func (m *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + return NewItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_desk_check_ins_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_desk_check_ins_count_request_builder.go new file mode 100644 index 0000000000..85ac4ea9d2 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_desk_check_ins_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphDeskCheckInsCountRequestBuilder provides operations to count the resources in the collection. +type ItemGraphDeskCheckInsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphDeskCheckInsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemGraphDeskCheckInsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemGraphDeskCheckInsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphDeskCheckInsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphDeskCheckInsCountRequestBuilderGetQueryParameters +} +// NewItemGraphDeskCheckInsCountRequestBuilderInternal instantiates a new ItemGraphDeskCheckInsCountRequestBuilder and sets the default values. +func NewItemGraphDeskCheckInsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphDeskCheckInsCountRequestBuilder) { + m := &ItemGraphDeskCheckInsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.desk/checkIns/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemGraphDeskCheckInsCountRequestBuilder instantiates a new ItemGraphDeskCheckInsCountRequestBuilder and sets the default values. +func NewItemGraphDeskCheckInsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphDeskCheckInsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphDeskCheckInsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphDeskCheckInsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphDeskCheckInsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemGraphDeskCheckInsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphDeskCheckInsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphDeskCheckInsCountRequestBuilder when successful +func (m *ItemGraphDeskCheckInsCountRequestBuilder) WithUrl(rawUrl string)(*ItemGraphDeskCheckInsCountRequestBuilder) { + return NewItemGraphDeskCheckInsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_desk_check_ins_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_desk_check_ins_request_builder.go new file mode 100644 index 0000000000..3483f52f27 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_desk_check_ins_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphDeskCheckInsRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemGraphDeskCheckInsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphDeskCheckInsRequestBuilderGetQueryParameters a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +type ItemGraphDeskCheckInsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemGraphDeskCheckInsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphDeskCheckInsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphDeskCheckInsRequestBuilderGetQueryParameters +} +// ItemGraphDeskCheckInsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphDeskCheckInsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByCheckInClaimCalendarEventId provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemGraphDeskCheckInsRequestBuilder) ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId string)(*ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if checkInClaimCalendarEventId != "" { + urlTplParams["checkInClaim%2DcalendarEventId"] = checkInClaimCalendarEventId + } + return NewItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphDeskCheckInsRequestBuilderInternal instantiates a new ItemGraphDeskCheckInsRequestBuilder and sets the default values. +func NewItemGraphDeskCheckInsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphDeskCheckInsRequestBuilder) { + m := &ItemGraphDeskCheckInsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.desk/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemGraphDeskCheckInsRequestBuilder instantiates a new ItemGraphDeskCheckInsRequestBuilder and sets the default values. +func NewItemGraphDeskCheckInsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphDeskCheckInsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphDeskCheckInsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemGraphDeskCheckInsCountRequestBuilder when successful +func (m *ItemGraphDeskCheckInsRequestBuilder) Count()(*ItemGraphDeskCheckInsCountRequestBuilder) { + return NewItemGraphDeskCheckInsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a CheckInClaimCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphDeskCheckInsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphDeskCheckInsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable), nil +} +// Post create new navigation property to checkIns for places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphDeskCheckInsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphDeskCheckInsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToGetRequestInformation a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a *RequestInformation when successful +func (m *ItemGraphDeskCheckInsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphDeskCheckInsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to checkIns for places +// returns a *RequestInformation when successful +func (m *ItemGraphDeskCheckInsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphDeskCheckInsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphDeskCheckInsRequestBuilder when successful +func (m *ItemGraphDeskCheckInsRequestBuilder) WithUrl(rawUrl string)(*ItemGraphDeskCheckInsRequestBuilder) { + return NewItemGraphDeskCheckInsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_desk_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_desk_request_builder.go new file mode 100644 index 0000000000..d97dffa0b6 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_desk_request_builder.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphDeskRequestBuilder casts the previous resource to desk. +type ItemGraphDeskRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphDeskRequestBuilderGetQueryParameters get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. +type ItemGraphDeskRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphDeskRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphDeskRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphDeskRequestBuilderGetQueryParameters +} +// CheckIns provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemGraphDeskCheckInsRequestBuilder when successful +func (m *ItemGraphDeskRequestBuilder) CheckIns()(*ItemGraphDeskCheckInsRequestBuilder) { + return NewItemGraphDeskCheckInsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphDeskRequestBuilderInternal instantiates a new ItemGraphDeskRequestBuilder and sets the default values. +func NewItemGraphDeskRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphDeskRequestBuilder) { + m := &ItemGraphDeskRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.desk{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphDeskRequestBuilder instantiates a new ItemGraphDeskRequestBuilder and sets the default values. +func NewItemGraphDeskRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphDeskRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphDeskRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. +// returns a Deskable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/place-list?view=graph-rest-1.0 +func (m *ItemGraphDeskRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphDeskRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Deskable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateDeskFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Deskable), nil +} +// ToGetRequestInformation get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. +// returns a *RequestInformation when successful +func (m *ItemGraphDeskRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphDeskRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphDeskRequestBuilder when successful +func (m *ItemGraphDeskRequestBuilder) WithUrl(rawUrl string)(*ItemGraphDeskRequestBuilder) { + return NewItemGraphDeskRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_floor_check_ins_check_in_claim_calendar_event_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_floor_check_ins_check_in_claim_calendar_event_item_request_builder.go new file mode 100644 index 0000000000..a0d92aacb8 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_floor_check_ins_check_in_claim_calendar_event_item_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +type ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +} +// ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal instantiates a new ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + m := &ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.floor/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder instantiates a new ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property checkIns for places +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// Patch update the navigation property checkIns in places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToDeleteRequestInformation delete navigation property checkIns for places +// returns a *RequestInformation when successful +func (m *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a *RequestInformation when successful +func (m *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property checkIns in places +// returns a *RequestInformation when successful +func (m *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + return NewItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_floor_check_ins_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_floor_check_ins_count_request_builder.go new file mode 100644 index 0000000000..e2773754db --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_floor_check_ins_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphFloorCheckInsCountRequestBuilder provides operations to count the resources in the collection. +type ItemGraphFloorCheckInsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphFloorCheckInsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemGraphFloorCheckInsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemGraphFloorCheckInsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphFloorCheckInsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphFloorCheckInsCountRequestBuilderGetQueryParameters +} +// NewItemGraphFloorCheckInsCountRequestBuilderInternal instantiates a new ItemGraphFloorCheckInsCountRequestBuilder and sets the default values. +func NewItemGraphFloorCheckInsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphFloorCheckInsCountRequestBuilder) { + m := &ItemGraphFloorCheckInsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.floor/checkIns/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemGraphFloorCheckInsCountRequestBuilder instantiates a new ItemGraphFloorCheckInsCountRequestBuilder and sets the default values. +func NewItemGraphFloorCheckInsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphFloorCheckInsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphFloorCheckInsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphFloorCheckInsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphFloorCheckInsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemGraphFloorCheckInsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphFloorCheckInsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphFloorCheckInsCountRequestBuilder when successful +func (m *ItemGraphFloorCheckInsCountRequestBuilder) WithUrl(rawUrl string)(*ItemGraphFloorCheckInsCountRequestBuilder) { + return NewItemGraphFloorCheckInsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_floor_check_ins_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_floor_check_ins_request_builder.go new file mode 100644 index 0000000000..79ed87690a --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_floor_check_ins_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphFloorCheckInsRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemGraphFloorCheckInsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphFloorCheckInsRequestBuilderGetQueryParameters a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +type ItemGraphFloorCheckInsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemGraphFloorCheckInsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphFloorCheckInsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphFloorCheckInsRequestBuilderGetQueryParameters +} +// ItemGraphFloorCheckInsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphFloorCheckInsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByCheckInClaimCalendarEventId provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemGraphFloorCheckInsRequestBuilder) ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId string)(*ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if checkInClaimCalendarEventId != "" { + urlTplParams["checkInClaim%2DcalendarEventId"] = checkInClaimCalendarEventId + } + return NewItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphFloorCheckInsRequestBuilderInternal instantiates a new ItemGraphFloorCheckInsRequestBuilder and sets the default values. +func NewItemGraphFloorCheckInsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphFloorCheckInsRequestBuilder) { + m := &ItemGraphFloorCheckInsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.floor/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemGraphFloorCheckInsRequestBuilder instantiates a new ItemGraphFloorCheckInsRequestBuilder and sets the default values. +func NewItemGraphFloorCheckInsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphFloorCheckInsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphFloorCheckInsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemGraphFloorCheckInsCountRequestBuilder when successful +func (m *ItemGraphFloorCheckInsRequestBuilder) Count()(*ItemGraphFloorCheckInsCountRequestBuilder) { + return NewItemGraphFloorCheckInsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a CheckInClaimCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphFloorCheckInsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphFloorCheckInsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable), nil +} +// Post create new navigation property to checkIns for places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphFloorCheckInsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphFloorCheckInsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToGetRequestInformation a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a *RequestInformation when successful +func (m *ItemGraphFloorCheckInsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphFloorCheckInsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to checkIns for places +// returns a *RequestInformation when successful +func (m *ItemGraphFloorCheckInsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphFloorCheckInsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphFloorCheckInsRequestBuilder when successful +func (m *ItemGraphFloorCheckInsRequestBuilder) WithUrl(rawUrl string)(*ItemGraphFloorCheckInsRequestBuilder) { + return NewItemGraphFloorCheckInsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_floor_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_floor_request_builder.go new file mode 100644 index 0000000000..1582e2a53e --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_floor_request_builder.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphFloorRequestBuilder casts the previous resource to floor. +type ItemGraphFloorRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphFloorRequestBuilderGetQueryParameters get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. +type ItemGraphFloorRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphFloorRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphFloorRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphFloorRequestBuilderGetQueryParameters +} +// CheckIns provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemGraphFloorCheckInsRequestBuilder when successful +func (m *ItemGraphFloorRequestBuilder) CheckIns()(*ItemGraphFloorCheckInsRequestBuilder) { + return NewItemGraphFloorCheckInsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphFloorRequestBuilderInternal instantiates a new ItemGraphFloorRequestBuilder and sets the default values. +func NewItemGraphFloorRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphFloorRequestBuilder) { + m := &ItemGraphFloorRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.floor{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphFloorRequestBuilder instantiates a new ItemGraphFloorRequestBuilder and sets the default values. +func NewItemGraphFloorRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphFloorRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphFloorRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. +// returns a Floorable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/place-list?view=graph-rest-1.0 +func (m *ItemGraphFloorRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphFloorRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Floorable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFloorFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Floorable), nil +} +// ToGetRequestInformation get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. +// returns a *RequestInformation when successful +func (m *ItemGraphFloorRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphFloorRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphFloorRequestBuilder when successful +func (m *ItemGraphFloorRequestBuilder) WithUrl(rawUrl string)(*ItemGraphFloorRequestBuilder) { + return NewItemGraphFloorRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_check_ins_check_in_claim_calendar_event_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_check_ins_check_in_claim_calendar_event_item_request_builder.go new file mode 100644 index 0000000000..5aa19f6364 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_check_ins_check_in_claim_calendar_event_item_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +type ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +} +// ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal instantiates a new ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + m := &ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.room/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder instantiates a new ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property checkIns for places +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// Patch update the navigation property checkIns in places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToDeleteRequestInformation delete navigation property checkIns for places +// returns a *RequestInformation when successful +func (m *ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a *RequestInformation when successful +func (m *ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property checkIns in places +// returns a *RequestInformation when successful +func (m *ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + return NewItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_check_ins_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_check_ins_count_request_builder.go new file mode 100644 index 0000000000..15c32e062f --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_check_ins_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphRoomCheckInsCountRequestBuilder provides operations to count the resources in the collection. +type ItemGraphRoomCheckInsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphRoomCheckInsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemGraphRoomCheckInsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemGraphRoomCheckInsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomCheckInsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphRoomCheckInsCountRequestBuilderGetQueryParameters +} +// NewItemGraphRoomCheckInsCountRequestBuilderInternal instantiates a new ItemGraphRoomCheckInsCountRequestBuilder and sets the default values. +func NewItemGraphRoomCheckInsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomCheckInsCountRequestBuilder) { + m := &ItemGraphRoomCheckInsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.room/checkIns/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemGraphRoomCheckInsCountRequestBuilder instantiates a new ItemGraphRoomCheckInsCountRequestBuilder and sets the default values. +func NewItemGraphRoomCheckInsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomCheckInsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphRoomCheckInsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomCheckInsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphRoomCheckInsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemGraphRoomCheckInsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphRoomCheckInsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphRoomCheckInsCountRequestBuilder when successful +func (m *ItemGraphRoomCheckInsCountRequestBuilder) WithUrl(rawUrl string)(*ItemGraphRoomCheckInsCountRequestBuilder) { + return NewItemGraphRoomCheckInsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_check_ins_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_check_ins_request_builder.go new file mode 100644 index 0000000000..90755c6ea3 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_check_ins_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphRoomCheckInsRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemGraphRoomCheckInsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphRoomCheckInsRequestBuilderGetQueryParameters a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +type ItemGraphRoomCheckInsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemGraphRoomCheckInsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomCheckInsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphRoomCheckInsRequestBuilderGetQueryParameters +} +// ItemGraphRoomCheckInsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomCheckInsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByCheckInClaimCalendarEventId provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemGraphRoomCheckInsRequestBuilder) ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId string)(*ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if checkInClaimCalendarEventId != "" { + urlTplParams["checkInClaim%2DcalendarEventId"] = checkInClaimCalendarEventId + } + return NewItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphRoomCheckInsRequestBuilderInternal instantiates a new ItemGraphRoomCheckInsRequestBuilder and sets the default values. +func NewItemGraphRoomCheckInsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomCheckInsRequestBuilder) { + m := &ItemGraphRoomCheckInsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.room/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemGraphRoomCheckInsRequestBuilder instantiates a new ItemGraphRoomCheckInsRequestBuilder and sets the default values. +func NewItemGraphRoomCheckInsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomCheckInsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphRoomCheckInsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemGraphRoomCheckInsCountRequestBuilder when successful +func (m *ItemGraphRoomCheckInsRequestBuilder) Count()(*ItemGraphRoomCheckInsCountRequestBuilder) { + return NewItemGraphRoomCheckInsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a CheckInClaimCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomCheckInsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphRoomCheckInsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable), nil +} +// Post create new navigation property to checkIns for places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomCheckInsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphRoomCheckInsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToGetRequestInformation a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a *RequestInformation when successful +func (m *ItemGraphRoomCheckInsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphRoomCheckInsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to checkIns for places +// returns a *RequestInformation when successful +func (m *ItemGraphRoomCheckInsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphRoomCheckInsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphRoomCheckInsRequestBuilder when successful +func (m *ItemGraphRoomCheckInsRequestBuilder) WithUrl(rawUrl string)(*ItemGraphRoomCheckInsRequestBuilder) { + return NewItemGraphRoomCheckInsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_check_ins_check_in_claim_calendar_event_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_check_ins_check_in_claim_calendar_event_item_request_builder.go new file mode 100644 index 0000000000..db4e5a0f04 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_check_ins_check_in_claim_calendar_event_item_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +type ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +} +// ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal instantiates a new ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + m := &ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder instantiates a new ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property checkIns for places +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// Patch update the navigation property checkIns in places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToDeleteRequestInformation delete navigation property checkIns for places +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property checkIns in places +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + return NewItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_check_ins_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_check_ins_count_request_builder.go new file mode 100644 index 0000000000..20f3287ad9 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_check_ins_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphRoomListCheckInsCountRequestBuilder provides operations to count the resources in the collection. +type ItemGraphRoomListCheckInsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphRoomListCheckInsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemGraphRoomListCheckInsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemGraphRoomListCheckInsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListCheckInsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphRoomListCheckInsCountRequestBuilderGetQueryParameters +} +// NewItemGraphRoomListCheckInsCountRequestBuilderInternal instantiates a new ItemGraphRoomListCheckInsCountRequestBuilder and sets the default values. +func NewItemGraphRoomListCheckInsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListCheckInsCountRequestBuilder) { + m := &ItemGraphRoomListCheckInsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/checkIns/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemGraphRoomListCheckInsCountRequestBuilder instantiates a new ItemGraphRoomListCheckInsCountRequestBuilder and sets the default values. +func NewItemGraphRoomListCheckInsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListCheckInsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphRoomListCheckInsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListCheckInsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphRoomListCheckInsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListCheckInsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphRoomListCheckInsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphRoomListCheckInsCountRequestBuilder when successful +func (m *ItemGraphRoomListCheckInsCountRequestBuilder) WithUrl(rawUrl string)(*ItemGraphRoomListCheckInsCountRequestBuilder) { + return NewItemGraphRoomListCheckInsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_check_ins_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_check_ins_request_builder.go new file mode 100644 index 0000000000..1dd73501a6 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_check_ins_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphRoomListCheckInsRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemGraphRoomListCheckInsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphRoomListCheckInsRequestBuilderGetQueryParameters a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +type ItemGraphRoomListCheckInsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemGraphRoomListCheckInsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListCheckInsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphRoomListCheckInsRequestBuilderGetQueryParameters +} +// ItemGraphRoomListCheckInsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListCheckInsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByCheckInClaimCalendarEventId provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemGraphRoomListCheckInsRequestBuilder) ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId string)(*ItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if checkInClaimCalendarEventId != "" { + urlTplParams["checkInClaim%2DcalendarEventId"] = checkInClaimCalendarEventId + } + return NewItemGraphRoomListCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphRoomListCheckInsRequestBuilderInternal instantiates a new ItemGraphRoomListCheckInsRequestBuilder and sets the default values. +func NewItemGraphRoomListCheckInsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListCheckInsRequestBuilder) { + m := &ItemGraphRoomListCheckInsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemGraphRoomListCheckInsRequestBuilder instantiates a new ItemGraphRoomListCheckInsRequestBuilder and sets the default values. +func NewItemGraphRoomListCheckInsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListCheckInsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphRoomListCheckInsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemGraphRoomListCheckInsCountRequestBuilder when successful +func (m *ItemGraphRoomListCheckInsRequestBuilder) Count()(*ItemGraphRoomListCheckInsCountRequestBuilder) { + return NewItemGraphRoomListCheckInsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a CheckInClaimCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListCheckInsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphRoomListCheckInsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable), nil +} +// Post create new navigation property to checkIns for places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListCheckInsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphRoomListCheckInsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToGetRequestInformation a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListCheckInsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphRoomListCheckInsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to checkIns for places +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListCheckInsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphRoomListCheckInsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphRoomListCheckInsRequestBuilder when successful +func (m *ItemGraphRoomListCheckInsRequestBuilder) WithUrl(rawUrl string)(*ItemGraphRoomListCheckInsRequestBuilder) { + return NewItemGraphRoomListCheckInsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_request_builder.go index 2093cbe33c..b308120848 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_request_builder.go @@ -30,6 +30,11 @@ type ItemGraphRoomListRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemGraphRoomListRequestBuilderGetQueryParameters } +// CheckIns provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemGraphRoomListCheckInsRequestBuilder when successful +func (m *ItemGraphRoomListRequestBuilder) CheckIns()(*ItemGraphRoomListCheckInsRequestBuilder) { + return NewItemGraphRoomListCheckInsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // NewItemGraphRoomListRequestBuilderInternal instantiates a new ItemGraphRoomListRequestBuilder and sets the default values. func NewItemGraphRoomListRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListRequestBuilder) { m := &ItemGraphRoomListRequestBuilder{ @@ -87,3 +92,8 @@ func (m *ItemGraphRoomListRequestBuilder) ToGetRequestInformation(ctx context.Co func (m *ItemGraphRoomListRequestBuilder) WithUrl(rawUrl string)(*ItemGraphRoomListRequestBuilder) { return NewItemGraphRoomListRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); } +// Workspaces provides operations to manage the workspaces property of the microsoft.graph.roomList entity. +// returns a *ItemGraphRoomListWorkspacesRequestBuilder when successful +func (m *ItemGraphRoomListRequestBuilder) Workspaces()(*ItemGraphRoomListWorkspacesRequestBuilder) { + return NewItemGraphRoomListWorkspacesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_rooms_item_check_ins_check_in_claim_calendar_event_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_rooms_item_check_ins_check_in_claim_calendar_event_item_request_builder.go new file mode 100644 index 0000000000..8a9af8ed11 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_rooms_item_check_ins_check_in_claim_calendar_event_item_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +type ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +} +// ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal instantiates a new ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + m := &ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/rooms/{room%2Did}/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder instantiates a new ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property checkIns for places +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// Patch update the navigation property checkIns in places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToDeleteRequestInformation delete navigation property checkIns for places +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property checkIns in places +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + return NewItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_rooms_item_check_ins_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_rooms_item_check_ins_count_request_builder.go new file mode 100644 index 0000000000..9c05c7421b --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_rooms_item_check_ins_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphRoomListRoomsItemCheckInsCountRequestBuilder provides operations to count the resources in the collection. +type ItemGraphRoomListRoomsItemCheckInsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphRoomListRoomsItemCheckInsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemGraphRoomListRoomsItemCheckInsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemGraphRoomListRoomsItemCheckInsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListRoomsItemCheckInsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphRoomListRoomsItemCheckInsCountRequestBuilderGetQueryParameters +} +// NewItemGraphRoomListRoomsItemCheckInsCountRequestBuilderInternal instantiates a new ItemGraphRoomListRoomsItemCheckInsCountRequestBuilder and sets the default values. +func NewItemGraphRoomListRoomsItemCheckInsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListRoomsItemCheckInsCountRequestBuilder) { + m := &ItemGraphRoomListRoomsItemCheckInsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/rooms/{room%2Did}/checkIns/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemGraphRoomListRoomsItemCheckInsCountRequestBuilder instantiates a new ItemGraphRoomListRoomsItemCheckInsCountRequestBuilder and sets the default values. +func NewItemGraphRoomListRoomsItemCheckInsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListRoomsItemCheckInsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphRoomListRoomsItemCheckInsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListRoomsItemCheckInsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphRoomListRoomsItemCheckInsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListRoomsItemCheckInsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphRoomListRoomsItemCheckInsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphRoomListRoomsItemCheckInsCountRequestBuilder when successful +func (m *ItemGraphRoomListRoomsItemCheckInsCountRequestBuilder) WithUrl(rawUrl string)(*ItemGraphRoomListRoomsItemCheckInsCountRequestBuilder) { + return NewItemGraphRoomListRoomsItemCheckInsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_rooms_item_check_ins_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_rooms_item_check_ins_request_builder.go new file mode 100644 index 0000000000..86112b7ca6 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_rooms_item_check_ins_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphRoomListRoomsItemCheckInsRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemGraphRoomListRoomsItemCheckInsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphRoomListRoomsItemCheckInsRequestBuilderGetQueryParameters a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +type ItemGraphRoomListRoomsItemCheckInsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemGraphRoomListRoomsItemCheckInsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListRoomsItemCheckInsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphRoomListRoomsItemCheckInsRequestBuilderGetQueryParameters +} +// ItemGraphRoomListRoomsItemCheckInsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListRoomsItemCheckInsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByCheckInClaimCalendarEventId provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemGraphRoomListRoomsItemCheckInsRequestBuilder) ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId string)(*ItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if checkInClaimCalendarEventId != "" { + urlTplParams["checkInClaim%2DcalendarEventId"] = checkInClaimCalendarEventId + } + return NewItemGraphRoomListRoomsItemCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphRoomListRoomsItemCheckInsRequestBuilderInternal instantiates a new ItemGraphRoomListRoomsItemCheckInsRequestBuilder and sets the default values. +func NewItemGraphRoomListRoomsItemCheckInsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListRoomsItemCheckInsRequestBuilder) { + m := &ItemGraphRoomListRoomsItemCheckInsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/rooms/{room%2Did}/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemGraphRoomListRoomsItemCheckInsRequestBuilder instantiates a new ItemGraphRoomListRoomsItemCheckInsRequestBuilder and sets the default values. +func NewItemGraphRoomListRoomsItemCheckInsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListRoomsItemCheckInsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphRoomListRoomsItemCheckInsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemGraphRoomListRoomsItemCheckInsCountRequestBuilder when successful +func (m *ItemGraphRoomListRoomsItemCheckInsRequestBuilder) Count()(*ItemGraphRoomListRoomsItemCheckInsCountRequestBuilder) { + return NewItemGraphRoomListRoomsItemCheckInsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a CheckInClaimCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListRoomsItemCheckInsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphRoomListRoomsItemCheckInsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable), nil +} +// Post create new navigation property to checkIns for places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListRoomsItemCheckInsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphRoomListRoomsItemCheckInsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToGetRequestInformation a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListRoomsItemCheckInsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphRoomListRoomsItemCheckInsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to checkIns for places +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListRoomsItemCheckInsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphRoomListRoomsItemCheckInsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphRoomListRoomsItemCheckInsRequestBuilder when successful +func (m *ItemGraphRoomListRoomsItemCheckInsRequestBuilder) WithUrl(rawUrl string)(*ItemGraphRoomListRoomsItemCheckInsRequestBuilder) { + return NewItemGraphRoomListRoomsItemCheckInsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_rooms_room_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_rooms_room_item_request_builder.go index 214109a198..2be170e5f1 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_rooms_room_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_rooms_room_item_request_builder.go @@ -44,6 +44,11 @@ type ItemGraphRoomListRoomsRoomItemRequestBuilderPatchRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } +// CheckIns provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemGraphRoomListRoomsItemCheckInsRequestBuilder when successful +func (m *ItemGraphRoomListRoomsRoomItemRequestBuilder) CheckIns()(*ItemGraphRoomListRoomsItemCheckInsRequestBuilder) { + return NewItemGraphRoomListRoomsItemCheckInsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // NewItemGraphRoomListRoomsRoomItemRequestBuilderInternal instantiates a new ItemGraphRoomListRoomsRoomItemRequestBuilder and sets the default values. func NewItemGraphRoomListRoomsRoomItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListRoomsRoomItemRequestBuilder) { m := &ItemGraphRoomListRoomsRoomItemRequestBuilder{ diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_workspaces_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_workspaces_count_request_builder.go new file mode 100644 index 0000000000..88c3276ed2 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_workspaces_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphRoomListWorkspacesCountRequestBuilder provides operations to count the resources in the collection. +type ItemGraphRoomListWorkspacesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphRoomListWorkspacesCountRequestBuilderGetQueryParameters get the number of the resource +type ItemGraphRoomListWorkspacesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemGraphRoomListWorkspacesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListWorkspacesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphRoomListWorkspacesCountRequestBuilderGetQueryParameters +} +// NewItemGraphRoomListWorkspacesCountRequestBuilderInternal instantiates a new ItemGraphRoomListWorkspacesCountRequestBuilder and sets the default values. +func NewItemGraphRoomListWorkspacesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListWorkspacesCountRequestBuilder) { + m := &ItemGraphRoomListWorkspacesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/workspaces/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemGraphRoomListWorkspacesCountRequestBuilder instantiates a new ItemGraphRoomListWorkspacesCountRequestBuilder and sets the default values. +func NewItemGraphRoomListWorkspacesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListWorkspacesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphRoomListWorkspacesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListWorkspacesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListWorkspacesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphRoomListWorkspacesCountRequestBuilder when successful +func (m *ItemGraphRoomListWorkspacesCountRequestBuilder) WithUrl(rawUrl string)(*ItemGraphRoomListWorkspacesCountRequestBuilder) { + return NewItemGraphRoomListWorkspacesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_workspaces_item_check_ins_check_in_claim_calendar_event_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_workspaces_item_check_ins_check_in_claim_calendar_event_item_request_builder.go new file mode 100644 index 0000000000..8057270a2f --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_workspaces_item_check_ins_check_in_claim_calendar_event_item_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +type ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +} +// ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal instantiates a new ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + m := &ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/workspaces/{workspace%2Did}/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder instantiates a new ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property checkIns for places +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// Patch update the navigation property checkIns in places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToDeleteRequestInformation delete navigation property checkIns for places +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property checkIns in places +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + return NewItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_workspaces_item_check_ins_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_workspaces_item_check_ins_count_request_builder.go new file mode 100644 index 0000000000..b94d288121 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_workspaces_item_check_ins_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder provides operations to count the resources in the collection. +type ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderGetQueryParameters +} +// NewItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderInternal instantiates a new ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder and sets the default values. +func NewItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder) { + m := &ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/workspaces/{workspace%2Did}/checkIns/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder instantiates a new ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder and sets the default values. +func NewItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder when successful +func (m *ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder) WithUrl(rawUrl string)(*ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder) { + return NewItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_workspaces_item_check_ins_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_workspaces_item_check_ins_request_builder.go new file mode 100644 index 0000000000..f050a0f0c0 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_workspaces_item_check_ins_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetQueryParameters a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +type ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetQueryParameters +} +// ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByCheckInClaimCalendarEventId provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder) ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId string)(*ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if checkInClaimCalendarEventId != "" { + urlTplParams["checkInClaim%2DcalendarEventId"] = checkInClaimCalendarEventId + } + return NewItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphRoomListWorkspacesItemCheckInsRequestBuilderInternal instantiates a new ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder and sets the default values. +func NewItemGraphRoomListWorkspacesItemCheckInsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder) { + m := &ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/workspaces/{workspace%2Did}/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemGraphRoomListWorkspacesItemCheckInsRequestBuilder instantiates a new ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder and sets the default values. +func NewItemGraphRoomListWorkspacesItemCheckInsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphRoomListWorkspacesItemCheckInsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder when successful +func (m *ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder) Count()(*ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder) { + return NewItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a CheckInClaimCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable), nil +} +// Post create new navigation property to checkIns for places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToGetRequestInformation a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to checkIns for places +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder when successful +func (m *ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder) WithUrl(rawUrl string)(*ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder) { + return NewItemGraphRoomListWorkspacesItemCheckInsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_workspaces_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_workspaces_request_builder.go new file mode 100644 index 0000000000..e6c6b25ab9 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_workspaces_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphRoomListWorkspacesRequestBuilder provides operations to manage the workspaces property of the microsoft.graph.roomList entity. +type ItemGraphRoomListWorkspacesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphRoomListWorkspacesRequestBuilderGetQueryParameters get workspaces from places +type ItemGraphRoomListWorkspacesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemGraphRoomListWorkspacesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListWorkspacesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphRoomListWorkspacesRequestBuilderGetQueryParameters +} +// ItemGraphRoomListWorkspacesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListWorkspacesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByWorkspaceId provides operations to manage the workspaces property of the microsoft.graph.roomList entity. +// returns a *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder when successful +func (m *ItemGraphRoomListWorkspacesRequestBuilder) ByWorkspaceId(workspaceId string)(*ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if workspaceId != "" { + urlTplParams["workspace%2Did"] = workspaceId + } + return NewItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphRoomListWorkspacesRequestBuilderInternal instantiates a new ItemGraphRoomListWorkspacesRequestBuilder and sets the default values. +func NewItemGraphRoomListWorkspacesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListWorkspacesRequestBuilder) { + m := &ItemGraphRoomListWorkspacesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/workspaces{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemGraphRoomListWorkspacesRequestBuilder instantiates a new ItemGraphRoomListWorkspacesRequestBuilder and sets the default values. +func NewItemGraphRoomListWorkspacesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListWorkspacesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphRoomListWorkspacesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemGraphRoomListWorkspacesCountRequestBuilder when successful +func (m *ItemGraphRoomListWorkspacesRequestBuilder) Count()(*ItemGraphRoomListWorkspacesCountRequestBuilder) { + return NewItemGraphRoomListWorkspacesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get workspaces from places +// returns a WorkspaceCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListWorkspacesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkspaceCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWorkspaceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkspaceCollectionResponseable), nil +} +// Post create new navigation property to workspaces for places +// returns a Workspaceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListWorkspacesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable, requestConfiguration *ItemGraphRoomListWorkspacesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWorkspaceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable), nil +} +// ToGetRequestInformation get workspaces from places +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListWorkspacesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to workspaces for places +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListWorkspacesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable, requestConfiguration *ItemGraphRoomListWorkspacesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphRoomListWorkspacesRequestBuilder when successful +func (m *ItemGraphRoomListWorkspacesRequestBuilder) WithUrl(rawUrl string)(*ItemGraphRoomListWorkspacesRequestBuilder) { + return NewItemGraphRoomListWorkspacesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_workspaces_workspace_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_workspaces_workspace_item_request_builder.go new file mode 100644 index 0000000000..2839e5618b --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_list_workspaces_workspace_item_request_builder.go @@ -0,0 +1,165 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder provides operations to manage the workspaces property of the microsoft.graph.roomList entity. +type ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderGetQueryParameters get workspaces from places +type ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderGetQueryParameters +} +// ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// CheckIns provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder when successful +func (m *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder) CheckIns()(*ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder) { + return NewItemGraphRoomListWorkspacesItemCheckInsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderInternal instantiates a new ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder and sets the default values. +func NewItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder) { + m := &ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/workspaces/{workspace%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder instantiates a new ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder and sets the default values. +func NewItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property workspaces for places +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get workspaces from places +// returns a Workspaceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWorkspaceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable), nil +} +// Patch update the navigation property workspaces in places +// returns a Workspaceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable, requestConfiguration *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWorkspaceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable), nil +} +// ToDeleteRequestInformation delete navigation property workspaces for places +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get workspaces from places +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property workspaces in places +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable, requestConfiguration *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder when successful +func (m *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder) WithUrl(rawUrl string)(*ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder) { + return NewItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_request_builder.go index 7cff6b7bd8..6d7dc24efc 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_room_request_builder.go @@ -14,7 +14,7 @@ import ( type ItemGraphRoomRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemGraphRoomRequestBuilderGetQueryParameters get a collection of the specified type of place objects defined in the tenant. For example, you can get all the rooms, all the room lists, or the rooms in a specific room list in the tenant. A place object can be one of the following types: Both room and roomList are derived from the place object. By default, this operation returns 100 places per page. Compared with the findRooms and findRoomLists functions, this operation returns a richer payload for rooms and room lists. See details for how they compare. +// ItemGraphRoomRequestBuilderGetQueryParameters get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. type ItemGraphRoomRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -30,6 +30,11 @@ type ItemGraphRoomRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemGraphRoomRequestBuilderGetQueryParameters } +// CheckIns provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemGraphRoomCheckInsRequestBuilder when successful +func (m *ItemGraphRoomRequestBuilder) CheckIns()(*ItemGraphRoomCheckInsRequestBuilder) { + return NewItemGraphRoomCheckInsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // NewItemGraphRoomRequestBuilderInternal instantiates a new ItemGraphRoomRequestBuilder and sets the default values. func NewItemGraphRoomRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomRequestBuilder) { m := &ItemGraphRoomRequestBuilder{ @@ -43,7 +48,7 @@ func NewItemGraphRoomRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee urlParams["request-raw-url"] = rawUrl return NewItemGraphRoomRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a collection of the specified type of place objects defined in the tenant. For example, you can get all the rooms, all the room lists, or the rooms in a specific room list in the tenant. A place object can be one of the following types: Both room and roomList are derived from the place object. By default, this operation returns 100 places per page. Compared with the findRooms and findRoomLists functions, this operation returns a richer payload for rooms and room lists. See details for how they compare. +// Get get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. // returns a Roomable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -66,7 +71,7 @@ func (m *ItemGraphRoomRequestBuilder) Get(ctx context.Context, requestConfigurat } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Roomable), nil } -// ToGetRequestInformation get a collection of the specified type of place objects defined in the tenant. For example, you can get all the rooms, all the room lists, or the rooms in a specific room list in the tenant. A place object can be one of the following types: Both room and roomList are derived from the place object. By default, this operation returns 100 places per page. Compared with the findRooms and findRoomLists functions, this operation returns a richer payload for rooms and room lists. See details for how they compare. +// ToGetRequestInformation get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. // returns a *RequestInformation when successful func (m *ItemGraphRoomRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphRoomRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_section_check_ins_check_in_claim_calendar_event_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_section_check_ins_check_in_claim_calendar_event_item_request_builder.go new file mode 100644 index 0000000000..c5ae0c8bf2 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_section_check_ins_check_in_claim_calendar_event_item_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +type ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +} +// ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal instantiates a new ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + m := &ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.section/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder instantiates a new ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property checkIns for places +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// Patch update the navigation property checkIns in places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToDeleteRequestInformation delete navigation property checkIns for places +// returns a *RequestInformation when successful +func (m *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a *RequestInformation when successful +func (m *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property checkIns in places +// returns a *RequestInformation when successful +func (m *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + return NewItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_section_check_ins_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_section_check_ins_count_request_builder.go new file mode 100644 index 0000000000..8d420b5f2e --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_section_check_ins_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphSectionCheckInsCountRequestBuilder provides operations to count the resources in the collection. +type ItemGraphSectionCheckInsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphSectionCheckInsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemGraphSectionCheckInsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemGraphSectionCheckInsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphSectionCheckInsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphSectionCheckInsCountRequestBuilderGetQueryParameters +} +// NewItemGraphSectionCheckInsCountRequestBuilderInternal instantiates a new ItemGraphSectionCheckInsCountRequestBuilder and sets the default values. +func NewItemGraphSectionCheckInsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphSectionCheckInsCountRequestBuilder) { + m := &ItemGraphSectionCheckInsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.section/checkIns/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemGraphSectionCheckInsCountRequestBuilder instantiates a new ItemGraphSectionCheckInsCountRequestBuilder and sets the default values. +func NewItemGraphSectionCheckInsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphSectionCheckInsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphSectionCheckInsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphSectionCheckInsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphSectionCheckInsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemGraphSectionCheckInsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphSectionCheckInsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphSectionCheckInsCountRequestBuilder when successful +func (m *ItemGraphSectionCheckInsCountRequestBuilder) WithUrl(rawUrl string)(*ItemGraphSectionCheckInsCountRequestBuilder) { + return NewItemGraphSectionCheckInsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_section_check_ins_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_section_check_ins_request_builder.go new file mode 100644 index 0000000000..4f43570f4e --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_section_check_ins_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphSectionCheckInsRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemGraphSectionCheckInsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphSectionCheckInsRequestBuilderGetQueryParameters a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +type ItemGraphSectionCheckInsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemGraphSectionCheckInsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphSectionCheckInsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphSectionCheckInsRequestBuilderGetQueryParameters +} +// ItemGraphSectionCheckInsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphSectionCheckInsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByCheckInClaimCalendarEventId provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemGraphSectionCheckInsRequestBuilder) ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId string)(*ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if checkInClaimCalendarEventId != "" { + urlTplParams["checkInClaim%2DcalendarEventId"] = checkInClaimCalendarEventId + } + return NewItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphSectionCheckInsRequestBuilderInternal instantiates a new ItemGraphSectionCheckInsRequestBuilder and sets the default values. +func NewItemGraphSectionCheckInsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphSectionCheckInsRequestBuilder) { + m := &ItemGraphSectionCheckInsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.section/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemGraphSectionCheckInsRequestBuilder instantiates a new ItemGraphSectionCheckInsRequestBuilder and sets the default values. +func NewItemGraphSectionCheckInsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphSectionCheckInsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphSectionCheckInsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemGraphSectionCheckInsCountRequestBuilder when successful +func (m *ItemGraphSectionCheckInsRequestBuilder) Count()(*ItemGraphSectionCheckInsCountRequestBuilder) { + return NewItemGraphSectionCheckInsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a CheckInClaimCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphSectionCheckInsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphSectionCheckInsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable), nil +} +// Post create new navigation property to checkIns for places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphSectionCheckInsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphSectionCheckInsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToGetRequestInformation a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a *RequestInformation when successful +func (m *ItemGraphSectionCheckInsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphSectionCheckInsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to checkIns for places +// returns a *RequestInformation when successful +func (m *ItemGraphSectionCheckInsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphSectionCheckInsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphSectionCheckInsRequestBuilder when successful +func (m *ItemGraphSectionCheckInsRequestBuilder) WithUrl(rawUrl string)(*ItemGraphSectionCheckInsRequestBuilder) { + return NewItemGraphSectionCheckInsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_section_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_section_request_builder.go new file mode 100644 index 0000000000..6dcb52ad69 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_section_request_builder.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphSectionRequestBuilder casts the previous resource to section. +type ItemGraphSectionRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphSectionRequestBuilderGetQueryParameters get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. +type ItemGraphSectionRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphSectionRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphSectionRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphSectionRequestBuilderGetQueryParameters +} +// CheckIns provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemGraphSectionCheckInsRequestBuilder when successful +func (m *ItemGraphSectionRequestBuilder) CheckIns()(*ItemGraphSectionCheckInsRequestBuilder) { + return NewItemGraphSectionCheckInsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphSectionRequestBuilderInternal instantiates a new ItemGraphSectionRequestBuilder and sets the default values. +func NewItemGraphSectionRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphSectionRequestBuilder) { + m := &ItemGraphSectionRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.section{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphSectionRequestBuilder instantiates a new ItemGraphSectionRequestBuilder and sets the default values. +func NewItemGraphSectionRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphSectionRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphSectionRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. +// returns a Sectionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/place-list?view=graph-rest-1.0 +func (m *ItemGraphSectionRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphSectionRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Sectionable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSectionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Sectionable), nil +} +// ToGetRequestInformation get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. +// returns a *RequestInformation when successful +func (m *ItemGraphSectionRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphSectionRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphSectionRequestBuilder when successful +func (m *ItemGraphSectionRequestBuilder) WithUrl(rawUrl string)(*ItemGraphSectionRequestBuilder) { + return NewItemGraphSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_workspace_check_ins_check_in_claim_calendar_event_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_workspace_check_ins_check_in_claim_calendar_event_item_request_builder.go new file mode 100644 index 0000000000..49d4bc223a --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_workspace_check_ins_check_in_claim_calendar_event_item_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +type ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +} +// ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal instantiates a new ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + m := &ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.workspace/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder instantiates a new ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property checkIns for places +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// Patch update the navigation property checkIns in places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToDeleteRequestInformation delete navigation property checkIns for places +// returns a *RequestInformation when successful +func (m *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a *RequestInformation when successful +func (m *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property checkIns in places +// returns a *RequestInformation when successful +func (m *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + return NewItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_workspace_check_ins_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_workspace_check_ins_count_request_builder.go new file mode 100644 index 0000000000..3f0068b662 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_workspace_check_ins_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphWorkspaceCheckInsCountRequestBuilder provides operations to count the resources in the collection. +type ItemGraphWorkspaceCheckInsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphWorkspaceCheckInsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemGraphWorkspaceCheckInsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemGraphWorkspaceCheckInsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphWorkspaceCheckInsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphWorkspaceCheckInsCountRequestBuilderGetQueryParameters +} +// NewItemGraphWorkspaceCheckInsCountRequestBuilderInternal instantiates a new ItemGraphWorkspaceCheckInsCountRequestBuilder and sets the default values. +func NewItemGraphWorkspaceCheckInsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphWorkspaceCheckInsCountRequestBuilder) { + m := &ItemGraphWorkspaceCheckInsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.workspace/checkIns/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemGraphWorkspaceCheckInsCountRequestBuilder instantiates a new ItemGraphWorkspaceCheckInsCountRequestBuilder and sets the default values. +func NewItemGraphWorkspaceCheckInsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphWorkspaceCheckInsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphWorkspaceCheckInsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphWorkspaceCheckInsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphWorkspaceCheckInsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemGraphWorkspaceCheckInsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphWorkspaceCheckInsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphWorkspaceCheckInsCountRequestBuilder when successful +func (m *ItemGraphWorkspaceCheckInsCountRequestBuilder) WithUrl(rawUrl string)(*ItemGraphWorkspaceCheckInsCountRequestBuilder) { + return NewItemGraphWorkspaceCheckInsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_workspace_check_ins_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_workspace_check_ins_request_builder.go new file mode 100644 index 0000000000..e81c7a9f1e --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_workspace_check_ins_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphWorkspaceCheckInsRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemGraphWorkspaceCheckInsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphWorkspaceCheckInsRequestBuilderGetQueryParameters a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +type ItemGraphWorkspaceCheckInsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemGraphWorkspaceCheckInsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphWorkspaceCheckInsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphWorkspaceCheckInsRequestBuilderGetQueryParameters +} +// ItemGraphWorkspaceCheckInsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphWorkspaceCheckInsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByCheckInClaimCalendarEventId provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemGraphWorkspaceCheckInsRequestBuilder) ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId string)(*ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if checkInClaimCalendarEventId != "" { + urlTplParams["checkInClaim%2DcalendarEventId"] = checkInClaimCalendarEventId + } + return NewItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphWorkspaceCheckInsRequestBuilderInternal instantiates a new ItemGraphWorkspaceCheckInsRequestBuilder and sets the default values. +func NewItemGraphWorkspaceCheckInsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphWorkspaceCheckInsRequestBuilder) { + m := &ItemGraphWorkspaceCheckInsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.workspace/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemGraphWorkspaceCheckInsRequestBuilder instantiates a new ItemGraphWorkspaceCheckInsRequestBuilder and sets the default values. +func NewItemGraphWorkspaceCheckInsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphWorkspaceCheckInsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphWorkspaceCheckInsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemGraphWorkspaceCheckInsCountRequestBuilder when successful +func (m *ItemGraphWorkspaceCheckInsRequestBuilder) Count()(*ItemGraphWorkspaceCheckInsCountRequestBuilder) { + return NewItemGraphWorkspaceCheckInsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a CheckInClaimCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphWorkspaceCheckInsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphWorkspaceCheckInsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable), nil +} +// Post create new navigation property to checkIns for places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphWorkspaceCheckInsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphWorkspaceCheckInsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToGetRequestInformation a subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place. +// returns a *RequestInformation when successful +func (m *ItemGraphWorkspaceCheckInsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphWorkspaceCheckInsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to checkIns for places +// returns a *RequestInformation when successful +func (m *ItemGraphWorkspaceCheckInsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphWorkspaceCheckInsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphWorkspaceCheckInsRequestBuilder when successful +func (m *ItemGraphWorkspaceCheckInsRequestBuilder) WithUrl(rawUrl string)(*ItemGraphWorkspaceCheckInsRequestBuilder) { + return NewItemGraphWorkspaceCheckInsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_workspace_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_workspace_request_builder.go new file mode 100644 index 0000000000..939a9f60fb --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/item_graph_workspace_request_builder.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphWorkspaceRequestBuilder casts the previous resource to workspace. +type ItemGraphWorkspaceRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphWorkspaceRequestBuilderGetQueryParameters get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. +type ItemGraphWorkspaceRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphWorkspaceRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphWorkspaceRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphWorkspaceRequestBuilderGetQueryParameters +} +// CheckIns provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemGraphWorkspaceCheckInsRequestBuilder when successful +func (m *ItemGraphWorkspaceRequestBuilder) CheckIns()(*ItemGraphWorkspaceCheckInsRequestBuilder) { + return NewItemGraphWorkspaceCheckInsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphWorkspaceRequestBuilderInternal instantiates a new ItemGraphWorkspaceRequestBuilder and sets the default values. +func NewItemGraphWorkspaceRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphWorkspaceRequestBuilder) { + m := &ItemGraphWorkspaceRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.workspace{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphWorkspaceRequestBuilder instantiates a new ItemGraphWorkspaceRequestBuilder and sets the default values. +func NewItemGraphWorkspaceRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphWorkspaceRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphWorkspaceRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. +// returns a Workspaceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/place-list?view=graph-rest-1.0 +func (m *ItemGraphWorkspaceRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphWorkspaceRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWorkspaceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable), nil +} +// ToGetRequestInformation get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. +// returns a *RequestInformation when successful +func (m *ItemGraphWorkspaceRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphWorkspaceRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphWorkspaceRequestBuilder when successful +func (m *ItemGraphWorkspaceRequestBuilder) WithUrl(rawUrl string)(*ItemGraphWorkspaceRequestBuilder) { + return NewItemGraphWorkspaceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/place_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/place_item_request_builder.go index eb945c7120..6cffe7e78e 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/place_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/place_item_request_builder.go @@ -28,6 +28,11 @@ type PlaceItemRequestBuilderPatchRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } +// CheckIns provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemCheckInsRequestBuilder when successful +func (m *PlaceItemRequestBuilder) CheckIns()(*ItemCheckInsRequestBuilder) { + return NewItemCheckInsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // NewPlaceItemRequestBuilderInternal instantiates a new PlaceItemRequestBuilder and sets the default values. func NewPlaceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*PlaceItemRequestBuilder) { m := &PlaceItemRequestBuilder{ @@ -41,8 +46,11 @@ func NewPlaceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2633 urlParams["request-raw-url"] = rawUrl return NewPlaceItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete entity from places +// Delete delete a place object. You can also use this method to delete the following child object types: building, floor, section, or desk. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/place-delete?view=graph-rest-1.0 func (m *PlaceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *PlaceItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -57,6 +65,26 @@ func (m *PlaceItemRequestBuilder) Delete(ctx context.Context, requestConfigurati } return nil } +// Descendants provides operations to call the descendants method. +// returns a *ItemDescendantsRequestBuilder when successful +func (m *PlaceItemRequestBuilder) Descendants()(*ItemDescendantsRequestBuilder) { + return NewItemDescendantsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphBuilding casts the previous resource to building. +// returns a *ItemGraphBuildingRequestBuilder when successful +func (m *PlaceItemRequestBuilder) GraphBuilding()(*ItemGraphBuildingRequestBuilder) { + return NewItemGraphBuildingRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphDesk casts the previous resource to desk. +// returns a *ItemGraphDeskRequestBuilder when successful +func (m *PlaceItemRequestBuilder) GraphDesk()(*ItemGraphDeskRequestBuilder) { + return NewItemGraphDeskRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphFloor casts the previous resource to floor. +// returns a *ItemGraphFloorRequestBuilder when successful +func (m *PlaceItemRequestBuilder) GraphFloor()(*ItemGraphFloorRequestBuilder) { + return NewItemGraphFloorRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // GraphRoom casts the previous resource to room. // returns a *ItemGraphRoomRequestBuilder when successful func (m *PlaceItemRequestBuilder) GraphRoom()(*ItemGraphRoomRequestBuilder) { @@ -67,7 +95,17 @@ func (m *PlaceItemRequestBuilder) GraphRoom()(*ItemGraphRoomRequestBuilder) { func (m *PlaceItemRequestBuilder) GraphRoomList()(*ItemGraphRoomListRequestBuilder) { return NewItemGraphRoomListRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of place object, which can be a room or roomList. You can identify the room or roomList by specifying the id or emailAddress property. +// GraphSection casts the previous resource to section. +// returns a *ItemGraphSectionRequestBuilder when successful +func (m *PlaceItemRequestBuilder) GraphSection()(*ItemGraphSectionRequestBuilder) { + return NewItemGraphSectionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphWorkspace casts the previous resource to workspace. +// returns a *ItemGraphWorkspaceRequestBuilder when successful +func (m *PlaceItemRequestBuilder) GraphWorkspace()(*ItemGraphWorkspaceRequestBuilder) { + return NewItemGraphWorkspaceRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the properties of place object that can be a building, floor, section, desk, room, workspace, or roomList. You can identify the place by specifying the id property. // returns a Placeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -90,7 +128,7 @@ func (m *PlaceItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable), nil } -// ToDeleteRequestInformation delete entity from places +// ToDeleteRequestInformation delete a place object. You can also use this method to delete the following child object types: building, floor, section, or desk. // returns a *RequestInformation when successful func (m *PlaceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *PlaceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -101,7 +139,7 @@ func (m *PlaceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of place object, which can be a room or roomList. You can identify the room or roomList by specifying the id or emailAddress property. +// ToPatchRequestInformation update the properties of place object that can be a building, floor, section, desk, room, workspace, or roomList. You can identify the place by specifying the id property. // returns a *RequestInformation when successful func (m *PlaceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable, requestConfiguration *PlaceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/places_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/places_request_builder.go index 589a8364ae..62a812a3b8 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/places_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/places/places_request_builder.go @@ -4,13 +4,23 @@ package places import ( + "context" i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" ) -// PlacesRequestBuilder builds and executes requests for operations under \places +// PlacesRequestBuilder provides operations to manage the collection of place entities. type PlacesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } +// PlacesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type PlacesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} // ByPlaceId provides operations to manage the collection of place entities. // returns a *PlaceItemRequestBuilder when successful func (m *PlacesRequestBuilder) ByPlaceId(placeId string)(*PlaceItemRequestBuilder) { @@ -41,6 +51,21 @@ func NewPlacesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371c func (m *PlacesRequestBuilder) Count()(*CountRequestBuilder) { return NewCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// GraphBuilding casts the previous resource to building. +// returns a *GraphBuildingRequestBuilder when successful +func (m *PlacesRequestBuilder) GraphBuilding()(*GraphBuildingRequestBuilder) { + return NewGraphBuildingRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphDesk casts the previous resource to desk. +// returns a *GraphDeskRequestBuilder when successful +func (m *PlacesRequestBuilder) GraphDesk()(*GraphDeskRequestBuilder) { + return NewGraphDeskRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphFloor casts the previous resource to floor. +// returns a *GraphFloorRequestBuilder when successful +func (m *PlacesRequestBuilder) GraphFloor()(*GraphFloorRequestBuilder) { + return NewGraphFloorRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // GraphRoom casts the previous resource to room. // returns a *GraphRoomRequestBuilder when successful func (m *PlacesRequestBuilder) GraphRoom()(*GraphRoomRequestBuilder) { @@ -51,3 +76,56 @@ func (m *PlacesRequestBuilder) GraphRoom()(*GraphRoomRequestBuilder) { func (m *PlacesRequestBuilder) GraphRoomList()(*GraphRoomListRequestBuilder) { return NewGraphRoomListRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// GraphSection casts the previous resource to section. +// returns a *GraphSectionRequestBuilder when successful +func (m *PlacesRequestBuilder) GraphSection()(*GraphSectionRequestBuilder) { + return NewGraphSectionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphWorkspace casts the previous resource to workspace. +// returns a *GraphWorkspaceRequestBuilder when successful +func (m *PlacesRequestBuilder) GraphWorkspace()(*GraphWorkspaceRequestBuilder) { + return NewGraphWorkspaceRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Post create a new place object. You can also use this method to create the following child object types: building, floor, section, room, workspace, or desk. +// returns a Placeable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/place-post?view=graph-rest-1.0 +func (m *PlacesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable, requestConfiguration *PlacesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreatePlaceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable), nil +} +// ToPostRequestInformation create a new place object. You can also use this method to create the following child object types: building, floor, section, room, workspace, or desk. +// returns a *RequestInformation when successful +func (m *PlacesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable, requestConfiguration *PlacesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *PlacesRequestBuilder when successful +func (m *PlacesRequestBuilder) WithUrl(rawUrl string)(*PlacesRequestBuilder) { + return NewPlacesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/policies/58463a75b1a3d18db53f878ef3d18c351da075e29582293e4c30aead391605d2.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/policies/58463a75b1a3d18db53f878ef3d18c351da075e29582293e4c30aead391605d2.go index f6ffad69ed..27781bbd43 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/policies/58463a75b1a3d18db53f878ef3d18c351da075e29582293e4c30aead391605d2.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/policies/58463a75b1a3d18db53f878ef3d18c351da075e29582293e4c30aead391605d2.go @@ -21,7 +21,7 @@ type AuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthentication // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilderGetQueryParameters represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. +// AuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilderGetQueryParameters read the properties and relationships of an externalAuthenticationMethodConfiguration object. type AuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,8 +57,11 @@ func NewAuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthenticat urlParams["request-raw-url"] = rawUrl return NewAuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property authenticationMethodConfigurations for policies +// Delete delete an externalAuthenticationMethodConfiguration object. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/externalauthenticationmethodconfiguration-delete?view=graph-rest-1.0 func (m *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,9 +76,12 @@ func (m *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthentica } return nil } -// Get represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. +// Get read the properties and relationships of an externalAuthenticationMethodConfiguration object. // returns a AuthenticationMethodConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/externalauthenticationmethodconfiguration-get?view=graph-rest-1.0 func (m *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AuthenticationMethodConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,9 +99,12 @@ func (m *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthentica } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AuthenticationMethodConfigurationable), nil } -// Patch update the navigation property authenticationMethodConfigurations in policies +// Patch update the properties of an externalAuthenticationMethodConfiguration object. // returns a AuthenticationMethodConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/externalauthenticationmethodconfiguration-update?view=graph-rest-1.0 func (m *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AuthenticationMethodConfigurationable, requestConfiguration *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AuthenticationMethodConfigurationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -113,7 +122,7 @@ func (m *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthentica } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AuthenticationMethodConfigurationable), nil } -// ToDeleteRequestInformation delete navigation property authenticationMethodConfigurations for policies +// ToDeleteRequestInformation delete an externalAuthenticationMethodConfiguration object. // returns a *RequestInformation when successful func (m *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -124,7 +133,7 @@ func (m *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthentica requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. +// ToGetRequestInformation read the properties and relationships of an externalAuthenticationMethodConfiguration object. // returns a *RequestInformation when successful func (m *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -138,7 +147,7 @@ func (m *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthentica requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the navigation property authenticationMethodConfigurations in policies +// ToPatchRequestInformation update the properties of an externalAuthenticationMethodConfiguration object. // returns a *RequestInformation when successful func (m *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AuthenticationMethodConfigurationable, requestConfiguration *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/policies/authentication_methods_policy_authentication_method_configurations_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/policies/authentication_methods_policy_authentication_method_configurations_request_builder.go index fbe226c037..3f49ed70c8 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/policies/authentication_methods_policy_authentication_method_configurations_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/policies/authentication_methods_policy_authentication_method_configurations_request_builder.go @@ -14,7 +14,7 @@ import ( type AuthenticationMethodsPolicyAuthenticationMethodConfigurationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AuthenticationMethodsPolicyAuthenticationMethodConfigurationsRequestBuilderGetQueryParameters represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. +// AuthenticationMethodsPolicyAuthenticationMethodConfigurationsRequestBuilderGetQueryParameters read the properties and relationships of an externalAuthenticationMethodConfiguration object. type AuthenticationMethodsPolicyAuthenticationMethodConfigurationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,7 +79,7 @@ func NewAuthenticationMethodsPolicyAuthenticationMethodConfigurationsRequestBuil func (m *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsRequestBuilder) Count()(*AuthenticationMethodsPolicyAuthenticationMethodConfigurationsCountRequestBuilder) { return NewAuthenticationMethodsPolicyAuthenticationMethodConfigurationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. +// Get read the properties and relationships of an externalAuthenticationMethodConfiguration object. // returns a AuthenticationMethodConfigurationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AuthenticationMethodConfigurationCollectionResponseable, error) { @@ -119,7 +119,7 @@ func (m *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsRequestBui } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AuthenticationMethodConfigurationable), nil } -// ToGetRequestInformation represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. +// ToGetRequestInformation read the properties and relationships of an externalAuthenticationMethodConfiguration object. // returns a *RequestInformation when successful func (m *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go index e2e95df2c2..4057a30384 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go @@ -99,12 +99,12 @@ func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilde } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CrossTenantIdentitySyncPolicyPartnerable), nil } -// Put update the user synchronization policy of a partner-specific configuration. +// Put create a cross-tenant user synchronization policy for a partner-specific configuration. // returns a CrossTenantIdentitySyncPolicyPartnerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/crosstenantidentitysyncpolicypartner-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationpartner-put-identitysynchronization?view=graph-rest-1.0 func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilder) Put(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CrossTenantIdentitySyncPolicyPartnerable, requestConfiguration *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderPutRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CrossTenantIdentitySyncPolicyPartnerable, error) { requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -147,7 +147,7 @@ func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPutRequestInformation update the user synchronization policy of a partner-specific configuration. +// ToPutRequestInformation create a cross-tenant user synchronization policy for a partner-specific configuration. // returns a *RequestInformation when successful func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilder) ToPutRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CrossTenantIdentitySyncPolicyPartnerable, requestConfiguration *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/reports/device_configuration_device_activity_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/reports/device_configuration_device_activity_request_builder.go index 03215c72e6..4949201c84 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/reports/device_configuration_device_activity_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/reports/device_configuration_device_activity_request_builder.go @@ -37,9 +37,6 @@ func NewDeviceConfigurationDeviceActivityRequestBuilder(rawUrl string, requestAd // Get metadata for the device configuration device activity report // returns a Reportable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-reportroot-deviceconfigurationdeviceactivity?view=graph-rest-1.0 func (m *DeviceConfigurationDeviceActivityRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceConfigurationDeviceActivityRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Reportable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/reports/device_configuration_user_activity_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/reports/device_configuration_user_activity_request_builder.go index 36fb468a64..abfd46f2df 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/reports/device_configuration_user_activity_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/reports/device_configuration_user_activity_request_builder.go @@ -37,9 +37,6 @@ func NewDeviceConfigurationUserActivityRequestBuilder(rawUrl string, requestAdap // Get metadata for the device configuration user activity report // returns a Reportable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-reportroot-deviceconfigurationuseractivity?view=graph-rest-1.0 func (m *DeviceConfigurationUserActivityRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceConfigurationUserActivityRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Reportable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/reports/reports_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/reports/reports_request_builder.go index 1672946d9a..8788e748e8 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/reports/reports_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/reports/reports_request_builder.go @@ -16,7 +16,7 @@ import ( type ReportsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ReportsRequestBuilderGetQueryParameters read properties and relationships of the reportRoot object. +// ReportsRequestBuilderGetQueryParameters get reports type ReportsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -77,12 +77,9 @@ func (m *ReportsRequestBuilder) DeviceConfigurationDeviceActivity()(*DeviceConfi func (m *ReportsRequestBuilder) DeviceConfigurationUserActivity()(*DeviceConfigurationUserActivityRequestBuilder) { return NewDeviceConfigurationUserActivityRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the reportRoot object. +// Get get reports // returns a ReportRootable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-reportroot-get?view=graph-rest-1.0 func (m *ReportsRequestBuilder) Get(ctx context.Context, requestConfiguration *ReportsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReportRootable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -615,12 +612,9 @@ func (m *ReportsRequestBuilder) MonthlyPrintUsageByUser()(*MonthlyPrintUsageByUs func (m *ReportsRequestBuilder) Partners()(*PartnersRequestBuilder) { return NewPartnersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a reportRoot object. +// Patch update reports // returns a ReportRootable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-reportroot-update?view=graph-rest-1.0 func (m *ReportsRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReportRootable, requestConfiguration *ReportsRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReportRootable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -643,7 +637,7 @@ func (m *ReportsRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61 func (m *ReportsRequestBuilder) Security()(*SecurityRequestBuilder) { return NewSecurityRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation read properties and relationships of the reportRoot object. +// ToGetRequestInformation get reports // returns a *RequestInformation when successful func (m *ReportsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ReportsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -657,7 +651,7 @@ func (m *ReportsRequestBuilder) ToGetRequestInformation(ctx context.Context, req requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a reportRoot object. +// ToPatchRequestInformation update reports // returns a *RequestInformation when successful func (m *ReportsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReportRootable, requestConfiguration *ReportsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/3e6dd4298b145f0e988553223a5ab9822883c922a70c4682c1b4595dd4880e09.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/3e6dd4298b145f0e988553223a5ab9822883c922a70c4682c1b4595dd4880e09.go new file mode 100644 index 0000000000..9452601019 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/3e6dd4298b145f0e988553223a5ab9822883c922a70c4682c1b4595dd4880e09.go @@ -0,0 +1,193 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" + idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae "github.com/microsoftgraph/msgraph-sdk-go/models/security" +) + +type IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewIdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody instantiates a new IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody and sets the default values. +func NewIdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody()(*IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody) { + m := &IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateIdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateIdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewIdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody(), nil +} +// GetAccountId gets the accountId property value. The accountId property +// returns a *string when successful +func (m *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody) GetAccountId()(*string) { + val, err := m.GetBackingStore().Get("accountId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetAction gets the action property value. The action property +// returns a *Action when successful +func (m *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody) GetAction()(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Action) { + val, err := m.GetBackingStore().Get("action") + if err != nil { + panic(err) + } + if val != nil { + return val.(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Action) + } + return nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["accountId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetAccountId(val) + } + return nil + } + res["action"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ParseAction) + if err != nil { + return err + } + if val != nil { + m.SetAction(val.(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Action)) + } + return nil + } + res["identityProvider"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ParseIdentityProvider) + if err != nil { + return err + } + if val != nil { + m.SetIdentityProvider(val.(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityProvider)) + } + return nil + } + return res +} +// GetIdentityProvider gets the identityProvider property value. The identityProvider property +// returns a *IdentityProvider when successful +func (m *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody) GetIdentityProvider()(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityProvider) { + val, err := m.GetBackingStore().Get("identityProvider") + if err != nil { + panic(err) + } + if val != nil { + return val.(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityProvider) + } + return nil +} +// Serialize serializes information the current object +func (m *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("accountId", m.GetAccountId()) + if err != nil { + return err + } + } + if m.GetAction() != nil { + cast := (*m.GetAction()).String() + err := writer.WriteStringValue("action", &cast) + if err != nil { + return err + } + } + if m.GetIdentityProvider() != nil { + cast := (*m.GetIdentityProvider()).String() + err := writer.WriteStringValue("identityProvider", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAccountId sets the accountId property value. The accountId property +func (m *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody) SetAccountId(value *string)() { + err := m.GetBackingStore().Set("accountId", value) + if err != nil { + panic(err) + } +} +// SetAction sets the action property value. The action property +func (m *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody) SetAction(value *idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Action)() { + err := m.GetBackingStore().Set("action", value) + if err != nil { + panic(err) + } +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetIdentityProvider sets the identityProvider property value. The identityProvider property +func (m *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody) SetIdentityProvider(value *idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityProvider)() { + err := m.GetBackingStore().Set("identityProvider", value) + if err != nil { + panic(err) + } +} +type IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAccountId()(*string) + GetAction()(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Action) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetIdentityProvider()(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityProvider) + SetAccountId(value *string)() + SetAction(value *idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Action)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetIdentityProvider(value *idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityProvider)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/attack_simulation_end_user_notifications_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/attack_simulation_end_user_notifications_request_builder.go index e66aa2e2e1..4ed84ac71c 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/attack_simulation_end_user_notifications_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/attack_simulation_end_user_notifications_request_builder.go @@ -14,7 +14,7 @@ import ( type AttackSimulationEndUserNotificationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AttackSimulationEndUserNotificationsRequestBuilderGetQueryParameters read the properties and relationships of an endUserNotification object. +// AttackSimulationEndUserNotificationsRequestBuilderGetQueryParameters get a list of endUserNotification objects and their properties. type AttackSimulationEndUserNotificationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,12 @@ func NewAttackSimulationEndUserNotificationsRequestBuilder(rawUrl string, reques func (m *AttackSimulationEndUserNotificationsRequestBuilder) Count()(*AttackSimulationEndUserNotificationsCountRequestBuilder) { return NewAttackSimulationEndUserNotificationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of an endUserNotification object. +// Get get a list of endUserNotification objects and their properties. // returns a EndUserNotificationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/endusernotification-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attacksimulationroot-list-endusernotifications?view=graph-rest-1.0 func (m *AttackSimulationEndUserNotificationsRequestBuilder) Get(ctx context.Context, requestConfiguration *AttackSimulationEndUserNotificationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EndUserNotificationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *AttackSimulationEndUserNotificationsRequestBuilder) Post(ctx context.Co } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EndUserNotificationable), nil } -// ToGetRequestInformation read the properties and relationships of an endUserNotification object. +// ToGetRequestInformation get a list of endUserNotification objects and their properties. // returns a *RequestInformation when successful func (m *AttackSimulationEndUserNotificationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AttackSimulationEndUserNotificationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/cases_ediscovery_cases_ediscovery_case_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/cases_ediscovery_cases_ediscovery_case_item_request_builder.go index 7e2867f715..69c03f3091 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/cases_ediscovery_cases_ediscovery_case_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/cases_ediscovery_cases_ediscovery_case_item_request_builder.go @@ -44,6 +44,11 @@ type CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilderPatchRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } +// CaseMembers provides operations to manage the caseMembers property of the microsoft.graph.security.ediscoveryCase entity. +// returns a *CasesEdiscoveryCasesItemCaseMembersRequestBuilder when successful +func (m *CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder) CaseMembers()(*CasesEdiscoveryCasesItemCaseMembersRequestBuilder) { + return NewCasesEdiscoveryCasesItemCaseMembersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // NewCasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilderInternal instantiates a new CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder and sets the default values. func NewCasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder) { m := &CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder{ diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/cases_ediscovery_cases_item_case_members_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/cases_ediscovery_cases_item_case_members_count_request_builder.go new file mode 100644 index 0000000000..4bfe5a79ba --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/cases_ediscovery_cases_item_case_members_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// CasesEdiscoveryCasesItemCaseMembersCountRequestBuilder provides operations to count the resources in the collection. +type CasesEdiscoveryCasesItemCaseMembersCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CasesEdiscoveryCasesItemCaseMembersCountRequestBuilderGetQueryParameters get the number of the resource +type CasesEdiscoveryCasesItemCaseMembersCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// CasesEdiscoveryCasesItemCaseMembersCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CasesEdiscoveryCasesItemCaseMembersCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CasesEdiscoveryCasesItemCaseMembersCountRequestBuilderGetQueryParameters +} +// NewCasesEdiscoveryCasesItemCaseMembersCountRequestBuilderInternal instantiates a new CasesEdiscoveryCasesItemCaseMembersCountRequestBuilder and sets the default values. +func NewCasesEdiscoveryCasesItemCaseMembersCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CasesEdiscoveryCasesItemCaseMembersCountRequestBuilder) { + m := &CasesEdiscoveryCasesItemCaseMembersCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/cases/ediscoveryCases/{ediscoveryCase%2Did}/caseMembers/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewCasesEdiscoveryCasesItemCaseMembersCountRequestBuilder instantiates a new CasesEdiscoveryCasesItemCaseMembersCountRequestBuilder and sets the default values. +func NewCasesEdiscoveryCasesItemCaseMembersCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CasesEdiscoveryCasesItemCaseMembersCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCasesEdiscoveryCasesItemCaseMembersCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CasesEdiscoveryCasesItemCaseMembersCountRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemCaseMembersCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *CasesEdiscoveryCasesItemCaseMembersCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemCaseMembersCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *CasesEdiscoveryCasesItemCaseMembersCountRequestBuilder when successful +func (m *CasesEdiscoveryCasesItemCaseMembersCountRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemCaseMembersCountRequestBuilder) { + return NewCasesEdiscoveryCasesItemCaseMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/cases_ediscovery_cases_item_case_members_ediscovery_case_member_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/cases_ediscovery_cases_item_case_members_ediscovery_case_member_item_request_builder.go new file mode 100644 index 0000000000..e5c6d02856 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/cases_ediscovery_cases_item_case_members_ediscovery_case_member_item_request_builder.go @@ -0,0 +1,163 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae "github.com/microsoftgraph/msgraph-sdk-go/models/security" +) + +// CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder provides operations to manage the caseMembers property of the microsoft.graph.security.ediscoveryCase entity. +type CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderGetQueryParameters represents members of an eDiscovery case. +type CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderGetQueryParameters +} +// CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewCasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderInternal instantiates a new CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder and sets the default values. +func NewCasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder) { + m := &CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/cases/ediscoveryCases/{ediscoveryCase%2Did}/caseMembers/{ediscoveryCaseMember%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewCasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder instantiates a new CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder and sets the default values. +func NewCasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete remove an ediscoveryCaseMember from an ediscoveryCase. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycasemember-delete?view=graph-rest-1.0 +func (m *CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get represents members of an eDiscovery case. +// returns a EdiscoveryCaseMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderGetRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.EdiscoveryCaseMemberable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateEdiscoveryCaseMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.EdiscoveryCaseMemberable), nil +} +// Patch update the navigation property caseMembers in security +// returns a EdiscoveryCaseMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder) Patch(ctx context.Context, body idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.EdiscoveryCaseMemberable, requestConfiguration *CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderPatchRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.EdiscoveryCaseMemberable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateEdiscoveryCaseMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.EdiscoveryCaseMemberable), nil +} +// ToDeleteRequestInformation remove an ediscoveryCaseMember from an ediscoveryCase. +// returns a *RequestInformation when successful +func (m *CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation represents members of an eDiscovery case. +// returns a *RequestInformation when successful +func (m *CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property caseMembers in security +// returns a *RequestInformation when successful +func (m *CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.EdiscoveryCaseMemberable, requestConfiguration *CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder when successful +func (m *CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder) { + return NewCasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/cases_ediscovery_cases_item_case_members_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/cases_ediscovery_cases_item_case_members_request_builder.go new file mode 100644 index 0000000000..33a7847bc6 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/cases_ediscovery_cases_item_case_members_request_builder.go @@ -0,0 +1,161 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae "github.com/microsoftgraph/msgraph-sdk-go/models/security" +) + +// CasesEdiscoveryCasesItemCaseMembersRequestBuilder provides operations to manage the caseMembers property of the microsoft.graph.security.ediscoveryCase entity. +type CasesEdiscoveryCasesItemCaseMembersRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CasesEdiscoveryCasesItemCaseMembersRequestBuilderGetQueryParameters get a list of ediscoveryCaseMember objects for an ediscoveryCase. +type CasesEdiscoveryCasesItemCaseMembersRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// CasesEdiscoveryCasesItemCaseMembersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CasesEdiscoveryCasesItemCaseMembersRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CasesEdiscoveryCasesItemCaseMembersRequestBuilderGetQueryParameters +} +// CasesEdiscoveryCasesItemCaseMembersRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CasesEdiscoveryCasesItemCaseMembersRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEdiscoveryCaseMemberId provides operations to manage the caseMembers property of the microsoft.graph.security.ediscoveryCase entity. +// returns a *CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder when successful +func (m *CasesEdiscoveryCasesItemCaseMembersRequestBuilder) ByEdiscoveryCaseMemberId(ediscoveryCaseMemberId string)(*CasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if ediscoveryCaseMemberId != "" { + urlTplParams["ediscoveryCaseMember%2Did"] = ediscoveryCaseMemberId + } + return NewCasesEdiscoveryCasesItemCaseMembersEdiscoveryCaseMemberItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewCasesEdiscoveryCasesItemCaseMembersRequestBuilderInternal instantiates a new CasesEdiscoveryCasesItemCaseMembersRequestBuilder and sets the default values. +func NewCasesEdiscoveryCasesItemCaseMembersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CasesEdiscoveryCasesItemCaseMembersRequestBuilder) { + m := &CasesEdiscoveryCasesItemCaseMembersRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/cases/ediscoveryCases/{ediscoveryCase%2Did}/caseMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewCasesEdiscoveryCasesItemCaseMembersRequestBuilder instantiates a new CasesEdiscoveryCasesItemCaseMembersRequestBuilder and sets the default values. +func NewCasesEdiscoveryCasesItemCaseMembersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CasesEdiscoveryCasesItemCaseMembersRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCasesEdiscoveryCasesItemCaseMembersRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *CasesEdiscoveryCasesItemCaseMembersCountRequestBuilder when successful +func (m *CasesEdiscoveryCasesItemCaseMembersRequestBuilder) Count()(*CasesEdiscoveryCasesItemCaseMembersCountRequestBuilder) { + return NewCasesEdiscoveryCasesItemCaseMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of ediscoveryCaseMember objects for an ediscoveryCase. +// returns a EdiscoveryCaseMemberCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycasemember-list?view=graph-rest-1.0 +func (m *CasesEdiscoveryCasesItemCaseMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemCaseMembersRequestBuilderGetRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.EdiscoveryCaseMemberCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateEdiscoveryCaseMemberCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.EdiscoveryCaseMemberCollectionResponseable), nil +} +// Post add an ediscoveryCaseMember to an ediscoveryCase. The ediscoveryCaseMember can be one of two types: a user or a role group. +// returns a EdiscoveryCaseMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycasemember-post?view=graph-rest-1.0 +func (m *CasesEdiscoveryCasesItemCaseMembersRequestBuilder) Post(ctx context.Context, body idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.EdiscoveryCaseMemberable, requestConfiguration *CasesEdiscoveryCasesItemCaseMembersRequestBuilderPostRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.EdiscoveryCaseMemberable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateEdiscoveryCaseMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.EdiscoveryCaseMemberable), nil +} +// ToGetRequestInformation get a list of ediscoveryCaseMember objects for an ediscoveryCase. +// returns a *RequestInformation when successful +func (m *CasesEdiscoveryCasesItemCaseMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemCaseMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation add an ediscoveryCaseMember to an ediscoveryCase. The ediscoveryCaseMember can be one of two types: a user or a role group. +// returns a *RequestInformation when successful +func (m *CasesEdiscoveryCasesItemCaseMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.EdiscoveryCaseMemberable, requestConfiguration *CasesEdiscoveryCasesItemCaseMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *CasesEdiscoveryCasesItemCaseMembersRequestBuilder when successful +func (m *CasesEdiscoveryCasesItemCaseMembersRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemCaseMembersRequestBuilder) { + return NewCasesEdiscoveryCasesItemCaseMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_identity_accounts_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_identity_accounts_count_request_builder.go new file mode 100644 index 0000000000..cb7cc32317 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_identity_accounts_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// IdentitiesIdentityAccountsCountRequestBuilder provides operations to count the resources in the collection. +type IdentitiesIdentityAccountsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// IdentitiesIdentityAccountsCountRequestBuilderGetQueryParameters get the number of the resource +type IdentitiesIdentityAccountsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// IdentitiesIdentityAccountsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesIdentityAccountsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *IdentitiesIdentityAccountsCountRequestBuilderGetQueryParameters +} +// NewIdentitiesIdentityAccountsCountRequestBuilderInternal instantiates a new IdentitiesIdentityAccountsCountRequestBuilder and sets the default values. +func NewIdentitiesIdentityAccountsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesIdentityAccountsCountRequestBuilder) { + m := &IdentitiesIdentityAccountsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/identities/identityAccounts/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewIdentitiesIdentityAccountsCountRequestBuilder instantiates a new IdentitiesIdentityAccountsCountRequestBuilder and sets the default values. +func NewIdentitiesIdentityAccountsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesIdentityAccountsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewIdentitiesIdentityAccountsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *IdentitiesIdentityAccountsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentitiesIdentityAccountsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *IdentitiesIdentityAccountsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentitiesIdentityAccountsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *IdentitiesIdentityAccountsCountRequestBuilder when successful +func (m *IdentitiesIdentityAccountsCountRequestBuilder) WithUrl(rawUrl string)(*IdentitiesIdentityAccountsCountRequestBuilder) { + return NewIdentitiesIdentityAccountsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_identity_accounts_identity_accounts_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_identity_accounts_identity_accounts_item_request_builder.go new file mode 100644 index 0000000000..7655280adf --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_identity_accounts_identity_accounts_item_request_builder.go @@ -0,0 +1,168 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae "github.com/microsoftgraph/msgraph-sdk-go/models/security" +) + +// IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder provides operations to manage the identityAccounts property of the microsoft.graph.security.identityContainer entity. +type IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderGetQueryParameters read the properties and relationships of a single identity security account object. This allows retrieving information about available identity accounts. +type IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderGetQueryParameters +} +// IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewIdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderInternal instantiates a new IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder and sets the default values. +func NewIdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder) { + m := &IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/identities/identityAccounts/{identityAccounts%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewIdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder instantiates a new IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder and sets the default values. +func NewIdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewIdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property identityAccounts for security +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get read the properties and relationships of a single identity security account object. This allows retrieving information about available identity accounts. +// returns a IdentityAccountsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-identityaccounts-get?view=graph-rest-1.0 +func (m *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderGetRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateIdentityAccountsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable), nil +} +// MicrosoftGraphSecurityInvokeAction provides operations to call the invokeAction method. +// returns a *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder when successful +func (m *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder) MicrosoftGraphSecurityInvokeAction()(*IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder) { + return NewIdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property identityAccounts in security +// returns a IdentityAccountsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder) Patch(ctx context.Context, body idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable, requestConfiguration *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderPatchRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateIdentityAccountsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable), nil +} +// ToDeleteRequestInformation delete navigation property identityAccounts for security +// returns a *RequestInformation when successful +func (m *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation read the properties and relationships of a single identity security account object. This allows retrieving information about available identity accounts. +// returns a *RequestInformation when successful +func (m *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property identityAccounts in security +// returns a *RequestInformation when successful +func (m *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable, requestConfiguration *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder when successful +func (m *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder) WithUrl(rawUrl string)(*IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder) { + return NewIdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_identity_accounts_item_microsoft_graph_security_invoke_action_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_identity_accounts_item_microsoft_graph_security_invoke_action_request_builder.go new file mode 100644 index 0000000000..df331f1806 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_identity_accounts_item_microsoft_graph_security_invoke_action_request_builder.go @@ -0,0 +1,79 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae "github.com/microsoftgraph/msgraph-sdk-go/models/security" +) + +// IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder provides operations to call the invokeAction method. +type IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewIdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilderInternal instantiates a new IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder and sets the default values. +func NewIdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder) { + m := &IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/identities/identityAccounts/{identityAccounts%2Did}/microsoft.graph.security.invokeAction", pathParameters), + } + return m +} +// NewIdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder instantiates a new IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder and sets the default values. +func NewIdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewIdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilderInternal(urlParams, requestAdapter) +} +// Post perform actions such as revoking accounts and forcing password reset for identity accounts that are observed in Microsoft Defender for Identity. This action allows reading and performing identity security actions on behalf of the signed-in identity. +// returns a InvokeActionResultable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-identityaccounts-invokeaction?view=graph-rest-1.0 +func (m *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder) Post(ctx context.Context, body IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyable, requestConfiguration *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilderPostRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.InvokeActionResultable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateInvokeActionResultFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.InvokeActionResultable), nil +} +// ToPostRequestInformation perform actions such as revoking accounts and forcing password reset for identity accounts that are observed in Microsoft Defender for Identity. This action allows reading and performing identity security actions on behalf of the signed-in identity. +// returns a *RequestInformation when successful +func (m *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder) ToPostRequestInformation(ctx context.Context, body IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyable, requestConfiguration *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder when successful +func (m *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder) WithUrl(rawUrl string)(*IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder) { + return NewIdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_identity_accounts_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_identity_accounts_request_builder.go new file mode 100644 index 0000000000..20c11c4ac7 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_identity_accounts_request_builder.go @@ -0,0 +1,158 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae "github.com/microsoftgraph/msgraph-sdk-go/models/security" +) + +// IdentitiesIdentityAccountsRequestBuilder provides operations to manage the identityAccounts property of the microsoft.graph.security.identityContainer entity. +type IdentitiesIdentityAccountsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// IdentitiesIdentityAccountsRequestBuilderGetQueryParameters get a list of the identityAccounts objects and their properties. +type IdentitiesIdentityAccountsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// IdentitiesIdentityAccountsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesIdentityAccountsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *IdentitiesIdentityAccountsRequestBuilderGetQueryParameters +} +// IdentitiesIdentityAccountsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesIdentityAccountsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByIdentityAccountsId provides operations to manage the identityAccounts property of the microsoft.graph.security.identityContainer entity. +// returns a *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder when successful +func (m *IdentitiesIdentityAccountsRequestBuilder) ByIdentityAccountsId(identityAccountsId string)(*IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if identityAccountsId != "" { + urlTplParams["identityAccounts%2Did"] = identityAccountsId + } + return NewIdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewIdentitiesIdentityAccountsRequestBuilderInternal instantiates a new IdentitiesIdentityAccountsRequestBuilder and sets the default values. +func NewIdentitiesIdentityAccountsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesIdentityAccountsRequestBuilder) { + m := &IdentitiesIdentityAccountsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/identities/identityAccounts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewIdentitiesIdentityAccountsRequestBuilder instantiates a new IdentitiesIdentityAccountsRequestBuilder and sets the default values. +func NewIdentitiesIdentityAccountsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesIdentityAccountsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewIdentitiesIdentityAccountsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *IdentitiesIdentityAccountsCountRequestBuilder when successful +func (m *IdentitiesIdentityAccountsRequestBuilder) Count()(*IdentitiesIdentityAccountsCountRequestBuilder) { + return NewIdentitiesIdentityAccountsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of the identityAccounts objects and their properties. +// returns a IdentityAccountsCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-identitycontainer-list-identityaccounts?view=graph-rest-1.0 +func (m *IdentitiesIdentityAccountsRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentitiesIdentityAccountsRequestBuilderGetRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateIdentityAccountsCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsCollectionResponseable), nil +} +// Post create new navigation property to identityAccounts for security +// returns a IdentityAccountsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *IdentitiesIdentityAccountsRequestBuilder) Post(ctx context.Context, body idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable, requestConfiguration *IdentitiesIdentityAccountsRequestBuilderPostRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateIdentityAccountsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable), nil +} +// ToGetRequestInformation get a list of the identityAccounts objects and their properties. +// returns a *RequestInformation when successful +func (m *IdentitiesIdentityAccountsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentitiesIdentityAccountsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to identityAccounts for security +// returns a *RequestInformation when successful +func (m *IdentitiesIdentityAccountsRequestBuilder) ToPostRequestInformation(ctx context.Context, body idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable, requestConfiguration *IdentitiesIdentityAccountsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *IdentitiesIdentityAccountsRequestBuilder when successful +func (m *IdentitiesIdentityAccountsRequestBuilder) WithUrl(rawUrl string)(*IdentitiesIdentityAccountsRequestBuilder) { + return NewIdentitiesIdentityAccountsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_request_builder.go index 5c8604b554..e4d8c120c8 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_request_builder.go @@ -98,6 +98,11 @@ func (m *IdentitiesRequestBuilder) Get(ctx context.Context, requestConfiguration func (m *IdentitiesRequestBuilder) HealthIssues()(*IdentitiesHealthIssuesRequestBuilder) { return NewIdentitiesHealthIssuesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// IdentityAccounts provides operations to manage the identityAccounts property of the microsoft.graph.security.identityContainer entity. +// returns a *IdentitiesIdentityAccountsRequestBuilder when successful +func (m *IdentitiesRequestBuilder) IdentityAccounts()(*IdentitiesIdentityAccountsRequestBuilder) { + return NewIdentitiesIdentityAccountsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Patch update the navigation property identities in security // returns a IdentityContainerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -118,6 +123,16 @@ func (m *IdentitiesRequestBuilder) Patch(ctx context.Context, body idd6d442c3cc8 } return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityContainerable), nil } +// SensorCandidateActivationConfiguration provides operations to manage the sensorCandidateActivationConfiguration property of the microsoft.graph.security.identityContainer entity. +// returns a *IdentitiesSensorCandidateActivationConfigurationRequestBuilder when successful +func (m *IdentitiesRequestBuilder) SensorCandidateActivationConfiguration()(*IdentitiesSensorCandidateActivationConfigurationRequestBuilder) { + return NewIdentitiesSensorCandidateActivationConfigurationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// SensorCandidates provides operations to manage the sensorCandidates property of the microsoft.graph.security.identityContainer entity. +// returns a *IdentitiesSensorCandidatesRequestBuilder when successful +func (m *IdentitiesRequestBuilder) SensorCandidates()(*IdentitiesSensorCandidatesRequestBuilder) { + return NewIdentitiesSensorCandidatesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Sensors provides operations to manage the sensors property of the microsoft.graph.security.identityContainer entity. // returns a *IdentitiesSensorsRequestBuilder when successful func (m *IdentitiesRequestBuilder) Sensors()(*IdentitiesSensorsRequestBuilder) { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_sensor_candidate_activation_configuration_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_sensor_candidate_activation_configuration_request_builder.go new file mode 100644 index 0000000000..fcd5c2859b --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_sensor_candidate_activation_configuration_request_builder.go @@ -0,0 +1,163 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae "github.com/microsoftgraph/msgraph-sdk-go/models/security" +) + +// IdentitiesSensorCandidateActivationConfigurationRequestBuilder provides operations to manage the sensorCandidateActivationConfiguration property of the microsoft.graph.security.identityContainer entity. +type IdentitiesSensorCandidateActivationConfigurationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// IdentitiesSensorCandidateActivationConfigurationRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesSensorCandidateActivationConfigurationRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// IdentitiesSensorCandidateActivationConfigurationRequestBuilderGetQueryParameters read the properties and relationships of microsoft.graph.security.sensorCandidateActivationConfiguration object. +type IdentitiesSensorCandidateActivationConfigurationRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// IdentitiesSensorCandidateActivationConfigurationRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesSensorCandidateActivationConfigurationRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *IdentitiesSensorCandidateActivationConfigurationRequestBuilderGetQueryParameters +} +// IdentitiesSensorCandidateActivationConfigurationRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesSensorCandidateActivationConfigurationRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewIdentitiesSensorCandidateActivationConfigurationRequestBuilderInternal instantiates a new IdentitiesSensorCandidateActivationConfigurationRequestBuilder and sets the default values. +func NewIdentitiesSensorCandidateActivationConfigurationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSensorCandidateActivationConfigurationRequestBuilder) { + m := &IdentitiesSensorCandidateActivationConfigurationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/identities/sensorCandidateActivationConfiguration{?%24expand,%24select}", pathParameters), + } + return m +} +// NewIdentitiesSensorCandidateActivationConfigurationRequestBuilder instantiates a new IdentitiesSensorCandidateActivationConfigurationRequestBuilder and sets the default values. +func NewIdentitiesSensorCandidateActivationConfigurationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSensorCandidateActivationConfigurationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewIdentitiesSensorCandidateActivationConfigurationRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property sensorCandidateActivationConfiguration for security +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *IdentitiesSensorCandidateActivationConfigurationRequestBuilder) Delete(ctx context.Context, requestConfiguration *IdentitiesSensorCandidateActivationConfigurationRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get read the properties and relationships of microsoft.graph.security.sensorCandidateActivationConfiguration object. +// returns a SensorCandidateActivationConfigurationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-sensorcandidateactivationconfiguration-get?view=graph-rest-1.0 +func (m *IdentitiesSensorCandidateActivationConfigurationRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentitiesSensorCandidateActivationConfigurationRequestBuilderGetRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCandidateActivationConfigurationable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateSensorCandidateActivationConfigurationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCandidateActivationConfigurationable), nil +} +// Patch update the navigation property sensorCandidateActivationConfiguration in security +// returns a SensorCandidateActivationConfigurationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *IdentitiesSensorCandidateActivationConfigurationRequestBuilder) Patch(ctx context.Context, body idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCandidateActivationConfigurationable, requestConfiguration *IdentitiesSensorCandidateActivationConfigurationRequestBuilderPatchRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCandidateActivationConfigurationable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateSensorCandidateActivationConfigurationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCandidateActivationConfigurationable), nil +} +// ToDeleteRequestInformation delete navigation property sensorCandidateActivationConfiguration for security +// returns a *RequestInformation when successful +func (m *IdentitiesSensorCandidateActivationConfigurationRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *IdentitiesSensorCandidateActivationConfigurationRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation read the properties and relationships of microsoft.graph.security.sensorCandidateActivationConfiguration object. +// returns a *RequestInformation when successful +func (m *IdentitiesSensorCandidateActivationConfigurationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentitiesSensorCandidateActivationConfigurationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property sensorCandidateActivationConfiguration in security +// returns a *RequestInformation when successful +func (m *IdentitiesSensorCandidateActivationConfigurationRequestBuilder) ToPatchRequestInformation(ctx context.Context, body idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCandidateActivationConfigurationable, requestConfiguration *IdentitiesSensorCandidateActivationConfigurationRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *IdentitiesSensorCandidateActivationConfigurationRequestBuilder when successful +func (m *IdentitiesSensorCandidateActivationConfigurationRequestBuilder) WithUrl(rawUrl string)(*IdentitiesSensorCandidateActivationConfigurationRequestBuilder) { + return NewIdentitiesSensorCandidateActivationConfigurationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_sensor_candidates_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_sensor_candidates_count_request_builder.go new file mode 100644 index 0000000000..391e2a0e3b --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_sensor_candidates_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// IdentitiesSensorCandidatesCountRequestBuilder provides operations to count the resources in the collection. +type IdentitiesSensorCandidatesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// IdentitiesSensorCandidatesCountRequestBuilderGetQueryParameters get the number of the resource +type IdentitiesSensorCandidatesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// IdentitiesSensorCandidatesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesSensorCandidatesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *IdentitiesSensorCandidatesCountRequestBuilderGetQueryParameters +} +// NewIdentitiesSensorCandidatesCountRequestBuilderInternal instantiates a new IdentitiesSensorCandidatesCountRequestBuilder and sets the default values. +func NewIdentitiesSensorCandidatesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSensorCandidatesCountRequestBuilder) { + m := &IdentitiesSensorCandidatesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/identities/sensorCandidates/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewIdentitiesSensorCandidatesCountRequestBuilder instantiates a new IdentitiesSensorCandidatesCountRequestBuilder and sets the default values. +func NewIdentitiesSensorCandidatesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSensorCandidatesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewIdentitiesSensorCandidatesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *IdentitiesSensorCandidatesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentitiesSensorCandidatesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *IdentitiesSensorCandidatesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentitiesSensorCandidatesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *IdentitiesSensorCandidatesCountRequestBuilder when successful +func (m *IdentitiesSensorCandidatesCountRequestBuilder) WithUrl(rawUrl string)(*IdentitiesSensorCandidatesCountRequestBuilder) { + return NewIdentitiesSensorCandidatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_sensor_candidates_microsoft_graph_security_activate_activate_post_request_body.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_sensor_candidates_microsoft_graph_security_activate_activate_post_request_body.go new file mode 100644 index 0000000000..6caf5d85cb --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_sensor_candidates_microsoft_graph_security_activate_activate_post_request_body.go @@ -0,0 +1,122 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewIdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBody instantiates a new IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBody and sets the default values. +func NewIdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBody()(*IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBody) { + m := &IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateIdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateIdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewIdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["serverIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetServerIds(res) + } + return nil + } + return res +} +// GetServerIds gets the serverIds property value. The serverIds property +// returns a []string when successful +func (m *IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBody) GetServerIds()([]string) { + val, err := m.GetBackingStore().Get("serverIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// Serialize serializes information the current object +func (m *IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetServerIds() != nil { + err := writer.WriteCollectionOfStringValues("serverIds", m.GetServerIds()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetServerIds sets the serverIds property value. The serverIds property +func (m *IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBody) SetServerIds(value []string)() { + err := m.GetBackingStore().Set("serverIds", value) + if err != nil { + panic(err) + } +} +type IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetServerIds()([]string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetServerIds(value []string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_sensor_candidates_microsoft_graph_security_activate_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_sensor_candidates_microsoft_graph_security_activate_request_builder.go new file mode 100644 index 0000000000..c38d5fa232 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_sensor_candidates_microsoft_graph_security_activate_request_builder.go @@ -0,0 +1,71 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilder provides operations to call the activate method. +type IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewIdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilderInternal instantiates a new IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilder and sets the default values. +func NewIdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilder) { + m := &IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/identities/sensorCandidates/microsoft.graph.security.activate", pathParameters), + } + return m +} +// NewIdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilder instantiates a new IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilder and sets the default values. +func NewIdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewIdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilderInternal(urlParams, requestAdapter) +} +// Post activate Microsoft Defender for Identity sensors. +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilder) Post(ctx context.Context, body IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBodyable, requestConfiguration *IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation activate Microsoft Defender for Identity sensors. +// returns a *RequestInformation when successful +func (m *IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilder) ToPostRequestInformation(ctx context.Context, body IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateActivatePostRequestBodyable, requestConfiguration *IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilder when successful +func (m *IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilder) WithUrl(rawUrl string)(*IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilder) { + return NewIdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_sensor_candidates_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_sensor_candidates_request_builder.go new file mode 100644 index 0000000000..2254f3cca4 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_sensor_candidates_request_builder.go @@ -0,0 +1,163 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae "github.com/microsoftgraph/msgraph-sdk-go/models/security" +) + +// IdentitiesSensorCandidatesRequestBuilder provides operations to manage the sensorCandidates property of the microsoft.graph.security.identityContainer entity. +type IdentitiesSensorCandidatesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// IdentitiesSensorCandidatesRequestBuilderGetQueryParameters get a list of the sensorCandidate objects and their properties. +type IdentitiesSensorCandidatesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// IdentitiesSensorCandidatesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesSensorCandidatesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *IdentitiesSensorCandidatesRequestBuilderGetQueryParameters +} +// IdentitiesSensorCandidatesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesSensorCandidatesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BySensorCandidateId provides operations to manage the sensorCandidates property of the microsoft.graph.security.identityContainer entity. +// returns a *IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder when successful +func (m *IdentitiesSensorCandidatesRequestBuilder) BySensorCandidateId(sensorCandidateId string)(*IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if sensorCandidateId != "" { + urlTplParams["sensorCandidate%2Did"] = sensorCandidateId + } + return NewIdentitiesSensorCandidatesSensorCandidateItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewIdentitiesSensorCandidatesRequestBuilderInternal instantiates a new IdentitiesSensorCandidatesRequestBuilder and sets the default values. +func NewIdentitiesSensorCandidatesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSensorCandidatesRequestBuilder) { + m := &IdentitiesSensorCandidatesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/identities/sensorCandidates{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewIdentitiesSensorCandidatesRequestBuilder instantiates a new IdentitiesSensorCandidatesRequestBuilder and sets the default values. +func NewIdentitiesSensorCandidatesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSensorCandidatesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewIdentitiesSensorCandidatesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *IdentitiesSensorCandidatesCountRequestBuilder when successful +func (m *IdentitiesSensorCandidatesRequestBuilder) Count()(*IdentitiesSensorCandidatesCountRequestBuilder) { + return NewIdentitiesSensorCandidatesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of the sensorCandidate objects and their properties. +// returns a SensorCandidateCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-identitycontainer-list-sensorcandidates?view=graph-rest-1.0 +func (m *IdentitiesSensorCandidatesRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentitiesSensorCandidatesRequestBuilderGetRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCandidateCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateSensorCandidateCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCandidateCollectionResponseable), nil +} +// MicrosoftGraphSecurityActivate provides operations to call the activate method. +// returns a *IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilder when successful +func (m *IdentitiesSensorCandidatesRequestBuilder) MicrosoftGraphSecurityActivate()(*IdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilder) { + return NewIdentitiesSensorCandidatesMicrosoftGraphSecurityActivateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Post create new navigation property to sensorCandidates for security +// returns a SensorCandidateable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *IdentitiesSensorCandidatesRequestBuilder) Post(ctx context.Context, body idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCandidateable, requestConfiguration *IdentitiesSensorCandidatesRequestBuilderPostRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCandidateable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateSensorCandidateFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCandidateable), nil +} +// ToGetRequestInformation get a list of the sensorCandidate objects and their properties. +// returns a *RequestInformation when successful +func (m *IdentitiesSensorCandidatesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentitiesSensorCandidatesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to sensorCandidates for security +// returns a *RequestInformation when successful +func (m *IdentitiesSensorCandidatesRequestBuilder) ToPostRequestInformation(ctx context.Context, body idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCandidateable, requestConfiguration *IdentitiesSensorCandidatesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *IdentitiesSensorCandidatesRequestBuilder when successful +func (m *IdentitiesSensorCandidatesRequestBuilder) WithUrl(rawUrl string)(*IdentitiesSensorCandidatesRequestBuilder) { + return NewIdentitiesSensorCandidatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_sensor_candidates_sensor_candidate_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_sensor_candidates_sensor_candidate_item_request_builder.go new file mode 100644 index 0000000000..6d6804fd0e --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/identities_sensor_candidates_sensor_candidate_item_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae "github.com/microsoftgraph/msgraph-sdk-go/models/security" +) + +// IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder provides operations to manage the sensorCandidates property of the microsoft.graph.security.identityContainer entity. +type IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderGetQueryParameters represents Microsoft Defender for Identity sensors that are ready to be activated. +type IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderGetQueryParameters +} +// IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewIdentitiesSensorCandidatesSensorCandidateItemRequestBuilderInternal instantiates a new IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder and sets the default values. +func NewIdentitiesSensorCandidatesSensorCandidateItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder) { + m := &IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/identities/sensorCandidates/{sensorCandidate%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewIdentitiesSensorCandidatesSensorCandidateItemRequestBuilder instantiates a new IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder and sets the default values. +func NewIdentitiesSensorCandidatesSensorCandidateItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewIdentitiesSensorCandidatesSensorCandidateItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property sensorCandidates for security +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get represents Microsoft Defender for Identity sensors that are ready to be activated. +// returns a SensorCandidateable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderGetRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCandidateable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateSensorCandidateFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCandidateable), nil +} +// Patch update the navigation property sensorCandidates in security +// returns a SensorCandidateable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder) Patch(ctx context.Context, body idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCandidateable, requestConfiguration *IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderPatchRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCandidateable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateSensorCandidateFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCandidateable), nil +} +// ToDeleteRequestInformation delete navigation property sensorCandidates for security +// returns a *RequestInformation when successful +func (m *IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation represents Microsoft Defender for Identity sensors that are ready to be activated. +// returns a *RequestInformation when successful +func (m *IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property sensorCandidates in security +// returns a *RequestInformation when successful +func (m *IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCandidateable, requestConfiguration *IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder when successful +func (m *IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder) WithUrl(rawUrl string)(*IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder) { + return NewIdentitiesSensorCandidatesSensorCandidateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/secure_score_control_profiles_secure_score_control_profile_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/secure_score_control_profiles_secure_score_control_profile_item_request_builder.go index 7f090315ab..d6891a3166 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/secure_score_control_profiles_secure_score_control_profile_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/security/secure_score_control_profiles_secure_score_control_profile_item_request_builder.go @@ -96,7 +96,7 @@ func (m *SecureScoreControlProfilesSecureScoreControlProfileItemRequestBuilder) } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SecureScoreControlProfileable), nil } -// Patch update an editable secureScoreControlProfile object within any integrated solution to change various properties, such as assignedTo or tenantNote. +// Patch update an editable secureScoreControlProfile object within any integrated solution to change various properties, such as tenantNote. // returns a SecureScoreControlProfileable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -144,7 +144,7 @@ func (m *SecureScoreControlProfilesSecureScoreControlProfileItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update an editable secureScoreControlProfile object within any integrated solution to change various properties, such as assignedTo or tenantNote. +// ToPatchRequestInformation update an editable secureScoreControlProfile object within any integrated solution to change various properties, such as tenantNote. // returns a *RequestInformation when successful func (m *SecureScoreControlProfilesSecureScoreControlProfileItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SecureScoreControlProfileable, requestConfiguration *SecureScoreControlProfilesSecureScoreControlProfileItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/serviceprincipals/item_restore_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/serviceprincipals/item_restore_request_builder.go index 2ad66321ea..c1f09f1c50 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/serviceprincipals/item_restore_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/serviceprincipals/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/solutions/backup_restore_protection_units_item_cancel_offboard_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/solutions/backup_restore_protection_units_item_cancel_offboard_request_builder.go new file mode 100644 index 0000000000..829b79943a --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/solutions/backup_restore_protection_units_item_cancel_offboard_request_builder.go @@ -0,0 +1,75 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder provides operations to call the cancelOffboard method. +type BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewBackupRestoreProtectionUnitsItemCancelOffboardRequestBuilderInternal instantiates a new BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder and sets the default values. +func NewBackupRestoreProtectionUnitsItemCancelOffboardRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder) { + m := &BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/protectionUnits/{protectionUnitBase%2Did}/cancelOffboard", pathParameters), + } + return m +} +// NewBackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder instantiates a new BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder and sets the default values. +func NewBackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackupRestoreProtectionUnitsItemCancelOffboardRequestBuilderInternal(urlParams, requestAdapter) +} +// Post cancel the offboarding of a protectionUnitBase. +// returns a ProtectionUnitBaseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/protectionunitbase-canceloffboard?view=graph-rest-1.0 +func (m *BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder) Post(ctx context.Context, requestConfiguration *BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProtectionUnitBaseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateProtectionUnitBaseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProtectionUnitBaseable), nil +} +// ToPostRequestInformation cancel the offboarding of a protectionUnitBase. +// returns a *RequestInformation when successful +func (m *BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder when successful +func (m *BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder) WithUrl(rawUrl string)(*BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder) { + return NewBackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/solutions/backup_restore_protection_units_item_offboard_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/solutions/backup_restore_protection_units_item_offboard_request_builder.go new file mode 100644 index 0000000000..12074f5eb7 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/solutions/backup_restore_protection_units_item_offboard_request_builder.go @@ -0,0 +1,75 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// BackupRestoreProtectionUnitsItemOffboardRequestBuilder provides operations to call the offboard method. +type BackupRestoreProtectionUnitsItemOffboardRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// BackupRestoreProtectionUnitsItemOffboardRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type BackupRestoreProtectionUnitsItemOffboardRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewBackupRestoreProtectionUnitsItemOffboardRequestBuilderInternal instantiates a new BackupRestoreProtectionUnitsItemOffboardRequestBuilder and sets the default values. +func NewBackupRestoreProtectionUnitsItemOffboardRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackupRestoreProtectionUnitsItemOffboardRequestBuilder) { + m := &BackupRestoreProtectionUnitsItemOffboardRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/backupRestore/protectionUnits/{protectionUnitBase%2Did}/offboard", pathParameters), + } + return m +} +// NewBackupRestoreProtectionUnitsItemOffboardRequestBuilder instantiates a new BackupRestoreProtectionUnitsItemOffboardRequestBuilder and sets the default values. +func NewBackupRestoreProtectionUnitsItemOffboardRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackupRestoreProtectionUnitsItemOffboardRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewBackupRestoreProtectionUnitsItemOffboardRequestBuilderInternal(urlParams, requestAdapter) +} +// Post offboard a protectionUnitBase. +// returns a ProtectionUnitBaseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/protectionunitbase-offboard?view=graph-rest-1.0 +func (m *BackupRestoreProtectionUnitsItemOffboardRequestBuilder) Post(ctx context.Context, requestConfiguration *BackupRestoreProtectionUnitsItemOffboardRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProtectionUnitBaseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateProtectionUnitBaseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProtectionUnitBaseable), nil +} +// ToPostRequestInformation offboard a protectionUnitBase. +// returns a *RequestInformation when successful +func (m *BackupRestoreProtectionUnitsItemOffboardRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *BackupRestoreProtectionUnitsItemOffboardRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *BackupRestoreProtectionUnitsItemOffboardRequestBuilder when successful +func (m *BackupRestoreProtectionUnitsItemOffboardRequestBuilder) WithUrl(rawUrl string)(*BackupRestoreProtectionUnitsItemOffboardRequestBuilder) { + return NewBackupRestoreProtectionUnitsItemOffboardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/solutions/backup_restore_protection_units_protection_unit_base_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/solutions/backup_restore_protection_units_protection_unit_base_item_request_builder.go index b13615ca6f..0b59beda0c 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/solutions/backup_restore_protection_units_protection_unit_base_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/solutions/backup_restore_protection_units_protection_unit_base_item_request_builder.go @@ -30,6 +30,11 @@ type BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilderGetRequestC // Request query parameters QueryParameters *BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilderGetQueryParameters } +// CancelOffboard provides operations to call the cancelOffboard method. +// returns a *BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder when successful +func (m *BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilder) CancelOffboard()(*BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder) { + return NewBackupRestoreProtectionUnitsItemCancelOffboardRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // NewBackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilderInternal instantiates a new BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilder and sets the default values. func NewBackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilder) { m := &BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilder{ @@ -81,6 +86,11 @@ func (m *BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilder) Graph func (m *BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilder) GraphSiteProtectionUnit()(*BackupRestoreProtectionUnitsItemGraphSiteProtectionUnitRequestBuilder) { return NewBackupRestoreProtectionUnitsItemGraphSiteProtectionUnitRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// Offboard provides operations to call the offboard method. +// returns a *BackupRestoreProtectionUnitsItemOffboardRequestBuilder when successful +func (m *BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilder) Offboard()(*BackupRestoreProtectionUnitsItemOffboardRequestBuilder) { + return NewBackupRestoreProtectionUnitsItemOffboardRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToGetRequestInformation read the properties and relationships of a protectionUnitBase object. // returns a *RequestInformation when successful func (m *BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackupRestoreProtectionUnitsProtectionUnitBaseItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/solutions/backup_restore_service_apps_service_app_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/solutions/backup_restore_service_apps_service_app_item_request_builder.go index 94b7f44ccf..31a6b519fa 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/solutions/backup_restore_service_apps_service_app_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/solutions/backup_restore_service_apps_service_app_item_request_builder.go @@ -67,7 +67,7 @@ func NewBackupRestoreServiceAppsServiceAppItemRequestBuilder(rawUrl string, requ func (m *BackupRestoreServiceAppsServiceAppItemRequestBuilder) Deactivate()(*BackupRestoreServiceAppsItemDeactivateRequestBuilder) { return NewBackupRestoreServiceAppsItemDeactivateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete a serviceApp. +// Delete delete a serviceApp. When this API is called via Microsoft Graph PowerShell, it returns a 403 Forbidden response code. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -129,7 +129,7 @@ func (m *BackupRestoreServiceAppsServiceAppItemRequestBuilder) Patch(ctx context } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceAppable), nil } -// ToDeleteRequestInformation delete a serviceApp. +// ToDeleteRequestInformation delete a serviceApp. When this API is called via Microsoft Graph PowerShell, it returns a 403 Forbidden response code. // returns a *RequestInformation when successful func (m *BackupRestoreServiceAppsServiceAppItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BackupRestoreServiceAppsServiceAppItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/solutions/virtual_events_webinars_item_registrations_item_sessions_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/solutions/virtual_events_webinars_item_registrations_item_sessions_request_builder.go index 51eb9da560..b7845e6f11 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/solutions/virtual_events_webinars_item_registrations_item_sessions_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/solutions/virtual_events_webinars_item_registrations_item_sessions_request_builder.go @@ -14,7 +14,7 @@ import ( type VirtualEventsWebinarsItemRegistrationsItemSessionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEventsWebinarsItemRegistrationsItemSessionsRequestBuilderGetQueryParameters get a list of sessions summaries that a registrant registered for in a webinar. A session summary contains only the endDateTime, id, joinWebUrl, startDateTime, and subject of a virtual event session. The rest of session properties will be null. To get all the properties of a virtualEventSession, use the Get virtualEventSession method. +// VirtualEventsWebinarsItemRegistrationsItemSessionsRequestBuilderGetQueryParameters get a list of sessions summaries that a registrant registered for in a webinar. A session summary contains only the endDateTime, id, joinWebUrl, startDateTime, and subject of a virtual event session. The remaining session properties are null. To get all the properties of a virtualEventSession, use the Get virtualEventSession method. type VirtualEventsWebinarsItemRegistrationsItemSessionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -72,7 +72,7 @@ func NewVirtualEventsWebinarsItemRegistrationsItemSessionsRequestBuilder(rawUrl func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsRequestBuilder) Count()(*VirtualEventsWebinarsItemRegistrationsItemSessionsCountRequestBuilder) { return NewVirtualEventsWebinarsItemRegistrationsItemSessionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of sessions summaries that a registrant registered for in a webinar. A session summary contains only the endDateTime, id, joinWebUrl, startDateTime, and subject of a virtual event session. The rest of session properties will be null. To get all the properties of a virtualEventSession, use the Get virtualEventSession method. +// Get get a list of sessions summaries that a registrant registered for in a webinar. A session summary contains only the endDateTime, id, joinWebUrl, startDateTime, and subject of a virtual event session. The remaining session properties are null. To get all the properties of a virtualEventSession, use the Get virtualEventSession method. // returns a VirtualEventSessionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -95,7 +95,7 @@ func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsRequestBuilder) Get(c } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventSessionCollectionResponseable), nil } -// ToGetRequestInformation get a list of sessions summaries that a registrant registered for in a webinar. A session summary contains only the endDateTime, id, joinWebUrl, startDateTime, and subject of a virtual event session. The rest of session properties will be null. To get all the properties of a virtualEventSession, use the Get virtualEventSession method. +// ToGetRequestInformation get a list of sessions summaries that a registrant registered for in a webinar. A session summary contains only the endDateTime, id, joinWebUrl, startDateTime, and subject of a virtual event session. The remaining session properties are null. To get all the properties of a virtualEventSession, use the Get virtualEventSession method. // returns a *RequestInformation when successful func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemRegistrationsItemSessionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/9767929cc88fd32282cc357421421e9617284c3f980f821837153ef09255e304.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/9767929cc88fd32282cc357421421e9617284c3f980f821837153ef09255e304.go new file mode 100644 index 0000000000..8dcc28c223 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/9767929cc88fd32282cc357421421e9617284c3f980f821837153ef09255e304.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder provides operations to manage the progressEvents property of the microsoft.graph.sharePointMigrationJob entity. +type FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetQueryParameters a collection of migration events that reflects the job status changes. +type FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetQueryParameters +} +// FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderInternal instantiates a new FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder and sets the default values. +func NewFileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) { + m := &FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%2Did}/progressEvents/{sharePointMigrationEvent%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder instantiates a new FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder and sets the default values. +func NewFileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property progressEvents for storage +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a collection of migration events that reflects the job status changes. +// returns a SharePointMigrationEventable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationEventFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable), nil +} +// Patch update the navigation property progressEvents in storage +// returns a SharePointMigrationEventable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable, requestConfiguration *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationEventFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable), nil +} +// ToDeleteRequestInformation delete navigation property progressEvents for storage +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a collection of migration events that reflects the job status changes. +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property progressEvents in storage +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable, requestConfiguration *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder when successful +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) { + return NewFileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/b68932475f58a9a22b0bffc34a4b55550e8a2aea649855838639ac665b527929.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/b68932475f58a9a22b0bffc34a4b55550e8a2aea649855838639ac665b527929.go new file mode 100644 index 0000000000..1aa017af63 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/b68932475f58a9a22b0bffc34a4b55550e8a2aea649855838639ac665b527929.go @@ -0,0 +1,169 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder provides operations to manage the applicationPermissionGrants property of the microsoft.graph.fileStorageContainerTypeRegistration entity. +type FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetQueryParameters read a specific app permission grant in a fileStorageContainerTypeRegistration. +type FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetQueryParameters +} +// FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderInternal instantiates a new FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder and sets the default values. +func NewFileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder) { + m := &FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containerTypeRegistrations/{fileStorageContainerTypeRegistration%2Did}/applicationPermissionGrants/{fileStorageContainerTypeAppPermissionGrant%2DappId}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder instantiates a new FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder and sets the default values. +func NewFileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete a fileStorageContainerTypeAppPermissionGrant object in a fileStorageContainerTypeRegistration. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/filestoragecontainertyperegistration-delete-applicationpermissiongrants?view=graph-rest-1.0 +func (m *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get read a specific app permission grant in a fileStorageContainerTypeRegistration. +// returns a FileStorageContainerTypeAppPermissionGrantable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/filestoragecontainertypeapppermissiongrant-get?view=graph-rest-1.0 +func (m *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeAppPermissionGrantable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFileStorageContainerTypeAppPermissionGrantFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeAppPermissionGrantable), nil +} +// Patch update the properties of a fileStorageContainerTypeAppPermissionGrant object. +// returns a FileStorageContainerTypeAppPermissionGrantable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/filestoragecontainertypeapppermissiongrant-update?view=graph-rest-1.0 +func (m *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeAppPermissionGrantable, requestConfiguration *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeAppPermissionGrantable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFileStorageContainerTypeAppPermissionGrantFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeAppPermissionGrantable), nil +} +// ToDeleteRequestInformation delete a fileStorageContainerTypeAppPermissionGrant object in a fileStorageContainerTypeRegistration. +// returns a *RequestInformation when successful +func (m *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation read a specific app permission grant in a fileStorageContainerTypeRegistration. +// returns a *RequestInformation when successful +func (m *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the properties of a fileStorageContainerTypeAppPermissionGrant object. +// returns a *RequestInformation when successful +func (m *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeAppPermissionGrantable, requestConfiguration *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder when successful +func (m *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder) { + return NewFileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/f2e908a58a99264de8bf28948f3ac04e0b725706a7c149042bc59ad8a1821fdd.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/f2e908a58a99264de8bf28948f3ac04e0b725706a7c149042bc59ad8a1821fdd.go new file mode 100644 index 0000000000..e5f5edbfdf --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/f2e908a58a99264de8bf28948f3ac04e0b725706a7c149042bc59ad8a1821fdd.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder provides operations to manage the progressEvents property of the microsoft.graph.sharePointMigrationJob entity. +type FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetQueryParameters a collection of migration events that reflects the job status changes. +type FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetQueryParameters +} +// FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) { + m := &FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%2Did}/progressEvents/{sharePointMigrationEvent%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder instantiates a new FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property progressEvents for storage +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a collection of migration events that reflects the job status changes. +// returns a SharePointMigrationEventable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationEventFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable), nil +} +// Patch update the navigation property progressEvents in storage +// returns a SharePointMigrationEventable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationEventFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable), nil +} +// ToDeleteRequestInformation delete navigation property progressEvents for storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a collection of migration events that reflects the job status changes. +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property progressEvents in storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder when successful +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) { + return NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/f99dea7ff82b9fb85f9e4a34cdbe6b392edb06311e8015bd2ea8c2295d9bdd0b.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/f99dea7ff82b9fb85f9e4a34cdbe6b392edb06311e8015bd2ea8c2295d9bdd0b.go new file mode 100644 index 0000000000..380316f5d7 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/f99dea7ff82b9fb85f9e4a34cdbe6b392edb06311e8015bd2ea8c2295d9bdd0b.go @@ -0,0 +1,174 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder provides operations to manage the containerTypeRegistrations property of the microsoft.graph.fileStorage entity. +type FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderGetQueryParameters read the properties and relationships of a fileStorageContainerTypeRegistration object. +type FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderGetQueryParameters +} +// FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ApplicationPermissionGrants provides operations to manage the applicationPermissionGrants property of the microsoft.graph.fileStorageContainerTypeRegistration entity. +// returns a *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder when successful +func (m *FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder) ApplicationPermissionGrants()(*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder) { + return NewFileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewFileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderInternal instantiates a new FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder and sets the default values. +func NewFileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder) { + m := &FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containerTypeRegistrations/{fileStorageContainerTypeRegistration%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder instantiates a new FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder and sets the default values. +func NewFileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete a fileStorageContainerTypeRegistration object. A registration can only be deleted if it has neither containers nor deleted containers +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/filestorage-delete-containertyperegistrations?view=graph-rest-1.0 +func (m *FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get read the properties and relationships of a fileStorageContainerTypeRegistration object. +// returns a FileStorageContainerTypeRegistrationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/filestoragecontainertyperegistration-get?view=graph-rest-1.0 +func (m *FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeRegistrationable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFileStorageContainerTypeRegistrationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeRegistrationable), nil +} +// Patch create or replace a fileStorageContainerTypeRegistration object. This method registers a fileStorageContainerType in the tenant. For standard containers, billing must be valid for the registration to complete successfully. Settings can't be modified during registration. +// returns a FileStorageContainerTypeRegistrationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/filestorage-post-containertyperegistrations?view=graph-rest-1.0 +func (m *FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeRegistrationable, requestConfiguration *FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeRegistrationable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFileStorageContainerTypeRegistrationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeRegistrationable), nil +} +// ToDeleteRequestInformation delete a fileStorageContainerTypeRegistration object. A registration can only be deleted if it has neither containers nor deleted containers +// returns a *RequestInformation when successful +func (m *FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation read the properties and relationships of a fileStorageContainerTypeRegistration object. +// returns a *RequestInformation when successful +func (m *FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation create or replace a fileStorageContainerTypeRegistration object. This method registers a fileStorageContainerType in the tenant. For standard containers, billing must be valid for the registration to complete successfully. Settings can't be modified during registration. +// returns a *RequestInformation when successful +func (m *FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeRegistrationable, requestConfiguration *FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder when successful +func (m *FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder) { + return NewFileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_container_type_registrations_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_container_type_registrations_count_request_builder.go new file mode 100644 index 0000000000..ea4ac7e067 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_container_type_registrations_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainerTypeRegistrationsCountRequestBuilder provides operations to count the resources in the collection. +type FileStorageContainerTypeRegistrationsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainerTypeRegistrationsCountRequestBuilderGetQueryParameters get the number of the resource +type FileStorageContainerTypeRegistrationsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FileStorageContainerTypeRegistrationsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainerTypeRegistrationsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainerTypeRegistrationsCountRequestBuilderGetQueryParameters +} +// NewFileStorageContainerTypeRegistrationsCountRequestBuilderInternal instantiates a new FileStorageContainerTypeRegistrationsCountRequestBuilder and sets the default values. +func NewFileStorageContainerTypeRegistrationsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainerTypeRegistrationsCountRequestBuilder) { + m := &FileStorageContainerTypeRegistrationsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containerTypeRegistrations/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFileStorageContainerTypeRegistrationsCountRequestBuilder instantiates a new FileStorageContainerTypeRegistrationsCountRequestBuilder and sets the default values. +func NewFileStorageContainerTypeRegistrationsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainerTypeRegistrationsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainerTypeRegistrationsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainerTypeRegistrationsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainerTypeRegistrationsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *FileStorageContainerTypeRegistrationsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainerTypeRegistrationsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainerTypeRegistrationsCountRequestBuilder when successful +func (m *FileStorageContainerTypeRegistrationsCountRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainerTypeRegistrationsCountRequestBuilder) { + return NewFileStorageContainerTypeRegistrationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_container_type_registrations_item_application_permission_grants_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_container_type_registrations_item_application_permission_grants_count_request_builder.go new file mode 100644 index 0000000000..afb9dc0f30 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_container_type_registrations_item_application_permission_grants_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder provides operations to count the resources in the collection. +type FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilderGetQueryParameters get the number of the resource +type FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilderGetQueryParameters +} +// NewFileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilderInternal instantiates a new FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder and sets the default values. +func NewFileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder) { + m := &FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containerTypeRegistrations/{fileStorageContainerTypeRegistration%2Did}/applicationPermissionGrants/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder instantiates a new FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder and sets the default values. +func NewFileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder when successful +func (m *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder) { + return NewFileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_container_type_registrations_item_application_permission_grants_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_container_type_registrations_item_application_permission_grants_request_builder.go new file mode 100644 index 0000000000..49e1f428bb --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_container_type_registrations_item_application_permission_grants_request_builder.go @@ -0,0 +1,158 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder provides operations to manage the applicationPermissionGrants property of the microsoft.graph.fileStorageContainerTypeRegistration entity. +type FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderGetQueryParameters list all app permission grants in a fileStorageContainerTypeRegistration. +type FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderGetQueryParameters +} +// FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByFileStorageContainerTypeAppPermissionGrantAppId provides operations to manage the applicationPermissionGrants property of the microsoft.graph.fileStorageContainerTypeRegistration entity. +// returns a *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder when successful +func (m *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder) ByFileStorageContainerTypeAppPermissionGrantAppId(fileStorageContainerTypeAppPermissionGrantAppId string)(*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if fileStorageContainerTypeAppPermissionGrantAppId != "" { + urlTplParams["fileStorageContainerTypeAppPermissionGrant%2DappId"] = fileStorageContainerTypeAppPermissionGrantAppId + } + return NewFileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewFileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderInternal instantiates a new FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder and sets the default values. +func NewFileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder) { + m := &FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containerTypeRegistrations/{fileStorageContainerTypeRegistration%2Did}/applicationPermissionGrants{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder instantiates a new FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder and sets the default values. +func NewFileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder when successful +func (m *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder) Count()(*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilder) { + return NewFileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get list all app permission grants in a fileStorageContainerTypeRegistration. +// returns a FileStorageContainerTypeAppPermissionGrantCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/filestoragecontainertyperegistration-list-applicationpermissiongrants?view=graph-rest-1.0 +func (m *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeAppPermissionGrantCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFileStorageContainerTypeAppPermissionGrantCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeAppPermissionGrantCollectionResponseable), nil +} +// Post create new navigation property to applicationPermissionGrants for storage +// returns a FileStorageContainerTypeAppPermissionGrantable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeAppPermissionGrantable, requestConfiguration *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeAppPermissionGrantable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFileStorageContainerTypeAppPermissionGrantFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeAppPermissionGrantable), nil +} +// ToGetRequestInformation list all app permission grants in a fileStorageContainerTypeRegistration. +// returns a *RequestInformation when successful +func (m *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to applicationPermissionGrants for storage +// returns a *RequestInformation when successful +func (m *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeAppPermissionGrantable, requestConfiguration *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder when successful +func (m *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder) { + return NewFileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_container_type_registrations_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_container_type_registrations_request_builder.go new file mode 100644 index 0000000000..48bc8011f6 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_container_type_registrations_request_builder.go @@ -0,0 +1,158 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainerTypeRegistrationsRequestBuilder provides operations to manage the containerTypeRegistrations property of the microsoft.graph.fileStorage entity. +type FileStorageContainerTypeRegistrationsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainerTypeRegistrationsRequestBuilderGetQueryParameters get a list of the fileStorageContainerTypeRegistration objects and their properties. +type FileStorageContainerTypeRegistrationsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// FileStorageContainerTypeRegistrationsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainerTypeRegistrationsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainerTypeRegistrationsRequestBuilderGetQueryParameters +} +// FileStorageContainerTypeRegistrationsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainerTypeRegistrationsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByFileStorageContainerTypeRegistrationId provides operations to manage the containerTypeRegistrations property of the microsoft.graph.fileStorage entity. +// returns a *FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder when successful +func (m *FileStorageContainerTypeRegistrationsRequestBuilder) ByFileStorageContainerTypeRegistrationId(fileStorageContainerTypeRegistrationId string)(*FileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if fileStorageContainerTypeRegistrationId != "" { + urlTplParams["fileStorageContainerTypeRegistration%2Did"] = fileStorageContainerTypeRegistrationId + } + return NewFileStorageContainerTypeRegistrationsFileStorageContainerTypeRegistrationItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewFileStorageContainerTypeRegistrationsRequestBuilderInternal instantiates a new FileStorageContainerTypeRegistrationsRequestBuilder and sets the default values. +func NewFileStorageContainerTypeRegistrationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainerTypeRegistrationsRequestBuilder) { + m := &FileStorageContainerTypeRegistrationsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containerTypeRegistrations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFileStorageContainerTypeRegistrationsRequestBuilder instantiates a new FileStorageContainerTypeRegistrationsRequestBuilder and sets the default values. +func NewFileStorageContainerTypeRegistrationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainerTypeRegistrationsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainerTypeRegistrationsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FileStorageContainerTypeRegistrationsCountRequestBuilder when successful +func (m *FileStorageContainerTypeRegistrationsRequestBuilder) Count()(*FileStorageContainerTypeRegistrationsCountRequestBuilder) { + return NewFileStorageContainerTypeRegistrationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of the fileStorageContainerTypeRegistration objects and their properties. +// returns a FileStorageContainerTypeRegistrationCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/filestorage-list-containertyperegistrations?view=graph-rest-1.0 +func (m *FileStorageContainerTypeRegistrationsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainerTypeRegistrationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeRegistrationCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFileStorageContainerTypeRegistrationCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeRegistrationCollectionResponseable), nil +} +// Post create new navigation property to containerTypeRegistrations for storage +// returns a FileStorageContainerTypeRegistrationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainerTypeRegistrationsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeRegistrationable, requestConfiguration *FileStorageContainerTypeRegistrationsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeRegistrationable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFileStorageContainerTypeRegistrationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeRegistrationable), nil +} +// ToGetRequestInformation get a list of the fileStorageContainerTypeRegistration objects and their properties. +// returns a *RequestInformation when successful +func (m *FileStorageContainerTypeRegistrationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainerTypeRegistrationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to containerTypeRegistrations for storage +// returns a *RequestInformation when successful +func (m *FileStorageContainerTypeRegistrationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeRegistrationable, requestConfiguration *FileStorageContainerTypeRegistrationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainerTypeRegistrationsRequestBuilder when successful +func (m *FileStorageContainerTypeRegistrationsRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainerTypeRegistrationsRequestBuilder) { + return NewFileStorageContainerTypeRegistrationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_container_types_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_container_types_count_request_builder.go new file mode 100644 index 0000000000..3821553ff7 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_container_types_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainerTypesCountRequestBuilder provides operations to count the resources in the collection. +type FileStorageContainerTypesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainerTypesCountRequestBuilderGetQueryParameters get the number of the resource +type FileStorageContainerTypesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FileStorageContainerTypesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainerTypesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainerTypesCountRequestBuilderGetQueryParameters +} +// NewFileStorageContainerTypesCountRequestBuilderInternal instantiates a new FileStorageContainerTypesCountRequestBuilder and sets the default values. +func NewFileStorageContainerTypesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainerTypesCountRequestBuilder) { + m := &FileStorageContainerTypesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containerTypes/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFileStorageContainerTypesCountRequestBuilder instantiates a new FileStorageContainerTypesCountRequestBuilder and sets the default values. +func NewFileStorageContainerTypesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainerTypesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainerTypesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainerTypesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainerTypesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *FileStorageContainerTypesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainerTypesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainerTypesCountRequestBuilder when successful +func (m *FileStorageContainerTypesCountRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainerTypesCountRequestBuilder) { + return NewFileStorageContainerTypesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_container_types_file_storage_container_type_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_container_types_file_storage_container_type_item_request_builder.go new file mode 100644 index 0000000000..e682766962 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_container_types_file_storage_container_type_item_request_builder.go @@ -0,0 +1,169 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder provides operations to manage the containerTypes property of the microsoft.graph.fileStorage entity. +type FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderGetQueryParameters get a fileStorageContainerType using its ID. +type FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderGetQueryParameters +} +// FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderInternal instantiates a new FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder and sets the default values. +func NewFileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder) { + m := &FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containerTypes/{fileStorageContainerType%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder instantiates a new FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder and sets the default values. +func NewFileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete a fileStorageContainerType object from the tenant. A fileStorageContainerType can only be deleted if no registrations are associated with it in any tenant. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/filestorage-delete-containertypes?view=graph-rest-1.0 +func (m *FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get a fileStorageContainerType using its ID. +// returns a FileStorageContainerTypeable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/filestoragecontainertype-get?view=graph-rest-1.0 +func (m *FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFileStorageContainerTypeFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeable), nil +} +// Patch update the properties of a fileStorageContainerType object. The properties updated are reflected in each registered fileStorageContainerTypeRegistration in a maximum of 24 hours. Settings overridden in a tenant aren't updated. ETag is used for optimistic concurrency control. It must match the value from Create, Get or the previous Update. +// returns a FileStorageContainerTypeable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/filestoragecontainertype-update?view=graph-rest-1.0 +func (m *FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeable, requestConfiguration *FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFileStorageContainerTypeFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeable), nil +} +// ToDeleteRequestInformation delete a fileStorageContainerType object from the tenant. A fileStorageContainerType can only be deleted if no registrations are associated with it in any tenant. +// returns a *RequestInformation when successful +func (m *FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get a fileStorageContainerType using its ID. +// returns a *RequestInformation when successful +func (m *FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the properties of a fileStorageContainerType object. The properties updated are reflected in each registered fileStorageContainerTypeRegistration in a maximum of 24 hours. Settings overridden in a tenant aren't updated. ETag is used for optimistic concurrency control. It must match the value from Create, Get or the previous Update. +// returns a *RequestInformation when successful +func (m *FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeable, requestConfiguration *FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder when successful +func (m *FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder) { + return NewFileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_container_types_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_container_types_request_builder.go new file mode 100644 index 0000000000..827c1fb412 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_container_types_request_builder.go @@ -0,0 +1,161 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainerTypesRequestBuilder provides operations to manage the containerTypes property of the microsoft.graph.fileStorage entity. +type FileStorageContainerTypesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainerTypesRequestBuilderGetQueryParameters get a list of the fileStorageContainerType objects and their properties for the current tenant. +type FileStorageContainerTypesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// FileStorageContainerTypesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainerTypesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainerTypesRequestBuilderGetQueryParameters +} +// FileStorageContainerTypesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainerTypesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByFileStorageContainerTypeId provides operations to manage the containerTypes property of the microsoft.graph.fileStorage entity. +// returns a *FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder when successful +func (m *FileStorageContainerTypesRequestBuilder) ByFileStorageContainerTypeId(fileStorageContainerTypeId string)(*FileStorageContainerTypesFileStorageContainerTypeItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if fileStorageContainerTypeId != "" { + urlTplParams["fileStorageContainerType%2Did"] = fileStorageContainerTypeId + } + return NewFileStorageContainerTypesFileStorageContainerTypeItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewFileStorageContainerTypesRequestBuilderInternal instantiates a new FileStorageContainerTypesRequestBuilder and sets the default values. +func NewFileStorageContainerTypesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainerTypesRequestBuilder) { + m := &FileStorageContainerTypesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containerTypes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFileStorageContainerTypesRequestBuilder instantiates a new FileStorageContainerTypesRequestBuilder and sets the default values. +func NewFileStorageContainerTypesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainerTypesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainerTypesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FileStorageContainerTypesCountRequestBuilder when successful +func (m *FileStorageContainerTypesRequestBuilder) Count()(*FileStorageContainerTypesCountRequestBuilder) { + return NewFileStorageContainerTypesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of the fileStorageContainerType objects and their properties for the current tenant. +// returns a FileStorageContainerTypeCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/filestorage-list-containertypes?view=graph-rest-1.0 +func (m *FileStorageContainerTypesRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainerTypesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFileStorageContainerTypeCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeCollectionResponseable), nil +} +// Post create a new fileStorageContainerType in the owning tenant. The number of container types in a tenant is limited. +// returns a FileStorageContainerTypeable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/filestorage-post-containertypes?view=graph-rest-1.0 +func (m *FileStorageContainerTypesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeable, requestConfiguration *FileStorageContainerTypesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFileStorageContainerTypeFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeable), nil +} +// ToGetRequestInformation get a list of the fileStorageContainerType objects and their properties for the current tenant. +// returns a *RequestInformation when successful +func (m *FileStorageContainerTypesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainerTypesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create a new fileStorageContainerType in the owning tenant. The number of container types in a tenant is limited. +// returns a *RequestInformation when successful +func (m *FileStorageContainerTypesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerTypeable, requestConfiguration *FileStorageContainerTypesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainerTypesRequestBuilder when successful +func (m *FileStorageContainerTypesRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainerTypesRequestBuilder) { + return NewFileStorageContainerTypesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_containers_file_storage_container_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_containers_file_storage_container_item_request_builder.go index 8d04f1355d..4cb98bc370 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_containers_file_storage_container_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_containers_file_storage_container_item_request_builder.go @@ -21,7 +21,7 @@ type FileStorageContainersFileStorageContainerItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// FileStorageContainersFileStorageContainerItemRequestBuilderGetQueryParameters get containers from storage +// FileStorageContainersFileStorageContainerItemRequestBuilderGetQueryParameters the collection of active fileStorageContainer resources. type FileStorageContainersFileStorageContainerItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -88,7 +88,7 @@ func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) Delete(ctx func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) Drive()(*FileStorageContainersItemDriveRequestBuilder) { return NewFileStorageContainersItemDriveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get containers from storage +// Get the collection of active fileStorageContainer resources. // returns a FileStorageContainerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersFileStorageContainerItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable, error) { @@ -113,6 +113,11 @@ func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) Get(ctx co func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) Lock()(*FileStorageContainersItemLockRequestBuilder) { return NewFileStorageContainersItemLockRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// MigrationJobs provides operations to manage the migrationJobs property of the microsoft.graph.fileStorageContainer entity. +// returns a *FileStorageContainersItemMigrationJobsRequestBuilder when successful +func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) MigrationJobs()(*FileStorageContainersItemMigrationJobsRequestBuilder) { + return NewFileStorageContainersItemMigrationJobsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Patch update the navigation property containers in storage // returns a FileStorageContainerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -143,6 +148,11 @@ func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) PermanentD func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) Permissions()(*FileStorageContainersItemPermissionsRequestBuilder) { return NewFileStorageContainersItemPermissionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// ProvisionMigrationContainers provides operations to call the provisionMigrationContainers method. +// returns a *FileStorageContainersItemProvisionMigrationContainersRequestBuilder when successful +func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) ProvisionMigrationContainers()(*FileStorageContainersItemProvisionMigrationContainersRequestBuilder) { + return NewFileStorageContainersItemProvisionMigrationContainersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // RecycleBin provides operations to manage the recycleBin property of the microsoft.graph.fileStorageContainer entity. // returns a *FileStorageContainersItemRecycleBinRequestBuilder when successful func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) RecycleBin()(*FileStorageContainersItemRecycleBinRequestBuilder) { @@ -164,7 +174,7 @@ func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get containers from storage +// ToGetRequestInformation the collection of active fileStorageContainer resources. // returns a *RequestInformation when successful func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersFileStorageContainerItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_containers_item_migration_jobs_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_containers_item_migration_jobs_count_request_builder.go new file mode 100644 index 0000000000..8285d05eb8 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_containers_item_migration_jobs_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemMigrationJobsCountRequestBuilder provides operations to count the resources in the collection. +type FileStorageContainersItemMigrationJobsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemMigrationJobsCountRequestBuilderGetQueryParameters get the number of the resource +type FileStorageContainersItemMigrationJobsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FileStorageContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemMigrationJobsCountRequestBuilderGetQueryParameters +} +// NewFileStorageContainersItemMigrationJobsCountRequestBuilderInternal instantiates a new FileStorageContainersItemMigrationJobsCountRequestBuilder and sets the default values. +func NewFileStorageContainersItemMigrationJobsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemMigrationJobsCountRequestBuilder) { + m := &FileStorageContainersItemMigrationJobsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/migrationJobs/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFileStorageContainersItemMigrationJobsCountRequestBuilder instantiates a new FileStorageContainersItemMigrationJobsCountRequestBuilder and sets the default values. +func NewFileStorageContainersItemMigrationJobsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemMigrationJobsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemMigrationJobsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemMigrationJobsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemMigrationJobsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemMigrationJobsCountRequestBuilder when successful +func (m *FileStorageContainersItemMigrationJobsCountRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemMigrationJobsCountRequestBuilder) { + return NewFileStorageContainersItemMigrationJobsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_containers_item_migration_jobs_item_progress_events_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_containers_item_migration_jobs_item_progress_events_count_request_builder.go new file mode 100644 index 0000000000..231abc0a73 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_containers_item_migration_jobs_item_progress_events_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder provides operations to count the resources in the collection. +type FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetQueryParameters get the number of the resource +type FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetQueryParameters +} +// NewFileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderInternal instantiates a new FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder and sets the default values. +func NewFileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder) { + m := &FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%2Did}/progressEvents/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder instantiates a new FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder and sets the default values. +func NewFileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder when successful +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder) { + return NewFileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_containers_item_migration_jobs_item_progress_events_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_containers_item_migration_jobs_item_progress_events_request_builder.go new file mode 100644 index 0000000000..db3a838851 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_containers_item_migration_jobs_item_progress_events_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder provides operations to manage the progressEvents property of the microsoft.graph.sharePointMigrationJob entity. +type FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters a collection of migration events that reflects the job status changes. +type FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters +} +// FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BySharePointMigrationEventId provides operations to manage the progressEvents property of the microsoft.graph.sharePointMigrationJob entity. +// returns a *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder when successful +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder) BySharePointMigrationEventId(sharePointMigrationEventId string)(*FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if sharePointMigrationEventId != "" { + urlTplParams["sharePointMigrationEvent%2Did"] = sharePointMigrationEventId + } + return NewFileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewFileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderInternal instantiates a new FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder and sets the default values. +func NewFileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder) { + m := &FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%2Did}/progressEvents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder instantiates a new FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder and sets the default values. +func NewFileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder when successful +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder) Count()(*FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder) { + return NewFileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get a collection of migration events that reflects the job status changes. +// returns a SharePointMigrationEventCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationEventCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventCollectionResponseable), nil +} +// Post create new navigation property to progressEvents for storage +// returns a SharePointMigrationEventable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable, requestConfiguration *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationEventFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable), nil +} +// ToGetRequestInformation a collection of migration events that reflects the job status changes. +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to progressEvents for storage +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable, requestConfiguration *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder when successful +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder) { + return NewFileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_containers_item_migration_jobs_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_containers_item_migration_jobs_request_builder.go new file mode 100644 index 0000000000..fdd9050704 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_containers_item_migration_jobs_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemMigrationJobsRequestBuilder provides operations to manage the migrationJobs property of the microsoft.graph.fileStorageContainer entity. +type FileStorageContainersItemMigrationJobsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemMigrationJobsRequestBuilderGetQueryParameters the collection of sharePointMigrationJob objects local to the container. Read-write. +type FileStorageContainersItemMigrationJobsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// FileStorageContainersItemMigrationJobsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemMigrationJobsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemMigrationJobsRequestBuilderGetQueryParameters +} +// FileStorageContainersItemMigrationJobsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemMigrationJobsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BySharePointMigrationJobId provides operations to manage the migrationJobs property of the microsoft.graph.fileStorageContainer entity. +// returns a *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder when successful +func (m *FileStorageContainersItemMigrationJobsRequestBuilder) BySharePointMigrationJobId(sharePointMigrationJobId string)(*FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if sharePointMigrationJobId != "" { + urlTplParams["sharePointMigrationJob%2Did"] = sharePointMigrationJobId + } + return NewFileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewFileStorageContainersItemMigrationJobsRequestBuilderInternal instantiates a new FileStorageContainersItemMigrationJobsRequestBuilder and sets the default values. +func NewFileStorageContainersItemMigrationJobsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemMigrationJobsRequestBuilder) { + m := &FileStorageContainersItemMigrationJobsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/migrationJobs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFileStorageContainersItemMigrationJobsRequestBuilder instantiates a new FileStorageContainersItemMigrationJobsRequestBuilder and sets the default values. +func NewFileStorageContainersItemMigrationJobsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemMigrationJobsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemMigrationJobsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FileStorageContainersItemMigrationJobsCountRequestBuilder when successful +func (m *FileStorageContainersItemMigrationJobsRequestBuilder) Count()(*FileStorageContainersItemMigrationJobsCountRequestBuilder) { + return NewFileStorageContainersItemMigrationJobsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the collection of sharePointMigrationJob objects local to the container. Read-write. +// returns a SharePointMigrationJobCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemMigrationJobsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationJobCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobCollectionResponseable), nil +} +// Post create new navigation property to migrationJobs for storage +// returns a SharePointMigrationJobable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemMigrationJobsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable, requestConfiguration *FileStorageContainersItemMigrationJobsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationJobFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable), nil +} +// ToGetRequestInformation the collection of sharePointMigrationJob objects local to the container. Read-write. +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemMigrationJobsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to migrationJobs for storage +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemMigrationJobsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable, requestConfiguration *FileStorageContainersItemMigrationJobsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemMigrationJobsRequestBuilder when successful +func (m *FileStorageContainersItemMigrationJobsRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemMigrationJobsRequestBuilder) { + return NewFileStorageContainersItemMigrationJobsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_containers_item_migration_jobs_share_point_migration_job_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_containers_item_migration_jobs_share_point_migration_job_item_request_builder.go new file mode 100644 index 0000000000..8b0e0f89ed --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_containers_item_migration_jobs_share_point_migration_job_item_request_builder.go @@ -0,0 +1,165 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder provides operations to manage the migrationJobs property of the microsoft.graph.fileStorageContainer entity. +type FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetQueryParameters the collection of sharePointMigrationJob objects local to the container. Read-write. +type FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetQueryParameters +} +// FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderInternal instantiates a new FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder and sets the default values. +func NewFileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) { + m := &FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder instantiates a new FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder and sets the default values. +func NewFileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property migrationJobs for storage +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the collection of sharePointMigrationJob objects local to the container. Read-write. +// returns a SharePointMigrationJobable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationJobFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable), nil +} +// Patch update the navigation property migrationJobs in storage +// returns a SharePointMigrationJobable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable, requestConfiguration *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationJobFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable), nil +} +// ProgressEvents provides operations to manage the progressEvents property of the microsoft.graph.sharePointMigrationJob entity. +// returns a *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder when successful +func (m *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) ProgressEvents()(*FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder) { + return NewFileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property migrationJobs for storage +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the collection of sharePointMigrationJob objects local to the container. Read-write. +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property migrationJobs in storage +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable, requestConfiguration *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder when successful +func (m *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) { + return NewFileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_containers_item_provision_migration_containers_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_containers_item_provision_migration_containers_request_builder.go new file mode 100644 index 0000000000..5c4787badf --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_containers_item_provision_migration_containers_request_builder.go @@ -0,0 +1,72 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemProvisionMigrationContainersRequestBuilder provides operations to call the provisionMigrationContainers method. +type FileStorageContainersItemProvisionMigrationContainersRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageContainersItemProvisionMigrationContainersRequestBuilderInternal instantiates a new FileStorageContainersItemProvisionMigrationContainersRequestBuilder and sets the default values. +func NewFileStorageContainersItemProvisionMigrationContainersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemProvisionMigrationContainersRequestBuilder) { + m := &FileStorageContainersItemProvisionMigrationContainersRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/provisionMigrationContainers", pathParameters), + } + return m +} +// NewFileStorageContainersItemProvisionMigrationContainersRequestBuilder instantiates a new FileStorageContainersItemProvisionMigrationContainersRequestBuilder and sets the default values. +func NewFileStorageContainersItemProvisionMigrationContainersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemProvisionMigrationContainersRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemProvisionMigrationContainersRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action provisionMigrationContainers +// returns a SharePointMigrationContainerInfoable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemProvisionMigrationContainersRequestBuilder) Post(ctx context.Context, requestConfiguration *FileStorageContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationContainerInfoable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationContainerInfoFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationContainerInfoable), nil +} +// ToPostRequestInformation invoke action provisionMigrationContainers +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemProvisionMigrationContainersRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemProvisionMigrationContainersRequestBuilder when successful +func (m *FileStorageContainersItemProvisionMigrationContainersRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemProvisionMigrationContainersRequestBuilder) { + return NewFileStorageContainersItemProvisionMigrationContainersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_file_storage_container_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_file_storage_container_item_request_builder.go index 148bdeac87..040f676eda 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_file_storage_container_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_file_storage_container_item_request_builder.go @@ -21,7 +21,7 @@ type FileStorageDeletedContainersFileStorageContainerItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// FileStorageDeletedContainersFileStorageContainerItemRequestBuilderGetQueryParameters get deletedContainers from storage +// FileStorageDeletedContainersFileStorageContainerItemRequestBuilderGetQueryParameters the collection of deleted fileStorageContainer resources. type FileStorageDeletedContainersFileStorageContainerItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -88,7 +88,7 @@ func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) Del func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) Drive()(*FileStorageDeletedContainersItemDriveRequestBuilder) { return NewFileStorageDeletedContainersItemDriveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get deletedContainers from storage +// Get the collection of deleted fileStorageContainer resources. // returns a FileStorageContainerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersFileStorageContainerItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable, error) { @@ -113,6 +113,11 @@ func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) Get func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) Lock()(*FileStorageDeletedContainersItemLockRequestBuilder) { return NewFileStorageDeletedContainersItemLockRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// MigrationJobs provides operations to manage the migrationJobs property of the microsoft.graph.fileStorageContainer entity. +// returns a *FileStorageDeletedContainersItemMigrationJobsRequestBuilder when successful +func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) MigrationJobs()(*FileStorageDeletedContainersItemMigrationJobsRequestBuilder) { + return NewFileStorageDeletedContainersItemMigrationJobsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Patch update the navigation property deletedContainers in storage // returns a FileStorageContainerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -143,6 +148,11 @@ func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) Per func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) Permissions()(*FileStorageDeletedContainersItemPermissionsRequestBuilder) { return NewFileStorageDeletedContainersItemPermissionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// ProvisionMigrationContainers provides operations to call the provisionMigrationContainers method. +// returns a *FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder when successful +func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) ProvisionMigrationContainers()(*FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder) { + return NewFileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // RecycleBin provides operations to manage the recycleBin property of the microsoft.graph.fileStorageContainer entity. // returns a *FileStorageDeletedContainersItemRecycleBinRequestBuilder when successful func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) RecycleBin()(*FileStorageDeletedContainersItemRecycleBinRequestBuilder) { @@ -164,7 +174,7 @@ func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get deletedContainers from storage +// ToGetRequestInformation the collection of deleted fileStorageContainer resources. // returns a *RequestInformation when successful func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersFileStorageContainerItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_item_migration_jobs_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_item_migration_jobs_count_request_builder.go new file mode 100644 index 0000000000..a8784e5359 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_item_migration_jobs_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder provides operations to count the resources in the collection. +type FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemMigrationJobsCountRequestBuilderGetQueryParameters get the number of the resource +type FileStorageDeletedContainersItemMigrationJobsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FileStorageDeletedContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemMigrationJobsCountRequestBuilderGetQueryParameters +} +// NewFileStorageDeletedContainersItemMigrationJobsCountRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemMigrationJobsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder) { + m := &FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/migrationJobs/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemMigrationJobsCountRequestBuilder instantiates a new FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemMigrationJobsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemMigrationJobsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder when successful +func (m *FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder) { + return NewFileStorageDeletedContainersItemMigrationJobsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_item_migration_jobs_item_progress_events_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_item_migration_jobs_item_progress_events_count_request_builder.go new file mode 100644 index 0000000000..737855c900 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_item_migration_jobs_item_progress_events_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder provides operations to count the resources in the collection. +type FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetQueryParameters get the number of the resource +type FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetQueryParameters +} +// NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder) { + m := &FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%2Did}/progressEvents/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder instantiates a new FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder when successful +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder) { + return NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_item_migration_jobs_item_progress_events_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_item_migration_jobs_item_progress_events_request_builder.go new file mode 100644 index 0000000000..ab1260a1db --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_item_migration_jobs_item_progress_events_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder provides operations to manage the progressEvents property of the microsoft.graph.sharePointMigrationJob entity. +type FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters a collection of migration events that reflects the job status changes. +type FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters +} +// FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BySharePointMigrationEventId provides operations to manage the progressEvents property of the microsoft.graph.sharePointMigrationJob entity. +// returns a *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder when successful +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder) BySharePointMigrationEventId(sharePointMigrationEventId string)(*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if sharePointMigrationEventId != "" { + urlTplParams["sharePointMigrationEvent%2Did"] = sharePointMigrationEventId + } + return NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder) { + m := &FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%2Did}/progressEvents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder instantiates a new FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder when successful +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder) Count()(*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder) { + return NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get a collection of migration events that reflects the job status changes. +// returns a SharePointMigrationEventCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationEventCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventCollectionResponseable), nil +} +// Post create new navigation property to progressEvents for storage +// returns a SharePointMigrationEventable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationEventFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable), nil +} +// ToGetRequestInformation a collection of migration events that reflects the job status changes. +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to progressEvents for storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder when successful +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder) { + return NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_item_migration_jobs_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_item_migration_jobs_request_builder.go new file mode 100644 index 0000000000..d8b10021c9 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_item_migration_jobs_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemMigrationJobsRequestBuilder provides operations to manage the migrationJobs property of the microsoft.graph.fileStorageContainer entity. +type FileStorageDeletedContainersItemMigrationJobsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetQueryParameters the collection of sharePointMigrationJob objects local to the container. Read-write. +type FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetQueryParameters +} +// FileStorageDeletedContainersItemMigrationJobsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemMigrationJobsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BySharePointMigrationJobId provides operations to manage the migrationJobs property of the microsoft.graph.fileStorageContainer entity. +// returns a *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder when successful +func (m *FileStorageDeletedContainersItemMigrationJobsRequestBuilder) BySharePointMigrationJobId(sharePointMigrationJobId string)(*FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if sharePointMigrationJobId != "" { + urlTplParams["sharePointMigrationJob%2Did"] = sharePointMigrationJobId + } + return NewFileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewFileStorageDeletedContainersItemMigrationJobsRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemMigrationJobsRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemMigrationJobsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemMigrationJobsRequestBuilder) { + m := &FileStorageDeletedContainersItemMigrationJobsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/migrationJobs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemMigrationJobsRequestBuilder instantiates a new FileStorageDeletedContainersItemMigrationJobsRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemMigrationJobsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemMigrationJobsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemMigrationJobsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder when successful +func (m *FileStorageDeletedContainersItemMigrationJobsRequestBuilder) Count()(*FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder) { + return NewFileStorageDeletedContainersItemMigrationJobsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the collection of sharePointMigrationJob objects local to the container. Read-write. +// returns a SharePointMigrationJobCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemMigrationJobsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationJobCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobCollectionResponseable), nil +} +// Post create new navigation property to migrationJobs for storage +// returns a SharePointMigrationJobable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemMigrationJobsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationJobFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable), nil +} +// ToGetRequestInformation the collection of sharePointMigrationJob objects local to the container. Read-write. +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemMigrationJobsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to migrationJobs for storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemMigrationJobsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemMigrationJobsRequestBuilder when successful +func (m *FileStorageDeletedContainersItemMigrationJobsRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemMigrationJobsRequestBuilder) { + return NewFileStorageDeletedContainersItemMigrationJobsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_item_migration_jobs_share_point_migration_job_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_item_migration_jobs_share_point_migration_job_item_request_builder.go new file mode 100644 index 0000000000..d2da233a20 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_item_migration_jobs_share_point_migration_job_item_request_builder.go @@ -0,0 +1,165 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder provides operations to manage the migrationJobs property of the microsoft.graph.fileStorageContainer entity. +type FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetQueryParameters the collection of sharePointMigrationJob objects local to the container. Read-write. +type FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetQueryParameters +} +// FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) { + m := &FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder instantiates a new FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property migrationJobs for storage +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the collection of sharePointMigrationJob objects local to the container. Read-write. +// returns a SharePointMigrationJobable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationJobFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable), nil +} +// Patch update the navigation property migrationJobs in storage +// returns a SharePointMigrationJobable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationJobFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable), nil +} +// ProgressEvents provides operations to manage the progressEvents property of the microsoft.graph.sharePointMigrationJob entity. +// returns a *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder when successful +func (m *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) ProgressEvents()(*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder) { + return NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property migrationJobs for storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the collection of sharePointMigrationJob objects local to the container. Read-write. +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property migrationJobs in storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder when successful +func (m *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) { + return NewFileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_item_provision_migration_containers_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_item_provision_migration_containers_request_builder.go new file mode 100644 index 0000000000..e66d037232 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_item_provision_migration_containers_request_builder.go @@ -0,0 +1,72 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder provides operations to call the provisionMigrationContainers method. +type FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder) { + m := &FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/provisionMigrationContainers", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder instantiates a new FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action provisionMigrationContainers +// returns a SharePointMigrationContainerInfoable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder) Post(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationContainerInfoable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationContainerInfoFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationContainerInfoable), nil +} +// ToPostRequestInformation invoke action provisionMigrationContainers +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder when successful +func (m *FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder) { + return NewFileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_request_builder.go index 5f161ac0d2..4d785ec736 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_deleted_containers_request_builder.go @@ -14,7 +14,7 @@ import ( type FileStorageDeletedContainersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// FileStorageDeletedContainersRequestBuilderGetQueryParameters get deletedContainers from storage +// FileStorageDeletedContainersRequestBuilderGetQueryParameters the collection of deleted fileStorageContainer resources. type FileStorageDeletedContainersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,7 +79,7 @@ func NewFileStorageDeletedContainersRequestBuilder(rawUrl string, requestAdapter func (m *FileStorageDeletedContainersRequestBuilder) Count()(*FileStorageDeletedContainersCountRequestBuilder) { return NewFileStorageDeletedContainersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get deletedContainers from storage +// Get the collection of deleted fileStorageContainer resources. // returns a FileStorageContainerCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *FileStorageDeletedContainersRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerCollectionResponseable, error) { @@ -119,7 +119,7 @@ func (m *FileStorageDeletedContainersRequestBuilder) Post(ctx context.Context, b } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable), nil } -// ToGetRequestInformation get deletedContainers from storage +// ToGetRequestInformation the collection of deleted fileStorageContainer resources. // returns a *RequestInformation when successful func (m *FileStorageDeletedContainersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_request_builder.go index 4d6514c69d..07fd770094 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/storage/file_storage_request_builder.go @@ -62,6 +62,16 @@ func NewFileStorageRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 func (m *FileStorageRequestBuilder) Containers()(*FileStorageContainersRequestBuilder) { return NewFileStorageContainersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// ContainerTypeRegistrations provides operations to manage the containerTypeRegistrations property of the microsoft.graph.fileStorage entity. +// returns a *FileStorageContainerTypeRegistrationsRequestBuilder when successful +func (m *FileStorageRequestBuilder) ContainerTypeRegistrations()(*FileStorageContainerTypeRegistrationsRequestBuilder) { + return NewFileStorageContainerTypeRegistrationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ContainerTypes provides operations to manage the containerTypes property of the microsoft.graph.fileStorage entity. +// returns a *FileStorageContainerTypesRequestBuilder when successful +func (m *FileStorageRequestBuilder) ContainerTypes()(*FileStorageContainerTypesRequestBuilder) { + return NewFileStorageContainerTypesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Delete delete navigation property fileStorage for storage // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *FileStorageRequestBuilder) Delete(ctx context.Context, requestConfiguration *FileStorageRequestBuilderDeleteRequestConfiguration)(error) { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/teams/9f85167ffcdd9f7d07c5c0b65366f4988125a84bbba12acc63180be677503379.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/teams/9f85167ffcdd9f7d07c5c0b65366f4988125a84bbba12acc63180be677503379.go index da18a67710..1971a12bb1 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/teams/9f85167ffcdd9f7d07c5c0b65366f4988125a84bbba12acc63180be677503379.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/teams/9f85167ffcdd9f7d07c5c0b65366f4988125a84bbba12acc63180be677503379.go @@ -13,7 +13,7 @@ import ( type ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters determine whether a user has access to a shared channel. +// ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters determine whether a user has access to a channel. type ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters struct { // Usage: tenantId='@tenantId' TenantId *string `uriparametername:"tenantId"` @@ -44,7 +44,7 @@ func NewItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrin urlParams["request-raw-url"] = rawUrl return NewItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderInternal(urlParams, requestAdapter) } -// Get determine whether a user has access to a shared channel. +// Get determine whether a user has access to a channel. // Deprecated: This method is obsolete. Use GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse instead. // returns a ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -68,7 +68,7 @@ func (m *ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPri } return res.(ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable), nil } -// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse determine whether a user has access to a shared channel. +// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse determine whether a user has access to a channel. // returns a ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -91,7 +91,7 @@ func (m *ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPri } return res.(ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable), nil } -// ToGetRequestInformation determine whether a user has access to a shared channel. +// ToGetRequestInformation determine whether a user has access to a channel. // returns a *RequestInformation when successful func (m *ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/teams/a4d57166a9a58619d6585578ce3743c60cc18dfd8914f9f0304b90f9e09d7130.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/teams/a4d57166a9a58619d6585578ce3743c60cc18dfd8914f9f0304b90f9e09d7130.go index 7781cc491c..fd56c54e07 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/teams/a4d57166a9a58619d6585578ce3743c60cc18dfd8914f9f0304b90f9e09d7130.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/teams/a4d57166a9a58619d6585578ce3743c60cc18dfd8914f9f0304b90f9e09d7130.go @@ -13,7 +13,7 @@ import ( type ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters determine whether a user has access to a shared channel. +// ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters determine whether a user has access to a channel. type ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters struct { // Usage: tenantId='@tenantId' TenantId *string `uriparametername:"tenantId"` @@ -44,7 +44,7 @@ func NewItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrinci urlParams["request-raw-url"] = rawUrl return NewItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderInternal(urlParams, requestAdapter) } -// Get determine whether a user has access to a shared channel. +// Get determine whether a user has access to a channel. // Deprecated: This method is obsolete. Use GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse instead. // returns a ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -68,7 +68,7 @@ func (m *ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrinc } return res.(ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable), nil } -// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse determine whether a user has access to a shared channel. +// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse determine whether a user has access to a channel. // returns a ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -91,7 +91,7 @@ func (m *ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrinc } return res.(ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable), nil } -// ToGetRequestInformation determine whether a user has access to a shared channel. +// ToGetRequestInformation determine whether a user has access to a channel. // returns a *RequestInformation when successful func (m *ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/teams/item_channels_item_members_conversation_member_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/teams/item_channels_item_members_conversation_member_item_request_builder.go index 710b2ba66f..71b4bd69ac 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/teams/item_channels_item_members_conversation_member_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/teams/item_channels_item_members_conversation_member_item_request_builder.go @@ -99,12 +99,12 @@ func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) Get(ctx co } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberable), nil } -// Patch update the role of a conversationMember in a team or channel. +// Patch update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberable, requestConfiguration *ItemChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -147,7 +147,7 @@ func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the role of a conversationMember in a team or channel. +// ToPatchRequestInformation update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. // returns a *RequestInformation when successful func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberable, requestConfiguration *ItemChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/teams/item_channels_item_messages_item_replies_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/teams/item_channels_item_messages_item_replies_request_builder.go index 0f92949455..f75ca1cc08 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/teams/item_channels_item_messages_item_replies_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/teams/item_channels_item_messages_item_replies_request_builder.go @@ -107,12 +107,12 @@ func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) Get(ctx context.Cont } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable), nil } -// Post send a new reply to a chatMessage in a specified channel. +// Post create a new reply to a chatMessage in a specified channel. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0 func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemChannelsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -144,7 +144,7 @@ func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new reply to a chatMessage in a specified channel. +// ToPostRequestInformation create a new reply to a chatMessage in a specified channel. // returns a *RequestInformation when successful func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemChannelsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/teamwork/78134b0a7edfd921bd8c762a6440f8d7c3855cc1d70eddc8f97f51102e6d8a10.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/teamwork/78134b0a7edfd921bd8c762a6440f8d7c3855cc1d70eddc8f97f51102e6d8a10.go index 0f794fcfc3..0790671146 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/teamwork/78134b0a7edfd921bd8c762a6440f8d7c3855cc1d70eddc8f97f51102e6d8a10.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/teamwork/78134b0a7edfd921bd8c762a6440f8d7c3855cc1d70eddc8f97f51102e6d8a10.go @@ -13,7 +13,7 @@ import ( type DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters determine whether a user has access to a shared channel. +// DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters determine whether a user has access to a channel. type DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters struct { // Usage: tenantId='@tenantId' TenantId *string `uriparametername:"tenantId"` @@ -44,7 +44,7 @@ func NewDeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenant urlParams["request-raw-url"] = rawUrl return NewDeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderInternal(urlParams, requestAdapter) } -// Get determine whether a user has access to a shared channel. +// Get determine whether a user has access to a channel. // Deprecated: This method is obsolete. Use GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse instead. // returns a DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -68,7 +68,7 @@ func (m *DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenan } return res.(DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable), nil } -// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse determine whether a user has access to a shared channel. +// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse determine whether a user has access to a channel. // returns a DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -91,7 +91,7 @@ func (m *DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenan } return res.(DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable), nil } -// ToGetRequestInformation determine whether a user has access to a shared channel. +// ToGetRequestInformation determine whether a user has access to a channel. // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/0271799332b7d4b408248af586ed5901c90f391fabe2a4284a6681da948924e2.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/0271799332b7d4b408248af586ed5901c90f391fabe2a4284a6681da948924e2.go new file mode 100644 index 0000000000..4e387b942d --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/0271799332b7d4b408248af586ed5901c90f391fabe2a4284a6681da948924e2.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder provides operations to count the resources in the collection. +type ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderGetQueryParameters +} +// NewItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderInternal instantiates a new ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder and sets the default values. +func NewItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder) { + m := &ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder instantiates a new ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder and sets the default values. +func NewItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder when successful +func (m *ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder) WithUrl(rawUrl string)(*ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder) { + return NewItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/092e90d7619737d992c7966e068a244f5245fff7ad377bc60aa2e9d6960c511b.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/092e90d7619737d992c7966e068a244f5245fff7ad377bc60aa2e9d6960c511b.go new file mode 100644 index 0000000000..8c33ccf76e --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/092e90d7619737d992c7966e068a244f5245fff7ad377bc60aa2e9d6960c511b.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +} +// NewItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse instantiates a new ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse and sets the default values. +func NewItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse()(*ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse) { + m := &ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse{ + BaseCollectionPaginationCountResponse: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWorkPlanOccurrenceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []WorkPlanOccurrenceable when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse) GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse) SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceable) + SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/8191353b2afdf95791f830110a7398348c2adde855739390cb806b0b639a0a54.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/8191353b2afdf95791f830110a7398348c2adde855739390cb806b0b639a0a54.go new file mode 100644 index 0000000000..0b8dbfea04 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/8191353b2afdf95791f830110a7398348c2adde855739390cb806b0b639a0a54.go @@ -0,0 +1,101 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder builds and executes requests for operations under \users\{user-id}\employeeExperience\assignedRoles\{engagementRole-id}\members\{engagementRoleMember-id}\user\serviceProvisioningErrors +type ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +type ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters +} +// NewItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderInternal instantiates a new ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder and sets the default values. +func NewItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder) { + m := &ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder instantiates a new ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder and sets the default values. +func NewItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder when successful +func (m *ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilder) { + return NewItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +// returns a ServiceProvisioningErrorCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateServiceProvisioningErrorCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceProvisioningErrorCollectionResponseable), nil +} +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). +// returns a *RequestInformation when successful +func (m *ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder when successful +func (m *ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder) WithUrl(rawUrl string)(*ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder) { + return NewItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/8b0aaf99e5bad865513e9d25f9a61770c1e7768d39012046f7324274d2ed73c6.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/8b0aaf99e5bad865513e9d25f9a61770c1e7768d39012046f7324274d2ed73c6.go new file mode 100644 index 0000000000..fc108b3836 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/8b0aaf99e5bad865513e9d25f9a61770c1e7768d39012046f7324274d2ed73c6.go @@ -0,0 +1,30 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseable instead. +type ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponse struct { + ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse +} +// NewItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponse instantiates a new ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponse and sets the default values. +func NewItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponse()(*ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponse) { + m := &ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponse{ + ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse: *NewItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse(), + } + return m +} +// CreateItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseable instead. +type ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponseable interface { + ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/9060a1b0ba7002b5abed6f47d286b924d1e05ee6db54493540d5fedfb5e76408.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/9060a1b0ba7002b5abed6f47d286b924d1e05ee6db54493540d5fedfb5e76408.go new file mode 100644 index 0000000000..ccc707ec71 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/9060a1b0ba7002b5abed6f47d286b924d1e05ee6db54493540d5fedfb5e76408.go @@ -0,0 +1,163 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder provides operations to manage the externalAuthenticationMethods property of the microsoft.graph.authentication entity. +type ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderGetQueryParameters represents the external authentication methods registered to a user for authentication using an external identity provider. +type ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderGetQueryParameters +} +// ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderInternal instantiates a new ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder and sets the default values. +func NewItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder) { + m := &ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/externalAuthenticationMethods/{externalAuthenticationMethod%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder instantiates a new ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder and sets the default values. +func NewItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete an externalAuthenticationMethod object. This API doesn't support self-service operations. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/authentication-delete-externalauthenticationmethods?view=graph-rest-1.0 +func (m *ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get represents the external authentication methods registered to a user for authentication using an external identity provider. +// returns a ExternalAuthenticationMethodable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ExternalAuthenticationMethodable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateExternalAuthenticationMethodFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ExternalAuthenticationMethodable), nil +} +// Patch update the navigation property externalAuthenticationMethods in users +// returns a ExternalAuthenticationMethodable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ExternalAuthenticationMethodable, requestConfiguration *ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ExternalAuthenticationMethodable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateExternalAuthenticationMethodFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ExternalAuthenticationMethodable), nil +} +// ToDeleteRequestInformation delete an externalAuthenticationMethod object. This API doesn't support self-service operations. +// returns a *RequestInformation when successful +func (m *ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation represents the external authentication methods registered to a user for authentication using an external identity provider. +// returns a *RequestInformation when successful +func (m *ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property externalAuthenticationMethods in users +// returns a *RequestInformation when successful +func (m *ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ExternalAuthenticationMethodable, requestConfiguration *ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder when successful +func (m *ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder) { + return NewItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/bda5f82c09faefd678d4856e366177ccdef8ba2116922f5fbdee8eaaab05fbc7.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/bda5f82c09faefd678d4856e366177ccdef8ba2116922f5fbdee8eaaab05fbc7.go index fac3c56ae2..b3a1340340 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/bda5f82c09faefd678d4856e366177ccdef8ba2116922f5fbdee8eaaab05fbc7.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/bda5f82c09faefd678d4856e366177ccdef8ba2116922f5fbdee8eaaab05fbc7.go @@ -13,7 +13,7 @@ import ( type ItemJoinedTeamsItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemJoinedTeamsItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters determine whether a user has access to a shared channel. +// ItemJoinedTeamsItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters determine whether a user has access to a channel. type ItemJoinedTeamsItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters struct { // Usage: tenantId='@tenantId' TenantId *string `uriparametername:"tenantId"` @@ -44,7 +44,7 @@ func NewItemJoinedTeamsItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdT urlParams["request-raw-url"] = rawUrl return NewItemJoinedTeamsItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderInternal(urlParams, requestAdapter) } -// Get determine whether a user has access to a shared channel. +// Get determine whether a user has access to a channel. // Deprecated: This method is obsolete. Use GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse instead. // returns a ItemJoinedTeamsItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -68,7 +68,7 @@ func (m *ItemJoinedTeamsItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantId } return res.(ItemJoinedTeamsItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable), nil } -// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse determine whether a user has access to a shared channel. +// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse determine whether a user has access to a channel. // returns a ItemJoinedTeamsItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -91,7 +91,7 @@ func (m *ItemJoinedTeamsItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantId } return res.(ItemJoinedTeamsItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable), nil } -// ToGetRequestInformation determine whether a user has access to a shared channel. +// ToGetRequestInformation determine whether a user has access to a channel. // returns a *RequestInformation when successful func (m *ItemJoinedTeamsItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemJoinedTeamsItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/e038197f77bb663c1868660dd119b168fd1a23a0df22f4f5cebf7fb3dfda6eb7.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/e038197f77bb663c1868660dd119b168fd1a23a0df22f4f5cebf7fb3dfda6eb7.go index 7853e9ccc7..fabe0419b1 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/e038197f77bb663c1868660dd119b168fd1a23a0df22f4f5cebf7fb3dfda6eb7.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/e038197f77bb663c1868660dd119b168fd1a23a0df22f4f5cebf7fb3dfda6eb7.go @@ -13,7 +13,7 @@ import ( type ItemJoinedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemJoinedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters determine whether a user has access to a shared channel. +// ItemJoinedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters determine whether a user has access to a channel. type ItemJoinedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters struct { // Usage: tenantId='@tenantId' TenantId *string `uriparametername:"tenantId"` @@ -44,7 +44,7 @@ func NewItemJoinedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTen urlParams["request-raw-url"] = rawUrl return NewItemJoinedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderInternal(urlParams, requestAdapter) } -// Get determine whether a user has access to a shared channel. +// Get determine whether a user has access to a channel. // Deprecated: This method is obsolete. Use GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse instead. // returns a ItemJoinedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -68,7 +68,7 @@ func (m *ItemJoinedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTe } return res.(ItemJoinedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable), nil } -// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse determine whether a user has access to a shared channel. +// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse determine whether a user has access to a channel. // returns a ItemJoinedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -91,7 +91,7 @@ func (m *ItemJoinedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTe } return res.(ItemJoinedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable), nil } -// ToGetRequestInformation determine whether a user has access to a shared channel. +// ToGetRequestInformation determine whether a user has access to a channel. // returns a *RequestInformation when successful func (m *ItemJoinedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemJoinedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/ec60ae41866c70634c76e050f19ed19d9b4dd5654c45db6b4eab7de4dbdf4921.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/ec60ae41866c70634c76e050f19ed19d9b4dd5654c45db6b4eab7de4dbdf4921.go new file mode 100644 index 0000000000..d85df5973c --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/ec60ae41866c70634c76e050f19ed19d9b4dd5654c45db6b4eab7de4dbdf4921.go @@ -0,0 +1,128 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder provides operations to call the occurrencesView method. +type ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters get work plan occurrences from your own work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. +type ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters +} +// NewItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderInternal instantiates a new ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter, endDateTime *string, startDateTime *string)(*ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder) { + m := &ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrencesView(startDateTime='{startDateTime}',endDateTime='{endDateTime}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + if endDateTime != nil { + m.BaseRequestBuilder.PathParameters["endDateTime"] = *endDateTime + } + if startDateTime != nil { + m.BaseRequestBuilder.PathParameters["startDateTime"] = *startDateTime + } + return m +} +// NewItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder instantiates a new ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderInternal(urlParams, requestAdapter, nil, nil) +} +// Get get work plan occurrences from your own work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. +// Deprecated: This method is obsolete. Use GetAsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse instead. +// returns a ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/workhoursandlocationssetting-occurrencesview?view=graph-rest-1.0 +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponseable), nil +} +// GetAsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse get work plan occurrences from your own work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. +// returns a ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/workhoursandlocationssetting-occurrencesview?view=graph-rest-1.0 +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder) GetAsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseable), nil +} +// ToGetRequestInformation get work plan occurrences from your own work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. +// returns a *RequestInformation when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_adhoc_call_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_adhoc_call_item_request_builder.go new file mode 100644 index 0000000000..5652b684e3 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_adhoc_call_item_request_builder.go @@ -0,0 +1,170 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemAdhocCallsAdhocCallItemRequestBuilder provides operations to manage the adhocCalls property of the microsoft.graph.user entity. +type ItemAdhocCallsAdhocCallItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAdhocCallsAdhocCallItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsAdhocCallItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemAdhocCallsAdhocCallItemRequestBuilderGetQueryParameters ad hoc calls associated with the user. Read-only. Nullable. +type ItemAdhocCallsAdhocCallItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemAdhocCallsAdhocCallItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsAdhocCallItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAdhocCallsAdhocCallItemRequestBuilderGetQueryParameters +} +// ItemAdhocCallsAdhocCallItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsAdhocCallItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemAdhocCallsAdhocCallItemRequestBuilderInternal instantiates a new ItemAdhocCallsAdhocCallItemRequestBuilder and sets the default values. +func NewItemAdhocCallsAdhocCallItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsAdhocCallItemRequestBuilder) { + m := &ItemAdhocCallsAdhocCallItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemAdhocCallsAdhocCallItemRequestBuilder instantiates a new ItemAdhocCallsAdhocCallItemRequestBuilder and sets the default values. +func NewItemAdhocCallsAdhocCallItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsAdhocCallItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAdhocCallsAdhocCallItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property adhocCalls for users +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsAdhocCallItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemAdhocCallsAdhocCallItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get ad hoc calls associated with the user. Read-only. Nullable. +// returns a AdhocCallable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsAdhocCallItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAdhocCallsAdhocCallItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateAdhocCallFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable), nil +} +// Patch update the navigation property adhocCalls in users +// returns a AdhocCallable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsAdhocCallItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable, requestConfiguration *ItemAdhocCallsAdhocCallItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateAdhocCallFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable), nil +} +// Recordings provides operations to manage the recordings property of the microsoft.graph.adhocCall entity. +// returns a *ItemAdhocCallsItemRecordingsRequestBuilder when successful +func (m *ItemAdhocCallsAdhocCallItemRequestBuilder) Recordings()(*ItemAdhocCallsItemRecordingsRequestBuilder) { + return NewItemAdhocCallsItemRecordingsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property adhocCalls for users +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsAdhocCallItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemAdhocCallsAdhocCallItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation ad hoc calls associated with the user. Read-only. Nullable. +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsAdhocCallItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAdhocCallsAdhocCallItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property adhocCalls in users +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsAdhocCallItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable, requestConfiguration *ItemAdhocCallsAdhocCallItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// Transcripts provides operations to manage the transcripts property of the microsoft.graph.adhocCall entity. +// returns a *ItemAdhocCallsItemTranscriptsRequestBuilder when successful +func (m *ItemAdhocCallsAdhocCallItemRequestBuilder) Transcripts()(*ItemAdhocCallsItemTranscriptsRequestBuilder) { + return NewItemAdhocCallsItemTranscriptsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemAdhocCallsAdhocCallItemRequestBuilder when successful +func (m *ItemAdhocCallsAdhocCallItemRequestBuilder) WithUrl(rawUrl string)(*ItemAdhocCallsAdhocCallItemRequestBuilder) { + return NewItemAdhocCallsAdhocCallItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_count_request_builder.go new file mode 100644 index 0000000000..e477ff6cf3 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemAdhocCallsCountRequestBuilder provides operations to count the resources in the collection. +type ItemAdhocCallsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAdhocCallsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemAdhocCallsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemAdhocCallsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAdhocCallsCountRequestBuilderGetQueryParameters +} +// NewItemAdhocCallsCountRequestBuilderInternal instantiates a new ItemAdhocCallsCountRequestBuilder and sets the default values. +func NewItemAdhocCallsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsCountRequestBuilder) { + m := &ItemAdhocCallsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemAdhocCallsCountRequestBuilder instantiates a new ItemAdhocCallsCountRequestBuilder and sets the default values. +func NewItemAdhocCallsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAdhocCallsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAdhocCallsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAdhocCallsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemAdhocCallsCountRequestBuilder when successful +func (m *ItemAdhocCallsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAdhocCallsCountRequestBuilder) { + return NewItemAdhocCallsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_recordings_call_recording_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_recordings_call_recording_item_request_builder.go new file mode 100644 index 0000000000..95ef770545 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_recordings_call_recording_item_request_builder.go @@ -0,0 +1,168 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder provides operations to manage the recordings property of the microsoft.graph.adhocCall entity. +type ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. +type ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters +} +// ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderInternal instantiates a new ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder and sets the default values. +func NewItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder) { + m := &ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/recordings/{callRecording%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder instantiates a new ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder and sets the default values. +func NewItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Content provides operations to manage the media for the user entity. +// returns a *ItemAdhocCallsItemRecordingsItemContentRequestBuilder when successful +func (m *ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder) Content()(*ItemAdhocCallsItemRecordingsItemContentRequestBuilder) { + return NewItemAdhocCallsItemRecordingsItemContentRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Delete delete navigation property recordings for users +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. +// returns a CallRecordingable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/callrecording-get?view=graph-rest-1.0 +func (m *ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCallRecordingFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable), nil +} +// Patch update the navigation property recordings in users +// returns a CallRecordingable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable, requestConfiguration *ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCallRecordingFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable), nil +} +// ToDeleteRequestInformation delete navigation property recordings for users +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property recordings in users +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable, requestConfiguration *ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder when successful +func (m *ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder) WithUrl(rawUrl string)(*ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder) { + return NewItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_recordings_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_recordings_count_request_builder.go new file mode 100644 index 0000000000..9feabda5d6 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_recordings_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemAdhocCallsItemRecordingsCountRequestBuilder provides operations to count the resources in the collection. +type ItemAdhocCallsItemRecordingsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAdhocCallsItemRecordingsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemAdhocCallsItemRecordingsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemAdhocCallsItemRecordingsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsItemRecordingsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAdhocCallsItemRecordingsCountRequestBuilderGetQueryParameters +} +// NewItemAdhocCallsItemRecordingsCountRequestBuilderInternal instantiates a new ItemAdhocCallsItemRecordingsCountRequestBuilder and sets the default values. +func NewItemAdhocCallsItemRecordingsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsItemRecordingsCountRequestBuilder) { + m := &ItemAdhocCallsItemRecordingsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/recordings/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemAdhocCallsItemRecordingsCountRequestBuilder instantiates a new ItemAdhocCallsItemRecordingsCountRequestBuilder and sets the default values. +func NewItemAdhocCallsItemRecordingsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsItemRecordingsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAdhocCallsItemRecordingsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsItemRecordingsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAdhocCallsItemRecordingsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsItemRecordingsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAdhocCallsItemRecordingsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemAdhocCallsItemRecordingsCountRequestBuilder when successful +func (m *ItemAdhocCallsItemRecordingsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAdhocCallsItemRecordingsCountRequestBuilder) { + return NewItemAdhocCallsItemRecordingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_recordings_delta_get_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_recordings_delta_get_response.go new file mode 100644 index 0000000000..1c4435049e --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_recordings_delta_get_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type ItemAdhocCallsItemRecordingsDeltaGetResponse struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseDeltaFunctionResponse +} +// NewItemAdhocCallsItemRecordingsDeltaGetResponse instantiates a new ItemAdhocCallsItemRecordingsDeltaGetResponse and sets the default values. +func NewItemAdhocCallsItemRecordingsDeltaGetResponse()(*ItemAdhocCallsItemRecordingsDeltaGetResponse) { + m := &ItemAdhocCallsItemRecordingsDeltaGetResponse{ + BaseDeltaFunctionResponse: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewBaseDeltaFunctionResponse(), + } + return m +} +// CreateItemAdhocCallsItemRecordingsDeltaGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemAdhocCallsItemRecordingsDeltaGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemAdhocCallsItemRecordingsDeltaGetResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemAdhocCallsItemRecordingsDeltaGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseDeltaFunctionResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCallRecordingFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []CallRecordingable when successful +func (m *ItemAdhocCallsItemRecordingsDeltaGetResponse) GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemAdhocCallsItemRecordingsDeltaGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseDeltaFunctionResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *ItemAdhocCallsItemRecordingsDeltaGetResponse) SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemAdhocCallsItemRecordingsDeltaGetResponseable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseDeltaFunctionResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable) + SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_recordings_delta_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_recordings_delta_request_builder.go new file mode 100644 index 0000000000..37826f8735 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_recordings_delta_request_builder.go @@ -0,0 +1,116 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemAdhocCallsItemRecordingsDeltaRequestBuilder provides operations to call the delta method. +type ItemAdhocCallsItemRecordingsDeltaRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAdhocCallsItemRecordingsDeltaRequestBuilderGetQueryParameters invoke function delta +type ItemAdhocCallsItemRecordingsDeltaRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemAdhocCallsItemRecordingsDeltaRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsItemRecordingsDeltaRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAdhocCallsItemRecordingsDeltaRequestBuilderGetQueryParameters +} +// NewItemAdhocCallsItemRecordingsDeltaRequestBuilderInternal instantiates a new ItemAdhocCallsItemRecordingsDeltaRequestBuilder and sets the default values. +func NewItemAdhocCallsItemRecordingsDeltaRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsItemRecordingsDeltaRequestBuilder) { + m := &ItemAdhocCallsItemRecordingsDeltaRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/recordings/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemAdhocCallsItemRecordingsDeltaRequestBuilder instantiates a new ItemAdhocCallsItemRecordingsDeltaRequestBuilder and sets the default values. +func NewItemAdhocCallsItemRecordingsDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsItemRecordingsDeltaRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAdhocCallsItemRecordingsDeltaRequestBuilderInternal(urlParams, requestAdapter) +} +// Get invoke function delta +// Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. +// returns a ItemAdhocCallsItemRecordingsDeltaResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsItemRecordingsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAdhocCallsItemRecordingsDeltaRequestBuilderGetRequestConfiguration)(ItemAdhocCallsItemRecordingsDeltaResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemAdhocCallsItemRecordingsDeltaResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemAdhocCallsItemRecordingsDeltaResponseable), nil +} +// GetAsDeltaGetResponse invoke function delta +// returns a ItemAdhocCallsItemRecordingsDeltaGetResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsItemRecordingsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemAdhocCallsItemRecordingsDeltaRequestBuilderGetRequestConfiguration)(ItemAdhocCallsItemRecordingsDeltaGetResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemAdhocCallsItemRecordingsDeltaGetResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemAdhocCallsItemRecordingsDeltaGetResponseable), nil +} +// ToGetRequestInformation invoke function delta +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsItemRecordingsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAdhocCallsItemRecordingsDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemAdhocCallsItemRecordingsDeltaRequestBuilder when successful +func (m *ItemAdhocCallsItemRecordingsDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemAdhocCallsItemRecordingsDeltaRequestBuilder) { + return NewItemAdhocCallsItemRecordingsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_recordings_delta_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_recordings_delta_response.go new file mode 100644 index 0000000000..9e26c2adc9 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_recordings_delta_response.go @@ -0,0 +1,30 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemAdhocCallsItemRecordingsDeltaGetResponseable instead. +type ItemAdhocCallsItemRecordingsDeltaResponse struct { + ItemAdhocCallsItemRecordingsDeltaGetResponse +} +// NewItemAdhocCallsItemRecordingsDeltaResponse instantiates a new ItemAdhocCallsItemRecordingsDeltaResponse and sets the default values. +func NewItemAdhocCallsItemRecordingsDeltaResponse()(*ItemAdhocCallsItemRecordingsDeltaResponse) { + m := &ItemAdhocCallsItemRecordingsDeltaResponse{ + ItemAdhocCallsItemRecordingsDeltaGetResponse: *NewItemAdhocCallsItemRecordingsDeltaGetResponse(), + } + return m +} +// CreateItemAdhocCallsItemRecordingsDeltaResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemAdhocCallsItemRecordingsDeltaResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemAdhocCallsItemRecordingsDeltaResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemAdhocCallsItemRecordingsDeltaGetResponseable instead. +type ItemAdhocCallsItemRecordingsDeltaResponseable interface { + ItemAdhocCallsItemRecordingsDeltaGetResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_recordings_item_content_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_recordings_item_content_request_builder.go new file mode 100644 index 0000000000..eaa72c1a93 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_recordings_item_content_request_builder.go @@ -0,0 +1,148 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemAdhocCallsItemRecordingsItemContentRequestBuilder provides operations to manage the media for the user entity. +type ItemAdhocCallsItemRecordingsItemContentRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAdhocCallsItemRecordingsItemContentRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsItemRecordingsItemContentRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemAdhocCallsItemRecordingsItemContentRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsItemRecordingsItemContentRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemAdhocCallsItemRecordingsItemContentRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsItemRecordingsItemContentRequestBuilderPutRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemAdhocCallsItemRecordingsItemContentRequestBuilderInternal instantiates a new ItemAdhocCallsItemRecordingsItemContentRequestBuilder and sets the default values. +func NewItemAdhocCallsItemRecordingsItemContentRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsItemRecordingsItemContentRequestBuilder) { + m := &ItemAdhocCallsItemRecordingsItemContentRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/recordings/{callRecording%2Did}/content", pathParameters), + } + return m +} +// NewItemAdhocCallsItemRecordingsItemContentRequestBuilder instantiates a new ItemAdhocCallsItemRecordingsItemContentRequestBuilder and sets the default values. +func NewItemAdhocCallsItemRecordingsItemContentRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsItemRecordingsItemContentRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAdhocCallsItemRecordingsItemContentRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete the content of the recording. Read-only. +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsItemRecordingsItemContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemAdhocCallsItemRecordingsItemContentRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. +// returns a []byte when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/callrecording-get?view=graph-rest-1.0 +func (m *ItemAdhocCallsItemRecordingsItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAdhocCallsItemRecordingsItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.([]byte), nil +} +// Put the content of the recording. Read-only. +// returns a CallRecordingable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsItemRecordingsItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemAdhocCallsItemRecordingsItemContentRequestBuilderPutRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable, error) { + requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCallRecordingFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable), nil +} +// ToDeleteRequestInformation the content of the recording. Read-only. +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsItemRecordingsItemContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemAdhocCallsItemRecordingsItemContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsItemRecordingsItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAdhocCallsItemRecordingsItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") + return requestInfo, nil +} +// ToPutRequestInformation the content of the recording. Read-only. +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsItemRecordingsItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemAdhocCallsItemRecordingsItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemAdhocCallsItemRecordingsItemContentRequestBuilder when successful +func (m *ItemAdhocCallsItemRecordingsItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemAdhocCallsItemRecordingsItemContentRequestBuilder) { + return NewItemAdhocCallsItemRecordingsItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_recordings_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_recordings_request_builder.go new file mode 100644 index 0000000000..88b2080067 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_recordings_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemAdhocCallsItemRecordingsRequestBuilder provides operations to manage the recordings property of the microsoft.graph.adhocCall entity. +type ItemAdhocCallsItemRecordingsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAdhocCallsItemRecordingsRequestBuilderGetQueryParameters get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. +type ItemAdhocCallsItemRecordingsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemAdhocCallsItemRecordingsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsItemRecordingsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAdhocCallsItemRecordingsRequestBuilderGetQueryParameters +} +// ItemAdhocCallsItemRecordingsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsItemRecordingsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByCallRecordingId provides operations to manage the recordings property of the microsoft.graph.adhocCall entity. +// returns a *ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder when successful +func (m *ItemAdhocCallsItemRecordingsRequestBuilder) ByCallRecordingId(callRecordingId string)(*ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if callRecordingId != "" { + urlTplParams["callRecording%2Did"] = callRecordingId + } + return NewItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemAdhocCallsItemRecordingsRequestBuilderInternal instantiates a new ItemAdhocCallsItemRecordingsRequestBuilder and sets the default values. +func NewItemAdhocCallsItemRecordingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsItemRecordingsRequestBuilder) { + m := &ItemAdhocCallsItemRecordingsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/recordings{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemAdhocCallsItemRecordingsRequestBuilder instantiates a new ItemAdhocCallsItemRecordingsRequestBuilder and sets the default values. +func NewItemAdhocCallsItemRecordingsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsItemRecordingsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAdhocCallsItemRecordingsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemAdhocCallsItemRecordingsCountRequestBuilder when successful +func (m *ItemAdhocCallsItemRecordingsRequestBuilder) Count()(*ItemAdhocCallsItemRecordingsCountRequestBuilder) { + return NewItemAdhocCallsItemRecordingsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Delta provides operations to call the delta method. +// returns a *ItemAdhocCallsItemRecordingsDeltaRequestBuilder when successful +func (m *ItemAdhocCallsItemRecordingsRequestBuilder) Delta()(*ItemAdhocCallsItemRecordingsDeltaRequestBuilder) { + return NewItemAdhocCallsItemRecordingsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. +// returns a CallRecordingCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsItemRecordingsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAdhocCallsItemRecordingsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCallRecordingCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingCollectionResponseable), nil +} +// Post create new navigation property to recordings for users +// returns a CallRecordingable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsItemRecordingsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable, requestConfiguration *ItemAdhocCallsItemRecordingsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCallRecordingFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable), nil +} +// ToGetRequestInformation get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsItemRecordingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAdhocCallsItemRecordingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to recordings for users +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsItemRecordingsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable, requestConfiguration *ItemAdhocCallsItemRecordingsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemAdhocCallsItemRecordingsRequestBuilder when successful +func (m *ItemAdhocCallsItemRecordingsRequestBuilder) WithUrl(rawUrl string)(*ItemAdhocCallsItemRecordingsRequestBuilder) { + return NewItemAdhocCallsItemRecordingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_call_transcript_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_call_transcript_item_request_builder.go new file mode 100644 index 0000000000..d5772b8c75 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_call_transcript_item_request_builder.go @@ -0,0 +1,173 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder provides operations to manage the transcripts property of the microsoft.graph.adhocCall entity. +type ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. +type ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters +} +// ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderInternal instantiates a new ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder and sets the default values. +func NewItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder) { + m := &ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder instantiates a new ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder and sets the default values. +func NewItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Content provides operations to manage the media for the user entity. +// returns a *ItemAdhocCallsItemTranscriptsItemContentRequestBuilder when successful +func (m *ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder) Content()(*ItemAdhocCallsItemTranscriptsItemContentRequestBuilder) { + return NewItemAdhocCallsItemTranscriptsItemContentRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Delete delete navigation property transcripts for users +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// returns a CallTranscriptable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/calltranscript-get?view=graph-rest-1.0 +func (m *ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCallTranscriptFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable), nil +} +// MetadataContent provides operations to manage the media for the user entity. +// returns a *ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder when successful +func (m *ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder) MetadataContent()(*ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder) { + return NewItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property transcripts in users +// returns a CallTranscriptable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable, requestConfiguration *ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCallTranscriptFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable), nil +} +// ToDeleteRequestInformation delete navigation property transcripts for users +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property transcripts in users +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable, requestConfiguration *ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder when successful +func (m *ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder) WithUrl(rawUrl string)(*ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder) { + return NewItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_count_request_builder.go new file mode 100644 index 0000000000..2c1b807435 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemAdhocCallsItemTranscriptsCountRequestBuilder provides operations to count the resources in the collection. +type ItemAdhocCallsItemTranscriptsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAdhocCallsItemTranscriptsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemAdhocCallsItemTranscriptsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemAdhocCallsItemTranscriptsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsItemTranscriptsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAdhocCallsItemTranscriptsCountRequestBuilderGetQueryParameters +} +// NewItemAdhocCallsItemTranscriptsCountRequestBuilderInternal instantiates a new ItemAdhocCallsItemTranscriptsCountRequestBuilder and sets the default values. +func NewItemAdhocCallsItemTranscriptsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsItemTranscriptsCountRequestBuilder) { + m := &ItemAdhocCallsItemTranscriptsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/transcripts/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemAdhocCallsItemTranscriptsCountRequestBuilder instantiates a new ItemAdhocCallsItemTranscriptsCountRequestBuilder and sets the default values. +func NewItemAdhocCallsItemTranscriptsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsItemTranscriptsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAdhocCallsItemTranscriptsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsItemTranscriptsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAdhocCallsItemTranscriptsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsItemTranscriptsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAdhocCallsItemTranscriptsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemAdhocCallsItemTranscriptsCountRequestBuilder when successful +func (m *ItemAdhocCallsItemTranscriptsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAdhocCallsItemTranscriptsCountRequestBuilder) { + return NewItemAdhocCallsItemTranscriptsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_delta_get_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_delta_get_response.go new file mode 100644 index 0000000000..c75d059c02 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_delta_get_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type ItemAdhocCallsItemTranscriptsDeltaGetResponse struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseDeltaFunctionResponse +} +// NewItemAdhocCallsItemTranscriptsDeltaGetResponse instantiates a new ItemAdhocCallsItemTranscriptsDeltaGetResponse and sets the default values. +func NewItemAdhocCallsItemTranscriptsDeltaGetResponse()(*ItemAdhocCallsItemTranscriptsDeltaGetResponse) { + m := &ItemAdhocCallsItemTranscriptsDeltaGetResponse{ + BaseDeltaFunctionResponse: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewBaseDeltaFunctionResponse(), + } + return m +} +// CreateItemAdhocCallsItemTranscriptsDeltaGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemAdhocCallsItemTranscriptsDeltaGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemAdhocCallsItemTranscriptsDeltaGetResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemAdhocCallsItemTranscriptsDeltaGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseDeltaFunctionResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCallTranscriptFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []CallTranscriptable when successful +func (m *ItemAdhocCallsItemTranscriptsDeltaGetResponse) GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemAdhocCallsItemTranscriptsDeltaGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseDeltaFunctionResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *ItemAdhocCallsItemTranscriptsDeltaGetResponse) SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemAdhocCallsItemTranscriptsDeltaGetResponseable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseDeltaFunctionResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable) + SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_delta_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_delta_request_builder.go new file mode 100644 index 0000000000..3848fab09b --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_delta_request_builder.go @@ -0,0 +1,116 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemAdhocCallsItemTranscriptsDeltaRequestBuilder provides operations to call the delta method. +type ItemAdhocCallsItemTranscriptsDeltaRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAdhocCallsItemTranscriptsDeltaRequestBuilderGetQueryParameters invoke function delta +type ItemAdhocCallsItemTranscriptsDeltaRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemAdhocCallsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAdhocCallsItemTranscriptsDeltaRequestBuilderGetQueryParameters +} +// NewItemAdhocCallsItemTranscriptsDeltaRequestBuilderInternal instantiates a new ItemAdhocCallsItemTranscriptsDeltaRequestBuilder and sets the default values. +func NewItemAdhocCallsItemTranscriptsDeltaRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsItemTranscriptsDeltaRequestBuilder) { + m := &ItemAdhocCallsItemTranscriptsDeltaRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/transcripts/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemAdhocCallsItemTranscriptsDeltaRequestBuilder instantiates a new ItemAdhocCallsItemTranscriptsDeltaRequestBuilder and sets the default values. +func NewItemAdhocCallsItemTranscriptsDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsItemTranscriptsDeltaRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAdhocCallsItemTranscriptsDeltaRequestBuilderInternal(urlParams, requestAdapter) +} +// Get invoke function delta +// Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. +// returns a ItemAdhocCallsItemTranscriptsDeltaResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsItemTranscriptsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAdhocCallsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration)(ItemAdhocCallsItemTranscriptsDeltaResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemAdhocCallsItemTranscriptsDeltaResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemAdhocCallsItemTranscriptsDeltaResponseable), nil +} +// GetAsDeltaGetResponse invoke function delta +// returns a ItemAdhocCallsItemTranscriptsDeltaGetResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsItemTranscriptsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemAdhocCallsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration)(ItemAdhocCallsItemTranscriptsDeltaGetResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemAdhocCallsItemTranscriptsDeltaGetResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemAdhocCallsItemTranscriptsDeltaGetResponseable), nil +} +// ToGetRequestInformation invoke function delta +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsItemTranscriptsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAdhocCallsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemAdhocCallsItemTranscriptsDeltaRequestBuilder when successful +func (m *ItemAdhocCallsItemTranscriptsDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemAdhocCallsItemTranscriptsDeltaRequestBuilder) { + return NewItemAdhocCallsItemTranscriptsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_delta_response.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_delta_response.go new file mode 100644 index 0000000000..1f4e03fe95 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_delta_response.go @@ -0,0 +1,30 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemAdhocCallsItemTranscriptsDeltaGetResponseable instead. +type ItemAdhocCallsItemTranscriptsDeltaResponse struct { + ItemAdhocCallsItemTranscriptsDeltaGetResponse +} +// NewItemAdhocCallsItemTranscriptsDeltaResponse instantiates a new ItemAdhocCallsItemTranscriptsDeltaResponse and sets the default values. +func NewItemAdhocCallsItemTranscriptsDeltaResponse()(*ItemAdhocCallsItemTranscriptsDeltaResponse) { + m := &ItemAdhocCallsItemTranscriptsDeltaResponse{ + ItemAdhocCallsItemTranscriptsDeltaGetResponse: *NewItemAdhocCallsItemTranscriptsDeltaGetResponse(), + } + return m +} +// CreateItemAdhocCallsItemTranscriptsDeltaResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemAdhocCallsItemTranscriptsDeltaResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemAdhocCallsItemTranscriptsDeltaResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemAdhocCallsItemTranscriptsDeltaGetResponseable instead. +type ItemAdhocCallsItemTranscriptsDeltaResponseable interface { + ItemAdhocCallsItemTranscriptsDeltaGetResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_item_content_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_item_content_request_builder.go new file mode 100644 index 0000000000..12b4ebd1a6 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_item_content_request_builder.go @@ -0,0 +1,148 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemAdhocCallsItemTranscriptsItemContentRequestBuilder provides operations to manage the media for the user entity. +type ItemAdhocCallsItemTranscriptsItemContentRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAdhocCallsItemTranscriptsItemContentRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsItemTranscriptsItemContentRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemAdhocCallsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemAdhocCallsItemTranscriptsItemContentRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsItemTranscriptsItemContentRequestBuilderPutRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemAdhocCallsItemTranscriptsItemContentRequestBuilderInternal instantiates a new ItemAdhocCallsItemTranscriptsItemContentRequestBuilder and sets the default values. +func NewItemAdhocCallsItemTranscriptsItemContentRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsItemTranscriptsItemContentRequestBuilder) { + m := &ItemAdhocCallsItemTranscriptsItemContentRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}/content", pathParameters), + } + return m +} +// NewItemAdhocCallsItemTranscriptsItemContentRequestBuilder instantiates a new ItemAdhocCallsItemTranscriptsItemContentRequestBuilder and sets the default values. +func NewItemAdhocCallsItemTranscriptsItemContentRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsItemTranscriptsItemContentRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAdhocCallsItemTranscriptsItemContentRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete the content of the transcript. Read-only. +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsItemTranscriptsItemContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemAdhocCallsItemTranscriptsItemContentRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// returns a []byte when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/calltranscript-get?view=graph-rest-1.0 +func (m *ItemAdhocCallsItemTranscriptsItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAdhocCallsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.([]byte), nil +} +// Put the content of the transcript. Read-only. +// returns a CallTranscriptable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsItemTranscriptsItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemAdhocCallsItemTranscriptsItemContentRequestBuilderPutRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable, error) { + requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCallTranscriptFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable), nil +} +// ToDeleteRequestInformation the content of the transcript. Read-only. +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsItemTranscriptsItemContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemAdhocCallsItemTranscriptsItemContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsItemTranscriptsItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAdhocCallsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") + return requestInfo, nil +} +// ToPutRequestInformation the content of the transcript. Read-only. +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsItemTranscriptsItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemAdhocCallsItemTranscriptsItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemAdhocCallsItemTranscriptsItemContentRequestBuilder when successful +func (m *ItemAdhocCallsItemTranscriptsItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemAdhocCallsItemTranscriptsItemContentRequestBuilder) { + return NewItemAdhocCallsItemTranscriptsItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_item_metadata_content_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_item_metadata_content_request_builder.go new file mode 100644 index 0000000000..77176260e9 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_item_metadata_content_request_builder.go @@ -0,0 +1,144 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder provides operations to manage the media for the user entity. +type ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderPutRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderInternal instantiates a new ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder and sets the default values. +func NewItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder) { + m := &ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}/metadataContent", pathParameters), + } + return m +} +// NewItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder instantiates a new ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder and sets the default values. +func NewItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete the time-aligned metadata of the utterances in the transcript. Read-only. +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the time-aligned metadata of the utterances in the transcript. Read-only. +// returns a []byte when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderGetRequestConfiguration)([]byte, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.([]byte), nil +} +// Put the time-aligned metadata of the utterances in the transcript. Read-only. +// returns a []byte when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderPutRequestConfiguration)([]byte, error) { + requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.([]byte), nil +} +// ToDeleteRequestInformation the time-aligned metadata of the utterances in the transcript. Read-only. +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the time-aligned metadata of the utterances in the transcript. Read-only. +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") + return requestInfo, nil +} +// ToPutRequestInformation the time-aligned metadata of the utterances in the transcript. Read-only. +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder when successful +func (m *ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder) WithUrl(rawUrl string)(*ItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder) { + return NewItemAdhocCallsItemTranscriptsItemMetadataContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_request_builder.go new file mode 100644 index 0000000000..c100cbcc8d --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_item_transcripts_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemAdhocCallsItemTranscriptsRequestBuilder provides operations to manage the transcripts property of the microsoft.graph.adhocCall entity. +type ItemAdhocCallsItemTranscriptsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAdhocCallsItemTranscriptsRequestBuilderGetQueryParameters retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. +type ItemAdhocCallsItemTranscriptsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemAdhocCallsItemTranscriptsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsItemTranscriptsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAdhocCallsItemTranscriptsRequestBuilderGetQueryParameters +} +// ItemAdhocCallsItemTranscriptsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsItemTranscriptsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByCallTranscriptId provides operations to manage the transcripts property of the microsoft.graph.adhocCall entity. +// returns a *ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder when successful +func (m *ItemAdhocCallsItemTranscriptsRequestBuilder) ByCallTranscriptId(callTranscriptId string)(*ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if callTranscriptId != "" { + urlTplParams["callTranscript%2Did"] = callTranscriptId + } + return NewItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemAdhocCallsItemTranscriptsRequestBuilderInternal instantiates a new ItemAdhocCallsItemTranscriptsRequestBuilder and sets the default values. +func NewItemAdhocCallsItemTranscriptsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsItemTranscriptsRequestBuilder) { + m := &ItemAdhocCallsItemTranscriptsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/transcripts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemAdhocCallsItemTranscriptsRequestBuilder instantiates a new ItemAdhocCallsItemTranscriptsRequestBuilder and sets the default values. +func NewItemAdhocCallsItemTranscriptsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsItemTranscriptsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAdhocCallsItemTranscriptsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemAdhocCallsItemTranscriptsCountRequestBuilder when successful +func (m *ItemAdhocCallsItemTranscriptsRequestBuilder) Count()(*ItemAdhocCallsItemTranscriptsCountRequestBuilder) { + return NewItemAdhocCallsItemTranscriptsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Delta provides operations to call the delta method. +// returns a *ItemAdhocCallsItemTranscriptsDeltaRequestBuilder when successful +func (m *ItemAdhocCallsItemTranscriptsRequestBuilder) Delta()(*ItemAdhocCallsItemTranscriptsDeltaRequestBuilder) { + return NewItemAdhocCallsItemTranscriptsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// returns a CallTranscriptCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsItemTranscriptsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAdhocCallsItemTranscriptsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCallTranscriptCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptCollectionResponseable), nil +} +// Post create new navigation property to transcripts for users +// returns a CallTranscriptable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsItemTranscriptsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable, requestConfiguration *ItemAdhocCallsItemTranscriptsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCallTranscriptFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable), nil +} +// ToGetRequestInformation retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsItemTranscriptsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAdhocCallsItemTranscriptsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to transcripts for users +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsItemTranscriptsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable, requestConfiguration *ItemAdhocCallsItemTranscriptsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemAdhocCallsItemTranscriptsRequestBuilder when successful +func (m *ItemAdhocCallsItemTranscriptsRequestBuilder) WithUrl(rawUrl string)(*ItemAdhocCallsItemTranscriptsRequestBuilder) { + return NewItemAdhocCallsItemTranscriptsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_request_builder.go new file mode 100644 index 0000000000..096cecf4cb --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_adhoc_calls_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemAdhocCallsRequestBuilder provides operations to manage the adhocCalls property of the microsoft.graph.user entity. +type ItemAdhocCallsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAdhocCallsRequestBuilderGetQueryParameters ad hoc calls associated with the user. Read-only. Nullable. +type ItemAdhocCallsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemAdhocCallsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAdhocCallsRequestBuilderGetQueryParameters +} +// ItemAdhocCallsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByAdhocCallId provides operations to manage the adhocCalls property of the microsoft.graph.user entity. +// returns a *ItemAdhocCallsAdhocCallItemRequestBuilder when successful +func (m *ItemAdhocCallsRequestBuilder) ByAdhocCallId(adhocCallId string)(*ItemAdhocCallsAdhocCallItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if adhocCallId != "" { + urlTplParams["adhocCall%2Did"] = adhocCallId + } + return NewItemAdhocCallsAdhocCallItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemAdhocCallsRequestBuilderInternal instantiates a new ItemAdhocCallsRequestBuilder and sets the default values. +func NewItemAdhocCallsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsRequestBuilder) { + m := &ItemAdhocCallsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemAdhocCallsRequestBuilder instantiates a new ItemAdhocCallsRequestBuilder and sets the default values. +func NewItemAdhocCallsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAdhocCallsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemAdhocCallsCountRequestBuilder when successful +func (m *ItemAdhocCallsRequestBuilder) Count()(*ItemAdhocCallsCountRequestBuilder) { + return NewItemAdhocCallsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get ad hoc calls associated with the user. Read-only. Nullable. +// returns a AdhocCallCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAdhocCallsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateAdhocCallCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallCollectionResponseable), nil +} +// Post create new navigation property to adhocCalls for users +// returns a AdhocCallable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable, requestConfiguration *ItemAdhocCallsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateAdhocCallFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable), nil +} +// ToGetRequestInformation ad hoc calls associated with the user. Read-only. Nullable. +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAdhocCallsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to adhocCalls for users +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AdhocCallable, requestConfiguration *ItemAdhocCallsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemAdhocCallsRequestBuilder when successful +func (m *ItemAdhocCallsRequestBuilder) WithUrl(rawUrl string)(*ItemAdhocCallsRequestBuilder) { + return NewItemAdhocCallsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_authentication_external_authentication_methods_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_authentication_external_authentication_methods_count_request_builder.go new file mode 100644 index 0000000000..a022ad5c7e --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_authentication_external_authentication_methods_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder provides operations to count the resources in the collection. +type ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilderGetQueryParameters +} +// NewItemAuthenticationExternalAuthenticationMethodsCountRequestBuilderInternal instantiates a new ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder and sets the default values. +func NewItemAuthenticationExternalAuthenticationMethodsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder) { + m := &ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/externalAuthenticationMethods/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder instantiates a new ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder and sets the default values. +func NewItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAuthenticationExternalAuthenticationMethodsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder when successful +func (m *ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder) { + return NewItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_authentication_external_authentication_methods_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_authentication_external_authentication_methods_request_builder.go new file mode 100644 index 0000000000..25b1ce1a58 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_authentication_external_authentication_methods_request_builder.go @@ -0,0 +1,158 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemAuthenticationExternalAuthenticationMethodsRequestBuilder provides operations to manage the externalAuthenticationMethods property of the microsoft.graph.authentication entity. +type ItemAuthenticationExternalAuthenticationMethodsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAuthenticationExternalAuthenticationMethodsRequestBuilderGetQueryParameters represents the external authentication methods registered to a user for authentication using an external identity provider. +type ItemAuthenticationExternalAuthenticationMethodsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemAuthenticationExternalAuthenticationMethodsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationExternalAuthenticationMethodsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAuthenticationExternalAuthenticationMethodsRequestBuilderGetQueryParameters +} +// ItemAuthenticationExternalAuthenticationMethodsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationExternalAuthenticationMethodsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByExternalAuthenticationMethodId provides operations to manage the externalAuthenticationMethods property of the microsoft.graph.authentication entity. +// returns a *ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder when successful +func (m *ItemAuthenticationExternalAuthenticationMethodsRequestBuilder) ByExternalAuthenticationMethodId(externalAuthenticationMethodId string)(*ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if externalAuthenticationMethodId != "" { + urlTplParams["externalAuthenticationMethod%2Did"] = externalAuthenticationMethodId + } + return NewItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemAuthenticationExternalAuthenticationMethodsRequestBuilderInternal instantiates a new ItemAuthenticationExternalAuthenticationMethodsRequestBuilder and sets the default values. +func NewItemAuthenticationExternalAuthenticationMethodsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationExternalAuthenticationMethodsRequestBuilder) { + m := &ItemAuthenticationExternalAuthenticationMethodsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/externalAuthenticationMethods{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemAuthenticationExternalAuthenticationMethodsRequestBuilder instantiates a new ItemAuthenticationExternalAuthenticationMethodsRequestBuilder and sets the default values. +func NewItemAuthenticationExternalAuthenticationMethodsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationExternalAuthenticationMethodsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAuthenticationExternalAuthenticationMethodsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder when successful +func (m *ItemAuthenticationExternalAuthenticationMethodsRequestBuilder) Count()(*ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder) { + return NewItemAuthenticationExternalAuthenticationMethodsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get represents the external authentication methods registered to a user for authentication using an external identity provider. +// returns a ExternalAuthenticationMethodCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAuthenticationExternalAuthenticationMethodsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationExternalAuthenticationMethodsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ExternalAuthenticationMethodCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateExternalAuthenticationMethodCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ExternalAuthenticationMethodCollectionResponseable), nil +} +// Post create a new externalAuthenticationMethod object. This API doesn't support self-service operations. +// returns a ExternalAuthenticationMethodable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/authentication-post-externalauthenticationmethods?view=graph-rest-1.0 +func (m *ItemAuthenticationExternalAuthenticationMethodsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ExternalAuthenticationMethodable, requestConfiguration *ItemAuthenticationExternalAuthenticationMethodsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ExternalAuthenticationMethodable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateExternalAuthenticationMethodFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ExternalAuthenticationMethodable), nil +} +// ToGetRequestInformation represents the external authentication methods registered to a user for authentication using an external identity provider. +// returns a *RequestInformation when successful +func (m *ItemAuthenticationExternalAuthenticationMethodsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationExternalAuthenticationMethodsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create a new externalAuthenticationMethod object. This API doesn't support self-service operations. +// returns a *RequestInformation when successful +func (m *ItemAuthenticationExternalAuthenticationMethodsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ExternalAuthenticationMethodable, requestConfiguration *ItemAuthenticationExternalAuthenticationMethodsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemAuthenticationExternalAuthenticationMethodsRequestBuilder when successful +func (m *ItemAuthenticationExternalAuthenticationMethodsRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationExternalAuthenticationMethodsRequestBuilder) { + return NewItemAuthenticationExternalAuthenticationMethodsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_authentication_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_authentication_request_builder.go index d1e84550e5..3e26f01c41 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_authentication_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_authentication_request_builder.go @@ -78,6 +78,11 @@ func (m *ItemAuthenticationRequestBuilder) Delete(ctx context.Context, requestCo func (m *ItemAuthenticationRequestBuilder) EmailMethods()(*ItemAuthenticationEmailMethodsRequestBuilder) { return NewItemAuthenticationEmailMethodsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// ExternalAuthenticationMethods provides operations to manage the externalAuthenticationMethods property of the microsoft.graph.authentication entity. +// returns a *ItemAuthenticationExternalAuthenticationMethodsRequestBuilder when successful +func (m *ItemAuthenticationRequestBuilder) ExternalAuthenticationMethods()(*ItemAuthenticationExternalAuthenticationMethodsRequestBuilder) { + return NewItemAuthenticationExternalAuthenticationMethodsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Fido2Methods provides operations to manage the fido2Methods property of the microsoft.graph.authentication entity. // returns a *ItemAuthenticationFido2MethodsRequestBuilder when successful func (m *ItemAuthenticationRequestBuilder) Fido2Methods()(*ItemAuthenticationFido2MethodsRequestBuilder) { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_chats_chat_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_chats_chat_item_request_builder.go index c2d51a59d8..23f2ba1192 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_chats_chat_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_chats_chat_item_request_builder.go @@ -161,6 +161,11 @@ func (m *ItemChatsChatItemRequestBuilder) PermissionGrants()(*ItemChatsItemPermi func (m *ItemChatsChatItemRequestBuilder) PinnedMessages()(*ItemChatsItemPinnedMessagesRequestBuilder) { return NewItemChatsItemPinnedMessagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// RemoveAllAccessForUser provides operations to call the removeAllAccessForUser method. +// returns a *ItemChatsItemRemoveAllAccessForUserRequestBuilder when successful +func (m *ItemChatsChatItemRequestBuilder) RemoveAllAccessForUser()(*ItemChatsItemRemoveAllAccessForUserRequestBuilder) { + return NewItemChatsItemRemoveAllAccessForUserRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // SendActivityNotification provides operations to call the sendActivityNotification method. // returns a *ItemChatsItemSendActivityNotificationRequestBuilder when successful func (m *ItemChatsChatItemRequestBuilder) SendActivityNotification()(*ItemChatsItemSendActivityNotificationRequestBuilder) { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_chats_item_remove_all_access_for_user_post_request_body.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_chats_item_remove_all_access_for_user_post_request_body.go new file mode 100644 index 0000000000..4419910ad5 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_chats_item_remove_all_access_for_user_post_request_body.go @@ -0,0 +1,117 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemChatsItemRemoveAllAccessForUserPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemChatsItemRemoveAllAccessForUserPostRequestBody instantiates a new ItemChatsItemRemoveAllAccessForUserPostRequestBody and sets the default values. +func NewItemChatsItemRemoveAllAccessForUserPostRequestBody()(*ItemChatsItemRemoveAllAccessForUserPostRequestBody) { + m := &ItemChatsItemRemoveAllAccessForUserPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemChatsItemRemoveAllAccessForUserPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemChatsItemRemoveAllAccessForUserPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemChatsItemRemoveAllAccessForUserPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemChatsItemRemoveAllAccessForUserPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemChatsItemRemoveAllAccessForUserPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemChatsItemRemoveAllAccessForUserPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["user"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateTeamworkUserIdentityFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetUser(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable)) + } + return nil + } + return res +} +// GetUser gets the user property value. The user property +// returns a TeamworkUserIdentityable when successful +func (m *ItemChatsItemRemoveAllAccessForUserPostRequestBody) GetUser()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable) { + val, err := m.GetBackingStore().Get("user") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemChatsItemRemoveAllAccessForUserPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("user", m.GetUser()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemChatsItemRemoveAllAccessForUserPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemChatsItemRemoveAllAccessForUserPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetUser sets the user property value. The user property +func (m *ItemChatsItemRemoveAllAccessForUserPostRequestBody) SetUser(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable)() { + err := m.GetBackingStore().Set("user", value) + if err != nil { + panic(err) + } +} +type ItemChatsItemRemoveAllAccessForUserPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetUser()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetUser(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_chats_item_remove_all_access_for_user_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_chats_item_remove_all_access_for_user_request_builder.go new file mode 100644 index 0000000000..da82f2a374 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_chats_item_remove_all_access_for_user_request_builder.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemChatsItemRemoveAllAccessForUserRequestBuilder provides operations to call the removeAllAccessForUser method. +type ItemChatsItemRemoveAllAccessForUserRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChatsItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemChatsItemRemoveAllAccessForUserRequestBuilderInternal instantiates a new ItemChatsItemRemoveAllAccessForUserRequestBuilder and sets the default values. +func NewItemChatsItemRemoveAllAccessForUserRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemRemoveAllAccessForUserRequestBuilder) { + m := &ItemChatsItemRemoveAllAccessForUserRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/removeAllAccessForUser", pathParameters), + } + return m +} +// NewItemChatsItemRemoveAllAccessForUserRequestBuilder instantiates a new ItemChatsItemRemoveAllAccessForUserRequestBuilder and sets the default values. +func NewItemChatsItemRemoveAllAccessForUserRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemRemoveAllAccessForUserRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChatsItemRemoveAllAccessForUserRequestBuilderInternal(urlParams, requestAdapter) +} +// Post remove access to a chat for a user. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-removeallaccessforuser?view=graph-rest-1.0 +func (m *ItemChatsItemRemoveAllAccessForUserRequestBuilder) Post(ctx context.Context, body ItemChatsItemRemoveAllAccessForUserPostRequestBodyable, requestConfiguration *ItemChatsItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation remove access to a chat for a user. +// returns a *RequestInformation when successful +func (m *ItemChatsItemRemoveAllAccessForUserRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemChatsItemRemoveAllAccessForUserPostRequestBodyable, requestConfiguration *ItemChatsItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemChatsItemRemoveAllAccessForUserRequestBuilder when successful +func (m *ItemChatsItemRemoveAllAccessForUserRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemRemoveAllAccessForUserRequestBuilder) { + return NewItemChatsItemRemoveAllAccessForUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_cloud_p_c_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_cloud_p_c_item_request_builder.go new file mode 100644 index 0000000000..7690e6a0db --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_cloud_p_c_item_request_builder.go @@ -0,0 +1,200 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemCloudPCsCloudPCItemRequestBuilder provides operations to manage the cloudPCs property of the microsoft.graph.user entity. +type ItemCloudPCsCloudPCItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemCloudPCsCloudPCItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemCloudPCsCloudPCItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemCloudPCsCloudPCItemRequestBuilderGetQueryParameters the user's Cloud PCs. Read-only. Nullable. +type ItemCloudPCsCloudPCItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemCloudPCsCloudPCItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemCloudPCsCloudPCItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemCloudPCsCloudPCItemRequestBuilderGetQueryParameters +} +// ItemCloudPCsCloudPCItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemCloudPCsCloudPCItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemCloudPCsCloudPCItemRequestBuilderInternal instantiates a new ItemCloudPCsCloudPCItemRequestBuilder and sets the default values. +func NewItemCloudPCsCloudPCItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCloudPCsCloudPCItemRequestBuilder) { + m := &ItemCloudPCsCloudPCItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemCloudPCsCloudPCItemRequestBuilder instantiates a new ItemCloudPCsCloudPCItemRequestBuilder and sets the default values. +func NewItemCloudPCsCloudPCItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCloudPCsCloudPCItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemCloudPCsCloudPCItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property cloudPCs for users +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemCloudPCsCloudPCItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCloudPCsCloudPCItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// EndGracePeriod provides operations to call the endGracePeriod method. +// returns a *ItemCloudPCsItemEndGracePeriodRequestBuilder when successful +func (m *ItemCloudPCsCloudPCItemRequestBuilder) EndGracePeriod()(*ItemCloudPCsItemEndGracePeriodRequestBuilder) { + return NewItemCloudPCsItemEndGracePeriodRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the user's Cloud PCs. Read-only. Nullable. +// returns a CloudPCable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemCloudPCsCloudPCItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCloudPCsCloudPCItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPCable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCloudPCFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPCable), nil +} +// Patch update the navigation property cloudPCs in users +// returns a CloudPCable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemCloudPCsCloudPCItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPCable, requestConfiguration *ItemCloudPCsCloudPCItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPCable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCloudPCFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPCable), nil +} +// Reboot provides operations to call the reboot method. +// returns a *ItemCloudPCsItemRebootRequestBuilder when successful +func (m *ItemCloudPCsCloudPCItemRequestBuilder) Reboot()(*ItemCloudPCsItemRebootRequestBuilder) { + return NewItemCloudPCsItemRebootRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Rename provides operations to call the rename method. +// returns a *ItemCloudPCsItemRenameRequestBuilder when successful +func (m *ItemCloudPCsCloudPCItemRequestBuilder) Rename()(*ItemCloudPCsItemRenameRequestBuilder) { + return NewItemCloudPCsItemRenameRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Reprovision provides operations to call the reprovision method. +// returns a *ItemCloudPCsItemReprovisionRequestBuilder when successful +func (m *ItemCloudPCsCloudPCItemRequestBuilder) Reprovision()(*ItemCloudPCsItemReprovisionRequestBuilder) { + return NewItemCloudPCsItemReprovisionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Resize provides operations to call the resize method. +// returns a *ItemCloudPCsItemResizeRequestBuilder when successful +func (m *ItemCloudPCsCloudPCItemRequestBuilder) Resize()(*ItemCloudPCsItemResizeRequestBuilder) { + return NewItemCloudPCsItemResizeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Restore provides operations to call the restore method. +// returns a *ItemCloudPCsItemRestoreRequestBuilder when successful +func (m *ItemCloudPCsCloudPCItemRequestBuilder) Restore()(*ItemCloudPCsItemRestoreRequestBuilder) { + return NewItemCloudPCsItemRestoreRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// RetrieveCloudPcLaunchDetail provides operations to call the retrieveCloudPcLaunchDetail method. +// returns a *ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder when successful +func (m *ItemCloudPCsCloudPCItemRequestBuilder) RetrieveCloudPcLaunchDetail()(*ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder) { + return NewItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property cloudPCs for users +// returns a *RequestInformation when successful +func (m *ItemCloudPCsCloudPCItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCloudPCsCloudPCItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the user's Cloud PCs. Read-only. Nullable. +// returns a *RequestInformation when successful +func (m *ItemCloudPCsCloudPCItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCloudPCsCloudPCItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property cloudPCs in users +// returns a *RequestInformation when successful +func (m *ItemCloudPCsCloudPCItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPCable, requestConfiguration *ItemCloudPCsCloudPCItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// Troubleshoot provides operations to call the troubleshoot method. +// returns a *ItemCloudPCsItemTroubleshootRequestBuilder when successful +func (m *ItemCloudPCsCloudPCItemRequestBuilder) Troubleshoot()(*ItemCloudPCsItemTroubleshootRequestBuilder) { + return NewItemCloudPCsItemTroubleshootRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemCloudPCsCloudPCItemRequestBuilder when successful +func (m *ItemCloudPCsCloudPCItemRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsCloudPCItemRequestBuilder) { + return NewItemCloudPCsCloudPCItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_count_request_builder.go new file mode 100644 index 0000000000..ae0e563197 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemCloudPCsCountRequestBuilder provides operations to count the resources in the collection. +type ItemCloudPCsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemCloudPCsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemCloudPCsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemCloudPCsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemCloudPCsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemCloudPCsCountRequestBuilderGetQueryParameters +} +// NewItemCloudPCsCountRequestBuilderInternal instantiates a new ItemCloudPCsCountRequestBuilder and sets the default values. +func NewItemCloudPCsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCloudPCsCountRequestBuilder) { + m := &ItemCloudPCsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemCloudPCsCountRequestBuilder instantiates a new ItemCloudPCsCountRequestBuilder and sets the default values. +func NewItemCloudPCsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCloudPCsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemCloudPCsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemCloudPCsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCloudPCsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemCloudPCsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCloudPCsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemCloudPCsCountRequestBuilder when successful +func (m *ItemCloudPCsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsCountRequestBuilder) { + return NewItemCloudPCsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_end_grace_period_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_end_grace_period_request_builder.go new file mode 100644 index 0000000000..e04758ea97 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_end_grace_period_request_builder.go @@ -0,0 +1,70 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemCloudPCsItemEndGracePeriodRequestBuilder provides operations to call the endGracePeriod method. +type ItemCloudPCsItemEndGracePeriodRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemCloudPCsItemEndGracePeriodRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemCloudPCsItemEndGracePeriodRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemCloudPCsItemEndGracePeriodRequestBuilderInternal instantiates a new ItemCloudPCsItemEndGracePeriodRequestBuilder and sets the default values. +func NewItemCloudPCsItemEndGracePeriodRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCloudPCsItemEndGracePeriodRequestBuilder) { + m := &ItemCloudPCsItemEndGracePeriodRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/endGracePeriod", pathParameters), + } + return m +} +// NewItemCloudPCsItemEndGracePeriodRequestBuilder instantiates a new ItemCloudPCsItemEndGracePeriodRequestBuilder and sets the default values. +func NewItemCloudPCsItemEndGracePeriodRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCloudPCsItemEndGracePeriodRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemCloudPCsItemEndGracePeriodRequestBuilderInternal(urlParams, requestAdapter) +} +// Post end the grace period for a specific cloudPC object. The grace period is triggered when the Cloud PC license is removed or the provisioning policy is unassigned. It allows users to access Cloud PCs for up to seven days before deprovisioning occurs. Ending the grace period immediately deprovisions the Cloud PC without waiting the seven days. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-endgraceperiod?view=graph-rest-1.0 +func (m *ItemCloudPCsItemEndGracePeriodRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCloudPCsItemEndGracePeriodRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation end the grace period for a specific cloudPC object. The grace period is triggered when the Cloud PC license is removed or the provisioning policy is unassigned. It allows users to access Cloud PCs for up to seven days before deprovisioning occurs. Ending the grace period immediately deprovisions the Cloud PC without waiting the seven days. +// returns a *RequestInformation when successful +func (m *ItemCloudPCsItemEndGracePeriodRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemCloudPCsItemEndGracePeriodRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemCloudPCsItemEndGracePeriodRequestBuilder when successful +func (m *ItemCloudPCsItemEndGracePeriodRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsItemEndGracePeriodRequestBuilder) { + return NewItemCloudPCsItemEndGracePeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_reboot_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_reboot_request_builder.go new file mode 100644 index 0000000000..3c0a896be8 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_reboot_request_builder.go @@ -0,0 +1,70 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemCloudPCsItemRebootRequestBuilder provides operations to call the reboot method. +type ItemCloudPCsItemRebootRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemCloudPCsItemRebootRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemCloudPCsItemRebootRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemCloudPCsItemRebootRequestBuilderInternal instantiates a new ItemCloudPCsItemRebootRequestBuilder and sets the default values. +func NewItemCloudPCsItemRebootRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCloudPCsItemRebootRequestBuilder) { + m := &ItemCloudPCsItemRebootRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/reboot", pathParameters), + } + return m +} +// NewItemCloudPCsItemRebootRequestBuilder instantiates a new ItemCloudPCsItemRebootRequestBuilder and sets the default values. +func NewItemCloudPCsItemRebootRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCloudPCsItemRebootRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemCloudPCsItemRebootRequestBuilderInternal(urlParams, requestAdapter) +} +// Post reboot a specific cloudPC object. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-reboot?view=graph-rest-1.0 +func (m *ItemCloudPCsItemRebootRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCloudPCsItemRebootRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation reboot a specific cloudPC object. +// returns a *RequestInformation when successful +func (m *ItemCloudPCsItemRebootRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemCloudPCsItemRebootRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemCloudPCsItemRebootRequestBuilder when successful +func (m *ItemCloudPCsItemRebootRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsItemRebootRequestBuilder) { + return NewItemCloudPCsItemRebootRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_rename_post_request_body.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_rename_post_request_body.go new file mode 100644 index 0000000000..9c032d1c8d --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_rename_post_request_body.go @@ -0,0 +1,116 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemCloudPCsItemRenamePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemCloudPCsItemRenamePostRequestBody instantiates a new ItemCloudPCsItemRenamePostRequestBody and sets the default values. +func NewItemCloudPCsItemRenamePostRequestBody()(*ItemCloudPCsItemRenamePostRequestBody) { + m := &ItemCloudPCsItemRenamePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemCloudPCsItemRenamePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemCloudPCsItemRenamePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemCloudPCsItemRenamePostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemCloudPCsItemRenamePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemCloudPCsItemRenamePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetDisplayName gets the displayName property value. The displayName property +// returns a *string when successful +func (m *ItemCloudPCsItemRenamePostRequestBody) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemCloudPCsItemRenamePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *ItemCloudPCsItemRenamePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemCloudPCsItemRenamePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemCloudPCsItemRenamePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetDisplayName sets the displayName property value. The displayName property +func (m *ItemCloudPCsItemRenamePostRequestBody) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +type ItemCloudPCsItemRenamePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDisplayName()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDisplayName(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_rename_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_rename_request_builder.go new file mode 100644 index 0000000000..694b8db4bc --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_rename_request_builder.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemCloudPCsItemRenameRequestBuilder provides operations to call the rename method. +type ItemCloudPCsItemRenameRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemCloudPCsItemRenameRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemCloudPCsItemRenameRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemCloudPCsItemRenameRequestBuilderInternal instantiates a new ItemCloudPCsItemRenameRequestBuilder and sets the default values. +func NewItemCloudPCsItemRenameRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCloudPCsItemRenameRequestBuilder) { + m := &ItemCloudPCsItemRenameRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/rename", pathParameters), + } + return m +} +// NewItemCloudPCsItemRenameRequestBuilder instantiates a new ItemCloudPCsItemRenameRequestBuilder and sets the default values. +func NewItemCloudPCsItemRenameRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCloudPCsItemRenameRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemCloudPCsItemRenameRequestBuilderInternal(urlParams, requestAdapter) +} +// Post rename a specific cloudPC object. Use this API to update the displayName of a Cloud PC entity. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-rename?view=graph-rest-1.0 +func (m *ItemCloudPCsItemRenameRequestBuilder) Post(ctx context.Context, body ItemCloudPCsItemRenamePostRequestBodyable, requestConfiguration *ItemCloudPCsItemRenameRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation rename a specific cloudPC object. Use this API to update the displayName of a Cloud PC entity. +// returns a *RequestInformation when successful +func (m *ItemCloudPCsItemRenameRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCloudPCsItemRenamePostRequestBodyable, requestConfiguration *ItemCloudPCsItemRenameRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemCloudPCsItemRenameRequestBuilder when successful +func (m *ItemCloudPCsItemRenameRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsItemRenameRequestBuilder) { + return NewItemCloudPCsItemRenameRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_reprovision_post_request_body.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_reprovision_post_request_body.go new file mode 100644 index 0000000000..f2b7c15085 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_reprovision_post_request_body.go @@ -0,0 +1,156 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemCloudPCsItemReprovisionPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemCloudPCsItemReprovisionPostRequestBody instantiates a new ItemCloudPCsItemReprovisionPostRequestBody and sets the default values. +func NewItemCloudPCsItemReprovisionPostRequestBody()(*ItemCloudPCsItemReprovisionPostRequestBody) { + m := &ItemCloudPCsItemReprovisionPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemCloudPCsItemReprovisionPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemCloudPCsItemReprovisionPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemCloudPCsItemReprovisionPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemCloudPCsItemReprovisionPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemCloudPCsItemReprovisionPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemCloudPCsItemReprovisionPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["osVersion"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ParseCloudPcOperatingSystem) + if err != nil { + return err + } + if val != nil { + m.SetOsVersion(val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcOperatingSystem)) + } + return nil + } + res["userAccountType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ParseCloudPcUserAccountType) + if err != nil { + return err + } + if val != nil { + m.SetUserAccountType(val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcUserAccountType)) + } + return nil + } + return res +} +// GetOsVersion gets the osVersion property value. The osVersion property +// returns a *CloudPcOperatingSystem when successful +func (m *ItemCloudPCsItemReprovisionPostRequestBody) GetOsVersion()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcOperatingSystem) { + val, err := m.GetBackingStore().Get("osVersion") + if err != nil { + panic(err) + } + if val != nil { + return val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcOperatingSystem) + } + return nil +} +// GetUserAccountType gets the userAccountType property value. The userAccountType property +// returns a *CloudPcUserAccountType when successful +func (m *ItemCloudPCsItemReprovisionPostRequestBody) GetUserAccountType()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcUserAccountType) { + val, err := m.GetBackingStore().Get("userAccountType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcUserAccountType) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemCloudPCsItemReprovisionPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetOsVersion() != nil { + cast := (*m.GetOsVersion()).String() + err := writer.WriteStringValue("osVersion", &cast) + if err != nil { + return err + } + } + if m.GetUserAccountType() != nil { + cast := (*m.GetUserAccountType()).String() + err := writer.WriteStringValue("userAccountType", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemCloudPCsItemReprovisionPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemCloudPCsItemReprovisionPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOsVersion sets the osVersion property value. The osVersion property +func (m *ItemCloudPCsItemReprovisionPostRequestBody) SetOsVersion(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcOperatingSystem)() { + err := m.GetBackingStore().Set("osVersion", value) + if err != nil { + panic(err) + } +} +// SetUserAccountType sets the userAccountType property value. The userAccountType property +func (m *ItemCloudPCsItemReprovisionPostRequestBody) SetUserAccountType(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcUserAccountType)() { + err := m.GetBackingStore().Set("userAccountType", value) + if err != nil { + panic(err) + } +} +type ItemCloudPCsItemReprovisionPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOsVersion()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcOperatingSystem) + GetUserAccountType()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcUserAccountType) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOsVersion(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcOperatingSystem)() + SetUserAccountType(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcUserAccountType)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_reprovision_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_reprovision_request_builder.go new file mode 100644 index 0000000000..28d3db38e3 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_reprovision_request_builder.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemCloudPCsItemReprovisionRequestBuilder provides operations to call the reprovision method. +type ItemCloudPCsItemReprovisionRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemCloudPCsItemReprovisionRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemCloudPCsItemReprovisionRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemCloudPCsItemReprovisionRequestBuilderInternal instantiates a new ItemCloudPCsItemReprovisionRequestBuilder and sets the default values. +func NewItemCloudPCsItemReprovisionRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCloudPCsItemReprovisionRequestBuilder) { + m := &ItemCloudPCsItemReprovisionRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/reprovision", pathParameters), + } + return m +} +// NewItemCloudPCsItemReprovisionRequestBuilder instantiates a new ItemCloudPCsItemReprovisionRequestBuilder and sets the default values. +func NewItemCloudPCsItemReprovisionRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCloudPCsItemReprovisionRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemCloudPCsItemReprovisionRequestBuilderInternal(urlParams, requestAdapter) +} +// Post reprovision a specific Cloud PC. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-reprovision?view=graph-rest-1.0 +func (m *ItemCloudPCsItemReprovisionRequestBuilder) Post(ctx context.Context, body ItemCloudPCsItemReprovisionPostRequestBodyable, requestConfiguration *ItemCloudPCsItemReprovisionRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation reprovision a specific Cloud PC. +// returns a *RequestInformation when successful +func (m *ItemCloudPCsItemReprovisionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCloudPCsItemReprovisionPostRequestBodyable, requestConfiguration *ItemCloudPCsItemReprovisionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemCloudPCsItemReprovisionRequestBuilder when successful +func (m *ItemCloudPCsItemReprovisionRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsItemReprovisionRequestBuilder) { + return NewItemCloudPCsItemReprovisionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_resize_post_request_body.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_resize_post_request_body.go new file mode 100644 index 0000000000..a76484c91f --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_resize_post_request_body.go @@ -0,0 +1,116 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemCloudPCsItemResizePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemCloudPCsItemResizePostRequestBody instantiates a new ItemCloudPCsItemResizePostRequestBody and sets the default values. +func NewItemCloudPCsItemResizePostRequestBody()(*ItemCloudPCsItemResizePostRequestBody) { + m := &ItemCloudPCsItemResizePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemCloudPCsItemResizePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemCloudPCsItemResizePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemCloudPCsItemResizePostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemCloudPCsItemResizePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemCloudPCsItemResizePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemCloudPCsItemResizePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["targetServicePlanId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetTargetServicePlanId(val) + } + return nil + } + return res +} +// GetTargetServicePlanId gets the targetServicePlanId property value. The targetServicePlanId property +// returns a *string when successful +func (m *ItemCloudPCsItemResizePostRequestBody) GetTargetServicePlanId()(*string) { + val, err := m.GetBackingStore().Get("targetServicePlanId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemCloudPCsItemResizePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("targetServicePlanId", m.GetTargetServicePlanId()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemCloudPCsItemResizePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemCloudPCsItemResizePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetTargetServicePlanId sets the targetServicePlanId property value. The targetServicePlanId property +func (m *ItemCloudPCsItemResizePostRequestBody) SetTargetServicePlanId(value *string)() { + err := m.GetBackingStore().Set("targetServicePlanId", value) + if err != nil { + panic(err) + } +} +type ItemCloudPCsItemResizePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetTargetServicePlanId()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetTargetServicePlanId(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_resize_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_resize_request_builder.go new file mode 100644 index 0000000000..b77a9b3067 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_resize_request_builder.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemCloudPCsItemResizeRequestBuilder provides operations to call the resize method. +type ItemCloudPCsItemResizeRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemCloudPCsItemResizeRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemCloudPCsItemResizeRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemCloudPCsItemResizeRequestBuilderInternal instantiates a new ItemCloudPCsItemResizeRequestBuilder and sets the default values. +func NewItemCloudPCsItemResizeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCloudPCsItemResizeRequestBuilder) { + m := &ItemCloudPCsItemResizeRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/resize", pathParameters), + } + return m +} +// NewItemCloudPCsItemResizeRequestBuilder instantiates a new ItemCloudPCsItemResizeRequestBuilder and sets the default values. +func NewItemCloudPCsItemResizeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCloudPCsItemResizeRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemCloudPCsItemResizeRequestBuilderInternal(urlParams, requestAdapter) +} +// Post upgrade or downgrade an existing Cloud PC to a configuration with a new virtual CPU (vCPU) and storage size. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-resize?view=graph-rest-1.0 +func (m *ItemCloudPCsItemResizeRequestBuilder) Post(ctx context.Context, body ItemCloudPCsItemResizePostRequestBodyable, requestConfiguration *ItemCloudPCsItemResizeRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation upgrade or downgrade an existing Cloud PC to a configuration with a new virtual CPU (vCPU) and storage size. +// returns a *RequestInformation when successful +func (m *ItemCloudPCsItemResizeRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCloudPCsItemResizePostRequestBodyable, requestConfiguration *ItemCloudPCsItemResizeRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemCloudPCsItemResizeRequestBuilder when successful +func (m *ItemCloudPCsItemResizeRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsItemResizeRequestBuilder) { + return NewItemCloudPCsItemResizeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_restore_post_request_body.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_restore_post_request_body.go new file mode 100644 index 0000000000..ee96b1685f --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_restore_post_request_body.go @@ -0,0 +1,116 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemCloudPCsItemRestorePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemCloudPCsItemRestorePostRequestBody instantiates a new ItemCloudPCsItemRestorePostRequestBody and sets the default values. +func NewItemCloudPCsItemRestorePostRequestBody()(*ItemCloudPCsItemRestorePostRequestBody) { + m := &ItemCloudPCsItemRestorePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemCloudPCsItemRestorePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemCloudPCsItemRestorePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemCloudPCsItemRestorePostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemCloudPCsItemRestorePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemCloudPCsItemRestorePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetCloudPcSnapshotId gets the cloudPcSnapshotId property value. The cloudPcSnapshotId property +// returns a *string when successful +func (m *ItemCloudPCsItemRestorePostRequestBody) GetCloudPcSnapshotId()(*string) { + val, err := m.GetBackingStore().Get("cloudPcSnapshotId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemCloudPCsItemRestorePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["cloudPcSnapshotId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCloudPcSnapshotId(val) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *ItemCloudPCsItemRestorePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("cloudPcSnapshotId", m.GetCloudPcSnapshotId()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemCloudPCsItemRestorePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemCloudPCsItemRestorePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetCloudPcSnapshotId sets the cloudPcSnapshotId property value. The cloudPcSnapshotId property +func (m *ItemCloudPCsItemRestorePostRequestBody) SetCloudPcSnapshotId(value *string)() { + err := m.GetBackingStore().Set("cloudPcSnapshotId", value) + if err != nil { + panic(err) + } +} +type ItemCloudPCsItemRestorePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetCloudPcSnapshotId()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetCloudPcSnapshotId(value *string)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_restore_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_restore_request_builder.go new file mode 100644 index 0000000000..f6960b6436 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_restore_request_builder.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemCloudPCsItemRestoreRequestBuilder provides operations to call the restore method. +type ItemCloudPCsItemRestoreRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemCloudPCsItemRestoreRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemCloudPCsItemRestoreRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemCloudPCsItemRestoreRequestBuilderInternal instantiates a new ItemCloudPCsItemRestoreRequestBuilder and sets the default values. +func NewItemCloudPCsItemRestoreRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCloudPCsItemRestoreRequestBuilder) { + m := &ItemCloudPCsItemRestoreRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/restore", pathParameters), + } + return m +} +// NewItemCloudPCsItemRestoreRequestBuilder instantiates a new ItemCloudPCsItemRestoreRequestBuilder and sets the default values. +func NewItemCloudPCsItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCloudPCsItemRestoreRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemCloudPCsItemRestoreRequestBuilderInternal(urlParams, requestAdapter) +} +// Post restore a specific cloudPC object to a previous state from a snapshot. Use this API to trigger a remote action that restores a Cloud PC device to a previous state. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-restore?view=graph-rest-1.0 +func (m *ItemCloudPCsItemRestoreRequestBuilder) Post(ctx context.Context, body ItemCloudPCsItemRestorePostRequestBodyable, requestConfiguration *ItemCloudPCsItemRestoreRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation restore a specific cloudPC object to a previous state from a snapshot. Use this API to trigger a remote action that restores a Cloud PC device to a previous state. +// returns a *RequestInformation when successful +func (m *ItemCloudPCsItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCloudPCsItemRestorePostRequestBodyable, requestConfiguration *ItemCloudPCsItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemCloudPCsItemRestoreRequestBuilder when successful +func (m *ItemCloudPCsItemRestoreRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsItemRestoreRequestBuilder) { + return NewItemCloudPCsItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_retrieve_cloud_pc_launch_detail_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_retrieve_cloud_pc_launch_detail_request_builder.go new file mode 100644 index 0000000000..9cf3348816 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_retrieve_cloud_pc_launch_detail_request_builder.go @@ -0,0 +1,75 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder provides operations to call the retrieveCloudPcLaunchDetail method. +type ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilderInternal instantiates a new ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder and sets the default values. +func NewItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder) { + m := &ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/retrieveCloudPcLaunchDetail()", pathParameters), + } + return m +} +// NewItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder instantiates a new ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder and sets the default values. +func NewItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the cloudPcLaunchDetail for a specific cloudPC that belongs to the current signed-in user. +// returns a CloudPcLaunchDetailable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-retrievecloudpclaunchdetail?view=graph-rest-1.0 +func (m *ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcLaunchDetailable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCloudPcLaunchDetailFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPcLaunchDetailable), nil +} +// ToGetRequestInformation get the cloudPcLaunchDetail for a specific cloudPC that belongs to the current signed-in user. +// returns a *RequestInformation when successful +func (m *ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder when successful +func (m *ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder) { + return NewItemCloudPCsItemRetrieveCloudPcLaunchDetailRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_troubleshoot_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_troubleshoot_request_builder.go new file mode 100644 index 0000000000..ce4dc0098f --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_item_troubleshoot_request_builder.go @@ -0,0 +1,70 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemCloudPCsItemTroubleshootRequestBuilder provides operations to call the troubleshoot method. +type ItemCloudPCsItemTroubleshootRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemCloudPCsItemTroubleshootRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemCloudPCsItemTroubleshootRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemCloudPCsItemTroubleshootRequestBuilderInternal instantiates a new ItemCloudPCsItemTroubleshootRequestBuilder and sets the default values. +func NewItemCloudPCsItemTroubleshootRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCloudPCsItemTroubleshootRequestBuilder) { + m := &ItemCloudPCsItemTroubleshootRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/troubleshoot", pathParameters), + } + return m +} +// NewItemCloudPCsItemTroubleshootRequestBuilder instantiates a new ItemCloudPCsItemTroubleshootRequestBuilder and sets the default values. +func NewItemCloudPCsItemTroubleshootRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCloudPCsItemTroubleshootRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemCloudPCsItemTroubleshootRequestBuilderInternal(urlParams, requestAdapter) +} +// Post troubleshoot a specific cloudPC object. Use this API to check the health status of the Cloud PC and the session host. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-troubleshoot?view=graph-rest-1.0 +func (m *ItemCloudPCsItemTroubleshootRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCloudPCsItemTroubleshootRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation troubleshoot a specific cloudPC object. Use this API to check the health status of the Cloud PC and the session host. +// returns a *RequestInformation when successful +func (m *ItemCloudPCsItemTroubleshootRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemCloudPCsItemTroubleshootRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemCloudPCsItemTroubleshootRequestBuilder when successful +func (m *ItemCloudPCsItemTroubleshootRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsItemTroubleshootRequestBuilder) { + return NewItemCloudPCsItemTroubleshootRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_request_builder.go new file mode 100644 index 0000000000..2596cb2db3 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_cloud_p_cs_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemCloudPCsRequestBuilder provides operations to manage the cloudPCs property of the microsoft.graph.user entity. +type ItemCloudPCsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemCloudPCsRequestBuilderGetQueryParameters the user's Cloud PCs. Read-only. Nullable. +type ItemCloudPCsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemCloudPCsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemCloudPCsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemCloudPCsRequestBuilderGetQueryParameters +} +// ItemCloudPCsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemCloudPCsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByCloudPCId provides operations to manage the cloudPCs property of the microsoft.graph.user entity. +// returns a *ItemCloudPCsCloudPCItemRequestBuilder when successful +func (m *ItemCloudPCsRequestBuilder) ByCloudPCId(cloudPCId string)(*ItemCloudPCsCloudPCItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if cloudPCId != "" { + urlTplParams["cloudPC%2Did"] = cloudPCId + } + return NewItemCloudPCsCloudPCItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemCloudPCsRequestBuilderInternal instantiates a new ItemCloudPCsRequestBuilder and sets the default values. +func NewItemCloudPCsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCloudPCsRequestBuilder) { + m := &ItemCloudPCsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemCloudPCsRequestBuilder instantiates a new ItemCloudPCsRequestBuilder and sets the default values. +func NewItemCloudPCsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCloudPCsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemCloudPCsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemCloudPCsCountRequestBuilder when successful +func (m *ItemCloudPCsRequestBuilder) Count()(*ItemCloudPCsCountRequestBuilder) { + return NewItemCloudPCsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the user's Cloud PCs. Read-only. Nullable. +// returns a CloudPCCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemCloudPCsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCloudPCsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPCCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCloudPCCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPCCollectionResponseable), nil +} +// Post create new navigation property to cloudPCs for users +// returns a CloudPCable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemCloudPCsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPCable, requestConfiguration *ItemCloudPCsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPCable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCloudPCFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPCable), nil +} +// ToGetRequestInformation the user's Cloud PCs. Read-only. Nullable. +// returns a *RequestInformation when successful +func (m *ItemCloudPCsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCloudPCsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to cloudPCs for users +// returns a *RequestInformation when successful +func (m *ItemCloudPCsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CloudPCable, requestConfiguration *ItemCloudPCsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemCloudPCsRequestBuilder when successful +func (m *ItemCloudPCsRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsRequestBuilder) { + return NewItemCloudPCsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_count_request_builder.go new file mode 100644 index 0000000000..1926e7bd9f --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemEmployeeExperienceAssignedRolesCountRequestBuilder provides operations to count the resources in the collection. +type ItemEmployeeExperienceAssignedRolesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemEmployeeExperienceAssignedRolesCountRequestBuilderGetQueryParameters get the number of the resource +type ItemEmployeeExperienceAssignedRolesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemEmployeeExperienceAssignedRolesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemEmployeeExperienceAssignedRolesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemEmployeeExperienceAssignedRolesCountRequestBuilderGetQueryParameters +} +// NewItemEmployeeExperienceAssignedRolesCountRequestBuilderInternal instantiates a new ItemEmployeeExperienceAssignedRolesCountRequestBuilder and sets the default values. +func NewItemEmployeeExperienceAssignedRolesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEmployeeExperienceAssignedRolesCountRequestBuilder) { + m := &ItemEmployeeExperienceAssignedRolesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemEmployeeExperienceAssignedRolesCountRequestBuilder instantiates a new ItemEmployeeExperienceAssignedRolesCountRequestBuilder and sets the default values. +func NewItemEmployeeExperienceAssignedRolesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEmployeeExperienceAssignedRolesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemEmployeeExperienceAssignedRolesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemEmployeeExperienceAssignedRolesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEmployeeExperienceAssignedRolesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemEmployeeExperienceAssignedRolesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEmployeeExperienceAssignedRolesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemEmployeeExperienceAssignedRolesCountRequestBuilder when successful +func (m *ItemEmployeeExperienceAssignedRolesCountRequestBuilder) WithUrl(rawUrl string)(*ItemEmployeeExperienceAssignedRolesCountRequestBuilder) { + return NewItemEmployeeExperienceAssignedRolesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_engagement_role_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_engagement_role_item_request_builder.go new file mode 100644 index 0000000000..cbc9c4d108 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_engagement_role_item_request_builder.go @@ -0,0 +1,165 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder provides operations to manage the assignedRoles property of the microsoft.graph.employeeExperienceUser entity. +type ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderGetQueryParameters represents the collection of Viva Engage roles assigned to a user. +type ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderGetQueryParameters +} +// ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderInternal instantiates a new ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder and sets the default values. +func NewItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder) { + m := &ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder instantiates a new ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder and sets the default values. +func NewItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property assignedRoles for users +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get represents the collection of Viva Engage roles assigned to a user. +// returns a EngagementRoleable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementRoleFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable), nil +} +// Members provides operations to manage the members property of the microsoft.graph.engagementRole entity. +// returns a *ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder when successful +func (m *ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder) Members()(*ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder) { + return NewItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property assignedRoles in users +// returns a EngagementRoleable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable, requestConfiguration *ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementRoleFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable), nil +} +// ToDeleteRequestInformation delete navigation property assignedRoles for users +// returns a *RequestInformation when successful +func (m *ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation represents the collection of Viva Engage roles assigned to a user. +// returns a *RequestInformation when successful +func (m *ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property assignedRoles in users +// returns a *RequestInformation when successful +func (m *ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable, requestConfiguration *ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder when successful +func (m *ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder) WithUrl(rawUrl string)(*ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder) { + return NewItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_item_members_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_item_members_count_request_builder.go new file mode 100644 index 0000000000..3c18182c43 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_item_members_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder provides operations to count the resources in the collection. +type ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilderGetQueryParameters get the number of the resource +type ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilderGetQueryParameters +} +// NewItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilderInternal instantiates a new ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder and sets the default values. +func NewItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder) { + m := &ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder instantiates a new ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder and sets the default values. +func NewItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder when successful +func (m *ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder) { + return NewItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_item_members_engagement_role_member_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_item_members_engagement_role_member_item_request_builder.go new file mode 100644 index 0000000000..b0296f0fea --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_item_members_engagement_role_member_item_request_builder.go @@ -0,0 +1,165 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder provides operations to manage the members property of the microsoft.graph.engagementRole entity. +type ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderGetQueryParameters users that have this role assigned. +type ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderGetQueryParameters +} +// ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderInternal instantiates a new ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder and sets the default values. +func NewItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder) { + m := &ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder instantiates a new ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder and sets the default values. +func NewItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property members for users +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get users that have this role assigned. +// returns a EngagementRoleMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementRoleMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable), nil +} +// Patch update the navigation property members in users +// returns a EngagementRoleMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable, requestConfiguration *ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementRoleMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable), nil +} +// ToDeleteRequestInformation delete navigation property members for users +// returns a *RequestInformation when successful +func (m *ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation users that have this role assigned. +// returns a *RequestInformation when successful +func (m *ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property members in users +// returns a *RequestInformation when successful +func (m *ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable, requestConfiguration *ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// User provides operations to manage the user property of the microsoft.graph.engagementRoleMember entity. +// returns a *ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder when successful +func (m *ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder) User()(*ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder) { + return NewItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder when successful +func (m *ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder) WithUrl(rawUrl string)(*ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder) { + return NewItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_item_members_item_user_mailbox_settings_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_item_members_item_user_mailbox_settings_request_builder.go new file mode 100644 index 0000000000..ff3c2fbfa8 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_item_members_item_user_mailbox_settings_request_builder.go @@ -0,0 +1,126 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder builds and executes requests for operations under \users\{user-id}\employeeExperience\assignedRoles\{engagementRole-id}\members\{engagementRoleMember-id}\user\mailboxSettings +type ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilderGetQueryParameters settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +type ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilderGetQueryParameters +} +// ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilderInternal instantiates a new ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder and sets the default values. +func NewItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder) { + m := &ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/mailboxSettings{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder instantiates a new ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder and sets the default values. +func NewItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilderInternal(urlParams, requestAdapter) +} +// Get settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +// returns a MailboxSettingsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateMailboxSettingsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable), nil +} +// Patch update property mailboxSettings value. +// returns a MailboxSettingsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, requestConfiguration *ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateMailboxSettingsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable), nil +} +// ToGetRequestInformation settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. +// returns a *RequestInformation when successful +func (m *ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update property mailboxSettings value. +// returns a *RequestInformation when successful +func (m *ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MailboxSettingsable, requestConfiguration *ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder when successful +func (m *ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder) { + return NewItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_item_members_item_user_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_item_members_item_user_request_builder.go new file mode 100644 index 0000000000..9850429ae8 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_item_members_item_user_request_builder.go @@ -0,0 +1,94 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder provides operations to manage the user property of the microsoft.graph.engagementRoleMember entity. +type ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilderGetQueryParameters the user who has this role assigned. +type ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilderGetQueryParameters +} +// NewItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilderInternal instantiates a new ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder and sets the default values. +func NewItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder) { + m := &ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder instantiates a new ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder and sets the default values. +func NewItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the user who has this role assigned. +// returns a Userable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateUserFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable), nil +} +// MailboxSettings the mailboxSettings property +// returns a *ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder when successful +func (m *ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder) MailboxSettings()(*ItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilder) { + return NewItemEmployeeExperienceAssignedRolesItemMembersItemUserMailboxSettingsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ServiceProvisioningErrors the serviceProvisioningErrors property +// returns a *ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder when successful +func (m *ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder) ServiceProvisioningErrors()(*ItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilder) { + return NewItemEmployeeExperienceAssignedRolesItemMembersItemUserServiceProvisioningErrorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation the user who has this role assigned. +// returns a *RequestInformation when successful +func (m *ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder when successful +func (m *ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder) WithUrl(rawUrl string)(*ItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder) { + return NewItemEmployeeExperienceAssignedRolesItemMembersItemUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_item_members_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_item_members_request_builder.go new file mode 100644 index 0000000000..a9ac593568 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_item_members_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder provides operations to manage the members property of the microsoft.graph.engagementRole entity. +type ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderGetQueryParameters users that have this role assigned. +type ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderGetQueryParameters +} +// ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEngagementRoleMemberId provides operations to manage the members property of the microsoft.graph.engagementRole entity. +// returns a *ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder when successful +func (m *ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder) ByEngagementRoleMemberId(engagementRoleMemberId string)(*ItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if engagementRoleMemberId != "" { + urlTplParams["engagementRoleMember%2Did"] = engagementRoleMemberId + } + return NewItemEmployeeExperienceAssignedRolesItemMembersEngagementRoleMemberItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderInternal instantiates a new ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder and sets the default values. +func NewItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder) { + m := &ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder instantiates a new ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder and sets the default values. +func NewItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder when successful +func (m *ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder) Count()(*ItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilder) { + return NewItemEmployeeExperienceAssignedRolesItemMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get users that have this role assigned. +// returns a EngagementRoleMemberCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementRoleMemberCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberCollectionResponseable), nil +} +// Post create new navigation property to members for users +// returns a EngagementRoleMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable, requestConfiguration *ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementRoleMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable), nil +} +// ToGetRequestInformation users that have this role assigned. +// returns a *RequestInformation when successful +func (m *ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to members for users +// returns a *RequestInformation when successful +func (m *ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleMemberable, requestConfiguration *ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder when successful +func (m *ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder) WithUrl(rawUrl string)(*ItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder) { + return NewItemEmployeeExperienceAssignedRolesItemMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_request_builder.go new file mode 100644 index 0000000000..fe54082e85 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_assigned_roles_request_builder.go @@ -0,0 +1,158 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemEmployeeExperienceAssignedRolesRequestBuilder provides operations to manage the assignedRoles property of the microsoft.graph.employeeExperienceUser entity. +type ItemEmployeeExperienceAssignedRolesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemEmployeeExperienceAssignedRolesRequestBuilderGetQueryParameters get a list of all the roles assigned to a user in Viva Engage. +type ItemEmployeeExperienceAssignedRolesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemEmployeeExperienceAssignedRolesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemEmployeeExperienceAssignedRolesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemEmployeeExperienceAssignedRolesRequestBuilderGetQueryParameters +} +// ItemEmployeeExperienceAssignedRolesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemEmployeeExperienceAssignedRolesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEngagementRoleId provides operations to manage the assignedRoles property of the microsoft.graph.employeeExperienceUser entity. +// returns a *ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder when successful +func (m *ItemEmployeeExperienceAssignedRolesRequestBuilder) ByEngagementRoleId(engagementRoleId string)(*ItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if engagementRoleId != "" { + urlTplParams["engagementRole%2Did"] = engagementRoleId + } + return NewItemEmployeeExperienceAssignedRolesEngagementRoleItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemEmployeeExperienceAssignedRolesRequestBuilderInternal instantiates a new ItemEmployeeExperienceAssignedRolesRequestBuilder and sets the default values. +func NewItemEmployeeExperienceAssignedRolesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEmployeeExperienceAssignedRolesRequestBuilder) { + m := &ItemEmployeeExperienceAssignedRolesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemEmployeeExperienceAssignedRolesRequestBuilder instantiates a new ItemEmployeeExperienceAssignedRolesRequestBuilder and sets the default values. +func NewItemEmployeeExperienceAssignedRolesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEmployeeExperienceAssignedRolesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemEmployeeExperienceAssignedRolesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemEmployeeExperienceAssignedRolesCountRequestBuilder when successful +func (m *ItemEmployeeExperienceAssignedRolesRequestBuilder) Count()(*ItemEmployeeExperienceAssignedRolesCountRequestBuilder) { + return NewItemEmployeeExperienceAssignedRolesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of all the roles assigned to a user in Viva Engage. +// returns a EngagementRoleCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/employeeexperienceuser-list-assignedroles?view=graph-rest-1.0 +func (m *ItemEmployeeExperienceAssignedRolesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEmployeeExperienceAssignedRolesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementRoleCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleCollectionResponseable), nil +} +// Post create new navigation property to assignedRoles for users +// returns a EngagementRoleable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemEmployeeExperienceAssignedRolesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable, requestConfiguration *ItemEmployeeExperienceAssignedRolesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateEngagementRoleFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable), nil +} +// ToGetRequestInformation get a list of all the roles assigned to a user in Viva Engage. +// returns a *RequestInformation when successful +func (m *ItemEmployeeExperienceAssignedRolesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEmployeeExperienceAssignedRolesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to assignedRoles for users +// returns a *RequestInformation when successful +func (m *ItemEmployeeExperienceAssignedRolesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EngagementRoleable, requestConfiguration *ItemEmployeeExperienceAssignedRolesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemEmployeeExperienceAssignedRolesRequestBuilder when successful +func (m *ItemEmployeeExperienceAssignedRolesRequestBuilder) WithUrl(rawUrl string)(*ItemEmployeeExperienceAssignedRolesRequestBuilder) { + return NewItemEmployeeExperienceAssignedRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_request_builder.go index 51ede84388..b9a110e5bb 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_employee_experience_request_builder.go @@ -44,6 +44,11 @@ type ItemEmployeeExperienceRequestBuilderPatchRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } +// AssignedRoles provides operations to manage the assignedRoles property of the microsoft.graph.employeeExperienceUser entity. +// returns a *ItemEmployeeExperienceAssignedRolesRequestBuilder when successful +func (m *ItemEmployeeExperienceRequestBuilder) AssignedRoles()(*ItemEmployeeExperienceAssignedRolesRequestBuilder) { + return NewItemEmployeeExperienceAssignedRolesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // NewItemEmployeeExperienceRequestBuilderInternal instantiates a new ItemEmployeeExperienceRequestBuilder and sets the default values. func NewItemEmployeeExperienceRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemEmployeeExperienceRequestBuilder) { m := &ItemEmployeeExperienceRequestBuilder{ diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_get_managed_app_diagnostic_statuses_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_get_managed_app_diagnostic_statuses_request_builder.go index 96821758e6..ac03579824 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_get_managed_app_diagnostic_statuses_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_get_managed_app_diagnostic_statuses_request_builder.go @@ -52,9 +52,6 @@ func NewItemGetManagedAppDiagnosticStatusesRequestBuilder(rawUrl string, request // Deprecated: This method is obsolete. Use GetAsGetManagedAppDiagnosticStatusesGetResponse instead. // returns a ItemGetManagedAppDiagnosticStatusesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-user-getmanagedappdiagnosticstatuses?view=graph-rest-1.0 func (m *ItemGetManagedAppDiagnosticStatusesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGetManagedAppDiagnosticStatusesRequestBuilderGetRequestConfiguration)(ItemGetManagedAppDiagnosticStatusesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +72,6 @@ func (m *ItemGetManagedAppDiagnosticStatusesRequestBuilder) Get(ctx context.Cont // GetAsGetManagedAppDiagnosticStatusesGetResponse gets diagnostics validation status for a given user. // returns a ItemGetManagedAppDiagnosticStatusesGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-user-getmanagedappdiagnosticstatuses?view=graph-rest-1.0 func (m *ItemGetManagedAppDiagnosticStatusesRequestBuilder) GetAsGetManagedAppDiagnosticStatusesGetResponse(ctx context.Context, requestConfiguration *ItemGetManagedAppDiagnosticStatusesRequestBuilderGetRequestConfiguration)(ItemGetManagedAppDiagnosticStatusesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_get_managed_app_policies_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_get_managed_app_policies_request_builder.go index b18330c4db..562293ed0c 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_get_managed_app_policies_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_get_managed_app_policies_request_builder.go @@ -58,9 +58,6 @@ func NewItemGetManagedAppPoliciesRequestBuilder(rawUrl string, requestAdapter i2 // Deprecated: This method is obsolete. Use GetAsGetManagedAppPoliciesGetResponse instead. // returns a ItemGetManagedAppPoliciesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-user-getmanagedapppolicies?view=graph-rest-1.0 func (m *ItemGetManagedAppPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGetManagedAppPoliciesRequestBuilderGetRequestConfiguration)(ItemGetManagedAppPoliciesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -81,9 +78,6 @@ func (m *ItemGetManagedAppPoliciesRequestBuilder) Get(ctx context.Context, reque // GetAsGetManagedAppPoliciesGetResponse gets app restrictions for a given user. // returns a ItemGetManagedAppPoliciesGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-user-getmanagedapppolicies?view=graph-rest-1.0 func (m *ItemGetManagedAppPoliciesRequestBuilder) GetAsGetManagedAppPoliciesGetResponse(ctx context.Context, requestConfiguration *ItemGetManagedAppPoliciesRequestBuilderGetRequestConfiguration)(ItemGetManagedAppPoliciesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_get_managed_devices_with_app_failures_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_get_managed_devices_with_app_failures_request_builder.go index fed990eaca..dca3296b58 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_get_managed_devices_with_app_failures_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_get_managed_devices_with_app_failures_request_builder.go @@ -52,9 +52,6 @@ func NewItemGetManagedDevicesWithAppFailuresRequestBuilder(rawUrl string, reques // Deprecated: This method is obsolete. Use GetAsGetManagedDevicesWithAppFailuresGetResponse instead. // returns a ItemGetManagedDevicesWithAppFailuresResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-troubleshooting-user-getmanageddeviceswithappfailures?view=graph-rest-1.0 func (m *ItemGetManagedDevicesWithAppFailuresRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGetManagedDevicesWithAppFailuresRequestBuilderGetRequestConfiguration)(ItemGetManagedDevicesWithAppFailuresResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +72,6 @@ func (m *ItemGetManagedDevicesWithAppFailuresRequestBuilder) Get(ctx context.Con // GetAsGetManagedDevicesWithAppFailuresGetResponse retrieves the list of devices with failed apps // returns a ItemGetManagedDevicesWithAppFailuresGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-troubleshooting-user-getmanageddeviceswithappfailures?view=graph-rest-1.0 func (m *ItemGetManagedDevicesWithAppFailuresRequestBuilder) GetAsGetManagedDevicesWithAppFailuresGetResponse(ctx context.Context, requestConfiguration *ItemGetManagedDevicesWithAppFailuresRequestBuilderGetRequestConfiguration)(ItemGetManagedDevicesWithAppFailuresGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_mail_folders_item_child_folders_item_messages_delta_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_mail_folders_item_child_folders_item_messages_delta_request_builder.go index 00baa76eba..487d095f4e 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_mail_folders_item_child_folders_item_messages_delta_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_mail_folders_item_child_folders_item_messages_delta_request_builder.go @@ -13,7 +13,7 @@ import ( type ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilderGetQueryParameters get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. +// ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilderGetQueryParameters get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. type ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilderGetQueryParameters struct { // A custom query option to filter the delta response based on the type of change. Supported values are created, updated or deleted. ChangeType *string `uriparametername:"changeType"` @@ -56,7 +56,7 @@ func NewItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. +// Get get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemMailFoldersItemChildFoldersItemMessagesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -80,7 +80,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilder) Get(ctx } return res.(ItemMailFoldersItemChildFoldersItemMessagesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. +// GetAsDeltaGetResponse get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. // returns a ItemMailFoldersItemChildFoldersItemMessagesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -103,7 +103,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilder) GetAsDe } return res.(ItemMailFoldersItemChildFoldersItemMessagesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. +// ToGetRequestInformation get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. // returns a *RequestInformation when successful func (m *ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_mail_folders_item_messages_delta_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_mail_folders_item_messages_delta_request_builder.go index 9f9274f602..ab0dc3466f 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_mail_folders_item_messages_delta_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_mail_folders_item_messages_delta_request_builder.go @@ -13,7 +13,7 @@ import ( type ItemMailFoldersItemMessagesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMailFoldersItemMessagesDeltaRequestBuilderGetQueryParameters get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. +// ItemMailFoldersItemMessagesDeltaRequestBuilderGetQueryParameters get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. type ItemMailFoldersItemMessagesDeltaRequestBuilderGetQueryParameters struct { // A custom query option to filter the delta response based on the type of change. Supported values are created, updated or deleted. ChangeType *string `uriparametername:"changeType"` @@ -56,7 +56,7 @@ func NewItemMailFoldersItemMessagesDeltaRequestBuilder(rawUrl string, requestAda urlParams["request-raw-url"] = rawUrl return NewItemMailFoldersItemMessagesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. +// Get get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemMailFoldersItemMessagesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -80,7 +80,7 @@ func (m *ItemMailFoldersItemMessagesDeltaRequestBuilder) Get(ctx context.Context } return res.(ItemMailFoldersItemMessagesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. +// GetAsDeltaGetResponse get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. // returns a ItemMailFoldersItemMessagesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -103,7 +103,7 @@ func (m *ItemMailFoldersItemMessagesDeltaRequestBuilder) GetAsDeltaGetResponse(c } return res.(ItemMailFoldersItemMessagesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. +// ToGetRequestInformation get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. // returns a *RequestInformation when successful func (m *ItemMailFoldersItemMessagesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessagesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_bypass_activation_lock_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_bypass_activation_lock_request_builder.go index f544c1f757..bb99d5d5d8 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_bypass_activation_lock_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_bypass_activation_lock_request_builder.go @@ -35,9 +35,6 @@ func NewItemManagedDevicesItemBypassActivationLockRequestBuilder(rawUrl string, } // Post bypass activation lock // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-bypassactivationlock?view=graph-rest-1.0 func (m *ItemManagedDevicesItemBypassActivationLockRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemManagedDevicesItemBypassActivationLockRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_clean_windows_device_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_clean_windows_device_request_builder.go index ff58c72422..0c6ae2313e 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_clean_windows_device_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_clean_windows_device_request_builder.go @@ -35,9 +35,6 @@ func NewItemManagedDevicesItemCleanWindowsDeviceRequestBuilder(rawUrl string, re } // Post clean Windows device // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-cleanwindowsdevice?view=graph-rest-1.0 func (m *ItemManagedDevicesItemCleanWindowsDeviceRequestBuilder) Post(ctx context.Context, body ItemManagedDevicesItemCleanWindowsDevicePostRequestBodyable, requestConfiguration *ItemManagedDevicesItemCleanWindowsDeviceRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_delete_user_from_shared_apple_device_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_delete_user_from_shared_apple_device_request_builder.go index 6a3bf169f9..510d831d70 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_delete_user_from_shared_apple_device_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_delete_user_from_shared_apple_device_request_builder.go @@ -35,9 +35,6 @@ func NewItemManagedDevicesItemDeleteUserFromSharedAppleDeviceRequestBuilder(rawU } // Post delete user from shared Apple device // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-deleteuserfromsharedappledevice?view=graph-rest-1.0 func (m *ItemManagedDevicesItemDeleteUserFromSharedAppleDeviceRequestBuilder) Post(ctx context.Context, body ItemManagedDevicesItemDeleteUserFromSharedAppleDevicePostRequestBodyable, requestConfiguration *ItemManagedDevicesItemDeleteUserFromSharedAppleDeviceRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_disable_lost_mode_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_disable_lost_mode_request_builder.go index ea53330e32..000959820e 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_disable_lost_mode_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_disable_lost_mode_request_builder.go @@ -35,9 +35,6 @@ func NewItemManagedDevicesItemDisableLostModeRequestBuilder(rawUrl string, reque } // Post disable lost mode // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-disablelostmode?view=graph-rest-1.0 func (m *ItemManagedDevicesItemDisableLostModeRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemManagedDevicesItemDisableLostModeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_locate_device_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_locate_device_request_builder.go index 8f24a2a3a0..8f4cf4788f 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_locate_device_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_locate_device_request_builder.go @@ -35,9 +35,6 @@ func NewItemManagedDevicesItemLocateDeviceRequestBuilder(rawUrl string, requestA } // Post locate a device // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-locatedevice?view=graph-rest-1.0 func (m *ItemManagedDevicesItemLocateDeviceRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemManagedDevicesItemLocateDeviceRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_logout_shared_apple_device_active_user_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_logout_shared_apple_device_active_user_request_builder.go index fd5a99cb2c..ac12079216 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_logout_shared_apple_device_active_user_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_logout_shared_apple_device_active_user_request_builder.go @@ -35,9 +35,6 @@ func NewItemManagedDevicesItemLogoutSharedAppleDeviceActiveUserRequestBuilder(ra } // Post logout shared Apple device active user // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-logoutsharedappledeviceactiveuser?view=graph-rest-1.0 func (m *ItemManagedDevicesItemLogoutSharedAppleDeviceActiveUserRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemManagedDevicesItemLogoutSharedAppleDeviceActiveUserRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_reboot_now_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_reboot_now_request_builder.go index 179d022fd8..59328b1c45 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_reboot_now_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_reboot_now_request_builder.go @@ -35,9 +35,6 @@ func NewItemManagedDevicesItemRebootNowRequestBuilder(rawUrl string, requestAdap } // Post reboot device // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-rebootnow?view=graph-rest-1.0 func (m *ItemManagedDevicesItemRebootNowRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemManagedDevicesItemRebootNowRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_recover_passcode_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_recover_passcode_request_builder.go index dd57223e37..617797116b 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_recover_passcode_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_recover_passcode_request_builder.go @@ -35,9 +35,6 @@ func NewItemManagedDevicesItemRecoverPasscodeRequestBuilder(rawUrl string, reque } // Post recover passcode // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-recoverpasscode?view=graph-rest-1.0 func (m *ItemManagedDevicesItemRecoverPasscodeRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemManagedDevicesItemRecoverPasscodeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_remote_lock_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_remote_lock_request_builder.go index 4e6563ab36..e87507803c 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_remote_lock_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_remote_lock_request_builder.go @@ -35,9 +35,6 @@ func NewItemManagedDevicesItemRemoteLockRequestBuilder(rawUrl string, requestAda } // Post remote lock // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-remotelock?view=graph-rest-1.0 func (m *ItemManagedDevicesItemRemoteLockRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemManagedDevicesItemRemoteLockRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_request_remote_assistance_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_request_remote_assistance_request_builder.go index b0239239a3..11b42ae506 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_request_remote_assistance_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_request_remote_assistance_request_builder.go @@ -35,9 +35,6 @@ func NewItemManagedDevicesItemRequestRemoteAssistanceRequestBuilder(rawUrl strin } // Post request remote assistance // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-requestremoteassistance?view=graph-rest-1.0 func (m *ItemManagedDevicesItemRequestRemoteAssistanceRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemManagedDevicesItemRequestRemoteAssistanceRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_reset_passcode_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_reset_passcode_request_builder.go index 86df9ab70b..449cc81db4 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_reset_passcode_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_reset_passcode_request_builder.go @@ -35,9 +35,6 @@ func NewItemManagedDevicesItemResetPasscodeRequestBuilder(rawUrl string, request } // Post reset passcode // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-resetpasscode?view=graph-rest-1.0 func (m *ItemManagedDevicesItemResetPasscodeRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemManagedDevicesItemResetPasscodeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_retire_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_retire_request_builder.go index 76b4449be9..34a124e464 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_retire_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_retire_request_builder.go @@ -35,9 +35,6 @@ func NewItemManagedDevicesItemRetireRequestBuilder(rawUrl string, requestAdapter } // Post retire a device // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-retire?view=graph-rest-1.0 func (m *ItemManagedDevicesItemRetireRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemManagedDevicesItemRetireRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_shut_down_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_shut_down_request_builder.go index 6bf2da94b4..4429914947 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_shut_down_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_shut_down_request_builder.go @@ -35,9 +35,6 @@ func NewItemManagedDevicesItemShutDownRequestBuilder(rawUrl string, requestAdapt } // Post shut down device // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-shutdown?view=graph-rest-1.0 func (m *ItemManagedDevicesItemShutDownRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemManagedDevicesItemShutDownRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_sync_device_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_sync_device_request_builder.go index 864520827c..a89c24626e 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_sync_device_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_sync_device_request_builder.go @@ -33,11 +33,8 @@ func NewItemManagedDevicesItemSyncDeviceRequestBuilder(rawUrl string, requestAda urlParams["request-raw-url"] = rawUrl return NewItemManagedDevicesItemSyncDeviceRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action syncDevice // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-syncdevice?view=graph-rest-1.0 func (m *ItemManagedDevicesItemSyncDeviceRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemManagedDevicesItemSyncDeviceRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -52,7 +49,7 @@ func (m *ItemManagedDevicesItemSyncDeviceRequestBuilder) Post(ctx context.Contex } return nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action syncDevice // returns a *RequestInformation when successful func (m *ItemManagedDevicesItemSyncDeviceRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemManagedDevicesItemSyncDeviceRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_update_windows_device_account_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_update_windows_device_account_request_builder.go index 5e9b4297f6..71ea0af9cf 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_update_windows_device_account_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_update_windows_device_account_request_builder.go @@ -33,11 +33,8 @@ func NewItemManagedDevicesItemUpdateWindowsDeviceAccountRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewItemManagedDevicesItemUpdateWindowsDeviceAccountRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action updateWindowsDeviceAccount // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-updatewindowsdeviceaccount?view=graph-rest-1.0 func (m *ItemManagedDevicesItemUpdateWindowsDeviceAccountRequestBuilder) Post(ctx context.Context, body ItemManagedDevicesItemUpdateWindowsDeviceAccountPostRequestBodyable, requestConfiguration *ItemManagedDevicesItemUpdateWindowsDeviceAccountRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -52,7 +49,7 @@ func (m *ItemManagedDevicesItemUpdateWindowsDeviceAccountRequestBuilder) Post(ct } return nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action updateWindowsDeviceAccount // returns a *RequestInformation when successful func (m *ItemManagedDevicesItemUpdateWindowsDeviceAccountRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemManagedDevicesItemUpdateWindowsDeviceAccountPostRequestBodyable, requestConfiguration *ItemManagedDevicesItemUpdateWindowsDeviceAccountRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_windows_defender_scan_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_windows_defender_scan_request_builder.go index 9fa2af4672..81d3fcfd88 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_windows_defender_scan_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_windows_defender_scan_request_builder.go @@ -33,11 +33,8 @@ func NewItemManagedDevicesItemWindowsDefenderScanRequestBuilder(rawUrl string, r urlParams["request-raw-url"] = rawUrl return NewItemManagedDevicesItemWindowsDefenderScanRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action windowsDefenderScan // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-windowsdefenderscan?view=graph-rest-1.0 func (m *ItemManagedDevicesItemWindowsDefenderScanRequestBuilder) Post(ctx context.Context, body ItemManagedDevicesItemWindowsDefenderScanPostRequestBodyable, requestConfiguration *ItemManagedDevicesItemWindowsDefenderScanRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -52,7 +49,7 @@ func (m *ItemManagedDevicesItemWindowsDefenderScanRequestBuilder) Post(ctx conte } return nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action windowsDefenderScan // returns a *RequestInformation when successful func (m *ItemManagedDevicesItemWindowsDefenderScanRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemManagedDevicesItemWindowsDefenderScanPostRequestBodyable, requestConfiguration *ItemManagedDevicesItemWindowsDefenderScanRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_windows_defender_update_signatures_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_windows_defender_update_signatures_request_builder.go index 6aefb0361a..9cc98080cd 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_windows_defender_update_signatures_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_windows_defender_update_signatures_request_builder.go @@ -33,11 +33,8 @@ func NewItemManagedDevicesItemWindowsDefenderUpdateSignaturesRequestBuilder(rawU urlParams["request-raw-url"] = rawUrl return NewItemManagedDevicesItemWindowsDefenderUpdateSignaturesRequestBuilderInternal(urlParams, requestAdapter) } -// Post not yet documented +// Post invoke action windowsDefenderUpdateSignatures // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-windowsdefenderupdatesignatures?view=graph-rest-1.0 func (m *ItemManagedDevicesItemWindowsDefenderUpdateSignaturesRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemManagedDevicesItemWindowsDefenderUpdateSignaturesRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -52,7 +49,7 @@ func (m *ItemManagedDevicesItemWindowsDefenderUpdateSignaturesRequestBuilder) Po } return nil } -// ToPostRequestInformation not yet documented +// ToPostRequestInformation invoke action windowsDefenderUpdateSignatures // returns a *RequestInformation when successful func (m *ItemManagedDevicesItemWindowsDefenderUpdateSignaturesRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemManagedDevicesItemWindowsDefenderUpdateSignaturesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_wipe_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_wipe_request_builder.go index 257d523534..4c45a6abd4 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_wipe_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_managed_devices_item_wipe_request_builder.go @@ -35,9 +35,6 @@ func NewItemManagedDevicesItemWipeRequestBuilder(rawUrl string, requestAdapter i } // Post wipe a device // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-manageddevice-wipe?view=graph-rest-1.0 func (m *ItemManagedDevicesItemWipeRequestBuilder) Post(ctx context.Context, body ItemManagedDevicesItemWipePostRequestBodyable, requestConfiguration *ItemManagedDevicesItemWipeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_messages_delta_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_messages_delta_request_builder.go index f89211ac0c..c37ac44a32 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_messages_delta_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_messages_delta_request_builder.go @@ -13,7 +13,7 @@ import ( type ItemMessagesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMessagesDeltaRequestBuilderGetQueryParameters get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. +// ItemMessagesDeltaRequestBuilderGetQueryParameters get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. type ItemMessagesDeltaRequestBuilderGetQueryParameters struct { // A custom query option to filter the delta response based on the type of change. Supported values are created, updated or deleted. ChangeType *string `uriparametername:"changeType"` @@ -56,7 +56,7 @@ func NewItemMessagesDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 urlParams["request-raw-url"] = rawUrl return NewItemMessagesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. +// Get get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemMessagesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -80,7 +80,7 @@ func (m *ItemMessagesDeltaRequestBuilder) Get(ctx context.Context, requestConfig } return res.(ItemMessagesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. +// GetAsDeltaGetResponse get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. // returns a ItemMessagesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -103,7 +103,7 @@ func (m *ItemMessagesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Cont } return res.(ItemMessagesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. +// ToGetRequestInformation get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. // returns a *RequestInformation when successful func (m *ItemMessagesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMessagesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_on_premises_sync_behavior_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_on_premises_sync_behavior_request_builder.go new file mode 100644 index 0000000000..6f694f4853 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_on_premises_sync_behavior_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemOnPremisesSyncBehaviorRequestBuilder provides operations to manage the onPremisesSyncBehavior property of the microsoft.graph.user entity. +type ItemOnPremisesSyncBehaviorRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemOnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemOnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemOnPremisesSyncBehaviorRequestBuilderGetQueryParameters get onPremisesSyncBehavior from users +type ItemOnPremisesSyncBehaviorRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemOnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemOnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemOnPremisesSyncBehaviorRequestBuilderGetQueryParameters +} +// ItemOnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemOnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemOnPremisesSyncBehaviorRequestBuilderInternal instantiates a new ItemOnPremisesSyncBehaviorRequestBuilder and sets the default values. +func NewItemOnPremisesSyncBehaviorRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemOnPremisesSyncBehaviorRequestBuilder) { + m := &ItemOnPremisesSyncBehaviorRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/onPremisesSyncBehavior{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemOnPremisesSyncBehaviorRequestBuilder instantiates a new ItemOnPremisesSyncBehaviorRequestBuilder and sets the default values. +func NewItemOnPremisesSyncBehaviorRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemOnPremisesSyncBehaviorRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemOnPremisesSyncBehaviorRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property onPremisesSyncBehavior for users +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemOnPremisesSyncBehaviorRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get onPremisesSyncBehavior from users +// returns a OnPremisesSyncBehaviorable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemOnPremisesSyncBehaviorRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesSyncBehaviorable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateOnPremisesSyncBehaviorFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesSyncBehaviorable), nil +} +// Patch update the navigation property onPremisesSyncBehavior in users +// returns a OnPremisesSyncBehaviorable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemOnPremisesSyncBehaviorRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesSyncBehaviorable, requestConfiguration *ItemOnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesSyncBehaviorable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateOnPremisesSyncBehaviorFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesSyncBehaviorable), nil +} +// ToDeleteRequestInformation delete navigation property onPremisesSyncBehavior for users +// returns a *RequestInformation when successful +func (m *ItemOnPremisesSyncBehaviorRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemOnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get onPremisesSyncBehavior from users +// returns a *RequestInformation when successful +func (m *ItemOnPremisesSyncBehaviorRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property onPremisesSyncBehavior in users +// returns a *RequestInformation when successful +func (m *ItemOnPremisesSyncBehaviorRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OnPremisesSyncBehaviorable, requestConfiguration *ItemOnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemOnPremisesSyncBehaviorRequestBuilder when successful +func (m *ItemOnPremisesSyncBehaviorRequestBuilder) WithUrl(rawUrl string)(*ItemOnPremisesSyncBehaviorRequestBuilder) { + return NewItemOnPremisesSyncBehaviorRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_online_meetings_item_recordings_call_recording_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_online_meetings_item_recordings_call_recording_item_request_builder.go index db1590ffe6..bccd7a0e19 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_online_meetings_item_recordings_call_recording_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_online_meetings_item_recordings_call_recording_item_request_builder.go @@ -21,7 +21,7 @@ type ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderDeleteReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. type ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -78,7 +78,7 @@ func (m *ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) Delete } return nil } -// Get get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// Get get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. // returns a CallRecordingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -132,7 +132,7 @@ func (m *ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) ToDele requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// ToGetRequestInformation get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_online_meetings_item_recordings_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_online_meetings_item_recordings_request_builder.go index 7bdeae6e42..82a33db4fa 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_online_meetings_item_recordings_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_online_meetings_item_recordings_request_builder.go @@ -14,7 +14,7 @@ import ( type ItemOnlineMeetingsItemRecordingsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnlineMeetingsItemRecordingsRequestBuilderGetQueryParameters get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// ItemOnlineMeetingsItemRecordingsRequestBuilderGetQueryParameters get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. type ItemOnlineMeetingsItemRecordingsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -84,7 +84,7 @@ func (m *ItemOnlineMeetingsItemRecordingsRequestBuilder) Count()(*ItemOnlineMeet func (m *ItemOnlineMeetingsItemRecordingsRequestBuilder) Delta()(*ItemOnlineMeetingsItemRecordingsDeltaRequestBuilder) { return NewItemOnlineMeetingsItemRecordingsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// Get get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. // returns a CallRecordingCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnlineMeetingsItemRecordingsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemRecordingsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingCollectionResponseable, error) { @@ -124,7 +124,7 @@ func (m *ItemOnlineMeetingsItemRecordingsRequestBuilder) Post(ctx context.Contex } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallRecordingable), nil } -// ToGetRequestInformation get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// ToGetRequestInformation get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemRecordingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemRecordingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_online_meetings_item_transcripts_call_transcript_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_online_meetings_item_transcripts_call_transcript_item_request_builder.go index e088782a77..43602af457 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_online_meetings_item_transcripts_call_transcript_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_online_meetings_item_transcripts_call_transcript_item_request_builder.go @@ -21,7 +21,7 @@ type ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. type ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -78,7 +78,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) Dele } return nil } -// Get retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// Get retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. // returns a CallTranscriptable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -137,7 +137,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// ToGetRequestInformation retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_online_meetings_item_transcripts_item_content_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_online_meetings_item_transcripts_item_content_request_builder.go index 152b853cb9..005bcf8f05 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_online_meetings_item_transcripts_item_content_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_online_meetings_item_transcripts_item_content_request_builder.go @@ -64,7 +64,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsItemContentRequestBuilder) Delete(ctx } return nil } -// Get retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// Get retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -118,7 +118,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsItemContentRequestBuilder) ToDeleteReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// ToGetRequestInformation retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemTranscriptsItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_online_meetings_item_transcripts_item_metadata_content_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_online_meetings_item_transcripts_item_metadata_content_request_builder.go index 5624806abd..0fa6100152 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_online_meetings_item_transcripts_item_metadata_content_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_online_meetings_item_transcripts_item_metadata_content_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilder) Del } return nil } -// Get retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// Get retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -117,7 +117,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// ToGetRequestInformation retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_online_meetings_item_transcripts_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_online_meetings_item_transcripts_request_builder.go index 217dab6b59..ec71b79292 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_online_meetings_item_transcripts_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_online_meetings_item_transcripts_request_builder.go @@ -14,7 +14,7 @@ import ( type ItemOnlineMeetingsItemTranscriptsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnlineMeetingsItemTranscriptsRequestBuilderGetQueryParameters retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. +// ItemOnlineMeetingsItemTranscriptsRequestBuilderGetQueryParameters retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. type ItemOnlineMeetingsItemTranscriptsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -84,7 +84,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsRequestBuilder) Count()(*ItemOnlineMee func (m *ItemOnlineMeetingsItemTranscriptsRequestBuilder) Delta()(*ItemOnlineMeetingsItemTranscriptsDeltaRequestBuilder) { return NewItemOnlineMeetingsItemTranscriptsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. +// Get retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. // returns a CallTranscriptCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -127,7 +127,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsRequestBuilder) Post(ctx context.Conte } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CallTranscriptable), nil } -// ToGetRequestInformation retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. +// ToGetRequestInformation retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemTranscriptsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemTranscriptsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_presence_clear_automatic_location_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_presence_clear_automatic_location_request_builder.go new file mode 100644 index 0000000000..e77eb25623 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_presence_clear_automatic_location_request_builder.go @@ -0,0 +1,70 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemPresenceClearAutomaticLocationRequestBuilder provides operations to call the clearAutomaticLocation method. +type ItemPresenceClearAutomaticLocationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemPresenceClearAutomaticLocationRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemPresenceClearAutomaticLocationRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemPresenceClearAutomaticLocationRequestBuilderInternal instantiates a new ItemPresenceClearAutomaticLocationRequestBuilder and sets the default values. +func NewItemPresenceClearAutomaticLocationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPresenceClearAutomaticLocationRequestBuilder) { + m := &ItemPresenceClearAutomaticLocationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/presence/clearAutomaticLocation", pathParameters), + } + return m +} +// NewItemPresenceClearAutomaticLocationRequestBuilder instantiates a new ItemPresenceClearAutomaticLocationRequestBuilder and sets the default values. +func NewItemPresenceClearAutomaticLocationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPresenceClearAutomaticLocationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemPresenceClearAutomaticLocationRequestBuilderInternal(urlParams, requestAdapter) +} +// Post clear the automatic work location signal for a user. After clearing, the user’s final aggregated work location is recomputed according to the precedence rules: Use this operation when you need to remove the current autodetected signal without affecting manual or scheduled layers. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/presence-clearautomaticlocation?view=graph-rest-1.0 +func (m *ItemPresenceClearAutomaticLocationRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPresenceClearAutomaticLocationRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation clear the automatic work location signal for a user. After clearing, the user’s final aggregated work location is recomputed according to the precedence rules: Use this operation when you need to remove the current autodetected signal without affecting manual or scheduled layers. +// returns a *RequestInformation when successful +func (m *ItemPresenceClearAutomaticLocationRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemPresenceClearAutomaticLocationRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemPresenceClearAutomaticLocationRequestBuilder when successful +func (m *ItemPresenceClearAutomaticLocationRequestBuilder) WithUrl(rawUrl string)(*ItemPresenceClearAutomaticLocationRequestBuilder) { + return NewItemPresenceClearAutomaticLocationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_presence_clear_location_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_presence_clear_location_request_builder.go new file mode 100644 index 0000000000..d2cd0897e9 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_presence_clear_location_request_builder.go @@ -0,0 +1,70 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemPresenceClearLocationRequestBuilder provides operations to call the clearLocation method. +type ItemPresenceClearLocationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemPresenceClearLocationRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemPresenceClearLocationRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemPresenceClearLocationRequestBuilderInternal instantiates a new ItemPresenceClearLocationRequestBuilder and sets the default values. +func NewItemPresenceClearLocationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPresenceClearLocationRequestBuilder) { + m := &ItemPresenceClearLocationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/presence/clearLocation", pathParameters), + } + return m +} +// NewItemPresenceClearLocationRequestBuilder instantiates a new ItemPresenceClearLocationRequestBuilder and sets the default values. +func NewItemPresenceClearLocationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPresenceClearLocationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemPresenceClearLocationRequestBuilderInternal(urlParams, requestAdapter) +} +// Post clear the work location signals for a user, including both the manual and automatic layers for the current date. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/presence-clearlocation?view=graph-rest-1.0 +func (m *ItemPresenceClearLocationRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPresenceClearLocationRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation clear the work location signals for a user, including both the manual and automatic layers for the current date. +// returns a *RequestInformation when successful +func (m *ItemPresenceClearLocationRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemPresenceClearLocationRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemPresenceClearLocationRequestBuilder when successful +func (m *ItemPresenceClearLocationRequestBuilder) WithUrl(rawUrl string)(*ItemPresenceClearLocationRequestBuilder) { + return NewItemPresenceClearLocationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_presence_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_presence_request_builder.go index d2ef2d9d9a..777435038b 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_presence_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_presence_request_builder.go @@ -44,6 +44,16 @@ type ItemPresenceRequestBuilderPatchRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } +// ClearAutomaticLocation provides operations to call the clearAutomaticLocation method. +// returns a *ItemPresenceClearAutomaticLocationRequestBuilder when successful +func (m *ItemPresenceRequestBuilder) ClearAutomaticLocation()(*ItemPresenceClearAutomaticLocationRequestBuilder) { + return NewItemPresenceClearAutomaticLocationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ClearLocation provides operations to call the clearLocation method. +// returns a *ItemPresenceClearLocationRequestBuilder when successful +func (m *ItemPresenceRequestBuilder) ClearLocation()(*ItemPresenceClearLocationRequestBuilder) { + return NewItemPresenceClearLocationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ClearPresence provides operations to call the clearPresence method. // returns a *ItemPresenceClearPresenceRequestBuilder when successful func (m *ItemPresenceRequestBuilder) ClearPresence()(*ItemPresenceClearPresenceRequestBuilder) { @@ -126,6 +136,16 @@ func (m *ItemPresenceRequestBuilder) Patch(ctx context.Context, body iadcd811244 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Presenceable), nil } +// SetAutomaticLocation provides operations to call the setAutomaticLocation method. +// returns a *ItemPresenceSetAutomaticLocationRequestBuilder when successful +func (m *ItemPresenceRequestBuilder) SetAutomaticLocation()(*ItemPresenceSetAutomaticLocationRequestBuilder) { + return NewItemPresenceSetAutomaticLocationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// SetManualLocation provides operations to call the setManualLocation method. +// returns a *ItemPresenceSetManualLocationRequestBuilder when successful +func (m *ItemPresenceRequestBuilder) SetManualLocation()(*ItemPresenceSetManualLocationRequestBuilder) { + return NewItemPresenceSetManualLocationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // SetPresence provides operations to call the setPresence method. // returns a *ItemPresenceSetPresenceRequestBuilder when successful func (m *ItemPresenceRequestBuilder) SetPresence()(*ItemPresenceSetPresenceRequestBuilder) { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_presence_set_automatic_location_post_request_body.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_presence_set_automatic_location_post_request_body.go new file mode 100644 index 0000000000..17a400be76 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_presence_set_automatic_location_post_request_body.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemPresenceSetAutomaticLocationPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemPresenceSetAutomaticLocationPostRequestBody instantiates a new ItemPresenceSetAutomaticLocationPostRequestBody and sets the default values. +func NewItemPresenceSetAutomaticLocationPostRequestBody()(*ItemPresenceSetAutomaticLocationPostRequestBody) { + m := &ItemPresenceSetAutomaticLocationPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemPresenceSetAutomaticLocationPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemPresenceSetAutomaticLocationPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemPresenceSetAutomaticLocationPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemPresenceSetAutomaticLocationPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemPresenceSetAutomaticLocationPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemPresenceSetAutomaticLocationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["placeId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPlaceId(val) + } + return nil + } + res["workLocationType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ParseWorkLocationType) + if err != nil { + return err + } + if val != nil { + m.SetWorkLocationType(val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType)) + } + return nil + } + return res +} +// GetPlaceId gets the placeId property value. The placeId property +// returns a *string when successful +func (m *ItemPresenceSetAutomaticLocationPostRequestBody) GetPlaceId()(*string) { + val, err := m.GetBackingStore().Get("placeId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetWorkLocationType gets the workLocationType property value. The workLocationType property +// returns a *WorkLocationType when successful +func (m *ItemPresenceSetAutomaticLocationPostRequestBody) GetWorkLocationType()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType) { + val, err := m.GetBackingStore().Get("workLocationType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemPresenceSetAutomaticLocationPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("placeId", m.GetPlaceId()) + if err != nil { + return err + } + } + if m.GetWorkLocationType() != nil { + cast := (*m.GetWorkLocationType()).String() + err := writer.WriteStringValue("workLocationType", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemPresenceSetAutomaticLocationPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemPresenceSetAutomaticLocationPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetPlaceId sets the placeId property value. The placeId property +func (m *ItemPresenceSetAutomaticLocationPostRequestBody) SetPlaceId(value *string)() { + err := m.GetBackingStore().Set("placeId", value) + if err != nil { + panic(err) + } +} +// SetWorkLocationType sets the workLocationType property value. The workLocationType property +func (m *ItemPresenceSetAutomaticLocationPostRequestBody) SetWorkLocationType(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType)() { + err := m.GetBackingStore().Set("workLocationType", value) + if err != nil { + panic(err) + } +} +type ItemPresenceSetAutomaticLocationPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetPlaceId()(*string) + GetWorkLocationType()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetPlaceId(value *string)() + SetWorkLocationType(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_presence_set_automatic_location_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_presence_set_automatic_location_request_builder.go new file mode 100644 index 0000000000..1abb0947e8 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_presence_set_automatic_location_request_builder.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemPresenceSetAutomaticLocationRequestBuilder provides operations to call the setAutomaticLocation method. +type ItemPresenceSetAutomaticLocationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemPresenceSetAutomaticLocationRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemPresenceSetAutomaticLocationRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemPresenceSetAutomaticLocationRequestBuilderInternal instantiates a new ItemPresenceSetAutomaticLocationRequestBuilder and sets the default values. +func NewItemPresenceSetAutomaticLocationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPresenceSetAutomaticLocationRequestBuilder) { + m := &ItemPresenceSetAutomaticLocationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/presence/setAutomaticLocation", pathParameters), + } + return m +} +// NewItemPresenceSetAutomaticLocationRequestBuilder instantiates a new ItemPresenceSetAutomaticLocationRequestBuilder and sets the default values. +func NewItemPresenceSetAutomaticLocationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPresenceSetAutomaticLocationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemPresenceSetAutomaticLocationRequestBuilderInternal(urlParams, requestAdapter) +} +// Post update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network and location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/presence-setautomaticlocation?view=graph-rest-1.0 +func (m *ItemPresenceSetAutomaticLocationRequestBuilder) Post(ctx context.Context, body ItemPresenceSetAutomaticLocationPostRequestBodyable, requestConfiguration *ItemPresenceSetAutomaticLocationRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network and location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. +// returns a *RequestInformation when successful +func (m *ItemPresenceSetAutomaticLocationRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemPresenceSetAutomaticLocationPostRequestBodyable, requestConfiguration *ItemPresenceSetAutomaticLocationRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemPresenceSetAutomaticLocationRequestBuilder when successful +func (m *ItemPresenceSetAutomaticLocationRequestBuilder) WithUrl(rawUrl string)(*ItemPresenceSetAutomaticLocationRequestBuilder) { + return NewItemPresenceSetAutomaticLocationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_presence_set_manual_location_post_request_body.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_presence_set_manual_location_post_request_body.go new file mode 100644 index 0000000000..dd97777286 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_presence_set_manual_location_post_request_body.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemPresenceSetManualLocationPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemPresenceSetManualLocationPostRequestBody instantiates a new ItemPresenceSetManualLocationPostRequestBody and sets the default values. +func NewItemPresenceSetManualLocationPostRequestBody()(*ItemPresenceSetManualLocationPostRequestBody) { + m := &ItemPresenceSetManualLocationPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemPresenceSetManualLocationPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemPresenceSetManualLocationPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemPresenceSetManualLocationPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemPresenceSetManualLocationPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemPresenceSetManualLocationPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemPresenceSetManualLocationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["placeId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPlaceId(val) + } + return nil + } + res["workLocationType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ParseWorkLocationType) + if err != nil { + return err + } + if val != nil { + m.SetWorkLocationType(val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType)) + } + return nil + } + return res +} +// GetPlaceId gets the placeId property value. The placeId property +// returns a *string when successful +func (m *ItemPresenceSetManualLocationPostRequestBody) GetPlaceId()(*string) { + val, err := m.GetBackingStore().Get("placeId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetWorkLocationType gets the workLocationType property value. The workLocationType property +// returns a *WorkLocationType when successful +func (m *ItemPresenceSetManualLocationPostRequestBody) GetWorkLocationType()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType) { + val, err := m.GetBackingStore().Get("workLocationType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemPresenceSetManualLocationPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("placeId", m.GetPlaceId()) + if err != nil { + return err + } + } + if m.GetWorkLocationType() != nil { + cast := (*m.GetWorkLocationType()).String() + err := writer.WriteStringValue("workLocationType", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemPresenceSetManualLocationPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemPresenceSetManualLocationPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetPlaceId sets the placeId property value. The placeId property +func (m *ItemPresenceSetManualLocationPostRequestBody) SetPlaceId(value *string)() { + err := m.GetBackingStore().Set("placeId", value) + if err != nil { + panic(err) + } +} +// SetWorkLocationType sets the workLocationType property value. The workLocationType property +func (m *ItemPresenceSetManualLocationPostRequestBody) SetWorkLocationType(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType)() { + err := m.GetBackingStore().Set("workLocationType", value) + if err != nil { + panic(err) + } +} +type ItemPresenceSetManualLocationPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetPlaceId()(*string) + GetWorkLocationType()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetPlaceId(value *string)() + SetWorkLocationType(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_presence_set_manual_location_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_presence_set_manual_location_request_builder.go new file mode 100644 index 0000000000..321a5ad487 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_presence_set_manual_location_request_builder.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemPresenceSetManualLocationRequestBuilder provides operations to call the setManualLocation method. +type ItemPresenceSetManualLocationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemPresenceSetManualLocationRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemPresenceSetManualLocationRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemPresenceSetManualLocationRequestBuilderInternal instantiates a new ItemPresenceSetManualLocationRequestBuilder and sets the default values. +func NewItemPresenceSetManualLocationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPresenceSetManualLocationRequestBuilder) { + m := &ItemPresenceSetManualLocationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/presence/setManualLocation", pathParameters), + } + return m +} +// NewItemPresenceSetManualLocationRequestBuilder instantiates a new ItemPresenceSetManualLocationRequestBuilder and sets the default values. +func NewItemPresenceSetManualLocationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPresenceSetManualLocationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemPresenceSetManualLocationRequestBuilderInternal(urlParams, requestAdapter) +} +// Post set the manual work location signal for a user. The explicit value chosen by a user or an authorized client overrides any automatically detected or scheduled working hours and location. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/presence-setmanuallocation?view=graph-rest-1.0 +func (m *ItemPresenceSetManualLocationRequestBuilder) Post(ctx context.Context, body ItemPresenceSetManualLocationPostRequestBodyable, requestConfiguration *ItemPresenceSetManualLocationRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation set the manual work location signal for a user. The explicit value chosen by a user or an authorized client overrides any automatically detected or scheduled working hours and location. +// returns a *RequestInformation when successful +func (m *ItemPresenceSetManualLocationRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemPresenceSetManualLocationPostRequestBodyable, requestConfiguration *ItemPresenceSetManualLocationRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemPresenceSetManualLocationRequestBuilder when successful +func (m *ItemPresenceSetManualLocationRequestBuilder) WithUrl(rawUrl string)(*ItemPresenceSetManualLocationRequestBuilder) { + return NewItemPresenceSetManualLocationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_remove_all_devices_from_management_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_remove_all_devices_from_management_request_builder.go index b07f5bfbf8..554c06122d 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_remove_all_devices_from_management_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_remove_all_devices_from_management_request_builder.go @@ -35,9 +35,6 @@ func NewItemRemoveAllDevicesFromManagementRequestBuilder(rawUrl string, requestA } // Post retire all devices from management for this user // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-devices-user-removealldevicesfrommanagement?view=graph-rest-1.0 func (m *ItemRemoveAllDevicesFromManagementRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemRemoveAllDevicesFromManagementRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_restore_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_restore_request_builder.go index 17771c4274..9f011361eb 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_restore_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_request_builder.go index 8c38784afe..e310d7e89a 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_request_builder.go @@ -178,3 +178,8 @@ func (m *ItemSettingsRequestBuilder) Windows()(*ItemSettingsWindowsRequestBuilde func (m *ItemSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsRequestBuilder) { return NewItemSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); } +// WorkHoursAndLocations provides operations to manage the workHoursAndLocations property of the microsoft.graph.userSettings entity. +// returns a *ItemSettingsWorkHoursAndLocationsRequestBuilder when successful +func (m *ItemSettingsRequestBuilder) WorkHoursAndLocations()(*ItemSettingsWorkHoursAndLocationsRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_windows_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_windows_request_builder.go index 618bf6461f..7f0428f6e7 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_windows_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_windows_request_builder.go @@ -14,7 +14,7 @@ import ( type ItemSettingsWindowsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSettingsWindowsRequestBuilderGetQueryParameters get windows from users +// ItemSettingsWindowsRequestBuilderGetQueryParameters the Windows settings of the user stored in the cloud. type ItemSettingsWindowsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,7 +79,7 @@ func NewItemSettingsWindowsRequestBuilder(rawUrl string, requestAdapter i2ae4187 func (m *ItemSettingsWindowsRequestBuilder) Count()(*ItemSettingsWindowsCountRequestBuilder) { return NewItemSettingsWindowsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get windows from users +// Get the Windows settings of the user stored in the cloud. // returns a WindowsSettingCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSettingsWindowsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsWindowsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsSettingCollectionResponseable, error) { @@ -119,7 +119,7 @@ func (m *ItemSettingsWindowsRequestBuilder) Post(ctx context.Context, body iadcd } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsSettingable), nil } -// ToGetRequestInformation get windows from users +// ToGetRequestInformation the Windows settings of the user stored in the cloud. // returns a *RequestInformation when successful func (m *ItemSettingsWindowsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsWindowsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_windows_windows_setting_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_windows_windows_setting_item_request_builder.go index 5204894706..c6f0360509 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_windows_windows_setting_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_windows_windows_setting_item_request_builder.go @@ -21,7 +21,7 @@ type ItemSettingsWindowsWindowsSettingItemRequestBuilderDeleteRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSettingsWindowsWindowsSettingItemRequestBuilderGetQueryParameters get windows from users +// ItemSettingsWindowsWindowsSettingItemRequestBuilderGetQueryParameters the Windows settings of the user stored in the cloud. type ItemSettingsWindowsWindowsSettingItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,7 +73,7 @@ func (m *ItemSettingsWindowsWindowsSettingItemRequestBuilder) Delete(ctx context } return nil } -// Get get windows from users +// Get the Windows settings of the user stored in the cloud. // returns a WindowsSettingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSettingsWindowsWindowsSettingItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsWindowsWindowsSettingItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WindowsSettingable, error) { @@ -129,7 +129,7 @@ func (m *ItemSettingsWindowsWindowsSettingItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get windows from users +// ToGetRequestInformation the Windows settings of the user stored in the cloud. // returns a *RequestInformation when successful func (m *ItemSettingsWindowsWindowsSettingItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsWindowsWindowsSettingItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_occurrences_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_occurrences_count_request_builder.go new file mode 100644 index 0000000000..4eaf7558d7 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_occurrences_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder provides operations to count the resources in the collection. +type ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderGetQueryParameters get the number of the resource +type ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderGetQueryParameters +} +// NewItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderInternal instantiates a new ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder) { + m := &ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrences/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder instantiates a new ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_occurrences_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_occurrences_request_builder.go new file mode 100644 index 0000000000..64075ac6f8 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_occurrences_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder provides operations to manage the occurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. +type ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetQueryParameters collection of work plan occurrences. +type ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetQueryParameters +} +// ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByWorkPlanOccurrenceId provides operations to manage the occurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. +// returns a *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder) ByWorkPlanOccurrenceId(workPlanOccurrenceId string)(*ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if workPlanOccurrenceId != "" { + urlTplParams["workPlanOccurrence%2Did"] = workPlanOccurrenceId + } + return NewItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderInternal instantiates a new ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder) { + m := &ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder instantiates a new ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder) Count()(*ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get collection of work plan occurrences. +// returns a WorkPlanOccurrenceCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWorkPlanOccurrenceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceCollectionResponseable), nil +} +// Post create new navigation property to occurrences for users +// returns a WorkPlanOccurrenceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceable, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWorkPlanOccurrenceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceable), nil +} +// SetCurrentLocation provides operations to call the setCurrentLocation method. +// returns a *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder) SetCurrentLocation()(*ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation collection of work plan occurrences. +// returns a *RequestInformation when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to occurrences for users +// returns a *RequestInformation when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceable, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_occurrences_set_current_location_post_request_body.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_occurrences_set_current_location_post_request_body.go new file mode 100644 index 0000000000..06dc2e5c11 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_occurrences_set_current_location_post_request_body.go @@ -0,0 +1,193 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody instantiates a new ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody and sets the default values. +func NewItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody()(*ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody) { + m := &ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["placeId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPlaceId(val) + } + return nil + } + res["updateScope"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ParseWorkLocationUpdateScope) + if err != nil { + return err + } + if val != nil { + m.SetUpdateScope(val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationUpdateScope)) + } + return nil + } + res["workLocationType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ParseWorkLocationType) + if err != nil { + return err + } + if val != nil { + m.SetWorkLocationType(val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType)) + } + return nil + } + return res +} +// GetPlaceId gets the placeId property value. The placeId property +// returns a *string when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody) GetPlaceId()(*string) { + val, err := m.GetBackingStore().Get("placeId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetUpdateScope gets the updateScope property value. The updateScope property +// returns a *WorkLocationUpdateScope when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody) GetUpdateScope()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationUpdateScope) { + val, err := m.GetBackingStore().Get("updateScope") + if err != nil { + panic(err) + } + if val != nil { + return val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationUpdateScope) + } + return nil +} +// GetWorkLocationType gets the workLocationType property value. The workLocationType property +// returns a *WorkLocationType when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody) GetWorkLocationType()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType) { + val, err := m.GetBackingStore().Get("workLocationType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("placeId", m.GetPlaceId()) + if err != nil { + return err + } + } + if m.GetUpdateScope() != nil { + cast := (*m.GetUpdateScope()).String() + err := writer.WriteStringValue("updateScope", &cast) + if err != nil { + return err + } + } + if m.GetWorkLocationType() != nil { + cast := (*m.GetWorkLocationType()).String() + err := writer.WriteStringValue("workLocationType", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetPlaceId sets the placeId property value. The placeId property +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody) SetPlaceId(value *string)() { + err := m.GetBackingStore().Set("placeId", value) + if err != nil { + panic(err) + } +} +// SetUpdateScope sets the updateScope property value. The updateScope property +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody) SetUpdateScope(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationUpdateScope)() { + err := m.GetBackingStore().Set("updateScope", value) + if err != nil { + panic(err) + } +} +// SetWorkLocationType sets the workLocationType property value. The workLocationType property +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody) SetWorkLocationType(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType)() { + err := m.GetBackingStore().Set("workLocationType", value) + if err != nil { + panic(err) + } +} +type ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetPlaceId()(*string) + GetUpdateScope()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationUpdateScope) + GetWorkLocationType()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetPlaceId(value *string)() + SetUpdateScope(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationUpdateScope)() + SetWorkLocationType(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkLocationType)() +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_occurrences_set_current_location_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_occurrences_set_current_location_request_builder.go new file mode 100644 index 0000000000..2be253733a --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_occurrences_set_current_location_request_builder.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder provides operations to call the setCurrentLocation method. +type ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilderInternal instantiates a new ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder) { + m := &ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrences/setCurrentLocation", pathParameters), + } + return m +} +// NewItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder instantiates a new ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilderInternal(urlParams, requestAdapter) +} +// Post update your work location for the current day or current active segment. This action allows you to quickly update your work location without modifying individual occurrences. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/workplanoccurrence-setcurrentlocation?view=graph-rest-1.0 +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder) Post(ctx context.Context, body ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyable, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation update your work location for the current day or current active segment. This action allows you to quickly update your work location without modifying individual occurrences. +// returns a *RequestInformation when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyable, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_occurrences_work_plan_occurrence_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_occurrences_work_plan_occurrence_item_request_builder.go new file mode 100644 index 0000000000..9d675cdddd --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_occurrences_work_plan_occurrence_item_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder provides operations to manage the occurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. +type ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderGetQueryParameters collection of work plan occurrences. +type ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderGetQueryParameters +} +// ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderInternal instantiates a new ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder) { + m := &ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrences/{workPlanOccurrence%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder instantiates a new ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property occurrences for users +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get collection of work plan occurrences. +// returns a WorkPlanOccurrenceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWorkPlanOccurrenceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceable), nil +} +// Put update the navigation property occurrences in users +// returns a WorkPlanOccurrenceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder) Put(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceable, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceable, error) { + requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWorkPlanOccurrenceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceable), nil +} +// ToDeleteRequestInformation delete navigation property occurrences for users +// returns a *RequestInformation when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation collection of work plan occurrences. +// returns a *RequestInformation when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPutRequestInformation update the navigation property occurrences in users +// returns a *RequestInformation when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanOccurrenceable, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_recurrences_count_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_recurrences_count_request_builder.go new file mode 100644 index 0000000000..58550101e7 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_recurrences_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder provides operations to count the resources in the collection. +type ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderGetQueryParameters get the number of the resource +type ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderGetQueryParameters +} +// NewItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderInternal instantiates a new ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder) { + m := &ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/recurrences/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder instantiates a new ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_recurrences_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_recurrences_request_builder.go new file mode 100644 index 0000000000..92d29633a6 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_recurrences_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder provides operations to manage the recurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. +type ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetQueryParameters collection of recurring work plans defined by the user. +type ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetQueryParameters +} +// ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByWorkPlanRecurrenceId provides operations to manage the recurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. +// returns a *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder) ByWorkPlanRecurrenceId(workPlanRecurrenceId string)(*ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if workPlanRecurrenceId != "" { + urlTplParams["workPlanRecurrence%2Did"] = workPlanRecurrenceId + } + return NewItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderInternal instantiates a new ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder) { + m := &ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/recurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder instantiates a new ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder) Count()(*ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get collection of recurring work plans defined by the user. +// returns a WorkPlanRecurrenceCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanRecurrenceCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWorkPlanRecurrenceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanRecurrenceCollectionResponseable), nil +} +// Post create new navigation property to recurrences for users +// returns a WorkPlanRecurrenceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanRecurrenceable, requestConfiguration *ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanRecurrenceable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWorkPlanRecurrenceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanRecurrenceable), nil +} +// ToGetRequestInformation collection of recurring work plans defined by the user. +// returns a *RequestInformation when successful +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to recurrences for users +// returns a *RequestInformation when successful +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanRecurrenceable, requestConfiguration *ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_recurrences_work_plan_recurrence_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_recurrences_work_plan_recurrence_item_request_builder.go new file mode 100644 index 0000000000..7b898a93e8 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_recurrences_work_plan_recurrence_item_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder provides operations to manage the recurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. +type ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderGetQueryParameters collection of recurring work plans defined by the user. +type ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderGetQueryParameters +} +// ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderInternal instantiates a new ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder) { + m := &ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/recurrences/{workPlanRecurrence%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder instantiates a new ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property recurrences for users +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get collection of recurring work plans defined by the user. +// returns a WorkPlanRecurrenceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanRecurrenceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWorkPlanRecurrenceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanRecurrenceable), nil +} +// Put update the navigation property recurrences in users +// returns a WorkPlanRecurrenceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder) Put(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanRecurrenceable, requestConfiguration *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanRecurrenceable, error) { + requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWorkPlanRecurrenceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanRecurrenceable), nil +} +// ToDeleteRequestInformation delete navigation property recurrences for users +// returns a *RequestInformation when successful +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation collection of recurring work plans defined by the user. +// returns a *RequestInformation when successful +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPutRequestInformation update the navigation property recurrences in users +// returns a *RequestInformation when successful +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkPlanRecurrenceable, requestConfiguration *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_request_builder.go new file mode 100644 index 0000000000..c58c600317 --- /dev/null +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_settings_work_hours_and_locations_request_builder.go @@ -0,0 +1,141 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemSettingsWorkHoursAndLocationsRequestBuilder provides operations to manage the workHoursAndLocations property of the microsoft.graph.userSettings entity. +type ItemSettingsWorkHoursAndLocationsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemSettingsWorkHoursAndLocationsRequestBuilderGetQueryParameters the user's settings for work hours and location preferences for scheduling and availability management. +type ItemSettingsWorkHoursAndLocationsRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemSettingsWorkHoursAndLocationsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemSettingsWorkHoursAndLocationsRequestBuilderGetQueryParameters +} +// ItemSettingsWorkHoursAndLocationsRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemSettingsWorkHoursAndLocationsRequestBuilderInternal instantiates a new ItemSettingsWorkHoursAndLocationsRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsRequestBuilder) { + m := &ItemSettingsWorkHoursAndLocationsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemSettingsWorkHoursAndLocationsRequestBuilder instantiates a new ItemSettingsWorkHoursAndLocationsRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemSettingsWorkHoursAndLocationsRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the user's settings for work hours and location preferences for scheduling and availability management. +// returns a WorkHoursAndLocationsSettingable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSettingsWorkHoursAndLocationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkHoursAndLocationsSettingable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWorkHoursAndLocationsSettingFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkHoursAndLocationsSettingable), nil +} +// Occurrences provides operations to manage the occurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. +// returns a *ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsRequestBuilder) Occurrences()(*ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// OccurrencesViewWithStartDateTimeWithEndDateTime provides operations to call the occurrencesView method. +// returns a *ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsRequestBuilder) OccurrencesViewWithStartDateTimeWithEndDateTime(endDateTime *string, startDateTime *string)(*ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, endDateTime, startDateTime) +} +// Patch update the navigation property workHoursAndLocations in users +// returns a WorkHoursAndLocationsSettingable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSettingsWorkHoursAndLocationsRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkHoursAndLocationsSettingable, requestConfiguration *ItemSettingsWorkHoursAndLocationsRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkHoursAndLocationsSettingable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWorkHoursAndLocationsSettingFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkHoursAndLocationsSettingable), nil +} +// Recurrences provides operations to manage the recurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. +// returns a *ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsRequestBuilder) Recurrences()(*ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation the user's settings for work hours and location preferences for scheduling and availability management. +// returns a *RequestInformation when successful +func (m *ItemSettingsWorkHoursAndLocationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property workHoursAndLocations in users +// returns a *RequestInformation when successful +func (m *ItemSettingsWorkHoursAndLocationsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkHoursAndLocationsSettingable, requestConfiguration *ItemSettingsWorkHoursAndLocationsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemSettingsWorkHoursAndLocationsRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsWorkHoursAndLocationsRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_wipe_managed_app_registrations_by_device_tag_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_wipe_managed_app_registrations_by_device_tag_request_builder.go index bee7428446..cd93ac6e85 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_wipe_managed_app_registrations_by_device_tag_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/item_wipe_managed_app_registrations_by_device_tag_request_builder.go @@ -35,9 +35,6 @@ func NewItemWipeManagedAppRegistrationsByDeviceTagRequestBuilder(rawUrl string, } // Post issues a wipe operation on an app registration with specified device tag. // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-user-wipemanagedappregistrationsbydevicetag?view=graph-rest-1.0 func (m *ItemWipeManagedAppRegistrationsByDeviceTagRequestBuilder) Post(ctx context.Context, body ItemWipeManagedAppRegistrationsByDeviceTagPostRequestBodyable, requestConfiguration *ItemWipeManagedAppRegistrationsByDeviceTagRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/user_item_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/user_item_request_builder.go index 1b8617d387..be53a34b19 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/user_item_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/user_item_request_builder.go @@ -21,7 +21,7 @@ type UserItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// UserItemRequestBuilderGetQueryParameters read properties and relationships of the user object. +// UserItemRequestBuilderGetQueryParameters retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. type UserItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -49,6 +49,11 @@ type UserItemRequestBuilderPatchRequestConfiguration struct { func (m *UserItemRequestBuilder) Activities()(*ItemActivitiesRequestBuilder) { return NewItemActivitiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// AdhocCalls provides operations to manage the adhocCalls property of the microsoft.graph.user entity. +// returns a *ItemAdhocCallsRequestBuilder when successful +func (m *UserItemRequestBuilder) AdhocCalls()(*ItemAdhocCallsRequestBuilder) { + return NewItemAdhocCallsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // AgreementAcceptances provides operations to manage the agreementAcceptances property of the microsoft.graph.user entity. // returns a *ItemAgreementAcceptancesRequestBuilder when successful func (m *UserItemRequestBuilder) AgreementAcceptances()(*ItemAgreementAcceptancesRequestBuilder) { @@ -114,6 +119,11 @@ func (m *UserItemRequestBuilder) CheckMemberObjects()(*ItemCheckMemberObjectsReq func (m *UserItemRequestBuilder) CloudClipboard()(*ItemCloudClipboardRequestBuilder) { return NewItemCloudClipboardRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// CloudPCs provides operations to manage the cloudPCs property of the microsoft.graph.user entity. +// returns a *ItemCloudPCsRequestBuilder when successful +func (m *UserItemRequestBuilder) CloudPCs()(*ItemCloudPCsRequestBuilder) { + return NewItemCloudPCsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // NewUserItemRequestBuilderInternal instantiates a new UserItemRequestBuilder and sets the default values. func NewUserItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UserItemRequestBuilder) { m := &UserItemRequestBuilder{ @@ -226,12 +236,12 @@ func (m *UserItemRequestBuilder) FindMeetingTimes()(*ItemFindMeetingTimesRequest func (m *UserItemRequestBuilder) FollowedSites()(*ItemFollowedSitesRequestBuilder) { return NewItemFollowedSitesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the user object. +// Get retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. // returns a Userable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-user-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-get?view=graph-rest-1.0 func (m *UserItemRequestBuilder) Get(ctx context.Context, requestConfiguration *UserItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -349,6 +359,11 @@ func (m *UserItemRequestBuilder) Onenote()(*ItemOnenoteRequestBuilder) { func (m *UserItemRequestBuilder) OnlineMeetings()(*ItemOnlineMeetingsRequestBuilder) { return NewItemOnlineMeetingsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// OnPremisesSyncBehavior provides operations to manage the onPremisesSyncBehavior property of the microsoft.graph.user entity. +// returns a *ItemOnPremisesSyncBehaviorRequestBuilder when successful +func (m *UserItemRequestBuilder) OnPremisesSyncBehavior()(*ItemOnPremisesSyncBehaviorRequestBuilder) { + return NewItemOnPremisesSyncBehaviorRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Outlook provides operations to manage the outlook property of the microsoft.graph.user entity. // returns a *ItemOutlookRequestBuilder when successful func (m *UserItemRequestBuilder) Outlook()(*ItemOutlookRequestBuilder) { @@ -369,7 +384,7 @@ func (m *UserItemRequestBuilder) OwnedObjects()(*ItemOwnedObjectsRequestBuilder) // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-user-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0 func (m *UserItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, requestConfiguration *UserItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -503,7 +518,7 @@ func (m *UserItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, func (m *UserItemRequestBuilder) Todo()(*ItemTodoRequestBuilder) { return NewItemTodoRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation read properties and relationships of the user object. +// ToGetRequestInformation retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. // returns a *RequestInformation when successful func (m *UserItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UserItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/users_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/users_request_builder.go index 2cb874e28f..d59870d15c 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/users_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/users/users_request_builder.go @@ -14,7 +14,7 @@ import ( type UsersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UsersRequestBuilderGetQueryParameters list properties and relationships of the user objects. +// UsersRequestBuilderGetQueryParameters retrieve a list of user objects. type UsersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -82,12 +82,12 @@ func (m *UsersRequestBuilder) Count()(*CountRequestBuilder) { func (m *UsersRequestBuilder) Delta()(*DeltaRequestBuilder) { return NewDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the user objects. +// Get retrieve a list of user objects. // returns a UserCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-user-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-list?view=graph-rest-1.0 func (m *UsersRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -138,7 +138,7 @@ func (m *UsersRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e64 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable), nil } -// ToGetRequestInformation list properties and relationships of the user objects. +// ToGetRequestInformation retrieve a list of user objects. // returns a *RequestInformation when successful func (m *UsersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/microsoftgraph/msgraph-sdk-go/userswithuserprincipalname/users_with_user_principal_name_request_builder.go b/vendor/github.com/microsoftgraph/msgraph-sdk-go/userswithuserprincipalname/users_with_user_principal_name_request_builder.go index 0feebfed00..79d5afacb5 100644 --- a/vendor/github.com/microsoftgraph/msgraph-sdk-go/userswithuserprincipalname/users_with_user_principal_name_request_builder.go +++ b/vendor/github.com/microsoftgraph/msgraph-sdk-go/userswithuserprincipalname/users_with_user_principal_name_request_builder.go @@ -21,7 +21,7 @@ type UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// UsersWithUserPrincipalNameRequestBuilderGetQueryParameters read properties and relationships of the user object. +// UsersWithUserPrincipalNameRequestBuilderGetQueryParameters retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. type UsersWithUserPrincipalNameRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -79,12 +79,12 @@ func (m *UsersWithUserPrincipalNameRequestBuilder) Delete(ctx context.Context, r } return nil } -// Get read properties and relationships of the user object. +// Get retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. // returns a Userable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-user-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-get?view=graph-rest-1.0 func (m *UsersWithUserPrincipalNameRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -107,7 +107,7 @@ func (m *UsersWithUserPrincipalNameRequestBuilder) Get(ctx context.Context, requ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-user-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0 func (m *UsersWithUserPrincipalNameRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, requestConfiguration *UsersWithUserPrincipalNameRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -136,7 +136,7 @@ func (m *UsersWithUserPrincipalNameRequestBuilder) ToDeleteRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the user object. +// ToGetRequestInformation retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. // returns a *RequestInformation when successful func (m *UsersWithUserPrincipalNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/vendor/github.com/onsi/gomega/CHANGELOG.md b/vendor/github.com/onsi/gomega/CHANGELOG.md index b7d7309f3f..91e65521b4 100644 --- a/vendor/github.com/onsi/gomega/CHANGELOG.md +++ b/vendor/github.com/onsi/gomega/CHANGELOG.md @@ -1,3 +1,18 @@ +## 1.39.1 + +Update all dependencies. This auto-updated the required version of Go to 1.24, consistent with the fact that Go 1.23 has been out of support for almost six months. + +## 1.39.0 + +### Features + +Add `MatchErrorStrictly` which only passes if `errors.Is(actual, expected)` returns true. `MatchError`, by contrast, will fallback to string comparison. + +## 1.38.3 + +### Fixes +make string formatitng more consistent for users who use format.Object directly + ## 1.38.2 - roll back to go 1.23.0 [c404969] diff --git a/vendor/github.com/onsi/gomega/format/format.go b/vendor/github.com/onsi/gomega/format/format.go index 96f04b2104..6c23ba338b 100644 --- a/vendor/github.com/onsi/gomega/format/format.go +++ b/vendor/github.com/onsi/gomega/format/format.go @@ -262,7 +262,7 @@ func Object(object any, indentation uint) string { if err, ok := object.(error); ok && !isNilValue(value) { // isNilValue check needed here to avoid nil deref due to boxed nil commonRepresentation += "\n" + IndentString(err.Error(), indentation) + "\n" + indent } - return fmt.Sprintf("%s<%s>: %s%s", indent, formatType(value), commonRepresentation, formatValue(value, indentation)) + return fmt.Sprintf("%s<%s>: %s%s", indent, formatType(value), commonRepresentation, formatValue(value, indentation, true)) } /* @@ -306,7 +306,7 @@ func formatType(v reflect.Value) string { } } -func formatValue(value reflect.Value, indentation uint) string { +func formatValue(value reflect.Value, indentation uint, isTopLevel bool) string { if indentation > MaxDepth { return "..." } @@ -367,11 +367,11 @@ func formatValue(value reflect.Value, indentation uint) string { case reflect.Func: return fmt.Sprintf("0x%x", value.Pointer()) case reflect.Ptr: - return formatValue(value.Elem(), indentation) + return formatValue(value.Elem(), indentation, isTopLevel) case reflect.Slice: return truncateLongStrings(formatSlice(value, indentation)) case reflect.String: - return truncateLongStrings(formatString(value.String(), indentation)) + return truncateLongStrings(formatString(value.String(), indentation, isTopLevel)) case reflect.Array: return truncateLongStrings(formatSlice(value, indentation)) case reflect.Map: @@ -392,8 +392,8 @@ func formatValue(value reflect.Value, indentation uint) string { } } -func formatString(object any, indentation uint) string { - if indentation == 1 { +func formatString(object any, indentation uint, isTopLevel bool) string { + if isTopLevel { s := fmt.Sprintf("%s", object) components := strings.Split(s, "\n") result := "" @@ -416,14 +416,14 @@ func formatString(object any, indentation uint) string { func formatSlice(v reflect.Value, indentation uint) string { if v.Kind() == reflect.Slice && v.Type().Elem().Kind() == reflect.Uint8 && isPrintableString(string(v.Bytes())) { - return formatString(v.Bytes(), indentation) + return formatString(v.Bytes(), indentation, false) } l := v.Len() result := make([]string, l) longest := 0 - for i := 0; i < l; i++ { - result[i] = formatValue(v.Index(i), indentation+1) + for i := range l { + result[i] = formatValue(v.Index(i), indentation+1, false) if len(result[i]) > longest { longest = len(result[i]) } @@ -443,7 +443,7 @@ func formatMap(v reflect.Value, indentation uint) string { longest := 0 for i, key := range v.MapKeys() { value := v.MapIndex(key) - result[i] = fmt.Sprintf("%s: %s", formatValue(key, indentation+1), formatValue(value, indentation+1)) + result[i] = fmt.Sprintf("%s: %s", formatValue(key, indentation+1, false), formatValue(value, indentation+1, false)) if len(result[i]) > longest { longest = len(result[i]) } @@ -462,10 +462,10 @@ func formatStruct(v reflect.Value, indentation uint) string { l := v.NumField() result := []string{} longest := 0 - for i := 0; i < l; i++ { + for i := range l { structField := t.Field(i) fieldEntry := v.Field(i) - representation := fmt.Sprintf("%s: %s", structField.Name, formatValue(fieldEntry, indentation+1)) + representation := fmt.Sprintf("%s: %s", structField.Name, formatValue(fieldEntry, indentation+1, false)) result = append(result, representation) if len(representation) > longest { longest = len(representation) @@ -479,7 +479,7 @@ func formatStruct(v reflect.Value, indentation uint) string { } func formatInterface(v reflect.Value, indentation uint) string { - return fmt.Sprintf("<%s>%s", formatType(v.Elem()), formatValue(v.Elem(), indentation)) + return fmt.Sprintf("<%s>%s", formatType(v.Elem()), formatValue(v.Elem(), indentation, false)) } func isNilValue(a reflect.Value) bool { diff --git a/vendor/github.com/onsi/gomega/gomega_dsl.go b/vendor/github.com/onsi/gomega/gomega_dsl.go index fdba34ee9d..87c70692bf 100644 --- a/vendor/github.com/onsi/gomega/gomega_dsl.go +++ b/vendor/github.com/onsi/gomega/gomega_dsl.go @@ -22,7 +22,7 @@ import ( "github.com/onsi/gomega/types" ) -const GOMEGA_VERSION = "1.38.2" +const GOMEGA_VERSION = "1.39.1" const nilGomegaPanic = `You are trying to make an assertion, but haven't registered Gomega's fail handler. If you're using Ginkgo then you probably forgot to put your assertion in an It(). diff --git a/vendor/github.com/onsi/gomega/matchers.go b/vendor/github.com/onsi/gomega/matchers.go index 10b6693fd6..16ca8f46dc 100644 --- a/vendor/github.com/onsi/gomega/matchers.go +++ b/vendor/github.com/onsi/gomega/matchers.go @@ -146,6 +146,24 @@ func MatchError(expected any, functionErrorDescription ...any) types.GomegaMatch } } +// MatchErrorStrictly succeeds iff actual is a non-nil error that matches the passed in +// expected error according to errors.Is(actual, expected). +// +// This behavior differs from MatchError where +// +// Expect(errors.New("some error")).To(MatchError(errors.New("some error"))) +// +// succeeds, but errors.Is would return false so: +// +// Expect(errors.New("some error")).To(MatchErrorStrictly(errors.New("some error"))) +// +// fails. +func MatchErrorStrictly(expected error) types.GomegaMatcher { + return &matchers.MatchErrorStrictlyMatcher{ + Expected: expected, + } +} + // BeClosed succeeds if actual is a closed channel. // It is an error to pass a non-channel to BeClosed, it is also an error to pass nil // @@ -515,8 +533,8 @@ func HaveExistingField(field string) types.GomegaMatcher { // and even interface values. // // actual := 42 -// Expect(actual).To(HaveValue(42)) -// Expect(&actual).To(HaveValue(42)) +// Expect(actual).To(HaveValue(Equal(42))) +// Expect(&actual).To(HaveValue(Equal(42))) func HaveValue(matcher types.GomegaMatcher) types.GomegaMatcher { return &matchers.HaveValueMatcher{ Matcher: matcher, diff --git a/vendor/github.com/onsi/gomega/matchers/have_key_matcher.go b/vendor/github.com/onsi/gomega/matchers/have_key_matcher.go index 9e16dcf5d6..16630c18e3 100644 --- a/vendor/github.com/onsi/gomega/matchers/have_key_matcher.go +++ b/vendor/github.com/onsi/gomega/matchers/have_key_matcher.go @@ -39,7 +39,7 @@ func (matcher *HaveKeyMatcher) Match(actual any) (success bool, err error) { } keys := reflect.ValueOf(actual).MapKeys() - for i := 0; i < len(keys); i++ { + for i := range keys { success, err := keyMatcher.Match(keys[i].Interface()) if err != nil { return false, fmt.Errorf("HaveKey's key matcher failed with:\n%s%s", format.Indent, err.Error()) diff --git a/vendor/github.com/onsi/gomega/matchers/have_key_with_value_matcher.go b/vendor/github.com/onsi/gomega/matchers/have_key_with_value_matcher.go index 1c53f1e56a..0cd7081532 100644 --- a/vendor/github.com/onsi/gomega/matchers/have_key_with_value_matcher.go +++ b/vendor/github.com/onsi/gomega/matchers/have_key_with_value_matcher.go @@ -52,7 +52,7 @@ func (matcher *HaveKeyWithValueMatcher) Match(actual any) (success bool, err err } keys := reflect.ValueOf(actual).MapKeys() - for i := 0; i < len(keys); i++ { + for i := range keys { success, err := keyMatcher.Match(keys[i].Interface()) if err != nil { return false, fmt.Errorf("HaveKeyWithValue's key matcher failed with:\n%s%s", format.Indent, err.Error()) diff --git a/vendor/github.com/onsi/gomega/matchers/match_error_strictly_matcher.go b/vendor/github.com/onsi/gomega/matchers/match_error_strictly_matcher.go new file mode 100644 index 0000000000..63969b2663 --- /dev/null +++ b/vendor/github.com/onsi/gomega/matchers/match_error_strictly_matcher.go @@ -0,0 +1,39 @@ +package matchers + +import ( + "errors" + "fmt" + + "github.com/onsi/gomega/format" +) + +type MatchErrorStrictlyMatcher struct { + Expected error +} + +func (matcher *MatchErrorStrictlyMatcher) Match(actual any) (success bool, err error) { + + if isNil(matcher.Expected) { + return false, fmt.Errorf("Expected error is nil, use \"ToNot(HaveOccurred())\" to explicitly check for nil errors") + } + + if isNil(actual) { + return false, fmt.Errorf("Expected an error, got nil") + } + + if !isError(actual) { + return false, fmt.Errorf("Expected an error. Got:\n%s", format.Object(actual, 1)) + } + + actualErr := actual.(error) + + return errors.Is(actualErr, matcher.Expected), nil +} + +func (matcher *MatchErrorStrictlyMatcher) FailureMessage(actual any) (message string) { + return format.Message(actual, "to match error", matcher.Expected) +} + +func (matcher *MatchErrorStrictlyMatcher) NegatedFailureMessage(actual any) (message string) { + return format.Message(actual, "not to match error", matcher.Expected) +} diff --git a/vendor/github.com/onsi/gomega/matchers/support/goraph/edge/edge.go b/vendor/github.com/onsi/gomega/matchers/support/goraph/edge/edge.go index 8c38411b28..72edba20f7 100644 --- a/vendor/github.com/onsi/gomega/matchers/support/goraph/edge/edge.go +++ b/vendor/github.com/onsi/gomega/matchers/support/goraph/edge/edge.go @@ -1,6 +1,9 @@ package edge -import . "github.com/onsi/gomega/matchers/support/goraph/node" +import ( + . "github.com/onsi/gomega/matchers/support/goraph/node" + "slices" +) type Edge struct { Node1 int @@ -20,13 +23,7 @@ func (ec EdgeSet) Free(node Node) bool { } func (ec EdgeSet) Contains(edge Edge) bool { - for _, e := range ec { - if e == edge { - return true - } - } - - return false + return slices.Contains(ec, edge) } func (ec EdgeSet) FindByNodes(node1, node2 Node) (Edge, bool) { diff --git a/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/cmd/cmdrun/runsuite.go b/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/cmd/cmdrun/runsuite.go index d81d07cb2b..998fd70409 100644 --- a/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/cmd/cmdrun/runsuite.go +++ b/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/cmd/cmdrun/runsuite.go @@ -2,9 +2,11 @@ package cmdrun import ( "context" + "encoding/json" "fmt" "os" "os/signal" + "path/filepath" "syscall" "time" @@ -22,11 +24,13 @@ func NewRunSuiteCommand(registry *extension.Registry) *cobra.Command { outputFlags *flags.OutputFlags concurrencyFlags *flags.ConcurrencyFlags junitPath string + htmlPath string }{ componentFlags: flags.NewComponentFlags(), outputFlags: flags.NewOutputFlags(), concurrencyFlags: flags.NewConcurrencyFlags(), junitPath: "", + htmlPath: "", } cmd := &cobra.Command{ @@ -88,6 +92,14 @@ func NewRunSuiteCommand(registry *extension.Registry) *cobra.Command { } compositeWriter.AddWriter(junitWriter) } + // HTML writer if needed + if opts.htmlPath != "" { + htmlWriter, err := extensiontests.NewHTMLResultWriter(opts.htmlPath, suite.Name) + if err != nil { + return errors.Wrap(err, "couldn't create html writer") + } + compositeWriter.AddWriter(htmlWriter) + } // JSON writer jsonWriter, err := extensiontests.NewJSONResultWriter(os.Stdout, @@ -102,13 +114,40 @@ func NewRunSuiteCommand(registry *extension.Registry) *cobra.Command { return errors.Wrap(err, "couldn't filter specs") } - return specs.Run(ctx, compositeWriter, opts.concurrencyFlags.MaxConcurency) + concurrency := opts.concurrencyFlags.MaxConcurency + if suite.Parallelism > 0 { + concurrency = min(concurrency, suite.Parallelism) + } + results, runErr := specs.Run(ctx, compositeWriter, concurrency) + if opts.junitPath != "" { + // we want to commit the results to disk regardless of the success or failure of the specs + if err := writeResults(opts.junitPath, results); err != nil { + fmt.Fprintf(os.Stderr, "Failed to write test results to disk: %v\n", err) + } + } + return runErr }, } opts.componentFlags.BindFlags(cmd.Flags()) opts.outputFlags.BindFlags(cmd.Flags()) opts.concurrencyFlags.BindFlags(cmd.Flags()) cmd.Flags().StringVarP(&opts.junitPath, "junit-path", "j", opts.junitPath, "write results to junit XML") + cmd.Flags().StringVar(&opts.htmlPath, "html-path", opts.htmlPath, "write results to summary HTML") return cmd } + +func writeResults(jUnitPath string, results []*extensiontests.ExtensionTestResult) error { + jUnitDir := filepath.Dir(jUnitPath) + if err := os.MkdirAll(jUnitDir, 0755); err != nil { + return fmt.Errorf("failed to create output directory: %v", err) + } + + encodedResults, err := json.MarshalIndent(results, "", " ") + if err != nil { + return fmt.Errorf("failed to marshal results: %v", err) + } + + outputPath := filepath.Join(jUnitDir, fmt.Sprintf("extension_test_result_e2e_%s.json", time.Now().UTC().Format("20060102-150405"))) + return os.WriteFile(outputPath, encodedResults, 0644) +} diff --git a/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/cmd/cmdrun/runtest.go b/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/cmd/cmdrun/runtest.go index c06894ed99..c62021e7ec 100644 --- a/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/cmd/cmdrun/runtest.go +++ b/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/cmd/cmdrun/runtest.go @@ -3,9 +3,9 @@ package cmdrun import ( "bufio" "context" + "errors" "fmt" "os" - "errors" "os/signal" "syscall" "time" @@ -100,7 +100,8 @@ func NewRunTestCommand(registry *extension.Registry) *cobra.Command { } defer w.Flush() - return specs.Run(ctx, w, opts.concurrencyFlags.MaxConcurency) + _, err = specs.Run(ctx, w, opts.concurrencyFlags.MaxConcurency) + return err }, } opts.componentFlags.BindFlags(cmd.Flags()) diff --git a/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/extension/extensiontests/result.go b/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/extension/extensiontests/result.go index 2e36969fe6..9c03a0a84b 100644 --- a/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/extension/extensiontests/result.go +++ b/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/extension/extensiontests/result.go @@ -1,8 +1,12 @@ package extensiontests import ( + "bytes" + _ "embed" + "encoding/json" "fmt" "strings" + "text/template" "github.com/openshift-eng/openshift-tests-extension/pkg/junit" ) @@ -67,3 +71,55 @@ func (results ExtensionTestResults) ToJUnit(suiteName string) junit.TestSuite { return suite } + +//go:embed viewer.html +var viewerHtml []byte + +// RenderResultsHTML renders the HTML viewer template with the provided JSON data. +// The caller is responsible for marshaling their results to JSON. This allows +// callers with different result struct types to use the same HTML viewer. +func RenderResultsHTML(jsonData []byte, suiteName string) ([]byte, error) { + tmpl, err := template.New("viewer").Parse(string(viewerHtml)) + if err != nil { + return nil, fmt.Errorf("failed to parse template: %w", err) + } + var out bytes.Buffer + if err := tmpl.Execute(&out, struct { + Data string + SuiteName string + }{ + string(jsonData), + suiteName, + }); err != nil { + return nil, fmt.Errorf("failed to execute template: %w", err) + } + return out.Bytes(), nil +} + +func (results ExtensionTestResults) ToHTML(suiteName string) ([]byte, error) { + encoded, err := json.Marshal(results) + if err != nil { + return nil, fmt.Errorf("failed to marshal extension test results: %w", err) + } + // pare down the output if there's a lot, we want this to load in some reasonable amount of time + if len(encoded) > 2<<20 { + // n.b. this is wasteful, but we want to mutate our inputs in a safe manner, so the encode/decode/encode + // pass is useful as a deep copy + var copiedResults ExtensionTestResults + if err := json.Unmarshal(encoded, &copiedResults); err != nil { + return nil, fmt.Errorf("failed to unmarshal extension test results: %w", err) + } + copiedResults.Walk(func(result *ExtensionTestResult) { + if result.Result == ResultPassed { + result.Error = "" + result.Output = "" + result.Details = nil + } + }) + encoded, err = json.Marshal(copiedResults) + if err != nil { + return nil, fmt.Errorf("failed to marshal extension test results: %w", err) + } + } + return RenderResultsHTML(encoded, suiteName) +} diff --git a/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/extension/extensiontests/result_writer.go b/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/extension/extensiontests/result_writer.go index aedc409c17..f9ca434cad 100644 --- a/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/extension/extensiontests/result_writer.go +++ b/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/extension/extensiontests/result_writer.go @@ -124,8 +124,9 @@ func NewJSONResultWriter(out io.Writer, format ResultFormat) (*JSONResultWriter, } return &JSONResultWriter{ - out: out, - format: format, + out: out, + format: format, + results: ExtensionTestResults{}, }, nil } @@ -162,3 +163,51 @@ func (w *JSONResultWriter) Flush() error { return nil } + +type HTMLResultWriter struct { + lock sync.Mutex + testSuite *junit.TestSuite + out *os.File + suiteName string + path string + results ExtensionTestResults +} + +func NewHTMLResultWriter(path, suiteName string) (ResultWriter, error) { + file, err := os.Create(path) + if err != nil { + return nil, err + } + + return &HTMLResultWriter{ + testSuite: &junit.TestSuite{ + Name: suiteName, + }, + out: file, + suiteName: suiteName, + path: path, + }, nil +} + +func (w *HTMLResultWriter) Write(res *ExtensionTestResult) { + w.lock.Lock() + defer w.lock.Unlock() + w.results = append(w.results, res) +} + +func (w *HTMLResultWriter) Flush() error { + w.lock.Lock() + defer w.lock.Unlock() + data, err := w.results.ToHTML(w.suiteName) + if err != nil { + return fmt.Errorf("failed to create result HTML: %w", err) + } + if _, err := w.out.Write(data); err != nil { + return err + } + if err := w.out.Close(); err != nil { + return err + } + + return nil +} \ No newline at end of file diff --git a/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/extension/extensiontests/spec.go b/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/extension/extensiontests/spec.go index 4ac540dc24..e87809c8a2 100644 --- a/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/extension/extensiontests/spec.go +++ b/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/extension/extensiontests/spec.go @@ -3,6 +3,7 @@ package extensiontests import ( "context" "fmt" + "os" "strings" "sync" "sync/atomic" @@ -106,18 +107,32 @@ func (specs ExtensionTestSpecs) MustSelectAll(selectFns []SelectFunction) (Exten return filtered, nil } -// ModuleTestsOnly ensures that ginkgo tests from vendored sources aren't selected, -// except for the Origin extended util packages, that may contain Ginkgo nodes but -// should not cause a test exclusion. +// ModuleTestsOnly ensures that ginkgo tests from vendored sources aren't selected. Unfortunately, making +// use of kubernetes test helpers results in the entire Ginkgo suite being initialized (ginkgo loves global state), +// so we need to be careful about which tests we select. +// +// A test is excluded if ALL of its code locations with full paths are external (vendored or from external test +// suites). If at least one code location with a full path is from the local module, the test is included, because +// local tests may legitimately call helper functions from vendored test frameworks. func ModuleTestsOnly() SelectFunction { return func(spec *ExtensionTestSpec) bool { + hasLocalCode := false + for _, cl := range spec.CodeLocations { - if strings.Contains(cl, "/vendor/") && !strings.Contains(cl, "github.com/openshift/origin/test/extended/util") { - return false + // Short-form code locations (e.g., "set up framework | framework.go:200") are ignored in this determination. + if !strings.Contains(cl, "/") { + continue + } + + // If this code location is not external (vendored or k8s test), it's local code + if !(strings.Contains(cl, "/vendor/") || strings.HasPrefix(cl, "k8s.io/kubernetes")) { + hasLocalCode = true + break } } - return true + // Include the test only if it has at least one local code location + return hasLocalCode } } @@ -181,9 +196,10 @@ func (specs ExtensionTestSpecs) Names() []string { // are written to the given ResultWriter after each spec has completed execution. BeforeEach, // BeforeAll, AfterEach, AfterAll hooks are executed when specified. "Each" hooks must be thread // safe. Returns an error if any test spec failed, indicating the quantity of failures. -func (specs ExtensionTestSpecs) Run(ctx context.Context, w ResultWriter, maxConcurrent int) error { +func (specs ExtensionTestSpecs) Run(ctx context.Context, w ResultWriter, maxConcurrent int) ([]*ExtensionTestResult, error) { queue := make(chan *ExtensionTestSpec) - failures := atomic.Int64{} + terminalFailures := atomic.Int64{} + nonTerminalFailures := atomic.Int64{} // Execute beforeAll for _, spec := range specs { @@ -208,6 +224,7 @@ func (specs ExtensionTestSpecs) Run(ctx context.Context, w ResultWriter, maxConc // Start consumers var wg sync.WaitGroup + resultChan := make(chan *ExtensionTestResult, len(specs)) for i := 0; i < maxConcurrent; i++ { wg.Add(1) go func() { @@ -219,7 +236,11 @@ func (specs ExtensionTestSpecs) Run(ctx context.Context, w ResultWriter, maxConc res := runSpec(ctx, spec, runSingleSpec) if res.Result == ResultFailed { - failures.Add(1) + if res.Lifecycle.IsTerminal() { + terminalFailures.Add(1) + } else { + nonTerminalFailures.Add(1) + } } for _, afterEachTask := range spec.afterEach { @@ -230,12 +251,14 @@ func (specs ExtensionTestSpecs) Run(ctx context.Context, w ResultWriter, maxConc // it does, we may want to modify it (e.g. k8s-tests for annotations currently). res.Name = spec.Name w.Write(res) + resultChan <- res } }() } // Wait for all consumers to finish wg.Wait() + close(resultChan) // Execute afterAll for _, spec := range specs { @@ -244,11 +267,28 @@ func (specs ExtensionTestSpecs) Run(ctx context.Context, w ResultWriter, maxConc } } - failCount := failures.Load() - if failCount > 0 { - return fmt.Errorf("%d tests failed", failCount) + var results []*ExtensionTestResult + for res := range resultChan { + results = append(results, res) } - return nil + + terminalFailCount := terminalFailures.Load() + nonTerminalFailCount := nonTerminalFailures.Load() + + // Non-terminal failures don't cause exit 1, but we still log them + if nonTerminalFailCount > 0 { + fmt.Fprintf(os.Stderr, "%d informing tests failed (not terminal)\n", nonTerminalFailCount) + } + + // Only exit with error if terminal lifecycle tests failed + if terminalFailCount > 0 { + if nonTerminalFailCount > 0 { + return results, fmt.Errorf("%d tests failed (%d informing)", terminalFailCount+nonTerminalFailCount, nonTerminalFailCount) + } + return results, fmt.Errorf("%d tests failed", terminalFailCount) + } + + return results, nil } // AddBeforeAll adds a function to be run once before all tests start executing. diff --git a/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/extension/extensiontests/types.go b/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/extension/extensiontests/types.go index a1143cc717..cd23be81ff 100644 --- a/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/extension/extensiontests/types.go +++ b/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/extension/extensiontests/types.go @@ -12,6 +12,12 @@ type Lifecycle string var LifecycleInforming Lifecycle = "informing" var LifecycleBlocking Lifecycle = "blocking" +// IsTerminal returns true if failures in tests with this lifecycle should cause +// the test run to exit with a non-zero exit code. +func (l Lifecycle) IsTerminal() bool { + return l != LifecycleInforming +} + type ExtensionTestSpecs []*ExtensionTestSpec type ExtensionTestSpec struct { @@ -68,8 +74,10 @@ type Resources struct { } type Isolation struct { - Mode string `json:"mode,omitempty"` - Conflict []string `json:"conflict,omitempty"` + Mode string `json:"mode,omitempty"` + Conflict []string `json:"conflict,omitempty"` + Taint []string `json:"taint,omitempty"` + Toleration []string `json:"toleration,omitempty"` } type EnvironmentSelector struct { diff --git a/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/extension/extensiontests/viewer.html b/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/extension/extensiontests/viewer.html new file mode 100644 index 0000000000..2ff236aa32 --- /dev/null +++ b/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/extension/extensiontests/viewer.html @@ -0,0 +1,1520 @@ + + + + + + Results for {{ .SuiteName }} + + + +
+
+

+ + + + + Results for {{ .SuiteName }} +

+

No file loaded

+
+ +
+

Load Test Results

+

Drag and drop a JSON test results file here, or click to browse

+ +
+ + + + +
+ + + + + diff --git a/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/extension/types.go b/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/extension/types.go index 3b51674f4a..00d2d9d663 100644 --- a/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/extension/types.go +++ b/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/extension/types.go @@ -88,4 +88,7 @@ type Image struct { Registry string `json:"registry"` Name string `json:"name"` Version string `json:"version"` + // Mapped is the image reference that this image is mirrored to by the image mirror tool. + // This field should be populated if the mirrored image reference is predetermined by the test extensions. + Mapped *Image `json:"mapped,omitempty"` } diff --git a/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/ginkgo/logging.go b/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/ginkgo/logging.go index 0b84ca41cf..1cf299a7c0 100644 --- a/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/ginkgo/logging.go +++ b/vendor/github.com/openshift-eng/openshift-tests-extension/pkg/ginkgo/logging.go @@ -17,5 +17,9 @@ func GinkgoLogrFunc(writer ginkgo.GinkgoWriterInterface) logr.Logger { } else { writer.Printf("%s %s\n", prefix, args) } - }, funcr.Options{}) + }, funcr.Options{ + // LogTimestamp adds timestamps to log lines using the format "2006-01-02 15:04:05.000000" + // See: https://github.com/go-logr/logr/blob/bb8ea8159175ccb4eddf4ac8704f84e40ac6d9b0/funcr/funcr.go#L211 + LogTimestamp: true, + }) } diff --git a/vendor/github.com/openshift/api/.ci-operator.yaml b/vendor/github.com/openshift/api/.ci-operator.yaml index e307e5af66..284a910090 100644 --- a/vendor/github.com/openshift/api/.ci-operator.yaml +++ b/vendor/github.com/openshift/api/.ci-operator.yaml @@ -1,4 +1,4 @@ build_root_image: name: release namespace: openshift - tag: rhel-9-release-golang-1.24-openshift-4.21 + tag: rhel-9-release-golang-1.24-openshift-4.22 diff --git a/vendor/github.com/openshift/api/.coderabbit.yaml b/vendor/github.com/openshift/api/.coderabbit.yaml new file mode 100644 index 0000000000..a3ee2d122e --- /dev/null +++ b/vendor/github.com/openshift/api/.coderabbit.yaml @@ -0,0 +1,29 @@ +language: en-US +reviews: + profile: chill + high_level_summary: false + review_status: true + commit_status: true + collapse_walkthrough: true + changed_files_summary: false + sequence_diagrams: false + estimate_code_review_effort: false + poem: false + suggested_labels: false + path_filters: + - "!payload-manifests" + - "!**/zz_generated.crd-manifests/*" # Contains files + - "!**/zz_generated.featuregated-crd-manifests/**" # Contains folders + - "!openapi/**" + - "!**/vendor/**" + - "!vendor/**" + tools: + golangci-lint: + enabled: true +knowledge_base: + code_guidelines: + enabled: true + filePatterns: + - AGENTS.md + learnings: + scope: local diff --git a/vendor/github.com/openshift/api/.golangci.go-validated.yaml b/vendor/github.com/openshift/api/.golangci.go-validated.yaml index 44c73149d4..ed8fcdbe2d 100644 --- a/vendor/github.com/openshift/api/.golangci.go-validated.yaml +++ b/vendor/github.com/openshift/api/.golangci.go-validated.yaml @@ -12,6 +12,7 @@ linters: linters: enable: - optionalfields + - nonpointerstructs disable: - "*" lintersConfig: diff --git a/vendor/github.com/openshift/api/.golangci.yaml b/vendor/github.com/openshift/api/.golangci.yaml index 649f9bed35..1f1c43fc46 100644 --- a/vendor/github.com/openshift/api/.golangci.yaml +++ b/vendor/github.com/openshift/api/.golangci.yaml @@ -11,15 +11,28 @@ linters: settings: linters: enable: + - forbiddenmarkers - maxlength + - minlength + - namingconventions - nobools - nomaps + - preferredmarkers - statussubresource + disable: + - statusoptional # This is legacy and not something we currently recommend. + - nonpointerstructs # This is intended for native types, not CRD types. lintersConfig: conditions: isFirstField: Warn usePatchStrategy: Ignore useProtobuf: Ignore + forbiddenmarkers: + markers: + - identifier: "openshift:enable:FeatureSets" + - identifier: "openshift:validation:FeatureSetAwareEnum" + - identifier: "openshift:validation:FeatureSetAwareXValidation" + - identifier: "kubebuilder:validation:UniqueItems" optionalfields: pointers: preference: WhenRequired @@ -33,7 +46,12 @@ linters: # This will force omitzero on optional struct fields. # This means they can be omitted correctly and prevents the need for pointers to structs. policy: SuggestFix - requiredFields: + preferredmarkers: + markers: + - preferredIdentifier: "kubebuilder:validation:XValidation" + equivalentIdentifiers: + - identifier: "kubebuilder:validation:Pattern" # Use CEL expressions instead to allow more expressive error messages. + requiredfields: pointers: # This will force pointers when the field is required, but only when the zero # value is a valid user choice, and has a semantic difference to being omitted (e.g. replicas allows 0). @@ -47,7 +65,16 @@ linters: # This will force omitzero on required struct fields. # This means they can be omitted correctly and prevents the need for pointers to structs. policy: SuggestFix - uniqueMarkers: + namingconventions: + conventions: + - name: nokind + violationMatcher: "^Kind$" + operation: Replacement + replacement: "Resource" + message: "API Kinds can be ambiguous and should be replaced with Resource" + noreferences: + policy: NoReferences + uniquemarkers: customMarkers: - identifier: "openshift:validation:FeatureGateAwareEnum" attributes: @@ -79,6 +106,11 @@ linters: # This regex must always be updated in tandem with the regex in .golangci.go-validated.yaml that prevents `optionalfields` from being applied to the files in the path. path: machine/v1beta1/(types_awsprovider.go|types_azureprovider.go|types_gcpprovider.go|types_vsphereprovider.go)|machine/v1alpha1/types_openstack.go text: "optionalfields" + - linters: + - kubeapilinter + # Silence norefs lint for `Ref` field in ClusterAPI as it refers to an OCI image reference, not a kube object reference. + path: operator/v1alpha1/types_clusterapi.go + text: "noreferences: naming convention \"no-references\": field ClusterAPIInstallerComponentImage.Ref: field names should not contain reference-related words" issues: # We have a lot of existing issues. # Want to make sure that those adding new fields have an diff --git a/vendor/github.com/openshift/api/AGENTS.md b/vendor/github.com/openshift/api/AGENTS.md index a009bbb2de..991ed62579 100644 --- a/vendor/github.com/openshift/api/AGENTS.md +++ b/vendor/github.com/openshift/api/AGENTS.md @@ -32,6 +32,29 @@ make clean # Clean build artifacts make update # Alias for update-codegen-crds ``` +#### Targeted Code Generation +When working on a specific API group/version, you can regenerate only the affected CRDs instead of all CRDs: + +```bash +# Regenerate CRDs for a specific API group/version +make update-codegen API_GROUP_VERSIONS=operator.openshift.io/v1alpha1 +make update-codegen API_GROUP_VERSIONS=config.openshift.io/v1 +make update-codegen API_GROUP_VERSIONS=route.openshift.io/v1 + +# Multiple API groups can be specified with comma separation +make update-codegen API_GROUP_VERSIONS=operator.openshift.io/v1alpha1,config.openshift.io/v1 +``` + +**Important:** While using `API_GROUP_VERSIONS` is faster for iteration (e.g., when developing tests), +it generates invalid OpenAPI data. This targeted generation is useful during development cycles, but you +**must run `make update`** (without `API_GROUP_VERSIONS`) to regenerate all files correctly before +committing changes. The full `make update` ensures all generated files, including OpenAPI schemas, are +properly synchronized. + +**Workflow:** +- During iteration: `make update-codegen API_GROUP_VERSIONS=your.group/v1` (fast feedback) +- Before committing: `make update` (ensures correctness) + ### Testing ```bash make test-unit # Run unit tests diff --git a/vendor/github.com/openshift/api/Dockerfile.ocp b/vendor/github.com/openshift/api/Dockerfile.ocp index 45d24f4fcc..65bd2228ad 100644 --- a/vendor/github.com/openshift/api/Dockerfile.ocp +++ b/vendor/github.com/openshift/api/Dockerfile.ocp @@ -1,10 +1,10 @@ -FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.24-openshift-4.21 AS builder +FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.24-openshift-4.22 AS builder WORKDIR /go/src/github.com/openshift/api COPY . . ENV GO_PACKAGE github.com/openshift/api RUN make build --warn-undefined-variables -FROM registry.ci.openshift.org/ocp/4.21:base-rhel9 +FROM registry.ci.openshift.org/ocp/4.22:base-rhel9 # copy the built binaries to /usr/bin COPY --from=builder /go/src/github.com/openshift/api/render /usr/bin/ diff --git a/vendor/github.com/openshift/api/Makefile b/vendor/github.com/openshift/api/Makefile index 58dff0cf34..9b32b58e43 100644 --- a/vendor/github.com/openshift/api/Makefile +++ b/vendor/github.com/openshift/api/Makefile @@ -17,10 +17,8 @@ test-unit: # # BEGIN: Update codegen-crds. Defaults to generating updates for all API packages. # To run a subset of packages: -# - Filter by group with make update-codegen-crds- -# E.g. make update-codegen-crds-machine -# - Set API_GROUP_VERSIONS to a space separated list of /. -# E.g. API_GROUP_VERSIONS="apps/v1 build/v1" make update-codegen-crds. +# - Set API_GROUP_VERSIONS to a space separated list of fully qualified /. +# E.g. API_GROUP_VERSIONS="apps.openshift.io/v1 build.openshift.io/v1" make update-codegen-crds. # FeatureSet generation is controlled at the group level by the # .codegen.yaml file. # @@ -104,8 +102,8 @@ verify-%: ################################################################################################ # # BEGIN: Update scripts. Defaults to generating updates for all API packages. -# Set API_GROUP_VERSIONS to a space separated list of / to limit -# the scope of the updates. Eg API_GROUP_VERSIONS="apps/v1 build/v1" make update-scripts. +# Set API_GROUP_VERSIONS to a space separated list of fully qualified / to limit +# the scope of the updates. Eg API_GROUP_VERSIONS="apps.openshift.io/v1 build.openshift.io/v1" make update-scripts. # Note: Protobuf generation is handled separately, see hack/lib/init.sh. # ################################################################################################ @@ -116,15 +114,17 @@ update-scripts: update-compatibility update-openapi update-deepcopy update-proto # Update codegen runs all generators in the order they are defined in the root.go file. # The per group generators are:[compatibility, deepcopy, swagger-docs, empty-partial-schema, schema-patch, crd-manifest-merge] # The multi group generators are:[openapi] +# The payload generation must come after these generators have run so they are included here as well, rather than in update-non-codegen. .PHONY: update-codegen update-codegen: hack/update-codegen.sh + make update-payload-crds update-payload-featuregates # Update non-codegen runs all generators that are not part of the codegen utility, or # are part of it, but are not run by default when invoking codegen without a specific generator. # E.g. the payload feature gates which is not part of the generator style, but is still a subcommand. .PHONY: update-non-codegen -update-non-codegen: update-protobuf tests-vendor update-prerelease-lifecycle-gen update-payload-crds update-payload-featuregates +update-non-codegen: update-protobuf tests-vendor update-prerelease-lifecycle-gen .PHONY: update-compatibility update-compatibility: diff --git a/vendor/github.com/openshift/api/apiextensions/install.go b/vendor/github.com/openshift/api/apiextensions/install.go new file mode 100644 index 0000000000..adaca4d6ba --- /dev/null +++ b/vendor/github.com/openshift/api/apiextensions/install.go @@ -0,0 +1,26 @@ +package apiextensions + +import ( + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + + apiextensionsv1alpha1 "github.com/openshift/api/apiextensions/v1alpha1" +) + +const ( + GroupName = "apiextensions.openshift.io" +) + +var ( + schemeBuilder = runtime.NewSchemeBuilder(apiextensionsv1alpha1.Install) + // Install is a function which adds every version of this group to a scheme + Install = schemeBuilder.AddToScheme +) + +func Resource(resource string) schema.GroupResource { + return schema.GroupResource{Group: GroupName, Resource: resource} +} + +func Kind(kind string) schema.GroupKind { + return schema.GroupKind{Group: GroupName, Kind: kind} +} diff --git a/vendor/github.com/openshift/api/apiextensions/v1alpha1/Makefile b/vendor/github.com/openshift/api/apiextensions/v1alpha1/Makefile new file mode 100644 index 0000000000..6cf1a197f7 --- /dev/null +++ b/vendor/github.com/openshift/api/apiextensions/v1alpha1/Makefile @@ -0,0 +1,3 @@ +.PHONY: test +test: + make -C ../../tests test GINKGO_EXTRA_ARGS=--focus="apiextensions.openshift.io/v1alpha1" diff --git a/vendor/github.com/openshift/api/apiextensions/v1alpha1/doc.go b/vendor/github.com/openshift/api/apiextensions/v1alpha1/doc.go new file mode 100644 index 0000000000..e5d665fbbc --- /dev/null +++ b/vendor/github.com/openshift/api/apiextensions/v1alpha1/doc.go @@ -0,0 +1,8 @@ +// +k8s:deepcopy-gen=package,register +// +k8s:defaulter-gen=TypeMeta +// +k8s:openapi-gen=true +// +openshift:featuregated-schema-gen=true + +// +groupName=apiextensions.openshift.io +// Package v1alpha1 is the v1alpha1 version of the API. +package v1alpha1 diff --git a/vendor/github.com/openshift/api/apiextensions/v1alpha1/register.go b/vendor/github.com/openshift/api/apiextensions/v1alpha1/register.go new file mode 100644 index 0000000000..a2f99e2a50 --- /dev/null +++ b/vendor/github.com/openshift/api/apiextensions/v1alpha1/register.go @@ -0,0 +1,39 @@ +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" +) + +var ( + GroupName = "apiextensions.openshift.io" + GroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"} + schemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + // Install is a function which adds this version to a scheme + Install = schemeBuilder.AddToScheme + + // SchemeGroupVersion generated code relies on this name + // Deprecated + SchemeGroupVersion = GroupVersion + // AddToScheme exists solely to keep the old generators creating valid code + // DEPRECATED + AddToScheme = schemeBuilder.AddToScheme +) + +// Resource generated code relies on this being here, but it logically belongs to the group +// DEPRECATED +func Resource(resource string) schema.GroupResource { + return schema.GroupResource{Group: GroupName, Resource: resource} +} + +func addKnownTypes(scheme *runtime.Scheme) error { + metav1.AddToGroupVersion(scheme, GroupVersion) + + scheme.AddKnownTypes(GroupVersion, + &CompatibilityRequirement{}, + &CompatibilityRequirementList{}, + ) + + return nil +} diff --git a/vendor/github.com/openshift/api/apiextensions/v1alpha1/types_compatibilityrequirement.go b/vendor/github.com/openshift/api/apiextensions/v1alpha1/types_compatibilityrequirement.go new file mode 100644 index 0000000000..5abbfec7c1 --- /dev/null +++ b/vendor/github.com/openshift/api/apiextensions/v1alpha1/types_compatibilityrequirement.go @@ -0,0 +1,388 @@ +package v1alpha1 + +import ( + admissionregistrationv1 "k8s.io/api/admissionregistration/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +// +genclient +// +genclient:nonNamespaced +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// CompatibilityRequirement expresses a set of requirements on a target CRD. +// It is used to ensure compatibility between different actors using the same +// CRD. +// +// Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support. +// +openshift:compatibility-gen:level=4 +// +openshift:file-pattern=cvoRunLevel=0000_20,operatorName=crd-compatibility-checker,operatorOrdering=01 +// +openshift:enable:FeatureGate=CRDCompatibilityRequirementOperator +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +// +kubebuilder:resource:path=compatibilityrequirements,scope=Cluster +// +openshift:api-approved.openshift.io=https://github.com/openshift/api/pull/2479 +// +kubebuilder:metadata:annotations="release.openshift.io/feature-gate=CRDCompatibilityRequirementOperator" +type CompatibilityRequirement struct { + metav1.TypeMeta `json:",inline"` + + // metadata is the standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +required + metav1.ObjectMeta `json:"metadata,omitzero"` + + // spec is the specification of the desired behavior of the Compatibility Requirement. + // +required + Spec CompatibilityRequirementSpec `json:"spec,omitzero"` + + // status is the most recently observed status of the Compatibility Requirement. + // +optional + Status CompatibilityRequirementStatus `json:"status,omitzero"` +} + +// CompatibilityRequirementSpec is the specification of the desired behavior of the Compatibility Requirement. +type CompatibilityRequirementSpec struct { + // compatibilitySchema defines the schema used by + // customResourceDefinitionSchemaValidation and objectSchemaValidation. + // This field is required. + // +required + CompatibilitySchema CompatibilitySchema `json:"compatibilitySchema,omitzero"` + + // customResourceDefinitionSchemaValidation ensures that updates to the + // installed CRD are compatible with this compatibility requirement. If not + // specified, admission of the target CRD will not be validated. + // This field is optional. + // +optional + CustomResourceDefinitionSchemaValidation CustomResourceDefinitionSchemaValidation `json:"customResourceDefinitionSchemaValidation,omitzero"` + + // objectSchemaValidation ensures that matching resources conform to + // compatibilitySchema. If not specified, admission of matching resources + // will not be validated. + // This field is optional. + // +optional + ObjectSchemaValidation ObjectSchemaValidation `json:"objectSchemaValidation,omitzero"` +} + +// CRDDataType indicates the type of the CRD data. +// +kubebuilder:validation:Enum=YAML +type CRDDataType string + +const ( + // CRDDataTypeYAML indicates that the CRD data is in YAML format. + CRDDataTypeYAML CRDDataType = "YAML" +) + +// CRDData contains the complete definition of a CRD. +type CRDData struct { + // type indicates the type of the CRD data. The only supported type is "YAML". + // This field is required. + // +required + Type CRDDataType `json:"type,omitempty"` + + // data contains the complete definition of the CRD. This field must be in + // the format specified by the type field. It may not be longer than 1572864 + // characters. + // This field is required. + // +kubebuilder:validation:MinLength=1 + // +kubebuilder:validation:MaxLength=1572864 + // +required + Data string `json:"data,omitempty"` +} + +// APIVersionSelectionType specifies a method for automatically selecting a +// set of API versions to require. +// +kubebuilder:validation:Enum=StorageOnly;AllServed +type APIVersionSelectionType string + +const ( + APIVersionSetTypeStorageOnly APIVersionSelectionType = "StorageOnly" + APIVersionSetTypeAllServed APIVersionSelectionType = "AllServed" +) + +// APIVersionString is a string representing a kubernetes API version. +// +kubebuilder:validation:MinLength=1 +// +kubebuilder:validation:MaxLength=63 +// +kubebuilder:validation:XValidation:rule="!format.dns1035Label().validate(self).hasValue()",message="It must contain only lower-case alphanumeric characters and hyphens and must start with an alphabetic character and end with an alphanumeric character" +type APIVersionString string + +// APIVersions specifies a set of API versions of a CRD. +// +kubebuilder:validation:XValidation:rule="self.defaultSelection != 'AllServed' || !has(self.additionalVersions)",message="additionalVersions may not be defined when defaultSelection is 'AllServed'" +type APIVersions struct { + // defaultSelection specifies a method for automatically selecting a set of + // versions to require. + // + // Valid options are StorageOnly and AllServed. + // When set to StorageOnly, only the storage version is selected for + // compatibility assessment. + // When set to AllServed, all served versions are selected for compatibility + // assessment. + // + // This field is required. + // +required + DefaultSelection APIVersionSelectionType `json:"defaultSelection,omitempty"` + + // additionalVersions specifies a set api versions to require in addition to + // the default selection. It is explicitly permitted to specify a version in + // additionalVersions which was also selected by the default selection. The + // selections will be merged and deduplicated. + // + // Each item must be at most 63 characters in length, and must must consist + // of only lowercase alphanumeric characters and hyphens, and must start + // with an alphabetic character and end with an alphanumeric character.// with an alphabetic character and end with an alphanumeric character. + // At most 32 additional versions may be specified. + // + // +kubebuilder:validation:MinItems=1 + // +kubebuilder:validation:MaxItems=32 + // +listType=set + // +optional + AdditionalVersions []APIVersionString `json:"additionalVersions,omitempty"` +} + +// APIExcludedField describes a field in the schema which will not be validated by +// crdSchemaValidation or objectSchemaValidation. +type APIExcludedField struct { + // path is the path to the field in the schema. + // Paths are dot-separated field names (e.g., "fieldA.fieldB.fieldC") representing nested object fields. + // If part of the path is a slice (e.g., "status.conditions") the remaining path is applied to all items in the slice + // (e.g., "status.conditions.lastTransitionTimestamp"). + // Each field name must be a valid Kubernetes CRD field name: start with a letter, contain only + // letters, digits, and underscores, and be between 1 and 63 characters in length. + // A path may contain at most 16 fields. + // +kubebuilder:validation:MinLength=1 + // +kubebuilder:validation:MaxLength=1023 + // +kubebuilder:validation:XValidation:rule="self.split('.').size() <= 16",message="There may be at most 16 fields in the path." + // +kubebuilder:validation:XValidation:rule="self.split('.', 16).all(f, f.matches('^[a-zA-Z][a-zA-Z0-9_]{0,62}$'))",message="path must be dot-separated field names, each starting with a letter and containing only letters, digits, and underscores not exceeding 63 characters. There may be at most 16 fields in the path." + // +required + Path string `json:"path,omitempty"` + + // versions are the API versions the field is excluded from. + // When not specified, the field is excluded from all versions. + // + // Each item must be at most 63 characters in length, and must must + // consist of only lowercase alphanumeric characters and hyphens, and must + // start with an alphabetic character and end with an alphanumeric + // character. + // At most 32 versions may be specified. + // + // +kubebuilder:validation:MinItems=1 + // +kubebuilder:validation:MaxItems=32 + // +listType=set + // +optional + Versions []APIVersionString `json:"versions,omitempty"` +} + +// CompatibilitySchema defines the schema used by crdSchemaValidation and objectSchemaValidation. +type CompatibilitySchema struct { + // customResourceDefinition contains the complete definition of the CRD for schema and object validation purposes. + // This field is required. + // +required + CustomResourceDefinition CRDData `json:"customResourceDefinition,omitzero"` + + // requiredVersions specifies a subset of the CRD's API versions which will be asserted for compatibility. + // This field is required. + // +required + RequiredVersions APIVersions `json:"requiredVersions,omitzero"` + + // excludedFields is a set of fields in the schema which will not be validated by + // crdSchemaValidation or objectSchemaValidation. + // The list may contain at most 64 fields. + // When not specified, all fields in the schema will be validated. + // +kubebuilder:validation:MinItems=1 + // +kubebuilder:validation:MaxItems=64 + // +listType=atomic + // +optional + ExcludedFields []APIExcludedField `json:"excludedFields,omitempty"` +} + +// CustomResourceDefinitionSchemaValidation ensures that updates to the installed CRD are compatible with this compatibility requirement. +type CustomResourceDefinitionSchemaValidation struct { + // action determines whether violations are rejected (Deny) or admitted with an API warning (Warn). + // Valid options are Deny and Warn. + // When set to Deny, incompatible CRDs will be rejected and not admitted to the cluster. + // When set to Warn, incompatible CRDs will be allowed but a warning will be generated in the API response. + // This field is required. + // +required + Action CRDAdmitAction `json:"action,omitempty"` +} + +// ObjectSchemaValidation ensures that matching objects conform to the compatibilitySchema. +type ObjectSchemaValidation struct { + // action determines whether violations are rejected (Deny) or admitted with an API warning (Warn). + // Valid options are Deny and Warn. + // When set to Deny, incompatible Objects will be rejected and not admitted to the cluster. + // When set to Warn, incompatible Objects will be allowed but a warning will be generated in the API response. + // This field is required. + // +required + Action CRDAdmitAction `json:"action,omitempty"` + + // namespaceSelector defines a label selector for namespaces. If defined, + // only objects in a namespace with matching labels will be subject to + // validation. When not specified, objects for validation will not be + // filtered by namespace. + // +kubebuilder:validation:XValidation:rule="size(self.matchLabels) > 0 || size(self.matchExpressions) > 0",message="must have at least one of matchLabels or matchExpressions when specified" + // +optional + NamespaceSelector metav1.LabelSelector `json:"namespaceSelector,omitempty"` + // objectSelector defines a label selector for objects. If defined, only + // objects with matching labels will be subject to validation. When not + // specified, objects for validation will not be filtered by label. + // +kubebuilder:validation:XValidation:rule="size(self.matchLabels) > 0 || size(self.matchExpressions) > 0",message="must have at least one of matchLabels or matchExpressions when specified" + // +optional + ObjectSelector metav1.LabelSelector `json:"objectSelector,omitempty"` + + // matchConditions defines the matchConditions field of the resulting ValidatingWebhookConfiguration. + // When present, must contain between 1 and 64 match conditions. + // When not specified, the webhook will match all requests according to its other selectors. + // +listType=map + // +listMapKey=name + // +kubebuilder:validation:MinItems=1 + // +kubebuilder:validation:MaxItems=64 + // +optional + MatchConditions []admissionregistrationv1.MatchCondition `json:"matchConditions,omitempty"` +} + +// CRDAdmitAction determines the action taken when a CRD is not compatible. +// +kubebuilder:validation:Enum=Deny;Warn +// +enum +type CRDAdmitAction string + +const ( + // CRDAdmitActionDeny means that incompatible CRDs will be rejected. + CRDAdmitActionDeny CRDAdmitAction = "Deny" + + // CRDAdmitActionWarn means that incompatible CRDs will be allowed but a warning will be generated. + CRDAdmitActionWarn CRDAdmitAction = "Warn" +) + +// CompatibilityRequirement's Progressing condition and corresponding reasons. +const ( + // CompatibilityRequirementProgressing is false if the spec has been + // completely reconciled against the condition's observed generation. + // True indicates that reconciliation is still in progress and the current status does not represent + // a stable state. Progressing false with an error reason indicates that the object cannot be reconciled. + CompatibilityRequirementProgressing string = "Progressing" + + // CompatibilityRequirementConfigurationErrorReason indicates that + // reconciliation cannot progress due to an invalid spec. The controller + // will not reconcile this object again until the spec is updated. + CompatibilityRequirementConfigurationErrorReason string = "ConfigurationError" + + // CompatibilityRequirementTransientErrorReason indicates that + // reconciliation failed due to an error that can be retried. + CompatibilityRequirementTransientErrorReason string = "TransientError" + + // CompatibilityRequirementUpToDateReason surfaces when reconciliation + // completed successfully for the condition's observed generation. + CompatibilityRequirementUpToDateReason string = "UpToDate" +) + +// CompatibilityRequirement's Admitted condition and corresponding reasons. +const ( + // CompatibilityRequirementAdmitted is true if the requirement has been configured in the validating webhook, + // otherwise false. + CompatibilityRequirementAdmitted string = "Admitted" + + // CompatibilityRequirementAdmittedReason surfaces when the requirement has been configured in the validating webhook. + CompatibilityRequirementAdmittedReason string = "Admitted" + + // CompatibilityRequirementNotAdmittedReason surfaces when the requirement has not been configured in the validating webhook. + CompatibilityRequirementNotAdmittedReason string = "NotAdmitted" +) + +// CompatibilityRequirement's Compatible condition and corresponding reasons. +const ( + // CompatibilityRequirementCompatible is true if the observed CRD is compatible with the requirement, + // otherwise false. Note that Compatible may be false when adding a new requirement which the existing + // CRD does not meet. + CompatibilityRequirementCompatible string = "Compatible" + + // CompatibilityRequirementRequirementsNotMetReason surfaces when a CRD exists, and it is not compatible with this requirement. + CompatibilityRequirementRequirementsNotMetReason string = "RequirementsNotMet" + + // CompatibilityRequirementCRDNotFoundReason surfaces when the referenced CRD does not exist. + CompatibilityRequirementCRDNotFoundReason string = "CRDNotFound" + + // CompatibilityRequirementCompatibleWithWarningsReason surfaces when the CRD exists and is compatible with this requirement, but Message contains one or more warning messages. + CompatibilityRequirementCompatibleWithWarningsReason string = "CompatibleWithWarnings" + + // CompatibilityRequirementCompatibleReason surfaces when the CRD exists and is compatible with this requirement. + CompatibilityRequirementCompatibleReason string = "Compatible" +) + +// CompatibilityRequirementStatus defines the observed status of the Compatibility Requirement. +// +kubebuilder:validation:MinProperties=1 +// +kubebuilder:validation:XValidation:rule="!has(oldSelf.crdName) || has(self.crdName) && oldSelf.crdName == self.crdName",message="crdName cannot be changed once set" +type CompatibilityRequirementStatus struct { + // conditions is a list of conditions and their status. + // Known condition types are Progressing, Admitted, and Compatible. + // + // The Progressing condition indicates if reconciliation of a CompatibilityRequirement is still + // progressing or has finished. + // + // The Admitted condition indicates if the validating webhook has been configured. + // + // The Compatible condition indicates if the observed CRD is compatible with the requirement. + // + // +optional + // +listType=map + // +listMapKey=type + // +kubebuilder:validation:MinItems=1 + // +kubebuilder:validation:MaxItems=32 + Conditions []metav1.Condition `json:"conditions,omitempty"` + + // observedCRD documents the uid and generation of the CRD object when the current status was written. + // This field will be omitted if the target CRD does not exist or could not be retrieved. + // +optional + ObservedCRD ObservedCRD `json:"observedCRD,omitzero"` + + // crdName is the name of the target CRD. The target CRD is not required to + // exist, as we may legitimately place requirements on it before it is + // created. The observed CRD is given in status.observedCRD, which will be + // empty if no CRD is observed. + // When present, must be between 1 and 253 characters and conform to RFC 1123 subdomain format: + // lowercase alphanumeric characters, '-' or '.', starting and ending with alphanumeric characters. + // When not specified, the requirement applies to any CRD name discovered from the compatibility schema. + // This field is optional. Once set, the value cannot be changed and must always remain set. + // +kubebuilder:validation:MinLength=1 + // +kubebuilder:validation:MaxLength=253 + // +kubebuilder:validation:XValidation:rule="!format.dns1123Subdomain().validate(self).hasValue()",message="a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character." + // +optional + CRDName string `json:"crdName,omitempty"` +} + +// ObservedCRD contains information about the observed target CRD. +// +kubebuilder:validation:XValidation:rule="oldSelf.uid != self.uid || self.generation >= oldSelf.generation",message="generation may only increase on the same CRD" +type ObservedCRD struct { + // uid is the uid of the observed CRD. + // Must be a valid UUID consisting of lowercase hexadecimal digits in 5 hyphenated blocks (8-4-4-4-12 format). + // Length must be between 1 and 36 characters. + // +kubebuilder:validation:MinLength=1 + // +kubebuilder:validation:MaxLength=36 + // +kubebuilder:validation:Format=uuid + // +required + UID string `json:"uid,omitempty"` + + // generation is the observed generation of the CRD. + // Must be a positive integer (minimum value of 1). + // +kubebuilder:validation:Minimum=1 + // +required + Generation int64 `json:"generation,omitempty"` +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// CompatibilityRequirementList is a collection of CompatibilityRequirements. +// +// Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support. +// +openshift:compatibility-gen:level=4 +type CompatibilityRequirementList struct { + metav1.TypeMeta `json:",inline"` + + // metadata is the standard list's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + metav1.ListMeta `json:"metadata,omitzero"` + + // items is a list of CompatibilityRequirements. + // +kubebuilder:validation:MaxItems=1000 + // +optional + Items []CompatibilityRequirement `json:"items,omitempty"` +} diff --git a/vendor/github.com/openshift/api/apiextensions/v1alpha1/zz_generated.deepcopy.go b/vendor/github.com/openshift/api/apiextensions/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 0000000000..a9ff411a88 --- /dev/null +++ b/vendor/github.com/openshift/api/apiextensions/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,254 @@ +//go:build !ignore_autogenerated +// +build !ignore_autogenerated + +// Code generated by codegen. DO NOT EDIT. + +package v1alpha1 + +import ( + admissionregistrationv1 "k8s.io/api/admissionregistration/v1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *APIExcludedField) DeepCopyInto(out *APIExcludedField) { + *out = *in + if in.Versions != nil { + in, out := &in.Versions, &out.Versions + *out = make([]APIVersionString, len(*in)) + copy(*out, *in) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIExcludedField. +func (in *APIExcludedField) DeepCopy() *APIExcludedField { + if in == nil { + return nil + } + out := new(APIExcludedField) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *APIVersions) DeepCopyInto(out *APIVersions) { + *out = *in + if in.AdditionalVersions != nil { + in, out := &in.AdditionalVersions, &out.AdditionalVersions + *out = make([]APIVersionString, len(*in)) + copy(*out, *in) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIVersions. +func (in *APIVersions) DeepCopy() *APIVersions { + if in == nil { + return nil + } + out := new(APIVersions) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CRDData) DeepCopyInto(out *CRDData) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CRDData. +func (in *CRDData) DeepCopy() *CRDData { + if in == nil { + return nil + } + out := new(CRDData) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CompatibilityRequirement) DeepCopyInto(out *CompatibilityRequirement) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompatibilityRequirement. +func (in *CompatibilityRequirement) DeepCopy() *CompatibilityRequirement { + if in == nil { + return nil + } + out := new(CompatibilityRequirement) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CompatibilityRequirement) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CompatibilityRequirementList) DeepCopyInto(out *CompatibilityRequirementList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CompatibilityRequirement, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompatibilityRequirementList. +func (in *CompatibilityRequirementList) DeepCopy() *CompatibilityRequirementList { + if in == nil { + return nil + } + out := new(CompatibilityRequirementList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CompatibilityRequirementList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CompatibilityRequirementSpec) DeepCopyInto(out *CompatibilityRequirementSpec) { + *out = *in + in.CompatibilitySchema.DeepCopyInto(&out.CompatibilitySchema) + out.CustomResourceDefinitionSchemaValidation = in.CustomResourceDefinitionSchemaValidation + in.ObjectSchemaValidation.DeepCopyInto(&out.ObjectSchemaValidation) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompatibilityRequirementSpec. +func (in *CompatibilityRequirementSpec) DeepCopy() *CompatibilityRequirementSpec { + if in == nil { + return nil + } + out := new(CompatibilityRequirementSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CompatibilityRequirementStatus) DeepCopyInto(out *CompatibilityRequirementStatus) { + *out = *in + if in.Conditions != nil { + in, out := &in.Conditions, &out.Conditions + *out = make([]v1.Condition, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + out.ObservedCRD = in.ObservedCRD + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompatibilityRequirementStatus. +func (in *CompatibilityRequirementStatus) DeepCopy() *CompatibilityRequirementStatus { + if in == nil { + return nil + } + out := new(CompatibilityRequirementStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CompatibilitySchema) DeepCopyInto(out *CompatibilitySchema) { + *out = *in + out.CustomResourceDefinition = in.CustomResourceDefinition + in.RequiredVersions.DeepCopyInto(&out.RequiredVersions) + if in.ExcludedFields != nil { + in, out := &in.ExcludedFields, &out.ExcludedFields + *out = make([]APIExcludedField, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompatibilitySchema. +func (in *CompatibilitySchema) DeepCopy() *CompatibilitySchema { + if in == nil { + return nil + } + out := new(CompatibilitySchema) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomResourceDefinitionSchemaValidation) DeepCopyInto(out *CustomResourceDefinitionSchemaValidation) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionSchemaValidation. +func (in *CustomResourceDefinitionSchemaValidation) DeepCopy() *CustomResourceDefinitionSchemaValidation { + if in == nil { + return nil + } + out := new(CustomResourceDefinitionSchemaValidation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ObjectSchemaValidation) DeepCopyInto(out *ObjectSchemaValidation) { + *out = *in + in.NamespaceSelector.DeepCopyInto(&out.NamespaceSelector) + in.ObjectSelector.DeepCopyInto(&out.ObjectSelector) + if in.MatchConditions != nil { + in, out := &in.MatchConditions, &out.MatchConditions + *out = make([]admissionregistrationv1.MatchCondition, len(*in)) + copy(*out, *in) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectSchemaValidation. +func (in *ObjectSchemaValidation) DeepCopy() *ObjectSchemaValidation { + if in == nil { + return nil + } + out := new(ObjectSchemaValidation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ObservedCRD) DeepCopyInto(out *ObservedCRD) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObservedCRD. +func (in *ObservedCRD) DeepCopy() *ObservedCRD { + if in == nil { + return nil + } + out := new(ObservedCRD) + in.DeepCopyInto(out) + return out +} diff --git a/vendor/github.com/openshift/api/apiextensions/v1alpha1/zz_generated.featuregated-crd-manifests.yaml b/vendor/github.com/openshift/api/apiextensions/v1alpha1/zz_generated.featuregated-crd-manifests.yaml new file mode 100644 index 0000000000..433546401c --- /dev/null +++ b/vendor/github.com/openshift/api/apiextensions/v1alpha1/zz_generated.featuregated-crd-manifests.yaml @@ -0,0 +1,24 @@ +compatibilityrequirements.apiextensions.openshift.io: + Annotations: + release.openshift.io/feature-gate: CRDCompatibilityRequirementOperator + ApprovedPRNumber: https://github.com/openshift/api/pull/2479 + CRDName: compatibilityrequirements.apiextensions.openshift.io + Capability: "" + Category: "" + FeatureGates: + - CRDCompatibilityRequirementOperator + FilenameOperatorName: crd-compatibility-checker + FilenameOperatorOrdering: "01" + FilenameRunLevel: "0000_20" + GroupName: apiextensions.openshift.io + HasStatus: true + KindName: CompatibilityRequirement + Labels: {} + PluralName: compatibilityrequirements + PrinterColumns: [] + Scope: Cluster + ShortNames: null + TopLevelFeatureGates: + - CRDCompatibilityRequirementOperator + Version: v1alpha1 + diff --git a/vendor/github.com/openshift/api/apiextensions/v1alpha1/zz_generated.swagger_doc_generated.go b/vendor/github.com/openshift/api/apiextensions/v1alpha1/zz_generated.swagger_doc_generated.go new file mode 100644 index 0000000000..a9a4e707e7 --- /dev/null +++ b/vendor/github.com/openshift/api/apiextensions/v1alpha1/zz_generated.swagger_doc_generated.go @@ -0,0 +1,129 @@ +package v1alpha1 + +// This file contains a collection of methods that can be used from go-restful to +// generate Swagger API documentation for its models. Please read this PR for more +// information on the implementation: https://github.com/emicklei/go-restful/pull/215 +// +// TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if +// they are on one line! For multiple line or blocks that you want to ignore use ---. +// Any context after a --- is ignored. +// +// Those methods can be generated by using hack/update-swagger-docs.sh + +// AUTO-GENERATED FUNCTIONS START HERE +var map_APIExcludedField = map[string]string{ + "": "APIExcludedField describes a field in the schema which will not be validated by crdSchemaValidation or objectSchemaValidation.", + "path": "path is the path to the field in the schema. Paths are dot-separated field names (e.g., \"fieldA.fieldB.fieldC\") representing nested object fields. If part of the path is a slice (e.g., \"status.conditions\") the remaining path is applied to all items in the slice (e.g., \"status.conditions.lastTransitionTimestamp\"). Each field name must be a valid Kubernetes CRD field name: start with a letter, contain only letters, digits, and underscores, and be between 1 and 63 characters in length. A path may contain at most 16 fields.", + "versions": "versions are the API versions the field is excluded from. When not specified, the field is excluded from all versions.\n\nEach item must be at most 63 characters in length, and must must consist of only lowercase alphanumeric characters and hyphens, and must start with an alphabetic character and end with an alphanumeric character. At most 32 versions may be specified.", +} + +func (APIExcludedField) SwaggerDoc() map[string]string { + return map_APIExcludedField +} + +var map_APIVersions = map[string]string{ + "": "APIVersions specifies a set of API versions of a CRD.", + "defaultSelection": "defaultSelection specifies a method for automatically selecting a set of versions to require.\n\nValid options are StorageOnly and AllServed. When set to StorageOnly, only the storage version is selected for compatibility assessment. When set to AllServed, all served versions are selected for compatibility assessment.\n\nThis field is required.", + "additionalVersions": "additionalVersions specifies a set api versions to require in addition to the default selection. It is explicitly permitted to specify a version in additionalVersions which was also selected by the default selection. The selections will be merged and deduplicated.\n\nEach item must be at most 63 characters in length, and must must consist of only lowercase alphanumeric characters and hyphens, and must start with an alphabetic character and end with an alphanumeric character.// with an alphabetic character and end with an alphanumeric character. At most 32 additional versions may be specified.", +} + +func (APIVersions) SwaggerDoc() map[string]string { + return map_APIVersions +} + +var map_CRDData = map[string]string{ + "": "CRDData contains the complete definition of a CRD.", + "type": "type indicates the type of the CRD data. The only supported type is \"YAML\". This field is required.", + "data": "data contains the complete definition of the CRD. This field must be in the format specified by the type field. It may not be longer than 1572864 characters. This field is required.", +} + +func (CRDData) SwaggerDoc() map[string]string { + return map_CRDData +} + +var map_CompatibilityRequirement = map[string]string{ + "": "CompatibilityRequirement expresses a set of requirements on a target CRD. It is used to ensure compatibility between different actors using the same CRD.\n\nCompatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.", + "metadata": "metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "spec": "spec is the specification of the desired behavior of the Compatibility Requirement.", + "status": "status is the most recently observed status of the Compatibility Requirement.", +} + +func (CompatibilityRequirement) SwaggerDoc() map[string]string { + return map_CompatibilityRequirement +} + +var map_CompatibilityRequirementList = map[string]string{ + "": "CompatibilityRequirementList is a collection of CompatibilityRequirements.\n\nCompatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.", + "metadata": "metadata is the standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "items": "items is a list of CompatibilityRequirements.", +} + +func (CompatibilityRequirementList) SwaggerDoc() map[string]string { + return map_CompatibilityRequirementList +} + +var map_CompatibilityRequirementSpec = map[string]string{ + "": "CompatibilityRequirementSpec is the specification of the desired behavior of the Compatibility Requirement.", + "compatibilitySchema": "compatibilitySchema defines the schema used by customResourceDefinitionSchemaValidation and objectSchemaValidation. This field is required.", + "customResourceDefinitionSchemaValidation": "customResourceDefinitionSchemaValidation ensures that updates to the installed CRD are compatible with this compatibility requirement. If not specified, admission of the target CRD will not be validated. This field is optional.", + "objectSchemaValidation": "objectSchemaValidation ensures that matching resources conform to compatibilitySchema. If not specified, admission of matching resources will not be validated. This field is optional.", +} + +func (CompatibilityRequirementSpec) SwaggerDoc() map[string]string { + return map_CompatibilityRequirementSpec +} + +var map_CompatibilityRequirementStatus = map[string]string{ + "": "CompatibilityRequirementStatus defines the observed status of the Compatibility Requirement.", + "conditions": "conditions is a list of conditions and their status. Known condition types are Progressing, Admitted, and Compatible.\n\nThe Progressing condition indicates if reconciliation of a CompatibilityRequirement is still progressing or has finished.\n\nThe Admitted condition indicates if the validating webhook has been configured.\n\nThe Compatible condition indicates if the observed CRD is compatible with the requirement.", + "observedCRD": "observedCRD documents the uid and generation of the CRD object when the current status was written. This field will be omitted if the target CRD does not exist or could not be retrieved.", + "crdName": "crdName is the name of the target CRD. The target CRD is not required to exist, as we may legitimately place requirements on it before it is created. The observed CRD is given in status.observedCRD, which will be empty if no CRD is observed. When present, must be between 1 and 253 characters and conform to RFC 1123 subdomain format: lowercase alphanumeric characters, '-' or '.', starting and ending with alphanumeric characters. When not specified, the requirement applies to any CRD name discovered from the compatibility schema. This field is optional. Once set, the value cannot be changed and must always remain set.", +} + +func (CompatibilityRequirementStatus) SwaggerDoc() map[string]string { + return map_CompatibilityRequirementStatus +} + +var map_CompatibilitySchema = map[string]string{ + "": "CompatibilitySchema defines the schema used by crdSchemaValidation and objectSchemaValidation.", + "customResourceDefinition": "customResourceDefinition contains the complete definition of the CRD for schema and object validation purposes. This field is required.", + "requiredVersions": "requiredVersions specifies a subset of the CRD's API versions which will be asserted for compatibility. This field is required.", + "excludedFields": "excludedFields is a set of fields in the schema which will not be validated by crdSchemaValidation or objectSchemaValidation. The list may contain at most 64 fields. When not specified, all fields in the schema will be validated.", +} + +func (CompatibilitySchema) SwaggerDoc() map[string]string { + return map_CompatibilitySchema +} + +var map_CustomResourceDefinitionSchemaValidation = map[string]string{ + "": "CustomResourceDefinitionSchemaValidation ensures that updates to the installed CRD are compatible with this compatibility requirement.", + "action": "action determines whether violations are rejected (Deny) or admitted with an API warning (Warn). Valid options are Deny and Warn. When set to Deny, incompatible CRDs will be rejected and not admitted to the cluster. When set to Warn, incompatible CRDs will be allowed but a warning will be generated in the API response. This field is required.", +} + +func (CustomResourceDefinitionSchemaValidation) SwaggerDoc() map[string]string { + return map_CustomResourceDefinitionSchemaValidation +} + +var map_ObjectSchemaValidation = map[string]string{ + "": "ObjectSchemaValidation ensures that matching objects conform to the compatibilitySchema.", + "action": "action determines whether violations are rejected (Deny) or admitted with an API warning (Warn). Valid options are Deny and Warn. When set to Deny, incompatible Objects will be rejected and not admitted to the cluster. When set to Warn, incompatible Objects will be allowed but a warning will be generated in the API response. This field is required.", + "namespaceSelector": "namespaceSelector defines a label selector for namespaces. If defined, only objects in a namespace with matching labels will be subject to validation. When not specified, objects for validation will not be filtered by namespace.", + "objectSelector": "objectSelector defines a label selector for objects. If defined, only objects with matching labels will be subject to validation. When not specified, objects for validation will not be filtered by label.", + "matchConditions": "matchConditions defines the matchConditions field of the resulting ValidatingWebhookConfiguration. When present, must contain between 1 and 64 match conditions. When not specified, the webhook will match all requests according to its other selectors.", +} + +func (ObjectSchemaValidation) SwaggerDoc() map[string]string { + return map_ObjectSchemaValidation +} + +var map_ObservedCRD = map[string]string{ + "": "ObservedCRD contains information about the observed target CRD.", + "uid": "uid is the uid of the observed CRD. Must be a valid UUID consisting of lowercase hexadecimal digits in 5 hyphenated blocks (8-4-4-4-12 format). Length must be between 1 and 36 characters.", + "generation": "generation is the observed generation of the CRD. Must be a positive integer (minimum value of 1).", +} + +func (ObservedCRD) SwaggerDoc() map[string]string { + return map_ObservedCRD +} + +// AUTO-GENERATED FUNCTIONS END HERE diff --git a/vendor/github.com/openshift/api/config/v1/types_apiserver.go b/vendor/github.com/openshift/api/config/v1/types_apiserver.go index 0afe7b1d8d..31d8881858 100644 --- a/vendor/github.com/openshift/api/config/v1/types_apiserver.go +++ b/vendor/github.com/openshift/api/config/v1/types_apiserver.go @@ -212,6 +212,7 @@ type APIServerEncryption struct { // +openshift:validation:FeatureGateAwareEnum:featureGate="",enum="";identity;aescbc;aesgcm // +openshift:validation:FeatureGateAwareEnum:featureGate=KMSEncryptionProvider,enum="";identity;aescbc;aesgcm;KMS +// +openshift:validation:FeatureGateAwareEnum:featureGate=KMSEncryption,enum="";identity;aescbc;aesgcm;KMS type EncryptionType string const ( diff --git a/vendor/github.com/openshift/api/config/v1/types_authentication.go b/vendor/github.com/openshift/api/config/v1/types_authentication.go index 52a41b2fef..e7433281f4 100644 --- a/vendor/github.com/openshift/api/config/v1/types_authentication.go +++ b/vendor/github.com/openshift/api/config/v1/types_authentication.go @@ -5,7 +5,7 @@ import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" // +genclient // +genclient:nonNamespaced // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object -// +openshift:validation:FeatureGateAwareXValidation:featureGate=ExternalOIDC;ExternalOIDCWithUIDAndExtraClaimMappings,rule="!has(self.spec.oidcProviders) || self.spec.oidcProviders.all(p, !has(p.oidcClients) || p.oidcClients.all(specC, self.status.oidcClients.exists(statusC, statusC.componentNamespace == specC.componentNamespace && statusC.componentName == specC.componentName) || (has(oldSelf.spec.oidcProviders) && oldSelf.spec.oidcProviders.exists(oldP, oldP.name == p.name && has(oldP.oidcClients) && oldP.oidcClients.exists(oldC, oldC.componentNamespace == specC.componentNamespace && oldC.componentName == specC.componentName)))))",message="all oidcClients in the oidcProviders must match their componentName and componentNamespace to either a previously configured oidcClient or they must exist in the status.oidcClients" +// +openshift:validation:FeatureGateAwareXValidation:featureGate=ExternalOIDC;ExternalOIDCWithUIDAndExtraClaimMappings;ExternalOIDCWithUpstreamParity,rule="!has(self.spec.oidcProviders) || self.spec.oidcProviders.all(p, !has(p.oidcClients) || p.oidcClients.all(specC, self.status.oidcClients.exists(statusC, statusC.componentNamespace == specC.componentNamespace && statusC.componentName == specC.componentName) || (has(oldSelf.spec.oidcProviders) && oldSelf.spec.oidcProviders.exists(oldP, oldP.name == p.name && has(oldP.oidcClients) && oldP.oidcClients.exists(oldC, oldC.componentNamespace == specC.componentNamespace && oldC.componentName == specC.componentName)))))",message="all oidcClients in the oidcProviders must match their componentName and componentNamespace to either a previously configured oidcClient or they must exist in the status.oidcClients" // Authentication specifies cluster-wide settings for authentication (like OAuth and // webhook token authenticators). The canonical name of an instance is `cluster`. @@ -80,8 +80,7 @@ type AuthenticationSpec struct { // +optional ServiceAccountIssuer string `json:"serviceAccountIssuer"` - // oidcProviders are OIDC identity providers that can issue tokens - // for this cluster + // oidcProviders are OIDC identity providers that can issue tokens for this cluster // Can only be set if "Type" is set to "OIDC". // // At most one provider can be configured. @@ -91,6 +90,7 @@ type AuthenticationSpec struct { // +kubebuilder:validation:MaxItems=1 // +openshift:enable:FeatureGate=ExternalOIDC // +openshift:enable:FeatureGate=ExternalOIDCWithUIDAndExtraClaimMappings + // +openshift:enable:FeatureGate=ExternalOIDCWithUpstreamParity // +optional OIDCProviders []OIDCProvider `json:"oidcProviders,omitempty"` } @@ -112,8 +112,7 @@ type AuthenticationStatus struct { // +optional IntegratedOAuthMetadata ConfigMapNameReference `json:"integratedOAuthMetadata"` - // oidcClients is where participating operators place the current OIDC client status - // for OIDC clients that can be customized by the cluster-admin. + // oidcClients is where participating operators place the current OIDC client status for OIDC clients that can be customized by the cluster-admin. // // +listType=map // +listMapKey=componentNamespace @@ -145,8 +144,7 @@ type AuthenticationType string const ( // None means that no cluster managed authentication system is in place. - // Note that user login will only work if a manually configured system is in place and - // referenced in authentication spec via oauthMetadata and + // Note that user login will only work if a manually configured system is in place and referenced in authentication spec via oauthMetadata and // webhookTokenAuthenticator/oidcProviders AuthenticationTypeNone AuthenticationType = "None" @@ -198,10 +196,8 @@ const ( ) type OIDCProvider struct { - // name is a required field that configures the unique human-readable identifier - // associated with the identity provider. - // It is used to distinguish between multiple identity providers - // and has no impact on token validation or authentication mechanics. + // name is a required field that configures the unique human-readable identifier associated with the identity provider. + // It is used to distinguish between multiple identity providers and has no impact on token validation or authentication mechanics. // // name must not be an empty string (""). // @@ -209,15 +205,12 @@ type OIDCProvider struct { // +required Name string `json:"name"` - // issuer is a required field that configures how the platform interacts - // with the identity provider and how tokens issued from the identity provider - // are evaluated by the Kubernetes API server. + // issuer is a required field that configures how the platform interacts with the identity provider and how tokens issued from the identity provider are evaluated by the Kubernetes API server. // // +required Issuer TokenIssuer `json:"issuer"` - // oidcClients is an optional field that configures how on-cluster, - // platform clients should request tokens from the identity provider. + // oidcClients is an optional field that configures how on-cluster, platform clients should request tokens from the identity provider. // oidcClients must not exceed 20 entries and entries must have unique namespace/name pairs. // // +listType=map @@ -227,32 +220,40 @@ type OIDCProvider struct { // +optional OIDCClients []OIDCClientConfig `json:"oidcClients"` - // claimMappings is a required field that configures the rules to be used by - // the Kubernetes API server for translating claims in a JWT token, issued - // by the identity provider, to a cluster identity. + // claimMappings is a required field that configures the rules to be used by the Kubernetes API server for translating claims in a JWT token, issued by the identity provider, to a cluster identity. // // +required ClaimMappings TokenClaimMappings `json:"claimMappings"` - // claimValidationRules is an optional field that configures the rules to - // be used by the Kubernetes API server for validating the claims in a JWT - // token issued by the identity provider. + // claimValidationRules is an optional field that configures the rules to be used by the Kubernetes API server for validating the claims in a JWT token issued by the identity provider. // // Validation rules are joined via an AND operation. // // +listType=atomic // +optional ClaimValidationRules []TokenClaimValidationRule `json:"claimValidationRules,omitempty"` + + // userValidationRules is an optional field that configures the set of rules used to validate the cluster user identity that was constructed via mapping token claims to user identity attributes. + // Rules are CEL expressions that must evaluate to 'true' for authentication to succeed. + // If any rule in the chain of rules evaluates to 'false', authentication will fail. + // When specified, at least one rule must be specified and no more than 64 rules may be specified. + // + // +kubebuilder:validation:MaxItems=64 + // +kubebuilder:validation:MinItems=1 + // +listType=map + // +listMapKey=expression + // +optional + // +openshift:enable:FeatureGate=ExternalOIDCWithUpstreamParity + UserValidationRules []TokenUserValidationRule `json:"userValidationRules,omitempty"` } // +kubebuilder:validation:MinLength=1 type TokenAudience string +// +openshift:validation:FeatureGateAwareXValidation:featureGate=ExternalOIDCWithUpstreamParity,rule="self.?discoveryURL.orValue(\"\").size() > 0 ? (self.issuerURL.size() == 0 || self.discoveryURL.find('^.+[^/]') != self.issuerURL.find('^.+[^/]')) : true",message="discoveryURL must be different from issuerURL" type TokenIssuer struct { - // issuerURL is a required field that configures the URL used to issue tokens - // by the identity provider. - // The Kubernetes API server determines how authentication tokens should be handled - // by matching the 'iss' claim in the JWT to the issuerURL of configured identity providers. + // issuerURL is a required field that configures the URL used to issue tokens by the identity provider. + // The Kubernetes API server determines how authentication tokens should be handled by matching the 'iss' claim in the JWT to the issuerURL of configured identity providers. // // Must be at least 1 character and must not exceed 512 characters in length. // Must be a valid URL that uses the 'https' scheme and does not contain a query, fragment or user. @@ -267,8 +268,7 @@ type TokenIssuer struct { // +required URL string `json:"issuerURL"` - // audiences is a required field that configures the acceptable audiences - // the JWT token, issued by the identity provider, must be issued to. + // audiences is a required field that configures the acceptable audiences the JWT token, issued by the identity provider, must be issued to. // At least one of the entries must match the 'aud' claim in the JWT token. // // audiences must contain at least one entry and must not exceed ten entries. @@ -279,54 +279,65 @@ type TokenIssuer struct { // +required Audiences []TokenAudience `json:"audiences"` - // issuerCertificateAuthority is an optional field that configures the - // certificate authority, used by the Kubernetes API server, to validate - // the connection to the identity provider when fetching discovery information. + // issuerCertificateAuthority is an optional field that configures the certificate authority, used by the Kubernetes API server, to validate the connection to the identity provider when fetching discovery information. // // When not specified, the system trust is used. // - // When specified, it must reference a ConfigMap in the openshift-config - // namespace containing the PEM-encoded CA certificates under the 'ca-bundle.crt' - // key in the data field of the ConfigMap. + // When specified, it must reference a ConfigMap in the openshift-config namespace containing the PEM-encoded CA certificates under the 'ca-bundle.crt' key in the data field of the ConfigMap. // // +optional CertificateAuthority ConfigMapNameReference `json:"issuerCertificateAuthority"` + // discoveryURL is an optional field that, if specified, overrides the default discovery endpoint used to retrieve OIDC configuration metadata. + // By default, the discovery URL is derived from `issuerURL` as "{issuerURL}/.well-known/openid-configuration". + // + // The discoveryURL must be a valid absolute HTTPS URL. + // It must not contain query parameters, user information, or fragments. + // Additionally, it must differ from the value of `issuerURL` (ignoring trailing slashes). + // The discoveryURL value must be at least 1 character long and no longer than 2048 characters. + // + // +optional + // +openshift:enable:FeatureGate=ExternalOIDCWithUpstreamParity + // +kubebuilder:validation:XValidation:rule="isURL(self)",message="discoveryURL must be a valid URL" + // +kubebuilder:validation:XValidation:rule="url(self).getScheme() == 'https'",message="discoveryURL must be a valid https URL" + // +kubebuilder:validation:XValidation:rule="url(self).getQuery().size() == 0",message="discoveryURL must not contain query parameters" + // +kubebuilder:validation:XValidation:rule="self.matches('^[^#]*$')",message="discoveryURL must not contain fragments" + // +kubebuilder:validation:XValidation:rule="!self.matches('^https://.+:.+@.+/.*$')",message="discoveryURL must not contain user info" + // +kubebuilder:validation:MinLength=1 + // +kubebuilder:validation:MaxLength=2048 + DiscoveryURL string `json:"discoveryURL,omitempty"` } type TokenClaimMappings struct { - // username is a required field that configures how the username of a cluster identity - // should be constructed from the claims in a JWT token issued by the identity provider. + // username is a required field that configures how the username of a cluster identity should be constructed from the claims in a JWT token issued by the identity provider. // // +required Username UsernameClaimMapping `json:"username"` - // groups is an optional field that configures how the groups of a cluster identity - // should be constructed from the claims in a JWT token issued - // by the identity provider. - // When referencing a claim, if the claim is present in the JWT - // token, its value must be a list of groups separated by a comma (','). + // groups is an optional field that configures how the groups of a cluster identity should be constructed from the claims in a JWT token issued by the identity provider. + // + // When referencing a claim, if the claim is present in the JWT token, its value must be a list of groups separated by a comma (','). + // // For example - '"example"' and '"exampleOne", "exampleTwo", "exampleThree"' are valid claim values. // // +optional Groups PrefixedClaimMapping `json:"groups,omitempty"` - // uid is an optional field for configuring the claim mapping - // used to construct the uid for the cluster identity. + // uid is an optional field for configuring the claim mapping used to construct the uid for the cluster identity. // // When using uid.claim to specify the claim it must be a single string value. // When using uid.expression the expression must result in a single string value. // - // When omitted, this means the user has no opinion and the platform - // is left to choose a default, which is subject to change over time. + // When omitted, this means the user has no opinion and the platform is left to choose a default, which is subject to change over time. + // // The current default is to use the 'sub' claim. // // +optional // +openshift:enable:FeatureGate=ExternalOIDCWithUIDAndExtraClaimMappings UID *TokenClaimOrExpressionMapping `json:"uid,omitempty"` - // extra is an optional field for configuring the mappings - // used to construct the extra attribute for the cluster identity. + // extra is an optional field for configuring the mappings used to construct the extra attribute for the cluster identity. // When omitted, no extra attributes will be present on the cluster identity. + // // key values for extra mappings must be unique. // A maximum of 32 extra attribute mappings may be provided. // @@ -338,52 +349,39 @@ type TokenClaimMappings struct { Extra []ExtraMapping `json:"extra,omitempty"` } -// TokenClaimMapping allows specifying a JWT token -// claim to be used when mapping claims from an -// authentication token to cluster identities. +// TokenClaimMapping allows specifying a JWT token claim to be used when mapping claims from an authentication token to cluster identities. type TokenClaimMapping struct { - // claim is a required field that configures the JWT token - // claim whose value is assigned to the cluster identity - // field associated with this mapping. + // claim is a required field that configures the JWT token claim whose value is assigned to the cluster identity field associated with this mapping. // // +required Claim string `json:"claim"` } -// TokenClaimOrExpressionMapping allows specifying either a JWT -// token claim or CEL expression to be used when mapping claims -// from an authentication token to cluster identities. +// TokenClaimOrExpressionMapping allows specifying either a JWT token claim or CEL expression to be used when mapping claims from an authentication token to cluster identities. // +kubebuilder:validation:XValidation:rule="has(self.claim) ? !has(self.expression) : has(self.expression)",message="precisely one of claim or expression must be set" type TokenClaimOrExpressionMapping struct { - // claim is an optional field for specifying the - // JWT token claim that is used in the mapping. - // The value of this claim will be assigned to - // the field in which this mapping is associated. + // claim is an optional field for specifying the JWT token claim that is used in the mapping. + // The value of this claim will be assigned to the field in which this mapping is associated. // // Precisely one of claim or expression must be set. // claim must not be specified when expression is set. - // When specified, claim must be at least 1 character in length - // and must not exceed 256 characters in length. + // When specified, claim must be at least 1 character in length and must not exceed 256 characters in length. // // +optional // +kubebuilder:validation:MaxLength=256 // +kubebuilder:validation:MinLength=1 Claim string `json:"claim,omitempty"` - // expression is an optional field for specifying a - // CEL expression that produces a string value from - // JWT token claims. + // expression is an optional field for specifying a CEL expression that produces a string value from JWT token claims. // - // CEL expressions have access to the token claims - // through a CEL variable, 'claims'. + // CEL expressions have access to the token claims through a CEL variable, 'claims'. // 'claims' is a map of claim names to claim values. // For example, the 'sub' claim value can be accessed as 'claims.sub'. // Nested claims can be accessed using dot notation ('claims.foo.bar'). // // Precisely one of claim or expression must be set. // expression must not be specified when claim is set. - // When specified, expression must be at least 1 character in length - // and must not exceed 1024 characters in length. + // When specified, expression must be at least 1 character in length and must not exceed 1024 characters in length. // // +optional // +kubebuilder:validation:MaxLength=1024 @@ -391,13 +389,10 @@ type TokenClaimOrExpressionMapping struct { Expression string `json:"expression,omitempty"` } -// ExtraMapping allows specifying a key and CEL expression -// to evaluate the keys' value. It is used to create additional -// mappings and attributes added to a cluster identity from -// a provided authentication token. +// ExtraMapping allows specifying a key and CEL expression to evaluate the keys' value. +// It is used to create additional mappings and attributes added to a cluster identity from a provided authentication token. type ExtraMapping struct { - // key is a required field that specifies the string - // to use as the extra attribute key. + // key is a required field that specifies the string to use as the extra attribute key. // // key must be a domain-prefix path (e.g 'example.org/foo'). // key must not exceed 510 characters in length. @@ -410,8 +405,7 @@ type ExtraMapping struct { // It must only contain lower case alphanumeric characters and '-' or '.'. // It must not use the reserved domains, or be subdomains of, "kubernetes.io", "k8s.io", and "openshift.io". // - // The path portion of the key (string of characters after the '/') must not be empty and must consist of at least one - // alphanumeric character, percent-encoded octets, '-', '.', '_', '~', '!', '$', '&', ''', '(', ')', '*', '+', ',', ';', '=', and ':'. + // The path portion of the key (string of characters after the '/') must not be empty and must consist of at least one alphanumeric character, percent-encoded octets, '-', '.', '_', '~', '!', '$', '&', ''', '(', ')', '*', '+', ',', ';', '=', and ':'. // It must not exceed 256 characters in length. // // +required @@ -433,14 +427,12 @@ type ExtraMapping struct { // +kubebuilder:validation:XValidation:rule="self.split('/', 2)[1].size() <= 256",message="the path of the key must not exceed 256 characters in length" Key string `json:"key"` - // valueExpression is a required field to specify the CEL expression to extract - // the extra attribute value from a JWT token's claims. + // valueExpression is a required field to specify the CEL expression to extract the extra attribute value from a JWT token's claims. // valueExpression must produce a string or string array value. // "", [], and null are treated as the extra mapping not being present. // Empty string values within an array are filtered out. // - // CEL expressions have access to the token claims - // through a CEL variable, 'claims'. + // CEL expressions have access to the token claims through a CEL variable, 'claims'. // 'claims' is a map of claim names to claim values. // For example, the 'sub' claim value can be accessed as 'claims.sub'. // Nested claims can be accessed using dot notation ('claims.foo.bar'). @@ -454,12 +446,10 @@ type ExtraMapping struct { ValueExpression string `json:"valueExpression"` } -// OIDCClientConfig configures how platform clients -// interact with identity providers as an authentication -// method +// OIDCClientConfig configures how platform clients interact with identity providers as an authentication method. type OIDCClientConfig struct { - // componentName is a required field that specifies the name of the platform - // component being configured to use the identity provider as an authentication mode. + // componentName is a required field that specifies the name of the platform component being configured to use the identity provider as an authentication mode. + // // It is used in combination with componentNamespace as a unique identifier. // // componentName must not be an empty string ("") and must not exceed 256 characters in length. @@ -469,9 +459,8 @@ type OIDCClientConfig struct { // +required ComponentName string `json:"componentName"` - // componentNamespace is a required field that specifies the namespace in which the - // platform component being configured to use the identity provider as an authentication - // mode is running. + // componentNamespace is a required field that specifies the namespace in which the platform component being configured to use the identity provider as an authentication mode is running. + // // It is used in combination with componentName as a unique identifier. // // componentNamespace must not be an empty string ("") and must not exceed 63 characters in length. @@ -481,11 +470,8 @@ type OIDCClientConfig struct { // +required ComponentNamespace string `json:"componentNamespace"` - // clientID is a required field that configures the client identifier, from - // the identity provider, that the platform component uses for authentication - // requests made to the identity provider. - // The identity provider must accept this identifier for platform components - // to be able to use the identity provider as an authentication mode. + // clientID is a required field that configures the client identifier, from the identity provider, that the platform component uses for authentication requests made to the identity provider. + // The identity provider must accept this identifier for platform components to be able to use the identity provider as an authentication mode. // // clientID must not be an empty string (""). // @@ -493,27 +479,21 @@ type OIDCClientConfig struct { // +required ClientID string `json:"clientID"` - // clientSecret is an optional field that configures the client secret used - // by the platform component when making authentication requests to the identity provider. + // clientSecret is an optional field that configures the client secret used by the platform component when making authentication requests to the identity provider. // - // When not specified, no client secret will be used when making authentication requests - // to the identity provider. + // When not specified, no client secret will be used when making authentication requests to the identity provider. + // + // When specified, clientSecret references a Secret in the 'openshift-config' namespace that contains the client secret in the 'clientSecret' key of the '.data' field. // - // When specified, clientSecret references a Secret in the 'openshift-config' - // namespace that contains the client secret in the 'clientSecret' key of the '.data' field. // The client secret will be used when making authentication requests to the identity provider. // - // Public clients do not require a client secret but private - // clients do require a client secret to work with the identity provider. + // Public clients do not require a client secret but private clients do require a client secret to work with the identity provider. // // +optional ClientSecret SecretNameReference `json:"clientSecret"` - // extraScopes is an optional field that configures the extra scopes that should - // be requested by the platform component when making authentication requests to the - // identity provider. - // This is useful if you have configured claim mappings that requires specific - // scopes to be requested beyond the standard OIDC scopes. + // extraScopes is an optional field that configures the extra scopes that should be requested by the platform component when making authentication requests to the identity provider. + // This is useful if you have configured claim mappings that requires specific scopes to be requested beyond the standard OIDC scopes. // // When omitted, no additional scopes are requested. // @@ -526,8 +506,7 @@ type OIDCClientConfig struct { // of platform components and how they interact with // the configured identity providers. type OIDCClientStatus struct { - // componentName is a required field that specifies the name of the platform - // component using the identity provider as an authentication mode. + // componentName is a required field that specifies the name of the platform component using the identity provider as an authentication mode. // It is used in combination with componentNamespace as a unique identifier. // // componentName must not be an empty string ("") and must not exceed 256 characters in length. @@ -537,9 +516,8 @@ type OIDCClientStatus struct { // +required ComponentName string `json:"componentName"` - // componentNamespace is a required field that specifies the namespace in which the - // platform component using the identity provider as an authentication - // mode is running. + // componentNamespace is a required field that specifies the namespace in which the platform component using the identity provider as an authentication mode is running. + // // It is used in combination with componentName as a unique identifier. // // componentNamespace must not be an empty string ("") and must not exceed 63 characters in length. @@ -550,6 +528,7 @@ type OIDCClientStatus struct { ComponentNamespace string `json:"componentNamespace"` // currentOIDCClients is an optional list of clients that the component is currently using. + // // Entries must have unique issuerURL/clientID pairs. // // +listType=map @@ -558,8 +537,7 @@ type OIDCClientStatus struct { // +optional CurrentOIDCClients []OIDCClientReference `json:"currentOIDCClients"` - // consumingUsers is an optional list of ServiceAccounts requiring - // read permissions on the `clientSecret` secret. + // consumingUsers is an optional list of ServiceAccounts requiring read permissions on the `clientSecret` secret. // // consumingUsers must not exceed 5 entries. // @@ -585,8 +563,7 @@ type OIDCClientStatus struct { // OIDCClientReference is a reference to a platform component // client configuration. type OIDCClientReference struct { - // oidcProviderName is a required reference to the 'name' of the identity provider - // configured in 'oidcProviders' that this client is associated with. + // oidcProviderName is a required reference to the 'name' of the identity provider configured in 'oidcProviders' that this client is associated with. // // oidcProviderName must not be an empty string (""). // @@ -594,8 +571,7 @@ type OIDCClientReference struct { // +required OIDCProviderName string `json:"oidcProviderName"` - // issuerURL is a required field that specifies the URL of the identity - // provider that this client is configured to make requests against. + // issuerURL is a required field that specifies the URL of the identity provider that this client is configured to make requests against. // // issuerURL must use the 'https' scheme. // @@ -603,9 +579,7 @@ type OIDCClientReference struct { // +required IssuerURL string `json:"issuerURL"` - // clientID is a required field that specifies the client identifier, from - // the identity provider, that the platform component is using for authentication - // requests made to the identity provider. + // clientID is a required field that specifies the client identifier, from the identity provider, that the platform component is using for authentication requests made to the identity provider. // // clientID must not be empty. // @@ -617,9 +591,7 @@ type OIDCClientReference struct { // +kubebuilder:validation:XValidation:rule="has(self.prefixPolicy) && self.prefixPolicy == 'Prefix' ? (has(self.prefix) && size(self.prefix.prefixString) > 0) : !has(self.prefix)",message="prefix must be set if prefixPolicy is 'Prefix', but must remain unset otherwise" // +union type UsernameClaimMapping struct { - // claim is a required field that configures the JWT token - // claim whose value is assigned to the cluster identity - // field associated with this mapping. + // claim is a required field that configures the JWT token claim whose value is assigned to the cluster identity field associated with this mapping. // // claim must not be an empty string ("") and must not exceed 256 characters. // @@ -628,23 +600,21 @@ type UsernameClaimMapping struct { // +kubebuilder:validation:MaxLength:=256 Claim string `json:"claim"` - // prefixPolicy is an optional field that configures how a prefix should be - // applied to the value of the JWT claim specified in the 'claim' field. + // prefixPolicy is an optional field that configures how a prefix should be applied to the value of the JWT claim specified in the 'claim' field. // // Allowed values are 'Prefix', 'NoPrefix', and omitted (not provided or an empty string). // - // When set to 'Prefix', the value specified in the prefix field will be - // prepended to the value of the JWT claim. + // When set to 'Prefix', the value specified in the prefix field will be prepended to the value of the JWT claim. + // // The prefix field must be set when prefixPolicy is 'Prefix'. // - // When set to 'NoPrefix', no prefix will be prepended to the value - // of the JWT claim. + // When set to 'NoPrefix', no prefix will be prepended to the value of the JWT claim. + // + // When omitted, this means no opinion and the platform is left to choose any prefixes that are applied which is subject to change over time. + // Currently, the platform prepends `{issuerURL}#` to the value of the JWT claim when the claim is not 'email'. // - // When omitted, this means no opinion and the platform is left to choose - // any prefixes that are applied which is subject to change over time. - // Currently, the platform prepends `{issuerURL}#` to the value of the JWT claim - // when the claim is not 'email'. // As an example, consider the following scenario: + // // `prefix` is unset, `issuerURL` is set to `https://myoidc.tld`, // the JWT claims include "username":"userA" and "email":"userA@myoidc.tld", // and `claim` is set to: @@ -656,8 +626,7 @@ type UsernameClaimMapping struct { // +unionDiscriminator PrefixPolicy UsernamePrefixPolicy `json:"prefixPolicy"` - // prefix configures the prefix that should be prepended to the value - // of the JWT claim. + // prefix configures the prefix that should be prepended to the value of the JWT claim. // // prefix must be set when prefixPolicy is set to 'Prefix' and must be unset otherwise. // @@ -666,9 +635,7 @@ type UsernameClaimMapping struct { Prefix *UsernamePrefix `json:"prefix"` } -// UsernamePrefixPolicy configures how prefixes should be applied -// to values extracted from the JWT claims during the process of mapping -// JWT claims to cluster identity attributes. +// UsernamePrefixPolicy configures how prefixes should be applied to values extracted from the JWT claims during the process of mapping JWT claims to cluster identity attributes. // +enum type UsernamePrefixPolicy string @@ -687,9 +654,7 @@ var ( // UsernamePrefix configures the string that should // be used as a prefix for username claim mappings. type UsernamePrefix struct { - // prefixString is a required field that configures the prefix that will - // be applied to cluster identity username attribute - // during the process of mapping JWT claims to cluster identity attributes. + // prefixString is a required field that configures the prefix that will be applied to cluster identity username attribute during the process of mapping JWT claims to cluster identity attributes. // // prefixString must not be an empty string (""). // @@ -703,51 +668,62 @@ type UsernamePrefix struct { type PrefixedClaimMapping struct { TokenClaimMapping `json:",inline"` - // prefix is an optional field that configures the prefix that will be - // applied to the cluster identity attribute during the process of mapping - // JWT claims to cluster identity attributes. + // prefix is an optional field that configures the prefix that will be applied to the cluster identity attribute during the process of mapping JWT claims to cluster identity attributes. // // When omitted (""), no prefix is applied to the cluster identity attribute. // - // Example: if `prefix` is set to "myoidc:" and the `claim` in JWT contains - // an array of strings "a", "b" and "c", the mapping will result in an - // array of string "myoidc:a", "myoidc:b" and "myoidc:c". + // Example: if `prefix` is set to "myoidc:" and the `claim` in JWT contains an array of strings "a", "b" and "c", the mapping will result in an array of string "myoidc:a", "myoidc:b" and "myoidc:c". // // +optional Prefix string `json:"prefix"` } -// TokenValidationRuleType represents the different -// claim validation rule types that can be configured. +// TokenValidationRuleType defines the type of token validation rule. // +enum +// +openshift:validation:FeatureGateAwareEnum:featureGate="",enum="RequiredClaim"; +// +openshift:validation:FeatureGateAwareEnum:featureGate=ExternalOIDC,enum="RequiredClaim"; +// +openshift:validation:FeatureGateAwareEnum:featureGate=ExternalOIDCWithUIDAndExtraClaimMappings,enum="RequiredClaim"; +// +openshift:validation:FeatureGateAwareEnum:featureGate=ExternalOIDCWithUpstreamParity,enum="RequiredClaim";"CEL" type TokenValidationRuleType string const ( + // TokenValidationRuleTypeRequiredClaim indicates that the token must contain a specific claim. + // Used as a value for TokenValidationRuleType. TokenValidationRuleTypeRequiredClaim = "RequiredClaim" + // TokenValidationRuleTypeCEL indicates that the token validation is defined via a CEL expression. + // Used as a value for TokenValidationRuleType. + TokenValidationRuleTypeCEL = "CEL" ) +// TokenClaimValidationRule represents a validation rule based on token claims. +// If type is RequiredClaim, requiredClaim must be set. +// If Type is CEL, CEL must be set and RequiredClaim must be omitted. +// +// +kubebuilder:validation:XValidation:rule="has(self.type) && self.type == 'RequiredClaim' ? has(self.requiredClaim) : !has(self.requiredClaim)",message="requiredClaim must be set when type is 'RequiredClaim', and forbidden otherwise" +// +openshift:validation:FeatureGateAwareXValidation:featureGate=ExternalOIDCWithUpstreamParity,rule="has(self.type) && self.type == 'CEL' ? has(self.cel) : !has(self.cel)",message="cel must be set when type is 'CEL', and forbidden otherwise" type TokenClaimValidationRule struct { // type is an optional field that configures the type of the validation rule. // - // Allowed values are 'RequiredClaim' and omitted (not provided or an empty string). - // - // When set to 'RequiredClaim', the Kubernetes API server - // will be configured to validate that the incoming JWT - // contains the required claim and that its value matches - // the required value. + // Allowed values are "RequiredClaim" and "CEL". // - // Defaults to 'RequiredClaim'. + // When set to 'RequiredClaim', the Kubernetes API server will be configured to validate that the incoming JWT contains the required claim and that its value matches the required value. // - // +kubebuilder:validation:Enum={"RequiredClaim"} - // +kubebuilder:default="RequiredClaim" + // When set to 'CEL', the Kubernetes API server will be configured to validate the incoming JWT against the configured CEL expression. + // +required Type TokenValidationRuleType `json:"type"` - // requiredClaim is an optional field that configures the required claim - // and value that the Kubernetes API server will use to validate if an incoming - // JWT is valid for this identity provider. + // requiredClaim allows configuring a required claim name and its expected value. + // This field is required when `type` is set to RequiredClaim, and must be omitted when `type` is set to any other value. + // The Kubernetes API server uses this field to validate if an incoming JWT is valid for this identity provider. // // +optional RequiredClaim *TokenRequiredClaim `json:"requiredClaim,omitempty"` + + // cel holds the CEL expression and message for validation. + // Must be set when Type is "CEL", and forbidden otherwise. + // +optional + // +openshift:enable:FeatureGate=ExternalOIDCWithUpstreamParity + CEL TokenClaimValidationCELRule `json:"cel,omitempty,omitzero"` } type TokenRequiredClaim struct { @@ -760,10 +736,8 @@ type TokenRequiredClaim struct { // +required Claim string `json:"claim"` - // requiredValue is a required field that configures the value that 'claim' must - // have when taken from the incoming JWT claims. - // If the value in the JWT claims does not match, the token - // will be rejected for authentication. + // requiredValue is a required field that configures the value that 'claim' must have when taken from the incoming JWT claims. + // If the value in the JWT claims does not match, the token will be rejected for authentication. // // requiredValue must not be an empty string (""). // @@ -771,3 +745,43 @@ type TokenRequiredClaim struct { // +required RequiredValue string `json:"requiredValue"` } + +type TokenClaimValidationCELRule struct { + // expression is a CEL expression evaluated against token claims. + // expression is required, must be at least 1 character in length and must not exceed 1024 characters. + // The expression must return a boolean value where 'true' signals a valid token and 'false' an invalid one. + // + // +kubebuilder:validation:MinLength=1 + // +kubebuilder:validation:MaxLength=1024 + // +required + Expression string `json:"expression,omitempty"` + + // message is a required human-readable message to be logged by the Kubernetes API server if the CEL expression defined in 'expression' fails. + // message must be at least 1 character in length and must not exceed 256 characters. + // +required + // +kubebuilder:validation:MinLength=1 + // +kubebuilder:validation:MaxLength=256 + Message string `json:"message,omitempty"` +} + +// TokenUserValidationRule provides a CEL-based rule used to validate a token subject. +// Each rule contains a CEL expression that is evaluated against the token’s claims. +type TokenUserValidationRule struct { + // expression is a required CEL expression that performs a validation on cluster user identity attributes like username, groups, etc. + // + // The expression must evaluate to a boolean value. + // When the expression evaluates to 'true', the cluster user identity is considered valid. + // When the expression evaluates to 'false', the cluster user identity is not considered valid. + // expression must be at least 1 character in length and must not exceed 1024 characters. + // + // +required + // +kubebuilder:validation:MinLength=1 + // +kubebuilder:validation:MaxLength=1024 + Expression string `json:"expression,omitempty"` + // message is a required human-readable message to be logged by the Kubernetes API server if the CEL expression defined in 'expression' fails. + // message must be at least 1 character in length and must not exceed 256 characters. + // +required + // +kubebuilder:validation:MinLength=1 + // +kubebuilder:validation:MaxLength=256 + Message string `json:"message,omitempty"` +} diff --git a/vendor/github.com/openshift/api/config/v1/types_cluster_image_policy.go b/vendor/github.com/openshift/api/config/v1/types_cluster_image_policy.go index ca604e05c5..491390098c 100644 --- a/vendor/github.com/openshift/api/config/v1/types_cluster_image_policy.go +++ b/vendor/github.com/openshift/api/config/v1/types_cluster_image_policy.go @@ -52,7 +52,7 @@ type ClusterImagePolicySpec struct { // policy is a required field that contains configuration to allow scopes to be verified, and defines how // images not matching the verification policy will be treated. // +required - Policy Policy `json:"policy"` + Policy ImageSigstoreVerificationPolicy `json:"policy"` } // +k8s:deepcopy-gen=true diff --git a/vendor/github.com/openshift/api/config/v1/types_cluster_version.go b/vendor/github.com/openshift/api/config/v1/types_cluster_version.go index 7929f4b625..5f36f693de 100644 --- a/vendor/github.com/openshift/api/config/v1/types_cluster_version.go +++ b/vendor/github.com/openshift/api/config/v1/types_cluster_version.go @@ -199,9 +199,23 @@ type ClusterVersionStatus struct { // availableUpdates. This list may be empty if no updates are // recommended, if the update service is unavailable, or if an empty // or invalid channel has been specified. + // +kubebuilder:validation:MaxItems=500 // +listType=atomic // +optional ConditionalUpdates []ConditionalUpdate `json:"conditionalUpdates,omitempty"` + + // conditionalUpdateRisks contains the list of risks associated with conditionalUpdates. + // When performing a conditional update, all its associated risks will be compared with the set of accepted risks in the spec.desiredUpdate.acceptRisks field. + // If all risks for a conditional update are included in the spec.desiredUpdate.acceptRisks set, the conditional update can proceed, otherwise it is blocked. + // The risk names in the list must be unique. + // conditionalUpdateRisks must not contain more than 500 entries. + // +openshift:enable:FeatureGate=ClusterUpdateAcceptRisks + // +kubebuilder:validation:MaxItems=500 + // +kubebuilder:validation:MinItems=1 + // +listType=map + // +listMapKey=name + // +optional + ConditionalUpdateRisks []ConditionalUpdateRisk `json:"conditionalUpdateRisks,omitempty"` } // UpdateState is a constant representing whether an update was successfully @@ -258,7 +272,7 @@ type UpdateHistory struct { Verified bool `json:"verified"` // acceptedRisks records risks which were accepted to initiate the update. - // For example, it may menition an Upgradeable=False or missing signature + // For example, it may mention an Upgradeable=False or missing signature // that was overridden via desiredUpdate.force, or an update that was // initiated despite not being in the availableUpdates set of recommended // update targets. @@ -727,11 +741,35 @@ type Update struct { // operator and you have verified the authenticity of the provided // image yourself. // The provided image will run with full administrative access - // to the cluster. Do not use this flag with images that comes from unknown + // to the cluster. Do not use this flag with images that come from unknown // or potentially malicious sources. // // +optional Force bool `json:"force"` + + // acceptRisks is an optional set of names of conditional update risks that are considered acceptable. + // A conditional update is performed only if all of its risks are acceptable. + // This list may contain entries that apply to current, previous or future updates. + // The entries therefore may not map directly to a risk in .status.conditionalUpdateRisks. + // acceptRisks must not contain more than 1000 entries. + // Entries in this list must be unique. + // +openshift:enable:FeatureGate=ClusterUpdateAcceptRisks + // +kubebuilder:validation:MaxItems=1000 + // +kubebuilder:validation:MinItems=1 + // +listType=map + // +listMapKey=name + // +optional + AcceptRisks []AcceptRisk `json:"acceptRisks,omitempty"` +} + +// AcceptRisk represents a risk that is considered acceptable. +type AcceptRisk struct { + // name is the name of the acceptable risk. + // It must be a non-empty string and must not exceed 256 characters. + // +kubebuilder:validation:MinLength=1 + // +kubebuilder:validation:MaxLength=256 + // +required + Name string `json:"name,omitempty"` } // Release represents an OpenShift release image and associated metadata. @@ -787,12 +825,27 @@ type ConditionalUpdate struct { // +required Release Release `json:"release"` + // riskNames represents the set of the names of conditionalUpdateRisks that are relevant to this update for some clusters. + // The Applies condition of each conditionalUpdateRisks entry declares if that risk applies to this cluster. + // A conditional update is accepted only if each of its risks either does not apply to the cluster or is considered acceptable by the cluster administrator. + // The latter means that the risk names are included in value of the spec.desiredUpdate.acceptRisks field. + // Entries must be unique and must not exceed 256 characters. + // riskNames must not contain more than 500 entries. + // +openshift:enable:FeatureGate=ClusterUpdateAcceptRisks + // +kubebuilder:validation:MinItems=1 + // +kubebuilder:validation:items:MaxLength=256 + // +kubebuilder:validation:MaxItems=500 + // +listType=set + // +optional + RiskNames []string `json:"riskNames,omitempty"` + // risks represents the range of issues associated with // updating to the target release. The cluster-version // operator will evaluate all entries, and only recommend the // update if there is at least one entry and all entries // recommend the update. // +kubebuilder:validation:MinItems=1 + // +kubebuilder:validation:MaxItems=200 // +patchMergeKey=name // +patchStrategy=merge // +listType=map @@ -813,6 +866,20 @@ type ConditionalUpdate struct { // for not recommending a conditional update. // +k8s:deepcopy-gen=true type ConditionalUpdateRisk struct { + // conditions represents the observations of the conditional update + // risk's current status. Known types are: + // * Applies, for whether the risk applies to the current cluster. + // The condition's types in the list must be unique. + // conditions must not contain more than one entry. + // +openshift:enable:FeatureGate=ClusterUpdateAcceptRisks + // +kubebuilder:validation:XValidation:rule="self.exists_one(x, x.type == 'Applies')",message="must contain a condition of type 'Applies'" + // +kubebuilder:validation:MaxItems=8 + // +kubebuilder:validation:MinItems=1 + // +listType=map + // +listMapKey=type + // +optional + Conditions []metav1.Condition `json:"conditions,omitempty"` + // url contains information about this risk. // +kubebuilder:validation:Format=uri // +kubebuilder:validation:MinLength=1 diff --git a/vendor/github.com/openshift/api/config/v1/types_feature.go b/vendor/github.com/openshift/api/config/v1/types_feature.go index 169e29c5c5..e111d518ab 100644 --- a/vendor/github.com/openshift/api/config/v1/types_feature.go +++ b/vendor/github.com/openshift/api/config/v1/types_feature.go @@ -53,8 +53,12 @@ var ( // your cluster may fail in an unrecoverable way. CustomNoUpgrade FeatureSet = "CustomNoUpgrade" + // OKD turns on features for OKD. Turning this feature set ON is supported for OKD clusters, but NOT for OpenShift clusters. + // Once enabled, this feature set cannot be changed back to Default, but can be changed to other feature sets and it allows upgrades. + OKD FeatureSet = "OKD" + // AllFixedFeatureSets are the featuresets that have known featuregates. Custom doesn't for instance. LatencySensitive is dead - AllFixedFeatureSets = []FeatureSet{Default, TechPreviewNoUpgrade, DevPreviewNoUpgrade} + AllFixedFeatureSets = []FeatureSet{Default, TechPreviewNoUpgrade, DevPreviewNoUpgrade, OKD} ) type FeatureGateSpec struct { @@ -67,10 +71,11 @@ type FeatureGateSelection struct { // Turning on or off features may cause irreversible changes in your cluster which cannot be undone. // +unionDiscriminator // +optional - // +kubebuilder:validation:Enum=CustomNoUpgrade;DevPreviewNoUpgrade;TechPreviewNoUpgrade;"" + // +kubebuilder:validation:Enum=CustomNoUpgrade;DevPreviewNoUpgrade;TechPreviewNoUpgrade;OKD;"" // +kubebuilder:validation:XValidation:rule="oldSelf == 'CustomNoUpgrade' ? self == 'CustomNoUpgrade' : true",message="CustomNoUpgrade may not be changed" // +kubebuilder:validation:XValidation:rule="oldSelf == 'TechPreviewNoUpgrade' ? self == 'TechPreviewNoUpgrade' : true",message="TechPreviewNoUpgrade may not be changed" // +kubebuilder:validation:XValidation:rule="oldSelf == 'DevPreviewNoUpgrade' ? self == 'DevPreviewNoUpgrade' : true",message="DevPreviewNoUpgrade may not be changed" + // +kubebuilder:validation:XValidation:rule="oldSelf == 'OKD' ? self != '' : true",message="OKD cannot transition to Default" FeatureSet FeatureSet `json:"featureSet,omitempty"` // customNoUpgrade allows the enabling or disabling of any feature. Turning this feature set on IS NOT SUPPORTED, CANNOT BE UNDONE, and PREVENTS UPGRADES. diff --git a/vendor/github.com/openshift/api/config/v1/types_image_policy.go b/vendor/github.com/openshift/api/config/v1/types_image_policy.go index 54bd21adb4..3cc46141c9 100644 --- a/vendor/github.com/openshift/api/config/v1/types_image_policy.go +++ b/vendor/github.com/openshift/api/config/v1/types_image_policy.go @@ -51,7 +51,7 @@ type ImagePolicySpec struct { // policy is a required field that contains configuration to allow scopes to be verified, and defines how // images not matching the verification policy will be treated. // +required - Policy Policy `json:"policy"` + Policy ImageSigstoreVerificationPolicy `json:"policy"` } // +kubebuilder:validation:XValidation:rule="size(self.split('/')[0].split('.')) == 1 ? self.split('/')[0].split('.')[0].split(':')[0] == 'localhost' : true",message="invalid image scope format, scope must contain a fully qualified domain name or 'localhost'" @@ -60,8 +60,8 @@ type ImagePolicySpec struct { // +kubebuilder:validation:MaxLength=512 type ImageScope string -// Policy defines the verification policy for the items in the scopes list. -type Policy struct { +// ImageSigstoreVerificationPolicy defines the verification policy for the items in the scopes list. +type ImageSigstoreVerificationPolicy struct { // rootOfTrust is a required field that defines the root of trust for verifying image signatures during retrieval. // This allows image consumers to specify policyType and corresponding configuration of the policy, matching how the policy was generated. // +required @@ -82,25 +82,25 @@ type PolicyRootOfTrust struct { // Allowed values are "PublicKey", "FulcioCAWithRekor", and "PKI". // When set to "PublicKey", the policy relies on a sigstore publicKey and may optionally use a Rekor verification. // When set to "FulcioCAWithRekor", the policy is based on the Fulcio certification and incorporates a Rekor verification. - // When set to "PKI", the policy is based on the certificates from Bring Your Own Public Key Infrastructure (BYOPKI). This value is enabled by turning on the SigstoreImageVerificationPKI feature gate. + // When set to "PKI", the policy is based on the certificates from Bring Your Own Public Key Infrastructure (BYOPKI). // +unionDiscriminator // +required PolicyType PolicyType `json:"policyType"` // publicKey defines the root of trust configuration based on a sigstore public key. Optionally include a Rekor public key for Rekor verification. // publicKey is required when policyType is PublicKey, and forbidden otherwise. // +optional - PublicKey *PublicKey `json:"publicKey,omitempty"` + PublicKey *ImagePolicyPublicKeyRootOfTrust `json:"publicKey,omitempty"` // fulcioCAWithRekor defines the root of trust configuration based on the Fulcio certificate and the Rekor public key. // fulcioCAWithRekor is required when policyType is FulcioCAWithRekor, and forbidden otherwise // For more information about Fulcio and Rekor, please refer to the document at: // https://github.com/sigstore/fulcio and https://github.com/sigstore/rekor // +optional - FulcioCAWithRekor *FulcioCAWithRekor `json:"fulcioCAWithRekor,omitempty"` + FulcioCAWithRekor *ImagePolicyFulcioCAWithRekorRootOfTrust `json:"fulcioCAWithRekor,omitempty"` // pki defines the root of trust configuration based on Bring Your Own Public Key Infrastructure (BYOPKI) Root CA(s) and corresponding intermediate certificates. // pki is required when policyType is PKI, and forbidden otherwise. // +optional // +openshift:enable:FeatureGate=SigstoreImageVerificationPKI - PKI *PKI `json:"pki,omitempty"` + PKI *ImagePolicyPKIRootOfTrust `json:"pki,omitempty"` } // +openshift:validation:FeatureGateAwareEnum:featureGate="",enum=PublicKey;FulcioCAWithRekor @@ -113,8 +113,8 @@ const ( PKIRootOfTrust PolicyType = "PKI" ) -// PublicKey defines the root of trust based on a sigstore public key. -type PublicKey struct { +// ImagePolicyPublicKeyRootOfTrust defines the root of trust based on a sigstore public key. +type ImagePolicyPublicKeyRootOfTrust struct { // keyData is a required field contains inline base64-encoded data for the PEM format public key. // keyData must be at most 8192 characters. // +required @@ -132,8 +132,8 @@ type PublicKey struct { RekorKeyData []byte `json:"rekorKeyData,omitempty"` } -// FulcioCAWithRekor defines the root of trust based on the Fulcio certificate and the Rekor public key. -type FulcioCAWithRekor struct { +// ImagePolicyFulcioCAWithRekorRootOfTrust defines the root of trust based on the Fulcio certificate and the Rekor public key. +type ImagePolicyFulcioCAWithRekorRootOfTrust struct { // fulcioCAData is a required field contains inline base64-encoded data for the PEM format fulcio CA. // fulcioCAData must be at most 8192 characters. // +required @@ -172,8 +172,8 @@ type PolicyFulcioSubject struct { SignedEmail string `json:"signedEmail"` } -// PKI defines the root of trust based on Root CA(s) and corresponding intermediate certificates. -type PKI struct { +// ImagePolicyPKIRootOfTrust defines the root of trust based on Root CA(s) and corresponding intermediate certificates. +type ImagePolicyPKIRootOfTrust struct { // caRootsData contains base64-encoded data of a certificate bundle PEM file, which contains one or more CA roots in the PEM format. The total length of the data must not exceed 8192 characters. // +required // +kubebuilder:validation:MaxLength=8192 diff --git a/vendor/github.com/openshift/api/config/v1/types_infrastructure.go b/vendor/github.com/openshift/api/config/v1/types_infrastructure.go index effafde644..369ba1e7a0 100644 --- a/vendor/github.com/openshift/api/config/v1/types_infrastructure.go +++ b/vendor/github.com/openshift/api/config/v1/types_infrastructure.go @@ -183,6 +183,17 @@ const ( LoadBalancerTypeOpenShiftManagedDefault PlatformLoadBalancerType = "OpenShiftManagedDefault" ) +// DNSRecordsType defines whether api, api-int, and ingress records are provided by +// the internal DNS infrastructure or must be configured external to the cluster. +// +kubebuilder:validation:Enum=Internal;External +// +enum +type DNSRecordsType string + +const ( + DNSRecordsTypeExternal DNSRecordsType = "External" + DNSRecordsTypeInternal DNSRecordsType = "Internal" +) + // PlatformType is a specific supported infrastructure provider. // +kubebuilder:validation:Enum="";AWS;Azure;BareMetal;GCP;Libvirt;OpenStack;None;VSphere;oVirt;IBMCloud;KubeVirt;EquinixMetal;PowerVS;AlibabaCloud;Nutanix;External type PlatformType string @@ -291,9 +302,10 @@ type PlatformSpec struct { // balancers, dynamic volume provisioning, machine creation and deletion, and // other integrations are enabled. If None, no infrastructure automation is // enabled. Allowed values are "AWS", "Azure", "BareMetal", "GCP", "Libvirt", - // "OpenStack", "VSphere", "oVirt", "KubeVirt", "EquinixMetal", "PowerVS", - // "AlibabaCloud", "Nutanix" and "None". Individual components may not support all platforms, - // and must handle unrecognized platforms as None if they do not support that platform. + // "OpenStack", "VSphere", "oVirt", "IBMCloud", "KubeVirt", "EquinixMetal", + // "PowerVS", "AlibabaCloud", "Nutanix", "External", and "None". Individual + // components may not support all platforms, and must handle unrecognized + // platforms as None if they do not support that platform. // // +unionDiscriminator Type PlatformType `json:"type"` @@ -491,6 +503,21 @@ type AWSServiceEndpoint struct { URL string `json:"url"` } +// IPFamilyType represents the IP protocol family that cloud platform resources should use. +// +kubebuilder:validation:Enum=IPv4;DualStackIPv6Primary;DualStackIPv4Primary +type IPFamilyType string + +const ( + // IPv4 indicates that cloud platform resources should use IPv4 addressing only. + IPv4 IPFamilyType = "IPv4" + + // DualStackIPv6Primary indicates that cloud platform resources should use dual-stack networking with IPv6 as primary. + DualStackIPv6Primary IPFamilyType = "DualStackIPv6Primary" + + // DualStackIPv4Primary indicates that cloud platform resources should use dual-stack networking with IPv4 as primary. + DualStackIPv4Primary IPFamilyType = "DualStackIPv4Primary" +) + // AWSPlatformSpec holds the desired state of the Amazon Web Services infrastructure provider. // This only includes fields that can be modified in the cluster. type AWSPlatformSpec struct { @@ -536,6 +563,18 @@ type AWSPlatformStatus struct { // +optional // +nullable CloudLoadBalancerConfig *CloudLoadBalancerConfig `json:"cloudLoadBalancerConfig,omitempty"` + + // ipFamily specifies the IP protocol family that should be used for AWS + // network resources. This controls whether AWS resources are created with + // IPv4-only, or dual-stack networking with IPv4 or IPv6 as the primary + // protocol family. + // + // +default="IPv4" + // +kubebuilder:default="IPv4" + // +kubebuilder:validation:XValidation:rule="oldSelf == '' || self == oldSelf",message="ipFamily is immutable once set" + // +openshift:enable:FeatureGate=AWSDualStackInstall + // +optional + IPFamily IPFamilyType `json:"ipFamily,omitempty"` } // AWSResourceTag is a tag to apply to AWS resources created for the cluster. @@ -607,6 +646,18 @@ type AzurePlatformStatus struct { // +openshift:enable:FeatureGate=AzureClusterHostedDNSInstall // +optional CloudLoadBalancerConfig *CloudLoadBalancerConfig `json:"cloudLoadBalancerConfig,omitempty"` + + // ipFamily specifies the IP protocol family that should be used for Azure + // network resources. This controls whether Azure resources are created with + // IPv4-only, or dual-stack networking with IPv4 or IPv6 as the primary + // protocol family. + // + // +default="IPv4" + // +kubebuilder:default="IPv4" + // +kubebuilder:validation:XValidation:rule="oldSelf == '' || self == oldSelf",message="ipFamily is immutable once set" + // +openshift:enable:FeatureGate=AzureDualStackInstall + // +optional + IPFamily IPFamilyType `json:"ipFamily,omitempty"` } // AzureResourceTag is a tag to apply to Azure resources created for the cluster. @@ -649,74 +700,43 @@ const ( AzureStackCloud AzureCloudEnvironment = "AzureStackCloud" ) +// Start: TOMBSTONE + // GCPServiceEndpointName is the name of the GCP Service Endpoint. // +kubebuilder:validation:Enum=Compute;Container;CloudResourceManager;DNS;File;IAM;IAMCredentials;OAuth;ServiceUsage;Storage;STS -type GCPServiceEndpointName string - -const ( - // GCPServiceEndpointNameCompute is the name used for the GCP Compute Service endpoint. - GCPServiceEndpointNameCompute GCPServiceEndpointName = "Compute" - - // GCPServiceEndpointNameContainer is the name used for the GCP Container Service endpoint. - GCPServiceEndpointNameContainer GCPServiceEndpointName = "Container" - - // GCPServiceEndpointNameCloudResource is the name used for the GCP Resource Manager Service endpoint. - GCPServiceEndpointNameCloudResource GCPServiceEndpointName = "CloudResourceManager" - - // GCPServiceEndpointNameDNS is the name used for the GCP DNS Service endpoint. - GCPServiceEndpointNameDNS GCPServiceEndpointName = "DNS" - - // GCPServiceEndpointNameFile is the name used for the GCP File Service endpoint. - GCPServiceEndpointNameFile GCPServiceEndpointName = "File" - - // GCPServiceEndpointNameIAM is the name used for the GCP IAM Service endpoint. - GCPServiceEndpointNameIAM GCPServiceEndpointName = "IAM" - - // GCPServiceEndpointNameIAMCredentials is the name used for the GCP IAM Credentials Service endpoint. - GCPServiceEndpointNameIAMCredentials GCPServiceEndpointName = "IAMCredentials" - - // GCPServiceEndpointNameOAuth is the name used for the GCP OAuth2 Service endpoint. - GCPServiceEndpointNameOAuth GCPServiceEndpointName = "OAuth" - - // GCPServiceEndpointNameServiceUsage is the name used for the GCP Service Usage Service endpoint. - GCPServiceEndpointNameServiceUsage GCPServiceEndpointName = "ServiceUsage" - - // GCPServiceEndpointNameStorage is the name used for the GCP Storage Service endpoint. - GCPServiceEndpointNameStorage GCPServiceEndpointName = "Storage" - - // GCPServiceEndpointNameSTS is the name used for the GCP STS Service endpoint. - GCPServiceEndpointNameSTS GCPServiceEndpointName = "STS" -) +//type GCPServiceEndpointName string // GCPServiceEndpoint store the configuration of a custom url to // override existing defaults of GCP Services. -type GCPServiceEndpoint struct { - // name is the name of the GCP service whose endpoint is being overridden. - // This must be provided and cannot be empty. - // - // Allowed values are Compute, Container, CloudResourceManager, DNS, File, IAM, ServiceUsage, - // Storage, and TagManager. - // - // As an example, when setting the name to Compute all requests made by the caller to the GCP Compute - // Service will be directed to the endpoint specified in the url field. - // - // +required - Name GCPServiceEndpointName `json:"name"` +// type GCPServiceEndpoint struct { +// name is the name of the GCP service whose endpoint is being overridden. +// This must be provided and cannot be empty. +// +// Allowed values are Compute, Container, CloudResourceManager, DNS, File, IAM, ServiceUsage, +// Storage, and TagManager. +// +// As an example, when setting the name to Compute all requests made by the caller to the GCP Compute +// Service will be directed to the endpoint specified in the url field. +// +// +required +// Name GCPServiceEndpointName `json:"name"` - // url is a fully qualified URI that overrides the default endpoint for a client using the GCP service specified - // in the name field. - // url is required, must use the scheme https, must not be more than 253 characters in length, - // and must be a valid URL according to Go's net/url package (https://pkg.go.dev/net/url#URL) - // - // An example of a valid endpoint that overrides the Compute Service: "https://compute-myendpoint1.p.googleapis.com" - // - // +required - // +kubebuilder:validation:MaxLength=253 - // +kubebuilder:validation:XValidation:rule="isURL(self)",message="must be a valid URL" - // +kubebuilder:validation:XValidation:rule="isURL(self) ? (url(self).getScheme() == \"https\") : true",message="scheme must be https" - // +kubebuilder:validation:XValidation:rule="url(self).getEscapedPath() == \"\" || url(self).getEscapedPath() == \"/\"",message="url must consist only of a scheme and domain. The url path must be empty." - URL string `json:"url"` -} +// url is a fully qualified URI that overrides the default endpoint for a client using the GCP service specified +// in the name field. +// url is required, must use the scheme https, must not be more than 253 characters in length, +// and must be a valid URL according to Go's net/url package (https://pkg.go.dev/net/url#URL) +// +// An example of a valid endpoint that overrides the Compute Service: "https://compute-myendpoint1.p.googleapis.com" +// +// +required +// +kubebuilder:validation:MaxLength=253 +// +kubebuilder:validation:XValidation:rule="isURL(self)",message="must be a valid URL" +// +kubebuilder:validation:XValidation:rule="isURL(self) ? (url(self).getScheme() == \"https\") : true",message="scheme must be https" +// +kubebuilder:validation:XValidation:rule="url(self).getEscapedPath() == \"\" || url(self).getEscapedPath() == \"/\"",message="url must consist only of a scheme and domain. The url path must be empty." +// URL string `json:"url"` +//} + +// End: TOMBSTONE // GCPPlatformSpec holds the desired state of the Google Cloud Platform infrastructure provider. // This only includes fields that can be modified in the cluster. @@ -772,18 +792,21 @@ type GCPPlatformStatus struct { // +nullable CloudLoadBalancerConfig *CloudLoadBalancerConfig `json:"cloudLoadBalancerConfig,omitempty"` + // This field was introduced and removed under tech preview. // serviceEndpoints specifies endpoints that override the default endpoints // used when creating clients to interact with GCP services. // When not specified, the default endpoint for the GCP region will be used. // Only 1 endpoint override is permitted for each GCP service. // The maximum number of endpoint overrides allowed is 11. + // To avoid conflicts with serialisation, this field name may never be used again. + // Tombstone the field as a reminder. // +listType=map // +listMapKey=name // +kubebuilder:validation:MaxItems=11 // +kubebuilder:validation:XValidation:rule="self.all(x, self.exists_one(y, x.name == y.name))",message="only 1 endpoint override is permitted per GCP service name" // +optional // +openshift:enable:FeatureGate=GCPCustomAPIEndpointsInstall - ServiceEndpoints []GCPServiceEndpoint `json:"serviceEndpoints,omitempty"` + // ServiceEndpoints []GCPServiceEndpoint `json:"serviceEndpoints,omitempty"` } // GCPResourceLabel is a label to apply to GCP resources created for the cluster. @@ -983,6 +1006,7 @@ type BareMetalPlatformSpec struct { // BareMetalPlatformStatus holds the current status of the BareMetal infrastructure provider. // For more information about the network architecture used with the BareMetal platform type, see: // https://github.com/openshift/installer/blob/master/docs/design/baremetal/networking-infrastructure.md +// +openshift:validation:FeatureGateAwareXValidation:featureGate=OnPremDNSRecords,rule="!has(self.dnsRecordsType) || self.dnsRecordsType == 'Internal' || (has(self.loadBalancer) && self.loadBalancer.type == 'UserManaged')",message="dnsRecordsType may only be set to External when loadBalancer.type is UserManaged" type BareMetalPlatformStatus struct { // apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used // by components inside the cluster, like kubelets using the infrastructure rather @@ -1035,6 +1059,22 @@ type BareMetalPlatformStatus struct { // +optional LoadBalancer *BareMetalPlatformLoadBalancer `json:"loadBalancer,omitempty"` + // dnsRecordsType determines whether records for api, api-int, and ingress + // are provided by the internal DNS service or externally. + // Allowed values are `Internal`, `External`, and omitted. + // When set to `Internal`, records are provided by the internal infrastructure and + // no additional user configuration is required for the cluster to function. + // When set to `External`, records are not provided by the internal infrastructure + // and must be configured by the user on a DNS server outside the cluster. + // Cluster nodes must use this external server for their upstream DNS requests. + // This value may only be set when loadBalancer.type is set to UserManaged. + // When omitted, this means the user has no opinion and the platform is left + // to choose reasonable defaults. These defaults are subject to change over time. + // The current default is `Internal`. + // +openshift:enable:FeatureGate=OnPremDNSRecords + // +optional + DNSRecordsType DNSRecordsType `json:"dnsRecordsType,omitempty"` + // machineNetworks are IP networks used to connect all the OpenShift cluster nodes. // +listType=atomic // +kubebuilder:validation:MaxItems=32 @@ -1111,6 +1151,7 @@ type OpenStackPlatformSpec struct { } // OpenStackPlatformStatus holds the current status of the OpenStack infrastructure provider. +// +openshift:validation:FeatureGateAwareXValidation:featureGate=OnPremDNSRecords,rule="!has(self.dnsRecordsType) || self.dnsRecordsType == 'Internal' || (has(self.loadBalancer) && self.loadBalancer.type == 'UserManaged')",message="dnsRecordsType may only be set to External when loadBalancer.type is UserManaged" type OpenStackPlatformStatus struct { // apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used // by components inside the cluster, like kubelets using the infrastructure rather @@ -1167,6 +1208,22 @@ type OpenStackPlatformStatus struct { // +optional LoadBalancer *OpenStackPlatformLoadBalancer `json:"loadBalancer,omitempty"` + // dnsRecordsType determines whether records for api, api-int, and ingress + // are provided by the internal DNS service or externally. + // Allowed values are `Internal`, `External`, and omitted. + // When set to `Internal`, records are provided by the internal infrastructure and + // no additional user configuration is required for the cluster to function. + // When set to `External`, records are not provided by the internal infrastructure + // and must be configured by the user on a DNS server outside the cluster. + // Cluster nodes must use this external server for their upstream DNS requests. + // This value may only be set when loadBalancer.type is set to UserManaged. + // When omitted, this means the user has no opinion and the platform is left + // to choose reasonable defaults. These defaults are subject to change over time. + // The current default is `Internal`. + // +openshift:enable:FeatureGate=OnPremDNSRecords + // +optional + DNSRecordsType DNSRecordsType `json:"dnsRecordsType,omitempty"` + // machineNetworks are IP networks used to connect all the OpenShift cluster nodes. // +listType=atomic // +kubebuilder:validation:MaxItems=32 @@ -1201,6 +1258,7 @@ type OvirtPlatformLoadBalancer struct { type OvirtPlatformSpec struct{} // OvirtPlatformStatus holds the current status of the oVirt infrastructure provider. +// +openshift:validation:FeatureGateAwareXValidation:featureGate=OnPremDNSRecords,rule="!has(self.dnsRecordsType) || self.dnsRecordsType == 'Internal' || (has(self.loadBalancer) && self.loadBalancer.type == 'UserManaged')",message="dnsRecordsType may only be set to External when loadBalancer.type is UserManaged" type OvirtPlatformStatus struct { // apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used // by components inside the cluster, like kubelets using the infrastructure rather @@ -1247,6 +1305,22 @@ type OvirtPlatformStatus struct { // +kubebuilder:default={"type": "OpenShiftManagedDefault"} // +optional LoadBalancer *OvirtPlatformLoadBalancer `json:"loadBalancer,omitempty"` + + // dnsRecordsType determines whether records for api, api-int, and ingress + // are provided by the internal DNS service or externally. + // Allowed values are `Internal`, `External`, and omitted. + // When set to `Internal`, records are provided by the internal infrastructure and + // no additional user configuration is required for the cluster to function. + // When set to `External`, records are not provided by the internal infrastructure + // and must be configured by the user on a DNS server outside the cluster. + // Cluster nodes must use this external server for their upstream DNS requests. + // This value may only be set when loadBalancer.type is set to UserManaged. + // When omitted, this means the user has no opinion and the platform is left + // to choose reasonable defaults. These defaults are subject to change over time. + // The current default is `Internal`. + // +openshift:enable:FeatureGate=OnPremDNSRecords + // +optional + DNSRecordsType DNSRecordsType `json:"dnsRecordsType,omitempty"` } // VSpherePlatformLoadBalancer defines the load balancer used by the cluster on VSphere platform. @@ -1644,6 +1718,7 @@ type VSpherePlatformSpec struct { } // VSpherePlatformStatus holds the current status of the vSphere infrastructure provider. +// +openshift:validation:FeatureGateAwareXValidation:featureGate=OnPremDNSRecords,rule="!has(self.dnsRecordsType) || self.dnsRecordsType == 'Internal' || (has(self.loadBalancer) && self.loadBalancer.type == 'UserManaged')",message="dnsRecordsType may only be set to External when loadBalancer.type is UserManaged" type VSpherePlatformStatus struct { // apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used // by components inside the cluster, like kubelets using the infrastructure rather @@ -1696,6 +1771,22 @@ type VSpherePlatformStatus struct { // +optional LoadBalancer *VSpherePlatformLoadBalancer `json:"loadBalancer,omitempty"` + // dnsRecordsType determines whether records for api, api-int, and ingress + // are provided by the internal DNS service or externally. + // Allowed values are `Internal`, `External`, and omitted. + // When set to `Internal`, records are provided by the internal infrastructure and + // no additional user configuration is required for the cluster to function. + // When set to `External`, records are not provided by the internal infrastructure + // and must be configured by the user on a DNS server outside the cluster. + // Cluster nodes must use this external server for their upstream DNS requests. + // This value may only be set when loadBalancer.type is set to UserManaged. + // When omitted, this means the user has no opinion and the platform is left + // to choose reasonable defaults. These defaults are subject to change over time. + // The current default is `Internal`. + // +openshift:enable:FeatureGate=OnPremDNSRecords + // +optional + DNSRecordsType DNSRecordsType `json:"dnsRecordsType,omitempty"` + // machineNetworks are IP networks used to connect all the OpenShift cluster nodes. // +listType=atomic // +kubebuilder:validation:MaxItems=32 @@ -2069,6 +2160,7 @@ type NutanixPrismElementEndpoint struct { } // NutanixPlatformStatus holds the current status of the Nutanix infrastructure provider. +// +openshift:validation:FeatureGateAwareXValidation:featureGate=OnPremDNSRecords,rule="!has(self.dnsRecordsType) || self.dnsRecordsType == 'Internal' || (has(self.loadBalancer) && self.loadBalancer.type == 'UserManaged')",message="dnsRecordsType may only be set to External when loadBalancer.type is UserManaged" type NutanixPlatformStatus struct { // apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used // by components inside the cluster, like kubelets using the infrastructure rather @@ -2112,6 +2204,22 @@ type NutanixPlatformStatus struct { // +kubebuilder:default={"type": "OpenShiftManagedDefault"} // +optional LoadBalancer *NutanixPlatformLoadBalancer `json:"loadBalancer,omitempty"` + + // dnsRecordsType determines whether records for api, api-int, and ingress + // are provided by the internal DNS service or externally. + // Allowed values are `Internal`, `External`, and omitted. + // When set to `Internal`, records are provided by the internal infrastructure and + // no additional user configuration is required for the cluster to function. + // When set to `External`, records are not provided by the internal infrastructure + // and must be configured by the user on a DNS server outside the cluster. + // Cluster nodes must use this external server for their upstream DNS requests. + // This value may only be set when loadBalancer.type is set to UserManaged. + // When omitted, this means the user has no opinion and the platform is left + // to choose reasonable defaults. These defaults are subject to change over time. + // The current default is `Internal`. + // +openshift:enable:FeatureGate=OnPremDNSRecords + // +optional + DNSRecordsType DNSRecordsType `json:"dnsRecordsType,omitempty"` } // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object diff --git a/vendor/github.com/openshift/api/config/v1/types_insights.go b/vendor/github.com/openshift/api/config/v1/types_insights.go index b0959881f1..710d4303da 100644 --- a/vendor/github.com/openshift/api/config/v1/types_insights.go +++ b/vendor/github.com/openshift/api/config/v1/types_insights.go @@ -13,6 +13,7 @@ import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" // +openshift:api-approved.openshift.io=https://github.com/openshift/api/pull/2448 // +openshift:file-pattern=cvoRunLevel=0000_10,operatorName=config-operator,operatorOrdering=01 // +openshift:enable:FeatureGate=InsightsConfig +// +openshift:capability=Insights // // Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). // +openshift:compatibility-gen:level=1 diff --git a/vendor/github.com/openshift/api/config/v1/types_network.go b/vendor/github.com/openshift/api/config/v1/types_network.go index c0d1602b37..fb8ed2fff7 100644 --- a/vendor/github.com/openshift/api/config/v1/types_network.go +++ b/vendor/github.com/openshift/api/config/v1/types_network.go @@ -41,7 +41,7 @@ type Network struct { // As a general rule, this SHOULD NOT be read directly. Instead, you should // consume the NetworkStatus, as it indicates the currently deployed configuration. // Currently, most spec fields are immutable after installation. Please view the individual ones for further details on each. -// +openshift:validation:FeatureGateAwareXValidation:featureGate=NetworkDiagnosticsConfig,rule="!has(self.networkDiagnostics) || !has(self.networkDiagnostics.mode) || self.networkDiagnostics.mode!='Disabled' || !has(self.networkDiagnostics.sourcePlacement) && !has(self.networkDiagnostics.targetPlacement)",message="cannot set networkDiagnostics.sourcePlacement and networkDiagnostics.targetPlacement when networkDiagnostics.mode is Disabled" +// +kubebuilder:validation:XValidation:rule="!has(self.networkDiagnostics) || !has(self.networkDiagnostics.mode) || self.networkDiagnostics.mode!='Disabled' || !has(self.networkDiagnostics.sourcePlacement) && !has(self.networkDiagnostics.targetPlacement)",message="cannot set networkDiagnostics.sourcePlacement and networkDiagnostics.targetPlacement when networkDiagnostics.mode is Disabled" type NetworkSpec struct { // IP address pool to use for pod IPs. // This field is immutable after installation. @@ -85,7 +85,6 @@ type NetworkSpec struct { // the network diagnostics feature will be disabled. // // +optional - // +openshift:enable:FeatureGate=NetworkDiagnosticsConfig NetworkDiagnostics NetworkDiagnostics `json:"networkDiagnostics"` } @@ -119,7 +118,6 @@ type NetworkStatus struct { // +optional // +listType=map // +listMapKey=type - // +openshift:enable:FeatureGate=NetworkDiagnosticsConfig Conditions []metav1.Condition `json:"conditions,omitempty"` } diff --git a/vendor/github.com/openshift/api/config/v1/types_node.go b/vendor/github.com/openshift/api/config/v1/types_node.go index 1282f33158..2f627be11e 100644 --- a/vendor/github.com/openshift/api/config/v1/types_node.go +++ b/vendor/github.com/openshift/api/config/v1/types_node.go @@ -79,7 +79,6 @@ type CgroupMode string const ( CgroupModeEmpty CgroupMode = "" // Empty string indicates to honor user set value on the system that should not be overridden by OpenShift - CgroupModeV1 CgroupMode = "v1" CgroupModeV2 CgroupMode = "v2" CgroupModeDefault CgroupMode = CgroupModeV2 ) diff --git a/vendor/github.com/openshift/api/config/v1/types_scheduling.go b/vendor/github.com/openshift/api/config/v1/types_scheduling.go index c90d5633f6..a81ed9f30c 100644 --- a/vendor/github.com/openshift/api/config/v1/types_scheduling.go +++ b/vendor/github.com/openshift/api/config/v1/types_scheduling.go @@ -48,7 +48,9 @@ type SchedulerSpec struct { // +optional Profile SchedulerProfile `json:"profile,omitempty"` // profileCustomizations contains configuration for modifying the default behavior of existing scheduler profiles. - // +openshift:enable:FeatureGate=DynamicResourceAllocation + // Deprecated: no longer needed, since DRA is GA starting with 4.21, and + // is enabled by' default in the cluster, this field will be removed in 4.24. + // +openshift:enable:FeatureGate=HyperShiftOnlyDynamicResourceAllocation // +optional ProfileCustomizations ProfileCustomizations `json:"profileCustomizations"` // defaultNodeSelector helps set the cluster-wide default node selector to diff --git a/vendor/github.com/openshift/api/config/v1/types_tlssecurityprofile.go b/vendor/github.com/openshift/api/config/v1/types_tlssecurityprofile.go index b18ef647c2..48657b0894 100644 --- a/vendor/github.com/openshift/api/config/v1/types_tlssecurityprofile.go +++ b/vendor/github.com/openshift/api/config/v1/types_tlssecurityprofile.go @@ -4,178 +4,115 @@ package v1 // is used by operators to apply TLS security settings to operands. // +union type TLSSecurityProfile struct { - // type is one of Old, Intermediate, Modern or Custom. Custom provides - // the ability to specify individual TLS security profile parameters. - // Old, Intermediate and Modern are TLS security profiles based on: + // type is one of Old, Intermediate, Modern or Custom. Custom provides the + // ability to specify individual TLS security profile parameters. // - // https://wiki.mozilla.org/Security/Server_Side_TLS#Recommended_configurations + // The profiles are based on version 5.7 of the Mozilla Server Side TLS + // configuration guidelines. The cipher lists consist of the configuration's + // "ciphersuites" followed by the Go-specific "ciphers" from the guidelines. + // See: https://ssl-config.mozilla.org/guidelines/5.7.json // - // The profiles are intent based, so they may change over time as new ciphers are developed and existing ciphers - // are found to be insecure. Depending on precisely which ciphers are available to a process, the list may be - // reduced. - // - // Note that the Modern profile is currently not supported because it is not - // yet well adopted by common software libraries. + // The profiles are intent based, so they may change over time as new ciphers are + // developed and existing ciphers are found to be insecure. Depending on + // precisely which ciphers are available to a process, the list may be reduced. // // +unionDiscriminator // +optional Type TLSProfileType `json:"type"` - // old is a TLS security profile based on: - // - // https://wiki.mozilla.org/Security/Server_Side_TLS#Old_backward_compatibility - // - // and looks like this (yaml): + + // old is a TLS profile for use when services need to be accessed by very old + // clients or libraries and should be used only as a last resort. // + // This profile is equivalent to a Custom profile specified as: + // minTLSVersion: VersionTLS10 // ciphers: - // // - TLS_AES_128_GCM_SHA256 - // // - TLS_AES_256_GCM_SHA384 - // // - TLS_CHACHA20_POLY1305_SHA256 - // // - ECDHE-ECDSA-AES128-GCM-SHA256 - // // - ECDHE-RSA-AES128-GCM-SHA256 - // // - ECDHE-ECDSA-AES256-GCM-SHA384 - // // - ECDHE-RSA-AES256-GCM-SHA384 - // // - ECDHE-ECDSA-CHACHA20-POLY1305 - // // - ECDHE-RSA-CHACHA20-POLY1305 - // - // - DHE-RSA-AES128-GCM-SHA256 - // - // - DHE-RSA-AES256-GCM-SHA384 - // - // - DHE-RSA-CHACHA20-POLY1305 - // // - ECDHE-ECDSA-AES128-SHA256 - // // - ECDHE-RSA-AES128-SHA256 - // // - ECDHE-ECDSA-AES128-SHA - // // - ECDHE-RSA-AES128-SHA - // - // - ECDHE-ECDSA-AES256-SHA384 - // - // - ECDHE-RSA-AES256-SHA384 - // // - ECDHE-ECDSA-AES256-SHA - // // - ECDHE-RSA-AES256-SHA - // - // - DHE-RSA-AES128-SHA256 - // - // - DHE-RSA-AES256-SHA256 - // // - AES128-GCM-SHA256 - // // - AES256-GCM-SHA384 - // // - AES128-SHA256 - // - // - AES256-SHA256 - // // - AES128-SHA - // // - AES256-SHA - // // - DES-CBC3-SHA // - // minTLSVersion: VersionTLS10 - // // +optional // +nullable Old *OldTLSProfile `json:"old,omitempty"` - // intermediate is a TLS security profile based on: - // - // https://wiki.mozilla.org/Security/Server_Side_TLS#Intermediate_compatibility_.28recommended.29 - // - // and looks like this (yaml): + + // intermediate is a TLS profile for use when you do not need compatibility with + // legacy clients and want to remain highly secure while being compatible with + // most clients currently in use. // + // This profile is equivalent to a Custom profile specified as: + // minTLSVersion: VersionTLS12 // ciphers: - // // - TLS_AES_128_GCM_SHA256 - // // - TLS_AES_256_GCM_SHA384 - // // - TLS_CHACHA20_POLY1305_SHA256 - // // - ECDHE-ECDSA-AES128-GCM-SHA256 - // // - ECDHE-RSA-AES128-GCM-SHA256 - // // - ECDHE-ECDSA-AES256-GCM-SHA384 - // // - ECDHE-RSA-AES256-GCM-SHA384 - // // - ECDHE-ECDSA-CHACHA20-POLY1305 - // // - ECDHE-RSA-CHACHA20-POLY1305 // - // - DHE-RSA-AES128-GCM-SHA256 - // - // - DHE-RSA-AES256-GCM-SHA384 - // - // minTLSVersion: VersionTLS12 - // // +optional // +nullable Intermediate *IntermediateTLSProfile `json:"intermediate,omitempty"` - // modern is a TLS security profile based on: - // - // https://wiki.mozilla.org/Security/Server_Side_TLS#Modern_compatibility - // - // and looks like this (yaml): + + // modern is a TLS security profile for use with clients that support TLS 1.3 and + // do not need backward compatibility for older clients. // + // This profile is equivalent to a Custom profile specified as: + // minTLSVersion: VersionTLS13 // ciphers: - // // - TLS_AES_128_GCM_SHA256 - // // - TLS_AES_256_GCM_SHA384 - // // - TLS_CHACHA20_POLY1305_SHA256 // - // minTLSVersion: VersionTLS13 - // // +optional // +nullable Modern *ModernTLSProfile `json:"modern,omitempty"` + // custom is a user-defined TLS security profile. Be extremely careful using a custom // profile as invalid configurations can be catastrophic. An example custom profile // looks like this: // + // minTLSVersion: VersionTLS11 // ciphers: - // // - ECDHE-ECDSA-CHACHA20-POLY1305 - // // - ECDHE-RSA-CHACHA20-POLY1305 - // // - ECDHE-RSA-AES128-GCM-SHA256 - // // - ECDHE-ECDSA-AES128-GCM-SHA256 // - // minTLSVersion: VersionTLS11 - // // +optional // +nullable Custom *CustomTLSProfile `json:"custom,omitempty"` } -// OldTLSProfile is a TLS security profile based on: -// https://wiki.mozilla.org/Security/Server_Side_TLS#Old_backward_compatibility +// OldTLSProfile is a TLS security profile based on the "old" configuration of +// the Mozilla Server Side TLS configuration guidelines. type OldTLSProfile struct{} -// IntermediateTLSProfile is a TLS security profile based on: -// https://wiki.mozilla.org/Security/Server_Side_TLS#Intermediate_compatibility_.28default.29 +// IntermediateTLSProfile is a TLS security profile based on the "intermediate" +// configuration of the Mozilla Server Side TLS configuration guidelines. type IntermediateTLSProfile struct{} -// ModernTLSProfile is a TLS security profile based on: -// https://wiki.mozilla.org/Security/Server_Side_TLS#Modern_compatibility +// ModernTLSProfile is a TLS security profile based on the "modern" configuration +// of the Mozilla Server Side TLS configuration guidelines. type ModernTLSProfile struct{} // CustomTLSProfile is a user-defined TLS security profile. Be extremely careful @@ -189,28 +126,33 @@ type CustomTLSProfile struct { type TLSProfileType string const ( - // Old is a TLS security profile based on: - // https://wiki.mozilla.org/Security/Server_Side_TLS#Old_backward_compatibility + // TLSProfileOldType sets parameters based on the "old" configuration of + // the Mozilla Server Side TLS configuration guidelines. TLSProfileOldType TLSProfileType = "Old" - // Intermediate is a TLS security profile based on: - // https://wiki.mozilla.org/Security/Server_Side_TLS#Intermediate_compatibility_.28default.29 + + // TLSProfileIntermediateType sets parameters based on the "intermediate" + // configuration of the Mozilla Server Side TLS configuration guidelines. TLSProfileIntermediateType TLSProfileType = "Intermediate" - // Modern is a TLS security profile based on: - // https://wiki.mozilla.org/Security/Server_Side_TLS#Modern_compatibility + + // TLSProfileModernType sets parameters based on the "modern" configuration + // of the Mozilla Server Side TLS configuration guidelines. TLSProfileModernType TLSProfileType = "Modern" - // Custom is a TLS security profile that allows for user-defined parameters. + + // TLSProfileCustomType is a TLS security profile that allows for user-defined parameters. TLSProfileCustomType TLSProfileType = "Custom" ) // TLSProfileSpec is the desired behavior of a TLSSecurityProfile. type TLSProfileSpec struct { // ciphers is used to specify the cipher algorithms that are negotiated - // during the TLS handshake. Operators may remove entries their operands - // do not support. For example, to use DES-CBC3-SHA (yaml): + // during the TLS handshake. Operators may remove entries that their operands + // do not support. For example, to use only ECDHE-RSA-AES128-GCM-SHA256 (yaml): // // ciphers: - // - DES-CBC3-SHA + // - ECDHE-RSA-AES128-GCM-SHA256 // + // TLS 1.3 cipher suites (e.g. TLS_AES_128_GCM_SHA256) are not configurable + // and are always enabled when TLS 1.3 is negotiated. // +listType=atomic Ciphers []string `json:"ciphers"` // minTLSVersion is used to specify the minimal version of the TLS protocol @@ -219,8 +161,6 @@ type TLSProfileSpec struct { // // minTLSVersion: VersionTLS11 // - // NOTE: currently the highest minTLSVersion allowed is VersionTLS12 - // MinTLSVersion TLSProtocolVersion `json:"minTLSVersion"` } @@ -245,11 +185,18 @@ const ( VersionTLS13 TLSProtocolVersion = "VersionTLS13" ) -// TLSProfiles Contains a map of TLSProfileType names to TLSProfileSpec. +// TLSProfiles contains a map of TLSProfileType names to TLSProfileSpec. +// +// These profiles are based on version 5.7 of the Mozilla Server Side TLS +// configuration guidelines. See: https://ssl-config.mozilla.org/guidelines/5.7.json +// +// Each Ciphers slice is the configuration's "ciphersuites" followed by the +// Go-specific "ciphers" from the guidelines JSON. // -// NOTE: The caller needs to make sure to check that these constants are valid for their binary. Not all -// entries map to values for all binaries. In the case of ties, the kube-apiserver wins. Do not fail, -// just be sure to whitelist only and everything will be ok. +// NOTE: The caller needs to make sure to check that these constants are valid +// for their binary. Not all entries map to values for all binaries. In the case +// of ties, the kube-apiserver wins. Do not fail, just be sure to include only +// valid entries and everything will be ok. var TLSProfiles = map[TLSProfileType]*TLSProfileSpec{ TLSProfileOldType: { Ciphers: []string{ @@ -262,23 +209,15 @@ var TLSProfiles = map[TLSProfileType]*TLSProfileSpec{ "ECDHE-RSA-AES256-GCM-SHA384", "ECDHE-ECDSA-CHACHA20-POLY1305", "ECDHE-RSA-CHACHA20-POLY1305", - "DHE-RSA-AES128-GCM-SHA256", - "DHE-RSA-AES256-GCM-SHA384", - "DHE-RSA-CHACHA20-POLY1305", "ECDHE-ECDSA-AES128-SHA256", "ECDHE-RSA-AES128-SHA256", "ECDHE-ECDSA-AES128-SHA", "ECDHE-RSA-AES128-SHA", - "ECDHE-ECDSA-AES256-SHA384", - "ECDHE-RSA-AES256-SHA384", "ECDHE-ECDSA-AES256-SHA", "ECDHE-RSA-AES256-SHA", - "DHE-RSA-AES128-SHA256", - "DHE-RSA-AES256-SHA256", "AES128-GCM-SHA256", "AES256-GCM-SHA384", "AES128-SHA256", - "AES256-SHA256", "AES128-SHA", "AES256-SHA", "DES-CBC3-SHA", @@ -296,8 +235,6 @@ var TLSProfiles = map[TLSProfileType]*TLSProfileSpec{ "ECDHE-RSA-AES256-GCM-SHA384", "ECDHE-ECDSA-CHACHA20-POLY1305", "ECDHE-RSA-CHACHA20-POLY1305", - "DHE-RSA-AES128-GCM-SHA256", - "DHE-RSA-AES256-GCM-SHA384", }, MinTLSVersion: VersionTLS12, }, diff --git a/vendor/github.com/openshift/api/config/v1/zz_generated.deepcopy.go b/vendor/github.com/openshift/api/config/v1/zz_generated.deepcopy.go index 0863934f22..30b85b78e9 100644 --- a/vendor/github.com/openshift/api/config/v1/zz_generated.deepcopy.go +++ b/vendor/github.com/openshift/api/config/v1/zz_generated.deepcopy.go @@ -316,6 +316,22 @@ func (in *AWSServiceEndpoint) DeepCopy() *AWSServiceEndpoint { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AcceptRisk) DeepCopyInto(out *AcceptRisk) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AcceptRisk. +func (in *AcceptRisk) DeepCopy() *AcceptRisk { + if in == nil { + return nil + } + out := new(AcceptRisk) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AdmissionConfig) DeepCopyInto(out *AdmissionConfig) { *out = *in @@ -1393,7 +1409,7 @@ func (in *ClusterVersionSpec) DeepCopyInto(out *ClusterVersionSpec) { if in.DesiredUpdate != nil { in, out := &in.DesiredUpdate, &out.DesiredUpdate *out = new(Update) - **out = **in + (*in).DeepCopyInto(*out) } if in.Capabilities != nil { in, out := &in.Capabilities, &out.Capabilities @@ -1456,6 +1472,13 @@ func (in *ClusterVersionStatus) DeepCopyInto(out *ClusterVersionStatus) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.ConditionalUpdateRisks != nil { + in, out := &in.ConditionalUpdateRisks, &out.ConditionalUpdateRisks + *out = make([]ConditionalUpdateRisk, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } return } @@ -1544,6 +1567,11 @@ func (in *ComponentRouteStatus) DeepCopy() *ComponentRouteStatus { func (in *ConditionalUpdate) DeepCopyInto(out *ConditionalUpdate) { *out = *in in.Release.DeepCopyInto(&out.Release) + if in.RiskNames != nil { + in, out := &in.RiskNames, &out.RiskNames + *out = make([]string, len(*in)) + copy(*out, *in) + } if in.Risks != nil { in, out := &in.Risks, &out.Risks *out = make([]ConditionalUpdateRisk, len(*in)) @@ -1574,6 +1602,13 @@ func (in *ConditionalUpdate) DeepCopy() *ConditionalUpdate { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ConditionalUpdateRisk) DeepCopyInto(out *ConditionalUpdateRisk) { *out = *in + if in.Conditions != nil { + in, out := &in.Conditions, &out.Conditions + *out = make([]metav1.Condition, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } if in.MatchingRules != nil { in, out := &in.MatchingRules, &out.MatchingRules *out = make([]ClusterCondition, len(*in)) @@ -2361,33 +2396,6 @@ func (in *FeatureGateTests) DeepCopy() *FeatureGateTests { return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FulcioCAWithRekor) DeepCopyInto(out *FulcioCAWithRekor) { - *out = *in - if in.FulcioCAData != nil { - in, out := &in.FulcioCAData, &out.FulcioCAData - *out = make([]byte, len(*in)) - copy(*out, *in) - } - if in.RekorKeyData != nil { - in, out := &in.RekorKeyData, &out.RekorKeyData - *out = make([]byte, len(*in)) - copy(*out, *in) - } - out.FulcioSubject = in.FulcioSubject - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FulcioCAWithRekor. -func (in *FulcioCAWithRekor) DeepCopy() *FulcioCAWithRekor { - if in == nil { - return nil - } - out := new(FulcioCAWithRekor) - in.DeepCopyInto(out) - return out -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *GCPPlatformSpec) DeepCopyInto(out *GCPPlatformSpec) { *out = *in @@ -2422,11 +2430,6 @@ func (in *GCPPlatformStatus) DeepCopyInto(out *GCPPlatformStatus) { *out = new(CloudLoadBalancerConfig) (*in).DeepCopyInto(*out) } - if in.ServiceEndpoints != nil { - in, out := &in.ServiceEndpoints, &out.ServiceEndpoints - *out = make([]GCPServiceEndpoint, len(*in)) - copy(*out, *in) - } return } @@ -2472,22 +2475,6 @@ func (in *GCPResourceTag) DeepCopy() *GCPResourceTag { return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GCPServiceEndpoint) DeepCopyInto(out *GCPServiceEndpoint) { - *out = *in - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCPServiceEndpoint. -func (in *GCPServiceEndpoint) DeepCopy() *GCPServiceEndpoint { - if in == nil { - return nil - } - out := new(GCPServiceEndpoint) - in.DeepCopyInto(out) - return out -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *GatherConfig) DeepCopyInto(out *GatherConfig) { *out = *in @@ -3165,6 +3152,33 @@ func (in *ImagePolicy) DeepCopyObject() runtime.Object { return nil } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImagePolicyFulcioCAWithRekorRootOfTrust) DeepCopyInto(out *ImagePolicyFulcioCAWithRekorRootOfTrust) { + *out = *in + if in.FulcioCAData != nil { + in, out := &in.FulcioCAData, &out.FulcioCAData + *out = make([]byte, len(*in)) + copy(*out, *in) + } + if in.RekorKeyData != nil { + in, out := &in.RekorKeyData, &out.RekorKeyData + *out = make([]byte, len(*in)) + copy(*out, *in) + } + out.FulcioSubject = in.FulcioSubject + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImagePolicyFulcioCAWithRekorRootOfTrust. +func (in *ImagePolicyFulcioCAWithRekorRootOfTrust) DeepCopy() *ImagePolicyFulcioCAWithRekorRootOfTrust { + if in == nil { + return nil + } + out := new(ImagePolicyFulcioCAWithRekorRootOfTrust) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ImagePolicyList) DeepCopyInto(out *ImagePolicyList) { *out = *in @@ -3198,6 +3212,59 @@ func (in *ImagePolicyList) DeepCopyObject() runtime.Object { return nil } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImagePolicyPKIRootOfTrust) DeepCopyInto(out *ImagePolicyPKIRootOfTrust) { + *out = *in + if in.CertificateAuthorityRootsData != nil { + in, out := &in.CertificateAuthorityRootsData, &out.CertificateAuthorityRootsData + *out = make([]byte, len(*in)) + copy(*out, *in) + } + if in.CertificateAuthorityIntermediatesData != nil { + in, out := &in.CertificateAuthorityIntermediatesData, &out.CertificateAuthorityIntermediatesData + *out = make([]byte, len(*in)) + copy(*out, *in) + } + out.PKICertificateSubject = in.PKICertificateSubject + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImagePolicyPKIRootOfTrust. +func (in *ImagePolicyPKIRootOfTrust) DeepCopy() *ImagePolicyPKIRootOfTrust { + if in == nil { + return nil + } + out := new(ImagePolicyPKIRootOfTrust) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImagePolicyPublicKeyRootOfTrust) DeepCopyInto(out *ImagePolicyPublicKeyRootOfTrust) { + *out = *in + if in.KeyData != nil { + in, out := &in.KeyData, &out.KeyData + *out = make([]byte, len(*in)) + copy(*out, *in) + } + if in.RekorKeyData != nil { + in, out := &in.RekorKeyData, &out.RekorKeyData + *out = make([]byte, len(*in)) + copy(*out, *in) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImagePolicyPublicKeyRootOfTrust. +func (in *ImagePolicyPublicKeyRootOfTrust) DeepCopy() *ImagePolicyPublicKeyRootOfTrust { + if in == nil { + return nil + } + out := new(ImagePolicyPublicKeyRootOfTrust) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ImagePolicySpec) DeepCopyInto(out *ImagePolicySpec) { *out = *in @@ -3243,6 +3310,28 @@ func (in *ImagePolicyStatus) DeepCopy() *ImagePolicyStatus { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImageSigstoreVerificationPolicy) DeepCopyInto(out *ImageSigstoreVerificationPolicy) { + *out = *in + in.RootOfTrust.DeepCopyInto(&out.RootOfTrust) + if in.SignedIdentity != nil { + in, out := &in.SignedIdentity, &out.SignedIdentity + *out = new(PolicyIdentity) + (*in).DeepCopyInto(*out) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSigstoreVerificationPolicy. +func (in *ImageSigstoreVerificationPolicy) DeepCopy() *ImageSigstoreVerificationPolicy { + if in == nil { + return nil + } + out := new(ImageSigstoreVerificationPolicy) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ImageSpec) DeepCopyInto(out *ImageSpec) { *out = *in @@ -4753,6 +4842,11 @@ func (in *OIDCProvider) DeepCopyInto(out *OIDCProvider) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.UserValidationRules != nil { + in, out := &in.UserValidationRules, &out.UserValidationRules + *out = make([]TokenUserValidationRule, len(*in)) + copy(*out, *in) + } return } @@ -5130,33 +5224,6 @@ func (in *OvirtPlatformStatus) DeepCopy() *OvirtPlatformStatus { return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PKI) DeepCopyInto(out *PKI) { - *out = *in - if in.CertificateAuthorityRootsData != nil { - in, out := &in.CertificateAuthorityRootsData, &out.CertificateAuthorityRootsData - *out = make([]byte, len(*in)) - copy(*out, *in) - } - if in.CertificateAuthorityIntermediatesData != nil { - in, out := &in.CertificateAuthorityIntermediatesData, &out.CertificateAuthorityIntermediatesData - *out = make([]byte, len(*in)) - copy(*out, *in) - } - out.PKICertificateSubject = in.PKICertificateSubject - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PKI. -func (in *PKI) DeepCopy() *PKI { - if in == nil { - return nil - } - out := new(PKI) - in.DeepCopyInto(out) - return out -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PKICertificateSubject) DeepCopyInto(out *PKICertificateSubject) { *out = *in @@ -5378,28 +5445,6 @@ func (in *PlatformStatus) DeepCopy() *PlatformStatus { return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Policy) DeepCopyInto(out *Policy) { - *out = *in - in.RootOfTrust.DeepCopyInto(&out.RootOfTrust) - if in.SignedIdentity != nil { - in, out := &in.SignedIdentity, &out.SignedIdentity - *out = new(PolicyIdentity) - (*in).DeepCopyInto(*out) - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy. -func (in *Policy) DeepCopy() *Policy { - if in == nil { - return nil - } - out := new(Policy) - in.DeepCopyInto(out) - return out -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PolicyFulcioSubject) DeepCopyInto(out *PolicyFulcioSubject) { *out = *in @@ -5479,17 +5524,17 @@ func (in *PolicyRootOfTrust) DeepCopyInto(out *PolicyRootOfTrust) { *out = *in if in.PublicKey != nil { in, out := &in.PublicKey, &out.PublicKey - *out = new(PublicKey) + *out = new(ImagePolicyPublicKeyRootOfTrust) (*in).DeepCopyInto(*out) } if in.FulcioCAWithRekor != nil { in, out := &in.FulcioCAWithRekor, &out.FulcioCAWithRekor - *out = new(FulcioCAWithRekor) + *out = new(ImagePolicyFulcioCAWithRekorRootOfTrust) (*in).DeepCopyInto(*out) } if in.PKI != nil { in, out := &in.PKI, &out.PKI - *out = new(PKI) + *out = new(ImagePolicyPKIRootOfTrust) (*in).DeepCopyInto(*out) } return @@ -5805,32 +5850,6 @@ func (in *ProxyStatus) DeepCopy() *ProxyStatus { return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PublicKey) DeepCopyInto(out *PublicKey) { - *out = *in - if in.KeyData != nil { - in, out := &in.KeyData, &out.KeyData - *out = make([]byte, len(*in)) - copy(*out, *in) - } - if in.RekorKeyData != nil { - in, out := &in.RekorKeyData, &out.RekorKeyData - *out = make([]byte, len(*in)) - copy(*out, *in) - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicKey. -func (in *PublicKey) DeepCopy() *PublicKey { - if in == nil { - return nil - } - out := new(PublicKey) - in.DeepCopyInto(out) - return out -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RegistryLocation) DeepCopyInto(out *RegistryLocation) { *out = *in @@ -6426,6 +6445,22 @@ func (in *TokenClaimOrExpressionMapping) DeepCopy() *TokenClaimOrExpressionMappi return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TokenClaimValidationCELRule) DeepCopyInto(out *TokenClaimValidationCELRule) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenClaimValidationCELRule. +func (in *TokenClaimValidationCELRule) DeepCopy() *TokenClaimValidationCELRule { + if in == nil { + return nil + } + out := new(TokenClaimValidationCELRule) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *TokenClaimValidationRule) DeepCopyInto(out *TokenClaimValidationRule) { *out = *in @@ -6434,6 +6469,7 @@ func (in *TokenClaimValidationRule) DeepCopyInto(out *TokenClaimValidationRule) *out = new(TokenRequiredClaim) **out = **in } + out.CEL = in.CEL return } @@ -6506,9 +6542,30 @@ func (in *TokenRequiredClaim) DeepCopy() *TokenRequiredClaim { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TokenUserValidationRule) DeepCopyInto(out *TokenUserValidationRule) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenUserValidationRule. +func (in *TokenUserValidationRule) DeepCopy() *TokenUserValidationRule { + if in == nil { + return nil + } + out := new(TokenUserValidationRule) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Update) DeepCopyInto(out *Update) { *out = *in + if in.AcceptRisks != nil { + in, out := &in.AcceptRisks, &out.AcceptRisks + *out = make([]AcceptRisk, len(*in)) + copy(*out, *in) + } return } diff --git a/vendor/github.com/openshift/api/config/v1/zz_generated.featuregated-crd-manifests.yaml b/vendor/github.com/openshift/api/config/v1/zz_generated.featuregated-crd-manifests.yaml index d8d6b502ee..eb7c485e03 100644 --- a/vendor/github.com/openshift/api/config/v1/zz_generated.featuregated-crd-manifests.yaml +++ b/vendor/github.com/openshift/api/config/v1/zz_generated.featuregated-crd-manifests.yaml @@ -6,6 +6,7 @@ apiservers.config.openshift.io: Capability: "" Category: "" FeatureGates: + - KMSEncryption - KMSEncryptionProvider FilenameOperatorName: config-operator FilenameOperatorOrdering: "01" @@ -31,6 +32,7 @@ authentications.config.openshift.io: FeatureGates: - ExternalOIDC - ExternalOIDCWithUIDAndExtraClaimMappings + - ExternalOIDCWithUpstreamParity FilenameOperatorName: config-operator FilenameOperatorOrdering: "01" FilenameRunLevel: "0000_10" @@ -141,6 +143,7 @@ clusterversions.config.openshift.io: Capability: "" Category: "" FeatureGates: + - ClusterUpdateAcceptRisks - ImageStreamImportMode - SignatureStores FilenameOperatorName: cluster-version-operator @@ -362,14 +365,16 @@ infrastructures.config.openshift.io: Category: "" FeatureGates: - AWSClusterHostedDNSInstall + - AWSDualStackInstall - AzureClusterHostedDNSInstall + - AzureDualStackInstall - DualReplica - DyanmicServiceEndpointIBMCloud - GCPClusterHostedDNSInstall - - GCPCustomAPIEndpointsInstall - HighlyAvailableArbiter - HighlyAvailableArbiter+DualReplica - NutanixMultiSubnets + - OnPremDNSRecords - VSphereHostVMGroupZonal - VSphereMultiNetworks FilenameOperatorName: config-operator @@ -412,7 +417,7 @@ insightsdatagathers.config.openshift.io: Annotations: {} ApprovedPRNumber: https://github.com/openshift/api/pull/2448 CRDName: insightsdatagathers.config.openshift.io - Capability: "" + Capability: Insights Category: "" FeatureGates: - InsightsConfig @@ -438,8 +443,7 @@ networks.config.openshift.io: CRDName: networks.config.openshift.io Capability: "" Category: "" - FeatureGates: - - NetworkDiagnosticsConfig + FeatureGates: [] FilenameOperatorName: config-operator FilenameOperatorOrdering: "01" FilenameRunLevel: "0000_10" @@ -572,7 +576,7 @@ schedulers.config.openshift.io: Capability: "" Category: "" FeatureGates: - - DynamicResourceAllocation + - HyperShiftOnlyDynamicResourceAllocation FilenameOperatorName: config-operator FilenameOperatorOrdering: "01" FilenameRunLevel: "0000_10" diff --git a/vendor/github.com/openshift/api/config/v1/zz_generated.swagger_doc_generated.go b/vendor/github.com/openshift/api/config/v1/zz_generated.swagger_doc_generated.go index 18a75a9d51..69fb37c523 100644 --- a/vendor/github.com/openshift/api/config/v1/zz_generated.swagger_doc_generated.go +++ b/vendor/github.com/openshift/api/config/v1/zz_generated.swagger_doc_generated.go @@ -407,11 +407,11 @@ func (ExtraMapping) SwaggerDoc() map[string]string { } var map_OIDCClientConfig = map[string]string{ - "": "OIDCClientConfig configures how platform clients interact with identity providers as an authentication method", - "componentName": "componentName is a required field that specifies the name of the platform component being configured to use the identity provider as an authentication mode. It is used in combination with componentNamespace as a unique identifier.\n\ncomponentName must not be an empty string (\"\") and must not exceed 256 characters in length.", - "componentNamespace": "componentNamespace is a required field that specifies the namespace in which the platform component being configured to use the identity provider as an authentication mode is running. It is used in combination with componentName as a unique identifier.\n\ncomponentNamespace must not be an empty string (\"\") and must not exceed 63 characters in length.", + "": "OIDCClientConfig configures how platform clients interact with identity providers as an authentication method.", + "componentName": "componentName is a required field that specifies the name of the platform component being configured to use the identity provider as an authentication mode.\n\nIt is used in combination with componentNamespace as a unique identifier.\n\ncomponentName must not be an empty string (\"\") and must not exceed 256 characters in length.", + "componentNamespace": "componentNamespace is a required field that specifies the namespace in which the platform component being configured to use the identity provider as an authentication mode is running.\n\nIt is used in combination with componentName as a unique identifier.\n\ncomponentNamespace must not be an empty string (\"\") and must not exceed 63 characters in length.", "clientID": "clientID is a required field that configures the client identifier, from the identity provider, that the platform component uses for authentication requests made to the identity provider. The identity provider must accept this identifier for platform components to be able to use the identity provider as an authentication mode.\n\nclientID must not be an empty string (\"\").", - "clientSecret": "clientSecret is an optional field that configures the client secret used by the platform component when making authentication requests to the identity provider.\n\nWhen not specified, no client secret will be used when making authentication requests to the identity provider.\n\nWhen specified, clientSecret references a Secret in the 'openshift-config' namespace that contains the client secret in the 'clientSecret' key of the '.data' field. The client secret will be used when making authentication requests to the identity provider.\n\nPublic clients do not require a client secret but private clients do require a client secret to work with the identity provider.", + "clientSecret": "clientSecret is an optional field that configures the client secret used by the platform component when making authentication requests to the identity provider.\n\nWhen not specified, no client secret will be used when making authentication requests to the identity provider.\n\nWhen specified, clientSecret references a Secret in the 'openshift-config' namespace that contains the client secret in the 'clientSecret' key of the '.data' field.\n\nThe client secret will be used when making authentication requests to the identity provider.\n\nPublic clients do not require a client secret but private clients do require a client secret to work with the identity provider.", "extraScopes": "extraScopes is an optional field that configures the extra scopes that should be requested by the platform component when making authentication requests to the identity provider. This is useful if you have configured claim mappings that requires specific scopes to be requested beyond the standard OIDC scopes.\n\nWhen omitted, no additional scopes are requested.", } @@ -433,8 +433,8 @@ func (OIDCClientReference) SwaggerDoc() map[string]string { var map_OIDCClientStatus = map[string]string{ "": "OIDCClientStatus represents the current state of platform components and how they interact with the configured identity providers.", "componentName": "componentName is a required field that specifies the name of the platform component using the identity provider as an authentication mode. It is used in combination with componentNamespace as a unique identifier.\n\ncomponentName must not be an empty string (\"\") and must not exceed 256 characters in length.", - "componentNamespace": "componentNamespace is a required field that specifies the namespace in which the platform component using the identity provider as an authentication mode is running. It is used in combination with componentName as a unique identifier.\n\ncomponentNamespace must not be an empty string (\"\") and must not exceed 63 characters in length.", - "currentOIDCClients": "currentOIDCClients is an optional list of clients that the component is currently using. Entries must have unique issuerURL/clientID pairs.", + "componentNamespace": "componentNamespace is a required field that specifies the namespace in which the platform component using the identity provider as an authentication mode is running.\n\nIt is used in combination with componentName as a unique identifier.\n\ncomponentNamespace must not be an empty string (\"\") and must not exceed 63 characters in length.", + "currentOIDCClients": "currentOIDCClients is an optional list of clients that the component is currently using.\n\nEntries must have unique issuerURL/clientID pairs.", "consumingUsers": "consumingUsers is an optional list of ServiceAccounts requiring read permissions on the `clientSecret` secret.\n\nconsumingUsers must not exceed 5 entries.", "conditions": "conditions are used to communicate the state of the `oidcClients` entry.\n\nSupported conditions include Available, Degraded and Progressing.\n\nIf Available is true, the component is successfully using the configured client. If Degraded is true, that means something has gone wrong trying to handle the client configuration. If Progressing is true, that means the component is taking some action related to the `oidcClients` entry.", } @@ -449,6 +449,7 @@ var map_OIDCProvider = map[string]string{ "oidcClients": "oidcClients is an optional field that configures how on-cluster, platform clients should request tokens from the identity provider. oidcClients must not exceed 20 entries and entries must have unique namespace/name pairs.", "claimMappings": "claimMappings is a required field that configures the rules to be used by the Kubernetes API server for translating claims in a JWT token, issued by the identity provider, to a cluster identity.", "claimValidationRules": "claimValidationRules is an optional field that configures the rules to be used by the Kubernetes API server for validating the claims in a JWT token issued by the identity provider.\n\nValidation rules are joined via an AND operation.", + "userValidationRules": "userValidationRules is an optional field that configures the set of rules used to validate the cluster user identity that was constructed via mapping token claims to user identity attributes. Rules are CEL expressions that must evaluate to 'true' for authentication to succeed. If any rule in the chain of rules evaluates to 'false', authentication will fail. When specified, at least one rule must be specified and no more than 64 rules may be specified.", } func (OIDCProvider) SwaggerDoc() map[string]string { @@ -457,7 +458,7 @@ func (OIDCProvider) SwaggerDoc() map[string]string { var map_PrefixedClaimMapping = map[string]string{ "": "PrefixedClaimMapping configures a claim mapping that allows for an optional prefix.", - "prefix": "prefix is an optional field that configures the prefix that will be applied to the cluster identity attribute during the process of mapping JWT claims to cluster identity attributes.\n\nWhen omitted (\"\"), no prefix is applied to the cluster identity attribute.\n\nExample: if `prefix` is set to \"myoidc:\" and the `claim` in JWT contains an array of strings \"a\", \"b\" and \"c\", the mapping will result in an array of string \"myoidc:a\", \"myoidc:b\" and \"myoidc:c\".", + "prefix": "prefix is an optional field that configures the prefix that will be applied to the cluster identity attribute during the process of mapping JWT claims to cluster identity attributes.\n\nWhen omitted (\"\"), no prefix is applied to the cluster identity attribute.\n\nExample: if `prefix` is set to \"myoidc:\" and the `claim` in JWT contains an array of strings \"a\", \"b\" and \"c\", the mapping will result in an array of string \"myoidc:a\", \"myoidc:b\" and \"myoidc:c\".", } func (PrefixedClaimMapping) SwaggerDoc() map[string]string { @@ -475,9 +476,9 @@ func (TokenClaimMapping) SwaggerDoc() map[string]string { var map_TokenClaimMappings = map[string]string{ "username": "username is a required field that configures how the username of a cluster identity should be constructed from the claims in a JWT token issued by the identity provider.", - "groups": "groups is an optional field that configures how the groups of a cluster identity should be constructed from the claims in a JWT token issued by the identity provider. When referencing a claim, if the claim is present in the JWT token, its value must be a list of groups separated by a comma (','). For example - '\"example\"' and '\"exampleOne\", \"exampleTwo\", \"exampleThree\"' are valid claim values.", - "uid": "uid is an optional field for configuring the claim mapping used to construct the uid for the cluster identity.\n\nWhen using uid.claim to specify the claim it must be a single string value. When using uid.expression the expression must result in a single string value.\n\nWhen omitted, this means the user has no opinion and the platform is left to choose a default, which is subject to change over time. The current default is to use the 'sub' claim.", - "extra": "extra is an optional field for configuring the mappings used to construct the extra attribute for the cluster identity. When omitted, no extra attributes will be present on the cluster identity. key values for extra mappings must be unique. A maximum of 32 extra attribute mappings may be provided.", + "groups": "groups is an optional field that configures how the groups of a cluster identity should be constructed from the claims in a JWT token issued by the identity provider.\n\nWhen referencing a claim, if the claim is present in the JWT token, its value must be a list of groups separated by a comma (',').\n\nFor example - '\"example\"' and '\"exampleOne\", \"exampleTwo\", \"exampleThree\"' are valid claim values.", + "uid": "uid is an optional field for configuring the claim mapping used to construct the uid for the cluster identity.\n\nWhen using uid.claim to specify the claim it must be a single string value. When using uid.expression the expression must result in a single string value.\n\nWhen omitted, this means the user has no opinion and the platform is left to choose a default, which is subject to change over time.\n\nThe current default is to use the 'sub' claim.", + "extra": "extra is an optional field for configuring the mappings used to construct the extra attribute for the cluster identity. When omitted, no extra attributes will be present on the cluster identity.\n\nkey values for extra mappings must be unique. A maximum of 32 extra attribute mappings may be provided.", } func (TokenClaimMappings) SwaggerDoc() map[string]string { @@ -494,9 +495,20 @@ func (TokenClaimOrExpressionMapping) SwaggerDoc() map[string]string { return map_TokenClaimOrExpressionMapping } +var map_TokenClaimValidationCELRule = map[string]string{ + "expression": "expression is a CEL expression evaluated against token claims. expression is required, must be at least 1 character in length and must not exceed 1024 characters. The expression must return a boolean value where 'true' signals a valid token and 'false' an invalid one.", + "message": "message is a required human-readable message to be logged by the Kubernetes API server if the CEL expression defined in 'expression' fails. message must be at least 1 character in length and must not exceed 256 characters.", +} + +func (TokenClaimValidationCELRule) SwaggerDoc() map[string]string { + return map_TokenClaimValidationCELRule +} + var map_TokenClaimValidationRule = map[string]string{ - "type": "type is an optional field that configures the type of the validation rule.\n\nAllowed values are 'RequiredClaim' and omitted (not provided or an empty string).\n\nWhen set to 'RequiredClaim', the Kubernetes API server will be configured to validate that the incoming JWT contains the required claim and that its value matches the required value.\n\nDefaults to 'RequiredClaim'.", - "requiredClaim": "requiredClaim is an optional field that configures the required claim and value that the Kubernetes API server will use to validate if an incoming JWT is valid for this identity provider.", + "": "TokenClaimValidationRule represents a validation rule based on token claims. If type is RequiredClaim, requiredClaim must be set. If Type is CEL, CEL must be set and RequiredClaim must be omitted.", + "type": "type is an optional field that configures the type of the validation rule.\n\nAllowed values are \"RequiredClaim\" and \"CEL\".\n\nWhen set to 'RequiredClaim', the Kubernetes API server will be configured to validate that the incoming JWT contains the required claim and that its value matches the required value.\n\nWhen set to 'CEL', the Kubernetes API server will be configured to validate the incoming JWT against the configured CEL expression.", + "requiredClaim": "requiredClaim allows configuring a required claim name and its expected value. This field is required when `type` is set to RequiredClaim, and must be omitted when `type` is set to any other value. The Kubernetes API server uses this field to validate if an incoming JWT is valid for this identity provider.", + "cel": "cel holds the CEL expression and message for validation. Must be set when Type is \"CEL\", and forbidden otherwise.", } func (TokenClaimValidationRule) SwaggerDoc() map[string]string { @@ -507,6 +519,7 @@ var map_TokenIssuer = map[string]string{ "issuerURL": "issuerURL is a required field that configures the URL used to issue tokens by the identity provider. The Kubernetes API server determines how authentication tokens should be handled by matching the 'iss' claim in the JWT to the issuerURL of configured identity providers.\n\nMust be at least 1 character and must not exceed 512 characters in length. Must be a valid URL that uses the 'https' scheme and does not contain a query, fragment or user.", "audiences": "audiences is a required field that configures the acceptable audiences the JWT token, issued by the identity provider, must be issued to. At least one of the entries must match the 'aud' claim in the JWT token.\n\naudiences must contain at least one entry and must not exceed ten entries.", "issuerCertificateAuthority": "issuerCertificateAuthority is an optional field that configures the certificate authority, used by the Kubernetes API server, to validate the connection to the identity provider when fetching discovery information.\n\nWhen not specified, the system trust is used.\n\nWhen specified, it must reference a ConfigMap in the openshift-config namespace containing the PEM-encoded CA certificates under the 'ca-bundle.crt' key in the data field of the ConfigMap.", + "discoveryURL": "discoveryURL is an optional field that, if specified, overrides the default discovery endpoint used to retrieve OIDC configuration metadata. By default, the discovery URL is derived from `issuerURL` as \"{issuerURL}/.well-known/openid-configuration\".\n\nThe discoveryURL must be a valid absolute HTTPS URL. It must not contain query parameters, user information, or fragments. Additionally, it must differ from the value of `issuerURL` (ignoring trailing slashes). The discoveryURL value must be at least 1 character long and no longer than 2048 characters.", } func (TokenIssuer) SwaggerDoc() map[string]string { @@ -522,9 +535,19 @@ func (TokenRequiredClaim) SwaggerDoc() map[string]string { return map_TokenRequiredClaim } +var map_TokenUserValidationRule = map[string]string{ + "": "TokenUserValidationRule provides a CEL-based rule used to validate a token subject. Each rule contains a CEL expression that is evaluated against the token’s claims.", + "expression": "expression is a required CEL expression that performs a validation on cluster user identity attributes like username, groups, etc.\n\nThe expression must evaluate to a boolean value. When the expression evaluates to 'true', the cluster user identity is considered valid. When the expression evaluates to 'false', the cluster user identity is not considered valid. expression must be at least 1 character in length and must not exceed 1024 characters.", + "message": "message is a required human-readable message to be logged by the Kubernetes API server if the CEL expression defined in 'expression' fails. message must be at least 1 character in length and must not exceed 256 characters.", +} + +func (TokenUserValidationRule) SwaggerDoc() map[string]string { + return map_TokenUserValidationRule +} + var map_UsernameClaimMapping = map[string]string{ "claim": "claim is a required field that configures the JWT token claim whose value is assigned to the cluster identity field associated with this mapping.\n\nclaim must not be an empty string (\"\") and must not exceed 256 characters.", - "prefixPolicy": "prefixPolicy is an optional field that configures how a prefix should be applied to the value of the JWT claim specified in the 'claim' field.\n\nAllowed values are 'Prefix', 'NoPrefix', and omitted (not provided or an empty string).\n\nWhen set to 'Prefix', the value specified in the prefix field will be prepended to the value of the JWT claim. The prefix field must be set when prefixPolicy is 'Prefix'.\n\nWhen set to 'NoPrefix', no prefix will be prepended to the value of the JWT claim.\n\nWhen omitted, this means no opinion and the platform is left to choose any prefixes that are applied which is subject to change over time. Currently, the platform prepends `{issuerURL}#` to the value of the JWT claim when the claim is not 'email'. As an example, consider the following scenario:\n `prefix` is unset, `issuerURL` is set to `https://myoidc.tld`,\n the JWT claims include \"username\":\"userA\" and \"email\":\"userA@myoidc.tld\",\n and `claim` is set to:\n - \"username\": the mapped value will be \"https://myoidc.tld#userA\"\n - \"email\": the mapped value will be \"userA@myoidc.tld\"", + "prefixPolicy": "prefixPolicy is an optional field that configures how a prefix should be applied to the value of the JWT claim specified in the 'claim' field.\n\nAllowed values are 'Prefix', 'NoPrefix', and omitted (not provided or an empty string).\n\nWhen set to 'Prefix', the value specified in the prefix field will be prepended to the value of the JWT claim.\n\nThe prefix field must be set when prefixPolicy is 'Prefix'.\n\nWhen set to 'NoPrefix', no prefix will be prepended to the value of the JWT claim.\n\nWhen omitted, this means no opinion and the platform is left to choose any prefixes that are applied which is subject to change over time. Currently, the platform prepends `{issuerURL}#` to the value of the JWT claim when the claim is not 'email'.\n\nAs an example, consider the following scenario:\n\n `prefix` is unset, `issuerURL` is set to `https://myoidc.tld`,\n the JWT claims include \"username\":\"userA\" and \"email\":\"userA@myoidc.tld\",\n and `claim` is set to:\n - \"username\": the mapped value will be \"https://myoidc.tld#userA\"\n - \"email\": the mapped value will be \"userA@myoidc.tld\"", "prefix": "prefix configures the prefix that should be prepended to the value of the JWT claim.\n\nprefix must be set when prefixPolicy is set to 'Prefix' and must be unset otherwise.", } @@ -724,6 +747,15 @@ func (OperandVersion) SwaggerDoc() map[string]string { return map_OperandVersion } +var map_AcceptRisk = map[string]string{ + "": "AcceptRisk represents a risk that is considered acceptable.", + "name": "name is the name of the acceptable risk. It must be a non-empty string and must not exceed 256 characters.", +} + +func (AcceptRisk) SwaggerDoc() map[string]string { + return map_AcceptRisk +} + var map_ClusterCondition = map[string]string{ "": "ClusterCondition is a union of typed cluster conditions. The 'type' property determines which of the type-specific properties are relevant. When evaluated on a cluster, the condition may match, not match, or fail to evaluate.", "type": "type represents the cluster-condition type. This defines the members and semantics of any additional properties.", @@ -790,15 +822,16 @@ func (ClusterVersionSpec) SwaggerDoc() map[string]string { } var map_ClusterVersionStatus = map[string]string{ - "": "ClusterVersionStatus reports the status of the cluster versioning, including any upgrades that are in progress. The current field will be set to whichever version the cluster is reconciling to, and the conditions array will report whether the update succeeded, is in progress, or is failing.", - "desired": "desired is the version that the cluster is reconciling towards. If the cluster is not yet fully initialized desired will be set with the information available, which may be an image or a tag.", - "history": "history contains a list of the most recent versions applied to the cluster. This value may be empty during cluster startup, and then will be updated when a new update is being applied. The newest update is first in the list and it is ordered by recency. Updates in the history have state Completed if the rollout completed - if an update was failing or halfway applied the state will be Partial. Only a limited amount of update history is preserved.", - "observedGeneration": "observedGeneration reports which version of the spec is being synced. If this value is not equal to metadata.generation, then the desired and conditions fields may represent a previous version.", - "versionHash": "versionHash is a fingerprint of the content that the cluster will be updated with. It is used by the operator to avoid unnecessary work and is for internal use only.", - "capabilities": "capabilities describes the state of optional, core cluster components.", - "conditions": "conditions provides information about the cluster version. The condition \"Available\" is set to true if the desiredUpdate has been reached. The condition \"Progressing\" is set to true if an update is being applied. The condition \"Degraded\" is set to true if an update is currently blocked by a temporary or permanent error. Conditions are only valid for the current desiredUpdate when metadata.generation is equal to status.generation.", - "availableUpdates": "availableUpdates contains updates recommended for this cluster. Updates which appear in conditionalUpdates but not in availableUpdates may expose this cluster to known issues. This list may be empty if no updates are recommended, if the update service is unavailable, or if an invalid channel has been specified.", - "conditionalUpdates": "conditionalUpdates contains the list of updates that may be recommended for this cluster if it meets specific required conditions. Consumers interested in the set of updates that are actually recommended for this cluster should use availableUpdates. This list may be empty if no updates are recommended, if the update service is unavailable, or if an empty or invalid channel has been specified.", + "": "ClusterVersionStatus reports the status of the cluster versioning, including any upgrades that are in progress. The current field will be set to whichever version the cluster is reconciling to, and the conditions array will report whether the update succeeded, is in progress, or is failing.", + "desired": "desired is the version that the cluster is reconciling towards. If the cluster is not yet fully initialized desired will be set with the information available, which may be an image or a tag.", + "history": "history contains a list of the most recent versions applied to the cluster. This value may be empty during cluster startup, and then will be updated when a new update is being applied. The newest update is first in the list and it is ordered by recency. Updates in the history have state Completed if the rollout completed - if an update was failing or halfway applied the state will be Partial. Only a limited amount of update history is preserved.", + "observedGeneration": "observedGeneration reports which version of the spec is being synced. If this value is not equal to metadata.generation, then the desired and conditions fields may represent a previous version.", + "versionHash": "versionHash is a fingerprint of the content that the cluster will be updated with. It is used by the operator to avoid unnecessary work and is for internal use only.", + "capabilities": "capabilities describes the state of optional, core cluster components.", + "conditions": "conditions provides information about the cluster version. The condition \"Available\" is set to true if the desiredUpdate has been reached. The condition \"Progressing\" is set to true if an update is being applied. The condition \"Degraded\" is set to true if an update is currently blocked by a temporary or permanent error. Conditions are only valid for the current desiredUpdate when metadata.generation is equal to status.generation.", + "availableUpdates": "availableUpdates contains updates recommended for this cluster. Updates which appear in conditionalUpdates but not in availableUpdates may expose this cluster to known issues. This list may be empty if no updates are recommended, if the update service is unavailable, or if an invalid channel has been specified.", + "conditionalUpdates": "conditionalUpdates contains the list of updates that may be recommended for this cluster if it meets specific required conditions. Consumers interested in the set of updates that are actually recommended for this cluster should use availableUpdates. This list may be empty if no updates are recommended, if the update service is unavailable, or if an empty or invalid channel has been specified.", + "conditionalUpdateRisks": "conditionalUpdateRisks contains the list of risks associated with conditionalUpdates. When performing a conditional update, all its associated risks will be compared with the set of accepted risks in the spec.desiredUpdate.acceptRisks field. If all risks for a conditional update are included in the spec.desiredUpdate.acceptRisks set, the conditional update can proceed, otherwise it is blocked. The risk names in the list must be unique. conditionalUpdateRisks must not contain more than 500 entries.", } func (ClusterVersionStatus) SwaggerDoc() map[string]string { @@ -821,6 +854,7 @@ func (ComponentOverride) SwaggerDoc() map[string]string { var map_ConditionalUpdate = map[string]string{ "": "ConditionalUpdate represents an update which is recommended to some clusters on the version the current cluster is reconciling, but which may not be recommended for the current cluster.", "release": "release is the target of the update.", + "riskNames": "riskNames represents the set of the names of conditionalUpdateRisks that are relevant to this update for some clusters. The Applies condition of each conditionalUpdateRisks entry declares if that risk applies to this cluster. A conditional update is accepted only if each of its risks either does not apply to the cluster or is considered acceptable by the cluster administrator. The latter means that the risk names are included in value of the spec.desiredUpdate.acceptRisks field. Entries must be unique and must not exceed 256 characters. riskNames must not contain more than 500 entries.", "risks": "risks represents the range of issues associated with updating to the target release. The cluster-version operator will evaluate all entries, and only recommend the update if there is at least one entry and all entries recommend the update.", "conditions": "conditions represents the observations of the conditional update's current status. Known types are: * Recommended, for whether the update is recommended for the current cluster.", } @@ -831,6 +865,7 @@ func (ConditionalUpdate) SwaggerDoc() map[string]string { var map_ConditionalUpdateRisk = map[string]string{ "": "ConditionalUpdateRisk represents a reason and cluster-state for not recommending a conditional update.", + "conditions": "conditions represents the observations of the conditional update risk's current status. Known types are: * Applies, for whether the risk applies to the current cluster. The condition's types in the list must be unique. conditions must not contain more than one entry.", "url": "url contains information about this risk.", "name": "name is the CamelCase reason for not recommending a conditional update, in the event that matchingRules match the cluster state.", "message": "message provides additional information about the risk of updating, in the event that matchingRules match the cluster state. This is only to be consumed by humans. It may contain Line Feed characters (U+000A), which should be rendered as new lines.", @@ -878,7 +913,8 @@ var map_Update = map[string]string{ "architecture": "architecture is an optional field that indicates the desired value of the cluster architecture. In this context cluster architecture means either a single architecture or a multi architecture. architecture can only be set to Multi thereby only allowing updates from single to multi architecture. If architecture is set, image cannot be set and version must be set. Valid values are 'Multi' and empty.", "version": "version is a semantic version identifying the update version. version is required if architecture is specified. If both version and image are set, the version extracted from the referenced image must match the specified version.", "image": "image is a container image location that contains the update. image should be used when the desired version does not exist in availableUpdates or history. When image is set, architecture cannot be specified. If both version and image are set, the version extracted from the referenced image must match the specified version.", - "force": "force allows an administrator to update to an image that has failed verification or upgradeable checks that are designed to keep your cluster safe. Only use this if: * you are testing unsigned release images in short-lived test clusters or * you are working around a known bug in the cluster-version\n operator and you have verified the authenticity of the provided\n image yourself.\nThe provided image will run with full administrative access to the cluster. Do not use this flag with images that comes from unknown or potentially malicious sources.", + "force": "force allows an administrator to update to an image that has failed verification or upgradeable checks that are designed to keep your cluster safe. Only use this if: * you are testing unsigned release images in short-lived test clusters or * you are working around a known bug in the cluster-version\n operator and you have verified the authenticity of the provided\n image yourself.\nThe provided image will run with full administrative access to the cluster. Do not use this flag with images that come from unknown or potentially malicious sources.", + "acceptRisks": "acceptRisks is an optional set of names of conditional update risks that are considered acceptable. A conditional update is performed only if all of its risks are acceptable. This list may contain entries that apply to current, previous or future updates. The entries therefore may not map directly to a risk in .status.conditionalUpdateRisks. acceptRisks must not contain more than 1000 entries. Entries in this list must be unique.", } func (Update) SwaggerDoc() map[string]string { @@ -893,7 +929,7 @@ var map_UpdateHistory = map[string]string{ "version": "version is a semantic version identifying the update version. If the requested image does not define a version, or if a failure occurs retrieving the image, this value may be empty.", "image": "image is a container image location that contains the update. This value is always populated.", "verified": "verified indicates whether the provided update was properly verified before it was installed. If this is false the cluster may not be trusted. Verified does not cover upgradeable checks that depend on the cluster state at the time when the update target was accepted.", - "acceptedRisks": "acceptedRisks records risks which were accepted to initiate the update. For example, it may menition an Upgradeable=False or missing signature that was overridden via desiredUpdate.force, or an update that was initiated despite not being in the availableUpdates set of recommended update targets.", + "acceptedRisks": "acceptedRisks records risks which were accepted to initiate the update. For example, it may mention an Upgradeable=False or missing signature that was overridden via desiredUpdate.force, or an update that was initiated despite not being in the availableUpdates set of recommended update targets.", } func (UpdateHistory) SwaggerDoc() map[string]string { @@ -1214,17 +1250,6 @@ func (ImageDigestMirrors) SwaggerDoc() map[string]string { return map_ImageDigestMirrors } -var map_FulcioCAWithRekor = map[string]string{ - "": "FulcioCAWithRekor defines the root of trust based on the Fulcio certificate and the Rekor public key.", - "fulcioCAData": "fulcioCAData is a required field contains inline base64-encoded data for the PEM format fulcio CA. fulcioCAData must be at most 8192 characters. ", - "rekorKeyData": "rekorKeyData is a required field contains inline base64-encoded data for the PEM format from the Rekor public key. rekorKeyData must be at most 8192 characters. ", - "fulcioSubject": "fulcioSubject is a required field specifies OIDC issuer and the email of the Fulcio authentication configuration.", -} - -func (FulcioCAWithRekor) SwaggerDoc() map[string]string { - return map_FulcioCAWithRekor -} - var map_ImagePolicy = map[string]string{ "": "ImagePolicy holds namespace-wide configuration for image signature verification\n\nCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).", "metadata": "metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", @@ -1236,6 +1261,17 @@ func (ImagePolicy) SwaggerDoc() map[string]string { return map_ImagePolicy } +var map_ImagePolicyFulcioCAWithRekorRootOfTrust = map[string]string{ + "": "ImagePolicyFulcioCAWithRekorRootOfTrust defines the root of trust based on the Fulcio certificate and the Rekor public key.", + "fulcioCAData": "fulcioCAData is a required field contains inline base64-encoded data for the PEM format fulcio CA. fulcioCAData must be at most 8192 characters. ", + "rekorKeyData": "rekorKeyData is a required field contains inline base64-encoded data for the PEM format from the Rekor public key. rekorKeyData must be at most 8192 characters. ", + "fulcioSubject": "fulcioSubject is a required field specifies OIDC issuer and the email of the Fulcio authentication configuration.", +} + +func (ImagePolicyFulcioCAWithRekorRootOfTrust) SwaggerDoc() map[string]string { + return map_ImagePolicyFulcioCAWithRekorRootOfTrust +} + var map_ImagePolicyList = map[string]string{ "": "ImagePolicyList is a list of ImagePolicy resources\n\nCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).", "metadata": "metadata is the standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", @@ -1246,6 +1282,27 @@ func (ImagePolicyList) SwaggerDoc() map[string]string { return map_ImagePolicyList } +var map_ImagePolicyPKIRootOfTrust = map[string]string{ + "": "ImagePolicyPKIRootOfTrust defines the root of trust based on Root CA(s) and corresponding intermediate certificates.", + "caRootsData": "caRootsData contains base64-encoded data of a certificate bundle PEM file, which contains one or more CA roots in the PEM format. The total length of the data must not exceed 8192 characters. ", + "caIntermediatesData": "caIntermediatesData contains base64-encoded data of a certificate bundle PEM file, which contains one or more intermediate certificates in the PEM format. The total length of the data must not exceed 8192 characters. caIntermediatesData requires caRootsData to be set. ", + "pkiCertificateSubject": "pkiCertificateSubject defines the requirements imposed on the subject to which the certificate was issued.", +} + +func (ImagePolicyPKIRootOfTrust) SwaggerDoc() map[string]string { + return map_ImagePolicyPKIRootOfTrust +} + +var map_ImagePolicyPublicKeyRootOfTrust = map[string]string{ + "": "ImagePolicyPublicKeyRootOfTrust defines the root of trust based on a sigstore public key.", + "keyData": "keyData is a required field contains inline base64-encoded data for the PEM format public key. keyData must be at most 8192 characters. ", + "rekorKeyData": "rekorKeyData is an optional field contains inline base64-encoded data for the PEM format from the Rekor public key. rekorKeyData must be at most 8192 characters. ", +} + +func (ImagePolicyPublicKeyRootOfTrust) SwaggerDoc() map[string]string { + return map_ImagePolicyPublicKeyRootOfTrust +} + var map_ImagePolicySpec = map[string]string{ "": "ImagePolicySpec is the specification of the ImagePolicy CRD.", "scopes": "scopes is a required field that defines the list of image identities assigned to a policy. Each item refers to a scope in a registry implementing the \"Docker Registry HTTP API V2\". Scopes matching individual images are named Docker references in the fully expanded form, either using a tag or digest. For example, docker.io/library/busybox:latest (not busybox:latest). More general scopes are prefixes of individual-image scopes, and specify a repository (by omitting the tag or digest), a repository namespace, or a registry host (by only specifying the host name and possibly a port number) or a wildcard expression starting with `*.`, for matching all subdomains (not including a port number). Wildcards are only supported for subdomain matching, and may not be used in the middle of the host, i.e. *.example.com is a valid case, but example*.*.com is not. This support no more than 256 scopes in one object. If multiple scopes match a given image, only the policy requirements for the most specific scope apply. The policy requirements for more general scopes are ignored. In addition to setting a policy appropriate for your own deployed applications, make sure that a policy on the OpenShift image repositories quay.io/openshift-release-dev/ocp-release, quay.io/openshift-release-dev/ocp-v4.0-art-dev (or on a more general scope) allows deployment of the OpenShift images required for cluster operation. If a scope is configured in both the ClusterImagePolicy and the ImagePolicy, or if the scope in ImagePolicy is nested under one of the scopes from the ClusterImagePolicy, only the policy from the ClusterImagePolicy will be applied. For additional details about the format, please refer to the document explaining the docker transport field, which can be found at: https://github.com/containers/image/blob/main/docs/containers-policy.json.5.md#docker", @@ -1264,15 +1321,14 @@ func (ImagePolicyStatus) SwaggerDoc() map[string]string { return map_ImagePolicyStatus } -var map_PKI = map[string]string{ - "": "PKI defines the root of trust based on Root CA(s) and corresponding intermediate certificates.", - "caRootsData": "caRootsData contains base64-encoded data of a certificate bundle PEM file, which contains one or more CA roots in the PEM format. The total length of the data must not exceed 8192 characters. ", - "caIntermediatesData": "caIntermediatesData contains base64-encoded data of a certificate bundle PEM file, which contains one or more intermediate certificates in the PEM format. The total length of the data must not exceed 8192 characters. caIntermediatesData requires caRootsData to be set. ", - "pkiCertificateSubject": "pkiCertificateSubject defines the requirements imposed on the subject to which the certificate was issued.", +var map_ImageSigstoreVerificationPolicy = map[string]string{ + "": "ImageSigstoreVerificationPolicy defines the verification policy for the items in the scopes list.", + "rootOfTrust": "rootOfTrust is a required field that defines the root of trust for verifying image signatures during retrieval. This allows image consumers to specify policyType and corresponding configuration of the policy, matching how the policy was generated.", + "signedIdentity": "signedIdentity is an optional field specifies what image identity the signature claims about the image. This is useful when the image identity in the signature differs from the original image spec, such as when mirror registry is configured for the image scope, the signature from the mirror registry contains the image identity of the mirror instead of the original scope. The required matchPolicy field specifies the approach used in the verification process to verify the identity in the signature and the actual image identity, the default matchPolicy is \"MatchRepoDigestOrExact\".", } -func (PKI) SwaggerDoc() map[string]string { - return map_PKI +func (ImageSigstoreVerificationPolicy) SwaggerDoc() map[string]string { + return map_ImageSigstoreVerificationPolicy } var map_PKICertificateSubject = map[string]string{ @@ -1285,16 +1341,6 @@ func (PKICertificateSubject) SwaggerDoc() map[string]string { return map_PKICertificateSubject } -var map_Policy = map[string]string{ - "": "Policy defines the verification policy for the items in the scopes list.", - "rootOfTrust": "rootOfTrust is a required field that defines the root of trust for verifying image signatures during retrieval. This allows image consumers to specify policyType and corresponding configuration of the policy, matching how the policy was generated.", - "signedIdentity": "signedIdentity is an optional field specifies what image identity the signature claims about the image. This is useful when the image identity in the signature differs from the original image spec, such as when mirror registry is configured for the image scope, the signature from the mirror registry contains the image identity of the mirror instead of the original scope. The required matchPolicy field specifies the approach used in the verification process to verify the identity in the signature and the actual image identity, the default matchPolicy is \"MatchRepoDigestOrExact\".", -} - -func (Policy) SwaggerDoc() map[string]string { - return map_Policy -} - var map_PolicyFulcioSubject = map[string]string{ "": "PolicyFulcioSubject defines the OIDC issuer and the email of the Fulcio authentication configuration.", "oidcIssuer": "oidcIssuer is a required filed contains the expected OIDC issuer. The oidcIssuer must be a valid URL and at most 2048 characters in length. It will be verified that the Fulcio-issued certificate contains a (Fulcio-defined) certificate extension pointing at this OIDC issuer URL. When Fulcio issues certificates, it includes a value based on an URL inside the client-provided ID token. Example: \"https://expected.OIDC.issuer/\"", @@ -1335,7 +1381,7 @@ func (PolicyMatchRemapIdentity) SwaggerDoc() map[string]string { var map_PolicyRootOfTrust = map[string]string{ "": "PolicyRootOfTrust defines the root of trust based on the selected policyType.", - "policyType": "policyType is a required field specifies the type of the policy for verification. This field must correspond to how the policy was generated. Allowed values are \"PublicKey\", \"FulcioCAWithRekor\", and \"PKI\". When set to \"PublicKey\", the policy relies on a sigstore publicKey and may optionally use a Rekor verification. When set to \"FulcioCAWithRekor\", the policy is based on the Fulcio certification and incorporates a Rekor verification. When set to \"PKI\", the policy is based on the certificates from Bring Your Own Public Key Infrastructure (BYOPKI). This value is enabled by turning on the SigstoreImageVerificationPKI feature gate.", + "policyType": "policyType is a required field specifies the type of the policy for verification. This field must correspond to how the policy was generated. Allowed values are \"PublicKey\", \"FulcioCAWithRekor\", and \"PKI\". When set to \"PublicKey\", the policy relies on a sigstore publicKey and may optionally use a Rekor verification. When set to \"FulcioCAWithRekor\", the policy is based on the Fulcio certification and incorporates a Rekor verification. When set to \"PKI\", the policy is based on the certificates from Bring Your Own Public Key Infrastructure (BYOPKI).", "publicKey": "publicKey defines the root of trust configuration based on a sigstore public key. Optionally include a Rekor public key for Rekor verification. publicKey is required when policyType is PublicKey, and forbidden otherwise.", "fulcioCAWithRekor": "fulcioCAWithRekor defines the root of trust configuration based on the Fulcio certificate and the Rekor public key. fulcioCAWithRekor is required when policyType is FulcioCAWithRekor, and forbidden otherwise For more information about Fulcio and Rekor, please refer to the document at: https://github.com/sigstore/fulcio and https://github.com/sigstore/rekor", "pki": "pki defines the root of trust configuration based on Bring Your Own Public Key Infrastructure (BYOPKI) Root CA(s) and corresponding intermediate certificates. pki is required when policyType is PKI, and forbidden otherwise.", @@ -1345,16 +1391,6 @@ func (PolicyRootOfTrust) SwaggerDoc() map[string]string { return map_PolicyRootOfTrust } -var map_PublicKey = map[string]string{ - "": "PublicKey defines the root of trust based on a sigstore public key.", - "keyData": "keyData is a required field contains inline base64-encoded data for the PEM format public key. keyData must be at most 8192 characters. ", - "rekorKeyData": "rekorKeyData is an optional field contains inline base64-encoded data for the PEM format from the Rekor public key. rekorKeyData must be at most 8192 characters. ", -} - -func (PublicKey) SwaggerDoc() map[string]string { - return map_PublicKey -} - var map_ImageTagMirrorSet = map[string]string{ "": "ImageTagMirrorSet holds cluster-wide information about how to handle registry mirror rules on using tag pull specification. When multiple policies are defined, the outcome of the behavior is defined on each field.\n\nCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).", "metadata": "metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", @@ -1410,6 +1446,7 @@ var map_AWSPlatformStatus = map[string]string{ "serviceEndpoints": "serviceEndpoints list contains custom endpoints which will override default service endpoint of AWS Services. There must be only one ServiceEndpoint for a service.", "resourceTags": "resourceTags is a list of additional tags to apply to AWS resources created for the cluster. See https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html for information on tagging AWS resources. AWS supports a maximum of 50 tags per resource. OpenShift reserves 25 tags for its use, leaving 25 tags available for the user.", "cloudLoadBalancerConfig": "cloudLoadBalancerConfig holds configuration related to DNS and cloud load balancers. It allows configuration of in-cluster DNS as an alternative to the platform default DNS implementation. When using the ClusterHosted DNS type, Load Balancer IP addresses must be provided for the API and internal API load balancers as well as the ingress load balancer.", + "ipFamily": "ipFamily specifies the IP protocol family that should be used for AWS network resources. This controls whether AWS resources are created with IPv4-only, or dual-stack networking with IPv4 or IPv6 as the primary protocol family.", } func (AWSPlatformStatus) SwaggerDoc() map[string]string { @@ -1481,6 +1518,7 @@ var map_AzurePlatformStatus = map[string]string{ "armEndpoint": "armEndpoint specifies a URL to use for resource management in non-soverign clouds such as Azure Stack.", "resourceTags": "resourceTags is a list of additional tags to apply to Azure resources created for the cluster. See https://docs.microsoft.com/en-us/rest/api/resources/tags for information on tagging Azure resources. Due to limitations on Automation, Content Delivery Network, DNS Azure resources, a maximum of 15 tags may be applied. OpenShift reserves 5 tags for internal use, allowing 10 tags for user configuration.", "cloudLoadBalancerConfig": "cloudLoadBalancerConfig holds configuration related to DNS and cloud load balancers. It allows configuration of in-cluster DNS as an alternative to the platform default DNS implementation. When using the ClusterHosted DNS type, Load Balancer IP addresses must be provided for the API and internal API load balancers as well as the ingress load balancer.", + "ipFamily": "ipFamily specifies the IP protocol family that should be used for Azure network resources. This controls whether Azure resources are created with IPv4-only, or dual-stack networking with IPv4 or IPv6 as the primary protocol family.", } func (AzurePlatformStatus) SwaggerDoc() map[string]string { @@ -1525,6 +1563,7 @@ var map_BareMetalPlatformStatus = map[string]string{ "ingressIPs": "ingressIPs are the external IPs which route to the default ingress controller. The IPs are suitable targets of a wildcard DNS record used to resolve default route host names. In dual stack clusters this list contains two IPs otherwise only one.", "nodeDNSIP": "nodeDNSIP is the IP address for the internal DNS used by the nodes. Unlike the one managed by the DNS operator, `NodeDNSIP` provides name resolution for the nodes themselves. There is no DNS-as-a-service for BareMetal deployments. In order to minimize necessary changes to the datacenter DNS, a DNS service is hosted as a static pod to serve those hostnames to the nodes in the cluster.", "loadBalancer": "loadBalancer defines how the load balancer used by the cluster is configured.", + "dnsRecordsType": "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure and no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure and must be configured by the user on a DNS server outside the cluster. Cluster nodes must use this external server for their upstream DNS requests. This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", "machineNetworks": "machineNetworks are IP networks used to connect all the OpenShift cluster nodes.", } @@ -1613,7 +1652,6 @@ var map_GCPPlatformStatus = map[string]string{ "resourceLabels": "resourceLabels is a list of additional labels to apply to GCP resources created for the cluster. See https://cloud.google.com/compute/docs/labeling-resources for information on labeling GCP resources. GCP supports a maximum of 64 labels per resource. OpenShift reserves 32 labels for internal use, allowing 32 labels for user configuration.", "resourceTags": "resourceTags is a list of additional tags to apply to GCP resources created for the cluster. See https://cloud.google.com/resource-manager/docs/tags/tags-overview for information on tagging GCP resources. GCP supports a maximum of 50 tags per resource.", "cloudLoadBalancerConfig": "cloudLoadBalancerConfig holds configuration related to DNS and cloud load balancers. It allows configuration of in-cluster DNS as an alternative to the platform default DNS implementation. When using the ClusterHosted DNS type, Load Balancer IP addresses must be provided for the API and internal API load balancers as well as the ingress load balancer.", - "serviceEndpoints": "serviceEndpoints specifies endpoints that override the default endpoints used when creating clients to interact with GCP services. When not specified, the default endpoint for the GCP region will be used. Only 1 endpoint override is permitted for each GCP service. The maximum number of endpoint overrides allowed is 11.", } func (GCPPlatformStatus) SwaggerDoc() map[string]string { @@ -1641,16 +1679,6 @@ func (GCPResourceTag) SwaggerDoc() map[string]string { return map_GCPResourceTag } -var map_GCPServiceEndpoint = map[string]string{ - "": "GCPServiceEndpoint store the configuration of a custom url to override existing defaults of GCP Services.", - "name": "name is the name of the GCP service whose endpoint is being overridden. This must be provided and cannot be empty.\n\nAllowed values are Compute, Container, CloudResourceManager, DNS, File, IAM, ServiceUsage, Storage, and TagManager.\n\nAs an example, when setting the name to Compute all requests made by the caller to the GCP Compute Service will be directed to the endpoint specified in the url field.", - "url": "url is a fully qualified URI that overrides the default endpoint for a client using the GCP service specified in the name field. url is required, must use the scheme https, must not be more than 253 characters in length, and must be a valid URL according to Go's net/url package (https://pkg.go.dev/net/url#URL)\n\nAn example of a valid endpoint that overrides the Compute Service: \"https://compute-myendpoint1.p.googleapis.com\"", -} - -func (GCPServiceEndpoint) SwaggerDoc() map[string]string { - return map_GCPServiceEndpoint -} - var map_IBMCloudPlatformSpec = map[string]string{ "": "IBMCloudPlatformSpec holds the desired state of the IBMCloud infrastructure provider. This only includes fields that can be modified in the cluster.", "serviceEndpoints": "serviceEndpoints is a list of custom endpoints which will override the default service endpoints of an IBM service. These endpoints are used by components within the cluster when trying to reach the IBM Cloud Services that have been overridden. The CCCMO reads in the IBMCloudPlatformSpec and validates each endpoint is resolvable. Once validated, the cloud config and IBMCloudPlatformStatus are updated to reflect the same custom endpoints. A maximum of 13 service endpoints overrides are supported.", @@ -1787,6 +1815,7 @@ var map_NutanixPlatformStatus = map[string]string{ "ingressIP": "ingressIP is an external IP which routes to the default ingress controller. The IP is a suitable target of a wildcard DNS record used to resolve default route host names.\n\nDeprecated: Use IngressIPs instead.", "ingressIPs": "ingressIPs are the external IPs which route to the default ingress controller. The IPs are suitable targets of a wildcard DNS record used to resolve default route host names. In dual stack clusters this list contains two IPs otherwise only one.", "loadBalancer": "loadBalancer defines how the load balancer used by the cluster is configured.", + "dnsRecordsType": "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure and no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure and must be configured by the user on a DNS server outside the cluster. Cluster nodes must use this external server for their upstream DNS requests. This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", } func (NutanixPlatformStatus) SwaggerDoc() map[string]string { @@ -1853,6 +1882,7 @@ var map_OpenStackPlatformStatus = map[string]string{ "ingressIPs": "ingressIPs are the external IPs which route to the default ingress controller. The IPs are suitable targets of a wildcard DNS record used to resolve default route host names. In dual stack clusters this list contains two IPs otherwise only one.", "nodeDNSIP": "nodeDNSIP is the IP address for the internal DNS used by the nodes. Unlike the one managed by the DNS operator, `NodeDNSIP` provides name resolution for the nodes themselves. There is no DNS-as-a-service for OpenStack deployments. In order to minimize necessary changes to the datacenter DNS, a DNS service is hosted as a static pod to serve those hostnames to the nodes in the cluster.", "loadBalancer": "loadBalancer defines how the load balancer used by the cluster is configured.", + "dnsRecordsType": "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure and no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure and must be configured by the user on a DNS server outside the cluster. Cluster nodes must use this external server for their upstream DNS requests. This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", "machineNetworks": "machineNetworks are IP networks used to connect all the OpenShift cluster nodes.", } @@ -1885,6 +1915,7 @@ var map_OvirtPlatformStatus = map[string]string{ "ingressIPs": "ingressIPs are the external IPs which route to the default ingress controller. The IPs are suitable targets of a wildcard DNS record used to resolve default route host names. In dual stack clusters this list contains two IPs otherwise only one.", "nodeDNSIP": "deprecated: as of 4.6, this field is no longer set or honored. It will be removed in a future release.", "loadBalancer": "loadBalancer defines how the load balancer used by the cluster is configured.", + "dnsRecordsType": "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure and no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure and must be configured by the user on a DNS server outside the cluster. Cluster nodes must use this external server for their upstream DNS requests. This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", } func (OvirtPlatformStatus) SwaggerDoc() map[string]string { @@ -1893,7 +1924,7 @@ func (OvirtPlatformStatus) SwaggerDoc() map[string]string { var map_PlatformSpec = map[string]string{ "": "PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.", - "type": "type is the underlying infrastructure provider for the cluster. This value controls whether infrastructure automation such as service load balancers, dynamic volume provisioning, machine creation and deletion, and other integrations are enabled. If None, no infrastructure automation is enabled. Allowed values are \"AWS\", \"Azure\", \"BareMetal\", \"GCP\", \"Libvirt\", \"OpenStack\", \"VSphere\", \"oVirt\", \"KubeVirt\", \"EquinixMetal\", \"PowerVS\", \"AlibabaCloud\", \"Nutanix\" and \"None\". Individual components may not support all platforms, and must handle unrecognized platforms as None if they do not support that platform.", + "type": "type is the underlying infrastructure provider for the cluster. This value controls whether infrastructure automation such as service load balancers, dynamic volume provisioning, machine creation and deletion, and other integrations are enabled. If None, no infrastructure automation is enabled. Allowed values are \"AWS\", \"Azure\", \"BareMetal\", \"GCP\", \"Libvirt\", \"OpenStack\", \"VSphere\", \"oVirt\", \"IBMCloud\", \"KubeVirt\", \"EquinixMetal\", \"PowerVS\", \"AlibabaCloud\", \"Nutanix\", \"External\", and \"None\". Individual components may not support all platforms, and must handle unrecognized platforms as None if they do not support that platform.", "aws": "aws contains settings specific to the Amazon Web Services infrastructure provider.", "azure": "azure contains settings specific to the Azure infrastructure provider.", "gcp": "gcp contains settings specific to the Google Cloud Platform infrastructure provider.", @@ -2067,6 +2098,7 @@ var map_VSpherePlatformStatus = map[string]string{ "ingressIPs": "ingressIPs are the external IPs which route to the default ingress controller. The IPs are suitable targets of a wildcard DNS record used to resolve default route host names. In dual stack clusters this list contains two IPs otherwise only one.", "nodeDNSIP": "nodeDNSIP is the IP address for the internal DNS used by the nodes. Unlike the one managed by the DNS operator, `NodeDNSIP` provides name resolution for the nodes themselves. There is no DNS-as-a-service for vSphere deployments. In order to minimize necessary changes to the datacenter DNS, a DNS service is hosted as a static pod to serve those hostnames to the nodes in the cluster.", "loadBalancer": "loadBalancer defines how the load balancer used by the cluster is configured.", + "dnsRecordsType": "dnsRecordsType determines whether records for api, api-int, and ingress are provided by the internal DNS service or externally. Allowed values are `Internal`, `External`, and omitted. When set to `Internal`, records are provided by the internal infrastructure and no additional user configuration is required for the cluster to function. When set to `External`, records are not provided by the internal infrastructure and must be configured by the user on a DNS server outside the cluster. Cluster nodes must use this external server for their upstream DNS requests. This value may only be set when loadBalancer.type is set to UserManaged. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `Internal`.", "machineNetworks": "machineNetworks are IP networks used to connect all the OpenShift cluster nodes.", } @@ -2894,7 +2926,7 @@ func (SchedulerList) SwaggerDoc() map[string]string { var map_SchedulerSpec = map[string]string{ "policy": "DEPRECATED: the scheduler Policy API has been deprecated and will be removed in a future release. policy is a reference to a ConfigMap containing scheduler policy which has user specified predicates and priorities. If this ConfigMap is not available scheduler will default to use DefaultAlgorithmProvider. The namespace for this configmap is openshift-config.", "profile": "profile sets which scheduling profile should be set in order to configure scheduling decisions for new pods.\n\nValid values are \"LowNodeUtilization\", \"HighNodeUtilization\", \"NoScoring\" Defaults to \"LowNodeUtilization\"", - "profileCustomizations": "profileCustomizations contains configuration for modifying the default behavior of existing scheduler profiles.", + "profileCustomizations": "profileCustomizations contains configuration for modifying the default behavior of existing scheduler profiles. Deprecated: no longer needed, since DRA is GA starting with 4.21, and is enabled by' default in the cluster, this field will be removed in 4.24.", "defaultNodeSelector": "defaultNodeSelector helps set the cluster-wide default node selector to restrict pod placement to specific nodes. This is applied to the pods created in all namespaces and creates an intersection with any existing nodeSelectors already set on a pod, additionally constraining that pod's selector. For example, defaultNodeSelector: \"type=user-node,region=east\" would set nodeSelector field in pod spec to \"type=user-node,region=east\" to all pods created in all namespaces. Namespaces having project-wide node selectors won't be impacted even if this field is set. This adds an annotation section to the namespace. For example, if a new namespace is created with node-selector='type=user-node,region=east', the annotation openshift.io/node-selector: type=user-node,region=east gets added to the project. When the openshift.io/node-selector annotation is set on the project the value is used in preference to the value we are setting for defaultNodeSelector field. For instance, openshift.io/node-selector: \"type=user-node,region=west\" means that the default of \"type=user-node,region=east\" set in defaultNodeSelector would not be applied.", "mastersSchedulable": "mastersSchedulable allows masters nodes to be schedulable. When this flag is turned on, all the master nodes in the cluster will be made schedulable, so that workload pods can run on them. The default value for this field is false, meaning none of the master nodes are schedulable. Important Note: Once the workload pods start running on the master nodes, extreme care must be taken to ensure that cluster-critical control plane components are not impacted. Please turn on this field after doing due diligence.", } @@ -2947,7 +2979,7 @@ func (CustomTLSProfile) SwaggerDoc() map[string]string { } var map_IntermediateTLSProfile = map[string]string{ - "": "IntermediateTLSProfile is a TLS security profile based on: https://wiki.mozilla.org/Security/Server_Side_TLS#Intermediate_compatibility_.28default.29", + "": "IntermediateTLSProfile is a TLS security profile based on the \"intermediate\" configuration of the Mozilla Server Side TLS configuration guidelines.", } func (IntermediateTLSProfile) SwaggerDoc() map[string]string { @@ -2955,7 +2987,7 @@ func (IntermediateTLSProfile) SwaggerDoc() map[string]string { } var map_ModernTLSProfile = map[string]string{ - "": "ModernTLSProfile is a TLS security profile based on: https://wiki.mozilla.org/Security/Server_Side_TLS#Modern_compatibility", + "": "ModernTLSProfile is a TLS security profile based on the \"modern\" configuration of the Mozilla Server Side TLS configuration guidelines.", } func (ModernTLSProfile) SwaggerDoc() map[string]string { @@ -2963,7 +2995,7 @@ func (ModernTLSProfile) SwaggerDoc() map[string]string { } var map_OldTLSProfile = map[string]string{ - "": "OldTLSProfile is a TLS security profile based on: https://wiki.mozilla.org/Security/Server_Side_TLS#Old_backward_compatibility", + "": "OldTLSProfile is a TLS security profile based on the \"old\" configuration of the Mozilla Server Side TLS configuration guidelines.", } func (OldTLSProfile) SwaggerDoc() map[string]string { @@ -2972,8 +3004,8 @@ func (OldTLSProfile) SwaggerDoc() map[string]string { var map_TLSProfileSpec = map[string]string{ "": "TLSProfileSpec is the desired behavior of a TLSSecurityProfile.", - "ciphers": "ciphers is used to specify the cipher algorithms that are negotiated during the TLS handshake. Operators may remove entries their operands do not support. For example, to use DES-CBC3-SHA (yaml):\n\n ciphers:\n - DES-CBC3-SHA", - "minTLSVersion": "minTLSVersion is used to specify the minimal version of the TLS protocol that is negotiated during the TLS handshake. For example, to use TLS versions 1.1, 1.2 and 1.3 (yaml):\n\n minTLSVersion: VersionTLS11\n\nNOTE: currently the highest minTLSVersion allowed is VersionTLS12", + "ciphers": "ciphers is used to specify the cipher algorithms that are negotiated during the TLS handshake. Operators may remove entries that their operands do not support. For example, to use only ECDHE-RSA-AES128-GCM-SHA256 (yaml):\n\n ciphers:\n - ECDHE-RSA-AES128-GCM-SHA256\n\nTLS 1.3 cipher suites (e.g. TLS_AES_128_GCM_SHA256) are not configurable and are always enabled when TLS 1.3 is negotiated.", + "minTLSVersion": "minTLSVersion is used to specify the minimal version of the TLS protocol that is negotiated during the TLS handshake. For example, to use TLS versions 1.1, 1.2 and 1.3 (yaml):\n\n minTLSVersion: VersionTLS11", } func (TLSProfileSpec) SwaggerDoc() map[string]string { @@ -2982,11 +3014,11 @@ func (TLSProfileSpec) SwaggerDoc() map[string]string { var map_TLSSecurityProfile = map[string]string{ "": "TLSSecurityProfile defines the schema for a TLS security profile. This object is used by operators to apply TLS security settings to operands.", - "type": "type is one of Old, Intermediate, Modern or Custom. Custom provides the ability to specify individual TLS security profile parameters. Old, Intermediate and Modern are TLS security profiles based on:\n\nhttps://wiki.mozilla.org/Security/Server_Side_TLS#Recommended_configurations\n\nThe profiles are intent based, so they may change over time as new ciphers are developed and existing ciphers are found to be insecure. Depending on precisely which ciphers are available to a process, the list may be reduced.\n\nNote that the Modern profile is currently not supported because it is not yet well adopted by common software libraries.", - "old": "old is a TLS security profile based on:\n\nhttps://wiki.mozilla.org/Security/Server_Side_TLS#Old_backward_compatibility\n\nand looks like this (yaml):\n\n ciphers:\n\n - TLS_AES_128_GCM_SHA256\n\n - TLS_AES_256_GCM_SHA384\n\n - TLS_CHACHA20_POLY1305_SHA256\n\n - ECDHE-ECDSA-AES128-GCM-SHA256\n\n - ECDHE-RSA-AES128-GCM-SHA256\n\n - ECDHE-ECDSA-AES256-GCM-SHA384\n\n - ECDHE-RSA-AES256-GCM-SHA384\n\n - ECDHE-ECDSA-CHACHA20-POLY1305\n\n - ECDHE-RSA-CHACHA20-POLY1305\n\n - DHE-RSA-AES128-GCM-SHA256\n\n - DHE-RSA-AES256-GCM-SHA384\n\n - DHE-RSA-CHACHA20-POLY1305\n\n - ECDHE-ECDSA-AES128-SHA256\n\n - ECDHE-RSA-AES128-SHA256\n\n - ECDHE-ECDSA-AES128-SHA\n\n - ECDHE-RSA-AES128-SHA\n\n - ECDHE-ECDSA-AES256-SHA384\n\n - ECDHE-RSA-AES256-SHA384\n\n - ECDHE-ECDSA-AES256-SHA\n\n - ECDHE-RSA-AES256-SHA\n\n - DHE-RSA-AES128-SHA256\n\n - DHE-RSA-AES256-SHA256\n\n - AES128-GCM-SHA256\n\n - AES256-GCM-SHA384\n\n - AES128-SHA256\n\n - AES256-SHA256\n\n - AES128-SHA\n\n - AES256-SHA\n\n - DES-CBC3-SHA\n\n minTLSVersion: VersionTLS10", - "intermediate": "intermediate is a TLS security profile based on:\n\nhttps://wiki.mozilla.org/Security/Server_Side_TLS#Intermediate_compatibility_.28recommended.29\n\nand looks like this (yaml):\n\n ciphers:\n\n - TLS_AES_128_GCM_SHA256\n\n - TLS_AES_256_GCM_SHA384\n\n - TLS_CHACHA20_POLY1305_SHA256\n\n - ECDHE-ECDSA-AES128-GCM-SHA256\n\n - ECDHE-RSA-AES128-GCM-SHA256\n\n - ECDHE-ECDSA-AES256-GCM-SHA384\n\n - ECDHE-RSA-AES256-GCM-SHA384\n\n - ECDHE-ECDSA-CHACHA20-POLY1305\n\n - ECDHE-RSA-CHACHA20-POLY1305\n\n - DHE-RSA-AES128-GCM-SHA256\n\n - DHE-RSA-AES256-GCM-SHA384\n\n minTLSVersion: VersionTLS12", - "modern": "modern is a TLS security profile based on:\n\nhttps://wiki.mozilla.org/Security/Server_Side_TLS#Modern_compatibility\n\nand looks like this (yaml):\n\n ciphers:\n\n - TLS_AES_128_GCM_SHA256\n\n - TLS_AES_256_GCM_SHA384\n\n - TLS_CHACHA20_POLY1305_SHA256\n\n minTLSVersion: VersionTLS13", - "custom": "custom is a user-defined TLS security profile. Be extremely careful using a custom profile as invalid configurations can be catastrophic. An example custom profile looks like this:\n\n ciphers:\n\n - ECDHE-ECDSA-CHACHA20-POLY1305\n\n - ECDHE-RSA-CHACHA20-POLY1305\n\n - ECDHE-RSA-AES128-GCM-SHA256\n\n - ECDHE-ECDSA-AES128-GCM-SHA256\n\n minTLSVersion: VersionTLS11", + "type": "type is one of Old, Intermediate, Modern or Custom. Custom provides the ability to specify individual TLS security profile parameters.\n\nThe profiles are based on version 5.7 of the Mozilla Server Side TLS configuration guidelines. The cipher lists consist of the configuration's \"ciphersuites\" followed by the Go-specific \"ciphers\" from the guidelines. See: https://ssl-config.mozilla.org/guidelines/5.7.json\n\nThe profiles are intent based, so they may change over time as new ciphers are developed and existing ciphers are found to be insecure. Depending on precisely which ciphers are available to a process, the list may be reduced.", + "old": "old is a TLS profile for use when services need to be accessed by very old clients or libraries and should be used only as a last resort.\n\nThis profile is equivalent to a Custom profile specified as:\n minTLSVersion: VersionTLS10\n ciphers:\n - TLS_AES_128_GCM_SHA256\n - TLS_AES_256_GCM_SHA384\n - TLS_CHACHA20_POLY1305_SHA256\n - ECDHE-ECDSA-AES128-GCM-SHA256\n - ECDHE-RSA-AES128-GCM-SHA256\n - ECDHE-ECDSA-AES256-GCM-SHA384\n - ECDHE-RSA-AES256-GCM-SHA384\n - ECDHE-ECDSA-CHACHA20-POLY1305\n - ECDHE-RSA-CHACHA20-POLY1305\n - ECDHE-ECDSA-AES128-SHA256\n - ECDHE-RSA-AES128-SHA256\n - ECDHE-ECDSA-AES128-SHA\n - ECDHE-RSA-AES128-SHA\n - ECDHE-ECDSA-AES256-SHA\n - ECDHE-RSA-AES256-SHA\n - AES128-GCM-SHA256\n - AES256-GCM-SHA384\n - AES128-SHA256\n - AES128-SHA\n - AES256-SHA\n - DES-CBC3-SHA", + "intermediate": "intermediate is a TLS profile for use when you do not need compatibility with legacy clients and want to remain highly secure while being compatible with most clients currently in use.\n\nThis profile is equivalent to a Custom profile specified as:\n minTLSVersion: VersionTLS12\n ciphers:\n - TLS_AES_128_GCM_SHA256\n - TLS_AES_256_GCM_SHA384\n - TLS_CHACHA20_POLY1305_SHA256\n - ECDHE-ECDSA-AES128-GCM-SHA256\n - ECDHE-RSA-AES128-GCM-SHA256\n - ECDHE-ECDSA-AES256-GCM-SHA384\n - ECDHE-RSA-AES256-GCM-SHA384\n - ECDHE-ECDSA-CHACHA20-POLY1305\n - ECDHE-RSA-CHACHA20-POLY1305", + "modern": "modern is a TLS security profile for use with clients that support TLS 1.3 and do not need backward compatibility for older clients.\n\nThis profile is equivalent to a Custom profile specified as:\n minTLSVersion: VersionTLS13\n ciphers:\n - TLS_AES_128_GCM_SHA256\n - TLS_AES_256_GCM_SHA384\n - TLS_CHACHA20_POLY1305_SHA256", + "custom": "custom is a user-defined TLS security profile. Be extremely careful using a custom profile as invalid configurations can be catastrophic. An example custom profile looks like this:\n\n minTLSVersion: VersionTLS11\n ciphers:\n - ECDHE-ECDSA-CHACHA20-POLY1305\n - ECDHE-RSA-CHACHA20-POLY1305\n - ECDHE-RSA-AES128-GCM-SHA256\n - ECDHE-ECDSA-AES128-GCM-SHA256", } func (TLSSecurityProfile) SwaggerDoc() map[string]string { diff --git a/vendor/github.com/openshift/api/config/v1alpha1/register.go b/vendor/github.com/openshift/api/config/v1alpha1/register.go index 4b30ea380b..c909624950 100644 --- a/vendor/github.com/openshift/api/config/v1alpha1/register.go +++ b/vendor/github.com/openshift/api/config/v1alpha1/register.go @@ -40,6 +40,8 @@ func addKnownTypes(scheme *runtime.Scheme) error { &ImagePolicyList{}, &ClusterImagePolicy{}, &ClusterImagePolicyList{}, + &CRIOCredentialProviderConfig{}, + &CRIOCredentialProviderConfigList{}, ) metav1.AddToGroupVersion(scheme, GroupVersion) return nil diff --git a/vendor/github.com/openshift/api/config/v1alpha1/types_backup.go b/vendor/github.com/openshift/api/config/v1alpha1/types_backup.go index 77df372d43..0f3da51847 100644 --- a/vendor/github.com/openshift/api/config/v1alpha1/types_backup.go +++ b/vendor/github.com/openshift/api/config/v1alpha1/types_backup.go @@ -93,7 +93,7 @@ type EtcdBackupSpec struct { PVCName string `json:"pvcName"` } -// RetentionType is the enumeration of valid retention policy types +// RetentionType is the enumeration of valid retention policy types. // +enum // +kubebuilder:validation:Enum:="RetentionNumber";"RetentionSize" type RetentionType string @@ -115,7 +115,6 @@ type RetentionPolicy struct { // The current default is RetentionNumber with 15 backups kept. // +unionDiscriminator // +required - // +kubebuilder:validation:Enum:="";"RetentionNumber";"RetentionSize" RetentionType RetentionType `json:"retentionType"` // retentionNumber configures the retention policy based on the number of backups diff --git a/vendor/github.com/openshift/api/config/v1alpha1/types_cluster_image_policy.go b/vendor/github.com/openshift/api/config/v1alpha1/types_cluster_image_policy.go index 107b9e29a4..e8d7603d7b 100644 --- a/vendor/github.com/openshift/api/config/v1alpha1/types_cluster_image_policy.go +++ b/vendor/github.com/openshift/api/config/v1alpha1/types_cluster_image_policy.go @@ -51,7 +51,7 @@ type ClusterImagePolicySpec struct { // policy contains configuration to allow scopes to be verified, and defines how // images not matching the verification policy will be treated. // +required - Policy Policy `json:"policy"` + Policy ImageSigstoreVerificationPolicy `json:"policy"` } // +k8s:deepcopy-gen=true diff --git a/vendor/github.com/openshift/api/config/v1alpha1/types_cluster_monitoring.go b/vendor/github.com/openshift/api/config/v1alpha1/types_cluster_monitoring.go index f6d4cd3420..29bf8ba488 100644 --- a/vendor/github.com/openshift/api/config/v1alpha1/types_cluster_monitoring.go +++ b/vendor/github.com/openshift/api/config/v1alpha1/types_cluster_monitoring.go @@ -33,7 +33,7 @@ import ( // +openshift:api-approved.openshift.io=https://github.com/openshift/api/pull/1929 // +openshift:file-pattern=cvoRunLevel=0000_10,operatorName=config-operator,operatorOrdering=01 // +kubebuilder:object:root=true -// +kubebuilder:resource:path=clustermonitoring,scope=Cluster +// +kubebuilder:resource:path=clustermonitorings,scope=Cluster // +kubebuilder:subresource:status // +kubebuilder:metadata:annotations="description=Cluster Monitoring Operators configuration API" // +openshift:enable:FeatureGate=ClusterMonitoringConfig @@ -94,6 +94,11 @@ type ClusterMonitoringSpec struct { // When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time. // +optional MetricsServerConfig MetricsServerConfig `json:"metricsServerConfig,omitempty,omitzero"` + // prometheusOperatorConfig is an optional field that can be used to configure the Prometheus Operator component. + // Specifically, it can configure how the Prometheus Operator instance is deployed, pod scheduling, and resource allocation. + // When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time. + // +optional + PrometheusOperatorConfig PrometheusOperatorConfig `json:"prometheusOperatorConfig,omitempty,omitzero"` } // UserDefinedMonitoring config for user-defined projects. @@ -185,6 +190,7 @@ type AlertmanagerCustomConfig struct { // limit: null // Maximum length for this list is 10. // Minimum length for this list is 1. + // Each resource name must be unique within this list. // +optional // +listType=map // +listMapKey=name @@ -218,8 +224,8 @@ type AlertmanagerCustomConfig struct { // When omitted, this means the user has no opinion and the platform is left // to choose reasonable defaults. These defaults are subject to change over time. // Defaults are empty/unset. - // Maximum length for this list is 10 - // Minimum length for this list is 1 + // Maximum length for this list is 10. + // Minimum length for this list is 1. // +kubebuilder:validation:MaxItems=10 // +kubebuilder:validation:MinItems=1 // +listType=atomic @@ -235,7 +241,7 @@ type AlertmanagerCustomConfig struct { // This field maps directly to the `topologySpreadConstraints` field in the Pod spec. // Default is empty list. // Maximum length for this list is 10. - // Minimum length for this list is 1 + // Minimum length for this list is 1. // Entries must have unique topologyKey and whenUnsatisfiable pairs. // +kubebuilder:validation:MaxItems=10 // +kubebuilder:validation:MinItems=1 @@ -356,8 +362,8 @@ type MetricsServerConfig struct { // When omitted, this means the user has no opinion and the platform is left // to choose reasonable defaults. These defaults are subject to change over time. // Defaults are empty/unset. - // Maximum length for this list is 10 - // Minimum length for this list is 1 + // Maximum length for this list is 10. + // Minimum length for this list is 1. // +kubebuilder:validation:MaxItems=10 // +kubebuilder:validation:MinItems=1 // +listType=atomic @@ -389,6 +395,7 @@ type MetricsServerConfig struct { // limit: null // Maximum length for this list is 10. // Minimum length for this list is 1. + // Each resource name must be unique within this list. // +optional // +listType=map // +listMapKey=name @@ -405,7 +412,91 @@ type MetricsServerConfig struct { // This field maps directly to the `topologySpreadConstraints` field in the Pod spec. // Default is empty list. // Maximum length for this list is 10. - // Minimum length for this list is 1 + // Minimum length for this list is 1. + // Entries must have unique topologyKey and whenUnsatisfiable pairs. + // +kubebuilder:validation:MaxItems=10 + // +kubebuilder:validation:MinItems=1 + // +listType=map + // +listMapKey=topologyKey + // +listMapKey=whenUnsatisfiable + // +optional + TopologySpreadConstraints []v1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"` +} + +// PrometheusOperatorConfig provides configuration options for the Prometheus Operator instance +// Use this configuration to control how the Prometheus Operator instance is deployed, how it logs, and how its pods are scheduled. +// +kubebuilder:validation:MinProperties=1 +type PrometheusOperatorConfig struct { + // logLevel defines the verbosity of logs emitted by Prometheus Operator. + // This field allows users to control the amount and severity of logs generated, which can be useful + // for debugging issues or reducing noise in production environments. + // Allowed values are Error, Warn, Info, and Debug. + // When set to Error, only errors will be logged. + // When set to Warn, both warnings and errors will be logged. + // When set to Info, general information, warnings, and errors will all be logged. + // When set to Debug, detailed debugging information will be logged. + // When omitted, this means no opinion and the platform is left to choose a reasonable default, that is subject to change over time. + // The current default value is `Info`. + // +optional + LogLevel LogLevel `json:"logLevel,omitempty"` + // nodeSelector defines the nodes on which the Pods are scheduled + // nodeSelector is optional. + // + // When omitted, this means the user has no opinion and the platform is left + // to choose reasonable defaults. These defaults are subject to change over time. + // The current default value is `kubernetes.io/os: linux`. + // When specified, nodeSelector must contain at least 1 entry and must not contain more than 10 entries. + // +optional + // +kubebuilder:validation:MinProperties=1 + // +kubebuilder:validation:MaxProperties=10 + NodeSelector map[string]string `json:"nodeSelector,omitempty"` + // resources defines the compute resource requests and limits for the Prometheus Operator container. + // This includes CPU, memory and HugePages constraints to help control scheduling and resource usage. + // When not specified, defaults are used by the platform. Requests cannot exceed limits. + // This field is optional. + // More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + // This is a simplified API that maps to Kubernetes ResourceRequirements. + // The current default values are: + // resources: + // - name: cpu + // request: 4m + // limit: null + // - name: memory + // request: 40Mi + // limit: null + // Maximum length for this list is 10. + // Minimum length for this list is 1. + // Each resource name must be unique within this list. + // +optional + // +listType=map + // +listMapKey=name + // +kubebuilder:validation:MaxItems=10 + // +kubebuilder:validation:MinItems=1 + Resources []ContainerResource `json:"resources,omitempty"` + // tolerations defines tolerations for the pods. + // tolerations is optional. + // + // When omitted, this means the user has no opinion and the platform is left + // to choose reasonable defaults. These defaults are subject to change over time. + // Defaults are empty/unset. + // Maximum length for this list is 10. + // Minimum length for this list is 1. + // +kubebuilder:validation:MaxItems=10 + // +kubebuilder:validation:MinItems=1 + // +listType=atomic + // +optional + Tolerations []v1.Toleration `json:"tolerations,omitempty"` + // topologySpreadConstraints defines rules for how Prometheus Operator Pods should be distributed + // across topology domains such as zones, nodes, or other user-defined labels. + // topologySpreadConstraints is optional. + // This helps improve high availability and resource efficiency by avoiding placing + // too many replicas in the same failure domain. + // + // When omitted, this means no opinion and the platform is left to choose a default, which is subject to change over time. + // This field maps directly to the `topologySpreadConstraints` field in the Pod spec. + // Default is empty list. + // Maximum length for this list is 10. + // Minimum length for this list is 1. // Entries must have unique topologyKey and whenUnsatisfiable pairs. // +kubebuilder:validation:MaxItems=10 // +kubebuilder:validation:MinItems=1 diff --git a/vendor/github.com/openshift/api/config/v1alpha1/types_crio_credential_provider_config.go b/vendor/github.com/openshift/api/config/v1alpha1/types_crio_credential_provider_config.go new file mode 100644 index 0000000000..9e2e0d39d2 --- /dev/null +++ b/vendor/github.com/openshift/api/config/v1alpha1/types_crio_credential_provider_config.go @@ -0,0 +1,186 @@ +package v1alpha1 + +import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + +// +genclient +// +genclient:nonNamespaced +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// CRIOCredentialProviderConfig holds cluster-wide singleton resource configurations for CRI-O credential provider, the name of this instance is "cluster". CRI-O credential provider is a binary shipped with CRI-O that provides a way to obtain container image pull credentials from external sources. +// For example, it can be used to fetch mirror registry credentials from secrets resources in the cluster within the same namespace the pod will be running in. +// CRIOCredentialProviderConfig configuration specifies the pod image sources registries that should trigger the CRI-O credential provider execution, which will resolve the CRI-O mirror configurations and obtain the necessary credentials for pod creation. +// Note: Configuration changes will only take effect after the kubelet restarts, which is automatically managed by the cluster during rollout. +// +// The resource is a singleton named "cluster". +// +// Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support. +// +kubebuilder:object:root=true +// +kubebuilder:resource:path=criocredentialproviderconfigs,scope=Cluster +// +kubebuilder:subresource:status +// +openshift:api-approved.openshift.io=https://github.com/openshift/api/pull/2557 +// +openshift:file-pattern=cvoRunLevel=0000_10,operatorName=config-operator,operatorOrdering=01 +// +openshift:enable:FeatureGate=CRIOCredentialProviderConfig +// +openshift:compatibility-gen:level=4 +// +kubebuilder:validation:XValidation:rule="self.metadata.name == 'cluster'",message="criocredentialproviderconfig is a singleton, .metadata.name must be 'cluster'" +type CRIOCredentialProviderConfig struct { + metav1.TypeMeta `json:",inline"` + + // metadata is the standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + metav1.ObjectMeta `json:"metadata,omitzero"` + + // spec defines the desired configuration of the CRI-O Credential Provider. + // This field is required and must be provided when creating the resource. + // +required + Spec *CRIOCredentialProviderConfigSpec `json:"spec,omitempty,omitzero"` + + // status represents the current state of the CRIOCredentialProviderConfig. + // When omitted or nil, it indicates that the status has not yet been set by the controller. + // The controller will populate this field with validation conditions and operational state. + // +optional + Status CRIOCredentialProviderConfigStatus `json:"status,omitzero,omitempty"` +} + +// CRIOCredentialProviderConfigSpec defines the desired configuration of the CRI-O Credential Provider. +// +kubebuilder:validation:MinProperties=0 +type CRIOCredentialProviderConfigSpec struct { + // matchImages is a list of string patterns used to determine whether + // the CRI-O credential provider should be invoked for a given image. This list is + // passed to the kubelet CredentialProviderConfig, and if any pattern matches + // the requested image, CRI-O credential provider will be invoked to obtain credentials for pulling + // that image or its mirrors. + // Depending on the platform, the CRI-O credential provider may be installed alongside an existing platform specific provider. + // Conflicts between the existing platform specific provider image match configuration and this list will be handled by + // the following precedence rule: credentials from built-in kubelet providers (e.g., ECR, GCR, ACR) take precedence over those + // from the CRIOCredentialProviderConfig when both match the same image. + // To avoid uncertainty, it is recommended to avoid configuring your private image patterns to overlap with + // existing platform specific provider config(e.g., the entries from https://github.com/openshift/machine-config-operator/blob/main/templates/common/aws/files/etc-kubernetes-credential-providers-ecr-credential-provider.yaml). + // You can check the resource's Status conditions + // to see if any entries were ignored due to exact matches with known built-in provider patterns. + // + // This field is optional, the items of the list must contain between 1 and 50 entries. + // The list is treated as a set, so duplicate entries are not allowed. + // + // For more details, see: + // https://kubernetes.io/docs/tasks/administer-cluster/kubelet-credential-provider/ + // https://github.com/cri-o/crio-credential-provider#architecture + // + // Each entry in matchImages is a pattern which can optionally contain a port and a path. Each entry must be no longer than 512 characters. + // Wildcards ('*') are supported for full subdomain labels, such as '*.k8s.io' or 'k8s.*.io', + // and for top-level domains, such as 'k8s.*' (which matches 'k8s.io' or 'k8s.net'). + // A global wildcard '*' (matching any domain) is not allowed. + // Wildcards may replace an entire hostname label (e.g., *.example.com), but they cannot appear within a label (e.g., f*oo.example.com) and are not allowed in the port or path. + // For example, 'example.*.com' is valid, but 'exa*mple.*.com' is not. + // Each wildcard matches only a single domain label, + // so '*.io' does **not** match '*.k8s.io'. + // + // A match exists between an image and a matchImage when all of the below are true: + // Both contain the same number of domain parts and each part matches. + // The URL path of an matchImages must be a prefix of the target image URL path. + // If the matchImages contains a port, then the port must match in the image as well. + // + // Example values of matchImages: + // - 123456789.dkr.ecr.us-east-1.amazonaws.com + // - *.azurecr.io + // - gcr.io + // - *.*.registry.io + // - registry.io:8080/path + // + // +kubebuilder:validation:MaxItems=50 + // +kubebuilder:validation:MinItems=1 + // +listType=set + // +optional + MatchImages []MatchImage `json:"matchImages,omitempty"` +} + +// MatchImage is a string pattern used to match container image registry addresses. +// It must be a valid fully qualified domain name with optional wildcard, port, and path. +// The maximum length is 512 characters. +// +// Wildcards ('*') are supported for full subdomain labels and top-level domains. +// Each entry can optionally contain a port (e.g., :8080) and a path (e.g., /path). +// Wildcards are not allowed in the port or path portions. +// +// Examples: +// - "registry.io" - matches exactly registry.io +// - "*.azurecr.io" - matches any single subdomain of azurecr.io +// - "registry.io:8080/path" - matches with specific port and path prefix +// +// +kubebuilder:validation:MaxLength=512 +// +kubebuilder:validation:MinLength=1 +// +kubebuilder:validation:XValidation:rule="self != '*'",message="global wildcard '*' is not allowed" +// +kubebuilder:validation:XValidation:rule=`self.matches('^((\\*|[a-z0-9]([a-z0-9-]*[a-z0-9])?)(\\.(\\*|[a-z0-9]([a-z0-9-]*[a-z0-9])?))*)(:[0-9]+)?(/[-a-z0-9._/]*)?$')`,message="invalid matchImages value, must be a valid fully qualified domain name in lowercase with optional wildcard, port, and path" +type MatchImage string + +// +k8s:deepcopy-gen=true +// CRIOCredentialProviderConfigStatus defines the observed state of CRIOCredentialProviderConfig +// +kubebuilder:validation:MinProperties=1 +type CRIOCredentialProviderConfigStatus struct { + // conditions represent the latest available observations of the configuration state. + // When omitted, it indicates that no conditions have been reported yet. + // The maximum number of conditions is 16. + // Conditions are stored as a map keyed by condition type, ensuring uniqueness. + // + // Expected condition types include: + // "Validated": indicates whether the matchImages configuration is valid + // +optional + // +kubebuilder:validation:MaxItems=16 + // +kubebuilder:validation:MinItems=1 + // +listType=map + // +listMapKey=type + Conditions []metav1.Condition `json:"conditions,omitempty"` +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// CRIOCredentialProviderConfigList contains a list of CRIOCredentialProviderConfig resources +// +// Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support. +// +openshift:compatibility-gen:level=4 +type CRIOCredentialProviderConfigList struct { + metav1.TypeMeta `json:",inline"` + + // metadata is the standard list's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + metav1.ListMeta `json:"metadata"` + + Items []CRIOCredentialProviderConfig `json:"items"` +} + +const ( + // ConditionTypeValidated is a condition type that indicates whether the CRIOCredentialProviderConfig + // matchImages configuration has been validated successfully. + // When True, all matchImage patterns are valid and have been applied. + // When False, the configuration contains errors (see Reason for details). + // Possible reasons for False status: + // - ValidationFailed: matchImages contains invalid patterns + // - ConfigurationPartiallyApplied: some matchImage entries were ignored due to conflicts + ConditionTypeValidated = "Validated" + + // ReasonValidationFailed is a condition reason used with ConditionTypeValidated=False + // to indicate that the matchImages configuration contains one or more invalid registry patterns + // that do not conform to the required format (valid FQDN with optional wildcard, port, and path). + ReasonValidationFailed = "ValidationFailed" + + // ReasonConfigurationPartiallyApplied is a condition reason used with ConditionTypeValidated=False + // to indicate that some matchImage entries were ignored due to conflicts or overlapping patterns. + // The condition message will contain details about which entries were ignored and why. + ReasonConfigurationPartiallyApplied = "ConfigurationPartiallyApplied" + + // ConditionTypeMachineConfigRendered is a condition type that indicates whether + // the CRIOCredentialProviderConfig has been successfully rendered into a + // MachineConfig object. + // When True, the corresponding MachineConfig is present in the cluster. + // When False, rendering failed. + ConditionTypeMachineConfigRendered = "MachineConfigRendered" + + // ReasonMachineConfigRenderingSucceeded is a condition reason used with ConditionTypeMachineConfigRendered=True + // to indicate that the MachineConfig was successfully created/updated in the API server. + ReasonMachineConfigRenderingSucceeded = "MachineConfigRenderingSucceeded" + + // ReasonMachineConfigRenderingFailed is a condition reason used with ConditionTypeMachineConfigRendered=False + // to indicate that the MachineConfig creation/update failed. + // The condition message will contain details about the failure. + ReasonMachineConfigRenderingFailed = "MachineConfigRenderingFailed" +) diff --git a/vendor/github.com/openshift/api/config/v1alpha1/types_image_policy.go b/vendor/github.com/openshift/api/config/v1alpha1/types_image_policy.go index 64a89e4a63..977ca3dde3 100644 --- a/vendor/github.com/openshift/api/config/v1alpha1/types_image_policy.go +++ b/vendor/github.com/openshift/api/config/v1alpha1/types_image_policy.go @@ -50,7 +50,7 @@ type ImagePolicySpec struct { // policy contains configuration to allow scopes to be verified, and defines how // images not matching the verification policy will be treated. // +required - Policy Policy `json:"policy"` + Policy ImageSigstoreVerificationPolicy `json:"policy"` } // +kubebuilder:validation:XValidation:rule="size(self.split('/')[0].split('.')) == 1 ? self.split('/')[0].split('.')[0].split(':')[0] == 'localhost' : true",message="invalid image scope format, scope must contain a fully qualified domain name or 'localhost'" @@ -59,8 +59,8 @@ type ImagePolicySpec struct { // +kubebuilder:validation:MaxLength=512 type ImageScope string -// Policy defines the verification policy for the items in the scopes list. -type Policy struct { +// ImageSigstoreVerificationPolicy defines the verification policy for the items in the scopes list. +type ImageSigstoreVerificationPolicy struct { // rootOfTrust specifies the root of trust for the policy. // +required RootOfTrust PolicyRootOfTrust `json:"rootOfTrust"` @@ -84,16 +84,16 @@ type PolicyRootOfTrust struct { PolicyType PolicyType `json:"policyType"` // publicKey defines the root of trust based on a sigstore public key. // +optional - PublicKey *PublicKey `json:"publicKey,omitempty"` + PublicKey *ImagePolicyPublicKeyRootOfTrust `json:"publicKey,omitempty"` // fulcioCAWithRekor defines the root of trust based on the Fulcio certificate and the Rekor public key. // For more information about Fulcio and Rekor, please refer to the document at: // https://github.com/sigstore/fulcio and https://github.com/sigstore/rekor // +optional - FulcioCAWithRekor *FulcioCAWithRekor `json:"fulcioCAWithRekor,omitempty"` + FulcioCAWithRekor *ImagePolicyFulcioCAWithRekorRootOfTrust `json:"fulcioCAWithRekor,omitempty"` // pki defines the root of trust based on Bring Your Own Public Key Infrastructure (BYOPKI) Root CA(s) and corresponding intermediate certificates. // +optional // +openshift:enable:FeatureGate=SigstoreImageVerificationPKI - PKI *PKI `json:"pki,omitempty"` + PKI *ImagePolicyPKIRootOfTrust `json:"pki,omitempty"` } // +openshift:validation:FeatureGateAwareEnum:featureGate="",enum=PublicKey;FulcioCAWithRekor @@ -106,8 +106,8 @@ const ( PKIRootOfTrust PolicyType = "PKI" ) -// PublicKey defines the root of trust based on a sigstore public key. -type PublicKey struct { +// ImagePolicyPublicKeyRootOfTrust defines the root of trust based on a sigstore public key. +type ImagePolicyPublicKeyRootOfTrust struct { // keyData contains inline base64-encoded data for the PEM format public key. // KeyData must be at most 8192 characters. // +required @@ -120,8 +120,8 @@ type PublicKey struct { RekorKeyData []byte `json:"rekorKeyData,omitempty"` } -// FulcioCAWithRekor defines the root of trust based on the Fulcio certificate and the Rekor public key. -type FulcioCAWithRekor struct { +// ImagePolicyFulcioCAWithRekorRootOfTrust defines the root of trust based on the Fulcio certificate and the Rekor public key. +type ImagePolicyFulcioCAWithRekorRootOfTrust struct { // fulcioCAData contains inline base64-encoded data for the PEM format fulcio CA. // fulcioCAData must be at most 8192 characters. // +required @@ -151,8 +151,8 @@ type PolicyFulcioSubject struct { SignedEmail string `json:"signedEmail"` } -// PKI defines the root of trust based on Root CA(s) and corresponding intermediate certificates. -type PKI struct { +// ImagePolicyPKIRootOfTrust defines the root of trust based on Root CA(s) and corresponding intermediate certificates. +type ImagePolicyPKIRootOfTrust struct { // caRootsData contains base64-encoded data of a certificate bundle PEM file, which contains one or more CA roots in the PEM format. The total length of the data must not exceed 8192 characters. // +required // +kubebuilder:validation:MaxLength=8192 diff --git a/vendor/github.com/openshift/api/config/v1alpha1/types_insights.go b/vendor/github.com/openshift/api/config/v1alpha1/types_insights.go index 46666ae3b2..bef31b905a 100644 --- a/vendor/github.com/openshift/api/config/v1alpha1/types_insights.go +++ b/vendor/github.com/openshift/api/config/v1alpha1/types_insights.go @@ -16,6 +16,7 @@ import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" // +openshift:file-pattern=cvoRunLevel=0000_10,operatorName=config-operator,operatorOrdering=01 // +openshift:enable:FeatureGate=InsightsConfig // +openshift:compatibility-gen:level=4 +// +openshift:capability=Insights type InsightsDataGather struct { metav1.TypeMeta `json:",inline"` diff --git a/vendor/github.com/openshift/api/config/v1alpha1/zz_generated.deepcopy.go b/vendor/github.com/openshift/api/config/v1alpha1/zz_generated.deepcopy.go index 6549f6cbe4..dc51326b97 100644 --- a/vendor/github.com/openshift/api/config/v1alpha1/zz_generated.deepcopy.go +++ b/vendor/github.com/openshift/api/config/v1alpha1/zz_generated.deepcopy.go @@ -192,6 +192,115 @@ func (in *BackupStatus) DeepCopy() *BackupStatus { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CRIOCredentialProviderConfig) DeepCopyInto(out *CRIOCredentialProviderConfig) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + if in.Spec != nil { + in, out := &in.Spec, &out.Spec + *out = new(CRIOCredentialProviderConfigSpec) + (*in).DeepCopyInto(*out) + } + in.Status.DeepCopyInto(&out.Status) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CRIOCredentialProviderConfig. +func (in *CRIOCredentialProviderConfig) DeepCopy() *CRIOCredentialProviderConfig { + if in == nil { + return nil + } + out := new(CRIOCredentialProviderConfig) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CRIOCredentialProviderConfig) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CRIOCredentialProviderConfigList) DeepCopyInto(out *CRIOCredentialProviderConfigList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CRIOCredentialProviderConfig, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CRIOCredentialProviderConfigList. +func (in *CRIOCredentialProviderConfigList) DeepCopy() *CRIOCredentialProviderConfigList { + if in == nil { + return nil + } + out := new(CRIOCredentialProviderConfigList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CRIOCredentialProviderConfigList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CRIOCredentialProviderConfigSpec) DeepCopyInto(out *CRIOCredentialProviderConfigSpec) { + *out = *in + if in.MatchImages != nil { + in, out := &in.MatchImages, &out.MatchImages + *out = make([]MatchImage, len(*in)) + copy(*out, *in) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CRIOCredentialProviderConfigSpec. +func (in *CRIOCredentialProviderConfigSpec) DeepCopy() *CRIOCredentialProviderConfigSpec { + if in == nil { + return nil + } + out := new(CRIOCredentialProviderConfigSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CRIOCredentialProviderConfigStatus) DeepCopyInto(out *CRIOCredentialProviderConfigStatus) { + *out = *in + if in.Conditions != nil { + in, out := &in.Conditions, &out.Conditions + *out = make([]metav1.Condition, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CRIOCredentialProviderConfigStatus. +func (in *CRIOCredentialProviderConfigStatus) DeepCopy() *CRIOCredentialProviderConfigStatus { + if in == nil { + return nil + } + out := new(CRIOCredentialProviderConfigStatus) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ClusterImagePolicy) DeepCopyInto(out *ClusterImagePolicy) { *out = *in @@ -365,6 +474,7 @@ func (in *ClusterMonitoringSpec) DeepCopyInto(out *ClusterMonitoringSpec) { out.UserDefined = in.UserDefined in.AlertmanagerConfig.DeepCopyInto(&out.AlertmanagerConfig) in.MetricsServerConfig.DeepCopyInto(&out.MetricsServerConfig) + in.PrometheusOperatorConfig.DeepCopyInto(&out.PrometheusOperatorConfig) return } @@ -429,33 +539,6 @@ func (in *EtcdBackupSpec) DeepCopy() *EtcdBackupSpec { return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FulcioCAWithRekor) DeepCopyInto(out *FulcioCAWithRekor) { - *out = *in - if in.FulcioCAData != nil { - in, out := &in.FulcioCAData, &out.FulcioCAData - *out = make([]byte, len(*in)) - copy(*out, *in) - } - if in.RekorKeyData != nil { - in, out := &in.RekorKeyData, &out.RekorKeyData - *out = make([]byte, len(*in)) - copy(*out, *in) - } - out.FulcioSubject = in.FulcioSubject - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FulcioCAWithRekor. -func (in *FulcioCAWithRekor) DeepCopy() *FulcioCAWithRekor { - if in == nil { - return nil - } - out := new(FulcioCAWithRekor) - in.DeepCopyInto(out) - return out -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *GatherConfig) DeepCopyInto(out *GatherConfig) { *out = *in @@ -510,6 +593,33 @@ func (in *ImagePolicy) DeepCopyObject() runtime.Object { return nil } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImagePolicyFulcioCAWithRekorRootOfTrust) DeepCopyInto(out *ImagePolicyFulcioCAWithRekorRootOfTrust) { + *out = *in + if in.FulcioCAData != nil { + in, out := &in.FulcioCAData, &out.FulcioCAData + *out = make([]byte, len(*in)) + copy(*out, *in) + } + if in.RekorKeyData != nil { + in, out := &in.RekorKeyData, &out.RekorKeyData + *out = make([]byte, len(*in)) + copy(*out, *in) + } + out.FulcioSubject = in.FulcioSubject + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImagePolicyFulcioCAWithRekorRootOfTrust. +func (in *ImagePolicyFulcioCAWithRekorRootOfTrust) DeepCopy() *ImagePolicyFulcioCAWithRekorRootOfTrust { + if in == nil { + return nil + } + out := new(ImagePolicyFulcioCAWithRekorRootOfTrust) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ImagePolicyList) DeepCopyInto(out *ImagePolicyList) { *out = *in @@ -543,6 +653,59 @@ func (in *ImagePolicyList) DeepCopyObject() runtime.Object { return nil } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImagePolicyPKIRootOfTrust) DeepCopyInto(out *ImagePolicyPKIRootOfTrust) { + *out = *in + if in.CertificateAuthorityRootsData != nil { + in, out := &in.CertificateAuthorityRootsData, &out.CertificateAuthorityRootsData + *out = make([]byte, len(*in)) + copy(*out, *in) + } + if in.CertificateAuthorityIntermediatesData != nil { + in, out := &in.CertificateAuthorityIntermediatesData, &out.CertificateAuthorityIntermediatesData + *out = make([]byte, len(*in)) + copy(*out, *in) + } + out.PKICertificateSubject = in.PKICertificateSubject + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImagePolicyPKIRootOfTrust. +func (in *ImagePolicyPKIRootOfTrust) DeepCopy() *ImagePolicyPKIRootOfTrust { + if in == nil { + return nil + } + out := new(ImagePolicyPKIRootOfTrust) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImagePolicyPublicKeyRootOfTrust) DeepCopyInto(out *ImagePolicyPublicKeyRootOfTrust) { + *out = *in + if in.KeyData != nil { + in, out := &in.KeyData, &out.KeyData + *out = make([]byte, len(*in)) + copy(*out, *in) + } + if in.RekorKeyData != nil { + in, out := &in.RekorKeyData, &out.RekorKeyData + *out = make([]byte, len(*in)) + copy(*out, *in) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImagePolicyPublicKeyRootOfTrust. +func (in *ImagePolicyPublicKeyRootOfTrust) DeepCopy() *ImagePolicyPublicKeyRootOfTrust { + if in == nil { + return nil + } + out := new(ImagePolicyPublicKeyRootOfTrust) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ImagePolicySpec) DeepCopyInto(out *ImagePolicySpec) { *out = *in @@ -588,6 +751,24 @@ func (in *ImagePolicyStatus) DeepCopy() *ImagePolicyStatus { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImageSigstoreVerificationPolicy) DeepCopyInto(out *ImageSigstoreVerificationPolicy) { + *out = *in + in.RootOfTrust.DeepCopyInto(&out.RootOfTrust) + in.SignedIdentity.DeepCopyInto(&out.SignedIdentity) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSigstoreVerificationPolicy. +func (in *ImageSigstoreVerificationPolicy) DeepCopy() *ImageSigstoreVerificationPolicy { + if in == nil { + return nil + } + out := new(ImageSigstoreVerificationPolicy) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *InsightsDataGather) DeepCopyInto(out *InsightsDataGather) { *out = *in @@ -727,33 +908,6 @@ func (in *MetricsServerConfig) DeepCopy() *MetricsServerConfig { return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PKI) DeepCopyInto(out *PKI) { - *out = *in - if in.CertificateAuthorityRootsData != nil { - in, out := &in.CertificateAuthorityRootsData, &out.CertificateAuthorityRootsData - *out = make([]byte, len(*in)) - copy(*out, *in) - } - if in.CertificateAuthorityIntermediatesData != nil { - in, out := &in.CertificateAuthorityIntermediatesData, &out.CertificateAuthorityIntermediatesData - *out = make([]byte, len(*in)) - copy(*out, *in) - } - out.PKICertificateSubject = in.PKICertificateSubject - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PKI. -func (in *PKI) DeepCopy() *PKI { - if in == nil { - return nil - } - out := new(PKI) - in.DeepCopyInto(out) - return out -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PKICertificateSubject) DeepCopyInto(out *PKICertificateSubject) { *out = *in @@ -803,24 +957,6 @@ func (in *PersistentVolumeConfig) DeepCopy() *PersistentVolumeConfig { return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Policy) DeepCopyInto(out *Policy) { - *out = *in - in.RootOfTrust.DeepCopyInto(&out.RootOfTrust) - in.SignedIdentity.DeepCopyInto(&out.SignedIdentity) - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy. -func (in *Policy) DeepCopy() *Policy { - if in == nil { - return nil - } - out := new(Policy) - in.DeepCopyInto(out) - return out -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PolicyFulcioSubject) DeepCopyInto(out *PolicyFulcioSubject) { *out = *in @@ -900,17 +1036,17 @@ func (in *PolicyRootOfTrust) DeepCopyInto(out *PolicyRootOfTrust) { *out = *in if in.PublicKey != nil { in, out := &in.PublicKey, &out.PublicKey - *out = new(PublicKey) + *out = new(ImagePolicyPublicKeyRootOfTrust) (*in).DeepCopyInto(*out) } if in.FulcioCAWithRekor != nil { in, out := &in.FulcioCAWithRekor, &out.FulcioCAWithRekor - *out = new(FulcioCAWithRekor) + *out = new(ImagePolicyFulcioCAWithRekorRootOfTrust) (*in).DeepCopyInto(*out) } if in.PKI != nil { in, out := &in.PKI, &out.PKI - *out = new(PKI) + *out = new(ImagePolicyPKIRootOfTrust) (*in).DeepCopyInto(*out) } return @@ -927,27 +1063,45 @@ func (in *PolicyRootOfTrust) DeepCopy() *PolicyRootOfTrust { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PublicKey) DeepCopyInto(out *PublicKey) { +func (in *PrometheusOperatorConfig) DeepCopyInto(out *PrometheusOperatorConfig) { *out = *in - if in.KeyData != nil { - in, out := &in.KeyData, &out.KeyData - *out = make([]byte, len(*in)) - copy(*out, *in) + if in.NodeSelector != nil { + in, out := &in.NodeSelector, &out.NodeSelector + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } } - if in.RekorKeyData != nil { - in, out := &in.RekorKeyData, &out.RekorKeyData - *out = make([]byte, len(*in)) - copy(*out, *in) + if in.Resources != nil { + in, out := &in.Resources, &out.Resources + *out = make([]ContainerResource, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tolerations != nil { + in, out := &in.Tolerations, &out.Tolerations + *out = make([]v1.Toleration, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TopologySpreadConstraints != nil { + in, out := &in.TopologySpreadConstraints, &out.TopologySpreadConstraints + *out = make([]v1.TopologySpreadConstraint, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicKey. -func (in *PublicKey) DeepCopy() *PublicKey { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusOperatorConfig. +func (in *PrometheusOperatorConfig) DeepCopy() *PrometheusOperatorConfig { if in == nil { return nil } - out := new(PublicKey) + out := new(PrometheusOperatorConfig) in.DeepCopyInto(out) return out } diff --git a/vendor/github.com/openshift/api/config/v1alpha1/zz_generated.featuregated-crd-manifests.yaml b/vendor/github.com/openshift/api/config/v1alpha1/zz_generated.featuregated-crd-manifests.yaml index b9dca71a92..14091b5872 100644 --- a/vendor/github.com/openshift/api/config/v1alpha1/zz_generated.featuregated-crd-manifests.yaml +++ b/vendor/github.com/openshift/api/config/v1alpha1/zz_generated.featuregated-crd-manifests.yaml @@ -21,6 +21,29 @@ backups.config.openshift.io: - AutomatedEtcdBackup Version: v1alpha1 +criocredentialproviderconfigs.config.openshift.io: + Annotations: {} + ApprovedPRNumber: https://github.com/openshift/api/pull/2557 + CRDName: criocredentialproviderconfigs.config.openshift.io + Capability: "" + Category: "" + FeatureGates: + - CRIOCredentialProviderConfig + FilenameOperatorName: config-operator + FilenameOperatorOrdering: "01" + FilenameRunLevel: "0000_10" + GroupName: config.openshift.io + HasStatus: true + KindName: CRIOCredentialProviderConfig + Labels: {} + PluralName: criocredentialproviderconfigs + PrinterColumns: [] + Scope: Cluster + ShortNames: null + TopLevelFeatureGates: + - CRIOCredentialProviderConfig + Version: v1alpha1 + clusterimagepolicies.config.openshift.io: Annotations: {} ApprovedPRNumber: https://github.com/openshift/api/pull/1457 @@ -45,11 +68,11 @@ clusterimagepolicies.config.openshift.io: - SigstoreImageVerification Version: v1alpha1 -clustermonitoring.config.openshift.io: +clustermonitorings.config.openshift.io: Annotations: description: Cluster Monitoring Operators configuration API ApprovedPRNumber: https://github.com/openshift/api/pull/1929 - CRDName: clustermonitoring.config.openshift.io + CRDName: clustermonitorings.config.openshift.io Capability: "" Category: "" FeatureGates: @@ -61,7 +84,7 @@ clustermonitoring.config.openshift.io: HasStatus: true KindName: ClusterMonitoring Labels: {} - PluralName: clustermonitoring + PluralName: clustermonitorings PrinterColumns: [] Scope: Cluster ShortNames: null @@ -97,7 +120,7 @@ insightsdatagathers.config.openshift.io: Annotations: {} ApprovedPRNumber: https://github.com/openshift/api/pull/1245 CRDName: insightsdatagathers.config.openshift.io - Capability: "" + Capability: Insights Category: "" FeatureGates: - InsightsConfig diff --git a/vendor/github.com/openshift/api/config/v1alpha1/zz_generated.swagger_doc_generated.go b/vendor/github.com/openshift/api/config/v1alpha1/zz_generated.swagger_doc_generated.go index 6ba6ad11f4..c060ce8746 100644 --- a/vendor/github.com/openshift/api/config/v1alpha1/zz_generated.swagger_doc_generated.go +++ b/vendor/github.com/openshift/api/config/v1alpha1/zz_generated.swagger_doc_generated.go @@ -132,10 +132,10 @@ var map_AlertmanagerCustomConfig = map[string]string{ "": "AlertmanagerCustomConfig represents the configuration for a custom Alertmanager deployment. alertmanagerCustomConfig provides configuration options for the default Alertmanager instance that runs in the `openshift-monitoring` namespace. Use this configuration to control whether the default Alertmanager is deployed, how it logs, and how its pods are scheduled.", "logLevel": "logLevel defines the verbosity of logs emitted by Alertmanager. This field allows users to control the amount and severity of logs generated, which can be useful for debugging issues or reducing noise in production environments. Allowed values are Error, Warn, Info, and Debug. When set to Error, only errors will be logged. When set to Warn, both warnings and errors will be logged. When set to Info, general information, warnings, and errors will all be logged. When set to Debug, detailed debugging information will be logged. When omitted, this means no opinion and the platform is left to choose a reasonable default, that is subject to change over time. The current default value is `Info`.", "nodeSelector": "nodeSelector defines the nodes on which the Pods are scheduled nodeSelector is optional.\n\nWhen omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default value is `kubernetes.io/os: linux`.", - "resources": "resources defines the compute resource requests and limits for the Alertmanager container. This includes CPU, memory and HugePages constraints to help control scheduling and resource usage. When not specified, defaults are used by the platform. Requests cannot exceed limits. This field is optional. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ This is a simplified API that maps to Kubernetes ResourceRequirements. The current default values are:\n resources:\n - name: cpu\n request: 4m\n limit: null\n - name: memory\n request: 40Mi\n limit: null\nMaximum length for this list is 10. Minimum length for this list is 1.", + "resources": "resources defines the compute resource requests and limits for the Alertmanager container. This includes CPU, memory and HugePages constraints to help control scheduling and resource usage. When not specified, defaults are used by the platform. Requests cannot exceed limits. This field is optional. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ This is a simplified API that maps to Kubernetes ResourceRequirements. The current default values are:\n resources:\n - name: cpu\n request: 4m\n limit: null\n - name: memory\n request: 40Mi\n limit: null\nMaximum length for this list is 10. Minimum length for this list is 1. Each resource name must be unique within this list.", "secrets": "secrets defines a list of secrets that need to be mounted into the Alertmanager. The secrets must reside within the same namespace as the Alertmanager object. They will be added as volumes named secret- and mounted at /etc/alertmanager/secrets/ within the 'alertmanager' container of the Alertmanager Pods.\n\nThese secrets can be used to authenticate Alertmanager with endpoint receivers. For example, you can use secrets to: - Provide certificates for TLS authentication with receivers that require private CA certificates - Store credentials for Basic HTTP authentication with receivers that require password-based auth - Store any other authentication credentials needed by your alert receivers\n\nThis field is optional. Maximum length for this list is 10. Minimum length for this list is 1. Entries in this list must be unique.", - "tolerations": "tolerations defines tolerations for the pods. tolerations is optional.\n\nWhen omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. Defaults are empty/unset. Maximum length for this list is 10 Minimum length for this list is 1", - "topologySpreadConstraints": "topologySpreadConstraints defines rules for how Alertmanager Pods should be distributed across topology domains such as zones, nodes, or other user-defined labels. topologySpreadConstraints is optional. This helps improve high availability and resource efficiency by avoiding placing too many replicas in the same failure domain.\n\nWhen omitted, this means no opinion and the platform is left to choose a default, which is subject to change over time. This field maps directly to the `topologySpreadConstraints` field in the Pod spec. Default is empty list. Maximum length for this list is 10. Minimum length for this list is 1 Entries must have unique topologyKey and whenUnsatisfiable pairs.", + "tolerations": "tolerations defines tolerations for the pods. tolerations is optional.\n\nWhen omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. Defaults are empty/unset. Maximum length for this list is 10. Minimum length for this list is 1.", + "topologySpreadConstraints": "topologySpreadConstraints defines rules for how Alertmanager Pods should be distributed across topology domains such as zones, nodes, or other user-defined labels. topologySpreadConstraints is optional. This helps improve high availability and resource efficiency by avoiding placing too many replicas in the same failure domain.\n\nWhen omitted, this means no opinion and the platform is left to choose a default, which is subject to change over time. This field maps directly to the `topologySpreadConstraints` field in the Pod spec. Default is empty list. Maximum length for this list is 10. Minimum length for this list is 1. Entries must have unique topologyKey and whenUnsatisfiable pairs.", "volumeClaimTemplate": "volumeClaimTemplate Defines persistent storage for Alertmanager. Use this setting to configure the persistent volume claim, including storage class, volume size, and name. If omitted, the Pod uses ephemeral storage and alert data will not persist across restarts. This field is optional.", } @@ -174,10 +174,11 @@ func (ClusterMonitoringList) SwaggerDoc() map[string]string { } var map_ClusterMonitoringSpec = map[string]string{ - "": "ClusterMonitoringSpec defines the desired state of Cluster Monitoring Operator", - "userDefined": "userDefined set the deployment mode for user-defined monitoring in addition to the default platform monitoring. userDefined is optional. When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time. The current default value is `Disabled`.", - "alertmanagerConfig": "alertmanagerConfig allows users to configure how the default Alertmanager instance should be deployed in the `openshift-monitoring` namespace. alertmanagerConfig is optional. When omitted, this means no opinion and the platform is left to choose a reasonable default, that is subject to change over time. The current default value is `DefaultConfig`.", - "metricsServerConfig": "metricsServerConfig is an optional field that can be used to configure the Kubernetes Metrics Server that runs in the openshift-monitoring namespace. Specifically, it can configure how the Metrics Server instance is deployed, pod scheduling, its audit policy and log verbosity. When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time.", + "": "ClusterMonitoringSpec defines the desired state of Cluster Monitoring Operator", + "userDefined": "userDefined set the deployment mode for user-defined monitoring in addition to the default platform monitoring. userDefined is optional. When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time. The current default value is `Disabled`.", + "alertmanagerConfig": "alertmanagerConfig allows users to configure how the default Alertmanager instance should be deployed in the `openshift-monitoring` namespace. alertmanagerConfig is optional. When omitted, this means no opinion and the platform is left to choose a reasonable default, that is subject to change over time. The current default value is `DefaultConfig`.", + "metricsServerConfig": "metricsServerConfig is an optional field that can be used to configure the Kubernetes Metrics Server that runs in the openshift-monitoring namespace. Specifically, it can configure how the Metrics Server instance is deployed, pod scheduling, its audit policy and log verbosity. When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time.", + "prometheusOperatorConfig": "prometheusOperatorConfig is an optional field that can be used to configure the Prometheus Operator component. Specifically, it can configure how the Prometheus Operator instance is deployed, pod scheduling, and resource allocation. When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time.", } func (ClusterMonitoringSpec) SwaggerDoc() map[string]string { @@ -207,16 +208,29 @@ var map_MetricsServerConfig = map[string]string{ "": "MetricsServerConfig provides configuration options for the Metrics Server instance that runs in the `openshift-monitoring` namespace. Use this configuration to control how the Metrics Server instance is deployed, how it logs, and how its pods are scheduled.", "audit": "audit defines the audit configuration used by the Metrics Server instance. audit is optional. When omitted, this means no opinion and the platform is left to choose a reasonable default, that is subject to change over time. The current default sets audit.profile to Metadata", "nodeSelector": "nodeSelector defines the nodes on which the Pods are scheduled nodeSelector is optional.\n\nWhen omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default value is `kubernetes.io/os: linux`.", - "tolerations": "tolerations defines tolerations for the pods. tolerations is optional.\n\nWhen omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. Defaults are empty/unset. Maximum length for this list is 10 Minimum length for this list is 1", + "tolerations": "tolerations defines tolerations for the pods. tolerations is optional.\n\nWhen omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. Defaults are empty/unset. Maximum length for this list is 10. Minimum length for this list is 1.", "verbosity": "verbosity defines the verbosity of log messages for Metrics Server. Valid values are Errors, Info, Trace, TraceAll and omitted. When set to Errors, only critical messages and errors are logged. When set to Info, only basic information messages are logged. When set to Trace, information useful for general debugging is logged. When set to TraceAll, detailed information about metric scraping is logged. When omitted, this means no opinion and the platform is left to choose a reasonable default, that is subject to change over time. The current default value is `Errors`", - "resources": "resources defines the compute resource requests and limits for the Metrics Server container. This includes CPU, memory and HugePages constraints to help control scheduling and resource usage. When not specified, defaults are used by the platform. Requests cannot exceed limits. This field is optional. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ This is a simplified API that maps to Kubernetes ResourceRequirements. The current default values are:\n resources:\n - name: cpu\n request: 4m\n limit: null\n - name: memory\n request: 40Mi\n limit: null\nMaximum length for this list is 10. Minimum length for this list is 1.", - "topologySpreadConstraints": "topologySpreadConstraints defines rules for how Metrics Server Pods should be distributed across topology domains such as zones, nodes, or other user-defined labels. topologySpreadConstraints is optional. This helps improve high availability and resource efficiency by avoiding placing too many replicas in the same failure domain.\n\nWhen omitted, this means no opinion and the platform is left to choose a default, which is subject to change over time. This field maps directly to the `topologySpreadConstraints` field in the Pod spec. Default is empty list. Maximum length for this list is 10. Minimum length for this list is 1 Entries must have unique topologyKey and whenUnsatisfiable pairs.", + "resources": "resources defines the compute resource requests and limits for the Metrics Server container. This includes CPU, memory and HugePages constraints to help control scheduling and resource usage. When not specified, defaults are used by the platform. Requests cannot exceed limits. This field is optional. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ This is a simplified API that maps to Kubernetes ResourceRequirements. The current default values are:\n resources:\n - name: cpu\n request: 4m\n limit: null\n - name: memory\n request: 40Mi\n limit: null\nMaximum length for this list is 10. Minimum length for this list is 1. Each resource name must be unique within this list.", + "topologySpreadConstraints": "topologySpreadConstraints defines rules for how Metrics Server Pods should be distributed across topology domains such as zones, nodes, or other user-defined labels. topologySpreadConstraints is optional. This helps improve high availability and resource efficiency by avoiding placing too many replicas in the same failure domain.\n\nWhen omitted, this means no opinion and the platform is left to choose a default, which is subject to change over time. This field maps directly to the `topologySpreadConstraints` field in the Pod spec. Default is empty list. Maximum length for this list is 10. Minimum length for this list is 1. Entries must have unique topologyKey and whenUnsatisfiable pairs.", } func (MetricsServerConfig) SwaggerDoc() map[string]string { return map_MetricsServerConfig } +var map_PrometheusOperatorConfig = map[string]string{ + "": "PrometheusOperatorConfig provides configuration options for the Prometheus Operator instance Use this configuration to control how the Prometheus Operator instance is deployed, how it logs, and how its pods are scheduled.", + "logLevel": "logLevel defines the verbosity of logs emitted by Prometheus Operator. This field allows users to control the amount and severity of logs generated, which can be useful for debugging issues or reducing noise in production environments. Allowed values are Error, Warn, Info, and Debug. When set to Error, only errors will be logged. When set to Warn, both warnings and errors will be logged. When set to Info, general information, warnings, and errors will all be logged. When set to Debug, detailed debugging information will be logged. When omitted, this means no opinion and the platform is left to choose a reasonable default, that is subject to change over time. The current default value is `Info`.", + "nodeSelector": "nodeSelector defines the nodes on which the Pods are scheduled nodeSelector is optional.\n\nWhen omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default value is `kubernetes.io/os: linux`. When specified, nodeSelector must contain at least 1 entry and must not contain more than 10 entries.", + "resources": "resources defines the compute resource requests and limits for the Prometheus Operator container. This includes CPU, memory and HugePages constraints to help control scheduling and resource usage. When not specified, defaults are used by the platform. Requests cannot exceed limits. This field is optional. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ This is a simplified API that maps to Kubernetes ResourceRequirements. The current default values are:\n resources:\n - name: cpu\n request: 4m\n limit: null\n - name: memory\n request: 40Mi\n limit: null\nMaximum length for this list is 10. Minimum length for this list is 1. Each resource name must be unique within this list.", + "tolerations": "tolerations defines tolerations for the pods. tolerations is optional.\n\nWhen omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. Defaults are empty/unset. Maximum length for this list is 10. Minimum length for this list is 1.", + "topologySpreadConstraints": "topologySpreadConstraints defines rules for how Prometheus Operator Pods should be distributed across topology domains such as zones, nodes, or other user-defined labels. topologySpreadConstraints is optional. This helps improve high availability and resource efficiency by avoiding placing too many replicas in the same failure domain.\n\nWhen omitted, this means no opinion and the platform is left to choose a default, which is subject to change over time. This field maps directly to the `topologySpreadConstraints` field in the Pod spec. Default is empty list. Maximum length for this list is 10. Minimum length for this list is 1. Entries must have unique topologyKey and whenUnsatisfiable pairs.", +} + +func (PrometheusOperatorConfig) SwaggerDoc() map[string]string { + return map_PrometheusOperatorConfig +} + var map_UserDefinedMonitoring = map[string]string{ "": "UserDefinedMonitoring config for user-defined projects.", "mode": "mode defines the different configurations of UserDefinedMonitoring Valid values are Disabled and NamespaceIsolated Disabled disables monitoring for user-defined projects. This restricts the default monitoring stack, installed in the openshift-monitoring project, to monitor only platform namespaces, which prevents any custom monitoring configurations or resources from being applied to user-defined namespaces. NamespaceIsolated enables monitoring for user-defined projects with namespace-scoped tenancy. This ensures that metrics, alerts, and monitoring data are isolated at the namespace level. The current default value is `Disabled`.", @@ -226,15 +240,42 @@ func (UserDefinedMonitoring) SwaggerDoc() map[string]string { return map_UserDefinedMonitoring } -var map_FulcioCAWithRekor = map[string]string{ - "": "FulcioCAWithRekor defines the root of trust based on the Fulcio certificate and the Rekor public key.", - "fulcioCAData": "fulcioCAData contains inline base64-encoded data for the PEM format fulcio CA. fulcioCAData must be at most 8192 characters.", - "rekorKeyData": "rekorKeyData contains inline base64-encoded data for the PEM format from the Rekor public key. rekorKeyData must be at most 8192 characters.", - "fulcioSubject": "fulcioSubject specifies OIDC issuer and the email of the Fulcio authentication configuration.", +var map_CRIOCredentialProviderConfig = map[string]string{ + "": "CRIOCredentialProviderConfig holds cluster-wide singleton resource configurations for CRI-O credential provider, the name of this instance is \"cluster\". CRI-O credential provider is a binary shipped with CRI-O that provides a way to obtain container image pull credentials from external sources. For example, it can be used to fetch mirror registry credentials from secrets resources in the cluster within the same namespace the pod will be running in. CRIOCredentialProviderConfig configuration specifies the pod image sources registries that should trigger the CRI-O credential provider execution, which will resolve the CRI-O mirror configurations and obtain the necessary credentials for pod creation. Note: Configuration changes will only take effect after the kubelet restarts, which is automatically managed by the cluster during rollout.\n\nThe resource is a singleton named \"cluster\".\n\nCompatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.", + "metadata": "metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "spec": "spec defines the desired configuration of the CRI-O Credential Provider. This field is required and must be provided when creating the resource.", + "status": "status represents the current state of the CRIOCredentialProviderConfig. When omitted or nil, it indicates that the status has not yet been set by the controller. The controller will populate this field with validation conditions and operational state.", +} + +func (CRIOCredentialProviderConfig) SwaggerDoc() map[string]string { + return map_CRIOCredentialProviderConfig +} + +var map_CRIOCredentialProviderConfigList = map[string]string{ + "": "CRIOCredentialProviderConfigList contains a list of CRIOCredentialProviderConfig resources\n\nCompatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.", + "metadata": "metadata is the standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", +} + +func (CRIOCredentialProviderConfigList) SwaggerDoc() map[string]string { + return map_CRIOCredentialProviderConfigList } -func (FulcioCAWithRekor) SwaggerDoc() map[string]string { - return map_FulcioCAWithRekor +var map_CRIOCredentialProviderConfigSpec = map[string]string{ + "": "CRIOCredentialProviderConfigSpec defines the desired configuration of the CRI-O Credential Provider.", + "matchImages": "matchImages is a list of string patterns used to determine whether the CRI-O credential provider should be invoked for a given image. This list is passed to the kubelet CredentialProviderConfig, and if any pattern matches the requested image, CRI-O credential provider will be invoked to obtain credentials for pulling that image or its mirrors. Depending on the platform, the CRI-O credential provider may be installed alongside an existing platform specific provider. Conflicts between the existing platform specific provider image match configuration and this list will be handled by the following precedence rule: credentials from built-in kubelet providers (e.g., ECR, GCR, ACR) take precedence over those from the CRIOCredentialProviderConfig when both match the same image. To avoid uncertainty, it is recommended to avoid configuring your private image patterns to overlap with existing platform specific provider config(e.g., the entries from https://github.com/openshift/machine-config-operator/blob/main/templates/common/aws/files/etc-kubernetes-credential-providers-ecr-credential-provider.yaml). You can check the resource's Status conditions to see if any entries were ignored due to exact matches with known built-in provider patterns.\n\nThis field is optional, the items of the list must contain between 1 and 50 entries. The list is treated as a set, so duplicate entries are not allowed.\n\nFor more details, see: https://kubernetes.io/docs/tasks/administer-cluster/kubelet-credential-provider/ https://github.com/cri-o/crio-credential-provider#architecture\n\nEach entry in matchImages is a pattern which can optionally contain a port and a path. Each entry must be no longer than 512 characters. Wildcards ('*') are supported for full subdomain labels, such as '*.k8s.io' or 'k8s.*.io', and for top-level domains, such as 'k8s.*' (which matches 'k8s.io' or 'k8s.net'). A global wildcard '*' (matching any domain) is not allowed. Wildcards may replace an entire hostname label (e.g., *.example.com), but they cannot appear within a label (e.g., f*oo.example.com) and are not allowed in the port or path. For example, 'example.*.com' is valid, but 'exa*mple.*.com' is not. Each wildcard matches only a single domain label, so '*.io' does **not** match '*.k8s.io'.\n\nA match exists between an image and a matchImage when all of the below are true: Both contain the same number of domain parts and each part matches. The URL path of an matchImages must be a prefix of the target image URL path. If the matchImages contains a port, then the port must match in the image as well.\n\nExample values of matchImages: - 123456789.dkr.ecr.us-east-1.amazonaws.com - *.azurecr.io - gcr.io - *.*.registry.io - registry.io:8080/path", +} + +func (CRIOCredentialProviderConfigSpec) SwaggerDoc() map[string]string { + return map_CRIOCredentialProviderConfigSpec +} + +var map_CRIOCredentialProviderConfigStatus = map[string]string{ + "": "CRIOCredentialProviderConfigStatus defines the observed state of CRIOCredentialProviderConfig", + "conditions": "conditions represent the latest available observations of the configuration state. When omitted, it indicates that no conditions have been reported yet. The maximum number of conditions is 16. Conditions are stored as a map keyed by condition type, ensuring uniqueness.\n\nExpected condition types include: \"Validated\": indicates whether the matchImages configuration is valid", +} + +func (CRIOCredentialProviderConfigStatus) SwaggerDoc() map[string]string { + return map_CRIOCredentialProviderConfigStatus } var map_ImagePolicy = map[string]string{ @@ -248,6 +289,17 @@ func (ImagePolicy) SwaggerDoc() map[string]string { return map_ImagePolicy } +var map_ImagePolicyFulcioCAWithRekorRootOfTrust = map[string]string{ + "": "ImagePolicyFulcioCAWithRekorRootOfTrust defines the root of trust based on the Fulcio certificate and the Rekor public key.", + "fulcioCAData": "fulcioCAData contains inline base64-encoded data for the PEM format fulcio CA. fulcioCAData must be at most 8192 characters.", + "rekorKeyData": "rekorKeyData contains inline base64-encoded data for the PEM format from the Rekor public key. rekorKeyData must be at most 8192 characters.", + "fulcioSubject": "fulcioSubject specifies OIDC issuer and the email of the Fulcio authentication configuration.", +} + +func (ImagePolicyFulcioCAWithRekorRootOfTrust) SwaggerDoc() map[string]string { + return map_ImagePolicyFulcioCAWithRekorRootOfTrust +} + var map_ImagePolicyList = map[string]string{ "": "ImagePolicyList is a list of ImagePolicy resources\n\nCompatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.", "metadata": "metadata is the standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", @@ -257,6 +309,27 @@ func (ImagePolicyList) SwaggerDoc() map[string]string { return map_ImagePolicyList } +var map_ImagePolicyPKIRootOfTrust = map[string]string{ + "": "ImagePolicyPKIRootOfTrust defines the root of trust based on Root CA(s) and corresponding intermediate certificates.", + "caRootsData": "caRootsData contains base64-encoded data of a certificate bundle PEM file, which contains one or more CA roots in the PEM format. The total length of the data must not exceed 8192 characters. ", + "caIntermediatesData": "caIntermediatesData contains base64-encoded data of a certificate bundle PEM file, which contains one or more intermediate certificates in the PEM format. The total length of the data must not exceed 8192 characters. caIntermediatesData requires caRootsData to be set. ", + "pkiCertificateSubject": "pkiCertificateSubject defines the requirements imposed on the subject to which the certificate was issued.", +} + +func (ImagePolicyPKIRootOfTrust) SwaggerDoc() map[string]string { + return map_ImagePolicyPKIRootOfTrust +} + +var map_ImagePolicyPublicKeyRootOfTrust = map[string]string{ + "": "ImagePolicyPublicKeyRootOfTrust defines the root of trust based on a sigstore public key.", + "keyData": "keyData contains inline base64-encoded data for the PEM format public key. KeyData must be at most 8192 characters.", + "rekorKeyData": "rekorKeyData contains inline base64-encoded data for the PEM format from the Rekor public key. rekorKeyData must be at most 8192 characters.", +} + +func (ImagePolicyPublicKeyRootOfTrust) SwaggerDoc() map[string]string { + return map_ImagePolicyPublicKeyRootOfTrust +} + var map_ImagePolicySpec = map[string]string{ "": "ImagePolicySpec is the specification of the ImagePolicy CRD.", "scopes": "scopes defines the list of image identities assigned to a policy. Each item refers to a scope in a registry implementing the \"Docker Registry HTTP API V2\". Scopes matching individual images are named Docker references in the fully expanded form, either using a tag or digest. For example, docker.io/library/busybox:latest (not busybox:latest). More general scopes are prefixes of individual-image scopes, and specify a repository (by omitting the tag or digest), a repository namespace, or a registry host (by only specifying the host name and possibly a port number) or a wildcard expression starting with `*.`, for matching all subdomains (not including a port number). Wildcards are only supported for subdomain matching, and may not be used in the middle of the host, i.e. *.example.com is a valid case, but example*.*.com is not. If multiple scopes match a given image, only the policy requirements for the most specific scope apply. The policy requirements for more general scopes are ignored. In addition to setting a policy appropriate for your own deployed applications, make sure that a policy on the OpenShift image repositories quay.io/openshift-release-dev/ocp-release, quay.io/openshift-release-dev/ocp-v4.0-art-dev (or on a more general scope) allows deployment of the OpenShift images required for cluster operation. If a scope is configured in both the ClusterImagePolicy and the ImagePolicy, or if the scope in ImagePolicy is nested under one of the scopes from the ClusterImagePolicy, only the policy from the ClusterImagePolicy will be applied. For additional details about the format, please refer to the document explaining the docker transport field, which can be found at: https://github.com/containers/image/blob/main/docs/containers-policy.json.5.md#docker", @@ -275,15 +348,14 @@ func (ImagePolicyStatus) SwaggerDoc() map[string]string { return map_ImagePolicyStatus } -var map_PKI = map[string]string{ - "": "PKI defines the root of trust based on Root CA(s) and corresponding intermediate certificates.", - "caRootsData": "caRootsData contains base64-encoded data of a certificate bundle PEM file, which contains one or more CA roots in the PEM format. The total length of the data must not exceed 8192 characters. ", - "caIntermediatesData": "caIntermediatesData contains base64-encoded data of a certificate bundle PEM file, which contains one or more intermediate certificates in the PEM format. The total length of the data must not exceed 8192 characters. caIntermediatesData requires caRootsData to be set. ", - "pkiCertificateSubject": "pkiCertificateSubject defines the requirements imposed on the subject to which the certificate was issued.", +var map_ImageSigstoreVerificationPolicy = map[string]string{ + "": "ImageSigstoreVerificationPolicy defines the verification policy for the items in the scopes list.", + "rootOfTrust": "rootOfTrust specifies the root of trust for the policy.", + "signedIdentity": "signedIdentity specifies what image identity the signature claims about the image. The required matchPolicy field specifies the approach used in the verification process to verify the identity in the signature and the actual image identity, the default matchPolicy is \"MatchRepoDigestOrExact\".", } -func (PKI) SwaggerDoc() map[string]string { - return map_PKI +func (ImageSigstoreVerificationPolicy) SwaggerDoc() map[string]string { + return map_ImageSigstoreVerificationPolicy } var map_PKICertificateSubject = map[string]string{ @@ -296,16 +368,6 @@ func (PKICertificateSubject) SwaggerDoc() map[string]string { return map_PKICertificateSubject } -var map_Policy = map[string]string{ - "": "Policy defines the verification policy for the items in the scopes list.", - "rootOfTrust": "rootOfTrust specifies the root of trust for the policy.", - "signedIdentity": "signedIdentity specifies what image identity the signature claims about the image. The required matchPolicy field specifies the approach used in the verification process to verify the identity in the signature and the actual image identity, the default matchPolicy is \"MatchRepoDigestOrExact\".", -} - -func (Policy) SwaggerDoc() map[string]string { - return map_Policy -} - var map_PolicyFulcioSubject = map[string]string{ "": "PolicyFulcioSubject defines the OIDC issuer and the email of the Fulcio authentication configuration.", "oidcIssuer": "oidcIssuer contains the expected OIDC issuer. It will be verified that the Fulcio-issued certificate contains a (Fulcio-defined) certificate extension pointing at this OIDC issuer URL. When Fulcio issues certificates, it includes a value based on an URL inside the client-provided ID token. Example: \"https://expected.OIDC.issuer/\"", @@ -356,16 +418,6 @@ func (PolicyRootOfTrust) SwaggerDoc() map[string]string { return map_PolicyRootOfTrust } -var map_PublicKey = map[string]string{ - "": "PublicKey defines the root of trust based on a sigstore public key.", - "keyData": "keyData contains inline base64-encoded data for the PEM format public key. KeyData must be at most 8192 characters.", - "rekorKeyData": "rekorKeyData contains inline base64-encoded data for the PEM format from the Rekor public key. rekorKeyData must be at most 8192 characters.", -} - -func (PublicKey) SwaggerDoc() map[string]string { - return map_PublicKey -} - var map_GatherConfig = map[string]string{ "": "gatherConfig provides data gathering configuration options.", "dataPolicy": "dataPolicy allows user to enable additional global obfuscation of the IP addresses and base domain in the Insights archive data. Valid values are \"None\" and \"ObfuscateNetworking\". When set to None the data is not obfuscated. When set to ObfuscateNetworking the IP addresses and the cluster domain name are obfuscated. When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time.", diff --git a/vendor/github.com/openshift/api/config/v1alpha2/types_insights.go b/vendor/github.com/openshift/api/config/v1alpha2/types_insights.go index d59f5920b1..fbe666249a 100644 --- a/vendor/github.com/openshift/api/config/v1alpha2/types_insights.go +++ b/vendor/github.com/openshift/api/config/v1alpha2/types_insights.go @@ -16,6 +16,7 @@ import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" // +openshift:file-pattern=cvoRunLevel=0000_10,operatorName=config-operator,operatorOrdering=01 // +openshift:enable:FeatureGate=InsightsConfig // +openshift:compatibility-gen:level=4 +// +openshift:capability=Insights type InsightsDataGather struct { metav1.TypeMeta `json:",inline"` // metadata is the standard object's metadata. diff --git a/vendor/github.com/openshift/api/config/v1alpha2/zz_generated.featuregated-crd-manifests.yaml b/vendor/github.com/openshift/api/config/v1alpha2/zz_generated.featuregated-crd-manifests.yaml index 99fe308ef8..1f73e723eb 100644 --- a/vendor/github.com/openshift/api/config/v1alpha2/zz_generated.featuregated-crd-manifests.yaml +++ b/vendor/github.com/openshift/api/config/v1alpha2/zz_generated.featuregated-crd-manifests.yaml @@ -2,7 +2,7 @@ insightsdatagathers.config.openshift.io: Annotations: {} ApprovedPRNumber: https://github.com/openshift/api/pull/2195 CRDName: insightsdatagathers.config.openshift.io - Capability: "" + Capability: Insights Category: "" FeatureGates: - InsightsConfig diff --git a/vendor/github.com/openshift/api/console/v1/types.go b/vendor/github.com/openshift/api/console/v1/types.go index 416eaa3e87..24dcd5ca0b 100644 --- a/vendor/github.com/openshift/api/console/v1/types.go +++ b/vendor/github.com/openshift/api/console/v1/types.go @@ -4,7 +4,7 @@ package v1 type Link struct { // text is the display text for the link Text string `json:"text"` - // href is the absolute secure URL for the link (must use https) - // +kubebuilder:validation:Pattern=`^https://` + // href is the absolute URL for the link. Must use https:// for web URLs or mailto: for email links. + // +kubebuilder:validation:Pattern=`^(https://|mailto:)` Href string `json:"href"` } diff --git a/vendor/github.com/openshift/api/console/v1/types_console_sample.go b/vendor/github.com/openshift/api/console/v1/types_console_sample.go index bd0f656969..c296059b7e 100644 --- a/vendor/github.com/openshift/api/console/v1/types_console_sample.go +++ b/vendor/github.com/openshift/api/console/v1/types_console_sample.go @@ -125,7 +125,8 @@ type ConsoleSampleSpec struct { // ConsoleSampleSourceType is an enumeration of the supported sample types. // Unsupported samples types will be ignored in the web console. -// +kubebuilder:validation:Enum:=GitImport;ContainerImport +// +kubebuilder:validation:Enum:="GitImport";"ContainerImport" +// +enum type ConsoleSampleSourceType string const ( @@ -144,7 +145,6 @@ type ConsoleSampleSource struct { // type of the sample, currently supported: "GitImport";"ContainerImport" // +unionDiscriminator // +required - // +kubebuilder:validation:Enum:="GitImport";"ContainerImport" Type ConsoleSampleSourceType `json:"type"` // gitImport allows the user to import code from a git repository. diff --git a/vendor/github.com/openshift/api/console/v1/zz_generated.swagger_doc_generated.go b/vendor/github.com/openshift/api/console/v1/zz_generated.swagger_doc_generated.go index a02cbf7c17..606b95cafc 100644 --- a/vendor/github.com/openshift/api/console/v1/zz_generated.swagger_doc_generated.go +++ b/vendor/github.com/openshift/api/console/v1/zz_generated.swagger_doc_generated.go @@ -14,7 +14,7 @@ package v1 var map_Link = map[string]string{ "": "Represents a standard link that could be generated in HTML", "text": "text is the display text for the link", - "href": "href is the absolute secure URL for the link (must use https)", + "href": "href is the absolute URL for the link. Must use https:// for web URLs or mailto: for email links.", } func (Link) SwaggerDoc() map[string]string { diff --git a/vendor/github.com/openshift/api/envtest-releases.yaml b/vendor/github.com/openshift/api/envtest-releases.yaml index e8688e2b06..e495e02796 100644 --- a/vendor/github.com/openshift/api/envtest-releases.yaml +++ b/vendor/github.com/openshift/api/envtest-releases.yaml @@ -64,3 +64,16 @@ releases: envtest-v1.33.2-linux-arm64.tar.gz: hash: 9936eba66fd0170808268da4c0609b7e7d4d1b0de8607b0d3a9091539b4ec881041a9e08e7b4839708b11139bcc850acd34dfc0305ed955cc61fc3fae9da58f5 selfLink: https://storage.googleapis.com/openshift-kubebuilder-tools/envtest-v1.33.2-linux-arm64.tar.gz + v1.34.1: + envtest-v1.34.1-darwin-amd64.tar.gz: + hash: 3bf575e77d35803b81685969915d70ae23f2267bafd1fe17087126d6fcdfe67590d2f51ce59ff8f0d06e5d94b0f4d0ac3c16de1544008e9c617499cfc51844c5 + selfLink: https://storage.googleapis.com/openshift-kubebuilder-tools/envtest-v1.34.1-darwin-amd64.tar.gz + envtest-v1.34.1-darwin-arm64.tar.gz: + hash: 3c9c1d457d3fbb5c5cfb6e6c4ac31b41172cf413b9a81f8f53ac717a643f730d135d4d09549f9d78685c23704a7e3f12c891896dc23c4b1a211a10e1fd9bc043 + selfLink: https://storage.googleapis.com/openshift-kubebuilder-tools/envtest-v1.34.1-darwin-arm64.tar.gz + envtest-v1.34.1-linux-amd64.tar.gz: + hash: e5aeda6d9f9456e27c5c001bc4476a0bccc06f1431c2a9752a2ac040f69671927204dcc254bba8ebb2fb91d0e32620abfaba6daad6a80dbe376d93e57fcd2431 + selfLink: https://storage.googleapis.com/openshift-kubebuilder-tools/envtest-v1.34.1-linux-amd64.tar.gz + envtest-v1.34.1-linux-arm64.tar.gz: + hash: e2ee7e47ceeba56624fd869922ab9851200482ef835c09fe3dd57c9806a992a7e1f56641906510ebb095514953aa8a3af68d45a82be45b94981a50e894ac6e42 + selfLink: https://storage.googleapis.com/openshift-kubebuilder-tools/envtest-v1.34.1-linux-arm64.tar.gz diff --git a/vendor/github.com/openshift/api/etcd/README.md b/vendor/github.com/openshift/api/etcd/README.md new file mode 100644 index 0000000000..b92d553df7 --- /dev/null +++ b/vendor/github.com/openshift/api/etcd/README.md @@ -0,0 +1,211 @@ +# etcd.openshift.io API Group + +This API group contains CRDs related to etcd cluster management in Two Node OpenShift with Fencing deployments. + +## API Versions + +### v1alpha1 + +Contains the `PacemakerCluster` custom resource for monitoring Pacemaker cluster health in Two Node OpenShift with Fencing deployments. + +#### PacemakerCluster + +- **Feature Gate**: `DualReplica` +- **Component**: `two-node-fencing` +- **Scope**: Cluster-scoped singleton resource (must be named "cluster") +- **Resource Path**: `pacemakerclusters.etcd.openshift.io` + +The `PacemakerCluster` resource provides visibility into the health and status of a Pacemaker-managed cluster. +It is periodically updated by the cluster-etcd-operator's status collector. + +### Status Subresource Design + +This resource uses the standard Kubernetes status subresource pattern (`+kubebuilder:subresource:status`). +The status collector creates the resource without status, then immediately populates it via the `/status` endpoint. + +**Why not atomic create-with-status?** + +We initially explored removing the status subresource to allow creating the resource with status in a single +atomic operation. This would ensure the resource is never observed in an incomplete state. However: + +1. The Kubernetes API server strips the `status` field from create requests when a status subresource is enabled +2. Without the subresource, we cannot use separate RBAC for spec vs status updates +3. The OpenShift API test framework assumes status subresource exists for status update tests + +The status collector performs a two-step operation: create resource, then immediately update status. +The brief window where status is empty is acceptable since the healthcheck controller handles missing status gracefully. + +### Pacemaker Resources + +A **pacemaker resource** is a unit of work managed by pacemaker. In pacemaker terminology, resources are services +or applications that pacemaker monitors, starts, stops, and moves between nodes to maintain high availability. + +For Two Node OpenShift with Fencing, we manage three resource types: +- **Kubelet**: The Kubernetes node agent and a prerequisite for etcd +- **Etcd**: The distributed key-value store +- **FencingAgent**: Used to isolate failed nodes during a quorum loss event (tracked separately) + +### Status Structure + +```yaml +status: # Optional on creation, populated via status subresource + conditions: # Required when status present (min 3 items) + - type: Healthy + - type: InService + - type: NodeCountAsExpected + lastUpdated: # Required when status present, cannot decrease + nodes: # Control-plane nodes (0-5, expects 2 for TNF) + - nodeName: # RFC 1123 subdomain name + addresses: # Required: List of node addresses (1-8 items) + - type: InternalIP # Currently only InternalIP is supported + address: # First address used for etcd peer URLs + conditions: # Required: Node-level conditions (min 9 items) + - type: Healthy + - type: Online + - type: InService + - type: Active + - type: Ready + - type: Clean + - type: Member + - type: FencingAvailable + - type: FencingHealthy + resources: # Required: Pacemaker resources on this node (min 2) + - name: Kubelet # Both Kubelet and Etcd must be present + conditions: # Required: Resource-level conditions (min 8 items) + - type: Healthy + - type: InService + - type: Managed + - type: Enabled + - type: Operational + - type: Active + - type: Started + - type: Schedulable + - name: Etcd + conditions: [...] # Same 8 conditions as Kubelet (abbreviated) + fencingAgents: # Required: Fencing agents for THIS node (1-8) + - name: # e.g., "master-0_redfish" (unique, max 300 chars) + method: # Fencing method: "Redfish" or "IPMI" + conditions: [...] # Same 8 conditions as resources (abbreviated) +``` + +### Fencing Agents + +Fencing agents are STONITH (Shoot The Other Node In The Head) devices used to isolate failed nodes. +Unlike regular pacemaker resources (Kubelet, Etcd), fencing agents are tracked separately because: + +1. **Mapping by target, not schedule**: Resources are mapped to the node where they are scheduled to run. + Fencing agents are mapped to the node they can *fence* (their target), regardless of which node + their monitoring operations are scheduled on. + +2. **Multiple agents per node**: A node can have multiple fencing agents for redundancy + (e.g., both Redfish and IPMI). Expected: 1 per node, supported: up to 8. + +3. **Health tracking via two node-level conditions**: + - **FencingAvailable**: True if at least one agent is healthy (fencing works), False if all agents unhealthy (degrades operator) + - **FencingHealthy**: True if all agents are healthy (ideal state), False if any agent is unhealthy (emits warning events) + +### Cluster-Level Conditions + +| Condition | True | False | +|-----------|------|-------| +| `Healthy` | Cluster is healthy (`ClusterHealthy`) | Cluster has issues (`ClusterUnhealthy`) | +| `InService` | In service (`InService`) | In maintenance (`InMaintenance`) | +| `NodeCountAsExpected` | Node count is as expected (`AsExpected`) | Wrong count (`InsufficientNodes`, `ExcessiveNodes`) | + +### Node-Level Conditions + +| Condition | True | False | +|-----------|------|-------| +| `Healthy` | Node is healthy (`NodeHealthy`) | Node has issues (`NodeUnhealthy`) | +| `Online` | Node is online (`Online`) | Node is offline (`Offline`) | +| `InService` | In service (`InService`) | In maintenance (`InMaintenance`) | +| `Active` | Node is active (`Active`) | Node is in standby (`Standby`) | +| `Ready` | Node is ready (`Ready`) | Node is pending (`Pending`) | +| `Clean` | Node is clean (`Clean`) | Node is unclean (`Unclean`) | +| `Member` | Node is a member (`Member`) | Not a member (`NotMember`) | +| `FencingAvailable` | At least one agent healthy (`FencingAvailable`) | All agents unhealthy (`FencingUnavailable`) - degrades operator | +| `FencingHealthy` | All agents healthy (`FencingHealthy`) | Some agents unhealthy (`FencingUnhealthy`) - emits warnings | + +### Resource-Level Conditions + +Each resource in the `resources` array and each fencing agent in the `fencingAgents` array has its own conditions. + +| Condition | True | False | +|-----------|------|-------| +| `Healthy` | Resource is healthy (`ResourceHealthy`) | Resource has issues (`ResourceUnhealthy`) | +| `InService` | In service (`InService`) | In maintenance (`InMaintenance`) | +| `Managed` | Managed by pacemaker (`Managed`) | Not managed (`Unmanaged`) | +| `Enabled` | Resource is enabled (`Enabled`) | Resource is disabled (`Disabled`) | +| `Operational` | Resource is operational (`Operational`) | Resource has failed (`Failed`) | +| `Active` | Resource is active (`Active`) | Resource is not active (`Inactive`) | +| `Started` | Resource is started (`Started`) | Resource is stopped (`Stopped`) | +| `Schedulable` | Resource is schedulable (`Schedulable`) | Resource is not schedulable (`Unschedulable`) | + +### Validation Rules + +**Resource naming:** +- Resource name must be "cluster" (singleton) + +**Node name validation:** +- Must be a lowercase RFC 1123 subdomain name +- Consists of lowercase alphanumeric characters, '-' or '.' +- Must start and end with an alphanumeric character +- Maximum 253 characters + +**Node addresses:** +- Uses `PacemakerNodeAddress` type (similar to `corev1.NodeAddress` but with IP validation) +- Currently only `InternalIP` type is supported +- Pacemaker allows multiple addresses for Corosync communication between nodes (1-8 addresses) +- The first address in the list is used for IP-based peer URLs for etcd membership +- IP validation: + - Must be a valid global unicast IPv4 or IPv6 address + - Must be in canonical form (e.g., `192.168.1.1` not `192.168.001.001`, or `2001:db8::1` not `2001:0db8::1`) + - Excludes loopback, link-local, and multicast addresses + - Maximum length is 39 characters (full IPv6 address) + +**Timestamp validation:** +- `lastUpdated` is required when status is present +- Once set, cannot be set to an earlier timestamp (validation uses `!has(oldSelf.lastUpdated)` to handle initial creation) +- Timestamps must always increase (prevents stale updates from overwriting newer data) + +**Status fields:** +- `status` - Optional on creation (pointer type), populated via status subresource +- When status is present, all fields within are required: + - `conditions` - Required array of cluster conditions (min 3 items) + - `lastUpdated` - Required timestamp for staleness detection + - `nodes` - Required array of control-plane node statuses (min 0, max 5; empty allowed for catastrophic failures) + +**Node fields (when node present):** +- `nodeName` - Required, RFC 1123 subdomain +- `addresses` - Required (min 1, max 8 items) +- `conditions` - Required (min 9 items with specific types enforced via XValidation) +- `resources` - Required (min 2 items: Kubelet and Etcd) +- `fencingAgents` - Required (min 1, max 8 items) + +**Conditions validation:** +- Cluster-level: MinItems=3 (Healthy, InService, NodeCountAsExpected) +- Node-level: MinItems=9 (Healthy, Online, InService, Active, Ready, Clean, Member, FencingAvailable, FencingHealthy) +- Resource-level: MinItems=8 (Healthy, InService, Managed, Enabled, Operational, Active, Started, Schedulable) +- Fencing agent-level: MinItems=8 (same conditions as resources) + +All condition arrays have XValidation rules to ensure specific condition types are present. + +**Resource names:** +- Valid values are: `Kubelet`, `Etcd` +- Both resources must be present in each node's `resources` array + +**Fencing agent fields:** +- `name`: Unique identifier for the fencing agent (e.g., "master-0_redfish") + - Must be unique within the `fencingAgents` array + - May contain alphanumeric characters, dots, hyphens, and underscores (`^[a-zA-Z0-9._-]+$`) + - Maximum 300 characters (provides headroom beyond 253 node name + underscore + method) +- `method`: Fencing method enum - valid values are `Redfish` or `IPMI` +- `conditions`: Required, same 8 conditions as resources + +Note: The target node is implied by the parent `PacemakerClusterNodeStatus` - fencing agents are nested under the node they can fence. + +### Usage + +The cluster-etcd-operator healthcheck controller watches this resource and updates operator conditions based on +the cluster state. The aggregate `Healthy` conditions at each level (cluster, node, resource) provide a quick +way to determine overall health. diff --git a/vendor/github.com/openshift/api/etcd/install.go b/vendor/github.com/openshift/api/etcd/install.go new file mode 100644 index 0000000000..7e7474152c --- /dev/null +++ b/vendor/github.com/openshift/api/etcd/install.go @@ -0,0 +1,26 @@ +package etcd + +import ( + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1alpha1 "github.com/openshift/api/etcd/v1alpha1" +) + +const ( + GroupName = "etcd.openshift.io" +) + +var ( + schemeBuilder = runtime.NewSchemeBuilder(v1alpha1.Install) + // Install is a function which adds every version of this group to a scheme + Install = schemeBuilder.AddToScheme +) + +func Resource(resource string) schema.GroupResource { + return schema.GroupResource{Group: GroupName, Resource: resource} +} + +func Kind(kind string) schema.GroupKind { + return schema.GroupKind{Group: GroupName, Kind: kind} +} diff --git a/vendor/github.com/openshift/api/etcd/v1alpha1/Makefile b/vendor/github.com/openshift/api/etcd/v1alpha1/Makefile new file mode 100644 index 0000000000..3d019662af --- /dev/null +++ b/vendor/github.com/openshift/api/etcd/v1alpha1/Makefile @@ -0,0 +1,3 @@ +.PHONY: test +test: + make -C ../../tests test GINKGO_EXTRA_ARGS=--focus="etcd.openshift.io/v1alpha1" diff --git a/vendor/github.com/openshift/api/etcd/v1alpha1/doc.go b/vendor/github.com/openshift/api/etcd/v1alpha1/doc.go new file mode 100644 index 0000000000..aea92fb381 --- /dev/null +++ b/vendor/github.com/openshift/api/etcd/v1alpha1/doc.go @@ -0,0 +1,6 @@ +// +k8s:deepcopy-gen=package,register +// +k8s:defaulter-gen=TypeMeta +// +k8s:openapi-gen=true +// +openshift:featuregated-schema-gen=true +// +groupName=etcd.openshift.io +package v1alpha1 diff --git a/vendor/github.com/openshift/api/etcd/v1alpha1/register.go b/vendor/github.com/openshift/api/etcd/v1alpha1/register.go new file mode 100644 index 0000000000..1dc6482f83 --- /dev/null +++ b/vendor/github.com/openshift/api/etcd/v1alpha1/register.go @@ -0,0 +1,39 @@ +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" +) + +var ( + GroupName = "etcd.openshift.io" + GroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"} + schemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + // Install is a function which adds this version to a scheme + Install = schemeBuilder.AddToScheme + + // SchemeGroupVersion generated code relies on this name + // Deprecated + SchemeGroupVersion = GroupVersion + // AddToScheme exists solely to keep the old generators creating valid code + // DEPRECATED + AddToScheme = schemeBuilder.AddToScheme +) + +// Resource generated code relies on this being here, but it logically belongs to the group +// DEPRECATED +func Resource(resource string) schema.GroupResource { + return schema.GroupResource{Group: GroupName, Resource: resource} +} + +func addKnownTypes(scheme *runtime.Scheme) error { + metav1.AddToGroupVersion(scheme, GroupVersion) + + scheme.AddKnownTypes(GroupVersion, + &PacemakerCluster{}, + &PacemakerClusterList{}, + ) + + return nil +} diff --git a/vendor/github.com/openshift/api/etcd/v1alpha1/types_pacemakercluster.go b/vendor/github.com/openshift/api/etcd/v1alpha1/types_pacemakercluster.go new file mode 100644 index 0000000000..ab06d0e390 --- /dev/null +++ b/vendor/github.com/openshift/api/etcd/v1alpha1/types_pacemakercluster.go @@ -0,0 +1,736 @@ +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +// PacemakerCluster is used in Two Node OpenShift with Fencing deployments to monitor the health +// of etcd running under pacemaker. + +// Cluster-level condition types for PacemakerCluster.status.conditions +const ( + // ClusterHealthyConditionType tracks the overall health of the pacemaker cluster. + // This is an aggregate condition that reflects the health of all cluster-level conditions and node health. + // Specifically, it aggregates the following conditions: + // - ClusterInServiceConditionType + // - ClusterNodeCountAsExpectedConditionType + // - NodeHealthyConditionType (for each node) + // When True, the cluster is healthy with reason "ClusterHealthy". + // When False, the cluster is unhealthy with reason "ClusterUnhealthy". + ClusterHealthyConditionType = "Healthy" + + // ClusterInServiceConditionType tracks whether the cluster is in service (not in maintenance mode). + // Maintenance mode is a cluster-wide setting that prevents pacemaker from starting or stopping resources. + // When True, the cluster is in service with reason "InService". This is the normal operating state. + // When False, the cluster is in maintenance mode with reason "InMaintenance". This is an unexpected state. + ClusterInServiceConditionType = "InService" + + // ClusterNodeCountAsExpectedConditionType tracks whether the cluster has the expected number of nodes. + // For Two Node OpenShift with Fencing, we are expecting exactly 2 nodes. + // When True, the expected number of nodes are present with reason "AsExpected". + // When False, the node count is incorrect with reason "InsufficientNodes" or "ExcessiveNodes". + ClusterNodeCountAsExpectedConditionType = "NodeCountAsExpected" +) + +// ClusterHealthy condition reasons +const ( + // ClusterHealthyReasonHealthy means the pacemaker cluster is healthy and operating normally. + ClusterHealthyReasonHealthy = "ClusterHealthy" + + // ClusterHealthyReasonUnhealthy means the pacemaker cluster has issues that need investigation. + ClusterHealthyReasonUnhealthy = "ClusterUnhealthy" +) + +// ClusterInService condition reasons +const ( + // ClusterInServiceReasonInService means the cluster is in service (not in maintenance mode). + // This is the normal operating state. + ClusterInServiceReasonInService = "InService" + + // ClusterInServiceReasonInMaintenance means the cluster is in maintenance mode. + // In maintenance mode, pacemaker will not start or stop any resources. Entering and exiting this state requires + // manual user intervention, and is unexpected during normal cluster operation. + ClusterInServiceReasonInMaintenance = "InMaintenance" +) + +// ClusterNodeCountAsExpected condition reasons +const ( + // ClusterNodeCountAsExpectedReasonAsExpected means the expected number of nodes are present. + // For Two Node OpenShift with Fencing, we are expecting exactly 2 nodes. This is the expected healthy state. + ClusterNodeCountAsExpectedReasonAsExpected = "AsExpected" + + // ClusterNodeCountAsExpectedReasonInsufficientNodes means fewer nodes than expected are present. + // For Two Node OpenShift with Fencing, this means that less than 2 nodes are present. Under normal operation, this will only happen during + // a node replacement operation. It's also possible to enter this state with manual user intervention, but + // will also require user intervention to restore normal functionality. + ClusterNodeCountAsExpectedReasonInsufficientNodes = "InsufficientNodes" + + // ClusterNodeCountAsExpectedReasonExcessiveNodes means more nodes than expected are present. + // For Two Node OpenShift with Fencing, this means more than 2 nodes are present. This should be investigated as it is unexpected and should + // never happen during normal cluster operation. It is possible to enter this state with manual user intervention, + // but will also require user intervention to restore normal functionality. + ClusterNodeCountAsExpectedReasonExcessiveNodes = "ExcessiveNodes" +) + +// Node-level condition types for PacemakerCluster.status.nodes[].conditions +const ( + // NodeHealthyConditionType tracks the overall health of a node in the pacemaker cluster. + // This is an aggregate condition that reflects the health of all node-level conditions and resource health. + // Specifically, it aggregates the following conditions: + // - NodeOnlineConditionType + // - NodeInServiceConditionType + // - NodeActiveConditionType + // - NodeReadyConditionType + // - NodeCleanConditionType + // - NodeMemberConditionType + // - NodeFencingAvailableConditionType + // - NodeFencingHealthyConditionType + // - ResourceHealthyConditionType (for each resource in the node's resources list) + // When True, the node is healthy with reason "NodeHealthy". + // When False, the node is unhealthy with reason "NodeUnhealthy". + NodeHealthyConditionType = "Healthy" + + // NodeOnlineConditionType tracks whether a node is online. + // When True, the node is online with reason "Online". This is the normal operating state. + // When False, the node is offline with reason "Offline". This can occur during reboots, failures, maintenance, or replacement. + NodeOnlineConditionType = "Online" + + // NodeInServiceConditionType tracks whether a node is in service (not in maintenance mode). + // A node in maintenance mode is ignored by pacemaker while maintenance mode is active. + // When True, the node is in service with reason "InService". This is the normal operating state. + // When False, the node is in maintenance mode with reason "InMaintenance". This is an unexpected state. + NodeInServiceConditionType = "InService" + + // NodeActiveConditionType tracks whether a node is active (not in standby mode). + // When a node enters standby mode, pacemaker moves its resources to other nodes in the cluster. + // In Two Node OpenShift with Fencing, we do not use standby mode during normal operation. + // When True, the node is active with reason "Active". This is the normal operating state. + // When False, the node is in standby mode with reason "Standby". This is an unexpected state. + NodeActiveConditionType = "Active" + + // NodeReadyConditionType tracks whether a node is ready (not in a pending state). + // A node in a pending state is in the process of joining or leaving the cluster. + // When True, the node is ready with reason "Ready". This is the normal operating state. + // When False, the node is pending with reason "Pending". This is expected to be temporary. + NodeReadyConditionType = "Ready" + + // NodeCleanConditionType tracks whether a node is in a clean state. + // An unclean state means that pacemaker was unable to confirm the node's state, which signifies issues + // in fencing, communication, or configuration. + // When True, the node is clean with reason "Clean". This is the normal operating state. + // When False, the node is unclean with reason "Unclean". This is an unexpected state. + NodeCleanConditionType = "Clean" + + // NodeMemberConditionType tracks whether a node is a member of the cluster. + // Some configurations may use remote nodes or ping nodes, which are nodes that are not members. + // For Two Node OpenShift with Fencing, we expect both nodes to be members. + // When True, the node is a member with reason "Member". This is the normal operating state. + // When False, the node is not a member with reason "NotMember". This is an unexpected state. + NodeMemberConditionType = "Member" + + // NodeFencingAvailableConditionType tracks whether a node can be fenced by at least one fencing agent. + // For Two Node OpenShift with Fencing, each node needs at least one healthy fencing agent to ensure + // that the cluster can recover from a node failure via STONITH (Shoot The Other Node In The Head). + // When True, at least one fencing agent is healthy with reason "FencingAvailable". + // When False, all fencing agents are unhealthy with reason "FencingUnavailable". This is a critical + // state that should degrade the operator. + NodeFencingAvailableConditionType = "FencingAvailable" + + // NodeFencingHealthyConditionType tracks whether all fencing agents for a node are healthy. + // This is an aggregate condition that reflects the health of all fencing agents targeting this node. + // When True, all fencing agents are healthy with reason "FencingHealthy". + // When False, one or more fencing agents are unhealthy with reason "FencingUnhealthy". Warning events + // should be emitted for failing agents, but the operator should not be degraded if FencingAvailable is True. + NodeFencingHealthyConditionType = "FencingHealthy" +) + +// NodeHealthy condition reasons +const ( + // NodeHealthyReasonHealthy means the node is healthy and operating normally. + NodeHealthyReasonHealthy = "NodeHealthy" + + // NodeHealthyReasonUnhealthy means the node has issues that need investigation. + NodeHealthyReasonUnhealthy = "NodeUnhealthy" +) + +// NodeOnline condition reasons +const ( + // NodeOnlineReasonOnline means the node is online. This is the normal operating state. + NodeOnlineReasonOnline = "Online" + + // NodeOnlineReasonOffline means the node is offline. + NodeOnlineReasonOffline = "Offline" +) + +// NodeInService condition reasons +const ( + // NodeInServiceReasonInService means the node is in service (not in maintenance mode). + // This is the normal operating state. + NodeInServiceReasonInService = "InService" + + // NodeInServiceReasonInMaintenance means the node is in maintenance mode. + // This is an unexpected state. + NodeInServiceReasonInMaintenance = "InMaintenance" +) + +// NodeActive condition reasons +const ( + // NodeActiveReasonActive means the node is active (not in standby mode). + // This is the normal operating state. + NodeActiveReasonActive = "Active" + + // NodeActiveReasonStandby means the node is in standby mode. + // This is an unexpected state. + NodeActiveReasonStandby = "Standby" +) + +// NodeReady condition reasons +const ( + // NodeReadyReasonReady means the node is ready (not in a pending state). + // This is the normal operating state. + NodeReadyReasonReady = "Ready" + + // NodeReadyReasonPending means the node is joining or leaving the cluster. + // This state is expected to be temporary. + NodeReadyReasonPending = "Pending" +) + +// NodeClean condition reasons +const ( + // NodeCleanReasonClean means the node is in a clean state. + // This is the normal operating state. + NodeCleanReasonClean = "Clean" + + // NodeCleanReasonUnclean means the node is in an unclean state. + // Pacemaker was unable to confirm the node's state, which signifies issues in fencing, communication, or configuration. + // This is an unexpected state. + NodeCleanReasonUnclean = "Unclean" +) + +// NodeMember condition reasons +const ( + // NodeMemberReasonMember means the node is a member of the cluster. + // For Two Node OpenShift with Fencing, we expect both nodes to be members. This is the normal operating state. + NodeMemberReasonMember = "Member" + + // NodeMemberReasonNotMember means the node is not a member of the cluster. + // This is an unexpected state. + NodeMemberReasonNotMember = "NotMember" +) + +// NodeFencingAvailable condition reasons +const ( + // NodeFencingAvailableReasonAvailable means at least one fencing agent for this node is healthy. + // The cluster can fence this node if needed. This is the normal operating state. + NodeFencingAvailableReasonAvailable = "FencingAvailable" + + // NodeFencingAvailableReasonUnavailable means all fencing agents for this node are unhealthy. + // The cluster cannot fence this node, which compromises high availability. + // This is a critical state that should degrade the operator. + NodeFencingAvailableReasonUnavailable = "FencingUnavailable" +) + +// NodeFencingHealthy condition reasons +const ( + // NodeFencingHealthyReasonHealthy means all fencing agents for this node are healthy. + // This is the ideal operating state with full redundancy. + NodeFencingHealthyReasonHealthy = "FencingHealthy" + + // NodeFencingHealthyReasonUnhealthy means one or more fencing agents for this node are unhealthy. + // Warning events should be emitted for failing agents, but the operator should not be degraded + // if FencingAvailable is still True. + NodeFencingHealthyReasonUnhealthy = "FencingUnhealthy" +) + +// Resource-level condition types for PacemakerCluster.status.nodes[].resources[].conditions +const ( + // ResourceHealthyConditionType tracks the overall health of a pacemaker resource. + // This is an aggregate condition that reflects the health of all resource-level conditions. + // Specifically, it aggregates the following conditions: + // - ResourceInServiceConditionType + // - ResourceManagedConditionType + // - ResourceEnabledConditionType + // - ResourceOperationalConditionType + // - ResourceActiveConditionType + // - ResourceStartedConditionType + // - ResourceSchedulableConditionType + // When True, the resource is healthy with reason "ResourceHealthy". + // When False, the resource is unhealthy with reason "ResourceUnhealthy". + ResourceHealthyConditionType = "Healthy" + + // ResourceInServiceConditionType tracks whether a resource is in service (not in maintenance mode). + // Resources in maintenance mode are not monitored or moved by pacemaker. + // In Two Node OpenShift with Fencing, we do not expect any resources to be in maintenance mode. + // When True, the resource is in service with reason "InService". This is the normal operating state. + // When False, the resource is in maintenance mode with reason "InMaintenance". This is an unexpected state. + ResourceInServiceConditionType = "InService" + + // ResourceManagedConditionType tracks whether a resource is managed by pacemaker. + // Resources that are not managed by pacemaker are effectively invisible to the pacemaker HA logic. + // For Two Node OpenShift with Fencing, all resources are expected to be managed. + // When True, the resource is managed with reason "Managed". This is the normal operating state. + // When False, the resource is not managed with reason "Unmanaged". This is an unexpected state. + ResourceManagedConditionType = "Managed" + + // ResourceEnabledConditionType tracks whether a resource is enabled. + // Resources that are disabled are stopped and not automatically managed or started by the cluster. + // In Two Node OpenShift with Fencing, we do not expect any resources to be disabled. + // When True, the resource is enabled with reason "Enabled". This is the normal operating state. + // When False, the resource is disabled with reason "Disabled". This is an unexpected state. + ResourceEnabledConditionType = "Enabled" + + // ResourceOperationalConditionType tracks whether a resource is operational (not failed). + // A failed resource is one that is not able to start or is in an error state. + // When True, the resource is operational with reason "Operational". This is the normal operating state. + // When False, the resource has failed with reason "Failed". This is an unexpected state. + ResourceOperationalConditionType = "Operational" + + // ResourceActiveConditionType tracks whether a resource is active. + // An active resource is running on a cluster node. + // In Two Node OpenShift with Fencing, all resources are expected to be active. + // When True, the resource is active with reason "Active". This is the normal operating state. + // When False, the resource is not active with reason "Inactive". This is an unexpected state. + ResourceActiveConditionType = "Active" + + // ResourceStartedConditionType tracks whether a resource is started. + // It's normal for a resource like etcd to become stopped in the event of a quorum loss event because + // the pacemaker recovery logic will fence a node and restore etcd quorum on the surviving node as a cluster-of-one. + // A resource that stays stopped for an extended period of time is an unexpected state and should be investigated. + // When True, the resource is started with reason "Started". This is the normal operating state. + // When False, the resource is not started with reason "Stopped". This is expected to be temporary. + ResourceStartedConditionType = "Started" + + // ResourceSchedulableConditionType tracks whether a resource is schedulable (not blocked). + // A resource that is not schedulable is unable to start or move to a different node. + // In Two Node OpenShift with Fencing, we do not expect any resources to be unschedulable. + // When True, the resource is schedulable with reason "Schedulable". This is the normal operating state. + // When False, the resource is not schedulable with reason "Unschedulable". This is an unexpected state. + ResourceSchedulableConditionType = "Schedulable" +) + +// ResourceHealthy condition reasons +const ( + // ResourceHealthyReasonHealthy means the resource is healthy and operating normally. + ResourceHealthyReasonHealthy = "ResourceHealthy" + + // ResourceHealthyReasonUnhealthy means the resource has issues that need investigation. + ResourceHealthyReasonUnhealthy = "ResourceUnhealthy" +) + +// ResourceInService condition reasons +const ( + // ResourceInServiceReasonInService means the resource is in service (not in maintenance mode). + // This is the normal operating state. + ResourceInServiceReasonInService = "InService" + + // ResourceInServiceReasonInMaintenance means the resource is in maintenance mode. + // Resources in maintenance mode are not monitored or moved by pacemaker. This is an unexpected state. + ResourceInServiceReasonInMaintenance = "InMaintenance" +) + +// ResourceManaged condition reasons +const ( + // ResourceManagedReasonManaged means the resource is managed by pacemaker. + // This is the normal operating state. + ResourceManagedReasonManaged = "Managed" + + // ResourceManagedReasonUnmanaged means the resource is not managed by pacemaker. + // Resources that are not managed by pacemaker are effectively invisible to the pacemaker HA logic. + // This is an unexpected state. + ResourceManagedReasonUnmanaged = "Unmanaged" +) + +// ResourceEnabled condition reasons +const ( + // ResourceEnabledReasonEnabled means the resource is enabled. + // This is the normal operating state. + ResourceEnabledReasonEnabled = "Enabled" + + // ResourceEnabledReasonDisabled means the resource is disabled. + // Resources that are disabled are stopped and not automatically managed or started by the cluster. + // This is an unexpected state. + ResourceEnabledReasonDisabled = "Disabled" +) + +// ResourceOperational condition reasons +const ( + // ResourceOperationalReasonOperational means the resource is operational (not failed). + // This is the normal operating state. + ResourceOperationalReasonOperational = "Operational" + + // ResourceOperationalReasonFailed means the resource has failed. + // A failed resource is one that is not able to start or is in an error state. This is an unexpected state. + ResourceOperationalReasonFailed = "Failed" +) + +// ResourceActive condition reasons +const ( + // ResourceActiveReasonActive means the resource is active. + // An active resource is running on a cluster node. This is the normal operating state. + ResourceActiveReasonActive = "Active" + + // ResourceActiveReasonInactive means the resource is not active. + // This is an unexpected state. + ResourceActiveReasonInactive = "Inactive" +) + +// ResourceStarted condition reasons +const ( + // ResourceStartedReasonStarted means the resource is started. + // This is the normal operating state. + ResourceStartedReasonStarted = "Started" + + // ResourceStartedReasonStopped means the resource is stopped. + // It's normal for a resource like etcd to become stopped in the event of a quorum loss event because + // the pacemaker recovery logic will fence a node and restore etcd quorum on the surviving node as a cluster-of-one. + // A resource that stays stopped for an extended period of time is an unexpected state and should be investigated. + ResourceStartedReasonStopped = "Stopped" +) + +// ResourceSchedulable condition reasons +const ( + // ResourceSchedulableReasonSchedulable means the resource is schedulable (not blocked). + // This is the normal operating state. + ResourceSchedulableReasonSchedulable = "Schedulable" + + // ResourceSchedulableReasonUnschedulable means the resource is not schedulable (blocked). + // A resource that is not schedulable is unable to start or move to a different node. This is an unexpected state. + ResourceSchedulableReasonUnschedulable = "Unschedulable" +) + +// PacemakerNodeAddressType represents the type of a node address. +// Currently only InternalIP is supported. +// +kubebuilder:validation:Enum=InternalIP +// +enum +type PacemakerNodeAddressType string + +const ( + // PacemakerNodeInternalIP is an internal IP address assigned to the node. + // This is typically the IP address used for intra-cluster communication. + PacemakerNodeInternalIP PacemakerNodeAddressType = "InternalIP" +) + +// PacemakerNodeAddress contains information for a node's address. +// This is similar to corev1.NodeAddress but adds validation for IP addresses. +type PacemakerNodeAddress struct { + // type is the type of node address. + // Currently only "InternalIP" is supported. + // +required + Type PacemakerNodeAddressType `json:"type,omitempty"` + + // address is the node address. + // For InternalIP, this must be a valid global unicast IPv4 or IPv6 address in canonical form. + // Canonical form means the shortest standard representation (e.g., "192.168.1.1" not "192.168.001.001", + // or "2001:db8::1" not "2001:0db8::1"). Maximum length is 39 characters (full IPv6 address). + // Global unicast includes private/RFC1918 addresses but excludes loopback, link-local, and multicast. + // +kubebuilder:validation:MinLength=1 + // +kubebuilder:validation:MaxLength=39 + // +kubebuilder:validation:XValidation:rule="isIP(self) && ip.isCanonical(self) && ip(self).isGlobalUnicast()",message="must be a valid global unicast IPv4 or IPv6 address in canonical form" + // +required + Address string `json:"address,omitempty"` +} + +// PacemakerClusterResourceName represents the name of a pacemaker resource. +// Fencing agents are tracked separately in the fencingAgents field. +// +kubebuilder:validation:Enum=Kubelet;Etcd +// +enum +type PacemakerClusterResourceName string + +// PacemakerClusterResourceName values +const ( + // PacemakerClusterResourceNameKubelet is the kubelet pacemaker resource. + // The kubelet resource is a prerequisite for etcd in Two Node OpenShift with Fencing deployments. + PacemakerClusterResourceNameKubelet PacemakerClusterResourceName = "Kubelet" + + // PacemakerClusterResourceNameEtcd is the etcd pacemaker resource. + // The etcd resource may temporarily transition to stopped during pacemaker quorum-recovery operations. + PacemakerClusterResourceNameEtcd PacemakerClusterResourceName = "Etcd" +) + +// FencingMethod represents the method used by a fencing agent to isolate failed nodes. +// Valid values are "Redfish" and "IPMI". +// +kubebuilder:validation:Enum=Redfish;IPMI +// +enum +type FencingMethod string + +// FencingMethod values +const ( + // FencingMethodRedfish uses Redfish, a standard RESTful API for server management. + FencingMethodRedfish FencingMethod = "Redfish" + + // FencingMethodIPMI uses IPMI (Intelligent Platform Management Interface), a hardware management interface. + FencingMethodIPMI FencingMethod = "IPMI" +) + +// +genclient +// +genclient:nonNamespaced +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +// PacemakerCluster represents the current state of the pacemaker cluster as reported by the pcs status command. +// PacemakerCluster is a cluster-scoped singleton resource. The name of this instance is "cluster". This +// resource provides a view into the health and status of a pacemaker-managed cluster in Two Node OpenShift with Fencing deployments. +// +// Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support. +// +openshift:compatibility-gen:level=4 +// +kubebuilder:object:root=true +// +kubebuilder:resource:path=pacemakerclusters,scope=Cluster,singular=pacemakercluster +// +kubebuilder:subresource:status +// +openshift:api-approved.openshift.io=https://github.com/openshift/api/pull/2544 +// +openshift:file-pattern=cvoRunLevel=0000_25,operatorName=etcd,operatorOrdering=01,operatorComponent=two-node-fencing +// +openshift:enable:FeatureGate=DualReplica +// +kubebuilder:validation:XValidation:rule="self.metadata.name == 'cluster'",message="PacemakerCluster must be named 'cluster'" +// +kubebuilder:validation:XValidation:rule="!has(oldSelf.status) || has(self.status)",message="status may not be removed once set" +type PacemakerCluster struct { + metav1.TypeMeta `json:",inline"` + + // metadata is the standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +required + metav1.ObjectMeta `json:"metadata,omitempty"` + + // status contains the actual pacemaker cluster status information collected from the cluster. + // The goal of this status is to be able to quickly identify if pacemaker is in a healthy state. + // In Two Node OpenShift with Fencing, a healthy pacemaker cluster has 2 nodes, both of which have healthy kubelet, etcd, and fencing resources. + // This field is optional on creation - the status collector populates it immediately after creating + // the resource via the status subresource. + // +optional + Status PacemakerClusterStatus `json:"status,omitzero"` +} + +// PacemakerClusterStatus contains the actual pacemaker cluster status information. As part of validating the status +// object, we need to ensure that the lastUpdated timestamp may not be set to an earlier timestamp than the current value. +// The validation rule checks if oldSelf has lastUpdated before comparing, to handle the initial status creation case. +// +kubebuilder:validation:XValidation:rule="!has(oldSelf.lastUpdated) || self.lastUpdated >= oldSelf.lastUpdated",message="lastUpdated may not be set to an earlier timestamp" +type PacemakerClusterStatus struct { + // conditions represent the observations of the pacemaker cluster's current state. + // Known condition types are: "Healthy", "InService", "NodeCountAsExpected". + // The "Healthy" condition is an aggregate that tracks the overall health of the cluster. + // The "InService" condition tracks whether the cluster is in service (not in maintenance mode). + // The "NodeCountAsExpected" condition tracks whether the expected number of nodes are present. + // Each of these conditions is required, so the array must contain at least 3 items. + // +listType=map + // +listMapKey=type + // +kubebuilder:validation:MinItems=3 + // +kubebuilder:validation:MaxItems=8 + // +kubebuilder:validation:XValidation:rule="self.exists(c, c.type == 'Healthy')",message="conditions must contain a condition of type Healthy" + // +kubebuilder:validation:XValidation:rule="self.exists(c, c.type == 'InService')",message="conditions must contain a condition of type InService" + // +kubebuilder:validation:XValidation:rule="self.exists(c, c.type == 'NodeCountAsExpected')",message="conditions must contain a condition of type NodeCountAsExpected" + // +required + Conditions []metav1.Condition `json:"conditions,omitempty"` + + // lastUpdated is the timestamp when this status was last updated. This is useful for identifying + // stale status reports. It must be a valid timestamp in RFC3339 format. Once set, this field cannot + // be removed and cannot be set to an earlier timestamp than the current value. + // +kubebuilder:validation:Format=date-time + // +required + LastUpdated metav1.Time `json:"lastUpdated,omitempty,omitzero"` + + // nodes provides detailed status for each control-plane node in the Pacemaker cluster. + // While Pacemaker supports up to 32 nodes, the limit is set to 5 (max OpenShift control-plane nodes). + // For Two Node OpenShift with Fencing, exactly 2 nodes are expected in a healthy cluster. + // An empty list indicates a catastrophic failure where Pacemaker reports no nodes. + // +listType=map + // +listMapKey=nodeName + // +kubebuilder:validation:MinItems=0 + // +kubebuilder:validation:MaxItems=5 + // +required + Nodes *[]PacemakerClusterNodeStatus `json:"nodes,omitempty"` +} + +// PacemakerClusterNodeStatus represents the status of a single node in the pacemaker cluster including +// the node's conditions and the health of critical resources running on that node. +type PacemakerClusterNodeStatus struct { + // conditions represent the observations of the node's current state. + // Known condition types are: "Healthy", "Online", "InService", "Active", "Ready", "Clean", "Member", + // "FencingAvailable", "FencingHealthy". + // The "Healthy" condition is an aggregate that tracks the overall health of the node. + // The "Online" condition tracks whether the node is online. + // The "InService" condition tracks whether the node is in service (not in maintenance mode). + // The "Active" condition tracks whether the node is active (not in standby mode). + // The "Ready" condition tracks whether the node is ready (not in a pending state). + // The "Clean" condition tracks whether the node is in a clean (status known) state. + // The "Member" condition tracks whether the node is a member of the cluster. + // The "FencingAvailable" condition tracks whether this node can be fenced by at least one healthy agent. + // The "FencingHealthy" condition tracks whether all fencing agents for this node are healthy. + // Each of these conditions is required, so the array must contain at least 9 items. + // +listType=map + // +listMapKey=type + // +kubebuilder:validation:MinItems=9 + // +kubebuilder:validation:MaxItems=16 + // +kubebuilder:validation:XValidation:rule="self.exists(c, c.type == 'Healthy')",message="conditions must contain a condition of type Healthy" + // +kubebuilder:validation:XValidation:rule="self.exists(c, c.type == 'Online')",message="conditions must contain a condition of type Online" + // +kubebuilder:validation:XValidation:rule="self.exists(c, c.type == 'InService')",message="conditions must contain a condition of type InService" + // +kubebuilder:validation:XValidation:rule="self.exists(c, c.type == 'Active')",message="conditions must contain a condition of type Active" + // +kubebuilder:validation:XValidation:rule="self.exists(c, c.type == 'Ready')",message="conditions must contain a condition of type Ready" + // +kubebuilder:validation:XValidation:rule="self.exists(c, c.type == 'Clean')",message="conditions must contain a condition of type Clean" + // +kubebuilder:validation:XValidation:rule="self.exists(c, c.type == 'Member')",message="conditions must contain a condition of type Member" + // +kubebuilder:validation:XValidation:rule="self.exists(c, c.type == 'FencingAvailable')",message="conditions must contain a condition of type FencingAvailable" + // +kubebuilder:validation:XValidation:rule="self.exists(c, c.type == 'FencingHealthy')",message="conditions must contain a condition of type FencingHealthy" + // +required + Conditions []metav1.Condition `json:"conditions,omitempty"` + + // nodeName is the name of the node. This is expected to match the Kubernetes node's name, which must be a lowercase + // RFC 1123 subdomain consisting of lowercase alphanumeric characters, '-' or '.', starting and ending with + // an alphanumeric character, and be at most 253 characters in length. + // +kubebuilder:validation:MinLength=1 + // +kubebuilder:validation:MaxLength=253 + // +kubebuilder:validation:XValidation:rule="!format.dns1123Subdomain().validate(self).hasValue()",message="nodeName must be a lowercase RFC 1123 subdomain consisting of lowercase alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character" + // +required + NodeName string `json:"nodeName,omitempty"` + + // addresses is a list of IP addresses for the node. + // Pacemaker allows multiple IP addresses for Corosync communication between nodes. + // The first address in this list is used for IP-based peer URLs for etcd membership. + // Each address must be a valid global unicast IPv4 or IPv6 address in canonical form + // (e.g., "192.168.1.1" not "192.168.001.001", or "2001:db8::1" not "2001:0db8::1"). + // This excludes loopback, link-local, and multicast addresses. + // +listType=atomic + // +kubebuilder:validation:MinItems=1 + // +kubebuilder:validation:MaxItems=8 + // +required + Addresses []PacemakerNodeAddress `json:"addresses,omitempty"` + + // resources contains the status of pacemaker resources scheduled on this node. + // Each resource entry includes the resource name and its health conditions. + // For Two Node OpenShift with Fencing, we track Kubelet and Etcd resources per node. + // Both resources are required to be present, so the array must contain at least 2 items. + // Valid resource names are "Kubelet" and "Etcd". + // Fencing agents are tracked separately in the fencingAgents field. + // +listType=map + // +listMapKey=name + // +kubebuilder:validation:MinItems=2 + // +kubebuilder:validation:MaxItems=8 + // +kubebuilder:validation:XValidation:rule="self.exists(r, r.name == 'Kubelet')",message="resources must contain a resource named Kubelet" + // +kubebuilder:validation:XValidation:rule="self.exists(r, r.name == 'Etcd')",message="resources must contain a resource named Etcd" + // +required + Resources []PacemakerClusterResourceStatus `json:"resources,omitempty"` + + // fencingAgents contains the status of fencing agents that can fence this node. + // Unlike resources (which are scheduled to run on this node), fencing agents are mapped + // to the node they can fence (their target), not the node where monitoring operations run. + // Each fencing agent entry includes a unique name, fencing type, target node, and health conditions. + // A node is considered fence-capable if at least one fencing agent is healthy. + // Expected to have 1 fencing agent per node, but up to 8 are supported for redundancy. + // Names must be unique within this array. + // +listType=map + // +listMapKey=name + // +kubebuilder:validation:MinItems=1 + // +kubebuilder:validation:MaxItems=8 + // +kubebuilder:validation:XValidation:rule="self.all(x, self.exists_one(y, x.name == y.name))",message="fencing agent names must be unique" + // +required + FencingAgents []PacemakerClusterFencingAgentStatus `json:"fencingAgents,omitempty"` +} + +// PacemakerClusterFencingAgentStatus represents the status of a fencing agent that can fence a node. +// Fencing agents are STONITH (Shoot The Other Node In The Head) devices used to isolate failed nodes. +// Unlike regular pacemaker resources, fencing agents are mapped to their target node (the node they +// can fence), not the node where their monitoring operations are scheduled. +type PacemakerClusterFencingAgentStatus struct { + // conditions represent the observations of the fencing agent's current state. + // Known condition types are: "Healthy", "InService", "Managed", "Enabled", "Operational", + // "Active", "Started", "Schedulable". + // The "Healthy" condition is an aggregate that tracks the overall health of the fencing agent. + // The "InService" condition tracks whether the fencing agent is in service (not in maintenance mode). + // The "Managed" condition tracks whether the fencing agent is managed by pacemaker. + // The "Enabled" condition tracks whether the fencing agent is enabled. + // The "Operational" condition tracks whether the fencing agent is operational (not failed). + // The "Active" condition tracks whether the fencing agent is active (available to be used). + // The "Started" condition tracks whether the fencing agent is started. + // The "Schedulable" condition tracks whether the fencing agent is schedulable (not blocked). + // Each of these conditions is required, so the array must contain at least 8 items. + // +listType=map + // +listMapKey=type + // +kubebuilder:validation:MinItems=8 + // +kubebuilder:validation:MaxItems=16 + // +kubebuilder:validation:XValidation:rule="self.exists(c, c.type == 'Healthy')",message="conditions must contain a condition of type Healthy" + // +kubebuilder:validation:XValidation:rule="self.exists(c, c.type == 'InService')",message="conditions must contain a condition of type InService" + // +kubebuilder:validation:XValidation:rule="self.exists(c, c.type == 'Managed')",message="conditions must contain a condition of type Managed" + // +kubebuilder:validation:XValidation:rule="self.exists(c, c.type == 'Enabled')",message="conditions must contain a condition of type Enabled" + // +kubebuilder:validation:XValidation:rule="self.exists(c, c.type == 'Operational')",message="conditions must contain a condition of type Operational" + // +kubebuilder:validation:XValidation:rule="self.exists(c, c.type == 'Active')",message="conditions must contain a condition of type Active" + // +kubebuilder:validation:XValidation:rule="self.exists(c, c.type == 'Started')",message="conditions must contain a condition of type Started" + // +kubebuilder:validation:XValidation:rule="self.exists(c, c.type == 'Schedulable')",message="conditions must contain a condition of type Schedulable" + // +required + Conditions []metav1.Condition `json:"conditions,omitempty"` + + // name is the unique identifier for this fencing agent (e.g., "master-0_redfish"). + // The name must be unique within the fencingAgents array for this node. + // It may contain alphanumeric characters, dots, hyphens, and underscores. + // Maximum length is 300 characters, providing headroom beyond the typical format of + // _ (253 for RFC 1123 node name + 1 underscore + type). + // +kubebuilder:validation:MinLength=1 + // +kubebuilder:validation:MaxLength=300 + // +kubebuilder:validation:XValidation:rule="self.matches('^[a-zA-Z0-9._-]+$')",message="name must contain only alphanumeric characters, dots, hyphens, and underscores" + // +required + Name string `json:"name,omitempty"` + + // method is the fencing method used by this agent. + // Valid values are "Redfish" and "IPMI". + // Redfish is a standard RESTful API for server management. + // IPMI (Intelligent Platform Management Interface) is a hardware management interface. + // +required + Method FencingMethod `json:"method,omitempty"` +} + +// PacemakerClusterResourceStatus represents the status of a pacemaker resource scheduled on a node. +// A pacemaker resource is a unit of work managed by pacemaker. In pacemaker terminology, resources are services or +// applications that pacemaker monitors, starts, stops, and moves between nodes to maintain high availability. +// For Two Node OpenShift with Fencing, we track two resources per node: +// - Kubelet (the Kubernetes node agent and a prerequisite for etcd) +// - Etcd (the distributed key-value store) +// +// Fencing agents are tracked separately in the fencingAgents field because they are mapped to +// their target node (the node they can fence), not the node where monitoring operations are scheduled. +type PacemakerClusterResourceStatus struct { + // conditions represent the observations of the resource's current state. + // Known condition types are: "Healthy", "InService", "Managed", "Enabled", "Operational", + // "Active", "Started", "Schedulable". + // The "Healthy" condition is an aggregate that tracks the overall health of the resource. + // The "InService" condition tracks whether the resource is in service (not in maintenance mode). + // The "Managed" condition tracks whether the resource is managed by pacemaker. + // The "Enabled" condition tracks whether the resource is enabled. + // The "Operational" condition tracks whether the resource is operational (not failed). + // The "Active" condition tracks whether the resource is active (available to be used). + // The "Started" condition tracks whether the resource is started. + // The "Schedulable" condition tracks whether the resource is schedulable (not blocked). + // Each of these conditions is required, so the array must contain at least 8 items. + // +listType=map + // +listMapKey=type + // +kubebuilder:validation:MinItems=8 + // +kubebuilder:validation:MaxItems=16 + // +kubebuilder:validation:XValidation:rule="self.exists(c, c.type == 'Healthy')",message="conditions must contain a condition of type Healthy" + // +kubebuilder:validation:XValidation:rule="self.exists(c, c.type == 'InService')",message="conditions must contain a condition of type InService" + // +kubebuilder:validation:XValidation:rule="self.exists(c, c.type == 'Managed')",message="conditions must contain a condition of type Managed" + // +kubebuilder:validation:XValidation:rule="self.exists(c, c.type == 'Enabled')",message="conditions must contain a condition of type Enabled" + // +kubebuilder:validation:XValidation:rule="self.exists(c, c.type == 'Operational')",message="conditions must contain a condition of type Operational" + // +kubebuilder:validation:XValidation:rule="self.exists(c, c.type == 'Active')",message="conditions must contain a condition of type Active" + // +kubebuilder:validation:XValidation:rule="self.exists(c, c.type == 'Started')",message="conditions must contain a condition of type Started" + // +kubebuilder:validation:XValidation:rule="self.exists(c, c.type == 'Schedulable')",message="conditions must contain a condition of type Schedulable" + // +required + Conditions []metav1.Condition `json:"conditions,omitempty"` + + // name is the name of the pacemaker resource. + // Valid values are "Kubelet" and "Etcd". + // The Kubelet resource is a prerequisite for etcd in Two Node OpenShift with Fencing deployments. + // The Etcd resource may temporarily transition to stopped during pacemaker quorum-recovery operations. + // Fencing agents are tracked separately in the node's fencingAgents field. + // +required + Name PacemakerClusterResourceName `json:"name,omitempty"` +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +// PacemakerClusterList contains a list of PacemakerCluster objects. PacemakerCluster is a cluster-scoped singleton +// resource; only one instance named "cluster" may exist. This list type exists only to satisfy Kubernetes API +// conventions. +// +// Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support. +// +openshift:compatibility-gen:level=4 +type PacemakerClusterList struct { + metav1.TypeMeta `json:",inline"` + + // metadata is the standard list's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + metav1.ListMeta `json:"metadata,omitempty"` + + // items is a list of PacemakerCluster objects. + Items []PacemakerCluster `json:"items"` +} diff --git a/vendor/github.com/openshift/api/etcd/v1alpha1/zz_generated.deepcopy.go b/vendor/github.com/openshift/api/etcd/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 0000000000..17bf978510 --- /dev/null +++ b/vendor/github.com/openshift/api/etcd/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,210 @@ +//go:build !ignore_autogenerated +// +build !ignore_autogenerated + +// Code generated by codegen. DO NOT EDIT. + +package v1alpha1 + +import ( + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PacemakerCluster) DeepCopyInto(out *PacemakerCluster) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Status.DeepCopyInto(&out.Status) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PacemakerCluster. +func (in *PacemakerCluster) DeepCopy() *PacemakerCluster { + if in == nil { + return nil + } + out := new(PacemakerCluster) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PacemakerCluster) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PacemakerClusterFencingAgentStatus) DeepCopyInto(out *PacemakerClusterFencingAgentStatus) { + *out = *in + if in.Conditions != nil { + in, out := &in.Conditions, &out.Conditions + *out = make([]v1.Condition, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PacemakerClusterFencingAgentStatus. +func (in *PacemakerClusterFencingAgentStatus) DeepCopy() *PacemakerClusterFencingAgentStatus { + if in == nil { + return nil + } + out := new(PacemakerClusterFencingAgentStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PacemakerClusterList) DeepCopyInto(out *PacemakerClusterList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]PacemakerCluster, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PacemakerClusterList. +func (in *PacemakerClusterList) DeepCopy() *PacemakerClusterList { + if in == nil { + return nil + } + out := new(PacemakerClusterList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PacemakerClusterList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PacemakerClusterNodeStatus) DeepCopyInto(out *PacemakerClusterNodeStatus) { + *out = *in + if in.Conditions != nil { + in, out := &in.Conditions, &out.Conditions + *out = make([]v1.Condition, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Addresses != nil { + in, out := &in.Addresses, &out.Addresses + *out = make([]PacemakerNodeAddress, len(*in)) + copy(*out, *in) + } + if in.Resources != nil { + in, out := &in.Resources, &out.Resources + *out = make([]PacemakerClusterResourceStatus, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.FencingAgents != nil { + in, out := &in.FencingAgents, &out.FencingAgents + *out = make([]PacemakerClusterFencingAgentStatus, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PacemakerClusterNodeStatus. +func (in *PacemakerClusterNodeStatus) DeepCopy() *PacemakerClusterNodeStatus { + if in == nil { + return nil + } + out := new(PacemakerClusterNodeStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PacemakerClusterResourceStatus) DeepCopyInto(out *PacemakerClusterResourceStatus) { + *out = *in + if in.Conditions != nil { + in, out := &in.Conditions, &out.Conditions + *out = make([]v1.Condition, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PacemakerClusterResourceStatus. +func (in *PacemakerClusterResourceStatus) DeepCopy() *PacemakerClusterResourceStatus { + if in == nil { + return nil + } + out := new(PacemakerClusterResourceStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PacemakerClusterStatus) DeepCopyInto(out *PacemakerClusterStatus) { + *out = *in + if in.Conditions != nil { + in, out := &in.Conditions, &out.Conditions + *out = make([]v1.Condition, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + in.LastUpdated.DeepCopyInto(&out.LastUpdated) + if in.Nodes != nil { + in, out := &in.Nodes, &out.Nodes + *out = new([]PacemakerClusterNodeStatus) + if **in != nil { + in, out := *in, *out + *out = make([]PacemakerClusterNodeStatus, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PacemakerClusterStatus. +func (in *PacemakerClusterStatus) DeepCopy() *PacemakerClusterStatus { + if in == nil { + return nil + } + out := new(PacemakerClusterStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PacemakerNodeAddress) DeepCopyInto(out *PacemakerNodeAddress) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PacemakerNodeAddress. +func (in *PacemakerNodeAddress) DeepCopy() *PacemakerNodeAddress { + if in == nil { + return nil + } + out := new(PacemakerNodeAddress) + in.DeepCopyInto(out) + return out +} diff --git a/vendor/github.com/openshift/api/etcd/v1alpha1/zz_generated.featuregated-crd-manifests.yaml b/vendor/github.com/openshift/api/etcd/v1alpha1/zz_generated.featuregated-crd-manifests.yaml new file mode 100644 index 0000000000..f5a64682ab --- /dev/null +++ b/vendor/github.com/openshift/api/etcd/v1alpha1/zz_generated.featuregated-crd-manifests.yaml @@ -0,0 +1,23 @@ +pacemakerclusters.etcd.openshift.io: + Annotations: {} + ApprovedPRNumber: https://github.com/openshift/api/pull/2544 + CRDName: pacemakerclusters.etcd.openshift.io + Capability: "" + Category: "" + FeatureGates: + - DualReplica + FilenameOperatorName: etcd + FilenameOperatorOrdering: "01" + FilenameRunLevel: "0000_25" + GroupName: etcd.openshift.io + HasStatus: true + KindName: PacemakerCluster + Labels: {} + PluralName: pacemakerclusters + PrinterColumns: [] + Scope: Cluster + ShortNames: null + TopLevelFeatureGates: + - DualReplica + Version: v1alpha1 + diff --git a/vendor/github.com/openshift/api/etcd/v1alpha1/zz_generated.swagger_doc_generated.go b/vendor/github.com/openshift/api/etcd/v1alpha1/zz_generated.swagger_doc_generated.go new file mode 100644 index 0000000000..62e1c3ebd7 --- /dev/null +++ b/vendor/github.com/openshift/api/etcd/v1alpha1/zz_generated.swagger_doc_generated.go @@ -0,0 +1,89 @@ +package v1alpha1 + +// This file contains a collection of methods that can be used from go-restful to +// generate Swagger API documentation for its models. Please read this PR for more +// information on the implementation: https://github.com/emicklei/go-restful/pull/215 +// +// TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if +// they are on one line! For multiple line or blocks that you want to ignore use ---. +// Any context after a --- is ignored. +// +// Those methods can be generated by using hack/update-swagger-docs.sh + +// AUTO-GENERATED FUNCTIONS START HERE +var map_PacemakerCluster = map[string]string{ + "": "PacemakerCluster represents the current state of the pacemaker cluster as reported by the pcs status command. PacemakerCluster is a cluster-scoped singleton resource. The name of this instance is \"cluster\". This resource provides a view into the health and status of a pacemaker-managed cluster in Two Node OpenShift with Fencing deployments.\n\nCompatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.", + "metadata": "metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "status": "status contains the actual pacemaker cluster status information collected from the cluster. The goal of this status is to be able to quickly identify if pacemaker is in a healthy state. In Two Node OpenShift with Fencing, a healthy pacemaker cluster has 2 nodes, both of which have healthy kubelet, etcd, and fencing resources. This field is optional on creation - the status collector populates it immediately after creating the resource via the status subresource.", +} + +func (PacemakerCluster) SwaggerDoc() map[string]string { + return map_PacemakerCluster +} + +var map_PacemakerClusterFencingAgentStatus = map[string]string{ + "": "PacemakerClusterFencingAgentStatus represents the status of a fencing agent that can fence a node. Fencing agents are STONITH (Shoot The Other Node In The Head) devices used to isolate failed nodes. Unlike regular pacemaker resources, fencing agents are mapped to their target node (the node they can fence), not the node where their monitoring operations are scheduled.", + "conditions": "conditions represent the observations of the fencing agent's current state. Known condition types are: \"Healthy\", \"InService\", \"Managed\", \"Enabled\", \"Operational\", \"Active\", \"Started\", \"Schedulable\". The \"Healthy\" condition is an aggregate that tracks the overall health of the fencing agent. The \"InService\" condition tracks whether the fencing agent is in service (not in maintenance mode). The \"Managed\" condition tracks whether the fencing agent is managed by pacemaker. The \"Enabled\" condition tracks whether the fencing agent is enabled. The \"Operational\" condition tracks whether the fencing agent is operational (not failed). The \"Active\" condition tracks whether the fencing agent is active (available to be used). The \"Started\" condition tracks whether the fencing agent is started. The \"Schedulable\" condition tracks whether the fencing agent is schedulable (not blocked). Each of these conditions is required, so the array must contain at least 8 items.", + "name": "name is the unique identifier for this fencing agent (e.g., \"master-0_redfish\"). The name must be unique within the fencingAgents array for this node. It may contain alphanumeric characters, dots, hyphens, and underscores. Maximum length is 300 characters, providing headroom beyond the typical format of _ (253 for RFC 1123 node name + 1 underscore + type).", + "method": "method is the fencing method used by this agent. Valid values are \"Redfish\" and \"IPMI\". Redfish is a standard RESTful API for server management. IPMI (Intelligent Platform Management Interface) is a hardware management interface.", +} + +func (PacemakerClusterFencingAgentStatus) SwaggerDoc() map[string]string { + return map_PacemakerClusterFencingAgentStatus +} + +var map_PacemakerClusterList = map[string]string{ + "": "PacemakerClusterList contains a list of PacemakerCluster objects. PacemakerCluster is a cluster-scoped singleton resource; only one instance named \"cluster\" may exist. This list type exists only to satisfy Kubernetes API conventions.\n\nCompatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.", + "metadata": "metadata is the standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "items": "items is a list of PacemakerCluster objects.", +} + +func (PacemakerClusterList) SwaggerDoc() map[string]string { + return map_PacemakerClusterList +} + +var map_PacemakerClusterNodeStatus = map[string]string{ + "": "PacemakerClusterNodeStatus represents the status of a single node in the pacemaker cluster including the node's conditions and the health of critical resources running on that node.", + "conditions": "conditions represent the observations of the node's current state. Known condition types are: \"Healthy\", \"Online\", \"InService\", \"Active\", \"Ready\", \"Clean\", \"Member\", \"FencingAvailable\", \"FencingHealthy\". The \"Healthy\" condition is an aggregate that tracks the overall health of the node. The \"Online\" condition tracks whether the node is online. The \"InService\" condition tracks whether the node is in service (not in maintenance mode). The \"Active\" condition tracks whether the node is active (not in standby mode). The \"Ready\" condition tracks whether the node is ready (not in a pending state). The \"Clean\" condition tracks whether the node is in a clean (status known) state. The \"Member\" condition tracks whether the node is a member of the cluster. The \"FencingAvailable\" condition tracks whether this node can be fenced by at least one healthy agent. The \"FencingHealthy\" condition tracks whether all fencing agents for this node are healthy. Each of these conditions is required, so the array must contain at least 9 items.", + "nodeName": "nodeName is the name of the node. This is expected to match the Kubernetes node's name, which must be a lowercase RFC 1123 subdomain consisting of lowercase alphanumeric characters, '-' or '.', starting and ending with an alphanumeric character, and be at most 253 characters in length.", + "addresses": "addresses is a list of IP addresses for the node. Pacemaker allows multiple IP addresses for Corosync communication between nodes. The first address in this list is used for IP-based peer URLs for etcd membership. Each address must be a valid global unicast IPv4 or IPv6 address in canonical form (e.g., \"192.168.1.1\" not \"192.168.001.001\", or \"2001:db8::1\" not \"2001:0db8::1\"). This excludes loopback, link-local, and multicast addresses.", + "resources": "resources contains the status of pacemaker resources scheduled on this node. Each resource entry includes the resource name and its health conditions. For Two Node OpenShift with Fencing, we track Kubelet and Etcd resources per node. Both resources are required to be present, so the array must contain at least 2 items. Valid resource names are \"Kubelet\" and \"Etcd\". Fencing agents are tracked separately in the fencingAgents field.", + "fencingAgents": "fencingAgents contains the status of fencing agents that can fence this node. Unlike resources (which are scheduled to run on this node), fencing agents are mapped to the node they can fence (their target), not the node where monitoring operations run. Each fencing agent entry includes a unique name, fencing type, target node, and health conditions. A node is considered fence-capable if at least one fencing agent is healthy. Expected to have 1 fencing agent per node, but up to 8 are supported for redundancy. Names must be unique within this array.", +} + +func (PacemakerClusterNodeStatus) SwaggerDoc() map[string]string { + return map_PacemakerClusterNodeStatus +} + +var map_PacemakerClusterResourceStatus = map[string]string{ + "": "PacemakerClusterResourceStatus represents the status of a pacemaker resource scheduled on a node. A pacemaker resource is a unit of work managed by pacemaker. In pacemaker terminology, resources are services or applications that pacemaker monitors, starts, stops, and moves between nodes to maintain high availability. For Two Node OpenShift with Fencing, we track two resources per node:\n - Kubelet (the Kubernetes node agent and a prerequisite for etcd)\n - Etcd (the distributed key-value store)\n\nFencing agents are tracked separately in the fencingAgents field because they are mapped to their target node (the node they can fence), not the node where monitoring operations are scheduled.", + "conditions": "conditions represent the observations of the resource's current state. Known condition types are: \"Healthy\", \"InService\", \"Managed\", \"Enabled\", \"Operational\", \"Active\", \"Started\", \"Schedulable\". The \"Healthy\" condition is an aggregate that tracks the overall health of the resource. The \"InService\" condition tracks whether the resource is in service (not in maintenance mode). The \"Managed\" condition tracks whether the resource is managed by pacemaker. The \"Enabled\" condition tracks whether the resource is enabled. The \"Operational\" condition tracks whether the resource is operational (not failed). The \"Active\" condition tracks whether the resource is active (available to be used). The \"Started\" condition tracks whether the resource is started. The \"Schedulable\" condition tracks whether the resource is schedulable (not blocked). Each of these conditions is required, so the array must contain at least 8 items.", + "name": "name is the name of the pacemaker resource. Valid values are \"Kubelet\" and \"Etcd\". The Kubelet resource is a prerequisite for etcd in Two Node OpenShift with Fencing deployments. The Etcd resource may temporarily transition to stopped during pacemaker quorum-recovery operations. Fencing agents are tracked separately in the node's fencingAgents field.", +} + +func (PacemakerClusterResourceStatus) SwaggerDoc() map[string]string { + return map_PacemakerClusterResourceStatus +} + +var map_PacemakerClusterStatus = map[string]string{ + "": "PacemakerClusterStatus contains the actual pacemaker cluster status information. As part of validating the status object, we need to ensure that the lastUpdated timestamp may not be set to an earlier timestamp than the current value. The validation rule checks if oldSelf has lastUpdated before comparing, to handle the initial status creation case.", + "conditions": "conditions represent the observations of the pacemaker cluster's current state. Known condition types are: \"Healthy\", \"InService\", \"NodeCountAsExpected\". The \"Healthy\" condition is an aggregate that tracks the overall health of the cluster. The \"InService\" condition tracks whether the cluster is in service (not in maintenance mode). The \"NodeCountAsExpected\" condition tracks whether the expected number of nodes are present. Each of these conditions is required, so the array must contain at least 3 items.", + "lastUpdated": "lastUpdated is the timestamp when this status was last updated. This is useful for identifying stale status reports. It must be a valid timestamp in RFC3339 format. Once set, this field cannot be removed and cannot be set to an earlier timestamp than the current value.", + "nodes": "nodes provides detailed status for each control-plane node in the Pacemaker cluster. While Pacemaker supports up to 32 nodes, the limit is set to 5 (max OpenShift control-plane nodes). For Two Node OpenShift with Fencing, exactly 2 nodes are expected in a healthy cluster. An empty list indicates a catastrophic failure where Pacemaker reports no nodes.", +} + +func (PacemakerClusterStatus) SwaggerDoc() map[string]string { + return map_PacemakerClusterStatus +} + +var map_PacemakerNodeAddress = map[string]string{ + "": "PacemakerNodeAddress contains information for a node's address. This is similar to corev1.NodeAddress but adds validation for IP addresses.", + "type": "type is the type of node address. Currently only \"InternalIP\" is supported.", + "address": "address is the node address. For InternalIP, this must be a valid global unicast IPv4 or IPv6 address in canonical form. Canonical form means the shortest standard representation (e.g., \"192.168.1.1\" not \"192.168.001.001\", or \"2001:db8::1\" not \"2001:0db8::1\"). Maximum length is 39 characters (full IPv6 address). Global unicast includes private/RFC1918 addresses but excludes loopback, link-local, and multicast.", +} + +func (PacemakerNodeAddress) SwaggerDoc() map[string]string { + return map_PacemakerNodeAddress +} + +// AUTO-GENERATED FUNCTIONS END HERE diff --git a/vendor/github.com/openshift/api/features.md b/vendor/github.com/openshift/api/features.md index 8ddfa31576..adfd5a7e76 100644 --- a/vendor/github.com/openshift/api/features.md +++ b/vendor/github.com/openshift/api/features.md @@ -1,108 +1,114 @@ -| FeatureGate | Default on Hypershift | Default on SelfManagedHA | DevPreviewNoUpgrade on Hypershift | DevPreviewNoUpgrade on SelfManagedHA | TechPreviewNoUpgrade on Hypershift | TechPreviewNoUpgrade on SelfManagedHA | -| ------ | --- | --- | --- | --- | --- | --- | -| ClusterAPIInstall| | | | | | | -| EventedPLEG| | | | | | | -| MachineAPIOperatorDisableMachineHealthCheckController| | | | | | | -| MultiArchInstallAzure| | | | | | | -| ShortCertRotation| | | | | | | -| BootImageSkewEnforcement| | | Enabled | Enabled | | | -| ClusterAPIMachineManagementVSphere| | | Enabled | Enabled | | | -| Example2| | | Enabled | Enabled | | | -| ExternalSnapshotMetadata| | | Enabled | Enabled | | | -| NewOLMCatalogdAPIV1Metas| | | | Enabled | | Enabled | -| NewOLMOwnSingleNamespace| | | | Enabled | | Enabled | -| NewOLMPreflightPermissionChecks| | | | Enabled | | Enabled | -| NoRegistryClusterOperations| | | | Enabled | | Enabled | -| VSphereMixedNodeEnv| | | Enabled | Enabled | | | -| NewOLM| | Enabled | | Enabled | | Enabled | -| NewOLMWebhookProviderOpenshiftServiceCA| | Enabled | | Enabled | | Enabled | -| AWSClusterHostedDNS| | | Enabled | Enabled | Enabled | Enabled | -| AWSClusterHostedDNSInstall| | | Enabled | Enabled | Enabled | Enabled | -| AWSDedicatedHosts| | | Enabled | Enabled | Enabled | Enabled | -| AWSDualStackInstall| | | Enabled | Enabled | Enabled | Enabled | -| AWSServiceLBNetworkSecurityGroup| | | Enabled | Enabled | Enabled | Enabled | -| AutomatedEtcdBackup| | | Enabled | Enabled | Enabled | Enabled | -| AzureClusterHostedDNSInstall| | | Enabled | Enabled | Enabled | Enabled | -| AzureDedicatedHosts| | | Enabled | Enabled | Enabled | Enabled | -| AzureDualStackInstall| | | Enabled | Enabled | Enabled | Enabled | -| AzureMultiDisk| | | Enabled | Enabled | Enabled | Enabled | -| BootcNodeManagement| | | Enabled | Enabled | Enabled | Enabled | -| CBORServingAndStorage| | | Enabled | Enabled | Enabled | Enabled | -| ClientsAllowCBOR| | | Enabled | Enabled | Enabled | Enabled | -| ClientsPreferCBOR| | | Enabled | Enabled | Enabled | Enabled | -| ClusterAPIInstallIBMCloud| | | Enabled | Enabled | Enabled | Enabled | -| ClusterMonitoringConfig| | | Enabled | Enabled | Enabled | Enabled | -| ClusterVersionOperatorConfiguration| | | Enabled | Enabled | Enabled | Enabled | -| DNSNameResolver| | | Enabled | Enabled | Enabled | Enabled | -| DualReplica| | | Enabled | Enabled | Enabled | Enabled | -| DyanmicServiceEndpointIBMCloud| | | Enabled | Enabled | Enabled | Enabled | -| DynamicResourceAllocation| | | Enabled | Enabled | Enabled | Enabled | -| EtcdBackendQuota| | | Enabled | Enabled | Enabled | Enabled | -| EventTTL| | | Enabled | Enabled | Enabled | Enabled | -| Example| | | Enabled | Enabled | Enabled | Enabled | -| GCPClusterHostedDNS| | | Enabled | Enabled | Enabled | Enabled | -| GCPCustomAPIEndpoints| | | Enabled | Enabled | Enabled | Enabled | -| GCPCustomAPIEndpointsInstall| | | Enabled | Enabled | Enabled | Enabled | -| GCPDualStackInstall| | | Enabled | Enabled | Enabled | Enabled | -| ImageModeStatusReporting| | | Enabled | Enabled | Enabled | Enabled | -| ImageStreamImportMode| | | Enabled | Enabled | Enabled | Enabled | -| IngressControllerDynamicConfigurationManager| | | Enabled | Enabled | Enabled | Enabled | -| InsightsConfig| | | Enabled | Enabled | Enabled | Enabled | -| InsightsOnDemandDataGather| | | Enabled | Enabled | Enabled | Enabled | -| IrreconcilableMachineConfig| | | Enabled | Enabled | Enabled | Enabled | -| KMSEncryptionProvider| | | Enabled | Enabled | Enabled | Enabled | -| MachineAPIMigration| | | Enabled | Enabled | Enabled | Enabled | -| ManagedBootImagesCPMS| | | Enabled | Enabled | Enabled | Enabled | -| MaxUnavailableStatefulSet| | | Enabled | Enabled | Enabled | Enabled | -| MinimumKubeletVersion| | | Enabled | Enabled | Enabled | Enabled | -| MixedCPUsAllocation| | | Enabled | Enabled | Enabled | Enabled | -| MultiDiskSetup| | | Enabled | Enabled | Enabled | Enabled | -| MutatingAdmissionPolicy| | | Enabled | Enabled | Enabled | Enabled | -| NutanixMultiSubnets| | | Enabled | Enabled | Enabled | Enabled | -| OVNObservability| | | Enabled | Enabled | Enabled | Enabled | -| SELinuxMount| | | Enabled | Enabled | Enabled | Enabled | -| SignatureStores| | | Enabled | Enabled | Enabled | Enabled | -| SigstoreImageVerificationPKI| | | Enabled | Enabled | Enabled | Enabled | -| TranslateStreamCloseWebsocketRequests| | | Enabled | Enabled | Enabled | Enabled | -| VSphereConfigurableMaxAllowedBlockVolumesPerNode| | | Enabled | Enabled | Enabled | Enabled | -| VSphereHostVMGroupZonal| | | Enabled | Enabled | Enabled | Enabled | -| VolumeGroupSnapshot| | | Enabled | Enabled | Enabled | Enabled | -| AdditionalRoutingCapabilities| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| AdminNetworkPolicy| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| AlibabaPlatform| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| AzureWorkloadIdentity| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| BuildCSIVolumes| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| CPMSMachineNamePrefix| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| ConsolePluginContentSecurityPolicy| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| ExternalOIDC| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| ExternalOIDCWithUIDAndExtraClaimMappings| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| GCPClusterHostedDNSInstall| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| GatewayAPI| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| GatewayAPIController| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| HighlyAvailableArbiter| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| ImageVolume| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| KMSv1| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| MachineConfigNodes| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| ManagedBootImages| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| ManagedBootImagesAWS| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| ManagedBootImagesAzure| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| ManagedBootImagesvSphere| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| MetricsCollectionProfiles| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| NetworkDiagnosticsConfig| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| NetworkLiveMigration| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| NetworkSegmentation| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| OpenShiftPodSecurityAdmission| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| PinnedImages| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| PreconfiguredUDNAddresses| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| ProcMountType| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| RouteAdvertisements| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| RouteExternalCertificate| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| ServiceAccountTokenNodeBinding| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| SigstoreImageVerification| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| StoragePerformantSecurityPolicy| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| UpgradeStatus| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| UserNamespacesPodSecurityStandards| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| UserNamespacesSupport| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| VSphereMultiDisk| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| VSphereMultiNetworks| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | -| VolumeAttributesClass| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| FeatureGate | Default on Hypershift | Default on SelfManagedHA | DevPreviewNoUpgrade on Hypershift | DevPreviewNoUpgrade on SelfManagedHA | OKD on Hypershift | OKD on SelfManagedHA | TechPreviewNoUpgrade on Hypershift | TechPreviewNoUpgrade on SelfManagedHA | +| ------ | --- | --- | --- | --- | --- | --- | --- | --- | +| ClientsAllowCBOR| | | | | | | | | +| ClusterAPIInstall| | | | | | | | | +| EventedPLEG| | | | | | | | | +| MachineAPIOperatorDisableMachineHealthCheckController| | | | | | | | | +| MultiArchInstallAzure| | | | | | | | | +| ShortCertRotation| | | | | | | | | +| ClusterAPIComputeInstall| | | Enabled | Enabled | | | | | +| ClusterAPIControlPlaneInstall| | | Enabled | Enabled | | | | | +| ClusterAPIMachineManagementVSphere| | | Enabled | Enabled | | | | | +| Example2| | | Enabled | Enabled | | | | | +| ExternalSnapshotMetadata| | | Enabled | Enabled | | | | | +| KMSEncryptionProvider| | | Enabled | Enabled | | | | | +| NetworkConnect| | | Enabled | Enabled | | | | | +| NewOLMBoxCutterRuntime| | | | Enabled | | | | Enabled | +| NewOLMCatalogdAPIV1Metas| | | | Enabled | | | | Enabled | +| NewOLMPreflightPermissionChecks| | | | Enabled | | | | Enabled | +| NoRegistryClusterInstall| | | | Enabled | | | | Enabled | +| ProvisioningRequestAvailable| | | Enabled | Enabled | | | | | +| AWSClusterHostedDNS| | | Enabled | Enabled | | | Enabled | Enabled | +| AWSClusterHostedDNSInstall| | | Enabled | Enabled | | | Enabled | Enabled | +| AWSDedicatedHosts| | | Enabled | Enabled | | | Enabled | Enabled | +| AWSDualStackInstall| | | Enabled | Enabled | | | Enabled | Enabled | +| AWSServiceLBNetworkSecurityGroup| | | Enabled | Enabled | | | Enabled | Enabled | +| AutomatedEtcdBackup| | | Enabled | Enabled | | | Enabled | Enabled | +| AzureClusterHostedDNSInstall| | | Enabled | Enabled | | | Enabled | Enabled | +| AzureDedicatedHosts| | | Enabled | Enabled | | | Enabled | Enabled | +| AzureDualStackInstall| | | Enabled | Enabled | | | Enabled | Enabled | +| AzureMultiDisk| | | Enabled | Enabled | | | Enabled | Enabled | +| BootImageSkewEnforcement| | | Enabled | Enabled | | | Enabled | Enabled | +| BootcNodeManagement| | | Enabled | Enabled | | | Enabled | Enabled | +| CBORServingAndStorage| | | Enabled | Enabled | | | Enabled | Enabled | +| CRDCompatibilityRequirementOperator| | | Enabled | Enabled | | | Enabled | Enabled | +| CRIOCredentialProviderConfig| | | Enabled | Enabled | | | Enabled | Enabled | +| ClientsPreferCBOR| | | Enabled | Enabled | | | Enabled | Enabled | +| ClusterAPIInstallIBMCloud| | | Enabled | Enabled | | | Enabled | Enabled | +| ClusterAPIMachineManagement| | | Enabled | Enabled | | | Enabled | Enabled | +| ClusterMonitoringConfig| | | Enabled | Enabled | | | Enabled | Enabled | +| ClusterUpdateAcceptRisks| | | Enabled | Enabled | | | Enabled | Enabled | +| ClusterVersionOperatorConfiguration| | | Enabled | Enabled | | | Enabled | Enabled | +| ConfigurablePKI| | | Enabled | Enabled | | | Enabled | Enabled | +| DNSNameResolver| | | Enabled | Enabled | | | Enabled | Enabled | +| DRAPartitionableDevices| | | Enabled | Enabled | | | Enabled | Enabled | +| DualReplica| | | Enabled | Enabled | | | Enabled | Enabled | +| DyanmicServiceEndpointIBMCloud| | | Enabled | Enabled | | | Enabled | Enabled | +| EVPN| | | Enabled | Enabled | | | Enabled | Enabled | +| EtcdBackendQuota| | | Enabled | Enabled | | | Enabled | Enabled | +| EventTTL| | | Enabled | Enabled | | | Enabled | Enabled | +| Example| | | Enabled | Enabled | | | Enabled | Enabled | +| ExternalOIDCWithUpstreamParity| | | Enabled | Enabled | | | Enabled | Enabled | +| GCPClusterHostedDNS| | | Enabled | Enabled | | | Enabled | Enabled | +| GCPCustomAPIEndpoints| | | Enabled | Enabled | | | Enabled | Enabled | +| GCPCustomAPIEndpointsInstall| | | Enabled | Enabled | | | Enabled | Enabled | +| GCPDualStackInstall| | | Enabled | Enabled | | | Enabled | Enabled | +| GatewayAPIWithoutOLM| | | Enabled | Enabled | | | Enabled | Enabled | +| HyperShiftOnlyDynamicResourceAllocation| Enabled | | Enabled | | Enabled | | Enabled | | +| ImageModeStatusReporting| | | Enabled | Enabled | | | Enabled | Enabled | +| IngressControllerDynamicConfigurationManager| | | Enabled | Enabled | | | Enabled | Enabled | +| InsightsConfig| | | Enabled | Enabled | | | Enabled | Enabled | +| InsightsOnDemandDataGather| | | Enabled | Enabled | | | Enabled | Enabled | +| IrreconcilableMachineConfig| | | Enabled | Enabled | | | Enabled | Enabled | +| KMSEncryption| | | Enabled | Enabled | | | Enabled | Enabled | +| MachineAPIMigration| | | Enabled | Enabled | | | Enabled | Enabled | +| MaxUnavailableStatefulSet| | | Enabled | Enabled | | | Enabled | Enabled | +| MinimumKubeletVersion| | | Enabled | Enabled | | | Enabled | Enabled | +| MixedCPUsAllocation| | | Enabled | Enabled | | | Enabled | Enabled | +| MultiDiskSetup| | | Enabled | Enabled | | | Enabled | Enabled | +| MutatingAdmissionPolicy| | | Enabled | Enabled | | | Enabled | Enabled | +| NewOLM| | Enabled | | Enabled | | Enabled | | Enabled | +| NewOLMOwnSingleNamespace| | Enabled | | Enabled | | Enabled | | Enabled | +| NewOLMWebhookProviderOpenshiftServiceCA| | Enabled | | Enabled | | Enabled | | Enabled | +| NutanixMultiSubnets| | | Enabled | Enabled | | | Enabled | Enabled | +| OSStreams| | | Enabled | Enabled | | | Enabled | Enabled | +| OVNObservability| | | Enabled | Enabled | | | Enabled | Enabled | +| OnPremDNSRecords| | | Enabled | Enabled | | | Enabled | Enabled | +| SELinuxMount| | | Enabled | Enabled | | | Enabled | Enabled | +| SignatureStores| | | Enabled | Enabled | | | Enabled | Enabled | +| VSphereConfigurableMaxAllowedBlockVolumesPerNode| | | Enabled | Enabled | | | Enabled | Enabled | +| VSphereHostVMGroupZonal| | | Enabled | Enabled | | | Enabled | Enabled | +| VSphereMixedNodeEnv| | | Enabled | Enabled | | | Enabled | Enabled | +| VolumeGroupSnapshot| | | Enabled | Enabled | | | Enabled | Enabled | +| AzureWorkloadIdentity| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| BuildCSIVolumes| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| ConsolePluginContentSecurityPolicy| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| ExternalOIDC| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| ExternalOIDCWithUIDAndExtraClaimMappings| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| GCPClusterHostedDNSInstall| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| GatewayAPI| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| GatewayAPIController| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| HighlyAvailableArbiter| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| ImageStreamImportMode| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| ImageVolume| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| KMSv1| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| MachineConfigNodes| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| ManagedBootImages| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| ManagedBootImagesAWS| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| ManagedBootImagesAzure| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| ManagedBootImagesCPMS| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| ManagedBootImagesvSphere| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| MetricsCollectionProfiles| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| MutableCSINodeAllocatableCount| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| OpenShiftPodSecurityAdmission| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| PinnedImages| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| RouteExternalCertificate| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| ServiceAccountTokenNodeBinding| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| SigstoreImageVerification| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| SigstoreImageVerificationPKI| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| StoragePerformantSecurityPolicy| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| UpgradeStatus| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| UserNamespacesPodSecurityStandards| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| UserNamespacesSupport| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| VSphereMultiDisk| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | +| VSphereMultiNetworks| Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | Enabled | diff --git a/vendor/github.com/openshift/api/install.go b/vendor/github.com/openshift/api/install.go index cc91150009..e4574e7c4f 100644 --- a/vendor/github.com/openshift/api/install.go +++ b/vendor/github.com/openshift/api/install.go @@ -47,6 +47,7 @@ import ( kstoragev1beta1 "k8s.io/api/storage/v1beta1" "k8s.io/apimachinery/pkg/runtime" + "github.com/openshift/api/apiextensions" "github.com/openshift/api/apiserver" "github.com/openshift/api/apps" "github.com/openshift/api/authorization" @@ -54,6 +55,7 @@ import ( "github.com/openshift/api/cloudnetwork" "github.com/openshift/api/config" "github.com/openshift/api/console" + "github.com/openshift/api/etcd" "github.com/openshift/api/helm" "github.com/openshift/api/image" "github.com/openshift/api/imageregistry" @@ -83,12 +85,14 @@ import ( var ( schemeBuilder = runtime.NewSchemeBuilder( + apiextensions.Install, apiserver.Install, apps.Install, authorization.Install, build.Install, config.Install, console.Install, + etcd.Install, helm.Install, image.Install, imageregistry.Install, diff --git a/vendor/github.com/openshift/api/machine/v1/types_controlplanemachineset.go b/vendor/github.com/openshift/api/machine/v1/types_controlplanemachineset.go index d7661cf389..25ffc9f46d 100644 --- a/vendor/github.com/openshift/api/machine/v1/types_controlplanemachineset.go +++ b/vendor/github.com/openshift/api/machine/v1/types_controlplanemachineset.go @@ -53,10 +53,9 @@ type ControlPlaneMachineSetSpec struct { // For example, if machineNamePrefix is set to 'control-plane', // and three machines are created, their names might be: // control-plane-abcde-0, control-plane-fghij-1, control-plane-klmno-2 - // +openshift:validation:FeatureGateAwareXValidation:featureGate=CPMSMachineNamePrefix,rule="!format.dns1123Subdomain().validate(self).hasValue()",message="a lowercase RFC 1123 subdomain must consist of lowercase alphanumeric characters, hyphens ('-'), and periods ('.'). Each block, separated by periods, must start and end with an alphanumeric character. Hyphens are not allowed at the start or end of a block, and consecutive periods are not permitted." + // +kubebuilder:validation:XValidation:rule="!format.dns1123Subdomain().validate(self).hasValue()",message="a lowercase RFC 1123 subdomain must consist of lowercase alphanumeric characters, hyphens ('-'), and periods ('.'). Each block, separated by periods, must start and end with an alphanumeric character. Hyphens are not allowed at the start or end of a block, and consecutive periods are not permitted." // +kubebuilder:validation:MinLength=1 // +kubebuilder:validation:MaxLength=245 - // +openshift:enable:FeatureGate=CPMSMachineNamePrefix // +optional MachineNamePrefix string `json:"machineNamePrefix,omitempty"` diff --git a/vendor/github.com/openshift/api/machine/v1/zz_generated.featuregated-crd-manifests.yaml b/vendor/github.com/openshift/api/machine/v1/zz_generated.featuregated-crd-manifests.yaml index 7be04ec844..b001170faf 100644 --- a/vendor/github.com/openshift/api/machine/v1/zz_generated.featuregated-crd-manifests.yaml +++ b/vendor/github.com/openshift/api/machine/v1/zz_generated.featuregated-crd-manifests.yaml @@ -7,7 +7,6 @@ controlplanemachinesets.machine.openshift.io: Capability: MachineAPI Category: "" FeatureGates: - - CPMSMachineNamePrefix - MachineAPIMigration FilenameOperatorName: control-plane-machine-set FilenameOperatorOrdering: "01" diff --git a/vendor/github.com/openshift/api/machine/v1beta1/types_awsprovider.go b/vendor/github.com/openshift/api/machine/v1beta1/types_awsprovider.go index b3b38bc6cc..e3508d6679 100644 --- a/vendor/github.com/openshift/api/machine/v1beta1/types_awsprovider.go +++ b/vendor/github.com/openshift/api/machine/v1beta1/types_awsprovider.go @@ -114,6 +114,15 @@ type AWSMachineProviderConfig struct { // If this value is selected, capacityReservationID must be specified to identify the target reservation. // +optional MarketType MarketType `json:"marketType,omitempty"` + + // Tombstone: This field was moved into the Placement struct to belong w/ the Tenancy field due to involvement with the setting. + // hostPlacement configures placement on AWS Dedicated Hosts. This allows admins to assign instances to specific host + // for a variety of needs including for regulatory compliance, to leverage existing per-socket or per-core software licenses (BYOL), + // and to gain visibility and control over instance placement on a physical server. + // When omitted, the instance is not constrained to a dedicated host. + // +openshift:enable:FeatureGate=AWSDedicatedHosts + // +optional + //HostPlacement *HostPlacement `json:"hostPlacement,omitempty"` } // AWSConfidentialComputePolicy represents the confidential compute configuration for the instance. @@ -205,6 +214,19 @@ type EBSBlockDeviceSpec struct { // it is not used in requests to create gp2, st1, sc1, or standard volumes. // +optional Iops *int64 `json:"iops,omitempty"` + // throughputMib to provision in MiB/s supported for the volume type. Not applicable to all types. + // + // This parameter is valid only for gp3 volumes. + // Valid Range: Minimum value of 125. Maximum value of 2000. + // + // When omitted, this means no opinion, and the platform is left to + // choose a reasonable default, which is subject to change over time. + // The current default is 125. + // + // +kubebuilder:validation:Minimum:=125 + // +kubebuilder:validation:Maximum:=2000 + // +optional + ThroughputMib *int32 `json:"throughputMib,omitempty"` // The size of the volume, in GiB. // // Constraints: 1-16384 for General Purpose SSD (gp2), 4-16384 for Provisioned @@ -217,7 +239,7 @@ type EBSBlockDeviceSpec struct { // a volume size, the default is the snapshot size. // +optional VolumeSize *int64 `json:"volumeSize,omitempty"` - // The volume type: gp2, io1, st1, sc1, or standard. + // volumeType can be of type gp2, gp3, io1, st1, sc1, or standard. // Default: standard // +optional VolumeType *string `json:"volumeType,omitempty"` @@ -273,6 +295,7 @@ type AWSResourceReference struct { } // Placement indicates where to create the instance in AWS +// +kubebuilder:validation:XValidation:rule="has(self.tenancy) && self.tenancy == 'host' ? true : !has(self.host)",message="host may only be specified when tenancy is host" type Placement struct { // region is the region to use to create the instance // +optional @@ -282,8 +305,19 @@ type Placement struct { AvailabilityZone string `json:"availabilityZone,omitempty"` // tenancy indicates if instance should run on shared or single-tenant hardware. There are // supported 3 options: default, dedicated and host. + // When set to default Runs on shared multi-tenant hardware. + // When dedicated Runs on single-tenant hardware (any dedicated instance hardware). + // When host and the host object is not provided: Runs on Dedicated Host; best-effort restart on same host. + // When `host` and `host` object is provided with affinity `dedicatedHost` defined: Runs on specified Dedicated Host. // +optional Tenancy InstanceTenancy `json:"tenancy,omitempty"` + // host configures placement on AWS Dedicated Hosts. This allows admins to assign instances to specific host + // for a variety of needs including for regulatory compliance, to leverage existing per-socket or per-core software licenses (BYOL), + // and to gain visibility and control over instance placement on a physical server. + // When omitted, the instance is not constrained to a dedicated host. + // +openshift:enable:FeatureGate=AWSDedicatedHosts + // +optional + Host *HostPlacement `json:"host,omitempty"` } // Filter is a filter used to identify an AWS resource @@ -297,9 +331,16 @@ type Filter struct { // TagSpecification is the name/value pair for a tag type TagSpecification struct { - // name of the tag + // name of the tag. + // This field is required and must be a non-empty string. + // Must be between 1 and 128 characters in length. + // +kubebuilder:validation:MinLength=1 + // +kubebuilder:validation:MaxLength=128 + // +required Name string `json:"name"` - // value of the tag + // value of the tag. + // When omitted, this creates a tag with an empty string as the value. + // +optional Value string `json:"value"` } @@ -373,6 +414,26 @@ type AWSMachineProviderStatus struct { // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty"` + // dedicatedHost tracks the dynamically allocated dedicated host. + // This field is populated when allocationStrategy is Dynamic (with or without DynamicHostAllocation). + // When omitted, this indicates that the dedicated host has not yet been allocated, or allocation is in progress. + // +optional + DedicatedHost *DedicatedHostStatus `json:"dedicatedHost,omitempty"` +} + +// DedicatedHostStatus defines the observed state of a dynamically allocated dedicated host +// associated with an AWSMachine. This struct is used to track the ID of the dedicated host. +type DedicatedHostStatus struct { + // id tracks the dynamically allocated dedicated host ID. + // This field is populated when allocationStrategy is Dynamic (with or without DynamicHostAllocation). + // The value must start with "h-" followed by either 8 or 17 lowercase hexadecimal characters (0-9 and a-f). + // The use of 8 lowercase hexadecimal characters is for older legacy hosts that may not have been migrated to newer format. + // Must be either 10 or 19 characters in length. + // +kubebuilder:validation:XValidation:rule="self.matches('^h-([0-9a-f]{8}|[0-9a-f]{17})$')",message="id must start with 'h-' followed by either 8 or 17 lowercase hexadecimal characters (0-9 and a-f)" + // +kubebuilder:validation:MinLength=10 + // +kubebuilder:validation:MaxLength=19 + // +required + ID string `json:"id,omitempty"` } // MarketType describes the market type of an EC2 Instance @@ -393,3 +454,104 @@ const ( // When set to CapacityBlock the instance utilizes pre-purchased compute capacity (capacity blocks) with AWS Capacity Reservations. MarketTypeCapacityBlock MarketType = "CapacityBlock" ) + +// HostPlacement is the type that will be used to configure the placement of AWS instances. +// +kubebuilder:validation:XValidation:rule="has(self.affinity) && self.affinity == 'DedicatedHost' ? has(self.dedicatedHost) : true",message="dedicatedHost is required when affinity is DedicatedHost, and optional otherwise" +// +union +type HostPlacement struct { + // affinity specifies the affinity setting for the instance. + // Allowed values are AnyAvailable and DedicatedHost. + // When Affinity is set to DedicatedHost, an instance started onto a specific host always restarts on the same host if stopped. In this scenario, the `dedicatedHost` field must be set. + // When Affinity is set to AnyAvailable, and you stop and restart the instance, it can be restarted on any available host. + // When Affinity is set to AnyAvailable and the `dedicatedHost` field is defined, it runs on specified Dedicated Host, but may move if stopped. + // +required + // +unionDiscriminator + Affinity *HostAffinity `json:"affinity,omitempty"` + + // dedicatedHost specifies the exact host that an instance should be restarted on if stopped. + // dedicatedHost is required when 'affinity' is set to DedicatedHost, and optional otherwise. + // +optional + // +unionMember + DedicatedHost *DedicatedHost `json:"dedicatedHost,omitempty"` +} + +// HostAffinity selects how an instance should be placed on AWS Dedicated Hosts. +// +kubebuilder:validation:Enum:=DedicatedHost;AnyAvailable +type HostAffinity string + +const ( + // HostAffinityAnyAvailable lets the platform select any available dedicated host. + + HostAffinityAnyAvailable HostAffinity = "AnyAvailable" + + // HostAffinityDedicatedHost requires specifying a particular host via dedicatedHost.host.hostID. + HostAffinityDedicatedHost HostAffinity = "DedicatedHost" +) + +// AllocationStrategy selects how a dedicated host is provided to the system for assigning to the instance. +// +kubebuilder:validation:Enum:=UserProvided;Dynamic +// +enum +type AllocationStrategy string + +const ( + // AllocationStrategyUserProvided specifies that the system should assign instances to a user-provided dedicated host. + AllocationStrategyUserProvided AllocationStrategy = "UserProvided" + + // AllocationStrategyDynamic specifies that the system should dynamically allocate a dedicated host for instances. + AllocationStrategyDynamic AllocationStrategy = "Dynamic" +) + +// DedicatedHost represents the configuration for the usage of dedicated host. +// +kubebuilder:validation:XValidation:rule="self.allocationStrategy == 'UserProvided' ? has(self.id) : !has(self.id)",message="id is required when allocationStrategy is UserProvided, and forbidden otherwise" +// +kubebuilder:validation:XValidation:rule="has(self.dynamicHostAllocation) ? self.allocationStrategy == 'Dynamic' : true",message="dynamicHostAllocation is only allowed when allocationStrategy is Dynamic" +// +union +type DedicatedHost struct { + // allocationStrategy specifies if the dedicated host will be provided by the admin through the id field or if the host will be dynamically allocated. + // Valid values are UserProvided and Dynamic. + // When omitted, the value defaults to "UserProvided", which requires the id field to be set. + // When allocationStrategy is set to UserProvided, an ID of the dedicated host to assign must be provided. + // When allocationStrategy is set to Dynamic, a dedicated host will be allocated and used to assign instances. + // When allocationStrategy is set to Dynamic, and dynamicHostAllocation is configured, a dedicated host will be allocated and the tags in dynamicHostAllocation will be assigned to that host. + // +optional + // +unionDiscriminator + // +default="UserProvided" + AllocationStrategy *AllocationStrategy `json:"allocationStrategy,omitempty"` + + // id identifies the AWS Dedicated Host on which the instance must run. + // The value must start with "h-" followed by either 8 or 17 lowercase hexadecimal characters (0-9 and a-f). + // The use of 8 lowercase hexadecimal characters is for older legacy hosts that may not have been migrated to newer format. + // Must be either 10 or 19 characters in length. + // This field is required when allocationStrategy is UserProvided, and forbidden otherwise. + // When omitted with allocationStrategy set to Dynamic, the platform will dynamically allocate a dedicated host. + // +kubebuilder:validation:XValidation:rule="self.matches('^h-([0-9a-f]{8}|[0-9a-f]{17})$')",message="id must start with 'h-' followed by either 8 or 17 lowercase hexadecimal characters (0-9 and a-f)" + // +kubebuilder:validation:MinLength=10 + // +kubebuilder:validation:MaxLength=19 + // +optional + // +unionMember=UserProvided + ID string `json:"id,omitempty"` + + // dynamicHostAllocation specifies tags to apply to a dynamically allocated dedicated host. + // This field is only allowed when allocationStrategy is Dynamic, and is mutually exclusive with id. + // When specified, a dedicated host will be allocated with the provided tags applied. + // When omitted (and allocationStrategy is Dynamic), a dedicated host will be allocated without any additional tags. + // +optional + // +unionMember=Dynamic + DynamicHostAllocation *DynamicHostAllocationSpec `json:"dynamicHostAllocation,omitempty"` +} + +// DynamicHostAllocationSpec defines the configuration for dynamic dedicated host allocation. +// This specification always allocates exactly one dedicated host per machine. +// At least one property must be specified when this struct is used. +// Currently only Tags are available for configuring, but in the future more configs may become available. +// +kubebuilder:validation:MinProperties=1 +type DynamicHostAllocationSpec struct { + // tags specifies a set of key-value pairs to apply to the allocated dedicated host. + // When omitted, no additional user-defined tags will be applied to the allocated host. + // A maximum of 50 tags can be specified. + // +kubebuilder:validation:MinItems=1 + // +kubebuilder:validation:MaxItems=50 + // +listType=map + // +listMapKey=name + // +optional + Tags *[]TagSpecification `json:"tags,omitempty"` +} diff --git a/vendor/github.com/openshift/api/machine/v1beta1/types_gcpprovider.go b/vendor/github.com/openshift/api/machine/v1beta1/types_gcpprovider.go index 72a31b5bdd..9713a4e4a8 100644 --- a/vendor/github.com/openshift/api/machine/v1beta1/types_gcpprovider.go +++ b/vendor/github.com/openshift/api/machine/v1beta1/types_gcpprovider.go @@ -25,6 +25,14 @@ const ( RestartPolicyNever GCPRestartPolicyType = "Never" ) +// GCPProvisioningModelType is a type representing acceptable values for ProvisioningModel field in GCPMachineProviderSpec +type GCPProvisioningModelType string + +const ( + // GCPSpotInstance enables the GCP instances as spot instances which provide significant cost savings but may be preempted by Google Cloud Platform when resources are needed elsewhere. + GCPSpotInstance GCPProvisioningModelType = "Spot" +) + // SecureBootPolicy represents the secure boot configuration for the GCP machine. type SecureBootPolicy string @@ -129,6 +137,14 @@ type GCPMachineProviderSpec struct { // preemptible indicates if created instance is preemptible. // +optional Preemptible bool `json:"preemptible,omitempty"` + // provisioningModel is an optional field that determines the provisioning model for the GCP machine instance. + // Valid values are "Spot" and omitted. + // When set to Spot, the instance runs as a Google Cloud Spot instance which provides significant cost savings but may be preempted by Google Cloud Platform when resources are needed elsewhere. + // When omitted, the machine will be provisioned as a standard on-demand instance. + // This field cannot be used together with the preemptible field. + // +optional + // +kubebuilder:validation:Enum=Spot + ProvisioningModel *GCPProvisioningModelType `json:"provisioningModel,omitempty"` // onHostMaintenance determines the behavior when a maintenance event occurs that might cause the instance to reboot. // This is required to be set to "Terminate" if you want to provision machine with attached GPUs. // Otherwise, allowed values are "Migrate" and "Terminate". diff --git a/vendor/github.com/openshift/api/machine/v1beta1/types_machine.go b/vendor/github.com/openshift/api/machine/v1beta1/types_machine.go index 33f472f926..6bfe850812 100644 --- a/vendor/github.com/openshift/api/machine/v1beta1/types_machine.go +++ b/vendor/github.com/openshift/api/machine/v1beta1/types_machine.go @@ -185,6 +185,18 @@ const ( MachineAuthorityMigrating MachineAuthority = "Migrating" ) +// SynchronizedAPI holds the last stable value of authoritativeAPI. +// +kubebuilder:validation:Enum=MachineAPI;ClusterAPI +type SynchronizedAPI string + +const ( + // MachineAPISynchronized indicates that the Machine API is the last synchronized API. + MachineAPISynchronized SynchronizedAPI = "MachineAPI" + + // ClusterAPISynchronized indicates that the Cluster API is the last synchronized API. + ClusterAPISynchronized SynchronizedAPI = "ClusterAPI" +) + // +genclient // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object @@ -317,6 +329,7 @@ type LifecycleHook struct { // MachineStatus defines the observed state of Machine // +openshift:validation:FeatureGateAwareXValidation:featureGate=MachineAPIMigration,rule="!has(oldSelf.synchronizedGeneration) || (has(self.synchronizedGeneration) && self.synchronizedGeneration >= oldSelf.synchronizedGeneration) || (oldSelf.authoritativeAPI == 'Migrating' && self.authoritativeAPI != 'Migrating')",message="synchronizedGeneration must not decrease unless authoritativeAPI is transitioning from Migrating to another value" +// +openshift:validation:FeatureGateAwareXValidation:featureGate=MachineAPIMigration,rule="has(self.authoritativeAPI) || !has(oldSelf.authoritativeAPI)",message="authoritativeAPI may not be removed once set" type MachineStatus struct { // nodeRef will point to the corresponding Node if it exists. // +optional @@ -406,6 +419,14 @@ type MachineStatus struct { // +optional AuthoritativeAPI MachineAuthority `json:"authoritativeAPI,omitempty"` + // synchronizedAPI holds the last stable value of authoritativeAPI. + // It is used to detect migration cancellation requests and to restore the resource to its previous state. + // Valid values are "MachineAPI" and "ClusterAPI". + // When omitted, the resource has not yet been reconciled by the migration controller. + // +openshift:enable:FeatureGate=MachineAPIMigration + // +optional + SynchronizedAPI SynchronizedAPI `json:"synchronizedAPI,omitempty"` + // synchronizedGeneration is the generation of the authoritative resource that the non-authoritative resource is synchronised with. // This field is set when the authoritative resource is updated and the sync controller has updated the non-authoritative resource to match. // +kubebuilder:validation:Minimum=0 diff --git a/vendor/github.com/openshift/api/machine/v1beta1/types_machineset.go b/vendor/github.com/openshift/api/machine/v1beta1/types_machineset.go index a2343dc398..be5476344b 100644 --- a/vendor/github.com/openshift/api/machine/v1beta1/types_machineset.go +++ b/vendor/github.com/openshift/api/machine/v1beta1/types_machineset.go @@ -112,6 +112,7 @@ type MachineTemplateSpec struct { // MachineSetStatus defines the observed state of MachineSet // +openshift:validation:FeatureGateAwareXValidation:featureGate=MachineAPIMigration,rule="!has(oldSelf.synchronizedGeneration) || (has(self.synchronizedGeneration) && self.synchronizedGeneration >= oldSelf.synchronizedGeneration) || (oldSelf.authoritativeAPI == 'Migrating' && self.authoritativeAPI != 'Migrating')",message="synchronizedGeneration must not decrease unless authoritativeAPI is transitioning from Migrating to another value" +// +openshift:validation:FeatureGateAwareXValidation:featureGate=MachineAPIMigration,rule="has(self.authoritativeAPI) || !has(oldSelf.authoritativeAPI)",message="authoritativeAPI may not be removed once set" type MachineSetStatus struct { // replicas is the most recently observed number of replicas. // +optional @@ -168,6 +169,14 @@ type MachineSetStatus struct { // +optional AuthoritativeAPI MachineAuthority `json:"authoritativeAPI,omitempty"` + // synchronizedAPI holds the last stable value of authoritativeAPI. + // It is used to detect migration cancellation requests and to restore the resource to its previous state. + // Valid values are "MachineAPI" and "ClusterAPI". + // When omitted, the resource has not yet been reconciled by the migration controller. + // +openshift:enable:FeatureGate=MachineAPIMigration + // +optional + SynchronizedAPI SynchronizedAPI `json:"synchronizedAPI,omitempty"` + // synchronizedGeneration is the generation of the authoritative resource that the non-authoritative resource is synchronised with. // This field is set when the authoritative resource is updated and the sync controller has updated the non-authoritative resource to match. // +kubebuilder:validation:Minimum=0 diff --git a/vendor/github.com/openshift/api/machine/v1beta1/zz_generated.deepcopy.go b/vendor/github.com/openshift/api/machine/v1beta1/zz_generated.deepcopy.go index 5aa4f90a49..63b9bb5ff8 100644 --- a/vendor/github.com/openshift/api/machine/v1beta1/zz_generated.deepcopy.go +++ b/vendor/github.com/openshift/api/machine/v1beta1/zz_generated.deepcopy.go @@ -61,7 +61,7 @@ func (in *AWSMachineProviderConfig) DeepCopyInto(out *AWSMachineProviderConfig) } } in.Subnet.DeepCopyInto(&out.Subnet) - out.Placement = in.Placement + in.Placement.DeepCopyInto(&out.Placement) if in.LoadBalancers != nil { in, out := &in.LoadBalancers, &out.LoadBalancers *out = make([]LoadBalancerReference, len(*in)) @@ -152,6 +152,11 @@ func (in *AWSMachineProviderStatus) DeepCopyInto(out *AWSMachineProviderStatus) (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.DedicatedHost != nil { + in, out := &in.DedicatedHost, &out.DedicatedHost + *out = new(DedicatedHostStatus) + **out = **in + } return } @@ -509,6 +514,48 @@ func (in *DataDiskManagedDiskParameters) DeepCopy() *DataDiskManagedDiskParamete return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DedicatedHost) DeepCopyInto(out *DedicatedHost) { + *out = *in + if in.AllocationStrategy != nil { + in, out := &in.AllocationStrategy, &out.AllocationStrategy + *out = new(AllocationStrategy) + **out = **in + } + if in.DynamicHostAllocation != nil { + in, out := &in.DynamicHostAllocation, &out.DynamicHostAllocation + *out = new(DynamicHostAllocationSpec) + (*in).DeepCopyInto(*out) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DedicatedHost. +func (in *DedicatedHost) DeepCopy() *DedicatedHost { + if in == nil { + return nil + } + out := new(DedicatedHost) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DedicatedHostStatus) DeepCopyInto(out *DedicatedHostStatus) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DedicatedHostStatus. +func (in *DedicatedHostStatus) DeepCopy() *DedicatedHostStatus { + if in == nil { + return nil + } + out := new(DedicatedHostStatus) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DiskEncryptionSetParameters) DeepCopyInto(out *DiskEncryptionSetParameters) { *out = *in @@ -541,6 +588,31 @@ func (in *DiskSettings) DeepCopy() *DiskSettings { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DynamicHostAllocationSpec) DeepCopyInto(out *DynamicHostAllocationSpec) { + *out = *in + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = new([]TagSpecification) + if **in != nil { + in, out := *in, *out + *out = make([]TagSpecification, len(*in)) + copy(*out, *in) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicHostAllocationSpec. +func (in *DynamicHostAllocationSpec) DeepCopy() *DynamicHostAllocationSpec { + if in == nil { + return nil + } + out := new(DynamicHostAllocationSpec) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *EBSBlockDeviceSpec) DeepCopyInto(out *EBSBlockDeviceSpec) { *out = *in @@ -560,6 +632,11 @@ func (in *EBSBlockDeviceSpec) DeepCopyInto(out *EBSBlockDeviceSpec) { *out = new(int64) **out = **in } + if in.ThroughputMib != nil { + in, out := &in.ThroughputMib, &out.ThroughputMib + *out = new(int32) + **out = **in + } if in.VolumeSize != nil { in, out := &in.VolumeSize, &out.VolumeSize *out = new(int64) @@ -762,6 +839,11 @@ func (in *GCPMachineProviderSpec) DeepCopyInto(out *GCPMachineProviderSpec) { *out = make([]GCPGPUConfig, len(*in)) copy(*out, *in) } + if in.ProvisioningModel != nil { + in, out := &in.ProvisioningModel, &out.ProvisioningModel + *out = new(GCPProvisioningModelType) + **out = **in + } out.ShieldedInstanceConfig = in.ShieldedInstanceConfig if in.ResourceManagerTags != nil { in, out := &in.ResourceManagerTags, &out.ResourceManagerTags @@ -898,6 +980,32 @@ func (in *GCPShieldedInstanceConfig) DeepCopy() *GCPShieldedInstanceConfig { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HostPlacement) DeepCopyInto(out *HostPlacement) { + *out = *in + if in.Affinity != nil { + in, out := &in.Affinity, &out.Affinity + *out = new(HostAffinity) + **out = **in + } + if in.DedicatedHost != nil { + in, out := &in.DedicatedHost, &out.DedicatedHost + *out = new(DedicatedHost) + (*in).DeepCopyInto(*out) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPlacement. +func (in *HostPlacement) DeepCopy() *HostPlacement { + if in == nil { + return nil + } + out := new(HostPlacement) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Image) DeepCopyInto(out *Image) { *out = *in @@ -1577,6 +1685,11 @@ func (in *ObjectMeta) DeepCopy() *ObjectMeta { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Placement) DeepCopyInto(out *Placement) { *out = *in + if in.Host != nil { + in, out := &in.Host, &out.Host + *out = new(HostPlacement) + (*in).DeepCopyInto(*out) + } return } diff --git a/vendor/github.com/openshift/api/machine/v1beta1/zz_generated.swagger_doc_generated.go b/vendor/github.com/openshift/api/machine/v1beta1/zz_generated.swagger_doc_generated.go index 4a1b969a81..2c4a9030cc 100644 --- a/vendor/github.com/openshift/api/machine/v1beta1/zz_generated.swagger_doc_generated.go +++ b/vendor/github.com/openshift/api/machine/v1beta1/zz_generated.swagger_doc_generated.go @@ -54,6 +54,7 @@ var map_AWSMachineProviderStatus = map[string]string{ "instanceId": "instanceId is the instance ID of the machine created in AWS", "instanceState": "instanceState is the state of the AWS instance for this machine", "conditions": "conditions is a set of conditions associated with the Machine to indicate errors or other status", + "dedicatedHost": "dedicatedHost tracks the dynamically allocated dedicated host. This field is populated when allocationStrategy is Dynamic (with or without DynamicHostAllocation). When omitted, this indicates that the dedicated host has not yet been allocated, or allocation is in progress.", } func (AWSMachineProviderStatus) SwaggerDoc() map[string]string { @@ -92,14 +93,44 @@ func (CPUOptions) SwaggerDoc() map[string]string { return map_CPUOptions } +var map_DedicatedHost = map[string]string{ + "": "DedicatedHost represents the configuration for the usage of dedicated host.", + "allocationStrategy": "allocationStrategy specifies if the dedicated host will be provided by the admin through the id field or if the host will be dynamically allocated. Valid values are UserProvided and Dynamic. When omitted, the value defaults to \"UserProvided\", which requires the id field to be set. When allocationStrategy is set to UserProvided, an ID of the dedicated host to assign must be provided. When allocationStrategy is set to Dynamic, a dedicated host will be allocated and used to assign instances. When allocationStrategy is set to Dynamic, and dynamicHostAllocation is configured, a dedicated host will be allocated and the tags in dynamicHostAllocation will be assigned to that host.", + "id": "id identifies the AWS Dedicated Host on which the instance must run. The value must start with \"h-\" followed by either 8 or 17 lowercase hexadecimal characters (0-9 and a-f). The use of 8 lowercase hexadecimal characters is for older legacy hosts that may not have been migrated to newer format. Must be either 10 or 19 characters in length. This field is required when allocationStrategy is UserProvided, and forbidden otherwise. When omitted with allocationStrategy set to Dynamic, the platform will dynamically allocate a dedicated host.", + "dynamicHostAllocation": "dynamicHostAllocation specifies tags to apply to a dynamically allocated dedicated host. This field is only allowed when allocationStrategy is Dynamic, and is mutually exclusive with id. When specified, a dedicated host will be allocated with the provided tags applied. When omitted (and allocationStrategy is Dynamic), a dedicated host will be allocated without any additional tags.", +} + +func (DedicatedHost) SwaggerDoc() map[string]string { + return map_DedicatedHost +} + +var map_DedicatedHostStatus = map[string]string{ + "": "DedicatedHostStatus defines the observed state of a dynamically allocated dedicated host associated with an AWSMachine. This struct is used to track the ID of the dedicated host.", + "id": "id tracks the dynamically allocated dedicated host ID. This field is populated when allocationStrategy is Dynamic (with or without DynamicHostAllocation). The value must start with \"h-\" followed by either 8 or 17 lowercase hexadecimal characters (0-9 and a-f). The use of 8 lowercase hexadecimal characters is for older legacy hosts that may not have been migrated to newer format. Must be either 10 or 19 characters in length.", +} + +func (DedicatedHostStatus) SwaggerDoc() map[string]string { + return map_DedicatedHostStatus +} + +var map_DynamicHostAllocationSpec = map[string]string{ + "": "DynamicHostAllocationSpec defines the configuration for dynamic dedicated host allocation. This specification always allocates exactly one dedicated host per machine. At least one property must be specified when this struct is used. Currently only Tags are available for configuring, but in the future more configs may become available.", + "tags": "tags specifies a set of key-value pairs to apply to the allocated dedicated host. When omitted, no additional user-defined tags will be applied to the allocated host. A maximum of 50 tags can be specified.", +} + +func (DynamicHostAllocationSpec) SwaggerDoc() map[string]string { + return map_DynamicHostAllocationSpec +} + var map_EBSBlockDeviceSpec = map[string]string{ "": "EBSBlockDeviceSpec describes a block device for an EBS volume. https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsBlockDevice", "deleteOnTermination": "Indicates whether the EBS volume is deleted on machine termination.\n\nDeprecated: setting this field has no effect.", "encrypted": "Indicates whether the EBS volume is encrypted. Encrypted Amazon EBS volumes may only be attached to machines that support Amazon EBS encryption.", "kmsKey": "Indicates the KMS key that should be used to encrypt the Amazon EBS volume.", "iops": "The number of I/O operations per second (IOPS) that the volume supports. For io1, this represents the number of IOPS that are provisioned for the volume. For gp2, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting. For more information about General Purpose SSD baseline performance, I/O credits, and bursting, see Amazon EBS Volume Types (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html) in the Amazon Elastic Compute Cloud User Guide.\n\nMinimal and maximal IOPS for io1 and gp2 are constrained. Please, check https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html for precise boundaries for individual volumes.\n\nCondition: This parameter is required for requests to create io1 volumes; it is not used in requests to create gp2, st1, sc1, or standard volumes.", + "throughputMib": "throughputMib to provision in MiB/s supported for the volume type. Not applicable to all types.\n\nThis parameter is valid only for gp3 volumes. Valid Range: Minimum value of 125. Maximum value of 2000.\n\nWhen omitted, this means no opinion, and the platform is left to choose a reasonable default, which is subject to change over time. The current default is 125.", "volumeSize": "The size of the volume, in GiB.\n\nConstraints: 1-16384 for General Purpose SSD (gp2), 4-16384 for Provisioned IOPS SSD (io1), 500-16384 for Throughput Optimized HDD (st1), 500-16384 for Cold HDD (sc1), and 1-1024 for Magnetic (standard) volumes. If you specify a snapshot, the volume size must be equal to or larger than the snapshot size.\n\nDefault: If you're creating the volume from a snapshot and don't specify a volume size, the default is the snapshot size.", - "volumeType": "The volume type: gp2, io1, st1, sc1, or standard. Default: standard", + "volumeType": "volumeType can be of type gp2, gp3, io1, st1, sc1, or standard. Default: standard", } func (EBSBlockDeviceSpec) SwaggerDoc() map[string]string { @@ -116,6 +147,16 @@ func (Filter) SwaggerDoc() map[string]string { return map_Filter } +var map_HostPlacement = map[string]string{ + "": "HostPlacement is the type that will be used to configure the placement of AWS instances.", + "affinity": "affinity specifies the affinity setting for the instance. Allowed values are AnyAvailable and DedicatedHost. When Affinity is set to DedicatedHost, an instance started onto a specific host always restarts on the same host if stopped. In this scenario, the `dedicatedHost` field must be set. When Affinity is set to AnyAvailable, and you stop and restart the instance, it can be restarted on any available host. When Affinity is set to AnyAvailable and the `dedicatedHost` field is defined, it runs on specified Dedicated Host, but may move if stopped.", + "dedicatedHost": "dedicatedHost specifies the exact host that an instance should be restarted on if stopped. dedicatedHost is required when 'affinity' is set to DedicatedHost, and optional otherwise.", +} + +func (HostPlacement) SwaggerDoc() map[string]string { + return map_HostPlacement +} + var map_LoadBalancerReference = map[string]string{ "": "LoadBalancerReference is a reference to a load balancer on AWS.", } @@ -137,7 +178,8 @@ var map_Placement = map[string]string{ "": "Placement indicates where to create the instance in AWS", "region": "region is the region to use to create the instance", "availabilityZone": "availabilityZone is the availability zone of the instance", - "tenancy": "tenancy indicates if instance should run on shared or single-tenant hardware. There are supported 3 options: default, dedicated and host.", + "tenancy": "tenancy indicates if instance should run on shared or single-tenant hardware. There are supported 3 options: default, dedicated and host. When set to default Runs on shared multi-tenant hardware. When dedicated Runs on single-tenant hardware (any dedicated instance hardware). When host and the host object is not provided: Runs on Dedicated Host; best-effort restart on same host. When `host` and `host` object is provided with affinity `dedicatedHost` defined: Runs on specified Dedicated Host.", + "host": "host configures placement on AWS Dedicated Hosts. This allows admins to assign instances to specific host for a variety of needs including for regulatory compliance, to leverage existing per-socket or per-core software licenses (BYOL), and to gain visibility and control over instance placement on a physical server. When omitted, the instance is not constrained to a dedicated host.", } func (Placement) SwaggerDoc() map[string]string { @@ -155,8 +197,8 @@ func (SpotMarketOptions) SwaggerDoc() map[string]string { var map_TagSpecification = map[string]string{ "": "TagSpecification is the name/value pair for a tag", - "name": "name of the tag", - "value": "value of the tag", + "name": "name of the tag. This field is required and must be a non-empty string. Must be between 1 and 128 characters in length.", + "value": "value of the tag. When omitted, this creates a tag with an empty string as the value.", } func (TagSpecification) SwaggerDoc() map[string]string { @@ -452,6 +494,7 @@ var map_GCPMachineProviderSpec = map[string]string{ "projectID": "projectID is the project in which the GCP machine provider will create the VM.", "gpus": "gpus is a list of GPUs to be attached to the VM.", "preemptible": "preemptible indicates if created instance is preemptible.", + "provisioningModel": "provisioningModel is an optional field that determines the provisioning model for the GCP machine instance. Valid values are \"Spot\" and omitted. When set to Spot, the instance runs as a Google Cloud Spot instance which provides significant cost savings but may be preempted by Google Cloud Platform when resources are needed elsewhere. When omitted, the machine will be provisioned as a standard on-demand instance. This field cannot be used together with the preemptible field.", "onHostMaintenance": "onHostMaintenance determines the behavior when a maintenance event occurs that might cause the instance to reboot. This is required to be set to \"Terminate\" if you want to provision machine with attached GPUs. Otherwise, allowed values are \"Migrate\" and \"Terminate\". If omitted, the platform chooses a default, which is subject to change over time, currently that default is \"Migrate\".", "restartPolicy": "restartPolicy determines the behavior when an instance crashes or the underlying infrastructure provider stops the instance as part of a maintenance event (default \"Always\"). Cannot be \"Always\" with preemptible instances. Otherwise, allowed values are \"Always\" and \"Never\". If omitted, the platform chooses a default, which is subject to change over time, currently that default is \"Always\". RestartPolicy represents AutomaticRestart in GCP compute api", "shieldedInstanceConfig": "shieldedInstanceConfig is the Shielded VM configuration for the VM", @@ -604,6 +647,7 @@ var map_MachineStatus = map[string]string{ "phase": "phase represents the current phase of machine actuation. One of: Failed, Provisioning, Provisioned, Running, Deleting", "conditions": "conditions defines the current state of the Machine", "authoritativeAPI": "authoritativeAPI is the API that is authoritative for this resource. Valid values are MachineAPI, ClusterAPI and Migrating. This value is updated by the migration controller to reflect the authoritative API. Machine API and Cluster API controllers use this value to determine whether or not to reconcile the resource. When set to Migrating, the migration controller is currently performing the handover of authority from one API to the other.", + "synchronizedAPI": "synchronizedAPI holds the last stable value of authoritativeAPI. It is used to detect migration cancellation requests and to restore the resource to its previous state. Valid values are \"MachineAPI\" and \"ClusterAPI\". When omitted, the resource has not yet been reconciled by the migration controller.", "synchronizedGeneration": "synchronizedGeneration is the generation of the authoritative resource that the non-authoritative resource is synchronised with. This field is set when the authoritative resource is updated and the sync controller has updated the non-authoritative resource to match.", } @@ -707,6 +751,7 @@ var map_MachineSetStatus = map[string]string{ "errorReason": "In the event that there is a terminal problem reconciling the replicas, both ErrorReason and ErrorMessage will be set. ErrorReason will be populated with a succinct value suitable for machine interpretation, while ErrorMessage will contain a more verbose string suitable for logging and human consumption.\n\nThese fields should not be set for transitive errors that a controller faces that are expected to be fixed automatically over time (like service outages), but instead indicate that something is fundamentally wrong with the MachineTemplate's spec or the configuration of the machine controller, and that manual intervention is required. Examples of terminal errors would be invalid combinations of settings in the spec, values that are unsupported by the machine controller, or the responsible machine controller itself being critically misconfigured.\n\nAny transient errors that occur during the reconciliation of Machines can be added as events to the MachineSet object and/or logged in the controller's output.", "conditions": "conditions defines the current state of the MachineSet", "authoritativeAPI": "authoritativeAPI is the API that is authoritative for this resource. Valid values are MachineAPI, ClusterAPI and Migrating. This value is updated by the migration controller to reflect the authoritative API. Machine API and Cluster API controllers use this value to determine whether or not to reconcile the resource. When set to Migrating, the migration controller is currently performing the handover of authority from one API to the other.", + "synchronizedAPI": "synchronizedAPI holds the last stable value of authoritativeAPI. It is used to detect migration cancellation requests and to restore the resource to its previous state. Valid values are \"MachineAPI\" and \"ClusterAPI\". When omitted, the resource has not yet been reconciled by the migration controller.", "synchronizedGeneration": "synchronizedGeneration is the generation of the authoritative resource that the non-authoritative resource is synchronised with. This field is set when the authoritative resource is updated and the sync controller has updated the non-authoritative resource to match.", } diff --git a/vendor/github.com/openshift/api/operator/v1/types_console.go b/vendor/github.com/openshift/api/operator/v1/types_console.go index e030a65c86..35795b2b71 100644 --- a/vendor/github.com/openshift/api/operator/v1/types_console.go +++ b/vendor/github.com/openshift/api/operator/v1/types_console.go @@ -107,6 +107,9 @@ const ( // gettingStartedBanner is the name of the 'Getting started resources' banner in the console UI Overview page. GettingStartedBanner ConsoleCapabilityName = "GettingStartedBanner" + + // guidedTour is the name of the 'Guided Tour' feature in console UI. + GuidedTour ConsoleCapabilityName = "GuidedTour" ) // CapabilityState defines the state of the capability in the console UI. @@ -134,8 +137,8 @@ type CapabilityVisibility struct { // Capabilities contains set of UI capabilities and their state in the console UI. type Capability struct { // name is the unique name of a capability. - // Available capabilities are LightspeedButton and GettingStartedBanner. - // +kubebuilder:validation:Enum:="LightspeedButton";"GettingStartedBanner" + // Available capabilities are LightspeedButton, GettingStartedBanner, and GuidedTour. + // +kubebuilder:validation:Enum:="LightspeedButton";"GettingStartedBanner";"GuidedTour" // +required Name ConsoleCapabilityName `json:"name"` // visibility defines the visibility state of the capability. @@ -281,10 +284,10 @@ type ConsoleCustomization struct { // capabilities defines an array of capabilities that can be interacted with in the console UI. // Each capability defines a visual state that can be interacted with the console to render in the UI. - // Available capabilities are LightspeedButton and GettingStartedBanner. + // Available capabilities are LightspeedButton, GettingStartedBanner, and GuidedTour. // Each of the available capabilities may appear only once in the list. // +kubebuilder:validation:MinItems=1 - // +kubebuilder:validation:MaxItems=2 + // +kubebuilder:validation:MaxItems=3 // +listType=map // +listMapKey=name // +optional diff --git a/vendor/github.com/openshift/api/operator/v1/types_csi_cluster_driver.go b/vendor/github.com/openshift/api/operator/v1/types_csi_cluster_driver.go index 2799904482..53c71aabb6 100644 --- a/vendor/github.com/openshift/api/operator/v1/types_csi_cluster_driver.go +++ b/vendor/github.com/openshift/api/operator/v1/types_csi_cluster_driver.go @@ -81,7 +81,6 @@ const ( CinderCSIDriver CSIDriverName = "cinder.csi.openstack.org" VSphereCSIDriver CSIDriverName = "csi.vsphere.vmware.com" ManilaCSIDriver CSIDriverName = "manila.csi.openstack.org" - OvirtCSIDriver CSIDriverName = "csi.ovirt.org" KubevirtCSIDriver CSIDriverName = "csi.kubevirt.io" SharedResourcesCSIDriver CSIDriverName = "csi.sharedresource.openshift.io" AlibabaDiskCSIDriver CSIDriverName = "diskplugin.csi.alibabacloud.com" diff --git a/vendor/github.com/openshift/api/operator/v1/types_ingress.go b/vendor/github.com/openshift/api/operator/v1/types_ingress.go index 46b906518d..d54352f2ce 100644 --- a/vendor/github.com/openshift/api/operator/v1/types_ingress.go +++ b/vendor/github.com/openshift/api/operator/v1/types_ingress.go @@ -298,9 +298,9 @@ type IngressControllerSpec struct { // case HAProxy handles it in the old process and closes // the connection after sending the response. // - // - HAProxy's `timeout http-keep-alive` duration expires - // (300 seconds in OpenShift's configuration, not - // configurable). + // - HAProxy's `timeout http-keep-alive` duration expires. + // By default this is 300 seconds, but it can be changed + // using httpKeepAliveTimeout tuning option. // // - The client's keep-alive timeout expires, causing the // client to close the connection. @@ -344,6 +344,47 @@ type IngressControllerSpec struct { // +kubebuilder:default:="Immediate" // +default="Immediate" IdleConnectionTerminationPolicy IngressControllerConnectionTerminationPolicy `json:"idleConnectionTerminationPolicy,omitempty"` + + // closedClientConnectionPolicy controls how the IngressController + // behaves when the client closes the TCP connection while the TLS + // handshake or HTTP request is in progress. This option maps directly + // to HAProxy’s "abortonclose" option. + // + // Valid values are: "Abort" and "Continue". + // The default value is "Continue". + // + // When set to "Abort", the router will stop processing the TLS handshake + // if it is in progress, and it will not send an HTTP request to the backend server + // if the request has not yet been sent when the client closes the connection. + // + // When set to "Continue", the router will complete the TLS handshake + // if it is in progress, or send an HTTP request to the backend server + // and wait for the backend server's response, regardless of + // whether the client has closed the connection. + // + // Setting "Abort" can help free CPU resources otherwise spent on TLS computation + // for connections the client has already closed, and can reduce request queue + // size, thereby reducing the load on saturated backend servers. + // + // Important Considerations: + // + // - The default policy ("Continue") is HTTP-compliant, and requests + // for aborted client connections will still be served. + // Use the "Continue" policy to allow a client to send a request + // and then immediately close its side of the connection while + // still receiving a response on the half-closed connection. + // + // - When clients use keep-alive connections, the most common case for premature + // closure is when the user wants to cancel the transfer or when a timeout + // occurs. In that case, the "Abort" policy may be used to reduce resource consumption. + // + // - Using RSA keys larger than 2048 bits can significantly slow down + // TLS computations. Consider using the "Abort" policy to reduce CPU usage. + // + // +optional + // +kubebuilder:default:="Continue" + // +default="Continue" + ClosedClientConnectionPolicy IngressControllerClosedClientConnectionPolicy `json:"closedClientConnectionPolicy,omitempty"` } // httpCompressionPolicy turns on compression for the specified MIME types. @@ -1884,6 +1925,36 @@ type IngressControllerTuningOptions struct { // +optional ConnectTimeout *metav1.Duration `json:"connectTimeout,omitempty"` + // httpKeepAliveTimeout defines the maximum allowed time to wait for + // a new HTTP request to appear on a connection from the client to the router. + // + // This field expects an unsigned duration string of a decimal number, with optional + // fraction and a unit suffix, e.g. "300ms", "1.5s" or "2m45s". + // Valid time units are "ms", "s", "m". + // The allowed range is from 1 millisecond to 15 minutes. + // + // When omitted, this means the user has no opinion and the platform is left + // to choose a reasonable default. This default is subject to change over time. + // The current default is 300s. + // + // Low values (tens of milliseconds or less) can cause clients to close and reopen connections + // for each request, leading to reduced connection sharing. + // For HTTP/2, special care should be taken with low values. + // A few seconds is a reasonable starting point to avoid holding idle connections open + // while still allowing subsequent requests to reuse the connection. + // + // High values (minutes or more) favor connection reuse but may cause idle + // connections to linger longer. + // + // +kubebuilder:validation:Type:=string + // +kubebuilder:validation:XValidation:rule="self.matches('^([0-9]+(\\\\.[0-9]+)?(ms|s|m))+$')",message="httpKeepAliveTimeout must be a valid duration string composed of an unsigned integer value, optionally followed by a decimal fraction and a unit suffix (ms, s, m)" + // +kubebuilder:validation:XValidation:rule="!self.matches('^([0-9]+(\\\\.[0-9]+)?(ms|s|m))+$') || duration(self) <= duration('15m')",message="httpKeepAliveTimeout must be less than or equal to 15 minutes" + // +kubebuilder:validation:XValidation:rule="!self.matches('^([0-9]+(\\\\.[0-9]+)?(ms|s|m))+$') || duration(self) >= duration('1ms')",message="httpKeepAliveTimeout must be greater than or equal to 1 millisecond" + // +kubebuilder:validation:MinLength=1 + // +kubebuilder:validation:MaxLength=16 + // +optional + HTTPKeepAliveTimeout *metav1.Duration `json:"httpKeepAliveTimeout,omitempty"` + // tlsInspectDelay defines how long the router can hold data to find a // matching route. // @@ -2140,3 +2211,34 @@ const ( // connection. IngressControllerConnectionTerminationPolicyDeferred IngressControllerConnectionTerminationPolicy = "Deferred" ) + +// IngressControllerClosedClientConnectionPolicy controls how the IngressController +// behaves when the client closes the TCP connection while the TLS +// handshake or HTTP request is in progress. +// +// +kubebuilder:validation:Enum=Abort;Continue +type IngressControllerClosedClientConnectionPolicy string + +const ( + // IngressControllerClosedClientConnectionPolicyAbort aborts processing early when the client + // closes the connection. + // + // This affects two types of processing: TLS handshake computation on the router + // and request handling. + // + // When the client closes the connection, the router will stop processing + // the TLS handshake, preventing unnecessary CPU work. + // + // If the HTTP request has not yet been sent to the backend, it will be aborted. + // If the request is already being processed by the backend, the router will + // half-close the connection to signal this condition to the backend server, + // which can then decide how to proceed. + IngressControllerClosedClientConnectionPolicyAbort IngressControllerClosedClientConnectionPolicy = "Abort" + + // IngressControllerClosedClientConnectionPolicyContinue continues processing even if the client + // closes the connection. + // + // The router will complete the TLS handshake and wait for the backend + // server's response regardless of the client having closed the connection. + IngressControllerClosedClientConnectionPolicyContinue IngressControllerClosedClientConnectionPolicy = "Continue" +) diff --git a/vendor/github.com/openshift/api/operator/v1/types_machineconfiguration.go b/vendor/github.com/openshift/api/operator/v1/types_machineconfiguration.go index c6bcd22bc0..f5836af0f8 100644 --- a/vendor/github.com/openshift/api/operator/v1/types_machineconfiguration.go +++ b/vendor/github.com/openshift/api/operator/v1/types_machineconfiguration.go @@ -18,7 +18,8 @@ import ( // Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). // +openshift:compatibility-gen:level=1 // +openshift:validation:FeatureGateAwareXValidation:featureGate=BootImageSkewEnforcement,rule="self.?status.bootImageSkewEnforcementStatus.mode.orValue(\"\") == 'Automatic' ? self.?spec.managedBootImages.hasValue() || self.?status.managedBootImagesStatus.hasValue() : true",message="when skew enforcement is in Automatic mode, a boot image configuration is required" -// +openshift:validation:FeatureGateAwareXValidation:featureGate=BootImageSkewEnforcement,rule="self.?status.bootImageSkewEnforcementStatus.mode.orValue(\"\") == 'Automatic' ? !(self.?spec.managedBootImages.machineManagers.hasValue()) || self.spec.managedBootImages.machineManagers.exists(m, m.selection.mode == 'All' && m.resource == 'machinesets' && m.apiGroup == 'machine.openshift.io') : true",message="when skew enforcement is in Automatic mode, managedBootImages must contain a MachineManager opting in all MachineAPI MachineSets" +// +openshift:validation:FeatureGateAwareXValidation:featureGate=BootImageSkewEnforcement,rule="self.?status.bootImageSkewEnforcementStatus.mode.orValue(\"\") == 'Automatic' ? !(self.?spec.managedBootImages.machineManagers.hasValue()) || size(self.spec.managedBootImages.machineManagers) > 0 : true",message="when skew enforcement is in Automatic mode, managedBootImages.machineManagers must not be an empty list" +// +openshift:validation:FeatureGateAwareXValidation:featureGate=BootImageSkewEnforcement,rule="self.?status.bootImageSkewEnforcementStatus.mode.orValue(\"\") == 'Automatic' ? !(self.?spec.managedBootImages.machineManagers.hasValue()) || !self.spec.managedBootImages.machineManagers.exists(m, m.resource == 'machinesets' && m.apiGroup == 'machine.openshift.io') || self.spec.managedBootImages.machineManagers.exists(m, m.resource == 'machinesets' && m.apiGroup == 'machine.openshift.io' && m.selection.mode == 'All') : true",message="when skew enforcement is in Automatic mode, any MachineAPI MachineSet MachineManager must use selection mode 'All'" // +openshift:validation:FeatureGateAwareXValidation:featureGate=BootImageSkewEnforcement,rule="self.?status.bootImageSkewEnforcementStatus.mode.orValue(\"\") == 'Automatic' ? !(self.?status.managedBootImagesStatus.machineManagers.hasValue()) || self.status.managedBootImagesStatus.machineManagers.exists(m, m.selection.mode == 'All' && m.resource == 'machinesets' && m.apiGroup == 'machine.openshift.io'): true",message="when skew enforcement is in Automatic mode, managedBootImagesStatus must contain a MachineManager opting in all MachineAPI MachineSets" type MachineConfiguration struct { metav1.TypeMeta `json:",inline"` diff --git a/vendor/github.com/openshift/api/operator/v1/types_network.go b/vendor/github.com/openshift/api/operator/v1/types_network.go index 111240eecf..1cf56f549b 100644 --- a/vendor/github.com/openshift/api/operator/v1/types_network.go +++ b/vendor/github.com/openshift/api/operator/v1/types_network.go @@ -54,7 +54,7 @@ type NetworkList struct { // NetworkSpec is the top-level network configuration object. // +kubebuilder:validation:XValidation:rule="!has(self.defaultNetwork) || !has(self.defaultNetwork.ovnKubernetesConfig) || !has(self.defaultNetwork.ovnKubernetesConfig.gatewayConfig) || !has(self.defaultNetwork.ovnKubernetesConfig.gatewayConfig.ipForwarding) || self.defaultNetwork.ovnKubernetesConfig.gatewayConfig.ipForwarding == oldSelf.defaultNetwork.ovnKubernetesConfig.gatewayConfig.ipForwarding || self.defaultNetwork.ovnKubernetesConfig.gatewayConfig.ipForwarding == 'Restricted' || self.defaultNetwork.ovnKubernetesConfig.gatewayConfig.ipForwarding == 'Global'",message="invalid value for IPForwarding, valid values are 'Restricted' or 'Global'" -// +openshift:validation:FeatureGateAwareXValidation:featureGate=RouteAdvertisements,rule="(has(self.additionalRoutingCapabilities) && ('FRR' in self.additionalRoutingCapabilities.providers)) || !has(self.defaultNetwork) || !has(self.defaultNetwork.ovnKubernetesConfig) || !has(self.defaultNetwork.ovnKubernetesConfig.routeAdvertisements) || self.defaultNetwork.ovnKubernetesConfig.routeAdvertisements != 'Enabled'",message="Route advertisements cannot be Enabled if 'FRR' routing capability provider is not available" +// +kubebuilder:validation:XValidation:rule="(has(self.additionalRoutingCapabilities) && ('FRR' in self.additionalRoutingCapabilities.providers)) || !has(self.defaultNetwork) || !has(self.defaultNetwork.ovnKubernetesConfig) || !has(self.defaultNetwork.ovnKubernetesConfig.routeAdvertisements) || self.defaultNetwork.ovnKubernetesConfig.routeAdvertisements != 'Enabled'",message="Route advertisements cannot be Enabled if 'FRR' routing capability provider is not available" type NetworkSpec struct { OperatorSpec `json:",inline"` @@ -136,7 +136,6 @@ type NetworkSpec struct { // capabilities acquired through the enablement of these components but may // require specific configuration on their side to do so; refer to their // respective documentation and configuration options. - // +openshift:enable:FeatureGate=AdditionalRoutingCapabilities // +optional AdditionalRoutingCapabilities *AdditionalRoutingCapabilities `json:"additionalRoutingCapabilities,omitempty"` } @@ -157,7 +156,7 @@ const ( ) // NetworkMigration represents the cluster network migration configuration. -// +openshift:validation:FeatureGateAwareXValidation:featureGate=NetworkLiveMigration,rule="!has(self.mtu) || !has(self.networkType) || self.networkType == \"\" || has(self.mode) && self.mode == 'Live'",message="networkType migration in mode other than 'Live' may not be configured at the same time as mtu migration" +// +kubebuilder:validation:XValidation:rule="!has(self.mtu) || !has(self.networkType) || self.networkType == \"\" || has(self.mode) && self.mode == 'Live'",message="networkType migration in mode other than 'Live' may not be configured at the same time as mtu migration" type NetworkMigration struct { // mtu contains the MTU migration configuration. Set this to allow changing // the MTU values for the default network. If unset, the operation of @@ -465,7 +464,6 @@ type OVNKubernetesConfig struct { // means the user has no opinion and the platform is left to choose // reasonable defaults. These defaults are subject to change over time. The // current default is "Disabled". - // +openshift:enable:FeatureGate=RouteAdvertisements // +optional RouteAdvertisements RouteAdvertisementsEnablement `json:"routeAdvertisements,omitempty"` } diff --git a/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_12_etcd_01_etcds-OKD.crd.yaml b/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_12_etcd_01_etcds-OKD.crd.yaml new file mode 100644 index 0000000000..b1ad9fc093 --- /dev/null +++ b/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_12_etcd_01_etcds-OKD.crd.yaml @@ -0,0 +1,331 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + api-approved.openshift.io: https://github.com/openshift/api/pull/752 + api.openshift.io/merged-by-featuregates: "true" + include.release.openshift.io/ibm-cloud-managed: "true" + include.release.openshift.io/self-managed-high-availability: "true" + release.openshift.io/feature-set: OKD + name: etcds.operator.openshift.io +spec: + group: operator.openshift.io + names: + categories: + - coreoperators + kind: Etcd + listKind: EtcdList + plural: etcds + singular: etcd + scope: Cluster + versions: + - name: v1 + schema: + openAPIV3Schema: + description: |- + Etcd provides information to configure an operator to manage etcd. + + Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + properties: + controlPlaneHardwareSpeed: + description: "HardwareSpeed allows user to change the etcd tuning + profile which configures\nthe latency parameters for heartbeat interval + and leader election timeouts\nallowing the cluster to tolerate longer + round-trip-times between etcd members.\nValid values are \"\", \"Standard\" + and \"Slower\".\n\t\"\" means no opinion and the platform is left + to choose a reasonable default\n\twhich is subject to change without + notice." + enum: + - "" + - Standard + - Slower + type: string + failedRevisionLimit: + description: |- + failedRevisionLimit is the number of failed static pod installer revisions to keep on disk and in the api + -1 = unlimited, 0 or unset = 5 (default) + format: int32 + type: integer + forceRedeploymentReason: + description: |- + forceRedeploymentReason can be used to force the redeployment of the operand by providing a unique string. + This provides a mechanism to kick a previously failed deployment and provide a reason why you think it will work + this time instead of failing again on the same config. + type: string + logLevel: + default: Normal + description: |- + logLevel is an intent based logging for an overall component. It does not give fine grained control, but it is a + simple way to manage coarse grained logging choices that operators have to interpret for their operands. + + Valid values are: "Normal", "Debug", "Trace", "TraceAll". + Defaults to "Normal". + enum: + - "" + - Normal + - Debug + - Trace + - TraceAll + type: string + managementState: + description: managementState indicates whether and how the operator + should manage the component + pattern: ^(Managed|Unmanaged|Force|Removed)$ + type: string + observedConfig: + description: |- + observedConfig holds a sparse config that controller has observed from the cluster state. It exists in spec because + it is an input to the level for the operator + nullable: true + type: object + x-kubernetes-preserve-unknown-fields: true + operatorLogLevel: + default: Normal + description: |- + operatorLogLevel is an intent based logging for the operator itself. It does not give fine grained control, but it is a + simple way to manage coarse grained logging choices that operators have to interpret for themselves. + + Valid values are: "Normal", "Debug", "Trace", "TraceAll". + Defaults to "Normal". + enum: + - "" + - Normal + - Debug + - Trace + - TraceAll + type: string + succeededRevisionLimit: + description: |- + succeededRevisionLimit is the number of successful static pod installer revisions to keep on disk and in the api + -1 = unlimited, 0 or unset = 5 (default) + format: int32 + type: integer + unsupportedConfigOverrides: + description: |- + unsupportedConfigOverrides overrides the final configuration that was computed by the operator. + Red Hat does not support the use of this field. + Misuse of this field could lead to unexpected behavior or conflict with other configuration options. + Seek guidance from the Red Hat support before using this field. + Use of this property blocks cluster upgrades, it must be removed before upgrading your cluster. + nullable: true + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + status: + properties: + conditions: + description: conditions is a list of conditions and their status + items: + description: OperatorCondition is just the standard condition fields. + properties: + lastTransitionTime: + description: |- + lastTransitionTime is the last time the condition transitioned from one status to another. + This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. + format: date-time + type: string + message: + type: string + reason: + type: string + status: + description: status of the condition, one of True, False, Unknown. + enum: + - "True" + - "False" + - Unknown + type: string + type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. + maxLength: 316 + pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$ + type: string + required: + - lastTransitionTime + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + controlPlaneHardwareSpeed: + description: ControlPlaneHardwareSpeed declares valid hardware speed + tolerance levels + enum: + - "" + - Standard + - Slower + type: string + generations: + description: generations are used to determine when an item needs + to be reconciled or has changed in a way that needs a reaction. + items: + description: GenerationStatus keeps track of the generation for + a given resource so that decisions about forced updates can be + made. + properties: + group: + description: group is the group of the thing you're tracking + type: string + hash: + description: hash is an optional field set for resources without + generation that are content sensitive like secrets and configmaps + type: string + lastGeneration: + description: lastGeneration is the last generation of the workload + controller involved + format: int64 + type: integer + name: + description: name is the name of the thing you're tracking + type: string + namespace: + description: namespace is where the thing you're tracking is + type: string + resource: + description: resource is the resource type of the thing you're + tracking + type: string + required: + - group + - name + - namespace + - resource + type: object + type: array + x-kubernetes-list-map-keys: + - group + - resource + - namespace + - name + x-kubernetes-list-type: map + latestAvailableRevision: + description: latestAvailableRevision is the deploymentID of the most + recent deployment + format: int32 + type: integer + x-kubernetes-validations: + - message: must only increase + rule: self >= oldSelf + latestAvailableRevisionReason: + description: latestAvailableRevisionReason describe the detailed reason + for the most recent deployment + type: string + nodeStatuses: + description: nodeStatuses track the deployment values and errors across + individual nodes + items: + description: NodeStatus provides information about the current state + of a particular node managed by this operator. + properties: + currentRevision: + description: |- + currentRevision is the generation of the most recently successful deployment. + Can not be set on creation of a nodeStatus. Updates must only increase the value. + format: int32 + type: integer + x-kubernetes-validations: + - message: must only increase + rule: self >= oldSelf + lastFailedCount: + description: lastFailedCount is how often the installer pod + of the last failed revision failed. + type: integer + lastFailedReason: + description: lastFailedReason is a machine readable failure + reason string. + type: string + lastFailedRevision: + description: lastFailedRevision is the generation of the deployment + we tried and failed to deploy. + format: int32 + type: integer + lastFailedRevisionErrors: + description: lastFailedRevisionErrors is a list of human readable + errors during the failed deployment referenced in lastFailedRevision. + items: + type: string + type: array + x-kubernetes-list-type: atomic + lastFailedTime: + description: lastFailedTime is the time the last failed revision + failed the last time. + format: date-time + type: string + lastFallbackCount: + description: lastFallbackCount is how often a fallback to a + previous revision happened. + type: integer + nodeName: + description: nodeName is the name of the node + type: string + targetRevision: + description: |- + targetRevision is the generation of the deployment we're trying to apply. + Can not be set on creation of a nodeStatus. + format: int32 + type: integer + required: + - nodeName + type: object + x-kubernetes-validations: + - fieldPath: .currentRevision + message: cannot be unset once set + rule: has(self.currentRevision) || !has(oldSelf.currentRevision) + - fieldPath: .currentRevision + message: currentRevision can not be set on creation of a nodeStatus + optionalOldSelf: true + rule: oldSelf.hasValue() || !has(self.currentRevision) + - fieldPath: .targetRevision + message: targetRevision can not be set on creation of a nodeStatus + optionalOldSelf: true + rule: oldSelf.hasValue() || !has(self.targetRevision) + type: array + x-kubernetes-list-map-keys: + - nodeName + x-kubernetes-list-type: map + x-kubernetes-validations: + - message: no more than 1 node status may have a nonzero targetRevision + rule: size(self.filter(status, status.?targetRevision.orValue(0) + != 0)) <= 1 + observedGeneration: + description: observedGeneration is the last generation change you've + dealt with + format: int64 + type: integer + readyReplicas: + description: readyReplicas indicates how many replicas are ready and + at the desired state + format: int32 + type: integer + version: + description: version is the level this availability applies to + type: string + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} diff --git a/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_20_kube-apiserver_01_kubeapiservers-OKD.crd.yaml b/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_20_kube-apiserver_01_kubeapiservers-OKD.crd.yaml new file mode 100644 index 0000000000..ac96531975 --- /dev/null +++ b/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_20_kube-apiserver_01_kubeapiservers-OKD.crd.yaml @@ -0,0 +1,335 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + api-approved.openshift.io: https://github.com/openshift/api/pull/475 + api.openshift.io/merged-by-featuregates: "true" + include.release.openshift.io/ibm-cloud-managed: "true" + include.release.openshift.io/self-managed-high-availability: "true" + release.openshift.io/feature-set: OKD + name: kubeapiservers.operator.openshift.io +spec: + group: operator.openshift.io + names: + categories: + - coreoperators + kind: KubeAPIServer + listKind: KubeAPIServerList + plural: kubeapiservers + singular: kubeapiserver + scope: Cluster + versions: + - name: v1 + schema: + openAPIV3Schema: + description: |- + KubeAPIServer provides information to configure an operator to manage kube-apiserver. + + Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: spec is the specification of the desired behavior of the + Kubernetes API Server + properties: + failedRevisionLimit: + description: |- + failedRevisionLimit is the number of failed static pod installer revisions to keep on disk and in the api + -1 = unlimited, 0 or unset = 5 (default) + format: int32 + type: integer + forceRedeploymentReason: + description: |- + forceRedeploymentReason can be used to force the redeployment of the operand by providing a unique string. + This provides a mechanism to kick a previously failed deployment and provide a reason why you think it will work + this time instead of failing again on the same config. + type: string + logLevel: + default: Normal + description: |- + logLevel is an intent based logging for an overall component. It does not give fine grained control, but it is a + simple way to manage coarse grained logging choices that operators have to interpret for their operands. + + Valid values are: "Normal", "Debug", "Trace", "TraceAll". + Defaults to "Normal". + enum: + - "" + - Normal + - Debug + - Trace + - TraceAll + type: string + managementState: + description: managementState indicates whether and how the operator + should manage the component + pattern: ^(Managed|Force)$ + type: string + observedConfig: + description: |- + observedConfig holds a sparse config that controller has observed from the cluster state. It exists in spec because + it is an input to the level for the operator + nullable: true + type: object + x-kubernetes-preserve-unknown-fields: true + operatorLogLevel: + default: Normal + description: |- + operatorLogLevel is an intent based logging for the operator itself. It does not give fine grained control, but it is a + simple way to manage coarse grained logging choices that operators have to interpret for themselves. + + Valid values are: "Normal", "Debug", "Trace", "TraceAll". + Defaults to "Normal". + enum: + - "" + - Normal + - Debug + - Trace + - TraceAll + type: string + succeededRevisionLimit: + description: |- + succeededRevisionLimit is the number of successful static pod installer revisions to keep on disk and in the api + -1 = unlimited, 0 or unset = 5 (default) + format: int32 + type: integer + unsupportedConfigOverrides: + description: |- + unsupportedConfigOverrides overrides the final configuration that was computed by the operator. + Red Hat does not support the use of this field. + Misuse of this field could lead to unexpected behavior or conflict with other configuration options. + Seek guidance from the Red Hat support before using this field. + Use of this property blocks cluster upgrades, it must be removed before upgrading your cluster. + nullable: true + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + status: + description: status is the most recently observed status of the Kubernetes + API Server + properties: + conditions: + description: conditions is a list of conditions and their status + items: + description: OperatorCondition is just the standard condition fields. + properties: + lastTransitionTime: + description: |- + lastTransitionTime is the last time the condition transitioned from one status to another. + This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. + format: date-time + type: string + message: + type: string + reason: + type: string + status: + description: status of the condition, one of True, False, Unknown. + enum: + - "True" + - "False" + - Unknown + type: string + type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. + maxLength: 316 + pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$ + type: string + required: + - lastTransitionTime + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + generations: + description: generations are used to determine when an item needs + to be reconciled or has changed in a way that needs a reaction. + items: + description: GenerationStatus keeps track of the generation for + a given resource so that decisions about forced updates can be + made. + properties: + group: + description: group is the group of the thing you're tracking + type: string + hash: + description: hash is an optional field set for resources without + generation that are content sensitive like secrets and configmaps + type: string + lastGeneration: + description: lastGeneration is the last generation of the workload + controller involved + format: int64 + type: integer + name: + description: name is the name of the thing you're tracking + type: string + namespace: + description: namespace is where the thing you're tracking is + type: string + resource: + description: resource is the resource type of the thing you're + tracking + type: string + required: + - group + - name + - namespace + - resource + type: object + type: array + x-kubernetes-list-map-keys: + - group + - resource + - namespace + - name + x-kubernetes-list-type: map + latestAvailableRevision: + description: latestAvailableRevision is the deploymentID of the most + recent deployment + format: int32 + type: integer + x-kubernetes-validations: + - message: must only increase + rule: self >= oldSelf + latestAvailableRevisionReason: + description: latestAvailableRevisionReason describe the detailed reason + for the most recent deployment + type: string + nodeStatuses: + description: nodeStatuses track the deployment values and errors across + individual nodes + items: + description: NodeStatus provides information about the current state + of a particular node managed by this operator. + properties: + currentRevision: + description: |- + currentRevision is the generation of the most recently successful deployment. + Can not be set on creation of a nodeStatus. Updates must only increase the value. + format: int32 + type: integer + x-kubernetes-validations: + - message: must only increase + rule: self >= oldSelf + lastFailedCount: + description: lastFailedCount is how often the installer pod + of the last failed revision failed. + type: integer + lastFailedReason: + description: lastFailedReason is a machine readable failure + reason string. + type: string + lastFailedRevision: + description: lastFailedRevision is the generation of the deployment + we tried and failed to deploy. + format: int32 + type: integer + lastFailedRevisionErrors: + description: lastFailedRevisionErrors is a list of human readable + errors during the failed deployment referenced in lastFailedRevision. + items: + type: string + type: array + x-kubernetes-list-type: atomic + lastFailedTime: + description: lastFailedTime is the time the last failed revision + failed the last time. + format: date-time + type: string + lastFallbackCount: + description: lastFallbackCount is how often a fallback to a + previous revision happened. + type: integer + nodeName: + description: nodeName is the name of the node + type: string + targetRevision: + description: |- + targetRevision is the generation of the deployment we're trying to apply. + Can not be set on creation of a nodeStatus. + format: int32 + type: integer + required: + - nodeName + type: object + x-kubernetes-validations: + - fieldPath: .currentRevision + message: cannot be unset once set + rule: has(self.currentRevision) || !has(oldSelf.currentRevision) + - fieldPath: .currentRevision + message: currentRevision can not be set on creation of a nodeStatus + optionalOldSelf: true + rule: oldSelf.hasValue() || !has(self.currentRevision) + - fieldPath: .targetRevision + message: targetRevision can not be set on creation of a nodeStatus + optionalOldSelf: true + rule: oldSelf.hasValue() || !has(self.targetRevision) + type: array + x-kubernetes-list-map-keys: + - nodeName + x-kubernetes-list-type: map + x-kubernetes-validations: + - message: no more than 1 node status may have a nonzero targetRevision + rule: size(self.filter(status, status.?targetRevision.orValue(0) + != 0)) <= 1 + observedGeneration: + description: observedGeneration is the last generation change you've + dealt with + format: int64 + type: integer + readyReplicas: + description: readyReplicas indicates how many replicas are ready and + at the desired state + format: int32 + type: integer + serviceAccountIssuers: + description: |- + serviceAccountIssuers tracks history of used service account issuers. + The item without expiration time represents the currently used service account issuer. + The other items represents service account issuers that were used previously and are still being trusted. + The default expiration for the items is set by the platform and it defaults to 24h. + see: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#service-account-token-volume-projection + items: + properties: + expirationTime: + description: |- + expirationTime is the time after which this service account issuer will be pruned and removed from the trusted list + of service account issuers. + format: date-time + type: string + name: + description: name is the name of the service account issuer + type: string + type: object + type: array + x-kubernetes-list-type: atomic + version: + description: version is the level this availability applies to + type: string + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} diff --git a/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_50_console_01_consoles.crd.yaml b/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_50_console_01_consoles.crd.yaml index a18cf575ea..f6f31fb401 100644 --- a/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_50_console_01_consoles.crd.yaml +++ b/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_50_console_01_consoles.crd.yaml @@ -88,7 +88,7 @@ spec: description: |- capabilities defines an array of capabilities that can be interacted with in the console UI. Each capability defines a visual state that can be interacted with the console to render in the UI. - Available capabilities are LightspeedButton and GettingStartedBanner. + Available capabilities are LightspeedButton, GettingStartedBanner, and GuidedTour. Each of the available capabilities may appear only once in the list. items: description: Capabilities contains set of UI capabilities and @@ -97,10 +97,11 @@ spec: name: description: |- name is the unique name of a capability. - Available capabilities are LightspeedButton and GettingStartedBanner. + Available capabilities are LightspeedButton, GettingStartedBanner, and GuidedTour. enum: - LightspeedButton - GettingStartedBanner + - GuidedTour type: string visibility: description: visibility defines the visibility state of @@ -122,7 +123,7 @@ spec: - name - visibility type: object - maxItems: 2 + maxItems: 3 minItems: 1 type: array x-kubernetes-list-map-keys: diff --git a/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_50_csi-driver_01_clustercsidrivers-CustomNoUpgrade.crd.yaml b/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_50_csi-driver_01_clustercsidrivers-CustomNoUpgrade.crd.yaml index 8e2ab77f10..45486c2700 100644 --- a/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_50_csi-driver_01_clustercsidrivers-CustomNoUpgrade.crd.yaml +++ b/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_50_csi-driver_01_clustercsidrivers-CustomNoUpgrade.crd.yaml @@ -55,7 +55,6 @@ spec: - cinder.csi.openstack.org - csi.vsphere.vmware.com - manila.csi.openstack.org - - csi.ovirt.org - csi.kubevirt.io - csi.sharedresource.openshift.io - diskplugin.csi.alibabacloud.com diff --git a/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_50_csi-driver_01_clustercsidrivers-Default.crd.yaml b/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_50_csi-driver_01_clustercsidrivers-Default.crd.yaml index daf1f8abdb..1b64e9e9a1 100644 --- a/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_50_csi-driver_01_clustercsidrivers-Default.crd.yaml +++ b/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_50_csi-driver_01_clustercsidrivers-Default.crd.yaml @@ -55,7 +55,6 @@ spec: - cinder.csi.openstack.org - csi.vsphere.vmware.com - manila.csi.openstack.org - - csi.ovirt.org - csi.kubevirt.io - csi.sharedresource.openshift.io - diskplugin.csi.alibabacloud.com diff --git a/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_50_csi-driver_01_clustercsidrivers-DevPreviewNoUpgrade.crd.yaml b/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_50_csi-driver_01_clustercsidrivers-DevPreviewNoUpgrade.crd.yaml index e8766002d4..7029b1bde6 100644 --- a/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_50_csi-driver_01_clustercsidrivers-DevPreviewNoUpgrade.crd.yaml +++ b/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_50_csi-driver_01_clustercsidrivers-DevPreviewNoUpgrade.crd.yaml @@ -55,7 +55,6 @@ spec: - cinder.csi.openstack.org - csi.vsphere.vmware.com - manila.csi.openstack.org - - csi.ovirt.org - csi.kubevirt.io - csi.sharedresource.openshift.io - diskplugin.csi.alibabacloud.com diff --git a/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_50_csi-driver_01_clustercsidrivers-OKD.crd.yaml b/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_50_csi-driver_01_clustercsidrivers-OKD.crd.yaml new file mode 100644 index 0000000000..04758b7a19 --- /dev/null +++ b/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_50_csi-driver_01_clustercsidrivers-OKD.crd.yaml @@ -0,0 +1,488 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + api-approved.openshift.io: https://github.com/openshift/api/pull/701 + api.openshift.io/merged-by-featuregates: "true" + include.release.openshift.io/ibm-cloud-managed: "true" + include.release.openshift.io/self-managed-high-availability: "true" + release.openshift.io/feature-set: OKD + name: clustercsidrivers.operator.openshift.io +spec: + group: operator.openshift.io + names: + kind: ClusterCSIDriver + listKind: ClusterCSIDriverList + plural: clustercsidrivers + singular: clustercsidriver + scope: Cluster + versions: + - name: v1 + schema: + openAPIV3Schema: + description: |- + ClusterCSIDriver object allows management and configuration of a CSI driver operator + installed by default in OpenShift. Name of the object must be name of the CSI driver + it operates. See CSIDriverName type for list of allowed values. + + Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + properties: + name: + enum: + - ebs.csi.aws.com + - efs.csi.aws.com + - disk.csi.azure.com + - file.csi.azure.com + - filestore.csi.storage.gke.io + - pd.csi.storage.gke.io + - cinder.csi.openstack.org + - csi.vsphere.vmware.com + - manila.csi.openstack.org + - csi.kubevirt.io + - csi.sharedresource.openshift.io + - diskplugin.csi.alibabacloud.com + - vpc.block.csi.ibm.io + - powervs.csi.ibm.com + - secrets-store.csi.k8s.io + - smb.csi.k8s.io + type: string + type: object + spec: + description: spec holds user settable values for configuration + properties: + driverConfig: + description: |- + driverConfig can be used to specify platform specific driver configuration. + When omitted, this means no opinion and the platform is left to choose reasonable + defaults. These defaults are subject to change over time. + properties: + aws: + description: aws is used to configure the AWS CSI driver. + properties: + efsVolumeMetrics: + description: efsVolumeMetrics sets the configuration for collecting + metrics from EFS volumes used by the EFS CSI Driver. + properties: + recursiveWalk: + description: |- + recursiveWalk provides additional configuration for collecting volume metrics in the AWS EFS CSI Driver + when the state is set to RecursiveWalk. + properties: + fsRateLimit: + description: |- + fsRateLimit defines the rate limit, in goroutines per file system, for processing volume metrics. + When omitted, this means no opinion and the platform is left to choose a reasonable + default, which is subject to change over time. The current default is 5. + The valid range is from 1 to 100 goroutines. + format: int32 + maximum: 100 + minimum: 1 + type: integer + refreshPeriodMinutes: + description: |- + refreshPeriodMinutes specifies the frequency, in minutes, at which volume metrics are refreshed. + When omitted, this means no opinion and the platform is left to choose a reasonable + default, which is subject to change over time. The current default is 240. + The valid range is from 1 to 43200 minutes (30 days). + format: int32 + maximum: 43200 + minimum: 1 + type: integer + type: object + state: + description: |- + state defines the state of metric collection in the AWS EFS CSI Driver. + This field is required and must be set to one of the following values: Disabled or RecursiveWalk. + Disabled means no metrics collection will be performed. This is the default value. + RecursiveWalk means the AWS EFS CSI Driver will recursively scan volumes to collect metrics. + This process may result in high CPU and memory usage, depending on the volume size. + enum: + - RecursiveWalk + - Disabled + type: string + required: + - state + type: object + kmsKeyARN: + description: |- + kmsKeyARN sets the cluster default storage class to encrypt volumes with a user-defined KMS key, + rather than the default KMS key used by AWS. + The value may be either the ARN or Alias ARN of a KMS key. + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f):kms:[a-z0-9-]+:[0-9]{12}:(key|alias)\/.*$ + type: string + type: object + azure: + description: azure is used to configure the Azure CSI driver. + properties: + diskEncryptionSet: + description: |- + diskEncryptionSet sets the cluster default storage class to encrypt volumes with a + customer-managed encryption set, rather than the default platform-managed keys. + properties: + name: + description: |- + name is the name of the disk encryption set that will be set on the default storage class. + The value should consist of only alphanumberic characters, + underscores (_), hyphens, and be at most 80 characters in length. + maxLength: 80 + pattern: ^[a-zA-Z0-9\_-]+$ + type: string + resourceGroup: + description: |- + resourceGroup defines the Azure resource group that contains the disk encryption set. + The value should consist of only alphanumberic characters, + underscores (_), parentheses, hyphens and periods. + The value should not end in a period and be at most 90 characters in + length. + maxLength: 90 + pattern: ^[\w\.\-\(\)]*[\w\-\(\)]$ + type: string + subscriptionID: + description: |- + subscriptionID defines the Azure subscription that contains the disk encryption set. + The value should meet the following conditions: + 1. It should be a 128-bit number. + 2. It should be 36 characters (32 hexadecimal characters and 4 hyphens) long. + 3. It should be displayed in five groups separated by hyphens (-). + 4. The first group should be 8 characters long. + 5. The second, third, and fourth groups should be 4 characters long. + 6. The fifth group should be 12 characters long. + An Example SubscrionID: f2007bbf-f802-4a47-9336-cf7c6b89b378 + maxLength: 36 + pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$ + type: string + required: + - name + - resourceGroup + - subscriptionID + type: object + type: object + driverType: + description: |- + driverType indicates type of CSI driver for which the + driverConfig is being applied to. + Valid values are: AWS, Azure, GCP, IBMCloud, vSphere and omitted. + Consumers should treat unknown values as a NO-OP. + enum: + - "" + - AWS + - Azure + - GCP + - IBMCloud + - vSphere + type: string + gcp: + description: gcp is used to configure the GCP CSI driver. + properties: + kmsKey: + description: |- + kmsKey sets the cluster default storage class to encrypt volumes with customer-supplied + encryption keys, rather than the default keys managed by GCP. + properties: + keyRing: + description: |- + keyRing is the name of the KMS Key Ring which the KMS Key belongs to. + The value should correspond to an existing KMS key ring and should + consist of only alphanumeric characters, hyphens (-) and underscores (_), + and be at most 63 characters in length. + maxLength: 63 + minLength: 1 + pattern: ^[a-zA-Z0-9\_-]+$ + type: string + location: + description: |- + location is the GCP location in which the Key Ring exists. + The value must match an existing GCP location, or "global". + Defaults to global, if not set. + pattern: ^[a-zA-Z0-9\_-]+$ + type: string + name: + description: |- + name is the name of the customer-managed encryption key to be used for disk encryption. + The value should correspond to an existing KMS key and should + consist of only alphanumeric characters, hyphens (-) and underscores (_), + and be at most 63 characters in length. + maxLength: 63 + minLength: 1 + pattern: ^[a-zA-Z0-9\_-]+$ + type: string + projectID: + description: |- + projectID is the ID of the Project in which the KMS Key Ring exists. + It must be 6 to 30 lowercase letters, digits, or hyphens. + It must start with a letter. Trailing hyphens are prohibited. + maxLength: 30 + minLength: 6 + pattern: ^[a-z][a-z0-9-]+[a-z0-9]$ + type: string + required: + - keyRing + - name + - projectID + type: object + type: object + ibmcloud: + description: ibmcloud is used to configure the IBM Cloud CSI driver. + properties: + encryptionKeyCRN: + description: |- + encryptionKeyCRN is the IBM Cloud CRN of the customer-managed root key to use + for disk encryption of volumes for the default storage classes. + maxLength: 154 + minLength: 144 + pattern: ^crn:v[0-9]+:bluemix:(public|private):(kms|hs-crypto):[a-z-]+:a/[0-9a-f]+:[0-9a-f-]{36}:key:[0-9a-f-]{36}$ + type: string + required: + - encryptionKeyCRN + type: object + vSphere: + description: vSphere is used to configure the vsphere CSI driver. + properties: + globalMaxSnapshotsPerBlockVolume: + description: |- + globalMaxSnapshotsPerBlockVolume is a global configuration parameter that applies to volumes on all kinds of + datastores. If omitted, the platform chooses a default, which is subject to change over time, currently that default is 3. + Snapshots can not be disabled using this parameter. + Increasing number of snapshots above 3 can have negative impact on performance, for more details see: https://kb.vmware.com/s/article/1025279 + Volume snapshot documentation: https://docs.vmware.com/en/VMware-vSphere-Container-Storage-Plug-in/3.0/vmware-vsphere-csp-getting-started/GUID-E0B41C69-7EEB-450F-A73D-5FD2FF39E891.html + format: int32 + maximum: 32 + minimum: 1 + type: integer + granularMaxSnapshotsPerBlockVolumeInVSAN: + description: |- + granularMaxSnapshotsPerBlockVolumeInVSAN is a granular configuration parameter on vSAN datastore only. It + overrides GlobalMaxSnapshotsPerBlockVolume if set, while it falls back to the global constraint if unset. + Snapshots for VSAN can not be disabled using this parameter. + format: int32 + maximum: 32 + minimum: 1 + type: integer + granularMaxSnapshotsPerBlockVolumeInVVOL: + description: |- + granularMaxSnapshotsPerBlockVolumeInVVOL is a granular configuration parameter on Virtual Volumes datastore only. + It overrides GlobalMaxSnapshotsPerBlockVolume if set, while it falls back to the global constraint if unset. + Snapshots for VVOL can not be disabled using this parameter. + format: int32 + maximum: 32 + minimum: 1 + type: integer + topologyCategories: + description: |- + topologyCategories indicates tag categories with which + vcenter resources such as hostcluster or datacenter were tagged with. + If cluster Infrastructure object has a topology, values specified in + Infrastructure object will be used and modifications to topologyCategories + will be rejected. + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + required: + - driverType + type: object + x-kubernetes-validations: + - message: ibmcloud must be set if driverType is 'IBMCloud', but remain + unset otherwise + rule: 'has(self.driverType) && self.driverType == ''IBMCloud'' ? + has(self.ibmcloud) : !has(self.ibmcloud)' + logLevel: + default: Normal + description: |- + logLevel is an intent based logging for an overall component. It does not give fine grained control, but it is a + simple way to manage coarse grained logging choices that operators have to interpret for their operands. + + Valid values are: "Normal", "Debug", "Trace", "TraceAll". + Defaults to "Normal". + enum: + - "" + - Normal + - Debug + - Trace + - TraceAll + type: string + managementState: + description: managementState indicates whether and how the operator + should manage the component + pattern: ^(Managed|Unmanaged|Force|Removed)$ + type: string + observedConfig: + description: |- + observedConfig holds a sparse config that controller has observed from the cluster state. It exists in spec because + it is an input to the level for the operator + nullable: true + type: object + x-kubernetes-preserve-unknown-fields: true + operatorLogLevel: + default: Normal + description: |- + operatorLogLevel is an intent based logging for the operator itself. It does not give fine grained control, but it is a + simple way to manage coarse grained logging choices that operators have to interpret for themselves. + + Valid values are: "Normal", "Debug", "Trace", "TraceAll". + Defaults to "Normal". + enum: + - "" + - Normal + - Debug + - Trace + - TraceAll + type: string + storageClassState: + description: |- + storageClassState determines if CSI operator should create and manage storage classes. + If this field value is empty or Managed - CSI operator will continuously reconcile + storage class and create if necessary. + If this field value is Unmanaged - CSI operator will not reconcile any previously created + storage class. + If this field value is Removed - CSI operator will delete the storage class it created previously. + When omitted, this means the user has no opinion and the platform chooses a reasonable default, + which is subject to change over time. + The current default behaviour is Managed. + enum: + - "" + - Managed + - Unmanaged + - Removed + type: string + unsupportedConfigOverrides: + description: |- + unsupportedConfigOverrides overrides the final configuration that was computed by the operator. + Red Hat does not support the use of this field. + Misuse of this field could lead to unexpected behavior or conflict with other configuration options. + Seek guidance from the Red Hat support before using this field. + Use of this property blocks cluster upgrades, it must be removed before upgrading your cluster. + nullable: true + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + status: + description: status holds observed values from the cluster. They may not + be overridden. + properties: + conditions: + description: conditions is a list of conditions and their status + items: + description: OperatorCondition is just the standard condition fields. + properties: + lastTransitionTime: + description: |- + lastTransitionTime is the last time the condition transitioned from one status to another. + This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. + format: date-time + type: string + message: + type: string + reason: + type: string + status: + description: status of the condition, one of True, False, Unknown. + enum: + - "True" + - "False" + - Unknown + type: string + type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. + maxLength: 316 + pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$ + type: string + required: + - lastTransitionTime + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + generations: + description: generations are used to determine when an item needs + to be reconciled or has changed in a way that needs a reaction. + items: + description: GenerationStatus keeps track of the generation for + a given resource so that decisions about forced updates can be + made. + properties: + group: + description: group is the group of the thing you're tracking + type: string + hash: + description: hash is an optional field set for resources without + generation that are content sensitive like secrets and configmaps + type: string + lastGeneration: + description: lastGeneration is the last generation of the workload + controller involved + format: int64 + type: integer + name: + description: name is the name of the thing you're tracking + type: string + namespace: + description: namespace is where the thing you're tracking is + type: string + resource: + description: resource is the resource type of the thing you're + tracking + type: string + required: + - group + - name + - namespace + - resource + type: object + type: array + x-kubernetes-list-map-keys: + - group + - resource + - namespace + - name + x-kubernetes-list-type: map + latestAvailableRevision: + description: latestAvailableRevision is the deploymentID of the most + recent deployment + format: int32 + type: integer + x-kubernetes-validations: + - message: must only increase + rule: self >= oldSelf + observedGeneration: + description: observedGeneration is the last generation change you've + dealt with + format: int64 + type: integer + readyReplicas: + description: readyReplicas indicates how many replicas are ready and + at the desired state + format: int32 + type: integer + version: + description: version is the level this availability applies to + type: string + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} diff --git a/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_50_csi-driver_01_clustercsidrivers-TechPreviewNoUpgrade.crd.yaml b/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_50_csi-driver_01_clustercsidrivers-TechPreviewNoUpgrade.crd.yaml index 98f87a3563..04052c180e 100644 --- a/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_50_csi-driver_01_clustercsidrivers-TechPreviewNoUpgrade.crd.yaml +++ b/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_50_csi-driver_01_clustercsidrivers-TechPreviewNoUpgrade.crd.yaml @@ -55,7 +55,6 @@ spec: - cinder.csi.openstack.org - csi.vsphere.vmware.com - manila.csi.openstack.org - - csi.ovirt.org - csi.kubevirt.io - csi.sharedresource.openshift.io - diskplugin.csi.alibabacloud.com diff --git a/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_50_ingress_00_ingresscontrollers.crd.yaml b/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_50_ingress_00_ingresscontrollers.crd.yaml index 25c51d7956..fd7ecdeba2 100644 --- a/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_50_ingress_00_ingresscontrollers.crd.yaml +++ b/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_50_ingress_00_ingresscontrollers.crd.yaml @@ -109,6 +109,48 @@ spec: - clientCA - clientCertificatePolicy type: object + closedClientConnectionPolicy: + default: Continue + description: |- + closedClientConnectionPolicy controls how the IngressController + behaves when the client closes the TCP connection while the TLS + handshake or HTTP request is in progress. This option maps directly + to HAProxy’s "abortonclose" option. + + Valid values are: "Abort" and "Continue". + The default value is "Continue". + + When set to "Abort", the router will stop processing the TLS handshake + if it is in progress, and it will not send an HTTP request to the backend server + if the request has not yet been sent when the client closes the connection. + + When set to "Continue", the router will complete the TLS handshake + if it is in progress, or send an HTTP request to the backend server + and wait for the backend server's response, regardless of + whether the client has closed the connection. + + Setting "Abort" can help free CPU resources otherwise spent on TLS computation + for connections the client has already closed, and can reduce request queue + size, thereby reducing the load on saturated backend servers. + + Important Considerations: + + - The default policy ("Continue") is HTTP-compliant, and requests + for aborted client connections will still be served. + Use the "Continue" policy to allow a client to send a request + and then immediately close its side of the connection while + still receiving a response on the half-closed connection. + + - When clients use keep-alive connections, the most common case for premature + closure is when the user wants to cancel the transfer or when a timeout + occurs. In that case, the "Abort" policy may be used to reduce resource consumption. + + - Using RSA keys larger than 2048 bits can significantly slow down + TLS computations. Consider using the "Abort" policy to reduce CPU usage. + enum: + - Abort + - Continue + type: string defaultCertificate: description: |- defaultCertificate is a reference to a secret containing the default @@ -1300,9 +1342,9 @@ spec: case HAProxy handles it in the old process and closes the connection after sending the response. - - HAProxy's `timeout http-keep-alive` duration expires - (300 seconds in OpenShift's configuration, not - configurable). + - HAProxy's `timeout http-keep-alive` duration expires. + By default this is 300 seconds, but it can be changed + using httpKeepAliveTimeout tuning option. - The client's keep-alive timeout expires, causing the client to close the connection. @@ -1952,27 +1994,25 @@ spec: profile as invalid configurations can be catastrophic. An example custom profile looks like this: + minTLSVersion: VersionTLS11 ciphers: - - ECDHE-ECDSA-CHACHA20-POLY1305 - - ECDHE-RSA-CHACHA20-POLY1305 - - ECDHE-RSA-AES128-GCM-SHA256 - - ECDHE-ECDSA-AES128-GCM-SHA256 - - minTLSVersion: VersionTLS11 nullable: true properties: ciphers: description: |- ciphers is used to specify the cipher algorithms that are negotiated - during the TLS handshake. Operators may remove entries their operands - do not support. For example, to use DES-CBC3-SHA (yaml): + during the TLS handshake. Operators may remove entries that their operands + do not support. For example, to use only ECDHE-RSA-AES128-GCM-SHA256 (yaml): ciphers: - - DES-CBC3-SHA + - ECDHE-RSA-AES128-GCM-SHA256 + + TLS 1.3 cipher suites (e.g. TLS_AES_128_GCM_SHA256) are not configurable + and are always enabled when TLS 1.3 is negotiated. items: type: string type: array @@ -1984,8 +2024,6 @@ spec: versions 1.1, 1.2 and 1.3 (yaml): minTLSVersion: VersionTLS11 - - NOTE: currently the highest minTLSVersion allowed is VersionTLS12 enum: - VersionTLS10 - VersionTLS11 @@ -1995,143 +2033,81 @@ spec: type: object intermediate: description: |- - intermediate is a TLS security profile based on: - - https://wiki.mozilla.org/Security/Server_Side_TLS#Intermediate_compatibility_.28recommended.29 - - and looks like this (yaml): + intermediate is a TLS profile for use when you do not need compatibility with + legacy clients and want to remain highly secure while being compatible with + most clients currently in use. + This profile is equivalent to a Custom profile specified as: + minTLSVersion: VersionTLS12 ciphers: - - TLS_AES_128_GCM_SHA256 - - TLS_AES_256_GCM_SHA384 - - TLS_CHACHA20_POLY1305_SHA256 - - ECDHE-ECDSA-AES128-GCM-SHA256 - - ECDHE-RSA-AES128-GCM-SHA256 - - ECDHE-ECDSA-AES256-GCM-SHA384 - - ECDHE-RSA-AES256-GCM-SHA384 - - ECDHE-ECDSA-CHACHA20-POLY1305 - - ECDHE-RSA-CHACHA20-POLY1305 - - - DHE-RSA-AES128-GCM-SHA256 - - - DHE-RSA-AES256-GCM-SHA384 - - minTLSVersion: VersionTLS12 nullable: true type: object modern: description: |- - modern is a TLS security profile based on: - - https://wiki.mozilla.org/Security/Server_Side_TLS#Modern_compatibility - - and looks like this (yaml): + modern is a TLS security profile for use with clients that support TLS 1.3 and + do not need backward compatibility for older clients. + This profile is equivalent to a Custom profile specified as: + minTLSVersion: VersionTLS13 ciphers: - - TLS_AES_128_GCM_SHA256 - - TLS_AES_256_GCM_SHA384 - - TLS_CHACHA20_POLY1305_SHA256 - - minTLSVersion: VersionTLS13 nullable: true type: object old: description: |- - old is a TLS security profile based on: - - https://wiki.mozilla.org/Security/Server_Side_TLS#Old_backward_compatibility - - and looks like this (yaml): + old is a TLS profile for use when services need to be accessed by very old + clients or libraries and should be used only as a last resort. + This profile is equivalent to a Custom profile specified as: + minTLSVersion: VersionTLS10 ciphers: - - TLS_AES_128_GCM_SHA256 - - TLS_AES_256_GCM_SHA384 - - TLS_CHACHA20_POLY1305_SHA256 - - ECDHE-ECDSA-AES128-GCM-SHA256 - - ECDHE-RSA-AES128-GCM-SHA256 - - ECDHE-ECDSA-AES256-GCM-SHA384 - - ECDHE-RSA-AES256-GCM-SHA384 - - ECDHE-ECDSA-CHACHA20-POLY1305 - - ECDHE-RSA-CHACHA20-POLY1305 - - - DHE-RSA-AES128-GCM-SHA256 - - - DHE-RSA-AES256-GCM-SHA384 - - - DHE-RSA-CHACHA20-POLY1305 - - ECDHE-ECDSA-AES128-SHA256 - - ECDHE-RSA-AES128-SHA256 - - ECDHE-ECDSA-AES128-SHA - - ECDHE-RSA-AES128-SHA - - - ECDHE-ECDSA-AES256-SHA384 - - - ECDHE-RSA-AES256-SHA384 - - ECDHE-ECDSA-AES256-SHA - - ECDHE-RSA-AES256-SHA - - - DHE-RSA-AES128-SHA256 - - - DHE-RSA-AES256-SHA256 - - AES128-GCM-SHA256 - - AES256-GCM-SHA384 - - AES128-SHA256 - - - AES256-SHA256 - - AES128-SHA - - AES256-SHA - - DES-CBC3-SHA - - minTLSVersion: VersionTLS10 nullable: true type: object type: description: |- - type is one of Old, Intermediate, Modern or Custom. Custom provides - the ability to specify individual TLS security profile parameters. - Old, Intermediate and Modern are TLS security profiles based on: - - https://wiki.mozilla.org/Security/Server_Side_TLS#Recommended_configurations + type is one of Old, Intermediate, Modern or Custom. Custom provides the + ability to specify individual TLS security profile parameters. - The profiles are intent based, so they may change over time as new ciphers are developed and existing ciphers - are found to be insecure. Depending on precisely which ciphers are available to a process, the list may be - reduced. + The profiles are based on version 5.7 of the Mozilla Server Side TLS + configuration guidelines. The cipher lists consist of the configuration's + "ciphersuites" followed by the Go-specific "ciphers" from the guidelines. + See: https://ssl-config.mozilla.org/guidelines/5.7.json - Note that the Modern profile is currently not supported because it is not - yet well adopted by common software libraries. + The profiles are intent based, so they may change over time as new ciphers are + developed and existing ciphers are found to be insecure. Depending on + precisely which ciphers are available to a process, the list may be reduced. enum: - Old - Intermediate @@ -2250,6 +2226,44 @@ spec: 2147483647ms (24.85 days). Both are subject to change over time. pattern: ^(0|([0-9]+(\.[0-9]+)?(ns|us|µs|μs|ms|s|m|h))+)$ type: string + httpKeepAliveTimeout: + description: |- + httpKeepAliveTimeout defines the maximum allowed time to wait for + a new HTTP request to appear on a connection from the client to the router. + + This field expects an unsigned duration string of a decimal number, with optional + fraction and a unit suffix, e.g. "300ms", "1.5s" or "2m45s". + Valid time units are "ms", "s", "m". + The allowed range is from 1 millisecond to 15 minutes. + + When omitted, this means the user has no opinion and the platform is left + to choose a reasonable default. This default is subject to change over time. + The current default is 300s. + + Low values (tens of milliseconds or less) can cause clients to close and reopen connections + for each request, leading to reduced connection sharing. + For HTTP/2, special care should be taken with low values. + A few seconds is a reasonable starting point to avoid holding idle connections open + while still allowing subsequent requests to reuse the connection. + + High values (minutes or more) favor connection reuse but may cause idle + connections to linger longer. + maxLength: 16 + minLength: 1 + type: string + x-kubernetes-validations: + - message: httpKeepAliveTimeout must be a valid duration string + composed of an unsigned integer value, optionally followed + by a decimal fraction and a unit suffix (ms, s, m) + rule: self.matches('^([0-9]+(\\.[0-9]+)?(ms|s|m))+$') + - message: httpKeepAliveTimeout must be less than or equal to + 15 minutes + rule: '!self.matches(''^([0-9]+(\\.[0-9]+)?(ms|s|m))+$'') || + duration(self) <= duration(''15m'')' + - message: httpKeepAliveTimeout must be greater than or equal + to 1 millisecond + rule: '!self.matches(''^([0-9]+(\\.[0-9]+)?(ms|s|m))+$'') || + duration(self) >= duration(''1ms'')' maxConnections: description: |- maxConnections defines the maximum number of simultaneous @@ -3227,11 +3241,14 @@ spec: ciphers: description: |- ciphers is used to specify the cipher algorithms that are negotiated - during the TLS handshake. Operators may remove entries their operands - do not support. For example, to use DES-CBC3-SHA (yaml): + during the TLS handshake. Operators may remove entries that their operands + do not support. For example, to use only ECDHE-RSA-AES128-GCM-SHA256 (yaml): ciphers: - - DES-CBC3-SHA + - ECDHE-RSA-AES128-GCM-SHA256 + + TLS 1.3 cipher suites (e.g. TLS_AES_128_GCM_SHA256) are not configurable + and are always enabled when TLS 1.3 is negotiated. items: type: string type: array @@ -3243,8 +3260,6 @@ spec: versions 1.1, 1.2 and 1.3 (yaml): minTLSVersion: VersionTLS11 - - NOTE: currently the highest minTLSVersion allowed is VersionTLS12 enum: - VersionTLS10 - VersionTLS11 diff --git a/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_70_network_01_networks.crd.yaml b/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_70_network_01_networks.crd.yaml index 7a41655bd1..60459deca7 100644 --- a/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_70_network_01_networks.crd.yaml +++ b/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_70_network_01_networks.crd.yaml @@ -914,13 +914,6 @@ spec: type: boolean type: object x-kubernetes-validations: - - message: Route advertisements cannot be Enabled if 'FRR' routing capability - provider is not available - rule: (has(self.additionalRoutingCapabilities) && ('FRR' in self.additionalRoutingCapabilities.providers)) - || !has(self.defaultNetwork) || !has(self.defaultNetwork.ovnKubernetesConfig) - || !has(self.defaultNetwork.ovnKubernetesConfig.routeAdvertisements) - || self.defaultNetwork.ovnKubernetesConfig.routeAdvertisements != - 'Enabled' - message: invalid value for IPForwarding, valid values are 'Restricted' or 'Global' rule: '!has(self.defaultNetwork) || !has(self.defaultNetwork.ovnKubernetesConfig) @@ -931,6 +924,13 @@ spec: || self.defaultNetwork.ovnKubernetesConfig.gatewayConfig.ipForwarding == ''Restricted'' || self.defaultNetwork.ovnKubernetesConfig.gatewayConfig.ipForwarding == ''Global''' + - message: Route advertisements cannot be Enabled if 'FRR' routing capability + provider is not available + rule: (has(self.additionalRoutingCapabilities) && ('FRR' in self.additionalRoutingCapabilities.providers)) + || !has(self.defaultNetwork) || !has(self.defaultNetwork.ovnKubernetesConfig) + || !has(self.defaultNetwork.ovnKubernetesConfig.routeAdvertisements) + || self.defaultNetwork.ovnKubernetesConfig.routeAdvertisements != + 'Enabled' status: description: |- NetworkStatus is detailed operator status, which is distilled diff --git a/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfigurations-CustomNoUpgrade.crd.yaml b/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfigurations-CustomNoUpgrade.crd.yaml index c165fca6bf..831b519754 100644 --- a/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfigurations-CustomNoUpgrade.crd.yaml +++ b/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfigurations-CustomNoUpgrade.crd.yaml @@ -1524,12 +1524,19 @@ spec: rule: 'self.?status.bootImageSkewEnforcementStatus.mode.orValue("") == ''Automatic'' ? self.?spec.managedBootImages.hasValue() || self.?status.managedBootImagesStatus.hasValue() : true' - - message: when skew enforcement is in Automatic mode, managedBootImages must - contain a MachineManager opting in all MachineAPI MachineSets + - message: when skew enforcement is in Automatic mode, managedBootImages.machineManagers + must not be an empty list rule: 'self.?status.bootImageSkewEnforcementStatus.mode.orValue("") == ''Automatic'' - ? !(self.?spec.managedBootImages.machineManagers.hasValue()) || self.spec.managedBootImages.machineManagers.exists(m, - m.selection.mode == ''All'' && m.resource == ''machinesets'' && m.apiGroup - == ''machine.openshift.io'') : true' + ? !(self.?spec.managedBootImages.machineManagers.hasValue()) || size(self.spec.managedBootImages.machineManagers) + > 0 : true' + - message: when skew enforcement is in Automatic mode, any MachineAPI MachineSet + MachineManager must use selection mode 'All' + rule: 'self.?status.bootImageSkewEnforcementStatus.mode.orValue("") == ''Automatic'' + ? !(self.?spec.managedBootImages.machineManagers.hasValue()) || !self.spec.managedBootImages.machineManagers.exists(m, + m.resource == ''machinesets'' && m.apiGroup == ''machine.openshift.io'') + || self.spec.managedBootImages.machineManagers.exists(m, m.resource == + ''machinesets'' && m.apiGroup == ''machine.openshift.io'' && m.selection.mode + == ''All'') : true' - message: when skew enforcement is in Automatic mode, managedBootImagesStatus must contain a MachineManager opting in all MachineAPI MachineSets rule: 'self.?status.bootImageSkewEnforcementStatus.mode.orValue("") == ''Automatic'' diff --git a/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfigurations-Default.crd.yaml b/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfigurations-Default.crd.yaml index 3de28dcdf3..2e65e97c84 100644 --- a/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfigurations-Default.crd.yaml +++ b/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfigurations-Default.crd.yaml @@ -108,6 +108,7 @@ spec: controlplanemachinesets means that the machine manager will only register resources of the kind ControlPlaneMachineSet. enum: - machinesets + - controlplanemachinesets type: string selection: description: selection allows granular control of the machine @@ -197,6 +198,11 @@ spec: - resource - selection type: object + x-kubernetes-validations: + - message: Only All or None selection mode is permitted for + ControlPlaneMachineSets + rule: self.resource != 'controlplanemachinesets' || self.selection.mode + == 'All' || self.selection.mode == 'None' maxItems: 5 type: array x-kubernetes-list-map-keys: @@ -741,6 +747,7 @@ spec: controlplanemachinesets means that the machine manager will only register resources of the kind ControlPlaneMachineSet. enum: - machinesets + - controlplanemachinesets type: string selection: description: selection allows granular control of the machine @@ -830,6 +837,11 @@ spec: - resource - selection type: object + x-kubernetes-validations: + - message: Only All or None selection mode is permitted for + ControlPlaneMachineSets + rule: self.resource != 'controlplanemachinesets' || self.selection.mode + == 'All' || self.selection.mode == 'None' maxItems: 5 type: array x-kubernetes-list-map-keys: diff --git a/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfigurations-DevPreviewNoUpgrade.crd.yaml b/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfigurations-DevPreviewNoUpgrade.crd.yaml index 544168f415..201cee1f87 100644 --- a/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfigurations-DevPreviewNoUpgrade.crd.yaml +++ b/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfigurations-DevPreviewNoUpgrade.crd.yaml @@ -1524,12 +1524,19 @@ spec: rule: 'self.?status.bootImageSkewEnforcementStatus.mode.orValue("") == ''Automatic'' ? self.?spec.managedBootImages.hasValue() || self.?status.managedBootImagesStatus.hasValue() : true' - - message: when skew enforcement is in Automatic mode, managedBootImages must - contain a MachineManager opting in all MachineAPI MachineSets + - message: when skew enforcement is in Automatic mode, managedBootImages.machineManagers + must not be an empty list rule: 'self.?status.bootImageSkewEnforcementStatus.mode.orValue("") == ''Automatic'' - ? !(self.?spec.managedBootImages.machineManagers.hasValue()) || self.spec.managedBootImages.machineManagers.exists(m, - m.selection.mode == ''All'' && m.resource == ''machinesets'' && m.apiGroup - == ''machine.openshift.io'') : true' + ? !(self.?spec.managedBootImages.machineManagers.hasValue()) || size(self.spec.managedBootImages.machineManagers) + > 0 : true' + - message: when skew enforcement is in Automatic mode, any MachineAPI MachineSet + MachineManager must use selection mode 'All' + rule: 'self.?status.bootImageSkewEnforcementStatus.mode.orValue("") == ''Automatic'' + ? !(self.?spec.managedBootImages.machineManagers.hasValue()) || !self.spec.managedBootImages.machineManagers.exists(m, + m.resource == ''machinesets'' && m.apiGroup == ''machine.openshift.io'') + || self.spec.managedBootImages.machineManagers.exists(m, m.resource == + ''machinesets'' && m.apiGroup == ''machine.openshift.io'' && m.selection.mode + == ''All'') : true' - message: when skew enforcement is in Automatic mode, managedBootImagesStatus must contain a MachineManager opting in all MachineAPI MachineSets rule: 'self.?status.bootImageSkewEnforcementStatus.mode.orValue("") == ''Automatic'' diff --git a/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfigurations-OKD.crd.yaml b/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfigurations-OKD.crd.yaml new file mode 100644 index 0000000000..1d16002284 --- /dev/null +++ b/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfigurations-OKD.crd.yaml @@ -0,0 +1,1265 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + api-approved.openshift.io: https://github.com/openshift/api/pull/1453 + api.openshift.io/merged-by-featuregates: "true" + include.release.openshift.io/ibm-cloud-managed: "true" + include.release.openshift.io/self-managed-high-availability: "true" + release.openshift.io/feature-set: OKD + name: machineconfigurations.operator.openshift.io +spec: + group: operator.openshift.io + names: + kind: MachineConfiguration + listKind: MachineConfigurationList + plural: machineconfigurations + singular: machineconfiguration + scope: Cluster + versions: + - name: v1 + schema: + openAPIV3Schema: + description: |- + MachineConfiguration provides information to configure an operator to manage Machine Configuration. + + Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: spec is the specification of the desired behavior of the + Machine Config Operator + properties: + failedRevisionLimit: + description: |- + failedRevisionLimit is the number of failed static pod installer revisions to keep on disk and in the api + -1 = unlimited, 0 or unset = 5 (default) + format: int32 + type: integer + forceRedeploymentReason: + description: |- + forceRedeploymentReason can be used to force the redeployment of the operand by providing a unique string. + This provides a mechanism to kick a previously failed deployment and provide a reason why you think it will work + this time instead of failing again on the same config. + type: string + logLevel: + default: Normal + description: |- + logLevel is an intent based logging for an overall component. It does not give fine grained control, but it is a + simple way to manage coarse grained logging choices that operators have to interpret for their operands. + + Valid values are: "Normal", "Debug", "Trace", "TraceAll". + Defaults to "Normal". + enum: + - "" + - Normal + - Debug + - Trace + - TraceAll + type: string + managedBootImages: + description: |- + managedBootImages allows configuration for the management of boot images for machine + resources within the cluster. This configuration allows users to select resources that should + be updated to the latest boot images during cluster upgrades, ensuring that new machines + always boot with the current cluster version's boot image. When omitted, this means no opinion + and the platform is left to choose a reasonable default, which is subject to change over time. + The default for each machine manager mode is All for GCP and AWS platforms, and None for all + other platforms. + properties: + machineManagers: + description: |- + machineManagers can be used to register machine management resources for boot image updates. The Machine Config Operator + will watch for changes to this list. Only one entry is permitted per type of machine management resource. + items: + description: |- + MachineManager describes a target machine resource that is registered for boot image updates. It stores identifying information + such as the resource type and the API Group of the resource. It also provides granular control via the selection field. + properties: + apiGroup: + description: |- + apiGroup is name of the APIGroup that the machine management resource belongs to. + The only current valid value is machine.openshift.io. + machine.openshift.io means that the machine manager will only register resources that belong to OpenShift machine API group. + enum: + - machine.openshift.io + type: string + resource: + description: |- + resource is the machine management resource's type. + Valid values are machinesets and controlplanemachinesets. + machinesets means that the machine manager will only register resources of the kind MachineSet. + controlplanemachinesets means that the machine manager will only register resources of the kind ControlPlaneMachineSet. + enum: + - machinesets + - controlplanemachinesets + type: string + selection: + description: selection allows granular control of the machine + management resources that will be registered for boot + image updates. + properties: + mode: + description: |- + mode determines how machine managers will be selected for updates. + Valid values are All, Partial and None. + All means that every resource matched by the machine manager will be updated. + Partial requires specified selector(s) and allows customisation of which resources matched by the machine manager will be updated. + Partial is not permitted for the controlplanemachinesets resource type as they are a singleton within the cluster. + None means that every resource matched by the machine manager will not be updated. + enum: + - All + - Partial + - None + type: string + partial: + description: |- + partial provides label selector(s) that can be used to match machine management resources. + Only permitted when mode is set to "Partial". + properties: + machineResourceSelector: + description: machineResourceSelector is a label + selector that can be used to select machine resources + like MachineSets. + properties: + matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. + items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. + properties: + key: + description: key is the label key that + the selector applies to. + type: string + operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. + type: string + values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. + type: object + type: object + x-kubernetes-map-type: atomic + required: + - machineResourceSelector + type: object + required: + - mode + type: object + x-kubernetes-validations: + - message: Partial is required when type is partial, and + forbidden otherwise + rule: 'has(self.mode) && self.mode == ''Partial'' ? has(self.partial) + : !has(self.partial)' + required: + - apiGroup + - resource + - selection + type: object + x-kubernetes-validations: + - message: Only All or None selection mode is permitted for + ControlPlaneMachineSets + rule: self.resource != 'controlplanemachinesets' || self.selection.mode + == 'All' || self.selection.mode == 'None' + maxItems: 5 + type: array + x-kubernetes-list-map-keys: + - resource + - apiGroup + x-kubernetes-list-type: map + type: object + managementState: + description: managementState indicates whether and how the operator + should manage the component + pattern: ^(Managed|Unmanaged|Force|Removed)$ + type: string + nodeDisruptionPolicy: + description: |- + nodeDisruptionPolicy allows an admin to set granular node disruption actions for + MachineConfig-based updates, such as drains, service reloads, etc. Specifying this will allow + for less downtime when doing small configuration updates to the cluster. This configuration + has no effect on cluster upgrades which will still incur node disruption where required. + properties: + files: + description: |- + files is a list of MachineConfig file definitions and actions to take to changes on those paths + This list supports a maximum of 50 entries. + items: + description: NodeDisruptionPolicySpecFile is a file entry and + corresponding actions to take and is used in the NodeDisruptionPolicyConfig + object + properties: + actions: + description: |- + actions represents the series of commands to be executed on changes to the file at + the corresponding file path. Actions will be applied in the order that + they are set in this list. If there are other incoming changes to other MachineConfig + entries in the same update that require a reboot, the reboot will supercede these actions. + Valid actions are Reboot, Drain, Reload, DaemonReload and None. + The Reboot action and the None action cannot be used in conjunction with any of the other actions. + This list supports a maximum of 10 entries. + items: + properties: + reload: + description: reload specifies the service to reload, + only valid if type is reload + properties: + serviceName: + description: |- + serviceName is the full name (e.g. crio.service) of the service to be reloaded + Service names should be of the format ${NAME}${SERVICETYPE} and can up to 255 characters long. + ${NAME} must be atleast 1 character long and can only consist of alphabets, digits, ":", "-", "_", ".", and "\". + ${SERVICETYPE} must be one of ".service", ".socket", ".device", ".mount", ".automount", ".swap", ".target", ".path", ".timer", ".snapshot", ".slice" or ".scope". + maxLength: 255 + type: string + x-kubernetes-validations: + - message: Invalid ${SERVICETYPE} in service name. + Expected format is ${NAME}${SERVICETYPE}, + where ${SERVICETYPE} must be one of ".service", + ".socket", ".device", ".mount", ".automount", + ".swap", ".target", ".path", ".timer",".snapshot", + ".slice" or ".scope". + rule: self.matches('\\.(service|socket|device|mount|automount|swap|target|path|timer|snapshot|slice|scope)$') + - message: Invalid ${NAME} in service name. Expected + format is ${NAME}${SERVICETYPE}, where {NAME} + must be atleast 1 character long and can only + consist of alphabets, digits, ":", "-", "_", + ".", and "\" + rule: self.matches('^[a-zA-Z0-9:._\\\\-]+\\..') + required: + - serviceName + type: object + restart: + description: restart specifies the service to restart, + only valid if type is restart + properties: + serviceName: + description: |- + serviceName is the full name (e.g. crio.service) of the service to be restarted + Service names should be of the format ${NAME}${SERVICETYPE} and can up to 255 characters long. + ${NAME} must be atleast 1 character long and can only consist of alphabets, digits, ":", "-", "_", ".", and "\". + ${SERVICETYPE} must be one of ".service", ".socket", ".device", ".mount", ".automount", ".swap", ".target", ".path", ".timer", ".snapshot", ".slice" or ".scope". + maxLength: 255 + type: string + x-kubernetes-validations: + - message: Invalid ${SERVICETYPE} in service name. + Expected format is ${NAME}${SERVICETYPE}, + where ${SERVICETYPE} must be one of ".service", + ".socket", ".device", ".mount", ".automount", + ".swap", ".target", ".path", ".timer",".snapshot", + ".slice" or ".scope". + rule: self.matches('\\.(service|socket|device|mount|automount|swap|target|path|timer|snapshot|slice|scope)$') + - message: Invalid ${NAME} in service name. Expected + format is ${NAME}${SERVICETYPE}, where {NAME} + must be atleast 1 character long and can only + consist of alphabets, digits, ":", "-", "_", + ".", and "\" + rule: self.matches('^[a-zA-Z0-9:._\\\\-]+\\..') + required: + - serviceName + type: object + type: + description: |- + type represents the commands that will be carried out if this NodeDisruptionPolicySpecActionType is executed + Valid values are Reboot, Drain, Reload, Restart, DaemonReload and None. + reload/restart requires a corresponding service target specified in the reload/restart field. + Other values require no further configuration + enum: + - Reboot + - Drain + - Reload + - Restart + - DaemonReload + - None + type: string + required: + - type + type: object + x-kubernetes-validations: + - message: reload is required when type is Reload, and + forbidden otherwise + rule: 'has(self.type) && self.type == ''Reload'' ? has(self.reload) + : !has(self.reload)' + - message: restart is required when type is Restart, and + forbidden otherwise + rule: 'has(self.type) && self.type == ''Restart'' ? + has(self.restart) : !has(self.restart)' + maxItems: 10 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: Reboot action can only be specified standalone, + as it will override any other actions + rule: 'self.exists(x, x.type==''Reboot'') ? size(self) + == 1 : true' + - message: None action can only be specified standalone, + as it will override any other actions + rule: 'self.exists(x, x.type==''None'') ? size(self) == + 1 : true' + path: + description: |- + path is the location of a file being managed through a MachineConfig. + The Actions in the policy will apply to changes to the file at this path. + type: string + required: + - actions + - path + type: object + maxItems: 50 + type: array + x-kubernetes-list-map-keys: + - path + x-kubernetes-list-type: map + sshkey: + description: |- + sshkey maps to the ignition.sshkeys field in the MachineConfig object, definition an action for this + will apply to all sshkey changes in the cluster + properties: + actions: + description: |- + actions represents the series of commands to be executed on changes to the file at + the corresponding file path. Actions will be applied in the order that + they are set in this list. If there are other incoming changes to other MachineConfig + entries in the same update that require a reboot, the reboot will supercede these actions. + Valid actions are Reboot, Drain, Reload, DaemonReload and None. + The Reboot action and the None action cannot be used in conjunction with any of the other actions. + This list supports a maximum of 10 entries. + items: + properties: + reload: + description: reload specifies the service to reload, + only valid if type is reload + properties: + serviceName: + description: |- + serviceName is the full name (e.g. crio.service) of the service to be reloaded + Service names should be of the format ${NAME}${SERVICETYPE} and can up to 255 characters long. + ${NAME} must be atleast 1 character long and can only consist of alphabets, digits, ":", "-", "_", ".", and "\". + ${SERVICETYPE} must be one of ".service", ".socket", ".device", ".mount", ".automount", ".swap", ".target", ".path", ".timer", ".snapshot", ".slice" or ".scope". + maxLength: 255 + type: string + x-kubernetes-validations: + - message: Invalid ${SERVICETYPE} in service name. + Expected format is ${NAME}${SERVICETYPE}, where + ${SERVICETYPE} must be one of ".service", ".socket", + ".device", ".mount", ".automount", ".swap", + ".target", ".path", ".timer",".snapshot", ".slice" + or ".scope". + rule: self.matches('\\.(service|socket|device|mount|automount|swap|target|path|timer|snapshot|slice|scope)$') + - message: Invalid ${NAME} in service name. Expected + format is ${NAME}${SERVICETYPE}, where {NAME} + must be atleast 1 character long and can only + consist of alphabets, digits, ":", "-", "_", + ".", and "\" + rule: self.matches('^[a-zA-Z0-9:._\\\\-]+\\..') + required: + - serviceName + type: object + restart: + description: restart specifies the service to restart, + only valid if type is restart + properties: + serviceName: + description: |- + serviceName is the full name (e.g. crio.service) of the service to be restarted + Service names should be of the format ${NAME}${SERVICETYPE} and can up to 255 characters long. + ${NAME} must be atleast 1 character long and can only consist of alphabets, digits, ":", "-", "_", ".", and "\". + ${SERVICETYPE} must be one of ".service", ".socket", ".device", ".mount", ".automount", ".swap", ".target", ".path", ".timer", ".snapshot", ".slice" or ".scope". + maxLength: 255 + type: string + x-kubernetes-validations: + - message: Invalid ${SERVICETYPE} in service name. + Expected format is ${NAME}${SERVICETYPE}, where + ${SERVICETYPE} must be one of ".service", ".socket", + ".device", ".mount", ".automount", ".swap", + ".target", ".path", ".timer",".snapshot", ".slice" + or ".scope". + rule: self.matches('\\.(service|socket|device|mount|automount|swap|target|path|timer|snapshot|slice|scope)$') + - message: Invalid ${NAME} in service name. Expected + format is ${NAME}${SERVICETYPE}, where {NAME} + must be atleast 1 character long and can only + consist of alphabets, digits, ":", "-", "_", + ".", and "\" + rule: self.matches('^[a-zA-Z0-9:._\\\\-]+\\..') + required: + - serviceName + type: object + type: + description: |- + type represents the commands that will be carried out if this NodeDisruptionPolicySpecActionType is executed + Valid values are Reboot, Drain, Reload, Restart, DaemonReload and None. + reload/restart requires a corresponding service target specified in the reload/restart field. + Other values require no further configuration + enum: + - Reboot + - Drain + - Reload + - Restart + - DaemonReload + - None + type: string + required: + - type + type: object + x-kubernetes-validations: + - message: reload is required when type is Reload, and forbidden + otherwise + rule: 'has(self.type) && self.type == ''Reload'' ? has(self.reload) + : !has(self.reload)' + - message: restart is required when type is Restart, and + forbidden otherwise + rule: 'has(self.type) && self.type == ''Restart'' ? has(self.restart) + : !has(self.restart)' + maxItems: 10 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: Reboot action can only be specified standalone, + as it will override any other actions + rule: 'self.exists(x, x.type==''Reboot'') ? size(self) == + 1 : true' + - message: None action can only be specified standalone, as + it will override any other actions + rule: 'self.exists(x, x.type==''None'') ? size(self) == + 1 : true' + required: + - actions + type: object + units: + description: |- + units is a list MachineConfig unit definitions and actions to take on changes to those services + This list supports a maximum of 50 entries. + items: + description: NodeDisruptionPolicySpecUnit is a systemd unit + name and corresponding actions to take and is used in the + NodeDisruptionPolicyConfig object + properties: + actions: + description: |- + actions represents the series of commands to be executed on changes to the file at + the corresponding file path. Actions will be applied in the order that + they are set in this list. If there are other incoming changes to other MachineConfig + entries in the same update that require a reboot, the reboot will supercede these actions. + Valid actions are Reboot, Drain, Reload, DaemonReload and None. + The Reboot action and the None action cannot be used in conjunction with any of the other actions. + This list supports a maximum of 10 entries. + items: + properties: + reload: + description: reload specifies the service to reload, + only valid if type is reload + properties: + serviceName: + description: |- + serviceName is the full name (e.g. crio.service) of the service to be reloaded + Service names should be of the format ${NAME}${SERVICETYPE} and can up to 255 characters long. + ${NAME} must be atleast 1 character long and can only consist of alphabets, digits, ":", "-", "_", ".", and "\". + ${SERVICETYPE} must be one of ".service", ".socket", ".device", ".mount", ".automount", ".swap", ".target", ".path", ".timer", ".snapshot", ".slice" or ".scope". + maxLength: 255 + type: string + x-kubernetes-validations: + - message: Invalid ${SERVICETYPE} in service name. + Expected format is ${NAME}${SERVICETYPE}, + where ${SERVICETYPE} must be one of ".service", + ".socket", ".device", ".mount", ".automount", + ".swap", ".target", ".path", ".timer",".snapshot", + ".slice" or ".scope". + rule: self.matches('\\.(service|socket|device|mount|automount|swap|target|path|timer|snapshot|slice|scope)$') + - message: Invalid ${NAME} in service name. Expected + format is ${NAME}${SERVICETYPE}, where {NAME} + must be atleast 1 character long and can only + consist of alphabets, digits, ":", "-", "_", + ".", and "\" + rule: self.matches('^[a-zA-Z0-9:._\\\\-]+\\..') + required: + - serviceName + type: object + restart: + description: restart specifies the service to restart, + only valid if type is restart + properties: + serviceName: + description: |- + serviceName is the full name (e.g. crio.service) of the service to be restarted + Service names should be of the format ${NAME}${SERVICETYPE} and can up to 255 characters long. + ${NAME} must be atleast 1 character long and can only consist of alphabets, digits, ":", "-", "_", ".", and "\". + ${SERVICETYPE} must be one of ".service", ".socket", ".device", ".mount", ".automount", ".swap", ".target", ".path", ".timer", ".snapshot", ".slice" or ".scope". + maxLength: 255 + type: string + x-kubernetes-validations: + - message: Invalid ${SERVICETYPE} in service name. + Expected format is ${NAME}${SERVICETYPE}, + where ${SERVICETYPE} must be one of ".service", + ".socket", ".device", ".mount", ".automount", + ".swap", ".target", ".path", ".timer",".snapshot", + ".slice" or ".scope". + rule: self.matches('\\.(service|socket|device|mount|automount|swap|target|path|timer|snapshot|slice|scope)$') + - message: Invalid ${NAME} in service name. Expected + format is ${NAME}${SERVICETYPE}, where {NAME} + must be atleast 1 character long and can only + consist of alphabets, digits, ":", "-", "_", + ".", and "\" + rule: self.matches('^[a-zA-Z0-9:._\\\\-]+\\..') + required: + - serviceName + type: object + type: + description: |- + type represents the commands that will be carried out if this NodeDisruptionPolicySpecActionType is executed + Valid values are Reboot, Drain, Reload, Restart, DaemonReload and None. + reload/restart requires a corresponding service target specified in the reload/restart field. + Other values require no further configuration + enum: + - Reboot + - Drain + - Reload + - Restart + - DaemonReload + - None + type: string + required: + - type + type: object + x-kubernetes-validations: + - message: reload is required when type is Reload, and + forbidden otherwise + rule: 'has(self.type) && self.type == ''Reload'' ? has(self.reload) + : !has(self.reload)' + - message: restart is required when type is Restart, and + forbidden otherwise + rule: 'has(self.type) && self.type == ''Restart'' ? + has(self.restart) : !has(self.restart)' + maxItems: 10 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: Reboot action can only be specified standalone, + as it will override any other actions + rule: 'self.exists(x, x.type==''Reboot'') ? size(self) + == 1 : true' + - message: None action can only be specified standalone, + as it will override any other actions + rule: 'self.exists(x, x.type==''None'') ? size(self) == + 1 : true' + name: + description: |- + name represents the service name of a systemd service managed through a MachineConfig + Actions specified will be applied for changes to the named service. + Service names should be of the format ${NAME}${SERVICETYPE} and can up to 255 characters long. + ${NAME} must be atleast 1 character long and can only consist of alphabets, digits, ":", "-", "_", ".", and "\". + ${SERVICETYPE} must be one of ".service", ".socket", ".device", ".mount", ".automount", ".swap", ".target", ".path", ".timer", ".snapshot", ".slice" or ".scope". + maxLength: 255 + type: string + x-kubernetes-validations: + - message: Invalid ${SERVICETYPE} in service name. Expected + format is ${NAME}${SERVICETYPE}, where ${SERVICETYPE} + must be one of ".service", ".socket", ".device", ".mount", + ".automount", ".swap", ".target", ".path", ".timer",".snapshot", + ".slice" or ".scope". + rule: self.matches('\\.(service|socket|device|mount|automount|swap|target|path|timer|snapshot|slice|scope)$') + - message: Invalid ${NAME} in service name. Expected format + is ${NAME}${SERVICETYPE}, where {NAME} must be atleast + 1 character long and can only consist of alphabets, + digits, ":", "-", "_", ".", and "\" + rule: self.matches('^[a-zA-Z0-9:._\\\\-]+\\..') + required: + - actions + - name + type: object + maxItems: 50 + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + type: object + observedConfig: + description: |- + observedConfig holds a sparse config that controller has observed from the cluster state. It exists in spec because + it is an input to the level for the operator + nullable: true + type: object + x-kubernetes-preserve-unknown-fields: true + operatorLogLevel: + default: Normal + description: |- + operatorLogLevel is an intent based logging for the operator itself. It does not give fine grained control, but it is a + simple way to manage coarse grained logging choices that operators have to interpret for themselves. + + Valid values are: "Normal", "Debug", "Trace", "TraceAll". + Defaults to "Normal". + enum: + - "" + - Normal + - Debug + - Trace + - TraceAll + type: string + succeededRevisionLimit: + description: |- + succeededRevisionLimit is the number of successful static pod installer revisions to keep on disk and in the api + -1 = unlimited, 0 or unset = 5 (default) + format: int32 + type: integer + unsupportedConfigOverrides: + description: |- + unsupportedConfigOverrides overrides the final configuration that was computed by the operator. + Red Hat does not support the use of this field. + Misuse of this field could lead to unexpected behavior or conflict with other configuration options. + Seek guidance from the Red Hat support before using this field. + Use of this property blocks cluster upgrades, it must be removed before upgrading your cluster. + nullable: true + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + status: + description: status is the most recently observed status of the Machine + Config Operator + properties: + conditions: + description: conditions is a list of conditions and their status + items: + description: Condition contains details for one aspect of the current + state of this API Resource. + properties: + lastTransitionTime: + description: |- + lastTransitionTime is the last time the condition transitioned from one status to another. + This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. + format: date-time + type: string + message: + description: |- + message is a human readable message indicating details about the transition. + This may be an empty string. + maxLength: 32768 + type: string + observedGeneration: + description: |- + observedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + minimum: 0 + type: integer + reason: + description: |- + reason contains a programmatic identifier indicating the reason for the condition's last transition. + Producers of specific condition types may define expected values and meanings for this field, + and whether the values are considered a guaranteed API. + The value should be a CamelCase string. + This field may not be empty. + maxLength: 1024 + minLength: 1 + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ + type: string + status: + description: status of the condition, one of True, False, Unknown. + enum: + - "True" + - "False" + - Unknown + type: string + type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. + maxLength: 316 + pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$ + type: string + required: + - lastTransitionTime + - message + - reason + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + managedBootImagesStatus: + description: |- + managedBootImagesStatus reflects what the latest cluster-validated boot image configuration is + and will be used by Machine Config Controller while performing boot image updates. + properties: + machineManagers: + description: |- + machineManagers can be used to register machine management resources for boot image updates. The Machine Config Operator + will watch for changes to this list. Only one entry is permitted per type of machine management resource. + items: + description: |- + MachineManager describes a target machine resource that is registered for boot image updates. It stores identifying information + such as the resource type and the API Group of the resource. It also provides granular control via the selection field. + properties: + apiGroup: + description: |- + apiGroup is name of the APIGroup that the machine management resource belongs to. + The only current valid value is machine.openshift.io. + machine.openshift.io means that the machine manager will only register resources that belong to OpenShift machine API group. + enum: + - machine.openshift.io + type: string + resource: + description: |- + resource is the machine management resource's type. + Valid values are machinesets and controlplanemachinesets. + machinesets means that the machine manager will only register resources of the kind MachineSet. + controlplanemachinesets means that the machine manager will only register resources of the kind ControlPlaneMachineSet. + enum: + - machinesets + - controlplanemachinesets + type: string + selection: + description: selection allows granular control of the machine + management resources that will be registered for boot + image updates. + properties: + mode: + description: |- + mode determines how machine managers will be selected for updates. + Valid values are All, Partial and None. + All means that every resource matched by the machine manager will be updated. + Partial requires specified selector(s) and allows customisation of which resources matched by the machine manager will be updated. + Partial is not permitted for the controlplanemachinesets resource type as they are a singleton within the cluster. + None means that every resource matched by the machine manager will not be updated. + enum: + - All + - Partial + - None + type: string + partial: + description: |- + partial provides label selector(s) that can be used to match machine management resources. + Only permitted when mode is set to "Partial". + properties: + machineResourceSelector: + description: machineResourceSelector is a label + selector that can be used to select machine resources + like MachineSets. + properties: + matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. + items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. + properties: + key: + description: key is the label key that + the selector applies to. + type: string + operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. + type: string + values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. + type: object + type: object + x-kubernetes-map-type: atomic + required: + - machineResourceSelector + type: object + required: + - mode + type: object + x-kubernetes-validations: + - message: Partial is required when type is partial, and + forbidden otherwise + rule: 'has(self.mode) && self.mode == ''Partial'' ? has(self.partial) + : !has(self.partial)' + required: + - apiGroup + - resource + - selection + type: object + x-kubernetes-validations: + - message: Only All or None selection mode is permitted for + ControlPlaneMachineSets + rule: self.resource != 'controlplanemachinesets' || self.selection.mode + == 'All' || self.selection.mode == 'None' + maxItems: 5 + type: array + x-kubernetes-list-map-keys: + - resource + - apiGroup + x-kubernetes-list-type: map + type: object + nodeDisruptionPolicyStatus: + description: |- + nodeDisruptionPolicyStatus status reflects what the latest cluster-validated policies are, + and will be used by the Machine Config Daemon during future node updates. + properties: + clusterPolicies: + description: clusterPolicies is a merge of cluster default and + user provided node disruption policies. + properties: + files: + description: files is a list of MachineConfig file definitions + and actions to take to changes on those paths + items: + description: NodeDisruptionPolicyStatusFile is a file entry + and corresponding actions to take and is used in the NodeDisruptionPolicyClusterStatus + object + properties: + actions: + description: |- + actions represents the series of commands to be executed on changes to the file at + the corresponding file path. Actions will be applied in the order that + they are set in this list. If there are other incoming changes to other MachineConfig + entries in the same update that require a reboot, the reboot will supercede these actions. + Valid actions are Reboot, Drain, Reload, DaemonReload and None. + The Reboot action and the None action cannot be used in conjunction with any of the other actions. + This list supports a maximum of 10 entries. + items: + properties: + reload: + description: reload specifies the service to reload, + only valid if type is reload + properties: + serviceName: + description: |- + serviceName is the full name (e.g. crio.service) of the service to be reloaded + Service names should be of the format ${NAME}${SERVICETYPE} and can up to 255 characters long. + ${NAME} must be atleast 1 character long and can only consist of alphabets, digits, ":", "-", "_", ".", and "\". + ${SERVICETYPE} must be one of ".service", ".socket", ".device", ".mount", ".automount", ".swap", ".target", ".path", ".timer", ".snapshot", ".slice" or ".scope". + maxLength: 255 + type: string + x-kubernetes-validations: + - message: Invalid ${SERVICETYPE} in service + name. Expected format is ${NAME}${SERVICETYPE}, + where ${SERVICETYPE} must be one of ".service", + ".socket", ".device", ".mount", ".automount", + ".swap", ".target", ".path", ".timer",".snapshot", + ".slice" or ".scope". + rule: self.matches('\\.(service|socket|device|mount|automount|swap|target|path|timer|snapshot|slice|scope)$') + - message: Invalid ${NAME} in service name. + Expected format is ${NAME}${SERVICETYPE}, + where {NAME} must be atleast 1 character + long and can only consist of alphabets, + digits, ":", "-", "_", ".", and "\" + rule: self.matches('^[a-zA-Z0-9:._\\\\-]+\\..') + required: + - serviceName + type: object + restart: + description: restart specifies the service to + restart, only valid if type is restart + properties: + serviceName: + description: |- + serviceName is the full name (e.g. crio.service) of the service to be restarted + Service names should be of the format ${NAME}${SERVICETYPE} and can up to 255 characters long. + ${NAME} must be atleast 1 character long and can only consist of alphabets, digits, ":", "-", "_", ".", and "\". + ${SERVICETYPE} must be one of ".service", ".socket", ".device", ".mount", ".automount", ".swap", ".target", ".path", ".timer", ".snapshot", ".slice" or ".scope". + maxLength: 255 + type: string + x-kubernetes-validations: + - message: Invalid ${SERVICETYPE} in service + name. Expected format is ${NAME}${SERVICETYPE}, + where ${SERVICETYPE} must be one of ".service", + ".socket", ".device", ".mount", ".automount", + ".swap", ".target", ".path", ".timer",".snapshot", + ".slice" or ".scope". + rule: self.matches('\\.(service|socket|device|mount|automount|swap|target|path|timer|snapshot|slice|scope)$') + - message: Invalid ${NAME} in service name. + Expected format is ${NAME}${SERVICETYPE}, + where {NAME} must be atleast 1 character + long and can only consist of alphabets, + digits, ":", "-", "_", ".", and "\" + rule: self.matches('^[a-zA-Z0-9:._\\\\-]+\\..') + required: + - serviceName + type: object + type: + description: |- + type represents the commands that will be carried out if this NodeDisruptionPolicyStatusActionType is executed + Valid values are Reboot, Drain, Reload, Restart, DaemonReload, None and Special. + reload/restart requires a corresponding service target specified in the reload/restart field. + Other values require no further configuration + enum: + - Reboot + - Drain + - Reload + - Restart + - DaemonReload + - None + - Special + type: string + required: + - type + type: object + x-kubernetes-validations: + - message: reload is required when type is Reload, + and forbidden otherwise + rule: 'has(self.type) && self.type == ''Reload'' + ? has(self.reload) : !has(self.reload)' + - message: restart is required when type is Restart, + and forbidden otherwise + rule: 'has(self.type) && self.type == ''Restart'' + ? has(self.restart) : !has(self.restart)' + maxItems: 10 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: Reboot action can only be specified standalone, + as it will override any other actions + rule: 'self.exists(x, x.type==''Reboot'') ? size(self) + == 1 : true' + - message: None action can only be specified standalone, + as it will override any other actions + rule: 'self.exists(x, x.type==''None'') ? size(self) + == 1 : true' + path: + description: |- + path is the location of a file being managed through a MachineConfig. + The Actions in the policy will apply to changes to the file at this path. + type: string + required: + - actions + - path + type: object + maxItems: 100 + type: array + x-kubernetes-list-map-keys: + - path + x-kubernetes-list-type: map + sshkey: + description: sshkey is the overall sshkey MachineConfig definition + properties: + actions: + description: |- + actions represents the series of commands to be executed on changes to the file at + the corresponding file path. Actions will be applied in the order that + they are set in this list. If there are other incoming changes to other MachineConfig + entries in the same update that require a reboot, the reboot will supercede these actions. + Valid actions are Reboot, Drain, Reload, DaemonReload and None. + The Reboot action and the None action cannot be used in conjunction with any of the other actions. + This list supports a maximum of 10 entries. + items: + properties: + reload: + description: reload specifies the service to reload, + only valid if type is reload + properties: + serviceName: + description: |- + serviceName is the full name (e.g. crio.service) of the service to be reloaded + Service names should be of the format ${NAME}${SERVICETYPE} and can up to 255 characters long. + ${NAME} must be atleast 1 character long and can only consist of alphabets, digits, ":", "-", "_", ".", and "\". + ${SERVICETYPE} must be one of ".service", ".socket", ".device", ".mount", ".automount", ".swap", ".target", ".path", ".timer", ".snapshot", ".slice" or ".scope". + maxLength: 255 + type: string + x-kubernetes-validations: + - message: Invalid ${SERVICETYPE} in service + name. Expected format is ${NAME}${SERVICETYPE}, + where ${SERVICETYPE} must be one of ".service", + ".socket", ".device", ".mount", ".automount", + ".swap", ".target", ".path", ".timer",".snapshot", + ".slice" or ".scope". + rule: self.matches('\\.(service|socket|device|mount|automount|swap|target|path|timer|snapshot|slice|scope)$') + - message: Invalid ${NAME} in service name. + Expected format is ${NAME}${SERVICETYPE}, + where {NAME} must be atleast 1 character + long and can only consist of alphabets, + digits, ":", "-", "_", ".", and "\" + rule: self.matches('^[a-zA-Z0-9:._\\\\-]+\\..') + required: + - serviceName + type: object + restart: + description: restart specifies the service to restart, + only valid if type is restart + properties: + serviceName: + description: |- + serviceName is the full name (e.g. crio.service) of the service to be restarted + Service names should be of the format ${NAME}${SERVICETYPE} and can up to 255 characters long. + ${NAME} must be atleast 1 character long and can only consist of alphabets, digits, ":", "-", "_", ".", and "\". + ${SERVICETYPE} must be one of ".service", ".socket", ".device", ".mount", ".automount", ".swap", ".target", ".path", ".timer", ".snapshot", ".slice" or ".scope". + maxLength: 255 + type: string + x-kubernetes-validations: + - message: Invalid ${SERVICETYPE} in service + name. Expected format is ${NAME}${SERVICETYPE}, + where ${SERVICETYPE} must be one of ".service", + ".socket", ".device", ".mount", ".automount", + ".swap", ".target", ".path", ".timer",".snapshot", + ".slice" or ".scope". + rule: self.matches('\\.(service|socket|device|mount|automount|swap|target|path|timer|snapshot|slice|scope)$') + - message: Invalid ${NAME} in service name. + Expected format is ${NAME}${SERVICETYPE}, + where {NAME} must be atleast 1 character + long and can only consist of alphabets, + digits, ":", "-", "_", ".", and "\" + rule: self.matches('^[a-zA-Z0-9:._\\\\-]+\\..') + required: + - serviceName + type: object + type: + description: |- + type represents the commands that will be carried out if this NodeDisruptionPolicyStatusActionType is executed + Valid values are Reboot, Drain, Reload, Restart, DaemonReload, None and Special. + reload/restart requires a corresponding service target specified in the reload/restart field. + Other values require no further configuration + enum: + - Reboot + - Drain + - Reload + - Restart + - DaemonReload + - None + - Special + type: string + required: + - type + type: object + x-kubernetes-validations: + - message: reload is required when type is Reload, and + forbidden otherwise + rule: 'has(self.type) && self.type == ''Reload'' ? + has(self.reload) : !has(self.reload)' + - message: restart is required when type is Restart, + and forbidden otherwise + rule: 'has(self.type) && self.type == ''Restart'' + ? has(self.restart) : !has(self.restart)' + maxItems: 10 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: Reboot action can only be specified standalone, + as it will override any other actions + rule: 'self.exists(x, x.type==''Reboot'') ? size(self) + == 1 : true' + - message: None action can only be specified standalone, + as it will override any other actions + rule: 'self.exists(x, x.type==''None'') ? size(self) + == 1 : true' + required: + - actions + type: object + units: + description: units is a list MachineConfig unit definitions + and actions to take on changes to those services + items: + description: NodeDisruptionPolicyStatusUnit is a systemd + unit name and corresponding actions to take and is used + in the NodeDisruptionPolicyClusterStatus object + properties: + actions: + description: |- + actions represents the series of commands to be executed on changes to the file at + the corresponding file path. Actions will be applied in the order that + they are set in this list. If there are other incoming changes to other MachineConfig + entries in the same update that require a reboot, the reboot will supercede these actions. + Valid actions are Reboot, Drain, Reload, DaemonReload and None. + The Reboot action and the None action cannot be used in conjunction with any of the other actions. + This list supports a maximum of 10 entries. + items: + properties: + reload: + description: reload specifies the service to reload, + only valid if type is reload + properties: + serviceName: + description: |- + serviceName is the full name (e.g. crio.service) of the service to be reloaded + Service names should be of the format ${NAME}${SERVICETYPE} and can up to 255 characters long. + ${NAME} must be atleast 1 character long and can only consist of alphabets, digits, ":", "-", "_", ".", and "\". + ${SERVICETYPE} must be one of ".service", ".socket", ".device", ".mount", ".automount", ".swap", ".target", ".path", ".timer", ".snapshot", ".slice" or ".scope". + maxLength: 255 + type: string + x-kubernetes-validations: + - message: Invalid ${SERVICETYPE} in service + name. Expected format is ${NAME}${SERVICETYPE}, + where ${SERVICETYPE} must be one of ".service", + ".socket", ".device", ".mount", ".automount", + ".swap", ".target", ".path", ".timer",".snapshot", + ".slice" or ".scope". + rule: self.matches('\\.(service|socket|device|mount|automount|swap|target|path|timer|snapshot|slice|scope)$') + - message: Invalid ${NAME} in service name. + Expected format is ${NAME}${SERVICETYPE}, + where {NAME} must be atleast 1 character + long and can only consist of alphabets, + digits, ":", "-", "_", ".", and "\" + rule: self.matches('^[a-zA-Z0-9:._\\\\-]+\\..') + required: + - serviceName + type: object + restart: + description: restart specifies the service to + restart, only valid if type is restart + properties: + serviceName: + description: |- + serviceName is the full name (e.g. crio.service) of the service to be restarted + Service names should be of the format ${NAME}${SERVICETYPE} and can up to 255 characters long. + ${NAME} must be atleast 1 character long and can only consist of alphabets, digits, ":", "-", "_", ".", and "\". + ${SERVICETYPE} must be one of ".service", ".socket", ".device", ".mount", ".automount", ".swap", ".target", ".path", ".timer", ".snapshot", ".slice" or ".scope". + maxLength: 255 + type: string + x-kubernetes-validations: + - message: Invalid ${SERVICETYPE} in service + name. Expected format is ${NAME}${SERVICETYPE}, + where ${SERVICETYPE} must be one of ".service", + ".socket", ".device", ".mount", ".automount", + ".swap", ".target", ".path", ".timer",".snapshot", + ".slice" or ".scope". + rule: self.matches('\\.(service|socket|device|mount|automount|swap|target|path|timer|snapshot|slice|scope)$') + - message: Invalid ${NAME} in service name. + Expected format is ${NAME}${SERVICETYPE}, + where {NAME} must be atleast 1 character + long and can only consist of alphabets, + digits, ":", "-", "_", ".", and "\" + rule: self.matches('^[a-zA-Z0-9:._\\\\-]+\\..') + required: + - serviceName + type: object + type: + description: |- + type represents the commands that will be carried out if this NodeDisruptionPolicyStatusActionType is executed + Valid values are Reboot, Drain, Reload, Restart, DaemonReload, None and Special. + reload/restart requires a corresponding service target specified in the reload/restart field. + Other values require no further configuration + enum: + - Reboot + - Drain + - Reload + - Restart + - DaemonReload + - None + - Special + type: string + required: + - type + type: object + x-kubernetes-validations: + - message: reload is required when type is Reload, + and forbidden otherwise + rule: 'has(self.type) && self.type == ''Reload'' + ? has(self.reload) : !has(self.reload)' + - message: restart is required when type is Restart, + and forbidden otherwise + rule: 'has(self.type) && self.type == ''Restart'' + ? has(self.restart) : !has(self.restart)' + maxItems: 10 + type: array + x-kubernetes-list-type: atomic + x-kubernetes-validations: + - message: Reboot action can only be specified standalone, + as it will override any other actions + rule: 'self.exists(x, x.type==''Reboot'') ? size(self) + == 1 : true' + - message: None action can only be specified standalone, + as it will override any other actions + rule: 'self.exists(x, x.type==''None'') ? size(self) + == 1 : true' + name: + description: |- + name represents the service name of a systemd service managed through a MachineConfig + Actions specified will be applied for changes to the named service. + Service names should be of the format ${NAME}${SERVICETYPE} and can up to 255 characters long. + ${NAME} must be atleast 1 character long and can only consist of alphabets, digits, ":", "-", "_", ".", and "\". + ${SERVICETYPE} must be one of ".service", ".socket", ".device", ".mount", ".automount", ".swap", ".target", ".path", ".timer", ".snapshot", ".slice" or ".scope". + maxLength: 255 + type: string + x-kubernetes-validations: + - message: Invalid ${SERVICETYPE} in service name. Expected + format is ${NAME}${SERVICETYPE}, where ${SERVICETYPE} + must be one of ".service", ".socket", ".device", + ".mount", ".automount", ".swap", ".target", ".path", + ".timer",".snapshot", ".slice" or ".scope". + rule: self.matches('\\.(service|socket|device|mount|automount|swap|target|path|timer|snapshot|slice|scope)$') + - message: Invalid ${NAME} in service name. Expected + format is ${NAME}${SERVICETYPE}, where {NAME} must + be atleast 1 character long and can only consist + of alphabets, digits, ":", "-", "_", ".", and "\" + rule: self.matches('^[a-zA-Z0-9:._\\\\-]+\\..') + required: + - actions + - name + type: object + maxItems: 100 + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + type: object + type: object + observedGeneration: + description: observedGeneration is the last generation change you've + dealt with + format: int64 + type: integer + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} diff --git a/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfigurations-TechPreviewNoUpgrade.crd.yaml b/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfigurations-TechPreviewNoUpgrade.crd.yaml index 14a864201c..0e521a7577 100644 --- a/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfigurations-TechPreviewNoUpgrade.crd.yaml +++ b/vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfigurations-TechPreviewNoUpgrade.crd.yaml @@ -46,6 +46,98 @@ spec: description: spec is the specification of the desired behavior of the Machine Config Operator properties: + bootImageSkewEnforcement: + description: |- + bootImageSkewEnforcement allows an admin to configure how boot image version skew is + enforced on the cluster. + When omitted, this will default to Automatic for clusters that support automatic boot image updates. + For clusters that do not support automatic boot image updates, cluster upgrades will be disabled until + a skew enforcement mode has been specified. + When version skew is being enforced, cluster upgrades will be disabled until the version skew is deemed + acceptable for the current release payload. + properties: + manual: + description: |- + manual describes the current boot image of the cluster. + This should be set to the oldest boot image used amongst all machine resources in the cluster. + This must include either the RHCOS version of the boot image or the OCP release version which shipped with that + RHCOS boot image. + Required when mode is set to "Manual" and forbidden otherwise. + properties: + mode: + description: |- + mode is used to configure which boot image field is defined in Manual mode. + Valid values are OCPVersion and RHCOSVersion. + OCPVersion means that the cluster admin is expected to set the OCP version associated with the last boot image update + in the OCPVersion field. + RHCOSVersion means that the cluster admin is expected to set the RHCOS version associated with the last boot image update + in the RHCOSVersion field. + This field is required. + enum: + - OCPVersion + - RHCOSVersion + type: string + ocpVersion: + description: |- + ocpVersion provides a string which represents the OCP version of the boot image. + This field must match the OCP semver compatible format of x.y.z. This field must be between + 5 and 10 characters long. + Required when mode is set to "OCPVersion" and forbidden otherwise. + maxLength: 10 + minLength: 5 + type: string + x-kubernetes-validations: + - message: ocpVersion must match the OCP semver compatible + format of x.y.z + rule: self.matches('^[0-9]+\\.[0-9]+\\.[0-9]+$') + rhcosVersion: + description: |- + rhcosVersion provides a string which represents the RHCOS version of the boot image + This field must match rhcosVersion formatting of [major].[minor].[datestamp(YYYYMMDD)]-[buildnumber] or the legacy + format of [major].[minor].[timestamp(YYYYMMDDHHmm)]-[buildnumber]. This field must be between + 14 and 21 characters long. + Required when mode is set to "RHCOSVersion" and forbidden otherwise. + maxLength: 21 + minLength: 14 + type: string + x-kubernetes-validations: + - message: rhcosVersion must match format [major].[minor].[datestamp(YYYYMMDD)]-[buildnumber] + or must match legacy format [major].[minor].[timestamp(YYYYMMDDHHmm)]-[buildnumber] + rule: self.matches('^[0-9]+\\.[0-9]+\\.([0-9]{8}|[0-9]{12})-[0-9]+$') + required: + - mode + type: object + x-kubernetes-validations: + - message: ocpVersion is required when mode is OCPVersion, and + forbidden otherwise + rule: 'has(self.mode) && (self.mode ==''OCPVersion'') ? has(self.ocpVersion) + : !has(self.ocpVersion)' + - message: rhcosVersion is required when mode is RHCOSVersion, + and forbidden otherwise + rule: 'has(self.mode) && (self.mode ==''RHCOSVersion'') ? has(self.rhcosVersion) + : !has(self.rhcosVersion)' + mode: + description: |- + mode determines the underlying behavior of skew enforcement mechanism. + Valid values are Manual and None. + Manual means that the cluster admin is expected to perform manual boot image updates and store the OCP + & RHCOS version associated with the last boot image update in the manual field. + In Manual mode, the MCO will prevent upgrades when the boot image skew exceeds the + skew limit described by the release image. + None means that the MCO will no longer monitor the boot image skew. This may affect + the cluster's ability to scale. + This field is required. + enum: + - Manual + - None + type: string + required: + - mode + type: object + x-kubernetes-validations: + - message: manual is required when mode is Manual, and forbidden otherwise + rule: 'has(self.mode) && (self.mode ==''Manual'') ? has(self.manual) + : !has(self.manual)' failedRevisionLimit: description: |- failedRevisionLimit is the number of failed static pod installer revisions to keep on disk and in the api @@ -690,6 +782,140 @@ spec: description: status is the most recently observed status of the Machine Config Operator properties: + bootImageSkewEnforcementStatus: + description: |- + bootImageSkewEnforcementStatus reflects what the latest cluster-validated boot image skew enforcement + configuration is and will be used by Machine Config Controller while performing boot image skew enforcement. + When omitted, the MCO has no knowledge of how to enforce boot image skew. When the MCO does not know how + boot image skew should be enforced, cluster upgrades will be blocked until it can either automatically + determine skew enforcement or there is an explicit skew enforcement configuration provided in the + spec.bootImageSkewEnforcement field. + properties: + automatic: + description: |- + automatic describes the current boot image of the cluster. + This will be populated by the MCO when performing boot image updates. This value will be compared against + the cluster's skew limit to determine skew compliance. + Required when mode is set to "Automatic" and forbidden otherwise. + minProperties: 1 + properties: + ocpVersion: + description: |- + ocpVersion provides a string which represents the OCP version of the boot image. + This field must match the OCP semver compatible format of x.y.z. This field must be between + 5 and 10 characters long. + maxLength: 10 + minLength: 5 + type: string + x-kubernetes-validations: + - message: ocpVersion must match the OCP semver compatible + format of x.y.z + rule: self.matches('^[0-9]+\\.[0-9]+\\.[0-9]+$') + rhcosVersion: + description: |- + rhcosVersion provides a string which represents the RHCOS version of the boot image + This field must match rhcosVersion formatting of [major].[minor].[datestamp(YYYYMMDD)]-[buildnumber] or the legacy + format of [major].[minor].[timestamp(YYYYMMDDHHmm)]-[buildnumber]. This field must be between + 14 and 21 characters long. + maxLength: 21 + minLength: 14 + type: string + x-kubernetes-validations: + - message: rhcosVersion must match format [major].[minor].[datestamp(YYYYMMDD)]-[buildnumber] + or must match legacy format [major].[minor].[timestamp(YYYYMMDDHHmm)]-[buildnumber] + rule: self.matches('^[0-9]+\\.[0-9]+\\.([0-9]{8}|[0-9]{12})-[0-9]+$') + type: object + x-kubernetes-validations: + - message: at least one of ocpVersion or rhcosVersion is required + rule: has(self.ocpVersion) || has(self.rhcosVersion) + manual: + description: |- + manual describes the current boot image of the cluster. + This will be populated by the MCO using the values provided in the spec.bootImageSkewEnforcement.manual field. + This value will be compared against the cluster's skew limit to determine skew compliance. + Required when mode is set to "Manual" and forbidden otherwise. + properties: + mode: + description: |- + mode is used to configure which boot image field is defined in Manual mode. + Valid values are OCPVersion and RHCOSVersion. + OCPVersion means that the cluster admin is expected to set the OCP version associated with the last boot image update + in the OCPVersion field. + RHCOSVersion means that the cluster admin is expected to set the RHCOS version associated with the last boot image update + in the RHCOSVersion field. + This field is required. + enum: + - OCPVersion + - RHCOSVersion + type: string + ocpVersion: + description: |- + ocpVersion provides a string which represents the OCP version of the boot image. + This field must match the OCP semver compatible format of x.y.z. This field must be between + 5 and 10 characters long. + Required when mode is set to "OCPVersion" and forbidden otherwise. + maxLength: 10 + minLength: 5 + type: string + x-kubernetes-validations: + - message: ocpVersion must match the OCP semver compatible + format of x.y.z + rule: self.matches('^[0-9]+\\.[0-9]+\\.[0-9]+$') + rhcosVersion: + description: |- + rhcosVersion provides a string which represents the RHCOS version of the boot image + This field must match rhcosVersion formatting of [major].[minor].[datestamp(YYYYMMDD)]-[buildnumber] or the legacy + format of [major].[minor].[timestamp(YYYYMMDDHHmm)]-[buildnumber]. This field must be between + 14 and 21 characters long. + Required when mode is set to "RHCOSVersion" and forbidden otherwise. + maxLength: 21 + minLength: 14 + type: string + x-kubernetes-validations: + - message: rhcosVersion must match format [major].[minor].[datestamp(YYYYMMDD)]-[buildnumber] + or must match legacy format [major].[minor].[timestamp(YYYYMMDDHHmm)]-[buildnumber] + rule: self.matches('^[0-9]+\\.[0-9]+\\.([0-9]{8}|[0-9]{12})-[0-9]+$') + required: + - mode + type: object + x-kubernetes-validations: + - message: ocpVersion is required when mode is OCPVersion, and + forbidden otherwise + rule: 'has(self.mode) && (self.mode ==''OCPVersion'') ? has(self.ocpVersion) + : !has(self.ocpVersion)' + - message: rhcosVersion is required when mode is RHCOSVersion, + and forbidden otherwise + rule: 'has(self.mode) && (self.mode ==''RHCOSVersion'') ? has(self.rhcosVersion) + : !has(self.rhcosVersion)' + mode: + description: |- + mode determines the underlying behavior of skew enforcement mechanism. + Valid values are Automatic, Manual and None. + Automatic means that the MCO will perform boot image updates and store the + OCP & RHCOS version associated with the last boot image update in the automatic field. + Manual means that the cluster admin is expected to perform manual boot image updates and store the OCP + & RHCOS version associated with the last boot image update in the manual field. + In Automatic and Manual mode, the MCO will prevent upgrades when the boot image skew exceeds the + skew limit described by the release image. + None means that the MCO will no longer monitor the boot image skew. This may affect + the cluster's ability to scale. + This field is required. + enum: + - Automatic + - Manual + - None + type: string + required: + - mode + type: object + x-kubernetes-validations: + - message: automatic is required when mode is Automatic, and forbidden + otherwise + rule: 'has(self.mode) && (self.mode == ''Automatic'') ? has(self.automatic) + : !has(self.automatic)' + - message: manual is required when mode is Manual, and forbidden otherwise + rule: 'has(self.mode) && (self.mode == ''Manual'') ? has(self.manual) + : !has(self.manual)' conditions: description: conditions is a list of conditions and their status items: @@ -1292,6 +1518,32 @@ spec: required: - spec type: object + x-kubernetes-validations: + - message: when skew enforcement is in Automatic mode, a boot image configuration + is required + rule: 'self.?status.bootImageSkewEnforcementStatus.mode.orValue("") == ''Automatic'' + ? self.?spec.managedBootImages.hasValue() || self.?status.managedBootImagesStatus.hasValue() + : true' + - message: when skew enforcement is in Automatic mode, managedBootImages.machineManagers + must not be an empty list + rule: 'self.?status.bootImageSkewEnforcementStatus.mode.orValue("") == ''Automatic'' + ? !(self.?spec.managedBootImages.machineManagers.hasValue()) || size(self.spec.managedBootImages.machineManagers) + > 0 : true' + - message: when skew enforcement is in Automatic mode, any MachineAPI MachineSet + MachineManager must use selection mode 'All' + rule: 'self.?status.bootImageSkewEnforcementStatus.mode.orValue("") == ''Automatic'' + ? !(self.?spec.managedBootImages.machineManagers.hasValue()) || !self.spec.managedBootImages.machineManagers.exists(m, + m.resource == ''machinesets'' && m.apiGroup == ''machine.openshift.io'') + || self.spec.managedBootImages.machineManagers.exists(m, m.resource == + ''machinesets'' && m.apiGroup == ''machine.openshift.io'' && m.selection.mode + == ''All'') : true' + - message: when skew enforcement is in Automatic mode, managedBootImagesStatus + must contain a MachineManager opting in all MachineAPI MachineSets + rule: 'self.?status.bootImageSkewEnforcementStatus.mode.orValue("") == ''Automatic'' + ? !(self.?status.managedBootImagesStatus.machineManagers.hasValue()) || + self.status.managedBootImagesStatus.machineManagers.exists(m, m.selection.mode + == ''All'' && m.resource == ''machinesets'' && m.apiGroup == ''machine.openshift.io''): + true' served: true storage: true subresources: diff --git a/vendor/github.com/openshift/api/operator/v1/zz_generated.deepcopy.go b/vendor/github.com/openshift/api/operator/v1/zz_generated.deepcopy.go index fd83694c23..3bc6b81de4 100644 --- a/vendor/github.com/openshift/api/operator/v1/zz_generated.deepcopy.go +++ b/vendor/github.com/openshift/api/operator/v1/zz_generated.deepcopy.go @@ -2564,6 +2564,11 @@ func (in *IngressControllerTuningOptions) DeepCopyInto(out *IngressControllerTun *out = new(metav1.Duration) **out = **in } + if in.HTTPKeepAliveTimeout != nil { + in, out := &in.HTTPKeepAliveTimeout, &out.HTTPKeepAliveTimeout + *out = new(metav1.Duration) + **out = **in + } if in.TLSInspectDelay != nil { in, out := &in.TLSInspectDelay, &out.TLSInspectDelay *out = new(metav1.Duration) diff --git a/vendor/github.com/openshift/api/operator/v1/zz_generated.featuregated-crd-manifests.yaml b/vendor/github.com/openshift/api/operator/v1/zz_generated.featuregated-crd-manifests.yaml index e7c94e2869..51a758804d 100644 --- a/vendor/github.com/openshift/api/operator/v1/zz_generated.featuregated-crd-manifests.yaml +++ b/vendor/github.com/openshift/api/operator/v1/zz_generated.featuregated-crd-manifests.yaml @@ -327,10 +327,7 @@ networks.operator.openshift.io: CRDName: networks.operator.openshift.io Capability: "" Category: "" - FeatureGates: - - AdditionalRoutingCapabilities - - NetworkLiveMigration - - RouteAdvertisements + FeatureGates: [] FilenameOperatorName: network FilenameOperatorOrdering: "01" FilenameRunLevel: "0000_70" diff --git a/vendor/github.com/openshift/api/operator/v1/zz_generated.swagger_doc_generated.go b/vendor/github.com/openshift/api/operator/v1/zz_generated.swagger_doc_generated.go index d3475d9024..64aac26eb3 100644 --- a/vendor/github.com/openshift/api/operator/v1/zz_generated.swagger_doc_generated.go +++ b/vendor/github.com/openshift/api/operator/v1/zz_generated.swagger_doc_generated.go @@ -210,7 +210,7 @@ func (AddPage) SwaggerDoc() map[string]string { var map_Capability = map[string]string{ "": "Capabilities contains set of UI capabilities and their state in the console UI.", - "name": "name is the unique name of a capability. Available capabilities are LightspeedButton and GettingStartedBanner.", + "name": "name is the unique name of a capability. Available capabilities are LightspeedButton, GettingStartedBanner, and GuidedTour.", "visibility": "visibility defines the visibility state of the capability.", } @@ -259,7 +259,7 @@ func (ConsoleConfigRoute) SwaggerDoc() map[string]string { var map_ConsoleCustomization = map[string]string{ "": "ConsoleCustomization defines a list of optional configuration for the console UI. Ensure that Logos and CustomLogoFile cannot be set at the same time.", "logos": "logos is used to replace the OpenShift Masthead and Favicon logos in the console UI with custom logos. logos is an optional field that allows a list of logos. Only one of logos or customLogoFile can be set at a time. If logos is set, customLogoFile must be unset. When specified, there must be at least one entry and no more than 2 entries. Each type must appear only once in the list.", - "capabilities": "capabilities defines an array of capabilities that can be interacted with in the console UI. Each capability defines a visual state that can be interacted with the console to render in the UI. Available capabilities are LightspeedButton and GettingStartedBanner. Each of the available capabilities may appear only once in the list.", + "capabilities": "capabilities defines an array of capabilities that can be interacted with in the console UI. Each capability defines a visual state that can be interacted with the console to render in the UI. Available capabilities are LightspeedButton, GettingStartedBanner, and GuidedTour. Each of the available capabilities may appear only once in the list.", "brand": "brand is the default branding of the web console which can be overridden by providing the brand field. There is a limited set of specific brand options. This field controls elements of the console such as the logo. Invalid value will prevent a console rollout.", "documentationBaseURL": "documentationBaseURL links to external documentation are shown in various sections of the web console. Providing documentationBaseURL will override the default documentation URL. Invalid value will prevent a console rollout.", "customProductName": "customProductName is the name that will be displayed in page titles, logo alt text, and the about dialog instead of the normal OpenShift product name.", @@ -1080,7 +1080,8 @@ var map_IngressControllerSpec = map[string]string{ "tuningOptions": "tuningOptions defines parameters for adjusting the performance of ingress controller pods. All fields are optional and will use their respective defaults if not set. See specific tuningOptions fields for more details.\n\nSetting fields within tuningOptions is generally not recommended. The default values are suitable for most configurations.", "unsupportedConfigOverrides": "unsupportedConfigOverrides allows specifying unsupported configuration options. Its use is unsupported.", "httpCompression": "httpCompression defines a policy for HTTP traffic compression. By default, there is no HTTP compression.", - "idleConnectionTerminationPolicy": "idleConnectionTerminationPolicy maps directly to HAProxy's idle-close-on-response option and controls whether HAProxy keeps idle frontend connections open during a soft stop (router reload).\n\nAllowed values for this field are \"Immediate\" and \"Deferred\". The default value is \"Immediate\".\n\nWhen set to \"Immediate\", idle connections are closed immediately during router reloads. This ensures immediate propagation of route changes but may impact clients sensitive to connection resets.\n\nWhen set to \"Deferred\", HAProxy will maintain idle connections during a soft reload instead of closing them immediately. These connections remain open until any of the following occurs:\n\n - A new request is received on the connection, in which\n case HAProxy handles it in the old process and closes\n the connection after sending the response.\n\n - HAProxy's `timeout http-keep-alive` duration expires\n (300 seconds in OpenShift's configuration, not\n configurable).\n\n - The client's keep-alive timeout expires, causing the\n client to close the connection.\n\nSetting Deferred can help prevent errors in clients or load balancers that do not properly handle connection resets. Additionally, this option allows you to retain the pre-2.4 HAProxy behaviour: in HAProxy version 2.2 (OpenShift versions < 4.14), maintaining idle connections during a soft reload was the default behaviour, but starting with HAProxy 2.4, the default changed to closing idle connections immediately.\n\nImportant Consideration:\n\n - Using Deferred will result in temporary inconsistencies\n for the first request on each persistent connection\n after a route update and router reload. This request\n will be processed by the old HAProxy process using its\n old configuration. Subsequent requests will use the\n updated configuration.\n\nOperational Considerations:\n\n - Keeping idle connections open during reloads may lead\n to an accumulation of old HAProxy processes if\n connections remain idle for extended periods,\n especially in environments where frequent reloads\n occur.\n\n - Consider monitoring the number of HAProxy processes in\n the router pods when Deferred is set.\n\n - You may need to enable or adjust the\n `ingress.operator.openshift.io/hard-stop-after`\n duration (configured via an annotation on the\n IngressController resource) in environments with\n frequent reloads to prevent resource exhaustion.", + "idleConnectionTerminationPolicy": "idleConnectionTerminationPolicy maps directly to HAProxy's idle-close-on-response option and controls whether HAProxy keeps idle frontend connections open during a soft stop (router reload).\n\nAllowed values for this field are \"Immediate\" and \"Deferred\". The default value is \"Immediate\".\n\nWhen set to \"Immediate\", idle connections are closed immediately during router reloads. This ensures immediate propagation of route changes but may impact clients sensitive to connection resets.\n\nWhen set to \"Deferred\", HAProxy will maintain idle connections during a soft reload instead of closing them immediately. These connections remain open until any of the following occurs:\n\n - A new request is received on the connection, in which\n case HAProxy handles it in the old process and closes\n the connection after sending the response.\n\n - HAProxy's `timeout http-keep-alive` duration expires.\n By default this is 300 seconds, but it can be changed\n using httpKeepAliveTimeout tuning option.\n\n - The client's keep-alive timeout expires, causing the\n client to close the connection.\n\nSetting Deferred can help prevent errors in clients or load balancers that do not properly handle connection resets. Additionally, this option allows you to retain the pre-2.4 HAProxy behaviour: in HAProxy version 2.2 (OpenShift versions < 4.14), maintaining idle connections during a soft reload was the default behaviour, but starting with HAProxy 2.4, the default changed to closing idle connections immediately.\n\nImportant Consideration:\n\n - Using Deferred will result in temporary inconsistencies\n for the first request on each persistent connection\n after a route update and router reload. This request\n will be processed by the old HAProxy process using its\n old configuration. Subsequent requests will use the\n updated configuration.\n\nOperational Considerations:\n\n - Keeping idle connections open during reloads may lead\n to an accumulation of old HAProxy processes if\n connections remain idle for extended periods,\n especially in environments where frequent reloads\n occur.\n\n - Consider monitoring the number of HAProxy processes in\n the router pods when Deferred is set.\n\n - You may need to enable or adjust the\n `ingress.operator.openshift.io/hard-stop-after`\n duration (configured via an annotation on the\n IngressController resource) in environments with\n frequent reloads to prevent resource exhaustion.", + "closedClientConnectionPolicy": "closedClientConnectionPolicy controls how the IngressController behaves when the client closes the TCP connection while the TLS handshake or HTTP request is in progress. This option maps directly to HAProxy’s \"abortonclose\" option.\n\nValid values are: \"Abort\" and \"Continue\". The default value is \"Continue\".\n\nWhen set to \"Abort\", the router will stop processing the TLS handshake if it is in progress, and it will not send an HTTP request to the backend server if the request has not yet been sent when the client closes the connection.\n\nWhen set to \"Continue\", the router will complete the TLS handshake if it is in progress, or send an HTTP request to the backend server and wait for the backend server's response, regardless of whether the client has closed the connection.\n\nSetting \"Abort\" can help free CPU resources otherwise spent on TLS computation for connections the client has already closed, and can reduce request queue size, thereby reducing the load on saturated backend servers.\n\nImportant Considerations:\n\n - The default policy (\"Continue\") is HTTP-compliant, and requests\n for aborted client connections will still be served.\n Use the \"Continue\" policy to allow a client to send a request\n and then immediately close its side of the connection while\n still receiving a response on the half-closed connection.\n\n - When clients use keep-alive connections, the most common case for premature\n closure is when the user wants to cancel the transfer or when a timeout\n occurs. In that case, the \"Abort\" policy may be used to reduce resource consumption.\n\n - Using RSA keys larger than 2048 bits can significantly slow down\n TLS computations. Consider using the \"Abort\" policy to reduce CPU usage.", } func (IngressControllerSpec) SwaggerDoc() map[string]string { @@ -1115,6 +1116,7 @@ var map_IngressControllerTuningOptions = map[string]string{ "serverFinTimeout": "serverFinTimeout defines how long a connection will be held open while waiting for the server/backend response to the client closing the connection.\n\nIf unset, the default timeout is 1s", "tunnelTimeout": "tunnelTimeout defines how long a tunnel connection (including websockets) will be held open while the tunnel is idle.\n\nIf unset, the default timeout is 1h", "connectTimeout": "connectTimeout defines the maximum time to wait for a connection attempt to a server/backend to succeed.\n\nThis field expects an unsigned duration string of decimal numbers, each with optional fraction and a unit suffix, e.g. \"300ms\", \"1.5h\" or \"2h45m\". Valid time units are \"ns\", \"us\" (or \"µs\" U+00B5 or \"μs\" U+03BC), \"ms\", \"s\", \"m\", \"h\".\n\nWhen omitted, this means the user has no opinion and the platform is left to choose a reasonable default. This default is subject to change over time. The current default is 5s.", + "httpKeepAliveTimeout": "httpKeepAliveTimeout defines the maximum allowed time to wait for a new HTTP request to appear on a connection from the client to the router.\n\nThis field expects an unsigned duration string of a decimal number, with optional fraction and a unit suffix, e.g. \"300ms\", \"1.5s\" or \"2m45s\". Valid time units are \"ms\", \"s\", \"m\". The allowed range is from 1 millisecond to 15 minutes.\n\nWhen omitted, this means the user has no opinion and the platform is left to choose a reasonable default. This default is subject to change over time. The current default is 300s.\n\nLow values (tens of milliseconds or less) can cause clients to close and reopen connections for each request, leading to reduced connection sharing. For HTTP/2, special care should be taken with low values. A few seconds is a reasonable starting point to avoid holding idle connections open while still allowing subsequent requests to reuse the connection.\n\nHigh values (minutes or more) favor connection reuse but may cause idle connections to linger longer.", "tlsInspectDelay": "tlsInspectDelay defines how long the router can hold data to find a matching route.\n\nSetting this too short can cause the router to fall back to the default certificate for edge-terminated or reencrypt routes even when a better matching certificate could be used.\n\nIf unset, the default inspect delay is 5s", "healthCheckInterval": "healthCheckInterval defines how long the router waits between two consecutive health checks on its configured backends. This value is applied globally as a default for all routes, but may be overridden per-route by the route annotation \"router.openshift.io/haproxy.health.check.interval\".\n\nExpects an unsigned duration string of decimal numbers, each with optional fraction and a unit suffix, eg \"300ms\", \"1.5h\" or \"2h45m\". Valid time units are \"ns\", \"us\" (or \"µs\" U+00B5 or \"μs\" U+03BC), \"ms\", \"s\", \"m\", \"h\".\n\nSetting this to less than 5s can cause excess traffic due to too frequent TCP health checks and accompanying SYN packet storms. Alternatively, setting this too high can result in increased latency, due to backend servers that are no longer available, but haven't yet been detected as such.\n\nAn empty or zero healthCheckInterval means no opinion and IngressController chooses a default, which is subject to change over time. Currently the default healthCheckInterval value is 5s.\n\nCurrently the minimum allowed value is 1s and the maximum allowed value is 2147483647ms (24.85 days). Both are subject to change over time.", "maxConnections": "maxConnections defines the maximum number of simultaneous connections that can be established per HAProxy process. Increasing this value allows each ingress controller pod to handle more connections but at the cost of additional system resources being consumed.\n\nPermitted values are: empty, 0, -1, and the range 2000-2000000.\n\nIf this field is empty or 0, the IngressController will use the default value of 50000, but the default is subject to change in future releases.\n\nIf the value is -1 then HAProxy will dynamically compute a maximum value based on the available ulimits in the running container. Selecting -1 (i.e., auto) will result in a large value being computed (~520000 on OpenShift >=4.10 clusters) and therefore each HAProxy process will incur significant memory usage compared to the current default of 50000.\n\nSetting a value that is greater than the current operating system limit will prevent the HAProxy process from starting.\n\nIf you choose a discrete value (e.g., 750000) and the router pod is migrated to a new node, there's no guarantee that that new node has identical ulimits configured. In such a scenario the pod would fail to start. If you have nodes with different ulimits configured (e.g., different tuned profiles) and you choose a discrete value then the guidance is to use -1 and let the value be computed dynamically at runtime.\n\nYou can monitor memory usage for router containers with the following metric: 'container_memory_working_set_bytes{container=\"router\",namespace=\"openshift-ingress\"}'.\n\nYou can monitor memory usage of individual HAProxy processes in router containers with the following metric: 'container_memory_working_set_bytes{container=\"router\",namespace=\"openshift-ingress\"}/container_processes{container=\"router\",namespace=\"openshift-ingress\"}'.", diff --git a/vendor/github.com/openshift/api/operator/v1alpha1/register.go b/vendor/github.com/openshift/api/operator/v1alpha1/register.go index 3e9b09cced..ec19cba3a9 100644 --- a/vendor/github.com/openshift/api/operator/v1alpha1/register.go +++ b/vendor/github.com/openshift/api/operator/v1alpha1/register.go @@ -41,6 +41,8 @@ func addKnownTypes(scheme *runtime.Scheme) error { &EtcdBackupList{}, &ClusterVersionOperator{}, &ClusterVersionOperatorList{}, + &ClusterAPI{}, + &ClusterAPIList{}, ) return nil diff --git a/vendor/github.com/openshift/api/operator/v1alpha1/types_clusterapi.go b/vendor/github.com/openshift/api/operator/v1alpha1/types_clusterapi.go new file mode 100644 index 0000000000..c38fbaf97e --- /dev/null +++ b/vendor/github.com/openshift/api/operator/v1alpha1/types_clusterapi.go @@ -0,0 +1,229 @@ +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +// +genclient +// +genclient:nonNamespaced +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +// +kubebuilder:object:root=true +// +kubebuilder:resource:path=clusterapis,scope=Cluster +// +kubebuilder:subresource:status +// +openshift:api-approved.openshift.io=https://github.com/openshift/api/pull/2564 +// +openshift:file-pattern=cvoRunLevel=0000_30,operatorName=cluster-api,operatorOrdering=01 +// +openshift:enable:FeatureGate=ClusterAPIMachineManagement +// +kubebuilder:metadata:annotations="release.openshift.io/feature-gate=ClusterAPIMachineManagement" + +// ClusterAPI provides configuration for the capi-operator. +// +// Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support. +// +openshift:compatibility-gen:level=4 +// +kubebuilder:validation:XValidation:rule="self.metadata.name == 'cluster'",message="clusterapi is a singleton, .metadata.name must be 'cluster'" +type ClusterAPI struct { + metav1.TypeMeta `json:",inline"` + + // metadata is the standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +required + metav1.ObjectMeta `json:"metadata,omitempty"` + + // spec is the specification of the desired behavior of the capi-operator. + // +required + Spec *ClusterAPISpec `json:"spec,omitempty"` + + // status defines the observed status of the capi-operator. + // +optional + Status ClusterAPIStatus `json:"status,omitzero"` +} + +// ClusterAPISpec defines the desired configuration of the capi-operator. +// The spec is required but we deliberately allow it to be empty. +// +kubebuilder:validation:MinProperties=0 +// +kubebuilder:validation:XValidation:rule="!has(oldSelf.unmanagedCustomResourceDefinitions) || has(self.unmanagedCustomResourceDefinitions)",message="unmanagedCustomResourceDefinitions cannot be unset once set" +type ClusterAPISpec struct { + // unmanagedCustomResourceDefinitions is a list of ClusterResourceDefinition (CRD) + // names that should not be managed by the capi-operator installer + // controller. This allows external actors to own specific CRDs while + // capi-operator manages others. + // + // Each CRD name must be a valid DNS-1123 subdomain consisting of lowercase + // alphanumeric characters, '-' or '.', and must start and end with an + // alphanumeric character, with a maximum length of 253 characters. + // CRD names must contain at least two '.' characters. + // Example: "clusters.cluster.x-k8s.io" + // + // Items cannot be removed from this list once added. + // + // The maximum number of unmanagedCustomResourceDefinitions is 128. + // + // +optional + // +listType=set + // +kubebuilder:validation:MinItems=1 + // +kubebuilder:validation:MaxItems=128 + // +kubebuilder:validation:XValidation:rule="oldSelf.all(item, item in self)",message="items cannot be removed from unmanagedCustomResourceDefinitions list" + // +kubebuilder:validation:items:XValidation:rule="!format.dns1123Subdomain().validate(self).hasValue()",message="a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character." + // +kubebuilder:validation:items:XValidation:rule="self.split('.').size() > 2",message="CRD names must contain at least two '.' characters." + // +kubebuilder:validation:items:MinLength=1 + // +kubebuilder:validation:items:MaxLength=253 + UnmanagedCustomResourceDefinitions []string `json:"unmanagedCustomResourceDefinitions,omitempty"` +} + +// RevisionName represents the name of a revision. The name must be between 1 +// and 255 characters long. +// +kubebuilder:validation:MinLength=1 +// +kubebuilder:validation:MaxLength=255 +type RevisionName string + +// ClusterAPIStatus describes the current state of the capi-operator. +// +kubebuilder:validation:XValidation:rule="self.revisions.exists(r, r.name == self.desiredRevision && self.revisions.all(s, s.revision <= r.revision))",message="desiredRevision must be the name of the revision with the highest revision number" +// +kubebuilder:validation:XValidation:rule="!has(self.currentRevision) || self.revisions.exists(r, r.name == self.currentRevision)",message="currentRevision must correspond to an entry in the revisions list" +type ClusterAPIStatus struct { + // currentRevision is the name of the most recently fully applied revision. + // It is written by the installer controller. If it is absent, it indicates + // that no revision has been fully applied yet. + // If set, currentRevision must correspond to an entry in the revisions list. + // +optional + CurrentRevision RevisionName `json:"currentRevision,omitempty"` + + // desiredRevision is the name of the desired revision. It is written by the + // revision controller. It must be set to the name of the entry in the + // revisions list with the highest revision number. + // +required + DesiredRevision RevisionName `json:"desiredRevision,omitempty"` + + // revisions is a list of all currently active revisions. A revision is + // active until the installer controller updates currentRevision to a later + // revision. It is written by the revision controller. + // + // The maximum number of revisions is 16. + // All revisions must have a unique name. + // All revisions must have a unique revision number. + // When adding a revision, the revision number must be greater than the highest revision number in the list. + // Revisions are immutable, although they can be deleted. + // + // +required + // +listType=atomic + // +kubebuilder:validation:MinItems=1 + // +kubebuilder:validation:MaxItems=16 + // +kubebuilder:validation:XValidation:rule="self.all(x, self.exists_one(y, x.name == y.name))",message="each revision must have a unique name" + // +kubebuilder:validation:XValidation:rule="self.all(x, self.exists_one(y, x.revision == y.revision))",message="each revision must have a unique revision number" + // +kubebuilder:validation:XValidation:rule="self.all(new, oldSelf.exists(old, old.name == new.name) || oldSelf.all(old, new.revision > old.revision))",message="new revisions must have a revision number greater than all existing revisions" + // +kubebuilder:validation:XValidation:rule="oldSelf.all(old, !self.exists(new, new.name == old.name) || self.exists(new, new == old))",message="existing revisions are immutable, but may be removed" + Revisions []ClusterAPIInstallerRevision `json:"revisions,omitempty"` +} + +// +structType=atomic +type ClusterAPIInstallerRevision struct { + // name is the name of a revision. + // +required + Name RevisionName `json:"name,omitempty"` + + // revision is a monotonically increasing number that is assigned to a revision. + // +required + // +kubebuilder:validation:Minimum=1 + Revision int64 `json:"revision,omitempty"` + + // contentID uniquely identifies the content of this revision. + // The contentID must be between 1 and 255 characters long. + // +required + // +kubebuilder:validation:MinLength=1 + // +kubebuilder:validation:MaxLength=255 + ContentID string `json:"contentID,omitempty"` + + // unmanagedCustomResourceDefinitions is a list of the names of + // ClusterResourceDefinition (CRD) objects which are included in this + // revision, but which should not be installed or updated. If not set, all + // CRDs in the revision will be managed by the CAPI operator. + // +listType=atomic + // +kubebuilder:validation:items:XValidation:rule="!format.dns1123Subdomain().validate(self).hasValue()",message="a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character." + // +kubebuilder:validation:items:MinLength=1 + // +kubebuilder:validation:items:MaxLength=253 + // +kubebuilder:validation:MinItems=1 + // +kubebuilder:validation:MaxItems=128 + // +optional + UnmanagedCustomResourceDefinitions []string `json:"unmanagedCustomResourceDefinitions,omitempty"` + + // components is list of components which will be installed by this + // revision. Components will be installed in the order they are listed. + // + // The maximum number of components is 32. + // + // +required + // +listType=atomic + // +kubebuilder:validation:MinItems=1 + // +kubebuilder:validation:MaxItems=32 + Components []ClusterAPIInstallerComponent `json:"components,omitempty"` +} + +// InstallerComponentType is the type of component to install. +// +kubebuilder:validation:Enum=Image +// +enum +type InstallerComponentType string + +const ( + // InstallerComponentTypeImage is an image source for a component. + InstallerComponentTypeImage InstallerComponentType = "Image" +) + +// ClusterAPIInstallerComponent defines a component which will be installed by this revision. +// +union +// +kubebuilder:validation:XValidation:rule="self.type == 'Image' ? has(self.image) : !has(self.image)",message="image is required when type is Image, and forbidden otherwise" +type ClusterAPIInstallerComponent struct { + // type is the source type of the component. + // The only valid value is Image. + // When set to Image, the image field must be set and will define an image source for the component. + // +required + // +unionDiscriminator + Type InstallerComponentType `json:"type,omitempty"` + + // image defines an image source for a component. The image must contain a + // /capi-operator-installer directory containing the component manifests. + // +optional + Image ClusterAPIInstallerComponentImage `json:"image,omitzero"` +} + +// ImageDigestFormat is a type that conforms to the format host[:port][/namespace]/name@sha256:. +// The digest must be 64 characters long, and consist only of lowercase hexadecimal characters, a-f and 0-9. +// The length of the field must be between 1 to 447 characters. +// +kubebuilder:validation:MinLength=1 +// +kubebuilder:validation:MaxLength=447 +// +kubebuilder:validation:XValidation:rule=`(self.split('@').size() == 2 && self.split('@')[1].matches('^sha256:[a-f0-9]{64}$'))`,message="the OCI Image reference must end with a valid '@sha256:' suffix, where '' is 64 characters long" +// +kubebuilder:validation:XValidation:rule=`(self.split('@')[0].matches('^([a-zA-Z0-9-]+\\.)+[a-zA-Z0-9-]+(:[0-9]{2,5})?/([a-zA-Z0-9-_]{0,61}/)?[a-zA-Z0-9-_.]*?$'))`,message="the OCI Image name should follow the host[:port][/namespace]/name format, resembling a valid URL without the scheme" +type ImageDigestFormat string + +// ClusterAPIInstallerComponentImage defines an image source for a component. +type ClusterAPIInstallerComponentImage struct { + // ref is an image reference to the image containing the component manifests. The reference + // must be a valid image digest reference in the format host[:port][/namespace]/name@sha256:. + // The digest must be 64 characters long, and consist only of lowercase hexadecimal characters, a-f and 0-9. + // The length of the field must be between 1 to 447 characters. + // +required + Ref ImageDigestFormat `json:"ref,omitempty"` + + // profile is the name of a profile to use from the image. + // + // A profile name may be up to 255 characters long. It must consist of alphanumeric characters, '-', or '_'. + // +required + // +kubebuilder:validation:MinLength=1 + // +kubebuilder:validation:MaxLength=255 + // +kubebuilder:validation:XValidation:rule="self.matches('^[a-zA-Z0-9-_]+$')",message="profile must consist of alphanumeric characters, '-', or '_'" + Profile string `json:"profile,omitempty"` +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// ClusterAPIList contains a list of ClusterAPI configurations +// +// Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support. +// +openshift:compatibility-gen:level=4 +type ClusterAPIList struct { + metav1.TypeMeta `json:",inline"` + + // metadata is the standard list's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + metav1.ListMeta `json:"metadata"` + + // items contains the items + Items []ClusterAPI `json:"items"` +} diff --git a/vendor/github.com/openshift/api/operator/v1alpha1/zz_generated.deepcopy.go b/vendor/github.com/openshift/api/operator/v1alpha1/zz_generated.deepcopy.go index de4c071281..1f3fd281e1 100644 --- a/vendor/github.com/openshift/api/operator/v1alpha1/zz_generated.deepcopy.go +++ b/vendor/github.com/openshift/api/operator/v1alpha1/zz_generated.deepcopy.go @@ -26,6 +26,174 @@ func (in *BackupJobReference) DeepCopy() *BackupJobReference { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterAPI) DeepCopyInto(out *ClusterAPI) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + if in.Spec != nil { + in, out := &in.Spec, &out.Spec + *out = new(ClusterAPISpec) + (*in).DeepCopyInto(*out) + } + in.Status.DeepCopyInto(&out.Status) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAPI. +func (in *ClusterAPI) DeepCopy() *ClusterAPI { + if in == nil { + return nil + } + out := new(ClusterAPI) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ClusterAPI) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterAPIInstallerComponent) DeepCopyInto(out *ClusterAPIInstallerComponent) { + *out = *in + out.Image = in.Image + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAPIInstallerComponent. +func (in *ClusterAPIInstallerComponent) DeepCopy() *ClusterAPIInstallerComponent { + if in == nil { + return nil + } + out := new(ClusterAPIInstallerComponent) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterAPIInstallerComponentImage) DeepCopyInto(out *ClusterAPIInstallerComponentImage) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAPIInstallerComponentImage. +func (in *ClusterAPIInstallerComponentImage) DeepCopy() *ClusterAPIInstallerComponentImage { + if in == nil { + return nil + } + out := new(ClusterAPIInstallerComponentImage) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterAPIInstallerRevision) DeepCopyInto(out *ClusterAPIInstallerRevision) { + *out = *in + if in.UnmanagedCustomResourceDefinitions != nil { + in, out := &in.UnmanagedCustomResourceDefinitions, &out.UnmanagedCustomResourceDefinitions + *out = make([]string, len(*in)) + copy(*out, *in) + } + if in.Components != nil { + in, out := &in.Components, &out.Components + *out = make([]ClusterAPIInstallerComponent, len(*in)) + copy(*out, *in) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAPIInstallerRevision. +func (in *ClusterAPIInstallerRevision) DeepCopy() *ClusterAPIInstallerRevision { + if in == nil { + return nil + } + out := new(ClusterAPIInstallerRevision) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterAPIList) DeepCopyInto(out *ClusterAPIList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ClusterAPI, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAPIList. +func (in *ClusterAPIList) DeepCopy() *ClusterAPIList { + if in == nil { + return nil + } + out := new(ClusterAPIList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ClusterAPIList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterAPISpec) DeepCopyInto(out *ClusterAPISpec) { + *out = *in + if in.UnmanagedCustomResourceDefinitions != nil { + in, out := &in.UnmanagedCustomResourceDefinitions, &out.UnmanagedCustomResourceDefinitions + *out = make([]string, len(*in)) + copy(*out, *in) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAPISpec. +func (in *ClusterAPISpec) DeepCopy() *ClusterAPISpec { + if in == nil { + return nil + } + out := new(ClusterAPISpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterAPIStatus) DeepCopyInto(out *ClusterAPIStatus) { + *out = *in + if in.Revisions != nil { + in, out := &in.Revisions, &out.Revisions + *out = make([]ClusterAPIInstallerRevision, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAPIStatus. +func (in *ClusterAPIStatus) DeepCopy() *ClusterAPIStatus { + if in == nil { + return nil + } + out := new(ClusterAPIStatus) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ClusterVersionOperator) DeepCopyInto(out *ClusterVersionOperator) { *out = *in diff --git a/vendor/github.com/openshift/api/operator/v1alpha1/zz_generated.featuregated-crd-manifests.yaml b/vendor/github.com/openshift/api/operator/v1alpha1/zz_generated.featuregated-crd-manifests.yaml index 0d595be801..3ad442d9d8 100644 --- a/vendor/github.com/openshift/api/operator/v1alpha1/zz_generated.featuregated-crd-manifests.yaml +++ b/vendor/github.com/openshift/api/operator/v1alpha1/zz_generated.featuregated-crd-manifests.yaml @@ -1,3 +1,27 @@ +clusterapis.operator.openshift.io: + Annotations: + release.openshift.io/feature-gate: ClusterAPIMachineManagement + ApprovedPRNumber: https://github.com/openshift/api/pull/2564 + CRDName: clusterapis.operator.openshift.io + Capability: "" + Category: "" + FeatureGates: + - ClusterAPIMachineManagement + FilenameOperatorName: cluster-api + FilenameOperatorOrdering: "01" + FilenameRunLevel: "0000_30" + GroupName: operator.openshift.io + HasStatus: true + KindName: ClusterAPI + Labels: {} + PluralName: clusterapis + PrinterColumns: [] + Scope: Cluster + ShortNames: null + TopLevelFeatureGates: + - ClusterAPIMachineManagement + Version: v1alpha1 + clusterversionoperators.operator.openshift.io: Annotations: {} ApprovedPRNumber: https://github.com/openshift/api/pull/2044 diff --git a/vendor/github.com/openshift/api/operator/v1alpha1/zz_generated.swagger_doc_generated.go b/vendor/github.com/openshift/api/operator/v1alpha1/zz_generated.swagger_doc_generated.go index 9060bf9981..94d48269d4 100644 --- a/vendor/github.com/openshift/api/operator/v1alpha1/zz_generated.swagger_doc_generated.go +++ b/vendor/github.com/openshift/api/operator/v1alpha1/zz_generated.swagger_doc_generated.go @@ -135,6 +135,79 @@ func (VersionAvailability) SwaggerDoc() map[string]string { return map_VersionAvailability } +var map_ClusterAPI = map[string]string{ + "": "ClusterAPI provides configuration for the capi-operator.\n\nCompatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.", + "metadata": "metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "spec": "spec is the specification of the desired behavior of the capi-operator.", + "status": "status defines the observed status of the capi-operator.", +} + +func (ClusterAPI) SwaggerDoc() map[string]string { + return map_ClusterAPI +} + +var map_ClusterAPIInstallerComponent = map[string]string{ + "": "ClusterAPIInstallerComponent defines a component which will be installed by this revision.", + "type": "type is the source type of the component. The only valid value is Image. When set to Image, the image field must be set and will define an image source for the component.", + "image": "image defines an image source for a component. The image must contain a /capi-operator-installer directory containing the component manifests.", +} + +func (ClusterAPIInstallerComponent) SwaggerDoc() map[string]string { + return map_ClusterAPIInstallerComponent +} + +var map_ClusterAPIInstallerComponentImage = map[string]string{ + "": "ClusterAPIInstallerComponentImage defines an image source for a component.", + "ref": "ref is an image reference to the image containing the component manifests. The reference must be a valid image digest reference in the format host[:port][/namespace]/name@sha256:. The digest must be 64 characters long, and consist only of lowercase hexadecimal characters, a-f and 0-9. The length of the field must be between 1 to 447 characters.", + "profile": "profile is the name of a profile to use from the image.\n\nA profile name may be up to 255 characters long. It must consist of alphanumeric characters, '-', or '_'.", +} + +func (ClusterAPIInstallerComponentImage) SwaggerDoc() map[string]string { + return map_ClusterAPIInstallerComponentImage +} + +var map_ClusterAPIInstallerRevision = map[string]string{ + "name": "name is the name of a revision.", + "revision": "revision is a monotonically increasing number that is assigned to a revision.", + "contentID": "contentID uniquely identifies the content of this revision. The contentID must be between 1 and 255 characters long.", + "unmanagedCustomResourceDefinitions": "unmanagedCustomResourceDefinitions is a list of the names of ClusterResourceDefinition (CRD) objects which are included in this revision, but which should not be installed or updated. If not set, all CRDs in the revision will be managed by the CAPI operator.", + "components": "components is list of components which will be installed by this revision. Components will be installed in the order they are listed.\n\nThe maximum number of components is 32.", +} + +func (ClusterAPIInstallerRevision) SwaggerDoc() map[string]string { + return map_ClusterAPIInstallerRevision +} + +var map_ClusterAPIList = map[string]string{ + "": "ClusterAPIList contains a list of ClusterAPI configurations\n\nCompatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.", + "metadata": "metadata is the standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "items": "items contains the items", +} + +func (ClusterAPIList) SwaggerDoc() map[string]string { + return map_ClusterAPIList +} + +var map_ClusterAPISpec = map[string]string{ + "": "ClusterAPISpec defines the desired configuration of the capi-operator. The spec is required but we deliberately allow it to be empty.", + "unmanagedCustomResourceDefinitions": "unmanagedCustomResourceDefinitions is a list of ClusterResourceDefinition (CRD) names that should not be managed by the capi-operator installer controller. This allows external actors to own specific CRDs while capi-operator manages others.\n\nEach CRD name must be a valid DNS-1123 subdomain consisting of lowercase alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character, with a maximum length of 253 characters. CRD names must contain at least two '.' characters. Example: \"clusters.cluster.x-k8s.io\"\n\nItems cannot be removed from this list once added.\n\nThe maximum number of unmanagedCustomResourceDefinitions is 128.", +} + +func (ClusterAPISpec) SwaggerDoc() map[string]string { + return map_ClusterAPISpec +} + +var map_ClusterAPIStatus = map[string]string{ + "": "ClusterAPIStatus describes the current state of the capi-operator.", + "currentRevision": "currentRevision is the name of the most recently fully applied revision. It is written by the installer controller. If it is absent, it indicates that no revision has been fully applied yet. If set, currentRevision must correspond to an entry in the revisions list.", + "desiredRevision": "desiredRevision is the name of the desired revision. It is written by the revision controller. It must be set to the name of the entry in the revisions list with the highest revision number.", + "revisions": "revisions is a list of all currently active revisions. A revision is active until the installer controller updates currentRevision to a later revision. It is written by the revision controller.\n\nThe maximum number of revisions is 16. All revisions must have a unique name. All revisions must have a unique revision number. When adding a revision, the revision number must be greater than the highest revision number in the list. Revisions are immutable, although they can be deleted.", +} + +func (ClusterAPIStatus) SwaggerDoc() map[string]string { + return map_ClusterAPIStatus +} + var map_ClusterVersionOperator = map[string]string{ "": "ClusterVersionOperator holds cluster-wide information about the Cluster Version Operator.\n\nCompatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.", "metadata": "metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/acceptrisk.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/acceptrisk.go new file mode 100644 index 0000000000..dba8a77eda --- /dev/null +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/acceptrisk.go @@ -0,0 +1,23 @@ +// Code generated by applyconfiguration-gen. DO NOT EDIT. + +package v1 + +// AcceptRiskApplyConfiguration represents a declarative configuration of the AcceptRisk type for use +// with apply. +type AcceptRiskApplyConfiguration struct { + Name *string `json:"name,omitempty"` +} + +// AcceptRiskApplyConfiguration constructs a declarative configuration of the AcceptRisk type for use with +// apply. +func AcceptRisk() *AcceptRiskApplyConfiguration { + return &AcceptRiskApplyConfiguration{} +} + +// WithName sets the Name field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Name field is set to the value of the last call. +func (b *AcceptRiskApplyConfiguration) WithName(value string) *AcceptRiskApplyConfiguration { + b.Name = &value + return b +} diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/awsplatformstatus.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/awsplatformstatus.go index b217e5bdcd..53d86d2fdd 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/awsplatformstatus.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/awsplatformstatus.go @@ -2,6 +2,10 @@ package v1 +import ( + configv1 "github.com/openshift/api/config/v1" +) + // AWSPlatformStatusApplyConfiguration represents a declarative configuration of the AWSPlatformStatus type for use // with apply. type AWSPlatformStatusApplyConfiguration struct { @@ -9,6 +13,7 @@ type AWSPlatformStatusApplyConfiguration struct { ServiceEndpoints []AWSServiceEndpointApplyConfiguration `json:"serviceEndpoints,omitempty"` ResourceTags []AWSResourceTagApplyConfiguration `json:"resourceTags,omitempty"` CloudLoadBalancerConfig *CloudLoadBalancerConfigApplyConfiguration `json:"cloudLoadBalancerConfig,omitempty"` + IPFamily *configv1.IPFamilyType `json:"ipFamily,omitempty"` } // AWSPlatformStatusApplyConfiguration constructs a declarative configuration of the AWSPlatformStatus type for use with @@ -58,3 +63,11 @@ func (b *AWSPlatformStatusApplyConfiguration) WithCloudLoadBalancerConfig(value b.CloudLoadBalancerConfig = value return b } + +// WithIPFamily sets the IPFamily field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the IPFamily field is set to the value of the last call. +func (b *AWSPlatformStatusApplyConfiguration) WithIPFamily(value configv1.IPFamilyType) *AWSPlatformStatusApplyConfiguration { + b.IPFamily = &value + return b +} diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/azureplatformstatus.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/azureplatformstatus.go index 3d1a83d28a..774641c829 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/azureplatformstatus.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/azureplatformstatus.go @@ -15,6 +15,7 @@ type AzurePlatformStatusApplyConfiguration struct { ARMEndpoint *string `json:"armEndpoint,omitempty"` ResourceTags []AzureResourceTagApplyConfiguration `json:"resourceTags,omitempty"` CloudLoadBalancerConfig *CloudLoadBalancerConfigApplyConfiguration `json:"cloudLoadBalancerConfig,omitempty"` + IPFamily *configv1.IPFamilyType `json:"ipFamily,omitempty"` } // AzurePlatformStatusApplyConfiguration constructs a declarative configuration of the AzurePlatformStatus type for use with @@ -75,3 +76,11 @@ func (b *AzurePlatformStatusApplyConfiguration) WithCloudLoadBalancerConfig(valu b.CloudLoadBalancerConfig = value return b } + +// WithIPFamily sets the IPFamily field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the IPFamily field is set to the value of the last call. +func (b *AzurePlatformStatusApplyConfiguration) WithIPFamily(value configv1.IPFamilyType) *AzurePlatformStatusApplyConfiguration { + b.IPFamily = &value + return b +} diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/baremetalplatformstatus.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/baremetalplatformstatus.go index 55b875c7c4..315dc309ca 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/baremetalplatformstatus.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/baremetalplatformstatus.go @@ -15,6 +15,7 @@ type BareMetalPlatformStatusApplyConfiguration struct { IngressIPs []string `json:"ingressIPs,omitempty"` NodeDNSIP *string `json:"nodeDNSIP,omitempty"` LoadBalancer *BareMetalPlatformLoadBalancerApplyConfiguration `json:"loadBalancer,omitempty"` + DNSRecordsType *configv1.DNSRecordsType `json:"dnsRecordsType,omitempty"` MachineNetworks []configv1.CIDR `json:"machineNetworks,omitempty"` } @@ -76,6 +77,14 @@ func (b *BareMetalPlatformStatusApplyConfiguration) WithLoadBalancer(value *Bare return b } +// WithDNSRecordsType sets the DNSRecordsType field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the DNSRecordsType field is set to the value of the last call. +func (b *BareMetalPlatformStatusApplyConfiguration) WithDNSRecordsType(value configv1.DNSRecordsType) *BareMetalPlatformStatusApplyConfiguration { + b.DNSRecordsType = &value + return b +} + // WithMachineNetworks adds the given value to the MachineNetworks field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. // If called multiple times, values provided by each call will be appended to the MachineNetworks field. diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/clusterimagepolicyspec.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/clusterimagepolicyspec.go index 6c86d66d47..8cee680f27 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/clusterimagepolicyspec.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/clusterimagepolicyspec.go @@ -9,8 +9,8 @@ import ( // ClusterImagePolicySpecApplyConfiguration represents a declarative configuration of the ClusterImagePolicySpec type for use // with apply. type ClusterImagePolicySpecApplyConfiguration struct { - Scopes []configv1.ImageScope `json:"scopes,omitempty"` - Policy *PolicyApplyConfiguration `json:"policy,omitempty"` + Scopes []configv1.ImageScope `json:"scopes,omitempty"` + Policy *ImageSigstoreVerificationPolicyApplyConfiguration `json:"policy,omitempty"` } // ClusterImagePolicySpecApplyConfiguration constructs a declarative configuration of the ClusterImagePolicySpec type for use with @@ -32,7 +32,7 @@ func (b *ClusterImagePolicySpecApplyConfiguration) WithScopes(values ...configv1 // WithPolicy sets the Policy field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Policy field is set to the value of the last call. -func (b *ClusterImagePolicySpecApplyConfiguration) WithPolicy(value *PolicyApplyConfiguration) *ClusterImagePolicySpecApplyConfiguration { +func (b *ClusterImagePolicySpecApplyConfiguration) WithPolicy(value *ImageSigstoreVerificationPolicyApplyConfiguration) *ClusterImagePolicySpecApplyConfiguration { b.Policy = value return b } diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/clusterversionstatus.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/clusterversionstatus.go index e966cf4242..4d44643d42 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/clusterversionstatus.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/clusterversionstatus.go @@ -5,14 +5,15 @@ package v1 // ClusterVersionStatusApplyConfiguration represents a declarative configuration of the ClusterVersionStatus type for use // with apply. type ClusterVersionStatusApplyConfiguration struct { - Desired *ReleaseApplyConfiguration `json:"desired,omitempty"` - History []UpdateHistoryApplyConfiguration `json:"history,omitempty"` - ObservedGeneration *int64 `json:"observedGeneration,omitempty"` - VersionHash *string `json:"versionHash,omitempty"` - Capabilities *ClusterVersionCapabilitiesStatusApplyConfiguration `json:"capabilities,omitempty"` - Conditions []ClusterOperatorStatusConditionApplyConfiguration `json:"conditions,omitempty"` - AvailableUpdates []ReleaseApplyConfiguration `json:"availableUpdates,omitempty"` - ConditionalUpdates []ConditionalUpdateApplyConfiguration `json:"conditionalUpdates,omitempty"` + Desired *ReleaseApplyConfiguration `json:"desired,omitempty"` + History []UpdateHistoryApplyConfiguration `json:"history,omitempty"` + ObservedGeneration *int64 `json:"observedGeneration,omitempty"` + VersionHash *string `json:"versionHash,omitempty"` + Capabilities *ClusterVersionCapabilitiesStatusApplyConfiguration `json:"capabilities,omitempty"` + Conditions []ClusterOperatorStatusConditionApplyConfiguration `json:"conditions,omitempty"` + AvailableUpdates []ReleaseApplyConfiguration `json:"availableUpdates,omitempty"` + ConditionalUpdates []ConditionalUpdateApplyConfiguration `json:"conditionalUpdates,omitempty"` + ConditionalUpdateRisks []ConditionalUpdateRiskApplyConfiguration `json:"conditionalUpdateRisks,omitempty"` } // ClusterVersionStatusApplyConfiguration constructs a declarative configuration of the ClusterVersionStatus type for use with @@ -104,3 +105,16 @@ func (b *ClusterVersionStatusApplyConfiguration) WithConditionalUpdates(values . } return b } + +// WithConditionalUpdateRisks adds the given value to the ConditionalUpdateRisks field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the ConditionalUpdateRisks field. +func (b *ClusterVersionStatusApplyConfiguration) WithConditionalUpdateRisks(values ...*ConditionalUpdateRiskApplyConfiguration) *ClusterVersionStatusApplyConfiguration { + for i := range values { + if values[i] == nil { + panic("nil value passed to WithConditionalUpdateRisks") + } + b.ConditionalUpdateRisks = append(b.ConditionalUpdateRisks, *values[i]) + } + return b +} diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/conditionalupdate.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/conditionalupdate.go index f183fc6e25..8bffb192c0 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/conditionalupdate.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/conditionalupdate.go @@ -10,6 +10,7 @@ import ( // with apply. type ConditionalUpdateApplyConfiguration struct { Release *ReleaseApplyConfiguration `json:"release,omitempty"` + RiskNames []string `json:"riskNames,omitempty"` Risks []ConditionalUpdateRiskApplyConfiguration `json:"risks,omitempty"` Conditions []metav1.ConditionApplyConfiguration `json:"conditions,omitempty"` } @@ -28,6 +29,16 @@ func (b *ConditionalUpdateApplyConfiguration) WithRelease(value *ReleaseApplyCon return b } +// WithRiskNames adds the given value to the RiskNames field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the RiskNames field. +func (b *ConditionalUpdateApplyConfiguration) WithRiskNames(values ...string) *ConditionalUpdateApplyConfiguration { + for i := range values { + b.RiskNames = append(b.RiskNames, values[i]) + } + return b +} + // WithRisks adds the given value to the Risks field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. // If called multiple times, values provided by each call will be appended to the Risks field. diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/conditionalupdaterisk.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/conditionalupdaterisk.go index 6debb6e624..fdfc14ebfa 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/conditionalupdaterisk.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/conditionalupdaterisk.go @@ -2,9 +2,14 @@ package v1 +import ( + metav1 "k8s.io/client-go/applyconfigurations/meta/v1" +) + // ConditionalUpdateRiskApplyConfiguration represents a declarative configuration of the ConditionalUpdateRisk type for use // with apply. type ConditionalUpdateRiskApplyConfiguration struct { + Conditions []metav1.ConditionApplyConfiguration `json:"conditions,omitempty"` URL *string `json:"url,omitempty"` Name *string `json:"name,omitempty"` Message *string `json:"message,omitempty"` @@ -17,6 +22,19 @@ func ConditionalUpdateRisk() *ConditionalUpdateRiskApplyConfiguration { return &ConditionalUpdateRiskApplyConfiguration{} } +// WithConditions adds the given value to the Conditions field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the Conditions field. +func (b *ConditionalUpdateRiskApplyConfiguration) WithConditions(values ...*metav1.ConditionApplyConfiguration) *ConditionalUpdateRiskApplyConfiguration { + for i := range values { + if values[i] == nil { + panic("nil value passed to WithConditions") + } + b.Conditions = append(b.Conditions, *values[i]) + } + return b +} + // WithURL sets the URL field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the URL field is set to the value of the last call. diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/gcpplatformstatus.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/gcpplatformstatus.go index 3f67e9e359..9c28888cf9 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/gcpplatformstatus.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/gcpplatformstatus.go @@ -10,7 +10,6 @@ type GCPPlatformStatusApplyConfiguration struct { ResourceLabels []GCPResourceLabelApplyConfiguration `json:"resourceLabels,omitempty"` ResourceTags []GCPResourceTagApplyConfiguration `json:"resourceTags,omitempty"` CloudLoadBalancerConfig *CloudLoadBalancerConfigApplyConfiguration `json:"cloudLoadBalancerConfig,omitempty"` - ServiceEndpoints []GCPServiceEndpointApplyConfiguration `json:"serviceEndpoints,omitempty"` } // GCPPlatformStatusApplyConfiguration constructs a declarative configuration of the GCPPlatformStatus type for use with @@ -68,16 +67,3 @@ func (b *GCPPlatformStatusApplyConfiguration) WithCloudLoadBalancerConfig(value b.CloudLoadBalancerConfig = value return b } - -// WithServiceEndpoints adds the given value to the ServiceEndpoints field in the declarative configuration -// and returns the receiver, so that objects can be build by chaining "With" function invocations. -// If called multiple times, values provided by each call will be appended to the ServiceEndpoints field. -func (b *GCPPlatformStatusApplyConfiguration) WithServiceEndpoints(values ...*GCPServiceEndpointApplyConfiguration) *GCPPlatformStatusApplyConfiguration { - for i := range values { - if values[i] == nil { - panic("nil value passed to WithServiceEndpoints") - } - b.ServiceEndpoints = append(b.ServiceEndpoints, *values[i]) - } - return b -} diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/gcpserviceendpoint.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/gcpserviceendpoint.go deleted file mode 100644 index 2cb9d0a7ca..0000000000 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/gcpserviceendpoint.go +++ /dev/null @@ -1,36 +0,0 @@ -// Code generated by applyconfiguration-gen. DO NOT EDIT. - -package v1 - -import ( - configv1 "github.com/openshift/api/config/v1" -) - -// GCPServiceEndpointApplyConfiguration represents a declarative configuration of the GCPServiceEndpoint type for use -// with apply. -type GCPServiceEndpointApplyConfiguration struct { - Name *configv1.GCPServiceEndpointName `json:"name,omitempty"` - URL *string `json:"url,omitempty"` -} - -// GCPServiceEndpointApplyConfiguration constructs a declarative configuration of the GCPServiceEndpoint type for use with -// apply. -func GCPServiceEndpoint() *GCPServiceEndpointApplyConfiguration { - return &GCPServiceEndpointApplyConfiguration{} -} - -// WithName sets the Name field in the declarative configuration to the given value -// and returns the receiver, so that objects can be built by chaining "With" function invocations. -// If called multiple times, the Name field is set to the value of the last call. -func (b *GCPServiceEndpointApplyConfiguration) WithName(value configv1.GCPServiceEndpointName) *GCPServiceEndpointApplyConfiguration { - b.Name = &value - return b -} - -// WithURL sets the URL field in the declarative configuration to the given value -// and returns the receiver, so that objects can be built by chaining "With" function invocations. -// If called multiple times, the URL field is set to the value of the last call. -func (b *GCPServiceEndpointApplyConfiguration) WithURL(value string) *GCPServiceEndpointApplyConfiguration { - b.URL = &value - return b -} diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/fulciocawithrekor.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/imagepolicyfulciocawithrekorrootoftrust.go similarity index 57% rename from vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/fulciocawithrekor.go rename to vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/imagepolicyfulciocawithrekorrootoftrust.go index 48b553580d..a4c831fca0 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/fulciocawithrekor.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/imagepolicyfulciocawithrekorrootoftrust.go @@ -2,24 +2,24 @@ package v1 -// FulcioCAWithRekorApplyConfiguration represents a declarative configuration of the FulcioCAWithRekor type for use +// ImagePolicyFulcioCAWithRekorRootOfTrustApplyConfiguration represents a declarative configuration of the ImagePolicyFulcioCAWithRekorRootOfTrust type for use // with apply. -type FulcioCAWithRekorApplyConfiguration struct { +type ImagePolicyFulcioCAWithRekorRootOfTrustApplyConfiguration struct { FulcioCAData []byte `json:"fulcioCAData,omitempty"` RekorKeyData []byte `json:"rekorKeyData,omitempty"` FulcioSubject *PolicyFulcioSubjectApplyConfiguration `json:"fulcioSubject,omitempty"` } -// FulcioCAWithRekorApplyConfiguration constructs a declarative configuration of the FulcioCAWithRekor type for use with +// ImagePolicyFulcioCAWithRekorRootOfTrustApplyConfiguration constructs a declarative configuration of the ImagePolicyFulcioCAWithRekorRootOfTrust type for use with // apply. -func FulcioCAWithRekor() *FulcioCAWithRekorApplyConfiguration { - return &FulcioCAWithRekorApplyConfiguration{} +func ImagePolicyFulcioCAWithRekorRootOfTrust() *ImagePolicyFulcioCAWithRekorRootOfTrustApplyConfiguration { + return &ImagePolicyFulcioCAWithRekorRootOfTrustApplyConfiguration{} } // WithFulcioCAData adds the given value to the FulcioCAData field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. // If called multiple times, values provided by each call will be appended to the FulcioCAData field. -func (b *FulcioCAWithRekorApplyConfiguration) WithFulcioCAData(values ...byte) *FulcioCAWithRekorApplyConfiguration { +func (b *ImagePolicyFulcioCAWithRekorRootOfTrustApplyConfiguration) WithFulcioCAData(values ...byte) *ImagePolicyFulcioCAWithRekorRootOfTrustApplyConfiguration { for i := range values { b.FulcioCAData = append(b.FulcioCAData, values[i]) } @@ -29,7 +29,7 @@ func (b *FulcioCAWithRekorApplyConfiguration) WithFulcioCAData(values ...byte) * // WithRekorKeyData adds the given value to the RekorKeyData field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. // If called multiple times, values provided by each call will be appended to the RekorKeyData field. -func (b *FulcioCAWithRekorApplyConfiguration) WithRekorKeyData(values ...byte) *FulcioCAWithRekorApplyConfiguration { +func (b *ImagePolicyFulcioCAWithRekorRootOfTrustApplyConfiguration) WithRekorKeyData(values ...byte) *ImagePolicyFulcioCAWithRekorRootOfTrustApplyConfiguration { for i := range values { b.RekorKeyData = append(b.RekorKeyData, values[i]) } @@ -39,7 +39,7 @@ func (b *FulcioCAWithRekorApplyConfiguration) WithRekorKeyData(values ...byte) * // WithFulcioSubject sets the FulcioSubject field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the FulcioSubject field is set to the value of the last call. -func (b *FulcioCAWithRekorApplyConfiguration) WithFulcioSubject(value *PolicyFulcioSubjectApplyConfiguration) *FulcioCAWithRekorApplyConfiguration { +func (b *ImagePolicyFulcioCAWithRekorRootOfTrustApplyConfiguration) WithFulcioSubject(value *PolicyFulcioSubjectApplyConfiguration) *ImagePolicyFulcioCAWithRekorRootOfTrustApplyConfiguration { b.FulcioSubject = value return b } diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/pki.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/imagepolicypkirootoftrust.go similarity index 65% rename from vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/pki.go rename to vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/imagepolicypkirootoftrust.go index 65f27edf8e..9a0c257b7f 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/pki.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/imagepolicypkirootoftrust.go @@ -2,24 +2,24 @@ package v1 -// PKIApplyConfiguration represents a declarative configuration of the PKI type for use +// ImagePolicyPKIRootOfTrustApplyConfiguration represents a declarative configuration of the ImagePolicyPKIRootOfTrust type for use // with apply. -type PKIApplyConfiguration struct { +type ImagePolicyPKIRootOfTrustApplyConfiguration struct { CertificateAuthorityRootsData []byte `json:"caRootsData,omitempty"` CertificateAuthorityIntermediatesData []byte `json:"caIntermediatesData,omitempty"` PKICertificateSubject *PKICertificateSubjectApplyConfiguration `json:"pkiCertificateSubject,omitempty"` } -// PKIApplyConfiguration constructs a declarative configuration of the PKI type for use with +// ImagePolicyPKIRootOfTrustApplyConfiguration constructs a declarative configuration of the ImagePolicyPKIRootOfTrust type for use with // apply. -func PKI() *PKIApplyConfiguration { - return &PKIApplyConfiguration{} +func ImagePolicyPKIRootOfTrust() *ImagePolicyPKIRootOfTrustApplyConfiguration { + return &ImagePolicyPKIRootOfTrustApplyConfiguration{} } // WithCertificateAuthorityRootsData adds the given value to the CertificateAuthorityRootsData field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. // If called multiple times, values provided by each call will be appended to the CertificateAuthorityRootsData field. -func (b *PKIApplyConfiguration) WithCertificateAuthorityRootsData(values ...byte) *PKIApplyConfiguration { +func (b *ImagePolicyPKIRootOfTrustApplyConfiguration) WithCertificateAuthorityRootsData(values ...byte) *ImagePolicyPKIRootOfTrustApplyConfiguration { for i := range values { b.CertificateAuthorityRootsData = append(b.CertificateAuthorityRootsData, values[i]) } @@ -29,7 +29,7 @@ func (b *PKIApplyConfiguration) WithCertificateAuthorityRootsData(values ...byte // WithCertificateAuthorityIntermediatesData adds the given value to the CertificateAuthorityIntermediatesData field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. // If called multiple times, values provided by each call will be appended to the CertificateAuthorityIntermediatesData field. -func (b *PKIApplyConfiguration) WithCertificateAuthorityIntermediatesData(values ...byte) *PKIApplyConfiguration { +func (b *ImagePolicyPKIRootOfTrustApplyConfiguration) WithCertificateAuthorityIntermediatesData(values ...byte) *ImagePolicyPKIRootOfTrustApplyConfiguration { for i := range values { b.CertificateAuthorityIntermediatesData = append(b.CertificateAuthorityIntermediatesData, values[i]) } @@ -39,7 +39,7 @@ func (b *PKIApplyConfiguration) WithCertificateAuthorityIntermediatesData(values // WithPKICertificateSubject sets the PKICertificateSubject field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the PKICertificateSubject field is set to the value of the last call. -func (b *PKIApplyConfiguration) WithPKICertificateSubject(value *PKICertificateSubjectApplyConfiguration) *PKIApplyConfiguration { +func (b *ImagePolicyPKIRootOfTrustApplyConfiguration) WithPKICertificateSubject(value *PKICertificateSubjectApplyConfiguration) *ImagePolicyPKIRootOfTrustApplyConfiguration { b.PKICertificateSubject = value return b } diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/publickey.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/imagepolicypublickeyrootoftrust.go similarity index 54% rename from vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/publickey.go rename to vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/imagepolicypublickeyrootoftrust.go index c1073e882f..a144573097 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/publickey.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/imagepolicypublickeyrootoftrust.go @@ -2,23 +2,23 @@ package v1 -// PublicKeyApplyConfiguration represents a declarative configuration of the PublicKey type for use +// ImagePolicyPublicKeyRootOfTrustApplyConfiguration represents a declarative configuration of the ImagePolicyPublicKeyRootOfTrust type for use // with apply. -type PublicKeyApplyConfiguration struct { +type ImagePolicyPublicKeyRootOfTrustApplyConfiguration struct { KeyData []byte `json:"keyData,omitempty"` RekorKeyData []byte `json:"rekorKeyData,omitempty"` } -// PublicKeyApplyConfiguration constructs a declarative configuration of the PublicKey type for use with +// ImagePolicyPublicKeyRootOfTrustApplyConfiguration constructs a declarative configuration of the ImagePolicyPublicKeyRootOfTrust type for use with // apply. -func PublicKey() *PublicKeyApplyConfiguration { - return &PublicKeyApplyConfiguration{} +func ImagePolicyPublicKeyRootOfTrust() *ImagePolicyPublicKeyRootOfTrustApplyConfiguration { + return &ImagePolicyPublicKeyRootOfTrustApplyConfiguration{} } // WithKeyData adds the given value to the KeyData field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. // If called multiple times, values provided by each call will be appended to the KeyData field. -func (b *PublicKeyApplyConfiguration) WithKeyData(values ...byte) *PublicKeyApplyConfiguration { +func (b *ImagePolicyPublicKeyRootOfTrustApplyConfiguration) WithKeyData(values ...byte) *ImagePolicyPublicKeyRootOfTrustApplyConfiguration { for i := range values { b.KeyData = append(b.KeyData, values[i]) } @@ -28,7 +28,7 @@ func (b *PublicKeyApplyConfiguration) WithKeyData(values ...byte) *PublicKeyAppl // WithRekorKeyData adds the given value to the RekorKeyData field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. // If called multiple times, values provided by each call will be appended to the RekorKeyData field. -func (b *PublicKeyApplyConfiguration) WithRekorKeyData(values ...byte) *PublicKeyApplyConfiguration { +func (b *ImagePolicyPublicKeyRootOfTrustApplyConfiguration) WithRekorKeyData(values ...byte) *ImagePolicyPublicKeyRootOfTrustApplyConfiguration { for i := range values { b.RekorKeyData = append(b.RekorKeyData, values[i]) } diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/imagepolicyspec.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/imagepolicyspec.go index b75165c8d0..3211964690 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/imagepolicyspec.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/imagepolicyspec.go @@ -9,8 +9,8 @@ import ( // ImagePolicySpecApplyConfiguration represents a declarative configuration of the ImagePolicySpec type for use // with apply. type ImagePolicySpecApplyConfiguration struct { - Scopes []configv1.ImageScope `json:"scopes,omitempty"` - Policy *PolicyApplyConfiguration `json:"policy,omitempty"` + Scopes []configv1.ImageScope `json:"scopes,omitempty"` + Policy *ImageSigstoreVerificationPolicyApplyConfiguration `json:"policy,omitempty"` } // ImagePolicySpecApplyConfiguration constructs a declarative configuration of the ImagePolicySpec type for use with @@ -32,7 +32,7 @@ func (b *ImagePolicySpecApplyConfiguration) WithScopes(values ...configv1.ImageS // WithPolicy sets the Policy field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Policy field is set to the value of the last call. -func (b *ImagePolicySpecApplyConfiguration) WithPolicy(value *PolicyApplyConfiguration) *ImagePolicySpecApplyConfiguration { +func (b *ImagePolicySpecApplyConfiguration) WithPolicy(value *ImageSigstoreVerificationPolicyApplyConfiguration) *ImagePolicySpecApplyConfiguration { b.Policy = value return b } diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/policy.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/imagesigstoreverificationpolicy.go similarity index 52% rename from vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/policy.go rename to vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/imagesigstoreverificationpolicy.go index 3e29510bf1..6f0d5d2e7c 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/policy.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/imagesigstoreverificationpolicy.go @@ -2,23 +2,23 @@ package v1 -// PolicyApplyConfiguration represents a declarative configuration of the Policy type for use +// ImageSigstoreVerificationPolicyApplyConfiguration represents a declarative configuration of the ImageSigstoreVerificationPolicy type for use // with apply. -type PolicyApplyConfiguration struct { +type ImageSigstoreVerificationPolicyApplyConfiguration struct { RootOfTrust *PolicyRootOfTrustApplyConfiguration `json:"rootOfTrust,omitempty"` SignedIdentity *PolicyIdentityApplyConfiguration `json:"signedIdentity,omitempty"` } -// PolicyApplyConfiguration constructs a declarative configuration of the Policy type for use with +// ImageSigstoreVerificationPolicyApplyConfiguration constructs a declarative configuration of the ImageSigstoreVerificationPolicy type for use with // apply. -func Policy() *PolicyApplyConfiguration { - return &PolicyApplyConfiguration{} +func ImageSigstoreVerificationPolicy() *ImageSigstoreVerificationPolicyApplyConfiguration { + return &ImageSigstoreVerificationPolicyApplyConfiguration{} } // WithRootOfTrust sets the RootOfTrust field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the RootOfTrust field is set to the value of the last call. -func (b *PolicyApplyConfiguration) WithRootOfTrust(value *PolicyRootOfTrustApplyConfiguration) *PolicyApplyConfiguration { +func (b *ImageSigstoreVerificationPolicyApplyConfiguration) WithRootOfTrust(value *PolicyRootOfTrustApplyConfiguration) *ImageSigstoreVerificationPolicyApplyConfiguration { b.RootOfTrust = value return b } @@ -26,7 +26,7 @@ func (b *PolicyApplyConfiguration) WithRootOfTrust(value *PolicyRootOfTrustApply // WithSignedIdentity sets the SignedIdentity field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the SignedIdentity field is set to the value of the last call. -func (b *PolicyApplyConfiguration) WithSignedIdentity(value *PolicyIdentityApplyConfiguration) *PolicyApplyConfiguration { +func (b *ImageSigstoreVerificationPolicyApplyConfiguration) WithSignedIdentity(value *PolicyIdentityApplyConfiguration) *ImageSigstoreVerificationPolicyApplyConfiguration { b.SignedIdentity = value return b } diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/nutanixplatformstatus.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/nutanixplatformstatus.go index d7988e5115..5c61ef9801 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/nutanixplatformstatus.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/nutanixplatformstatus.go @@ -2,6 +2,10 @@ package v1 +import ( + configv1 "github.com/openshift/api/config/v1" +) + // NutanixPlatformStatusApplyConfiguration represents a declarative configuration of the NutanixPlatformStatus type for use // with apply. type NutanixPlatformStatusApplyConfiguration struct { @@ -10,6 +14,7 @@ type NutanixPlatformStatusApplyConfiguration struct { IngressIP *string `json:"ingressIP,omitempty"` IngressIPs []string `json:"ingressIPs,omitempty"` LoadBalancer *NutanixPlatformLoadBalancerApplyConfiguration `json:"loadBalancer,omitempty"` + DNSRecordsType *configv1.DNSRecordsType `json:"dnsRecordsType,omitempty"` } // NutanixPlatformStatusApplyConfiguration constructs a declarative configuration of the NutanixPlatformStatus type for use with @@ -61,3 +66,11 @@ func (b *NutanixPlatformStatusApplyConfiguration) WithLoadBalancer(value *Nutani b.LoadBalancer = value return b } + +// WithDNSRecordsType sets the DNSRecordsType field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the DNSRecordsType field is set to the value of the last call. +func (b *NutanixPlatformStatusApplyConfiguration) WithDNSRecordsType(value configv1.DNSRecordsType) *NutanixPlatformStatusApplyConfiguration { + b.DNSRecordsType = &value + return b +} diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/oidcprovider.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/oidcprovider.go index 7d93003673..4f5aec3a54 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/oidcprovider.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/oidcprovider.go @@ -10,6 +10,7 @@ type OIDCProviderApplyConfiguration struct { OIDCClients []OIDCClientConfigApplyConfiguration `json:"oidcClients,omitempty"` ClaimMappings *TokenClaimMappingsApplyConfiguration `json:"claimMappings,omitempty"` ClaimValidationRules []TokenClaimValidationRuleApplyConfiguration `json:"claimValidationRules,omitempty"` + UserValidationRules []TokenUserValidationRuleApplyConfiguration `json:"userValidationRules,omitempty"` } // OIDCProviderApplyConfiguration constructs a declarative configuration of the OIDCProvider type for use with @@ -67,3 +68,16 @@ func (b *OIDCProviderApplyConfiguration) WithClaimValidationRules(values ...*Tok } return b } + +// WithUserValidationRules adds the given value to the UserValidationRules field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the UserValidationRules field. +func (b *OIDCProviderApplyConfiguration) WithUserValidationRules(values ...*TokenUserValidationRuleApplyConfiguration) *OIDCProviderApplyConfiguration { + for i := range values { + if values[i] == nil { + panic("nil value passed to WithUserValidationRules") + } + b.UserValidationRules = append(b.UserValidationRules, *values[i]) + } + return b +} diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/openstackplatformstatus.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/openstackplatformstatus.go index f06c78e243..4052769489 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/openstackplatformstatus.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/openstackplatformstatus.go @@ -16,6 +16,7 @@ type OpenStackPlatformStatusApplyConfiguration struct { IngressIPs []string `json:"ingressIPs,omitempty"` NodeDNSIP *string `json:"nodeDNSIP,omitempty"` LoadBalancer *OpenStackPlatformLoadBalancerApplyConfiguration `json:"loadBalancer,omitempty"` + DNSRecordsType *configv1.DNSRecordsType `json:"dnsRecordsType,omitempty"` MachineNetworks []configv1.CIDR `json:"machineNetworks,omitempty"` } @@ -85,6 +86,14 @@ func (b *OpenStackPlatformStatusApplyConfiguration) WithLoadBalancer(value *Open return b } +// WithDNSRecordsType sets the DNSRecordsType field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the DNSRecordsType field is set to the value of the last call. +func (b *OpenStackPlatformStatusApplyConfiguration) WithDNSRecordsType(value configv1.DNSRecordsType) *OpenStackPlatformStatusApplyConfiguration { + b.DNSRecordsType = &value + return b +} + // WithMachineNetworks adds the given value to the MachineNetworks field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. // If called multiple times, values provided by each call will be appended to the MachineNetworks field. diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/ovirtplatformstatus.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/ovirtplatformstatus.go index 18ad5d8492..dab2c7a101 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/ovirtplatformstatus.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/ovirtplatformstatus.go @@ -2,6 +2,10 @@ package v1 +import ( + configv1 "github.com/openshift/api/config/v1" +) + // OvirtPlatformStatusApplyConfiguration represents a declarative configuration of the OvirtPlatformStatus type for use // with apply. type OvirtPlatformStatusApplyConfiguration struct { @@ -11,6 +15,7 @@ type OvirtPlatformStatusApplyConfiguration struct { IngressIPs []string `json:"ingressIPs,omitempty"` NodeDNSIP *string `json:"nodeDNSIP,omitempty"` LoadBalancer *OvirtPlatformLoadBalancerApplyConfiguration `json:"loadBalancer,omitempty"` + DNSRecordsType *configv1.DNSRecordsType `json:"dnsRecordsType,omitempty"` } // OvirtPlatformStatusApplyConfiguration constructs a declarative configuration of the OvirtPlatformStatus type for use with @@ -70,3 +75,11 @@ func (b *OvirtPlatformStatusApplyConfiguration) WithLoadBalancer(value *OvirtPla b.LoadBalancer = value return b } + +// WithDNSRecordsType sets the DNSRecordsType field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the DNSRecordsType field is set to the value of the last call. +func (b *OvirtPlatformStatusApplyConfiguration) WithDNSRecordsType(value configv1.DNSRecordsType) *OvirtPlatformStatusApplyConfiguration { + b.DNSRecordsType = &value + return b +} diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/policyrootoftrust.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/policyrootoftrust.go index f1ff91ffbd..6b3e46f473 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/policyrootoftrust.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/policyrootoftrust.go @@ -9,10 +9,10 @@ import ( // PolicyRootOfTrustApplyConfiguration represents a declarative configuration of the PolicyRootOfTrust type for use // with apply. type PolicyRootOfTrustApplyConfiguration struct { - PolicyType *configv1.PolicyType `json:"policyType,omitempty"` - PublicKey *PublicKeyApplyConfiguration `json:"publicKey,omitempty"` - FulcioCAWithRekor *FulcioCAWithRekorApplyConfiguration `json:"fulcioCAWithRekor,omitempty"` - PKI *PKIApplyConfiguration `json:"pki,omitempty"` + PolicyType *configv1.PolicyType `json:"policyType,omitempty"` + PublicKey *ImagePolicyPublicKeyRootOfTrustApplyConfiguration `json:"publicKey,omitempty"` + FulcioCAWithRekor *ImagePolicyFulcioCAWithRekorRootOfTrustApplyConfiguration `json:"fulcioCAWithRekor,omitempty"` + PKI *ImagePolicyPKIRootOfTrustApplyConfiguration `json:"pki,omitempty"` } // PolicyRootOfTrustApplyConfiguration constructs a declarative configuration of the PolicyRootOfTrust type for use with @@ -32,7 +32,7 @@ func (b *PolicyRootOfTrustApplyConfiguration) WithPolicyType(value configv1.Poli // WithPublicKey sets the PublicKey field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the PublicKey field is set to the value of the last call. -func (b *PolicyRootOfTrustApplyConfiguration) WithPublicKey(value *PublicKeyApplyConfiguration) *PolicyRootOfTrustApplyConfiguration { +func (b *PolicyRootOfTrustApplyConfiguration) WithPublicKey(value *ImagePolicyPublicKeyRootOfTrustApplyConfiguration) *PolicyRootOfTrustApplyConfiguration { b.PublicKey = value return b } @@ -40,7 +40,7 @@ func (b *PolicyRootOfTrustApplyConfiguration) WithPublicKey(value *PublicKeyAppl // WithFulcioCAWithRekor sets the FulcioCAWithRekor field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the FulcioCAWithRekor field is set to the value of the last call. -func (b *PolicyRootOfTrustApplyConfiguration) WithFulcioCAWithRekor(value *FulcioCAWithRekorApplyConfiguration) *PolicyRootOfTrustApplyConfiguration { +func (b *PolicyRootOfTrustApplyConfiguration) WithFulcioCAWithRekor(value *ImagePolicyFulcioCAWithRekorRootOfTrustApplyConfiguration) *PolicyRootOfTrustApplyConfiguration { b.FulcioCAWithRekor = value return b } @@ -48,7 +48,7 @@ func (b *PolicyRootOfTrustApplyConfiguration) WithFulcioCAWithRekor(value *Fulci // WithPKI sets the PKI field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the PKI field is set to the value of the last call. -func (b *PolicyRootOfTrustApplyConfiguration) WithPKI(value *PKIApplyConfiguration) *PolicyRootOfTrustApplyConfiguration { +func (b *PolicyRootOfTrustApplyConfiguration) WithPKI(value *ImagePolicyPKIRootOfTrustApplyConfiguration) *PolicyRootOfTrustApplyConfiguration { b.PKI = value return b } diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/tokenclaimvalidationcelrule.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/tokenclaimvalidationcelrule.go new file mode 100644 index 0000000000..8dda73db12 --- /dev/null +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/tokenclaimvalidationcelrule.go @@ -0,0 +1,32 @@ +// Code generated by applyconfiguration-gen. DO NOT EDIT. + +package v1 + +// TokenClaimValidationCELRuleApplyConfiguration represents a declarative configuration of the TokenClaimValidationCELRule type for use +// with apply. +type TokenClaimValidationCELRuleApplyConfiguration struct { + Expression *string `json:"expression,omitempty"` + Message *string `json:"message,omitempty"` +} + +// TokenClaimValidationCELRuleApplyConfiguration constructs a declarative configuration of the TokenClaimValidationCELRule type for use with +// apply. +func TokenClaimValidationCELRule() *TokenClaimValidationCELRuleApplyConfiguration { + return &TokenClaimValidationCELRuleApplyConfiguration{} +} + +// WithExpression sets the Expression field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Expression field is set to the value of the last call. +func (b *TokenClaimValidationCELRuleApplyConfiguration) WithExpression(value string) *TokenClaimValidationCELRuleApplyConfiguration { + b.Expression = &value + return b +} + +// WithMessage sets the Message field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Message field is set to the value of the last call. +func (b *TokenClaimValidationCELRuleApplyConfiguration) WithMessage(value string) *TokenClaimValidationCELRuleApplyConfiguration { + b.Message = &value + return b +} diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/tokenclaimvalidationrule.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/tokenclaimvalidationrule.go index 74e9f61091..c8b0c60058 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/tokenclaimvalidationrule.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/tokenclaimvalidationrule.go @@ -9,8 +9,9 @@ import ( // TokenClaimValidationRuleApplyConfiguration represents a declarative configuration of the TokenClaimValidationRule type for use // with apply. type TokenClaimValidationRuleApplyConfiguration struct { - Type *configv1.TokenValidationRuleType `json:"type,omitempty"` - RequiredClaim *TokenRequiredClaimApplyConfiguration `json:"requiredClaim,omitempty"` + Type *configv1.TokenValidationRuleType `json:"type,omitempty"` + RequiredClaim *TokenRequiredClaimApplyConfiguration `json:"requiredClaim,omitempty"` + CEL *TokenClaimValidationCELRuleApplyConfiguration `json:"cel,omitempty"` } // TokenClaimValidationRuleApplyConfiguration constructs a declarative configuration of the TokenClaimValidationRule type for use with @@ -34,3 +35,11 @@ func (b *TokenClaimValidationRuleApplyConfiguration) WithRequiredClaim(value *To b.RequiredClaim = value return b } + +// WithCEL sets the CEL field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the CEL field is set to the value of the last call. +func (b *TokenClaimValidationRuleApplyConfiguration) WithCEL(value *TokenClaimValidationCELRuleApplyConfiguration) *TokenClaimValidationRuleApplyConfiguration { + b.CEL = value + return b +} diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/tokenissuer.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/tokenissuer.go index 68f590abc6..4c971d2929 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/tokenissuer.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/tokenissuer.go @@ -12,6 +12,7 @@ type TokenIssuerApplyConfiguration struct { URL *string `json:"issuerURL,omitempty"` Audiences []configv1.TokenAudience `json:"audiences,omitempty"` CertificateAuthority *ConfigMapNameReferenceApplyConfiguration `json:"issuerCertificateAuthority,omitempty"` + DiscoveryURL *string `json:"discoveryURL,omitempty"` } // TokenIssuerApplyConfiguration constructs a declarative configuration of the TokenIssuer type for use with @@ -45,3 +46,11 @@ func (b *TokenIssuerApplyConfiguration) WithCertificateAuthority(value *ConfigMa b.CertificateAuthority = value return b } + +// WithDiscoveryURL sets the DiscoveryURL field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the DiscoveryURL field is set to the value of the last call. +func (b *TokenIssuerApplyConfiguration) WithDiscoveryURL(value string) *TokenIssuerApplyConfiguration { + b.DiscoveryURL = &value + return b +} diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/tokenuservalidationrule.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/tokenuservalidationrule.go new file mode 100644 index 0000000000..2aae5f3fe0 --- /dev/null +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/tokenuservalidationrule.go @@ -0,0 +1,32 @@ +// Code generated by applyconfiguration-gen. DO NOT EDIT. + +package v1 + +// TokenUserValidationRuleApplyConfiguration represents a declarative configuration of the TokenUserValidationRule type for use +// with apply. +type TokenUserValidationRuleApplyConfiguration struct { + Expression *string `json:"expression,omitempty"` + Message *string `json:"message,omitempty"` +} + +// TokenUserValidationRuleApplyConfiguration constructs a declarative configuration of the TokenUserValidationRule type for use with +// apply. +func TokenUserValidationRule() *TokenUserValidationRuleApplyConfiguration { + return &TokenUserValidationRuleApplyConfiguration{} +} + +// WithExpression sets the Expression field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Expression field is set to the value of the last call. +func (b *TokenUserValidationRuleApplyConfiguration) WithExpression(value string) *TokenUserValidationRuleApplyConfiguration { + b.Expression = &value + return b +} + +// WithMessage sets the Message field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Message field is set to the value of the last call. +func (b *TokenUserValidationRuleApplyConfiguration) WithMessage(value string) *TokenUserValidationRuleApplyConfiguration { + b.Message = &value + return b +} diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/update.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/update.go index 004d1bac22..d20e3ca423 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/update.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/update.go @@ -13,6 +13,7 @@ type UpdateApplyConfiguration struct { Version *string `json:"version,omitempty"` Image *string `json:"image,omitempty"` Force *bool `json:"force,omitempty"` + AcceptRisks []AcceptRiskApplyConfiguration `json:"acceptRisks,omitempty"` } // UpdateApplyConfiguration constructs a declarative configuration of the Update type for use with @@ -52,3 +53,16 @@ func (b *UpdateApplyConfiguration) WithForce(value bool) *UpdateApplyConfigurati b.Force = &value return b } + +// WithAcceptRisks adds the given value to the AcceptRisks field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the AcceptRisks field. +func (b *UpdateApplyConfiguration) WithAcceptRisks(values ...*AcceptRiskApplyConfiguration) *UpdateApplyConfiguration { + for i := range values { + if values[i] == nil { + panic("nil value passed to WithAcceptRisks") + } + b.AcceptRisks = append(b.AcceptRisks, *values[i]) + } + return b +} diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/vsphereplatformstatus.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/vsphereplatformstatus.go index 36696df716..a3cfc9b1c7 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/vsphereplatformstatus.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1/vsphereplatformstatus.go @@ -15,6 +15,7 @@ type VSpherePlatformStatusApplyConfiguration struct { IngressIPs []string `json:"ingressIPs,omitempty"` NodeDNSIP *string `json:"nodeDNSIP,omitempty"` LoadBalancer *VSpherePlatformLoadBalancerApplyConfiguration `json:"loadBalancer,omitempty"` + DNSRecordsType *configv1.DNSRecordsType `json:"dnsRecordsType,omitempty"` MachineNetworks []configv1.CIDR `json:"machineNetworks,omitempty"` } @@ -76,6 +77,14 @@ func (b *VSpherePlatformStatusApplyConfiguration) WithLoadBalancer(value *VSpher return b } +// WithDNSRecordsType sets the DNSRecordsType field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the DNSRecordsType field is set to the value of the last call. +func (b *VSpherePlatformStatusApplyConfiguration) WithDNSRecordsType(value configv1.DNSRecordsType) *VSpherePlatformStatusApplyConfiguration { + b.DNSRecordsType = &value + return b +} + // WithMachineNetworks adds the given value to the MachineNetworks field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. // If called multiple times, values provided by each call will be appended to the MachineNetworks field. diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/clusterimagepolicyspec.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/clusterimagepolicyspec.go index e4a3470c45..e1c4c630ea 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/clusterimagepolicyspec.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/clusterimagepolicyspec.go @@ -9,8 +9,8 @@ import ( // ClusterImagePolicySpecApplyConfiguration represents a declarative configuration of the ClusterImagePolicySpec type for use // with apply. type ClusterImagePolicySpecApplyConfiguration struct { - Scopes []configv1alpha1.ImageScope `json:"scopes,omitempty"` - Policy *PolicyApplyConfiguration `json:"policy,omitempty"` + Scopes []configv1alpha1.ImageScope `json:"scopes,omitempty"` + Policy *ImageSigstoreVerificationPolicyApplyConfiguration `json:"policy,omitempty"` } // ClusterImagePolicySpecApplyConfiguration constructs a declarative configuration of the ClusterImagePolicySpec type for use with @@ -32,7 +32,7 @@ func (b *ClusterImagePolicySpecApplyConfiguration) WithScopes(values ...configv1 // WithPolicy sets the Policy field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Policy field is set to the value of the last call. -func (b *ClusterImagePolicySpecApplyConfiguration) WithPolicy(value *PolicyApplyConfiguration) *ClusterImagePolicySpecApplyConfiguration { +func (b *ClusterImagePolicySpecApplyConfiguration) WithPolicy(value *ImageSigstoreVerificationPolicyApplyConfiguration) *ClusterImagePolicySpecApplyConfiguration { b.Policy = value return b } diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/clustermonitoringspec.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/clustermonitoringspec.go index 7fcce84b5c..e4e57f3573 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/clustermonitoringspec.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/clustermonitoringspec.go @@ -5,9 +5,10 @@ package v1alpha1 // ClusterMonitoringSpecApplyConfiguration represents a declarative configuration of the ClusterMonitoringSpec type for use // with apply. type ClusterMonitoringSpecApplyConfiguration struct { - UserDefined *UserDefinedMonitoringApplyConfiguration `json:"userDefined,omitempty"` - AlertmanagerConfig *AlertmanagerConfigApplyConfiguration `json:"alertmanagerConfig,omitempty"` - MetricsServerConfig *MetricsServerConfigApplyConfiguration `json:"metricsServerConfig,omitempty"` + UserDefined *UserDefinedMonitoringApplyConfiguration `json:"userDefined,omitempty"` + AlertmanagerConfig *AlertmanagerConfigApplyConfiguration `json:"alertmanagerConfig,omitempty"` + MetricsServerConfig *MetricsServerConfigApplyConfiguration `json:"metricsServerConfig,omitempty"` + PrometheusOperatorConfig *PrometheusOperatorConfigApplyConfiguration `json:"prometheusOperatorConfig,omitempty"` } // ClusterMonitoringSpecApplyConfiguration constructs a declarative configuration of the ClusterMonitoringSpec type for use with @@ -39,3 +40,11 @@ func (b *ClusterMonitoringSpecApplyConfiguration) WithMetricsServerConfig(value b.MetricsServerConfig = value return b } + +// WithPrometheusOperatorConfig sets the PrometheusOperatorConfig field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the PrometheusOperatorConfig field is set to the value of the last call. +func (b *ClusterMonitoringSpecApplyConfiguration) WithPrometheusOperatorConfig(value *PrometheusOperatorConfigApplyConfiguration) *ClusterMonitoringSpecApplyConfiguration { + b.PrometheusOperatorConfig = value + return b +} diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/criocredentialproviderconfig.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/criocredentialproviderconfig.go new file mode 100644 index 0000000000..221728dcaf --- /dev/null +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/criocredentialproviderconfig.go @@ -0,0 +1,263 @@ +// Code generated by applyconfiguration-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + configv1alpha1 "github.com/openshift/api/config/v1alpha1" + internal "github.com/openshift/client-go/config/applyconfigurations/internal" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + types "k8s.io/apimachinery/pkg/types" + managedfields "k8s.io/apimachinery/pkg/util/managedfields" + v1 "k8s.io/client-go/applyconfigurations/meta/v1" +) + +// CRIOCredentialProviderConfigApplyConfiguration represents a declarative configuration of the CRIOCredentialProviderConfig type for use +// with apply. +type CRIOCredentialProviderConfigApplyConfiguration struct { + v1.TypeMetaApplyConfiguration `json:",inline"` + *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` + Spec *CRIOCredentialProviderConfigSpecApplyConfiguration `json:"spec,omitempty"` + Status *CRIOCredentialProviderConfigStatusApplyConfiguration `json:"status,omitempty"` +} + +// CRIOCredentialProviderConfig constructs a declarative configuration of the CRIOCredentialProviderConfig type for use with +// apply. +func CRIOCredentialProviderConfig(name string) *CRIOCredentialProviderConfigApplyConfiguration { + b := &CRIOCredentialProviderConfigApplyConfiguration{} + b.WithName(name) + b.WithKind("CRIOCredentialProviderConfig") + b.WithAPIVersion("config.openshift.io/v1alpha1") + return b +} + +// ExtractCRIOCredentialProviderConfig extracts the applied configuration owned by fieldManager from +// cRIOCredentialProviderConfig. If no managedFields are found in cRIOCredentialProviderConfig for fieldManager, a +// CRIOCredentialProviderConfigApplyConfiguration is returned with only the Name, Namespace (if applicable), +// APIVersion and Kind populated. It is possible that no managed fields were found for because other +// field managers have taken ownership of all the fields previously owned by fieldManager, or because +// the fieldManager never owned fields any fields. +// cRIOCredentialProviderConfig must be a unmodified CRIOCredentialProviderConfig API object that was retrieved from the Kubernetes API. +// ExtractCRIOCredentialProviderConfig provides a way to perform a extract/modify-in-place/apply workflow. +// Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously +// applied if another fieldManager has updated or force applied any of the previously applied fields. +// Experimental! +func ExtractCRIOCredentialProviderConfig(cRIOCredentialProviderConfig *configv1alpha1.CRIOCredentialProviderConfig, fieldManager string) (*CRIOCredentialProviderConfigApplyConfiguration, error) { + return extractCRIOCredentialProviderConfig(cRIOCredentialProviderConfig, fieldManager, "") +} + +// ExtractCRIOCredentialProviderConfigStatus is the same as ExtractCRIOCredentialProviderConfig except +// that it extracts the status subresource applied configuration. +// Experimental! +func ExtractCRIOCredentialProviderConfigStatus(cRIOCredentialProviderConfig *configv1alpha1.CRIOCredentialProviderConfig, fieldManager string) (*CRIOCredentialProviderConfigApplyConfiguration, error) { + return extractCRIOCredentialProviderConfig(cRIOCredentialProviderConfig, fieldManager, "status") +} + +func extractCRIOCredentialProviderConfig(cRIOCredentialProviderConfig *configv1alpha1.CRIOCredentialProviderConfig, fieldManager string, subresource string) (*CRIOCredentialProviderConfigApplyConfiguration, error) { + b := &CRIOCredentialProviderConfigApplyConfiguration{} + err := managedfields.ExtractInto(cRIOCredentialProviderConfig, internal.Parser().Type("com.github.openshift.api.config.v1alpha1.CRIOCredentialProviderConfig"), fieldManager, b, subresource) + if err != nil { + return nil, err + } + b.WithName(cRIOCredentialProviderConfig.Name) + + b.WithKind("CRIOCredentialProviderConfig") + b.WithAPIVersion("config.openshift.io/v1alpha1") + return b, nil +} +func (b CRIOCredentialProviderConfigApplyConfiguration) IsApplyConfiguration() {} + +// WithKind sets the Kind field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Kind field is set to the value of the last call. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithKind(value string) *CRIOCredentialProviderConfigApplyConfiguration { + b.TypeMetaApplyConfiguration.Kind = &value + return b +} + +// WithAPIVersion sets the APIVersion field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the APIVersion field is set to the value of the last call. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithAPIVersion(value string) *CRIOCredentialProviderConfigApplyConfiguration { + b.TypeMetaApplyConfiguration.APIVersion = &value + return b +} + +// WithName sets the Name field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Name field is set to the value of the last call. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithName(value string) *CRIOCredentialProviderConfigApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.Name = &value + return b +} + +// WithGenerateName sets the GenerateName field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the GenerateName field is set to the value of the last call. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithGenerateName(value string) *CRIOCredentialProviderConfigApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.GenerateName = &value + return b +} + +// WithNamespace sets the Namespace field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Namespace field is set to the value of the last call. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithNamespace(value string) *CRIOCredentialProviderConfigApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.Namespace = &value + return b +} + +// WithUID sets the UID field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the UID field is set to the value of the last call. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithUID(value types.UID) *CRIOCredentialProviderConfigApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.UID = &value + return b +} + +// WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the ResourceVersion field is set to the value of the last call. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithResourceVersion(value string) *CRIOCredentialProviderConfigApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.ResourceVersion = &value + return b +} + +// WithGeneration sets the Generation field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Generation field is set to the value of the last call. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithGeneration(value int64) *CRIOCredentialProviderConfigApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.Generation = &value + return b +} + +// WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the CreationTimestamp field is set to the value of the last call. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithCreationTimestamp(value metav1.Time) *CRIOCredentialProviderConfigApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.CreationTimestamp = &value + return b +} + +// WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the DeletionTimestamp field is set to the value of the last call. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *CRIOCredentialProviderConfigApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.DeletionTimestamp = &value + return b +} + +// WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *CRIOCredentialProviderConfigApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ObjectMetaApplyConfiguration.DeletionGracePeriodSeconds = &value + return b +} + +// WithLabels puts the entries into the Labels field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, the entries provided by each call will be put on the Labels field, +// overwriting an existing map entries in Labels field with the same key. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithLabels(entries map[string]string) *CRIOCredentialProviderConfigApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + if b.ObjectMetaApplyConfiguration.Labels == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Labels = make(map[string]string, len(entries)) + } + for k, v := range entries { + b.ObjectMetaApplyConfiguration.Labels[k] = v + } + return b +} + +// WithAnnotations puts the entries into the Annotations field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, the entries provided by each call will be put on the Annotations field, +// overwriting an existing map entries in Annotations field with the same key. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithAnnotations(entries map[string]string) *CRIOCredentialProviderConfigApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + if b.ObjectMetaApplyConfiguration.Annotations == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Annotations = make(map[string]string, len(entries)) + } + for k, v := range entries { + b.ObjectMetaApplyConfiguration.Annotations[k] = v + } + return b +} + +// WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the OwnerReferences field. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *CRIOCredentialProviderConfigApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + for i := range values { + if values[i] == nil { + panic("nil value passed to WithOwnerReferences") + } + b.ObjectMetaApplyConfiguration.OwnerReferences = append(b.ObjectMetaApplyConfiguration.OwnerReferences, *values[i]) + } + return b +} + +// WithFinalizers adds the given value to the Finalizers field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the Finalizers field. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithFinalizers(values ...string) *CRIOCredentialProviderConfigApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + for i := range values { + b.ObjectMetaApplyConfiguration.Finalizers = append(b.ObjectMetaApplyConfiguration.Finalizers, values[i]) + } + return b +} + +func (b *CRIOCredentialProviderConfigApplyConfiguration) ensureObjectMetaApplyConfigurationExists() { + if b.ObjectMetaApplyConfiguration == nil { + b.ObjectMetaApplyConfiguration = &v1.ObjectMetaApplyConfiguration{} + } +} + +// WithSpec sets the Spec field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Spec field is set to the value of the last call. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithSpec(value *CRIOCredentialProviderConfigSpecApplyConfiguration) *CRIOCredentialProviderConfigApplyConfiguration { + b.Spec = value + return b +} + +// WithStatus sets the Status field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Status field is set to the value of the last call. +func (b *CRIOCredentialProviderConfigApplyConfiguration) WithStatus(value *CRIOCredentialProviderConfigStatusApplyConfiguration) *CRIOCredentialProviderConfigApplyConfiguration { + b.Status = value + return b +} + +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *CRIOCredentialProviderConfigApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *CRIOCredentialProviderConfigApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + +// GetName retrieves the value of the Name field in the declarative configuration. +func (b *CRIOCredentialProviderConfigApplyConfiguration) GetName() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Name +} + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *CRIOCredentialProviderConfigApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/criocredentialproviderconfigspec.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/criocredentialproviderconfigspec.go new file mode 100644 index 0000000000..e6588c608c --- /dev/null +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/criocredentialproviderconfigspec.go @@ -0,0 +1,29 @@ +// Code generated by applyconfiguration-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + configv1alpha1 "github.com/openshift/api/config/v1alpha1" +) + +// CRIOCredentialProviderConfigSpecApplyConfiguration represents a declarative configuration of the CRIOCredentialProviderConfigSpec type for use +// with apply. +type CRIOCredentialProviderConfigSpecApplyConfiguration struct { + MatchImages []configv1alpha1.MatchImage `json:"matchImages,omitempty"` +} + +// CRIOCredentialProviderConfigSpecApplyConfiguration constructs a declarative configuration of the CRIOCredentialProviderConfigSpec type for use with +// apply. +func CRIOCredentialProviderConfigSpec() *CRIOCredentialProviderConfigSpecApplyConfiguration { + return &CRIOCredentialProviderConfigSpecApplyConfiguration{} +} + +// WithMatchImages adds the given value to the MatchImages field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the MatchImages field. +func (b *CRIOCredentialProviderConfigSpecApplyConfiguration) WithMatchImages(values ...configv1alpha1.MatchImage) *CRIOCredentialProviderConfigSpecApplyConfiguration { + for i := range values { + b.MatchImages = append(b.MatchImages, values[i]) + } + return b +} diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/criocredentialproviderconfigstatus.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/criocredentialproviderconfigstatus.go new file mode 100644 index 0000000000..a243b281df --- /dev/null +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/criocredentialproviderconfigstatus.go @@ -0,0 +1,32 @@ +// Code generated by applyconfiguration-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + v1 "k8s.io/client-go/applyconfigurations/meta/v1" +) + +// CRIOCredentialProviderConfigStatusApplyConfiguration represents a declarative configuration of the CRIOCredentialProviderConfigStatus type for use +// with apply. +type CRIOCredentialProviderConfigStatusApplyConfiguration struct { + Conditions []v1.ConditionApplyConfiguration `json:"conditions,omitempty"` +} + +// CRIOCredentialProviderConfigStatusApplyConfiguration constructs a declarative configuration of the CRIOCredentialProviderConfigStatus type for use with +// apply. +func CRIOCredentialProviderConfigStatus() *CRIOCredentialProviderConfigStatusApplyConfiguration { + return &CRIOCredentialProviderConfigStatusApplyConfiguration{} +} + +// WithConditions adds the given value to the Conditions field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the Conditions field. +func (b *CRIOCredentialProviderConfigStatusApplyConfiguration) WithConditions(values ...*v1.ConditionApplyConfiguration) *CRIOCredentialProviderConfigStatusApplyConfiguration { + for i := range values { + if values[i] == nil { + panic("nil value passed to WithConditions") + } + b.Conditions = append(b.Conditions, *values[i]) + } + return b +} diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/fulciocawithrekor.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/imagepolicyfulciocawithrekorrootoftrust.go similarity index 57% rename from vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/fulciocawithrekor.go rename to vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/imagepolicyfulciocawithrekorrootoftrust.go index 2a907a7e97..2fcaa36215 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/fulciocawithrekor.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/imagepolicyfulciocawithrekorrootoftrust.go @@ -2,24 +2,24 @@ package v1alpha1 -// FulcioCAWithRekorApplyConfiguration represents a declarative configuration of the FulcioCAWithRekor type for use +// ImagePolicyFulcioCAWithRekorRootOfTrustApplyConfiguration represents a declarative configuration of the ImagePolicyFulcioCAWithRekorRootOfTrust type for use // with apply. -type FulcioCAWithRekorApplyConfiguration struct { +type ImagePolicyFulcioCAWithRekorRootOfTrustApplyConfiguration struct { FulcioCAData []byte `json:"fulcioCAData,omitempty"` RekorKeyData []byte `json:"rekorKeyData,omitempty"` FulcioSubject *PolicyFulcioSubjectApplyConfiguration `json:"fulcioSubject,omitempty"` } -// FulcioCAWithRekorApplyConfiguration constructs a declarative configuration of the FulcioCAWithRekor type for use with +// ImagePolicyFulcioCAWithRekorRootOfTrustApplyConfiguration constructs a declarative configuration of the ImagePolicyFulcioCAWithRekorRootOfTrust type for use with // apply. -func FulcioCAWithRekor() *FulcioCAWithRekorApplyConfiguration { - return &FulcioCAWithRekorApplyConfiguration{} +func ImagePolicyFulcioCAWithRekorRootOfTrust() *ImagePolicyFulcioCAWithRekorRootOfTrustApplyConfiguration { + return &ImagePolicyFulcioCAWithRekorRootOfTrustApplyConfiguration{} } // WithFulcioCAData adds the given value to the FulcioCAData field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. // If called multiple times, values provided by each call will be appended to the FulcioCAData field. -func (b *FulcioCAWithRekorApplyConfiguration) WithFulcioCAData(values ...byte) *FulcioCAWithRekorApplyConfiguration { +func (b *ImagePolicyFulcioCAWithRekorRootOfTrustApplyConfiguration) WithFulcioCAData(values ...byte) *ImagePolicyFulcioCAWithRekorRootOfTrustApplyConfiguration { for i := range values { b.FulcioCAData = append(b.FulcioCAData, values[i]) } @@ -29,7 +29,7 @@ func (b *FulcioCAWithRekorApplyConfiguration) WithFulcioCAData(values ...byte) * // WithRekorKeyData adds the given value to the RekorKeyData field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. // If called multiple times, values provided by each call will be appended to the RekorKeyData field. -func (b *FulcioCAWithRekorApplyConfiguration) WithRekorKeyData(values ...byte) *FulcioCAWithRekorApplyConfiguration { +func (b *ImagePolicyFulcioCAWithRekorRootOfTrustApplyConfiguration) WithRekorKeyData(values ...byte) *ImagePolicyFulcioCAWithRekorRootOfTrustApplyConfiguration { for i := range values { b.RekorKeyData = append(b.RekorKeyData, values[i]) } @@ -39,7 +39,7 @@ func (b *FulcioCAWithRekorApplyConfiguration) WithRekorKeyData(values ...byte) * // WithFulcioSubject sets the FulcioSubject field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the FulcioSubject field is set to the value of the last call. -func (b *FulcioCAWithRekorApplyConfiguration) WithFulcioSubject(value *PolicyFulcioSubjectApplyConfiguration) *FulcioCAWithRekorApplyConfiguration { +func (b *ImagePolicyFulcioCAWithRekorRootOfTrustApplyConfiguration) WithFulcioSubject(value *PolicyFulcioSubjectApplyConfiguration) *ImagePolicyFulcioCAWithRekorRootOfTrustApplyConfiguration { b.FulcioSubject = value return b } diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/pki.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/imagepolicypkirootoftrust.go similarity index 65% rename from vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/pki.go rename to vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/imagepolicypkirootoftrust.go index 455abe02a2..a218867ea9 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/pki.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/imagepolicypkirootoftrust.go @@ -2,24 +2,24 @@ package v1alpha1 -// PKIApplyConfiguration represents a declarative configuration of the PKI type for use +// ImagePolicyPKIRootOfTrustApplyConfiguration represents a declarative configuration of the ImagePolicyPKIRootOfTrust type for use // with apply. -type PKIApplyConfiguration struct { +type ImagePolicyPKIRootOfTrustApplyConfiguration struct { CertificateAuthorityRootsData []byte `json:"caRootsData,omitempty"` CertificateAuthorityIntermediatesData []byte `json:"caIntermediatesData,omitempty"` PKICertificateSubject *PKICertificateSubjectApplyConfiguration `json:"pkiCertificateSubject,omitempty"` } -// PKIApplyConfiguration constructs a declarative configuration of the PKI type for use with +// ImagePolicyPKIRootOfTrustApplyConfiguration constructs a declarative configuration of the ImagePolicyPKIRootOfTrust type for use with // apply. -func PKI() *PKIApplyConfiguration { - return &PKIApplyConfiguration{} +func ImagePolicyPKIRootOfTrust() *ImagePolicyPKIRootOfTrustApplyConfiguration { + return &ImagePolicyPKIRootOfTrustApplyConfiguration{} } // WithCertificateAuthorityRootsData adds the given value to the CertificateAuthorityRootsData field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. // If called multiple times, values provided by each call will be appended to the CertificateAuthorityRootsData field. -func (b *PKIApplyConfiguration) WithCertificateAuthorityRootsData(values ...byte) *PKIApplyConfiguration { +func (b *ImagePolicyPKIRootOfTrustApplyConfiguration) WithCertificateAuthorityRootsData(values ...byte) *ImagePolicyPKIRootOfTrustApplyConfiguration { for i := range values { b.CertificateAuthorityRootsData = append(b.CertificateAuthorityRootsData, values[i]) } @@ -29,7 +29,7 @@ func (b *PKIApplyConfiguration) WithCertificateAuthorityRootsData(values ...byte // WithCertificateAuthorityIntermediatesData adds the given value to the CertificateAuthorityIntermediatesData field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. // If called multiple times, values provided by each call will be appended to the CertificateAuthorityIntermediatesData field. -func (b *PKIApplyConfiguration) WithCertificateAuthorityIntermediatesData(values ...byte) *PKIApplyConfiguration { +func (b *ImagePolicyPKIRootOfTrustApplyConfiguration) WithCertificateAuthorityIntermediatesData(values ...byte) *ImagePolicyPKIRootOfTrustApplyConfiguration { for i := range values { b.CertificateAuthorityIntermediatesData = append(b.CertificateAuthorityIntermediatesData, values[i]) } @@ -39,7 +39,7 @@ func (b *PKIApplyConfiguration) WithCertificateAuthorityIntermediatesData(values // WithPKICertificateSubject sets the PKICertificateSubject field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the PKICertificateSubject field is set to the value of the last call. -func (b *PKIApplyConfiguration) WithPKICertificateSubject(value *PKICertificateSubjectApplyConfiguration) *PKIApplyConfiguration { +func (b *ImagePolicyPKIRootOfTrustApplyConfiguration) WithPKICertificateSubject(value *PKICertificateSubjectApplyConfiguration) *ImagePolicyPKIRootOfTrustApplyConfiguration { b.PKICertificateSubject = value return b } diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/publickey.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/imagepolicypublickeyrootoftrust.go similarity index 54% rename from vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/publickey.go rename to vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/imagepolicypublickeyrootoftrust.go index 91665a90b7..22513de628 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/publickey.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/imagepolicypublickeyrootoftrust.go @@ -2,23 +2,23 @@ package v1alpha1 -// PublicKeyApplyConfiguration represents a declarative configuration of the PublicKey type for use +// ImagePolicyPublicKeyRootOfTrustApplyConfiguration represents a declarative configuration of the ImagePolicyPublicKeyRootOfTrust type for use // with apply. -type PublicKeyApplyConfiguration struct { +type ImagePolicyPublicKeyRootOfTrustApplyConfiguration struct { KeyData []byte `json:"keyData,omitempty"` RekorKeyData []byte `json:"rekorKeyData,omitempty"` } -// PublicKeyApplyConfiguration constructs a declarative configuration of the PublicKey type for use with +// ImagePolicyPublicKeyRootOfTrustApplyConfiguration constructs a declarative configuration of the ImagePolicyPublicKeyRootOfTrust type for use with // apply. -func PublicKey() *PublicKeyApplyConfiguration { - return &PublicKeyApplyConfiguration{} +func ImagePolicyPublicKeyRootOfTrust() *ImagePolicyPublicKeyRootOfTrustApplyConfiguration { + return &ImagePolicyPublicKeyRootOfTrustApplyConfiguration{} } // WithKeyData adds the given value to the KeyData field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. // If called multiple times, values provided by each call will be appended to the KeyData field. -func (b *PublicKeyApplyConfiguration) WithKeyData(values ...byte) *PublicKeyApplyConfiguration { +func (b *ImagePolicyPublicKeyRootOfTrustApplyConfiguration) WithKeyData(values ...byte) *ImagePolicyPublicKeyRootOfTrustApplyConfiguration { for i := range values { b.KeyData = append(b.KeyData, values[i]) } @@ -28,7 +28,7 @@ func (b *PublicKeyApplyConfiguration) WithKeyData(values ...byte) *PublicKeyAppl // WithRekorKeyData adds the given value to the RekorKeyData field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. // If called multiple times, values provided by each call will be appended to the RekorKeyData field. -func (b *PublicKeyApplyConfiguration) WithRekorKeyData(values ...byte) *PublicKeyApplyConfiguration { +func (b *ImagePolicyPublicKeyRootOfTrustApplyConfiguration) WithRekorKeyData(values ...byte) *ImagePolicyPublicKeyRootOfTrustApplyConfiguration { for i := range values { b.RekorKeyData = append(b.RekorKeyData, values[i]) } diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/imagepolicyspec.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/imagepolicyspec.go index ac08e9cf4e..84969b600d 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/imagepolicyspec.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/imagepolicyspec.go @@ -9,8 +9,8 @@ import ( // ImagePolicySpecApplyConfiguration represents a declarative configuration of the ImagePolicySpec type for use // with apply. type ImagePolicySpecApplyConfiguration struct { - Scopes []configv1alpha1.ImageScope `json:"scopes,omitempty"` - Policy *PolicyApplyConfiguration `json:"policy,omitempty"` + Scopes []configv1alpha1.ImageScope `json:"scopes,omitempty"` + Policy *ImageSigstoreVerificationPolicyApplyConfiguration `json:"policy,omitempty"` } // ImagePolicySpecApplyConfiguration constructs a declarative configuration of the ImagePolicySpec type for use with @@ -32,7 +32,7 @@ func (b *ImagePolicySpecApplyConfiguration) WithScopes(values ...configv1alpha1. // WithPolicy sets the Policy field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Policy field is set to the value of the last call. -func (b *ImagePolicySpecApplyConfiguration) WithPolicy(value *PolicyApplyConfiguration) *ImagePolicySpecApplyConfiguration { +func (b *ImagePolicySpecApplyConfiguration) WithPolicy(value *ImageSigstoreVerificationPolicyApplyConfiguration) *ImagePolicySpecApplyConfiguration { b.Policy = value return b } diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/policy.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/imagesigstoreverificationpolicy.go similarity index 52% rename from vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/policy.go rename to vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/imagesigstoreverificationpolicy.go index 61e4856642..64f9760e8b 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/policy.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/imagesigstoreverificationpolicy.go @@ -2,23 +2,23 @@ package v1alpha1 -// PolicyApplyConfiguration represents a declarative configuration of the Policy type for use +// ImageSigstoreVerificationPolicyApplyConfiguration represents a declarative configuration of the ImageSigstoreVerificationPolicy type for use // with apply. -type PolicyApplyConfiguration struct { +type ImageSigstoreVerificationPolicyApplyConfiguration struct { RootOfTrust *PolicyRootOfTrustApplyConfiguration `json:"rootOfTrust,omitempty"` SignedIdentity *PolicyIdentityApplyConfiguration `json:"signedIdentity,omitempty"` } -// PolicyApplyConfiguration constructs a declarative configuration of the Policy type for use with +// ImageSigstoreVerificationPolicyApplyConfiguration constructs a declarative configuration of the ImageSigstoreVerificationPolicy type for use with // apply. -func Policy() *PolicyApplyConfiguration { - return &PolicyApplyConfiguration{} +func ImageSigstoreVerificationPolicy() *ImageSigstoreVerificationPolicyApplyConfiguration { + return &ImageSigstoreVerificationPolicyApplyConfiguration{} } // WithRootOfTrust sets the RootOfTrust field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the RootOfTrust field is set to the value of the last call. -func (b *PolicyApplyConfiguration) WithRootOfTrust(value *PolicyRootOfTrustApplyConfiguration) *PolicyApplyConfiguration { +func (b *ImageSigstoreVerificationPolicyApplyConfiguration) WithRootOfTrust(value *PolicyRootOfTrustApplyConfiguration) *ImageSigstoreVerificationPolicyApplyConfiguration { b.RootOfTrust = value return b } @@ -26,7 +26,7 @@ func (b *PolicyApplyConfiguration) WithRootOfTrust(value *PolicyRootOfTrustApply // WithSignedIdentity sets the SignedIdentity field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the SignedIdentity field is set to the value of the last call. -func (b *PolicyApplyConfiguration) WithSignedIdentity(value *PolicyIdentityApplyConfiguration) *PolicyApplyConfiguration { +func (b *ImageSigstoreVerificationPolicyApplyConfiguration) WithSignedIdentity(value *PolicyIdentityApplyConfiguration) *ImageSigstoreVerificationPolicyApplyConfiguration { b.SignedIdentity = value return b } diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/policyrootoftrust.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/policyrootoftrust.go index 5de792be63..5122c82e0b 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/policyrootoftrust.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/policyrootoftrust.go @@ -9,10 +9,10 @@ import ( // PolicyRootOfTrustApplyConfiguration represents a declarative configuration of the PolicyRootOfTrust type for use // with apply. type PolicyRootOfTrustApplyConfiguration struct { - PolicyType *configv1alpha1.PolicyType `json:"policyType,omitempty"` - PublicKey *PublicKeyApplyConfiguration `json:"publicKey,omitempty"` - FulcioCAWithRekor *FulcioCAWithRekorApplyConfiguration `json:"fulcioCAWithRekor,omitempty"` - PKI *PKIApplyConfiguration `json:"pki,omitempty"` + PolicyType *configv1alpha1.PolicyType `json:"policyType,omitempty"` + PublicKey *ImagePolicyPublicKeyRootOfTrustApplyConfiguration `json:"publicKey,omitempty"` + FulcioCAWithRekor *ImagePolicyFulcioCAWithRekorRootOfTrustApplyConfiguration `json:"fulcioCAWithRekor,omitempty"` + PKI *ImagePolicyPKIRootOfTrustApplyConfiguration `json:"pki,omitempty"` } // PolicyRootOfTrustApplyConfiguration constructs a declarative configuration of the PolicyRootOfTrust type for use with @@ -32,7 +32,7 @@ func (b *PolicyRootOfTrustApplyConfiguration) WithPolicyType(value configv1alpha // WithPublicKey sets the PublicKey field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the PublicKey field is set to the value of the last call. -func (b *PolicyRootOfTrustApplyConfiguration) WithPublicKey(value *PublicKeyApplyConfiguration) *PolicyRootOfTrustApplyConfiguration { +func (b *PolicyRootOfTrustApplyConfiguration) WithPublicKey(value *ImagePolicyPublicKeyRootOfTrustApplyConfiguration) *PolicyRootOfTrustApplyConfiguration { b.PublicKey = value return b } @@ -40,7 +40,7 @@ func (b *PolicyRootOfTrustApplyConfiguration) WithPublicKey(value *PublicKeyAppl // WithFulcioCAWithRekor sets the FulcioCAWithRekor field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the FulcioCAWithRekor field is set to the value of the last call. -func (b *PolicyRootOfTrustApplyConfiguration) WithFulcioCAWithRekor(value *FulcioCAWithRekorApplyConfiguration) *PolicyRootOfTrustApplyConfiguration { +func (b *PolicyRootOfTrustApplyConfiguration) WithFulcioCAWithRekor(value *ImagePolicyFulcioCAWithRekorRootOfTrustApplyConfiguration) *PolicyRootOfTrustApplyConfiguration { b.FulcioCAWithRekor = value return b } @@ -48,7 +48,7 @@ func (b *PolicyRootOfTrustApplyConfiguration) WithFulcioCAWithRekor(value *Fulci // WithPKI sets the PKI field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the PKI field is set to the value of the last call. -func (b *PolicyRootOfTrustApplyConfiguration) WithPKI(value *PKIApplyConfiguration) *PolicyRootOfTrustApplyConfiguration { +func (b *PolicyRootOfTrustApplyConfiguration) WithPKI(value *ImagePolicyPKIRootOfTrustApplyConfiguration) *PolicyRootOfTrustApplyConfiguration { b.PKI = value return b } diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/prometheusoperatorconfig.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/prometheusoperatorconfig.go new file mode 100644 index 0000000000..3276097b3b --- /dev/null +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1/prometheusoperatorconfig.go @@ -0,0 +1,79 @@ +// Code generated by applyconfiguration-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + configv1alpha1 "github.com/openshift/api/config/v1alpha1" + v1 "k8s.io/api/core/v1" +) + +// PrometheusOperatorConfigApplyConfiguration represents a declarative configuration of the PrometheusOperatorConfig type for use +// with apply. +type PrometheusOperatorConfigApplyConfiguration struct { + LogLevel *configv1alpha1.LogLevel `json:"logLevel,omitempty"` + NodeSelector map[string]string `json:"nodeSelector,omitempty"` + Resources []ContainerResourceApplyConfiguration `json:"resources,omitempty"` + Tolerations []v1.Toleration `json:"tolerations,omitempty"` + TopologySpreadConstraints []v1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"` +} + +// PrometheusOperatorConfigApplyConfiguration constructs a declarative configuration of the PrometheusOperatorConfig type for use with +// apply. +func PrometheusOperatorConfig() *PrometheusOperatorConfigApplyConfiguration { + return &PrometheusOperatorConfigApplyConfiguration{} +} + +// WithLogLevel sets the LogLevel field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the LogLevel field is set to the value of the last call. +func (b *PrometheusOperatorConfigApplyConfiguration) WithLogLevel(value configv1alpha1.LogLevel) *PrometheusOperatorConfigApplyConfiguration { + b.LogLevel = &value + return b +} + +// WithNodeSelector puts the entries into the NodeSelector field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, the entries provided by each call will be put on the NodeSelector field, +// overwriting an existing map entries in NodeSelector field with the same key. +func (b *PrometheusOperatorConfigApplyConfiguration) WithNodeSelector(entries map[string]string) *PrometheusOperatorConfigApplyConfiguration { + if b.NodeSelector == nil && len(entries) > 0 { + b.NodeSelector = make(map[string]string, len(entries)) + } + for k, v := range entries { + b.NodeSelector[k] = v + } + return b +} + +// WithResources adds the given value to the Resources field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the Resources field. +func (b *PrometheusOperatorConfigApplyConfiguration) WithResources(values ...*ContainerResourceApplyConfiguration) *PrometheusOperatorConfigApplyConfiguration { + for i := range values { + if values[i] == nil { + panic("nil value passed to WithResources") + } + b.Resources = append(b.Resources, *values[i]) + } + return b +} + +// WithTolerations adds the given value to the Tolerations field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the Tolerations field. +func (b *PrometheusOperatorConfigApplyConfiguration) WithTolerations(values ...v1.Toleration) *PrometheusOperatorConfigApplyConfiguration { + for i := range values { + b.Tolerations = append(b.Tolerations, values[i]) + } + return b +} + +// WithTopologySpreadConstraints adds the given value to the TopologySpreadConstraints field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the TopologySpreadConstraints field. +func (b *PrometheusOperatorConfigApplyConfiguration) WithTopologySpreadConstraints(values ...v1.TopologySpreadConstraint) *PrometheusOperatorConfigApplyConfiguration { + for i := range values { + b.TopologySpreadConstraints = append(b.TopologySpreadConstraints, values[i]) + } + return b +} diff --git a/vendor/github.com/openshift/client-go/config/applyconfigurations/internal/internal.go b/vendor/github.com/openshift/client-go/config/applyconfigurations/internal/internal.go index de325e3678..65906b80c5 100644 --- a/vendor/github.com/openshift/client-go/config/applyconfigurations/internal/internal.go +++ b/vendor/github.com/openshift/client-go/config/applyconfigurations/internal/internal.go @@ -164,6 +164,10 @@ var schemaYAML = typed.YAMLObject(`types: namedType: com.github.openshift.api.config.v1.CloudLoadBalancerConfig default: dnsType: PlatformDefault + - name: ipFamily + type: + scalar: string + default: IPv4 - name: region type: scalar: string @@ -202,6 +206,12 @@ var schemaYAML = typed.YAMLObject(`types: type: scalar: string default: "" +- name: com.github.openshift.api.config.v1.AcceptRisk + map: + fields: + - name: name + type: + scalar: string - name: com.github.openshift.api.config.v1.AlibabaCloudPlatformSpec map: elementType: @@ -363,6 +373,10 @@ var schemaYAML = typed.YAMLObject(`types: - name: cloudName type: scalar: string + - name: ipFamily + type: + scalar: string + default: IPv4 - name: networkResourceGroupName type: scalar: string @@ -429,6 +443,9 @@ var schemaYAML = typed.YAMLObject(`types: elementType: scalar: string elementRelationship: atomic + - name: dnsRecordsType + type: + scalar: string - name: ingressIP type: scalar: string @@ -630,7 +647,7 @@ var schemaYAML = typed.YAMLObject(`types: fields: - name: policy type: - namedType: com.github.openshift.api.config.v1.Policy + namedType: com.github.openshift.api.config.v1.ImageSigstoreVerificationPolicy default: {} - name: scopes type: @@ -837,6 +854,14 @@ var schemaYAML = typed.YAMLObject(`types: type: namedType: com.github.openshift.api.config.v1.ClusterVersionCapabilitiesStatus default: {} + - name: conditionalUpdateRisks + type: + list: + elementType: + namedType: com.github.openshift.api.config.v1.ConditionalUpdateRisk + elementRelationship: associative + keys: + - name - name: conditionalUpdates type: list: @@ -967,6 +992,12 @@ var schemaYAML = typed.YAMLObject(`types: type: namedType: com.github.openshift.api.config.v1.Release default: {} + - name: riskNames + type: + list: + elementType: + scalar: string + elementRelationship: associative - name: risks type: list: @@ -978,6 +1009,14 @@ var schemaYAML = typed.YAMLObject(`types: - name: com.github.openshift.api.config.v1.ConditionalUpdateRisk map: fields: + - name: conditions + type: + list: + elementType: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Condition + elementRelationship: associative + keys: + - type - name: matchingRules type: list: @@ -1329,19 +1368,6 @@ var schemaYAML = typed.YAMLObject(`types: elementRelationship: associative keys: - version -- name: com.github.openshift.api.config.v1.FulcioCAWithRekor - map: - fields: - - name: fulcioCAData - type: - scalar: string - - name: fulcioSubject - type: - namedType: com.github.openshift.api.config.v1.PolicyFulcioSubject - default: {} - - name: rekorKeyData - type: - scalar: string - name: com.github.openshift.api.config.v1.GCPPlatformSpec map: elementType: @@ -1386,14 +1412,6 @@ var schemaYAML = typed.YAMLObject(`types: elementRelationship: associative keys: - key - - name: serviceEndpoints - type: - list: - elementType: - namedType: com.github.openshift.api.config.v1.GCPServiceEndpoint - elementRelationship: associative - keys: - - name - name: com.github.openshift.api.config.v1.GCPResourceLabel map: fields: @@ -1420,17 +1438,6 @@ var schemaYAML = typed.YAMLObject(`types: type: scalar: string default: "" -- name: com.github.openshift.api.config.v1.GCPServiceEndpoint - map: - fields: - - name: name - type: - scalar: string - default: "" - - name: url - type: - scalar: string - default: "" - name: com.github.openshift.api.config.v1.GatherConfig map: fields: @@ -1791,12 +1798,47 @@ var schemaYAML = typed.YAMLObject(`types: type: namedType: com.github.openshift.api.config.v1.ImagePolicyStatus default: {} +- name: com.github.openshift.api.config.v1.ImagePolicyFulcioCAWithRekorRootOfTrust + map: + fields: + - name: fulcioCAData + type: + scalar: string + - name: fulcioSubject + type: + namedType: com.github.openshift.api.config.v1.PolicyFulcioSubject + default: {} + - name: rekorKeyData + type: + scalar: string +- name: com.github.openshift.api.config.v1.ImagePolicyPKIRootOfTrust + map: + fields: + - name: caIntermediatesData + type: + scalar: string + - name: caRootsData + type: + scalar: string + - name: pkiCertificateSubject + type: + namedType: com.github.openshift.api.config.v1.PKICertificateSubject + default: {} +- name: com.github.openshift.api.config.v1.ImagePolicyPublicKeyRootOfTrust + map: + fields: + - name: keyData + type: + scalar: string + - name: rekorKeyData + type: + scalar: string - name: com.github.openshift.api.config.v1.ImagePolicySpec map: fields: - name: policy type: - namedType: com.github.openshift.api.config.v1.Policy + namedType: com.github.openshift.api.config.v1.ImageSigstoreVerificationPolicy default: {} - name: scopes type: @@ -1815,6 +1857,16 @@ var schemaYAML = typed.YAMLObject(`types: elementRelationship: associative keys: - type +- name: com.github.openshift.api.config.v1.ImageSigstoreVerificationPolicy + map: + fields: + - name: rootOfTrust + type: + namedType: com.github.openshift.api.config.v1.PolicyRootOfTrust + default: {} + - name: signedIdentity + type: + namedType: com.github.openshift.api.config.v1.PolicyIdentity - name: com.github.openshift.api.config.v1.ImageSpec map: fields: @@ -2499,6 +2551,9 @@ var schemaYAML = typed.YAMLObject(`types: elementType: scalar: string elementRelationship: associative + - name: dnsRecordsType + type: + scalar: string - name: ingressIP type: scalar: string @@ -2724,6 +2779,14 @@ var schemaYAML = typed.YAMLObject(`types: keys: - componentNamespace - componentName + - name: userValidationRules + type: + list: + elementType: + namedType: com.github.openshift.api.config.v1.TokenUserValidationRule + elementRelationship: associative + keys: + - expression - name: com.github.openshift.api.config.v1.ObjectReference map: fields: @@ -2860,6 +2923,9 @@ var schemaYAML = typed.YAMLObject(`types: - name: cloudName type: scalar: string + - name: dnsRecordsType + type: + scalar: string - name: ingressIP type: scalar: string @@ -2969,6 +3035,9 @@ var schemaYAML = typed.YAMLObject(`types: elementType: scalar: string elementRelationship: associative + - name: dnsRecordsType + type: + scalar: string - name: ingressIP type: scalar: string @@ -2986,19 +3055,6 @@ var schemaYAML = typed.YAMLObject(`types: - name: nodeDNSIP type: scalar: string -- name: com.github.openshift.api.config.v1.PKI - map: - fields: - - name: caIntermediatesData - type: - scalar: string - - name: caRootsData - type: - scalar: string - - name: pkiCertificateSubject - type: - namedType: com.github.openshift.api.config.v1.PKICertificateSubject - default: {} - name: com.github.openshift.api.config.v1.PKICertificateSubject map: fields: @@ -3122,16 +3178,6 @@ var schemaYAML = typed.YAMLObject(`types: - name: vsphere type: namedType: com.github.openshift.api.config.v1.VSpherePlatformStatus -- name: com.github.openshift.api.config.v1.Policy - map: - fields: - - name: rootOfTrust - type: - namedType: com.github.openshift.api.config.v1.PolicyRootOfTrust - default: {} - - name: signedIdentity - type: - namedType: com.github.openshift.api.config.v1.PolicyIdentity - name: com.github.openshift.api.config.v1.PolicyFulcioSubject map: fields: @@ -3186,17 +3232,17 @@ var schemaYAML = typed.YAMLObject(`types: fields: - name: fulcioCAWithRekor type: - namedType: com.github.openshift.api.config.v1.FulcioCAWithRekor + namedType: com.github.openshift.api.config.v1.ImagePolicyFulcioCAWithRekorRootOfTrust - name: pki type: - namedType: com.github.openshift.api.config.v1.PKI + namedType: com.github.openshift.api.config.v1.ImagePolicyPKIRootOfTrust - name: policyType type: scalar: string default: "" - name: publicKey type: - namedType: com.github.openshift.api.config.v1.PublicKey + namedType: com.github.openshift.api.config.v1.ImagePolicyPublicKeyRootOfTrust unions: - discriminator: policyType fields: @@ -3381,15 +3427,6 @@ var schemaYAML = typed.YAMLObject(`types: - name: noProxy type: scalar: string -- name: com.github.openshift.api.config.v1.PublicKey - map: - fields: - - name: keyData - type: - scalar: string - - name: rekorKeyData - type: - scalar: string - name: com.github.openshift.api.config.v1.RegistryLocation map: fields: @@ -3688,9 +3725,22 @@ var schemaYAML = typed.YAMLObject(`types: - name: expression type: scalar: string +- name: com.github.openshift.api.config.v1.TokenClaimValidationCELRule + map: + fields: + - name: expression + type: + scalar: string + - name: message + type: + scalar: string - name: com.github.openshift.api.config.v1.TokenClaimValidationRule map: fields: + - name: cel + type: + namedType: com.github.openshift.api.config.v1.TokenClaimValidationCELRule + default: {} - name: requiredClaim type: namedType: com.github.openshift.api.config.v1.TokenRequiredClaim @@ -3719,6 +3769,9 @@ var schemaYAML = typed.YAMLObject(`types: elementType: scalar: string elementRelationship: associative + - name: discoveryURL + type: + scalar: string - name: issuerCertificateAuthority type: namedType: com.github.openshift.api.config.v1.ConfigMapNameReference @@ -3738,9 +3791,26 @@ var schemaYAML = typed.YAMLObject(`types: type: scalar: string default: "" +- name: com.github.openshift.api.config.v1.TokenUserValidationRule + map: + fields: + - name: expression + type: + scalar: string + - name: message + type: + scalar: string - name: com.github.openshift.api.config.v1.Update map: fields: + - name: acceptRisks + type: + list: + elementType: + namedType: com.github.openshift.api.config.v1.AcceptRisk + elementRelationship: associative + keys: + - name - name: architecture type: scalar: string @@ -3970,6 +4040,9 @@ var schemaYAML = typed.YAMLObject(`types: elementType: scalar: string elementRelationship: atomic + - name: dnsRecordsType + type: + scalar: string - name: ingressIP type: scalar: string @@ -4145,6 +4218,46 @@ var schemaYAML = typed.YAMLObject(`types: elementType: namedType: __untyped_deduced_ elementRelationship: separable +- name: com.github.openshift.api.config.v1alpha1.CRIOCredentialProviderConfig + map: + fields: + - name: apiVersion + type: + scalar: string + - name: kind + type: + scalar: string + - name: metadata + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta + default: {} + - name: spec + type: + namedType: com.github.openshift.api.config.v1alpha1.CRIOCredentialProviderConfigSpec + - name: status + type: + namedType: com.github.openshift.api.config.v1alpha1.CRIOCredentialProviderConfigStatus + default: {} +- name: com.github.openshift.api.config.v1alpha1.CRIOCredentialProviderConfigSpec + map: + fields: + - name: matchImages + type: + list: + elementType: + scalar: string + elementRelationship: associative +- name: com.github.openshift.api.config.v1alpha1.CRIOCredentialProviderConfigStatus + map: + fields: + - name: conditions + type: + list: + elementType: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Condition + elementRelationship: associative + keys: + - type - name: com.github.openshift.api.config.v1alpha1.ClusterImagePolicy map: fields: @@ -4171,7 +4284,7 @@ var schemaYAML = typed.YAMLObject(`types: fields: - name: policy type: - namedType: com.github.openshift.api.config.v1alpha1.Policy + namedType: com.github.openshift.api.config.v1alpha1.ImageSigstoreVerificationPolicy default: {} - name: scopes type: @@ -4222,6 +4335,10 @@ var schemaYAML = typed.YAMLObject(`types: type: namedType: com.github.openshift.api.config.v1alpha1.MetricsServerConfig default: {} + - name: prometheusOperatorConfig + type: + namedType: com.github.openshift.api.config.v1alpha1.PrometheusOperatorConfig + default: {} - name: userDefined type: namedType: com.github.openshift.api.config.v1alpha1.UserDefinedMonitoring @@ -4269,19 +4386,6 @@ var schemaYAML = typed.YAMLObject(`types: type: scalar: string default: "" -- name: com.github.openshift.api.config.v1alpha1.FulcioCAWithRekor - map: - fields: - - name: fulcioCAData - type: - scalar: string - - name: fulcioSubject - type: - namedType: com.github.openshift.api.config.v1alpha1.PolicyFulcioSubject - default: {} - - name: rekorKeyData - type: - scalar: string - name: com.github.openshift.api.config.v1alpha1.GatherConfig map: fields: @@ -4318,12 +4422,47 @@ var schemaYAML = typed.YAMLObject(`types: type: namedType: com.github.openshift.api.config.v1alpha1.ImagePolicyStatus default: {} +- name: com.github.openshift.api.config.v1alpha1.ImagePolicyFulcioCAWithRekorRootOfTrust + map: + fields: + - name: fulcioCAData + type: + scalar: string + - name: fulcioSubject + type: + namedType: com.github.openshift.api.config.v1alpha1.PolicyFulcioSubject + default: {} + - name: rekorKeyData + type: + scalar: string +- name: com.github.openshift.api.config.v1alpha1.ImagePolicyPKIRootOfTrust + map: + fields: + - name: caIntermediatesData + type: + scalar: string + - name: caRootsData + type: + scalar: string + - name: pkiCertificateSubject + type: + namedType: com.github.openshift.api.config.v1alpha1.PKICertificateSubject + default: {} +- name: com.github.openshift.api.config.v1alpha1.ImagePolicyPublicKeyRootOfTrust + map: + fields: + - name: keyData + type: + scalar: string + - name: rekorKeyData + type: + scalar: string - name: com.github.openshift.api.config.v1alpha1.ImagePolicySpec map: fields: - name: policy type: - namedType: com.github.openshift.api.config.v1alpha1.Policy + namedType: com.github.openshift.api.config.v1alpha1.ImageSigstoreVerificationPolicy default: {} - name: scopes type: @@ -4342,6 +4481,17 @@ var schemaYAML = typed.YAMLObject(`types: elementRelationship: associative keys: - type +- name: com.github.openshift.api.config.v1alpha1.ImageSigstoreVerificationPolicy + map: + fields: + - name: rootOfTrust + type: + namedType: com.github.openshift.api.config.v1alpha1.PolicyRootOfTrust + default: {} + - name: signedIdentity + type: + namedType: com.github.openshift.api.config.v1alpha1.PolicyIdentity + default: {} - name: com.github.openshift.api.config.v1alpha1.InsightsDataGather map: fields: @@ -4420,19 +4570,6 @@ var schemaYAML = typed.YAMLObject(`types: - name: verbosity type: scalar: string -- name: com.github.openshift.api.config.v1alpha1.PKI - map: - fields: - - name: caIntermediatesData - type: - scalar: string - - name: caRootsData - type: - scalar: string - - name: pkiCertificateSubject - type: - namedType: com.github.openshift.api.config.v1alpha1.PKICertificateSubject - default: {} - name: com.github.openshift.api.config.v1alpha1.PKICertificateSubject map: fields: @@ -4459,17 +4596,6 @@ var schemaYAML = typed.YAMLObject(`types: - name: mountPath type: scalar: string -- name: com.github.openshift.api.config.v1alpha1.Policy - map: - fields: - - name: rootOfTrust - type: - namedType: com.github.openshift.api.config.v1alpha1.PolicyRootOfTrust - default: {} - - name: signedIdentity - type: - namedType: com.github.openshift.api.config.v1alpha1.PolicyIdentity - default: {} - name: com.github.openshift.api.config.v1alpha1.PolicyFulcioSubject map: fields: @@ -4524,17 +4650,17 @@ var schemaYAML = typed.YAMLObject(`types: fields: - name: fulcioCAWithRekor type: - namedType: com.github.openshift.api.config.v1alpha1.FulcioCAWithRekor + namedType: com.github.openshift.api.config.v1alpha1.ImagePolicyFulcioCAWithRekorRootOfTrust - name: pki type: - namedType: com.github.openshift.api.config.v1alpha1.PKI + namedType: com.github.openshift.api.config.v1alpha1.ImagePolicyPKIRootOfTrust - name: policyType type: scalar: string default: "" - name: publicKey type: - namedType: com.github.openshift.api.config.v1alpha1.PublicKey + namedType: com.github.openshift.api.config.v1alpha1.ImagePolicyPublicKeyRootOfTrust unions: - discriminator: policyType fields: @@ -4544,15 +4670,40 @@ var schemaYAML = typed.YAMLObject(`types: discriminatorValue: PKI - fieldName: publicKey discriminatorValue: PublicKey -- name: com.github.openshift.api.config.v1alpha1.PublicKey +- name: com.github.openshift.api.config.v1alpha1.PrometheusOperatorConfig map: fields: - - name: keyData + - name: logLevel type: scalar: string - - name: rekorKeyData + - name: nodeSelector type: - scalar: string + map: + elementType: + scalar: string + - name: resources + type: + list: + elementType: + namedType: com.github.openshift.api.config.v1alpha1.ContainerResource + elementRelationship: associative + keys: + - name + - name: tolerations + type: + list: + elementType: + namedType: io.k8s.api.core.v1.Toleration + elementRelationship: atomic + - name: topologySpreadConstraints + type: + list: + elementType: + namedType: io.k8s.api.core.v1.TopologySpreadConstraint + elementRelationship: associative + keys: + - topologyKey + - whenUnsatisfiable - name: com.github.openshift.api.config.v1alpha1.RetentionNumberConfig map: fields: diff --git a/vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1alpha1/config_client.go b/vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1alpha1/config_client.go index 2530a4a645..58cf671dc9 100644 --- a/vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1alpha1/config_client.go +++ b/vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1alpha1/config_client.go @@ -13,6 +13,7 @@ import ( type ConfigV1alpha1Interface interface { RESTClient() rest.Interface BackupsGetter + CRIOCredentialProviderConfigsGetter ClusterImagePoliciesGetter ClusterMonitoringsGetter ImagePoliciesGetter @@ -28,6 +29,10 @@ func (c *ConfigV1alpha1Client) Backups() BackupInterface { return newBackups(c) } +func (c *ConfigV1alpha1Client) CRIOCredentialProviderConfigs() CRIOCredentialProviderConfigInterface { + return newCRIOCredentialProviderConfigs(c) +} + func (c *ConfigV1alpha1Client) ClusterImagePolicies() ClusterImagePolicyInterface { return newClusterImagePolicies(c) } diff --git a/vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1alpha1/criocredentialproviderconfig.go b/vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1alpha1/criocredentialproviderconfig.go new file mode 100644 index 0000000000..3c4962155a --- /dev/null +++ b/vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1alpha1/criocredentialproviderconfig.go @@ -0,0 +1,62 @@ +// Code generated by client-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + context "context" + + configv1alpha1 "github.com/openshift/api/config/v1alpha1" + applyconfigurationsconfigv1alpha1 "github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1" + scheme "github.com/openshift/client-go/config/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + types "k8s.io/apimachinery/pkg/types" + watch "k8s.io/apimachinery/pkg/watch" + gentype "k8s.io/client-go/gentype" +) + +// CRIOCredentialProviderConfigsGetter has a method to return a CRIOCredentialProviderConfigInterface. +// A group's client should implement this interface. +type CRIOCredentialProviderConfigsGetter interface { + CRIOCredentialProviderConfigs() CRIOCredentialProviderConfigInterface +} + +// CRIOCredentialProviderConfigInterface has methods to work with CRIOCredentialProviderConfig resources. +type CRIOCredentialProviderConfigInterface interface { + Create(ctx context.Context, cRIOCredentialProviderConfig *configv1alpha1.CRIOCredentialProviderConfig, opts v1.CreateOptions) (*configv1alpha1.CRIOCredentialProviderConfig, error) + Update(ctx context.Context, cRIOCredentialProviderConfig *configv1alpha1.CRIOCredentialProviderConfig, opts v1.UpdateOptions) (*configv1alpha1.CRIOCredentialProviderConfig, error) + // Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). + UpdateStatus(ctx context.Context, cRIOCredentialProviderConfig *configv1alpha1.CRIOCredentialProviderConfig, opts v1.UpdateOptions) (*configv1alpha1.CRIOCredentialProviderConfig, error) + Delete(ctx context.Context, name string, opts v1.DeleteOptions) error + DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error + Get(ctx context.Context, name string, opts v1.GetOptions) (*configv1alpha1.CRIOCredentialProviderConfig, error) + List(ctx context.Context, opts v1.ListOptions) (*configv1alpha1.CRIOCredentialProviderConfigList, error) + Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) + Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *configv1alpha1.CRIOCredentialProviderConfig, err error) + Apply(ctx context.Context, cRIOCredentialProviderConfig *applyconfigurationsconfigv1alpha1.CRIOCredentialProviderConfigApplyConfiguration, opts v1.ApplyOptions) (result *configv1alpha1.CRIOCredentialProviderConfig, err error) + // Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus(). + ApplyStatus(ctx context.Context, cRIOCredentialProviderConfig *applyconfigurationsconfigv1alpha1.CRIOCredentialProviderConfigApplyConfiguration, opts v1.ApplyOptions) (result *configv1alpha1.CRIOCredentialProviderConfig, err error) + CRIOCredentialProviderConfigExpansion +} + +// cRIOCredentialProviderConfigs implements CRIOCredentialProviderConfigInterface +type cRIOCredentialProviderConfigs struct { + *gentype.ClientWithListAndApply[*configv1alpha1.CRIOCredentialProviderConfig, *configv1alpha1.CRIOCredentialProviderConfigList, *applyconfigurationsconfigv1alpha1.CRIOCredentialProviderConfigApplyConfiguration] +} + +// newCRIOCredentialProviderConfigs returns a CRIOCredentialProviderConfigs +func newCRIOCredentialProviderConfigs(c *ConfigV1alpha1Client) *cRIOCredentialProviderConfigs { + return &cRIOCredentialProviderConfigs{ + gentype.NewClientWithListAndApply[*configv1alpha1.CRIOCredentialProviderConfig, *configv1alpha1.CRIOCredentialProviderConfigList, *applyconfigurationsconfigv1alpha1.CRIOCredentialProviderConfigApplyConfiguration]( + "criocredentialproviderconfigs", + c.RESTClient(), + scheme.ParameterCodec, + "", + func() *configv1alpha1.CRIOCredentialProviderConfig { + return &configv1alpha1.CRIOCredentialProviderConfig{} + }, + func() *configv1alpha1.CRIOCredentialProviderConfigList { + return &configv1alpha1.CRIOCredentialProviderConfigList{} + }, + ), + } +} diff --git a/vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1alpha1/generated_expansion.go b/vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1alpha1/generated_expansion.go index ab5198cce6..9f530ae220 100644 --- a/vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1alpha1/generated_expansion.go +++ b/vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1alpha1/generated_expansion.go @@ -4,6 +4,8 @@ package v1alpha1 type BackupExpansion interface{} +type CRIOCredentialProviderConfigExpansion interface{} + type ClusterImagePolicyExpansion interface{} type ClusterMonitoringExpansion interface{} diff --git a/vendor/github.com/openshift/client-go/config/informers/externalversions/config/v1alpha1/criocredentialproviderconfig.go b/vendor/github.com/openshift/client-go/config/informers/externalversions/config/v1alpha1/criocredentialproviderconfig.go new file mode 100644 index 0000000000..b349ee0ed5 --- /dev/null +++ b/vendor/github.com/openshift/client-go/config/informers/externalversions/config/v1alpha1/criocredentialproviderconfig.go @@ -0,0 +1,85 @@ +// Code generated by informer-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + context "context" + time "time" + + apiconfigv1alpha1 "github.com/openshift/api/config/v1alpha1" + versioned "github.com/openshift/client-go/config/clientset/versioned" + internalinterfaces "github.com/openshift/client-go/config/informers/externalversions/internalinterfaces" + configv1alpha1 "github.com/openshift/client-go/config/listers/config/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + cache "k8s.io/client-go/tools/cache" +) + +// CRIOCredentialProviderConfigInformer provides access to a shared informer and lister for +// CRIOCredentialProviderConfigs. +type CRIOCredentialProviderConfigInformer interface { + Informer() cache.SharedIndexInformer + Lister() configv1alpha1.CRIOCredentialProviderConfigLister +} + +type cRIOCredentialProviderConfigInformer struct { + factory internalinterfaces.SharedInformerFactory + tweakListOptions internalinterfaces.TweakListOptionsFunc +} + +// NewCRIOCredentialProviderConfigInformer constructs a new informer for CRIOCredentialProviderConfig type. +// Always prefer using an informer factory to get a shared informer instead of getting an independent +// one. This reduces memory footprint and number of connections to the server. +func NewCRIOCredentialProviderConfigInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer { + return NewFilteredCRIOCredentialProviderConfigInformer(client, resyncPeriod, indexers, nil) +} + +// NewFilteredCRIOCredentialProviderConfigInformer constructs a new informer for CRIOCredentialProviderConfig type. +// Always prefer using an informer factory to get a shared informer instead of getting an independent +// one. This reduces memory footprint and number of connections to the server. +func NewFilteredCRIOCredentialProviderConfigInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer { + return cache.NewSharedIndexInformer( + &cache.ListWatch{ + ListFunc: func(options v1.ListOptions) (runtime.Object, error) { + if tweakListOptions != nil { + tweakListOptions(&options) + } + return client.ConfigV1alpha1().CRIOCredentialProviderConfigs().List(context.Background(), options) + }, + WatchFunc: func(options v1.ListOptions) (watch.Interface, error) { + if tweakListOptions != nil { + tweakListOptions(&options) + } + return client.ConfigV1alpha1().CRIOCredentialProviderConfigs().Watch(context.Background(), options) + }, + ListWithContextFunc: func(ctx context.Context, options v1.ListOptions) (runtime.Object, error) { + if tweakListOptions != nil { + tweakListOptions(&options) + } + return client.ConfigV1alpha1().CRIOCredentialProviderConfigs().List(ctx, options) + }, + WatchFuncWithContext: func(ctx context.Context, options v1.ListOptions) (watch.Interface, error) { + if tweakListOptions != nil { + tweakListOptions(&options) + } + return client.ConfigV1alpha1().CRIOCredentialProviderConfigs().Watch(ctx, options) + }, + }, + &apiconfigv1alpha1.CRIOCredentialProviderConfig{}, + resyncPeriod, + indexers, + ) +} + +func (f *cRIOCredentialProviderConfigInformer) defaultInformer(client versioned.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer { + return NewFilteredCRIOCredentialProviderConfigInformer(client, resyncPeriod, cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc}, f.tweakListOptions) +} + +func (f *cRIOCredentialProviderConfigInformer) Informer() cache.SharedIndexInformer { + return f.factory.InformerFor(&apiconfigv1alpha1.CRIOCredentialProviderConfig{}, f.defaultInformer) +} + +func (f *cRIOCredentialProviderConfigInformer) Lister() configv1alpha1.CRIOCredentialProviderConfigLister { + return configv1alpha1.NewCRIOCredentialProviderConfigLister(f.Informer().GetIndexer()) +} diff --git a/vendor/github.com/openshift/client-go/config/informers/externalversions/config/v1alpha1/interface.go b/vendor/github.com/openshift/client-go/config/informers/externalversions/config/v1alpha1/interface.go index 893d2db0ad..10cc930b8c 100644 --- a/vendor/github.com/openshift/client-go/config/informers/externalversions/config/v1alpha1/interface.go +++ b/vendor/github.com/openshift/client-go/config/informers/externalversions/config/v1alpha1/interface.go @@ -10,6 +10,8 @@ import ( type Interface interface { // Backups returns a BackupInformer. Backups() BackupInformer + // CRIOCredentialProviderConfigs returns a CRIOCredentialProviderConfigInformer. + CRIOCredentialProviderConfigs() CRIOCredentialProviderConfigInformer // ClusterImagePolicies returns a ClusterImagePolicyInformer. ClusterImagePolicies() ClusterImagePolicyInformer // ClusterMonitorings returns a ClusterMonitoringInformer. @@ -36,6 +38,11 @@ func (v *version) Backups() BackupInformer { return &backupInformer{factory: v.factory, tweakListOptions: v.tweakListOptions} } +// CRIOCredentialProviderConfigs returns a CRIOCredentialProviderConfigInformer. +func (v *version) CRIOCredentialProviderConfigs() CRIOCredentialProviderConfigInformer { + return &cRIOCredentialProviderConfigInformer{factory: v.factory, tweakListOptions: v.tweakListOptions} +} + // ClusterImagePolicies returns a ClusterImagePolicyInformer. func (v *version) ClusterImagePolicies() ClusterImagePolicyInformer { return &clusterImagePolicyInformer{factory: v.factory, tweakListOptions: v.tweakListOptions} diff --git a/vendor/github.com/openshift/client-go/config/informers/externalversions/generic.go b/vendor/github.com/openshift/client-go/config/informers/externalversions/generic.go index 146e7e9754..ca697748ae 100644 --- a/vendor/github.com/openshift/client-go/config/informers/externalversions/generic.go +++ b/vendor/github.com/openshift/client-go/config/informers/externalversions/generic.go @@ -91,6 +91,8 @@ func (f *sharedInformerFactory) ForResource(resource schema.GroupVersionResource // Group=config.openshift.io, Version=v1alpha1 case v1alpha1.SchemeGroupVersion.WithResource("backups"): return &genericInformer{resource: resource.GroupResource(), informer: f.Config().V1alpha1().Backups().Informer()}, nil + case v1alpha1.SchemeGroupVersion.WithResource("criocredentialproviderconfigs"): + return &genericInformer{resource: resource.GroupResource(), informer: f.Config().V1alpha1().CRIOCredentialProviderConfigs().Informer()}, nil case v1alpha1.SchemeGroupVersion.WithResource("clusterimagepolicies"): return &genericInformer{resource: resource.GroupResource(), informer: f.Config().V1alpha1().ClusterImagePolicies().Informer()}, nil case v1alpha1.SchemeGroupVersion.WithResource("clustermonitorings"): diff --git a/vendor/github.com/openshift/client-go/config/listers/config/v1alpha1/criocredentialproviderconfig.go b/vendor/github.com/openshift/client-go/config/listers/config/v1alpha1/criocredentialproviderconfig.go new file mode 100644 index 0000000000..cc5dfa3885 --- /dev/null +++ b/vendor/github.com/openshift/client-go/config/listers/config/v1alpha1/criocredentialproviderconfig.go @@ -0,0 +1,32 @@ +// Code generated by lister-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + configv1alpha1 "github.com/openshift/api/config/v1alpha1" + labels "k8s.io/apimachinery/pkg/labels" + listers "k8s.io/client-go/listers" + cache "k8s.io/client-go/tools/cache" +) + +// CRIOCredentialProviderConfigLister helps list CRIOCredentialProviderConfigs. +// All objects returned here must be treated as read-only. +type CRIOCredentialProviderConfigLister interface { + // List lists all CRIOCredentialProviderConfigs in the indexer. + // Objects returned here must be treated as read-only. + List(selector labels.Selector) (ret []*configv1alpha1.CRIOCredentialProviderConfig, err error) + // Get retrieves the CRIOCredentialProviderConfig from the index for a given name. + // Objects returned here must be treated as read-only. + Get(name string) (*configv1alpha1.CRIOCredentialProviderConfig, error) + CRIOCredentialProviderConfigListerExpansion +} + +// cRIOCredentialProviderConfigLister implements the CRIOCredentialProviderConfigLister interface. +type cRIOCredentialProviderConfigLister struct { + listers.ResourceIndexer[*configv1alpha1.CRIOCredentialProviderConfig] +} + +// NewCRIOCredentialProviderConfigLister returns a new CRIOCredentialProviderConfigLister. +func NewCRIOCredentialProviderConfigLister(indexer cache.Indexer) CRIOCredentialProviderConfigLister { + return &cRIOCredentialProviderConfigLister{listers.New[*configv1alpha1.CRIOCredentialProviderConfig](indexer, configv1alpha1.Resource("criocredentialproviderconfig"))} +} diff --git a/vendor/github.com/openshift/client-go/config/listers/config/v1alpha1/expansion_generated.go b/vendor/github.com/openshift/client-go/config/listers/config/v1alpha1/expansion_generated.go index 09b4d206db..75ba32823f 100644 --- a/vendor/github.com/openshift/client-go/config/listers/config/v1alpha1/expansion_generated.go +++ b/vendor/github.com/openshift/client-go/config/listers/config/v1alpha1/expansion_generated.go @@ -6,6 +6,10 @@ package v1alpha1 // BackupLister. type BackupListerExpansion interface{} +// CRIOCredentialProviderConfigListerExpansion allows custom methods to be added to +// CRIOCredentialProviderConfigLister. +type CRIOCredentialProviderConfigListerExpansion interface{} + // ClusterImagePolicyListerExpansion allows custom methods to be added to // ClusterImagePolicyLister. type ClusterImagePolicyListerExpansion interface{} diff --git a/vendor/github.com/openshift/client-go/operator/applyconfigurations/internal/internal.go b/vendor/github.com/openshift/client-go/operator/applyconfigurations/internal/internal.go index fa2661459e..51ec76686f 100644 --- a/vendor/github.com/openshift/client-go/operator/applyconfigurations/internal/internal.go +++ b/vendor/github.com/openshift/client-go/operator/applyconfigurations/internal/internal.go @@ -1860,6 +1860,10 @@ var schemaYAML = typed.YAMLObject(`types: type: namedType: com.github.openshift.api.operator.v1.ClientTLS default: {} + - name: closedClientConnectionPolicy + type: + scalar: string + default: Continue - name: defaultCertificate type: namedType: io.k8s.api.core.v1.LocalObjectReference @@ -1974,6 +1978,9 @@ var schemaYAML = typed.YAMLObject(`types: - name: healthCheckInterval type: namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Duration + - name: httpKeepAliveTimeout + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Duration - name: maxConnections type: scalar: numeric @@ -4054,6 +4061,51 @@ var schemaYAML = typed.YAMLObject(`types: type: scalar: string default: "" +- name: com.github.openshift.api.operator.v1alpha1.ClusterAPI + map: + fields: + - name: apiVersion + type: + scalar: string + - name: kind + type: + scalar: string + - name: metadata + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta + default: {} + - name: spec + type: + namedType: com.github.openshift.api.operator.v1alpha1.ClusterAPISpec + default: {} + - name: status + type: + namedType: com.github.openshift.api.operator.v1alpha1.ClusterAPIStatus + default: {} +- name: com.github.openshift.api.operator.v1alpha1.ClusterAPISpec + map: + fields: + - name: unmanagedCustomResourceDefinitions + type: + list: + elementType: + scalar: string + elementRelationship: associative +- name: com.github.openshift.api.operator.v1alpha1.ClusterAPIStatus + map: + fields: + - name: activeConfigMaps + type: + list: + elementType: + scalar: string + elementRelationship: atomic + - name: targetConfigMaps + type: + list: + elementType: + scalar: string + elementRelationship: atomic - name: com.github.openshift.api.operator.v1alpha1.ClusterVersionOperator map: fields: diff --git a/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/ingresscontrollerspec.go b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/ingresscontrollerspec.go index ae23fe636a..ff82e0ed18 100644 --- a/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/ingresscontrollerspec.go +++ b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/ingresscontrollerspec.go @@ -13,24 +13,25 @@ import ( // IngressControllerSpecApplyConfiguration represents a declarative configuration of the IngressControllerSpec type for use // with apply. type IngressControllerSpecApplyConfiguration struct { - Domain *string `json:"domain,omitempty"` - HttpErrorCodePages *configv1.ConfigMapNameReference `json:"httpErrorCodePages,omitempty"` - Replicas *int32 `json:"replicas,omitempty"` - EndpointPublishingStrategy *EndpointPublishingStrategyApplyConfiguration `json:"endpointPublishingStrategy,omitempty"` - DefaultCertificate *corev1.LocalObjectReference `json:"defaultCertificate,omitempty"` - NamespaceSelector *metav1.LabelSelectorApplyConfiguration `json:"namespaceSelector,omitempty"` - RouteSelector *metav1.LabelSelectorApplyConfiguration `json:"routeSelector,omitempty"` - NodePlacement *NodePlacementApplyConfiguration `json:"nodePlacement,omitempty"` - TLSSecurityProfile *configv1.TLSSecurityProfile `json:"tlsSecurityProfile,omitempty"` - ClientTLS *ClientTLSApplyConfiguration `json:"clientTLS,omitempty"` - RouteAdmission *RouteAdmissionPolicyApplyConfiguration `json:"routeAdmission,omitempty"` - Logging *IngressControllerLoggingApplyConfiguration `json:"logging,omitempty"` - HTTPHeaders *IngressControllerHTTPHeadersApplyConfiguration `json:"httpHeaders,omitempty"` - HTTPEmptyRequestsPolicy *operatorv1.HTTPEmptyRequestsPolicy `json:"httpEmptyRequestsPolicy,omitempty"` - TuningOptions *IngressControllerTuningOptionsApplyConfiguration `json:"tuningOptions,omitempty"` - UnsupportedConfigOverrides *runtime.RawExtension `json:"unsupportedConfigOverrides,omitempty"` - HTTPCompression *HTTPCompressionPolicyApplyConfiguration `json:"httpCompression,omitempty"` - IdleConnectionTerminationPolicy *operatorv1.IngressControllerConnectionTerminationPolicy `json:"idleConnectionTerminationPolicy,omitempty"` + Domain *string `json:"domain,omitempty"` + HttpErrorCodePages *configv1.ConfigMapNameReference `json:"httpErrorCodePages,omitempty"` + Replicas *int32 `json:"replicas,omitempty"` + EndpointPublishingStrategy *EndpointPublishingStrategyApplyConfiguration `json:"endpointPublishingStrategy,omitempty"` + DefaultCertificate *corev1.LocalObjectReference `json:"defaultCertificate,omitempty"` + NamespaceSelector *metav1.LabelSelectorApplyConfiguration `json:"namespaceSelector,omitempty"` + RouteSelector *metav1.LabelSelectorApplyConfiguration `json:"routeSelector,omitempty"` + NodePlacement *NodePlacementApplyConfiguration `json:"nodePlacement,omitempty"` + TLSSecurityProfile *configv1.TLSSecurityProfile `json:"tlsSecurityProfile,omitempty"` + ClientTLS *ClientTLSApplyConfiguration `json:"clientTLS,omitempty"` + RouteAdmission *RouteAdmissionPolicyApplyConfiguration `json:"routeAdmission,omitempty"` + Logging *IngressControllerLoggingApplyConfiguration `json:"logging,omitempty"` + HTTPHeaders *IngressControllerHTTPHeadersApplyConfiguration `json:"httpHeaders,omitempty"` + HTTPEmptyRequestsPolicy *operatorv1.HTTPEmptyRequestsPolicy `json:"httpEmptyRequestsPolicy,omitempty"` + TuningOptions *IngressControllerTuningOptionsApplyConfiguration `json:"tuningOptions,omitempty"` + UnsupportedConfigOverrides *runtime.RawExtension `json:"unsupportedConfigOverrides,omitempty"` + HTTPCompression *HTTPCompressionPolicyApplyConfiguration `json:"httpCompression,omitempty"` + IdleConnectionTerminationPolicy *operatorv1.IngressControllerConnectionTerminationPolicy `json:"idleConnectionTerminationPolicy,omitempty"` + ClosedClientConnectionPolicy *operatorv1.IngressControllerClosedClientConnectionPolicy `json:"closedClientConnectionPolicy,omitempty"` } // IngressControllerSpecApplyConfiguration constructs a declarative configuration of the IngressControllerSpec type for use with @@ -182,3 +183,11 @@ func (b *IngressControllerSpecApplyConfiguration) WithIdleConnectionTerminationP b.IdleConnectionTerminationPolicy = &value return b } + +// WithClosedClientConnectionPolicy sets the ClosedClientConnectionPolicy field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the ClosedClientConnectionPolicy field is set to the value of the last call. +func (b *IngressControllerSpecApplyConfiguration) WithClosedClientConnectionPolicy(value operatorv1.IngressControllerClosedClientConnectionPolicy) *IngressControllerSpecApplyConfiguration { + b.ClosedClientConnectionPolicy = &value + return b +} diff --git a/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/ingresscontrollertuningoptions.go b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/ingresscontrollertuningoptions.go index 122801cf10..e7cc8c5ee5 100644 --- a/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/ingresscontrollertuningoptions.go +++ b/vendor/github.com/openshift/client-go/operator/applyconfigurations/operator/v1/ingresscontrollertuningoptions.go @@ -18,6 +18,7 @@ type IngressControllerTuningOptionsApplyConfiguration struct { ServerFinTimeout *metav1.Duration `json:"serverFinTimeout,omitempty"` TunnelTimeout *metav1.Duration `json:"tunnelTimeout,omitempty"` ConnectTimeout *metav1.Duration `json:"connectTimeout,omitempty"` + HTTPKeepAliveTimeout *metav1.Duration `json:"httpKeepAliveTimeout,omitempty"` TLSInspectDelay *metav1.Duration `json:"tlsInspectDelay,omitempty"` HealthCheckInterval *metav1.Duration `json:"healthCheckInterval,omitempty"` MaxConnections *int32 `json:"maxConnections,omitempty"` @@ -102,6 +103,14 @@ func (b *IngressControllerTuningOptionsApplyConfiguration) WithConnectTimeout(va return b } +// WithHTTPKeepAliveTimeout sets the HTTPKeepAliveTimeout field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the HTTPKeepAliveTimeout field is set to the value of the last call. +func (b *IngressControllerTuningOptionsApplyConfiguration) WithHTTPKeepAliveTimeout(value metav1.Duration) *IngressControllerTuningOptionsApplyConfiguration { + b.HTTPKeepAliveTimeout = &value + return b +} + // WithTLSInspectDelay sets the TLSInspectDelay field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the TLSInspectDelay field is set to the value of the last call. diff --git a/vendor/github.com/openshift/library-go/pkg/crypto/crypto.go b/vendor/github.com/openshift/library-go/pkg/crypto/crypto.go index 33a09ae16e..be0337b900 100644 --- a/vendor/github.com/openshift/library-go/pkg/crypto/crypto.go +++ b/vendor/github.com/openshift/library-go/pkg/crypto/crypto.go @@ -30,6 +30,8 @@ import ( "k8s.io/apimachinery/pkg/util/sets" "k8s.io/apiserver/pkg/authentication/user" "k8s.io/client-go/util/cert" + + configv1 "github.com/openshift/api/config/v1" ) // TLS versions that are known to golang. Go 1.13 adds support for @@ -141,7 +143,11 @@ var ciphers = map[string]uint16{ } // openSSLToIANACiphersMap maps OpenSSL cipher suite names to IANA names -// ref: https://www.iana.org/assignments/tls-parameters/tls-parameters.xml +// Ref: https://www.iana.org/assignments/tls-parameters/tls-parameters.xml +// This must hold a 1:1 mapping for each OpenSSL cipher defined in openshift/api TLSSecurityProfiles, +// so it can be used to translate OpenSSL ciphers to IANA ciphers, which is what go's crypto/tls understands. +// Ciphers in this map must also be compatible with go's crypto/tls ciphers: +// https://github.com/golang/go/blob/d4febb45179fa99ee1d5783bcb693ed7ba14115c/src/crypto/tls/cipher_suites.go#L682-L724 var openSSLToIANACiphersMap = map[string]string{ // TLS 1.3 ciphers - not configurable in go 1.13, all of them are used in TLSv1.3 flows "TLS_AES_128_GCM_SHA256": "TLS_AES_128_GCM_SHA256", // 0x13,0x01 @@ -161,6 +167,21 @@ var openSSLToIANACiphersMap = map[string]string{ "AES256-GCM-SHA384": "TLS_RSA_WITH_AES_256_GCM_SHA384", // 0x00,0x9D "AES128-SHA256": "TLS_RSA_WITH_AES_128_CBC_SHA256", // 0x00,0x3C + // Go's crypto/tls does not support CBC mode and DHE ciphers, so we don't want to include them here. + // See: + // - https://github.com/golang/go/issues/26652 + // - https://github.com/golang/go/issues/7758 + // - https://redhat-internal.slack.com/archives/C098FU5MRAB/p1770309657097269 + // + // "ECDHE-ECDSA-AES256-SHA384": "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", // 0xC0,0x24 + // "ECDHE-RSA-AES256-SHA384": "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", // 0xC0,0x28 + // "AES256-SHA256": "TLS_RSA_WITH_AES_256_CBC_SHA256", // 0x00,0x3D + // "DHE-RSA-AES128-GCM-SHA256": "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256", // 0x00,0x9E + // "DHE-RSA-AES256-GCM-SHA384": "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384", // 0x00,0x9F + // "DHE-RSA-CHACHA20-POLY1305": "TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256", // 0xCC,0xAA + // "DHE-RSA-AES128-SHA256": "TLS_DHE_RSA_WITH_AES_128_CBC_SHA256", // 0x00,0x67 + // "DHE-RSA-AES256-SHA256": "TLS_DHE_RSA_WITH_AES_256_CBC_SHA256", // 0x00,0x6B + // TLS 1 "ECDHE-ECDSA-AES128-SHA": "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", // 0xC0,0x09 "ECDHE-RSA-AES128-SHA": "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", // 0xC0,0x13 @@ -168,9 +189,10 @@ var openSSLToIANACiphersMap = map[string]string{ "ECDHE-RSA-AES256-SHA": "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", // 0xC0,0x14 // SSL 3 - "AES128-SHA": "TLS_RSA_WITH_AES_128_CBC_SHA", // 0x00,0x2F - "AES256-SHA": "TLS_RSA_WITH_AES_256_CBC_SHA", // 0x00,0x35 - "DES-CBC3-SHA": "TLS_RSA_WITH_3DES_EDE_CBC_SHA", // 0x00,0x0A + "AES128-SHA": "TLS_RSA_WITH_AES_128_CBC_SHA", // 0x00,0x2F + "AES256-SHA": "TLS_RSA_WITH_AES_256_CBC_SHA", // 0x00,0x35 + "DES-CBC3-SHA": "TLS_RSA_WITH_3DES_EDE_CBC_SHA", // 0x00,0x0A + "ECDHE-RSA-DES-CBC3-SHA": "TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA", // 0xC0,0x12 } // CipherSuitesToNamesOrDie given a list of cipher suites as ints, return their readable names @@ -242,35 +264,44 @@ func ValidCipherSuites() []string { sort.Strings(validCipherSuites) return validCipherSuites } + +// DefaultTLSProfileType is the intermediate profile type. +const DefaultTLSProfileType = configv1.TLSProfileIntermediateType + +// DefaultCiphers returns the default cipher suites for TLS connections. +// +// RECOMMENDATION: Instead of relying on this function directly, consumers should respect +// TLSSecurityProfile settings from one of the OpenShift API configuration resources: +// - For API servers: Use apiserver.config.openshift.io/cluster Spec.TLSSecurityProfile +// - For ingress controllers: Use operator.openshift.io/v1 IngressController Spec.TLSSecurityProfile +// - For kubelet: Use machineconfiguration.openshift.io/v1 KubeletConfig Spec.TLSSecurityProfile +// +// These API resources allow cluster administrators to choose between Old, Intermediate, +// Modern, or Custom TLS profiles. Components should observe these settings. func DefaultCiphers() []uint16 { - // HTTP/2 mandates TLS 1.2 or higher with an AEAD cipher - // suite (GCM, Poly1305) and ephemeral key exchange (ECDHE, DHE) for - // perfect forward secrecy. Servers may provide additional cipher - // suites for backwards compatibility with HTTP/1.1 clients. - // See RFC7540, section 9.2 (Use of TLS Features) and Appendix A - // (TLS 1.2 Cipher Suite Black List). + // Aligned with intermediate profile of the 5.7 version of the Mozilla Server + // Side TLS guidelines found at: https://ssl-config.mozilla.org/guidelines/5.7.json + // + // Latest guidelines: https://ssl-config.mozilla.org/guidelines/latest.json + // + // This profile provides strong security with wide compatibility. + // It requires TLS 1.2+ and uses only AEAD cipher suites (GCM, ChaCha20-Poly1305) + // with ECDHE key exchange for perfect forward secrecy. + // + // All CBC-mode ciphers have been removed due to padding oracle vulnerabilities. + // All RSA key exchange ciphers have been removed due to lack of perfect forward secrecy. + // + // HTTP/2 compliance: All ciphers are compliant with RFC7540, section 9.2. return []uint16{ + // TLS 1.2 cipher suites with ECDHE + AEAD tls.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256, tls.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256, tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, - tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, // required by http/2 + tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, // required by HTTP/2 tls.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, tls.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, - tls.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, // forbidden by http/2, not flagged by http2isBadCipher() in go1.8 - tls.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, // forbidden by http/2, not flagged by http2isBadCipher() in go1.8 - tls.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, // forbidden by http/2 - tls.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, // forbidden by http/2 - tls.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, // forbidden by http/2 - tls.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, // forbidden by http/2 - tls.TLS_RSA_WITH_AES_128_GCM_SHA256, // forbidden by http/2 - tls.TLS_RSA_WITH_AES_256_GCM_SHA384, // forbidden by http/2 - // the next one is in the intermediate suite, but go1.8 http2isBadCipher() complains when it is included at the recommended index - // because it comes after ciphers forbidden by the http/2 spec - // tls.TLS_RSA_WITH_AES_128_CBC_SHA256, - // tls.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA, // forbidden by http/2, disabled to mitigate SWEET32 attack - // tls.TLS_RSA_WITH_3DES_EDE_CBC_SHA, // forbidden by http/2, disabled to mitigate SWEET32 attack - tls.TLS_RSA_WITH_AES_128_CBC_SHA, // forbidden by http/2 - tls.TLS_RSA_WITH_AES_256_CBC_SHA, // forbidden by http/2 + + // TLS 1.3 cipher suites (negotiated automatically, not configurable) tls.TLS_AES_128_GCM_SHA256, tls.TLS_AES_256_GCM_SHA384, tls.TLS_CHACHA20_POLY1305_SHA256, diff --git a/vendor/github.com/openshift/library-go/pkg/operator/certrotation/signer.go b/vendor/github.com/openshift/library-go/pkg/operator/certrotation/signer.go index 1cb4e55542..c2c8b8368f 100644 --- a/vendor/github.com/openshift/library-go/pkg/operator/certrotation/signer.go +++ b/vendor/github.com/openshift/library-go/pkg/operator/certrotation/signer.go @@ -188,7 +188,7 @@ func getValidityFromAnnotations(annotations map[string]string) (notBefore time.T return notBefore, notAfter, fmt.Sprintf("bad expiry: %q", notAfterString) } notBeforeString := annotations[CertificateNotBeforeAnnotation] - if len(notAfterString) == 0 { + if len(notBeforeString) == 0 { return notBefore, notAfter, "missing notBefore" } notBefore, err = time.Parse(time.RFC3339, notBeforeString) diff --git a/vendor/github.com/openshift/library-go/pkg/operator/resource/resourceapply/generic.go b/vendor/github.com/openshift/library-go/pkg/operator/resource/resourceapply/generic.go index 471f1bb2f2..58f49823f3 100644 --- a/vendor/github.com/openshift/library-go/pkg/operator/resource/resourceapply/generic.go +++ b/vendor/github.com/openshift/library-go/pkg/operator/resource/resourceapply/generic.go @@ -147,7 +147,7 @@ func ApplyDirectly(ctx context.Context, clients *ClientHolder, recorder events.R if clients.kubeClient == nil { result.Error = fmt.Errorf("missing kubeClient") } else { - result.Result, result.Changed, result.Error = ApplyNetworkPolicy(ctx, clients.kubeClient.NetworkingV1(), recorder, t) + result.Result, result.Changed, result.Error = ApplyNetworkPolicy(ctx, clients.kubeClient.NetworkingV1(), recorder, t, cache) } case *rbacv1.ClusterRole: if clients.kubeClient == nil { diff --git a/vendor/github.com/openshift/library-go/pkg/operator/resource/resourceapply/networking.go b/vendor/github.com/openshift/library-go/pkg/operator/resource/resourceapply/networking.go index 0a3df326e4..cc2de17ff3 100644 --- a/vendor/github.com/openshift/library-go/pkg/operator/resource/resourceapply/networking.go +++ b/vendor/github.com/openshift/library-go/pkg/operator/resource/resourceapply/networking.go @@ -15,34 +15,44 @@ import ( "github.com/openshift/library-go/pkg/operator/resource/resourcemerge" ) -// ApplyClusterRole merges objectmeta, does not worry about anything else -func ApplyNetworkPolicy(ctx context.Context, client networkingclientv1.NetworkPoliciesGetter, recorder events.Recorder, required *networkingv1.NetworkPolicy) (*networkingv1.NetworkPolicy, bool, error) { +// ApplyNetworkPolicy merges objectmeta and requires spec +func ApplyNetworkPolicy(ctx context.Context, client networkingclientv1.NetworkPoliciesGetter, recorder events.Recorder, required *networkingv1.NetworkPolicy, cache ResourceCache) (*networkingv1.NetworkPolicy, bool, error) { existing, err := client.NetworkPolicies(required.Namespace).Get(ctx, required.Name, metav1.GetOptions{}) if apierrors.IsNotFound(err) { requiredCopy := required.DeepCopy() actual, err := client.NetworkPolicies(required.Namespace).Create( ctx, resourcemerge.WithCleanLabelsAndAnnotations(requiredCopy).(*networkingv1.NetworkPolicy), metav1.CreateOptions{}) resourcehelper.ReportCreateEvent(recorder, required, err) + cache.UpdateCachedResourceMetadata(required, actual) return actual, true, err } if err != nil { return nil, false, err } + if cache.SafeToSkipApply(required, existing) { + return existing, false, nil + } + modified := false existingCopy := existing.DeepCopy() resourcemerge.EnsureObjectMeta(&modified, &existingCopy.ObjectMeta, required.ObjectMeta) - if equality.Semantic.DeepEqual(existingCopy.Spec, required.Spec) && !modified { + specContentSame := equality.Semantic.DeepEqual(existingCopy.Spec, required.Spec) + if specContentSame && !modified { + cache.UpdateCachedResourceMetadata(required, existingCopy) return existingCopy, false, nil } + existingCopy.Spec = required.Spec + if klog.V(2).Enabled() { klog.Infof("NetworkPolicy %q changes: %v", required.Name, JSONPatchNoError(existing, existingCopy)) } actual, err := client.NetworkPolicies(existingCopy.Namespace).Update(ctx, existingCopy, metav1.UpdateOptions{}) resourcehelper.ReportUpdateEvent(recorder, required, err) + cache.UpdateCachedResourceMetadata(required, actual) return actual, true, err } diff --git a/vendor/github.com/openshift/library-go/pkg/operator/resource/resourceapply/storage.go b/vendor/github.com/openshift/library-go/pkg/operator/resource/resourceapply/storage.go index d44a5d571a..afbdc53ee9 100644 --- a/vendor/github.com/openshift/library-go/pkg/operator/resource/resourceapply/storage.go +++ b/vendor/github.com/openshift/library-go/pkg/operator/resource/resourceapply/storage.go @@ -135,9 +135,10 @@ func storageClassNeedsRecreate(oldSC, newSC *storagev1.StorageClass) bool { return false } -// ApplyCSIDriver merges objectmeta, does not worry about anything else +// ApplyCSIDriver merges objectmeta and tries to update spec if any of the required fields were cleared by the API server. +// It assumes they were cleared due to a feature gate not enabled in the API server and it will be enabled soon. +// When used by StaticResourceController, it will retry periodically and eventually save the spec with the field. func ApplyCSIDriver(ctx context.Context, client storageclientv1.CSIDriversGetter, recorder events.Recorder, requiredOriginal *storagev1.CSIDriver) (*storagev1.CSIDriver, bool, error) { - required := requiredOriginal.DeepCopy() if required.Annotations == nil { required.Annotations = map[string]string{} @@ -173,14 +174,40 @@ func ApplyCSIDriver(ctx context.Context, client storageclientv1.CSIDriversGetter } } - metadataModified := false + needsUpdate := false + // Most CSIDriver fields are immutable. Any change to them should trigger Delete() + Create() calls. + needsRecreate := false + existingCopy := existing.DeepCopy() - resourcemerge.EnsureObjectMeta(&metadataModified, &existingCopy.ObjectMeta, required.ObjectMeta) + // Metadata change should need just Update() call. + resourcemerge.EnsureObjectMeta(&needsUpdate, &existingCopy.ObjectMeta, required.ObjectMeta) requiredSpecHash := required.Annotations[specHashAnnotation] existingSpecHash := existing.Annotations[specHashAnnotation] - sameSpec := requiredSpecHash == existingSpecHash - if sameSpec && !metadataModified { + // Assume whole re-create is needed on any spec change. + // We don't keep a track of which field is mutable. + needsRecreate = requiredSpecHash != existingSpecHash + + // TODO: remove when CSIDriver spec.nodeAllocatableUpdatePeriodSeconds is enabled by default + // (https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/4876-mutable-csinode-allocatable) + if !needsRecreate && !alphaFieldsSaved(existingCopy, required) { + // The required spec is the same as in previous succesful call, however, + // the API server must have cleared some alpha/beta fields in it. + // Try to save the object again. In case the fields are cleared again, + // the caller (typically StaticResourceController) must retry periodically. + klog.V(4).Infof("Detected CSIDriver %q field cleared by the API server, updating", required.Name) + + // Assumption: the alpha fields are **mutable**, so only Update() is needed. + // Update() with the same spec as before + the field cleared by the API server + // won't generate any informer events. StaticResourceController will retry with + // periodic retry (1 minute.) + // We cannot use needsRecreate=true, as it will generate informer events and + // StaticResourceController will retry immediately, leading to a busy loop. + needsUpdate = true + existingCopy.Spec = required.Spec + } + + if !needsUpdate && !needsRecreate { return existing, false, nil } @@ -188,16 +215,16 @@ func ApplyCSIDriver(ctx context.Context, client storageclientv1.CSIDriversGetter klog.Infof("CSIDriver %q changes: %v", required.Name, JSONPatchNoError(existing, existingCopy)) } - if sameSpec { - // Update metadata by a simple Update call + if !needsRecreate { + // only needsUpdate is true, update the object by a simple Update call actual, err := client.CSIDrivers().Update(ctx, existingCopy, metav1.UpdateOptions{}) resourcehelper.ReportUpdateEvent(recorder, required, err) return actual, true, err } + // needsRecreate is true, needsUpdate does not matter. Delete and re-create the object. existingCopy.Spec = required.Spec existingCopy.ObjectMeta.ResourceVersion = "" - // Spec is read-only after creation. Delete and re-create the object err = client.CSIDrivers().Delete(ctx, existingCopy.Name, metav1.DeleteOptions{}) resourcehelper.ReportDeleteEvent(recorder, existingCopy, err, "Deleting CSIDriver to re-create it with updated parameters") if err != nil && !apierrors.IsNotFound(err) { @@ -214,10 +241,17 @@ func ApplyCSIDriver(ctx context.Context, client storageclientv1.CSIDriversGetter } else if err != nil { err = fmt.Errorf("failed to re-create CSIDriver %s: %s", existingCopy.Name, err) } - resourcehelper.ReportCreateEvent(recorder, existingCopy, err) + resourcehelper.ReportCreateEvent(recorder, actual, err) return actual, true, err } +// alphaFieldsSaved checks that all required fields in the CSIDriver required spec are present and equal in the actual spec. +func alphaFieldsSaved(actual, required *storagev1.CSIDriver) bool { + // DeepDerivative checks that all fields in "required" are present and equal in "actual" + // Fields not present in "required" are ignored. + return equality.Semantic.DeepDerivative(required.Spec, actual.Spec) +} + func validateRequiredCSIDriverLabels(required *storagev1.CSIDriver) error { supportsEphemeralVolumes := false for _, mode := range required.Spec.VolumeLifecycleModes { diff --git a/vendor/github.com/sirupsen/logrus/.golangci.yml b/vendor/github.com/sirupsen/logrus/.golangci.yml index 65dc285037..792db36181 100644 --- a/vendor/github.com/sirupsen/logrus/.golangci.yml +++ b/vendor/github.com/sirupsen/logrus/.golangci.yml @@ -1,40 +1,67 @@ +version: "2" run: - # do not run on test files yet tests: false - -# all available settings of specific linters -linters-settings: - errcheck: - # report about not checking of errors in type assetions: `a := b.(MyStruct)`; - # default is false: such cases aren't reported by default. - check-type-assertions: false - - # report about assignment of errors to blank identifier: `num, _ := strconv.Atoi(numStr)`; - # default is false: such cases aren't reported by default. - check-blank: false - - lll: - line-length: 100 - tab-width: 4 - - prealloc: - simple: false - range-loops: false - for-loops: false - - whitespace: - multi-if: false # Enforces newlines (or comments) after every multi-line if statement - multi-func: false # Enforces newlines (or comments) after every multi-line function signature - linters: enable: - - megacheck - - govet + - asasalint + - asciicheck + - bidichk + - bodyclose + - contextcheck + - durationcheck + - errchkjson + - errorlint + - exhaustive + - gocheckcompilerdirectives + - gochecksumtype + - gosec + - gosmopolitan + - loggercheck + - makezero + - musttag + - nilerr + - nilnesserr + - noctx + - protogetter + - reassign + - recvcheck + - rowserrcheck + - spancheck + - sqlclosecheck + - testifylint + - unparam + - zerologlint disable: - - maligned - prealloc - disable-all: false - presets: - - bugs - - unused - fast: false + settings: + errcheck: + check-type-assertions: false + check-blank: false + lll: + line-length: 100 + tab-width: 4 + prealloc: + simple: false + range-loops: false + for-loops: false + whitespace: + multi-if: false + multi-func: false + exclusions: + generated: lax + presets: + - comments + - common-false-positives + - legacy + - std-error-handling + paths: + - third_party$ + - builtin$ + - examples$ +formatters: + exclusions: + generated: lax + paths: + - third_party$ + - builtin$ + - examples$ diff --git a/vendor/github.com/sirupsen/logrus/CHANGELOG.md b/vendor/github.com/sirupsen/logrus/CHANGELOG.md index 7567f61289..098608ff4b 100644 --- a/vendor/github.com/sirupsen/logrus/CHANGELOG.md +++ b/vendor/github.com/sirupsen/logrus/CHANGELOG.md @@ -37,7 +37,7 @@ Features: # 1.6.0 Fixes: * end of line cleanup - * revert the entry concurrency bug fix whic leads to deadlock under some circumstances + * revert the entry concurrency bug fix which leads to deadlock under some circumstances * update dependency on go-windows-terminal-sequences to fix a crash with go 1.14 Features: @@ -129,7 +129,7 @@ This new release introduces: which is mostly useful for logger wrapper * a fix reverting the immutability of the entry given as parameter to the hooks a new configuration field of the json formatter in order to put all the fields - in a nested dictionnary + in a nested dictionary * a new SetOutput method in the Logger * a new configuration of the textformatter to configure the name of the default keys * a new configuration of the text formatter to disable the level truncation diff --git a/vendor/github.com/sirupsen/logrus/README.md b/vendor/github.com/sirupsen/logrus/README.md index d1d4a85fd7..cc5dab7eb7 100644 --- a/vendor/github.com/sirupsen/logrus/README.md +++ b/vendor/github.com/sirupsen/logrus/README.md @@ -1,4 +1,4 @@ -# Logrus :walrus: [![Build Status](https://github.com/sirupsen/logrus/workflows/CI/badge.svg)](https://github.com/sirupsen/logrus/actions?query=workflow%3ACI) [![Build Status](https://travis-ci.org/sirupsen/logrus.svg?branch=master)](https://travis-ci.org/sirupsen/logrus) [![Go Reference](https://pkg.go.dev/badge/github.com/sirupsen/logrus.svg)](https://pkg.go.dev/github.com/sirupsen/logrus) +# Logrus :walrus: [![Build Status](https://github.com/sirupsen/logrus/workflows/CI/badge.svg)](https://github.com/sirupsen/logrus/actions?query=workflow%3ACI) [![Go Reference](https://pkg.go.dev/badge/github.com/sirupsen/logrus.svg)](https://pkg.go.dev/github.com/sirupsen/logrus) Logrus is a structured logger for Go (golang), completely API compatible with the standard library logger. @@ -40,7 +40,7 @@ plain text): ![Colored](http://i.imgur.com/PY7qMwd.png) -With `log.SetFormatter(&log.JSONFormatter{})`, for easy parsing by logstash +With `logrus.SetFormatter(&logrus.JSONFormatter{})`, for easy parsing by logstash or Splunk: ```text @@ -60,9 +60,9 @@ ocean","size":10,"time":"2014-03-10 19:57:38.562264131 -0400 EDT"} "time":"2014-03-10 19:57:38.562543128 -0400 EDT"} ``` -With the default `log.SetFormatter(&log.TextFormatter{})` when a TTY is not +With the default `logrus.SetFormatter(&logrus.TextFormatter{})` when a TTY is not attached, the output is compatible with the -[logfmt](http://godoc.org/github.com/kr/logfmt) format: +[logfmt](https://pkg.go.dev/github.com/kr/logfmt) format: ```text time="2015-03-26T01:27:38-04:00" level=debug msg="Started observing beach" animal=walrus number=8 @@ -75,17 +75,18 @@ time="2015-03-26T01:27:38-04:00" level=fatal msg="The ice breaks!" err=&{0x20822 To ensure this behaviour even if a TTY is attached, set your formatter as follows: ```go - log.SetFormatter(&log.TextFormatter{ - DisableColors: true, - FullTimestamp: true, - }) +logrus.SetFormatter(&logrus.TextFormatter{ + DisableColors: true, + FullTimestamp: true, +}) ``` #### Logging Method Name If you wish to add the calling method as a field, instruct the logger via: + ```go -log.SetReportCaller(true) +logrus.SetReportCaller(true) ``` This adds the caller as 'method' like so: @@ -100,11 +101,11 @@ time="2015-03-26T01:27:38-04:00" level=fatal method=github.com/sirupsen/arcticcr Note that this does add measurable overhead - the cost will depend on the version of Go, but is between 20 and 40% in recent tests with 1.6 and 1.7. You can validate this in your environment via benchmarks: -``` + +```bash go test -bench=.*CallerTracing ``` - #### Case-sensitivity The organization's name was changed to lower-case--and this will not be changed @@ -118,12 +119,10 @@ The simplest way to use Logrus is simply the package-level exported logger: ```go package main -import ( - log "github.com/sirupsen/logrus" -) +import "github.com/sirupsen/logrus" func main() { - log.WithFields(log.Fields{ + logrus.WithFields(logrus.Fields{ "animal": "walrus", }).Info("A walrus appears") } @@ -139,6 +138,7 @@ package main import ( "os" + log "github.com/sirupsen/logrus" ) @@ -190,26 +190,27 @@ package main import ( "os" + "github.com/sirupsen/logrus" ) // Create a new instance of the logger. You can have any number of instances. -var log = logrus.New() +var logger = logrus.New() func main() { // The API for setting attributes is a little different than the package level - // exported logger. See Godoc. - log.Out = os.Stdout + // exported logger. See Godoc. + logger.Out = os.Stdout // You could set this to any `io.Writer` such as a file // file, err := os.OpenFile("logrus.log", os.O_CREATE|os.O_WRONLY|os.O_APPEND, 0666) // if err == nil { - // log.Out = file + // logger.Out = file // } else { - // log.Info("Failed to log to file, using default stderr") + // logger.Info("Failed to log to file, using default stderr") // } - log.WithFields(logrus.Fields{ + logger.WithFields(logrus.Fields{ "animal": "walrus", "size": 10, }).Info("A group of walrus emerges from the ocean") @@ -219,12 +220,12 @@ func main() { #### Fields Logrus encourages careful, structured logging through logging fields instead of -long, unparseable error messages. For example, instead of: `log.Fatalf("Failed +long, unparseable error messages. For example, instead of: `logrus.Fatalf("Failed to send event %s to topic %s with key %d")`, you should log the much more discoverable: ```go -log.WithFields(log.Fields{ +logrus.WithFields(logrus.Fields{ "event": event, "topic": topic, "key": key, @@ -245,12 +246,12 @@ seen as a hint you should add a field, however, you can still use the Often it's helpful to have fields _always_ attached to log statements in an application or parts of one. For example, you may want to always log the `request_id` and `user_ip` in the context of a request. Instead of writing -`log.WithFields(log.Fields{"request_id": request_id, "user_ip": user_ip})` on +`logger.WithFields(logrus.Fields{"request_id": request_id, "user_ip": user_ip})` on every line, you can create a `logrus.Entry` to pass around instead: ```go -requestLogger := log.WithFields(log.Fields{"request_id": request_id, "user_ip": user_ip}) -requestLogger.Info("something happened on that request") # will log request_id and user_ip +requestLogger := logger.WithFields(logrus.Fields{"request_id": request_id, "user_ip": user_ip}) +requestLogger.Info("something happened on that request") // will log request_id and user_ip requestLogger.Warn("something not great happened") ``` @@ -264,28 +265,31 @@ Logrus comes with [built-in hooks](hooks/). Add those, or your custom hook, in `init`: ```go +package main + import ( - log "github.com/sirupsen/logrus" - "gopkg.in/gemnasium/logrus-airbrake-hook.v2" // the package is named "airbrake" - logrus_syslog "github.com/sirupsen/logrus/hooks/syslog" "log/syslog" + + "github.com/sirupsen/logrus" + airbrake "gopkg.in/gemnasium/logrus-airbrake-hook.v2" + logrus_syslog "github.com/sirupsen/logrus/hooks/syslog" ) func init() { // Use the Airbrake hook to report errors that have Error severity or above to // an exception tracker. You can create custom hooks, see the Hooks section. - log.AddHook(airbrake.NewHook(123, "xyz", "production")) + logrus.AddHook(airbrake.NewHook(123, "xyz", "production")) hook, err := logrus_syslog.NewSyslogHook("udp", "localhost:514", syslog.LOG_INFO, "") if err != nil { - log.Error("Unable to connect to local syslog daemon") + logrus.Error("Unable to connect to local syslog daemon") } else { - log.AddHook(hook) + logrus.AddHook(hook) } } ``` -Note: Syslog hook also support connecting to local syslog (Ex. "/dev/log" or "/var/run/syslog" or "/var/run/log"). For the detail, please check the [syslog hook README](hooks/syslog/README.md). +Note: Syslog hooks also support connecting to local syslog (Ex. "/dev/log" or "/var/run/syslog" or "/var/run/log"). For the detail, please check the [syslog hook README](hooks/syslog/README.md). A list of currently known service hooks can be found in this wiki [page](https://github.com/sirupsen/logrus/wiki/Hooks) @@ -295,15 +299,15 @@ A list of currently known service hooks can be found in this wiki [page](https:/ Logrus has seven logging levels: Trace, Debug, Info, Warning, Error, Fatal and Panic. ```go -log.Trace("Something very low level.") -log.Debug("Useful debugging information.") -log.Info("Something noteworthy happened!") -log.Warn("You should probably take a look at this.") -log.Error("Something failed but I'm not quitting.") +logrus.Trace("Something very low level.") +logrus.Debug("Useful debugging information.") +logrus.Info("Something noteworthy happened!") +logrus.Warn("You should probably take a look at this.") +logrus.Error("Something failed but I'm not quitting.") // Calls os.Exit(1) after logging -log.Fatal("Bye.") +logrus.Fatal("Bye.") // Calls panic() after logging -log.Panic("I'm bailing.") +logrus.Panic("I'm bailing.") ``` You can set the logging level on a `Logger`, then it will only log entries with @@ -311,13 +315,13 @@ that severity or anything above it: ```go // Will log anything that is info or above (warn, error, fatal, panic). Default. -log.SetLevel(log.InfoLevel) +logrus.SetLevel(logrus.InfoLevel) ``` -It may be useful to set `log.Level = logrus.DebugLevel` in a debug or verbose +It may be useful to set `logrus.Level = logrus.DebugLevel` in a debug or verbose environment if your application has that. -Note: If you want different log levels for global (`log.SetLevel(...)`) and syslog logging, please check the [syslog hook README](hooks/syslog/README.md#different-log-levels-for-local-and-remote-logging). +Note: If you want different log levels for global (`logrus.SetLevel(...)`) and syslog logging, please check the [syslog hook README](hooks/syslog/README.md#different-log-levels-for-local-and-remote-logging). #### Entries @@ -340,17 +344,17 @@ could do: ```go import ( - log "github.com/sirupsen/logrus" + "github.com/sirupsen/logrus" ) func init() { // do something here to set environment depending on an environment variable // or command-line flag if Environment == "production" { - log.SetFormatter(&log.JSONFormatter{}) + logrus.SetFormatter(&logrus.JSONFormatter{}) } else { // The TextFormatter is default, you don't actually have to do this. - log.SetFormatter(&log.TextFormatter{}) + logrus.SetFormatter(&logrus.TextFormatter{}) } } ``` @@ -372,11 +376,11 @@ The built-in logging formatters are: * When colors are enabled, levels are truncated to 4 characters by default. To disable truncation set the `DisableLevelTruncation` field to `true`. * When outputting to a TTY, it's often helpful to visually scan down a column where all the levels are the same width. Setting the `PadLevelText` field to `true` enables this behavior, by adding padding to the level text. - * All options are listed in the [generated docs](https://godoc.org/github.com/sirupsen/logrus#TextFormatter). + * All options are listed in the [generated docs](https://pkg.go.dev/github.com/sirupsen/logrus#TextFormatter). * `logrus.JSONFormatter`. Logs fields as JSON. - * All options are listed in the [generated docs](https://godoc.org/github.com/sirupsen/logrus#JSONFormatter). + * All options are listed in the [generated docs](https://pkg.go.dev/github.com/sirupsen/logrus#JSONFormatter). -Third party logging formatters: +Third-party logging formatters: * [`FluentdFormatter`](https://github.com/joonix/log). Formats entries that can be parsed by Kubernetes and Google Container Engine. * [`GELF`](https://github.com/fabienm/go-logrus-formatters). Formats entries so they comply to Graylog's [GELF 1.1 specification](http://docs.graylog.org/en/2.4/pages/gelf.html). @@ -384,7 +388,7 @@ Third party logging formatters: * [`prefixed`](https://github.com/x-cray/logrus-prefixed-formatter). Displays log entry source along with alternative layout. * [`zalgo`](https://github.com/aybabtme/logzalgo). Invoking the Power of Zalgo. * [`nested-logrus-formatter`](https://github.com/antonfisher/nested-logrus-formatter). Converts logrus fields to a nested structure. -* [`powerful-logrus-formatter`](https://github.com/zput/zxcTool). get fileName, log's line number and the latest function's name when print log; Sava log to files. +* [`powerful-logrus-formatter`](https://github.com/zput/zxcTool). get fileName, log's line number and the latest function's name when print log; Save log to files. * [`caption-json-formatter`](https://github.com/nolleh/caption_json_formatter). logrus's message json formatter with human-readable caption added. You can define your formatter by implementing the `Formatter` interface, @@ -393,10 +397,9 @@ requiring a `Format` method. `Format` takes an `*Entry`. `entry.Data` is a default ones (see Entries section above): ```go -type MyJSONFormatter struct { -} +type MyJSONFormatter struct{} -log.SetFormatter(new(MyJSONFormatter)) +logrus.SetFormatter(new(MyJSONFormatter)) func (f *MyJSONFormatter) Format(entry *Entry) ([]byte, error) { // Note this doesn't include Time, Level and Message which are available on @@ -455,17 +458,18 @@ entries. It should not be a feature of the application-level logger. #### Testing -Logrus has a built in facility for asserting the presence of log messages. This is implemented through the `test` hook and provides: +Logrus has a built-in facility for asserting the presence of log messages. This is implemented through the `test` hook and provides: * decorators for existing logger (`test.NewLocal` and `test.NewGlobal`) which basically just adds the `test` hook * a test logger (`test.NewNullLogger`) that just records log messages (and does not output any): ```go import( + "testing" + "github.com/sirupsen/logrus" "github.com/sirupsen/logrus/hooks/test" "github.com/stretchr/testify/assert" - "testing" ) func TestSomething(t*testing.T){ @@ -486,15 +490,15 @@ func TestSomething(t*testing.T){ Logrus can register one or more functions that will be called when any `fatal` level message is logged. The registered handlers will be executed before logrus performs an `os.Exit(1)`. This behavior may be helpful if callers need -to gracefully shutdown. Unlike a `panic("Something went wrong...")` call which can be intercepted with a deferred `recover` a call to `os.Exit(1)` can not be intercepted. +to gracefully shut down. Unlike a `panic("Something went wrong...")` call which can be intercepted with a deferred `recover` a call to `os.Exit(1)` can not be intercepted. -``` -... +```go +// ... handler := func() { - // gracefully shutdown something... + // gracefully shut down something... } logrus.RegisterExitHandler(handler) -... +// ... ``` #### Thread safety @@ -502,7 +506,7 @@ logrus.RegisterExitHandler(handler) By default, Logger is protected by a mutex for concurrent writes. The mutex is held when calling hooks and writing logs. If you are sure such locking is not needed, you can call logger.SetNoLock() to disable the locking. -Situation when locking is not needed includes: +Situations when locking is not needed include: * You have no hooks registered, or hooks calling is already thread-safe. diff --git a/vendor/github.com/sirupsen/logrus/appveyor.yml b/vendor/github.com/sirupsen/logrus/appveyor.yml index df9d65c3a5..e90f09ea68 100644 --- a/vendor/github.com/sirupsen/logrus/appveyor.yml +++ b/vendor/github.com/sirupsen/logrus/appveyor.yml @@ -1,14 +1,12 @@ -version: "{build}" +# Minimal stub to satisfy AppVeyor CI +version: 1.0.{build} platform: x64 -clone_folder: c:\gopath\src\github.com\sirupsen\logrus -environment: - GOPATH: c:\gopath +shallow_clone: true + branches: only: - master -install: - - set PATH=%GOPATH%\bin;c:\go\bin;%PATH% - - go version + - main + build_script: - - go get -t - - go test + - echo "No-op build to satisfy AppVeyor CI" diff --git a/vendor/github.com/sirupsen/logrus/entry.go b/vendor/github.com/sirupsen/logrus/entry.go index 71cdbbc35d..71d796d0b1 100644 --- a/vendor/github.com/sirupsen/logrus/entry.go +++ b/vendor/github.com/sirupsen/logrus/entry.go @@ -34,13 +34,15 @@ func init() { minimumCallerDepth = 1 } -// Defines the key when adding errors using WithError. +// ErrorKey defines the key when adding errors using [WithError], [Logger.WithError]. var ErrorKey = "error" -// An entry is the final or intermediate Logrus logging entry. It contains all +// Entry is the final or intermediate Logrus logging entry. It contains all // the fields passed with WithField{,s}. It's finally logged when Trace, Debug, // Info, Warn, Error, Fatal or Panic is called on it. These objects can be // reused and passed around as much as you wish to avoid field duplication. +// +//nolint:recvcheck // the methods of "Entry" use pointer receiver and non-pointer receiver. type Entry struct { Logger *Logger @@ -86,12 +88,12 @@ func (entry *Entry) Dup() *Entry { return &Entry{Logger: entry.Logger, Data: data, Time: entry.Time, Context: entry.Context, err: entry.err} } -// Returns the bytes representation of this entry from the formatter. +// Bytes returns the bytes representation of this entry from the formatter. func (entry *Entry) Bytes() ([]byte, error) { return entry.Logger.Formatter.Format(entry) } -// Returns the string representation from the reader and ultimately the +// String returns the string representation from the reader and ultimately the // formatter. func (entry *Entry) String() (string, error) { serialized, err := entry.Bytes() @@ -102,12 +104,13 @@ func (entry *Entry) String() (string, error) { return str, nil } -// Add an error as single field (using the key defined in ErrorKey) to the Entry. +// WithError adds an error as single field (using the key defined in [ErrorKey]) +// to the Entry. func (entry *Entry) WithError(err error) *Entry { return entry.WithField(ErrorKey, err) } -// Add a context to the Entry. +// WithContext adds a context to the Entry. func (entry *Entry) WithContext(ctx context.Context) *Entry { dataCopy := make(Fields, len(entry.Data)) for k, v := range entry.Data { @@ -116,12 +119,12 @@ func (entry *Entry) WithContext(ctx context.Context) *Entry { return &Entry{Logger: entry.Logger, Data: dataCopy, Time: entry.Time, err: entry.err, Context: ctx} } -// Add a single field to the Entry. +// WithField adds a single field to the Entry. func (entry *Entry) WithField(key string, value interface{}) *Entry { return entry.WithFields(Fields{key: value}) } -// Add a map of fields to the Entry. +// WithFields adds a map of fields to the Entry. func (entry *Entry) WithFields(fields Fields) *Entry { data := make(Fields, len(entry.Data)+len(fields)) for k, v := range entry.Data { @@ -150,7 +153,7 @@ func (entry *Entry) WithFields(fields Fields) *Entry { return &Entry{Logger: entry.Logger, Data: data, Time: entry.Time, err: fieldErr, Context: entry.Context} } -// Overrides the time of the Entry. +// WithTime overrides the time of the Entry. func (entry *Entry) WithTime(t time.Time) *Entry { dataCopy := make(Fields, len(entry.Data)) for k, v := range entry.Data { @@ -204,7 +207,7 @@ func getCaller() *runtime.Frame { // If the caller isn't part of this package, we're done if pkg != logrusPackage { - return &f //nolint:scopelint + return &f } } @@ -432,7 +435,7 @@ func (entry *Entry) Panicln(args ...interface{}) { entry.Logln(PanicLevel, args...) } -// Sprintlnn => Sprint no newline. This is to get the behavior of how +// sprintlnn => Sprint no newline. This is to get the behavior of how // fmt.Sprintln where spaces are always added between operands, regardless of // their type. Instead of vendoring the Sprintln implementation to spare a // string allocation, we do the simplest thing. diff --git a/vendor/github.com/sirupsen/logrus/hooks.go b/vendor/github.com/sirupsen/logrus/hooks.go index 3f151cdc39..9ab978a457 100644 --- a/vendor/github.com/sirupsen/logrus/hooks.go +++ b/vendor/github.com/sirupsen/logrus/hooks.go @@ -1,16 +1,16 @@ package logrus -// A hook to be fired when logging on the logging levels returned from -// `Levels()` on your implementation of the interface. Note that this is not +// Hook describes hooks to be fired when logging on the logging levels returned from +// [Hook.Levels] on your implementation of the interface. Note that this is not // fired in a goroutine or a channel with workers, you should handle such -// functionality yourself if your call is non-blocking and you don't wish for +// functionality yourself if your call is non-blocking, and you don't wish for // the logging calls for levels returned from `Levels()` to block. type Hook interface { Levels() []Level Fire(*Entry) error } -// Internal type for storing the hooks on a logger instance. +// LevelHooks is an internal type for storing the hooks on a logger instance. type LevelHooks map[Level][]Hook // Add a hook to an instance of logger. This is called with diff --git a/vendor/github.com/sirupsen/logrus/logger.go b/vendor/github.com/sirupsen/logrus/logger.go index 5ff0aef6d3..f5b8c439ee 100644 --- a/vendor/github.com/sirupsen/logrus/logger.go +++ b/vendor/github.com/sirupsen/logrus/logger.go @@ -72,16 +72,16 @@ func (mw *MutexWrap) Disable() { mw.disabled = true } -// Creates a new logger. Configuration should be set by changing `Formatter`, -// `Out` and `Hooks` directly on the default logger instance. You can also just +// New Creates a new logger. Configuration should be set by changing [Formatter], +// Out and Hooks directly on the default Logger instance. You can also just // instantiate your own: // -// var log = &logrus.Logger{ -// Out: os.Stderr, -// Formatter: new(logrus.TextFormatter), -// Hooks: make(logrus.LevelHooks), -// Level: logrus.DebugLevel, -// } +// var log = &logrus.Logger{ +// Out: os.Stderr, +// Formatter: new(logrus.TextFormatter), +// Hooks: make(logrus.LevelHooks), +// Level: logrus.DebugLevel, +// } // // It's recommended to make this a global instance called `log`. func New() *Logger { @@ -118,30 +118,30 @@ func (logger *Logger) WithField(key string, value interface{}) *Entry { return entry.WithField(key, value) } -// Adds a struct of fields to the log entry. All it does is call `WithField` for -// each `Field`. +// WithFields adds a struct of fields to the log entry. It calls [Entry.WithField] +// for each Field. func (logger *Logger) WithFields(fields Fields) *Entry { entry := logger.newEntry() defer logger.releaseEntry(entry) return entry.WithFields(fields) } -// Add an error as single field to the log entry. All it does is call -// `WithError` for the given `error`. +// WithError adds an error as single field to the log entry. It calls +// [Entry.WithError] for the given error. func (logger *Logger) WithError(err error) *Entry { entry := logger.newEntry() defer logger.releaseEntry(entry) return entry.WithError(err) } -// Add a context to the log entry. +// WithContext add a context to the log entry. func (logger *Logger) WithContext(ctx context.Context) *Entry { entry := logger.newEntry() defer logger.releaseEntry(entry) return entry.WithContext(ctx) } -// Overrides the time of the log entry. +// WithTime overrides the time of the log entry. func (logger *Logger) WithTime(t time.Time) *Entry { entry := logger.newEntry() defer logger.releaseEntry(entry) @@ -347,9 +347,9 @@ func (logger *Logger) Exit(code int) { logger.ExitFunc(code) } -//When file is opened with appending mode, it's safe to -//write concurrently to a file (within 4k message on Linux). -//In these cases user can choose to disable the lock. +// SetNoLock disables the lock for situations where a file is opened with +// appending mode, and safe for concurrent writes to the file (within 4k +// message on Linux). In these cases user can choose to disable the lock. func (logger *Logger) SetNoLock() { logger.mu.Disable() } diff --git a/vendor/github.com/sirupsen/logrus/logrus.go b/vendor/github.com/sirupsen/logrus/logrus.go index 2f16224cb9..37fc4fef85 100644 --- a/vendor/github.com/sirupsen/logrus/logrus.go +++ b/vendor/github.com/sirupsen/logrus/logrus.go @@ -6,13 +6,15 @@ import ( "strings" ) -// Fields type, used to pass to `WithFields`. +// Fields type, used to pass to [WithFields]. type Fields map[string]interface{} // Level type +// +//nolint:recvcheck // the methods of "Entry" use pointer receiver and non-pointer receiver. type Level uint32 -// Convert the Level to a string. E.g. PanicLevel becomes "panic". +// Convert the Level to a string. E.g. [PanicLevel] becomes "panic". func (level Level) String() string { if b, err := level.MarshalText(); err == nil { return string(b) @@ -77,7 +79,7 @@ func (level Level) MarshalText() ([]byte, error) { return nil, fmt.Errorf("not a valid logrus level %d", level) } -// A constant exposing all logging levels +// AllLevels exposing all logging levels. var AllLevels = []Level{ PanicLevel, FatalLevel, @@ -119,8 +121,8 @@ var ( ) // StdLogger is what your logrus-enabled library should take, that way -// it'll accept a stdlib logger and a logrus logger. There's no standard -// interface, this is the closest we get, unfortunately. +// it'll accept a stdlib logger ([log.Logger]) and a logrus logger. +// There's no standard interface, so this is the closest we get, unfortunately. type StdLogger interface { Print(...interface{}) Printf(string, ...interface{}) @@ -135,7 +137,8 @@ type StdLogger interface { Panicln(...interface{}) } -// The FieldLogger interface generalizes the Entry and Logger types +// FieldLogger extends the [StdLogger] interface, generalizing +// the [Entry] and [Logger] types. type FieldLogger interface { WithField(key string, value interface{}) *Entry WithFields(fields Fields) *Entry @@ -176,8 +179,9 @@ type FieldLogger interface { // IsPanicEnabled() bool } -// Ext1FieldLogger (the first extension to FieldLogger) is superfluous, it is -// here for consistancy. Do not use. Use Logger or Entry instead. +// Ext1FieldLogger (the first extension to [FieldLogger]) is superfluous, it is +// here for consistency. Do not use. Use [FieldLogger], [Logger] or [Entry] +// instead. type Ext1FieldLogger interface { FieldLogger Tracef(format string, args ...interface{}) diff --git a/vendor/github.com/sirupsen/logrus/terminal_check_bsd.go b/vendor/github.com/sirupsen/logrus/terminal_check_bsd.go index 499789984d..69956b425a 100644 --- a/vendor/github.com/sirupsen/logrus/terminal_check_bsd.go +++ b/vendor/github.com/sirupsen/logrus/terminal_check_bsd.go @@ -1,4 +1,4 @@ -// +build darwin dragonfly freebsd netbsd openbsd +// +build darwin dragonfly freebsd netbsd openbsd hurd // +build !js package logrus diff --git a/vendor/github.com/sirupsen/logrus/terminal_check_unix.go b/vendor/github.com/sirupsen/logrus/terminal_check_unix.go index 04748b8515..c9aed267a4 100644 --- a/vendor/github.com/sirupsen/logrus/terminal_check_unix.go +++ b/vendor/github.com/sirupsen/logrus/terminal_check_unix.go @@ -1,5 +1,7 @@ +//go:build (linux || aix || zos) && !js && !wasi // +build linux aix zos // +build !js +// +build !wasi package logrus diff --git a/vendor/github.com/sirupsen/logrus/terminal_check_wasi.go b/vendor/github.com/sirupsen/logrus/terminal_check_wasi.go new file mode 100644 index 0000000000..2822b212fb --- /dev/null +++ b/vendor/github.com/sirupsen/logrus/terminal_check_wasi.go @@ -0,0 +1,8 @@ +//go:build wasi +// +build wasi + +package logrus + +func isTerminal(fd int) bool { + return false +} diff --git a/vendor/github.com/sirupsen/logrus/terminal_check_wasip1.go b/vendor/github.com/sirupsen/logrus/terminal_check_wasip1.go new file mode 100644 index 0000000000..108a6be12b --- /dev/null +++ b/vendor/github.com/sirupsen/logrus/terminal_check_wasip1.go @@ -0,0 +1,8 @@ +//go:build wasip1 +// +build wasip1 + +package logrus + +func isTerminal(fd int) bool { + return false +} diff --git a/vendor/github.com/sirupsen/logrus/text_formatter.go b/vendor/github.com/sirupsen/logrus/text_formatter.go index be2c6efe5e..6dfeb18b10 100644 --- a/vendor/github.com/sirupsen/logrus/text_formatter.go +++ b/vendor/github.com/sirupsen/logrus/text_formatter.go @@ -306,6 +306,7 @@ func (f *TextFormatter) needsQuoting(text string) bool { return false } for _, ch := range text { + //nolint:staticcheck // QF1001: could apply De Morgan's law if !((ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z') || (ch >= '0' && ch <= '9') || @@ -334,6 +335,6 @@ func (f *TextFormatter) appendValue(b *bytes.Buffer, value interface{}) { if !f.needsQuoting(stringVal) { b.WriteString(stringVal) } else { - b.WriteString(fmt.Sprintf("%q", stringVal)) + fmt.Fprintf(b, "%q", stringVal) } } diff --git a/vendor/github.com/spf13/cobra/.golangci.yml b/vendor/github.com/spf13/cobra/.golangci.yml index 6acf8ab1ea..104dc24407 100644 --- a/vendor/github.com/spf13/cobra/.golangci.yml +++ b/vendor/github.com/spf13/cobra/.golangci.yml @@ -57,3 +57,10 @@ linters: - common-false-positives - legacy - std-error-handling + settings: + govet: + # Disable buildtag check to allow dual build tag syntax (both //go:build and // +build). + # This is necessary for Go 1.15 compatibility since //go:build was introduced in Go 1.17. + # This can be removed once Cobra requires Go 1.17 or higher. + disable: + - buildtag diff --git a/vendor/github.com/spf13/cobra/command.go b/vendor/github.com/spf13/cobra/command.go index 78088db69c..c05fed45ae 100644 --- a/vendor/github.com/spf13/cobra/command.go +++ b/vendor/github.com/spf13/cobra/command.go @@ -557,7 +557,7 @@ func (c *Command) FlagErrorFunc() (f func(*Command, error) error) { } } -var minUsagePadding = 25 +const minUsagePadding = 25 // UsagePadding return padding for the usage. func (c *Command) UsagePadding() int { @@ -567,7 +567,7 @@ func (c *Command) UsagePadding() int { return c.parent.commandsMaxUseLen } -var minCommandPathPadding = 11 +const minCommandPathPadding = 11 // CommandPathPadding return padding for the command path. func (c *Command) CommandPathPadding() int { @@ -577,7 +577,7 @@ func (c *Command) CommandPathPadding() int { return c.parent.commandsMaxCommandPathLen } -var minNamePadding = 11 +const minNamePadding = 11 // NamePadding returns padding for the name. func (c *Command) NamePadding() int { @@ -1939,7 +1939,7 @@ type tmplFunc struct { fn func(io.Writer, interface{}) error } -var defaultUsageTemplate = `Usage:{{if .Runnable}} +const defaultUsageTemplate = `Usage:{{if .Runnable}} {{.UseLine}}{{end}}{{if .HasAvailableSubCommands}} {{.CommandPath}} [command]{{end}}{{if gt (len .Aliases) 0}} @@ -2039,7 +2039,7 @@ func defaultUsageFunc(w io.Writer, in interface{}) error { return nil } -var defaultHelpTemplate = `{{with (or .Long .Short)}}{{. | trimTrailingWhitespaces}} +const defaultHelpTemplate = `{{with (or .Long .Short)}}{{. | trimTrailingWhitespaces}} {{end}}{{if or .Runnable .HasSubCommands}}{{.UsageString}}{{end}}` @@ -2061,7 +2061,7 @@ func defaultHelpFunc(w io.Writer, in interface{}) error { return nil } -var defaultVersionTemplate = `{{with .DisplayName}}{{printf "%s " .}}{{end}}{{printf "version %s" .Version}} +const defaultVersionTemplate = `{{with .DisplayName}}{{printf "%s " .}}{{end}}{{printf "version %s" .Version}} ` // defaultVersionFunc is equivalent to executing defaultVersionTemplate. The two should be changed in sync. diff --git a/vendor/go.opentelemetry.io/otel/.codespellignore b/vendor/go.opentelemetry.io/otel/.codespellignore index 2b53a25e1e..a6d0cbcc9e 100644 --- a/vendor/go.opentelemetry.io/otel/.codespellignore +++ b/vendor/go.opentelemetry.io/otel/.codespellignore @@ -8,3 +8,4 @@ nam valu thirdparty addOpt +observ diff --git a/vendor/go.opentelemetry.io/otel/.golangci.yml b/vendor/go.opentelemetry.io/otel/.golangci.yml index b01762ffcc..d487228759 100644 --- a/vendor/go.opentelemetry.io/otel/.golangci.yml +++ b/vendor/go.opentelemetry.io/otel/.golangci.yml @@ -16,6 +16,7 @@ linters: - govet - ineffassign - misspell + - modernize - perfsprint - revive - staticcheck @@ -111,6 +112,9 @@ linters: locale: US ignore-rules: - cancelled + modernize: + disable: + - omitzero perfsprint: int-conversion: true err-error: true @@ -197,6 +201,9 @@ linters: - float-compare - go-require - require-error + usetesting: + context-background: true + context-todo: true exclusions: generated: lax presets: diff --git a/vendor/go.opentelemetry.io/otel/.lycheeignore b/vendor/go.opentelemetry.io/otel/.lycheeignore index 5328505888..994b677df7 100644 --- a/vendor/go.opentelemetry.io/otel/.lycheeignore +++ b/vendor/go.opentelemetry.io/otel/.lycheeignore @@ -1,4 +1,5 @@ http://localhost +https://localhost http://jaeger-collector https://github.com/open-telemetry/opentelemetry-go/milestone/ https://github.com/open-telemetry/opentelemetry-go/projects @@ -6,4 +7,7 @@ https://github.com/open-telemetry/opentelemetry-go/projects https?:\/\/github\.com\/open-telemetry\/semantic-conventions\/archive\/refs\/tags\/[^.]+\.zip\[[^]]+] file:///home/runner/work/opentelemetry-go/opentelemetry-go/libraries file:///home/runner/work/opentelemetry-go/opentelemetry-go/manual -http://4.3.2.1:78/user/123 \ No newline at end of file +http://4.3.2.1:78/user/123 +file:///home/runner/work/opentelemetry-go/opentelemetry-go/exporters/otlp/otlptrace/otlptracegrpc/internal/observ/dns:/:4317 +# URL works, but it has blocked link checkers. +https://dl.acm.org/doi/10.1145/198429.198435 diff --git a/vendor/go.opentelemetry.io/otel/CHANGELOG.md b/vendor/go.opentelemetry.io/otel/CHANGELOG.md index f3abcfdc2e..e725282bec 100644 --- a/vendor/go.opentelemetry.io/otel/CHANGELOG.md +++ b/vendor/go.opentelemetry.io/otel/CHANGELOG.md @@ -11,6 +11,111 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm +## [1.40.0/0.62.0/0.16.0] 2026-02-02 + +### Added + +- Add `AlwaysRecord` sampler in `go.opentelemetry.io/otel/sdk/trace`. (#7724) +- Add `Enabled` method to all synchronous instrument interfaces (`Float64Counter`, `Float64UpDownCounter`, `Float64Histogram`, `Float64Gauge`, `Int64Counter`, `Int64UpDownCounter`, `Int64Histogram`, `Int64Gauge`,) in `go.opentelemetry.io/otel/metric`. + This stabilizes the synchronous instrument enabled feature, allowing users to check if an instrument will process measurements before performing computationally expensive operations. (#7763) +- Add `go.opentelemetry.io/otel/semconv/v1.39.0` package. + The package contains semantic conventions from the `v1.39.0` version of the OpenTelemetry Semantic Conventions. + See the [migration documentation](./semconv/v1.39.0/MIGRATION.md) for information on how to upgrade from `go.opentelemetry.io/otel/semconv/v1.38.0.` (#7783, #7789) + +### Changed + +- Improve the concurrent performance of `HistogramReservoir` in `go.opentelemetry.io/otel/sdk/metric/exemplar` by 4x. (#7443) +- Improve the concurrent performance of `FixedSizeReservoir` in `go.opentelemetry.io/otel/sdk/metric/exemplar`. (#7447) +- Improve performance of concurrent histogram measurements in `go.opentelemetry.io/otel/sdk/metric`. (#7474) +- Improve performance of concurrent synchronous gauge measurements in `go.opentelemetry.io/otel/sdk/metric`. (#7478) +- Add experimental observability metrics in `go.opentelemetry.io/otel/exporters/stdout/stdoutmetric`. (#7492) +- `Exporter` in `go.opentelemetry.io/otel/exporters/prometheus` ignores metrics with the scope `go.opentelemetry.io/contrib/bridges/prometheus`. + This prevents scrape failures when the Prometheus exporter is misconfigured to get data from the Prometheus bridge. (#7688) +- Improve performance of concurrent exponential histogram measurements in `go.opentelemetry.io/otel/sdk/metric`. (#7702) +- The `rpc.grpc.status_code` attribute in the experimental metrics emitted from `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc` is replaced with the `rpc.response.status_code` attribute to align with the semantic conventions. (#7854) +- The `rpc.grpc.status_code` attribute in the experimental metrics emitted from `go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc` is replaced with the `rpc.response.status_code` attribute to align with the semantic conventions. (#7854) + +### Fixed + +- Fix bad log message when key-value pairs are dropped because of key duplication in `go.opentelemetry.io/otel/sdk/log`. (#7662) +- Fix `DroppedAttributes` on `Record` in `go.opentelemetry.io/otel/sdk/log` to not count the non-attribute key-value pairs dropped because of key duplication. (#7662) +- Fix `SetAttributes` on `Record` in `go.opentelemetry.io/otel/sdk/log` to not log that attributes are dropped when they are actually not dropped. (#7662) +- Fix missing `request.GetBody` in `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp` to correctly handle HTTP/2 `GOAWAY` frame. (#7794) +- `WithHostID` detector in `go.opentelemetry.io/otel/sdk/resource` to use full path for `ioreg` command on Darwin (macOS). (#7818) + +### Deprecated + +- Deprecate `go.opentelemetry.io/otel/exporters/zipkin`. + For more information, see the [OTel blog post deprecating the Zipkin exporter](https://opentelemetry.io/blog/2025/deprecating-zipkin-exporters/). (#7670) + +## [1.39.0/0.61.0/0.15.0/0.0.14] 2025-12-05 + +### Added + +- Greatly reduce the cost of recording metrics in `go.opentelemetry.io/otel/sdk/metric` using hashing for map keys. (#7175) +- Add `WithInstrumentationAttributeSet` option to `go.opentelemetry.io/otel/log`, `go.opentelemetry.io/otel/metric`, and `go.opentelemetry.io/otel/trace` packages. + This provides a concurrent-safe and performant alternative to `WithInstrumentationAttributes` by accepting a pre-constructed `attribute.Set`. (#7287) +- Add experimental observability for the Prometheus exporter in `go.opentelemetry.io/otel/exporters/prometheus`. + Check the `go.opentelemetry.io/otel/exporters/prometheus/internal/x` package documentation for more information. (#7345) +- Add experimental observability metrics in `go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc`. (#7353) +- Add temporality selector functions `DeltaTemporalitySelector`, `CumulativeTemporalitySelector`, `LowMemoryTemporalitySelector` to `go.opentelemetry.io/otel/sdk/metric`. (#7434) +- Add experimental observability metrics for simple log processor in `go.opentelemetry.io/otel/sdk/log`. (#7548) +- Add experimental observability metrics in `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc`. (#7459) +- Add experimental observability metrics in `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp`. (#7486) +- Add experimental observability metrics for simple span processor in `go.opentelemetry.io/otel/sdk/trace`. (#7374) +- Add experimental observability metrics in `go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp`. (#7512) +- Add experimental observability metrics for manual reader in `go.opentelemetry.io/otel/sdk/metric`. (#7524) +- Add experimental observability metrics for periodic reader in `go.opentelemetry.io/otel/sdk/metric`. (#7571) +- Support `OTEL_EXPORTER_OTLP_LOGS_INSECURE` and `OTEL_EXPORTER_OTLP_INSECURE` environmental variables in `go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp`. (#7608) +- Add `Enabled` method to the `Processor` interface in `go.opentelemetry.io/otel/sdk/log`. + All `Processor` implementations now include an `Enabled` method. (#7639) +- The `go.opentelemetry.io/otel/semconv/v1.38.0` package. + The package contains semantic conventions from the `v1.38.0` version of the OpenTelemetry Semantic Conventions. + See the [migration documentation](./semconv/v1.38.0/MIGRATION.md) for information on how to upgrade from `go.opentelemetry.io/otel/semconv/v1.37.0.`(#7648) + +### Changed + +- `Distinct` in `go.opentelemetry.io/otel/attribute` is no longer guaranteed to uniquely identify an attribute set. + Collisions between `Distinct` values for different Sets are possible with extremely high cardinality (billions of series per instrument), but are highly unlikely. (#7175) +- `WithInstrumentationAttributes` in `go.opentelemetry.io/otel/trace` synchronously de-duplicates the passed attributes instead of delegating it to the returned `TracerOption`. (#7266) +- `WithInstrumentationAttributes` in `go.opentelemetry.io/otel/meter` synchronously de-duplicates the passed attributes instead of delegating it to the returned `MeterOption`. (#7266) +- `WithInstrumentationAttributes` in `go.opentelemetry.io/otel/log` synchronously de-duplicates the passed attributes instead of delegating it to the returned `LoggerOption`. (#7266) +- Rename the `OTEL_GO_X_SELF_OBSERVABILITY` environment variable to `OTEL_GO_X_OBSERVABILITY` in `go.opentelemetry.io/otel/sdk/trace`, `go.opentelemetry.io/otel/sdk/log`, and `go.opentelemetry.io/otel/exporters/stdout/stdouttrace`. (#7302) +- Improve performance of histogram `Record` in `go.opentelemetry.io/otel/sdk/metric` when min and max are disabled using `NoMinMax`. (#7306) +- Improve error handling for dropped data during translation by using `prometheus.NewInvalidMetric` in `go.opentelemetry.io/otel/exporters/prometheus`. + ⚠️ **Breaking Change:** Previously, these cases were only logged and scrapes succeeded. + Now, when translation would drop data (e.g., invalid label/value), the exporter emits a `NewInvalidMetric`, and Prometheus scrapes **fail with HTTP 500** by default. + To preserve the prior behavior (scrapes succeed while errors are logged), configure your Prometheus HTTP handler with: `promhttp.HandlerOpts{ ErrorHandling: promhttp.ContinueOnError }`. (#7363) +- Replace fnv hash with xxhash in `go.opentelemetry.io/otel/attribute` for better performance. (#7371) +- The default `TranslationStrategy` in `go.opentelemetry.io/exporters/prometheus` is changed from `otlptranslator.NoUTF8EscapingWithSuffixes` to `otlptranslator.UnderscoreEscapingWithSuffixes`. (#7421) +- Improve performance of concurrent measurements in `go.opentelemetry.io/otel/sdk/metric`. (#7427) +- Include W3C TraceFlags (bits 0–7) in the OTLP `Span.Flags` field in `go.opentelemetry.io/exporters/otlp/otlptrace/otlptracehttp` and `go.opentelemetry.io/exporters/otlp/otlptrace/otlptracegrpc`. (#7438) +- The `ErrorType` function in `go.opentelemetry.io/otel/semconv/v1.37.0` now handles custom error types. + If an error implements an `ErrorType() string` method, the return value of that method will be used as the error type. (#7442) + +### Fixed + +- Fix `WithInstrumentationAttributes` options in `go.opentelemetry.io/otel/trace`, `go.opentelemetry.io/otel/metric`, and `go.opentelemetry.io/otel/log` to properly merge attributes when passed multiple times instead of replacing them. + Attributes with duplicate keys will use the last value passed. (#7300) +- The equality of `attribute.Set` when using the `Equal` method is not affected by the user overriding the empty set pointed to by `attribute.EmptySet` in `go.opentelemetry.io/otel/attribute`. (#7357) +- Return partial OTLP export errors to the caller in `go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc`. (#7372) +- Return partial OTLP export errors to the caller in `go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp`. (#7372) +- Return partial OTLP export errors to the caller in `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc`. (#7372) +- Return partial OTLP export errors to the caller in `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp`. (#7372) +- Return partial OTLP export errors to the caller in `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc`. (#7372) +- Return partial OTLP export errors to the caller in `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp`. (#7372) +- Fix `AddAttributes`, `SetAttributes`, `SetBody` on `Record` in `go.opentelemetry.io/otel/sdk/log` to not mutate input. (#7403) +- Do not double record measurements of `RecordSet` methods in `go.opentelemetry.io/otel/semconv/v1.37.0`. (#7655) +- Do not double record measurements of `RecordSet` methods in `go.opentelemetry.io/otel/semconv/v1.36.0`. (#7656) + +### Removed + +- Drop support for [Go 1.23]. (#7274) +- Remove the `FilterProcessor` interface in `go.opentelemetry.io/otel/sdk/log`. + The `Enabled` method has been added to the `Processor` interface instead. + All `Processor` implementations must now implement the `Enabled` method. + Custom processors that do not filter records can implement `Enabled` to return `true`. (#7639) + ## [1.38.0/0.60.0/0.14.0/0.0.13] 2025-08-29 This release is the last to support [Go 1.23]. @@ -3430,8 +3535,11 @@ It contains api and sdk for trace and meter. - CircleCI build CI manifest files. - CODEOWNERS file to track owners of this project. -[Unreleased]: https://github.com/open-telemetry/opentelemetry-go/compare/v1.38.0...HEAD +[Unreleased]: https://github.com/open-telemetry/opentelemetry-go/compare/v1.40.0...HEAD +[1.40.0/0.62.0/0.16.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.40.0 +[1.39.0/0.61.0/0.15.0/0.0.14]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.39.0 [1.38.0/0.60.0/0.14.0/0.0.13]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.38.0 +[0.59.1]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/exporters/prometheus/v0.59.1 [1.37.0/0.59.0/0.13.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.37.0 [0.12.2]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/log/v0.12.2 [0.12.1]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/log/v0.12.1 diff --git a/vendor/go.opentelemetry.io/otel/CONTRIBUTING.md b/vendor/go.opentelemetry.io/otel/CONTRIBUTING.md index 0b3ae855c1..38dede9329 100644 --- a/vendor/go.opentelemetry.io/otel/CONTRIBUTING.md +++ b/vendor/go.opentelemetry.io/otel/CONTRIBUTING.md @@ -54,8 +54,8 @@ go get -d go.opentelemetry.io/otel (This may print some warning about "build constraints exclude all Go files", just ignore it.) -This will put the project in `${GOPATH}/src/go.opentelemetry.io/otel`. You -can alternatively use `git` directly with: +This will put the project in `${GOPATH}/src/go.opentelemetry.io/otel`. +Alternatively, you can use `git` directly with: ```sh git clone https://github.com/open-telemetry/opentelemetry-go @@ -65,8 +65,7 @@ git clone https://github.com/open-telemetry/opentelemetry-go that name is a kind of a redirector to GitHub that `go get` can understand, but `git` does not.) -This would put the project in the `opentelemetry-go` directory in -current working directory. +This will add the project as `opentelemetry-go` within the current directory. Enter the newly created directory and add your fork as a new remote: @@ -109,7 +108,7 @@ A PR is considered **ready to merge** when: This is not enforced through automation, but needs to be validated by the maintainer merging. - * At least one of the qualified approvals need to be from an + * At least one of the qualified approvals needs to be from an [Approver]/[Maintainer] affiliated with a different company than the author of the PR. * PRs introducing changes that have already been discussed and consensus @@ -166,11 +165,11 @@ guidelines](https://opentelemetry.io/docs/specs/otel/library-guidelines). ### Focus on Capabilities, Not Structure Compliance OpenTelemetry is an evolving specification, one where the desires and -use cases are clear, but the method to satisfy those uses cases are +use cases are clear, but the methods to satisfy those use cases are not. As such, Contributions should provide functionality and behavior that -conforms to the specification, but the interface and structure is +conforms to the specification, but the interface and structure are flexible. It is preferable to have contributions follow the idioms of the @@ -217,7 +216,7 @@ about dependency compatibility. This project does not partition dependencies based on the environment (i.e. `development`, `staging`, `production`). -Only the dependencies explicitly included in the released modules have be +Only the dependencies explicitly included in the released modules have been tested and verified to work with the released code. No other guarantee is made about the compatibility of other dependencies. @@ -635,8 +634,8 @@ is not in their root name. The use of internal packages should be scoped to a single module. A sub-module should never import from a parent internal package. This creates a coupling -between the two modules where a user can upgrade the parent without the child -and if the internal package API has changed it will fail to upgrade[^3]. +between the two modules where a user can upgrade the parent without the child, +and if the internal package API has changed, it will fail to upgrade[^3]. There are two known exceptions to this rule: @@ -657,7 +656,7 @@ this. ### Ignoring context cancellation -OpenTelemetry API implementations need to ignore the cancellation of the context that are +OpenTelemetry API implementations need to ignore the cancellation of the context that is passed when recording a value (e.g. starting a span, recording a measurement, emitting a log). Recording methods should not return an error describing the cancellation state of the context when they complete, nor should they abort any work. @@ -675,6 +674,441 @@ force flushing telemetry, shutting down a signal provider) the context cancellat should be honored. This means all work done on behalf of the user provided context should be canceled. +### Observability + +OpenTelemetry Go SDK components should be instrumented to enable users observability for the health and performance of the telemetry pipeline itself. +This allows operators to understand how well their observability infrastructure is functioning and to identify potential issues before they impact their applications. + +This section outlines the best practices for building instrumentation in OpenTelemetry Go SDK components. + +#### Environment Variable Activation + +Observability features are currently experimental. +They should be disabled by default and activated through the `OTEL_GO_X_OBSERVABILITY` environment variable. +This follows the established experimental feature pattern used throughout the SDK. + +Components should check for this environment variable using a consistent pattern: + +```go +import "go.opentelemetry.io/otel/*/internal/x" + +if x.Observability.Enabled() { + // Initialize observability metrics +} +``` + +**References**: + +- [stdouttrace exporter](./exporters/stdout/stdouttrace/internal/x/x.go) +- [sdk](./sdk/internal/x/x.go) + +#### Encapsulation + +Instrumentation should be encapsulated within a dedicated `struct` (e.g. `instrumentation`). +It should not be mixed into the instrumented component. + +Prefer this: + +```go +type SDKComponent struct { + inst *instrumentation +} + +type instrumentation struct { + inflight otelconv.SDKComponentInflight + exported otelconv.SDKComponentExported +} +``` + +To this: + +```go +// ❌ Avoid this pattern. +type SDKComponent struct { + /* other SDKComponent fields... */ + + inflight otelconv.SDKComponentInflight + exported otelconv.SDKComponentExported +} +``` + +The instrumentation code should not bloat the code being instrumented. +Likely, this means its own file, or its own package if it is complex or reused. + +#### Initialization + +Instrumentation setup should be explicit, side-effect free, and local to the relevant component. +Avoid relying on global or implicit [side effects][side-effect] for initialization. + +Encapsulate setup in constructor functions, ensuring clear ownership and scope: + +```go +import ( + "errors" + + semconv "go.opentelemetry.io/otel/semconv/v1.39.0" + "go.opentelemetry.io/otel/semconv/v1.39.0/otelconv" +) + +type SDKComponent struct { + inst *instrumentation +} + +func NewSDKComponent(config Config) (*SDKComponent, error) { + inst, err := newInstrumentation() + if err != nil { + return nil, err + } + return &SDKComponent{inst: inst}, nil +} + +type instrumentation struct { + inflight otelconv.SDKComponentInflight + exported otelconv.SDKComponentExported +} + +func newInstrumentation() (*instrumentation, error) { + if !x.Observability.Enabled() { + return nil, nil + } + + meter := otel.GetMeterProvider().Meter( + "", + metric.WithInstrumentationVersion(sdk.Version()), + metric.WithSchemaURL(semconv.SchemaURL), + ) + + inst := &instrumentation{} + + var err, e error + inst.inflight, e = otelconv.NewSDKComponentInflight(meter) + err = errors.Join(err, e) + + inst.exported, e = otelconv.NewSDKComponentExported(meter) + err = errors.Join(err, e) + + return inst, err +} +``` + +```go +// ❌ Avoid this pattern. +func (c *Component) initObservability() { + // Initialize observability metrics + if !x.Observability.Enabled() { + return + } + + // Initialize observability metrics + c.inst = &instrumentation{/* ... */} +} +``` + +[side-effect]: https://en.wikipedia.org/wiki/Side_effect_(computer_science) + +#### Performance + +When observability is disabled there should be little to no overhead. + +```go +func (e *Exporter) ExportSpans(ctx context.Context, spans []trace.ReadOnlySpan) error { + if e.inst != nil { + attrs := expensiveOperation() + e.inst.recordSpanInflight(ctx, int64(len(spans)), attrs...) + } + // Export spans... +} +``` + +```go +// ❌ Avoid this pattern. +func (e *Exporter) ExportSpans(ctx context.Context, spans []trace.ReadOnlySpan) error { + attrs := expensiveOperation() + e.inst.recordSpanInflight(ctx, int64(len(spans)), attrs...) + // Export spans... +} + +func (i *instrumentation) recordSpanInflight(ctx context.Context, count int64, attrs ...attribute.KeyValue) { + if i == nil || i.inflight == nil { + return + } + i.inflight.Add(ctx, count, metric.WithAttributes(attrs...)) +} +``` + +When observability is enabled, the instrumentation code paths should be optimized to reduce allocation and computation overhead. + +##### Attribute and Option Allocation Management + +Pool attribute slices and options with [`sync.Pool`] to minimize allocations in measurement calls with dynamic attributes. + +```go +var ( + attrPool = sync.Pool{ + New: func() any { + // Pre-allocate common capacity + knownCap := 8 // Adjust based on expected usage + s := make([]attribute.KeyValue, 0, knownCap) + // Return a pointer to avoid extra allocation on Put(). + return &s + }, + } + + addOptPool = &sync.Pool{ + New: func() any { + const n = 1 // WithAttributeSet + o := make([]metric.AddOption, 0, n) + // Return a pointer to avoid extra allocation on Put(). + return &o + }, + } +) + +func (i *instrumentation) record(ctx context.Context, value int64, baseAttrs ...attribute.KeyValue) { + attrs := attrPool.Get().(*[]attribute.KeyValue) + defer func() { + *attrs = (*attrs)[:0] // Reset. + attrPool.Put(attrs) + }() + + *attrs = append(*attrs, baseAttrs...) + // Add any dynamic attributes. + *attrs = append(*attrs, semconv.OTelComponentName("exporter-1")) + + addOpt := addOptPool.Get().(*[]metric.AddOption) + defer func() { + *addOpt = (*addOpt)[:0] + addOptPool.Put(addOpt) + }() + + set := attribute.NewSet(*attrs...) + *addOpt = append(*addOpt, metric.WithAttributeSet(set)) + + i.counter.Add(ctx, value, *addOpt...) +} +``` + +Pools are most effective when there are many pooled objects of the same sufficiently large size, and the objects are repeatedly used. +This amortizes the cost of allocation and synchronization. +Ideally, the pools should be scoped to be used as widely as possible within the component to maximize this efficiency while still ensuring correctness. + +[`sync.Pool`]: https://pkg.go.dev/sync#Pool + +##### Cache common attribute sets for repeated measurements + +If a static set of attributes are used for measurements and they are known at compile time, pre-compute and cache these attributes. + +```go +type spanLiveSetKey struct { + sampled bool +} + +var spanLiveSetCache = map[spanLiveSetKey]attribute.Set{ + {true}: attribute.NewSet( + otelconv.SDKSpanLive{}.AttrSpanSamplingResult( + otelconv.SpanSamplingResultRecordAndSample, + ), + ), + {false}: attribute.NewSet( + otelconv.SDKSpanLive{}.AttrSpanSamplingResult( + otelconv.SpanSamplingResultRecordOnly, + ), + ), +} + +func spanLiveSet(sampled bool) attribute.Set { + key := spanLiveSetKey{sampled: sampled} + return spanLiveSetCache[key] +} +``` + +##### Benchmarking + +Always provide benchmarks when introducing or refactoring instrumentation. +Demonstrate the impact (allocs/op, B/op, ns/op) in enabled/disabled scenarios: + +```go +func BenchmarkExportSpans(b *testing.B) { + scenarios := []struct { + name string + obsEnabled bool + }{ + {"ObsDisabled", false}, + {"ObsEnabled", true}, + } + + for _, scenario := range scenarios { + b.Run(scenario.name, func(b *testing.B) { + b.Setenv( + "OTEL_GO_X_OBSERVABILITY", + strconv.FormatBool(scenario.obsEnabled), + ) + + exporter := NewExporter() + spans := generateTestSpans(100) + + b.ResetTimer() + b.ReportAllocs() + + for i := 0; i < b.N; i++ { + _ = exporter.ExportSpans(context.Background(), spans) + } + }) + } +} +``` + +#### Error Handling and Robustness + +Errors should be reported back to the caller if possible, and partial failures should be handled as gracefully as possible. + +```go +func newInstrumentation() (*instrumentation, error) { + if !x.Observability.Enabled() { + return nil, nil + } + + m := otel.GetMeterProvider().Meter(/* initialize meter */) + counter, err := otelconv.NewSDKComponentCounter(m) + // Use the partially initialized counter if available. + i := &instrumentation{counter: counter} + // Return any error to the caller. + return i, err +} +``` + +```go +// ❌ Avoid this pattern. +func newInstrumentation() *instrumentation { + if !x.Observability.Enabled() { + return nil, nil + } + + m := otel.GetMeterProvider().Meter(/* initialize meter */) + counter, err := otelconv.NewSDKComponentCounter(m) + if err != nil { + // ❌ Do not dump the error to the OTel Handler. Return it to the + // caller. + otel.Handle(err) + // ❌ Do not return nil if we can still use the partially initialized + // counter. + return nil + } + return &instrumentation{counter: counter} +} +``` + +If the instrumented component cannot report the error to the user, let it report the error to `otel.Handle`. + +#### Context Propagation + +Ensure observability measurements receive the correct context, especially for trace exemplars and distributed context: + +```go +func (e *Exporter) ExportSpans(ctx context.Context, spans []trace.ReadOnlySpan) error { + // Use the provided context for observability measurements + e.inst.recordSpanExportStarted(ctx, len(spans)) + + err := e.doExport(ctx, spans) + + if err != nil { + e.inst.recordSpanExportFailed(ctx, len(spans), err) + } else { + e.inst.recordSpanExportSucceeded(ctx, len(spans)) + } + + return err +} +``` + +```go +// ❌ Avoid this pattern. +func (e *Exporter) ExportSpans(ctx context.Context, spans []trace.ReadOnlySpan) error { + // ❌ Do not break the context propagation. + e.inst.recordSpanExportStarted(context.Background(), len(spans)) + + err := e.doExport(ctx, spans) + + /* ... */ + + return err +} +``` + +#### Semantic Conventions Compliance + +All observability metrics should follow the [OpenTelemetry Semantic Conventions for SDK metrics](https://github.com/open-telemetry/semantic-conventions/blob/1cf2476ae5e518225a766990a28a6d5602bd5a30/docs/otel/sdk-metrics.md). + +Use the metric semantic conventions convenience package [otelconv](./semconv/v1.39.0/otelconv/metric.go). + +##### Component Identification + +Component names and types should follow [semantic convention](https://github.com/open-telemetry/semantic-conventions/blob/1cf2476ae5e518225a766990a28a6d5602bd5a30/docs/registry/attributes/otel.md#otel-component-attributes). + +If a component is not a well-known type specified in the semantic conventions, use the package path scope type as a stable identifier. + +```go +componentType := "go.opentelemetry.io/otel/sdk/trace.Span" +``` + +```go +// ❌ Do not do this. +componentType := "trace-span" +``` + +The component name should be a stable unique identifier for the specific instance of the component. + +Use a global counter to ensure uniqueness if necessary. + +```go +// Unique 0-based ID counter for component instances. +var componentIDCounter atomic.Int64 + +// nextID returns the next unique ID for a component. +func nextID() int64 { + return componentIDCounter.Add(1) - 1 +} + +// componentName returns a unique name for the component instance. +func componentName() attribute.KeyValue { + id := nextID() + name := fmt.Sprintf("%s/%d", componentType, id) + return semconv.OTelComponentName(name) +} +``` + +The component ID will need to be resettable for deterministic testing. +If tests are in a different package than the component being tested (i.e. a `_test` package name), use a generated `counter` internal package to manage the counter. +See [stdouttrace exporter example](./exporters/stdout/stdouttrace/internal/gen.go) for reference. + +#### Testing + +Use deterministic testing with isolated state: + +```go +func TestObservability(t *testing.T) { + // Restore state after test to ensure this does not affect other tests. + prev := otel.GetMeterProvider() + t.Cleanup(func() { otel.SetMeterProvider(prev) }) + + // Isolate the meter provider for deterministic testing + reader := metric.NewManualReader() + meterProvider := metric.NewMeterProvider(metric.WithReader(reader)) + otel.SetMeterProvider(meterProvider) + + // Use t.Setenv to ensure environment variable is restored after test. + t.Setenv("OTEL_GO_X_OBSERVABILITY", "true") + + // Reset component ID counter to ensure deterministic component names. + componentIDCounter.Store(0) + + /* ... test code ... */ +} +``` + +Test order should not affect results. +Ensure that any global state (e.g. component ID counters) is reset between tests. + ## Approvers and Maintainers ### Maintainers @@ -696,7 +1130,6 @@ For more information about the approver role, see the [community repository](htt ### Triagers - [Alex Kats](https://github.com/akats7), Capital One -- [Cheng-Zhen Yang](https://github.com/scorpionknifes), Independent For more information about the triager role, see the [community repository](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#triager). @@ -704,6 +1137,7 @@ For more information about the triager role, see the [community repository](http - [Aaron Clawson](https://github.com/MadVikingGod) - [Anthony Mirabella](https://github.com/Aneurysm9) +- [Cheng-Zhen Yang](https://github.com/scorpionknifes) - [Chester Cheung](https://github.com/hanyuancheung) - [Evan Torrie](https://github.com/evantorrie) - [Gustavo Silva Paiva](https://github.com/paivagustavo) diff --git a/vendor/go.opentelemetry.io/otel/Makefile b/vendor/go.opentelemetry.io/otel/Makefile index bc0f1f92d1..44870248c3 100644 --- a/vendor/go.opentelemetry.io/otel/Makefile +++ b/vendor/go.opentelemetry.io/otel/Makefile @@ -146,11 +146,12 @@ build-tests/%: # Tests -TEST_TARGETS := test-default test-bench test-short test-verbose test-race test-concurrent-safe +TEST_TARGETS := test-default test-bench test-short test-verbose test-race test-concurrent-safe test-fuzz .PHONY: $(TEST_TARGETS) test test-default test-race: ARGS=-race test-bench: ARGS=-run=xxxxxMatchNothingxxxxx -test.benchtime=1ms -bench=. test-short: ARGS=-short +test-fuzz: ARGS=-fuzztime=10s -fuzz test-verbose: ARGS=-v -race test-concurrent-safe: ARGS=-run=ConcurrentSafe -count=100 -race test-concurrent-safe: TIMEOUT=120 diff --git a/vendor/go.opentelemetry.io/otel/README.md b/vendor/go.opentelemetry.io/otel/README.md index 6b7ab5f219..c633595431 100644 --- a/vendor/go.opentelemetry.io/otel/README.md +++ b/vendor/go.opentelemetry.io/otel/README.md @@ -55,25 +55,18 @@ Currently, this project supports the following environments. |----------|------------|--------------| | Ubuntu | 1.25 | amd64 | | Ubuntu | 1.24 | amd64 | -| Ubuntu | 1.23 | amd64 | | Ubuntu | 1.25 | 386 | | Ubuntu | 1.24 | 386 | -| Ubuntu | 1.23 | 386 | | Ubuntu | 1.25 | arm64 | | Ubuntu | 1.24 | arm64 | -| Ubuntu | 1.23 | arm64 | -| macOS 13 | 1.25 | amd64 | -| macOS 13 | 1.24 | amd64 | -| macOS 13 | 1.23 | amd64 | +| macOS | 1.25 | amd64 | +| macOS | 1.24 | amd64 | | macOS | 1.25 | arm64 | | macOS | 1.24 | arm64 | -| macOS | 1.23 | arm64 | | Windows | 1.25 | amd64 | | Windows | 1.24 | amd64 | -| Windows | 1.23 | amd64 | | Windows | 1.25 | 386 | | Windows | 1.24 | 386 | -| Windows | 1.23 | 386 | While this project should work for other systems, no compatibility guarantees are made for those systems currently. diff --git a/vendor/go.opentelemetry.io/otel/RELEASING.md b/vendor/go.opentelemetry.io/otel/RELEASING.md index 1ddcdef039..861756fd74 100644 --- a/vendor/go.opentelemetry.io/otel/RELEASING.md +++ b/vendor/go.opentelemetry.io/otel/RELEASING.md @@ -24,7 +24,7 @@ Ensure things look correct before submitting a pull request to include the addit ## Breaking changes validation -You can run `make gorelease` that runs [gorelease](https://pkg.go.dev/golang.org/x/exp/cmd/gorelease) to ensure that there are no unwanted changes done in the public API. +You can run `make gorelease` which runs [gorelease](https://pkg.go.dev/golang.org/x/exp/cmd/gorelease) to ensure that there are no unwanted changes made in the public API. You can check/report problems with `gorelease` [here](https://golang.org/issues/26420). @@ -62,7 +62,7 @@ Update go.mod for submodules to depend on the new release which will happen in t ``` 3. Update the [Changelog](./CHANGELOG.md). - - Make sure all relevant changes for this release are included and are in language that non-contributors to the project can understand. + - Make sure all relevant changes for this release are included and are written in language that non-contributors to the project can understand. To verify this, you can look directly at the commits since the ``. ``` @@ -107,34 +107,50 @@ It is critical you make sure the version you push upstream is correct. ... ``` -## Release +## Sign artifacts -Finally create a Release for the new `` on GitHub. -The release body should include all the release notes from the Changelog for this release. +To ensure we comply with CNCF best practices, we need to sign the release artifacts. -### Sign the Release Artifact +Download the `.tar.gz` and `.zip` archives from the [tags page](https://github.com/open-telemetry/opentelemetry-go/tags) for the new release tag. +Both archives need to be signed with your GPG key. -To ensure we comply with CNCF best practices, we need to sign the release artifact. -The tarball attached to the GitHub release needs to be signed with your GPG key. +You can use [this script] to verify the contents of the archives before signing them. -Follow [these steps] to sign the release artifact and upload it to GitHub. -You can use [this script] to verify the contents of the tarball before signing it. +To find your GPG key ID, run: -Be sure to use the correct GPG key when signing the release artifact. +```terminal +gpg --list-secret-keys --keyid-format=long +``` + +The key ID is the 16-character string after `sec rsa4096/` (or similar). + +Set environment variables and sign both artifacts: ```terminal -gpg --local-user --armor --detach-sign opentelemetry-go-.tar.gz +export VERSION="" # e.g., v1.32.0 +export KEY_ID="" + +gpg --local-user $KEY_ID --armor --detach-sign opentelemetry-go-$VERSION.tar.gz +gpg --local-user $KEY_ID --armor --detach-sign opentelemetry-go-$VERSION.zip ``` -You can verify the signature with: +You can verify the signatures with: ```terminal -gpg --verify opentelemetry-go-.tar.gz.asc opentelemetry-go-.tar.gz +gpg --verify opentelemetry-go-$VERSION.tar.gz.asc opentelemetry-go-$VERSION.tar.gz +gpg --verify opentelemetry-go-$VERSION.zip.asc opentelemetry-go-$VERSION.zip ``` -[these steps]: https://wiki.debian.org/Creating%20signed%20GitHub%20releases [this script]: https://github.com/MrAlias/attest-sh +## Release + +Finally create a Release for the new `` on GitHub. +The release body should include all the release notes from the Changelog for this release. + +***IMPORTANT***: GitHub Releases are immutable once created. +You must upload the signed artifacts (`.tar.gz`, `.tar.gz.asc`, `.zip`, and `.zip.asc`) when creating the release, as they cannot be added or modified later. + ## Post-Release ### Contrib Repository @@ -160,14 +176,6 @@ This helps track what changes were included in each release. Once all related issues and PRs have been added to the milestone, close the milestone. -### Demo Repository - -Bump the dependencies in the following Go services: - -- [`accounting`](https://github.com/open-telemetry/opentelemetry-demo/tree/main/src/accounting) -- [`checkoutservice`](https://github.com/open-telemetry/opentelemetry-demo/tree/main/src/checkout) -- [`productcatalogservice`](https://github.com/open-telemetry/opentelemetry-demo/tree/main/src/product-catalog) - ### Close the `Version Release` issue Once the todo list in the `Version Release` issue is complete, close the issue. diff --git a/vendor/go.opentelemetry.io/otel/VERSIONING.md b/vendor/go.opentelemetry.io/otel/VERSIONING.md index b8cb605c16..b27c9e84f5 100644 --- a/vendor/go.opentelemetry.io/otel/VERSIONING.md +++ b/vendor/go.opentelemetry.io/otel/VERSIONING.md @@ -83,7 +83,7 @@ is designed so the following goals can be achieved. in either the module path or the import path. * In addition to public APIs, telemetry produced by stable instrumentation will remain stable and backwards compatible. This is to avoid breaking - alerts and dashboard. + alerts and dashboards. * Modules will be used to encapsulate instrumentation, detectors, exporters, propagators, and any other independent sets of related components. * Experimental modules still under active development will be versioned at diff --git a/vendor/go.opentelemetry.io/otel/attribute/encoder.go b/vendor/go.opentelemetry.io/otel/attribute/encoder.go index 6333d34b31..6cc1a1655c 100644 --- a/vendor/go.opentelemetry.io/otel/attribute/encoder.go +++ b/vendor/go.opentelemetry.io/otel/attribute/encoder.go @@ -16,7 +16,7 @@ type ( // set into a wire representation. Encoder interface { // Encode returns the serialized encoding of the attribute set using - // its Iterator. This result may be cached by a attribute.Set. + // its Iterator. This result may be cached by an attribute.Set. Encode(iterator Iterator) string // ID returns a value that is unique for each class of attribute diff --git a/vendor/go.opentelemetry.io/otel/attribute/hash.go b/vendor/go.opentelemetry.io/otel/attribute/hash.go new file mode 100644 index 0000000000..6aa69aeaec --- /dev/null +++ b/vendor/go.opentelemetry.io/otel/attribute/hash.go @@ -0,0 +1,92 @@ +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +package attribute // import "go.opentelemetry.io/otel/attribute" + +import ( + "fmt" + "reflect" + + "go.opentelemetry.io/otel/attribute/internal/xxhash" +) + +// Type identifiers. These identifiers are hashed before the value of the +// corresponding type. This is done to distinguish values that are hashed with +// the same value representation (e.g. `int64(1)` and `true`, []int64{0} and +// int64(0)). +// +// These are all 8 byte length strings converted to a uint64 representation. A +// uint64 is used instead of the string directly as an optimization, it avoids +// the for loop in [xxhash] which adds minor overhead. +const ( + boolID uint64 = 7953749933313450591 // "_boolean" (little endian) + int64ID uint64 = 7592915492740740150 // "64_bit_i" (little endian) + float64ID uint64 = 7376742710626956342 // "64_bit_f" (little endian) + stringID uint64 = 6874584755375207263 // "_string_" (little endian) + boolSliceID uint64 = 6875993255270243167 // "_[]bool_" (little endian) + int64SliceID uint64 = 3762322556277578591 // "_[]int64" (little endian) + float64SliceID uint64 = 7308324551835016539 // "[]double" (little endian) + stringSliceID uint64 = 7453010373645655387 // "[]string" (little endian) +) + +// hashKVs returns a new xxHash64 hash of kvs. +func hashKVs(kvs []KeyValue) uint64 { + h := xxhash.New() + for _, kv := range kvs { + h = hashKV(h, kv) + } + return h.Sum64() +} + +// hashKV returns the xxHash64 hash of kv with h as the base. +func hashKV(h xxhash.Hash, kv KeyValue) xxhash.Hash { + h = h.String(string(kv.Key)) + + switch kv.Value.Type() { + case BOOL: + h = h.Uint64(boolID) + h = h.Uint64(kv.Value.numeric) + case INT64: + h = h.Uint64(int64ID) + h = h.Uint64(kv.Value.numeric) + case FLOAT64: + h = h.Uint64(float64ID) + // Assumes numeric stored with math.Float64bits. + h = h.Uint64(kv.Value.numeric) + case STRING: + h = h.Uint64(stringID) + h = h.String(kv.Value.stringly) + case BOOLSLICE: + h = h.Uint64(boolSliceID) + rv := reflect.ValueOf(kv.Value.slice) + for i := 0; i < rv.Len(); i++ { + h = h.Bool(rv.Index(i).Bool()) + } + case INT64SLICE: + h = h.Uint64(int64SliceID) + rv := reflect.ValueOf(kv.Value.slice) + for i := 0; i < rv.Len(); i++ { + h = h.Int64(rv.Index(i).Int()) + } + case FLOAT64SLICE: + h = h.Uint64(float64SliceID) + rv := reflect.ValueOf(kv.Value.slice) + for i := 0; i < rv.Len(); i++ { + h = h.Float64(rv.Index(i).Float()) + } + case STRINGSLICE: + h = h.Uint64(stringSliceID) + rv := reflect.ValueOf(kv.Value.slice) + for i := 0; i < rv.Len(); i++ { + h = h.String(rv.Index(i).String()) + } + case INVALID: + default: + // Logging is an alternative, but using the internal logger here + // causes an import cycle so it is not done. + v := kv.Value.AsInterface() + msg := fmt.Sprintf("unknown value type: %[1]v (%[1]T)", v) + panic(msg) + } + return h +} diff --git a/vendor/go.opentelemetry.io/otel/attribute/internal/attribute.go b/vendor/go.opentelemetry.io/otel/attribute/internal/attribute.go index 0875504302..7f5eae877d 100644 --- a/vendor/go.opentelemetry.io/otel/attribute/internal/attribute.go +++ b/vendor/go.opentelemetry.io/otel/attribute/internal/attribute.go @@ -13,32 +13,28 @@ import ( // BoolSliceValue converts a bool slice into an array with same elements as slice. func BoolSliceValue(v []bool) any { - var zero bool - cp := reflect.New(reflect.ArrayOf(len(v), reflect.TypeOf(zero))).Elem() + cp := reflect.New(reflect.ArrayOf(len(v), reflect.TypeFor[bool]())).Elem() reflect.Copy(cp, reflect.ValueOf(v)) return cp.Interface() } // Int64SliceValue converts an int64 slice into an array with same elements as slice. func Int64SliceValue(v []int64) any { - var zero int64 - cp := reflect.New(reflect.ArrayOf(len(v), reflect.TypeOf(zero))).Elem() + cp := reflect.New(reflect.ArrayOf(len(v), reflect.TypeFor[int64]())).Elem() reflect.Copy(cp, reflect.ValueOf(v)) return cp.Interface() } // Float64SliceValue converts a float64 slice into an array with same elements as slice. func Float64SliceValue(v []float64) any { - var zero float64 - cp := reflect.New(reflect.ArrayOf(len(v), reflect.TypeOf(zero))).Elem() + cp := reflect.New(reflect.ArrayOf(len(v), reflect.TypeFor[float64]())).Elem() reflect.Copy(cp, reflect.ValueOf(v)) return cp.Interface() } // StringSliceValue converts a string slice into an array with same elements as slice. func StringSliceValue(v []string) any { - var zero string - cp := reflect.New(reflect.ArrayOf(len(v), reflect.TypeOf(zero))).Elem() + cp := reflect.New(reflect.ArrayOf(len(v), reflect.TypeFor[string]())).Elem() reflect.Copy(cp, reflect.ValueOf(v)) return cp.Interface() } diff --git a/vendor/go.opentelemetry.io/otel/attribute/internal/xxhash/xxhash.go b/vendor/go.opentelemetry.io/otel/attribute/internal/xxhash/xxhash.go new file mode 100644 index 0000000000..113a978383 --- /dev/null +++ b/vendor/go.opentelemetry.io/otel/attribute/internal/xxhash/xxhash.go @@ -0,0 +1,64 @@ +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +// Package xxhash provides a wrapper around the xxhash library for attribute hashing. +package xxhash // import "go.opentelemetry.io/otel/attribute/internal/xxhash" + +import ( + "encoding/binary" + "math" + + "github.com/cespare/xxhash/v2" +) + +// Hash wraps xxhash.Digest to provide an API friendly for hashing attribute values. +type Hash struct { + d *xxhash.Digest +} + +// New returns a new initialized xxHash64 hasher. +func New() Hash { + return Hash{d: xxhash.New()} +} + +func (h Hash) Uint64(val uint64) Hash { + var buf [8]byte + binary.LittleEndian.PutUint64(buf[:], val) + // errors from Write are always nil for xxhash + // if it returns an err then panic + _, err := h.d.Write(buf[:]) + if err != nil { + panic("xxhash write of uint64 failed: " + err.Error()) + } + return h +} + +func (h Hash) Bool(val bool) Hash { // nolint:revive // This is a hashing function. + if val { + return h.Uint64(1) + } + return h.Uint64(0) +} + +func (h Hash) Float64(val float64) Hash { + return h.Uint64(math.Float64bits(val)) +} + +func (h Hash) Int64(val int64) Hash { + return h.Uint64(uint64(val)) // nolint:gosec // Overflow doesn't matter since we are hashing. +} + +func (h Hash) String(val string) Hash { + // errors from WriteString are always nil for xxhash + // if it returns an err then panic + _, err := h.d.WriteString(val) + if err != nil { + panic("xxhash write of string failed: " + err.Error()) + } + return h +} + +// Sum64 returns the current hash value. +func (h Hash) Sum64() uint64 { + return h.d.Sum64() +} diff --git a/vendor/go.opentelemetry.io/otel/attribute/set.go b/vendor/go.opentelemetry.io/otel/attribute/set.go index 64735d382e..6572c98b12 100644 --- a/vendor/go.opentelemetry.io/otel/attribute/set.go +++ b/vendor/go.opentelemetry.io/otel/attribute/set.go @@ -9,6 +9,8 @@ import ( "reflect" "slices" "sort" + + "go.opentelemetry.io/otel/attribute/internal/xxhash" ) type ( @@ -23,19 +25,19 @@ type ( // the Equals method to ensure stable equivalence checking. // // Users should also use the Distinct returned from Equivalent as a map key - // instead of a Set directly. In addition to that type providing guarantees - // on stable equivalence, it may also provide performance improvements. + // instead of a Set directly. Set has relatively poor performance when used + // as a map key compared to Distinct. Set struct { - equivalent Distinct + hash uint64 + data any } - // Distinct is a unique identifier of a Set. + // Distinct is an identifier of a Set which is very likely to be unique. // - // Distinct is designed to ensure equivalence stability: comparisons will - // return the same value across versions. For this reason, Distinct should - // always be used as a map key instead of a Set. + // Distinct should be used as a map key instead of a Set for to provide better + // performance for map operations. Distinct struct { - iface any + hash uint64 } // Sortable implements sort.Interface, used for sorting KeyValue. @@ -46,15 +48,34 @@ type ( Sortable []KeyValue ) +// Compile time check these types remain comparable. +var ( + _ = isComparable(Set{}) + _ = isComparable(Distinct{}) +) + +func isComparable[T comparable](t T) T { return t } + var ( // keyValueType is used in computeDistinctReflect. - keyValueType = reflect.TypeOf(KeyValue{}) + keyValueType = reflect.TypeFor[KeyValue]() + + // emptyHash is the hash of an empty set. + emptyHash = xxhash.New().Sum64() - // emptySet is returned for empty attribute sets. - emptySet = &Set{ - equivalent: Distinct{ - iface: [0]KeyValue{}, - }, + // userDefinedEmptySet is an empty set. It was mistakenly exposed to users + // as something they can assign to, so it must remain addressable and + // mutable. + // + // This is kept for backwards compatibility, but should not be used in new code. + userDefinedEmptySet = &Set{ + hash: emptyHash, + data: [0]KeyValue{}, + } + + emptySet = Set{ + hash: emptyHash, + data: [0]KeyValue{}, } ) @@ -62,33 +83,35 @@ var ( // // This is a convenience provided for optimized calling utility. func EmptySet() *Set { - return emptySet -} - -// reflectValue abbreviates reflect.ValueOf(d). -func (d Distinct) reflectValue() reflect.Value { - return reflect.ValueOf(d.iface) + // Continue to return the pointer to the user-defined empty set for + // backwards-compatibility. + // + // New code should not use this, instead use emptySet. + return userDefinedEmptySet } // Valid reports whether this value refers to a valid Set. -func (d Distinct) Valid() bool { - return d.iface != nil +func (d Distinct) Valid() bool { return d.hash != 0 } + +// reflectValue abbreviates reflect.ValueOf(d). +func (l Set) reflectValue() reflect.Value { + return reflect.ValueOf(l.data) } // Len returns the number of attributes in this set. func (l *Set) Len() int { - if l == nil || !l.equivalent.Valid() { + if l == nil || l.hash == 0 { return 0 } - return l.equivalent.reflectValue().Len() + return l.reflectValue().Len() } // Get returns the KeyValue at ordered position idx in this set. func (l *Set) Get(idx int) (KeyValue, bool) { - if l == nil || !l.equivalent.Valid() { + if l == nil || l.hash == 0 { return KeyValue{}, false } - value := l.equivalent.reflectValue() + value := l.reflectValue() if idx >= 0 && idx < value.Len() { // Note: The Go compiler successfully avoids an allocation for @@ -101,10 +124,10 @@ func (l *Set) Get(idx int) (KeyValue, bool) { // Value returns the value of a specified key in this set. func (l *Set) Value(k Key) (Value, bool) { - if l == nil || !l.equivalent.Valid() { + if l == nil || l.hash == 0 { return Value{}, false } - rValue := l.equivalent.reflectValue() + rValue := l.reflectValue() vlen := rValue.Len() idx := sort.Search(vlen, func(idx int) bool { @@ -144,20 +167,29 @@ func (l *Set) ToSlice() []KeyValue { return iter.ToSlice() } -// Equivalent returns a value that may be used as a map key. The Distinct type -// guarantees that the result will equal the equivalent. Distinct value of any +// Equivalent returns a value that may be used as a map key. Equal Distinct +// values are very likely to be equivalent attribute Sets. Distinct value of any // attribute set with the same elements as this, where sets are made unique by // choosing the last value in the input for any given key. func (l *Set) Equivalent() Distinct { - if l == nil || !l.equivalent.Valid() { - return emptySet.equivalent + if l == nil || l.hash == 0 { + return Distinct{hash: emptySet.hash} } - return l.equivalent + return Distinct{hash: l.hash} } // Equals reports whether the argument set is equivalent to this set. func (l *Set) Equals(o *Set) bool { - return l.Equivalent() == o.Equivalent() + if l.Equivalent() != o.Equivalent() { + return false + } + if l == nil || l.hash == 0 { + l = &emptySet + } + if o == nil || o.hash == 0 { + o = &emptySet + } + return l.data == o.data } // Encoded returns the encoded form of this set, according to encoder. @@ -169,12 +201,6 @@ func (l *Set) Encoded(encoder Encoder) string { return encoder.Encode(l.Iter()) } -func empty() Set { - return Set{ - equivalent: emptySet.equivalent, - } -} - // NewSet returns a new Set. See the documentation for // NewSetWithSortableFiltered for more details. // @@ -204,7 +230,7 @@ func NewSetWithSortable(kvs []KeyValue, _ *Sortable) Set { func NewSetWithFiltered(kvs []KeyValue, filter Filter) (Set, []KeyValue) { // Check for empty set. if len(kvs) == 0 { - return empty(), nil + return emptySet, nil } // Stable sort so the following de-duplication can implement @@ -233,10 +259,10 @@ func NewSetWithFiltered(kvs []KeyValue, filter Filter) (Set, []KeyValue) { if filter != nil { if div := filteredToFront(kvs, filter); div != 0 { - return Set{equivalent: computeDistinct(kvs[div:])}, kvs[:div] + return newSet(kvs[div:]), kvs[:div] } } - return Set{equivalent: computeDistinct(kvs)}, nil + return newSet(kvs), nil } // NewSetWithSortableFiltered returns a new Set. @@ -316,7 +342,7 @@ func (l *Set) Filter(re Filter) (Set, []KeyValue) { if first == 0 { // It is safe to assume len(slice) >= 1 given we found at least one // attribute above that needs to be filtered out. - return Set{equivalent: computeDistinct(slice[1:])}, slice[:1] + return newSet(slice[1:]), slice[:1] } // Move the filtered slice[first] to the front (preserving order). @@ -326,25 +352,24 @@ func (l *Set) Filter(re Filter) (Set, []KeyValue) { // Do not re-evaluate re(slice[first+1:]). div := filteredToFront(slice[1:first+1], re) + 1 - return Set{equivalent: computeDistinct(slice[div:])}, slice[:div] + return newSet(slice[div:]), slice[:div] } -// computeDistinct returns a Distinct using either the fixed- or -// reflect-oriented code path, depending on the size of the input. The input -// slice is assumed to already be sorted and de-duplicated. -func computeDistinct(kvs []KeyValue) Distinct { - iface := computeDistinctFixed(kvs) - if iface == nil { - iface = computeDistinctReflect(kvs) +// newSet returns a new set based on the sorted and uniqued kvs. +func newSet(kvs []KeyValue) Set { + s := Set{ + hash: hashKVs(kvs), + data: computeDataFixed(kvs), } - return Distinct{ - iface: iface, + if s.data == nil { + s.data = computeDataReflect(kvs) } + return s } -// computeDistinctFixed computes a Distinct for small slices. It returns nil -// if the input is too large for this code path. -func computeDistinctFixed(kvs []KeyValue) any { +// computeDataFixed computes a Set data for small slices. It returns nil if the +// input is too large for this code path. +func computeDataFixed(kvs []KeyValue) any { switch len(kvs) { case 1: return [1]KeyValue(kvs) @@ -371,9 +396,9 @@ func computeDistinctFixed(kvs []KeyValue) any { } } -// computeDistinctReflect computes a Distinct using reflection, works for any -// size input. -func computeDistinctReflect(kvs []KeyValue) any { +// computeDataReflect computes a Set data using reflection, works for any size +// input. +func computeDataReflect(kvs []KeyValue) any { at := reflect.New(reflect.ArrayOf(len(kvs), keyValueType)).Elem() for i, keyValue := range kvs { *(at.Index(i).Addr().Interface().(*KeyValue)) = keyValue @@ -383,7 +408,7 @@ func computeDistinctReflect(kvs []KeyValue) any { // MarshalJSON returns the JSON encoding of the Set. func (l *Set) MarshalJSON() ([]byte, error) { - return json.Marshal(l.equivalent.iface) + return json.Marshal(l.data) } // MarshalLog is the marshaling function used by the logging system to represent this Set. diff --git a/vendor/go.opentelemetry.io/otel/attribute/type_string.go b/vendor/go.opentelemetry.io/otel/attribute/type_string.go index e584b24776..24f1fa37db 100644 --- a/vendor/go.opentelemetry.io/otel/attribute/type_string.go +++ b/vendor/go.opentelemetry.io/otel/attribute/type_string.go @@ -24,8 +24,9 @@ const _Type_name = "INVALIDBOOLINT64FLOAT64STRINGBOOLSLICEINT64SLICEFLOAT64SLICE var _Type_index = [...]uint8{0, 7, 11, 16, 23, 29, 38, 48, 60, 71} func (i Type) String() string { - if i < 0 || i >= Type(len(_Type_index)-1) { + idx := int(i) - 0 + if i < 0 || idx >= len(_Type_index)-1 { return "Type(" + strconv.FormatInt(int64(i), 10) + ")" } - return _Type_name[_Type_index[i]:_Type_index[i+1]] + return _Type_name[_Type_index[idx]:_Type_index[idx+1]] } diff --git a/vendor/go.opentelemetry.io/otel/attribute/value.go b/vendor/go.opentelemetry.io/otel/attribute/value.go index 653c33a861..5931e71291 100644 --- a/vendor/go.opentelemetry.io/otel/attribute/value.go +++ b/vendor/go.opentelemetry.io/otel/attribute/value.go @@ -66,8 +66,7 @@ func IntValue(v int) Value { // IntSliceValue creates an INTSLICE Value. func IntSliceValue(v []int) Value { - var int64Val int64 - cp := reflect.New(reflect.ArrayOf(len(v), reflect.TypeOf(int64Val))) + cp := reflect.New(reflect.ArrayOf(len(v), reflect.TypeFor[int64]())) for i, val := range v { cp.Elem().Index(i).SetInt(int64(val)) } diff --git a/vendor/go.opentelemetry.io/otel/baggage/baggage.go b/vendor/go.opentelemetry.io/otel/baggage/baggage.go index f83a448ec6..c4093e49ae 100644 --- a/vendor/go.opentelemetry.io/otel/baggage/baggage.go +++ b/vendor/go.opentelemetry.io/otel/baggage/baggage.go @@ -317,7 +317,7 @@ func parseMember(member string) (Member, error) { keyValue, properties, found := strings.Cut(member, propertyDelimiter) if found { // Parse the member properties. - for _, pStr := range strings.Split(properties, propertyDelimiter) { + for pStr := range strings.SplitSeq(properties, propertyDelimiter) { p, err := parseProperty(pStr) if err != nil { return newInvalidMember(), err @@ -480,7 +480,7 @@ func Parse(bStr string) (Baggage, error) { } b := make(baggage.List) - for _, memberStr := range strings.Split(bStr, listDelimiter) { + for memberStr := range strings.SplitSeq(bStr, listDelimiter) { m, err := parseMember(memberStr) if err != nil { return Baggage{}, err @@ -648,7 +648,7 @@ func parsePropertyInternal(s string) (p Property, ok bool) { // If we couldn't find any valid key character, // it means the key is either empty or invalid. if keyStart == keyEnd { - return + return p, ok } // Skip spaces after the key: " key< >= value ". @@ -658,13 +658,13 @@ func parsePropertyInternal(s string) (p Property, ok bool) { // A key can have no value, like: " key ". ok = true p.key = s[keyStart:keyEnd] - return + return p, ok } // If we have not reached the end and we can't find the '=' delimiter, // it means the property is invalid. if s[index] != keyValueDelimiter[0] { - return + return p, ok } // Attempting to parse the value. @@ -690,14 +690,14 @@ func parsePropertyInternal(s string) (p Property, ok bool) { // we have not reached the end, it means the property is // invalid, something like: " key = value value1". if index != len(s) { - return + return p, ok } // Decode a percent-encoded value. rawVal := s[valueStart:valueEnd] unescapeVal, err := url.PathUnescape(rawVal) if err != nil { - return + return p, ok } value := replaceInvalidUTF8Sequences(len(rawVal), unescapeVal) @@ -706,7 +706,7 @@ func parsePropertyInternal(s string) (p Property, ok bool) { p.hasValue = true p.value = value - return + return p, ok } func skipSpace(s string, offset int) int { diff --git a/vendor/go.opentelemetry.io/otel/dependencies.Dockerfile b/vendor/go.opentelemetry.io/otel/dependencies.Dockerfile index a311fbb483..676e79116d 100644 --- a/vendor/go.opentelemetry.io/otel/dependencies.Dockerfile +++ b/vendor/go.opentelemetry.io/otel/dependencies.Dockerfile @@ -1,4 +1,4 @@ # This is a renovate-friendly source of Docker images. FROM python:3.13.6-slim-bullseye@sha256:e98b521460ee75bca92175c16247bdf7275637a8faaeb2bcfa19d879ae5c4b9a AS python -FROM otel/weaver:v0.17.1@sha256:32523b5e44fb44418786347e9f7dde187d8797adb6d57a2ee99c245346c3cdfe AS weaver +FROM otel/weaver:v0.20.0@sha256:fa4f1c6954ecea78ab1a4e865bd6f5b4aaba80c1896f9f4a11e2c361d04e197e AS weaver FROM avtodev/markdown-lint:v1@sha256:6aeedc2f49138ce7a1cd0adffc1b1c0321b841dc2102408967d9301c031949ee AS markdown diff --git a/vendor/go.opentelemetry.io/otel/internal/global/instruments.go b/vendor/go.opentelemetry.io/otel/internal/global/instruments.go index ae92a42516..55255cddfc 100644 --- a/vendor/go.opentelemetry.io/otel/internal/global/instruments.go +++ b/vendor/go.opentelemetry.io/otel/internal/global/instruments.go @@ -229,6 +229,13 @@ func (i *sfCounter) Add(ctx context.Context, incr float64, opts ...metric.AddOpt } } +func (i *sfCounter) Enabled(ctx context.Context) bool { + if ctr := i.delegate.Load(); ctr != nil { + return ctr.(metric.Float64Counter).Enabled(ctx) + } + return false +} + type sfUpDownCounter struct { embedded.Float64UpDownCounter @@ -255,6 +262,13 @@ func (i *sfUpDownCounter) Add(ctx context.Context, incr float64, opts ...metric. } } +func (i *sfUpDownCounter) Enabled(ctx context.Context) bool { + if ctr := i.delegate.Load(); ctr != nil { + return ctr.(metric.Float64UpDownCounter).Enabled(ctx) + } + return false +} + type sfHistogram struct { embedded.Float64Histogram @@ -281,6 +295,13 @@ func (i *sfHistogram) Record(ctx context.Context, x float64, opts ...metric.Reco } } +func (i *sfHistogram) Enabled(ctx context.Context) bool { + if ctr := i.delegate.Load(); ctr != nil { + return ctr.(metric.Float64Histogram).Enabled(ctx) + } + return false +} + type sfGauge struct { embedded.Float64Gauge @@ -307,6 +328,13 @@ func (i *sfGauge) Record(ctx context.Context, x float64, opts ...metric.RecordOp } } +func (i *sfGauge) Enabled(ctx context.Context) bool { + if ctr := i.delegate.Load(); ctr != nil { + return ctr.(metric.Float64Gauge).Enabled(ctx) + } + return false +} + type siCounter struct { embedded.Int64Counter @@ -333,6 +361,13 @@ func (i *siCounter) Add(ctx context.Context, x int64, opts ...metric.AddOption) } } +func (i *siCounter) Enabled(ctx context.Context) bool { + if ctr := i.delegate.Load(); ctr != nil { + return ctr.(metric.Int64Counter).Enabled(ctx) + } + return false +} + type siUpDownCounter struct { embedded.Int64UpDownCounter @@ -359,6 +394,13 @@ func (i *siUpDownCounter) Add(ctx context.Context, x int64, opts ...metric.AddOp } } +func (i *siUpDownCounter) Enabled(ctx context.Context) bool { + if ctr := i.delegate.Load(); ctr != nil { + return ctr.(metric.Int64UpDownCounter).Enabled(ctx) + } + return false +} + type siHistogram struct { embedded.Int64Histogram @@ -385,6 +427,13 @@ func (i *siHistogram) Record(ctx context.Context, x int64, opts ...metric.Record } } +func (i *siHistogram) Enabled(ctx context.Context) bool { + if ctr := i.delegate.Load(); ctr != nil { + return ctr.(metric.Int64Histogram).Enabled(ctx) + } + return false +} + type siGauge struct { embedded.Int64Gauge @@ -410,3 +459,10 @@ func (i *siGauge) Record(ctx context.Context, x int64, opts ...metric.RecordOpti ctr.(metric.Int64Gauge).Record(ctx, x, opts...) } } + +func (i *siGauge) Enabled(ctx context.Context) bool { + if ctr := i.delegate.Load(); ctr != nil { + return ctr.(metric.Int64Gauge).Enabled(ctx) + } + return false +} diff --git a/vendor/go.opentelemetry.io/otel/internal/global/meter.go b/vendor/go.opentelemetry.io/otel/internal/global/meter.go index adb37b5b0e..50043d669b 100644 --- a/vendor/go.opentelemetry.io/otel/internal/global/meter.go +++ b/vendor/go.opentelemetry.io/otel/internal/global/meter.go @@ -105,7 +105,7 @@ type delegatedInstrument interface { setDelegate(metric.Meter) } -// instID are the identifying properties of a instrument. +// instID are the identifying properties of an instrument. type instID struct { // name is the name of the stream. name string @@ -157,7 +157,7 @@ func (m *meter) Int64Counter(name string, options ...metric.Int64CounterOption) cfg := metric.NewInt64CounterConfig(options...) id := instID{ name: name, - kind: reflect.TypeOf((*siCounter)(nil)), + kind: reflect.TypeFor[*siCounter](), description: cfg.Description(), unit: cfg.Unit(), } @@ -183,7 +183,7 @@ func (m *meter) Int64UpDownCounter( cfg := metric.NewInt64UpDownCounterConfig(options...) id := instID{ name: name, - kind: reflect.TypeOf((*siUpDownCounter)(nil)), + kind: reflect.TypeFor[*siUpDownCounter](), description: cfg.Description(), unit: cfg.Unit(), } @@ -206,7 +206,7 @@ func (m *meter) Int64Histogram(name string, options ...metric.Int64HistogramOpti cfg := metric.NewInt64HistogramConfig(options...) id := instID{ name: name, - kind: reflect.TypeOf((*siHistogram)(nil)), + kind: reflect.TypeFor[*siHistogram](), description: cfg.Description(), unit: cfg.Unit(), } @@ -229,7 +229,7 @@ func (m *meter) Int64Gauge(name string, options ...metric.Int64GaugeOption) (met cfg := metric.NewInt64GaugeConfig(options...) id := instID{ name: name, - kind: reflect.TypeOf((*siGauge)(nil)), + kind: reflect.TypeFor[*siGauge](), description: cfg.Description(), unit: cfg.Unit(), } @@ -255,7 +255,7 @@ func (m *meter) Int64ObservableCounter( cfg := metric.NewInt64ObservableCounterConfig(options...) id := instID{ name: name, - kind: reflect.TypeOf((*aiCounter)(nil)), + kind: reflect.TypeFor[*aiCounter](), description: cfg.Description(), unit: cfg.Unit(), } @@ -281,7 +281,7 @@ func (m *meter) Int64ObservableUpDownCounter( cfg := metric.NewInt64ObservableUpDownCounterConfig(options...) id := instID{ name: name, - kind: reflect.TypeOf((*aiUpDownCounter)(nil)), + kind: reflect.TypeFor[*aiUpDownCounter](), description: cfg.Description(), unit: cfg.Unit(), } @@ -307,7 +307,7 @@ func (m *meter) Int64ObservableGauge( cfg := metric.NewInt64ObservableGaugeConfig(options...) id := instID{ name: name, - kind: reflect.TypeOf((*aiGauge)(nil)), + kind: reflect.TypeFor[*aiGauge](), description: cfg.Description(), unit: cfg.Unit(), } @@ -330,7 +330,7 @@ func (m *meter) Float64Counter(name string, options ...metric.Float64CounterOpti cfg := metric.NewFloat64CounterConfig(options...) id := instID{ name: name, - kind: reflect.TypeOf((*sfCounter)(nil)), + kind: reflect.TypeFor[*sfCounter](), description: cfg.Description(), unit: cfg.Unit(), } @@ -356,7 +356,7 @@ func (m *meter) Float64UpDownCounter( cfg := metric.NewFloat64UpDownCounterConfig(options...) id := instID{ name: name, - kind: reflect.TypeOf((*sfUpDownCounter)(nil)), + kind: reflect.TypeFor[*sfUpDownCounter](), description: cfg.Description(), unit: cfg.Unit(), } @@ -382,7 +382,7 @@ func (m *meter) Float64Histogram( cfg := metric.NewFloat64HistogramConfig(options...) id := instID{ name: name, - kind: reflect.TypeOf((*sfHistogram)(nil)), + kind: reflect.TypeFor[*sfHistogram](), description: cfg.Description(), unit: cfg.Unit(), } @@ -405,7 +405,7 @@ func (m *meter) Float64Gauge(name string, options ...metric.Float64GaugeOption) cfg := metric.NewFloat64GaugeConfig(options...) id := instID{ name: name, - kind: reflect.TypeOf((*sfGauge)(nil)), + kind: reflect.TypeFor[*sfGauge](), description: cfg.Description(), unit: cfg.Unit(), } @@ -431,7 +431,7 @@ func (m *meter) Float64ObservableCounter( cfg := metric.NewFloat64ObservableCounterConfig(options...) id := instID{ name: name, - kind: reflect.TypeOf((*afCounter)(nil)), + kind: reflect.TypeFor[*afCounter](), description: cfg.Description(), unit: cfg.Unit(), } @@ -457,7 +457,7 @@ func (m *meter) Float64ObservableUpDownCounter( cfg := metric.NewFloat64ObservableUpDownCounterConfig(options...) id := instID{ name: name, - kind: reflect.TypeOf((*afUpDownCounter)(nil)), + kind: reflect.TypeFor[*afUpDownCounter](), description: cfg.Description(), unit: cfg.Unit(), } @@ -483,7 +483,7 @@ func (m *meter) Float64ObservableGauge( cfg := metric.NewFloat64ObservableGaugeConfig(options...) id := instID{ name: name, - kind: reflect.TypeOf((*afGauge)(nil)), + kind: reflect.TypeFor[*afGauge](), description: cfg.Description(), unit: cfg.Unit(), } diff --git a/vendor/go.opentelemetry.io/otel/metric.go b/vendor/go.opentelemetry.io/otel/metric.go index 1e6473b32f..527d9aec86 100644 --- a/vendor/go.opentelemetry.io/otel/metric.go +++ b/vendor/go.opentelemetry.io/otel/metric.go @@ -11,7 +11,7 @@ import ( // Meter returns a Meter from the global MeterProvider. The name must be the // name of the library providing instrumentation. This name may be the same as // the instrumented code only if that code provides built-in instrumentation. -// If the name is empty, then a implementation defined default name will be +// If the name is empty, then an implementation defined default name will be // used instead. // // If this is called before a global MeterProvider is registered the returned diff --git a/vendor/go.opentelemetry.io/otel/metric/asyncfloat64.go b/vendor/go.opentelemetry.io/otel/metric/asyncfloat64.go index b7fc973a66..eb4f5961fd 100644 --- a/vendor/go.opentelemetry.io/otel/metric/asyncfloat64.go +++ b/vendor/go.opentelemetry.io/otel/metric/asyncfloat64.go @@ -227,7 +227,11 @@ type Float64Observer interface { // attributes as another Float64Callbacks also registered for the same // instrument. // -// The function needs to be concurrent safe. +// The function needs to be reentrant and concurrent safe. +// +// Note that Go's mutexes are not reentrant, and locking a mutex takes +// an indefinite amount of time. It is therefore advised to avoid +// using mutexes inside callbacks. type Float64Callback func(context.Context, Float64Observer) error // Float64ObservableOption applies options to float64 Observer instruments. diff --git a/vendor/go.opentelemetry.io/otel/metric/asyncint64.go b/vendor/go.opentelemetry.io/otel/metric/asyncint64.go index 4404b71a22..1dfc4b0f25 100644 --- a/vendor/go.opentelemetry.io/otel/metric/asyncint64.go +++ b/vendor/go.opentelemetry.io/otel/metric/asyncint64.go @@ -225,7 +225,11 @@ type Int64Observer interface { // attributes as another Int64Callbacks also registered for the same // instrument. // -// The function needs to be concurrent safe. +// The function needs to be reentrant and concurrent safe. +// +// Note that Go's mutexes are not reentrant, and locking a mutex takes +// an indefinite amount of time. It is therefore advised to avoid +// using mutexes inside callbacks. type Int64Callback func(context.Context, Int64Observer) error // Int64ObservableOption applies options to int64 Observer instruments. diff --git a/vendor/go.opentelemetry.io/otel/metric/config.go b/vendor/go.opentelemetry.io/otel/metric/config.go index d9e3b13e4d..e42dd6e70a 100644 --- a/vendor/go.opentelemetry.io/otel/metric/config.go +++ b/vendor/go.opentelemetry.io/otel/metric/config.go @@ -3,7 +3,11 @@ package metric // import "go.opentelemetry.io/otel/metric" -import "go.opentelemetry.io/otel/attribute" +import ( + "slices" + + "go.opentelemetry.io/otel/attribute" +) // MeterConfig contains options for Meters. type MeterConfig struct { @@ -62,12 +66,38 @@ func WithInstrumentationVersion(version string) MeterOption { }) } -// WithInstrumentationAttributes sets the instrumentation attributes. +// WithInstrumentationAttributes adds the instrumentation attributes. +// +// This is equivalent to calling [WithInstrumentationAttributeSet] with an +// [attribute.Set] created from a clone of the passed attributes. +// [WithInstrumentationAttributeSet] is recommended for more control. // -// The passed attributes will be de-duplicated. +// If multiple [WithInstrumentationAttributes] or [WithInstrumentationAttributeSet] +// options are passed, the attributes will be merged together in the order +// they are passed. Attributes with duplicate keys will use the last value passed. func WithInstrumentationAttributes(attr ...attribute.KeyValue) MeterOption { + set := attribute.NewSet(slices.Clone(attr)...) + return WithInstrumentationAttributeSet(set) +} + +// WithInstrumentationAttributeSet adds the instrumentation attributes. +// +// If multiple [WithInstrumentationAttributes] or [WithInstrumentationAttributeSet] +// options are passed, the attributes will be merged together in the order +// they are passed. Attributes with duplicate keys will use the last value passed. +func WithInstrumentationAttributeSet(set attribute.Set) MeterOption { + if set.Len() == 0 { + return meterOptionFunc(func(config MeterConfig) MeterConfig { + return config + }) + } + return meterOptionFunc(func(config MeterConfig) MeterConfig { - config.attrs = attribute.NewSet(attr...) + if config.attrs.Len() == 0 { + config.attrs = set + } else { + config.attrs = mergeSets(config.attrs, set) + } return config }) } diff --git a/vendor/go.opentelemetry.io/otel/metric/meter.go b/vendor/go.opentelemetry.io/otel/metric/meter.go index fdd2a7011c..a16c4c0a14 100644 --- a/vendor/go.opentelemetry.io/otel/metric/meter.go +++ b/vendor/go.opentelemetry.io/otel/metric/meter.go @@ -244,7 +244,11 @@ type Meter interface { // Callbacks. Meaning, it should not report measurements for an instrument with // the same attributes as another Callback will report. // -// The function needs to be concurrent safe. +// The function needs to be reentrant and concurrent safe. +// +// Note that Go's mutexes are not reentrant, and locking a mutex takes +// an indefinite amount of time. It is therefore advised to avoid +// using mutexes inside callbacks. type Callback func(context.Context, Observer) error // Observer records measurements for multiple instruments in a Callback. diff --git a/vendor/go.opentelemetry.io/otel/metric/noop/noop.go b/vendor/go.opentelemetry.io/otel/metric/noop/noop.go index 9afb69e583..634e73aee0 100644 --- a/vendor/go.opentelemetry.io/otel/metric/noop/noop.go +++ b/vendor/go.opentelemetry.io/otel/metric/noop/noop.go @@ -191,6 +191,9 @@ type Int64Counter struct{ embedded.Int64Counter } // Add performs no operation. func (Int64Counter) Add(context.Context, int64, ...metric.AddOption) {} +// Enabled performs no operation. +func (Int64Counter) Enabled(context.Context) bool { return false } + // Float64Counter is an OpenTelemetry Counter used to record float64 // measurements. It produces no telemetry. type Float64Counter struct{ embedded.Float64Counter } @@ -198,6 +201,9 @@ type Float64Counter struct{ embedded.Float64Counter } // Add performs no operation. func (Float64Counter) Add(context.Context, float64, ...metric.AddOption) {} +// Enabled performs no operation. +func (Float64Counter) Enabled(context.Context) bool { return false } + // Int64UpDownCounter is an OpenTelemetry UpDownCounter used to record int64 // measurements. It produces no telemetry. type Int64UpDownCounter struct{ embedded.Int64UpDownCounter } @@ -205,6 +211,9 @@ type Int64UpDownCounter struct{ embedded.Int64UpDownCounter } // Add performs no operation. func (Int64UpDownCounter) Add(context.Context, int64, ...metric.AddOption) {} +// Enabled performs no operation. +func (Int64UpDownCounter) Enabled(context.Context) bool { return false } + // Float64UpDownCounter is an OpenTelemetry UpDownCounter used to record // float64 measurements. It produces no telemetry. type Float64UpDownCounter struct{ embedded.Float64UpDownCounter } @@ -212,6 +221,9 @@ type Float64UpDownCounter struct{ embedded.Float64UpDownCounter } // Add performs no operation. func (Float64UpDownCounter) Add(context.Context, float64, ...metric.AddOption) {} +// Enabled performs no operation. +func (Float64UpDownCounter) Enabled(context.Context) bool { return false } + // Int64Histogram is an OpenTelemetry Histogram used to record int64 // measurements. It produces no telemetry. type Int64Histogram struct{ embedded.Int64Histogram } @@ -219,6 +231,9 @@ type Int64Histogram struct{ embedded.Int64Histogram } // Record performs no operation. func (Int64Histogram) Record(context.Context, int64, ...metric.RecordOption) {} +// Enabled performs no operation. +func (Int64Histogram) Enabled(context.Context) bool { return false } + // Float64Histogram is an OpenTelemetry Histogram used to record float64 // measurements. It produces no telemetry. type Float64Histogram struct{ embedded.Float64Histogram } @@ -226,6 +241,9 @@ type Float64Histogram struct{ embedded.Float64Histogram } // Record performs no operation. func (Float64Histogram) Record(context.Context, float64, ...metric.RecordOption) {} +// Enabled performs no operation. +func (Float64Histogram) Enabled(context.Context) bool { return false } + // Int64Gauge is an OpenTelemetry Gauge used to record instantaneous int64 // measurements. It produces no telemetry. type Int64Gauge struct{ embedded.Int64Gauge } @@ -233,6 +251,9 @@ type Int64Gauge struct{ embedded.Int64Gauge } // Record performs no operation. func (Int64Gauge) Record(context.Context, int64, ...metric.RecordOption) {} +// Enabled performs no operation. +func (Int64Gauge) Enabled(context.Context) bool { return false } + // Float64Gauge is an OpenTelemetry Gauge used to record instantaneous float64 // measurements. It produces no telemetry. type Float64Gauge struct{ embedded.Float64Gauge } @@ -240,6 +261,9 @@ type Float64Gauge struct{ embedded.Float64Gauge } // Record performs no operation. func (Float64Gauge) Record(context.Context, float64, ...metric.RecordOption) {} +// Enabled performs no operation. +func (Float64Gauge) Enabled(context.Context) bool { return false } + // Int64ObservableCounter is an OpenTelemetry ObservableCounter used to record // int64 measurements. It produces no telemetry. type Int64ObservableCounter struct { diff --git a/vendor/go.opentelemetry.io/otel/metric/syncfloat64.go b/vendor/go.opentelemetry.io/otel/metric/syncfloat64.go index 8403a4bad2..57a74c5e65 100644 --- a/vendor/go.opentelemetry.io/otel/metric/syncfloat64.go +++ b/vendor/go.opentelemetry.io/otel/metric/syncfloat64.go @@ -25,6 +25,12 @@ type Float64Counter interface { // Use the WithAttributeSet (or, if performance is not a concern, // the WithAttributes) option to include measurement attributes. Add(ctx context.Context, incr float64, options ...AddOption) + + // Enabled reports whether the instrument will process measurements for the given context. + // + // This function can be used in places where measuring an instrument + // would result in computationally expensive operations. + Enabled(context.Context) bool } // Float64CounterConfig contains options for synchronous counter instruments that @@ -78,6 +84,12 @@ type Float64UpDownCounter interface { // Use the WithAttributeSet (or, if performance is not a concern, // the WithAttributes) option to include measurement attributes. Add(ctx context.Context, incr float64, options ...AddOption) + + // Enabled reports whether the instrument will process measurements for the given context. + // + // This function can be used in places where measuring an instrument + // would result in computationally expensive operations. + Enabled(context.Context) bool } // Float64UpDownCounterConfig contains options for synchronous counter @@ -131,6 +143,12 @@ type Float64Histogram interface { // Use the WithAttributeSet (or, if performance is not a concern, // the WithAttributes) option to include measurement attributes. Record(ctx context.Context, incr float64, options ...RecordOption) + + // Enabled reports whether the instrument will process measurements for the given context. + // + // This function can be used in places where measuring an instrument + // would result in computationally expensive operations. + Enabled(context.Context) bool } // Float64HistogramConfig contains options for synchronous histogram @@ -189,6 +207,12 @@ type Float64Gauge interface { // Use the WithAttributeSet (or, if performance is not a concern, // the WithAttributes) option to include measurement attributes. Record(ctx context.Context, value float64, options ...RecordOption) + + // Enabled reports whether the instrument will process measurements for the given context. + // + // This function can be used in places where measuring an instrument + // would result in computationally expensive operations. + Enabled(context.Context) bool } // Float64GaugeConfig contains options for synchronous gauge instruments that diff --git a/vendor/go.opentelemetry.io/otel/metric/syncint64.go b/vendor/go.opentelemetry.io/otel/metric/syncint64.go index 783fdfba77..ac2d033ea6 100644 --- a/vendor/go.opentelemetry.io/otel/metric/syncint64.go +++ b/vendor/go.opentelemetry.io/otel/metric/syncint64.go @@ -25,6 +25,12 @@ type Int64Counter interface { // Use the WithAttributeSet (or, if performance is not a concern, // the WithAttributes) option to include measurement attributes. Add(ctx context.Context, incr int64, options ...AddOption) + + // Enabled reports whether the instrument will process measurements for the given context. + // + // This function can be used in places where measuring an instrument + // would result in computationally expensive operations. + Enabled(context.Context) bool } // Int64CounterConfig contains options for synchronous counter instruments that @@ -78,6 +84,12 @@ type Int64UpDownCounter interface { // Use the WithAttributeSet (or, if performance is not a concern, // the WithAttributes) option to include measurement attributes. Add(ctx context.Context, incr int64, options ...AddOption) + + // Enabled reports whether the instrument will process measurements for the given context. + // + // This function can be used in places where measuring an instrument + // would result in computationally expensive operations. + Enabled(context.Context) bool } // Int64UpDownCounterConfig contains options for synchronous counter @@ -131,6 +143,12 @@ type Int64Histogram interface { // Use the WithAttributeSet (or, if performance is not a concern, // the WithAttributes) option to include measurement attributes. Record(ctx context.Context, incr int64, options ...RecordOption) + + // Enabled reports whether the instrument will process measurements for the given context. + // + // This function can be used in places where measuring an instrument + // would result in computationally expensive operations. + Enabled(context.Context) bool } // Int64HistogramConfig contains options for synchronous histogram instruments @@ -189,6 +207,12 @@ type Int64Gauge interface { // Use the WithAttributeSet (or, if performance is not a concern, // the WithAttributes) option to include measurement attributes. Record(ctx context.Context, value int64, options ...RecordOption) + + // Enabled reports whether the instrument will process measurements for the given context. + // + // This function can be used in places where measuring an instrument + // would result in computationally expensive operations. + Enabled(context.Context) bool } // Int64GaugeConfig contains options for synchronous gauge instruments that diff --git a/vendor/go.opentelemetry.io/otel/propagation/trace_context.go b/vendor/go.opentelemetry.io/otel/propagation/trace_context.go index 6692d2665d..271ab71f1a 100644 --- a/vendor/go.opentelemetry.io/otel/propagation/trace_context.go +++ b/vendor/go.opentelemetry.io/otel/propagation/trace_context.go @@ -111,7 +111,7 @@ func (TraceContext) extract(carrier TextMapCarrier) trace.SpanContext { } // Clear all flags other than the trace-context supported sampling bit. - scc.TraceFlags = trace.TraceFlags(opts[0]) & trace.FlagsSampled + scc.TraceFlags = trace.TraceFlags(opts[0]) & trace.FlagsSampled // nolint:gosec // slice size already checked. // Ignore the error returned here. Failure to parse tracestate MUST NOT // affect the parsing of traceparent according to the W3C tracecontext diff --git a/vendor/go.opentelemetry.io/otel/sdk/internal/x/features.go b/vendor/go.opentelemetry.io/otel/sdk/internal/x/features.go new file mode 100644 index 0000000000..bfeb73e811 --- /dev/null +++ b/vendor/go.opentelemetry.io/otel/sdk/internal/x/features.go @@ -0,0 +1,39 @@ +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +// Package x documents experimental features for [go.opentelemetry.io/otel/sdk]. +package x // import "go.opentelemetry.io/otel/sdk/internal/x" + +import "strings" + +// Resource is an experimental feature flag that defines if resource detectors +// should be included experimental semantic conventions. +// +// To enable this feature set the OTEL_GO_X_RESOURCE environment variable +// to the case-insensitive string value of "true" (i.e. "True" and "TRUE" +// will also enable this). +var Resource = newFeature( + []string{"RESOURCE"}, + func(v string) (string, bool) { + if strings.EqualFold(v, "true") { + return v, true + } + return "", false + }, +) + +// Observability is an experimental feature flag that determines if SDK +// observability metrics are enabled. +// +// To enable this feature set the OTEL_GO_X_OBSERVABILITY environment variable +// to the case-insensitive string value of "true" (i.e. "True" and "TRUE" +// will also enable this). +var Observability = newFeature( + []string{"OBSERVABILITY", "SELF_OBSERVABILITY"}, + func(v string) (string, bool) { + if strings.EqualFold(v, "true") { + return v, true + } + return "", false + }, +) diff --git a/vendor/go.opentelemetry.io/otel/sdk/internal/x/x.go b/vendor/go.opentelemetry.io/otel/sdk/internal/x/x.go index 1be472e917..13347e5605 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/internal/x/x.go +++ b/vendor/go.opentelemetry.io/otel/sdk/internal/x/x.go @@ -1,48 +1,38 @@ +// Code generated by gotmpl. DO NOT MODIFY. +// source: internal/shared/x/x.go.tmpl + // Copyright The OpenTelemetry Authors // SPDX-License-Identifier: Apache-2.0 -// Package x contains support for OTel SDK experimental features. -// -// This package should only be used for features defined in the specification. -// It should not be used for experiments or new project ideas. +// Package x documents experimental features for [go.opentelemetry.io/otel/sdk]. package x // import "go.opentelemetry.io/otel/sdk/internal/x" import ( "os" - "strings" ) -// Resource is an experimental feature flag that defines if resource detectors -// should be included experimental semantic conventions. -// -// To enable this feature set the OTEL_GO_X_RESOURCE environment variable -// to the case-insensitive string value of "true" (i.e. "True" and "TRUE" -// will also enable this). -var Resource = newFeature("RESOURCE", func(v string) (string, bool) { - if strings.EqualFold(v, "true") { - return v, true - } - return "", false -}) - // Feature is an experimental feature control flag. It provides a uniform way // to interact with these feature flags and parse their values. type Feature[T any] struct { - key string + keys []string parse func(v string) (T, bool) } -func newFeature[T any](suffix string, parse func(string) (T, bool)) Feature[T] { +func newFeature[T any](suffix []string, parse func(string) (T, bool)) Feature[T] { const envKeyRoot = "OTEL_GO_X_" + keys := make([]string, 0, len(suffix)) + for _, s := range suffix { + keys = append(keys, envKeyRoot+s) + } return Feature[T]{ - key: envKeyRoot + suffix, + keys: keys, parse: parse, } } -// Key returns the environment variable key that needs to be set to enable the +// Keys returns the environment variable keys that can be set to enable the // feature. -func (f Feature[T]) Key() string { return f.key } +func (f Feature[T]) Keys() []string { return f.keys } // Lookup returns the user configured value for the feature and true if the // user has enabled the feature. Otherwise, if the feature is not enabled, a @@ -52,11 +42,13 @@ func (f Feature[T]) Lookup() (v T, ok bool) { // // > The SDK MUST interpret an empty value of an environment variable the // > same way as when the variable is unset. - vRaw := os.Getenv(f.key) - if vRaw == "" { - return v, ok + for _, key := range f.keys { + vRaw := os.Getenv(key) + if vRaw != "" { + return f.parse(vRaw) + } } - return f.parse(vRaw) + return v, ok } // Enabled reports whether the feature is enabled. diff --git a/vendor/go.opentelemetry.io/otel/sdk/metric/doc.go b/vendor/go.opentelemetry.io/otel/sdk/metric/doc.go index 0f3b9d623f..dd75eefac1 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/metric/doc.go +++ b/vendor/go.opentelemetry.io/otel/sdk/metric/doc.go @@ -63,6 +63,22 @@ // issues for databases that cannot handle high cardinality. // - A too low of a limit causes loss of attribute detail as more data falls into overflow. // +// # Ordering and Collection Guarantees +// +// For performance reasons, the SDK does not guarantee that the order in which +// synchronous measurements are made to the SDK is reflected in the collected +// metric data. This means that even when a single goroutine makes sequential +// synchronous measurements, it is possible for a later measurement to be +// included in the collected metric data when an earlier measurement is not. +// This applies to measurements made to different instruments, or to different +// attribute sets on the same instrument. Sequential measurements made to the +// same instrument and with the same attributes are guaranteed to preserve +// ordering with respect to collection. +// +// Additionally, the SDK does not guarantee that exemplars are always included +// in the same batch of metric data as the measurement they are associated +// with. +// // See [go.opentelemetry.io/otel/metric] for more information about // the metric API. // diff --git a/vendor/go.opentelemetry.io/otel/sdk/metric/exemplar/fixed_size_reservoir.go b/vendor/go.opentelemetry.io/otel/sdk/metric/exemplar/fixed_size_reservoir.go index 08e8f68fe7..15d7138996 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/metric/exemplar/fixed_size_reservoir.go +++ b/vendor/go.opentelemetry.io/otel/sdk/metric/exemplar/fixed_size_reservoir.go @@ -7,9 +7,12 @@ import ( "context" "math" "math/rand/v2" + "sync" + "sync/atomic" "time" "go.opentelemetry.io/otel/attribute" + "go.opentelemetry.io/otel/sdk/metric/internal/reservoir" ) // FixedSizeReservoirProvider returns a provider of [FixedSizeReservoir]. @@ -24,7 +27,19 @@ func FixedSizeReservoirProvider(k int) ReservoirProvider { // sample each one. If there are more than k, the Reservoir will then randomly // sample all additional measurement with a decreasing probability. func NewFixedSizeReservoir(k int) *FixedSizeReservoir { - return newFixedSizeReservoir(newStorage(k)) + if k < 0 { + k = 0 + } + // Use math.MaxInt32 instead of math.MaxUint32 to prevent overflowing int + // on 32-bit systems. + if k > math.MaxInt32 { + k = math.MaxInt32 + } + return &FixedSizeReservoir{ + storage: newStorage(k), + // Above we ensure k is positive, and less than MaxInt32. + nextTracker: newNextTracker(uint32(k)), // nolint: gosec + } } var _ Reservoir = &FixedSizeReservoir{} @@ -34,40 +49,9 @@ var _ Reservoir = &FixedSizeReservoir{} // If there are more than k, the Reservoir will then randomly sample all // additional measurement with a decreasing probability. type FixedSizeReservoir struct { + reservoir.ConcurrentSafe *storage - - // count is the number of measurement seen. - count int64 - // next is the next count that will store a measurement at a random index - // once the reservoir has been filled. - next int64 - // w is the largest random number in a distribution that is used to compute - // the next next. - w float64 -} - -func newFixedSizeReservoir(s *storage) *FixedSizeReservoir { - r := &FixedSizeReservoir{ - storage: s, - } - r.reset() - return r -} - -// randomFloat64 returns, as a float64, a uniform pseudo-random number in the -// open interval (0.0,1.0). -func (*FixedSizeReservoir) randomFloat64() float64 { - // TODO: Use an algorithm that avoids rejection sampling. For example: - // - // const precision = 1 << 53 // 2^53 - // // Generate an integer in [1, 2^53 - 1] - // v := rand.Uint64() % (precision - 1) + 1 - // return float64(v) / float64(precision) - f := rand.Float64() - for f == 0 { - f = rand.Float64() - } - return f + *nextTracker } // Offer accepts the parameters associated with a measurement. The @@ -123,23 +107,65 @@ func (r *FixedSizeReservoir) Offer(ctx context.Context, t time.Time, n Value, a // https://github.com/MrAlias/reservoir-sampling for a performance // comparison of reservoir sampling algorithms. - if int(r.count) < cap(r.store) { - r.store[r.count] = newMeasurement(ctx, t, n, a) - } else if r.count == r.next { + count, next := r.incrementCount() + if count < r.k { + r.store(ctx, int(count), t, n, a) + } else if count == next { // Overwrite a random existing measurement with the one offered. - idx := int(rand.Int64N(int64(cap(r.store)))) - r.store[idx] = newMeasurement(ctx, t, n, a) + idx := rand.IntN(int(r.k)) + r.store(ctx, idx, t, n, a) + r.wMu.Lock() + defer r.wMu.Unlock() + newCount, newNext := r.loadCountAndNext() + if newNext < next || newCount < count { + // This Observe() raced with Collect(), and r.reset() has been + // called since r.incrementCount(). Skip the call to advance in + // this case because our exemplar may have been collected in the + // previous interval. + return + } r.advance() } - r.count++ +} + +// Collect returns all the held exemplars. +// +// The Reservoir state is preserved after this call. +func (r *FixedSizeReservoir) Collect(dest *[]Exemplar) { + r.storage.Collect(dest) + // Call reset here even though it will reset r.count and restart the random + // number series. This will persist any old exemplars as long as no new + // measurements are offered, but it will also prioritize those new + // measurements that are made over the older collection cycle ones. + r.reset() +} + +func newNextTracker(k uint32) *nextTracker { + nt := &nextTracker{k: k} + nt.reset() + return nt +} + +type nextTracker struct { + // countAndNext holds the current counts in the lower 32 bits and the next + // value in the upper 32 bits. + countAndNext atomic.Uint64 + // w is the largest random number in a distribution that is used to compute + // the next next. + w float64 + // wMu ensures w is kept consistent with next during advance and reset. + wMu sync.Mutex + // k is the number of measurements that can be stored in the reservoir. + k uint32 } // reset resets r to the initial state. -func (r *FixedSizeReservoir) reset() { +func (r *nextTracker) reset() { + r.wMu.Lock() + defer r.wMu.Unlock() // This resets the number of exemplars known. - r.count = 0 // Random index inserts should only happen after the storage is full. - r.next = int64(cap(r.store)) + r.setCountAndNext(0, r.k) // Initial random number in the series used to generate r.next. // @@ -150,14 +176,40 @@ func (r *FixedSizeReservoir) reset() { // This maps the uniform random number in (0,1) to a geometric distribution // over the same interval. The mean of the distribution is inversely // proportional to the storage capacity. - r.w = math.Exp(math.Log(r.randomFloat64()) / float64(cap(r.store))) + r.w = math.Exp(math.Log(randomFloat64()) / float64(r.k)) r.advance() } +// incrementCount increments the count. It returns the count before the +// increment and the current next value. +func (r *nextTracker) incrementCount() (uint32, uint32) { + n := r.countAndNext.Add(1) + // Both count and next are stored in the upper and lower 32 bits, and thus + // can't overflow. + return uint32(n&((1<<32)-1) - 1), uint32(n >> 32) // nolint: gosec +} + +// incrementNext increments the next value. +func (r *nextTracker) incrementNext(inc uint32) { + r.countAndNext.Add(uint64(inc) << 32) +} + +// setCountAndNext sets the count and next values. +func (r *nextTracker) setCountAndNext(count, next uint32) { + r.countAndNext.Store(uint64(next)<<32 + uint64(count)) +} + +func (r *nextTracker) loadCountAndNext() (uint32, uint32) { + n := r.countAndNext.Load() + // Both count and next are stored in the upper and lower 32 bits, and thus + // can't overflow. + return uint32(n&((1<<32)-1) - 1), uint32(n >> 32) // nolint: gosec +} + // advance updates the count at which the offered measurement will overwrite an // existing exemplar. -func (r *FixedSizeReservoir) advance() { +func (r *nextTracker) advance() { // Calculate the next value in the random number series. // // The current value of r.w is based on the max of a distribution of random @@ -170,7 +222,7 @@ func (r *FixedSizeReservoir) advance() { // therefore the next r.w will be based on the same distribution (i.e. // `max(u_1,u_2,...,u_k)`). Therefore, we can sample the next r.w by // computing the next random number `u` and take r.w as `w * u^(1/k)`. - r.w *= math.Exp(math.Log(r.randomFloat64()) / float64(cap(r.store))) + r.w *= math.Exp(math.Log(randomFloat64()) / float64(r.k)) // Use the new random number in the series to calculate the count of the // next measurement that will be stored. // @@ -181,17 +233,21 @@ func (r *FixedSizeReservoir) advance() { // // Important to note, the new r.next will always be at least 1 more than // the last r.next. - r.next += int64(math.Log(r.randomFloat64())/math.Log(1-r.w)) + 1 + r.incrementNext(uint32(math.Log(randomFloat64())/math.Log(1-r.w)) + 1) } -// Collect returns all the held exemplars. -// -// The Reservoir state is preserved after this call. -func (r *FixedSizeReservoir) Collect(dest *[]Exemplar) { - r.storage.Collect(dest) - // Call reset here even though it will reset r.count and restart the random - // number series. This will persist any old exemplars as long as no new - // measurements are offered, but it will also prioritize those new - // measurements that are made over the older collection cycle ones. - r.reset() +// randomFloat64 returns, as a float64, a uniform pseudo-random number in the +// open interval (0.0,1.0). +func randomFloat64() float64 { + // TODO: Use an algorithm that avoids rejection sampling. For example: + // + // const precision = 1 << 53 // 2^53 + // // Generate an integer in [1, 2^53 - 1] + // v := rand.Uint64() % (precision - 1) + 1 + // return float64(v) / float64(precision) + f := rand.Float64() + for f == 0 { + f = rand.Float64() + } + return f } diff --git a/vendor/go.opentelemetry.io/otel/sdk/metric/exemplar/histogram_reservoir.go b/vendor/go.opentelemetry.io/otel/sdk/metric/exemplar/histogram_reservoir.go index decab613e7..dacac3ebae 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/metric/exemplar/histogram_reservoir.go +++ b/vendor/go.opentelemetry.io/otel/sdk/metric/exemplar/histogram_reservoir.go @@ -10,6 +10,7 @@ import ( "time" "go.opentelemetry.io/otel/attribute" + "go.opentelemetry.io/otel/sdk/metric/internal/reservoir" ) // HistogramReservoirProvider is a provider of [HistogramReservoir]. @@ -39,6 +40,7 @@ var _ Reservoir = &HistogramReservoir{} // falls within a histogram bucket. The histogram bucket upper-boundaries are // define by bounds. type HistogramReservoir struct { + reservoir.ConcurrentSafe *storage // bounds are bucket bounds in ascending order. @@ -57,14 +59,24 @@ type HistogramReservoir struct { // parameters are the value and dropped (filtered) attributes of the // measurement respectively. func (r *HistogramReservoir) Offer(ctx context.Context, t time.Time, v Value, a []attribute.KeyValue) { - var x float64 + var n float64 switch v.Type() { case Int64ValueType: - x = float64(v.Int64()) + n = float64(v.Int64()) case Float64ValueType: - x = v.Float64() + n = v.Float64() default: panic("unknown value type") } - r.store[sort.SearchFloat64s(r.bounds, x)] = newMeasurement(ctx, t, v, a) + + idx := sort.SearchFloat64s(r.bounds, n) + + r.store(ctx, idx, t, v, a) +} + +// Collect returns all the held exemplars. +// +// The Reservoir state is preserved after this call. +func (r *HistogramReservoir) Collect(dest *[]Exemplar) { + r.storage.Collect(dest) } diff --git a/vendor/go.opentelemetry.io/otel/sdk/metric/exemplar/storage.go b/vendor/go.opentelemetry.io/otel/sdk/metric/exemplar/storage.go index 0e2e26dfb1..790496027d 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/metric/exemplar/storage.go +++ b/vendor/go.opentelemetry.io/otel/sdk/metric/exemplar/storage.go @@ -5,6 +5,7 @@ package exemplar // import "go.opentelemetry.io/otel/sdk/metric/exemplar" import ( "context" + "sync" "time" "go.opentelemetry.io/otel/attribute" @@ -13,78 +14,84 @@ import ( // storage is an exemplar storage for [Reservoir] implementations. type storage struct { - // store are the measurements sampled. + // measurements are the measurements sampled. // // This does not use []metricdata.Exemplar because it potentially would // require an allocation for trace and span IDs in the hot path of Offer. - store []measurement + measurements []measurement } func newStorage(n int) *storage { - return &storage{store: make([]measurement, n)} + return &storage{measurements: make([]measurement, n)} +} + +func (r *storage) store(ctx context.Context, idx int, ts time.Time, v Value, droppedAttr []attribute.KeyValue) { + r.measurements[idx].mux.Lock() + defer r.measurements[idx].mux.Unlock() + r.measurements[idx].FilteredAttributes = droppedAttr + r.measurements[idx].Time = ts + r.measurements[idx].Value = v + r.measurements[idx].Ctx = ctx + r.measurements[idx].valid = true } // Collect returns all the held exemplars. // // The Reservoir state is preserved after this call. func (r *storage) Collect(dest *[]Exemplar) { - *dest = reset(*dest, len(r.store), len(r.store)) + *dest = reset(*dest, len(r.measurements), len(r.measurements)) var n int - for _, m := range r.store { - if !m.valid { - continue + for i := range r.measurements { + if r.measurements[i].exemplar(&(*dest)[n]) { + n++ } - - m.exemplar(&(*dest)[n]) - n++ } *dest = (*dest)[:n] } // measurement is a measurement made by a telemetry system. type measurement struct { + mux sync.Mutex // FilteredAttributes are the attributes dropped during the measurement. FilteredAttributes []attribute.KeyValue // Time is the time when the measurement was made. Time time.Time // Value is the value of the measurement. Value Value - // SpanContext is the SpanContext active when a measurement was made. - SpanContext trace.SpanContext + // Ctx is the context active when a measurement was made. + Ctx context.Context valid bool } -// newMeasurement returns a new non-empty Measurement. -func newMeasurement(ctx context.Context, ts time.Time, v Value, droppedAttr []attribute.KeyValue) measurement { - return measurement{ - FilteredAttributes: droppedAttr, - Time: ts, - Value: v, - SpanContext: trace.SpanContextFromContext(ctx), - valid: true, +// exemplar returns m as an [Exemplar]. +// returns true if it populated the exemplar. +func (m *measurement) exemplar(dest *Exemplar) bool { + m.mux.Lock() + defer m.mux.Unlock() + if !m.valid { + return false } -} -// exemplar returns m as an [Exemplar]. -func (m measurement) exemplar(dest *Exemplar) { dest.FilteredAttributes = m.FilteredAttributes dest.Time = m.Time dest.Value = m.Value - if m.SpanContext.HasTraceID() { - traceID := m.SpanContext.TraceID() + sc := trace.SpanContextFromContext(m.Ctx) + if sc.HasTraceID() { + traceID := sc.TraceID() dest.TraceID = traceID[:] } else { dest.TraceID = dest.TraceID[:0] } - if m.SpanContext.HasSpanID() { - spanID := m.SpanContext.SpanID() + if sc.HasSpanID() { + spanID := sc.SpanID() dest.SpanID = spanID[:] } else { dest.SpanID = dest.SpanID[:0] } + return true } func reset[T any](s []T, length, capacity int) []T { diff --git a/vendor/go.opentelemetry.io/otel/sdk/metric/instrument.go b/vendor/go.opentelemetry.io/otel/sdk/metric/instrument.go index 63cccc508f..b080525592 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/metric/instrument.go +++ b/vendor/go.opentelemetry.io/otel/sdk/metric/instrument.go @@ -16,7 +16,6 @@ import ( "go.opentelemetry.io/otel/metric/embedded" "go.opentelemetry.io/otel/sdk/instrumentation" "go.opentelemetry.io/otel/sdk/metric/internal/aggregate" - "go.opentelemetry.io/otel/sdk/metric/internal/x" ) var zeroScope instrumentation.Scope @@ -191,7 +190,6 @@ var ( _ metric.Int64UpDownCounter = (*int64Inst)(nil) _ metric.Int64Histogram = (*int64Inst)(nil) _ metric.Int64Gauge = (*int64Inst)(nil) - _ x.EnabledInstrument = (*int64Inst)(nil) ) func (i *int64Inst) Add(ctx context.Context, val int64, opts ...metric.AddOption) { @@ -232,7 +230,6 @@ var ( _ metric.Float64UpDownCounter = (*float64Inst)(nil) _ metric.Float64Histogram = (*float64Inst)(nil) _ metric.Float64Gauge = (*float64Inst)(nil) - _ x.EnabledInstrument = (*float64Inst)(nil) ) func (i *float64Inst) Add(ctx context.Context, val float64, opts ...metric.AddOption) { diff --git a/vendor/go.opentelemetry.io/otel/sdk/metric/instrumentkind_string.go b/vendor/go.opentelemetry.io/otel/sdk/metric/instrumentkind_string.go index 25ea6244e5..e0558cb634 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/metric/instrumentkind_string.go +++ b/vendor/go.opentelemetry.io/otel/sdk/metric/instrumentkind_string.go @@ -23,8 +23,9 @@ const _InstrumentKind_name = "instrumentKindUndefinedCounterUpDownCounterHistogr var _InstrumentKind_index = [...]uint8{0, 23, 30, 43, 52, 69, 92, 107, 112} func (i InstrumentKind) String() string { - if i >= InstrumentKind(len(_InstrumentKind_index)-1) { + idx := int(i) - 0 + if i < 0 || idx >= len(_InstrumentKind_index)-1 { return "InstrumentKind(" + strconv.FormatInt(int64(i), 10) + ")" } - return _InstrumentKind_name[_InstrumentKind_index[i]:_InstrumentKind_index[i+1]] + return _InstrumentKind_name[_InstrumentKind_index[idx]:_InstrumentKind_index[idx+1]] } diff --git a/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/aggregate.go b/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/aggregate.go index 0321da6815..a1ae557372 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/aggregate.go +++ b/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/aggregate.go @@ -74,12 +74,13 @@ func (b Builder[N]) filter(f fltrMeasure[N]) Measure[N] { // LastValue returns a last-value aggregate function input and output. func (b Builder[N]) LastValue() (Measure[N], ComputeAggregation) { - lv := newLastValue[N](b.AggregationLimit, b.resFunc()) switch b.Temporality { case metricdata.DeltaTemporality: - return b.filter(lv.measure), lv.delta + lv := newDeltaLastValue[N](b.AggregationLimit, b.resFunc()) + return b.filter(lv.measure), lv.collect default: - return b.filter(lv.measure), lv.cumulative + lv := newCumulativeLastValue[N](b.AggregationLimit, b.resFunc()) + return b.filter(lv.measure), lv.collect } } @@ -110,12 +111,13 @@ func (b Builder[N]) PrecomputedSum(monotonic bool) (Measure[N], ComputeAggregati // Sum returns a sum aggregate function input and output. func (b Builder[N]) Sum(monotonic bool) (Measure[N], ComputeAggregation) { - s := newSum[N](monotonic, b.AggregationLimit, b.resFunc()) switch b.Temporality { case metricdata.DeltaTemporality: - return b.filter(s.measure), s.delta + s := newDeltaSum[N](monotonic, b.AggregationLimit, b.resFunc()) + return b.filter(s.measure), s.collect default: - return b.filter(s.measure), s.cumulative + s := newCumulativeSum[N](monotonic, b.AggregationLimit, b.resFunc()) + return b.filter(s.measure), s.collect } } @@ -125,12 +127,13 @@ func (b Builder[N]) ExplicitBucketHistogram( boundaries []float64, noMinMax, noSum bool, ) (Measure[N], ComputeAggregation) { - h := newHistogram[N](boundaries, noMinMax, noSum, b.AggregationLimit, b.resFunc()) switch b.Temporality { case metricdata.DeltaTemporality: - return b.filter(h.measure), h.delta + h := newDeltaHistogram[N](boundaries, noMinMax, noSum, b.AggregationLimit, b.resFunc()) + return b.filter(h.measure), h.collect default: - return b.filter(h.measure), h.cumulative + h := newCumulativeHistogram[N](boundaries, noMinMax, noSum, b.AggregationLimit, b.resFunc()) + return b.filter(h.measure), h.collect } } diff --git a/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/atomic.go b/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/atomic.go new file mode 100644 index 0000000000..eb69e96507 --- /dev/null +++ b/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/atomic.go @@ -0,0 +1,275 @@ +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +package aggregate // import "go.opentelemetry.io/otel/sdk/metric/internal/aggregate" + +import ( + "math" + "runtime" + "sync" + "sync/atomic" + + "go.opentelemetry.io/otel/attribute" +) + +// atomicCounter is an efficient way of adding to a number which is either an +// int64 or float64. It is designed to be efficient when adding whole +// numbers, regardless of whether N is an int64 or float64. +// +// Inspired by the Prometheus counter implementation: +// https://github.com/prometheus/client_golang/blob/14ccb93091c00f86b85af7753100aa372d63602b/prometheus/counter.go#L108 +type atomicCounter[N int64 | float64] struct { + // nFloatBits contains only the non-integer portion of the counter. + nFloatBits atomic.Uint64 + // nInt contains only the integer portion of the counter. + nInt atomic.Int64 +} + +// load returns the current value. The caller must ensure all calls to add have +// returned prior to calling load. +func (n *atomicCounter[N]) load() N { + fval := math.Float64frombits(n.nFloatBits.Load()) + ival := n.nInt.Load() + return N(fval + float64(ival)) +} + +func (n *atomicCounter[N]) add(value N) { + ival := int64(value) + // This case is where the value is an int, or if it is a whole-numbered float. + if float64(ival) == float64(value) { + n.nInt.Add(ival) + return + } + + // Value must be a float below. + for { + oldBits := n.nFloatBits.Load() + newBits := math.Float64bits(math.Float64frombits(oldBits) + float64(value)) + if n.nFloatBits.CompareAndSwap(oldBits, newBits) { + return + } + } +} + +// reset resets the internal state, and is not safe to call concurrently. +func (n *atomicCounter[N]) reset() { + n.nFloatBits.Store(0) + n.nInt.Store(0) +} + +// atomicN is a generic atomic number value. +type atomicN[N int64 | float64] struct { + val atomic.Uint64 +} + +func (a *atomicN[N]) Load() (value N) { + v := a.val.Load() + switch any(value).(type) { + case int64: + value = N(v) + case float64: + value = N(math.Float64frombits(v)) + default: + panic("unsupported type") + } + return value +} + +func (a *atomicN[N]) Store(v N) { + var val uint64 + switch any(v).(type) { + case int64: + val = uint64(v) + case float64: + val = math.Float64bits(float64(v)) + default: + panic("unsupported type") + } + a.val.Store(val) +} + +func (a *atomicN[N]) CompareAndSwap(oldN, newN N) bool { + var o, n uint64 + switch any(oldN).(type) { + case int64: + o, n = uint64(oldN), uint64(newN) + case float64: + o, n = math.Float64bits(float64(oldN)), math.Float64bits(float64(newN)) + default: + panic("unsupported type") + } + return a.val.CompareAndSwap(o, n) +} + +type atomicMinMax[N int64 | float64] struct { + minimum, maximum atomicN[N] + set atomic.Bool + mu sync.Mutex +} + +// init returns true if the value was used to initialize min and max. +func (s *atomicMinMax[N]) init(val N) bool { + s.mu.Lock() + defer s.mu.Unlock() + if !s.set.Load() { + defer s.set.Store(true) + s.minimum.Store(val) + s.maximum.Store(val) + return true + } + return false +} + +func (s *atomicMinMax[N]) Update(val N) { + if !s.set.Load() && s.init(val) { + return + } + + old := s.minimum.Load() + for val < old { + if s.minimum.CompareAndSwap(old, val) { + return + } + old = s.minimum.Load() + } + + old = s.maximum.Load() + for old < val { + if s.maximum.CompareAndSwap(old, val) { + return + } + old = s.maximum.Load() + } +} + +// hotColdWaitGroup is a synchronization primitive which enables lockless +// writes for concurrent writers and enables a reader to acquire exclusive +// access to a snapshot of state including only completed operations. +// Conceptually, it can be thought of as a "hot" wait group, +// and a "cold" wait group, with the ability for the reader to atomically swap +// the hot and cold wait groups, and wait for the now-cold wait group to +// complete. +// +// Inspired by the prometheus/client_golang histogram implementation: +// https://github.com/prometheus/client_golang/blob/a974e0d45e0aa54c65492559114894314d8a2447/prometheus/histogram.go#L725 +// +// Usage: +// +// var hcwg hotColdWaitGroup +// var data [2]any +// +// func write() { +// hotIdx := hcwg.start() +// defer hcwg.done(hotIdx) +// // modify data without locking +// data[hotIdx].update() +// } +// +// func read() { +// coldIdx := hcwg.swapHotAndWait() +// // read data now that all writes to the cold data have completed. +// data[coldIdx].read() +// } +type hotColdWaitGroup struct { + // startedCountAndHotIdx contains a 63-bit counter in the lower bits, + // and a 1 bit hot index to denote which of the two data-points new + // measurements to write to. These are contained together so that read() + // can atomically swap the hot bit, reset the started writes to zero, and + // read the number writes that were started prior to the hot bit being + // swapped. + startedCountAndHotIdx atomic.Uint64 + // endedCounts is the number of writes that have completed to each + // dataPoint. + endedCounts [2]atomic.Uint64 +} + +// start returns the hot index that the writer should write to. The returned +// hot index is 0 or 1. The caller must call done(hot index) after it finishes +// its operation. start() is safe to call concurrently with other methods. +func (l *hotColdWaitGroup) start() uint64 { + // We increment h.startedCountAndHotIdx so that the counter in the lower + // 63 bits gets incremented. At the same time, we get the new value + // back, which we can use to return the currently-hot index. + return l.startedCountAndHotIdx.Add(1) >> 63 +} + +// done signals to the reader that an operation has fully completed. +// done is safe to call concurrently. +func (l *hotColdWaitGroup) done(hotIdx uint64) { + l.endedCounts[hotIdx].Add(1) +} + +// swapHotAndWait swaps the hot bit, waits for all start() calls to be done(), +// and then returns the now-cold index for the reader to read from. The +// returned index is 0 or 1. swapHotAndWait must not be called concurrently. +func (l *hotColdWaitGroup) swapHotAndWait() uint64 { + n := l.startedCountAndHotIdx.Load() + coldIdx := (^n) >> 63 + // Swap the hot and cold index while resetting the started measurements + // count to zero. + n = l.startedCountAndHotIdx.Swap((coldIdx << 63)) + hotIdx := n >> 63 + startedCount := n & ((1 << 63) - 1) + // Wait for all measurements to the previously-hot map to finish. + for startedCount != l.endedCounts[hotIdx].Load() { + runtime.Gosched() // Let measurements complete. + } + // reset the number of ended operations + l.endedCounts[hotIdx].Store(0) + return hotIdx +} + +// limitedSyncMap is a sync.Map which enforces the aggregation limit on +// attribute sets and provides a Len() function. +type limitedSyncMap struct { + sync.Map + aggLimit int + len int + lenMux sync.Mutex +} + +func (m *limitedSyncMap) LoadOrStoreAttr(fltrAttr attribute.Set, newValue func(attribute.Set) any) any { + actual, loaded := m.Load(fltrAttr.Equivalent()) + if loaded { + return actual + } + // If the overflow set exists, assume we have already overflowed and don't + // bother with the slow path below. + actual, loaded = m.Load(overflowSet.Equivalent()) + if loaded { + return actual + } + // Slow path: add a new attribute set. + m.lenMux.Lock() + defer m.lenMux.Unlock() + + // re-fetch now that we hold the lock to ensure we don't use the overflow + // set unless we are sure the attribute set isn't being written + // concurrently. + actual, loaded = m.Load(fltrAttr.Equivalent()) + if loaded { + return actual + } + + if m.aggLimit > 0 && m.len >= m.aggLimit-1 { + fltrAttr = overflowSet + } + actual, loaded = m.LoadOrStore(fltrAttr.Equivalent(), newValue(fltrAttr)) + if !loaded { + m.len++ + } + return actual +} + +func (m *limitedSyncMap) Clear() { + m.lenMux.Lock() + defer m.lenMux.Unlock() + m.len = 0 + m.Map.Clear() +} + +func (m *limitedSyncMap) Len() int { + m.lenMux.Lock() + defer m.lenMux.Unlock() + return m.len +} diff --git a/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/exponential_histogram.go b/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/exponential_histogram.go index 857eddf305..2aeba43789 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/exponential_histogram.go +++ b/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/exponential_histogram.go @@ -32,10 +32,9 @@ type expoHistogramDataPoint[N int64 | float64] struct { attrs attribute.Set res FilteredExemplarReservoir[N] - count uint64 - min N - max N - sum N + min N + max N + sum N maxSize int noMinMax bool @@ -74,8 +73,6 @@ func newExpoHistogramDataPoint[N int64 | float64]( // record adds a new measurement to the histogram. It will rescale the buckets if needed. func (p *expoHistogramDataPoint[N]) record(v N) { - p.count++ - if !p.noMinMax { if v < p.min { p.min = v @@ -193,6 +190,10 @@ func (p *expoHistogramDataPoint[N]) scaleChange(bin, startBin int32, length int) return count } +func (p *expoHistogramDataPoint[N]) count() uint64 { + return p.posBuckets.count() + p.negBuckets.count() + p.zeroCount +} + // expoBuckets is a set of buckets in an exponential histogram. type expoBuckets struct { startBin int32 @@ -285,6 +286,14 @@ func (b *expoBuckets) downscale(delta int32) { b.startBin >>= delta } +func (b *expoBuckets) count() uint64 { + var total uint64 + for _, count := range b.counts { + total += count + } + return total +} + // newExponentialHistogram returns an Aggregator that summarizes a set of // measurements as an exponential histogram. Each histogram is scoped by attributes // and the aggregation cycle the measurements were made in. @@ -301,7 +310,7 @@ func newExponentialHistogram[N int64 | float64]( maxScale: maxScale, newRes: r, - limit: newLimiter[*expoHistogramDataPoint[N]](limit), + limit: newLimiter[expoHistogramDataPoint[N]](limit), values: make(map[attribute.Distinct]*expoHistogramDataPoint[N]), start: now(), @@ -317,7 +326,7 @@ type expoHistogram[N int64 | float64] struct { maxScale int32 newRes func(attribute.Set) FilteredExemplarReservoir[N] - limit limiter[*expoHistogramDataPoint[N]] + limit limiter[expoHistogramDataPoint[N]] values map[attribute.Distinct]*expoHistogramDataPoint[N] valuesMu sync.Mutex @@ -338,13 +347,18 @@ func (e *expoHistogram[N]) measure( e.valuesMu.Lock() defer e.valuesMu.Unlock() - attr := e.limit.Attributes(fltrAttr, e.values) - v, ok := e.values[attr.Equivalent()] + v, ok := e.values[fltrAttr.Equivalent()] if !ok { - v = newExpoHistogramDataPoint[N](attr, e.maxSize, e.maxScale, e.noMinMax, e.noSum) - v.res = e.newRes(attr) - - e.values[attr.Equivalent()] = v + fltrAttr = e.limit.Attributes(fltrAttr, e.values) + // If we overflowed, make sure we add to the existing overflow series + // if it already exists. + v, ok = e.values[fltrAttr.Equivalent()] + if !ok { + v = newExpoHistogramDataPoint[N](fltrAttr, e.maxSize, e.maxScale, e.noMinMax, e.noSum) + v.res = e.newRes(fltrAttr) + + e.values[fltrAttr.Equivalent()] = v + } } v.record(value) v.res.Offer(ctx, value, droppedAttr) @@ -371,7 +385,7 @@ func (e *expoHistogram[N]) delta( hDPts[i].Attributes = val.attrs hDPts[i].StartTime = e.start hDPts[i].Time = t - hDPts[i].Count = val.count + hDPts[i].Count = val.count() hDPts[i].Scale = val.scale hDPts[i].ZeroCount = val.zeroCount hDPts[i].ZeroThreshold = 0.0 @@ -434,7 +448,7 @@ func (e *expoHistogram[N]) cumulative( hDPts[i].Attributes = val.attrs hDPts[i].StartTime = e.start hDPts[i].Time = t - hDPts[i].Count = val.count + hDPts[i].Count = val.count() hDPts[i].Scale = val.scale hDPts[i].ZeroCount = val.zeroCount hDPts[i].ZeroThreshold = 0.0 diff --git a/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/filtered_reservoir.go b/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/filtered_reservoir.go index d4c41642d7..e4f9409bc8 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/filtered_reservoir.go +++ b/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/filtered_reservoir.go @@ -5,10 +5,12 @@ package aggregate // import "go.opentelemetry.io/otel/sdk/metric/internal/aggreg import ( "context" + "sync" "time" "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/sdk/metric/exemplar" + "go.opentelemetry.io/otel/sdk/metric/internal/reservoir" ) // FilteredExemplarReservoir wraps a [exemplar.Reservoir] with a filter. @@ -29,6 +31,11 @@ type FilteredExemplarReservoir[N int64 | float64] interface { type filteredExemplarReservoir[N int64 | float64] struct { filter exemplar.Filter reservoir exemplar.Reservoir + // The exemplar.Reservoir is not required to be concurrent safe, but + // implementations can indicate that they are concurrent-safe by embedding + // reservoir.ConcurrentSafe in order to improve performance. + reservoirMux sync.Mutex + concurrentSafe bool } // NewFilteredExemplarReservoir creates a [FilteredExemplarReservoir] which only offers values @@ -37,17 +44,30 @@ func NewFilteredExemplarReservoir[N int64 | float64]( f exemplar.Filter, r exemplar.Reservoir, ) FilteredExemplarReservoir[N] { + _, concurrentSafe := r.(reservoir.ConcurrentSafe) return &filteredExemplarReservoir[N]{ - filter: f, - reservoir: r, + filter: f, + reservoir: r, + concurrentSafe: concurrentSafe, } } func (f *filteredExemplarReservoir[N]) Offer(ctx context.Context, val N, attr []attribute.KeyValue) { if f.filter(ctx) { // only record the current time if we are sampling this measurement. - f.reservoir.Offer(ctx, time.Now(), exemplar.NewValue(val), attr) + ts := time.Now() + if !f.concurrentSafe { + f.reservoirMux.Lock() + defer f.reservoirMux.Unlock() + } + f.reservoir.Offer(ctx, ts, exemplar.NewValue(val), attr) } } -func (f *filteredExemplarReservoir[N]) Collect(dest *[]exemplar.Exemplar) { f.reservoir.Collect(dest) } +func (f *filteredExemplarReservoir[N]) Collect(dest *[]exemplar.Exemplar) { + if !f.concurrentSafe { + f.reservoirMux.Lock() + defer f.reservoirMux.Unlock() + } + f.reservoir.Collect(dest) +} diff --git a/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/histogram.go b/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/histogram.go index 736287e736..421325fb72 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/histogram.go +++ b/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/histogram.go @@ -7,140 +7,169 @@ import ( "context" "slices" "sort" - "sync" + "sync/atomic" "time" "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/sdk/metric/metricdata" ) -type buckets[N int64 | float64] struct { +// histogramPoint is a single histogram point, used in delta aggregations. +type histogramPoint[N int64 | float64] struct { attrs attribute.Set res FilteredExemplarReservoir[N] - - counts []uint64 - count uint64 - total N - min, max N + histogramPointCounters[N] } -// newBuckets returns buckets with n bins. -func newBuckets[N int64 | float64](attrs attribute.Set, n int) *buckets[N] { - return &buckets[N]{attrs: attrs, counts: make([]uint64, n)} +// hotColdHistogramPoint a hot and cold histogram points, used in cumulative +// aggregations. +type hotColdHistogramPoint[N int64 | float64] struct { + hcwg hotColdWaitGroup + hotColdPoint [2]histogramPointCounters[N] + + attrs attribute.Set + res FilteredExemplarReservoir[N] } -func (b *buckets[N]) sum(value N) { b.total += value } +// histogramPointCounters contains only the atomic counter data, and is used by +// both histogramPoint and hotColdHistogramPoint. +type histogramPointCounters[N int64 | float64] struct { + counts []atomic.Uint64 + total atomicCounter[N] + minMax atomicMinMax[N] +} -func (b *buckets[N]) bin(idx int, value N) { - b.counts[idx]++ - b.count++ - if value < b.min { - b.min = value - } else if value > b.max { - b.max = value +func (b *histogramPointCounters[N]) loadCountsInto(into *[]uint64) uint64 { + // TODO (#3047): Making copies for counts incurs a large + // memory allocation footprint. Alternatives should be explored. + counts := reset(*into, len(b.counts), len(b.counts)) + count := uint64(0) + for i := range b.counts { + c := b.counts[i].Load() + counts[i] = c + count += c } + *into = counts + return count } -// histValues summarizes a set of measurements as an histValues with -// explicitly defined buckets. -type histValues[N int64 | float64] struct { - noSum bool - bounds []float64 +// mergeIntoAndReset merges this set of histogram counter data into another, +// and resets the state of this set of counters. This is used by +// hotColdHistogramPoint to ensure that the cumulative counters continue to +// accumulate after being read. +func (b *histogramPointCounters[N]) mergeIntoAndReset( // nolint:revive // Intentional internal control flag + into *histogramPointCounters[N], + noMinMax, noSum bool, +) { + for i := range b.counts { + into.counts[i].Add(b.counts[i].Load()) + b.counts[i].Store(0) + } - newRes func(attribute.Set) FilteredExemplarReservoir[N] - limit limiter[*buckets[N]] - values map[attribute.Distinct]*buckets[N] - valuesMu sync.Mutex -} + if !noMinMax { + // Do not reset min or max because cumulative min and max only ever grow + // smaller or larger respectively. -func newHistValues[N int64 | float64]( - bounds []float64, - noSum bool, - limit int, - r func(attribute.Set) FilteredExemplarReservoir[N], -) *histValues[N] { - // The responsibility of keeping all buckets correctly associated with the - // passed boundaries is ultimately this type's responsibility. Make a copy - // here so we can always guarantee this. Or, in the case of failure, have - // complete control over the fix. - b := slices.Clone(bounds) - slices.Sort(b) - return &histValues[N]{ - noSum: noSum, - bounds: b, - newRes: r, - limit: newLimiter[*buckets[N]](limit), - values: make(map[attribute.Distinct]*buckets[N]), + if b.minMax.set.Load() { + into.minMax.Update(b.minMax.minimum.Load()) + into.minMax.Update(b.minMax.maximum.Load()) + } + } + if !noSum { + into.total.add(b.total.load()) + b.total.reset() } } -// Aggregate records the measurement value, scoped by attr, and aggregates it -// into a histogram. -func (s *histValues[N]) measure( +// deltaHistogram is a histogram whose internal storage is reset when it is +// collected. +// +// deltaHistogram's measure is implemented without locking, even when called +// concurrently with collect. This is done by maintaining two separate maps: +// one "hot" which is concurrently updated by measure(), and one "cold", which +// is read and reset by collect(). The [hotcoldWaitGroup] allows collect() to +// swap the hot and cold maps, and wait for updates to the cold map to complete +// prior to reading. deltaHistogram swaps ald clears complete maps so that +// unused attribute sets do not report in subsequent collect() calls. +type deltaHistogram[N int64 | float64] struct { + hcwg hotColdWaitGroup + hotColdValMap [2]limitedSyncMap + + start time.Time + noMinMax bool + noSum bool + bounds []float64 + newRes func(attribute.Set) FilteredExemplarReservoir[N] +} + +func (s *deltaHistogram[N]) measure( ctx context.Context, value N, fltrAttr attribute.Set, droppedAttr []attribute.KeyValue, ) { + hotIdx := s.hcwg.start() + defer s.hcwg.done(hotIdx) + h := s.hotColdValMap[hotIdx].LoadOrStoreAttr(fltrAttr, func(attr attribute.Set) any { + hPt := &histogramPoint[N]{ + res: s.newRes(attr), + attrs: attr, + // N+1 buckets. For example: + // + // bounds = [0, 5, 10] + // + // Then, + // + // counts = (-∞, 0], (0, 5.0], (5.0, 10.0], (10.0, +∞) + histogramPointCounters: histogramPointCounters[N]{counts: make([]atomic.Uint64, len(s.bounds)+1)}, + } + return hPt + }).(*histogramPoint[N]) + // This search will return an index in the range [0, len(s.bounds)], where // it will return len(s.bounds) if value is greater than the last element - // of s.bounds. This aligns with the buckets in that the length of buckets + // of s.bounds. This aligns with the histogramPoint in that the length of histogramPoint // is len(s.bounds)+1, with the last bucket representing: // (s.bounds[len(s.bounds)-1], +∞). idx := sort.SearchFloat64s(s.bounds, float64(value)) - - s.valuesMu.Lock() - defer s.valuesMu.Unlock() - - attr := s.limit.Attributes(fltrAttr, s.values) - b, ok := s.values[attr.Equivalent()] - if !ok { - // N+1 buckets. For example: - // - // bounds = [0, 5, 10] - // - // Then, - // - // buckets = (-∞, 0], (0, 5.0], (5.0, 10.0], (10.0, +∞) - b = newBuckets[N](attr, len(s.bounds)+1) - b.res = s.newRes(attr) - - // Ensure min and max are recorded values (not zero), for new buckets. - b.min, b.max = value, value - s.values[attr.Equivalent()] = b + h.counts[idx].Add(1) + if !s.noMinMax { + h.minMax.Update(value) } - b.bin(idx, value) if !s.noSum { - b.sum(value) + h.total.add(value) } - b.res.Offer(ctx, value, droppedAttr) + h.res.Offer(ctx, value, droppedAttr) } -// newHistogram returns an Aggregator that summarizes a set of measurements as -// an histogram. -func newHistogram[N int64 | float64]( +// newDeltaHistogram returns a histogram that is reset each time it is +// collected. +func newDeltaHistogram[N int64 | float64]( boundaries []float64, noMinMax, noSum bool, limit int, r func(attribute.Set) FilteredExemplarReservoir[N], -) *histogram[N] { - return &histogram[N]{ - histValues: newHistValues[N](boundaries, noSum, limit, r), - noMinMax: noMinMax, - start: now(), +) *deltaHistogram[N] { + // The responsibility of keeping all histogramPoint correctly associated with the + // passed boundaries is ultimately this type's responsibility. Make a copy + // here so we can always guarantee this. Or, in the case of failure, have + // complete control over the fix. + b := slices.Clone(boundaries) + slices.Sort(b) + return &deltaHistogram[N]{ + start: now(), + noMinMax: noMinMax, + noSum: noSum, + bounds: b, + newRes: r, + hotColdValMap: [2]limitedSyncMap{ + {aggLimit: limit}, + {aggLimit: limit}, + }, } } -// histogram summarizes a set of measurements as an histogram with explicitly -// defined buckets. -type histogram[N int64 | float64] struct { - *histValues[N] - - noMinMax bool - start time.Time -} - -func (s *histogram[N]) delta( +func (s *deltaHistogram[N]) collect( dest *metricdata.Aggregation, //nolint:gocritic // The pointer is needed for the ComputeAggregation interface ) int { t := now() @@ -150,39 +179,46 @@ func (s *histogram[N]) delta( h, _ := (*dest).(metricdata.Histogram[N]) h.Temporality = metricdata.DeltaTemporality - s.valuesMu.Lock() - defer s.valuesMu.Unlock() + // delta always clears values on collection + readIdx := s.hcwg.swapHotAndWait() // Do not allow modification of our copy of bounds. bounds := slices.Clone(s.bounds) - n := len(s.values) + // The len will not change while we iterate over values, since we waited + // for all writes to finish to the cold values and len. + n := s.hotColdValMap[readIdx].Len() hDPts := reset(h.DataPoints, n, n) var i int - for _, val := range s.values { + s.hotColdValMap[readIdx].Range(func(_, value any) bool { + val := value.(*histogramPoint[N]) + + count := val.loadCountsInto(&hDPts[i].BucketCounts) hDPts[i].Attributes = val.attrs hDPts[i].StartTime = s.start hDPts[i].Time = t - hDPts[i].Count = val.count + hDPts[i].Count = count hDPts[i].Bounds = bounds - hDPts[i].BucketCounts = val.counts if !s.noSum { - hDPts[i].Sum = val.total + hDPts[i].Sum = val.total.load() } if !s.noMinMax { - hDPts[i].Min = metricdata.NewExtrema(val.min) - hDPts[i].Max = metricdata.NewExtrema(val.max) + if val.minMax.set.Load() { + hDPts[i].Min = metricdata.NewExtrema(val.minMax.minimum.Load()) + hDPts[i].Max = metricdata.NewExtrema(val.minMax.maximum.Load()) + } } collectExemplars(&hDPts[i].Exemplars, val.res.Collect) i++ - } + return true + }) // Unused attribute sets do not report. - clear(s.values) + s.hotColdValMap[readIdx].Clear() // The delta collection cycle resets. s.start = t @@ -192,7 +228,101 @@ func (s *histogram[N]) delta( return n } -func (s *histogram[N]) cumulative( +// cumulativeHistogram summarizes a set of measurements as an histogram with explicitly +// defined histogramPoint. +// +// cumulativeHistogram's measure is implemented without locking, even when +// called concurrently with collect. This is done by maintaining two separate +// histogramPointCounters for each attribute set: one "hot" which is +// concurrently updated by measure(), and one "cold", which is read and reset +// by collect(). The [hotcoldWaitGroup] allows collect() to swap the hot and +// cold counters, and wait for updates to the cold counters to complete prior +// to reading. Unlike deltaHistogram, this maintains a single map so that the +// preserved attribute sets do not change when collect() is called. +type cumulativeHistogram[N int64 | float64] struct { + values limitedSyncMap + + start time.Time + noMinMax bool + noSum bool + bounds []float64 + newRes func(attribute.Set) FilteredExemplarReservoir[N] +} + +// newCumulativeHistogram returns a histogram that accumulates measurements +// into a histogram data structure. It is never reset. +func newCumulativeHistogram[N int64 | float64]( + boundaries []float64, + noMinMax, noSum bool, + limit int, + r func(attribute.Set) FilteredExemplarReservoir[N], +) *cumulativeHistogram[N] { + // The responsibility of keeping all histogramPoint correctly associated with the + // passed boundaries is ultimately this type's responsibility. Make a copy + // here so we can always guarantee this. Or, in the case of failure, have + // complete control over the fix. + b := slices.Clone(boundaries) + slices.Sort(b) + return &cumulativeHistogram[N]{ + start: now(), + noMinMax: noMinMax, + noSum: noSum, + bounds: b, + newRes: r, + values: limitedSyncMap{aggLimit: limit}, + } +} + +func (s *cumulativeHistogram[N]) measure( + ctx context.Context, + value N, + fltrAttr attribute.Set, + droppedAttr []attribute.KeyValue, +) { + h := s.values.LoadOrStoreAttr(fltrAttr, func(attr attribute.Set) any { + hPt := &hotColdHistogramPoint[N]{ + res: s.newRes(attr), + attrs: attr, + // N+1 buckets. For example: + // + // bounds = [0, 5, 10] + // + // Then, + // + // count = (-∞, 0], (0, 5.0], (5.0, 10.0], (10.0, +∞) + hotColdPoint: [2]histogramPointCounters[N]{ + { + counts: make([]atomic.Uint64, len(s.bounds)+1), + }, + { + counts: make([]atomic.Uint64, len(s.bounds)+1), + }, + }, + } + return hPt + }).(*hotColdHistogramPoint[N]) + + // This search will return an index in the range [0, len(s.bounds)], where + // it will return len(s.bounds) if value is greater than the last element + // of s.bounds. This aligns with the histogramPoint in that the length of histogramPoint + // is len(s.bounds)+1, with the last bucket representing: + // (s.bounds[len(s.bounds)-1], +∞). + idx := sort.SearchFloat64s(s.bounds, float64(value)) + + hotIdx := h.hcwg.start() + defer h.hcwg.done(hotIdx) + + h.hotColdPoint[hotIdx].counts[idx].Add(1) + if !s.noMinMax { + h.hotColdPoint[hotIdx].minMax.Update(value) + } + if !s.noSum { + h.hotColdPoint[hotIdx].total.add(value) + } + h.res.Offer(ctx, value, droppedAttr) +} + +func (s *cumulativeHistogram[N]) collect( dest *metricdata.Aggregation, //nolint:gocritic // The pointer is needed for the ComputeAggregation interface ) int { t := now() @@ -202,50 +332,58 @@ func (s *histogram[N]) cumulative( h, _ := (*dest).(metricdata.Histogram[N]) h.Temporality = metricdata.CumulativeTemporality - s.valuesMu.Lock() - defer s.valuesMu.Unlock() - // Do not allow modification of our copy of bounds. bounds := slices.Clone(s.bounds) - n := len(s.values) - hDPts := reset(h.DataPoints, n, n) + // Values are being concurrently written while we iterate, so only use the + // current length for capacity. + hDPts := reset(h.DataPoints, 0, s.values.Len()) var i int - for _, val := range s.values { - hDPts[i].Attributes = val.attrs - hDPts[i].StartTime = s.start - hDPts[i].Time = t - hDPts[i].Count = val.count - hDPts[i].Bounds = bounds - - // The HistogramDataPoint field values returned need to be copies of - // the buckets value as we will keep updating them. - // - // TODO (#3047): Making copies for bounds and counts incurs a large - // memory allocation footprint. Alternatives should be explored. - hDPts[i].BucketCounts = slices.Clone(val.counts) + s.values.Range(func(_, value any) bool { + val := value.(*hotColdHistogramPoint[N]) + // swap, observe, and clear the point + readIdx := val.hcwg.swapHotAndWait() + var bucketCounts []uint64 + count := val.hotColdPoint[readIdx].loadCountsInto(&bucketCounts) + newPt := metricdata.HistogramDataPoint[N]{ + Attributes: val.attrs, + StartTime: s.start, + Time: t, + Count: count, + Bounds: bounds, + // The HistogramDataPoint field values returned need to be copies of + // the histogramPoint value as we will keep updating them. + BucketCounts: bucketCounts, + } if !s.noSum { - hDPts[i].Sum = val.total + newPt.Sum = val.hotColdPoint[readIdx].total.load() } - if !s.noMinMax { - hDPts[i].Min = metricdata.NewExtrema(val.min) - hDPts[i].Max = metricdata.NewExtrema(val.max) + if val.hotColdPoint[readIdx].minMax.set.Load() { + newPt.Min = metricdata.NewExtrema(val.hotColdPoint[readIdx].minMax.minimum.Load()) + newPt.Max = metricdata.NewExtrema(val.hotColdPoint[readIdx].minMax.maximum.Load()) + } } + // Once we've read the point, merge it back into the hot histogram + // point since it is cumulative. + hotIdx := (readIdx + 1) % 2 + val.hotColdPoint[readIdx].mergeIntoAndReset(&val.hotColdPoint[hotIdx], s.noMinMax, s.noSum) - collectExemplars(&hDPts[i].Exemplars, val.res.Collect) + collectExemplars(&newPt.Exemplars, val.res.Collect) + hDPts = append(hDPts, newPt) i++ // TODO (#3006): This will use an unbounded amount of memory if there // are unbounded number of attribute sets being aggregated. Attribute // sets that become "stale" need to be forgotten so this will not // overload the system. - } + return true + }) h.DataPoints = hDPts *dest = h - return n + return i } diff --git a/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/lastvalue.go b/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/lastvalue.go index 4bbe624c77..4924d732cb 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/lastvalue.go +++ b/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/lastvalue.go @@ -5,115 +5,179 @@ package aggregate // import "go.opentelemetry.io/otel/sdk/metric/internal/aggreg import ( "context" - "sync" "time" "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/sdk/metric/metricdata" ) -// datapoint is timestamped measurement data. -type datapoint[N int64 | float64] struct { +// lastValuePoint is timestamped measurement data. +type lastValuePoint[N int64 | float64] struct { attrs attribute.Set - value N + value atomicN[N] res FilteredExemplarReservoir[N] } -func newLastValue[N int64 | float64](limit int, r func(attribute.Set) FilteredExemplarReservoir[N]) *lastValue[N] { - return &lastValue[N]{ +// lastValueMap summarizes a set of measurements as the last one made. +type lastValueMap[N int64 | float64] struct { + newRes func(attribute.Set) FilteredExemplarReservoir[N] + values limitedSyncMap +} + +func (s *lastValueMap[N]) measure( + ctx context.Context, + value N, + fltrAttr attribute.Set, + droppedAttr []attribute.KeyValue, +) { + lv := s.values.LoadOrStoreAttr(fltrAttr, func(attr attribute.Set) any { + return &lastValuePoint[N]{ + res: s.newRes(attr), + attrs: attr, + } + }).(*lastValuePoint[N]) + + lv.value.Store(value) + lv.res.Offer(ctx, value, droppedAttr) +} + +func newDeltaLastValue[N int64 | float64]( + limit int, + r func(attribute.Set) FilteredExemplarReservoir[N], +) *deltaLastValue[N] { + return &deltaLastValue[N]{ newRes: r, - limit: newLimiter[datapoint[N]](limit), - values: make(map[attribute.Distinct]datapoint[N]), start: now(), + hotColdValMap: [2]lastValueMap[N]{ + { + values: limitedSyncMap{aggLimit: limit}, + newRes: r, + }, + { + values: limitedSyncMap{aggLimit: limit}, + newRes: r, + }, + }, } } -// lastValue summarizes a set of measurements as the last one made. -type lastValue[N int64 | float64] struct { - sync.Mutex - +// deltaLastValue summarizes a set of measurements as the last one made. +type deltaLastValue[N int64 | float64] struct { newRes func(attribute.Set) FilteredExemplarReservoir[N] - limit limiter[datapoint[N]] - values map[attribute.Distinct]datapoint[N] start time.Time -} -func (s *lastValue[N]) measure(ctx context.Context, value N, fltrAttr attribute.Set, droppedAttr []attribute.KeyValue) { - s.Lock() - defer s.Unlock() - - attr := s.limit.Attributes(fltrAttr, s.values) - d, ok := s.values[attr.Equivalent()] - if !ok { - d.res = s.newRes(attr) - } - - d.attrs = attr - d.value = value - d.res.Offer(ctx, value, droppedAttr) + hcwg hotColdWaitGroup + hotColdValMap [2]lastValueMap[N] +} - s.values[attr.Equivalent()] = d +func (s *deltaLastValue[N]) measure( + ctx context.Context, + value N, + fltrAttr attribute.Set, + droppedAttr []attribute.KeyValue, +) { + hotIdx := s.hcwg.start() + defer s.hcwg.done(hotIdx) + s.hotColdValMap[hotIdx].measure(ctx, value, fltrAttr, droppedAttr) } -func (s *lastValue[N]) delta( +func (s *deltaLastValue[N]) collect( dest *metricdata.Aggregation, //nolint:gocritic // The pointer is needed for the ComputeAggregation interface ) int { t := now() + n := s.copyAndClearDpts(dest, t) + // Update start time for delta temporality. + s.start = t + return n +} + +// copyAndClearDpts copies the lastValuePoints held by s into dest. The number of lastValuePoints +// copied is returned. +func (s *deltaLastValue[N]) copyAndClearDpts( + dest *metricdata.Aggregation, //nolint:gocritic // The pointer is needed for the ComputeAggregation interface + t time.Time, +) int { // Ignore if dest is not a metricdata.Gauge. The chance for memory reuse of // the DataPoints is missed (better luck next time). gData, _ := (*dest).(metricdata.Gauge[N]) + // delta always clears values on collection + readIdx := s.hcwg.swapHotAndWait() + // The len will not change while we iterate over values, since we waited + // for all writes to finish to the cold values and len. + n := s.hotColdValMap[readIdx].values.Len() + dPts := reset(gData.DataPoints, n, n) - s.Lock() - defer s.Unlock() - - n := s.copyDpts(&gData.DataPoints, t) + var i int + s.hotColdValMap[readIdx].values.Range(func(_, value any) bool { + v := value.(*lastValuePoint[N]) + dPts[i].Attributes = v.attrs + dPts[i].StartTime = s.start + dPts[i].Time = t + dPts[i].Value = v.value.Load() + collectExemplars[N](&dPts[i].Exemplars, v.res.Collect) + i++ + return true + }) + gData.DataPoints = dPts // Do not report stale values. - clear(s.values) - // Update start time for delta temporality. - s.start = t - + s.hotColdValMap[readIdx].values.Clear() *dest = gData + return i +} - return n +// cumulativeLastValue summarizes a set of measurements as the last one made. +type cumulativeLastValue[N int64 | float64] struct { + lastValueMap[N] + start time.Time +} + +func newCumulativeLastValue[N int64 | float64]( + limit int, + r func(attribute.Set) FilteredExemplarReservoir[N], +) *cumulativeLastValue[N] { + return &cumulativeLastValue[N]{ + lastValueMap: lastValueMap[N]{ + values: limitedSyncMap{aggLimit: limit}, + newRes: r, + }, + start: now(), + } } -func (s *lastValue[N]) cumulative( +func (s *cumulativeLastValue[N]) collect( dest *metricdata.Aggregation, //nolint:gocritic // The pointer is needed for the ComputeAggregation interface ) int { t := now() // Ignore if dest is not a metricdata.Gauge. The chance for memory reuse of - // the DataPoints is missed (better luck next time). + // the lastValuePoints is missed (better luck next time). gData, _ := (*dest).(metricdata.Gauge[N]) - s.Lock() - defer s.Unlock() + // Values are being concurrently written while we iterate, so only use the + // current length for capacity. + dPts := reset(gData.DataPoints, 0, s.values.Len()) - n := s.copyDpts(&gData.DataPoints, t) + var i int + s.values.Range(func(_, value any) bool { + v := value.(*lastValuePoint[N]) + newPt := metricdata.DataPoint[N]{ + Attributes: v.attrs, + StartTime: s.start, + Time: t, + Value: v.value.Load(), + } + collectExemplars[N](&newPt.Exemplars, v.res.Collect) + dPts = append(dPts, newPt) + i++ + return true + }) + gData.DataPoints = dPts // TODO (#3006): This will use an unbounded amount of memory if there // are unbounded number of attribute sets being aggregated. Attribute // sets that become "stale" need to be forgotten so this will not // overload the system. *dest = gData - return n -} - -// copyDpts copies the datapoints held by s into dest. The number of datapoints -// copied is returned. -func (s *lastValue[N]) copyDpts(dest *[]metricdata.DataPoint[N], t time.Time) int { - n := len(s.values) - *dest = reset(*dest, n, n) - - var i int - for _, v := range s.values { - (*dest)[i].Attributes = v.attrs - (*dest)[i].StartTime = s.start - (*dest)[i].Time = t - (*dest)[i].Value = v.value - collectExemplars(&(*dest)[i].Exemplars, v.res.Collect) - i++ - } - return n + return i } // newPrecomputedLastValue returns an aggregator that summarizes a set of @@ -122,51 +186,23 @@ func newPrecomputedLastValue[N int64 | float64]( limit int, r func(attribute.Set) FilteredExemplarReservoir[N], ) *precomputedLastValue[N] { - return &precomputedLastValue[N]{lastValue: newLastValue[N](limit, r)} + return &precomputedLastValue[N]{deltaLastValue: newDeltaLastValue[N](limit, r)} } // precomputedLastValue summarizes a set of observations as the last one made. type precomputedLastValue[N int64 | float64] struct { - *lastValue[N] + *deltaLastValue[N] } func (s *precomputedLastValue[N]) delta( dest *metricdata.Aggregation, //nolint:gocritic // The pointer is needed for the ComputeAggregation interface ) int { - t := now() - // Ignore if dest is not a metricdata.Gauge. The chance for memory reuse of - // the DataPoints is missed (better luck next time). - gData, _ := (*dest).(metricdata.Gauge[N]) - - s.Lock() - defer s.Unlock() - - n := s.copyDpts(&gData.DataPoints, t) - // Do not report stale values. - clear(s.values) - // Update start time for delta temporality. - s.start = t - - *dest = gData - - return n + return s.collect(dest) } func (s *precomputedLastValue[N]) cumulative( dest *metricdata.Aggregation, //nolint:gocritic // The pointer is needed for the ComputeAggregation interface ) int { - t := now() - // Ignore if dest is not a metricdata.Gauge. The chance for memory reuse of - // the DataPoints is missed (better luck next time). - gData, _ := (*dest).(metricdata.Gauge[N]) - - s.Lock() - defer s.Unlock() - - n := s.copyDpts(&gData.DataPoints, t) - // Do not report stale values. - clear(s.values) - *dest = gData - - return n + // Do not reset the start time. + return s.copyAndClearDpts(dest, now()) } diff --git a/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/limit.go b/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/limit.go index 9ea0251edd..c19a1aff68 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/limit.go +++ b/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/limit.go @@ -30,7 +30,7 @@ func newLimiter[V any](aggregation int) limiter[V] { // aggregation cardinality limit for the existing measurements. If it will, // overflowSet is returned. Otherwise, if it will not exceed the limit, or the // limit is not set (limit <= 0), attr is returned. -func (l limiter[V]) Attributes(attrs attribute.Set, measurements map[attribute.Distinct]V) attribute.Set { +func (l limiter[V]) Attributes(attrs attribute.Set, measurements map[attribute.Distinct]*V) attribute.Set { if l.aggLimit > 0 { _, exists := measurements[attrs.Equivalent()] if !exists && len(measurements) >= l.aggLimit-1 { diff --git a/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/sum.go b/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/sum.go index 1b4b2304c0..66cb68085f 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/sum.go +++ b/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/sum.go @@ -5,7 +5,6 @@ package aggregate // import "go.opentelemetry.io/otel/sdk/metric/internal/aggreg import ( "context" - "sync" "time" "go.opentelemetry.io/otel/attribute" @@ -13,64 +12,75 @@ import ( ) type sumValue[N int64 | float64] struct { - n N + n atomicCounter[N] res FilteredExemplarReservoir[N] attrs attribute.Set } -// valueMap is the storage for sums. -type valueMap[N int64 | float64] struct { - sync.Mutex +type sumValueMap[N int64 | float64] struct { + values limitedSyncMap newRes func(attribute.Set) FilteredExemplarReservoir[N] - limit limiter[sumValue[N]] - values map[attribute.Distinct]sumValue[N] } -func newValueMap[N int64 | float64](limit int, r func(attribute.Set) FilteredExemplarReservoir[N]) *valueMap[N] { - return &valueMap[N]{ - newRes: r, - limit: newLimiter[sumValue[N]](limit), - values: make(map[attribute.Distinct]sumValue[N]), - } -} - -func (s *valueMap[N]) measure(ctx context.Context, value N, fltrAttr attribute.Set, droppedAttr []attribute.KeyValue) { - s.Lock() - defer s.Unlock() - - attr := s.limit.Attributes(fltrAttr, s.values) - v, ok := s.values[attr.Equivalent()] - if !ok { - v.res = s.newRes(attr) - } - - v.attrs = attr - v.n += value - v.res.Offer(ctx, value, droppedAttr) - - s.values[attr.Equivalent()] = v +func (s *sumValueMap[N]) measure( + ctx context.Context, + value N, + fltrAttr attribute.Set, + droppedAttr []attribute.KeyValue, +) { + sv := s.values.LoadOrStoreAttr(fltrAttr, func(attr attribute.Set) any { + return &sumValue[N]{ + res: s.newRes(attr), + attrs: attr, + } + }).(*sumValue[N]) + sv.n.add(value) + // It is possible for collection to race with measurement and observe the + // exemplar in the batch of metrics after the add() for cumulative sums. + // This is an accepted tradeoff to avoid locking during measurement. + sv.res.Offer(ctx, value, droppedAttr) } -// newSum returns an aggregator that summarizes a set of measurements as their -// arithmetic sum. Each sum is scoped by attributes and the aggregation cycle -// the measurements were made in. -func newSum[N int64 | float64](monotonic bool, limit int, r func(attribute.Set) FilteredExemplarReservoir[N]) *sum[N] { - return &sum[N]{ - valueMap: newValueMap[N](limit, r), +// newDeltaSum returns an aggregator that summarizes a set of measurements as +// their arithmetic sum. Each sum is scoped by attributes and the aggregation +// cycle the measurements were made in. +func newDeltaSum[N int64 | float64]( + monotonic bool, + limit int, + r func(attribute.Set) FilteredExemplarReservoir[N], +) *deltaSum[N] { + return &deltaSum[N]{ monotonic: monotonic, start: now(), + hotColdValMap: [2]sumValueMap[N]{ + { + values: limitedSyncMap{aggLimit: limit}, + newRes: r, + }, + { + values: limitedSyncMap{aggLimit: limit}, + newRes: r, + }, + }, } } -// sum summarizes a set of measurements made as their arithmetic sum. -type sum[N int64 | float64] struct { - *valueMap[N] - +// deltaSum is the storage for sums which resets every collection interval. +type deltaSum[N int64 | float64] struct { monotonic bool start time.Time + + hcwg hotColdWaitGroup + hotColdValMap [2]sumValueMap[N] +} + +func (s *deltaSum[N]) measure(ctx context.Context, value N, fltrAttr attribute.Set, droppedAttr []attribute.KeyValue) { + hotIdx := s.hcwg.start() + defer s.hcwg.done(hotIdx) + s.hotColdValMap[hotIdx].measure(ctx, value, fltrAttr, droppedAttr) } -func (s *sum[N]) delta( +func (s *deltaSum[N]) collect( dest *metricdata.Aggregation, //nolint:gocritic // The pointer is needed for the ComputeAggregation interface ) int { t := now() @@ -81,33 +91,61 @@ func (s *sum[N]) delta( sData.Temporality = metricdata.DeltaTemporality sData.IsMonotonic = s.monotonic - s.Lock() - defer s.Unlock() - - n := len(s.values) + // delta always clears values on collection + readIdx := s.hcwg.swapHotAndWait() + // The len will not change while we iterate over values, since we waited + // for all writes to finish to the cold values and len. + n := s.hotColdValMap[readIdx].values.Len() dPts := reset(sData.DataPoints, n, n) var i int - for _, val := range s.values { + s.hotColdValMap[readIdx].values.Range(func(_, value any) bool { + val := value.(*sumValue[N]) + collectExemplars(&dPts[i].Exemplars, val.res.Collect) dPts[i].Attributes = val.attrs dPts[i].StartTime = s.start dPts[i].Time = t - dPts[i].Value = val.n - collectExemplars(&dPts[i].Exemplars, val.res.Collect) + dPts[i].Value = val.n.load() i++ - } - // Do not report stale values. - clear(s.values) + return true + }) + s.hotColdValMap[readIdx].values.Clear() // The delta collection cycle resets. s.start = t sData.DataPoints = dPts *dest = sData - return n + return i +} + +// newCumulativeSum returns an aggregator that summarizes a set of measurements +// as their arithmetic sum. Each sum is scoped by attributes and the +// aggregation cycle the measurements were made in. +func newCumulativeSum[N int64 | float64]( + monotonic bool, + limit int, + r func(attribute.Set) FilteredExemplarReservoir[N], +) *cumulativeSum[N] { + return &cumulativeSum[N]{ + monotonic: monotonic, + start: now(), + sumValueMap: sumValueMap[N]{ + values: limitedSyncMap{aggLimit: limit}, + newRes: r, + }, + } } -func (s *sum[N]) cumulative( +// deltaSum is the storage for sums which never reset. +type cumulativeSum[N int64 | float64] struct { + monotonic bool + start time.Time + + sumValueMap[N] +} + +func (s *cumulativeSum[N]) collect( dest *metricdata.Aggregation, //nolint:gocritic // The pointer is needed for the ComputeAggregation interface ) int { t := now() @@ -118,30 +156,33 @@ func (s *sum[N]) cumulative( sData.Temporality = metricdata.CumulativeTemporality sData.IsMonotonic = s.monotonic - s.Lock() - defer s.Unlock() - - n := len(s.values) - dPts := reset(sData.DataPoints, n, n) + // Values are being concurrently written while we iterate, so only use the + // current length for capacity. + dPts := reset(sData.DataPoints, 0, s.values.Len()) var i int - for _, value := range s.values { - dPts[i].Attributes = value.attrs - dPts[i].StartTime = s.start - dPts[i].Time = t - dPts[i].Value = value.n - collectExemplars(&dPts[i].Exemplars, value.res.Collect) + s.values.Range(func(_, value any) bool { + val := value.(*sumValue[N]) + newPt := metricdata.DataPoint[N]{ + Attributes: val.attrs, + StartTime: s.start, + Time: t, + Value: val.n.load(), + } + collectExemplars(&newPt.Exemplars, val.res.Collect) + dPts = append(dPts, newPt) // TODO (#3006): This will use an unbounded amount of memory if there // are unbounded number of attribute sets being aggregated. Attribute // sets that become "stale" need to be forgotten so this will not // overload the system. i++ - } + return true + }) sData.DataPoints = dPts *dest = sData - return n + return i } // newPrecomputedSum returns an aggregator that summarizes a set of @@ -153,27 +194,22 @@ func newPrecomputedSum[N int64 | float64]( r func(attribute.Set) FilteredExemplarReservoir[N], ) *precomputedSum[N] { return &precomputedSum[N]{ - valueMap: newValueMap[N](limit, r), - monotonic: monotonic, - start: now(), + deltaSum: newDeltaSum(monotonic, limit, r), } } // precomputedSum summarizes a set of observations as their arithmetic sum. type precomputedSum[N int64 | float64] struct { - *valueMap[N] + *deltaSum[N] - monotonic bool - start time.Time - - reported map[attribute.Distinct]N + reported map[any]N } func (s *precomputedSum[N]) delta( dest *metricdata.Aggregation, //nolint:gocritic // The pointer is needed for the ComputeAggregation interface ) int { t := now() - newReported := make(map[attribute.Distinct]N) + newReported := make(map[any]N) // If *dest is not a metricdata.Sum, memory reuse is missed. In that case, // use the zero-value sData and hope for better alignment next cycle. @@ -181,27 +217,29 @@ func (s *precomputedSum[N]) delta( sData.Temporality = metricdata.DeltaTemporality sData.IsMonotonic = s.monotonic - s.Lock() - defer s.Unlock() - - n := len(s.values) + // delta always clears values on collection + readIdx := s.hcwg.swapHotAndWait() + // The len will not change while we iterate over values, since we waited + // for all writes to finish to the cold values and len. + n := s.hotColdValMap[readIdx].values.Len() dPts := reset(sData.DataPoints, n, n) var i int - for key, value := range s.values { - delta := value.n - s.reported[key] + s.hotColdValMap[readIdx].values.Range(func(key, value any) bool { + val := value.(*sumValue[N]) + n := val.n.load() - dPts[i].Attributes = value.attrs + delta := n - s.reported[key] + collectExemplars(&dPts[i].Exemplars, val.res.Collect) + dPts[i].Attributes = val.attrs dPts[i].StartTime = s.start dPts[i].Time = t dPts[i].Value = delta - collectExemplars(&dPts[i].Exemplars, value.res.Collect) - - newReported[key] = value.n + newReported[key] = n i++ - } - // Unused attribute sets do not report. - clear(s.values) + return true + }) + s.hotColdValMap[readIdx].values.Clear() s.reported = newReported // The delta collection cycle resets. s.start = t @@ -209,7 +247,7 @@ func (s *precomputedSum[N]) delta( sData.DataPoints = dPts *dest = sData - return n + return i } func (s *precomputedSum[N]) cumulative( @@ -223,27 +261,28 @@ func (s *precomputedSum[N]) cumulative( sData.Temporality = metricdata.CumulativeTemporality sData.IsMonotonic = s.monotonic - s.Lock() - defer s.Unlock() - - n := len(s.values) + // cumulative precomputed always clears values on collection + readIdx := s.hcwg.swapHotAndWait() + // The len will not change while we iterate over values, since we waited + // for all writes to finish to the cold values and len. + n := s.hotColdValMap[readIdx].values.Len() dPts := reset(sData.DataPoints, n, n) var i int - for _, val := range s.values { + s.hotColdValMap[readIdx].values.Range(func(_, value any) bool { + val := value.(*sumValue[N]) + collectExemplars(&dPts[i].Exemplars, val.res.Collect) dPts[i].Attributes = val.attrs dPts[i].StartTime = s.start dPts[i].Time = t - dPts[i].Value = val.n - collectExemplars(&dPts[i].Exemplars, val.res.Collect) - + dPts[i].Value = val.n.load() i++ - } - // Unused attribute sets do not report. - clear(s.values) + return true + }) + s.hotColdValMap[readIdx].values.Clear() sData.DataPoints = dPts *dest = sData - return n + return i } diff --git a/vendor/go.opentelemetry.io/otel/sdk/metric/internal/observ/instrumentation.go b/vendor/go.opentelemetry.io/otel/sdk/metric/internal/observ/instrumentation.go new file mode 100644 index 0000000000..66788c9e96 --- /dev/null +++ b/vendor/go.opentelemetry.io/otel/sdk/metric/internal/observ/instrumentation.go @@ -0,0 +1,168 @@ +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +// Package observ provides experimental observability instrumentation for the +// metric reader. +package observ // import "go.opentelemetry.io/otel/sdk/metric/internal/observ" + +import ( + "context" + "fmt" + "sync" + "time" + + "go.opentelemetry.io/otel" + "go.opentelemetry.io/otel/attribute" + "go.opentelemetry.io/otel/metric" + "go.opentelemetry.io/otel/sdk" + "go.opentelemetry.io/otel/sdk/internal/x" + semconv "go.opentelemetry.io/otel/semconv/v1.39.0" + "go.opentelemetry.io/otel/semconv/v1.39.0/otelconv" +) + +const ( + // ScopeName is the unique name of the meter used for instrumentation. + ScopeName = "go.opentelemetry.io/otel/sdk/metric/internal/observ" + + // SchemaURL is the schema URL of the metrics produced by this + // instrumentation. + SchemaURL = semconv.SchemaURL +) + +var ( + measureAttrsPool = &sync.Pool{ + New: func() any { + const n = 1 + // component.name + 1 + // component.type + 1 // error.type + s := make([]attribute.KeyValue, 0, n) + // Return a pointer to a slice instead of a slice itself + // to avoid allocations on every call. + return &s + }, + } + + recordOptPool = &sync.Pool{ + New: func() any { + const n = 1 // WithAttributeSet + o := make([]metric.RecordOption, 0, n) + return &o + }, + } +) + +func get[T any](p *sync.Pool) *[]T { return p.Get().(*[]T) } + +func put[T any](p *sync.Pool, s *[]T) { + *s = (*s)[:0] // Reset. + p.Put(s) +} + +// ComponentName returns the component name for the metric reader with the +// provided ComponentType and ID. +func ComponentName(componentType string, id int64) string { + return fmt.Sprintf("%s/%d", componentType, id) +} + +// Instrumentation is experimental instrumentation for the metric reader. +type Instrumentation struct { + colDuration metric.Float64Histogram + + attrs []attribute.KeyValue + recOpt metric.RecordOption +} + +// NewInstrumentation returns instrumentation for metric reader with the provided component +// type (such as periodic and manual metric reader) and ID. It uses the global +// MeterProvider to create the instrumentation. +// +// The id should be the unique metric reader instance ID. It is used +// to set the "component.name" attribute. +// +// If the experimental observability is disabled, nil is returned. +func NewInstrumentation(componentType string, id int64) (*Instrumentation, error) { + if !x.Observability.Enabled() { + return nil, nil + } + + i := &Instrumentation{ + attrs: []attribute.KeyValue{ + semconv.OTelComponentName(ComponentName(componentType, id)), + semconv.OTelComponentTypeKey.String(componentType), + }, + } + + r := attribute.NewSet(i.attrs...) + i.recOpt = metric.WithAttributeSet(r) + + meter := otel.GetMeterProvider().Meter( + ScopeName, + metric.WithInstrumentationVersion(sdk.Version()), + metric.WithSchemaURL(SchemaURL), + ) + + colDuration, err := otelconv.NewSDKMetricReaderCollectionDuration(meter) + if err != nil { + err = fmt.Errorf("failed to create collection duration metric: %w", err) + } + i.colDuration = colDuration.Inst() + + return i, err +} + +// CollectMetrics instruments the collect method of metric reader. It returns an +// [CollectOp] that must have its [CollectOp.End] method called when the +// collection end. +func (i *Instrumentation) CollectMetrics(ctx context.Context) CollectOp { + start := time.Now() + + return CollectOp{ + ctx: ctx, + start: start, + inst: i, + } +} + +// CollectOp tracks the collect operation being observed by +// [Instrumentation.CollectMetrics]. +type CollectOp struct { + ctx context.Context + start time.Time + + inst *Instrumentation +} + +// End completes the observation of the operation being observed by a call to +// [Instrumentation.CollectMetrics]. +// +// Any error that is encountered is provided as err. +func (e CollectOp) End(err error) { + recOpt := get[metric.RecordOption](recordOptPool) + defer put(recordOptPool, recOpt) + *recOpt = append(*recOpt, e.inst.recordOption(err)) + + d := time.Since(e.start).Seconds() + e.inst.colDuration.Record(e.ctx, d, *recOpt...) +} + +// recordOption returns a RecordOption with attributes representing the +// outcome of the collection being recorded. +// +// If err is nil, the default recOpt of the Instrumentation is returned. +// +// Otherwise, a new RecordOption is returned with the base attributes of the +// Instrumentation plus the error.type attribute set to the type of the error. +func (i *Instrumentation) recordOption(err error) metric.RecordOption { + if err == nil { + return i.recOpt + } + + attrs := get[attribute.KeyValue](measureAttrsPool) + defer put(measureAttrsPool, attrs) + *attrs = append(*attrs, i.attrs...) + *attrs = append(*attrs, semconv.ErrorType(err)) + + // Do not inefficiently make a copy of attrs by using WithAttributes + // instead of WithAttributeSet. + return metric.WithAttributeSet(attribute.NewSet(*attrs...)) +} diff --git a/vendor/go.opentelemetry.io/otel/sdk/metric/internal/reservoir/concurrent_safe.go b/vendor/go.opentelemetry.io/otel/sdk/metric/internal/reservoir/concurrent_safe.go new file mode 100644 index 0000000000..3be234a410 --- /dev/null +++ b/vendor/go.opentelemetry.io/otel/sdk/metric/internal/reservoir/concurrent_safe.go @@ -0,0 +1,11 @@ +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +package reservoir // import "go.opentelemetry.io/otel/sdk/metric/internal/reservoir" + +// ConcurrentSafe is an interface that can be embedded in an +// exemplar.Reservoir to indicate to the SDK that it is safe to invoke its +// methods concurrently. If this interface is not embedded, the SDK assumes it +// is not safe to call concurrently and locks around Reservoir methods. This +// is currently only used by the built-in reservoirs. +type ConcurrentSafe interface{ concurrentSafe() } diff --git a/vendor/go.opentelemetry.io/otel/sdk/metric/internal/reservoir/doc.go b/vendor/go.opentelemetry.io/otel/sdk/metric/internal/reservoir/doc.go new file mode 100644 index 0000000000..6cd213b5f3 --- /dev/null +++ b/vendor/go.opentelemetry.io/otel/sdk/metric/internal/reservoir/doc.go @@ -0,0 +1,6 @@ +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +// Package reservoir contains experimental features used by built-in exemplar +// reservoirs which require coordination with the metrics SDK. +package reservoir // import "go.opentelemetry.io/otel/sdk/metric/internal/reservoir" diff --git a/vendor/go.opentelemetry.io/otel/sdk/metric/internal/x/README.md b/vendor/go.opentelemetry.io/otel/sdk/metric/internal/x/README.md deleted file mode 100644 index be0714a5f4..0000000000 --- a/vendor/go.opentelemetry.io/otel/sdk/metric/internal/x/README.md +++ /dev/null @@ -1,100 +0,0 @@ -# Experimental Features - -The Metric SDK contains features that have not yet stabilized in the OpenTelemetry specification. -These features are added to the OpenTelemetry Go Metric SDK prior to stabilization in the specification so that users can start experimenting with them and provide feedback. - -These feature may change in backwards incompatible ways as feedback is applied. -See the [Compatibility and Stability](#compatibility-and-stability) section for more information. - -## Features - -- [Exemplars](#exemplars) -- [Instrument Enabled](#instrument-enabled) - -### Exemplars - -A sample of measurements made may be exported directly as a set of exemplars. - -This experimental feature can be enabled by setting the `OTEL_GO_X_EXEMPLAR` environment variable. -The value of must be the case-insensitive string of `"true"` to enable the feature. -All other values are ignored. - -Exemplar filters are a supported. -The exemplar filter applies to all measurements made. -They filter these measurements, only allowing certain measurements to be passed to the underlying exemplar reservoir. - -To change the exemplar filter from the default `"trace_based"` filter set the `OTEL_METRICS_EXEMPLAR_FILTER` environment variable. -The value must be the case-sensitive string defined by the [OpenTelemetry specification]. - -- `"always_on"`: allows all measurements -- `"always_off"`: denies all measurements -- `"trace_based"`: allows only sampled measurements - -All values other than these will result in the default, `"trace_based"`, exemplar filter being used. - -[OpenTelemetry specification]: https://github.com/open-telemetry/opentelemetry-specification/blob/a6ca2fd484c9e76fe1d8e1c79c99f08f4745b5ee/specification/configuration/sdk-environment-variables.md#exemplar - -#### Examples - -Enable exemplars to be exported. - -```console -export OTEL_GO_X_EXEMPLAR=true -``` - -Disable exemplars from being exported. - -```console -unset OTEL_GO_X_EXEMPLAR -``` - -Set the exemplar filter to allow all measurements. - -```console -export OTEL_METRICS_EXEMPLAR_FILTER=always_on -``` - -Set the exemplar filter to deny all measurements. - -```console -export OTEL_METRICS_EXEMPLAR_FILTER=always_off -``` - -Set the exemplar filter to only allow sampled measurements. - -```console -export OTEL_METRICS_EXEMPLAR_FILTER=trace_based -``` - -Revert to the default exemplar filter (`"trace_based"`) - -```console -unset OTEL_METRICS_EXEMPLAR_FILTER -``` - -### Instrument Enabled - -To help users avoid performing computationally expensive operations when recording measurements, synchronous instruments provide an `Enabled` method. - -#### Examples - -The following code shows an example of how to check if an instrument implements the `EnabledInstrument` interface before using the `Enabled` function to avoid doing an expensive computation: - -```go -type enabledInstrument interface { Enabled(context.Context) bool } - -ctr, err := m.Int64Counter("expensive-counter") -c, ok := ctr.(enabledInstrument) -if !ok || c.Enabled(context.Background()) { - c.Add(expensiveComputation()) -} -``` - -## Compatibility and Stability - -Experimental features do not fall within the scope of the OpenTelemetry Go versioning and stability [policy](../../../../VERSIONING.md). -These features may be removed or modified in successive version releases, including patch versions. - -When an experimental feature is promoted to a stable feature, a migration path will be included in the changelog entry of the release. -There is no guarantee that any environment variable feature flags that enabled the experimental feature will be supported by the stable version. -If they are supported, they may be accompanied with a deprecation notice stating a timeline for the removal of that support. diff --git a/vendor/go.opentelemetry.io/otel/sdk/metric/internal/x/x.go b/vendor/go.opentelemetry.io/otel/sdk/metric/internal/x/x.go deleted file mode 100644 index 294dcf8469..0000000000 --- a/vendor/go.opentelemetry.io/otel/sdk/metric/internal/x/x.go +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright The OpenTelemetry Authors -// SPDX-License-Identifier: Apache-2.0 - -// Package x contains support for OTel metric SDK experimental features. -// -// This package should only be used for features defined in the specification. -// It should not be used for experiments or new project ideas. -package x // import "go.opentelemetry.io/otel/sdk/metric/internal/x" - -import ( - "context" - "os" -) - -// Feature is an experimental feature control flag. It provides a uniform way -// to interact with these feature flags and parse their values. -type Feature[T any] struct { - key string - parse func(v string) (T, bool) -} - -//nolint:unused -func newFeature[T any](suffix string, parse func(string) (T, bool)) Feature[T] { - const envKeyRoot = "OTEL_GO_X_" - return Feature[T]{ - key: envKeyRoot + suffix, - parse: parse, - } -} - -// Key returns the environment variable key that needs to be set to enable the -// feature. -func (f Feature[T]) Key() string { return f.key } - -// Lookup returns the user configured value for the feature and true if the -// user has enabled the feature. Otherwise, if the feature is not enabled, a -// zero-value and false are returned. -func (f Feature[T]) Lookup() (v T, ok bool) { - // https://github.com/open-telemetry/opentelemetry-specification/blob/62effed618589a0bec416a87e559c0a9d96289bb/specification/configuration/sdk-environment-variables.md#parsing-empty-value - // - // > The SDK MUST interpret an empty value of an environment variable the - // > same way as when the variable is unset. - vRaw := os.Getenv(f.key) - if vRaw == "" { - return v, ok - } - return f.parse(vRaw) -} - -// Enabled reports whether the feature is enabled. -func (f Feature[T]) Enabled() bool { - _, ok := f.Lookup() - return ok -} - -// EnabledInstrument informs whether the instrument is enabled. -// -// EnabledInstrument interface is implemented by synchronous instruments. -type EnabledInstrument interface { - // Enabled reports whether the instrument will process measurements for the given context. - // - // This function can be used in places where measuring an instrument - // would result in computationally expensive operations. - Enabled(context.Context) bool -} diff --git a/vendor/go.opentelemetry.io/otel/sdk/metric/manual_reader.go b/vendor/go.opentelemetry.io/otel/sdk/metric/manual_reader.go index 85d3dc2076..5b0630207b 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/metric/manual_reader.go +++ b/vendor/go.opentelemetry.io/otel/sdk/metric/manual_reader.go @@ -10,10 +10,18 @@ import ( "sync" "sync/atomic" + "go.opentelemetry.io/otel" "go.opentelemetry.io/otel/internal/global" + "go.opentelemetry.io/otel/sdk/metric/internal/observ" "go.opentelemetry.io/otel/sdk/metric/metricdata" ) +const ( + // ManualReaderType uniquely identifies the OpenTelemetry Metric Reader component + // being instrumented. + manualReaderType = "go.opentelemetry.io/otel/sdk/metric/metric.ManualReader" +) + // ManualReader is a simple Reader that allows an application to // read metrics on demand. type ManualReader struct { @@ -26,6 +34,8 @@ type ManualReader struct { temporalitySelector TemporalitySelector aggregationSelector AggregationSelector + + inst *observ.Instrumentation } // Compile time check the manualReader implements Reader and is comparable. @@ -39,9 +49,24 @@ func NewManualReader(opts ...ManualReaderOption) *ManualReader { aggregationSelector: cfg.aggregationSelector, } r.externalProducers.Store(cfg.producers) + + var err error + r.inst, err = observ.NewInstrumentation(manualReaderType, nextManualReaderID()) + if err != nil { + otel.Handle(err) + } + return r } +var manualReaderIDCounter atomic.Int64 + +// nextManualReaderID returns an identifier for this manual reader, +// starting with 0 and incrementing by 1 each time it is called. +func nextManualReaderID() int64 { + return manualReaderIDCounter.Add(1) - 1 +} + // register stores the sdkProducer which enables the caller // to read metrics from the SDK on demand. func (mr *ManualReader) register(p sdkProducer) { @@ -93,12 +118,20 @@ func (mr *ManualReader) Shutdown(context.Context) error { // // This method is safe to call concurrently. func (mr *ManualReader) Collect(ctx context.Context, rm *metricdata.ResourceMetrics) error { + var err error + if mr.inst != nil { + cp := mr.inst.CollectMetrics(ctx) + defer func() { cp.End(err) }() + } + if rm == nil { - return errors.New("manual reader: *metricdata.ResourceMetrics is nil") + err = errors.New("manual reader: *metricdata.ResourceMetrics is nil") + return err } p := mr.sdkProducer.Load() if p == nil { - return ErrReaderNotRegistered + err = ErrReaderNotRegistered + return err } ph, ok := p.(produceHolder) @@ -107,11 +140,11 @@ func (mr *ManualReader) Collect(ctx context.Context, rm *metricdata.ResourceMetr // this should never happen. In the unforeseen case that this does // happen, return an error instead of panicking so a users code does // not halt in the processes. - err := fmt.Errorf("manual reader: invalid producer: %T", p) + err = fmt.Errorf("manual reader: invalid producer: %T", p) return err } - err := ph.produce(ctx, rm) + err = ph.produce(ctx, rm) if err != nil { return err } diff --git a/vendor/go.opentelemetry.io/otel/sdk/metric/metricdata/temporality_string.go b/vendor/go.opentelemetry.io/otel/sdk/metric/metricdata/temporality_string.go index 4da833cdce..129cc6430d 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/metric/metricdata/temporality_string.go +++ b/vendor/go.opentelemetry.io/otel/sdk/metric/metricdata/temporality_string.go @@ -18,8 +18,9 @@ const _Temporality_name = "undefinedTemporalityCumulativeTemporalityDeltaTempora var _Temporality_index = [...]uint8{0, 20, 41, 57} func (i Temporality) String() string { - if i >= Temporality(len(_Temporality_index)-1) { + idx := int(i) - 0 + if i < 0 || idx >= len(_Temporality_index)-1 { return "Temporality(" + strconv.FormatInt(int64(i), 10) + ")" } - return _Temporality_name[_Temporality_index[i]:_Temporality_index[i+1]] + return _Temporality_name[_Temporality_index[idx]:_Temporality_index[idx+1]] } diff --git a/vendor/go.opentelemetry.io/otel/sdk/metric/periodic_reader.go b/vendor/go.opentelemetry.io/otel/sdk/metric/periodic_reader.go index f08c771a68..ef40ef29a3 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/metric/periodic_reader.go +++ b/vendor/go.opentelemetry.io/otel/sdk/metric/periodic_reader.go @@ -13,7 +13,9 @@ import ( "go.opentelemetry.io/otel" "go.opentelemetry.io/otel/internal/global" + "go.opentelemetry.io/otel/sdk/metric/internal/observ" "go.opentelemetry.io/otel/sdk/metric/metricdata" + semconv "go.opentelemetry.io/otel/semconv/v1.39.0" ) // Default periodic reader timing. @@ -126,9 +128,26 @@ func NewPeriodicReader(exporter Exporter, options ...PeriodicReaderOption) *Peri r.run(ctx, conf.interval) }() + var err error + r.inst, err = observ.NewInstrumentation( + semconv.OTelComponentTypePeriodicMetricReader.Value.AsString(), + nextPeriodicReaderID(), + ) + if err != nil { + otel.Handle(err) + } + return r } +var periodicReaderIDCounter atomic.Int64 + +// nextPeriodicReaderID returns an identifier for this periodic reader, +// starting with 0 and incrementing by 1 each time it is called. +func nextPeriodicReaderID() int64 { + return periodicReaderIDCounter.Add(1) - 1 +} + // PeriodicReader is a Reader that continuously collects and exports metric // data at a set interval. type PeriodicReader struct { @@ -148,6 +167,8 @@ type PeriodicReader struct { shutdownOnce sync.Once rmPool sync.Pool + + inst *observ.Instrumentation } // Compile time check the periodicReader implements Reader and is comparable. @@ -235,8 +256,15 @@ func (r *PeriodicReader) Collect(ctx context.Context, rm *metricdata.ResourceMet // collect unwraps p as a produceHolder and returns its produce results. func (r *PeriodicReader) collect(ctx context.Context, p any, rm *metricdata.ResourceMetrics) error { + var err error + if r.inst != nil { + cp := r.inst.CollectMetrics(ctx) + defer func() { cp.End(err) }() + } + if p == nil { - return ErrReaderNotRegistered + err = ErrReaderNotRegistered + return err } ph, ok := p.(produceHolder) @@ -245,11 +273,11 @@ func (r *PeriodicReader) collect(ctx context.Context, p any, rm *metricdata.Reso // this should never happen. In the unforeseen case that this does // happen, return an error instead of panicking so a users code does // not halt in the processes. - err := fmt.Errorf("periodic reader: invalid producer: %T", p) + err = fmt.Errorf("periodic reader: invalid producer: %T", p) return err } - err := ph.produce(ctx, rm) + err = ph.produce(ctx, rm) if err != nil { return err } diff --git a/vendor/go.opentelemetry.io/otel/sdk/metric/pipeline.go b/vendor/go.opentelemetry.io/otel/sdk/metric/pipeline.go index 408fddc8d4..ab269cdfd6 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/metric/pipeline.go +++ b/vendor/go.opentelemetry.io/otel/sdk/metric/pipeline.go @@ -513,7 +513,10 @@ func (i *inserter[N]) aggregateFunc( case AggregationExplicitBucketHistogram: var noSum bool switch kind { - case InstrumentKindUpDownCounter, InstrumentKindObservableUpDownCounter, InstrumentKindObservableGauge, InstrumentKindGauge: + case InstrumentKindUpDownCounter, + InstrumentKindObservableUpDownCounter, + InstrumentKindObservableGauge, + InstrumentKindGauge: // The sum should not be collected for any instrument that can make // negative measurements: // https://github.com/open-telemetry/opentelemetry-specification/blob/v1.21.0/specification/metrics/sdk.md#histogram-aggregations @@ -523,7 +526,10 @@ func (i *inserter[N]) aggregateFunc( case AggregationBase2ExponentialHistogram: var noSum bool switch kind { - case InstrumentKindUpDownCounter, InstrumentKindObservableUpDownCounter, InstrumentKindObservableGauge, InstrumentKindGauge: + case InstrumentKindUpDownCounter, + InstrumentKindObservableUpDownCounter, + InstrumentKindObservableGauge, + InstrumentKindGauge: // The sum should not be collected for any instrument that can make // negative measurements: // https://github.com/open-telemetry/opentelemetry-specification/blob/v1.21.0/specification/metrics/sdk.md#histogram-aggregations @@ -569,7 +575,11 @@ func isAggregatorCompatible(kind InstrumentKind, agg Aggregation) error { } case AggregationSum: switch kind { - case InstrumentKindObservableCounter, InstrumentKindObservableUpDownCounter, InstrumentKindCounter, InstrumentKindHistogram, InstrumentKindUpDownCounter: + case InstrumentKindObservableCounter, + InstrumentKindObservableUpDownCounter, + InstrumentKindCounter, + InstrumentKindHistogram, + InstrumentKindUpDownCounter: return nil default: // TODO: review need for aggregation check after diff --git a/vendor/go.opentelemetry.io/otel/sdk/metric/reader.go b/vendor/go.opentelemetry.io/otel/sdk/metric/reader.go index 5c1cea8254..7b205c736c 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/metric/reader.go +++ b/vendor/go.opentelemetry.io/otel/sdk/metric/reader.go @@ -127,10 +127,40 @@ type TemporalitySelector func(InstrumentKind) metricdata.Temporality // DefaultTemporalitySelector is the default TemporalitySelector used if // WithTemporalitySelector is not provided. CumulativeTemporality will be used // for all instrument kinds if this TemporalitySelector is used. -func DefaultTemporalitySelector(InstrumentKind) metricdata.Temporality { +func DefaultTemporalitySelector(k InstrumentKind) metricdata.Temporality { + return CumulativeTemporalitySelector(k) +} + +// CumulativeTemporalitySelector is the TemporalitySelector that uses +// a cumulative temporality for all instrument kinds. +func CumulativeTemporalitySelector(InstrumentKind) metricdata.Temporality { return metricdata.CumulativeTemporality } +// DeltaTemporalitySelector is the TemporalitySelector that uses +// a delta temporality for instrument kinds: counter, histogram, observable counter +// All other instruments use cumulative temporality. +func DeltaTemporalitySelector(k InstrumentKind) metricdata.Temporality { + switch k { + case InstrumentKindCounter, InstrumentKindHistogram, InstrumentKindObservableCounter: + return metricdata.DeltaTemporality + default: + return metricdata.CumulativeTemporality + } +} + +// LowMemoryTemporalitySelector is the TemporalitySelector that uses +// delta temporality for counters and histograms. All other instruments use +// cumulative temporality. +func LowMemoryTemporalitySelector(k InstrumentKind) metricdata.Temporality { + switch k { + case InstrumentKindCounter, InstrumentKindHistogram: + return metricdata.DeltaTemporality + default: + return metricdata.CumulativeTemporality + } +} + // AggregationSelector selects the aggregation and the parameters to use for // that aggregation based on the InstrumentKind. // diff --git a/vendor/go.opentelemetry.io/otel/sdk/metric/version.go b/vendor/go.opentelemetry.io/otel/sdk/metric/version.go index dd9051a76c..ea9e076c7e 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/metric/version.go +++ b/vendor/go.opentelemetry.io/otel/sdk/metric/version.go @@ -5,5 +5,5 @@ package metric // import "go.opentelemetry.io/otel/sdk/metric" // version is the current release version of the metric SDK in use. func version() string { - return "1.38.0" + return "1.40.0" } diff --git a/vendor/go.opentelemetry.io/otel/sdk/resource/builtin.go b/vendor/go.opentelemetry.io/otel/sdk/resource/builtin.go index 3f20eb7a56..8a7bb330bf 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/resource/builtin.go +++ b/vendor/go.opentelemetry.io/otel/sdk/resource/builtin.go @@ -13,7 +13,7 @@ import ( "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/sdk" - semconv "go.opentelemetry.io/otel/semconv/v1.37.0" + semconv "go.opentelemetry.io/otel/semconv/v1.39.0" ) type ( diff --git a/vendor/go.opentelemetry.io/otel/sdk/resource/container.go b/vendor/go.opentelemetry.io/otel/sdk/resource/container.go index bbe142d203..a19b39def8 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/resource/container.go +++ b/vendor/go.opentelemetry.io/otel/sdk/resource/container.go @@ -11,7 +11,7 @@ import ( "os" "regexp" - semconv "go.opentelemetry.io/otel/semconv/v1.37.0" + semconv "go.opentelemetry.io/otel/semconv/v1.39.0" ) type containerIDProvider func() (string, error) diff --git a/vendor/go.opentelemetry.io/otel/sdk/resource/env.go b/vendor/go.opentelemetry.io/otel/sdk/resource/env.go index 4a1b017eea..c49157224e 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/resource/env.go +++ b/vendor/go.opentelemetry.io/otel/sdk/resource/env.go @@ -12,7 +12,7 @@ import ( "go.opentelemetry.io/otel" "go.opentelemetry.io/otel/attribute" - semconv "go.opentelemetry.io/otel/semconv/v1.37.0" + semconv "go.opentelemetry.io/otel/semconv/v1.39.0" ) const ( diff --git a/vendor/go.opentelemetry.io/otel/sdk/resource/host_id.go b/vendor/go.opentelemetry.io/otel/sdk/resource/host_id.go index 5fed33d4fb..023621ba76 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/resource/host_id.go +++ b/vendor/go.opentelemetry.io/otel/sdk/resource/host_id.go @@ -8,7 +8,7 @@ import ( "errors" "strings" - semconv "go.opentelemetry.io/otel/semconv/v1.37.0" + semconv "go.opentelemetry.io/otel/semconv/v1.39.0" ) type hostIDProvider func() (string, error) @@ -51,17 +51,16 @@ type hostIDReaderDarwin struct { execCommand commandExecutor } -// read executes `ioreg -rd1 -c "IOPlatformExpertDevice"` and parses host id +// read executes `/usr/sbin/ioreg -rd1 -c "IOPlatformExpertDevice"` and parses host id // from the IOPlatformUUID line. If the command fails or the uuid cannot be // parsed an error will be returned. func (r *hostIDReaderDarwin) read() (string, error) { - result, err := r.execCommand("ioreg", "-rd1", "-c", "IOPlatformExpertDevice") + result, err := r.execCommand("/usr/sbin/ioreg", "-rd1", "-c", "IOPlatformExpertDevice") if err != nil { return "", err } - lines := strings.Split(result, "\n") - for _, line := range lines { + for line := range strings.SplitSeq(result, "\n") { if strings.Contains(line, "IOPlatformUUID") { parts := strings.Split(line, " = ") if len(parts) == 2 { diff --git a/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_bsd.go b/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_bsd.go index cc8b8938ed..4c1c30f256 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_bsd.go +++ b/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_bsd.go @@ -2,7 +2,6 @@ // SPDX-License-Identifier: Apache-2.0 //go:build dragonfly || freebsd || netbsd || openbsd || solaris -// +build dragonfly freebsd netbsd openbsd solaris package resource // import "go.opentelemetry.io/otel/sdk/resource" diff --git a/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_linux.go b/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_linux.go index f84f173240..4a26096c8d 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_linux.go +++ b/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_linux.go @@ -2,7 +2,6 @@ // SPDX-License-Identifier: Apache-2.0 //go:build linux -// +build linux package resource // import "go.opentelemetry.io/otel/sdk/resource" diff --git a/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_unsupported.go b/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_unsupported.go index df12c44c56..63ad2fa4e0 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_unsupported.go +++ b/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_unsupported.go @@ -2,7 +2,6 @@ // SPDX-License-Identifier: Apache-2.0 //go:build !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris && !windows -// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows package resource // import "go.opentelemetry.io/otel/sdk/resource" diff --git a/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_windows.go b/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_windows.go index 3677c83d7d..2b8ca20b38 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_windows.go +++ b/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_windows.go @@ -2,7 +2,6 @@ // SPDX-License-Identifier: Apache-2.0 //go:build windows -// +build windows package resource // import "go.opentelemetry.io/otel/sdk/resource" diff --git a/vendor/go.opentelemetry.io/otel/sdk/resource/os.go b/vendor/go.opentelemetry.io/otel/sdk/resource/os.go index 51da76e807..534809e217 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/resource/os.go +++ b/vendor/go.opentelemetry.io/otel/sdk/resource/os.go @@ -8,7 +8,7 @@ import ( "strings" "go.opentelemetry.io/otel/attribute" - semconv "go.opentelemetry.io/otel/semconv/v1.37.0" + semconv "go.opentelemetry.io/otel/semconv/v1.39.0" ) type osDescriptionProvider func() (string, error) diff --git a/vendor/go.opentelemetry.io/otel/sdk/resource/os_release_unix.go b/vendor/go.opentelemetry.io/otel/sdk/resource/os_release_unix.go index 7252af79fc..a1763267c2 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/resource/os_release_unix.go +++ b/vendor/go.opentelemetry.io/otel/sdk/resource/os_release_unix.go @@ -2,7 +2,6 @@ // SPDX-License-Identifier: Apache-2.0 //go:build aix || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos -// +build aix dragonfly freebsd linux netbsd openbsd solaris zos package resource // import "go.opentelemetry.io/otel/sdk/resource" diff --git a/vendor/go.opentelemetry.io/otel/sdk/resource/os_unix.go b/vendor/go.opentelemetry.io/otel/sdk/resource/os_unix.go index a6ff26a4d2..6c50ab6867 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/resource/os_unix.go +++ b/vendor/go.opentelemetry.io/otel/sdk/resource/os_unix.go @@ -2,7 +2,6 @@ // SPDX-License-Identifier: Apache-2.0 //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos -// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris zos package resource // import "go.opentelemetry.io/otel/sdk/resource" diff --git a/vendor/go.opentelemetry.io/otel/sdk/resource/os_unsupported.go b/vendor/go.opentelemetry.io/otel/sdk/resource/os_unsupported.go index a77742b077..25f629532a 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/resource/os_unsupported.go +++ b/vendor/go.opentelemetry.io/otel/sdk/resource/os_unsupported.go @@ -2,7 +2,6 @@ // SPDX-License-Identifier: Apache-2.0 //go:build !aix && !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris && !windows && !zos -// +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows,!zos package resource // import "go.opentelemetry.io/otel/sdk/resource" diff --git a/vendor/go.opentelemetry.io/otel/sdk/resource/process.go b/vendor/go.opentelemetry.io/otel/sdk/resource/process.go index 138e57721b..a1189553c7 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/resource/process.go +++ b/vendor/go.opentelemetry.io/otel/sdk/resource/process.go @@ -11,7 +11,7 @@ import ( "path/filepath" "runtime" - semconv "go.opentelemetry.io/otel/semconv/v1.37.0" + semconv "go.opentelemetry.io/otel/semconv/v1.39.0" ) type ( diff --git a/vendor/go.opentelemetry.io/otel/sdk/version.go b/vendor/go.opentelemetry.io/otel/sdk/version.go index 7f97cc31e5..b5497c2816 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/version.go +++ b/vendor/go.opentelemetry.io/otel/sdk/version.go @@ -6,5 +6,5 @@ package sdk // import "go.opentelemetry.io/otel/sdk" // Version is the current release version of the OpenTelemetry SDK in use. func Version() string { - return "1.38.0" + return "1.40.0" } diff --git a/vendor/go.opentelemetry.io/otel/semconv/v1.37.0/error_type.go b/vendor/go.opentelemetry.io/otel/semconv/v1.37.0/error_type.go index 666bded4ba..267979c051 100644 --- a/vendor/go.opentelemetry.io/otel/semconv/v1.37.0/error_type.go +++ b/vendor/go.opentelemetry.io/otel/semconv/v1.37.0/error_type.go @@ -4,28 +4,53 @@ package semconv // import "go.opentelemetry.io/otel/semconv/v1.37.0" import ( - "fmt" "reflect" "go.opentelemetry.io/otel/attribute" ) // ErrorType returns an [attribute.KeyValue] identifying the error type of err. +// +// If err is nil, the returned attribute has the default value +// [ErrorTypeOther]. +// +// If err's type has the method +// +// ErrorType() string +// +// then the returned attribute has the value of err.ErrorType(). Otherwise, the +// returned attribute has a value derived from the concrete type of err. +// +// The key of the returned attribute is [ErrorTypeKey]. func ErrorType(err error) attribute.KeyValue { if err == nil { return ErrorTypeOther } - t := reflect.TypeOf(err) - var value string - if t.PkgPath() == "" && t.Name() == "" { - // Likely a builtin type. - value = t.String() - } else { - value = fmt.Sprintf("%s.%s", t.PkgPath(), t.Name()) + + return ErrorTypeKey.String(errorType(err)) +} + +func errorType(err error) string { + var s string + if et, ok := err.(interface{ ErrorType() string }); ok { + // Prioritize the ErrorType method if available. + s = et.ErrorType() } + if s == "" { + // Fallback to reflection if the ErrorType method is not supported or + // returns an empty value. - if value == "" { - return ErrorTypeOther + t := reflect.TypeOf(err) + pkg, name := t.PkgPath(), t.Name() + if pkg != "" && name != "" { + s = pkg + "." + name + } else { + // The type has no package path or name (predeclared, not-defined, + // or alias for a not-defined type). + // + // This is not guaranteed to be unique, but is a best effort. + s = t.String() + } } - return ErrorTypeKey.String(value) + return s } diff --git a/vendor/go.opentelemetry.io/otel/semconv/v1.37.0/httpconv/metric.go b/vendor/go.opentelemetry.io/otel/semconv/v1.37.0/httpconv/metric.go index 55bde895dd..a0ddf652d3 100644 --- a/vendor/go.opentelemetry.io/otel/semconv/v1.37.0/httpconv/metric.go +++ b/vendor/go.opentelemetry.io/otel/semconv/v1.37.0/httpconv/metric.go @@ -91,6 +91,11 @@ type ClientActiveRequests struct { metric.Int64UpDownCounter } +var newClientActiveRequestsOpts = []metric.Int64UpDownCounterOption{ + metric.WithDescription("Number of active HTTP requests."), + metric.WithUnit("{request}"), +} + // NewClientActiveRequests returns a new ClientActiveRequests instrument. func NewClientActiveRequests( m metric.Meter, @@ -101,15 +106,18 @@ func NewClientActiveRequests( return ClientActiveRequests{noop.Int64UpDownCounter{}}, nil } + if len(opt) == 0 { + opt = newClientActiveRequestsOpts + } else { + opt = append(opt, newClientActiveRequestsOpts...) + } + i, err := m.Int64UpDownCounter( "http.client.active_requests", - append([]metric.Int64UpDownCounterOption{ - metric.WithDescription("Number of active HTTP requests."), - metric.WithUnit("{request}"), - }, opt...)..., + opt..., ) if err != nil { - return ClientActiveRequests{noop.Int64UpDownCounter{}}, err + return ClientActiveRequests{noop.Int64UpDownCounter{}}, err } return ClientActiveRequests{i}, nil } @@ -223,6 +231,11 @@ type ClientConnectionDuration struct { metric.Float64Histogram } +var newClientConnectionDurationOpts = []metric.Float64HistogramOption{ + metric.WithDescription("The duration of the successfully established outbound HTTP connections."), + metric.WithUnit("s"), +} + // NewClientConnectionDuration returns a new ClientConnectionDuration instrument. func NewClientConnectionDuration( m metric.Meter, @@ -233,15 +246,18 @@ func NewClientConnectionDuration( return ClientConnectionDuration{noop.Float64Histogram{}}, nil } + if len(opt) == 0 { + opt = newClientConnectionDurationOpts + } else { + opt = append(opt, newClientConnectionDurationOpts...) + } + i, err := m.Float64Histogram( "http.client.connection.duration", - append([]metric.Float64HistogramOption{ - metric.WithDescription("The duration of the successfully established outbound HTTP connections."), - metric.WithUnit("s"), - }, opt...)..., + opt..., ) if err != nil { - return ClientConnectionDuration{noop.Float64Histogram{}}, err + return ClientConnectionDuration{noop.Float64Histogram{}}, err } return ClientConnectionDuration{i}, nil } @@ -310,6 +326,7 @@ func (m ClientConnectionDuration) Record( func (m ClientConnectionDuration) RecordSet(ctx context.Context, val float64, set attribute.Set) { if set.Len() == 0 { m.Float64Histogram.Record(ctx, val) + return } o := recOptPool.Get().(*[]metric.RecordOption) @@ -353,6 +370,11 @@ type ClientOpenConnections struct { metric.Int64UpDownCounter } +var newClientOpenConnectionsOpts = []metric.Int64UpDownCounterOption{ + metric.WithDescription("Number of outbound HTTP connections that are currently active or idle on the client."), + metric.WithUnit("{connection}"), +} + // NewClientOpenConnections returns a new ClientOpenConnections instrument. func NewClientOpenConnections( m metric.Meter, @@ -363,15 +385,18 @@ func NewClientOpenConnections( return ClientOpenConnections{noop.Int64UpDownCounter{}}, nil } + if len(opt) == 0 { + opt = newClientOpenConnectionsOpts + } else { + opt = append(opt, newClientOpenConnectionsOpts...) + } + i, err := m.Int64UpDownCounter( "http.client.open_connections", - append([]metric.Int64UpDownCounterOption{ - metric.WithDescription("Number of outbound HTTP connections that are currently active or idle on the client."), - metric.WithUnit("{connection}"), - }, opt...)..., + opt..., ) if err != nil { - return ClientOpenConnections{noop.Int64UpDownCounter{}}, err + return ClientOpenConnections{noop.Int64UpDownCounter{}}, err } return ClientOpenConnections{i}, nil } @@ -488,6 +513,11 @@ type ClientRequestBodySize struct { metric.Int64Histogram } +var newClientRequestBodySizeOpts = []metric.Int64HistogramOption{ + metric.WithDescription("Size of HTTP client request bodies."), + metric.WithUnit("By"), +} + // NewClientRequestBodySize returns a new ClientRequestBodySize instrument. func NewClientRequestBodySize( m metric.Meter, @@ -498,15 +528,18 @@ func NewClientRequestBodySize( return ClientRequestBodySize{noop.Int64Histogram{}}, nil } + if len(opt) == 0 { + opt = newClientRequestBodySizeOpts + } else { + opt = append(opt, newClientRequestBodySizeOpts...) + } + i, err := m.Int64Histogram( "http.client.request.body.size", - append([]metric.Int64HistogramOption{ - metric.WithDescription("Size of HTTP client request bodies."), - metric.WithUnit("By"), - }, opt...)..., + opt..., ) if err != nil { - return ClientRequestBodySize{noop.Int64Histogram{}}, err + return ClientRequestBodySize{noop.Int64Histogram{}}, err } return ClientRequestBodySize{i}, nil } @@ -593,6 +626,7 @@ func (m ClientRequestBodySize) Record( func (m ClientRequestBodySize) RecordSet(ctx context.Context, val int64, set attribute.Set) { if set.Len() == 0 { m.Int64Histogram.Record(ctx, val) + return } o := recOptPool.Get().(*[]metric.RecordOption) @@ -662,6 +696,11 @@ type ClientRequestDuration struct { metric.Float64Histogram } +var newClientRequestDurationOpts = []metric.Float64HistogramOption{ + metric.WithDescription("Duration of HTTP client requests."), + metric.WithUnit("s"), +} + // NewClientRequestDuration returns a new ClientRequestDuration instrument. func NewClientRequestDuration( m metric.Meter, @@ -672,15 +711,18 @@ func NewClientRequestDuration( return ClientRequestDuration{noop.Float64Histogram{}}, nil } + if len(opt) == 0 { + opt = newClientRequestDurationOpts + } else { + opt = append(opt, newClientRequestDurationOpts...) + } + i, err := m.Float64Histogram( "http.client.request.duration", - append([]metric.Float64HistogramOption{ - metric.WithDescription("Duration of HTTP client requests."), - metric.WithUnit("s"), - }, opt...)..., + opt..., ) if err != nil { - return ClientRequestDuration{noop.Float64Histogram{}}, err + return ClientRequestDuration{noop.Float64Histogram{}}, err } return ClientRequestDuration{i}, nil } @@ -753,6 +795,7 @@ func (m ClientRequestDuration) Record( func (m ClientRequestDuration) RecordSet(ctx context.Context, val float64, set attribute.Set) { if set.Len() == 0 { m.Float64Histogram.Record(ctx, val) + return } o := recOptPool.Get().(*[]metric.RecordOption) @@ -822,6 +865,11 @@ type ClientResponseBodySize struct { metric.Int64Histogram } +var newClientResponseBodySizeOpts = []metric.Int64HistogramOption{ + metric.WithDescription("Size of HTTP client response bodies."), + metric.WithUnit("By"), +} + // NewClientResponseBodySize returns a new ClientResponseBodySize instrument. func NewClientResponseBodySize( m metric.Meter, @@ -832,15 +880,18 @@ func NewClientResponseBodySize( return ClientResponseBodySize{noop.Int64Histogram{}}, nil } + if len(opt) == 0 { + opt = newClientResponseBodySizeOpts + } else { + opt = append(opt, newClientResponseBodySizeOpts...) + } + i, err := m.Int64Histogram( "http.client.response.body.size", - append([]metric.Int64HistogramOption{ - metric.WithDescription("Size of HTTP client response bodies."), - metric.WithUnit("By"), - }, opt...)..., + opt..., ) if err != nil { - return ClientResponseBodySize{noop.Int64Histogram{}}, err + return ClientResponseBodySize{noop.Int64Histogram{}}, err } return ClientResponseBodySize{i}, nil } @@ -927,6 +978,7 @@ func (m ClientResponseBodySize) Record( func (m ClientResponseBodySize) RecordSet(ctx context.Context, val int64, set attribute.Set) { if set.Len() == 0 { m.Int64Histogram.Record(ctx, val) + return } o := recOptPool.Get().(*[]metric.RecordOption) @@ -996,6 +1048,11 @@ type ServerActiveRequests struct { metric.Int64UpDownCounter } +var newServerActiveRequestsOpts = []metric.Int64UpDownCounterOption{ + metric.WithDescription("Number of active HTTP server requests."), + metric.WithUnit("{request}"), +} + // NewServerActiveRequests returns a new ServerActiveRequests instrument. func NewServerActiveRequests( m metric.Meter, @@ -1006,15 +1063,18 @@ func NewServerActiveRequests( return ServerActiveRequests{noop.Int64UpDownCounter{}}, nil } + if len(opt) == 0 { + opt = newServerActiveRequestsOpts + } else { + opt = append(opt, newServerActiveRequestsOpts...) + } + i, err := m.Int64UpDownCounter( "http.server.active_requests", - append([]metric.Int64UpDownCounterOption{ - metric.WithDescription("Number of active HTTP server requests."), - metric.WithUnit("{request}"), - }, opt...)..., + opt..., ) if err != nil { - return ServerActiveRequests{noop.Int64UpDownCounter{}}, err + return ServerActiveRequests{noop.Int64UpDownCounter{}}, err } return ServerActiveRequests{i}, nil } @@ -1118,6 +1178,11 @@ type ServerRequestBodySize struct { metric.Int64Histogram } +var newServerRequestBodySizeOpts = []metric.Int64HistogramOption{ + metric.WithDescription("Size of HTTP server request bodies."), + metric.WithUnit("By"), +} + // NewServerRequestBodySize returns a new ServerRequestBodySize instrument. func NewServerRequestBodySize( m metric.Meter, @@ -1128,15 +1193,18 @@ func NewServerRequestBodySize( return ServerRequestBodySize{noop.Int64Histogram{}}, nil } + if len(opt) == 0 { + opt = newServerRequestBodySizeOpts + } else { + opt = append(opt, newServerRequestBodySizeOpts...) + } + i, err := m.Int64Histogram( "http.server.request.body.size", - append([]metric.Int64HistogramOption{ - metric.WithDescription("Size of HTTP server request bodies."), - metric.WithUnit("By"), - }, opt...)..., + opt..., ) if err != nil { - return ServerRequestBodySize{noop.Int64Histogram{}}, err + return ServerRequestBodySize{noop.Int64Histogram{}}, err } return ServerRequestBodySize{i}, nil } @@ -1220,6 +1288,7 @@ func (m ServerRequestBodySize) Record( func (m ServerRequestBodySize) RecordSet(ctx context.Context, val int64, set attribute.Set) { if set.Len() == 0 { m.Int64Histogram.Record(ctx, val) + return } o := recOptPool.Get().(*[]metric.RecordOption) @@ -1299,6 +1368,11 @@ type ServerRequestDuration struct { metric.Float64Histogram } +var newServerRequestDurationOpts = []metric.Float64HistogramOption{ + metric.WithDescription("Duration of HTTP server requests."), + metric.WithUnit("s"), +} + // NewServerRequestDuration returns a new ServerRequestDuration instrument. func NewServerRequestDuration( m metric.Meter, @@ -1309,15 +1383,18 @@ func NewServerRequestDuration( return ServerRequestDuration{noop.Float64Histogram{}}, nil } + if len(opt) == 0 { + opt = newServerRequestDurationOpts + } else { + opt = append(opt, newServerRequestDurationOpts...) + } + i, err := m.Float64Histogram( "http.server.request.duration", - append([]metric.Float64HistogramOption{ - metric.WithDescription("Duration of HTTP server requests."), - metric.WithUnit("s"), - }, opt...)..., + opt..., ) if err != nil { - return ServerRequestDuration{noop.Float64Histogram{}}, err + return ServerRequestDuration{noop.Float64Histogram{}}, err } return ServerRequestDuration{i}, nil } @@ -1387,6 +1464,7 @@ func (m ServerRequestDuration) Record( func (m ServerRequestDuration) RecordSet(ctx context.Context, val float64, set attribute.Set) { if set.Len() == 0 { m.Float64Histogram.Record(ctx, val) + return } o := recOptPool.Get().(*[]metric.RecordOption) @@ -1466,6 +1544,11 @@ type ServerResponseBodySize struct { metric.Int64Histogram } +var newServerResponseBodySizeOpts = []metric.Int64HistogramOption{ + metric.WithDescription("Size of HTTP server response bodies."), + metric.WithUnit("By"), +} + // NewServerResponseBodySize returns a new ServerResponseBodySize instrument. func NewServerResponseBodySize( m metric.Meter, @@ -1476,15 +1559,18 @@ func NewServerResponseBodySize( return ServerResponseBodySize{noop.Int64Histogram{}}, nil } + if len(opt) == 0 { + opt = newServerResponseBodySizeOpts + } else { + opt = append(opt, newServerResponseBodySizeOpts...) + } + i, err := m.Int64Histogram( "http.server.response.body.size", - append([]metric.Int64HistogramOption{ - metric.WithDescription("Size of HTTP server response bodies."), - metric.WithUnit("By"), - }, opt...)..., + opt..., ) if err != nil { - return ServerResponseBodySize{noop.Int64Histogram{}}, err + return ServerResponseBodySize{noop.Int64Histogram{}}, err } return ServerResponseBodySize{i}, nil } @@ -1568,6 +1654,7 @@ func (m ServerResponseBodySize) Record( func (m ServerResponseBodySize) RecordSet(ctx context.Context, val int64, set attribute.Set) { if set.Len() == 0 { m.Int64Histogram.Record(ctx, val) + return } o := recOptPool.Get().(*[]metric.RecordOption) @@ -1638,4 +1725,4 @@ func (ServerResponseBodySize) AttrServerPort(val int) attribute.KeyValue { // the category of synthetic traffic, such as tests or bots. func (ServerResponseBodySize) AttrUserAgentSyntheticType(val UserAgentSyntheticTypeAttr) attribute.KeyValue { return attribute.String("user_agent.synthetic.type", string(val)) -} \ No newline at end of file +} diff --git a/vendor/go.opentelemetry.io/otel/semconv/v1.37.0/rpcconv/metric.go b/vendor/go.opentelemetry.io/otel/semconv/v1.37.0/rpcconv/metric.go index 146b7eda62..089b0c457f 100644 --- a/vendor/go.opentelemetry.io/otel/semconv/v1.37.0/rpcconv/metric.go +++ b/vendor/go.opentelemetry.io/otel/semconv/v1.37.0/rpcconv/metric.go @@ -3,7 +3,7 @@ // Copyright The OpenTelemetry Authors // SPDX-License-Identifier: Apache-2.0 -// Package httpconv provides types and functionality for OpenTelemetry semantic +// Package rpcconv provides types and functionality for OpenTelemetry semantic // conventions in the "rpc" namespace. package rpcconv @@ -28,6 +28,11 @@ type ClientDuration struct { metric.Float64Histogram } +var newClientDurationOpts = []metric.Float64HistogramOption{ + metric.WithDescription("Measures the duration of outbound RPC."), + metric.WithUnit("ms"), +} + // NewClientDuration returns a new ClientDuration instrument. func NewClientDuration( m metric.Meter, @@ -38,15 +43,18 @@ func NewClientDuration( return ClientDuration{noop.Float64Histogram{}}, nil } + if len(opt) == 0 { + opt = newClientDurationOpts + } else { + opt = append(opt, newClientDurationOpts...) + } + i, err := m.Float64Histogram( "rpc.client.duration", - append([]metric.Float64HistogramOption{ - metric.WithDescription("Measures the duration of outbound RPC."), - metric.WithUnit("ms"), - }, opt...)..., + opt..., ) if err != nil { - return ClientDuration{noop.Float64Histogram{}}, err + return ClientDuration{noop.Float64Histogram{}}, err } return ClientDuration{i}, nil } @@ -102,6 +110,7 @@ func (m ClientDuration) Record(ctx context.Context, val float64, attrs ...attrib func (m ClientDuration) RecordSet(ctx context.Context, val float64, set attribute.Set) { if set.Len() == 0 { m.Float64Histogram.Record(ctx, val) + return } o := recOptPool.Get().(*[]metric.RecordOption) @@ -121,6 +130,11 @@ type ClientRequestSize struct { metric.Int64Histogram } +var newClientRequestSizeOpts = []metric.Int64HistogramOption{ + metric.WithDescription("Measures the size of RPC request messages (uncompressed)."), + metric.WithUnit("By"), +} + // NewClientRequestSize returns a new ClientRequestSize instrument. func NewClientRequestSize( m metric.Meter, @@ -131,15 +145,18 @@ func NewClientRequestSize( return ClientRequestSize{noop.Int64Histogram{}}, nil } + if len(opt) == 0 { + opt = newClientRequestSizeOpts + } else { + opt = append(opt, newClientRequestSizeOpts...) + } + i, err := m.Int64Histogram( "rpc.client.request.size", - append([]metric.Int64HistogramOption{ - metric.WithDescription("Measures the size of RPC request messages (uncompressed)."), - metric.WithUnit("By"), - }, opt...)..., + opt..., ) if err != nil { - return ClientRequestSize{noop.Int64Histogram{}}, err + return ClientRequestSize{noop.Int64Histogram{}}, err } return ClientRequestSize{i}, nil } @@ -189,6 +206,7 @@ func (m ClientRequestSize) Record(ctx context.Context, val int64, attrs ...attri func (m ClientRequestSize) RecordSet(ctx context.Context, val int64, set attribute.Set) { if set.Len() == 0 { m.Int64Histogram.Record(ctx, val) + return } o := recOptPool.Get().(*[]metric.RecordOption) @@ -208,6 +226,11 @@ type ClientRequestsPerRPC struct { metric.Int64Histogram } +var newClientRequestsPerRPCOpts = []metric.Int64HistogramOption{ + metric.WithDescription("Measures the number of messages received per RPC."), + metric.WithUnit("{count}"), +} + // NewClientRequestsPerRPC returns a new ClientRequestsPerRPC instrument. func NewClientRequestsPerRPC( m metric.Meter, @@ -218,15 +241,18 @@ func NewClientRequestsPerRPC( return ClientRequestsPerRPC{noop.Int64Histogram{}}, nil } + if len(opt) == 0 { + opt = newClientRequestsPerRPCOpts + } else { + opt = append(opt, newClientRequestsPerRPCOpts...) + } + i, err := m.Int64Histogram( "rpc.client.requests_per_rpc", - append([]metric.Int64HistogramOption{ - metric.WithDescription("Measures the number of messages received per RPC."), - metric.WithUnit("{count}"), - }, opt...)..., + opt..., ) if err != nil { - return ClientRequestsPerRPC{noop.Int64Histogram{}}, err + return ClientRequestsPerRPC{noop.Int64Histogram{}}, err } return ClientRequestsPerRPC{i}, nil } @@ -280,6 +306,7 @@ func (m ClientRequestsPerRPC) Record(ctx context.Context, val int64, attrs ...at func (m ClientRequestsPerRPC) RecordSet(ctx context.Context, val int64, set attribute.Set) { if set.Len() == 0 { m.Int64Histogram.Record(ctx, val) + return } o := recOptPool.Get().(*[]metric.RecordOption) @@ -299,6 +326,11 @@ type ClientResponseSize struct { metric.Int64Histogram } +var newClientResponseSizeOpts = []metric.Int64HistogramOption{ + metric.WithDescription("Measures the size of RPC response messages (uncompressed)."), + metric.WithUnit("By"), +} + // NewClientResponseSize returns a new ClientResponseSize instrument. func NewClientResponseSize( m metric.Meter, @@ -309,15 +341,18 @@ func NewClientResponseSize( return ClientResponseSize{noop.Int64Histogram{}}, nil } + if len(opt) == 0 { + opt = newClientResponseSizeOpts + } else { + opt = append(opt, newClientResponseSizeOpts...) + } + i, err := m.Int64Histogram( "rpc.client.response.size", - append([]metric.Int64HistogramOption{ - metric.WithDescription("Measures the size of RPC response messages (uncompressed)."), - metric.WithUnit("By"), - }, opt...)..., + opt..., ) if err != nil { - return ClientResponseSize{noop.Int64Histogram{}}, err + return ClientResponseSize{noop.Int64Histogram{}}, err } return ClientResponseSize{i}, nil } @@ -367,6 +402,7 @@ func (m ClientResponseSize) Record(ctx context.Context, val int64, attrs ...attr func (m ClientResponseSize) RecordSet(ctx context.Context, val int64, set attribute.Set) { if set.Len() == 0 { m.Int64Histogram.Record(ctx, val) + return } o := recOptPool.Get().(*[]metric.RecordOption) @@ -386,6 +422,11 @@ type ClientResponsesPerRPC struct { metric.Int64Histogram } +var newClientResponsesPerRPCOpts = []metric.Int64HistogramOption{ + metric.WithDescription("Measures the number of messages sent per RPC."), + metric.WithUnit("{count}"), +} + // NewClientResponsesPerRPC returns a new ClientResponsesPerRPC instrument. func NewClientResponsesPerRPC( m metric.Meter, @@ -396,15 +437,18 @@ func NewClientResponsesPerRPC( return ClientResponsesPerRPC{noop.Int64Histogram{}}, nil } + if len(opt) == 0 { + opt = newClientResponsesPerRPCOpts + } else { + opt = append(opt, newClientResponsesPerRPCOpts...) + } + i, err := m.Int64Histogram( "rpc.client.responses_per_rpc", - append([]metric.Int64HistogramOption{ - metric.WithDescription("Measures the number of messages sent per RPC."), - metric.WithUnit("{count}"), - }, opt...)..., + opt..., ) if err != nil { - return ClientResponsesPerRPC{noop.Int64Histogram{}}, err + return ClientResponsesPerRPC{noop.Int64Histogram{}}, err } return ClientResponsesPerRPC{i}, nil } @@ -458,6 +502,7 @@ func (m ClientResponsesPerRPC) Record(ctx context.Context, val int64, attrs ...a func (m ClientResponsesPerRPC) RecordSet(ctx context.Context, val int64, set attribute.Set) { if set.Len() == 0 { m.Int64Histogram.Record(ctx, val) + return } o := recOptPool.Get().(*[]metric.RecordOption) @@ -477,6 +522,11 @@ type ServerDuration struct { metric.Float64Histogram } +var newServerDurationOpts = []metric.Float64HistogramOption{ + metric.WithDescription("Measures the duration of inbound RPC."), + metric.WithUnit("ms"), +} + // NewServerDuration returns a new ServerDuration instrument. func NewServerDuration( m metric.Meter, @@ -487,15 +537,18 @@ func NewServerDuration( return ServerDuration{noop.Float64Histogram{}}, nil } + if len(opt) == 0 { + opt = newServerDurationOpts + } else { + opt = append(opt, newServerDurationOpts...) + } + i, err := m.Float64Histogram( "rpc.server.duration", - append([]metric.Float64HistogramOption{ - metric.WithDescription("Measures the duration of inbound RPC."), - metric.WithUnit("ms"), - }, opt...)..., + opt..., ) if err != nil { - return ServerDuration{noop.Float64Histogram{}}, err + return ServerDuration{noop.Float64Histogram{}}, err } return ServerDuration{i}, nil } @@ -551,6 +604,7 @@ func (m ServerDuration) Record(ctx context.Context, val float64, attrs ...attrib func (m ServerDuration) RecordSet(ctx context.Context, val float64, set attribute.Set) { if set.Len() == 0 { m.Float64Histogram.Record(ctx, val) + return } o := recOptPool.Get().(*[]metric.RecordOption) @@ -570,6 +624,11 @@ type ServerRequestSize struct { metric.Int64Histogram } +var newServerRequestSizeOpts = []metric.Int64HistogramOption{ + metric.WithDescription("Measures the size of RPC request messages (uncompressed)."), + metric.WithUnit("By"), +} + // NewServerRequestSize returns a new ServerRequestSize instrument. func NewServerRequestSize( m metric.Meter, @@ -580,15 +639,18 @@ func NewServerRequestSize( return ServerRequestSize{noop.Int64Histogram{}}, nil } + if len(opt) == 0 { + opt = newServerRequestSizeOpts + } else { + opt = append(opt, newServerRequestSizeOpts...) + } + i, err := m.Int64Histogram( "rpc.server.request.size", - append([]metric.Int64HistogramOption{ - metric.WithDescription("Measures the size of RPC request messages (uncompressed)."), - metric.WithUnit("By"), - }, opt...)..., + opt..., ) if err != nil { - return ServerRequestSize{noop.Int64Histogram{}}, err + return ServerRequestSize{noop.Int64Histogram{}}, err } return ServerRequestSize{i}, nil } @@ -638,6 +700,7 @@ func (m ServerRequestSize) Record(ctx context.Context, val int64, attrs ...attri func (m ServerRequestSize) RecordSet(ctx context.Context, val int64, set attribute.Set) { if set.Len() == 0 { m.Int64Histogram.Record(ctx, val) + return } o := recOptPool.Get().(*[]metric.RecordOption) @@ -657,6 +720,11 @@ type ServerRequestsPerRPC struct { metric.Int64Histogram } +var newServerRequestsPerRPCOpts = []metric.Int64HistogramOption{ + metric.WithDescription("Measures the number of messages received per RPC."), + metric.WithUnit("{count}"), +} + // NewServerRequestsPerRPC returns a new ServerRequestsPerRPC instrument. func NewServerRequestsPerRPC( m metric.Meter, @@ -667,15 +735,18 @@ func NewServerRequestsPerRPC( return ServerRequestsPerRPC{noop.Int64Histogram{}}, nil } + if len(opt) == 0 { + opt = newServerRequestsPerRPCOpts + } else { + opt = append(opt, newServerRequestsPerRPCOpts...) + } + i, err := m.Int64Histogram( "rpc.server.requests_per_rpc", - append([]metric.Int64HistogramOption{ - metric.WithDescription("Measures the number of messages received per RPC."), - metric.WithUnit("{count}"), - }, opt...)..., + opt..., ) if err != nil { - return ServerRequestsPerRPC{noop.Int64Histogram{}}, err + return ServerRequestsPerRPC{noop.Int64Histogram{}}, err } return ServerRequestsPerRPC{i}, nil } @@ -729,6 +800,7 @@ func (m ServerRequestsPerRPC) Record(ctx context.Context, val int64, attrs ...at func (m ServerRequestsPerRPC) RecordSet(ctx context.Context, val int64, set attribute.Set) { if set.Len() == 0 { m.Int64Histogram.Record(ctx, val) + return } o := recOptPool.Get().(*[]metric.RecordOption) @@ -748,6 +820,11 @@ type ServerResponseSize struct { metric.Int64Histogram } +var newServerResponseSizeOpts = []metric.Int64HistogramOption{ + metric.WithDescription("Measures the size of RPC response messages (uncompressed)."), + metric.WithUnit("By"), +} + // NewServerResponseSize returns a new ServerResponseSize instrument. func NewServerResponseSize( m metric.Meter, @@ -758,15 +835,18 @@ func NewServerResponseSize( return ServerResponseSize{noop.Int64Histogram{}}, nil } + if len(opt) == 0 { + opt = newServerResponseSizeOpts + } else { + opt = append(opt, newServerResponseSizeOpts...) + } + i, err := m.Int64Histogram( "rpc.server.response.size", - append([]metric.Int64HistogramOption{ - metric.WithDescription("Measures the size of RPC response messages (uncompressed)."), - metric.WithUnit("By"), - }, opt...)..., + opt..., ) if err != nil { - return ServerResponseSize{noop.Int64Histogram{}}, err + return ServerResponseSize{noop.Int64Histogram{}}, err } return ServerResponseSize{i}, nil } @@ -816,6 +896,7 @@ func (m ServerResponseSize) Record(ctx context.Context, val int64, attrs ...attr func (m ServerResponseSize) RecordSet(ctx context.Context, val int64, set attribute.Set) { if set.Len() == 0 { m.Int64Histogram.Record(ctx, val) + return } o := recOptPool.Get().(*[]metric.RecordOption) @@ -835,6 +916,11 @@ type ServerResponsesPerRPC struct { metric.Int64Histogram } +var newServerResponsesPerRPCOpts = []metric.Int64HistogramOption{ + metric.WithDescription("Measures the number of messages sent per RPC."), + metric.WithUnit("{count}"), +} + // NewServerResponsesPerRPC returns a new ServerResponsesPerRPC instrument. func NewServerResponsesPerRPC( m metric.Meter, @@ -845,15 +931,18 @@ func NewServerResponsesPerRPC( return ServerResponsesPerRPC{noop.Int64Histogram{}}, nil } + if len(opt) == 0 { + opt = newServerResponsesPerRPCOpts + } else { + opt = append(opt, newServerResponsesPerRPCOpts...) + } + i, err := m.Int64Histogram( "rpc.server.responses_per_rpc", - append([]metric.Int64HistogramOption{ - metric.WithDescription("Measures the number of messages sent per RPC."), - metric.WithUnit("{count}"), - }, opt...)..., + opt..., ) if err != nil { - return ServerResponsesPerRPC{noop.Int64Histogram{}}, err + return ServerResponsesPerRPC{noop.Int64Histogram{}}, err } return ServerResponsesPerRPC{i}, nil } @@ -907,6 +996,7 @@ func (m ServerResponsesPerRPC) Record(ctx context.Context, val int64, attrs ...a func (m ServerResponsesPerRPC) RecordSet(ctx context.Context, val int64, set attribute.Set) { if set.Len() == 0 { m.Int64Histogram.Record(ctx, val) + return } o := recOptPool.Get().(*[]metric.RecordOption) @@ -917,4 +1007,4 @@ func (m ServerResponsesPerRPC) RecordSet(ctx context.Context, val int64, set att *o = append(*o, metric.WithAttributeSet(set)) m.Int64Histogram.Record(ctx, val, *o...) -} \ No newline at end of file +} diff --git a/vendor/go.opentelemetry.io/otel/semconv/v1.39.0/MIGRATION.md b/vendor/go.opentelemetry.io/otel/semconv/v1.39.0/MIGRATION.md new file mode 100644 index 0000000000..fed7013e6f --- /dev/null +++ b/vendor/go.opentelemetry.io/otel/semconv/v1.39.0/MIGRATION.md @@ -0,0 +1,78 @@ + +# Migration from v1.38.0 to v1.39.0 + +The `go.opentelemetry.io/otel/semconv/v1.39.0` package should be a drop-in replacement for `go.opentelemetry.io/otel/semconv/v1.38.0` with the following exceptions. + +## Removed + +The following declarations have been removed. +Refer to the [OpenTelemetry Semantic Conventions documentation] for deprecation instructions. + +If the type is not listed in the documentation as deprecated, it has been removed in this version due to lack of applicability or use. +If you use any of these non-deprecated declarations in your Go application, please [open an issue] describing your use-case. + +- `LinuxMemorySlabStateKey` +- `LinuxMemorySlabStateReclaimable` +- `LinuxMemorySlabStateUnreclaimable` +- `PeerService` +- `PeerServiceKey` +- `RPCConnectRPCErrorCodeAborted` +- `RPCConnectRPCErrorCodeAlreadyExists` +- `RPCConnectRPCErrorCodeCancelled` +- `RPCConnectRPCErrorCodeDataLoss` +- `RPCConnectRPCErrorCodeDeadlineExceeded` +- `RPCConnectRPCErrorCodeFailedPrecondition` +- `RPCConnectRPCErrorCodeInternal` +- `RPCConnectRPCErrorCodeInvalidArgument` +- `RPCConnectRPCErrorCodeKey` +- `RPCConnectRPCErrorCodeNotFound` +- `RPCConnectRPCErrorCodeOutOfRange` +- `RPCConnectRPCErrorCodePermissionDenied` +- `RPCConnectRPCErrorCodeResourceExhausted` +- `RPCConnectRPCErrorCodeUnauthenticated` +- `RPCConnectRPCErrorCodeUnavailable` +- `RPCConnectRPCErrorCodeUnimplemented` +- `RPCConnectRPCErrorCodeUnknown` +- `RPCConnectRPCRequestMetadata` +- `RPCConnectRPCResponseMetadata` +- `RPCGRPCRequestMetadata` +- `RPCGRPCResponseMetadata` +- `RPCGRPCStatusCodeAborted` +- `RPCGRPCStatusCodeAlreadyExists` +- `RPCGRPCStatusCodeCancelled` +- `RPCGRPCStatusCodeDataLoss` +- `RPCGRPCStatusCodeDeadlineExceeded` +- `RPCGRPCStatusCodeFailedPrecondition` +- `RPCGRPCStatusCodeInternal` +- `RPCGRPCStatusCodeInvalidArgument` +- `RPCGRPCStatusCodeKey` +- `RPCGRPCStatusCodeNotFound` +- `RPCGRPCStatusCodeOk` +- `RPCGRPCStatusCodeOutOfRange` +- `RPCGRPCStatusCodePermissionDenied` +- `RPCGRPCStatusCodeResourceExhausted` +- `RPCGRPCStatusCodeUnauthenticated` +- `RPCGRPCStatusCodeUnavailable` +- `RPCGRPCStatusCodeUnimplemented` +- `RPCGRPCStatusCodeUnknown` +- `RPCJSONRPCErrorCode` +- `RPCJSONRPCErrorCodeKey` +- `RPCJSONRPCErrorMessage` +- `RPCJSONRPCErrorMessageKey` +- `RPCJSONRPCRequestID` +- `RPCJSONRPCRequestIDKey` +- `RPCJSONRPCVersion` +- `RPCJSONRPCVersionKey` +- `RPCService` +- `RPCServiceKey` +- `RPCSystemApacheDubbo` +- `RPCSystemConnectRPC` +- `RPCSystemDotnetWcf` +- `RPCSystemGRPC` +- `RPCSystemJSONRPC` +- `RPCSystemJavaRmi` +- `RPCSystemKey` +- `RPCSystemOncRPC` + +[OpenTelemetry Semantic Conventions documentation]: https://github.com/open-telemetry/semantic-conventions +[open an issue]: https://github.com/open-telemetry/opentelemetry-go/issues/new?template=Blank+issue diff --git a/vendor/go.opentelemetry.io/otel/semconv/v1.39.0/README.md b/vendor/go.opentelemetry.io/otel/semconv/v1.39.0/README.md new file mode 100644 index 0000000000..4b0e6f7f3e --- /dev/null +++ b/vendor/go.opentelemetry.io/otel/semconv/v1.39.0/README.md @@ -0,0 +1,3 @@ +# Semconv v1.39.0 + +[![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/semconv/v1.39.0)](https://pkg.go.dev/go.opentelemetry.io/otel/semconv/v1.39.0) diff --git a/vendor/go.opentelemetry.io/otel/semconv/v1.39.0/attribute_group.go b/vendor/go.opentelemetry.io/otel/semconv/v1.39.0/attribute_group.go new file mode 100644 index 0000000000..080365fc19 --- /dev/null +++ b/vendor/go.opentelemetry.io/otel/semconv/v1.39.0/attribute_group.go @@ -0,0 +1,16239 @@ +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +// Code generated from semantic convention specification. DO NOT EDIT. + +package semconv // import "go.opentelemetry.io/otel/semconv/v1.39.0" + +import "go.opentelemetry.io/otel/attribute" + +// Namespace: android +const ( + // AndroidAppStateKey is the attribute Key conforming to the "android.app.state" + // semantic conventions. It represents the this attribute represents the state + // of the application. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "created" + // Note: The Android lifecycle states are defined in + // [Activity lifecycle callbacks], and from which the `OS identifiers` are + // derived. + // + // [Activity lifecycle callbacks]: https://developer.android.com/guide/components/activities/activity-lifecycle#lc + AndroidAppStateKey = attribute.Key("android.app.state") + + // AndroidOSAPILevelKey is the attribute Key conforming to the + // "android.os.api_level" semantic conventions. It represents the uniquely + // identifies the framework API revision offered by a version (`os.version`) of + // the android operating system. More information can be found in the + // [Android API levels documentation]. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "33", "32" + // + // [Android API levels documentation]: https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels + AndroidOSAPILevelKey = attribute.Key("android.os.api_level") +) + +// AndroidOSAPILevel returns an attribute KeyValue conforming to the +// "android.os.api_level" semantic conventions. It represents the uniquely +// identifies the framework API revision offered by a version (`os.version`) of +// the android operating system. More information can be found in the +// [Android API levels documentation]. +// +// [Android API levels documentation]: https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels +func AndroidOSAPILevel(val string) attribute.KeyValue { + return AndroidOSAPILevelKey.String(val) +} + +// Enum values for android.app.state +var ( + // Any time before Activity.onResume() or, if the app has no Activity, + // Context.startService() has been called in the app for the first time. + // + // Stability: development + AndroidAppStateCreated = AndroidAppStateKey.String("created") + // Any time after Activity.onPause() or, if the app has no Activity, + // Context.stopService() has been called when the app was in the foreground + // state. + // + // Stability: development + AndroidAppStateBackground = AndroidAppStateKey.String("background") + // Any time after Activity.onResume() or, if the app has no Activity, + // Context.startService() has been called when the app was in either the created + // or background states. + // + // Stability: development + AndroidAppStateForeground = AndroidAppStateKey.String("foreground") +) + +// Namespace: app +const ( + // AppBuildIDKey is the attribute Key conforming to the "app.build_id" semantic + // conventions. It represents the unique identifier for a particular build or + // compilation of the application. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "6cff0a7e-cefc-4668-96f5-1273d8b334d0", + // "9f2b833506aa6973a92fde9733e6271f", "my-app-1.0.0-code-123" + AppBuildIDKey = attribute.Key("app.build_id") + + // AppInstallationIDKey is the attribute Key conforming to the + // "app.installation.id" semantic conventions. It represents a unique identifier + // representing the installation of an application on a specific device. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "2ab2916d-a51f-4ac8-80ee-45ac31a28092" + // Note: Its value SHOULD persist across launches of the same application + // installation, including through application upgrades. + // It SHOULD change if the application is uninstalled or if all applications of + // the vendor are uninstalled. + // Additionally, users might be able to reset this value (e.g. by clearing + // application data). + // If an app is installed multiple times on the same device (e.g. in different + // accounts on Android), each `app.installation.id` SHOULD have a different + // value. + // If multiple OpenTelemetry SDKs are used within the same application, they + // SHOULD use the same value for `app.installation.id`. + // Hardware IDs (e.g. serial number, IMEI, MAC address) MUST NOT be used as the + // `app.installation.id`. + // + // For iOS, this value SHOULD be equal to the [vendor identifier]. + // + // For Android, examples of `app.installation.id` implementations include: + // + // - [Firebase Installation ID]. + // - A globally unique UUID which is persisted across sessions in your + // application. + // - [App set ID]. + // - [`Settings.getString(Settings.Secure.ANDROID_ID)`]. + // + // More information about Android identifier best practices can be found in the + // [Android user data IDs guide]. + // + // [vendor identifier]: https://developer.apple.com/documentation/uikit/uidevice/identifierforvendor + // [Firebase Installation ID]: https://firebase.google.com/docs/projects/manage-installations + // [App set ID]: https://developer.android.com/identity/app-set-id + // [`Settings.getString(Settings.Secure.ANDROID_ID)`]: https://developer.android.com/reference/android/provider/Settings.Secure#ANDROID_ID + // [Android user data IDs guide]: https://developer.android.com/training/articles/user-data-ids + AppInstallationIDKey = attribute.Key("app.installation.id") + + // AppJankFrameCountKey is the attribute Key conforming to the + // "app.jank.frame_count" semantic conventions. It represents a number of frame + // renders that experienced jank. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 9, 42 + // Note: Depending on platform limitations, the value provided MAY be + // approximation. + AppJankFrameCountKey = attribute.Key("app.jank.frame_count") + + // AppJankPeriodKey is the attribute Key conforming to the "app.jank.period" + // semantic conventions. It represents the time period, in seconds, for which + // this jank is being reported. + // + // Type: double + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 1.0, 5.0, 10.24 + AppJankPeriodKey = attribute.Key("app.jank.period") + + // AppJankThresholdKey is the attribute Key conforming to the + // "app.jank.threshold" semantic conventions. It represents the minimum + // rendering threshold for this jank, in seconds. + // + // Type: double + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 0.016, 0.7, 1.024 + AppJankThresholdKey = attribute.Key("app.jank.threshold") + + // AppScreenCoordinateXKey is the attribute Key conforming to the + // "app.screen.coordinate.x" semantic conventions. It represents the x + // (horizontal) coordinate of a screen coordinate, in screen pixels. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 0, 131 + AppScreenCoordinateXKey = attribute.Key("app.screen.coordinate.x") + + // AppScreenCoordinateYKey is the attribute Key conforming to the + // "app.screen.coordinate.y" semantic conventions. It represents the y + // (vertical) component of a screen coordinate, in screen pixels. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 12, 99 + AppScreenCoordinateYKey = attribute.Key("app.screen.coordinate.y") + + // AppScreenIDKey is the attribute Key conforming to the "app.screen.id" + // semantic conventions. It represents an identifier that uniquely + // differentiates this screen from other screens in the same application. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "f9bc787d-ff05-48ad-90e1-fca1d46130b3", + // "com.example.app.MainActivity", "com.example.shop.ProductDetailFragment", + // "MyApp.ProfileView", "MyApp.ProfileViewController" + // Note: A screen represents only the part of the device display drawn by the + // app. It typically contains multiple widgets or UI components and is larger in + // scope than individual widgets. Multiple screens can coexist on the same + // display simultaneously (e.g., split view on tablets). + AppScreenIDKey = attribute.Key("app.screen.id") + + // AppScreenNameKey is the attribute Key conforming to the "app.screen.name" + // semantic conventions. It represents the name of an application screen. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "MainActivity", "ProductDetailFragment", "ProfileView", + // "ProfileViewController" + // Note: A screen represents only the part of the device display drawn by the + // app. It typically contains multiple widgets or UI components and is larger in + // scope than individual widgets. Multiple screens can coexist on the same + // display simultaneously (e.g., split view on tablets). + AppScreenNameKey = attribute.Key("app.screen.name") + + // AppWidgetIDKey is the attribute Key conforming to the "app.widget.id" + // semantic conventions. It represents an identifier that uniquely + // differentiates this widget from other widgets in the same application. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "f9bc787d-ff05-48ad-90e1-fca1d46130b3", "submit_order_1829" + // Note: A widget is an application component, typically an on-screen visual GUI + // element. + AppWidgetIDKey = attribute.Key("app.widget.id") + + // AppWidgetNameKey is the attribute Key conforming to the "app.widget.name" + // semantic conventions. It represents the name of an application widget. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "submit", "attack", "Clear Cart" + // Note: A widget is an application component, typically an on-screen visual GUI + // element. + AppWidgetNameKey = attribute.Key("app.widget.name") +) + +// AppBuildID returns an attribute KeyValue conforming to the "app.build_id" +// semantic conventions. It represents the unique identifier for a particular +// build or compilation of the application. +func AppBuildID(val string) attribute.KeyValue { + return AppBuildIDKey.String(val) +} + +// AppInstallationID returns an attribute KeyValue conforming to the +// "app.installation.id" semantic conventions. It represents a unique identifier +// representing the installation of an application on a specific device. +func AppInstallationID(val string) attribute.KeyValue { + return AppInstallationIDKey.String(val) +} + +// AppJankFrameCount returns an attribute KeyValue conforming to the +// "app.jank.frame_count" semantic conventions. It represents a number of frame +// renders that experienced jank. +func AppJankFrameCount(val int) attribute.KeyValue { + return AppJankFrameCountKey.Int(val) +} + +// AppJankPeriod returns an attribute KeyValue conforming to the +// "app.jank.period" semantic conventions. It represents the time period, in +// seconds, for which this jank is being reported. +func AppJankPeriod(val float64) attribute.KeyValue { + return AppJankPeriodKey.Float64(val) +} + +// AppJankThreshold returns an attribute KeyValue conforming to the +// "app.jank.threshold" semantic conventions. It represents the minimum rendering +// threshold for this jank, in seconds. +func AppJankThreshold(val float64) attribute.KeyValue { + return AppJankThresholdKey.Float64(val) +} + +// AppScreenCoordinateX returns an attribute KeyValue conforming to the +// "app.screen.coordinate.x" semantic conventions. It represents the x +// (horizontal) coordinate of a screen coordinate, in screen pixels. +func AppScreenCoordinateX(val int) attribute.KeyValue { + return AppScreenCoordinateXKey.Int(val) +} + +// AppScreenCoordinateY returns an attribute KeyValue conforming to the +// "app.screen.coordinate.y" semantic conventions. It represents the y (vertical) +// component of a screen coordinate, in screen pixels. +func AppScreenCoordinateY(val int) attribute.KeyValue { + return AppScreenCoordinateYKey.Int(val) +} + +// AppScreenID returns an attribute KeyValue conforming to the "app.screen.id" +// semantic conventions. It represents an identifier that uniquely differentiates +// this screen from other screens in the same application. +func AppScreenID(val string) attribute.KeyValue { + return AppScreenIDKey.String(val) +} + +// AppScreenName returns an attribute KeyValue conforming to the +// "app.screen.name" semantic conventions. It represents the name of an +// application screen. +func AppScreenName(val string) attribute.KeyValue { + return AppScreenNameKey.String(val) +} + +// AppWidgetID returns an attribute KeyValue conforming to the "app.widget.id" +// semantic conventions. It represents an identifier that uniquely differentiates +// this widget from other widgets in the same application. +func AppWidgetID(val string) attribute.KeyValue { + return AppWidgetIDKey.String(val) +} + +// AppWidgetName returns an attribute KeyValue conforming to the +// "app.widget.name" semantic conventions. It represents the name of an +// application widget. +func AppWidgetName(val string) attribute.KeyValue { + return AppWidgetNameKey.String(val) +} + +// Namespace: artifact +const ( + // ArtifactAttestationFilenameKey is the attribute Key conforming to the + // "artifact.attestation.filename" semantic conventions. It represents the + // provenance filename of the built attestation which directly relates to the + // build artifact filename. This filename SHOULD accompany the artifact at + // publish time. See the [SLSA Relationship] specification for more information. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "golang-binary-amd64-v0.1.0.attestation", + // "docker-image-amd64-v0.1.0.intoto.json1", "release-1.tar.gz.attestation", + // "file-name-package.tar.gz.intoto.json1" + // + // [SLSA Relationship]: https://slsa.dev/spec/v1.0/distributing-provenance#relationship-between-artifacts-and-attestations + ArtifactAttestationFilenameKey = attribute.Key("artifact.attestation.filename") + + // ArtifactAttestationHashKey is the attribute Key conforming to the + // "artifact.attestation.hash" semantic conventions. It represents the full + // [hash value (see glossary)], of the built attestation. Some envelopes in the + // [software attestation space] also refer to this as the **digest**. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "1b31dfcd5b7f9267bf2ff47651df1cfb9147b9e4df1f335accf65b4cda498408" + // + // [hash value (see glossary)]: https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf + // [software attestation space]: https://github.com/in-toto/attestation/tree/main/spec + ArtifactAttestationHashKey = attribute.Key("artifact.attestation.hash") + + // ArtifactAttestationIDKey is the attribute Key conforming to the + // "artifact.attestation.id" semantic conventions. It represents the id of the + // build [software attestation]. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "123" + // + // [software attestation]: https://slsa.dev/attestation-model + ArtifactAttestationIDKey = attribute.Key("artifact.attestation.id") + + // ArtifactFilenameKey is the attribute Key conforming to the + // "artifact.filename" semantic conventions. It represents the human readable + // file name of the artifact, typically generated during build and release + // processes. Often includes the package name and version in the file name. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "golang-binary-amd64-v0.1.0", "docker-image-amd64-v0.1.0", + // "release-1.tar.gz", "file-name-package.tar.gz" + // Note: This file name can also act as the [Package Name] + // in cases where the package ecosystem maps accordingly. + // Additionally, the artifact [can be published] + // for others, but that is not a guarantee. + // + // [Package Name]: https://slsa.dev/spec/v1.0/terminology#package-model + // [can be published]: https://slsa.dev/spec/v1.0/terminology#software-supply-chain + ArtifactFilenameKey = attribute.Key("artifact.filename") + + // ArtifactHashKey is the attribute Key conforming to the "artifact.hash" + // semantic conventions. It represents the full [hash value (see glossary)], + // often found in checksum.txt on a release of the artifact and used to verify + // package integrity. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "9ff4c52759e2c4ac70b7d517bc7fcdc1cda631ca0045271ddd1b192544f8a3e9" + // Note: The specific algorithm used to create the cryptographic hash value is + // not defined. In situations where an artifact has multiple + // cryptographic hashes, it is up to the implementer to choose which + // hash value to set here; this should be the most secure hash algorithm + // that is suitable for the situation and consistent with the + // corresponding attestation. The implementer can then provide the other + // hash values through an additional set of attribute extensions as they + // deem necessary. + // + // [hash value (see glossary)]: https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf + ArtifactHashKey = attribute.Key("artifact.hash") + + // ArtifactPurlKey is the attribute Key conforming to the "artifact.purl" + // semantic conventions. It represents the [Package URL] of the + // [package artifact] provides a standard way to identify and locate the + // packaged artifact. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "pkg:github/package-url/purl-spec@1209109710924", + // "pkg:npm/foo@12.12.3" + // + // [Package URL]: https://github.com/package-url/purl-spec + // [package artifact]: https://slsa.dev/spec/v1.0/terminology#package-model + ArtifactPurlKey = attribute.Key("artifact.purl") + + // ArtifactVersionKey is the attribute Key conforming to the "artifact.version" + // semantic conventions. It represents the version of the artifact. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "v0.1.0", "1.2.1", "122691-build" + ArtifactVersionKey = attribute.Key("artifact.version") +) + +// ArtifactAttestationFilename returns an attribute KeyValue conforming to the +// "artifact.attestation.filename" semantic conventions. It represents the +// provenance filename of the built attestation which directly relates to the +// build artifact filename. This filename SHOULD accompany the artifact at +// publish time. See the [SLSA Relationship] specification for more information. +// +// [SLSA Relationship]: https://slsa.dev/spec/v1.0/distributing-provenance#relationship-between-artifacts-and-attestations +func ArtifactAttestationFilename(val string) attribute.KeyValue { + return ArtifactAttestationFilenameKey.String(val) +} + +// ArtifactAttestationHash returns an attribute KeyValue conforming to the +// "artifact.attestation.hash" semantic conventions. It represents the full +// [hash value (see glossary)], of the built attestation. Some envelopes in the +// [software attestation space] also refer to this as the **digest**. +// +// [hash value (see glossary)]: https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf +// [software attestation space]: https://github.com/in-toto/attestation/tree/main/spec +func ArtifactAttestationHash(val string) attribute.KeyValue { + return ArtifactAttestationHashKey.String(val) +} + +// ArtifactAttestationID returns an attribute KeyValue conforming to the +// "artifact.attestation.id" semantic conventions. It represents the id of the +// build [software attestation]. +// +// [software attestation]: https://slsa.dev/attestation-model +func ArtifactAttestationID(val string) attribute.KeyValue { + return ArtifactAttestationIDKey.String(val) +} + +// ArtifactFilename returns an attribute KeyValue conforming to the +// "artifact.filename" semantic conventions. It represents the human readable +// file name of the artifact, typically generated during build and release +// processes. Often includes the package name and version in the file name. +func ArtifactFilename(val string) attribute.KeyValue { + return ArtifactFilenameKey.String(val) +} + +// ArtifactHash returns an attribute KeyValue conforming to the "artifact.hash" +// semantic conventions. It represents the full [hash value (see glossary)], +// often found in checksum.txt on a release of the artifact and used to verify +// package integrity. +// +// [hash value (see glossary)]: https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf +func ArtifactHash(val string) attribute.KeyValue { + return ArtifactHashKey.String(val) +} + +// ArtifactPurl returns an attribute KeyValue conforming to the "artifact.purl" +// semantic conventions. It represents the [Package URL] of the +// [package artifact] provides a standard way to identify and locate the packaged +// artifact. +// +// [Package URL]: https://github.com/package-url/purl-spec +// [package artifact]: https://slsa.dev/spec/v1.0/terminology#package-model +func ArtifactPurl(val string) attribute.KeyValue { + return ArtifactPurlKey.String(val) +} + +// ArtifactVersion returns an attribute KeyValue conforming to the +// "artifact.version" semantic conventions. It represents the version of the +// artifact. +func ArtifactVersion(val string) attribute.KeyValue { + return ArtifactVersionKey.String(val) +} + +// Namespace: aws +const ( + // AWSBedrockGuardrailIDKey is the attribute Key conforming to the + // "aws.bedrock.guardrail.id" semantic conventions. It represents the unique + // identifier of the AWS Bedrock Guardrail. A [guardrail] helps safeguard and + // prevent unwanted behavior from model responses or user messages. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "sgi5gkybzqak" + // + // [guardrail]: https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html + AWSBedrockGuardrailIDKey = attribute.Key("aws.bedrock.guardrail.id") + + // AWSBedrockKnowledgeBaseIDKey is the attribute Key conforming to the + // "aws.bedrock.knowledge_base.id" semantic conventions. It represents the + // unique identifier of the AWS Bedrock Knowledge base. A [knowledge base] is a + // bank of information that can be queried by models to generate more relevant + // responses and augment prompts. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "XFWUPB9PAW" + // + // [knowledge base]: https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base.html + AWSBedrockKnowledgeBaseIDKey = attribute.Key("aws.bedrock.knowledge_base.id") + + // AWSDynamoDBAttributeDefinitionsKey is the attribute Key conforming to the + // "aws.dynamodb.attribute_definitions" semantic conventions. It represents the + // JSON-serialized value of each item in the `AttributeDefinitions` request + // field. + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "{ "AttributeName": "string", "AttributeType": "string" }" + AWSDynamoDBAttributeDefinitionsKey = attribute.Key("aws.dynamodb.attribute_definitions") + + // AWSDynamoDBAttributesToGetKey is the attribute Key conforming to the + // "aws.dynamodb.attributes_to_get" semantic conventions. It represents the + // value of the `AttributesToGet` request parameter. + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "lives", "id" + AWSDynamoDBAttributesToGetKey = attribute.Key("aws.dynamodb.attributes_to_get") + + // AWSDynamoDBConsistentReadKey is the attribute Key conforming to the + // "aws.dynamodb.consistent_read" semantic conventions. It represents the value + // of the `ConsistentRead` request parameter. + // + // Type: boolean + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + AWSDynamoDBConsistentReadKey = attribute.Key("aws.dynamodb.consistent_read") + + // AWSDynamoDBConsumedCapacityKey is the attribute Key conforming to the + // "aws.dynamodb.consumed_capacity" semantic conventions. It represents the + // JSON-serialized value of each item in the `ConsumedCapacity` response field. + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "{ "CapacityUnits": number, "GlobalSecondaryIndexes": { "string" : + // { "CapacityUnits": number, "ReadCapacityUnits": number, "WriteCapacityUnits": + // number } }, "LocalSecondaryIndexes": { "string" : { "CapacityUnits": number, + // "ReadCapacityUnits": number, "WriteCapacityUnits": number } }, + // "ReadCapacityUnits": number, "Table": { "CapacityUnits": number, + // "ReadCapacityUnits": number, "WriteCapacityUnits": number }, "TableName": + // "string", "WriteCapacityUnits": number }" + AWSDynamoDBConsumedCapacityKey = attribute.Key("aws.dynamodb.consumed_capacity") + + // AWSDynamoDBCountKey is the attribute Key conforming to the + // "aws.dynamodb.count" semantic conventions. It represents the value of the + // `Count` response parameter. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 10 + AWSDynamoDBCountKey = attribute.Key("aws.dynamodb.count") + + // AWSDynamoDBExclusiveStartTableKey is the attribute Key conforming to the + // "aws.dynamodb.exclusive_start_table" semantic conventions. It represents the + // value of the `ExclusiveStartTableName` request parameter. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Users", "CatsTable" + AWSDynamoDBExclusiveStartTableKey = attribute.Key("aws.dynamodb.exclusive_start_table") + + // AWSDynamoDBGlobalSecondaryIndexUpdatesKey is the attribute Key conforming to + // the "aws.dynamodb.global_secondary_index_updates" semantic conventions. It + // represents the JSON-serialized value of each item in the + // `GlobalSecondaryIndexUpdates` request field. + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "{ "Create": { "IndexName": "string", "KeySchema": [ { + // "AttributeName": "string", "KeyType": "string" } ], "Projection": { + // "NonKeyAttributes": [ "string" ], "ProjectionType": "string" }, + // "ProvisionedThroughput": { "ReadCapacityUnits": number, "WriteCapacityUnits": + // number } }" + AWSDynamoDBGlobalSecondaryIndexUpdatesKey = attribute.Key("aws.dynamodb.global_secondary_index_updates") + + // AWSDynamoDBGlobalSecondaryIndexesKey is the attribute Key conforming to the + // "aws.dynamodb.global_secondary_indexes" semantic conventions. It represents + // the JSON-serialized value of each item of the `GlobalSecondaryIndexes` + // request field. + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "{ "IndexName": "string", "KeySchema": [ { "AttributeName": + // "string", "KeyType": "string" } ], "Projection": { "NonKeyAttributes": [ + // "string" ], "ProjectionType": "string" }, "ProvisionedThroughput": { + // "ReadCapacityUnits": number, "WriteCapacityUnits": number } }" + AWSDynamoDBGlobalSecondaryIndexesKey = attribute.Key("aws.dynamodb.global_secondary_indexes") + + // AWSDynamoDBIndexNameKey is the attribute Key conforming to the + // "aws.dynamodb.index_name" semantic conventions. It represents the value of + // the `IndexName` request parameter. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "name_to_group" + AWSDynamoDBIndexNameKey = attribute.Key("aws.dynamodb.index_name") + + // AWSDynamoDBItemCollectionMetricsKey is the attribute Key conforming to the + // "aws.dynamodb.item_collection_metrics" semantic conventions. It represents + // the JSON-serialized value of the `ItemCollectionMetrics` response field. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "{ "string" : [ { "ItemCollectionKey": { "string" : { "B": blob, + // "BOOL": boolean, "BS": [ blob ], "L": [ "AttributeValue" ], "M": { "string" : + // "AttributeValue" }, "N": "string", "NS": [ "string" ], "NULL": boolean, "S": + // "string", "SS": [ "string" ] } }, "SizeEstimateRangeGB": [ number ] } ] }" + AWSDynamoDBItemCollectionMetricsKey = attribute.Key("aws.dynamodb.item_collection_metrics") + + // AWSDynamoDBLimitKey is the attribute Key conforming to the + // "aws.dynamodb.limit" semantic conventions. It represents the value of the + // `Limit` request parameter. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 10 + AWSDynamoDBLimitKey = attribute.Key("aws.dynamodb.limit") + + // AWSDynamoDBLocalSecondaryIndexesKey is the attribute Key conforming to the + // "aws.dynamodb.local_secondary_indexes" semantic conventions. It represents + // the JSON-serialized value of each item of the `LocalSecondaryIndexes` request + // field. + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "{ "IndexArn": "string", "IndexName": "string", "IndexSizeBytes": + // number, "ItemCount": number, "KeySchema": [ { "AttributeName": "string", + // "KeyType": "string" } ], "Projection": { "NonKeyAttributes": [ "string" ], + // "ProjectionType": "string" } }" + AWSDynamoDBLocalSecondaryIndexesKey = attribute.Key("aws.dynamodb.local_secondary_indexes") + + // AWSDynamoDBProjectionKey is the attribute Key conforming to the + // "aws.dynamodb.projection" semantic conventions. It represents the value of + // the `ProjectionExpression` request parameter. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Title", "Title, Price, Color", "Title, Description, RelatedItems, + // ProductReviews" + AWSDynamoDBProjectionKey = attribute.Key("aws.dynamodb.projection") + + // AWSDynamoDBProvisionedReadCapacityKey is the attribute Key conforming to the + // "aws.dynamodb.provisioned_read_capacity" semantic conventions. It represents + // the value of the `ProvisionedThroughput.ReadCapacityUnits` request parameter. + // + // Type: double + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 1.0, 2.0 + AWSDynamoDBProvisionedReadCapacityKey = attribute.Key("aws.dynamodb.provisioned_read_capacity") + + // AWSDynamoDBProvisionedWriteCapacityKey is the attribute Key conforming to the + // "aws.dynamodb.provisioned_write_capacity" semantic conventions. It represents + // the value of the `ProvisionedThroughput.WriteCapacityUnits` request + // parameter. + // + // Type: double + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 1.0, 2.0 + AWSDynamoDBProvisionedWriteCapacityKey = attribute.Key("aws.dynamodb.provisioned_write_capacity") + + // AWSDynamoDBScanForwardKey is the attribute Key conforming to the + // "aws.dynamodb.scan_forward" semantic conventions. It represents the value of + // the `ScanIndexForward` request parameter. + // + // Type: boolean + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + AWSDynamoDBScanForwardKey = attribute.Key("aws.dynamodb.scan_forward") + + // AWSDynamoDBScannedCountKey is the attribute Key conforming to the + // "aws.dynamodb.scanned_count" semantic conventions. It represents the value of + // the `ScannedCount` response parameter. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 50 + AWSDynamoDBScannedCountKey = attribute.Key("aws.dynamodb.scanned_count") + + // AWSDynamoDBSegmentKey is the attribute Key conforming to the + // "aws.dynamodb.segment" semantic conventions. It represents the value of the + // `Segment` request parameter. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 10 + AWSDynamoDBSegmentKey = attribute.Key("aws.dynamodb.segment") + + // AWSDynamoDBSelectKey is the attribute Key conforming to the + // "aws.dynamodb.select" semantic conventions. It represents the value of the + // `Select` request parameter. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "ALL_ATTRIBUTES", "COUNT" + AWSDynamoDBSelectKey = attribute.Key("aws.dynamodb.select") + + // AWSDynamoDBTableCountKey is the attribute Key conforming to the + // "aws.dynamodb.table_count" semantic conventions. It represents the number of + // items in the `TableNames` response parameter. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 20 + AWSDynamoDBTableCountKey = attribute.Key("aws.dynamodb.table_count") + + // AWSDynamoDBTableNamesKey is the attribute Key conforming to the + // "aws.dynamodb.table_names" semantic conventions. It represents the keys in + // the `RequestItems` object field. + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Users", "Cats" + AWSDynamoDBTableNamesKey = attribute.Key("aws.dynamodb.table_names") + + // AWSDynamoDBTotalSegmentsKey is the attribute Key conforming to the + // "aws.dynamodb.total_segments" semantic conventions. It represents the value + // of the `TotalSegments` request parameter. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 100 + AWSDynamoDBTotalSegmentsKey = attribute.Key("aws.dynamodb.total_segments") + + // AWSECSClusterARNKey is the attribute Key conforming to the + // "aws.ecs.cluster.arn" semantic conventions. It represents the ARN of an + // [ECS cluster]. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster" + // + // [ECS cluster]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html + AWSECSClusterARNKey = attribute.Key("aws.ecs.cluster.arn") + + // AWSECSContainerARNKey is the attribute Key conforming to the + // "aws.ecs.container.arn" semantic conventions. It represents the Amazon + // Resource Name (ARN) of an [ECS container instance]. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // "arn:aws:ecs:us-west-1:123456789123:container/32624152-9086-4f0e-acae-1a75b14fe4d9" + // + // [ECS container instance]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html + AWSECSContainerARNKey = attribute.Key("aws.ecs.container.arn") + + // AWSECSLaunchtypeKey is the attribute Key conforming to the + // "aws.ecs.launchtype" semantic conventions. It represents the [launch type] + // for an ECS task. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // + // [launch type]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html + AWSECSLaunchtypeKey = attribute.Key("aws.ecs.launchtype") + + // AWSECSTaskARNKey is the attribute Key conforming to the "aws.ecs.task.arn" + // semantic conventions. It represents the ARN of a running [ECS task]. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // "arn:aws:ecs:us-west-1:123456789123:task/10838bed-421f-43ef-870a-f43feacbbb5b", + // "arn:aws:ecs:us-west-1:123456789123:task/my-cluster/task-id/23ebb8ac-c18f-46c6-8bbe-d55d0e37cfbd" + // + // [ECS task]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids + AWSECSTaskARNKey = attribute.Key("aws.ecs.task.arn") + + // AWSECSTaskFamilyKey is the attribute Key conforming to the + // "aws.ecs.task.family" semantic conventions. It represents the family name of + // the [ECS task definition] used to create the ECS task. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "opentelemetry-family" + // + // [ECS task definition]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html + AWSECSTaskFamilyKey = attribute.Key("aws.ecs.task.family") + + // AWSECSTaskIDKey is the attribute Key conforming to the "aws.ecs.task.id" + // semantic conventions. It represents the ID of a running ECS task. The ID MUST + // be extracted from `task.arn`. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "10838bed-421f-43ef-870a-f43feacbbb5b", + // "23ebb8ac-c18f-46c6-8bbe-d55d0e37cfbd" + AWSECSTaskIDKey = attribute.Key("aws.ecs.task.id") + + // AWSECSTaskRevisionKey is the attribute Key conforming to the + // "aws.ecs.task.revision" semantic conventions. It represents the revision for + // the task definition used to create the ECS task. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "8", "26" + AWSECSTaskRevisionKey = attribute.Key("aws.ecs.task.revision") + + // AWSEKSClusterARNKey is the attribute Key conforming to the + // "aws.eks.cluster.arn" semantic conventions. It represents the ARN of an EKS + // cluster. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster" + AWSEKSClusterARNKey = attribute.Key("aws.eks.cluster.arn") + + // AWSExtendedRequestIDKey is the attribute Key conforming to the + // "aws.extended_request_id" semantic conventions. It represents the AWS + // extended request ID as returned in the response header `x-amz-id-2`. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // "wzHcyEWfmOGDIE5QOhTAqFDoDWP3y8IUvpNINCwL9N4TEHbUw0/gZJ+VZTmCNCWR7fezEN3eCiQ=" + AWSExtendedRequestIDKey = attribute.Key("aws.extended_request_id") + + // AWSKinesisStreamNameKey is the attribute Key conforming to the + // "aws.kinesis.stream_name" semantic conventions. It represents the name of the + // AWS Kinesis [stream] the request refers to. Corresponds to the + // `--stream-name` parameter of the Kinesis [describe-stream] operation. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "some-stream-name" + // + // [stream]: https://docs.aws.amazon.com/streams/latest/dev/introduction.html + // [describe-stream]: https://docs.aws.amazon.com/cli/latest/reference/kinesis/describe-stream.html + AWSKinesisStreamNameKey = attribute.Key("aws.kinesis.stream_name") + + // AWSLambdaInvokedARNKey is the attribute Key conforming to the + // "aws.lambda.invoked_arn" semantic conventions. It represents the full invoked + // ARN as provided on the `Context` passed to the function ( + // `Lambda-Runtime-Invoked-Function-Arn` header on the + // `/runtime/invocation/next` applicable). + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "arn:aws:lambda:us-east-1:123456:function:myfunction:myalias" + // Note: This may be different from `cloud.resource_id` if an alias is involved. + AWSLambdaInvokedARNKey = attribute.Key("aws.lambda.invoked_arn") + + // AWSLambdaResourceMappingIDKey is the attribute Key conforming to the + // "aws.lambda.resource_mapping.id" semantic conventions. It represents the UUID + // of the [AWS Lambda EvenSource Mapping]. An event source is mapped to a lambda + // function. It's contents are read by Lambda and used to trigger a function. + // This isn't available in the lambda execution context or the lambda runtime + // environtment. This is going to be populated by the AWS SDK for each language + // when that UUID is present. Some of these operations are + // Create/Delete/Get/List/Update EventSourceMapping. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "587ad24b-03b9-4413-8202-bbd56b36e5b7" + // + // [AWS Lambda EvenSource Mapping]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html + AWSLambdaResourceMappingIDKey = attribute.Key("aws.lambda.resource_mapping.id") + + // AWSLogGroupARNsKey is the attribute Key conforming to the + // "aws.log.group.arns" semantic conventions. It represents the Amazon Resource + // Name(s) (ARN) of the AWS log group(s). + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "arn:aws:logs:us-west-1:123456789012:log-group:/aws/my/group:*" + // Note: See the [log group ARN format documentation]. + // + // [log group ARN format documentation]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format + AWSLogGroupARNsKey = attribute.Key("aws.log.group.arns") + + // AWSLogGroupNamesKey is the attribute Key conforming to the + // "aws.log.group.names" semantic conventions. It represents the name(s) of the + // AWS log group(s) an application is writing to. + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "/aws/lambda/my-function", "opentelemetry-service" + // Note: Multiple log groups must be supported for cases like multi-container + // applications, where a single application has sidecar containers, and each + // write to their own log group. + AWSLogGroupNamesKey = attribute.Key("aws.log.group.names") + + // AWSLogStreamARNsKey is the attribute Key conforming to the + // "aws.log.stream.arns" semantic conventions. It represents the ARN(s) of the + // AWS log stream(s). + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // "arn:aws:logs:us-west-1:123456789012:log-group:/aws/my/group:log-stream:logs/main/10838bed-421f-43ef-870a-f43feacbbb5b" + // Note: See the [log stream ARN format documentation]. One log group can + // contain several log streams, so these ARNs necessarily identify both a log + // group and a log stream. + // + // [log stream ARN format documentation]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format + AWSLogStreamARNsKey = attribute.Key("aws.log.stream.arns") + + // AWSLogStreamNamesKey is the attribute Key conforming to the + // "aws.log.stream.names" semantic conventions. It represents the name(s) of the + // AWS log stream(s) an application is writing to. + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "logs/main/10838bed-421f-43ef-870a-f43feacbbb5b" + AWSLogStreamNamesKey = attribute.Key("aws.log.stream.names") + + // AWSRequestIDKey is the attribute Key conforming to the "aws.request_id" + // semantic conventions. It represents the AWS request ID as returned in the + // response headers `x-amzn-requestid`, `x-amzn-request-id` or + // `x-amz-request-id`. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "79b9da39-b7ae-508a-a6bc-864b2829c622", "C9ER4AJX75574TDJ" + AWSRequestIDKey = attribute.Key("aws.request_id") + + // AWSS3BucketKey is the attribute Key conforming to the "aws.s3.bucket" + // semantic conventions. It represents the S3 bucket name the request refers to. + // Corresponds to the `--bucket` parameter of the [S3 API] operations. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "some-bucket-name" + // Note: The `bucket` attribute is applicable to all S3 operations that + // reference a bucket, i.e. that require the bucket name as a mandatory + // parameter. + // This applies to almost all S3 operations except `list-buckets`. + // + // [S3 API]: https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html + AWSS3BucketKey = attribute.Key("aws.s3.bucket") + + // AWSS3CopySourceKey is the attribute Key conforming to the + // "aws.s3.copy_source" semantic conventions. It represents the source object + // (in the form `bucket`/`key`) for the copy operation. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "someFile.yml" + // Note: The `copy_source` attribute applies to S3 copy operations and + // corresponds to the `--copy-source` parameter + // of the [copy-object operation within the S3 API]. + // This applies in particular to the following operations: + // + // - [copy-object] + // - [upload-part-copy] + // + // + // [copy-object operation within the S3 API]: https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html + // [copy-object]: https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html + // [upload-part-copy]: https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html + AWSS3CopySourceKey = attribute.Key("aws.s3.copy_source") + + // AWSS3DeleteKey is the attribute Key conforming to the "aws.s3.delete" + // semantic conventions. It represents the delete request container that + // specifies the objects to be deleted. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // "Objects=[{Key=string,VersionId=string},{Key=string,VersionId=string}],Quiet=boolean" + // Note: The `delete` attribute is only applicable to the [delete-object] + // operation. + // The `delete` attribute corresponds to the `--delete` parameter of the + // [delete-objects operation within the S3 API]. + // + // [delete-object]: https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-object.html + // [delete-objects operation within the S3 API]: https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-objects.html + AWSS3DeleteKey = attribute.Key("aws.s3.delete") + + // AWSS3KeyKey is the attribute Key conforming to the "aws.s3.key" semantic + // conventions. It represents the S3 object key the request refers to. + // Corresponds to the `--key` parameter of the [S3 API] operations. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "someFile.yml" + // Note: The `key` attribute is applicable to all object-related S3 operations, + // i.e. that require the object key as a mandatory parameter. + // This applies in particular to the following operations: + // + // - [copy-object] + // - [delete-object] + // - [get-object] + // - [head-object] + // - [put-object] + // - [restore-object] + // - [select-object-content] + // - [abort-multipart-upload] + // - [complete-multipart-upload] + // - [create-multipart-upload] + // - [list-parts] + // - [upload-part] + // - [upload-part-copy] + // + // + // [S3 API]: https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html + // [copy-object]: https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html + // [delete-object]: https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-object.html + // [get-object]: https://docs.aws.amazon.com/cli/latest/reference/s3api/get-object.html + // [head-object]: https://docs.aws.amazon.com/cli/latest/reference/s3api/head-object.html + // [put-object]: https://docs.aws.amazon.com/cli/latest/reference/s3api/put-object.html + // [restore-object]: https://docs.aws.amazon.com/cli/latest/reference/s3api/restore-object.html + // [select-object-content]: https://docs.aws.amazon.com/cli/latest/reference/s3api/select-object-content.html + // [abort-multipart-upload]: https://docs.aws.amazon.com/cli/latest/reference/s3api/abort-multipart-upload.html + // [complete-multipart-upload]: https://docs.aws.amazon.com/cli/latest/reference/s3api/complete-multipart-upload.html + // [create-multipart-upload]: https://docs.aws.amazon.com/cli/latest/reference/s3api/create-multipart-upload.html + // [list-parts]: https://docs.aws.amazon.com/cli/latest/reference/s3api/list-parts.html + // [upload-part]: https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html + // [upload-part-copy]: https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html + AWSS3KeyKey = attribute.Key("aws.s3.key") + + // AWSS3PartNumberKey is the attribute Key conforming to the + // "aws.s3.part_number" semantic conventions. It represents the part number of + // the part being uploaded in a multipart-upload operation. This is a positive + // integer between 1 and 10,000. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 3456 + // Note: The `part_number` attribute is only applicable to the [upload-part] + // and [upload-part-copy] operations. + // The `part_number` attribute corresponds to the `--part-number` parameter of + // the + // [upload-part operation within the S3 API]. + // + // [upload-part]: https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html + // [upload-part-copy]: https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html + // [upload-part operation within the S3 API]: https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html + AWSS3PartNumberKey = attribute.Key("aws.s3.part_number") + + // AWSS3UploadIDKey is the attribute Key conforming to the "aws.s3.upload_id" + // semantic conventions. It represents the upload ID that identifies the + // multipart upload. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "dfRtDYWFbkRONycy.Yxwh66Yjlx.cph0gtNBtJ" + // Note: The `upload_id` attribute applies to S3 multipart-upload operations and + // corresponds to the `--upload-id` parameter + // of the [S3 API] multipart operations. + // This applies in particular to the following operations: + // + // - [abort-multipart-upload] + // - [complete-multipart-upload] + // - [list-parts] + // - [upload-part] + // - [upload-part-copy] + // + // + // [S3 API]: https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html + // [abort-multipart-upload]: https://docs.aws.amazon.com/cli/latest/reference/s3api/abort-multipart-upload.html + // [complete-multipart-upload]: https://docs.aws.amazon.com/cli/latest/reference/s3api/complete-multipart-upload.html + // [list-parts]: https://docs.aws.amazon.com/cli/latest/reference/s3api/list-parts.html + // [upload-part]: https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html + // [upload-part-copy]: https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html + AWSS3UploadIDKey = attribute.Key("aws.s3.upload_id") + + // AWSSecretsmanagerSecretARNKey is the attribute Key conforming to the + // "aws.secretsmanager.secret.arn" semantic conventions. It represents the ARN + // of the Secret stored in the Secrets Mangger. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // "arn:aws:secretsmanager:us-east-1:123456789012:secret:SecretName-6RandomCharacters" + AWSSecretsmanagerSecretARNKey = attribute.Key("aws.secretsmanager.secret.arn") + + // AWSSNSTopicARNKey is the attribute Key conforming to the "aws.sns.topic.arn" + // semantic conventions. It represents the ARN of the AWS SNS Topic. An Amazon + // SNS [topic] is a logical access point that acts as a communication channel. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "arn:aws:sns:us-east-1:123456789012:mystack-mytopic-NZJ5JSMVGFIE" + // + // [topic]: https://docs.aws.amazon.com/sns/latest/dg/sns-create-topic.html + AWSSNSTopicARNKey = attribute.Key("aws.sns.topic.arn") + + // AWSSQSQueueURLKey is the attribute Key conforming to the "aws.sqs.queue.url" + // semantic conventions. It represents the URL of the AWS SQS Queue. It's a + // unique identifier for a queue in Amazon Simple Queue Service (SQS) and is + // used to access the queue and perform actions on it. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "https://sqs.us-east-1.amazonaws.com/123456789012/MyQueue" + AWSSQSQueueURLKey = attribute.Key("aws.sqs.queue.url") + + // AWSStepFunctionsActivityARNKey is the attribute Key conforming to the + // "aws.step_functions.activity.arn" semantic conventions. It represents the ARN + // of the AWS Step Functions Activity. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "arn:aws:states:us-east-1:123456789012:activity:get-greeting" + AWSStepFunctionsActivityARNKey = attribute.Key("aws.step_functions.activity.arn") + + // AWSStepFunctionsStateMachineARNKey is the attribute Key conforming to the + // "aws.step_functions.state_machine.arn" semantic conventions. It represents + // the ARN of the AWS Step Functions State Machine. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // "arn:aws:states:us-east-1:123456789012:stateMachine:myStateMachine:1" + AWSStepFunctionsStateMachineARNKey = attribute.Key("aws.step_functions.state_machine.arn") +) + +// AWSBedrockGuardrailID returns an attribute KeyValue conforming to the +// "aws.bedrock.guardrail.id" semantic conventions. It represents the unique +// identifier of the AWS Bedrock Guardrail. A [guardrail] helps safeguard and +// prevent unwanted behavior from model responses or user messages. +// +// [guardrail]: https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html +func AWSBedrockGuardrailID(val string) attribute.KeyValue { + return AWSBedrockGuardrailIDKey.String(val) +} + +// AWSBedrockKnowledgeBaseID returns an attribute KeyValue conforming to the +// "aws.bedrock.knowledge_base.id" semantic conventions. It represents the unique +// identifier of the AWS Bedrock Knowledge base. A [knowledge base] is a bank of +// information that can be queried by models to generate more relevant responses +// and augment prompts. +// +// [knowledge base]: https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base.html +func AWSBedrockKnowledgeBaseID(val string) attribute.KeyValue { + return AWSBedrockKnowledgeBaseIDKey.String(val) +} + +// AWSDynamoDBAttributeDefinitions returns an attribute KeyValue conforming to +// the "aws.dynamodb.attribute_definitions" semantic conventions. It represents +// the JSON-serialized value of each item in the `AttributeDefinitions` request +// field. +func AWSDynamoDBAttributeDefinitions(val ...string) attribute.KeyValue { + return AWSDynamoDBAttributeDefinitionsKey.StringSlice(val) +} + +// AWSDynamoDBAttributesToGet returns an attribute KeyValue conforming to the +// "aws.dynamodb.attributes_to_get" semantic conventions. It represents the value +// of the `AttributesToGet` request parameter. +func AWSDynamoDBAttributesToGet(val ...string) attribute.KeyValue { + return AWSDynamoDBAttributesToGetKey.StringSlice(val) +} + +// AWSDynamoDBConsistentRead returns an attribute KeyValue conforming to the +// "aws.dynamodb.consistent_read" semantic conventions. It represents the value +// of the `ConsistentRead` request parameter. +func AWSDynamoDBConsistentRead(val bool) attribute.KeyValue { + return AWSDynamoDBConsistentReadKey.Bool(val) +} + +// AWSDynamoDBConsumedCapacity returns an attribute KeyValue conforming to the +// "aws.dynamodb.consumed_capacity" semantic conventions. It represents the +// JSON-serialized value of each item in the `ConsumedCapacity` response field. +func AWSDynamoDBConsumedCapacity(val ...string) attribute.KeyValue { + return AWSDynamoDBConsumedCapacityKey.StringSlice(val) +} + +// AWSDynamoDBCount returns an attribute KeyValue conforming to the +// "aws.dynamodb.count" semantic conventions. It represents the value of the +// `Count` response parameter. +func AWSDynamoDBCount(val int) attribute.KeyValue { + return AWSDynamoDBCountKey.Int(val) +} + +// AWSDynamoDBExclusiveStartTable returns an attribute KeyValue conforming to the +// "aws.dynamodb.exclusive_start_table" semantic conventions. It represents the +// value of the `ExclusiveStartTableName` request parameter. +func AWSDynamoDBExclusiveStartTable(val string) attribute.KeyValue { + return AWSDynamoDBExclusiveStartTableKey.String(val) +} + +// AWSDynamoDBGlobalSecondaryIndexUpdates returns an attribute KeyValue +// conforming to the "aws.dynamodb.global_secondary_index_updates" semantic +// conventions. It represents the JSON-serialized value of each item in the +// `GlobalSecondaryIndexUpdates` request field. +func AWSDynamoDBGlobalSecondaryIndexUpdates(val ...string) attribute.KeyValue { + return AWSDynamoDBGlobalSecondaryIndexUpdatesKey.StringSlice(val) +} + +// AWSDynamoDBGlobalSecondaryIndexes returns an attribute KeyValue conforming to +// the "aws.dynamodb.global_secondary_indexes" semantic conventions. It +// represents the JSON-serialized value of each item of the +// `GlobalSecondaryIndexes` request field. +func AWSDynamoDBGlobalSecondaryIndexes(val ...string) attribute.KeyValue { + return AWSDynamoDBGlobalSecondaryIndexesKey.StringSlice(val) +} + +// AWSDynamoDBIndexName returns an attribute KeyValue conforming to the +// "aws.dynamodb.index_name" semantic conventions. It represents the value of the +// `IndexName` request parameter. +func AWSDynamoDBIndexName(val string) attribute.KeyValue { + return AWSDynamoDBIndexNameKey.String(val) +} + +// AWSDynamoDBItemCollectionMetrics returns an attribute KeyValue conforming to +// the "aws.dynamodb.item_collection_metrics" semantic conventions. It represents +// the JSON-serialized value of the `ItemCollectionMetrics` response field. +func AWSDynamoDBItemCollectionMetrics(val string) attribute.KeyValue { + return AWSDynamoDBItemCollectionMetricsKey.String(val) +} + +// AWSDynamoDBLimit returns an attribute KeyValue conforming to the +// "aws.dynamodb.limit" semantic conventions. It represents the value of the +// `Limit` request parameter. +func AWSDynamoDBLimit(val int) attribute.KeyValue { + return AWSDynamoDBLimitKey.Int(val) +} + +// AWSDynamoDBLocalSecondaryIndexes returns an attribute KeyValue conforming to +// the "aws.dynamodb.local_secondary_indexes" semantic conventions. It represents +// the JSON-serialized value of each item of the `LocalSecondaryIndexes` request +// field. +func AWSDynamoDBLocalSecondaryIndexes(val ...string) attribute.KeyValue { + return AWSDynamoDBLocalSecondaryIndexesKey.StringSlice(val) +} + +// AWSDynamoDBProjection returns an attribute KeyValue conforming to the +// "aws.dynamodb.projection" semantic conventions. It represents the value of the +// `ProjectionExpression` request parameter. +func AWSDynamoDBProjection(val string) attribute.KeyValue { + return AWSDynamoDBProjectionKey.String(val) +} + +// AWSDynamoDBProvisionedReadCapacity returns an attribute KeyValue conforming to +// the "aws.dynamodb.provisioned_read_capacity" semantic conventions. It +// represents the value of the `ProvisionedThroughput.ReadCapacityUnits` request +// parameter. +func AWSDynamoDBProvisionedReadCapacity(val float64) attribute.KeyValue { + return AWSDynamoDBProvisionedReadCapacityKey.Float64(val) +} + +// AWSDynamoDBProvisionedWriteCapacity returns an attribute KeyValue conforming +// to the "aws.dynamodb.provisioned_write_capacity" semantic conventions. It +// represents the value of the `ProvisionedThroughput.WriteCapacityUnits` request +// parameter. +func AWSDynamoDBProvisionedWriteCapacity(val float64) attribute.KeyValue { + return AWSDynamoDBProvisionedWriteCapacityKey.Float64(val) +} + +// AWSDynamoDBScanForward returns an attribute KeyValue conforming to the +// "aws.dynamodb.scan_forward" semantic conventions. It represents the value of +// the `ScanIndexForward` request parameter. +func AWSDynamoDBScanForward(val bool) attribute.KeyValue { + return AWSDynamoDBScanForwardKey.Bool(val) +} + +// AWSDynamoDBScannedCount returns an attribute KeyValue conforming to the +// "aws.dynamodb.scanned_count" semantic conventions. It represents the value of +// the `ScannedCount` response parameter. +func AWSDynamoDBScannedCount(val int) attribute.KeyValue { + return AWSDynamoDBScannedCountKey.Int(val) +} + +// AWSDynamoDBSegment returns an attribute KeyValue conforming to the +// "aws.dynamodb.segment" semantic conventions. It represents the value of the +// `Segment` request parameter. +func AWSDynamoDBSegment(val int) attribute.KeyValue { + return AWSDynamoDBSegmentKey.Int(val) +} + +// AWSDynamoDBSelect returns an attribute KeyValue conforming to the +// "aws.dynamodb.select" semantic conventions. It represents the value of the +// `Select` request parameter. +func AWSDynamoDBSelect(val string) attribute.KeyValue { + return AWSDynamoDBSelectKey.String(val) +} + +// AWSDynamoDBTableCount returns an attribute KeyValue conforming to the +// "aws.dynamodb.table_count" semantic conventions. It represents the number of +// items in the `TableNames` response parameter. +func AWSDynamoDBTableCount(val int) attribute.KeyValue { + return AWSDynamoDBTableCountKey.Int(val) +} + +// AWSDynamoDBTableNames returns an attribute KeyValue conforming to the +// "aws.dynamodb.table_names" semantic conventions. It represents the keys in the +// `RequestItems` object field. +func AWSDynamoDBTableNames(val ...string) attribute.KeyValue { + return AWSDynamoDBTableNamesKey.StringSlice(val) +} + +// AWSDynamoDBTotalSegments returns an attribute KeyValue conforming to the +// "aws.dynamodb.total_segments" semantic conventions. It represents the value of +// the `TotalSegments` request parameter. +func AWSDynamoDBTotalSegments(val int) attribute.KeyValue { + return AWSDynamoDBTotalSegmentsKey.Int(val) +} + +// AWSECSClusterARN returns an attribute KeyValue conforming to the +// "aws.ecs.cluster.arn" semantic conventions. It represents the ARN of an +// [ECS cluster]. +// +// [ECS cluster]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html +func AWSECSClusterARN(val string) attribute.KeyValue { + return AWSECSClusterARNKey.String(val) +} + +// AWSECSContainerARN returns an attribute KeyValue conforming to the +// "aws.ecs.container.arn" semantic conventions. It represents the Amazon +// Resource Name (ARN) of an [ECS container instance]. +// +// [ECS container instance]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html +func AWSECSContainerARN(val string) attribute.KeyValue { + return AWSECSContainerARNKey.String(val) +} + +// AWSECSTaskARN returns an attribute KeyValue conforming to the +// "aws.ecs.task.arn" semantic conventions. It represents the ARN of a running +// [ECS task]. +// +// [ECS task]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids +func AWSECSTaskARN(val string) attribute.KeyValue { + return AWSECSTaskARNKey.String(val) +} + +// AWSECSTaskFamily returns an attribute KeyValue conforming to the +// "aws.ecs.task.family" semantic conventions. It represents the family name of +// the [ECS task definition] used to create the ECS task. +// +// [ECS task definition]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html +func AWSECSTaskFamily(val string) attribute.KeyValue { + return AWSECSTaskFamilyKey.String(val) +} + +// AWSECSTaskID returns an attribute KeyValue conforming to the "aws.ecs.task.id" +// semantic conventions. It represents the ID of a running ECS task. The ID MUST +// be extracted from `task.arn`. +func AWSECSTaskID(val string) attribute.KeyValue { + return AWSECSTaskIDKey.String(val) +} + +// AWSECSTaskRevision returns an attribute KeyValue conforming to the +// "aws.ecs.task.revision" semantic conventions. It represents the revision for +// the task definition used to create the ECS task. +func AWSECSTaskRevision(val string) attribute.KeyValue { + return AWSECSTaskRevisionKey.String(val) +} + +// AWSEKSClusterARN returns an attribute KeyValue conforming to the +// "aws.eks.cluster.arn" semantic conventions. It represents the ARN of an EKS +// cluster. +func AWSEKSClusterARN(val string) attribute.KeyValue { + return AWSEKSClusterARNKey.String(val) +} + +// AWSExtendedRequestID returns an attribute KeyValue conforming to the +// "aws.extended_request_id" semantic conventions. It represents the AWS extended +// request ID as returned in the response header `x-amz-id-2`. +func AWSExtendedRequestID(val string) attribute.KeyValue { + return AWSExtendedRequestIDKey.String(val) +} + +// AWSKinesisStreamName returns an attribute KeyValue conforming to the +// "aws.kinesis.stream_name" semantic conventions. It represents the name of the +// AWS Kinesis [stream] the request refers to. Corresponds to the `--stream-name` +// parameter of the Kinesis [describe-stream] operation. +// +// [stream]: https://docs.aws.amazon.com/streams/latest/dev/introduction.html +// [describe-stream]: https://docs.aws.amazon.com/cli/latest/reference/kinesis/describe-stream.html +func AWSKinesisStreamName(val string) attribute.KeyValue { + return AWSKinesisStreamNameKey.String(val) +} + +// AWSLambdaInvokedARN returns an attribute KeyValue conforming to the +// "aws.lambda.invoked_arn" semantic conventions. It represents the full invoked +// ARN as provided on the `Context` passed to the function ( +// `Lambda-Runtime-Invoked-Function-Arn` header on the `/runtime/invocation/next` +// applicable). +func AWSLambdaInvokedARN(val string) attribute.KeyValue { + return AWSLambdaInvokedARNKey.String(val) +} + +// AWSLambdaResourceMappingID returns an attribute KeyValue conforming to the +// "aws.lambda.resource_mapping.id" semantic conventions. It represents the UUID +// of the [AWS Lambda EvenSource Mapping]. An event source is mapped to a lambda +// function. It's contents are read by Lambda and used to trigger a function. +// This isn't available in the lambda execution context or the lambda runtime +// environtment. This is going to be populated by the AWS SDK for each language +// when that UUID is present. Some of these operations are +// Create/Delete/Get/List/Update EventSourceMapping. +// +// [AWS Lambda EvenSource Mapping]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html +func AWSLambdaResourceMappingID(val string) attribute.KeyValue { + return AWSLambdaResourceMappingIDKey.String(val) +} + +// AWSLogGroupARNs returns an attribute KeyValue conforming to the +// "aws.log.group.arns" semantic conventions. It represents the Amazon Resource +// Name(s) (ARN) of the AWS log group(s). +func AWSLogGroupARNs(val ...string) attribute.KeyValue { + return AWSLogGroupARNsKey.StringSlice(val) +} + +// AWSLogGroupNames returns an attribute KeyValue conforming to the +// "aws.log.group.names" semantic conventions. It represents the name(s) of the +// AWS log group(s) an application is writing to. +func AWSLogGroupNames(val ...string) attribute.KeyValue { + return AWSLogGroupNamesKey.StringSlice(val) +} + +// AWSLogStreamARNs returns an attribute KeyValue conforming to the +// "aws.log.stream.arns" semantic conventions. It represents the ARN(s) of the +// AWS log stream(s). +func AWSLogStreamARNs(val ...string) attribute.KeyValue { + return AWSLogStreamARNsKey.StringSlice(val) +} + +// AWSLogStreamNames returns an attribute KeyValue conforming to the +// "aws.log.stream.names" semantic conventions. It represents the name(s) of the +// AWS log stream(s) an application is writing to. +func AWSLogStreamNames(val ...string) attribute.KeyValue { + return AWSLogStreamNamesKey.StringSlice(val) +} + +// AWSRequestID returns an attribute KeyValue conforming to the "aws.request_id" +// semantic conventions. It represents the AWS request ID as returned in the +// response headers `x-amzn-requestid`, `x-amzn-request-id` or `x-amz-request-id` +// . +func AWSRequestID(val string) attribute.KeyValue { + return AWSRequestIDKey.String(val) +} + +// AWSS3Bucket returns an attribute KeyValue conforming to the "aws.s3.bucket" +// semantic conventions. It represents the S3 bucket name the request refers to. +// Corresponds to the `--bucket` parameter of the [S3 API] operations. +// +// [S3 API]: https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html +func AWSS3Bucket(val string) attribute.KeyValue { + return AWSS3BucketKey.String(val) +} + +// AWSS3CopySource returns an attribute KeyValue conforming to the +// "aws.s3.copy_source" semantic conventions. It represents the source object (in +// the form `bucket`/`key`) for the copy operation. +func AWSS3CopySource(val string) attribute.KeyValue { + return AWSS3CopySourceKey.String(val) +} + +// AWSS3Delete returns an attribute KeyValue conforming to the "aws.s3.delete" +// semantic conventions. It represents the delete request container that +// specifies the objects to be deleted. +func AWSS3Delete(val string) attribute.KeyValue { + return AWSS3DeleteKey.String(val) +} + +// AWSS3Key returns an attribute KeyValue conforming to the "aws.s3.key" semantic +// conventions. It represents the S3 object key the request refers to. +// Corresponds to the `--key` parameter of the [S3 API] operations. +// +// [S3 API]: https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html +func AWSS3Key(val string) attribute.KeyValue { + return AWSS3KeyKey.String(val) +} + +// AWSS3PartNumber returns an attribute KeyValue conforming to the +// "aws.s3.part_number" semantic conventions. It represents the part number of +// the part being uploaded in a multipart-upload operation. This is a positive +// integer between 1 and 10,000. +func AWSS3PartNumber(val int) attribute.KeyValue { + return AWSS3PartNumberKey.Int(val) +} + +// AWSS3UploadID returns an attribute KeyValue conforming to the +// "aws.s3.upload_id" semantic conventions. It represents the upload ID that +// identifies the multipart upload. +func AWSS3UploadID(val string) attribute.KeyValue { + return AWSS3UploadIDKey.String(val) +} + +// AWSSecretsmanagerSecretARN returns an attribute KeyValue conforming to the +// "aws.secretsmanager.secret.arn" semantic conventions. It represents the ARN of +// the Secret stored in the Secrets Mangger. +func AWSSecretsmanagerSecretARN(val string) attribute.KeyValue { + return AWSSecretsmanagerSecretARNKey.String(val) +} + +// AWSSNSTopicARN returns an attribute KeyValue conforming to the +// "aws.sns.topic.arn" semantic conventions. It represents the ARN of the AWS SNS +// Topic. An Amazon SNS [topic] is a logical access point that acts as a +// communication channel. +// +// [topic]: https://docs.aws.amazon.com/sns/latest/dg/sns-create-topic.html +func AWSSNSTopicARN(val string) attribute.KeyValue { + return AWSSNSTopicARNKey.String(val) +} + +// AWSSQSQueueURL returns an attribute KeyValue conforming to the +// "aws.sqs.queue.url" semantic conventions. It represents the URL of the AWS SQS +// Queue. It's a unique identifier for a queue in Amazon Simple Queue Service +// (SQS) and is used to access the queue and perform actions on it. +func AWSSQSQueueURL(val string) attribute.KeyValue { + return AWSSQSQueueURLKey.String(val) +} + +// AWSStepFunctionsActivityARN returns an attribute KeyValue conforming to the +// "aws.step_functions.activity.arn" semantic conventions. It represents the ARN +// of the AWS Step Functions Activity. +func AWSStepFunctionsActivityARN(val string) attribute.KeyValue { + return AWSStepFunctionsActivityARNKey.String(val) +} + +// AWSStepFunctionsStateMachineARN returns an attribute KeyValue conforming to +// the "aws.step_functions.state_machine.arn" semantic conventions. It represents +// the ARN of the AWS Step Functions State Machine. +func AWSStepFunctionsStateMachineARN(val string) attribute.KeyValue { + return AWSStepFunctionsStateMachineARNKey.String(val) +} + +// Enum values for aws.ecs.launchtype +var ( + // Amazon EC2 + // Stability: development + AWSECSLaunchtypeEC2 = AWSECSLaunchtypeKey.String("ec2") + // Amazon Fargate + // Stability: development + AWSECSLaunchtypeFargate = AWSECSLaunchtypeKey.String("fargate") +) + +// Namespace: azure +const ( + // AzureClientIDKey is the attribute Key conforming to the "azure.client.id" + // semantic conventions. It represents the unique identifier of the client + // instance. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "3ba4827d-4422-483f-b59f-85b74211c11d", "storage-client-1" + AzureClientIDKey = attribute.Key("azure.client.id") + + // AzureCosmosDBConnectionModeKey is the attribute Key conforming to the + // "azure.cosmosdb.connection.mode" semantic conventions. It represents the + // cosmos client connection mode. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + AzureCosmosDBConnectionModeKey = attribute.Key("azure.cosmosdb.connection.mode") + + // AzureCosmosDBConsistencyLevelKey is the attribute Key conforming to the + // "azure.cosmosdb.consistency.level" semantic conventions. It represents the + // account or request [consistency level]. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Eventual", "ConsistentPrefix", "BoundedStaleness", "Strong", + // "Session" + // + // [consistency level]: https://learn.microsoft.com/azure/cosmos-db/consistency-levels + AzureCosmosDBConsistencyLevelKey = attribute.Key("azure.cosmosdb.consistency.level") + + // AzureCosmosDBOperationContactedRegionsKey is the attribute Key conforming to + // the "azure.cosmosdb.operation.contacted_regions" semantic conventions. It + // represents the list of regions contacted during operation in the order that + // they were contacted. If there is more than one region listed, it indicates + // that the operation was performed on multiple regions i.e. cross-regional + // call. + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "North Central US", "Australia East", "Australia Southeast" + // Note: Region name matches the format of `displayName` in [Azure Location API] + // + // [Azure Location API]: https://learn.microsoft.com/rest/api/resources/subscriptions/list-locations + AzureCosmosDBOperationContactedRegionsKey = attribute.Key("azure.cosmosdb.operation.contacted_regions") + + // AzureCosmosDBOperationRequestChargeKey is the attribute Key conforming to the + // "azure.cosmosdb.operation.request_charge" semantic conventions. It represents + // the number of request units consumed by the operation. + // + // Type: double + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 46.18, 1.0 + AzureCosmosDBOperationRequestChargeKey = attribute.Key("azure.cosmosdb.operation.request_charge") + + // AzureCosmosDBRequestBodySizeKey is the attribute Key conforming to the + // "azure.cosmosdb.request.body.size" semantic conventions. It represents the + // request payload size in bytes. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + AzureCosmosDBRequestBodySizeKey = attribute.Key("azure.cosmosdb.request.body.size") + + // AzureCosmosDBResponseSubStatusCodeKey is the attribute Key conforming to the + // "azure.cosmosdb.response.sub_status_code" semantic conventions. It represents + // the cosmos DB sub status code. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 1000, 1002 + AzureCosmosDBResponseSubStatusCodeKey = attribute.Key("azure.cosmosdb.response.sub_status_code") + + // AzureResourceProviderNamespaceKey is the attribute Key conforming to the + // "azure.resource_provider.namespace" semantic conventions. It represents the + // [Azure Resource Provider Namespace] as recognized by the client. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Microsoft.Storage", "Microsoft.KeyVault", "Microsoft.ServiceBus" + // + // [Azure Resource Provider Namespace]: https://learn.microsoft.com/azure/azure-resource-manager/management/azure-services-resource-providers + AzureResourceProviderNamespaceKey = attribute.Key("azure.resource_provider.namespace") + + // AzureServiceRequestIDKey is the attribute Key conforming to the + // "azure.service.request.id" semantic conventions. It represents the unique + // identifier of the service request. It's generated by the Azure service and + // returned with the response. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "00000000-0000-0000-0000-000000000000" + AzureServiceRequestIDKey = attribute.Key("azure.service.request.id") +) + +// AzureClientID returns an attribute KeyValue conforming to the +// "azure.client.id" semantic conventions. It represents the unique identifier of +// the client instance. +func AzureClientID(val string) attribute.KeyValue { + return AzureClientIDKey.String(val) +} + +// AzureCosmosDBOperationContactedRegions returns an attribute KeyValue +// conforming to the "azure.cosmosdb.operation.contacted_regions" semantic +// conventions. It represents the list of regions contacted during operation in +// the order that they were contacted. If there is more than one region listed, +// it indicates that the operation was performed on multiple regions i.e. +// cross-regional call. +func AzureCosmosDBOperationContactedRegions(val ...string) attribute.KeyValue { + return AzureCosmosDBOperationContactedRegionsKey.StringSlice(val) +} + +// AzureCosmosDBOperationRequestCharge returns an attribute KeyValue conforming +// to the "azure.cosmosdb.operation.request_charge" semantic conventions. It +// represents the number of request units consumed by the operation. +func AzureCosmosDBOperationRequestCharge(val float64) attribute.KeyValue { + return AzureCosmosDBOperationRequestChargeKey.Float64(val) +} + +// AzureCosmosDBRequestBodySize returns an attribute KeyValue conforming to the +// "azure.cosmosdb.request.body.size" semantic conventions. It represents the +// request payload size in bytes. +func AzureCosmosDBRequestBodySize(val int) attribute.KeyValue { + return AzureCosmosDBRequestBodySizeKey.Int(val) +} + +// AzureCosmosDBResponseSubStatusCode returns an attribute KeyValue conforming to +// the "azure.cosmosdb.response.sub_status_code" semantic conventions. It +// represents the cosmos DB sub status code. +func AzureCosmosDBResponseSubStatusCode(val int) attribute.KeyValue { + return AzureCosmosDBResponseSubStatusCodeKey.Int(val) +} + +// AzureResourceProviderNamespace returns an attribute KeyValue conforming to the +// "azure.resource_provider.namespace" semantic conventions. It represents the +// [Azure Resource Provider Namespace] as recognized by the client. +// +// [Azure Resource Provider Namespace]: https://learn.microsoft.com/azure/azure-resource-manager/management/azure-services-resource-providers +func AzureResourceProviderNamespace(val string) attribute.KeyValue { + return AzureResourceProviderNamespaceKey.String(val) +} + +// AzureServiceRequestID returns an attribute KeyValue conforming to the +// "azure.service.request.id" semantic conventions. It represents the unique +// identifier of the service request. It's generated by the Azure service and +// returned with the response. +func AzureServiceRequestID(val string) attribute.KeyValue { + return AzureServiceRequestIDKey.String(val) +} + +// Enum values for azure.cosmosdb.connection.mode +var ( + // Gateway (HTTP) connection. + // Stability: development + AzureCosmosDBConnectionModeGateway = AzureCosmosDBConnectionModeKey.String("gateway") + // Direct connection. + // Stability: development + AzureCosmosDBConnectionModeDirect = AzureCosmosDBConnectionModeKey.String("direct") +) + +// Enum values for azure.cosmosdb.consistency.level +var ( + // Strong + // Stability: development + AzureCosmosDBConsistencyLevelStrong = AzureCosmosDBConsistencyLevelKey.String("Strong") + // Bounded Staleness + // Stability: development + AzureCosmosDBConsistencyLevelBoundedStaleness = AzureCosmosDBConsistencyLevelKey.String("BoundedStaleness") + // Session + // Stability: development + AzureCosmosDBConsistencyLevelSession = AzureCosmosDBConsistencyLevelKey.String("Session") + // Eventual + // Stability: development + AzureCosmosDBConsistencyLevelEventual = AzureCosmosDBConsistencyLevelKey.String("Eventual") + // Consistent Prefix + // Stability: development + AzureCosmosDBConsistencyLevelConsistentPrefix = AzureCosmosDBConsistencyLevelKey.String("ConsistentPrefix") +) + +// Namespace: browser +const ( + // BrowserBrandsKey is the attribute Key conforming to the "browser.brands" + // semantic conventions. It represents the array of brand name and version + // separated by a space. + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: " Not A;Brand 99", "Chromium 99", "Chrome 99" + // Note: This value is intended to be taken from the [UA client hints API] ( + // `navigator.userAgentData.brands`). + // + // [UA client hints API]: https://wicg.github.io/ua-client-hints/#interface + BrowserBrandsKey = attribute.Key("browser.brands") + + // BrowserLanguageKey is the attribute Key conforming to the "browser.language" + // semantic conventions. It represents the preferred language of the user using + // the browser. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "en", "en-US", "fr", "fr-FR" + // Note: This value is intended to be taken from the Navigator API + // `navigator.language`. + BrowserLanguageKey = attribute.Key("browser.language") + + // BrowserMobileKey is the attribute Key conforming to the "browser.mobile" + // semantic conventions. It represents a boolean that is true if the browser is + // running on a mobile device. + // + // Type: boolean + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // Note: This value is intended to be taken from the [UA client hints API] ( + // `navigator.userAgentData.mobile`). If unavailable, this attribute SHOULD be + // left unset. + // + // [UA client hints API]: https://wicg.github.io/ua-client-hints/#interface + BrowserMobileKey = attribute.Key("browser.mobile") + + // BrowserPlatformKey is the attribute Key conforming to the "browser.platform" + // semantic conventions. It represents the platform on which the browser is + // running. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Windows", "macOS", "Android" + // Note: This value is intended to be taken from the [UA client hints API] ( + // `navigator.userAgentData.platform`). If unavailable, the legacy + // `navigator.platform` API SHOULD NOT be used instead and this attribute SHOULD + // be left unset in order for the values to be consistent. + // The list of possible values is defined in the + // [W3C User-Agent Client Hints specification]. Note that some (but not all) of + // these values can overlap with values in the + // [`os.type` and `os.name` attributes]. However, for consistency, the values in + // the `browser.platform` attribute should capture the exact value that the user + // agent provides. + // + // [UA client hints API]: https://wicg.github.io/ua-client-hints/#interface + // [W3C User-Agent Client Hints specification]: https://wicg.github.io/ua-client-hints/#sec-ch-ua-platform + // [`os.type` and `os.name` attributes]: ./os.md + BrowserPlatformKey = attribute.Key("browser.platform") +) + +// BrowserBrands returns an attribute KeyValue conforming to the "browser.brands" +// semantic conventions. It represents the array of brand name and version +// separated by a space. +func BrowserBrands(val ...string) attribute.KeyValue { + return BrowserBrandsKey.StringSlice(val) +} + +// BrowserLanguage returns an attribute KeyValue conforming to the +// "browser.language" semantic conventions. It represents the preferred language +// of the user using the browser. +func BrowserLanguage(val string) attribute.KeyValue { + return BrowserLanguageKey.String(val) +} + +// BrowserMobile returns an attribute KeyValue conforming to the "browser.mobile" +// semantic conventions. It represents a boolean that is true if the browser is +// running on a mobile device. +func BrowserMobile(val bool) attribute.KeyValue { + return BrowserMobileKey.Bool(val) +} + +// BrowserPlatform returns an attribute KeyValue conforming to the +// "browser.platform" semantic conventions. It represents the platform on which +// the browser is running. +func BrowserPlatform(val string) attribute.KeyValue { + return BrowserPlatformKey.String(val) +} + +// Namespace: cassandra +const ( + // CassandraConsistencyLevelKey is the attribute Key conforming to the + // "cassandra.consistency.level" semantic conventions. It represents the + // consistency level of the query. Based on consistency values from [CQL]. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // + // [CQL]: https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html + CassandraConsistencyLevelKey = attribute.Key("cassandra.consistency.level") + + // CassandraCoordinatorDCKey is the attribute Key conforming to the + // "cassandra.coordinator.dc" semantic conventions. It represents the data + // center of the coordinating node for a query. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: us-west-2 + CassandraCoordinatorDCKey = attribute.Key("cassandra.coordinator.dc") + + // CassandraCoordinatorIDKey is the attribute Key conforming to the + // "cassandra.coordinator.id" semantic conventions. It represents the ID of the + // coordinating node for a query. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: be13faa2-8574-4d71-926d-27f16cf8a7af + CassandraCoordinatorIDKey = attribute.Key("cassandra.coordinator.id") + + // CassandraPageSizeKey is the attribute Key conforming to the + // "cassandra.page.size" semantic conventions. It represents the fetch size used + // for paging, i.e. how many rows will be returned at once. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 5000 + CassandraPageSizeKey = attribute.Key("cassandra.page.size") + + // CassandraQueryIdempotentKey is the attribute Key conforming to the + // "cassandra.query.idempotent" semantic conventions. It represents the whether + // or not the query is idempotent. + // + // Type: boolean + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + CassandraQueryIdempotentKey = attribute.Key("cassandra.query.idempotent") + + // CassandraSpeculativeExecutionCountKey is the attribute Key conforming to the + // "cassandra.speculative_execution.count" semantic conventions. It represents + // the number of times a query was speculatively executed. Not set or `0` if the + // query was not executed speculatively. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 0, 2 + CassandraSpeculativeExecutionCountKey = attribute.Key("cassandra.speculative_execution.count") +) + +// CassandraCoordinatorDC returns an attribute KeyValue conforming to the +// "cassandra.coordinator.dc" semantic conventions. It represents the data center +// of the coordinating node for a query. +func CassandraCoordinatorDC(val string) attribute.KeyValue { + return CassandraCoordinatorDCKey.String(val) +} + +// CassandraCoordinatorID returns an attribute KeyValue conforming to the +// "cassandra.coordinator.id" semantic conventions. It represents the ID of the +// coordinating node for a query. +func CassandraCoordinatorID(val string) attribute.KeyValue { + return CassandraCoordinatorIDKey.String(val) +} + +// CassandraPageSize returns an attribute KeyValue conforming to the +// "cassandra.page.size" semantic conventions. It represents the fetch size used +// for paging, i.e. how many rows will be returned at once. +func CassandraPageSize(val int) attribute.KeyValue { + return CassandraPageSizeKey.Int(val) +} + +// CassandraQueryIdempotent returns an attribute KeyValue conforming to the +// "cassandra.query.idempotent" semantic conventions. It represents the whether +// or not the query is idempotent. +func CassandraQueryIdempotent(val bool) attribute.KeyValue { + return CassandraQueryIdempotentKey.Bool(val) +} + +// CassandraSpeculativeExecutionCount returns an attribute KeyValue conforming to +// the "cassandra.speculative_execution.count" semantic conventions. It +// represents the number of times a query was speculatively executed. Not set or +// `0` if the query was not executed speculatively. +func CassandraSpeculativeExecutionCount(val int) attribute.KeyValue { + return CassandraSpeculativeExecutionCountKey.Int(val) +} + +// Enum values for cassandra.consistency.level +var ( + // All + // Stability: development + CassandraConsistencyLevelAll = CassandraConsistencyLevelKey.String("all") + // Each Quorum + // Stability: development + CassandraConsistencyLevelEachQuorum = CassandraConsistencyLevelKey.String("each_quorum") + // Quorum + // Stability: development + CassandraConsistencyLevelQuorum = CassandraConsistencyLevelKey.String("quorum") + // Local Quorum + // Stability: development + CassandraConsistencyLevelLocalQuorum = CassandraConsistencyLevelKey.String("local_quorum") + // One + // Stability: development + CassandraConsistencyLevelOne = CassandraConsistencyLevelKey.String("one") + // Two + // Stability: development + CassandraConsistencyLevelTwo = CassandraConsistencyLevelKey.String("two") + // Three + // Stability: development + CassandraConsistencyLevelThree = CassandraConsistencyLevelKey.String("three") + // Local One + // Stability: development + CassandraConsistencyLevelLocalOne = CassandraConsistencyLevelKey.String("local_one") + // Any + // Stability: development + CassandraConsistencyLevelAny = CassandraConsistencyLevelKey.String("any") + // Serial + // Stability: development + CassandraConsistencyLevelSerial = CassandraConsistencyLevelKey.String("serial") + // Local Serial + // Stability: development + CassandraConsistencyLevelLocalSerial = CassandraConsistencyLevelKey.String("local_serial") +) + +// Namespace: cicd +const ( + // CICDPipelineActionNameKey is the attribute Key conforming to the + // "cicd.pipeline.action.name" semantic conventions. It represents the kind of + // action a pipeline run is performing. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "BUILD", "RUN", "SYNC" + CICDPipelineActionNameKey = attribute.Key("cicd.pipeline.action.name") + + // CICDPipelineNameKey is the attribute Key conforming to the + // "cicd.pipeline.name" semantic conventions. It represents the human readable + // name of the pipeline within a CI/CD system. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Build and Test", "Lint", "Deploy Go Project", + // "deploy_to_environment" + CICDPipelineNameKey = attribute.Key("cicd.pipeline.name") + + // CICDPipelineResultKey is the attribute Key conforming to the + // "cicd.pipeline.result" semantic conventions. It represents the result of a + // pipeline run. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "success", "failure", "timeout", "skipped" + CICDPipelineResultKey = attribute.Key("cicd.pipeline.result") + + // CICDPipelineRunIDKey is the attribute Key conforming to the + // "cicd.pipeline.run.id" semantic conventions. It represents the unique + // identifier of a pipeline run within a CI/CD system. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "120912" + CICDPipelineRunIDKey = attribute.Key("cicd.pipeline.run.id") + + // CICDPipelineRunStateKey is the attribute Key conforming to the + // "cicd.pipeline.run.state" semantic conventions. It represents the pipeline + // run goes through these states during its lifecycle. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "pending", "executing", "finalizing" + CICDPipelineRunStateKey = attribute.Key("cicd.pipeline.run.state") + + // CICDPipelineRunURLFullKey is the attribute Key conforming to the + // "cicd.pipeline.run.url.full" semantic conventions. It represents the [URL] of + // the pipeline run, providing the complete address in order to locate and + // identify the pipeline run. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // "https://github.com/open-telemetry/semantic-conventions/actions/runs/9753949763?pr=1075" + // + // [URL]: https://wikipedia.org/wiki/URL + CICDPipelineRunURLFullKey = attribute.Key("cicd.pipeline.run.url.full") + + // CICDPipelineTaskNameKey is the attribute Key conforming to the + // "cicd.pipeline.task.name" semantic conventions. It represents the human + // readable name of a task within a pipeline. Task here most closely aligns with + // a [computing process] in a pipeline. Other terms for tasks include commands, + // steps, and procedures. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Run GoLang Linter", "Go Build", "go-test", "deploy_binary" + // + // [computing process]: https://wikipedia.org/wiki/Pipeline_(computing) + CICDPipelineTaskNameKey = attribute.Key("cicd.pipeline.task.name") + + // CICDPipelineTaskRunIDKey is the attribute Key conforming to the + // "cicd.pipeline.task.run.id" semantic conventions. It represents the unique + // identifier of a task run within a pipeline. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "12097" + CICDPipelineTaskRunIDKey = attribute.Key("cicd.pipeline.task.run.id") + + // CICDPipelineTaskRunResultKey is the attribute Key conforming to the + // "cicd.pipeline.task.run.result" semantic conventions. It represents the + // result of a task run. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "success", "failure", "timeout", "skipped" + CICDPipelineTaskRunResultKey = attribute.Key("cicd.pipeline.task.run.result") + + // CICDPipelineTaskRunURLFullKey is the attribute Key conforming to the + // "cicd.pipeline.task.run.url.full" semantic conventions. It represents the + // [URL] of the pipeline task run, providing the complete address in order to + // locate and identify the pipeline task run. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // "https://github.com/open-telemetry/semantic-conventions/actions/runs/9753949763/job/26920038674?pr=1075" + // + // [URL]: https://wikipedia.org/wiki/URL + CICDPipelineTaskRunURLFullKey = attribute.Key("cicd.pipeline.task.run.url.full") + + // CICDPipelineTaskTypeKey is the attribute Key conforming to the + // "cicd.pipeline.task.type" semantic conventions. It represents the type of the + // task within a pipeline. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "build", "test", "deploy" + CICDPipelineTaskTypeKey = attribute.Key("cicd.pipeline.task.type") + + // CICDSystemComponentKey is the attribute Key conforming to the + // "cicd.system.component" semantic conventions. It represents the name of a + // component of the CICD system. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "controller", "scheduler", "agent" + CICDSystemComponentKey = attribute.Key("cicd.system.component") + + // CICDWorkerIDKey is the attribute Key conforming to the "cicd.worker.id" + // semantic conventions. It represents the unique identifier of a worker within + // a CICD system. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "abc123", "10.0.1.2", "controller" + CICDWorkerIDKey = attribute.Key("cicd.worker.id") + + // CICDWorkerNameKey is the attribute Key conforming to the "cicd.worker.name" + // semantic conventions. It represents the name of a worker within a CICD + // system. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "agent-abc", "controller", "Ubuntu LTS" + CICDWorkerNameKey = attribute.Key("cicd.worker.name") + + // CICDWorkerStateKey is the attribute Key conforming to the "cicd.worker.state" + // semantic conventions. It represents the state of a CICD worker / agent. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "idle", "busy", "down" + CICDWorkerStateKey = attribute.Key("cicd.worker.state") + + // CICDWorkerURLFullKey is the attribute Key conforming to the + // "cicd.worker.url.full" semantic conventions. It represents the [URL] of the + // worker, providing the complete address in order to locate and identify the + // worker. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "https://cicd.example.org/worker/abc123" + // + // [URL]: https://wikipedia.org/wiki/URL + CICDWorkerURLFullKey = attribute.Key("cicd.worker.url.full") +) + +// CICDPipelineName returns an attribute KeyValue conforming to the +// "cicd.pipeline.name" semantic conventions. It represents the human readable +// name of the pipeline within a CI/CD system. +func CICDPipelineName(val string) attribute.KeyValue { + return CICDPipelineNameKey.String(val) +} + +// CICDPipelineRunID returns an attribute KeyValue conforming to the +// "cicd.pipeline.run.id" semantic conventions. It represents the unique +// identifier of a pipeline run within a CI/CD system. +func CICDPipelineRunID(val string) attribute.KeyValue { + return CICDPipelineRunIDKey.String(val) +} + +// CICDPipelineRunURLFull returns an attribute KeyValue conforming to the +// "cicd.pipeline.run.url.full" semantic conventions. It represents the [URL] of +// the pipeline run, providing the complete address in order to locate and +// identify the pipeline run. +// +// [URL]: https://wikipedia.org/wiki/URL +func CICDPipelineRunURLFull(val string) attribute.KeyValue { + return CICDPipelineRunURLFullKey.String(val) +} + +// CICDPipelineTaskName returns an attribute KeyValue conforming to the +// "cicd.pipeline.task.name" semantic conventions. It represents the human +// readable name of a task within a pipeline. Task here most closely aligns with +// a [computing process] in a pipeline. Other terms for tasks include commands, +// steps, and procedures. +// +// [computing process]: https://wikipedia.org/wiki/Pipeline_(computing) +func CICDPipelineTaskName(val string) attribute.KeyValue { + return CICDPipelineTaskNameKey.String(val) +} + +// CICDPipelineTaskRunID returns an attribute KeyValue conforming to the +// "cicd.pipeline.task.run.id" semantic conventions. It represents the unique +// identifier of a task run within a pipeline. +func CICDPipelineTaskRunID(val string) attribute.KeyValue { + return CICDPipelineTaskRunIDKey.String(val) +} + +// CICDPipelineTaskRunURLFull returns an attribute KeyValue conforming to the +// "cicd.pipeline.task.run.url.full" semantic conventions. It represents the +// [URL] of the pipeline task run, providing the complete address in order to +// locate and identify the pipeline task run. +// +// [URL]: https://wikipedia.org/wiki/URL +func CICDPipelineTaskRunURLFull(val string) attribute.KeyValue { + return CICDPipelineTaskRunURLFullKey.String(val) +} + +// CICDSystemComponent returns an attribute KeyValue conforming to the +// "cicd.system.component" semantic conventions. It represents the name of a +// component of the CICD system. +func CICDSystemComponent(val string) attribute.KeyValue { + return CICDSystemComponentKey.String(val) +} + +// CICDWorkerID returns an attribute KeyValue conforming to the "cicd.worker.id" +// semantic conventions. It represents the unique identifier of a worker within a +// CICD system. +func CICDWorkerID(val string) attribute.KeyValue { + return CICDWorkerIDKey.String(val) +} + +// CICDWorkerName returns an attribute KeyValue conforming to the +// "cicd.worker.name" semantic conventions. It represents the name of a worker +// within a CICD system. +func CICDWorkerName(val string) attribute.KeyValue { + return CICDWorkerNameKey.String(val) +} + +// CICDWorkerURLFull returns an attribute KeyValue conforming to the +// "cicd.worker.url.full" semantic conventions. It represents the [URL] of the +// worker, providing the complete address in order to locate and identify the +// worker. +// +// [URL]: https://wikipedia.org/wiki/URL +func CICDWorkerURLFull(val string) attribute.KeyValue { + return CICDWorkerURLFullKey.String(val) +} + +// Enum values for cicd.pipeline.action.name +var ( + // The pipeline run is executing a build. + // Stability: development + CICDPipelineActionNameBuild = CICDPipelineActionNameKey.String("BUILD") + // The pipeline run is executing. + // Stability: development + CICDPipelineActionNameRun = CICDPipelineActionNameKey.String("RUN") + // The pipeline run is executing a sync. + // Stability: development + CICDPipelineActionNameSync = CICDPipelineActionNameKey.String("SYNC") +) + +// Enum values for cicd.pipeline.result +var ( + // The pipeline run finished successfully. + // Stability: development + CICDPipelineResultSuccess = CICDPipelineResultKey.String("success") + // The pipeline run did not finish successfully, eg. due to a compile error or a + // failing test. Such failures are usually detected by non-zero exit codes of + // the tools executed in the pipeline run. + // Stability: development + CICDPipelineResultFailure = CICDPipelineResultKey.String("failure") + // The pipeline run failed due to an error in the CICD system, eg. due to the + // worker being killed. + // Stability: development + CICDPipelineResultError = CICDPipelineResultKey.String("error") + // A timeout caused the pipeline run to be interrupted. + // Stability: development + CICDPipelineResultTimeout = CICDPipelineResultKey.String("timeout") + // The pipeline run was cancelled, eg. by a user manually cancelling the + // pipeline run. + // Stability: development + CICDPipelineResultCancellation = CICDPipelineResultKey.String("cancellation") + // The pipeline run was skipped, eg. due to a precondition not being met. + // Stability: development + CICDPipelineResultSkip = CICDPipelineResultKey.String("skip") +) + +// Enum values for cicd.pipeline.run.state +var ( + // The run pending state spans from the event triggering the pipeline run until + // the execution of the run starts (eg. time spent in a queue, provisioning + // agents, creating run resources). + // + // Stability: development + CICDPipelineRunStatePending = CICDPipelineRunStateKey.String("pending") + // The executing state spans the execution of any run tasks (eg. build, test). + // Stability: development + CICDPipelineRunStateExecuting = CICDPipelineRunStateKey.String("executing") + // The finalizing state spans from when the run has finished executing (eg. + // cleanup of run resources). + // Stability: development + CICDPipelineRunStateFinalizing = CICDPipelineRunStateKey.String("finalizing") +) + +// Enum values for cicd.pipeline.task.run.result +var ( + // The task run finished successfully. + // Stability: development + CICDPipelineTaskRunResultSuccess = CICDPipelineTaskRunResultKey.String("success") + // The task run did not finish successfully, eg. due to a compile error or a + // failing test. Such failures are usually detected by non-zero exit codes of + // the tools executed in the task run. + // Stability: development + CICDPipelineTaskRunResultFailure = CICDPipelineTaskRunResultKey.String("failure") + // The task run failed due to an error in the CICD system, eg. due to the worker + // being killed. + // Stability: development + CICDPipelineTaskRunResultError = CICDPipelineTaskRunResultKey.String("error") + // A timeout caused the task run to be interrupted. + // Stability: development + CICDPipelineTaskRunResultTimeout = CICDPipelineTaskRunResultKey.String("timeout") + // The task run was cancelled, eg. by a user manually cancelling the task run. + // Stability: development + CICDPipelineTaskRunResultCancellation = CICDPipelineTaskRunResultKey.String("cancellation") + // The task run was skipped, eg. due to a precondition not being met. + // Stability: development + CICDPipelineTaskRunResultSkip = CICDPipelineTaskRunResultKey.String("skip") +) + +// Enum values for cicd.pipeline.task.type +var ( + // build + // Stability: development + CICDPipelineTaskTypeBuild = CICDPipelineTaskTypeKey.String("build") + // test + // Stability: development + CICDPipelineTaskTypeTest = CICDPipelineTaskTypeKey.String("test") + // deploy + // Stability: development + CICDPipelineTaskTypeDeploy = CICDPipelineTaskTypeKey.String("deploy") +) + +// Enum values for cicd.worker.state +var ( + // The worker is not performing work for the CICD system. It is available to the + // CICD system to perform work on (online / idle). + // Stability: development + CICDWorkerStateAvailable = CICDWorkerStateKey.String("available") + // The worker is performing work for the CICD system. + // Stability: development + CICDWorkerStateBusy = CICDWorkerStateKey.String("busy") + // The worker is not available to the CICD system (disconnected / down). + // Stability: development + CICDWorkerStateOffline = CICDWorkerStateKey.String("offline") +) + +// Namespace: client +const ( + // ClientAddressKey is the attribute Key conforming to the "client.address" + // semantic conventions. It represents the client address - domain name if + // available without reverse DNS lookup; otherwise, IP address or Unix domain + // socket name. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "client.example.com", "10.1.2.80", "/tmp/my.sock" + // Note: When observed from the server side, and when communicating through an + // intermediary, `client.address` SHOULD represent the client address behind any + // intermediaries, for example proxies, if it's available. + ClientAddressKey = attribute.Key("client.address") + + // ClientPortKey is the attribute Key conforming to the "client.port" semantic + // conventions. It represents the client port number. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: 65123 + // Note: When observed from the server side, and when communicating through an + // intermediary, `client.port` SHOULD represent the client port behind any + // intermediaries, for example proxies, if it's available. + ClientPortKey = attribute.Key("client.port") +) + +// ClientAddress returns an attribute KeyValue conforming to the "client.address" +// semantic conventions. It represents the client address - domain name if +// available without reverse DNS lookup; otherwise, IP address or Unix domain +// socket name. +func ClientAddress(val string) attribute.KeyValue { + return ClientAddressKey.String(val) +} + +// ClientPort returns an attribute KeyValue conforming to the "client.port" +// semantic conventions. It represents the client port number. +func ClientPort(val int) attribute.KeyValue { + return ClientPortKey.Int(val) +} + +// Namespace: cloud +const ( + // CloudAccountIDKey is the attribute Key conforming to the "cloud.account.id" + // semantic conventions. It represents the cloud account ID the resource is + // assigned to. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "111111111111", "opentelemetry" + CloudAccountIDKey = attribute.Key("cloud.account.id") + + // CloudAvailabilityZoneKey is the attribute Key conforming to the + // "cloud.availability_zone" semantic conventions. It represents the cloud + // regions often have multiple, isolated locations known as zones to increase + // availability. Availability zone represents the zone where the resource is + // running. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "us-east-1c" + // Note: Availability zones are called "zones" on Alibaba Cloud and Google + // Cloud. + CloudAvailabilityZoneKey = attribute.Key("cloud.availability_zone") + + // CloudPlatformKey is the attribute Key conforming to the "cloud.platform" + // semantic conventions. It represents the cloud platform in use. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // Note: The prefix of the service SHOULD match the one specified in + // `cloud.provider`. + CloudPlatformKey = attribute.Key("cloud.platform") + + // CloudProviderKey is the attribute Key conforming to the "cloud.provider" + // semantic conventions. It represents the name of the cloud provider. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + CloudProviderKey = attribute.Key("cloud.provider") + + // CloudRegionKey is the attribute Key conforming to the "cloud.region" semantic + // conventions. It represents the geographical region within a cloud provider. + // When associated with a resource, this attribute specifies the region where + // the resource operates. When calling services or APIs deployed on a cloud, + // this attribute identifies the region where the called destination is + // deployed. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "us-central1", "us-east-1" + // Note: Refer to your provider's docs to see the available regions, for example + // [Alibaba Cloud regions], [AWS regions], [Azure regions], + // [Google Cloud regions], or [Tencent Cloud regions]. + // + // [Alibaba Cloud regions]: https://www.alibabacloud.com/help/doc-detail/40654.htm + // [AWS regions]: https://aws.amazon.com/about-aws/global-infrastructure/regions_az/ + // [Azure regions]: https://azure.microsoft.com/global-infrastructure/geographies/ + // [Google Cloud regions]: https://cloud.google.com/about/locations + // [Tencent Cloud regions]: https://www.tencentcloud.com/document/product/213/6091 + CloudRegionKey = attribute.Key("cloud.region") + + // CloudResourceIDKey is the attribute Key conforming to the "cloud.resource_id" + // semantic conventions. It represents the cloud provider-specific native + // identifier of the monitored cloud resource (e.g. an [ARN] on AWS, a + // [fully qualified resource ID] on Azure, a [full resource name] on GCP). + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "arn:aws:lambda:REGION:ACCOUNT_ID:function:my-function", + // "//run.googleapis.com/projects/PROJECT_ID/locations/LOCATION_ID/services/SERVICE_ID", + // "/subscriptions//resourceGroups/ + // /providers/Microsoft.Web/sites//functions/" + // Note: On some cloud providers, it may not be possible to determine the full + // ID at startup, + // so it may be necessary to set `cloud.resource_id` as a span attribute + // instead. + // + // The exact value to use for `cloud.resource_id` depends on the cloud provider. + // The following well-known definitions MUST be used if you set this attribute + // and they apply: + // + // - **AWS Lambda:** The function [ARN]. + // Take care not to use the "invoked ARN" directly but replace any + // [alias suffix] + // with the resolved function version, as the same runtime instance may be + // invocable with + // multiple different aliases. + // - **GCP:** The [URI of the resource] + // - **Azure:** The [Fully Qualified Resource ID] of the invoked function, + // *not* the function app, having the form + // + // `/subscriptions//resourceGroups//providers/Microsoft.Web/sites//functions/` + // . + // This means that a span attribute MUST be used, as an Azure function app + // can host multiple functions that would usually share + // a TracerProvider. + // + // + // [ARN]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html + // [fully qualified resource ID]: https://learn.microsoft.com/rest/api/resources/resources/get-by-id + // [full resource name]: https://google.aip.dev/122#full-resource-names + // [ARN]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html + // [alias suffix]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html + // [URI of the resource]: https://cloud.google.com/iam/docs/full-resource-names + // [Fully Qualified Resource ID]: https://learn.microsoft.com/rest/api/resources/resources/get-by-id + CloudResourceIDKey = attribute.Key("cloud.resource_id") +) + +// CloudAccountID returns an attribute KeyValue conforming to the +// "cloud.account.id" semantic conventions. It represents the cloud account ID +// the resource is assigned to. +func CloudAccountID(val string) attribute.KeyValue { + return CloudAccountIDKey.String(val) +} + +// CloudAvailabilityZone returns an attribute KeyValue conforming to the +// "cloud.availability_zone" semantic conventions. It represents the cloud +// regions often have multiple, isolated locations known as zones to increase +// availability. Availability zone represents the zone where the resource is +// running. +func CloudAvailabilityZone(val string) attribute.KeyValue { + return CloudAvailabilityZoneKey.String(val) +} + +// CloudRegion returns an attribute KeyValue conforming to the "cloud.region" +// semantic conventions. It represents the geographical region within a cloud +// provider. When associated with a resource, this attribute specifies the region +// where the resource operates. When calling services or APIs deployed on a +// cloud, this attribute identifies the region where the called destination is +// deployed. +func CloudRegion(val string) attribute.KeyValue { + return CloudRegionKey.String(val) +} + +// CloudResourceID returns an attribute KeyValue conforming to the +// "cloud.resource_id" semantic conventions. It represents the cloud +// provider-specific native identifier of the monitored cloud resource (e.g. an +// [ARN] on AWS, a [fully qualified resource ID] on Azure, a [full resource name] +// on GCP). +// +// [ARN]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html +// [fully qualified resource ID]: https://learn.microsoft.com/rest/api/resources/resources/get-by-id +// [full resource name]: https://google.aip.dev/122#full-resource-names +func CloudResourceID(val string) attribute.KeyValue { + return CloudResourceIDKey.String(val) +} + +// Enum values for cloud.platform +var ( + // Akamai Cloud Compute + // Stability: development + CloudPlatformAkamaiCloudCompute = CloudPlatformKey.String("akamai_cloud.compute") + // Alibaba Cloud Elastic Compute Service + // Stability: development + CloudPlatformAlibabaCloudECS = CloudPlatformKey.String("alibaba_cloud_ecs") + // Alibaba Cloud Function Compute + // Stability: development + CloudPlatformAlibabaCloudFC = CloudPlatformKey.String("alibaba_cloud_fc") + // Red Hat OpenShift on Alibaba Cloud + // Stability: development + CloudPlatformAlibabaCloudOpenShift = CloudPlatformKey.String("alibaba_cloud_openshift") + // AWS Elastic Compute Cloud + // Stability: development + CloudPlatformAWSEC2 = CloudPlatformKey.String("aws_ec2") + // AWS Elastic Container Service + // Stability: development + CloudPlatformAWSECS = CloudPlatformKey.String("aws_ecs") + // AWS Elastic Kubernetes Service + // Stability: development + CloudPlatformAWSEKS = CloudPlatformKey.String("aws_eks") + // AWS Lambda + // Stability: development + CloudPlatformAWSLambda = CloudPlatformKey.String("aws_lambda") + // AWS Elastic Beanstalk + // Stability: development + CloudPlatformAWSElasticBeanstalk = CloudPlatformKey.String("aws_elastic_beanstalk") + // AWS App Runner + // Stability: development + CloudPlatformAWSAppRunner = CloudPlatformKey.String("aws_app_runner") + // Red Hat OpenShift on AWS (ROSA) + // Stability: development + CloudPlatformAWSOpenShift = CloudPlatformKey.String("aws_openshift") + // Azure Virtual Machines + // Stability: development + CloudPlatformAzureVM = CloudPlatformKey.String("azure.vm") + // Azure Container Apps + // Stability: development + CloudPlatformAzureContainerApps = CloudPlatformKey.String("azure.container_apps") + // Azure Container Instances + // Stability: development + CloudPlatformAzureContainerInstances = CloudPlatformKey.String("azure.container_instances") + // Azure Kubernetes Service + // Stability: development + CloudPlatformAzureAKS = CloudPlatformKey.String("azure.aks") + // Azure Functions + // Stability: development + CloudPlatformAzureFunctions = CloudPlatformKey.String("azure.functions") + // Azure App Service + // Stability: development + CloudPlatformAzureAppService = CloudPlatformKey.String("azure.app_service") + // Azure Red Hat OpenShift + // Stability: development + CloudPlatformAzureOpenShift = CloudPlatformKey.String("azure.openshift") + // Google Vertex AI Agent Engine + // Stability: development + CloudPlatformGCPAgentEngine = CloudPlatformKey.String("gcp.agent_engine") + // Google Bare Metal Solution (BMS) + // Stability: development + CloudPlatformGCPBareMetalSolution = CloudPlatformKey.String("gcp_bare_metal_solution") + // Google Cloud Compute Engine (GCE) + // Stability: development + CloudPlatformGCPComputeEngine = CloudPlatformKey.String("gcp_compute_engine") + // Google Cloud Run + // Stability: development + CloudPlatformGCPCloudRun = CloudPlatformKey.String("gcp_cloud_run") + // Google Cloud Kubernetes Engine (GKE) + // Stability: development + CloudPlatformGCPKubernetesEngine = CloudPlatformKey.String("gcp_kubernetes_engine") + // Google Cloud Functions (GCF) + // Stability: development + CloudPlatformGCPCloudFunctions = CloudPlatformKey.String("gcp_cloud_functions") + // Google Cloud App Engine (GAE) + // Stability: development + CloudPlatformGCPAppEngine = CloudPlatformKey.String("gcp_app_engine") + // Red Hat OpenShift on Google Cloud + // Stability: development + CloudPlatformGCPOpenShift = CloudPlatformKey.String("gcp_openshift") + // Server on Hetzner Cloud + // Stability: development + CloudPlatformHetznerCloudServer = CloudPlatformKey.String("hetzner.cloud_server") + // Red Hat OpenShift on IBM Cloud + // Stability: development + CloudPlatformIBMCloudOpenShift = CloudPlatformKey.String("ibm_cloud_openshift") + // Compute on Oracle Cloud Infrastructure (OCI) + // Stability: development + CloudPlatformOracleCloudCompute = CloudPlatformKey.String("oracle_cloud_compute") + // Kubernetes Engine (OKE) on Oracle Cloud Infrastructure (OCI) + // Stability: development + CloudPlatformOracleCloudOKE = CloudPlatformKey.String("oracle_cloud_oke") + // Tencent Cloud Cloud Virtual Machine (CVM) + // Stability: development + CloudPlatformTencentCloudCVM = CloudPlatformKey.String("tencent_cloud_cvm") + // Tencent Cloud Elastic Kubernetes Service (EKS) + // Stability: development + CloudPlatformTencentCloudEKS = CloudPlatformKey.String("tencent_cloud_eks") + // Tencent Cloud Serverless Cloud Function (SCF) + // Stability: development + CloudPlatformTencentCloudSCF = CloudPlatformKey.String("tencent_cloud_scf") + // Vultr Cloud Compute + // Stability: development + CloudPlatformVultrCloudCompute = CloudPlatformKey.String("vultr.cloud_compute") +) + +// Enum values for cloud.provider +var ( + // Akamai Cloud + // Stability: development + CloudProviderAkamaiCloud = CloudProviderKey.String("akamai_cloud") + // Alibaba Cloud + // Stability: development + CloudProviderAlibabaCloud = CloudProviderKey.String("alibaba_cloud") + // Amazon Web Services + // Stability: development + CloudProviderAWS = CloudProviderKey.String("aws") + // Microsoft Azure + // Stability: development + CloudProviderAzure = CloudProviderKey.String("azure") + // Google Cloud Platform + // Stability: development + CloudProviderGCP = CloudProviderKey.String("gcp") + // Heroku Platform as a Service + // Stability: development + CloudProviderHeroku = CloudProviderKey.String("heroku") + // Hetzner + // Stability: development + CloudProviderHetzner = CloudProviderKey.String("hetzner") + // IBM Cloud + // Stability: development + CloudProviderIBMCloud = CloudProviderKey.String("ibm_cloud") + // Oracle Cloud Infrastructure (OCI) + // Stability: development + CloudProviderOracleCloud = CloudProviderKey.String("oracle_cloud") + // Tencent Cloud + // Stability: development + CloudProviderTencentCloud = CloudProviderKey.String("tencent_cloud") + // Vultr + // Stability: development + CloudProviderVultr = CloudProviderKey.String("vultr") +) + +// Namespace: cloudevents +const ( + // CloudEventsEventIDKey is the attribute Key conforming to the + // "cloudevents.event_id" semantic conventions. It represents the [event_id] + // uniquely identifies the event. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "123e4567-e89b-12d3-a456-426614174000", "0001" + // + // [event_id]: https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#id + CloudEventsEventIDKey = attribute.Key("cloudevents.event_id") + + // CloudEventsEventSourceKey is the attribute Key conforming to the + // "cloudevents.event_source" semantic conventions. It represents the [source] + // identifies the context in which an event happened. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "https://github.com/cloudevents", "/cloudevents/spec/pull/123", + // "my-service" + // + // [source]: https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#source-1 + CloudEventsEventSourceKey = attribute.Key("cloudevents.event_source") + + // CloudEventsEventSpecVersionKey is the attribute Key conforming to the + // "cloudevents.event_spec_version" semantic conventions. It represents the + // [version of the CloudEvents specification] which the event uses. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 1.0 + // + // [version of the CloudEvents specification]: https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#specversion + CloudEventsEventSpecVersionKey = attribute.Key("cloudevents.event_spec_version") + + // CloudEventsEventSubjectKey is the attribute Key conforming to the + // "cloudevents.event_subject" semantic conventions. It represents the [subject] + // of the event in the context of the event producer (identified by source). + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: mynewfile.jpg + // + // [subject]: https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#subject + CloudEventsEventSubjectKey = attribute.Key("cloudevents.event_subject") + + // CloudEventsEventTypeKey is the attribute Key conforming to the + // "cloudevents.event_type" semantic conventions. It represents the [event_type] + // contains a value describing the type of event related to the originating + // occurrence. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "com.github.pull_request.opened", "com.example.object.deleted.v2" + // + // [event_type]: https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#type + CloudEventsEventTypeKey = attribute.Key("cloudevents.event_type") +) + +// CloudEventsEventID returns an attribute KeyValue conforming to the +// "cloudevents.event_id" semantic conventions. It represents the [event_id] +// uniquely identifies the event. +// +// [event_id]: https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#id +func CloudEventsEventID(val string) attribute.KeyValue { + return CloudEventsEventIDKey.String(val) +} + +// CloudEventsEventSource returns an attribute KeyValue conforming to the +// "cloudevents.event_source" semantic conventions. It represents the [source] +// identifies the context in which an event happened. +// +// [source]: https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#source-1 +func CloudEventsEventSource(val string) attribute.KeyValue { + return CloudEventsEventSourceKey.String(val) +} + +// CloudEventsEventSpecVersion returns an attribute KeyValue conforming to the +// "cloudevents.event_spec_version" semantic conventions. It represents the +// [version of the CloudEvents specification] which the event uses. +// +// [version of the CloudEvents specification]: https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#specversion +func CloudEventsEventSpecVersion(val string) attribute.KeyValue { + return CloudEventsEventSpecVersionKey.String(val) +} + +// CloudEventsEventSubject returns an attribute KeyValue conforming to the +// "cloudevents.event_subject" semantic conventions. It represents the [subject] +// of the event in the context of the event producer (identified by source). +// +// [subject]: https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#subject +func CloudEventsEventSubject(val string) attribute.KeyValue { + return CloudEventsEventSubjectKey.String(val) +} + +// CloudEventsEventType returns an attribute KeyValue conforming to the +// "cloudevents.event_type" semantic conventions. It represents the [event_type] +// contains a value describing the type of event related to the originating +// occurrence. +// +// [event_type]: https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#type +func CloudEventsEventType(val string) attribute.KeyValue { + return CloudEventsEventTypeKey.String(val) +} + +// Namespace: cloudfoundry +const ( + // CloudFoundryAppIDKey is the attribute Key conforming to the + // "cloudfoundry.app.id" semantic conventions. It represents the guid of the + // application. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "218fc5a9-a5f1-4b54-aa05-46717d0ab26d" + // Note: Application instrumentation should use the value from environment + // variable `VCAP_APPLICATION.application_id`. This is the same value as + // reported by `cf app --guid`. + CloudFoundryAppIDKey = attribute.Key("cloudfoundry.app.id") + + // CloudFoundryAppInstanceIDKey is the attribute Key conforming to the + // "cloudfoundry.app.instance.id" semantic conventions. It represents the index + // of the application instance. 0 when just one instance is active. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "0", "1" + // Note: CloudFoundry defines the `instance_id` in the [Loggregator v2 envelope] + // . + // It is used for logs and metrics emitted by CloudFoundry. It is + // supposed to contain the application instance index for applications + // deployed on the runtime. + // + // Application instrumentation should use the value from environment + // variable `CF_INSTANCE_INDEX`. + // + // [Loggregator v2 envelope]: https://github.com/cloudfoundry/loggregator-api#v2-envelope + CloudFoundryAppInstanceIDKey = attribute.Key("cloudfoundry.app.instance.id") + + // CloudFoundryAppNameKey is the attribute Key conforming to the + // "cloudfoundry.app.name" semantic conventions. It represents the name of the + // application. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "my-app-name" + // Note: Application instrumentation should use the value from environment + // variable `VCAP_APPLICATION.application_name`. This is the same value + // as reported by `cf apps`. + CloudFoundryAppNameKey = attribute.Key("cloudfoundry.app.name") + + // CloudFoundryOrgIDKey is the attribute Key conforming to the + // "cloudfoundry.org.id" semantic conventions. It represents the guid of the + // CloudFoundry org the application is running in. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "218fc5a9-a5f1-4b54-aa05-46717d0ab26d" + // Note: Application instrumentation should use the value from environment + // variable `VCAP_APPLICATION.org_id`. This is the same value as + // reported by `cf org --guid`. + CloudFoundryOrgIDKey = attribute.Key("cloudfoundry.org.id") + + // CloudFoundryOrgNameKey is the attribute Key conforming to the + // "cloudfoundry.org.name" semantic conventions. It represents the name of the + // CloudFoundry organization the app is running in. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "my-org-name" + // Note: Application instrumentation should use the value from environment + // variable `VCAP_APPLICATION.org_name`. This is the same value as + // reported by `cf orgs`. + CloudFoundryOrgNameKey = attribute.Key("cloudfoundry.org.name") + + // CloudFoundryProcessIDKey is the attribute Key conforming to the + // "cloudfoundry.process.id" semantic conventions. It represents the UID + // identifying the process. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "218fc5a9-a5f1-4b54-aa05-46717d0ab26d" + // Note: Application instrumentation should use the value from environment + // variable `VCAP_APPLICATION.process_id`. It is supposed to be equal to + // `VCAP_APPLICATION.app_id` for applications deployed to the runtime. + // For system components, this could be the actual PID. + CloudFoundryProcessIDKey = attribute.Key("cloudfoundry.process.id") + + // CloudFoundryProcessTypeKey is the attribute Key conforming to the + // "cloudfoundry.process.type" semantic conventions. It represents the type of + // process. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "web" + // Note: CloudFoundry applications can consist of multiple jobs. Usually the + // main process will be of type `web`. There can be additional background + // tasks or side-cars with different process types. + CloudFoundryProcessTypeKey = attribute.Key("cloudfoundry.process.type") + + // CloudFoundrySpaceIDKey is the attribute Key conforming to the + // "cloudfoundry.space.id" semantic conventions. It represents the guid of the + // CloudFoundry space the application is running in. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "218fc5a9-a5f1-4b54-aa05-46717d0ab26d" + // Note: Application instrumentation should use the value from environment + // variable `VCAP_APPLICATION.space_id`. This is the same value as + // reported by `cf space --guid`. + CloudFoundrySpaceIDKey = attribute.Key("cloudfoundry.space.id") + + // CloudFoundrySpaceNameKey is the attribute Key conforming to the + // "cloudfoundry.space.name" semantic conventions. It represents the name of the + // CloudFoundry space the application is running in. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "my-space-name" + // Note: Application instrumentation should use the value from environment + // variable `VCAP_APPLICATION.space_name`. This is the same value as + // reported by `cf spaces`. + CloudFoundrySpaceNameKey = attribute.Key("cloudfoundry.space.name") + + // CloudFoundrySystemIDKey is the attribute Key conforming to the + // "cloudfoundry.system.id" semantic conventions. It represents a guid or + // another name describing the event source. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "cf/gorouter" + // Note: CloudFoundry defines the `source_id` in the [Loggregator v2 envelope]. + // It is used for logs and metrics emitted by CloudFoundry. It is + // supposed to contain the component name, e.g. "gorouter", for + // CloudFoundry components. + // + // When system components are instrumented, values from the + // [Bosh spec] + // should be used. The `system.id` should be set to + // `spec.deployment/spec.name`. + // + // [Loggregator v2 envelope]: https://github.com/cloudfoundry/loggregator-api#v2-envelope + // [Bosh spec]: https://bosh.io/docs/jobs/#properties-spec + CloudFoundrySystemIDKey = attribute.Key("cloudfoundry.system.id") + + // CloudFoundrySystemInstanceIDKey is the attribute Key conforming to the + // "cloudfoundry.system.instance.id" semantic conventions. It represents a guid + // describing the concrete instance of the event source. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "218fc5a9-a5f1-4b54-aa05-46717d0ab26d" + // Note: CloudFoundry defines the `instance_id` in the [Loggregator v2 envelope] + // . + // It is used for logs and metrics emitted by CloudFoundry. It is + // supposed to contain the vm id for CloudFoundry components. + // + // When system components are instrumented, values from the + // [Bosh spec] + // should be used. The `system.instance.id` should be set to `spec.id`. + // + // [Loggregator v2 envelope]: https://github.com/cloudfoundry/loggregator-api#v2-envelope + // [Bosh spec]: https://bosh.io/docs/jobs/#properties-spec + CloudFoundrySystemInstanceIDKey = attribute.Key("cloudfoundry.system.instance.id") +) + +// CloudFoundryAppID returns an attribute KeyValue conforming to the +// "cloudfoundry.app.id" semantic conventions. It represents the guid of the +// application. +func CloudFoundryAppID(val string) attribute.KeyValue { + return CloudFoundryAppIDKey.String(val) +} + +// CloudFoundryAppInstanceID returns an attribute KeyValue conforming to the +// "cloudfoundry.app.instance.id" semantic conventions. It represents the index +// of the application instance. 0 when just one instance is active. +func CloudFoundryAppInstanceID(val string) attribute.KeyValue { + return CloudFoundryAppInstanceIDKey.String(val) +} + +// CloudFoundryAppName returns an attribute KeyValue conforming to the +// "cloudfoundry.app.name" semantic conventions. It represents the name of the +// application. +func CloudFoundryAppName(val string) attribute.KeyValue { + return CloudFoundryAppNameKey.String(val) +} + +// CloudFoundryOrgID returns an attribute KeyValue conforming to the +// "cloudfoundry.org.id" semantic conventions. It represents the guid of the +// CloudFoundry org the application is running in. +func CloudFoundryOrgID(val string) attribute.KeyValue { + return CloudFoundryOrgIDKey.String(val) +} + +// CloudFoundryOrgName returns an attribute KeyValue conforming to the +// "cloudfoundry.org.name" semantic conventions. It represents the name of the +// CloudFoundry organization the app is running in. +func CloudFoundryOrgName(val string) attribute.KeyValue { + return CloudFoundryOrgNameKey.String(val) +} + +// CloudFoundryProcessID returns an attribute KeyValue conforming to the +// "cloudfoundry.process.id" semantic conventions. It represents the UID +// identifying the process. +func CloudFoundryProcessID(val string) attribute.KeyValue { + return CloudFoundryProcessIDKey.String(val) +} + +// CloudFoundryProcessType returns an attribute KeyValue conforming to the +// "cloudfoundry.process.type" semantic conventions. It represents the type of +// process. +func CloudFoundryProcessType(val string) attribute.KeyValue { + return CloudFoundryProcessTypeKey.String(val) +} + +// CloudFoundrySpaceID returns an attribute KeyValue conforming to the +// "cloudfoundry.space.id" semantic conventions. It represents the guid of the +// CloudFoundry space the application is running in. +func CloudFoundrySpaceID(val string) attribute.KeyValue { + return CloudFoundrySpaceIDKey.String(val) +} + +// CloudFoundrySpaceName returns an attribute KeyValue conforming to the +// "cloudfoundry.space.name" semantic conventions. It represents the name of the +// CloudFoundry space the application is running in. +func CloudFoundrySpaceName(val string) attribute.KeyValue { + return CloudFoundrySpaceNameKey.String(val) +} + +// CloudFoundrySystemID returns an attribute KeyValue conforming to the +// "cloudfoundry.system.id" semantic conventions. It represents a guid or another +// name describing the event source. +func CloudFoundrySystemID(val string) attribute.KeyValue { + return CloudFoundrySystemIDKey.String(val) +} + +// CloudFoundrySystemInstanceID returns an attribute KeyValue conforming to the +// "cloudfoundry.system.instance.id" semantic conventions. It represents a guid +// describing the concrete instance of the event source. +func CloudFoundrySystemInstanceID(val string) attribute.KeyValue { + return CloudFoundrySystemInstanceIDKey.String(val) +} + +// Namespace: code +const ( + // CodeColumnNumberKey is the attribute Key conforming to the + // "code.column.number" semantic conventions. It represents the column number in + // `code.file.path` best representing the operation. It SHOULD point within the + // code unit named in `code.function.name`. This attribute MUST NOT be used on + // the Profile signal since the data is already captured in 'message Line'. This + // constraint is imposed to prevent redundancy and maintain data integrity. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Stable + CodeColumnNumberKey = attribute.Key("code.column.number") + + // CodeFilePathKey is the attribute Key conforming to the "code.file.path" + // semantic conventions. It represents the source code file name that identifies + // the code unit as uniquely as possible (preferably an absolute file path). + // This attribute MUST NOT be used on the Profile signal since the data is + // already captured in 'message Function'. This constraint is imposed to prevent + // redundancy and maintain data integrity. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: /usr/local/MyApplication/content_root/app/index.php + CodeFilePathKey = attribute.Key("code.file.path") + + // CodeFunctionNameKey is the attribute Key conforming to the + // "code.function.name" semantic conventions. It represents the method or + // function fully-qualified name without arguments. The value should fit the + // natural representation of the language runtime, which is also likely the same + // used within `code.stacktrace` attribute value. This attribute MUST NOT be + // used on the Profile signal since the data is already captured in 'message + // Function'. This constraint is imposed to prevent redundancy and maintain data + // integrity. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "com.example.MyHttpService.serveRequest", + // "GuzzleHttp\Client::transfer", "fopen" + // Note: Values and format depends on each language runtime, thus it is + // impossible to provide an exhaustive list of examples. + // The values are usually the same (or prefixes of) the ones found in native + // stack trace representation stored in + // `code.stacktrace` without information on arguments. + // + // Examples: + // + // - Java method: `com.example.MyHttpService.serveRequest` + // - Java anonymous class method: `com.mycompany.Main$1.myMethod` + // - Java lambda method: + // `com.mycompany.Main$$Lambda/0x0000748ae4149c00.myMethod` + // - PHP function: `GuzzleHttp\Client::transfer` + // - Go function: `github.com/my/repo/pkg.foo.func5` + // - Elixir: `OpenTelemetry.Ctx.new` + // - Erlang: `opentelemetry_ctx:new` + // - Rust: `playground::my_module::my_cool_func` + // - C function: `fopen` + CodeFunctionNameKey = attribute.Key("code.function.name") + + // CodeLineNumberKey is the attribute Key conforming to the "code.line.number" + // semantic conventions. It represents the line number in `code.file.path` best + // representing the operation. It SHOULD point within the code unit named in + // `code.function.name`. This attribute MUST NOT be used on the Profile signal + // since the data is already captured in 'message Line'. This constraint is + // imposed to prevent redundancy and maintain data integrity. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Stable + CodeLineNumberKey = attribute.Key("code.line.number") + + // CodeStacktraceKey is the attribute Key conforming to the "code.stacktrace" + // semantic conventions. It represents a stacktrace as a string in the natural + // representation for the language runtime. The representation is identical to + // [`exception.stacktrace`]. This attribute MUST NOT be used on the Profile + // signal since the data is already captured in 'message Location'. This + // constraint is imposed to prevent redundancy and maintain data integrity. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: at com.example.GenerateTrace.methodB(GenerateTrace.java:13)\n at + // com.example.GenerateTrace.methodA(GenerateTrace.java:9)\n at + // com.example.GenerateTrace.main(GenerateTrace.java:5) + // + // [`exception.stacktrace`]: /docs/exceptions/exceptions-spans.md#stacktrace-representation + CodeStacktraceKey = attribute.Key("code.stacktrace") +) + +// CodeColumnNumber returns an attribute KeyValue conforming to the +// "code.column.number" semantic conventions. It represents the column number in +// `code.file.path` best representing the operation. It SHOULD point within the +// code unit named in `code.function.name`. This attribute MUST NOT be used on +// the Profile signal since the data is already captured in 'message Line'. This +// constraint is imposed to prevent redundancy and maintain data integrity. +func CodeColumnNumber(val int) attribute.KeyValue { + return CodeColumnNumberKey.Int(val) +} + +// CodeFilePath returns an attribute KeyValue conforming to the "code.file.path" +// semantic conventions. It represents the source code file name that identifies +// the code unit as uniquely as possible (preferably an absolute file path). This +// attribute MUST NOT be used on the Profile signal since the data is already +// captured in 'message Function'. This constraint is imposed to prevent +// redundancy and maintain data integrity. +func CodeFilePath(val string) attribute.KeyValue { + return CodeFilePathKey.String(val) +} + +// CodeFunctionName returns an attribute KeyValue conforming to the +// "code.function.name" semantic conventions. It represents the method or +// function fully-qualified name without arguments. The value should fit the +// natural representation of the language runtime, which is also likely the same +// used within `code.stacktrace` attribute value. This attribute MUST NOT be used +// on the Profile signal since the data is already captured in 'message +// Function'. This constraint is imposed to prevent redundancy and maintain data +// integrity. +func CodeFunctionName(val string) attribute.KeyValue { + return CodeFunctionNameKey.String(val) +} + +// CodeLineNumber returns an attribute KeyValue conforming to the +// "code.line.number" semantic conventions. It represents the line number in +// `code.file.path` best representing the operation. It SHOULD point within the +// code unit named in `code.function.name`. This attribute MUST NOT be used on +// the Profile signal since the data is already captured in 'message Line'. This +// constraint is imposed to prevent redundancy and maintain data integrity. +func CodeLineNumber(val int) attribute.KeyValue { + return CodeLineNumberKey.Int(val) +} + +// CodeStacktrace returns an attribute KeyValue conforming to the +// "code.stacktrace" semantic conventions. It represents a stacktrace as a string +// in the natural representation for the language runtime. The representation is +// identical to [`exception.stacktrace`]. This attribute MUST NOT be used on the +// Profile signal since the data is already captured in 'message Location'. This +// constraint is imposed to prevent redundancy and maintain data integrity. +// +// [`exception.stacktrace`]: /docs/exceptions/exceptions-spans.md#stacktrace-representation +func CodeStacktrace(val string) attribute.KeyValue { + return CodeStacktraceKey.String(val) +} + +// Namespace: container +const ( + // ContainerCommandKey is the attribute Key conforming to the + // "container.command" semantic conventions. It represents the command used to + // run the container (i.e. the command name). + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "otelcontribcol" + // Note: If using embedded credentials or sensitive data, it is recommended to + // remove them to prevent potential leakage. + ContainerCommandKey = attribute.Key("container.command") + + // ContainerCommandArgsKey is the attribute Key conforming to the + // "container.command_args" semantic conventions. It represents the all the + // command arguments (including the command/executable itself) run by the + // container. + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "otelcontribcol", "--config", "config.yaml" + ContainerCommandArgsKey = attribute.Key("container.command_args") + + // ContainerCommandLineKey is the attribute Key conforming to the + // "container.command_line" semantic conventions. It represents the full command + // run by the container as a single string representing the full command. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "otelcontribcol --config config.yaml" + ContainerCommandLineKey = attribute.Key("container.command_line") + + // ContainerCSIPluginNameKey is the attribute Key conforming to the + // "container.csi.plugin.name" semantic conventions. It represents the name of + // the CSI ([Container Storage Interface]) plugin used by the volume. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "pd.csi.storage.gke.io" + // Note: This can sometimes be referred to as a "driver" in CSI implementations. + // This should represent the `name` field of the GetPluginInfo RPC. + // + // [Container Storage Interface]: https://github.com/container-storage-interface/spec + ContainerCSIPluginNameKey = attribute.Key("container.csi.plugin.name") + + // ContainerCSIVolumeIDKey is the attribute Key conforming to the + // "container.csi.volume.id" semantic conventions. It represents the unique + // volume ID returned by the CSI ([Container Storage Interface]) plugin. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "projects/my-gcp-project/zones/my-gcp-zone/disks/my-gcp-disk" + // Note: This can sometimes be referred to as a "volume handle" in CSI + // implementations. This should represent the `Volume.volume_id` field in CSI + // spec. + // + // [Container Storage Interface]: https://github.com/container-storage-interface/spec + ContainerCSIVolumeIDKey = attribute.Key("container.csi.volume.id") + + // ContainerIDKey is the attribute Key conforming to the "container.id" semantic + // conventions. It represents the container ID. Usually a UUID, as for example + // used to [identify Docker containers]. The UUID might be abbreviated. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Alpha + // + // Examples: "a3bf90e006b2" + // + // [identify Docker containers]: https://docs.docker.com/engine/containers/run/#container-identification + ContainerIDKey = attribute.Key("container.id") + + // ContainerImageIDKey is the attribute Key conforming to the + // "container.image.id" semantic conventions. It represents the runtime specific + // image identifier. Usually a hash algorithm followed by a UUID. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // "sha256:19c92d0a00d1b66d897bceaa7319bee0dd38a10a851c60bcec9474aa3f01e50f" + // Note: Docker defines a sha256 of the image id; `container.image.id` + // corresponds to the `Image` field from the Docker container inspect [API] + // endpoint. + // K8s defines a link to the container registry repository with digest + // `"imageID": "registry.azurecr.io /namespace/service/dockerfile@sha256:bdeabd40c3a8a492eaf9e8e44d0ebbb84bac7ee25ac0cf8a7159d25f62555625"` + // . + // The ID is assigned by the container runtime and can vary in different + // environments. Consider using `oci.manifest.digest` if it is important to + // identify the same image in different environments/runtimes. + // + // [API]: https://docs.docker.com/reference/api/engine/version/v1.52/#tag/Container/operation/ContainerInspect + ContainerImageIDKey = attribute.Key("container.image.id") + + // ContainerImageNameKey is the attribute Key conforming to the + // "container.image.name" semantic conventions. It represents the name of the + // image the container was built on. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Alpha + // + // Examples: "gcr.io/opentelemetry/operator" + ContainerImageNameKey = attribute.Key("container.image.name") + + // ContainerImageRepoDigestsKey is the attribute Key conforming to the + // "container.image.repo_digests" semantic conventions. It represents the repo + // digests of the container image as provided by the container runtime. + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Alpha + // + // Examples: + // "example@sha256:afcc7f1ac1b49db317a7196c902e61c6c3c4607d63599ee1a82d702d249a0ccb", + // "internal.registry.example.com:5000/example@sha256:b69959407d21e8a062e0416bf13405bb2b71ed7a84dde4158ebafacfa06f5578" + // Note: [Docker] and [CRI] report those under the `RepoDigests` field. + // + // [Docker]: https://docs.docker.com/reference/api/engine/version/v1.52/#tag/Image/operation/ImageInspect + // [CRI]: https://github.com/kubernetes/cri-api/blob/c75ef5b473bbe2d0a4fc92f82235efd665ea8e9f/pkg/apis/runtime/v1/api.proto#L1237-L1238 + ContainerImageRepoDigestsKey = attribute.Key("container.image.repo_digests") + + // ContainerImageTagsKey is the attribute Key conforming to the + // "container.image.tags" semantic conventions. It represents the container + // image tags. An example can be found in [Docker Image Inspect]. Should be only + // the `` section of the full name for example from + // `registry.example.com/my-org/my-image:`. + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Alpha + // + // Examples: "v1.27.1", "3.5.7-0" + // + // [Docker Image Inspect]: https://docs.docker.com/reference/api/engine/version/v1.52/#tag/Image/operation/ImageInspect + ContainerImageTagsKey = attribute.Key("container.image.tags") + + // ContainerNameKey is the attribute Key conforming to the "container.name" + // semantic conventions. It represents the container name used by container + // runtime. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "opentelemetry-autoconf" + ContainerNameKey = attribute.Key("container.name") + + // ContainerRuntimeDescriptionKey is the attribute Key conforming to the + // "container.runtime.description" semantic conventions. It represents a + // description about the runtime which could include, for example details about + // the CRI/API version being used or other customisations. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "docker://19.3.1 - CRI: 1.22.0" + ContainerRuntimeDescriptionKey = attribute.Key("container.runtime.description") + + // ContainerRuntimeNameKey is the attribute Key conforming to the + // "container.runtime.name" semantic conventions. It represents the container + // runtime managing this container. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "docker", "containerd", "rkt" + ContainerRuntimeNameKey = attribute.Key("container.runtime.name") + + // ContainerRuntimeVersionKey is the attribute Key conforming to the + // "container.runtime.version" semantic conventions. It represents the version + // of the runtime of this process, as returned by the runtime without + // modification. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 1.0.0 + ContainerRuntimeVersionKey = attribute.Key("container.runtime.version") +) + +// ContainerCommand returns an attribute KeyValue conforming to the +// "container.command" semantic conventions. It represents the command used to +// run the container (i.e. the command name). +func ContainerCommand(val string) attribute.KeyValue { + return ContainerCommandKey.String(val) +} + +// ContainerCommandArgs returns an attribute KeyValue conforming to the +// "container.command_args" semantic conventions. It represents the all the +// command arguments (including the command/executable itself) run by the +// container. +func ContainerCommandArgs(val ...string) attribute.KeyValue { + return ContainerCommandArgsKey.StringSlice(val) +} + +// ContainerCommandLine returns an attribute KeyValue conforming to the +// "container.command_line" semantic conventions. It represents the full command +// run by the container as a single string representing the full command. +func ContainerCommandLine(val string) attribute.KeyValue { + return ContainerCommandLineKey.String(val) +} + +// ContainerCSIPluginName returns an attribute KeyValue conforming to the +// "container.csi.plugin.name" semantic conventions. It represents the name of +// the CSI ([Container Storage Interface]) plugin used by the volume. +// +// [Container Storage Interface]: https://github.com/container-storage-interface/spec +func ContainerCSIPluginName(val string) attribute.KeyValue { + return ContainerCSIPluginNameKey.String(val) +} + +// ContainerCSIVolumeID returns an attribute KeyValue conforming to the +// "container.csi.volume.id" semantic conventions. It represents the unique +// volume ID returned by the CSI ([Container Storage Interface]) plugin. +// +// [Container Storage Interface]: https://github.com/container-storage-interface/spec +func ContainerCSIVolumeID(val string) attribute.KeyValue { + return ContainerCSIVolumeIDKey.String(val) +} + +// ContainerID returns an attribute KeyValue conforming to the "container.id" +// semantic conventions. It represents the container ID. Usually a UUID, as for +// example used to [identify Docker containers]. The UUID might be abbreviated. +// +// [identify Docker containers]: https://docs.docker.com/engine/containers/run/#container-identification +func ContainerID(val string) attribute.KeyValue { + return ContainerIDKey.String(val) +} + +// ContainerImageID returns an attribute KeyValue conforming to the +// "container.image.id" semantic conventions. It represents the runtime specific +// image identifier. Usually a hash algorithm followed by a UUID. +func ContainerImageID(val string) attribute.KeyValue { + return ContainerImageIDKey.String(val) +} + +// ContainerImageName returns an attribute KeyValue conforming to the +// "container.image.name" semantic conventions. It represents the name of the +// image the container was built on. +func ContainerImageName(val string) attribute.KeyValue { + return ContainerImageNameKey.String(val) +} + +// ContainerImageRepoDigests returns an attribute KeyValue conforming to the +// "container.image.repo_digests" semantic conventions. It represents the repo +// digests of the container image as provided by the container runtime. +func ContainerImageRepoDigests(val ...string) attribute.KeyValue { + return ContainerImageRepoDigestsKey.StringSlice(val) +} + +// ContainerImageTags returns an attribute KeyValue conforming to the +// "container.image.tags" semantic conventions. It represents the container image +// tags. An example can be found in [Docker Image Inspect]. Should be only the +// `` section of the full name for example from +// `registry.example.com/my-org/my-image:`. +// +// [Docker Image Inspect]: https://docs.docker.com/reference/api/engine/version/v1.52/#tag/Image/operation/ImageInspect +func ContainerImageTags(val ...string) attribute.KeyValue { + return ContainerImageTagsKey.StringSlice(val) +} + +// ContainerLabel returns an attribute KeyValue conforming to the +// "container.label" semantic conventions. It represents the container labels, +// `` being the label name, the value being the label value. +func ContainerLabel(key string, val string) attribute.KeyValue { + return attribute.String("container.label."+key, val) +} + +// ContainerName returns an attribute KeyValue conforming to the "container.name" +// semantic conventions. It represents the container name used by container +// runtime. +func ContainerName(val string) attribute.KeyValue { + return ContainerNameKey.String(val) +} + +// ContainerRuntimeDescription returns an attribute KeyValue conforming to the +// "container.runtime.description" semantic conventions. It represents a +// description about the runtime which could include, for example details about +// the CRI/API version being used or other customisations. +func ContainerRuntimeDescription(val string) attribute.KeyValue { + return ContainerRuntimeDescriptionKey.String(val) +} + +// ContainerRuntimeName returns an attribute KeyValue conforming to the +// "container.runtime.name" semantic conventions. It represents the container +// runtime managing this container. +func ContainerRuntimeName(val string) attribute.KeyValue { + return ContainerRuntimeNameKey.String(val) +} + +// ContainerRuntimeVersion returns an attribute KeyValue conforming to the +// "container.runtime.version" semantic conventions. It represents the version of +// the runtime of this process, as returned by the runtime without modification. +func ContainerRuntimeVersion(val string) attribute.KeyValue { + return ContainerRuntimeVersionKey.String(val) +} + +// Namespace: cpu +const ( + // CPULogicalNumberKey is the attribute Key conforming to the + // "cpu.logical_number" semantic conventions. It represents the logical CPU + // number [0..n-1]. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 1 + CPULogicalNumberKey = attribute.Key("cpu.logical_number") + + // CPUModeKey is the attribute Key conforming to the "cpu.mode" semantic + // conventions. It represents the mode of the CPU. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "user", "system" + CPUModeKey = attribute.Key("cpu.mode") +) + +// CPULogicalNumber returns an attribute KeyValue conforming to the +// "cpu.logical_number" semantic conventions. It represents the logical CPU +// number [0..n-1]. +func CPULogicalNumber(val int) attribute.KeyValue { + return CPULogicalNumberKey.Int(val) +} + +// Enum values for cpu.mode +var ( + // User + // Stability: development + CPUModeUser = CPUModeKey.String("user") + // System + // Stability: development + CPUModeSystem = CPUModeKey.String("system") + // Nice + // Stability: development + CPUModeNice = CPUModeKey.String("nice") + // Idle + // Stability: development + CPUModeIdle = CPUModeKey.String("idle") + // IO Wait + // Stability: development + CPUModeIOWait = CPUModeKey.String("iowait") + // Interrupt + // Stability: development + CPUModeInterrupt = CPUModeKey.String("interrupt") + // Steal + // Stability: development + CPUModeSteal = CPUModeKey.String("steal") + // Kernel + // Stability: development + CPUModeKernel = CPUModeKey.String("kernel") +) + +// Namespace: db +const ( + // DBClientConnectionPoolNameKey is the attribute Key conforming to the + // "db.client.connection.pool.name" semantic conventions. It represents the name + // of the connection pool; unique within the instrumented application. In case + // the connection pool implementation doesn't provide a name, instrumentation + // SHOULD use a combination of parameters that would make the name unique, for + // example, combining attributes `server.address`, `server.port`, and + // `db.namespace`, formatted as `server.address:server.port/db.namespace`. + // Instrumentations that generate connection pool name following different + // patterns SHOULD document it. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "myDataSource" + DBClientConnectionPoolNameKey = attribute.Key("db.client.connection.pool.name") + + // DBClientConnectionStateKey is the attribute Key conforming to the + // "db.client.connection.state" semantic conventions. It represents the state of + // a connection in the pool. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "idle" + DBClientConnectionStateKey = attribute.Key("db.client.connection.state") + + // DBCollectionNameKey is the attribute Key conforming to the + // "db.collection.name" semantic conventions. It represents the name of a + // collection (table, container) within the database. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "public.users", "customers" + // Note: It is RECOMMENDED to capture the value as provided by the application + // without attempting to do any case normalization. + // + // The collection name SHOULD NOT be extracted from `db.query.text`, + // when the database system supports query text with multiple collections + // in non-batch operations. + // + // For batch operations, if the individual operations are known to have the same + // collection name then that collection name SHOULD be used. + DBCollectionNameKey = attribute.Key("db.collection.name") + + // DBNamespaceKey is the attribute Key conforming to the "db.namespace" semantic + // conventions. It represents the name of the database, fully qualified within + // the server address and port. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "customers", "test.users" + // Note: If a database system has multiple namespace components, they SHOULD be + // concatenated from the most general to the most specific namespace component, + // using `|` as a separator between the components. Any missing components (and + // their associated separators) SHOULD be omitted. + // Semantic conventions for individual database systems SHOULD document what + // `db.namespace` means in the context of that system. + // It is RECOMMENDED to capture the value as provided by the application without + // attempting to do any case normalization. + DBNamespaceKey = attribute.Key("db.namespace") + + // DBOperationBatchSizeKey is the attribute Key conforming to the + // "db.operation.batch.size" semantic conventions. It represents the number of + // queries included in a batch operation. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: 2, 3, 4 + // Note: Operations are only considered batches when they contain two or more + // operations, and so `db.operation.batch.size` SHOULD never be `1`. + DBOperationBatchSizeKey = attribute.Key("db.operation.batch.size") + + // DBOperationNameKey is the attribute Key conforming to the "db.operation.name" + // semantic conventions. It represents the name of the operation or command + // being executed. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "findAndModify", "HMSET", "SELECT" + // Note: It is RECOMMENDED to capture the value as provided by the application + // without attempting to do any case normalization. + // + // The operation name SHOULD NOT be extracted from `db.query.text`, + // when the database system supports query text with multiple operations + // in non-batch operations. + // + // If spaces can occur in the operation name, multiple consecutive spaces + // SHOULD be normalized to a single space. + // + // For batch operations, if the individual operations are known to have the same + // operation name + // then that operation name SHOULD be used prepended by `BATCH `, + // otherwise `db.operation.name` SHOULD be `BATCH` or some other database + // system specific term if more applicable. + DBOperationNameKey = attribute.Key("db.operation.name") + + // DBQuerySummaryKey is the attribute Key conforming to the "db.query.summary" + // semantic conventions. It represents the low cardinality summary of a database + // query. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "SELECT wuser_table", "INSERT shipping_details SELECT orders", "get + // user by id" + // Note: The query summary describes a class of database queries and is useful + // as a grouping key, especially when analyzing telemetry for database + // calls involving complex queries. + // + // Summary may be available to the instrumentation through + // instrumentation hooks or other means. If it is not available, + // instrumentations + // that support query parsing SHOULD generate a summary following + // [Generating query summary] + // section. + // + // [Generating query summary]: /docs/db/database-spans.md#generating-a-summary-of-the-query + DBQuerySummaryKey = attribute.Key("db.query.summary") + + // DBQueryTextKey is the attribute Key conforming to the "db.query.text" + // semantic conventions. It represents the database query being executed. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "SELECT * FROM wuser_table where username = ?", "SET mykey ?" + // Note: For sanitization see [Sanitization of `db.query.text`]. + // For batch operations, if the individual operations are known to have the same + // query text then that query text SHOULD be used, otherwise all of the + // individual query texts SHOULD be concatenated with separator `; ` or some + // other database system specific separator if more applicable. + // Parameterized query text SHOULD NOT be sanitized. Even though parameterized + // query text can potentially have sensitive data, by using a parameterized + // query the user is giving a strong signal that any sensitive data will be + // passed as parameter values, and the benefit to observability of capturing the + // static part of the query text by default outweighs the risk. + // + // [Sanitization of `db.query.text`]: /docs/db/database-spans.md#sanitization-of-dbquerytext + DBQueryTextKey = attribute.Key("db.query.text") + + // DBResponseReturnedRowsKey is the attribute Key conforming to the + // "db.response.returned_rows" semantic conventions. It represents the number of + // rows returned by the operation. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 10, 30, 1000 + DBResponseReturnedRowsKey = attribute.Key("db.response.returned_rows") + + // DBResponseStatusCodeKey is the attribute Key conforming to the + // "db.response.status_code" semantic conventions. It represents the database + // response status code. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "102", "ORA-17002", "08P01", "404" + // Note: The status code returned by the database. Usually it represents an + // error code, but may also represent partial success, warning, or differentiate + // between various types of successful outcomes. + // Semantic conventions for individual database systems SHOULD document what + // `db.response.status_code` means in the context of that system. + DBResponseStatusCodeKey = attribute.Key("db.response.status_code") + + // DBStoredProcedureNameKey is the attribute Key conforming to the + // "db.stored_procedure.name" semantic conventions. It represents the name of a + // stored procedure within the database. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "GetCustomer" + // Note: It is RECOMMENDED to capture the value as provided by the application + // without attempting to do any case normalization. + // + // For batch operations, if the individual operations are known to have the same + // stored procedure name then that stored procedure name SHOULD be used. + DBStoredProcedureNameKey = attribute.Key("db.stored_procedure.name") + + // DBSystemNameKey is the attribute Key conforming to the "db.system.name" + // semantic conventions. It represents the database management system (DBMS) + // product as identified by the client instrumentation. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: + // Note: The actual DBMS may differ from the one identified by the client. For + // example, when using PostgreSQL client libraries to connect to a CockroachDB, + // the `db.system.name` is set to `postgresql` based on the instrumentation's + // best knowledge. + DBSystemNameKey = attribute.Key("db.system.name") +) + +// DBClientConnectionPoolName returns an attribute KeyValue conforming to the +// "db.client.connection.pool.name" semantic conventions. It represents the name +// of the connection pool; unique within the instrumented application. In case +// the connection pool implementation doesn't provide a name, instrumentation +// SHOULD use a combination of parameters that would make the name unique, for +// example, combining attributes `server.address`, `server.port`, and +// `db.namespace`, formatted as `server.address:server.port/db.namespace`. +// Instrumentations that generate connection pool name following different +// patterns SHOULD document it. +func DBClientConnectionPoolName(val string) attribute.KeyValue { + return DBClientConnectionPoolNameKey.String(val) +} + +// DBCollectionName returns an attribute KeyValue conforming to the +// "db.collection.name" semantic conventions. It represents the name of a +// collection (table, container) within the database. +func DBCollectionName(val string) attribute.KeyValue { + return DBCollectionNameKey.String(val) +} + +// DBNamespace returns an attribute KeyValue conforming to the "db.namespace" +// semantic conventions. It represents the name of the database, fully qualified +// within the server address and port. +func DBNamespace(val string) attribute.KeyValue { + return DBNamespaceKey.String(val) +} + +// DBOperationBatchSize returns an attribute KeyValue conforming to the +// "db.operation.batch.size" semantic conventions. It represents the number of +// queries included in a batch operation. +func DBOperationBatchSize(val int) attribute.KeyValue { + return DBOperationBatchSizeKey.Int(val) +} + +// DBOperationName returns an attribute KeyValue conforming to the +// "db.operation.name" semantic conventions. It represents the name of the +// operation or command being executed. +func DBOperationName(val string) attribute.KeyValue { + return DBOperationNameKey.String(val) +} + +// DBOperationParameter returns an attribute KeyValue conforming to the +// "db.operation.parameter" semantic conventions. It represents a database +// operation parameter, with `` being the parameter name, and the attribute +// value being a string representation of the parameter value. +func DBOperationParameter(key string, val string) attribute.KeyValue { + return attribute.String("db.operation.parameter."+key, val) +} + +// DBQueryParameter returns an attribute KeyValue conforming to the +// "db.query.parameter" semantic conventions. It represents a database query +// parameter, with `` being the parameter name, and the attribute value +// being a string representation of the parameter value. +func DBQueryParameter(key string, val string) attribute.KeyValue { + return attribute.String("db.query.parameter."+key, val) +} + +// DBQuerySummary returns an attribute KeyValue conforming to the +// "db.query.summary" semantic conventions. It represents the low cardinality +// summary of a database query. +func DBQuerySummary(val string) attribute.KeyValue { + return DBQuerySummaryKey.String(val) +} + +// DBQueryText returns an attribute KeyValue conforming to the "db.query.text" +// semantic conventions. It represents the database query being executed. +func DBQueryText(val string) attribute.KeyValue { + return DBQueryTextKey.String(val) +} + +// DBResponseReturnedRows returns an attribute KeyValue conforming to the +// "db.response.returned_rows" semantic conventions. It represents the number of +// rows returned by the operation. +func DBResponseReturnedRows(val int) attribute.KeyValue { + return DBResponseReturnedRowsKey.Int(val) +} + +// DBResponseStatusCode returns an attribute KeyValue conforming to the +// "db.response.status_code" semantic conventions. It represents the database +// response status code. +func DBResponseStatusCode(val string) attribute.KeyValue { + return DBResponseStatusCodeKey.String(val) +} + +// DBStoredProcedureName returns an attribute KeyValue conforming to the +// "db.stored_procedure.name" semantic conventions. It represents the name of a +// stored procedure within the database. +func DBStoredProcedureName(val string) attribute.KeyValue { + return DBStoredProcedureNameKey.String(val) +} + +// Enum values for db.client.connection.state +var ( + // idle + // Stability: development + DBClientConnectionStateIdle = DBClientConnectionStateKey.String("idle") + // used + // Stability: development + DBClientConnectionStateUsed = DBClientConnectionStateKey.String("used") +) + +// Enum values for db.system.name +var ( + // Some other SQL database. Fallback only. + // Stability: development + DBSystemNameOtherSQL = DBSystemNameKey.String("other_sql") + // [Adabas (Adaptable Database System)] + // Stability: development + // + // [Adabas (Adaptable Database System)]: https://documentation.softwareag.com/?pf=adabas + DBSystemNameSoftwareagAdabas = DBSystemNameKey.String("softwareag.adabas") + // [Actian Ingres] + // Stability: development + // + // [Actian Ingres]: https://www.actian.com/databases/ingres/ + DBSystemNameActianIngres = DBSystemNameKey.String("actian.ingres") + // [Amazon DynamoDB] + // Stability: development + // + // [Amazon DynamoDB]: https://aws.amazon.com/pm/dynamodb/ + DBSystemNameAWSDynamoDB = DBSystemNameKey.String("aws.dynamodb") + // [Amazon Redshift] + // Stability: development + // + // [Amazon Redshift]: https://aws.amazon.com/redshift/ + DBSystemNameAWSRedshift = DBSystemNameKey.String("aws.redshift") + // [Azure Cosmos DB] + // Stability: development + // + // [Azure Cosmos DB]: https://learn.microsoft.com/azure/cosmos-db + DBSystemNameAzureCosmosDB = DBSystemNameKey.String("azure.cosmosdb") + // [InterSystems Caché] + // Stability: development + // + // [InterSystems Caché]: https://www.intersystems.com/products/cache/ + DBSystemNameIntersystemsCache = DBSystemNameKey.String("intersystems.cache") + // [Apache Cassandra] + // Stability: development + // + // [Apache Cassandra]: https://cassandra.apache.org/ + DBSystemNameCassandra = DBSystemNameKey.String("cassandra") + // [ClickHouse] + // Stability: development + // + // [ClickHouse]: https://clickhouse.com/ + DBSystemNameClickHouse = DBSystemNameKey.String("clickhouse") + // [CockroachDB] + // Stability: development + // + // [CockroachDB]: https://www.cockroachlabs.com/ + DBSystemNameCockroachDB = DBSystemNameKey.String("cockroachdb") + // [Couchbase] + // Stability: development + // + // [Couchbase]: https://www.couchbase.com/ + DBSystemNameCouchbase = DBSystemNameKey.String("couchbase") + // [Apache CouchDB] + // Stability: development + // + // [Apache CouchDB]: https://couchdb.apache.org/ + DBSystemNameCouchDB = DBSystemNameKey.String("couchdb") + // [Apache Derby] + // Stability: development + // + // [Apache Derby]: https://db.apache.org/derby/ + DBSystemNameDerby = DBSystemNameKey.String("derby") + // [Elasticsearch] + // Stability: development + // + // [Elasticsearch]: https://www.elastic.co/elasticsearch + DBSystemNameElasticsearch = DBSystemNameKey.String("elasticsearch") + // [Firebird] + // Stability: development + // + // [Firebird]: https://www.firebirdsql.org/ + DBSystemNameFirebirdSQL = DBSystemNameKey.String("firebirdsql") + // [Google Cloud Spanner] + // Stability: development + // + // [Google Cloud Spanner]: https://cloud.google.com/spanner + DBSystemNameGCPSpanner = DBSystemNameKey.String("gcp.spanner") + // [Apache Geode] + // Stability: development + // + // [Apache Geode]: https://geode.apache.org/ + DBSystemNameGeode = DBSystemNameKey.String("geode") + // [H2 Database] + // Stability: development + // + // [H2 Database]: https://h2database.com/ + DBSystemNameH2database = DBSystemNameKey.String("h2database") + // [Apache HBase] + // Stability: development + // + // [Apache HBase]: https://hbase.apache.org/ + DBSystemNameHBase = DBSystemNameKey.String("hbase") + // [Apache Hive] + // Stability: development + // + // [Apache Hive]: https://hive.apache.org/ + DBSystemNameHive = DBSystemNameKey.String("hive") + // [HyperSQL Database] + // Stability: development + // + // [HyperSQL Database]: https://hsqldb.org/ + DBSystemNameHSQLDB = DBSystemNameKey.String("hsqldb") + // [IBM Db2] + // Stability: development + // + // [IBM Db2]: https://www.ibm.com/db2 + DBSystemNameIBMDB2 = DBSystemNameKey.String("ibm.db2") + // [IBM Informix] + // Stability: development + // + // [IBM Informix]: https://www.ibm.com/products/informix + DBSystemNameIBMInformix = DBSystemNameKey.String("ibm.informix") + // [IBM Netezza] + // Stability: development + // + // [IBM Netezza]: https://www.ibm.com/products/netezza + DBSystemNameIBMNetezza = DBSystemNameKey.String("ibm.netezza") + // [InfluxDB] + // Stability: development + // + // [InfluxDB]: https://www.influxdata.com/ + DBSystemNameInfluxDB = DBSystemNameKey.String("influxdb") + // [Instant] + // Stability: development + // + // [Instant]: https://www.instantdb.com/ + DBSystemNameInstantDB = DBSystemNameKey.String("instantdb") + // [MariaDB] + // Stability: stable + // + // [MariaDB]: https://mariadb.org/ + DBSystemNameMariaDB = DBSystemNameKey.String("mariadb") + // [Memcached] + // Stability: development + // + // [Memcached]: https://memcached.org/ + DBSystemNameMemcached = DBSystemNameKey.String("memcached") + // [MongoDB] + // Stability: development + // + // [MongoDB]: https://www.mongodb.com/ + DBSystemNameMongoDB = DBSystemNameKey.String("mongodb") + // [Microsoft SQL Server] + // Stability: stable + // + // [Microsoft SQL Server]: https://www.microsoft.com/sql-server + DBSystemNameMicrosoftSQLServer = DBSystemNameKey.String("microsoft.sql_server") + // [MySQL] + // Stability: stable + // + // [MySQL]: https://www.mysql.com/ + DBSystemNameMySQL = DBSystemNameKey.String("mysql") + // [Neo4j] + // Stability: development + // + // [Neo4j]: https://neo4j.com/ + DBSystemNameNeo4j = DBSystemNameKey.String("neo4j") + // [OpenSearch] + // Stability: development + // + // [OpenSearch]: https://opensearch.org/ + DBSystemNameOpenSearch = DBSystemNameKey.String("opensearch") + // [Oracle Database] + // Stability: development + // + // [Oracle Database]: https://www.oracle.com/database/ + DBSystemNameOracleDB = DBSystemNameKey.String("oracle.db") + // [PostgreSQL] + // Stability: stable + // + // [PostgreSQL]: https://www.postgresql.org/ + DBSystemNamePostgreSQL = DBSystemNameKey.String("postgresql") + // [Redis] + // Stability: development + // + // [Redis]: https://redis.io/ + DBSystemNameRedis = DBSystemNameKey.String("redis") + // [SAP HANA] + // Stability: development + // + // [SAP HANA]: https://www.sap.com/products/technology-platform/hana/what-is-sap-hana.html + DBSystemNameSAPHANA = DBSystemNameKey.String("sap.hana") + // [SAP MaxDB] + // Stability: development + // + // [SAP MaxDB]: https://maxdb.sap.com/ + DBSystemNameSAPMaxDB = DBSystemNameKey.String("sap.maxdb") + // [SQLite] + // Stability: development + // + // [SQLite]: https://www.sqlite.org/ + DBSystemNameSQLite = DBSystemNameKey.String("sqlite") + // [Teradata] + // Stability: development + // + // [Teradata]: https://www.teradata.com/ + DBSystemNameTeradata = DBSystemNameKey.String("teradata") + // [Trino] + // Stability: development + // + // [Trino]: https://trino.io/ + DBSystemNameTrino = DBSystemNameKey.String("trino") +) + +// Namespace: deployment +const ( + // DeploymentEnvironmentNameKey is the attribute Key conforming to the + // "deployment.environment.name" semantic conventions. It represents the name of + // the [deployment environment] (aka deployment tier). + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "staging", "production" + // Note: `deployment.environment.name` does not affect the uniqueness + // constraints defined through + // the `service.namespace`, `service.name` and `service.instance.id` resource + // attributes. + // This implies that resources carrying the following attribute combinations + // MUST be + // considered to be identifying the same service: + // + // - `service.name=frontend`, `deployment.environment.name=production` + // - `service.name=frontend`, `deployment.environment.name=staging`. + // + // + // [deployment environment]: https://wikipedia.org/wiki/Deployment_environment + DeploymentEnvironmentNameKey = attribute.Key("deployment.environment.name") + + // DeploymentIDKey is the attribute Key conforming to the "deployment.id" + // semantic conventions. It represents the id of the deployment. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "1208" + DeploymentIDKey = attribute.Key("deployment.id") + + // DeploymentNameKey is the attribute Key conforming to the "deployment.name" + // semantic conventions. It represents the name of the deployment. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "deploy my app", "deploy-frontend" + DeploymentNameKey = attribute.Key("deployment.name") + + // DeploymentStatusKey is the attribute Key conforming to the + // "deployment.status" semantic conventions. It represents the status of the + // deployment. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + DeploymentStatusKey = attribute.Key("deployment.status") +) + +// DeploymentEnvironmentName returns an attribute KeyValue conforming to the +// "deployment.environment.name" semantic conventions. It represents the name of +// the [deployment environment] (aka deployment tier). +// +// [deployment environment]: https://wikipedia.org/wiki/Deployment_environment +func DeploymentEnvironmentName(val string) attribute.KeyValue { + return DeploymentEnvironmentNameKey.String(val) +} + +// DeploymentID returns an attribute KeyValue conforming to the "deployment.id" +// semantic conventions. It represents the id of the deployment. +func DeploymentID(val string) attribute.KeyValue { + return DeploymentIDKey.String(val) +} + +// DeploymentName returns an attribute KeyValue conforming to the +// "deployment.name" semantic conventions. It represents the name of the +// deployment. +func DeploymentName(val string) attribute.KeyValue { + return DeploymentNameKey.String(val) +} + +// Enum values for deployment.status +var ( + // failed + // Stability: development + DeploymentStatusFailed = DeploymentStatusKey.String("failed") + // succeeded + // Stability: development + DeploymentStatusSucceeded = DeploymentStatusKey.String("succeeded") +) + +// Namespace: destination +const ( + // DestinationAddressKey is the attribute Key conforming to the + // "destination.address" semantic conventions. It represents the destination + // address - domain name if available without reverse DNS lookup; otherwise, IP + // address or Unix domain socket name. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "destination.example.com", "10.1.2.80", "/tmp/my.sock" + // Note: When observed from the source side, and when communicating through an + // intermediary, `destination.address` SHOULD represent the destination address + // behind any intermediaries, for example proxies, if it's available. + DestinationAddressKey = attribute.Key("destination.address") + + // DestinationPortKey is the attribute Key conforming to the "destination.port" + // semantic conventions. It represents the destination port number. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 3389, 2888 + DestinationPortKey = attribute.Key("destination.port") +) + +// DestinationAddress returns an attribute KeyValue conforming to the +// "destination.address" semantic conventions. It represents the destination +// address - domain name if available without reverse DNS lookup; otherwise, IP +// address or Unix domain socket name. +func DestinationAddress(val string) attribute.KeyValue { + return DestinationAddressKey.String(val) +} + +// DestinationPort returns an attribute KeyValue conforming to the +// "destination.port" semantic conventions. It represents the destination port +// number. +func DestinationPort(val int) attribute.KeyValue { + return DestinationPortKey.Int(val) +} + +// Namespace: device +const ( + // DeviceIDKey is the attribute Key conforming to the "device.id" semantic + // conventions. It represents a unique identifier representing the device. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "123456789012345", "01:23:45:67:89:AB" + // Note: Its value SHOULD be identical for all apps on a device and it SHOULD + // NOT change if an app is uninstalled and re-installed. + // However, it might be resettable by the user for all apps on a device. + // Hardware IDs (e.g. vendor-specific serial number, IMEI or MAC address) MAY be + // used as values. + // + // More information about Android identifier best practices can be found in the + // [Android user data IDs guide]. + // + // > [!WARNING]> This attribute may contain sensitive (PII) information. Caution + // > should be taken when storing personal data or anything which can identify a + // > user. GDPR and data protection laws may apply, + // > ensure you do your own due diligence.> Due to these reasons, this + // > identifier is not recommended for consumer applications and will likely + // > result in rejection from both Google Play and App Store. + // > However, it may be appropriate for specific enterprise scenarios, such as + // > kiosk devices or enterprise-managed devices, with appropriate compliance + // > clearance. + // > Any instrumentation providing this identifier MUST implement it as an + // > opt-in feature.> See [`app.installation.id`]> for a more + // > privacy-preserving alternative. + // + // [Android user data IDs guide]: https://developer.android.com/training/articles/user-data-ids + // [`app.installation.id`]: /docs/registry/attributes/app.md#app-installation-id + DeviceIDKey = attribute.Key("device.id") + + // DeviceManufacturerKey is the attribute Key conforming to the + // "device.manufacturer" semantic conventions. It represents the name of the + // device manufacturer. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Apple", "Samsung" + // Note: The Android OS provides this field via [Build]. iOS apps SHOULD + // hardcode the value `Apple`. + // + // [Build]: https://developer.android.com/reference/android/os/Build#MANUFACTURER + DeviceManufacturerKey = attribute.Key("device.manufacturer") + + // DeviceModelIdentifierKey is the attribute Key conforming to the + // "device.model.identifier" semantic conventions. It represents the model + // identifier for the device. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "iPhone3,4", "SM-G920F" + // Note: It's recommended this value represents a machine-readable version of + // the model identifier rather than the market or consumer-friendly name of the + // device. + DeviceModelIdentifierKey = attribute.Key("device.model.identifier") + + // DeviceModelNameKey is the attribute Key conforming to the "device.model.name" + // semantic conventions. It represents the marketing name for the device model. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "iPhone 6s Plus", "Samsung Galaxy S6" + // Note: It's recommended this value represents a human-readable version of the + // device model rather than a machine-readable alternative. + DeviceModelNameKey = attribute.Key("device.model.name") +) + +// DeviceID returns an attribute KeyValue conforming to the "device.id" semantic +// conventions. It represents a unique identifier representing the device. +func DeviceID(val string) attribute.KeyValue { + return DeviceIDKey.String(val) +} + +// DeviceManufacturer returns an attribute KeyValue conforming to the +// "device.manufacturer" semantic conventions. It represents the name of the +// device manufacturer. +func DeviceManufacturer(val string) attribute.KeyValue { + return DeviceManufacturerKey.String(val) +} + +// DeviceModelIdentifier returns an attribute KeyValue conforming to the +// "device.model.identifier" semantic conventions. It represents the model +// identifier for the device. +func DeviceModelIdentifier(val string) attribute.KeyValue { + return DeviceModelIdentifierKey.String(val) +} + +// DeviceModelName returns an attribute KeyValue conforming to the +// "device.model.name" semantic conventions. It represents the marketing name for +// the device model. +func DeviceModelName(val string) attribute.KeyValue { + return DeviceModelNameKey.String(val) +} + +// Namespace: disk +const ( + // DiskIODirectionKey is the attribute Key conforming to the "disk.io.direction" + // semantic conventions. It represents the disk IO operation direction. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "read" + DiskIODirectionKey = attribute.Key("disk.io.direction") +) + +// Enum values for disk.io.direction +var ( + // read + // Stability: development + DiskIODirectionRead = DiskIODirectionKey.String("read") + // write + // Stability: development + DiskIODirectionWrite = DiskIODirectionKey.String("write") +) + +// Namespace: dns +const ( + // DNSAnswersKey is the attribute Key conforming to the "dns.answers" semantic + // conventions. It represents the list of IPv4 or IPv6 addresses resolved during + // DNS lookup. + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "10.0.0.1", "2001:0db8:85a3:0000:0000:8a2e:0370:7334" + DNSAnswersKey = attribute.Key("dns.answers") + + // DNSQuestionNameKey is the attribute Key conforming to the "dns.question.name" + // semantic conventions. It represents the name being queried. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "www.example.com", "opentelemetry.io" + // Note: The name represents the queried domain name as it appears in the DNS + // query without any additional normalization. + DNSQuestionNameKey = attribute.Key("dns.question.name") +) + +// DNSAnswers returns an attribute KeyValue conforming to the "dns.answers" +// semantic conventions. It represents the list of IPv4 or IPv6 addresses +// resolved during DNS lookup. +func DNSAnswers(val ...string) attribute.KeyValue { + return DNSAnswersKey.StringSlice(val) +} + +// DNSQuestionName returns an attribute KeyValue conforming to the +// "dns.question.name" semantic conventions. It represents the name being +// queried. +func DNSQuestionName(val string) attribute.KeyValue { + return DNSQuestionNameKey.String(val) +} + +// Namespace: elasticsearch +const ( + // ElasticsearchNodeNameKey is the attribute Key conforming to the + // "elasticsearch.node.name" semantic conventions. It represents the represents + // the human-readable identifier of the node/instance to which a request was + // routed. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "instance-0000000001" + ElasticsearchNodeNameKey = attribute.Key("elasticsearch.node.name") +) + +// ElasticsearchNodeName returns an attribute KeyValue conforming to the +// "elasticsearch.node.name" semantic conventions. It represents the represents +// the human-readable identifier of the node/instance to which a request was +// routed. +func ElasticsearchNodeName(val string) attribute.KeyValue { + return ElasticsearchNodeNameKey.String(val) +} + +// Namespace: enduser +const ( + // EnduserIDKey is the attribute Key conforming to the "enduser.id" semantic + // conventions. It represents the unique identifier of an end user in the + // system. It maybe a username, email address, or other identifier. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "username" + // Note: Unique identifier of an end user in the system. + // + // > [!Warning] + // > This field contains sensitive (PII) information. + EnduserIDKey = attribute.Key("enduser.id") + + // EnduserPseudoIDKey is the attribute Key conforming to the "enduser.pseudo.id" + // semantic conventions. It represents the pseudonymous identifier of an end + // user. This identifier should be a random value that is not directly linked or + // associated with the end user's actual identity. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "QdH5CAWJgqVT4rOr0qtumf" + // Note: Pseudonymous identifier of an end user. + // + // > [!Warning] + // > This field contains sensitive (linkable PII) information. + EnduserPseudoIDKey = attribute.Key("enduser.pseudo.id") +) + +// EnduserID returns an attribute KeyValue conforming to the "enduser.id" +// semantic conventions. It represents the unique identifier of an end user in +// the system. It maybe a username, email address, or other identifier. +func EnduserID(val string) attribute.KeyValue { + return EnduserIDKey.String(val) +} + +// EnduserPseudoID returns an attribute KeyValue conforming to the +// "enduser.pseudo.id" semantic conventions. It represents the pseudonymous +// identifier of an end user. This identifier should be a random value that is +// not directly linked or associated with the end user's actual identity. +func EnduserPseudoID(val string) attribute.KeyValue { + return EnduserPseudoIDKey.String(val) +} + +// Namespace: error +const ( + // ErrorMessageKey is the attribute Key conforming to the "error.message" + // semantic conventions. It represents a message providing more detail about an + // error in human-readable form. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Unexpected input type: string", "The user has exceeded their + // storage quota" + // Note: `error.message` should provide additional context and detail about an + // error. + // It is NOT RECOMMENDED to duplicate the value of `error.type` in + // `error.message`. + // It is also NOT RECOMMENDED to duplicate the value of `exception.message` in + // `error.message`. + // + // `error.message` is NOT RECOMMENDED for metrics or spans due to its unbounded + // cardinality and overlap with span status. + ErrorMessageKey = attribute.Key("error.message") + + // ErrorTypeKey is the attribute Key conforming to the "error.type" semantic + // conventions. It represents the describes a class of error the operation ended + // with. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "timeout", "java.net.UnknownHostException", + // "server_certificate_invalid", "500" + // Note: The `error.type` SHOULD be predictable, and SHOULD have low + // cardinality. + // + // When `error.type` is set to a type (e.g., an exception type), its + // canonical class name identifying the type within the artifact SHOULD be used. + // + // Instrumentations SHOULD document the list of errors they report. + // + // The cardinality of `error.type` within one instrumentation library SHOULD be + // low. + // Telemetry consumers that aggregate data from multiple instrumentation + // libraries and applications + // should be prepared for `error.type` to have high cardinality at query time + // when no + // additional filters are applied. + // + // If the operation has completed successfully, instrumentations SHOULD NOT set + // `error.type`. + // + // If a specific domain defines its own set of error identifiers (such as HTTP + // or RPC status codes), + // it's RECOMMENDED to: + // + // - Use a domain-specific attribute + // - Set `error.type` to capture all errors, regardless of whether they are + // defined within the domain-specific set or not. + ErrorTypeKey = attribute.Key("error.type") +) + +// ErrorMessage returns an attribute KeyValue conforming to the "error.message" +// semantic conventions. It represents a message providing more detail about an +// error in human-readable form. +func ErrorMessage(val string) attribute.KeyValue { + return ErrorMessageKey.String(val) +} + +// Enum values for error.type +var ( + // A fallback error value to be used when the instrumentation doesn't define a + // custom value. + // + // Stability: stable + ErrorTypeOther = ErrorTypeKey.String("_OTHER") +) + +// Namespace: exception +const ( + // ExceptionMessageKey is the attribute Key conforming to the + // "exception.message" semantic conventions. It represents the exception + // message. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "Division by zero", "Can't convert 'int' object to str implicitly" + ExceptionMessageKey = attribute.Key("exception.message") + + // ExceptionStacktraceKey is the attribute Key conforming to the + // "exception.stacktrace" semantic conventions. It represents a stacktrace as a + // string in the natural representation for the language runtime. The + // representation is to be determined and documented by each language SIG. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: Exception in thread "main" java.lang.RuntimeException: Test + // exception\n at com.example.GenerateTrace.methodB(GenerateTrace.java:13)\n at + // com.example.GenerateTrace.methodA(GenerateTrace.java:9)\n at + // com.example.GenerateTrace.main(GenerateTrace.java:5) + ExceptionStacktraceKey = attribute.Key("exception.stacktrace") + + // ExceptionTypeKey is the attribute Key conforming to the "exception.type" + // semantic conventions. It represents the type of the exception (its + // fully-qualified class name, if applicable). The dynamic type of the exception + // should be preferred over the static type in languages that support it. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "java.net.ConnectException", "OSError" + ExceptionTypeKey = attribute.Key("exception.type") +) + +// ExceptionMessage returns an attribute KeyValue conforming to the +// "exception.message" semantic conventions. It represents the exception message. +func ExceptionMessage(val string) attribute.KeyValue { + return ExceptionMessageKey.String(val) +} + +// ExceptionStacktrace returns an attribute KeyValue conforming to the +// "exception.stacktrace" semantic conventions. It represents a stacktrace as a +// string in the natural representation for the language runtime. The +// representation is to be determined and documented by each language SIG. +func ExceptionStacktrace(val string) attribute.KeyValue { + return ExceptionStacktraceKey.String(val) +} + +// ExceptionType returns an attribute KeyValue conforming to the "exception.type" +// semantic conventions. It represents the type of the exception (its +// fully-qualified class name, if applicable). The dynamic type of the exception +// should be preferred over the static type in languages that support it. +func ExceptionType(val string) attribute.KeyValue { + return ExceptionTypeKey.String(val) +} + +// Namespace: faas +const ( + // FaaSColdstartKey is the attribute Key conforming to the "faas.coldstart" + // semantic conventions. It represents a boolean that is true if the serverless + // function is executed for the first time (aka cold-start). + // + // Type: boolean + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + FaaSColdstartKey = attribute.Key("faas.coldstart") + + // FaaSCronKey is the attribute Key conforming to the "faas.cron" semantic + // conventions. It represents a string containing the schedule period as + // [Cron Expression]. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 0/5 * * * ? * + // + // [Cron Expression]: https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm + FaaSCronKey = attribute.Key("faas.cron") + + // FaaSDocumentCollectionKey is the attribute Key conforming to the + // "faas.document.collection" semantic conventions. It represents the name of + // the source on which the triggering operation was performed. For example, in + // Cloud Storage or S3 corresponds to the bucket name, and in Cosmos DB to the + // database name. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "myBucketName", "myDbName" + FaaSDocumentCollectionKey = attribute.Key("faas.document.collection") + + // FaaSDocumentNameKey is the attribute Key conforming to the + // "faas.document.name" semantic conventions. It represents the document + // name/table subjected to the operation. For example, in Cloud Storage or S3 is + // the name of the file, and in Cosmos DB the table name. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "myFile.txt", "myTableName" + FaaSDocumentNameKey = attribute.Key("faas.document.name") + + // FaaSDocumentOperationKey is the attribute Key conforming to the + // "faas.document.operation" semantic conventions. It represents the describes + // the type of the operation that was performed on the data. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + FaaSDocumentOperationKey = attribute.Key("faas.document.operation") + + // FaaSDocumentTimeKey is the attribute Key conforming to the + // "faas.document.time" semantic conventions. It represents a string containing + // the time when the data was accessed in the [ISO 8601] format expressed in + // [UTC]. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 2020-01-23T13:47:06Z + // + // [ISO 8601]: https://www.iso.org/iso-8601-date-and-time-format.html + // [UTC]: https://www.w3.org/TR/NOTE-datetime + FaaSDocumentTimeKey = attribute.Key("faas.document.time") + + // FaaSInstanceKey is the attribute Key conforming to the "faas.instance" + // semantic conventions. It represents the execution environment ID as a string, + // that will be potentially reused for other invocations to the same + // function/function version. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "2021/06/28/[$LATEST]2f399eb14537447da05ab2a2e39309de" + // Note: - **AWS Lambda:** Use the (full) log stream name. + FaaSInstanceKey = attribute.Key("faas.instance") + + // FaaSInvocationIDKey is the attribute Key conforming to the + // "faas.invocation_id" semantic conventions. It represents the invocation ID of + // the current function invocation. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: af9d5aa4-a685-4c5f-a22b-444f80b3cc28 + FaaSInvocationIDKey = attribute.Key("faas.invocation_id") + + // FaaSInvokedNameKey is the attribute Key conforming to the "faas.invoked_name" + // semantic conventions. It represents the name of the invoked function. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: my-function + // Note: SHOULD be equal to the `faas.name` resource attribute of the invoked + // function. + FaaSInvokedNameKey = attribute.Key("faas.invoked_name") + + // FaaSInvokedProviderKey is the attribute Key conforming to the + // "faas.invoked_provider" semantic conventions. It represents the cloud + // provider of the invoked function. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // Note: SHOULD be equal to the `cloud.provider` resource attribute of the + // invoked function. + FaaSInvokedProviderKey = attribute.Key("faas.invoked_provider") + + // FaaSInvokedRegionKey is the attribute Key conforming to the + // "faas.invoked_region" semantic conventions. It represents the cloud region of + // the invoked function. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: eu-central-1 + // Note: SHOULD be equal to the `cloud.region` resource attribute of the invoked + // function. + FaaSInvokedRegionKey = attribute.Key("faas.invoked_region") + + // FaaSMaxMemoryKey is the attribute Key conforming to the "faas.max_memory" + // semantic conventions. It represents the amount of memory available to the + // serverless function converted to Bytes. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Note: It's recommended to set this attribute since e.g. too little memory can + // easily stop a Java AWS Lambda function from working correctly. On AWS Lambda, + // the environment variable `AWS_LAMBDA_FUNCTION_MEMORY_SIZE` provides this + // information (which must be multiplied by 1,048,576). + FaaSMaxMemoryKey = attribute.Key("faas.max_memory") + + // FaaSNameKey is the attribute Key conforming to the "faas.name" semantic + // conventions. It represents the name of the single function that this runtime + // instance executes. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "my-function", "myazurefunctionapp/some-function-name" + // Note: This is the name of the function as configured/deployed on the FaaS + // platform and is usually different from the name of the callback + // function (which may be stored in the + // [`code.namespace`/`code.function.name`] + // span attributes). + // + // For some cloud providers, the above definition is ambiguous. The following + // definition of function name MUST be used for this attribute + // (and consequently the span name) for the listed cloud providers/products: + // + // - **Azure:** The full name `/`, i.e., function app name + // followed by a forward slash followed by the function name (this form + // can also be seen in the resource JSON for the function). + // This means that a span attribute MUST be used, as an Azure function + // app can host multiple functions that would usually share + // a TracerProvider (see also the `cloud.resource_id` attribute). + // + // + // [`code.namespace`/`code.function.name`]: /docs/general/attributes.md#source-code-attributes + FaaSNameKey = attribute.Key("faas.name") + + // FaaSTimeKey is the attribute Key conforming to the "faas.time" semantic + // conventions. It represents a string containing the function invocation time + // in the [ISO 8601] format expressed in [UTC]. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 2020-01-23T13:47:06Z + // + // [ISO 8601]: https://www.iso.org/iso-8601-date-and-time-format.html + // [UTC]: https://www.w3.org/TR/NOTE-datetime + FaaSTimeKey = attribute.Key("faas.time") + + // FaaSTriggerKey is the attribute Key conforming to the "faas.trigger" semantic + // conventions. It represents the type of the trigger which caused this function + // invocation. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + FaaSTriggerKey = attribute.Key("faas.trigger") + + // FaaSVersionKey is the attribute Key conforming to the "faas.version" semantic + // conventions. It represents the immutable version of the function being + // executed. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "26", "pinkfroid-00002" + // Note: Depending on the cloud provider and platform, use: + // + // - **AWS Lambda:** The [function version] + // (an integer represented as a decimal string). + // - **Google Cloud Run (Services):** The [revision] + // (i.e., the function name plus the revision suffix). + // - **Google Cloud Functions:** The value of the + // [`K_REVISION` environment variable]. + // - **Azure Functions:** Not applicable. Do not set this attribute. + // + // + // [function version]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html + // [revision]: https://cloud.google.com/run/docs/managing/revisions + // [`K_REVISION` environment variable]: https://cloud.google.com/run/docs/container-contract#services-env-vars + FaaSVersionKey = attribute.Key("faas.version") +) + +// FaaSColdstart returns an attribute KeyValue conforming to the "faas.coldstart" +// semantic conventions. It represents a boolean that is true if the serverless +// function is executed for the first time (aka cold-start). +func FaaSColdstart(val bool) attribute.KeyValue { + return FaaSColdstartKey.Bool(val) +} + +// FaaSCron returns an attribute KeyValue conforming to the "faas.cron" semantic +// conventions. It represents a string containing the schedule period as +// [Cron Expression]. +// +// [Cron Expression]: https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm +func FaaSCron(val string) attribute.KeyValue { + return FaaSCronKey.String(val) +} + +// FaaSDocumentCollection returns an attribute KeyValue conforming to the +// "faas.document.collection" semantic conventions. It represents the name of the +// source on which the triggering operation was performed. For example, in Cloud +// Storage or S3 corresponds to the bucket name, and in Cosmos DB to the database +// name. +func FaaSDocumentCollection(val string) attribute.KeyValue { + return FaaSDocumentCollectionKey.String(val) +} + +// FaaSDocumentName returns an attribute KeyValue conforming to the +// "faas.document.name" semantic conventions. It represents the document +// name/table subjected to the operation. For example, in Cloud Storage or S3 is +// the name of the file, and in Cosmos DB the table name. +func FaaSDocumentName(val string) attribute.KeyValue { + return FaaSDocumentNameKey.String(val) +} + +// FaaSDocumentTime returns an attribute KeyValue conforming to the +// "faas.document.time" semantic conventions. It represents a string containing +// the time when the data was accessed in the [ISO 8601] format expressed in +// [UTC]. +// +// [ISO 8601]: https://www.iso.org/iso-8601-date-and-time-format.html +// [UTC]: https://www.w3.org/TR/NOTE-datetime +func FaaSDocumentTime(val string) attribute.KeyValue { + return FaaSDocumentTimeKey.String(val) +} + +// FaaSInstance returns an attribute KeyValue conforming to the "faas.instance" +// semantic conventions. It represents the execution environment ID as a string, +// that will be potentially reused for other invocations to the same +// function/function version. +func FaaSInstance(val string) attribute.KeyValue { + return FaaSInstanceKey.String(val) +} + +// FaaSInvocationID returns an attribute KeyValue conforming to the +// "faas.invocation_id" semantic conventions. It represents the invocation ID of +// the current function invocation. +func FaaSInvocationID(val string) attribute.KeyValue { + return FaaSInvocationIDKey.String(val) +} + +// FaaSInvokedName returns an attribute KeyValue conforming to the +// "faas.invoked_name" semantic conventions. It represents the name of the +// invoked function. +func FaaSInvokedName(val string) attribute.KeyValue { + return FaaSInvokedNameKey.String(val) +} + +// FaaSInvokedRegion returns an attribute KeyValue conforming to the +// "faas.invoked_region" semantic conventions. It represents the cloud region of +// the invoked function. +func FaaSInvokedRegion(val string) attribute.KeyValue { + return FaaSInvokedRegionKey.String(val) +} + +// FaaSMaxMemory returns an attribute KeyValue conforming to the +// "faas.max_memory" semantic conventions. It represents the amount of memory +// available to the serverless function converted to Bytes. +func FaaSMaxMemory(val int) attribute.KeyValue { + return FaaSMaxMemoryKey.Int(val) +} + +// FaaSName returns an attribute KeyValue conforming to the "faas.name" semantic +// conventions. It represents the name of the single function that this runtime +// instance executes. +func FaaSName(val string) attribute.KeyValue { + return FaaSNameKey.String(val) +} + +// FaaSTime returns an attribute KeyValue conforming to the "faas.time" semantic +// conventions. It represents a string containing the function invocation time in +// the [ISO 8601] format expressed in [UTC]. +// +// [ISO 8601]: https://www.iso.org/iso-8601-date-and-time-format.html +// [UTC]: https://www.w3.org/TR/NOTE-datetime +func FaaSTime(val string) attribute.KeyValue { + return FaaSTimeKey.String(val) +} + +// FaaSVersion returns an attribute KeyValue conforming to the "faas.version" +// semantic conventions. It represents the immutable version of the function +// being executed. +func FaaSVersion(val string) attribute.KeyValue { + return FaaSVersionKey.String(val) +} + +// Enum values for faas.document.operation +var ( + // When a new object is created. + // Stability: development + FaaSDocumentOperationInsert = FaaSDocumentOperationKey.String("insert") + // When an object is modified. + // Stability: development + FaaSDocumentOperationEdit = FaaSDocumentOperationKey.String("edit") + // When an object is deleted. + // Stability: development + FaaSDocumentOperationDelete = FaaSDocumentOperationKey.String("delete") +) + +// Enum values for faas.invoked_provider +var ( + // Alibaba Cloud + // Stability: development + FaaSInvokedProviderAlibabaCloud = FaaSInvokedProviderKey.String("alibaba_cloud") + // Amazon Web Services + // Stability: development + FaaSInvokedProviderAWS = FaaSInvokedProviderKey.String("aws") + // Microsoft Azure + // Stability: development + FaaSInvokedProviderAzure = FaaSInvokedProviderKey.String("azure") + // Google Cloud Platform + // Stability: development + FaaSInvokedProviderGCP = FaaSInvokedProviderKey.String("gcp") + // Tencent Cloud + // Stability: development + FaaSInvokedProviderTencentCloud = FaaSInvokedProviderKey.String("tencent_cloud") +) + +// Enum values for faas.trigger +var ( + // A response to some data source operation such as a database or filesystem + // read/write + // Stability: development + FaaSTriggerDatasource = FaaSTriggerKey.String("datasource") + // To provide an answer to an inbound HTTP request + // Stability: development + FaaSTriggerHTTP = FaaSTriggerKey.String("http") + // A function is set to be executed when messages are sent to a messaging system + // Stability: development + FaaSTriggerPubSub = FaaSTriggerKey.String("pubsub") + // A function is scheduled to be executed regularly + // Stability: development + FaaSTriggerTimer = FaaSTriggerKey.String("timer") + // If none of the others apply + // Stability: development + FaaSTriggerOther = FaaSTriggerKey.String("other") +) + +// Namespace: feature_flag +const ( + // FeatureFlagContextIDKey is the attribute Key conforming to the + // "feature_flag.context.id" semantic conventions. It represents the unique + // identifier for the flag evaluation context. For example, the targeting key. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Release_Candidate + // + // Examples: "5157782b-2203-4c80-a857-dbbd5e7761db" + FeatureFlagContextIDKey = attribute.Key("feature_flag.context.id") + + // FeatureFlagKeyKey is the attribute Key conforming to the "feature_flag.key" + // semantic conventions. It represents the lookup key of the feature flag. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Release_Candidate + // + // Examples: "logo-color" + FeatureFlagKeyKey = attribute.Key("feature_flag.key") + + // FeatureFlagProviderNameKey is the attribute Key conforming to the + // "feature_flag.provider.name" semantic conventions. It represents the + // identifies the feature flag provider. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Release_Candidate + // + // Examples: "Flag Manager" + FeatureFlagProviderNameKey = attribute.Key("feature_flag.provider.name") + + // FeatureFlagResultReasonKey is the attribute Key conforming to the + // "feature_flag.result.reason" semantic conventions. It represents the reason + // code which shows how a feature flag value was determined. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Release_Candidate + // + // Examples: "static", "targeting_match", "error", "default" + FeatureFlagResultReasonKey = attribute.Key("feature_flag.result.reason") + + // FeatureFlagResultValueKey is the attribute Key conforming to the + // "feature_flag.result.value" semantic conventions. It represents the evaluated + // value of the feature flag. + // + // Type: any + // RequirementLevel: Recommended + // Stability: Release_Candidate + // + // Examples: "#ff0000", true, 3 + // Note: With some feature flag providers, feature flag results can be quite + // large or contain private or sensitive details. + // Because of this, `feature_flag.result.variant` is often the preferred + // attribute if it is available. + // + // It may be desirable to redact or otherwise limit the size and scope of + // `feature_flag.result.value` if possible. + // Because the evaluated flag value is unstructured and may be any type, it is + // left to the instrumentation author to determine how best to achieve this. + FeatureFlagResultValueKey = attribute.Key("feature_flag.result.value") + + // FeatureFlagResultVariantKey is the attribute Key conforming to the + // "feature_flag.result.variant" semantic conventions. It represents a semantic + // identifier for an evaluated flag value. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Release_Candidate + // + // Examples: "red", "true", "on" + // Note: A semantic identifier, commonly referred to as a variant, provides a + // means + // for referring to a value without including the value itself. This can + // provide additional context for understanding the meaning behind a value. + // For example, the variant `red` maybe be used for the value `#c05543`. + FeatureFlagResultVariantKey = attribute.Key("feature_flag.result.variant") + + // FeatureFlagSetIDKey is the attribute Key conforming to the + // "feature_flag.set.id" semantic conventions. It represents the identifier of + // the [flag set] to which the feature flag belongs. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Release_Candidate + // + // Examples: "proj-1", "ab98sgs", "service1/dev" + // + // [flag set]: https://openfeature.dev/specification/glossary/#flag-set + FeatureFlagSetIDKey = attribute.Key("feature_flag.set.id") + + // FeatureFlagVersionKey is the attribute Key conforming to the + // "feature_flag.version" semantic conventions. It represents the version of the + // ruleset used during the evaluation. This may be any stable value which + // uniquely identifies the ruleset. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Release_Candidate + // + // Examples: "1", "01ABCDEF" + FeatureFlagVersionKey = attribute.Key("feature_flag.version") +) + +// FeatureFlagContextID returns an attribute KeyValue conforming to the +// "feature_flag.context.id" semantic conventions. It represents the unique +// identifier for the flag evaluation context. For example, the targeting key. +func FeatureFlagContextID(val string) attribute.KeyValue { + return FeatureFlagContextIDKey.String(val) +} + +// FeatureFlagKey returns an attribute KeyValue conforming to the +// "feature_flag.key" semantic conventions. It represents the lookup key of the +// feature flag. +func FeatureFlagKey(val string) attribute.KeyValue { + return FeatureFlagKeyKey.String(val) +} + +// FeatureFlagProviderName returns an attribute KeyValue conforming to the +// "feature_flag.provider.name" semantic conventions. It represents the +// identifies the feature flag provider. +func FeatureFlagProviderName(val string) attribute.KeyValue { + return FeatureFlagProviderNameKey.String(val) +} + +// FeatureFlagResultVariant returns an attribute KeyValue conforming to the +// "feature_flag.result.variant" semantic conventions. It represents a semantic +// identifier for an evaluated flag value. +func FeatureFlagResultVariant(val string) attribute.KeyValue { + return FeatureFlagResultVariantKey.String(val) +} + +// FeatureFlagSetID returns an attribute KeyValue conforming to the +// "feature_flag.set.id" semantic conventions. It represents the identifier of +// the [flag set] to which the feature flag belongs. +// +// [flag set]: https://openfeature.dev/specification/glossary/#flag-set +func FeatureFlagSetID(val string) attribute.KeyValue { + return FeatureFlagSetIDKey.String(val) +} + +// FeatureFlagVersion returns an attribute KeyValue conforming to the +// "feature_flag.version" semantic conventions. It represents the version of the +// ruleset used during the evaluation. This may be any stable value which +// uniquely identifies the ruleset. +func FeatureFlagVersion(val string) attribute.KeyValue { + return FeatureFlagVersionKey.String(val) +} + +// Enum values for feature_flag.result.reason +var ( + // The resolved value is static (no dynamic evaluation). + // Stability: release_candidate + FeatureFlagResultReasonStatic = FeatureFlagResultReasonKey.String("static") + // The resolved value fell back to a pre-configured value (no dynamic evaluation + // occurred or dynamic evaluation yielded no result). + // Stability: release_candidate + FeatureFlagResultReasonDefault = FeatureFlagResultReasonKey.String("default") + // The resolved value was the result of a dynamic evaluation, such as a rule or + // specific user-targeting. + // Stability: release_candidate + FeatureFlagResultReasonTargetingMatch = FeatureFlagResultReasonKey.String("targeting_match") + // The resolved value was the result of pseudorandom assignment. + // Stability: release_candidate + FeatureFlagResultReasonSplit = FeatureFlagResultReasonKey.String("split") + // The resolved value was retrieved from cache. + // Stability: release_candidate + FeatureFlagResultReasonCached = FeatureFlagResultReasonKey.String("cached") + // The resolved value was the result of the flag being disabled in the + // management system. + // Stability: release_candidate + FeatureFlagResultReasonDisabled = FeatureFlagResultReasonKey.String("disabled") + // The reason for the resolved value could not be determined. + // Stability: release_candidate + FeatureFlagResultReasonUnknown = FeatureFlagResultReasonKey.String("unknown") + // The resolved value is non-authoritative or possibly out of date + // Stability: release_candidate + FeatureFlagResultReasonStale = FeatureFlagResultReasonKey.String("stale") + // The resolved value was the result of an error. + // Stability: release_candidate + FeatureFlagResultReasonError = FeatureFlagResultReasonKey.String("error") +) + +// Namespace: file +const ( + // FileAccessedKey is the attribute Key conforming to the "file.accessed" + // semantic conventions. It represents the time when the file was last accessed, + // in ISO 8601 format. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "2021-01-01T12:00:00Z" + // Note: This attribute might not be supported by some file systems — NFS, + // FAT32, in embedded OS, etc. + FileAccessedKey = attribute.Key("file.accessed") + + // FileAttributesKey is the attribute Key conforming to the "file.attributes" + // semantic conventions. It represents the array of file attributes. + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "readonly", "hidden" + // Note: Attributes names depend on the OS or file system. Here’s a + // non-exhaustive list of values expected for this attribute: `archive`, + // `compressed`, `directory`, `encrypted`, `execute`, `hidden`, `immutable`, + // `journaled`, `read`, `readonly`, `symbolic link`, `system`, `temporary`, + // `write`. + FileAttributesKey = attribute.Key("file.attributes") + + // FileChangedKey is the attribute Key conforming to the "file.changed" semantic + // conventions. It represents the time when the file attributes or metadata was + // last changed, in ISO 8601 format. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "2021-01-01T12:00:00Z" + // Note: `file.changed` captures the time when any of the file's properties or + // attributes (including the content) are changed, while `file.modified` + // captures the timestamp when the file content is modified. + FileChangedKey = attribute.Key("file.changed") + + // FileCreatedKey is the attribute Key conforming to the "file.created" semantic + // conventions. It represents the time when the file was created, in ISO 8601 + // format. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "2021-01-01T12:00:00Z" + // Note: This attribute might not be supported by some file systems — NFS, + // FAT32, in embedded OS, etc. + FileCreatedKey = attribute.Key("file.created") + + // FileDirectoryKey is the attribute Key conforming to the "file.directory" + // semantic conventions. It represents the directory where the file is located. + // It should include the drive letter, when appropriate. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "/home/user", "C:\Program Files\MyApp" + FileDirectoryKey = attribute.Key("file.directory") + + // FileExtensionKey is the attribute Key conforming to the "file.extension" + // semantic conventions. It represents the file extension, excluding the leading + // dot. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "png", "gz" + // Note: When the file name has multiple extensions (example.tar.gz), only the + // last one should be captured ("gz", not "tar.gz"). + FileExtensionKey = attribute.Key("file.extension") + + // FileForkNameKey is the attribute Key conforming to the "file.fork_name" + // semantic conventions. It represents the name of the fork. A fork is + // additional data associated with a filesystem object. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Zone.Identifier" + // Note: On Linux, a resource fork is used to store additional data with a + // filesystem object. A file always has at least one fork for the data portion, + // and additional forks may exist. + // On NTFS, this is analogous to an Alternate Data Stream (ADS), and the default + // data stream for a file is just called $DATA. Zone.Identifier is commonly used + // by Windows to track contents downloaded from the Internet. An ADS is + // typically of the form: C:\path\to\filename.extension:some_fork_name, and + // some_fork_name is the value that should populate `fork_name`. + // `filename.extension` should populate `file.name`, and `extension` should + // populate `file.extension`. The full path, `file.path`, will include the fork + // name. + FileForkNameKey = attribute.Key("file.fork_name") + + // FileGroupIDKey is the attribute Key conforming to the "file.group.id" + // semantic conventions. It represents the primary Group ID (GID) of the file. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "1000" + FileGroupIDKey = attribute.Key("file.group.id") + + // FileGroupNameKey is the attribute Key conforming to the "file.group.name" + // semantic conventions. It represents the primary group name of the file. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "users" + FileGroupNameKey = attribute.Key("file.group.name") + + // FileInodeKey is the attribute Key conforming to the "file.inode" semantic + // conventions. It represents the inode representing the file in the filesystem. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "256383" + FileInodeKey = attribute.Key("file.inode") + + // FileModeKey is the attribute Key conforming to the "file.mode" semantic + // conventions. It represents the mode of the file in octal representation. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "0640" + FileModeKey = attribute.Key("file.mode") + + // FileModifiedKey is the attribute Key conforming to the "file.modified" + // semantic conventions. It represents the time when the file content was last + // modified, in ISO 8601 format. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "2021-01-01T12:00:00Z" + FileModifiedKey = attribute.Key("file.modified") + + // FileNameKey is the attribute Key conforming to the "file.name" semantic + // conventions. It represents the name of the file including the extension, + // without the directory. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "example.png" + FileNameKey = attribute.Key("file.name") + + // FileOwnerIDKey is the attribute Key conforming to the "file.owner.id" + // semantic conventions. It represents the user ID (UID) or security identifier + // (SID) of the file owner. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "1000" + FileOwnerIDKey = attribute.Key("file.owner.id") + + // FileOwnerNameKey is the attribute Key conforming to the "file.owner.name" + // semantic conventions. It represents the username of the file owner. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "root" + FileOwnerNameKey = attribute.Key("file.owner.name") + + // FilePathKey is the attribute Key conforming to the "file.path" semantic + // conventions. It represents the full path to the file, including the file + // name. It should include the drive letter, when appropriate. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "/home/alice/example.png", "C:\Program Files\MyApp\myapp.exe" + FilePathKey = attribute.Key("file.path") + + // FileSizeKey is the attribute Key conforming to the "file.size" semantic + // conventions. It represents the file size in bytes. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + FileSizeKey = attribute.Key("file.size") + + // FileSymbolicLinkTargetPathKey is the attribute Key conforming to the + // "file.symbolic_link.target_path" semantic conventions. It represents the path + // to the target of a symbolic link. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "/usr/bin/python3" + // Note: This attribute is only applicable to symbolic links. + FileSymbolicLinkTargetPathKey = attribute.Key("file.symbolic_link.target_path") +) + +// FileAccessed returns an attribute KeyValue conforming to the "file.accessed" +// semantic conventions. It represents the time when the file was last accessed, +// in ISO 8601 format. +func FileAccessed(val string) attribute.KeyValue { + return FileAccessedKey.String(val) +} + +// FileAttributes returns an attribute KeyValue conforming to the +// "file.attributes" semantic conventions. It represents the array of file +// attributes. +func FileAttributes(val ...string) attribute.KeyValue { + return FileAttributesKey.StringSlice(val) +} + +// FileChanged returns an attribute KeyValue conforming to the "file.changed" +// semantic conventions. It represents the time when the file attributes or +// metadata was last changed, in ISO 8601 format. +func FileChanged(val string) attribute.KeyValue { + return FileChangedKey.String(val) +} + +// FileCreated returns an attribute KeyValue conforming to the "file.created" +// semantic conventions. It represents the time when the file was created, in ISO +// 8601 format. +func FileCreated(val string) attribute.KeyValue { + return FileCreatedKey.String(val) +} + +// FileDirectory returns an attribute KeyValue conforming to the "file.directory" +// semantic conventions. It represents the directory where the file is located. +// It should include the drive letter, when appropriate. +func FileDirectory(val string) attribute.KeyValue { + return FileDirectoryKey.String(val) +} + +// FileExtension returns an attribute KeyValue conforming to the "file.extension" +// semantic conventions. It represents the file extension, excluding the leading +// dot. +func FileExtension(val string) attribute.KeyValue { + return FileExtensionKey.String(val) +} + +// FileForkName returns an attribute KeyValue conforming to the "file.fork_name" +// semantic conventions. It represents the name of the fork. A fork is additional +// data associated with a filesystem object. +func FileForkName(val string) attribute.KeyValue { + return FileForkNameKey.String(val) +} + +// FileGroupID returns an attribute KeyValue conforming to the "file.group.id" +// semantic conventions. It represents the primary Group ID (GID) of the file. +func FileGroupID(val string) attribute.KeyValue { + return FileGroupIDKey.String(val) +} + +// FileGroupName returns an attribute KeyValue conforming to the +// "file.group.name" semantic conventions. It represents the primary group name +// of the file. +func FileGroupName(val string) attribute.KeyValue { + return FileGroupNameKey.String(val) +} + +// FileInode returns an attribute KeyValue conforming to the "file.inode" +// semantic conventions. It represents the inode representing the file in the +// filesystem. +func FileInode(val string) attribute.KeyValue { + return FileInodeKey.String(val) +} + +// FileMode returns an attribute KeyValue conforming to the "file.mode" semantic +// conventions. It represents the mode of the file in octal representation. +func FileMode(val string) attribute.KeyValue { + return FileModeKey.String(val) +} + +// FileModified returns an attribute KeyValue conforming to the "file.modified" +// semantic conventions. It represents the time when the file content was last +// modified, in ISO 8601 format. +func FileModified(val string) attribute.KeyValue { + return FileModifiedKey.String(val) +} + +// FileName returns an attribute KeyValue conforming to the "file.name" semantic +// conventions. It represents the name of the file including the extension, +// without the directory. +func FileName(val string) attribute.KeyValue { + return FileNameKey.String(val) +} + +// FileOwnerID returns an attribute KeyValue conforming to the "file.owner.id" +// semantic conventions. It represents the user ID (UID) or security identifier +// (SID) of the file owner. +func FileOwnerID(val string) attribute.KeyValue { + return FileOwnerIDKey.String(val) +} + +// FileOwnerName returns an attribute KeyValue conforming to the +// "file.owner.name" semantic conventions. It represents the username of the file +// owner. +func FileOwnerName(val string) attribute.KeyValue { + return FileOwnerNameKey.String(val) +} + +// FilePath returns an attribute KeyValue conforming to the "file.path" semantic +// conventions. It represents the full path to the file, including the file name. +// It should include the drive letter, when appropriate. +func FilePath(val string) attribute.KeyValue { + return FilePathKey.String(val) +} + +// FileSize returns an attribute KeyValue conforming to the "file.size" semantic +// conventions. It represents the file size in bytes. +func FileSize(val int) attribute.KeyValue { + return FileSizeKey.Int(val) +} + +// FileSymbolicLinkTargetPath returns an attribute KeyValue conforming to the +// "file.symbolic_link.target_path" semantic conventions. It represents the path +// to the target of a symbolic link. +func FileSymbolicLinkTargetPath(val string) attribute.KeyValue { + return FileSymbolicLinkTargetPathKey.String(val) +} + +// Namespace: gcp +const ( + // GCPAppHubApplicationContainerKey is the attribute Key conforming to the + // "gcp.apphub.application.container" semantic conventions. It represents the + // container within GCP where the AppHub application is defined. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "projects/my-container-project" + GCPAppHubApplicationContainerKey = attribute.Key("gcp.apphub.application.container") + + // GCPAppHubApplicationIDKey is the attribute Key conforming to the + // "gcp.apphub.application.id" semantic conventions. It represents the name of + // the application as configured in AppHub. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "my-application" + GCPAppHubApplicationIDKey = attribute.Key("gcp.apphub.application.id") + + // GCPAppHubApplicationLocationKey is the attribute Key conforming to the + // "gcp.apphub.application.location" semantic conventions. It represents the GCP + // zone or region where the application is defined. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "us-central1" + GCPAppHubApplicationLocationKey = attribute.Key("gcp.apphub.application.location") + + // GCPAppHubServiceCriticalityTypeKey is the attribute Key conforming to the + // "gcp.apphub.service.criticality_type" semantic conventions. It represents the + // criticality of a service indicates its importance to the business. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // Note: [See AppHub type enum] + // + // [See AppHub type enum]: https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type + GCPAppHubServiceCriticalityTypeKey = attribute.Key("gcp.apphub.service.criticality_type") + + // GCPAppHubServiceEnvironmentTypeKey is the attribute Key conforming to the + // "gcp.apphub.service.environment_type" semantic conventions. It represents the + // environment of a service is the stage of a software lifecycle. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // Note: [See AppHub environment type] + // + // [See AppHub environment type]: https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type_1 + GCPAppHubServiceEnvironmentTypeKey = attribute.Key("gcp.apphub.service.environment_type") + + // GCPAppHubServiceIDKey is the attribute Key conforming to the + // "gcp.apphub.service.id" semantic conventions. It represents the name of the + // service as configured in AppHub. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "my-service" + GCPAppHubServiceIDKey = attribute.Key("gcp.apphub.service.id") + + // GCPAppHubWorkloadCriticalityTypeKey is the attribute Key conforming to the + // "gcp.apphub.workload.criticality_type" semantic conventions. It represents + // the criticality of a workload indicates its importance to the business. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // Note: [See AppHub type enum] + // + // [See AppHub type enum]: https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type + GCPAppHubWorkloadCriticalityTypeKey = attribute.Key("gcp.apphub.workload.criticality_type") + + // GCPAppHubWorkloadEnvironmentTypeKey is the attribute Key conforming to the + // "gcp.apphub.workload.environment_type" semantic conventions. It represents + // the environment of a workload is the stage of a software lifecycle. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // Note: [See AppHub environment type] + // + // [See AppHub environment type]: https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type_1 + GCPAppHubWorkloadEnvironmentTypeKey = attribute.Key("gcp.apphub.workload.environment_type") + + // GCPAppHubWorkloadIDKey is the attribute Key conforming to the + // "gcp.apphub.workload.id" semantic conventions. It represents the name of the + // workload as configured in AppHub. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "my-workload" + GCPAppHubWorkloadIDKey = attribute.Key("gcp.apphub.workload.id") + + // GCPAppHubDestinationApplicationContainerKey is the attribute Key conforming + // to the "gcp.apphub_destination.application.container" semantic conventions. + // It represents the container within GCP where the AppHub destination + // application is defined. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "projects/my-container-project" + GCPAppHubDestinationApplicationContainerKey = attribute.Key("gcp.apphub_destination.application.container") + + // GCPAppHubDestinationApplicationIDKey is the attribute Key conforming to the + // "gcp.apphub_destination.application.id" semantic conventions. It represents + // the name of the destination application as configured in AppHub. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "my-application" + GCPAppHubDestinationApplicationIDKey = attribute.Key("gcp.apphub_destination.application.id") + + // GCPAppHubDestinationApplicationLocationKey is the attribute Key conforming to + // the "gcp.apphub_destination.application.location" semantic conventions. It + // represents the GCP zone or region where the destination application is + // defined. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "us-central1" + GCPAppHubDestinationApplicationLocationKey = attribute.Key("gcp.apphub_destination.application.location") + + // GCPAppHubDestinationServiceCriticalityTypeKey is the attribute Key conforming + // to the "gcp.apphub_destination.service.criticality_type" semantic + // conventions. It represents the criticality of a destination workload + // indicates its importance to the business as specified in [AppHub type enum]. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // + // [AppHub type enum]: https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type + GCPAppHubDestinationServiceCriticalityTypeKey = attribute.Key("gcp.apphub_destination.service.criticality_type") + + // GCPAppHubDestinationServiceEnvironmentTypeKey is the attribute Key conforming + // to the "gcp.apphub_destination.service.environment_type" semantic + // conventions. It represents the software lifecycle stage of a destination + // service as defined [AppHub environment type]. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // + // [AppHub environment type]: https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type_1 + GCPAppHubDestinationServiceEnvironmentTypeKey = attribute.Key("gcp.apphub_destination.service.environment_type") + + // GCPAppHubDestinationServiceIDKey is the attribute Key conforming to the + // "gcp.apphub_destination.service.id" semantic conventions. It represents the + // name of the destination service as configured in AppHub. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "my-service" + GCPAppHubDestinationServiceIDKey = attribute.Key("gcp.apphub_destination.service.id") + + // GCPAppHubDestinationWorkloadCriticalityTypeKey is the attribute Key + // conforming to the "gcp.apphub_destination.workload.criticality_type" semantic + // conventions. It represents the criticality of a destination workload + // indicates its importance to the business as specified in [AppHub type enum]. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // + // [AppHub type enum]: https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type + GCPAppHubDestinationWorkloadCriticalityTypeKey = attribute.Key("gcp.apphub_destination.workload.criticality_type") + + // GCPAppHubDestinationWorkloadEnvironmentTypeKey is the attribute Key + // conforming to the "gcp.apphub_destination.workload.environment_type" semantic + // conventions. It represents the environment of a destination workload is the + // stage of a software lifecycle as provided in the [AppHub environment type]. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // + // [AppHub environment type]: https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type_1 + GCPAppHubDestinationWorkloadEnvironmentTypeKey = attribute.Key("gcp.apphub_destination.workload.environment_type") + + // GCPAppHubDestinationWorkloadIDKey is the attribute Key conforming to the + // "gcp.apphub_destination.workload.id" semantic conventions. It represents the + // name of the destination workload as configured in AppHub. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "my-workload" + GCPAppHubDestinationWorkloadIDKey = attribute.Key("gcp.apphub_destination.workload.id") + + // GCPClientServiceKey is the attribute Key conforming to the + // "gcp.client.service" semantic conventions. It represents the identifies the + // Google Cloud service for which the official client library is intended. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "appengine", "run", "firestore", "alloydb", "spanner" + // Note: Intended to be a stable identifier for Google Cloud client libraries + // that is uniform across implementation languages. The value should be derived + // from the canonical service domain for the service; for example, + // 'foo.googleapis.com' should result in a value of 'foo'. + GCPClientServiceKey = attribute.Key("gcp.client.service") + + // GCPCloudRunJobExecutionKey is the attribute Key conforming to the + // "gcp.cloud_run.job.execution" semantic conventions. It represents the name of + // the Cloud Run [execution] being run for the Job, as set by the + // [`CLOUD_RUN_EXECUTION`] environment variable. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "job-name-xxxx", "sample-job-mdw84" + // + // [execution]: https://cloud.google.com/run/docs/managing/job-executions + // [`CLOUD_RUN_EXECUTION`]: https://cloud.google.com/run/docs/container-contract#jobs-env-vars + GCPCloudRunJobExecutionKey = attribute.Key("gcp.cloud_run.job.execution") + + // GCPCloudRunJobTaskIndexKey is the attribute Key conforming to the + // "gcp.cloud_run.job.task_index" semantic conventions. It represents the index + // for a task within an execution as provided by the [`CLOUD_RUN_TASK_INDEX`] + // environment variable. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 0, 1 + // + // [`CLOUD_RUN_TASK_INDEX`]: https://cloud.google.com/run/docs/container-contract#jobs-env-vars + GCPCloudRunJobTaskIndexKey = attribute.Key("gcp.cloud_run.job.task_index") + + // GCPGCEInstanceHostnameKey is the attribute Key conforming to the + // "gcp.gce.instance.hostname" semantic conventions. It represents the hostname + // of a GCE instance. This is the full value of the default or [custom hostname] + // . + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "my-host1234.example.com", + // "sample-vm.us-west1-b.c.my-project.internal" + // + // [custom hostname]: https://cloud.google.com/compute/docs/instances/custom-hostname-vm + GCPGCEInstanceHostnameKey = attribute.Key("gcp.gce.instance.hostname") + + // GCPGCEInstanceNameKey is the attribute Key conforming to the + // "gcp.gce.instance.name" semantic conventions. It represents the instance name + // of a GCE instance. This is the value provided by `host.name`, the visible + // name of the instance in the Cloud Console UI, and the prefix for the default + // hostname of the instance as defined by the [default internal DNS name]. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "instance-1", "my-vm-name" + // + // [default internal DNS name]: https://cloud.google.com/compute/docs/internal-dns#instance-fully-qualified-domain-names + GCPGCEInstanceNameKey = attribute.Key("gcp.gce.instance.name") +) + +// GCPAppHubApplicationContainer returns an attribute KeyValue conforming to the +// "gcp.apphub.application.container" semantic conventions. It represents the +// container within GCP where the AppHub application is defined. +func GCPAppHubApplicationContainer(val string) attribute.KeyValue { + return GCPAppHubApplicationContainerKey.String(val) +} + +// GCPAppHubApplicationID returns an attribute KeyValue conforming to the +// "gcp.apphub.application.id" semantic conventions. It represents the name of +// the application as configured in AppHub. +func GCPAppHubApplicationID(val string) attribute.KeyValue { + return GCPAppHubApplicationIDKey.String(val) +} + +// GCPAppHubApplicationLocation returns an attribute KeyValue conforming to the +// "gcp.apphub.application.location" semantic conventions. It represents the GCP +// zone or region where the application is defined. +func GCPAppHubApplicationLocation(val string) attribute.KeyValue { + return GCPAppHubApplicationLocationKey.String(val) +} + +// GCPAppHubServiceID returns an attribute KeyValue conforming to the +// "gcp.apphub.service.id" semantic conventions. It represents the name of the +// service as configured in AppHub. +func GCPAppHubServiceID(val string) attribute.KeyValue { + return GCPAppHubServiceIDKey.String(val) +} + +// GCPAppHubWorkloadID returns an attribute KeyValue conforming to the +// "gcp.apphub.workload.id" semantic conventions. It represents the name of the +// workload as configured in AppHub. +func GCPAppHubWorkloadID(val string) attribute.KeyValue { + return GCPAppHubWorkloadIDKey.String(val) +} + +// GCPAppHubDestinationApplicationContainer returns an attribute KeyValue +// conforming to the "gcp.apphub_destination.application.container" semantic +// conventions. It represents the container within GCP where the AppHub +// destination application is defined. +func GCPAppHubDestinationApplicationContainer(val string) attribute.KeyValue { + return GCPAppHubDestinationApplicationContainerKey.String(val) +} + +// GCPAppHubDestinationApplicationID returns an attribute KeyValue conforming to +// the "gcp.apphub_destination.application.id" semantic conventions. It +// represents the name of the destination application as configured in AppHub. +func GCPAppHubDestinationApplicationID(val string) attribute.KeyValue { + return GCPAppHubDestinationApplicationIDKey.String(val) +} + +// GCPAppHubDestinationApplicationLocation returns an attribute KeyValue +// conforming to the "gcp.apphub_destination.application.location" semantic +// conventions. It represents the GCP zone or region where the destination +// application is defined. +func GCPAppHubDestinationApplicationLocation(val string) attribute.KeyValue { + return GCPAppHubDestinationApplicationLocationKey.String(val) +} + +// GCPAppHubDestinationServiceID returns an attribute KeyValue conforming to the +// "gcp.apphub_destination.service.id" semantic conventions. It represents the +// name of the destination service as configured in AppHub. +func GCPAppHubDestinationServiceID(val string) attribute.KeyValue { + return GCPAppHubDestinationServiceIDKey.String(val) +} + +// GCPAppHubDestinationWorkloadID returns an attribute KeyValue conforming to the +// "gcp.apphub_destination.workload.id" semantic conventions. It represents the +// name of the destination workload as configured in AppHub. +func GCPAppHubDestinationWorkloadID(val string) attribute.KeyValue { + return GCPAppHubDestinationWorkloadIDKey.String(val) +} + +// GCPClientService returns an attribute KeyValue conforming to the +// "gcp.client.service" semantic conventions. It represents the identifies the +// Google Cloud service for which the official client library is intended. +func GCPClientService(val string) attribute.KeyValue { + return GCPClientServiceKey.String(val) +} + +// GCPCloudRunJobExecution returns an attribute KeyValue conforming to the +// "gcp.cloud_run.job.execution" semantic conventions. It represents the name of +// the Cloud Run [execution] being run for the Job, as set by the +// [`CLOUD_RUN_EXECUTION`] environment variable. +// +// [execution]: https://cloud.google.com/run/docs/managing/job-executions +// [`CLOUD_RUN_EXECUTION`]: https://cloud.google.com/run/docs/container-contract#jobs-env-vars +func GCPCloudRunJobExecution(val string) attribute.KeyValue { + return GCPCloudRunJobExecutionKey.String(val) +} + +// GCPCloudRunJobTaskIndex returns an attribute KeyValue conforming to the +// "gcp.cloud_run.job.task_index" semantic conventions. It represents the index +// for a task within an execution as provided by the [`CLOUD_RUN_TASK_INDEX`] +// environment variable. +// +// [`CLOUD_RUN_TASK_INDEX`]: https://cloud.google.com/run/docs/container-contract#jobs-env-vars +func GCPCloudRunJobTaskIndex(val int) attribute.KeyValue { + return GCPCloudRunJobTaskIndexKey.Int(val) +} + +// GCPGCEInstanceHostname returns an attribute KeyValue conforming to the +// "gcp.gce.instance.hostname" semantic conventions. It represents the hostname +// of a GCE instance. This is the full value of the default or [custom hostname] +// . +// +// [custom hostname]: https://cloud.google.com/compute/docs/instances/custom-hostname-vm +func GCPGCEInstanceHostname(val string) attribute.KeyValue { + return GCPGCEInstanceHostnameKey.String(val) +} + +// GCPGCEInstanceName returns an attribute KeyValue conforming to the +// "gcp.gce.instance.name" semantic conventions. It represents the instance name +// of a GCE instance. This is the value provided by `host.name`, the visible name +// of the instance in the Cloud Console UI, and the prefix for the default +// hostname of the instance as defined by the [default internal DNS name]. +// +// [default internal DNS name]: https://cloud.google.com/compute/docs/internal-dns#instance-fully-qualified-domain-names +func GCPGCEInstanceName(val string) attribute.KeyValue { + return GCPGCEInstanceNameKey.String(val) +} + +// Enum values for gcp.apphub.service.criticality_type +var ( + // Mission critical service. + // Stability: development + GCPAppHubServiceCriticalityTypeMissionCritical = GCPAppHubServiceCriticalityTypeKey.String("MISSION_CRITICAL") + // High impact. + // Stability: development + GCPAppHubServiceCriticalityTypeHigh = GCPAppHubServiceCriticalityTypeKey.String("HIGH") + // Medium impact. + // Stability: development + GCPAppHubServiceCriticalityTypeMedium = GCPAppHubServiceCriticalityTypeKey.String("MEDIUM") + // Low impact. + // Stability: development + GCPAppHubServiceCriticalityTypeLow = GCPAppHubServiceCriticalityTypeKey.String("LOW") +) + +// Enum values for gcp.apphub.service.environment_type +var ( + // Production environment. + // Stability: development + GCPAppHubServiceEnvironmentTypeProduction = GCPAppHubServiceEnvironmentTypeKey.String("PRODUCTION") + // Staging environment. + // Stability: development + GCPAppHubServiceEnvironmentTypeStaging = GCPAppHubServiceEnvironmentTypeKey.String("STAGING") + // Test environment. + // Stability: development + GCPAppHubServiceEnvironmentTypeTest = GCPAppHubServiceEnvironmentTypeKey.String("TEST") + // Development environment. + // Stability: development + GCPAppHubServiceEnvironmentTypeDevelopment = GCPAppHubServiceEnvironmentTypeKey.String("DEVELOPMENT") +) + +// Enum values for gcp.apphub.workload.criticality_type +var ( + // Mission critical service. + // Stability: development + GCPAppHubWorkloadCriticalityTypeMissionCritical = GCPAppHubWorkloadCriticalityTypeKey.String("MISSION_CRITICAL") + // High impact. + // Stability: development + GCPAppHubWorkloadCriticalityTypeHigh = GCPAppHubWorkloadCriticalityTypeKey.String("HIGH") + // Medium impact. + // Stability: development + GCPAppHubWorkloadCriticalityTypeMedium = GCPAppHubWorkloadCriticalityTypeKey.String("MEDIUM") + // Low impact. + // Stability: development + GCPAppHubWorkloadCriticalityTypeLow = GCPAppHubWorkloadCriticalityTypeKey.String("LOW") +) + +// Enum values for gcp.apphub.workload.environment_type +var ( + // Production environment. + // Stability: development + GCPAppHubWorkloadEnvironmentTypeProduction = GCPAppHubWorkloadEnvironmentTypeKey.String("PRODUCTION") + // Staging environment. + // Stability: development + GCPAppHubWorkloadEnvironmentTypeStaging = GCPAppHubWorkloadEnvironmentTypeKey.String("STAGING") + // Test environment. + // Stability: development + GCPAppHubWorkloadEnvironmentTypeTest = GCPAppHubWorkloadEnvironmentTypeKey.String("TEST") + // Development environment. + // Stability: development + GCPAppHubWorkloadEnvironmentTypeDevelopment = GCPAppHubWorkloadEnvironmentTypeKey.String("DEVELOPMENT") +) + +// Enum values for gcp.apphub_destination.service.criticality_type +var ( + // Mission critical service. + // Stability: development + GCPAppHubDestinationServiceCriticalityTypeMissionCritical = GCPAppHubDestinationServiceCriticalityTypeKey.String("MISSION_CRITICAL") + // High impact. + // Stability: development + GCPAppHubDestinationServiceCriticalityTypeHigh = GCPAppHubDestinationServiceCriticalityTypeKey.String("HIGH") + // Medium impact. + // Stability: development + GCPAppHubDestinationServiceCriticalityTypeMedium = GCPAppHubDestinationServiceCriticalityTypeKey.String("MEDIUM") + // Low impact. + // Stability: development + GCPAppHubDestinationServiceCriticalityTypeLow = GCPAppHubDestinationServiceCriticalityTypeKey.String("LOW") +) + +// Enum values for gcp.apphub_destination.service.environment_type +var ( + // Production environment. + // Stability: development + GCPAppHubDestinationServiceEnvironmentTypeProduction = GCPAppHubDestinationServiceEnvironmentTypeKey.String("PRODUCTION") + // Staging environment. + // Stability: development + GCPAppHubDestinationServiceEnvironmentTypeStaging = GCPAppHubDestinationServiceEnvironmentTypeKey.String("STAGING") + // Test environment. + // Stability: development + GCPAppHubDestinationServiceEnvironmentTypeTest = GCPAppHubDestinationServiceEnvironmentTypeKey.String("TEST") + // Development environment. + // Stability: development + GCPAppHubDestinationServiceEnvironmentTypeDevelopment = GCPAppHubDestinationServiceEnvironmentTypeKey.String("DEVELOPMENT") +) + +// Enum values for gcp.apphub_destination.workload.criticality_type +var ( + // Mission critical service. + // Stability: development + GCPAppHubDestinationWorkloadCriticalityTypeMissionCritical = GCPAppHubDestinationWorkloadCriticalityTypeKey.String("MISSION_CRITICAL") + // High impact. + // Stability: development + GCPAppHubDestinationWorkloadCriticalityTypeHigh = GCPAppHubDestinationWorkloadCriticalityTypeKey.String("HIGH") + // Medium impact. + // Stability: development + GCPAppHubDestinationWorkloadCriticalityTypeMedium = GCPAppHubDestinationWorkloadCriticalityTypeKey.String("MEDIUM") + // Low impact. + // Stability: development + GCPAppHubDestinationWorkloadCriticalityTypeLow = GCPAppHubDestinationWorkloadCriticalityTypeKey.String("LOW") +) + +// Enum values for gcp.apphub_destination.workload.environment_type +var ( + // Production environment. + // Stability: development + GCPAppHubDestinationWorkloadEnvironmentTypeProduction = GCPAppHubDestinationWorkloadEnvironmentTypeKey.String("PRODUCTION") + // Staging environment. + // Stability: development + GCPAppHubDestinationWorkloadEnvironmentTypeStaging = GCPAppHubDestinationWorkloadEnvironmentTypeKey.String("STAGING") + // Test environment. + // Stability: development + GCPAppHubDestinationWorkloadEnvironmentTypeTest = GCPAppHubDestinationWorkloadEnvironmentTypeKey.String("TEST") + // Development environment. + // Stability: development + GCPAppHubDestinationWorkloadEnvironmentTypeDevelopment = GCPAppHubDestinationWorkloadEnvironmentTypeKey.String("DEVELOPMENT") +) + +// Namespace: gen_ai +const ( + // GenAIAgentDescriptionKey is the attribute Key conforming to the + // "gen_ai.agent.description" semantic conventions. It represents the free-form + // description of the GenAI agent provided by the application. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Helps with math problems", "Generates fiction stories" + GenAIAgentDescriptionKey = attribute.Key("gen_ai.agent.description") + + // GenAIAgentIDKey is the attribute Key conforming to the "gen_ai.agent.id" + // semantic conventions. It represents the unique identifier of the GenAI agent. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "asst_5j66UpCpwteGg4YSxUnt7lPY" + GenAIAgentIDKey = attribute.Key("gen_ai.agent.id") + + // GenAIAgentNameKey is the attribute Key conforming to the "gen_ai.agent.name" + // semantic conventions. It represents the human-readable name of the GenAI + // agent provided by the application. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Math Tutor", "Fiction Writer" + GenAIAgentNameKey = attribute.Key("gen_ai.agent.name") + + // GenAIConversationIDKey is the attribute Key conforming to the + // "gen_ai.conversation.id" semantic conventions. It represents the unique + // identifier for a conversation (session, thread), used to store and correlate + // messages within this conversation. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "conv_5j66UpCpwteGg4YSxUnt7lPY" + GenAIConversationIDKey = attribute.Key("gen_ai.conversation.id") + + // GenAIDataSourceIDKey is the attribute Key conforming to the + // "gen_ai.data_source.id" semantic conventions. It represents the data source + // identifier. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "H7STPQYOND" + // Note: Data sources are used by AI agents and RAG applications to store + // grounding data. A data source may be an external database, object store, + // document collection, website, or any other storage system used by the GenAI + // agent or application. The `gen_ai.data_source.id` SHOULD match the identifier + // used by the GenAI system rather than a name specific to the external storage, + // such as a database or object store. Semantic conventions referencing + // `gen_ai.data_source.id` MAY also leverage additional attributes, such as + // `db.*`, to further identify and describe the data source. + GenAIDataSourceIDKey = attribute.Key("gen_ai.data_source.id") + + // GenAIEmbeddingsDimensionCountKey is the attribute Key conforming to the + // "gen_ai.embeddings.dimension.count" semantic conventions. It represents the + // number of dimensions the resulting output embeddings should have. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 512, 1024 + GenAIEmbeddingsDimensionCountKey = attribute.Key("gen_ai.embeddings.dimension.count") + + // GenAIEvaluationExplanationKey is the attribute Key conforming to the + // "gen_ai.evaluation.explanation" semantic conventions. It represents a + // free-form explanation for the assigned score provided by the evaluator. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "The response is factually accurate but lacks sufficient detail to + // fully address the question." + GenAIEvaluationExplanationKey = attribute.Key("gen_ai.evaluation.explanation") + + // GenAIEvaluationNameKey is the attribute Key conforming to the + // "gen_ai.evaluation.name" semantic conventions. It represents the name of the + // evaluation metric used for the GenAI response. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Relevance", "IntentResolution" + GenAIEvaluationNameKey = attribute.Key("gen_ai.evaluation.name") + + // GenAIEvaluationScoreLabelKey is the attribute Key conforming to the + // "gen_ai.evaluation.score.label" semantic conventions. It represents the human + // readable label for evaluation. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "relevant", "not_relevant", "correct", "incorrect", "pass", "fail" + // Note: This attribute provides a human-readable interpretation of the + // evaluation score produced by an evaluator. For example, a score value of 1 + // could mean "relevant" in one evaluation system and "not relevant" in another, + // depending on the scoring range and evaluator. The label SHOULD have low + // cardinality. Possible values depend on the evaluation metric and evaluator + // used; implementations SHOULD document the possible values. + GenAIEvaluationScoreLabelKey = attribute.Key("gen_ai.evaluation.score.label") + + // GenAIEvaluationScoreValueKey is the attribute Key conforming to the + // "gen_ai.evaluation.score.value" semantic conventions. It represents the + // evaluation score returned by the evaluator. + // + // Type: double + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 4.0 + GenAIEvaluationScoreValueKey = attribute.Key("gen_ai.evaluation.score.value") + + // GenAIInputMessagesKey is the attribute Key conforming to the + // "gen_ai.input.messages" semantic conventions. It represents the chat history + // provided to the model as an input. + // + // Type: any + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "[\n {\n "role": "user",\n "parts": [\n {\n "type": "text",\n + // "content": "Weather in Paris?"\n }\n ]\n },\n {\n "role": "assistant",\n + // "parts": [\n {\n "type": "tool_call",\n "id": + // "call_VSPygqKTWdrhaFErNvMV18Yl",\n "name": "get_weather",\n "arguments": {\n + // "location": "Paris"\n }\n }\n ]\n },\n {\n "role": "tool",\n "parts": [\n {\n + // "type": "tool_call_response",\n "id": " call_VSPygqKTWdrhaFErNvMV18Yl",\n + // "result": "rainy, 57°F"\n }\n ]\n }\n]\n" + // Note: Instrumentations MUST follow [Input messages JSON schema]. + // When the attribute is recorded on events, it MUST be recorded in structured + // form. When recorded on spans, it MAY be recorded as a JSON string if + // structured + // format is not supported and SHOULD be recorded in structured form otherwise. + // + // Messages MUST be provided in the order they were sent to the model. + // Instrumentations MAY provide a way for users to filter or truncate + // input messages. + // + // > [!Warning] + // > This attribute is likely to contain sensitive information including + // > user/PII data. + // + // See [Recording content on attributes] + // section for more details. + // + // [Input messages JSON schema]: /docs/gen-ai/gen-ai-input-messages.json + // [Recording content on attributes]: /docs/gen-ai/gen-ai-spans.md#recording-content-on-attributes + GenAIInputMessagesKey = attribute.Key("gen_ai.input.messages") + + // GenAIOperationNameKey is the attribute Key conforming to the + // "gen_ai.operation.name" semantic conventions. It represents the name of the + // operation being performed. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // Note: If one of the predefined values applies, but specific system uses a + // different name it's RECOMMENDED to document it in the semantic conventions + // for specific GenAI system and use system-specific name in the + // instrumentation. If a different name is not documented, instrumentation + // libraries SHOULD use applicable predefined value. + GenAIOperationNameKey = attribute.Key("gen_ai.operation.name") + + // GenAIOutputMessagesKey is the attribute Key conforming to the + // "gen_ai.output.messages" semantic conventions. It represents the messages + // returned by the model where each message represents a specific model response + // (choice, candidate). + // + // Type: any + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "[\n {\n "role": "assistant",\n "parts": [\n {\n "type": "text",\n + // "content": "The weather in Paris is currently rainy with a temperature of + // 57°F."\n }\n ],\n "finish_reason": "stop"\n }\n]\n" + // Note: Instrumentations MUST follow [Output messages JSON schema] + // + // Each message represents a single output choice/candidate generated by + // the model. Each message corresponds to exactly one generation + // (choice/candidate) and vice versa - one choice cannot be split across + // multiple messages or one message cannot contain parts from multiple choices. + // + // When the attribute is recorded on events, it MUST be recorded in structured + // form. When recorded on spans, it MAY be recorded as a JSON string if + // structured + // format is not supported and SHOULD be recorded in structured form otherwise. + // + // Instrumentations MAY provide a way for users to filter or truncate + // output messages. + // + // > [!Warning] + // > This attribute is likely to contain sensitive information including + // > user/PII data. + // + // See [Recording content on attributes] + // section for more details. + // + // [Output messages JSON schema]: /docs/gen-ai/gen-ai-output-messages.json + // [Recording content on attributes]: /docs/gen-ai/gen-ai-spans.md#recording-content-on-attributes + GenAIOutputMessagesKey = attribute.Key("gen_ai.output.messages") + + // GenAIOutputTypeKey is the attribute Key conforming to the + // "gen_ai.output.type" semantic conventions. It represents the represents the + // content type requested by the client. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // Note: This attribute SHOULD be used when the client requests output of a + // specific type. The model may return zero or more outputs of this type. + // This attribute specifies the output modality and not the actual output + // format. For example, if an image is requested, the actual output could be a + // URL pointing to an image file. + // Additional output format details may be recorded in the future in the + // `gen_ai.output.{type}.*` attributes. + GenAIOutputTypeKey = attribute.Key("gen_ai.output.type") + + // GenAIPromptNameKey is the attribute Key conforming to the + // "gen_ai.prompt.name" semantic conventions. It represents the name of the + // prompt that uniquely identifies it. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "analyze-code" + GenAIPromptNameKey = attribute.Key("gen_ai.prompt.name") + + // GenAIProviderNameKey is the attribute Key conforming to the + // "gen_ai.provider.name" semantic conventions. It represents the Generative AI + // provider as identified by the client or server instrumentation. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // Note: The attribute SHOULD be set based on the instrumentation's best + // knowledge and may differ from the actual model provider. + // + // Multiple providers, including Azure OpenAI, Gemini, and AI hosting platforms + // are accessible using the OpenAI REST API and corresponding client libraries, + // but may proxy or host models from different providers. + // + // The `gen_ai.request.model`, `gen_ai.response.model`, and `server.address` + // attributes may help identify the actual system in use. + // + // The `gen_ai.provider.name` attribute acts as a discriminator that + // identifies the GenAI telemetry format flavor specific to that provider + // within GenAI semantic conventions. + // It SHOULD be set consistently with provider-specific attributes and signals. + // For example, GenAI spans, metrics, and events related to AWS Bedrock + // should have the `gen_ai.provider.name` set to `aws.bedrock` and include + // applicable `aws.bedrock.*` attributes and are not expected to include + // `openai.*` attributes. + GenAIProviderNameKey = attribute.Key("gen_ai.provider.name") + + // GenAIRequestChoiceCountKey is the attribute Key conforming to the + // "gen_ai.request.choice.count" semantic conventions. It represents the target + // number of candidate completions to return. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 3 + GenAIRequestChoiceCountKey = attribute.Key("gen_ai.request.choice.count") + + // GenAIRequestEncodingFormatsKey is the attribute Key conforming to the + // "gen_ai.request.encoding_formats" semantic conventions. It represents the + // encoding formats requested in an embeddings operation, if specified. + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "base64"], ["float", "binary" + // Note: In some GenAI systems the encoding formats are called embedding types. + // Also, some GenAI systems only accept a single format per request. + GenAIRequestEncodingFormatsKey = attribute.Key("gen_ai.request.encoding_formats") + + // GenAIRequestFrequencyPenaltyKey is the attribute Key conforming to the + // "gen_ai.request.frequency_penalty" semantic conventions. It represents the + // frequency penalty setting for the GenAI request. + // + // Type: double + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 0.1 + GenAIRequestFrequencyPenaltyKey = attribute.Key("gen_ai.request.frequency_penalty") + + // GenAIRequestMaxTokensKey is the attribute Key conforming to the + // "gen_ai.request.max_tokens" semantic conventions. It represents the maximum + // number of tokens the model generates for a request. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 100 + GenAIRequestMaxTokensKey = attribute.Key("gen_ai.request.max_tokens") + + // GenAIRequestModelKey is the attribute Key conforming to the + // "gen_ai.request.model" semantic conventions. It represents the name of the + // GenAI model a request is being made to. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: gpt-4 + GenAIRequestModelKey = attribute.Key("gen_ai.request.model") + + // GenAIRequestPresencePenaltyKey is the attribute Key conforming to the + // "gen_ai.request.presence_penalty" semantic conventions. It represents the + // presence penalty setting for the GenAI request. + // + // Type: double + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 0.1 + GenAIRequestPresencePenaltyKey = attribute.Key("gen_ai.request.presence_penalty") + + // GenAIRequestSeedKey is the attribute Key conforming to the + // "gen_ai.request.seed" semantic conventions. It represents the requests with + // same seed value more likely to return same result. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 100 + GenAIRequestSeedKey = attribute.Key("gen_ai.request.seed") + + // GenAIRequestStopSequencesKey is the attribute Key conforming to the + // "gen_ai.request.stop_sequences" semantic conventions. It represents the list + // of sequences that the model will use to stop generating further tokens. + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "forest", "lived" + GenAIRequestStopSequencesKey = attribute.Key("gen_ai.request.stop_sequences") + + // GenAIRequestTemperatureKey is the attribute Key conforming to the + // "gen_ai.request.temperature" semantic conventions. It represents the + // temperature setting for the GenAI request. + // + // Type: double + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 0.0 + GenAIRequestTemperatureKey = attribute.Key("gen_ai.request.temperature") + + // GenAIRequestTopKKey is the attribute Key conforming to the + // "gen_ai.request.top_k" semantic conventions. It represents the top_k sampling + // setting for the GenAI request. + // + // Type: double + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 1.0 + GenAIRequestTopKKey = attribute.Key("gen_ai.request.top_k") + + // GenAIRequestTopPKey is the attribute Key conforming to the + // "gen_ai.request.top_p" semantic conventions. It represents the top_p sampling + // setting for the GenAI request. + // + // Type: double + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 1.0 + GenAIRequestTopPKey = attribute.Key("gen_ai.request.top_p") + + // GenAIResponseFinishReasonsKey is the attribute Key conforming to the + // "gen_ai.response.finish_reasons" semantic conventions. It represents the + // array of reasons the model stopped generating tokens, corresponding to each + // generation received. + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "stop"], ["stop", "length" + GenAIResponseFinishReasonsKey = attribute.Key("gen_ai.response.finish_reasons") + + // GenAIResponseIDKey is the attribute Key conforming to the + // "gen_ai.response.id" semantic conventions. It represents the unique + // identifier for the completion. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "chatcmpl-123" + GenAIResponseIDKey = attribute.Key("gen_ai.response.id") + + // GenAIResponseModelKey is the attribute Key conforming to the + // "gen_ai.response.model" semantic conventions. It represents the name of the + // model that generated the response. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "gpt-4-0613" + GenAIResponseModelKey = attribute.Key("gen_ai.response.model") + + // GenAISystemInstructionsKey is the attribute Key conforming to the + // "gen_ai.system_instructions" semantic conventions. It represents the system + // message or instructions provided to the GenAI model separately from the chat + // history. + // + // Type: any + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "[\n {\n "type": "text",\n "content": "You are an Agent that greet + // users, always use greetings tool to respond"\n }\n]\n", "[\n {\n "type": + // "text",\n "content": "You are a language translator."\n },\n {\n "type": + // "text",\n "content": "Your mission is to translate text in English to + // French."\n }\n]\n" + // Note: This attribute SHOULD be used when the corresponding provider or API + // allows to provide system instructions or messages separately from the + // chat history. + // + // Instructions that are part of the chat history SHOULD be recorded in + // `gen_ai.input.messages` attribute instead. + // + // Instrumentations MUST follow [System instructions JSON schema]. + // + // When recorded on spans, it MAY be recorded as a JSON string if structured + // format is not supported and SHOULD be recorded in structured form otherwise. + // + // Instrumentations MAY provide a way for users to filter or truncate + // system instructions. + // + // > [!Warning] + // > This attribute may contain sensitive information. + // + // See [Recording content on attributes] + // section for more details. + // + // [System instructions JSON schema]: /docs/gen-ai/gen-ai-system-instructions.json + // [Recording content on attributes]: /docs/gen-ai/gen-ai-spans.md#recording-content-on-attributes + GenAISystemInstructionsKey = attribute.Key("gen_ai.system_instructions") + + // GenAITokenTypeKey is the attribute Key conforming to the "gen_ai.token.type" + // semantic conventions. It represents the type of token being counted. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "input", "output" + GenAITokenTypeKey = attribute.Key("gen_ai.token.type") + + // GenAIToolCallArgumentsKey is the attribute Key conforming to the + // "gen_ai.tool.call.arguments" semantic conventions. It represents the + // parameters passed to the tool call. + // + // Type: any + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "{\n "location": "San Francisco?",\n "date": "2025-10-01"\n}\n" + // Note: > [!WARNING] + // + // > This attribute may contain sensitive information. + // + // It's expected to be an object - in case a serialized string is available + // to the instrumentation, the instrumentation SHOULD do the best effort to + // deserialize it to an object. When recorded on spans, it MAY be recorded as a + // JSON string if structured format is not supported and SHOULD be recorded in + // structured form otherwise. + GenAIToolCallArgumentsKey = attribute.Key("gen_ai.tool.call.arguments") + + // GenAIToolCallIDKey is the attribute Key conforming to the + // "gen_ai.tool.call.id" semantic conventions. It represents the tool call + // identifier. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "call_mszuSIzqtI65i1wAUOE8w5H4" + GenAIToolCallIDKey = attribute.Key("gen_ai.tool.call.id") + + // GenAIToolCallResultKey is the attribute Key conforming to the + // "gen_ai.tool.call.result" semantic conventions. It represents the result + // returned by the tool call (if any and if execution was successful). + // + // Type: any + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "{\n "temperature_range": {\n "high": 75,\n "low": 60\n },\n + // "conditions": "sunny"\n}\n" + // Note: > [!WARNING] + // + // > This attribute may contain sensitive information. + // + // It's expected to be an object - in case a serialized string is available + // to the instrumentation, the instrumentation SHOULD do the best effort to + // deserialize it to an object. When recorded on spans, it MAY be recorded as a + // JSON string if structured format is not supported and SHOULD be recorded in + // structured form otherwise. + GenAIToolCallResultKey = attribute.Key("gen_ai.tool.call.result") + + // GenAIToolDefinitionsKey is the attribute Key conforming to the + // "gen_ai.tool.definitions" semantic conventions. It represents the list of + // source system tool definitions available to the GenAI agent or model. + // + // Type: any + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "[\n {\n "type": "function",\n "name": "get_current_weather",\n + // "description": "Get the current weather in a given location",\n "parameters": + // {\n "type": "object",\n "properties": {\n "location": {\n "type": "string",\n + // "description": "The city and state, e.g. San Francisco, CA"\n },\n "unit": + // {\n "type": "string",\n "enum": [\n "celsius",\n "fahrenheit"\n ]\n }\n },\n + // "required": [\n "location",\n "unit"\n ]\n }\n }\n]\n" + // Note: The value of this attribute matches source system tool definition + // format. + // + // It's expected to be an array of objects where each object represents a tool + // definition. In case a serialized string is available + // to the instrumentation, the instrumentation SHOULD do the best effort to + // deserialize it to an array. When recorded on spans, it MAY be recorded as a + // JSON string if structured format is not supported and SHOULD be recorded in + // structured form otherwise. + // + // Since this attribute could be large, it's NOT RECOMMENDED to populate + // it by default. Instrumentations MAY provide a way to enable + // populating this attribute. + GenAIToolDefinitionsKey = attribute.Key("gen_ai.tool.definitions") + + // GenAIToolDescriptionKey is the attribute Key conforming to the + // "gen_ai.tool.description" semantic conventions. It represents the tool + // description. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Multiply two numbers" + GenAIToolDescriptionKey = attribute.Key("gen_ai.tool.description") + + // GenAIToolNameKey is the attribute Key conforming to the "gen_ai.tool.name" + // semantic conventions. It represents the name of the tool utilized by the + // agent. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Flights" + GenAIToolNameKey = attribute.Key("gen_ai.tool.name") + + // GenAIToolTypeKey is the attribute Key conforming to the "gen_ai.tool.type" + // semantic conventions. It represents the type of the tool utilized by the + // agent. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "function", "extension", "datastore" + // Note: Extension: A tool executed on the agent-side to directly call external + // APIs, bridging the gap between the agent and real-world systems. + // Agent-side operations involve actions that are performed by the agent on the + // server or within the agent's controlled environment. + // Function: A tool executed on the client-side, where the agent generates + // parameters for a predefined function, and the client executes the logic. + // Client-side operations are actions taken on the user's end or within the + // client application. + // Datastore: A tool used by the agent to access and query structured or + // unstructured external data for retrieval-augmented tasks or knowledge + // updates. + GenAIToolTypeKey = attribute.Key("gen_ai.tool.type") + + // GenAIUsageInputTokensKey is the attribute Key conforming to the + // "gen_ai.usage.input_tokens" semantic conventions. It represents the number of + // tokens used in the GenAI input (prompt). + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 100 + GenAIUsageInputTokensKey = attribute.Key("gen_ai.usage.input_tokens") + + // GenAIUsageOutputTokensKey is the attribute Key conforming to the + // "gen_ai.usage.output_tokens" semantic conventions. It represents the number + // of tokens used in the GenAI response (completion). + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 180 + GenAIUsageOutputTokensKey = attribute.Key("gen_ai.usage.output_tokens") +) + +// GenAIAgentDescription returns an attribute KeyValue conforming to the +// "gen_ai.agent.description" semantic conventions. It represents the free-form +// description of the GenAI agent provided by the application. +func GenAIAgentDescription(val string) attribute.KeyValue { + return GenAIAgentDescriptionKey.String(val) +} + +// GenAIAgentID returns an attribute KeyValue conforming to the "gen_ai.agent.id" +// semantic conventions. It represents the unique identifier of the GenAI agent. +func GenAIAgentID(val string) attribute.KeyValue { + return GenAIAgentIDKey.String(val) +} + +// GenAIAgentName returns an attribute KeyValue conforming to the +// "gen_ai.agent.name" semantic conventions. It represents the human-readable +// name of the GenAI agent provided by the application. +func GenAIAgentName(val string) attribute.KeyValue { + return GenAIAgentNameKey.String(val) +} + +// GenAIConversationID returns an attribute KeyValue conforming to the +// "gen_ai.conversation.id" semantic conventions. It represents the unique +// identifier for a conversation (session, thread), used to store and correlate +// messages within this conversation. +func GenAIConversationID(val string) attribute.KeyValue { + return GenAIConversationIDKey.String(val) +} + +// GenAIDataSourceID returns an attribute KeyValue conforming to the +// "gen_ai.data_source.id" semantic conventions. It represents the data source +// identifier. +func GenAIDataSourceID(val string) attribute.KeyValue { + return GenAIDataSourceIDKey.String(val) +} + +// GenAIEmbeddingsDimensionCount returns an attribute KeyValue conforming to the +// "gen_ai.embeddings.dimension.count" semantic conventions. It represents the +// number of dimensions the resulting output embeddings should have. +func GenAIEmbeddingsDimensionCount(val int) attribute.KeyValue { + return GenAIEmbeddingsDimensionCountKey.Int(val) +} + +// GenAIEvaluationExplanation returns an attribute KeyValue conforming to the +// "gen_ai.evaluation.explanation" semantic conventions. It represents a +// free-form explanation for the assigned score provided by the evaluator. +func GenAIEvaluationExplanation(val string) attribute.KeyValue { + return GenAIEvaluationExplanationKey.String(val) +} + +// GenAIEvaluationName returns an attribute KeyValue conforming to the +// "gen_ai.evaluation.name" semantic conventions. It represents the name of the +// evaluation metric used for the GenAI response. +func GenAIEvaluationName(val string) attribute.KeyValue { + return GenAIEvaluationNameKey.String(val) +} + +// GenAIEvaluationScoreLabel returns an attribute KeyValue conforming to the +// "gen_ai.evaluation.score.label" semantic conventions. It represents the human +// readable label for evaluation. +func GenAIEvaluationScoreLabel(val string) attribute.KeyValue { + return GenAIEvaluationScoreLabelKey.String(val) +} + +// GenAIEvaluationScoreValue returns an attribute KeyValue conforming to the +// "gen_ai.evaluation.score.value" semantic conventions. It represents the +// evaluation score returned by the evaluator. +func GenAIEvaluationScoreValue(val float64) attribute.KeyValue { + return GenAIEvaluationScoreValueKey.Float64(val) +} + +// GenAIPromptName returns an attribute KeyValue conforming to the +// "gen_ai.prompt.name" semantic conventions. It represents the name of the +// prompt that uniquely identifies it. +func GenAIPromptName(val string) attribute.KeyValue { + return GenAIPromptNameKey.String(val) +} + +// GenAIRequestChoiceCount returns an attribute KeyValue conforming to the +// "gen_ai.request.choice.count" semantic conventions. It represents the target +// number of candidate completions to return. +func GenAIRequestChoiceCount(val int) attribute.KeyValue { + return GenAIRequestChoiceCountKey.Int(val) +} + +// GenAIRequestEncodingFormats returns an attribute KeyValue conforming to the +// "gen_ai.request.encoding_formats" semantic conventions. It represents the +// encoding formats requested in an embeddings operation, if specified. +func GenAIRequestEncodingFormats(val ...string) attribute.KeyValue { + return GenAIRequestEncodingFormatsKey.StringSlice(val) +} + +// GenAIRequestFrequencyPenalty returns an attribute KeyValue conforming to the +// "gen_ai.request.frequency_penalty" semantic conventions. It represents the +// frequency penalty setting for the GenAI request. +func GenAIRequestFrequencyPenalty(val float64) attribute.KeyValue { + return GenAIRequestFrequencyPenaltyKey.Float64(val) +} + +// GenAIRequestMaxTokens returns an attribute KeyValue conforming to the +// "gen_ai.request.max_tokens" semantic conventions. It represents the maximum +// number of tokens the model generates for a request. +func GenAIRequestMaxTokens(val int) attribute.KeyValue { + return GenAIRequestMaxTokensKey.Int(val) +} + +// GenAIRequestModel returns an attribute KeyValue conforming to the +// "gen_ai.request.model" semantic conventions. It represents the name of the +// GenAI model a request is being made to. +func GenAIRequestModel(val string) attribute.KeyValue { + return GenAIRequestModelKey.String(val) +} + +// GenAIRequestPresencePenalty returns an attribute KeyValue conforming to the +// "gen_ai.request.presence_penalty" semantic conventions. It represents the +// presence penalty setting for the GenAI request. +func GenAIRequestPresencePenalty(val float64) attribute.KeyValue { + return GenAIRequestPresencePenaltyKey.Float64(val) +} + +// GenAIRequestSeed returns an attribute KeyValue conforming to the +// "gen_ai.request.seed" semantic conventions. It represents the requests with +// same seed value more likely to return same result. +func GenAIRequestSeed(val int) attribute.KeyValue { + return GenAIRequestSeedKey.Int(val) +} + +// GenAIRequestStopSequences returns an attribute KeyValue conforming to the +// "gen_ai.request.stop_sequences" semantic conventions. It represents the list +// of sequences that the model will use to stop generating further tokens. +func GenAIRequestStopSequences(val ...string) attribute.KeyValue { + return GenAIRequestStopSequencesKey.StringSlice(val) +} + +// GenAIRequestTemperature returns an attribute KeyValue conforming to the +// "gen_ai.request.temperature" semantic conventions. It represents the +// temperature setting for the GenAI request. +func GenAIRequestTemperature(val float64) attribute.KeyValue { + return GenAIRequestTemperatureKey.Float64(val) +} + +// GenAIRequestTopK returns an attribute KeyValue conforming to the +// "gen_ai.request.top_k" semantic conventions. It represents the top_k sampling +// setting for the GenAI request. +func GenAIRequestTopK(val float64) attribute.KeyValue { + return GenAIRequestTopKKey.Float64(val) +} + +// GenAIRequestTopP returns an attribute KeyValue conforming to the +// "gen_ai.request.top_p" semantic conventions. It represents the top_p sampling +// setting for the GenAI request. +func GenAIRequestTopP(val float64) attribute.KeyValue { + return GenAIRequestTopPKey.Float64(val) +} + +// GenAIResponseFinishReasons returns an attribute KeyValue conforming to the +// "gen_ai.response.finish_reasons" semantic conventions. It represents the array +// of reasons the model stopped generating tokens, corresponding to each +// generation received. +func GenAIResponseFinishReasons(val ...string) attribute.KeyValue { + return GenAIResponseFinishReasonsKey.StringSlice(val) +} + +// GenAIResponseID returns an attribute KeyValue conforming to the +// "gen_ai.response.id" semantic conventions. It represents the unique identifier +// for the completion. +func GenAIResponseID(val string) attribute.KeyValue { + return GenAIResponseIDKey.String(val) +} + +// GenAIResponseModel returns an attribute KeyValue conforming to the +// "gen_ai.response.model" semantic conventions. It represents the name of the +// model that generated the response. +func GenAIResponseModel(val string) attribute.KeyValue { + return GenAIResponseModelKey.String(val) +} + +// GenAIToolCallID returns an attribute KeyValue conforming to the +// "gen_ai.tool.call.id" semantic conventions. It represents the tool call +// identifier. +func GenAIToolCallID(val string) attribute.KeyValue { + return GenAIToolCallIDKey.String(val) +} + +// GenAIToolDescription returns an attribute KeyValue conforming to the +// "gen_ai.tool.description" semantic conventions. It represents the tool +// description. +func GenAIToolDescription(val string) attribute.KeyValue { + return GenAIToolDescriptionKey.String(val) +} + +// GenAIToolName returns an attribute KeyValue conforming to the +// "gen_ai.tool.name" semantic conventions. It represents the name of the tool +// utilized by the agent. +func GenAIToolName(val string) attribute.KeyValue { + return GenAIToolNameKey.String(val) +} + +// GenAIToolType returns an attribute KeyValue conforming to the +// "gen_ai.tool.type" semantic conventions. It represents the type of the tool +// utilized by the agent. +func GenAIToolType(val string) attribute.KeyValue { + return GenAIToolTypeKey.String(val) +} + +// GenAIUsageInputTokens returns an attribute KeyValue conforming to the +// "gen_ai.usage.input_tokens" semantic conventions. It represents the number of +// tokens used in the GenAI input (prompt). +func GenAIUsageInputTokens(val int) attribute.KeyValue { + return GenAIUsageInputTokensKey.Int(val) +} + +// GenAIUsageOutputTokens returns an attribute KeyValue conforming to the +// "gen_ai.usage.output_tokens" semantic conventions. It represents the number of +// tokens used in the GenAI response (completion). +func GenAIUsageOutputTokens(val int) attribute.KeyValue { + return GenAIUsageOutputTokensKey.Int(val) +} + +// Enum values for gen_ai.operation.name +var ( + // Chat completion operation such as [OpenAI Chat API] + // Stability: development + // + // [OpenAI Chat API]: https://platform.openai.com/docs/api-reference/chat + GenAIOperationNameChat = GenAIOperationNameKey.String("chat") + // Multimodal content generation operation such as [Gemini Generate Content] + // Stability: development + // + // [Gemini Generate Content]: https://ai.google.dev/api/generate-content + GenAIOperationNameGenerateContent = GenAIOperationNameKey.String("generate_content") + // Text completions operation such as [OpenAI Completions API (Legacy)] + // Stability: development + // + // [OpenAI Completions API (Legacy)]: https://platform.openai.com/docs/api-reference/completions + GenAIOperationNameTextCompletion = GenAIOperationNameKey.String("text_completion") + // Embeddings operation such as [OpenAI Create embeddings API] + // Stability: development + // + // [OpenAI Create embeddings API]: https://platform.openai.com/docs/api-reference/embeddings/create + GenAIOperationNameEmbeddings = GenAIOperationNameKey.String("embeddings") + // Create GenAI agent + // Stability: development + GenAIOperationNameCreateAgent = GenAIOperationNameKey.String("create_agent") + // Invoke GenAI agent + // Stability: development + GenAIOperationNameInvokeAgent = GenAIOperationNameKey.String("invoke_agent") + // Execute a tool + // Stability: development + GenAIOperationNameExecuteTool = GenAIOperationNameKey.String("execute_tool") +) + +// Enum values for gen_ai.output.type +var ( + // Plain text + // Stability: development + GenAIOutputTypeText = GenAIOutputTypeKey.String("text") + // JSON object with known or unknown schema + // Stability: development + GenAIOutputTypeJSON = GenAIOutputTypeKey.String("json") + // Image + // Stability: development + GenAIOutputTypeImage = GenAIOutputTypeKey.String("image") + // Speech + // Stability: development + GenAIOutputTypeSpeech = GenAIOutputTypeKey.String("speech") +) + +// Enum values for gen_ai.provider.name +var ( + // [OpenAI] + // Stability: development + // + // [OpenAI]: https://openai.com/ + GenAIProviderNameOpenAI = GenAIProviderNameKey.String("openai") + // Any Google generative AI endpoint + // Stability: development + GenAIProviderNameGCPGenAI = GenAIProviderNameKey.String("gcp.gen_ai") + // [Vertex AI] + // Stability: development + // + // [Vertex AI]: https://cloud.google.com/vertex-ai + GenAIProviderNameGCPVertexAI = GenAIProviderNameKey.String("gcp.vertex_ai") + // [Gemini] + // Stability: development + // + // [Gemini]: https://cloud.google.com/products/gemini + GenAIProviderNameGCPGemini = GenAIProviderNameKey.String("gcp.gemini") + // [Anthropic] + // Stability: development + // + // [Anthropic]: https://www.anthropic.com/ + GenAIProviderNameAnthropic = GenAIProviderNameKey.String("anthropic") + // [Cohere] + // Stability: development + // + // [Cohere]: https://cohere.com/ + GenAIProviderNameCohere = GenAIProviderNameKey.String("cohere") + // Azure AI Inference + // Stability: development + GenAIProviderNameAzureAIInference = GenAIProviderNameKey.String("azure.ai.inference") + // [Azure OpenAI] + // Stability: development + // + // [Azure OpenAI]: https://azure.microsoft.com/products/ai-services/openai-service/ + GenAIProviderNameAzureAIOpenAI = GenAIProviderNameKey.String("azure.ai.openai") + // [IBM Watsonx AI] + // Stability: development + // + // [IBM Watsonx AI]: https://www.ibm.com/products/watsonx-ai + GenAIProviderNameIBMWatsonxAI = GenAIProviderNameKey.String("ibm.watsonx.ai") + // [AWS Bedrock] + // Stability: development + // + // [AWS Bedrock]: https://aws.amazon.com/bedrock + GenAIProviderNameAWSBedrock = GenAIProviderNameKey.String("aws.bedrock") + // [Perplexity] + // Stability: development + // + // [Perplexity]: https://www.perplexity.ai/ + GenAIProviderNamePerplexity = GenAIProviderNameKey.String("perplexity") + // [xAI] + // Stability: development + // + // [xAI]: https://x.ai/ + GenAIProviderNameXAI = GenAIProviderNameKey.String("x_ai") + // [DeepSeek] + // Stability: development + // + // [DeepSeek]: https://www.deepseek.com/ + GenAIProviderNameDeepseek = GenAIProviderNameKey.String("deepseek") + // [Groq] + // Stability: development + // + // [Groq]: https://groq.com/ + GenAIProviderNameGroq = GenAIProviderNameKey.String("groq") + // [Mistral AI] + // Stability: development + // + // [Mistral AI]: https://mistral.ai/ + GenAIProviderNameMistralAI = GenAIProviderNameKey.String("mistral_ai") +) + +// Enum values for gen_ai.token.type +var ( + // Input tokens (prompt, input, etc.) + // Stability: development + GenAITokenTypeInput = GenAITokenTypeKey.String("input") + // Output tokens (completion, response, etc.) + // Stability: development + GenAITokenTypeOutput = GenAITokenTypeKey.String("output") +) + +// Namespace: geo +const ( + // GeoContinentCodeKey is the attribute Key conforming to the + // "geo.continent.code" semantic conventions. It represents the two-letter code + // representing continent’s name. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + GeoContinentCodeKey = attribute.Key("geo.continent.code") + + // GeoCountryISOCodeKey is the attribute Key conforming to the + // "geo.country.iso_code" semantic conventions. It represents the two-letter ISO + // Country Code ([ISO 3166-1 alpha2]). + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "CA" + // + // [ISO 3166-1 alpha2]: https://wikipedia.org/wiki/ISO_3166-1#Codes + GeoCountryISOCodeKey = attribute.Key("geo.country.iso_code") + + // GeoLocalityNameKey is the attribute Key conforming to the "geo.locality.name" + // semantic conventions. It represents the locality name. Represents the name of + // a city, town, village, or similar populated place. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Montreal", "Berlin" + GeoLocalityNameKey = attribute.Key("geo.locality.name") + + // GeoLocationLatKey is the attribute Key conforming to the "geo.location.lat" + // semantic conventions. It represents the latitude of the geo location in + // [WGS84]. + // + // Type: double + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 45.505918 + // + // [WGS84]: https://wikipedia.org/wiki/World_Geodetic_System#WGS84 + GeoLocationLatKey = attribute.Key("geo.location.lat") + + // GeoLocationLonKey is the attribute Key conforming to the "geo.location.lon" + // semantic conventions. It represents the longitude of the geo location in + // [WGS84]. + // + // Type: double + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: -73.61483 + // + // [WGS84]: https://wikipedia.org/wiki/World_Geodetic_System#WGS84 + GeoLocationLonKey = attribute.Key("geo.location.lon") + + // GeoPostalCodeKey is the attribute Key conforming to the "geo.postal_code" + // semantic conventions. It represents the postal code associated with the + // location. Values appropriate for this field may also be known as a postcode + // or ZIP code and will vary widely from country to country. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "94040" + GeoPostalCodeKey = attribute.Key("geo.postal_code") + + // GeoRegionISOCodeKey is the attribute Key conforming to the + // "geo.region.iso_code" semantic conventions. It represents the region ISO code + // ([ISO 3166-2]). + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "CA-QC" + // + // [ISO 3166-2]: https://wikipedia.org/wiki/ISO_3166-2 + GeoRegionISOCodeKey = attribute.Key("geo.region.iso_code") +) + +// GeoCountryISOCode returns an attribute KeyValue conforming to the +// "geo.country.iso_code" semantic conventions. It represents the two-letter ISO +// Country Code ([ISO 3166-1 alpha2]). +// +// [ISO 3166-1 alpha2]: https://wikipedia.org/wiki/ISO_3166-1#Codes +func GeoCountryISOCode(val string) attribute.KeyValue { + return GeoCountryISOCodeKey.String(val) +} + +// GeoLocalityName returns an attribute KeyValue conforming to the +// "geo.locality.name" semantic conventions. It represents the locality name. +// Represents the name of a city, town, village, or similar populated place. +func GeoLocalityName(val string) attribute.KeyValue { + return GeoLocalityNameKey.String(val) +} + +// GeoLocationLat returns an attribute KeyValue conforming to the +// "geo.location.lat" semantic conventions. It represents the latitude of the geo +// location in [WGS84]. +// +// [WGS84]: https://wikipedia.org/wiki/World_Geodetic_System#WGS84 +func GeoLocationLat(val float64) attribute.KeyValue { + return GeoLocationLatKey.Float64(val) +} + +// GeoLocationLon returns an attribute KeyValue conforming to the +// "geo.location.lon" semantic conventions. It represents the longitude of the +// geo location in [WGS84]. +// +// [WGS84]: https://wikipedia.org/wiki/World_Geodetic_System#WGS84 +func GeoLocationLon(val float64) attribute.KeyValue { + return GeoLocationLonKey.Float64(val) +} + +// GeoPostalCode returns an attribute KeyValue conforming to the +// "geo.postal_code" semantic conventions. It represents the postal code +// associated with the location. Values appropriate for this field may also be +// known as a postcode or ZIP code and will vary widely from country to country. +func GeoPostalCode(val string) attribute.KeyValue { + return GeoPostalCodeKey.String(val) +} + +// GeoRegionISOCode returns an attribute KeyValue conforming to the +// "geo.region.iso_code" semantic conventions. It represents the region ISO code +// ([ISO 3166-2]). +// +// [ISO 3166-2]: https://wikipedia.org/wiki/ISO_3166-2 +func GeoRegionISOCode(val string) attribute.KeyValue { + return GeoRegionISOCodeKey.String(val) +} + +// Enum values for geo.continent.code +var ( + // Africa + // Stability: development + GeoContinentCodeAf = GeoContinentCodeKey.String("AF") + // Antarctica + // Stability: development + GeoContinentCodeAn = GeoContinentCodeKey.String("AN") + // Asia + // Stability: development + GeoContinentCodeAs = GeoContinentCodeKey.String("AS") + // Europe + // Stability: development + GeoContinentCodeEu = GeoContinentCodeKey.String("EU") + // North America + // Stability: development + GeoContinentCodeNa = GeoContinentCodeKey.String("NA") + // Oceania + // Stability: development + GeoContinentCodeOc = GeoContinentCodeKey.String("OC") + // South America + // Stability: development + GeoContinentCodeSa = GeoContinentCodeKey.String("SA") +) + +// Namespace: go +const ( + // GoMemoryTypeKey is the attribute Key conforming to the "go.memory.type" + // semantic conventions. It represents the type of memory. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "other", "stack" + GoMemoryTypeKey = attribute.Key("go.memory.type") +) + +// Enum values for go.memory.type +var ( + // Memory allocated from the heap that is reserved for stack space, whether or + // not it is currently in-use. + // Stability: development + GoMemoryTypeStack = GoMemoryTypeKey.String("stack") + // Memory used by the Go runtime, excluding other categories of memory usage + // described in this enumeration. + // Stability: development + GoMemoryTypeOther = GoMemoryTypeKey.String("other") +) + +// Namespace: graphql +const ( + // GraphQLDocumentKey is the attribute Key conforming to the "graphql.document" + // semantic conventions. It represents the GraphQL document being executed. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: query findBookById { bookById(id: ?) { name } } + // Note: The value may be sanitized to exclude sensitive information. + GraphQLDocumentKey = attribute.Key("graphql.document") + + // GraphQLOperationNameKey is the attribute Key conforming to the + // "graphql.operation.name" semantic conventions. It represents the name of the + // operation being executed. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: findBookById + GraphQLOperationNameKey = attribute.Key("graphql.operation.name") + + // GraphQLOperationTypeKey is the attribute Key conforming to the + // "graphql.operation.type" semantic conventions. It represents the type of the + // operation being executed. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "query", "mutation", "subscription" + GraphQLOperationTypeKey = attribute.Key("graphql.operation.type") +) + +// GraphQLDocument returns an attribute KeyValue conforming to the +// "graphql.document" semantic conventions. It represents the GraphQL document +// being executed. +func GraphQLDocument(val string) attribute.KeyValue { + return GraphQLDocumentKey.String(val) +} + +// GraphQLOperationName returns an attribute KeyValue conforming to the +// "graphql.operation.name" semantic conventions. It represents the name of the +// operation being executed. +func GraphQLOperationName(val string) attribute.KeyValue { + return GraphQLOperationNameKey.String(val) +} + +// Enum values for graphql.operation.type +var ( + // GraphQL query + // Stability: development + GraphQLOperationTypeQuery = GraphQLOperationTypeKey.String("query") + // GraphQL mutation + // Stability: development + GraphQLOperationTypeMutation = GraphQLOperationTypeKey.String("mutation") + // GraphQL subscription + // Stability: development + GraphQLOperationTypeSubscription = GraphQLOperationTypeKey.String("subscription") +) + +// Namespace: heroku +const ( + // HerokuAppIDKey is the attribute Key conforming to the "heroku.app.id" + // semantic conventions. It represents the unique identifier for the + // application. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "2daa2797-e42b-4624-9322-ec3f968df4da" + HerokuAppIDKey = attribute.Key("heroku.app.id") + + // HerokuReleaseCommitKey is the attribute Key conforming to the + // "heroku.release.commit" semantic conventions. It represents the commit hash + // for the current release. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "e6134959463efd8966b20e75b913cafe3f5ec" + HerokuReleaseCommitKey = attribute.Key("heroku.release.commit") + + // HerokuReleaseCreationTimestampKey is the attribute Key conforming to the + // "heroku.release.creation_timestamp" semantic conventions. It represents the + // time and date the release was created. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "2022-10-23T18:00:42Z" + HerokuReleaseCreationTimestampKey = attribute.Key("heroku.release.creation_timestamp") +) + +// HerokuAppID returns an attribute KeyValue conforming to the "heroku.app.id" +// semantic conventions. It represents the unique identifier for the application. +func HerokuAppID(val string) attribute.KeyValue { + return HerokuAppIDKey.String(val) +} + +// HerokuReleaseCommit returns an attribute KeyValue conforming to the +// "heroku.release.commit" semantic conventions. It represents the commit hash +// for the current release. +func HerokuReleaseCommit(val string) attribute.KeyValue { + return HerokuReleaseCommitKey.String(val) +} + +// HerokuReleaseCreationTimestamp returns an attribute KeyValue conforming to the +// "heroku.release.creation_timestamp" semantic conventions. It represents the +// time and date the release was created. +func HerokuReleaseCreationTimestamp(val string) attribute.KeyValue { + return HerokuReleaseCreationTimestampKey.String(val) +} + +// Namespace: host +const ( + // HostArchKey is the attribute Key conforming to the "host.arch" semantic + // conventions. It represents the CPU architecture the host system is running + // on. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + HostArchKey = attribute.Key("host.arch") + + // HostCPUCacheL2SizeKey is the attribute Key conforming to the + // "host.cpu.cache.l2.size" semantic conventions. It represents the amount of + // level 2 memory cache available to the processor (in Bytes). + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 12288000 + HostCPUCacheL2SizeKey = attribute.Key("host.cpu.cache.l2.size") + + // HostCPUFamilyKey is the attribute Key conforming to the "host.cpu.family" + // semantic conventions. It represents the family or generation of the CPU. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "6", "PA-RISC 1.1e" + HostCPUFamilyKey = attribute.Key("host.cpu.family") + + // HostCPUModelIDKey is the attribute Key conforming to the "host.cpu.model.id" + // semantic conventions. It represents the model identifier. It provides more + // granular information about the CPU, distinguishing it from other CPUs within + // the same family. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "6", "9000/778/B180L" + HostCPUModelIDKey = attribute.Key("host.cpu.model.id") + + // HostCPUModelNameKey is the attribute Key conforming to the + // "host.cpu.model.name" semantic conventions. It represents the model + // designation of the processor. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz" + HostCPUModelNameKey = attribute.Key("host.cpu.model.name") + + // HostCPUSteppingKey is the attribute Key conforming to the "host.cpu.stepping" + // semantic conventions. It represents the stepping or core revisions. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "1", "r1p1" + HostCPUSteppingKey = attribute.Key("host.cpu.stepping") + + // HostCPUVendorIDKey is the attribute Key conforming to the + // "host.cpu.vendor.id" semantic conventions. It represents the processor + // manufacturer identifier. A maximum 12-character string. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "GenuineIntel" + // Note: [CPUID] command returns the vendor ID string in EBX, EDX and ECX + // registers. Writing these to memory in this order results in a 12-character + // string. + // + // [CPUID]: https://wiki.osdev.org/CPUID + HostCPUVendorIDKey = attribute.Key("host.cpu.vendor.id") + + // HostIDKey is the attribute Key conforming to the "host.id" semantic + // conventions. It represents the unique host ID. For Cloud, this must be the + // instance_id assigned by the cloud provider. For non-containerized systems, + // this should be the `machine-id`. See the table below for the sources to use + // to determine the `machine-id` based on operating system. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "fdbf79e8af94cb7f9e8df36789187052" + HostIDKey = attribute.Key("host.id") + + // HostImageIDKey is the attribute Key conforming to the "host.image.id" + // semantic conventions. It represents the VM image ID or host OS image ID. For + // Cloud, this value is from the provider. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "ami-07b06b442921831e5" + HostImageIDKey = attribute.Key("host.image.id") + + // HostImageNameKey is the attribute Key conforming to the "host.image.name" + // semantic conventions. It represents the name of the VM image or OS install + // the host was instantiated from. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "infra-ami-eks-worker-node-7d4ec78312", "CentOS-8-x86_64-1905" + HostImageNameKey = attribute.Key("host.image.name") + + // HostImageVersionKey is the attribute Key conforming to the + // "host.image.version" semantic conventions. It represents the version string + // of the VM image or host OS as defined in [Version Attributes]. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "0.1" + // + // [Version Attributes]: /docs/resource/README.md#version-attributes + HostImageVersionKey = attribute.Key("host.image.version") + + // HostIPKey is the attribute Key conforming to the "host.ip" semantic + // conventions. It represents the available IP addresses of the host, excluding + // loopback interfaces. + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "192.168.1.140", "fe80::abc2:4a28:737a:609e" + // Note: IPv4 Addresses MUST be specified in dotted-quad notation. IPv6 + // addresses MUST be specified in the [RFC 5952] format. + // + // [RFC 5952]: https://www.rfc-editor.org/rfc/rfc5952.html + HostIPKey = attribute.Key("host.ip") + + // HostMacKey is the attribute Key conforming to the "host.mac" semantic + // conventions. It represents the available MAC addresses of the host, excluding + // loopback interfaces. + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "AC-DE-48-23-45-67", "AC-DE-48-23-45-67-01-9F" + // Note: MAC Addresses MUST be represented in [IEEE RA hexadecimal form]: as + // hyphen-separated octets in uppercase hexadecimal form from most to least + // significant. + // + // [IEEE RA hexadecimal form]: https://standards.ieee.org/wp-content/uploads/import/documents/tutorials/eui.pdf + HostMacKey = attribute.Key("host.mac") + + // HostNameKey is the attribute Key conforming to the "host.name" semantic + // conventions. It represents the name of the host. On Unix systems, it may + // contain what the hostname command returns, or the fully qualified hostname, + // or another name specified by the user. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "opentelemetry-test" + HostNameKey = attribute.Key("host.name") + + // HostTypeKey is the attribute Key conforming to the "host.type" semantic + // conventions. It represents the type of host. For Cloud, this must be the + // machine type. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "n1-standard-1" + HostTypeKey = attribute.Key("host.type") +) + +// HostCPUCacheL2Size returns an attribute KeyValue conforming to the +// "host.cpu.cache.l2.size" semantic conventions. It represents the amount of +// level 2 memory cache available to the processor (in Bytes). +func HostCPUCacheL2Size(val int) attribute.KeyValue { + return HostCPUCacheL2SizeKey.Int(val) +} + +// HostCPUFamily returns an attribute KeyValue conforming to the +// "host.cpu.family" semantic conventions. It represents the family or generation +// of the CPU. +func HostCPUFamily(val string) attribute.KeyValue { + return HostCPUFamilyKey.String(val) +} + +// HostCPUModelID returns an attribute KeyValue conforming to the +// "host.cpu.model.id" semantic conventions. It represents the model identifier. +// It provides more granular information about the CPU, distinguishing it from +// other CPUs within the same family. +func HostCPUModelID(val string) attribute.KeyValue { + return HostCPUModelIDKey.String(val) +} + +// HostCPUModelName returns an attribute KeyValue conforming to the +// "host.cpu.model.name" semantic conventions. It represents the model +// designation of the processor. +func HostCPUModelName(val string) attribute.KeyValue { + return HostCPUModelNameKey.String(val) +} + +// HostCPUStepping returns an attribute KeyValue conforming to the +// "host.cpu.stepping" semantic conventions. It represents the stepping or core +// revisions. +func HostCPUStepping(val string) attribute.KeyValue { + return HostCPUSteppingKey.String(val) +} + +// HostCPUVendorID returns an attribute KeyValue conforming to the +// "host.cpu.vendor.id" semantic conventions. It represents the processor +// manufacturer identifier. A maximum 12-character string. +func HostCPUVendorID(val string) attribute.KeyValue { + return HostCPUVendorIDKey.String(val) +} + +// HostID returns an attribute KeyValue conforming to the "host.id" semantic +// conventions. It represents the unique host ID. For Cloud, this must be the +// instance_id assigned by the cloud provider. For non-containerized systems, +// this should be the `machine-id`. See the table below for the sources to use to +// determine the `machine-id` based on operating system. +func HostID(val string) attribute.KeyValue { + return HostIDKey.String(val) +} + +// HostImageID returns an attribute KeyValue conforming to the "host.image.id" +// semantic conventions. It represents the VM image ID or host OS image ID. For +// Cloud, this value is from the provider. +func HostImageID(val string) attribute.KeyValue { + return HostImageIDKey.String(val) +} + +// HostImageName returns an attribute KeyValue conforming to the +// "host.image.name" semantic conventions. It represents the name of the VM image +// or OS install the host was instantiated from. +func HostImageName(val string) attribute.KeyValue { + return HostImageNameKey.String(val) +} + +// HostImageVersion returns an attribute KeyValue conforming to the +// "host.image.version" semantic conventions. It represents the version string of +// the VM image or host OS as defined in [Version Attributes]. +// +// [Version Attributes]: /docs/resource/README.md#version-attributes +func HostImageVersion(val string) attribute.KeyValue { + return HostImageVersionKey.String(val) +} + +// HostIP returns an attribute KeyValue conforming to the "host.ip" semantic +// conventions. It represents the available IP addresses of the host, excluding +// loopback interfaces. +func HostIP(val ...string) attribute.KeyValue { + return HostIPKey.StringSlice(val) +} + +// HostMac returns an attribute KeyValue conforming to the "host.mac" semantic +// conventions. It represents the available MAC addresses of the host, excluding +// loopback interfaces. +func HostMac(val ...string) attribute.KeyValue { + return HostMacKey.StringSlice(val) +} + +// HostName returns an attribute KeyValue conforming to the "host.name" semantic +// conventions. It represents the name of the host. On Unix systems, it may +// contain what the hostname command returns, or the fully qualified hostname, or +// another name specified by the user. +func HostName(val string) attribute.KeyValue { + return HostNameKey.String(val) +} + +// HostType returns an attribute KeyValue conforming to the "host.type" semantic +// conventions. It represents the type of host. For Cloud, this must be the +// machine type. +func HostType(val string) attribute.KeyValue { + return HostTypeKey.String(val) +} + +// Enum values for host.arch +var ( + // AMD64 + // Stability: development + HostArchAMD64 = HostArchKey.String("amd64") + // ARM32 + // Stability: development + HostArchARM32 = HostArchKey.String("arm32") + // ARM64 + // Stability: development + HostArchARM64 = HostArchKey.String("arm64") + // Itanium + // Stability: development + HostArchIA64 = HostArchKey.String("ia64") + // 32-bit PowerPC + // Stability: development + HostArchPPC32 = HostArchKey.String("ppc32") + // 64-bit PowerPC + // Stability: development + HostArchPPC64 = HostArchKey.String("ppc64") + // IBM z/Architecture + // Stability: development + HostArchS390x = HostArchKey.String("s390x") + // 32-bit x86 + // Stability: development + HostArchX86 = HostArchKey.String("x86") +) + +// Namespace: http +const ( + // HTTPConnectionStateKey is the attribute Key conforming to the + // "http.connection.state" semantic conventions. It represents the state of the + // HTTP connection in the HTTP connection pool. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "active", "idle" + HTTPConnectionStateKey = attribute.Key("http.connection.state") + + // HTTPRequestBodySizeKey is the attribute Key conforming to the + // "http.request.body.size" semantic conventions. It represents the size of the + // request payload body in bytes. This is the number of bytes transferred + // excluding headers and is often, but not always, present as the + // [Content-Length] header. For requests using transport encoding, this should + // be the compressed size. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // [Content-Length]: https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length + HTTPRequestBodySizeKey = attribute.Key("http.request.body.size") + + // HTTPRequestMethodKey is the attribute Key conforming to the + // "http.request.method" semantic conventions. It represents the HTTP request + // method. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "GET", "POST", "HEAD" + // Note: HTTP request method value SHOULD be "known" to the instrumentation. + // By default, this convention defines "known" methods as the ones listed in + // [RFC9110], + // the PATCH method defined in [RFC5789] + // and the QUERY method defined in [httpbis-safe-method-w-body]. + // + // If the HTTP request method is not known to instrumentation, it MUST set the + // `http.request.method` attribute to `_OTHER`. + // + // If the HTTP instrumentation could end up converting valid HTTP request + // methods to `_OTHER`, then it MUST provide a way to override + // the list of known HTTP methods. If this override is done via environment + // variable, then the environment variable MUST be named + // OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of + // case-sensitive known HTTP methods + // (this list MUST be a full override of the default known method, it is not a + // list of known methods in addition to the defaults). + // + // HTTP method names are case-sensitive and `http.request.method` attribute + // value MUST match a known HTTP method name exactly. + // Instrumentations for specific web frameworks that consider HTTP methods to be + // case insensitive, SHOULD populate a canonical equivalent. + // Tracing instrumentations that do so, MUST also set + // `http.request.method_original` to the original value. + // + // [RFC9110]: https://www.rfc-editor.org/rfc/rfc9110.html#name-methods + // [RFC5789]: https://www.rfc-editor.org/rfc/rfc5789.html + // [httpbis-safe-method-w-body]: https://datatracker.ietf.org/doc/draft-ietf-httpbis-safe-method-w-body/?include_text=1 + HTTPRequestMethodKey = attribute.Key("http.request.method") + + // HTTPRequestMethodOriginalKey is the attribute Key conforming to the + // "http.request.method_original" semantic conventions. It represents the + // original HTTP method sent by the client in the request line. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "GeT", "ACL", "foo" + HTTPRequestMethodOriginalKey = attribute.Key("http.request.method_original") + + // HTTPRequestResendCountKey is the attribute Key conforming to the + // "http.request.resend_count" semantic conventions. It represents the ordinal + // number of request resending attempt (for any reason, including redirects). + // + // Type: int + // RequirementLevel: Recommended + // Stability: Stable + // + // Note: The resend count SHOULD be updated each time an HTTP request gets + // resent by the client, regardless of what was the cause of the resending (e.g. + // redirection, authorization failure, 503 Server Unavailable, network issues, + // or any other). + HTTPRequestResendCountKey = attribute.Key("http.request.resend_count") + + // HTTPRequestSizeKey is the attribute Key conforming to the "http.request.size" + // semantic conventions. It represents the total size of the request in bytes. + // This should be the total number of bytes sent over the wire, including the + // request line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and request + // body if any. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + HTTPRequestSizeKey = attribute.Key("http.request.size") + + // HTTPResponseBodySizeKey is the attribute Key conforming to the + // "http.response.body.size" semantic conventions. It represents the size of the + // response payload body in bytes. This is the number of bytes transferred + // excluding headers and is often, but not always, present as the + // [Content-Length] header. For requests using transport encoding, this should + // be the compressed size. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // [Content-Length]: https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length + HTTPResponseBodySizeKey = attribute.Key("http.response.body.size") + + // HTTPResponseSizeKey is the attribute Key conforming to the + // "http.response.size" semantic conventions. It represents the total size of + // the response in bytes. This should be the total number of bytes sent over the + // wire, including the status line (HTTP/1.1), framing (HTTP/2 and HTTP/3), + // headers, and response body and trailers if any. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + HTTPResponseSizeKey = attribute.Key("http.response.size") + + // HTTPResponseStatusCodeKey is the attribute Key conforming to the + // "http.response.status_code" semantic conventions. It represents the + // [HTTP response status code]. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: 200 + // + // [HTTP response status code]: https://tools.ietf.org/html/rfc7231#section-6 + HTTPResponseStatusCodeKey = attribute.Key("http.response.status_code") + + // HTTPRouteKey is the attribute Key conforming to the "http.route" semantic + // conventions. It represents the matched route template for the request. This + // MUST be low-cardinality and include all static path segments, with dynamic + // path segments represented with placeholders. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "/users/:userID?", "my-controller/my-action/{id?}" + // Note: MUST NOT be populated when this is not supported by the HTTP server + // framework as the route attribute should have low-cardinality and the URI path + // can NOT substitute it. + // SHOULD include the [application root] if there is one. + // + // A static path segment is a part of the route template with a fixed, + // low-cardinality value. This includes literal strings like `/users/` and + // placeholders that + // are constrained to a finite, predefined set of values, e.g. `{controller}` or + // `{action}`. + // + // A dynamic path segment is a placeholder for a value that can have high + // cardinality and is not constrained to a predefined list like static path + // segments. + // + // Instrumentations SHOULD use routing information provided by the corresponding + // web framework. They SHOULD pick the most precise source of routing + // information and MAY + // support custom route formatting. Instrumentations SHOULD document the format + // and the API used to obtain the route string. + // + // [application root]: /docs/http/http-spans.md#http-server-definitions + HTTPRouteKey = attribute.Key("http.route") +) + +// HTTPRequestBodySize returns an attribute KeyValue conforming to the +// "http.request.body.size" semantic conventions. It represents the size of the +// request payload body in bytes. This is the number of bytes transferred +// excluding headers and is often, but not always, present as the +// [Content-Length] header. For requests using transport encoding, this should be +// the compressed size. +// +// [Content-Length]: https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length +func HTTPRequestBodySize(val int) attribute.KeyValue { + return HTTPRequestBodySizeKey.Int(val) +} + +// HTTPRequestHeader returns an attribute KeyValue conforming to the +// "http.request.header" semantic conventions. It represents the HTTP request +// headers, `` being the normalized HTTP Header name (lowercase), the value +// being the header values. +func HTTPRequestHeader(key string, val ...string) attribute.KeyValue { + return attribute.StringSlice("http.request.header."+key, val) +} + +// HTTPRequestMethodOriginal returns an attribute KeyValue conforming to the +// "http.request.method_original" semantic conventions. It represents the +// original HTTP method sent by the client in the request line. +func HTTPRequestMethodOriginal(val string) attribute.KeyValue { + return HTTPRequestMethodOriginalKey.String(val) +} + +// HTTPRequestResendCount returns an attribute KeyValue conforming to the +// "http.request.resend_count" semantic conventions. It represents the ordinal +// number of request resending attempt (for any reason, including redirects). +func HTTPRequestResendCount(val int) attribute.KeyValue { + return HTTPRequestResendCountKey.Int(val) +} + +// HTTPRequestSize returns an attribute KeyValue conforming to the +// "http.request.size" semantic conventions. It represents the total size of the +// request in bytes. This should be the total number of bytes sent over the wire, +// including the request line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, +// and request body if any. +func HTTPRequestSize(val int) attribute.KeyValue { + return HTTPRequestSizeKey.Int(val) +} + +// HTTPResponseBodySize returns an attribute KeyValue conforming to the +// "http.response.body.size" semantic conventions. It represents the size of the +// response payload body in bytes. This is the number of bytes transferred +// excluding headers and is often, but not always, present as the +// [Content-Length] header. For requests using transport encoding, this should be +// the compressed size. +// +// [Content-Length]: https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length +func HTTPResponseBodySize(val int) attribute.KeyValue { + return HTTPResponseBodySizeKey.Int(val) +} + +// HTTPResponseHeader returns an attribute KeyValue conforming to the +// "http.response.header" semantic conventions. It represents the HTTP response +// headers, `` being the normalized HTTP Header name (lowercase), the value +// being the header values. +func HTTPResponseHeader(key string, val ...string) attribute.KeyValue { + return attribute.StringSlice("http.response.header."+key, val) +} + +// HTTPResponseSize returns an attribute KeyValue conforming to the +// "http.response.size" semantic conventions. It represents the total size of the +// response in bytes. This should be the total number of bytes sent over the +// wire, including the status line (HTTP/1.1), framing (HTTP/2 and HTTP/3), +// headers, and response body and trailers if any. +func HTTPResponseSize(val int) attribute.KeyValue { + return HTTPResponseSizeKey.Int(val) +} + +// HTTPResponseStatusCode returns an attribute KeyValue conforming to the +// "http.response.status_code" semantic conventions. It represents the +// [HTTP response status code]. +// +// [HTTP response status code]: https://tools.ietf.org/html/rfc7231#section-6 +func HTTPResponseStatusCode(val int) attribute.KeyValue { + return HTTPResponseStatusCodeKey.Int(val) +} + +// HTTPRoute returns an attribute KeyValue conforming to the "http.route" +// semantic conventions. It represents the matched route template for the +// request. This MUST be low-cardinality and include all static path segments, +// with dynamic path segments represented with placeholders. +func HTTPRoute(val string) attribute.KeyValue { + return HTTPRouteKey.String(val) +} + +// Enum values for http.connection.state +var ( + // active state. + // Stability: development + HTTPConnectionStateActive = HTTPConnectionStateKey.String("active") + // idle state. + // Stability: development + HTTPConnectionStateIdle = HTTPConnectionStateKey.String("idle") +) + +// Enum values for http.request.method +var ( + // CONNECT method. + // Stability: stable + HTTPRequestMethodConnect = HTTPRequestMethodKey.String("CONNECT") + // DELETE method. + // Stability: stable + HTTPRequestMethodDelete = HTTPRequestMethodKey.String("DELETE") + // GET method. + // Stability: stable + HTTPRequestMethodGet = HTTPRequestMethodKey.String("GET") + // HEAD method. + // Stability: stable + HTTPRequestMethodHead = HTTPRequestMethodKey.String("HEAD") + // OPTIONS method. + // Stability: stable + HTTPRequestMethodOptions = HTTPRequestMethodKey.String("OPTIONS") + // PATCH method. + // Stability: stable + HTTPRequestMethodPatch = HTTPRequestMethodKey.String("PATCH") + // POST method. + // Stability: stable + HTTPRequestMethodPost = HTTPRequestMethodKey.String("POST") + // PUT method. + // Stability: stable + HTTPRequestMethodPut = HTTPRequestMethodKey.String("PUT") + // TRACE method. + // Stability: stable + HTTPRequestMethodTrace = HTTPRequestMethodKey.String("TRACE") + // QUERY method. + // Stability: development + HTTPRequestMethodQuery = HTTPRequestMethodKey.String("QUERY") + // Any HTTP method that the instrumentation has no prior knowledge of. + // Stability: stable + HTTPRequestMethodOther = HTTPRequestMethodKey.String("_OTHER") +) + +// Namespace: hw +const ( + // HwBatteryCapacityKey is the attribute Key conforming to the + // "hw.battery.capacity" semantic conventions. It represents the design capacity + // in Watts-hours or Amper-hours. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "9.3Ah", "50Wh" + HwBatteryCapacityKey = attribute.Key("hw.battery.capacity") + + // HwBatteryChemistryKey is the attribute Key conforming to the + // "hw.battery.chemistry" semantic conventions. It represents the battery + // [chemistry], e.g. Lithium-Ion, Nickel-Cadmium, etc. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Li-ion", "NiMH" + // + // [chemistry]: https://schemas.dmtf.org/wbem/cim-html/2.31.0/CIM_Battery.html + HwBatteryChemistryKey = attribute.Key("hw.battery.chemistry") + + // HwBatteryStateKey is the attribute Key conforming to the "hw.battery.state" + // semantic conventions. It represents the current state of the battery. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + HwBatteryStateKey = attribute.Key("hw.battery.state") + + // HwBiosVersionKey is the attribute Key conforming to the "hw.bios_version" + // semantic conventions. It represents the BIOS version of the hardware + // component. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "1.2.3" + HwBiosVersionKey = attribute.Key("hw.bios_version") + + // HwDriverVersionKey is the attribute Key conforming to the "hw.driver_version" + // semantic conventions. It represents the driver version for the hardware + // component. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "10.2.1-3" + HwDriverVersionKey = attribute.Key("hw.driver_version") + + // HwEnclosureTypeKey is the attribute Key conforming to the "hw.enclosure.type" + // semantic conventions. It represents the type of the enclosure (useful for + // modular systems). + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Computer", "Storage", "Switch" + HwEnclosureTypeKey = attribute.Key("hw.enclosure.type") + + // HwFirmwareVersionKey is the attribute Key conforming to the + // "hw.firmware_version" semantic conventions. It represents the firmware + // version of the hardware component. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "2.0.1" + HwFirmwareVersionKey = attribute.Key("hw.firmware_version") + + // HwGpuTaskKey is the attribute Key conforming to the "hw.gpu.task" semantic + // conventions. It represents the type of task the GPU is performing. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + HwGpuTaskKey = attribute.Key("hw.gpu.task") + + // HwIDKey is the attribute Key conforming to the "hw.id" semantic conventions. + // It represents an identifier for the hardware component, unique within the + // monitored host. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "win32battery_battery_testsysa33_1" + HwIDKey = attribute.Key("hw.id") + + // HwLimitTypeKey is the attribute Key conforming to the "hw.limit_type" + // semantic conventions. It represents the type of limit for hardware + // components. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + HwLimitTypeKey = attribute.Key("hw.limit_type") + + // HwLogicalDiskRaidLevelKey is the attribute Key conforming to the + // "hw.logical_disk.raid_level" semantic conventions. It represents the RAID + // Level of the logical disk. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "RAID0+1", "RAID5", "RAID10" + HwLogicalDiskRaidLevelKey = attribute.Key("hw.logical_disk.raid_level") + + // HwLogicalDiskStateKey is the attribute Key conforming to the + // "hw.logical_disk.state" semantic conventions. It represents the state of the + // logical disk space usage. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + HwLogicalDiskStateKey = attribute.Key("hw.logical_disk.state") + + // HwMemoryTypeKey is the attribute Key conforming to the "hw.memory.type" + // semantic conventions. It represents the type of the memory module. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "DDR4", "DDR5", "LPDDR5" + HwMemoryTypeKey = attribute.Key("hw.memory.type") + + // HwModelKey is the attribute Key conforming to the "hw.model" semantic + // conventions. It represents the descriptive model name of the hardware + // component. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "PERC H740P", "Intel(R) Core(TM) i7-10700K", "Dell XPS 15 Battery" + HwModelKey = attribute.Key("hw.model") + + // HwNameKey is the attribute Key conforming to the "hw.name" semantic + // conventions. It represents an easily-recognizable name for the hardware + // component. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "eth0" + HwNameKey = attribute.Key("hw.name") + + // HwNetworkLogicalAddressesKey is the attribute Key conforming to the + // "hw.network.logical_addresses" semantic conventions. It represents the + // logical addresses of the adapter (e.g. IP address, or WWPN). + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "172.16.8.21", "57.11.193.42" + HwNetworkLogicalAddressesKey = attribute.Key("hw.network.logical_addresses") + + // HwNetworkPhysicalAddressKey is the attribute Key conforming to the + // "hw.network.physical_address" semantic conventions. It represents the + // physical address of the adapter (e.g. MAC address, or WWNN). + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "00-90-F5-E9-7B-36" + HwNetworkPhysicalAddressKey = attribute.Key("hw.network.physical_address") + + // HwParentKey is the attribute Key conforming to the "hw.parent" semantic + // conventions. It represents the unique identifier of the parent component + // (typically the `hw.id` attribute of the enclosure, or disk controller). + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "dellStorage_perc_0" + HwParentKey = attribute.Key("hw.parent") + + // HwPhysicalDiskSmartAttributeKey is the attribute Key conforming to the + // "hw.physical_disk.smart_attribute" semantic conventions. It represents the + // [S.M.A.R.T.] (Self-Monitoring, Analysis, and Reporting Technology) attribute + // of the physical disk. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Spin Retry Count", "Seek Error Rate", "Raw Read Error Rate" + // + // [S.M.A.R.T.]: https://wikipedia.org/wiki/S.M.A.R.T. + HwPhysicalDiskSmartAttributeKey = attribute.Key("hw.physical_disk.smart_attribute") + + // HwPhysicalDiskStateKey is the attribute Key conforming to the + // "hw.physical_disk.state" semantic conventions. It represents the state of the + // physical disk endurance utilization. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + HwPhysicalDiskStateKey = attribute.Key("hw.physical_disk.state") + + // HwPhysicalDiskTypeKey is the attribute Key conforming to the + // "hw.physical_disk.type" semantic conventions. It represents the type of the + // physical disk. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "HDD", "SSD", "10K" + HwPhysicalDiskTypeKey = attribute.Key("hw.physical_disk.type") + + // HwSensorLocationKey is the attribute Key conforming to the + // "hw.sensor_location" semantic conventions. It represents the location of the + // sensor. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "cpu0", "ps1", "INLET", "CPU0_DIE", "AMBIENT", "MOTHERBOARD", "PS0 + // V3_3", "MAIN_12V", "CPU_VCORE" + HwSensorLocationKey = attribute.Key("hw.sensor_location") + + // HwSerialNumberKey is the attribute Key conforming to the "hw.serial_number" + // semantic conventions. It represents the serial number of the hardware + // component. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "CNFCP0123456789" + HwSerialNumberKey = attribute.Key("hw.serial_number") + + // HwStateKey is the attribute Key conforming to the "hw.state" semantic + // conventions. It represents the current state of the component. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + HwStateKey = attribute.Key("hw.state") + + // HwTapeDriveOperationTypeKey is the attribute Key conforming to the + // "hw.tape_drive.operation_type" semantic conventions. It represents the type + // of tape drive operation. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + HwTapeDriveOperationTypeKey = attribute.Key("hw.tape_drive.operation_type") + + // HwTypeKey is the attribute Key conforming to the "hw.type" semantic + // conventions. It represents the type of the component. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // Note: Describes the category of the hardware component for which `hw.state` + // is being reported. For example, `hw.type=temperature` along with + // `hw.state=degraded` would indicate that the temperature of the hardware + // component has been reported as `degraded`. + HwTypeKey = attribute.Key("hw.type") + + // HwVendorKey is the attribute Key conforming to the "hw.vendor" semantic + // conventions. It represents the vendor name of the hardware component. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Dell", "HP", "Intel", "AMD", "LSI", "Lenovo" + HwVendorKey = attribute.Key("hw.vendor") +) + +// HwBatteryCapacity returns an attribute KeyValue conforming to the +// "hw.battery.capacity" semantic conventions. It represents the design capacity +// in Watts-hours or Amper-hours. +func HwBatteryCapacity(val string) attribute.KeyValue { + return HwBatteryCapacityKey.String(val) +} + +// HwBatteryChemistry returns an attribute KeyValue conforming to the +// "hw.battery.chemistry" semantic conventions. It represents the battery +// [chemistry], e.g. Lithium-Ion, Nickel-Cadmium, etc. +// +// [chemistry]: https://schemas.dmtf.org/wbem/cim-html/2.31.0/CIM_Battery.html +func HwBatteryChemistry(val string) attribute.KeyValue { + return HwBatteryChemistryKey.String(val) +} + +// HwBiosVersion returns an attribute KeyValue conforming to the +// "hw.bios_version" semantic conventions. It represents the BIOS version of the +// hardware component. +func HwBiosVersion(val string) attribute.KeyValue { + return HwBiosVersionKey.String(val) +} + +// HwDriverVersion returns an attribute KeyValue conforming to the +// "hw.driver_version" semantic conventions. It represents the driver version for +// the hardware component. +func HwDriverVersion(val string) attribute.KeyValue { + return HwDriverVersionKey.String(val) +} + +// HwEnclosureType returns an attribute KeyValue conforming to the +// "hw.enclosure.type" semantic conventions. It represents the type of the +// enclosure (useful for modular systems). +func HwEnclosureType(val string) attribute.KeyValue { + return HwEnclosureTypeKey.String(val) +} + +// HwFirmwareVersion returns an attribute KeyValue conforming to the +// "hw.firmware_version" semantic conventions. It represents the firmware version +// of the hardware component. +func HwFirmwareVersion(val string) attribute.KeyValue { + return HwFirmwareVersionKey.String(val) +} + +// HwID returns an attribute KeyValue conforming to the "hw.id" semantic +// conventions. It represents an identifier for the hardware component, unique +// within the monitored host. +func HwID(val string) attribute.KeyValue { + return HwIDKey.String(val) +} + +// HwLogicalDiskRaidLevel returns an attribute KeyValue conforming to the +// "hw.logical_disk.raid_level" semantic conventions. It represents the RAID +// Level of the logical disk. +func HwLogicalDiskRaidLevel(val string) attribute.KeyValue { + return HwLogicalDiskRaidLevelKey.String(val) +} + +// HwMemoryType returns an attribute KeyValue conforming to the "hw.memory.type" +// semantic conventions. It represents the type of the memory module. +func HwMemoryType(val string) attribute.KeyValue { + return HwMemoryTypeKey.String(val) +} + +// HwModel returns an attribute KeyValue conforming to the "hw.model" semantic +// conventions. It represents the descriptive model name of the hardware +// component. +func HwModel(val string) attribute.KeyValue { + return HwModelKey.String(val) +} + +// HwName returns an attribute KeyValue conforming to the "hw.name" semantic +// conventions. It represents an easily-recognizable name for the hardware +// component. +func HwName(val string) attribute.KeyValue { + return HwNameKey.String(val) +} + +// HwNetworkLogicalAddresses returns an attribute KeyValue conforming to the +// "hw.network.logical_addresses" semantic conventions. It represents the logical +// addresses of the adapter (e.g. IP address, or WWPN). +func HwNetworkLogicalAddresses(val ...string) attribute.KeyValue { + return HwNetworkLogicalAddressesKey.StringSlice(val) +} + +// HwNetworkPhysicalAddress returns an attribute KeyValue conforming to the +// "hw.network.physical_address" semantic conventions. It represents the physical +// address of the adapter (e.g. MAC address, or WWNN). +func HwNetworkPhysicalAddress(val string) attribute.KeyValue { + return HwNetworkPhysicalAddressKey.String(val) +} + +// HwParent returns an attribute KeyValue conforming to the "hw.parent" semantic +// conventions. It represents the unique identifier of the parent component +// (typically the `hw.id` attribute of the enclosure, or disk controller). +func HwParent(val string) attribute.KeyValue { + return HwParentKey.String(val) +} + +// HwPhysicalDiskSmartAttribute returns an attribute KeyValue conforming to the +// "hw.physical_disk.smart_attribute" semantic conventions. It represents the +// [S.M.A.R.T.] (Self-Monitoring, Analysis, and Reporting Technology) attribute +// of the physical disk. +// +// [S.M.A.R.T.]: https://wikipedia.org/wiki/S.M.A.R.T. +func HwPhysicalDiskSmartAttribute(val string) attribute.KeyValue { + return HwPhysicalDiskSmartAttributeKey.String(val) +} + +// HwPhysicalDiskType returns an attribute KeyValue conforming to the +// "hw.physical_disk.type" semantic conventions. It represents the type of the +// physical disk. +func HwPhysicalDiskType(val string) attribute.KeyValue { + return HwPhysicalDiskTypeKey.String(val) +} + +// HwSensorLocation returns an attribute KeyValue conforming to the +// "hw.sensor_location" semantic conventions. It represents the location of the +// sensor. +func HwSensorLocation(val string) attribute.KeyValue { + return HwSensorLocationKey.String(val) +} + +// HwSerialNumber returns an attribute KeyValue conforming to the +// "hw.serial_number" semantic conventions. It represents the serial number of +// the hardware component. +func HwSerialNumber(val string) attribute.KeyValue { + return HwSerialNumberKey.String(val) +} + +// HwVendor returns an attribute KeyValue conforming to the "hw.vendor" semantic +// conventions. It represents the vendor name of the hardware component. +func HwVendor(val string) attribute.KeyValue { + return HwVendorKey.String(val) +} + +// Enum values for hw.battery.state +var ( + // Charging + // Stability: development + HwBatteryStateCharging = HwBatteryStateKey.String("charging") + // Discharging + // Stability: development + HwBatteryStateDischarging = HwBatteryStateKey.String("discharging") +) + +// Enum values for hw.gpu.task +var ( + // Decoder + // Stability: development + HwGpuTaskDecoder = HwGpuTaskKey.String("decoder") + // Encoder + // Stability: development + HwGpuTaskEncoder = HwGpuTaskKey.String("encoder") + // General + // Stability: development + HwGpuTaskGeneral = HwGpuTaskKey.String("general") +) + +// Enum values for hw.limit_type +var ( + // Critical + // Stability: development + HwLimitTypeCritical = HwLimitTypeKey.String("critical") + // Degraded + // Stability: development + HwLimitTypeDegraded = HwLimitTypeKey.String("degraded") + // High Critical + // Stability: development + HwLimitTypeHighCritical = HwLimitTypeKey.String("high.critical") + // High Degraded + // Stability: development + HwLimitTypeHighDegraded = HwLimitTypeKey.String("high.degraded") + // Low Critical + // Stability: development + HwLimitTypeLowCritical = HwLimitTypeKey.String("low.critical") + // Low Degraded + // Stability: development + HwLimitTypeLowDegraded = HwLimitTypeKey.String("low.degraded") + // Maximum + // Stability: development + HwLimitTypeMax = HwLimitTypeKey.String("max") + // Throttled + // Stability: development + HwLimitTypeThrottled = HwLimitTypeKey.String("throttled") + // Turbo + // Stability: development + HwLimitTypeTurbo = HwLimitTypeKey.String("turbo") +) + +// Enum values for hw.logical_disk.state +var ( + // Used + // Stability: development + HwLogicalDiskStateUsed = HwLogicalDiskStateKey.String("used") + // Free + // Stability: development + HwLogicalDiskStateFree = HwLogicalDiskStateKey.String("free") +) + +// Enum values for hw.physical_disk.state +var ( + // Remaining + // Stability: development + HwPhysicalDiskStateRemaining = HwPhysicalDiskStateKey.String("remaining") +) + +// Enum values for hw.state +var ( + // Degraded + // Stability: development + HwStateDegraded = HwStateKey.String("degraded") + // Failed + // Stability: development + HwStateFailed = HwStateKey.String("failed") + // Needs Cleaning + // Stability: development + HwStateNeedsCleaning = HwStateKey.String("needs_cleaning") + // OK + // Stability: development + HwStateOk = HwStateKey.String("ok") + // Predicted Failure + // Stability: development + HwStatePredictedFailure = HwStateKey.String("predicted_failure") +) + +// Enum values for hw.tape_drive.operation_type +var ( + // Mount + // Stability: development + HwTapeDriveOperationTypeMount = HwTapeDriveOperationTypeKey.String("mount") + // Unmount + // Stability: development + HwTapeDriveOperationTypeUnmount = HwTapeDriveOperationTypeKey.String("unmount") + // Clean + // Stability: development + HwTapeDriveOperationTypeClean = HwTapeDriveOperationTypeKey.String("clean") +) + +// Enum values for hw.type +var ( + // Battery + // Stability: development + HwTypeBattery = HwTypeKey.String("battery") + // CPU + // Stability: development + HwTypeCPU = HwTypeKey.String("cpu") + // Disk controller + // Stability: development + HwTypeDiskController = HwTypeKey.String("disk_controller") + // Enclosure + // Stability: development + HwTypeEnclosure = HwTypeKey.String("enclosure") + // Fan + // Stability: development + HwTypeFan = HwTypeKey.String("fan") + // GPU + // Stability: development + HwTypeGpu = HwTypeKey.String("gpu") + // Logical disk + // Stability: development + HwTypeLogicalDisk = HwTypeKey.String("logical_disk") + // Memory + // Stability: development + HwTypeMemory = HwTypeKey.String("memory") + // Network + // Stability: development + HwTypeNetwork = HwTypeKey.String("network") + // Physical disk + // Stability: development + HwTypePhysicalDisk = HwTypeKey.String("physical_disk") + // Power supply + // Stability: development + HwTypePowerSupply = HwTypeKey.String("power_supply") + // Tape drive + // Stability: development + HwTypeTapeDrive = HwTypeKey.String("tape_drive") + // Temperature + // Stability: development + HwTypeTemperature = HwTypeKey.String("temperature") + // Voltage + // Stability: development + HwTypeVoltage = HwTypeKey.String("voltage") +) + +// Namespace: ios +const ( + // IOSAppStateKey is the attribute Key conforming to the "ios.app.state" + // semantic conventions. It represents the this attribute represents the state + // of the application. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // Note: The iOS lifecycle states are defined in the + // [UIApplicationDelegate documentation], and from which the `OS terminology` + // column values are derived. + // + // [UIApplicationDelegate documentation]: https://developer.apple.com/documentation/uikit/uiapplicationdelegate + IOSAppStateKey = attribute.Key("ios.app.state") +) + +// Enum values for ios.app.state +var ( + // The app has become `active`. Associated with UIKit notification + // `applicationDidBecomeActive`. + // + // Stability: development + IOSAppStateActive = IOSAppStateKey.String("active") + // The app is now `inactive`. Associated with UIKit notification + // `applicationWillResignActive`. + // + // Stability: development + IOSAppStateInactive = IOSAppStateKey.String("inactive") + // The app is now in the background. This value is associated with UIKit + // notification `applicationDidEnterBackground`. + // + // Stability: development + IOSAppStateBackground = IOSAppStateKey.String("background") + // The app is now in the foreground. This value is associated with UIKit + // notification `applicationWillEnterForeground`. + // + // Stability: development + IOSAppStateForeground = IOSAppStateKey.String("foreground") + // The app is about to terminate. Associated with UIKit notification + // `applicationWillTerminate`. + // + // Stability: development + IOSAppStateTerminate = IOSAppStateKey.String("terminate") +) + +// Namespace: jsonrpc +const ( + // JSONRPCProtocolVersionKey is the attribute Key conforming to the + // "jsonrpc.protocol.version" semantic conventions. It represents the protocol + // version, as specified in the `jsonrpc` property of the request and its + // corresponding response. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "2.0", "1.0" + JSONRPCProtocolVersionKey = attribute.Key("jsonrpc.protocol.version") + + // JSONRPCRequestIDKey is the attribute Key conforming to the + // "jsonrpc.request.id" semantic conventions. It represents a string + // representation of the `id` property of the request and its corresponding + // response. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "10", "request-7" + // Note: Under the [JSON-RPC specification], the `id` property may be a string, + // number, null, or omitted entirely. When omitted, the request is treated as a + // notification. Using `null` is not equivalent to omitting the `id`, but it is + // discouraged. + // Instrumentations SHOULD NOT capture this attribute when the `id` is `null` or + // omitted. + // + // [JSON-RPC specification]: https://www.jsonrpc.org/specification + JSONRPCRequestIDKey = attribute.Key("jsonrpc.request.id") +) + +// JSONRPCProtocolVersion returns an attribute KeyValue conforming to the +// "jsonrpc.protocol.version" semantic conventions. It represents the protocol +// version, as specified in the `jsonrpc` property of the request and its +// corresponding response. +func JSONRPCProtocolVersion(val string) attribute.KeyValue { + return JSONRPCProtocolVersionKey.String(val) +} + +// JSONRPCRequestID returns an attribute KeyValue conforming to the +// "jsonrpc.request.id" semantic conventions. It represents a string +// representation of the `id` property of the request and its corresponding +// response. +func JSONRPCRequestID(val string) attribute.KeyValue { + return JSONRPCRequestIDKey.String(val) +} + +// Namespace: k8s +const ( + // K8SClusterNameKey is the attribute Key conforming to the "k8s.cluster.name" + // semantic conventions. It represents the name of the cluster. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Alpha + // + // Examples: "opentelemetry-cluster" + K8SClusterNameKey = attribute.Key("k8s.cluster.name") + + // K8SClusterUIDKey is the attribute Key conforming to the "k8s.cluster.uid" + // semantic conventions. It represents a pseudo-ID for the cluster, set to the + // UID of the `kube-system` namespace. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Alpha + // + // Examples: "218fc5a9-a5f1-4b54-aa05-46717d0ab26d" + // Note: K8s doesn't have support for obtaining a cluster ID. If this is ever + // added, we will recommend collecting the `k8s.cluster.uid` through the + // official APIs. In the meantime, we are able to use the `uid` of the + // `kube-system` namespace as a proxy for cluster ID. Read on for the + // rationale. + // + // Every object created in a K8s cluster is assigned a distinct UID. The + // `kube-system` namespace is used by Kubernetes itself and will exist + // for the lifetime of the cluster. Using the `uid` of the `kube-system` + // namespace is a reasonable proxy for the K8s ClusterID as it will only + // change if the cluster is rebuilt. Furthermore, Kubernetes UIDs are + // UUIDs as standardized by + // [ISO/IEC 9834-8 and ITU-T X.667]. + // Which states: + // + // > If generated according to one of the mechanisms defined in Rec. + // > ITU-T X.667 | ISO/IEC 9834-8, a UUID is either guaranteed to be + // > different from all other UUIDs generated before 3603 A.D., or is + // > extremely likely to be different (depending on the mechanism chosen). + // + // Therefore, UIDs between clusters should be extremely unlikely to + // conflict. + // + // [ISO/IEC 9834-8 and ITU-T X.667]: https://www.itu.int/ITU-T/studygroups/com17/oid.html + K8SClusterUIDKey = attribute.Key("k8s.cluster.uid") + + // K8SContainerNameKey is the attribute Key conforming to the + // "k8s.container.name" semantic conventions. It represents the name of the + // Container from Pod specification, must be unique within a Pod. Container + // runtime usually uses different globally unique name (`container.name`). + // + // Type: string + // RequirementLevel: Recommended + // Stability: Alpha + // + // Examples: "redis" + K8SContainerNameKey = attribute.Key("k8s.container.name") + + // K8SContainerRestartCountKey is the attribute Key conforming to the + // "k8s.container.restart_count" semantic conventions. It represents the number + // of times the container was restarted. This attribute can be used to identify + // a particular container (running or stopped) within a container spec. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Alpha + // + // Examples: + K8SContainerRestartCountKey = attribute.Key("k8s.container.restart_count") + + // K8SContainerStatusLastTerminatedReasonKey is the attribute Key conforming to + // the "k8s.container.status.last_terminated_reason" semantic conventions. It + // represents the last terminated reason of the Container. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Evicted", "Error" + K8SContainerStatusLastTerminatedReasonKey = attribute.Key("k8s.container.status.last_terminated_reason") + + // K8SContainerStatusReasonKey is the attribute Key conforming to the + // "k8s.container.status.reason" semantic conventions. It represents the reason + // for the container state. Corresponds to the `reason` field of the: + // [K8s ContainerStateWaiting] or [K8s ContainerStateTerminated]. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "ContainerCreating", "CrashLoopBackOff", + // "CreateContainerConfigError", "ErrImagePull", "ImagePullBackOff", + // "OOMKilled", "Completed", "Error", "ContainerCannotRun" + // + // [K8s ContainerStateWaiting]: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#containerstatewaiting-v1-core + // [K8s ContainerStateTerminated]: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#containerstateterminated-v1-core + K8SContainerStatusReasonKey = attribute.Key("k8s.container.status.reason") + + // K8SContainerStatusStateKey is the attribute Key conforming to the + // "k8s.container.status.state" semantic conventions. It represents the state of + // the container. [K8s ContainerState]. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "terminated", "running", "waiting" + // + // [K8s ContainerState]: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#containerstate-v1-core + K8SContainerStatusStateKey = attribute.Key("k8s.container.status.state") + + // K8SCronJobNameKey is the attribute Key conforming to the "k8s.cronjob.name" + // semantic conventions. It represents the name of the CronJob. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Alpha + // + // Examples: "opentelemetry" + K8SCronJobNameKey = attribute.Key("k8s.cronjob.name") + + // K8SCronJobUIDKey is the attribute Key conforming to the "k8s.cronjob.uid" + // semantic conventions. It represents the UID of the CronJob. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Alpha + // + // Examples: "275ecb36-5aa8-4c2a-9c47-d8bb681b9aff" + K8SCronJobUIDKey = attribute.Key("k8s.cronjob.uid") + + // K8SDaemonSetNameKey is the attribute Key conforming to the + // "k8s.daemonset.name" semantic conventions. It represents the name of the + // DaemonSet. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Alpha + // + // Examples: "opentelemetry" + K8SDaemonSetNameKey = attribute.Key("k8s.daemonset.name") + + // K8SDaemonSetUIDKey is the attribute Key conforming to the "k8s.daemonset.uid" + // semantic conventions. It represents the UID of the DaemonSet. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Alpha + // + // Examples: "275ecb36-5aa8-4c2a-9c47-d8bb681b9aff" + K8SDaemonSetUIDKey = attribute.Key("k8s.daemonset.uid") + + // K8SDeploymentNameKey is the attribute Key conforming to the + // "k8s.deployment.name" semantic conventions. It represents the name of the + // Deployment. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Alpha + // + // Examples: "opentelemetry" + K8SDeploymentNameKey = attribute.Key("k8s.deployment.name") + + // K8SDeploymentUIDKey is the attribute Key conforming to the + // "k8s.deployment.uid" semantic conventions. It represents the UID of the + // Deployment. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Alpha + // + // Examples: "275ecb36-5aa8-4c2a-9c47-d8bb681b9aff" + K8SDeploymentUIDKey = attribute.Key("k8s.deployment.uid") + + // K8SHPAMetricTypeKey is the attribute Key conforming to the + // "k8s.hpa.metric.type" semantic conventions. It represents the type of metric + // source for the horizontal pod autoscaler. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Resource", "ContainerResource" + // Note: This attribute reflects the `type` field of spec.metrics[] in the HPA. + K8SHPAMetricTypeKey = attribute.Key("k8s.hpa.metric.type") + + // K8SHPANameKey is the attribute Key conforming to the "k8s.hpa.name" semantic + // conventions. It represents the name of the horizontal pod autoscaler. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "opentelemetry" + K8SHPANameKey = attribute.Key("k8s.hpa.name") + + // K8SHPAScaletargetrefAPIVersionKey is the attribute Key conforming to the + // "k8s.hpa.scaletargetref.api_version" semantic conventions. It represents the + // API version of the target resource to scale for the HorizontalPodAutoscaler. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "apps/v1", "autoscaling/v2" + // Note: This maps to the `apiVersion` field in the `scaleTargetRef` of the HPA + // spec. + K8SHPAScaletargetrefAPIVersionKey = attribute.Key("k8s.hpa.scaletargetref.api_version") + + // K8SHPAScaletargetrefKindKey is the attribute Key conforming to the + // "k8s.hpa.scaletargetref.kind" semantic conventions. It represents the kind of + // the target resource to scale for the HorizontalPodAutoscaler. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Deployment", "StatefulSet" + // Note: This maps to the `kind` field in the `scaleTargetRef` of the HPA spec. + K8SHPAScaletargetrefKindKey = attribute.Key("k8s.hpa.scaletargetref.kind") + + // K8SHPAScaletargetrefNameKey is the attribute Key conforming to the + // "k8s.hpa.scaletargetref.name" semantic conventions. It represents the name of + // the target resource to scale for the HorizontalPodAutoscaler. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "my-deployment", "my-statefulset" + // Note: This maps to the `name` field in the `scaleTargetRef` of the HPA spec. + K8SHPAScaletargetrefNameKey = attribute.Key("k8s.hpa.scaletargetref.name") + + // K8SHPAUIDKey is the attribute Key conforming to the "k8s.hpa.uid" semantic + // conventions. It represents the UID of the horizontal pod autoscaler. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "275ecb36-5aa8-4c2a-9c47-d8bb681b9aff" + K8SHPAUIDKey = attribute.Key("k8s.hpa.uid") + + // K8SHugepageSizeKey is the attribute Key conforming to the "k8s.hugepage.size" + // semantic conventions. It represents the size (identifier) of the K8s huge + // page. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "2Mi" + K8SHugepageSizeKey = attribute.Key("k8s.hugepage.size") + + // K8SJobNameKey is the attribute Key conforming to the "k8s.job.name" semantic + // conventions. It represents the name of the Job. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Alpha + // + // Examples: "opentelemetry" + K8SJobNameKey = attribute.Key("k8s.job.name") + + // K8SJobUIDKey is the attribute Key conforming to the "k8s.job.uid" semantic + // conventions. It represents the UID of the Job. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Alpha + // + // Examples: "275ecb36-5aa8-4c2a-9c47-d8bb681b9aff" + K8SJobUIDKey = attribute.Key("k8s.job.uid") + + // K8SNamespaceNameKey is the attribute Key conforming to the + // "k8s.namespace.name" semantic conventions. It represents the name of the + // namespace that the pod is running in. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Alpha + // + // Examples: "default" + K8SNamespaceNameKey = attribute.Key("k8s.namespace.name") + + // K8SNamespacePhaseKey is the attribute Key conforming to the + // "k8s.namespace.phase" semantic conventions. It represents the phase of the + // K8s namespace. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "active", "terminating" + // Note: This attribute aligns with the `phase` field of the + // [K8s NamespaceStatus] + // + // [K8s NamespaceStatus]: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#namespacestatus-v1-core + K8SNamespacePhaseKey = attribute.Key("k8s.namespace.phase") + + // K8SNodeConditionStatusKey is the attribute Key conforming to the + // "k8s.node.condition.status" semantic conventions. It represents the status of + // the condition, one of True, False, Unknown. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "true", "false", "unknown" + // Note: This attribute aligns with the `status` field of the + // [NodeCondition] + // + // [NodeCondition]: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#nodecondition-v1-core + K8SNodeConditionStatusKey = attribute.Key("k8s.node.condition.status") + + // K8SNodeConditionTypeKey is the attribute Key conforming to the + // "k8s.node.condition.type" semantic conventions. It represents the condition + // type of a K8s Node. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Ready", "DiskPressure" + // Note: K8s Node conditions as described + // by [K8s documentation]. + // + // This attribute aligns with the `type` field of the + // [NodeCondition] + // + // The set of possible values is not limited to those listed here. Managed + // Kubernetes environments, + // or custom controllers MAY introduce additional node condition types. + // When this occurs, the exact value as reported by the Kubernetes API SHOULD be + // used. + // + // [K8s documentation]: https://v1-32.docs.kubernetes.io/docs/reference/node/node-status/#condition + // [NodeCondition]: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#nodecondition-v1-core + K8SNodeConditionTypeKey = attribute.Key("k8s.node.condition.type") + + // K8SNodeNameKey is the attribute Key conforming to the "k8s.node.name" + // semantic conventions. It represents the name of the Node. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Alpha + // + // Examples: "node-1" + K8SNodeNameKey = attribute.Key("k8s.node.name") + + // K8SNodeUIDKey is the attribute Key conforming to the "k8s.node.uid" semantic + // conventions. It represents the UID of the Node. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Alpha + // + // Examples: "1eb3a0c6-0477-4080-a9cb-0cb7db65c6a2" + K8SNodeUIDKey = attribute.Key("k8s.node.uid") + + // K8SPodHostnameKey is the attribute Key conforming to the "k8s.pod.hostname" + // semantic conventions. It represents the specifies the hostname of the Pod. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Alpha + // + // Examples: "collector-gateway" + // Note: The K8s Pod spec has an optional hostname field, which can be used to + // specify a hostname. + // Refer to [K8s docs] + // for more information about this field. + // + // This attribute aligns with the `hostname` field of the + // [K8s PodSpec]. + // + // [K8s docs]: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-hostname-and-subdomain-field + // [K8s PodSpec]: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#podspec-v1-core + K8SPodHostnameKey = attribute.Key("k8s.pod.hostname") + + // K8SPodIPKey is the attribute Key conforming to the "k8s.pod.ip" semantic + // conventions. It represents the IP address allocated to the Pod. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Alpha + // + // Examples: "172.18.0.2" + // Note: This attribute aligns with the `podIP` field of the + // [K8s PodStatus]. + // + // [K8s PodStatus]: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#podstatus-v1-core + K8SPodIPKey = attribute.Key("k8s.pod.ip") + + // K8SPodNameKey is the attribute Key conforming to the "k8s.pod.name" semantic + // conventions. It represents the name of the Pod. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Alpha + // + // Examples: "opentelemetry-pod-autoconf" + K8SPodNameKey = attribute.Key("k8s.pod.name") + + // K8SPodStartTimeKey is the attribute Key conforming to the + // "k8s.pod.start_time" semantic conventions. It represents the start timestamp + // of the Pod. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Alpha + // + // Examples: "2025-12-04T08:41:03Z" + // Note: Date and time at which the object was acknowledged by the Kubelet. + // This is before the Kubelet pulled the container image(s) for the pod. + // + // This attribute aligns with the `startTime` field of the + // [K8s PodStatus], + // in ISO 8601 (RFC 3339 compatible) format. + // + // [K8s PodStatus]: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#podstatus-v1-core + K8SPodStartTimeKey = attribute.Key("k8s.pod.start_time") + + // K8SPodStatusPhaseKey is the attribute Key conforming to the + // "k8s.pod.status.phase" semantic conventions. It represents the phase for the + // pod. Corresponds to the `phase` field of the: [K8s PodStatus]. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Pending", "Running" + // + // [K8s PodStatus]: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#podstatus-v1-core + K8SPodStatusPhaseKey = attribute.Key("k8s.pod.status.phase") + + // K8SPodStatusReasonKey is the attribute Key conforming to the + // "k8s.pod.status.reason" semantic conventions. It represents the reason for + // the pod state. Corresponds to the `reason` field of the: [K8s PodStatus]. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Evicted", "NodeAffinity" + // + // [K8s PodStatus]: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#podstatus-v1-core + K8SPodStatusReasonKey = attribute.Key("k8s.pod.status.reason") + + // K8SPodUIDKey is the attribute Key conforming to the "k8s.pod.uid" semantic + // conventions. It represents the UID of the Pod. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Alpha + // + // Examples: "275ecb36-5aa8-4c2a-9c47-d8bb681b9aff" + K8SPodUIDKey = attribute.Key("k8s.pod.uid") + + // K8SReplicaSetNameKey is the attribute Key conforming to the + // "k8s.replicaset.name" semantic conventions. It represents the name of the + // ReplicaSet. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Alpha + // + // Examples: "opentelemetry" + K8SReplicaSetNameKey = attribute.Key("k8s.replicaset.name") + + // K8SReplicaSetUIDKey is the attribute Key conforming to the + // "k8s.replicaset.uid" semantic conventions. It represents the UID of the + // ReplicaSet. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Alpha + // + // Examples: "275ecb36-5aa8-4c2a-9c47-d8bb681b9aff" + K8SReplicaSetUIDKey = attribute.Key("k8s.replicaset.uid") + + // K8SReplicationControllerNameKey is the attribute Key conforming to the + // "k8s.replicationcontroller.name" semantic conventions. It represents the name + // of the replication controller. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "opentelemetry" + K8SReplicationControllerNameKey = attribute.Key("k8s.replicationcontroller.name") + + // K8SReplicationControllerUIDKey is the attribute Key conforming to the + // "k8s.replicationcontroller.uid" semantic conventions. It represents the UID + // of the replication controller. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "275ecb36-5aa8-4c2a-9c47-d8bb681b9aff" + K8SReplicationControllerUIDKey = attribute.Key("k8s.replicationcontroller.uid") + + // K8SResourceQuotaNameKey is the attribute Key conforming to the + // "k8s.resourcequota.name" semantic conventions. It represents the name of the + // resource quota. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "opentelemetry" + K8SResourceQuotaNameKey = attribute.Key("k8s.resourcequota.name") + + // K8SResourceQuotaResourceNameKey is the attribute Key conforming to the + // "k8s.resourcequota.resource_name" semantic conventions. It represents the + // name of the K8s resource a resource quota defines. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "count/replicationcontrollers" + // Note: The value for this attribute can be either the full + // `count/[.]` string (e.g., count/deployments.apps, + // count/pods), or, for certain core Kubernetes resources, just the resource + // name (e.g., pods, services, configmaps). Both forms are supported by + // Kubernetes for object count quotas. See + // [Kubernetes Resource Quotas documentation] for more details. + // + // [Kubernetes Resource Quotas documentation]: https://kubernetes.io/docs/concepts/policy/resource-quotas/#quota-on-object-count + K8SResourceQuotaResourceNameKey = attribute.Key("k8s.resourcequota.resource_name") + + // K8SResourceQuotaUIDKey is the attribute Key conforming to the + // "k8s.resourcequota.uid" semantic conventions. It represents the UID of the + // resource quota. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "275ecb36-5aa8-4c2a-9c47-d8bb681b9aff" + K8SResourceQuotaUIDKey = attribute.Key("k8s.resourcequota.uid") + + // K8SStatefulSetNameKey is the attribute Key conforming to the + // "k8s.statefulset.name" semantic conventions. It represents the name of the + // StatefulSet. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Alpha + // + // Examples: "opentelemetry" + K8SStatefulSetNameKey = attribute.Key("k8s.statefulset.name") + + // K8SStatefulSetUIDKey is the attribute Key conforming to the + // "k8s.statefulset.uid" semantic conventions. It represents the UID of the + // StatefulSet. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Alpha + // + // Examples: "275ecb36-5aa8-4c2a-9c47-d8bb681b9aff" + K8SStatefulSetUIDKey = attribute.Key("k8s.statefulset.uid") + + // K8SStorageclassNameKey is the attribute Key conforming to the + // "k8s.storageclass.name" semantic conventions. It represents the name of K8s + // [StorageClass] object. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "gold.storageclass.storage.k8s.io" + // + // [StorageClass]: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#storageclass-v1-storage-k8s-io + K8SStorageclassNameKey = attribute.Key("k8s.storageclass.name") + + // K8SVolumeNameKey is the attribute Key conforming to the "k8s.volume.name" + // semantic conventions. It represents the name of the K8s volume. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "volume0" + K8SVolumeNameKey = attribute.Key("k8s.volume.name") + + // K8SVolumeTypeKey is the attribute Key conforming to the "k8s.volume.type" + // semantic conventions. It represents the type of the K8s volume. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "emptyDir", "persistentVolumeClaim" + K8SVolumeTypeKey = attribute.Key("k8s.volume.type") +) + +// K8SClusterName returns an attribute KeyValue conforming to the +// "k8s.cluster.name" semantic conventions. It represents the name of the +// cluster. +func K8SClusterName(val string) attribute.KeyValue { + return K8SClusterNameKey.String(val) +} + +// K8SClusterUID returns an attribute KeyValue conforming to the +// "k8s.cluster.uid" semantic conventions. It represents a pseudo-ID for the +// cluster, set to the UID of the `kube-system` namespace. +func K8SClusterUID(val string) attribute.KeyValue { + return K8SClusterUIDKey.String(val) +} + +// K8SContainerName returns an attribute KeyValue conforming to the +// "k8s.container.name" semantic conventions. It represents the name of the +// Container from Pod specification, must be unique within a Pod. Container +// runtime usually uses different globally unique name (`container.name`). +func K8SContainerName(val string) attribute.KeyValue { + return K8SContainerNameKey.String(val) +} + +// K8SContainerRestartCount returns an attribute KeyValue conforming to the +// "k8s.container.restart_count" semantic conventions. It represents the number +// of times the container was restarted. This attribute can be used to identify a +// particular container (running or stopped) within a container spec. +func K8SContainerRestartCount(val int) attribute.KeyValue { + return K8SContainerRestartCountKey.Int(val) +} + +// K8SContainerStatusLastTerminatedReason returns an attribute KeyValue +// conforming to the "k8s.container.status.last_terminated_reason" semantic +// conventions. It represents the last terminated reason of the Container. +func K8SContainerStatusLastTerminatedReason(val string) attribute.KeyValue { + return K8SContainerStatusLastTerminatedReasonKey.String(val) +} + +// K8SCronJobAnnotation returns an attribute KeyValue conforming to the +// "k8s.cronjob.annotation" semantic conventions. It represents the cronjob +// annotation placed on the CronJob, the `` being the annotation name, the +// value being the annotation value. +func K8SCronJobAnnotation(key string, val string) attribute.KeyValue { + return attribute.String("k8s.cronjob.annotation."+key, val) +} + +// K8SCronJobLabel returns an attribute KeyValue conforming to the +// "k8s.cronjob.label" semantic conventions. It represents the label placed on +// the CronJob, the `` being the label name, the value being the label +// value. +func K8SCronJobLabel(key string, val string) attribute.KeyValue { + return attribute.String("k8s.cronjob.label."+key, val) +} + +// K8SCronJobName returns an attribute KeyValue conforming to the +// "k8s.cronjob.name" semantic conventions. It represents the name of the +// CronJob. +func K8SCronJobName(val string) attribute.KeyValue { + return K8SCronJobNameKey.String(val) +} + +// K8SCronJobUID returns an attribute KeyValue conforming to the +// "k8s.cronjob.uid" semantic conventions. It represents the UID of the CronJob. +func K8SCronJobUID(val string) attribute.KeyValue { + return K8SCronJobUIDKey.String(val) +} + +// K8SDaemonSetAnnotation returns an attribute KeyValue conforming to the +// "k8s.daemonset.annotation" semantic conventions. It represents the annotation +// placed on the DaemonSet, the `` being the annotation name, the value +// being the annotation value, even if the value is empty. +func K8SDaemonSetAnnotation(key string, val string) attribute.KeyValue { + return attribute.String("k8s.daemonset.annotation."+key, val) +} + +// K8SDaemonSetLabel returns an attribute KeyValue conforming to the +// "k8s.daemonset.label" semantic conventions. It represents the label placed on +// the DaemonSet, the `` being the label name, the value being the label +// value, even if the value is empty. +func K8SDaemonSetLabel(key string, val string) attribute.KeyValue { + return attribute.String("k8s.daemonset.label."+key, val) +} + +// K8SDaemonSetName returns an attribute KeyValue conforming to the +// "k8s.daemonset.name" semantic conventions. It represents the name of the +// DaemonSet. +func K8SDaemonSetName(val string) attribute.KeyValue { + return K8SDaemonSetNameKey.String(val) +} + +// K8SDaemonSetUID returns an attribute KeyValue conforming to the +// "k8s.daemonset.uid" semantic conventions. It represents the UID of the +// DaemonSet. +func K8SDaemonSetUID(val string) attribute.KeyValue { + return K8SDaemonSetUIDKey.String(val) +} + +// K8SDeploymentAnnotation returns an attribute KeyValue conforming to the +// "k8s.deployment.annotation" semantic conventions. It represents the annotation +// placed on the Deployment, the `` being the annotation name, the value +// being the annotation value, even if the value is empty. +func K8SDeploymentAnnotation(key string, val string) attribute.KeyValue { + return attribute.String("k8s.deployment.annotation."+key, val) +} + +// K8SDeploymentLabel returns an attribute KeyValue conforming to the +// "k8s.deployment.label" semantic conventions. It represents the label placed on +// the Deployment, the `` being the label name, the value being the label +// value, even if the value is empty. +func K8SDeploymentLabel(key string, val string) attribute.KeyValue { + return attribute.String("k8s.deployment.label."+key, val) +} + +// K8SDeploymentName returns an attribute KeyValue conforming to the +// "k8s.deployment.name" semantic conventions. It represents the name of the +// Deployment. +func K8SDeploymentName(val string) attribute.KeyValue { + return K8SDeploymentNameKey.String(val) +} + +// K8SDeploymentUID returns an attribute KeyValue conforming to the +// "k8s.deployment.uid" semantic conventions. It represents the UID of the +// Deployment. +func K8SDeploymentUID(val string) attribute.KeyValue { + return K8SDeploymentUIDKey.String(val) +} + +// K8SHPAMetricType returns an attribute KeyValue conforming to the +// "k8s.hpa.metric.type" semantic conventions. It represents the type of metric +// source for the horizontal pod autoscaler. +func K8SHPAMetricType(val string) attribute.KeyValue { + return K8SHPAMetricTypeKey.String(val) +} + +// K8SHPAName returns an attribute KeyValue conforming to the "k8s.hpa.name" +// semantic conventions. It represents the name of the horizontal pod autoscaler. +func K8SHPAName(val string) attribute.KeyValue { + return K8SHPANameKey.String(val) +} + +// K8SHPAScaletargetrefAPIVersion returns an attribute KeyValue conforming to the +// "k8s.hpa.scaletargetref.api_version" semantic conventions. It represents the +// API version of the target resource to scale for the HorizontalPodAutoscaler. +func K8SHPAScaletargetrefAPIVersion(val string) attribute.KeyValue { + return K8SHPAScaletargetrefAPIVersionKey.String(val) +} + +// K8SHPAScaletargetrefKind returns an attribute KeyValue conforming to the +// "k8s.hpa.scaletargetref.kind" semantic conventions. It represents the kind of +// the target resource to scale for the HorizontalPodAutoscaler. +func K8SHPAScaletargetrefKind(val string) attribute.KeyValue { + return K8SHPAScaletargetrefKindKey.String(val) +} + +// K8SHPAScaletargetrefName returns an attribute KeyValue conforming to the +// "k8s.hpa.scaletargetref.name" semantic conventions. It represents the name of +// the target resource to scale for the HorizontalPodAutoscaler. +func K8SHPAScaletargetrefName(val string) attribute.KeyValue { + return K8SHPAScaletargetrefNameKey.String(val) +} + +// K8SHPAUID returns an attribute KeyValue conforming to the "k8s.hpa.uid" +// semantic conventions. It represents the UID of the horizontal pod autoscaler. +func K8SHPAUID(val string) attribute.KeyValue { + return K8SHPAUIDKey.String(val) +} + +// K8SHugepageSize returns an attribute KeyValue conforming to the +// "k8s.hugepage.size" semantic conventions. It represents the size (identifier) +// of the K8s huge page. +func K8SHugepageSize(val string) attribute.KeyValue { + return K8SHugepageSizeKey.String(val) +} + +// K8SJobAnnotation returns an attribute KeyValue conforming to the +// "k8s.job.annotation" semantic conventions. It represents the annotation placed +// on the Job, the `` being the annotation name, the value being the +// annotation value, even if the value is empty. +func K8SJobAnnotation(key string, val string) attribute.KeyValue { + return attribute.String("k8s.job.annotation."+key, val) +} + +// K8SJobLabel returns an attribute KeyValue conforming to the "k8s.job.label" +// semantic conventions. It represents the label placed on the Job, the `` +// being the label name, the value being the label value, even if the value is +// empty. +func K8SJobLabel(key string, val string) attribute.KeyValue { + return attribute.String("k8s.job.label."+key, val) +} + +// K8SJobName returns an attribute KeyValue conforming to the "k8s.job.name" +// semantic conventions. It represents the name of the Job. +func K8SJobName(val string) attribute.KeyValue { + return K8SJobNameKey.String(val) +} + +// K8SJobUID returns an attribute KeyValue conforming to the "k8s.job.uid" +// semantic conventions. It represents the UID of the Job. +func K8SJobUID(val string) attribute.KeyValue { + return K8SJobUIDKey.String(val) +} + +// K8SNamespaceAnnotation returns an attribute KeyValue conforming to the +// "k8s.namespace.annotation" semantic conventions. It represents the annotation +// placed on the Namespace, the `` being the annotation name, the value +// being the annotation value, even if the value is empty. +func K8SNamespaceAnnotation(key string, val string) attribute.KeyValue { + return attribute.String("k8s.namespace.annotation."+key, val) +} + +// K8SNamespaceLabel returns an attribute KeyValue conforming to the +// "k8s.namespace.label" semantic conventions. It represents the label placed on +// the Namespace, the `` being the label name, the value being the label +// value, even if the value is empty. +func K8SNamespaceLabel(key string, val string) attribute.KeyValue { + return attribute.String("k8s.namespace.label."+key, val) +} + +// K8SNamespaceName returns an attribute KeyValue conforming to the +// "k8s.namespace.name" semantic conventions. It represents the name of the +// namespace that the pod is running in. +func K8SNamespaceName(val string) attribute.KeyValue { + return K8SNamespaceNameKey.String(val) +} + +// K8SNodeAnnotation returns an attribute KeyValue conforming to the +// "k8s.node.annotation" semantic conventions. It represents the annotation +// placed on the Node, the `` being the annotation name, the value being the +// annotation value, even if the value is empty. +func K8SNodeAnnotation(key string, val string) attribute.KeyValue { + return attribute.String("k8s.node.annotation."+key, val) +} + +// K8SNodeLabel returns an attribute KeyValue conforming to the "k8s.node.label" +// semantic conventions. It represents the label placed on the Node, the `` +// being the label name, the value being the label value, even if the value is +// empty. +func K8SNodeLabel(key string, val string) attribute.KeyValue { + return attribute.String("k8s.node.label."+key, val) +} + +// K8SNodeName returns an attribute KeyValue conforming to the "k8s.node.name" +// semantic conventions. It represents the name of the Node. +func K8SNodeName(val string) attribute.KeyValue { + return K8SNodeNameKey.String(val) +} + +// K8SNodeUID returns an attribute KeyValue conforming to the "k8s.node.uid" +// semantic conventions. It represents the UID of the Node. +func K8SNodeUID(val string) attribute.KeyValue { + return K8SNodeUIDKey.String(val) +} + +// K8SPodAnnotation returns an attribute KeyValue conforming to the +// "k8s.pod.annotation" semantic conventions. It represents the annotation placed +// on the Pod, the `` being the annotation name, the value being the +// annotation value. +func K8SPodAnnotation(key string, val string) attribute.KeyValue { + return attribute.String("k8s.pod.annotation."+key, val) +} + +// K8SPodHostname returns an attribute KeyValue conforming to the +// "k8s.pod.hostname" semantic conventions. It represents the specifies the +// hostname of the Pod. +func K8SPodHostname(val string) attribute.KeyValue { + return K8SPodHostnameKey.String(val) +} + +// K8SPodIP returns an attribute KeyValue conforming to the "k8s.pod.ip" semantic +// conventions. It represents the IP address allocated to the Pod. +func K8SPodIP(val string) attribute.KeyValue { + return K8SPodIPKey.String(val) +} + +// K8SPodLabel returns an attribute KeyValue conforming to the "k8s.pod.label" +// semantic conventions. It represents the label placed on the Pod, the `` +// being the label name, the value being the label value. +func K8SPodLabel(key string, val string) attribute.KeyValue { + return attribute.String("k8s.pod.label."+key, val) +} + +// K8SPodName returns an attribute KeyValue conforming to the "k8s.pod.name" +// semantic conventions. It represents the name of the Pod. +func K8SPodName(val string) attribute.KeyValue { + return K8SPodNameKey.String(val) +} + +// K8SPodStartTime returns an attribute KeyValue conforming to the +// "k8s.pod.start_time" semantic conventions. It represents the start timestamp +// of the Pod. +func K8SPodStartTime(val string) attribute.KeyValue { + return K8SPodStartTimeKey.String(val) +} + +// K8SPodUID returns an attribute KeyValue conforming to the "k8s.pod.uid" +// semantic conventions. It represents the UID of the Pod. +func K8SPodUID(val string) attribute.KeyValue { + return K8SPodUIDKey.String(val) +} + +// K8SReplicaSetAnnotation returns an attribute KeyValue conforming to the +// "k8s.replicaset.annotation" semantic conventions. It represents the annotation +// placed on the ReplicaSet, the `` being the annotation name, the value +// being the annotation value, even if the value is empty. +func K8SReplicaSetAnnotation(key string, val string) attribute.KeyValue { + return attribute.String("k8s.replicaset.annotation."+key, val) +} + +// K8SReplicaSetLabel returns an attribute KeyValue conforming to the +// "k8s.replicaset.label" semantic conventions. It represents the label placed on +// the ReplicaSet, the `` being the label name, the value being the label +// value, even if the value is empty. +func K8SReplicaSetLabel(key string, val string) attribute.KeyValue { + return attribute.String("k8s.replicaset.label."+key, val) +} + +// K8SReplicaSetName returns an attribute KeyValue conforming to the +// "k8s.replicaset.name" semantic conventions. It represents the name of the +// ReplicaSet. +func K8SReplicaSetName(val string) attribute.KeyValue { + return K8SReplicaSetNameKey.String(val) +} + +// K8SReplicaSetUID returns an attribute KeyValue conforming to the +// "k8s.replicaset.uid" semantic conventions. It represents the UID of the +// ReplicaSet. +func K8SReplicaSetUID(val string) attribute.KeyValue { + return K8SReplicaSetUIDKey.String(val) +} + +// K8SReplicationControllerName returns an attribute KeyValue conforming to the +// "k8s.replicationcontroller.name" semantic conventions. It represents the name +// of the replication controller. +func K8SReplicationControllerName(val string) attribute.KeyValue { + return K8SReplicationControllerNameKey.String(val) +} + +// K8SReplicationControllerUID returns an attribute KeyValue conforming to the +// "k8s.replicationcontroller.uid" semantic conventions. It represents the UID of +// the replication controller. +func K8SReplicationControllerUID(val string) attribute.KeyValue { + return K8SReplicationControllerUIDKey.String(val) +} + +// K8SResourceQuotaName returns an attribute KeyValue conforming to the +// "k8s.resourcequota.name" semantic conventions. It represents the name of the +// resource quota. +func K8SResourceQuotaName(val string) attribute.KeyValue { + return K8SResourceQuotaNameKey.String(val) +} + +// K8SResourceQuotaResourceName returns an attribute KeyValue conforming to the +// "k8s.resourcequota.resource_name" semantic conventions. It represents the name +// of the K8s resource a resource quota defines. +func K8SResourceQuotaResourceName(val string) attribute.KeyValue { + return K8SResourceQuotaResourceNameKey.String(val) +} + +// K8SResourceQuotaUID returns an attribute KeyValue conforming to the +// "k8s.resourcequota.uid" semantic conventions. It represents the UID of the +// resource quota. +func K8SResourceQuotaUID(val string) attribute.KeyValue { + return K8SResourceQuotaUIDKey.String(val) +} + +// K8SStatefulSetAnnotation returns an attribute KeyValue conforming to the +// "k8s.statefulset.annotation" semantic conventions. It represents the +// annotation placed on the StatefulSet, the `` being the annotation name, +// the value being the annotation value, even if the value is empty. +func K8SStatefulSetAnnotation(key string, val string) attribute.KeyValue { + return attribute.String("k8s.statefulset.annotation."+key, val) +} + +// K8SStatefulSetLabel returns an attribute KeyValue conforming to the +// "k8s.statefulset.label" semantic conventions. It represents the label placed +// on the StatefulSet, the `` being the label name, the value being the +// label value, even if the value is empty. +func K8SStatefulSetLabel(key string, val string) attribute.KeyValue { + return attribute.String("k8s.statefulset.label."+key, val) +} + +// K8SStatefulSetName returns an attribute KeyValue conforming to the +// "k8s.statefulset.name" semantic conventions. It represents the name of the +// StatefulSet. +func K8SStatefulSetName(val string) attribute.KeyValue { + return K8SStatefulSetNameKey.String(val) +} + +// K8SStatefulSetUID returns an attribute KeyValue conforming to the +// "k8s.statefulset.uid" semantic conventions. It represents the UID of the +// StatefulSet. +func K8SStatefulSetUID(val string) attribute.KeyValue { + return K8SStatefulSetUIDKey.String(val) +} + +// K8SStorageclassName returns an attribute KeyValue conforming to the +// "k8s.storageclass.name" semantic conventions. It represents the name of K8s +// [StorageClass] object. +// +// [StorageClass]: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#storageclass-v1-storage-k8s-io +func K8SStorageclassName(val string) attribute.KeyValue { + return K8SStorageclassNameKey.String(val) +} + +// K8SVolumeName returns an attribute KeyValue conforming to the +// "k8s.volume.name" semantic conventions. It represents the name of the K8s +// volume. +func K8SVolumeName(val string) attribute.KeyValue { + return K8SVolumeNameKey.String(val) +} + +// Enum values for k8s.container.status.reason +var ( + // The container is being created. + // Stability: development + K8SContainerStatusReasonContainerCreating = K8SContainerStatusReasonKey.String("ContainerCreating") + // The container is in a crash loop back off state. + // Stability: development + K8SContainerStatusReasonCrashLoopBackOff = K8SContainerStatusReasonKey.String("CrashLoopBackOff") + // There was an error creating the container configuration. + // Stability: development + K8SContainerStatusReasonCreateContainerConfigError = K8SContainerStatusReasonKey.String("CreateContainerConfigError") + // There was an error pulling the container image. + // Stability: development + K8SContainerStatusReasonErrImagePull = K8SContainerStatusReasonKey.String("ErrImagePull") + // The container image pull is in back off state. + // Stability: development + K8SContainerStatusReasonImagePullBackOff = K8SContainerStatusReasonKey.String("ImagePullBackOff") + // The container was killed due to out of memory. + // Stability: development + K8SContainerStatusReasonOomKilled = K8SContainerStatusReasonKey.String("OOMKilled") + // The container has completed execution. + // Stability: development + K8SContainerStatusReasonCompleted = K8SContainerStatusReasonKey.String("Completed") + // There was an error with the container. + // Stability: development + K8SContainerStatusReasonError = K8SContainerStatusReasonKey.String("Error") + // The container cannot run. + // Stability: development + K8SContainerStatusReasonContainerCannotRun = K8SContainerStatusReasonKey.String("ContainerCannotRun") +) + +// Enum values for k8s.container.status.state +var ( + // The container has terminated. + // Stability: development + K8SContainerStatusStateTerminated = K8SContainerStatusStateKey.String("terminated") + // The container is running. + // Stability: development + K8SContainerStatusStateRunning = K8SContainerStatusStateKey.String("running") + // The container is waiting. + // Stability: development + K8SContainerStatusStateWaiting = K8SContainerStatusStateKey.String("waiting") +) + +// Enum values for k8s.namespace.phase +var ( + // Active namespace phase as described by [K8s API] + // Stability: development + // + // [K8s API]: https://pkg.go.dev/k8s.io/api@v0.31.3/core/v1#NamespacePhase + K8SNamespacePhaseActive = K8SNamespacePhaseKey.String("active") + // Terminating namespace phase as described by [K8s API] + // Stability: development + // + // [K8s API]: https://pkg.go.dev/k8s.io/api@v0.31.3/core/v1#NamespacePhase + K8SNamespacePhaseTerminating = K8SNamespacePhaseKey.String("terminating") +) + +// Enum values for k8s.node.condition.status +var ( + // condition_true + // Stability: development + K8SNodeConditionStatusConditionTrue = K8SNodeConditionStatusKey.String("true") + // condition_false + // Stability: development + K8SNodeConditionStatusConditionFalse = K8SNodeConditionStatusKey.String("false") + // condition_unknown + // Stability: development + K8SNodeConditionStatusConditionUnknown = K8SNodeConditionStatusKey.String("unknown") +) + +// Enum values for k8s.node.condition.type +var ( + // The node is healthy and ready to accept pods + // Stability: development + K8SNodeConditionTypeReady = K8SNodeConditionTypeKey.String("Ready") + // Pressure exists on the disk size—that is, if the disk capacity is low + // Stability: development + K8SNodeConditionTypeDiskPressure = K8SNodeConditionTypeKey.String("DiskPressure") + // Pressure exists on the node memory—that is, if the node memory is low + // Stability: development + K8SNodeConditionTypeMemoryPressure = K8SNodeConditionTypeKey.String("MemoryPressure") + // Pressure exists on the processes—that is, if there are too many processes + // on the node + // Stability: development + K8SNodeConditionTypePIDPressure = K8SNodeConditionTypeKey.String("PIDPressure") + // The network for the node is not correctly configured + // Stability: development + K8SNodeConditionTypeNetworkUnavailable = K8SNodeConditionTypeKey.String("NetworkUnavailable") +) + +// Enum values for k8s.pod.status.phase +var ( + // The pod has been accepted by the system, but one or more of the containers + // has not been started. This includes time before being bound to a node, as + // well as time spent pulling images onto the host. + // + // Stability: development + K8SPodStatusPhasePending = K8SPodStatusPhaseKey.String("Pending") + // The pod has been bound to a node and all of the containers have been started. + // At least one container is still running or is in the process of being + // restarted. + // + // Stability: development + K8SPodStatusPhaseRunning = K8SPodStatusPhaseKey.String("Running") + // All containers in the pod have voluntarily terminated with a container exit + // code of 0, and the system is not going to restart any of these containers. + // + // Stability: development + K8SPodStatusPhaseSucceeded = K8SPodStatusPhaseKey.String("Succeeded") + // All containers in the pod have terminated, and at least one container has + // terminated in a failure (exited with a non-zero exit code or was stopped by + // the system). + // + // Stability: development + K8SPodStatusPhaseFailed = K8SPodStatusPhaseKey.String("Failed") + // For some reason the state of the pod could not be obtained, typically due to + // an error in communicating with the host of the pod. + // + // Stability: development + K8SPodStatusPhaseUnknown = K8SPodStatusPhaseKey.String("Unknown") +) + +// Enum values for k8s.pod.status.reason +var ( + // The pod is evicted. + // Stability: development + K8SPodStatusReasonEvicted = K8SPodStatusReasonKey.String("Evicted") + // The pod is in a status because of its node affinity + // Stability: development + K8SPodStatusReasonNodeAffinity = K8SPodStatusReasonKey.String("NodeAffinity") + // The reason on a pod when its state cannot be confirmed as kubelet is + // unresponsive on the node it is (was) running. + // + // Stability: development + K8SPodStatusReasonNodeLost = K8SPodStatusReasonKey.String("NodeLost") + // The node is shutdown + // Stability: development + K8SPodStatusReasonShutdown = K8SPodStatusReasonKey.String("Shutdown") + // The pod was rejected admission to the node because of an error during + // admission that could not be categorized. + // + // Stability: development + K8SPodStatusReasonUnexpectedAdmissionError = K8SPodStatusReasonKey.String("UnexpectedAdmissionError") +) + +// Enum values for k8s.volume.type +var ( + // A [persistentVolumeClaim] volume + // Stability: development + // + // [persistentVolumeClaim]: https://v1-30.docs.kubernetes.io/docs/concepts/storage/volumes/#persistentvolumeclaim + K8SVolumeTypePersistentVolumeClaim = K8SVolumeTypeKey.String("persistentVolumeClaim") + // A [configMap] volume + // Stability: development + // + // [configMap]: https://v1-30.docs.kubernetes.io/docs/concepts/storage/volumes/#configmap + K8SVolumeTypeConfigMap = K8SVolumeTypeKey.String("configMap") + // A [downwardAPI] volume + // Stability: development + // + // [downwardAPI]: https://v1-30.docs.kubernetes.io/docs/concepts/storage/volumes/#downwardapi + K8SVolumeTypeDownwardAPI = K8SVolumeTypeKey.String("downwardAPI") + // An [emptyDir] volume + // Stability: development + // + // [emptyDir]: https://v1-30.docs.kubernetes.io/docs/concepts/storage/volumes/#emptydir + K8SVolumeTypeEmptyDir = K8SVolumeTypeKey.String("emptyDir") + // A [secret] volume + // Stability: development + // + // [secret]: https://v1-30.docs.kubernetes.io/docs/concepts/storage/volumes/#secret + K8SVolumeTypeSecret = K8SVolumeTypeKey.String("secret") + // A [local] volume + // Stability: development + // + // [local]: https://v1-30.docs.kubernetes.io/docs/concepts/storage/volumes/#local + K8SVolumeTypeLocal = K8SVolumeTypeKey.String("local") +) + +// Namespace: log +const ( + // LogFileNameKey is the attribute Key conforming to the "log.file.name" + // semantic conventions. It represents the basename of the file. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "audit.log" + LogFileNameKey = attribute.Key("log.file.name") + + // LogFileNameResolvedKey is the attribute Key conforming to the + // "log.file.name_resolved" semantic conventions. It represents the basename of + // the file, with symlinks resolved. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "uuid.log" + LogFileNameResolvedKey = attribute.Key("log.file.name_resolved") + + // LogFilePathKey is the attribute Key conforming to the "log.file.path" + // semantic conventions. It represents the full path to the file. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "/var/log/mysql/audit.log" + LogFilePathKey = attribute.Key("log.file.path") + + // LogFilePathResolvedKey is the attribute Key conforming to the + // "log.file.path_resolved" semantic conventions. It represents the full path to + // the file, with symlinks resolved. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "/var/lib/docker/uuid.log" + LogFilePathResolvedKey = attribute.Key("log.file.path_resolved") + + // LogIostreamKey is the attribute Key conforming to the "log.iostream" semantic + // conventions. It represents the stream associated with the log. See below for + // a list of well-known values. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + LogIostreamKey = attribute.Key("log.iostream") + + // LogRecordOriginalKey is the attribute Key conforming to the + // "log.record.original" semantic conventions. It represents the complete + // original Log Record. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "77 <86>1 2015-08-06T21:58:59.694Z 192.168.2.133 inactive - - - + // Something happened", "[INFO] 8/3/24 12:34:56 Something happened" + // Note: This value MAY be added when processing a Log Record which was + // originally transmitted as a string or equivalent data type AND the Body field + // of the Log Record does not contain the same value. (e.g. a syslog or a log + // record read from a file.) + LogRecordOriginalKey = attribute.Key("log.record.original") + + // LogRecordUIDKey is the attribute Key conforming to the "log.record.uid" + // semantic conventions. It represents a unique identifier for the Log Record. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "01ARZ3NDEKTSV4RRFFQ69G5FAV" + // Note: If an id is provided, other log records with the same id will be + // considered duplicates and can be removed safely. This means, that two + // distinguishable log records MUST have different values. + // The id MAY be an + // [Universally Unique Lexicographically Sortable Identifier (ULID)], but other + // identifiers (e.g. UUID) may be used as needed. + // + // [Universally Unique Lexicographically Sortable Identifier (ULID)]: https://github.com/ulid/spec + LogRecordUIDKey = attribute.Key("log.record.uid") +) + +// LogFileName returns an attribute KeyValue conforming to the "log.file.name" +// semantic conventions. It represents the basename of the file. +func LogFileName(val string) attribute.KeyValue { + return LogFileNameKey.String(val) +} + +// LogFileNameResolved returns an attribute KeyValue conforming to the +// "log.file.name_resolved" semantic conventions. It represents the basename of +// the file, with symlinks resolved. +func LogFileNameResolved(val string) attribute.KeyValue { + return LogFileNameResolvedKey.String(val) +} + +// LogFilePath returns an attribute KeyValue conforming to the "log.file.path" +// semantic conventions. It represents the full path to the file. +func LogFilePath(val string) attribute.KeyValue { + return LogFilePathKey.String(val) +} + +// LogFilePathResolved returns an attribute KeyValue conforming to the +// "log.file.path_resolved" semantic conventions. It represents the full path to +// the file, with symlinks resolved. +func LogFilePathResolved(val string) attribute.KeyValue { + return LogFilePathResolvedKey.String(val) +} + +// LogRecordOriginal returns an attribute KeyValue conforming to the +// "log.record.original" semantic conventions. It represents the complete +// original Log Record. +func LogRecordOriginal(val string) attribute.KeyValue { + return LogRecordOriginalKey.String(val) +} + +// LogRecordUID returns an attribute KeyValue conforming to the "log.record.uid" +// semantic conventions. It represents a unique identifier for the Log Record. +func LogRecordUID(val string) attribute.KeyValue { + return LogRecordUIDKey.String(val) +} + +// Enum values for log.iostream +var ( + // Logs from stdout stream + // Stability: development + LogIostreamStdout = LogIostreamKey.String("stdout") + // Events from stderr stream + // Stability: development + LogIostreamStderr = LogIostreamKey.String("stderr") +) + +// Namespace: mainframe +const ( + // MainframeLparNameKey is the attribute Key conforming to the + // "mainframe.lpar.name" semantic conventions. It represents the name of the + // logical partition that hosts a systems with a mainframe operating system. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "LPAR01" + MainframeLparNameKey = attribute.Key("mainframe.lpar.name") +) + +// MainframeLparName returns an attribute KeyValue conforming to the +// "mainframe.lpar.name" semantic conventions. It represents the name of the +// logical partition that hosts a systems with a mainframe operating system. +func MainframeLparName(val string) attribute.KeyValue { + return MainframeLparNameKey.String(val) +} + +// Namespace: mcp +const ( + // McpMethodNameKey is the attribute Key conforming to the "mcp.method.name" + // semantic conventions. It represents the name of the request or notification + // method. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + McpMethodNameKey = attribute.Key("mcp.method.name") + + // McpProtocolVersionKey is the attribute Key conforming to the + // "mcp.protocol.version" semantic conventions. It represents the [version] of + // the Model Context Protocol used. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "2025-06-18" + // + // [version]: https://modelcontextprotocol.io/specification/versioning + McpProtocolVersionKey = attribute.Key("mcp.protocol.version") + + // McpResourceURIKey is the attribute Key conforming to the "mcp.resource.uri" + // semantic conventions. It represents the value of the resource uri. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "postgres://database/customers/schema", + // "file:///home/user/documents/report.pdf" + // Note: This is a URI of the resource provided in the following requests or + // notifications: `resources/read`, `resources/subscribe`, + // `resources/unsubscribe`, or `notifications/resources/updated`. + McpResourceURIKey = attribute.Key("mcp.resource.uri") + + // McpSessionIDKey is the attribute Key conforming to the "mcp.session.id" + // semantic conventions. It represents the identifies [MCP session]. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "191c4850af6c49e08843a3f6c80e5046" + // + // [MCP session]: https://modelcontextprotocol.io/specification/2025-06-18/basic/transports#session-management + McpSessionIDKey = attribute.Key("mcp.session.id") +) + +// McpProtocolVersion returns an attribute KeyValue conforming to the +// "mcp.protocol.version" semantic conventions. It represents the [version] of +// the Model Context Protocol used. +// +// [version]: https://modelcontextprotocol.io/specification/versioning +func McpProtocolVersion(val string) attribute.KeyValue { + return McpProtocolVersionKey.String(val) +} + +// McpResourceURI returns an attribute KeyValue conforming to the +// "mcp.resource.uri" semantic conventions. It represents the value of the +// resource uri. +func McpResourceURI(val string) attribute.KeyValue { + return McpResourceURIKey.String(val) +} + +// McpSessionID returns an attribute KeyValue conforming to the "mcp.session.id" +// semantic conventions. It represents the identifies [MCP session]. +// +// [MCP session]: https://modelcontextprotocol.io/specification/2025-06-18/basic/transports#session-management +func McpSessionID(val string) attribute.KeyValue { + return McpSessionIDKey.String(val) +} + +// Enum values for mcp.method.name +var ( + // Notification cancelling a previously-issued request. + // + // Stability: development + McpMethodNameNotificationsCancelled = McpMethodNameKey.String("notifications/cancelled") + // Request to initialize the MCP client. + // + // Stability: development + McpMethodNameInitialize = McpMethodNameKey.String("initialize") + // Notification indicating that the MCP client has been initialized. + // + // Stability: development + McpMethodNameNotificationsInitialized = McpMethodNameKey.String("notifications/initialized") + // Notification indicating the progress for a long-running operation. + // + // Stability: development + McpMethodNameNotificationsProgress = McpMethodNameKey.String("notifications/progress") + // Request to check that the other party is still alive. + // + // Stability: development + McpMethodNamePing = McpMethodNameKey.String("ping") + // Request to list resources available on server. + // + // Stability: development + McpMethodNameResourcesList = McpMethodNameKey.String("resources/list") + // Request to list resource templates available on server. + // + // Stability: development + McpMethodNameResourcesTemplatesList = McpMethodNameKey.String("resources/templates/list") + // Request to read a resource. + // + // Stability: development + McpMethodNameResourcesRead = McpMethodNameKey.String("resources/read") + // Notification indicating that the list of resources has changed. + // + // Stability: development + McpMethodNameNotificationsResourcesListChanged = McpMethodNameKey.String("notifications/resources/list_changed") + // Request to subscribe to a resource. + // + // Stability: development + McpMethodNameResourcesSubscribe = McpMethodNameKey.String("resources/subscribe") + // Request to unsubscribe from resource updates. + // + // Stability: development + McpMethodNameResourcesUnsubscribe = McpMethodNameKey.String("resources/unsubscribe") + // Notification indicating that a resource has been updated. + // + // Stability: development + McpMethodNameNotificationsResourcesUpdated = McpMethodNameKey.String("notifications/resources/updated") + // Request to list prompts available on server. + // + // Stability: development + McpMethodNamePromptsList = McpMethodNameKey.String("prompts/list") + // Request to get a prompt. + // + // Stability: development + McpMethodNamePromptsGet = McpMethodNameKey.String("prompts/get") + // Notification indicating that the list of prompts has changed. + // + // Stability: development + McpMethodNameNotificationsPromptsListChanged = McpMethodNameKey.String("notifications/prompts/list_changed") + // Request to list tools available on server. + // + // Stability: development + McpMethodNameToolsList = McpMethodNameKey.String("tools/list") + // Request to call a tool. + // + // Stability: development + McpMethodNameToolsCall = McpMethodNameKey.String("tools/call") + // Notification indicating that the list of tools has changed. + // + // Stability: development + McpMethodNameNotificationsToolsListChanged = McpMethodNameKey.String("notifications/tools/list_changed") + // Request to set the logging level. + // + // Stability: development + McpMethodNameLoggingSetLevel = McpMethodNameKey.String("logging/setLevel") + // Notification indicating that a message has been received. + // + // Stability: development + McpMethodNameNotificationsMessage = McpMethodNameKey.String("notifications/message") + // Request to create a sampling message. + // + // Stability: development + McpMethodNameSamplingCreateMessage = McpMethodNameKey.String("sampling/createMessage") + // Request to complete a prompt. + // + // Stability: development + McpMethodNameCompletionComplete = McpMethodNameKey.String("completion/complete") + // Request to list roots available on server. + // + // Stability: development + McpMethodNameRootsList = McpMethodNameKey.String("roots/list") + // Notification indicating that the list of roots has changed. + // + // Stability: development + McpMethodNameNotificationsRootsListChanged = McpMethodNameKey.String("notifications/roots/list_changed") + // Request from the server to elicit additional information from the user via + // the client + // + // Stability: development + McpMethodNameElicitationCreate = McpMethodNameKey.String("elicitation/create") +) + +// Namespace: messaging +const ( + // MessagingBatchMessageCountKey is the attribute Key conforming to the + // "messaging.batch.message_count" semantic conventions. It represents the + // number of messages sent, received, or processed in the scope of the batching + // operation. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 0, 1, 2 + // Note: Instrumentations SHOULD NOT set `messaging.batch.message_count` on + // spans that operate with a single message. When a messaging client library + // supports both batch and single-message API for the same operation, + // instrumentations SHOULD use `messaging.batch.message_count` for batching APIs + // and SHOULD NOT use it for single-message APIs. + MessagingBatchMessageCountKey = attribute.Key("messaging.batch.message_count") + + // MessagingClientIDKey is the attribute Key conforming to the + // "messaging.client.id" semantic conventions. It represents a unique identifier + // for the client that consumes or produces a message. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "client-5", "myhost@8742@s8083jm" + MessagingClientIDKey = attribute.Key("messaging.client.id") + + // MessagingConsumerGroupNameKey is the attribute Key conforming to the + // "messaging.consumer.group.name" semantic conventions. It represents the name + // of the consumer group with which a consumer is associated. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "my-group", "indexer" + // Note: Semantic conventions for individual messaging systems SHOULD document + // whether `messaging.consumer.group.name` is applicable and what it means in + // the context of that system. + MessagingConsumerGroupNameKey = attribute.Key("messaging.consumer.group.name") + + // MessagingDestinationAnonymousKey is the attribute Key conforming to the + // "messaging.destination.anonymous" semantic conventions. It represents a + // boolean that is true if the message destination is anonymous (could be + // unnamed or have auto-generated name). + // + // Type: boolean + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + MessagingDestinationAnonymousKey = attribute.Key("messaging.destination.anonymous") + + // MessagingDestinationNameKey is the attribute Key conforming to the + // "messaging.destination.name" semantic conventions. It represents the message + // destination name. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "MyQueue", "MyTopic" + // Note: Destination name SHOULD uniquely identify a specific queue, topic or + // other entity within the broker. If + // the broker doesn't have such notion, the destination name SHOULD uniquely + // identify the broker. + MessagingDestinationNameKey = attribute.Key("messaging.destination.name") + + // MessagingDestinationPartitionIDKey is the attribute Key conforming to the + // "messaging.destination.partition.id" semantic conventions. It represents the + // identifier of the partition messages are sent to or received from, unique + // within the `messaging.destination.name`. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 1 + MessagingDestinationPartitionIDKey = attribute.Key("messaging.destination.partition.id") + + // MessagingDestinationSubscriptionNameKey is the attribute Key conforming to + // the "messaging.destination.subscription.name" semantic conventions. It + // represents the name of the destination subscription from which a message is + // consumed. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "subscription-a" + // Note: Semantic conventions for individual messaging systems SHOULD document + // whether `messaging.destination.subscription.name` is applicable and what it + // means in the context of that system. + MessagingDestinationSubscriptionNameKey = attribute.Key("messaging.destination.subscription.name") + + // MessagingDestinationTemplateKey is the attribute Key conforming to the + // "messaging.destination.template" semantic conventions. It represents the low + // cardinality representation of the messaging destination name. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "/customers/{customerId}" + // Note: Destination names could be constructed from templates. An example would + // be a destination name involving a user name or product id. Although the + // destination name in this case is of high cardinality, the underlying template + // is of low cardinality and can be effectively used for grouping and + // aggregation. + MessagingDestinationTemplateKey = attribute.Key("messaging.destination.template") + + // MessagingDestinationTemporaryKey is the attribute Key conforming to the + // "messaging.destination.temporary" semantic conventions. It represents a + // boolean that is true if the message destination is temporary and might not + // exist anymore after messages are processed. + // + // Type: boolean + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + MessagingDestinationTemporaryKey = attribute.Key("messaging.destination.temporary") + + // MessagingEventHubsMessageEnqueuedTimeKey is the attribute Key conforming to + // the "messaging.eventhubs.message.enqueued_time" semantic conventions. It + // represents the UTC epoch seconds at which the message has been accepted and + // stored in the entity. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + MessagingEventHubsMessageEnqueuedTimeKey = attribute.Key("messaging.eventhubs.message.enqueued_time") + + // MessagingGCPPubSubMessageAckDeadlineKey is the attribute Key conforming to + // the "messaging.gcp_pubsub.message.ack_deadline" semantic conventions. It + // represents the ack deadline in seconds set for the modify ack deadline + // request. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + MessagingGCPPubSubMessageAckDeadlineKey = attribute.Key("messaging.gcp_pubsub.message.ack_deadline") + + // MessagingGCPPubSubMessageAckIDKey is the attribute Key conforming to the + // "messaging.gcp_pubsub.message.ack_id" semantic conventions. It represents the + // ack id for a given message. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: ack_id + MessagingGCPPubSubMessageAckIDKey = attribute.Key("messaging.gcp_pubsub.message.ack_id") + + // MessagingGCPPubSubMessageDeliveryAttemptKey is the attribute Key conforming + // to the "messaging.gcp_pubsub.message.delivery_attempt" semantic conventions. + // It represents the delivery attempt for a given message. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + MessagingGCPPubSubMessageDeliveryAttemptKey = attribute.Key("messaging.gcp_pubsub.message.delivery_attempt") + + // MessagingGCPPubSubMessageOrderingKeyKey is the attribute Key conforming to + // the "messaging.gcp_pubsub.message.ordering_key" semantic conventions. It + // represents the ordering key for a given message. If the attribute is not + // present, the message does not have an ordering key. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: ordering_key + MessagingGCPPubSubMessageOrderingKeyKey = attribute.Key("messaging.gcp_pubsub.message.ordering_key") + + // MessagingKafkaMessageKeyKey is the attribute Key conforming to the + // "messaging.kafka.message.key" semantic conventions. It represents the message + // keys in Kafka are used for grouping alike messages to ensure they're + // processed on the same partition. They differ from `messaging.message.id` in + // that they're not unique. If the key is `null`, the attribute MUST NOT be set. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: myKey + // Note: If the key type is not string, it's string representation has to be + // supplied for the attribute. If the key has no unambiguous, canonical string + // form, don't include its value. + MessagingKafkaMessageKeyKey = attribute.Key("messaging.kafka.message.key") + + // MessagingKafkaMessageTombstoneKey is the attribute Key conforming to the + // "messaging.kafka.message.tombstone" semantic conventions. It represents a + // boolean that is true if the message is a tombstone. + // + // Type: boolean + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + MessagingKafkaMessageTombstoneKey = attribute.Key("messaging.kafka.message.tombstone") + + // MessagingKafkaOffsetKey is the attribute Key conforming to the + // "messaging.kafka.offset" semantic conventions. It represents the offset of a + // record in the corresponding Kafka partition. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + MessagingKafkaOffsetKey = attribute.Key("messaging.kafka.offset") + + // MessagingMessageBodySizeKey is the attribute Key conforming to the + // "messaging.message.body.size" semantic conventions. It represents the size of + // the message body in bytes. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Note: This can refer to both the compressed or uncompressed body size. If + // both sizes are known, the uncompressed + // body size should be used. + MessagingMessageBodySizeKey = attribute.Key("messaging.message.body.size") + + // MessagingMessageConversationIDKey is the attribute Key conforming to the + // "messaging.message.conversation_id" semantic conventions. It represents the + // conversation ID identifying the conversation to which the message belongs, + // represented as a string. Sometimes called "Correlation ID". + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: MyConversationId + MessagingMessageConversationIDKey = attribute.Key("messaging.message.conversation_id") + + // MessagingMessageEnvelopeSizeKey is the attribute Key conforming to the + // "messaging.message.envelope.size" semantic conventions. It represents the + // size of the message body and metadata in bytes. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Note: This can refer to both the compressed or uncompressed size. If both + // sizes are known, the uncompressed + // size should be used. + MessagingMessageEnvelopeSizeKey = attribute.Key("messaging.message.envelope.size") + + // MessagingMessageIDKey is the attribute Key conforming to the + // "messaging.message.id" semantic conventions. It represents a value used by + // the messaging system as an identifier for the message, represented as a + // string. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 452a7c7c7c7048c2f887f61572b18fc2 + MessagingMessageIDKey = attribute.Key("messaging.message.id") + + // MessagingOperationNameKey is the attribute Key conforming to the + // "messaging.operation.name" semantic conventions. It represents the + // system-specific name of the messaging operation. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "ack", "nack", "send" + MessagingOperationNameKey = attribute.Key("messaging.operation.name") + + // MessagingOperationTypeKey is the attribute Key conforming to the + // "messaging.operation.type" semantic conventions. It represents a string + // identifying the type of the messaging operation. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // Note: If a custom value is used, it MUST be of low cardinality. + MessagingOperationTypeKey = attribute.Key("messaging.operation.type") + + // MessagingRabbitMQDestinationRoutingKeyKey is the attribute Key conforming to + // the "messaging.rabbitmq.destination.routing_key" semantic conventions. It + // represents the rabbitMQ message routing key. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: myKey + MessagingRabbitMQDestinationRoutingKeyKey = attribute.Key("messaging.rabbitmq.destination.routing_key") + + // MessagingRabbitMQMessageDeliveryTagKey is the attribute Key conforming to the + // "messaging.rabbitmq.message.delivery_tag" semantic conventions. It represents + // the rabbitMQ message delivery tag. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + MessagingRabbitMQMessageDeliveryTagKey = attribute.Key("messaging.rabbitmq.message.delivery_tag") + + // MessagingRocketMQConsumptionModelKey is the attribute Key conforming to the + // "messaging.rocketmq.consumption_model" semantic conventions. It represents + // the model of message consumption. This only applies to consumer spans. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + MessagingRocketMQConsumptionModelKey = attribute.Key("messaging.rocketmq.consumption_model") + + // MessagingRocketMQMessageDelayTimeLevelKey is the attribute Key conforming to + // the "messaging.rocketmq.message.delay_time_level" semantic conventions. It + // represents the delay time level for delay message, which determines the + // message delay time. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + MessagingRocketMQMessageDelayTimeLevelKey = attribute.Key("messaging.rocketmq.message.delay_time_level") + + // MessagingRocketMQMessageDeliveryTimestampKey is the attribute Key conforming + // to the "messaging.rocketmq.message.delivery_timestamp" semantic conventions. + // It represents the timestamp in milliseconds that the delay message is + // expected to be delivered to consumer. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + MessagingRocketMQMessageDeliveryTimestampKey = attribute.Key("messaging.rocketmq.message.delivery_timestamp") + + // MessagingRocketMQMessageGroupKey is the attribute Key conforming to the + // "messaging.rocketmq.message.group" semantic conventions. It represents the it + // is essential for FIFO message. Messages that belong to the same message group + // are always processed one by one within the same consumer group. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: myMessageGroup + MessagingRocketMQMessageGroupKey = attribute.Key("messaging.rocketmq.message.group") + + // MessagingRocketMQMessageKeysKey is the attribute Key conforming to the + // "messaging.rocketmq.message.keys" semantic conventions. It represents the + // key(s) of message, another way to mark message besides message id. + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "keyA", "keyB" + MessagingRocketMQMessageKeysKey = attribute.Key("messaging.rocketmq.message.keys") + + // MessagingRocketMQMessageTagKey is the attribute Key conforming to the + // "messaging.rocketmq.message.tag" semantic conventions. It represents the + // secondary classifier of message besides topic. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: tagA + MessagingRocketMQMessageTagKey = attribute.Key("messaging.rocketmq.message.tag") + + // MessagingRocketMQMessageTypeKey is the attribute Key conforming to the + // "messaging.rocketmq.message.type" semantic conventions. It represents the + // type of message. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + MessagingRocketMQMessageTypeKey = attribute.Key("messaging.rocketmq.message.type") + + // MessagingRocketMQNamespaceKey is the attribute Key conforming to the + // "messaging.rocketmq.namespace" semantic conventions. It represents the + // namespace of RocketMQ resources, resources in different namespaces are + // individual. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: myNamespace + MessagingRocketMQNamespaceKey = attribute.Key("messaging.rocketmq.namespace") + + // MessagingServiceBusDispositionStatusKey is the attribute Key conforming to + // the "messaging.servicebus.disposition_status" semantic conventions. It + // represents the describes the [settlement type]. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // + // [settlement type]: https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock + MessagingServiceBusDispositionStatusKey = attribute.Key("messaging.servicebus.disposition_status") + + // MessagingServiceBusMessageDeliveryCountKey is the attribute Key conforming to + // the "messaging.servicebus.message.delivery_count" semantic conventions. It + // represents the number of deliveries that have been attempted for this + // message. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + MessagingServiceBusMessageDeliveryCountKey = attribute.Key("messaging.servicebus.message.delivery_count") + + // MessagingServiceBusMessageEnqueuedTimeKey is the attribute Key conforming to + // the "messaging.servicebus.message.enqueued_time" semantic conventions. It + // represents the UTC epoch seconds at which the message has been accepted and + // stored in the entity. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + MessagingServiceBusMessageEnqueuedTimeKey = attribute.Key("messaging.servicebus.message.enqueued_time") + + // MessagingSystemKey is the attribute Key conforming to the "messaging.system" + // semantic conventions. It represents the messaging system as identified by the + // client instrumentation. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // Note: The actual messaging system may differ from the one known by the + // client. For example, when using Kafka client libraries to communicate with + // Azure Event Hubs, the `messaging.system` is set to `kafka` based on the + // instrumentation's best knowledge. + MessagingSystemKey = attribute.Key("messaging.system") +) + +// MessagingBatchMessageCount returns an attribute KeyValue conforming to the +// "messaging.batch.message_count" semantic conventions. It represents the number +// of messages sent, received, or processed in the scope of the batching +// operation. +func MessagingBatchMessageCount(val int) attribute.KeyValue { + return MessagingBatchMessageCountKey.Int(val) +} + +// MessagingClientID returns an attribute KeyValue conforming to the +// "messaging.client.id" semantic conventions. It represents a unique identifier +// for the client that consumes or produces a message. +func MessagingClientID(val string) attribute.KeyValue { + return MessagingClientIDKey.String(val) +} + +// MessagingConsumerGroupName returns an attribute KeyValue conforming to the +// "messaging.consumer.group.name" semantic conventions. It represents the name +// of the consumer group with which a consumer is associated. +func MessagingConsumerGroupName(val string) attribute.KeyValue { + return MessagingConsumerGroupNameKey.String(val) +} + +// MessagingDestinationAnonymous returns an attribute KeyValue conforming to the +// "messaging.destination.anonymous" semantic conventions. It represents a +// boolean that is true if the message destination is anonymous (could be unnamed +// or have auto-generated name). +func MessagingDestinationAnonymous(val bool) attribute.KeyValue { + return MessagingDestinationAnonymousKey.Bool(val) +} + +// MessagingDestinationName returns an attribute KeyValue conforming to the +// "messaging.destination.name" semantic conventions. It represents the message +// destination name. +func MessagingDestinationName(val string) attribute.KeyValue { + return MessagingDestinationNameKey.String(val) +} + +// MessagingDestinationPartitionID returns an attribute KeyValue conforming to +// the "messaging.destination.partition.id" semantic conventions. It represents +// the identifier of the partition messages are sent to or received from, unique +// within the `messaging.destination.name`. +func MessagingDestinationPartitionID(val string) attribute.KeyValue { + return MessagingDestinationPartitionIDKey.String(val) +} + +// MessagingDestinationSubscriptionName returns an attribute KeyValue conforming +// to the "messaging.destination.subscription.name" semantic conventions. It +// represents the name of the destination subscription from which a message is +// consumed. +func MessagingDestinationSubscriptionName(val string) attribute.KeyValue { + return MessagingDestinationSubscriptionNameKey.String(val) +} + +// MessagingDestinationTemplate returns an attribute KeyValue conforming to the +// "messaging.destination.template" semantic conventions. It represents the low +// cardinality representation of the messaging destination name. +func MessagingDestinationTemplate(val string) attribute.KeyValue { + return MessagingDestinationTemplateKey.String(val) +} + +// MessagingDestinationTemporary returns an attribute KeyValue conforming to the +// "messaging.destination.temporary" semantic conventions. It represents a +// boolean that is true if the message destination is temporary and might not +// exist anymore after messages are processed. +func MessagingDestinationTemporary(val bool) attribute.KeyValue { + return MessagingDestinationTemporaryKey.Bool(val) +} + +// MessagingEventHubsMessageEnqueuedTime returns an attribute KeyValue conforming +// to the "messaging.eventhubs.message.enqueued_time" semantic conventions. It +// represents the UTC epoch seconds at which the message has been accepted and +// stored in the entity. +func MessagingEventHubsMessageEnqueuedTime(val int) attribute.KeyValue { + return MessagingEventHubsMessageEnqueuedTimeKey.Int(val) +} + +// MessagingGCPPubSubMessageAckDeadline returns an attribute KeyValue conforming +// to the "messaging.gcp_pubsub.message.ack_deadline" semantic conventions. It +// represents the ack deadline in seconds set for the modify ack deadline +// request. +func MessagingGCPPubSubMessageAckDeadline(val int) attribute.KeyValue { + return MessagingGCPPubSubMessageAckDeadlineKey.Int(val) +} + +// MessagingGCPPubSubMessageAckID returns an attribute KeyValue conforming to the +// "messaging.gcp_pubsub.message.ack_id" semantic conventions. It represents the +// ack id for a given message. +func MessagingGCPPubSubMessageAckID(val string) attribute.KeyValue { + return MessagingGCPPubSubMessageAckIDKey.String(val) +} + +// MessagingGCPPubSubMessageDeliveryAttempt returns an attribute KeyValue +// conforming to the "messaging.gcp_pubsub.message.delivery_attempt" semantic +// conventions. It represents the delivery attempt for a given message. +func MessagingGCPPubSubMessageDeliveryAttempt(val int) attribute.KeyValue { + return MessagingGCPPubSubMessageDeliveryAttemptKey.Int(val) +} + +// MessagingGCPPubSubMessageOrderingKey returns an attribute KeyValue conforming +// to the "messaging.gcp_pubsub.message.ordering_key" semantic conventions. It +// represents the ordering key for a given message. If the attribute is not +// present, the message does not have an ordering key. +func MessagingGCPPubSubMessageOrderingKey(val string) attribute.KeyValue { + return MessagingGCPPubSubMessageOrderingKeyKey.String(val) +} + +// MessagingKafkaMessageKey returns an attribute KeyValue conforming to the +// "messaging.kafka.message.key" semantic conventions. It represents the message +// keys in Kafka are used for grouping alike messages to ensure they're processed +// on the same partition. They differ from `messaging.message.id` in that they're +// not unique. If the key is `null`, the attribute MUST NOT be set. +func MessagingKafkaMessageKey(val string) attribute.KeyValue { + return MessagingKafkaMessageKeyKey.String(val) +} + +// MessagingKafkaMessageTombstone returns an attribute KeyValue conforming to the +// "messaging.kafka.message.tombstone" semantic conventions. It represents a +// boolean that is true if the message is a tombstone. +func MessagingKafkaMessageTombstone(val bool) attribute.KeyValue { + return MessagingKafkaMessageTombstoneKey.Bool(val) +} + +// MessagingKafkaOffset returns an attribute KeyValue conforming to the +// "messaging.kafka.offset" semantic conventions. It represents the offset of a +// record in the corresponding Kafka partition. +func MessagingKafkaOffset(val int) attribute.KeyValue { + return MessagingKafkaOffsetKey.Int(val) +} + +// MessagingMessageBodySize returns an attribute KeyValue conforming to the +// "messaging.message.body.size" semantic conventions. It represents the size of +// the message body in bytes. +func MessagingMessageBodySize(val int) attribute.KeyValue { + return MessagingMessageBodySizeKey.Int(val) +} + +// MessagingMessageConversationID returns an attribute KeyValue conforming to the +// "messaging.message.conversation_id" semantic conventions. It represents the +// conversation ID identifying the conversation to which the message belongs, +// represented as a string. Sometimes called "Correlation ID". +func MessagingMessageConversationID(val string) attribute.KeyValue { + return MessagingMessageConversationIDKey.String(val) +} + +// MessagingMessageEnvelopeSize returns an attribute KeyValue conforming to the +// "messaging.message.envelope.size" semantic conventions. It represents the size +// of the message body and metadata in bytes. +func MessagingMessageEnvelopeSize(val int) attribute.KeyValue { + return MessagingMessageEnvelopeSizeKey.Int(val) +} + +// MessagingMessageID returns an attribute KeyValue conforming to the +// "messaging.message.id" semantic conventions. It represents a value used by the +// messaging system as an identifier for the message, represented as a string. +func MessagingMessageID(val string) attribute.KeyValue { + return MessagingMessageIDKey.String(val) +} + +// MessagingOperationName returns an attribute KeyValue conforming to the +// "messaging.operation.name" semantic conventions. It represents the +// system-specific name of the messaging operation. +func MessagingOperationName(val string) attribute.KeyValue { + return MessagingOperationNameKey.String(val) +} + +// MessagingRabbitMQDestinationRoutingKey returns an attribute KeyValue +// conforming to the "messaging.rabbitmq.destination.routing_key" semantic +// conventions. It represents the rabbitMQ message routing key. +func MessagingRabbitMQDestinationRoutingKey(val string) attribute.KeyValue { + return MessagingRabbitMQDestinationRoutingKeyKey.String(val) +} + +// MessagingRabbitMQMessageDeliveryTag returns an attribute KeyValue conforming +// to the "messaging.rabbitmq.message.delivery_tag" semantic conventions. It +// represents the rabbitMQ message delivery tag. +func MessagingRabbitMQMessageDeliveryTag(val int) attribute.KeyValue { + return MessagingRabbitMQMessageDeliveryTagKey.Int(val) +} + +// MessagingRocketMQMessageDelayTimeLevel returns an attribute KeyValue +// conforming to the "messaging.rocketmq.message.delay_time_level" semantic +// conventions. It represents the delay time level for delay message, which +// determines the message delay time. +func MessagingRocketMQMessageDelayTimeLevel(val int) attribute.KeyValue { + return MessagingRocketMQMessageDelayTimeLevelKey.Int(val) +} + +// MessagingRocketMQMessageDeliveryTimestamp returns an attribute KeyValue +// conforming to the "messaging.rocketmq.message.delivery_timestamp" semantic +// conventions. It represents the timestamp in milliseconds that the delay +// message is expected to be delivered to consumer. +func MessagingRocketMQMessageDeliveryTimestamp(val int) attribute.KeyValue { + return MessagingRocketMQMessageDeliveryTimestampKey.Int(val) +} + +// MessagingRocketMQMessageGroup returns an attribute KeyValue conforming to the +// "messaging.rocketmq.message.group" semantic conventions. It represents the it +// is essential for FIFO message. Messages that belong to the same message group +// are always processed one by one within the same consumer group. +func MessagingRocketMQMessageGroup(val string) attribute.KeyValue { + return MessagingRocketMQMessageGroupKey.String(val) +} + +// MessagingRocketMQMessageKeys returns an attribute KeyValue conforming to the +// "messaging.rocketmq.message.keys" semantic conventions. It represents the +// key(s) of message, another way to mark message besides message id. +func MessagingRocketMQMessageKeys(val ...string) attribute.KeyValue { + return MessagingRocketMQMessageKeysKey.StringSlice(val) +} + +// MessagingRocketMQMessageTag returns an attribute KeyValue conforming to the +// "messaging.rocketmq.message.tag" semantic conventions. It represents the +// secondary classifier of message besides topic. +func MessagingRocketMQMessageTag(val string) attribute.KeyValue { + return MessagingRocketMQMessageTagKey.String(val) +} + +// MessagingRocketMQNamespace returns an attribute KeyValue conforming to the +// "messaging.rocketmq.namespace" semantic conventions. It represents the +// namespace of RocketMQ resources, resources in different namespaces are +// individual. +func MessagingRocketMQNamespace(val string) attribute.KeyValue { + return MessagingRocketMQNamespaceKey.String(val) +} + +// MessagingServiceBusMessageDeliveryCount returns an attribute KeyValue +// conforming to the "messaging.servicebus.message.delivery_count" semantic +// conventions. It represents the number of deliveries that have been attempted +// for this message. +func MessagingServiceBusMessageDeliveryCount(val int) attribute.KeyValue { + return MessagingServiceBusMessageDeliveryCountKey.Int(val) +} + +// MessagingServiceBusMessageEnqueuedTime returns an attribute KeyValue +// conforming to the "messaging.servicebus.message.enqueued_time" semantic +// conventions. It represents the UTC epoch seconds at which the message has been +// accepted and stored in the entity. +func MessagingServiceBusMessageEnqueuedTime(val int) attribute.KeyValue { + return MessagingServiceBusMessageEnqueuedTimeKey.Int(val) +} + +// Enum values for messaging.operation.type +var ( + // A message is created. "Create" spans always refer to a single message and are + // used to provide a unique creation context for messages in batch sending + // scenarios. + // + // Stability: development + MessagingOperationTypeCreate = MessagingOperationTypeKey.String("create") + // One or more messages are provided for sending to an intermediary. If a single + // message is sent, the context of the "Send" span can be used as the creation + // context and no "Create" span needs to be created. + // + // Stability: development + MessagingOperationTypeSend = MessagingOperationTypeKey.String("send") + // One or more messages are requested by a consumer. This operation refers to + // pull-based scenarios, where consumers explicitly call methods of messaging + // SDKs to receive messages. + // + // Stability: development + MessagingOperationTypeReceive = MessagingOperationTypeKey.String("receive") + // One or more messages are processed by a consumer. + // + // Stability: development + MessagingOperationTypeProcess = MessagingOperationTypeKey.String("process") + // One or more messages are settled. + // + // Stability: development + MessagingOperationTypeSettle = MessagingOperationTypeKey.String("settle") +) + +// Enum values for messaging.rocketmq.consumption_model +var ( + // Clustering consumption model + // Stability: development + MessagingRocketMQConsumptionModelClustering = MessagingRocketMQConsumptionModelKey.String("clustering") + // Broadcasting consumption model + // Stability: development + MessagingRocketMQConsumptionModelBroadcasting = MessagingRocketMQConsumptionModelKey.String("broadcasting") +) + +// Enum values for messaging.rocketmq.message.type +var ( + // Normal message + // Stability: development + MessagingRocketMQMessageTypeNormal = MessagingRocketMQMessageTypeKey.String("normal") + // FIFO message + // Stability: development + MessagingRocketMQMessageTypeFifo = MessagingRocketMQMessageTypeKey.String("fifo") + // Delay message + // Stability: development + MessagingRocketMQMessageTypeDelay = MessagingRocketMQMessageTypeKey.String("delay") + // Transaction message + // Stability: development + MessagingRocketMQMessageTypeTransaction = MessagingRocketMQMessageTypeKey.String("transaction") +) + +// Enum values for messaging.servicebus.disposition_status +var ( + // Message is completed + // Stability: development + MessagingServiceBusDispositionStatusComplete = MessagingServiceBusDispositionStatusKey.String("complete") + // Message is abandoned + // Stability: development + MessagingServiceBusDispositionStatusAbandon = MessagingServiceBusDispositionStatusKey.String("abandon") + // Message is sent to dead letter queue + // Stability: development + MessagingServiceBusDispositionStatusDeadLetter = MessagingServiceBusDispositionStatusKey.String("dead_letter") + // Message is deferred + // Stability: development + MessagingServiceBusDispositionStatusDefer = MessagingServiceBusDispositionStatusKey.String("defer") +) + +// Enum values for messaging.system +var ( + // Apache ActiveMQ + // Stability: development + MessagingSystemActiveMQ = MessagingSystemKey.String("activemq") + // Amazon Simple Notification Service (SNS) + // Stability: development + MessagingSystemAWSSNS = MessagingSystemKey.String("aws.sns") + // Amazon Simple Queue Service (SQS) + // Stability: development + MessagingSystemAWSSQS = MessagingSystemKey.String("aws_sqs") + // Azure Event Grid + // Stability: development + MessagingSystemEventGrid = MessagingSystemKey.String("eventgrid") + // Azure Event Hubs + // Stability: development + MessagingSystemEventHubs = MessagingSystemKey.String("eventhubs") + // Azure Service Bus + // Stability: development + MessagingSystemServiceBus = MessagingSystemKey.String("servicebus") + // Google Cloud Pub/Sub + // Stability: development + MessagingSystemGCPPubSub = MessagingSystemKey.String("gcp_pubsub") + // Java Message Service + // Stability: development + MessagingSystemJMS = MessagingSystemKey.String("jms") + // Apache Kafka + // Stability: development + MessagingSystemKafka = MessagingSystemKey.String("kafka") + // RabbitMQ + // Stability: development + MessagingSystemRabbitMQ = MessagingSystemKey.String("rabbitmq") + // Apache RocketMQ + // Stability: development + MessagingSystemRocketMQ = MessagingSystemKey.String("rocketmq") + // Apache Pulsar + // Stability: development + MessagingSystemPulsar = MessagingSystemKey.String("pulsar") +) + +// Namespace: network +const ( + // NetworkCarrierICCKey is the attribute Key conforming to the + // "network.carrier.icc" semantic conventions. It represents the ISO 3166-1 + // alpha-2 2-character country code associated with the mobile carrier network. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: DE + NetworkCarrierICCKey = attribute.Key("network.carrier.icc") + + // NetworkCarrierMCCKey is the attribute Key conforming to the + // "network.carrier.mcc" semantic conventions. It represents the mobile carrier + // country code. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 310 + NetworkCarrierMCCKey = attribute.Key("network.carrier.mcc") + + // NetworkCarrierMNCKey is the attribute Key conforming to the + // "network.carrier.mnc" semantic conventions. It represents the mobile carrier + // network code. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 001 + NetworkCarrierMNCKey = attribute.Key("network.carrier.mnc") + + // NetworkCarrierNameKey is the attribute Key conforming to the + // "network.carrier.name" semantic conventions. It represents the name of the + // mobile carrier. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: sprint + NetworkCarrierNameKey = attribute.Key("network.carrier.name") + + // NetworkConnectionStateKey is the attribute Key conforming to the + // "network.connection.state" semantic conventions. It represents the state of + // network connection. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "close_wait" + // Note: Connection states are defined as part of the [rfc9293] + // + // [rfc9293]: https://datatracker.ietf.org/doc/html/rfc9293#section-3.3.2 + NetworkConnectionStateKey = attribute.Key("network.connection.state") + + // NetworkConnectionSubtypeKey is the attribute Key conforming to the + // "network.connection.subtype" semantic conventions. It represents the this + // describes more details regarding the connection.type. It may be the type of + // cell technology connection, but it could be used for describing details about + // a wifi connection. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: LTE + NetworkConnectionSubtypeKey = attribute.Key("network.connection.subtype") + + // NetworkConnectionTypeKey is the attribute Key conforming to the + // "network.connection.type" semantic conventions. It represents the internet + // connection type. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: wifi + NetworkConnectionTypeKey = attribute.Key("network.connection.type") + + // NetworkInterfaceNameKey is the attribute Key conforming to the + // "network.interface.name" semantic conventions. It represents the network + // interface name. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "lo", "eth0" + NetworkInterfaceNameKey = attribute.Key("network.interface.name") + + // NetworkIODirectionKey is the attribute Key conforming to the + // "network.io.direction" semantic conventions. It represents the network IO + // operation direction. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "transmit" + NetworkIODirectionKey = attribute.Key("network.io.direction") + + // NetworkLocalAddressKey is the attribute Key conforming to the + // "network.local.address" semantic conventions. It represents the local address + // of the network connection - IP address or Unix domain socket name. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "10.1.2.80", "/tmp/my.sock" + NetworkLocalAddressKey = attribute.Key("network.local.address") + + // NetworkLocalPortKey is the attribute Key conforming to the + // "network.local.port" semantic conventions. It represents the local port + // number of the network connection. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: 65123 + NetworkLocalPortKey = attribute.Key("network.local.port") + + // NetworkPeerAddressKey is the attribute Key conforming to the + // "network.peer.address" semantic conventions. It represents the peer address + // of the network connection - IP address or Unix domain socket name. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "10.1.2.80", "/tmp/my.sock" + NetworkPeerAddressKey = attribute.Key("network.peer.address") + + // NetworkPeerPortKey is the attribute Key conforming to the "network.peer.port" + // semantic conventions. It represents the peer port number of the network + // connection. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: 65123 + NetworkPeerPortKey = attribute.Key("network.peer.port") + + // NetworkProtocolNameKey is the attribute Key conforming to the + // "network.protocol.name" semantic conventions. It represents the + // [OSI application layer] or non-OSI equivalent. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "amqp", "http", "mqtt" + // Note: The value SHOULD be normalized to lowercase. + // + // [OSI application layer]: https://wikipedia.org/wiki/Application_layer + NetworkProtocolNameKey = attribute.Key("network.protocol.name") + + // NetworkProtocolVersionKey is the attribute Key conforming to the + // "network.protocol.version" semantic conventions. It represents the actual + // version of the protocol used for network communication. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "1.1", "2" + // Note: If protocol version is subject to negotiation (for example using [ALPN] + // ), this attribute SHOULD be set to the negotiated version. If the actual + // protocol version is not known, this attribute SHOULD NOT be set. + // + // [ALPN]: https://www.rfc-editor.org/rfc/rfc7301.html + NetworkProtocolVersionKey = attribute.Key("network.protocol.version") + + // NetworkTransportKey is the attribute Key conforming to the + // "network.transport" semantic conventions. It represents the + // [OSI transport layer] or [inter-process communication method]. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "tcp", "udp" + // Note: The value SHOULD be normalized to lowercase. + // + // Consider always setting the transport when setting a port number, since + // a port number is ambiguous without knowing the transport. For example + // different processes could be listening on TCP port 12345 and UDP port 12345. + // + // [OSI transport layer]: https://wikipedia.org/wiki/Transport_layer + // [inter-process communication method]: https://wikipedia.org/wiki/Inter-process_communication + NetworkTransportKey = attribute.Key("network.transport") + + // NetworkTypeKey is the attribute Key conforming to the "network.type" semantic + // conventions. It represents the [OSI network layer] or non-OSI equivalent. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "ipv4", "ipv6" + // Note: The value SHOULD be normalized to lowercase. + // + // [OSI network layer]: https://wikipedia.org/wiki/Network_layer + NetworkTypeKey = attribute.Key("network.type") +) + +// NetworkCarrierICC returns an attribute KeyValue conforming to the +// "network.carrier.icc" semantic conventions. It represents the ISO 3166-1 +// alpha-2 2-character country code associated with the mobile carrier network. +func NetworkCarrierICC(val string) attribute.KeyValue { + return NetworkCarrierICCKey.String(val) +} + +// NetworkCarrierMCC returns an attribute KeyValue conforming to the +// "network.carrier.mcc" semantic conventions. It represents the mobile carrier +// country code. +func NetworkCarrierMCC(val string) attribute.KeyValue { + return NetworkCarrierMCCKey.String(val) +} + +// NetworkCarrierMNC returns an attribute KeyValue conforming to the +// "network.carrier.mnc" semantic conventions. It represents the mobile carrier +// network code. +func NetworkCarrierMNC(val string) attribute.KeyValue { + return NetworkCarrierMNCKey.String(val) +} + +// NetworkCarrierName returns an attribute KeyValue conforming to the +// "network.carrier.name" semantic conventions. It represents the name of the +// mobile carrier. +func NetworkCarrierName(val string) attribute.KeyValue { + return NetworkCarrierNameKey.String(val) +} + +// NetworkInterfaceName returns an attribute KeyValue conforming to the +// "network.interface.name" semantic conventions. It represents the network +// interface name. +func NetworkInterfaceName(val string) attribute.KeyValue { + return NetworkInterfaceNameKey.String(val) +} + +// NetworkLocalAddress returns an attribute KeyValue conforming to the +// "network.local.address" semantic conventions. It represents the local address +// of the network connection - IP address or Unix domain socket name. +func NetworkLocalAddress(val string) attribute.KeyValue { + return NetworkLocalAddressKey.String(val) +} + +// NetworkLocalPort returns an attribute KeyValue conforming to the +// "network.local.port" semantic conventions. It represents the local port number +// of the network connection. +func NetworkLocalPort(val int) attribute.KeyValue { + return NetworkLocalPortKey.Int(val) +} + +// NetworkPeerAddress returns an attribute KeyValue conforming to the +// "network.peer.address" semantic conventions. It represents the peer address of +// the network connection - IP address or Unix domain socket name. +func NetworkPeerAddress(val string) attribute.KeyValue { + return NetworkPeerAddressKey.String(val) +} + +// NetworkPeerPort returns an attribute KeyValue conforming to the +// "network.peer.port" semantic conventions. It represents the peer port number +// of the network connection. +func NetworkPeerPort(val int) attribute.KeyValue { + return NetworkPeerPortKey.Int(val) +} + +// NetworkProtocolName returns an attribute KeyValue conforming to the +// "network.protocol.name" semantic conventions. It represents the +// [OSI application layer] or non-OSI equivalent. +// +// [OSI application layer]: https://wikipedia.org/wiki/Application_layer +func NetworkProtocolName(val string) attribute.KeyValue { + return NetworkProtocolNameKey.String(val) +} + +// NetworkProtocolVersion returns an attribute KeyValue conforming to the +// "network.protocol.version" semantic conventions. It represents the actual +// version of the protocol used for network communication. +func NetworkProtocolVersion(val string) attribute.KeyValue { + return NetworkProtocolVersionKey.String(val) +} + +// Enum values for network.connection.state +var ( + // closed + // Stability: development + NetworkConnectionStateClosed = NetworkConnectionStateKey.String("closed") + // close_wait + // Stability: development + NetworkConnectionStateCloseWait = NetworkConnectionStateKey.String("close_wait") + // closing + // Stability: development + NetworkConnectionStateClosing = NetworkConnectionStateKey.String("closing") + // established + // Stability: development + NetworkConnectionStateEstablished = NetworkConnectionStateKey.String("established") + // fin_wait_1 + // Stability: development + NetworkConnectionStateFinWait1 = NetworkConnectionStateKey.String("fin_wait_1") + // fin_wait_2 + // Stability: development + NetworkConnectionStateFinWait2 = NetworkConnectionStateKey.String("fin_wait_2") + // last_ack + // Stability: development + NetworkConnectionStateLastAck = NetworkConnectionStateKey.String("last_ack") + // listen + // Stability: development + NetworkConnectionStateListen = NetworkConnectionStateKey.String("listen") + // syn_received + // Stability: development + NetworkConnectionStateSynReceived = NetworkConnectionStateKey.String("syn_received") + // syn_sent + // Stability: development + NetworkConnectionStateSynSent = NetworkConnectionStateKey.String("syn_sent") + // time_wait + // Stability: development + NetworkConnectionStateTimeWait = NetworkConnectionStateKey.String("time_wait") +) + +// Enum values for network.connection.subtype +var ( + // GPRS + // Stability: development + NetworkConnectionSubtypeGprs = NetworkConnectionSubtypeKey.String("gprs") + // EDGE + // Stability: development + NetworkConnectionSubtypeEdge = NetworkConnectionSubtypeKey.String("edge") + // UMTS + // Stability: development + NetworkConnectionSubtypeUmts = NetworkConnectionSubtypeKey.String("umts") + // CDMA + // Stability: development + NetworkConnectionSubtypeCdma = NetworkConnectionSubtypeKey.String("cdma") + // EVDO Rel. 0 + // Stability: development + NetworkConnectionSubtypeEvdo0 = NetworkConnectionSubtypeKey.String("evdo_0") + // EVDO Rev. A + // Stability: development + NetworkConnectionSubtypeEvdoA = NetworkConnectionSubtypeKey.String("evdo_a") + // CDMA2000 1XRTT + // Stability: development + NetworkConnectionSubtypeCdma20001xrtt = NetworkConnectionSubtypeKey.String("cdma2000_1xrtt") + // HSDPA + // Stability: development + NetworkConnectionSubtypeHsdpa = NetworkConnectionSubtypeKey.String("hsdpa") + // HSUPA + // Stability: development + NetworkConnectionSubtypeHsupa = NetworkConnectionSubtypeKey.String("hsupa") + // HSPA + // Stability: development + NetworkConnectionSubtypeHspa = NetworkConnectionSubtypeKey.String("hspa") + // IDEN + // Stability: development + NetworkConnectionSubtypeIden = NetworkConnectionSubtypeKey.String("iden") + // EVDO Rev. B + // Stability: development + NetworkConnectionSubtypeEvdoB = NetworkConnectionSubtypeKey.String("evdo_b") + // LTE + // Stability: development + NetworkConnectionSubtypeLte = NetworkConnectionSubtypeKey.String("lte") + // EHRPD + // Stability: development + NetworkConnectionSubtypeEhrpd = NetworkConnectionSubtypeKey.String("ehrpd") + // HSPAP + // Stability: development + NetworkConnectionSubtypeHspap = NetworkConnectionSubtypeKey.String("hspap") + // GSM + // Stability: development + NetworkConnectionSubtypeGsm = NetworkConnectionSubtypeKey.String("gsm") + // TD-SCDMA + // Stability: development + NetworkConnectionSubtypeTdScdma = NetworkConnectionSubtypeKey.String("td_scdma") + // IWLAN + // Stability: development + NetworkConnectionSubtypeIwlan = NetworkConnectionSubtypeKey.String("iwlan") + // 5G NR (New Radio) + // Stability: development + NetworkConnectionSubtypeNr = NetworkConnectionSubtypeKey.String("nr") + // 5G NRNSA (New Radio Non-Standalone) + // Stability: development + NetworkConnectionSubtypeNrnsa = NetworkConnectionSubtypeKey.String("nrnsa") + // LTE CA + // Stability: development + NetworkConnectionSubtypeLteCa = NetworkConnectionSubtypeKey.String("lte_ca") +) + +// Enum values for network.connection.type +var ( + // wifi + // Stability: development + NetworkConnectionTypeWifi = NetworkConnectionTypeKey.String("wifi") + // wired + // Stability: development + NetworkConnectionTypeWired = NetworkConnectionTypeKey.String("wired") + // cell + // Stability: development + NetworkConnectionTypeCell = NetworkConnectionTypeKey.String("cell") + // unavailable + // Stability: development + NetworkConnectionTypeUnavailable = NetworkConnectionTypeKey.String("unavailable") + // unknown + // Stability: development + NetworkConnectionTypeUnknown = NetworkConnectionTypeKey.String("unknown") +) + +// Enum values for network.io.direction +var ( + // transmit + // Stability: development + NetworkIODirectionTransmit = NetworkIODirectionKey.String("transmit") + // receive + // Stability: development + NetworkIODirectionReceive = NetworkIODirectionKey.String("receive") +) + +// Enum values for network.transport +var ( + // TCP + // Stability: stable + NetworkTransportTCP = NetworkTransportKey.String("tcp") + // UDP + // Stability: stable + NetworkTransportUDP = NetworkTransportKey.String("udp") + // Named or anonymous pipe. + // Stability: stable + NetworkTransportPipe = NetworkTransportKey.String("pipe") + // Unix domain socket + // Stability: stable + NetworkTransportUnix = NetworkTransportKey.String("unix") + // QUIC + // Stability: stable + NetworkTransportQUIC = NetworkTransportKey.String("quic") +) + +// Enum values for network.type +var ( + // IPv4 + // Stability: stable + NetworkTypeIPv4 = NetworkTypeKey.String("ipv4") + // IPv6 + // Stability: stable + NetworkTypeIPv6 = NetworkTypeKey.String("ipv6") +) + +// Namespace: nfs +const ( + // NfsOperationNameKey is the attribute Key conforming to the + // "nfs.operation.name" semantic conventions. It represents the NFSv4+ operation + // name. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "OPEN", "READ", "GETATTR" + NfsOperationNameKey = attribute.Key("nfs.operation.name") + + // NfsServerRepcacheStatusKey is the attribute Key conforming to the + // "nfs.server.repcache.status" semantic conventions. It represents the linux: + // one of "hit" (NFSD_STATS_RC_HITS), "miss" (NFSD_STATS_RC_MISSES), or + // "nocache" (NFSD_STATS_RC_NOCACHE -- uncacheable). + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: hit + NfsServerRepcacheStatusKey = attribute.Key("nfs.server.repcache.status") +) + +// NfsOperationName returns an attribute KeyValue conforming to the +// "nfs.operation.name" semantic conventions. It represents the NFSv4+ operation +// name. +func NfsOperationName(val string) attribute.KeyValue { + return NfsOperationNameKey.String(val) +} + +// NfsServerRepcacheStatus returns an attribute KeyValue conforming to the +// "nfs.server.repcache.status" semantic conventions. It represents the linux: +// one of "hit" (NFSD_STATS_RC_HITS), "miss" (NFSD_STATS_RC_MISSES), or "nocache" +// (NFSD_STATS_RC_NOCACHE -- uncacheable). +func NfsServerRepcacheStatus(val string) attribute.KeyValue { + return NfsServerRepcacheStatusKey.String(val) +} + +// Namespace: oci +const ( + // OCIManifestDigestKey is the attribute Key conforming to the + // "oci.manifest.digest" semantic conventions. It represents the digest of the + // OCI image manifest. For container images specifically is the digest by which + // the container image is known. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // "sha256:e4ca62c0d62f3e886e684806dfe9d4e0cda60d54986898173c1083856cfda0f4" + // Note: Follows [OCI Image Manifest Specification], and specifically the + // [Digest property]. + // An example can be found in [Example Image Manifest]. + // + // [OCI Image Manifest Specification]: https://github.com/opencontainers/image-spec/blob/main/manifest.md + // [Digest property]: https://github.com/opencontainers/image-spec/blob/main/descriptor.md#digests + // [Example Image Manifest]: https://github.com/opencontainers/image-spec/blob/main/manifest.md#example-image-manifest + OCIManifestDigestKey = attribute.Key("oci.manifest.digest") +) + +// OCIManifestDigest returns an attribute KeyValue conforming to the +// "oci.manifest.digest" semantic conventions. It represents the digest of the +// OCI image manifest. For container images specifically is the digest by which +// the container image is known. +func OCIManifestDigest(val string) attribute.KeyValue { + return OCIManifestDigestKey.String(val) +} + +// Namespace: onc_rpc +const ( + // OncRPCProcedureNameKey is the attribute Key conforming to the + // "onc_rpc.procedure.name" semantic conventions. It represents the ONC/Sun RPC + // procedure name. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "OPEN", "READ", "GETATTR" + OncRPCProcedureNameKey = attribute.Key("onc_rpc.procedure.name") + + // OncRPCProcedureNumberKey is the attribute Key conforming to the + // "onc_rpc.procedure.number" semantic conventions. It represents the ONC/Sun + // RPC procedure number. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + OncRPCProcedureNumberKey = attribute.Key("onc_rpc.procedure.number") + + // OncRPCProgramNameKey is the attribute Key conforming to the + // "onc_rpc.program.name" semantic conventions. It represents the ONC/Sun RPC + // program name. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "portmapper", "nfs" + OncRPCProgramNameKey = attribute.Key("onc_rpc.program.name") + + // OncRPCVersionKey is the attribute Key conforming to the "onc_rpc.version" + // semantic conventions. It represents the ONC/Sun RPC program version. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + OncRPCVersionKey = attribute.Key("onc_rpc.version") +) + +// OncRPCProcedureName returns an attribute KeyValue conforming to the +// "onc_rpc.procedure.name" semantic conventions. It represents the ONC/Sun RPC +// procedure name. +func OncRPCProcedureName(val string) attribute.KeyValue { + return OncRPCProcedureNameKey.String(val) +} + +// OncRPCProcedureNumber returns an attribute KeyValue conforming to the +// "onc_rpc.procedure.number" semantic conventions. It represents the ONC/Sun RPC +// procedure number. +func OncRPCProcedureNumber(val int) attribute.KeyValue { + return OncRPCProcedureNumberKey.Int(val) +} + +// OncRPCProgramName returns an attribute KeyValue conforming to the +// "onc_rpc.program.name" semantic conventions. It represents the ONC/Sun RPC +// program name. +func OncRPCProgramName(val string) attribute.KeyValue { + return OncRPCProgramNameKey.String(val) +} + +// OncRPCVersion returns an attribute KeyValue conforming to the +// "onc_rpc.version" semantic conventions. It represents the ONC/Sun RPC program +// version. +func OncRPCVersion(val int) attribute.KeyValue { + return OncRPCVersionKey.Int(val) +} + +// Namespace: openai +const ( + // OpenAIRequestServiceTierKey is the attribute Key conforming to the + // "openai.request.service_tier" semantic conventions. It represents the service + // tier requested. May be a specific tier, default, or auto. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "auto", "default" + OpenAIRequestServiceTierKey = attribute.Key("openai.request.service_tier") + + // OpenAIResponseServiceTierKey is the attribute Key conforming to the + // "openai.response.service_tier" semantic conventions. It represents the + // service tier used for the response. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "scale", "default" + OpenAIResponseServiceTierKey = attribute.Key("openai.response.service_tier") + + // OpenAIResponseSystemFingerprintKey is the attribute Key conforming to the + // "openai.response.system_fingerprint" semantic conventions. It represents a + // fingerprint to track any eventual change in the Generative AI environment. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "fp_44709d6fcb" + OpenAIResponseSystemFingerprintKey = attribute.Key("openai.response.system_fingerprint") +) + +// OpenAIResponseServiceTier returns an attribute KeyValue conforming to the +// "openai.response.service_tier" semantic conventions. It represents the service +// tier used for the response. +func OpenAIResponseServiceTier(val string) attribute.KeyValue { + return OpenAIResponseServiceTierKey.String(val) +} + +// OpenAIResponseSystemFingerprint returns an attribute KeyValue conforming to +// the "openai.response.system_fingerprint" semantic conventions. It represents a +// fingerprint to track any eventual change in the Generative AI environment. +func OpenAIResponseSystemFingerprint(val string) attribute.KeyValue { + return OpenAIResponseSystemFingerprintKey.String(val) +} + +// Enum values for openai.request.service_tier +var ( + // The system will utilize scale tier credits until they are exhausted. + // Stability: development + OpenAIRequestServiceTierAuto = OpenAIRequestServiceTierKey.String("auto") + // The system will utilize the default scale tier. + // Stability: development + OpenAIRequestServiceTierDefault = OpenAIRequestServiceTierKey.String("default") +) + +// Namespace: openshift +const ( + // OpenShiftClusterquotaNameKey is the attribute Key conforming to the + // "openshift.clusterquota.name" semantic conventions. It represents the name of + // the cluster quota. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "opentelemetry" + OpenShiftClusterquotaNameKey = attribute.Key("openshift.clusterquota.name") + + // OpenShiftClusterquotaUIDKey is the attribute Key conforming to the + // "openshift.clusterquota.uid" semantic conventions. It represents the UID of + // the cluster quota. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "275ecb36-5aa8-4c2a-9c47-d8bb681b9aff" + OpenShiftClusterquotaUIDKey = attribute.Key("openshift.clusterquota.uid") +) + +// OpenShiftClusterquotaName returns an attribute KeyValue conforming to the +// "openshift.clusterquota.name" semantic conventions. It represents the name of +// the cluster quota. +func OpenShiftClusterquotaName(val string) attribute.KeyValue { + return OpenShiftClusterquotaNameKey.String(val) +} + +// OpenShiftClusterquotaUID returns an attribute KeyValue conforming to the +// "openshift.clusterquota.uid" semantic conventions. It represents the UID of +// the cluster quota. +func OpenShiftClusterquotaUID(val string) attribute.KeyValue { + return OpenShiftClusterquotaUIDKey.String(val) +} + +// Namespace: opentracing +const ( + // OpenTracingRefTypeKey is the attribute Key conforming to the + // "opentracing.ref_type" semantic conventions. It represents the parent-child + // Reference type. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // Note: The causal relationship between a child Span and a parent Span. + OpenTracingRefTypeKey = attribute.Key("opentracing.ref_type") +) + +// Enum values for opentracing.ref_type +var ( + // The parent Span depends on the child Span in some capacity + // Stability: development + OpenTracingRefTypeChildOf = OpenTracingRefTypeKey.String("child_of") + // The parent Span doesn't depend in any way on the result of the child Span + // Stability: development + OpenTracingRefTypeFollowsFrom = OpenTracingRefTypeKey.String("follows_from") +) + +// Namespace: os +const ( + // OSBuildIDKey is the attribute Key conforming to the "os.build_id" semantic + // conventions. It represents the unique identifier for a particular build or + // compilation of the operating system. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "TQ3C.230805.001.B2", "20E247", "22621" + OSBuildIDKey = attribute.Key("os.build_id") + + // OSDescriptionKey is the attribute Key conforming to the "os.description" + // semantic conventions. It represents the human readable (not intended to be + // parsed) OS version information, like e.g. reported by `ver` or + // `lsb_release -a` commands. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Microsoft Windows [Version 10.0.18363.778]", "Ubuntu 18.04.1 LTS" + OSDescriptionKey = attribute.Key("os.description") + + // OSNameKey is the attribute Key conforming to the "os.name" semantic + // conventions. It represents the human readable operating system name. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "iOS", "Android", "Ubuntu" + OSNameKey = attribute.Key("os.name") + + // OSTypeKey is the attribute Key conforming to the "os.type" semantic + // conventions. It represents the operating system type. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + OSTypeKey = attribute.Key("os.type") + + // OSVersionKey is the attribute Key conforming to the "os.version" semantic + // conventions. It represents the version string of the operating system as + // defined in [Version Attributes]. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "14.2.1", "18.04.1" + // + // [Version Attributes]: /docs/resource/README.md#version-attributes + OSVersionKey = attribute.Key("os.version") +) + +// OSBuildID returns an attribute KeyValue conforming to the "os.build_id" +// semantic conventions. It represents the unique identifier for a particular +// build or compilation of the operating system. +func OSBuildID(val string) attribute.KeyValue { + return OSBuildIDKey.String(val) +} + +// OSDescription returns an attribute KeyValue conforming to the "os.description" +// semantic conventions. It represents the human readable (not intended to be +// parsed) OS version information, like e.g. reported by `ver` or +// `lsb_release -a` commands. +func OSDescription(val string) attribute.KeyValue { + return OSDescriptionKey.String(val) +} + +// OSName returns an attribute KeyValue conforming to the "os.name" semantic +// conventions. It represents the human readable operating system name. +func OSName(val string) attribute.KeyValue { + return OSNameKey.String(val) +} + +// OSVersion returns an attribute KeyValue conforming to the "os.version" +// semantic conventions. It represents the version string of the operating system +// as defined in [Version Attributes]. +// +// [Version Attributes]: /docs/resource/README.md#version-attributes +func OSVersion(val string) attribute.KeyValue { + return OSVersionKey.String(val) +} + +// Enum values for os.type +var ( + // Microsoft Windows + // Stability: development + OSTypeWindows = OSTypeKey.String("windows") + // Linux + // Stability: development + OSTypeLinux = OSTypeKey.String("linux") + // Apple Darwin + // Stability: development + OSTypeDarwin = OSTypeKey.String("darwin") + // FreeBSD + // Stability: development + OSTypeFreeBSD = OSTypeKey.String("freebsd") + // NetBSD + // Stability: development + OSTypeNetBSD = OSTypeKey.String("netbsd") + // OpenBSD + // Stability: development + OSTypeOpenBSD = OSTypeKey.String("openbsd") + // DragonFly BSD + // Stability: development + OSTypeDragonflyBSD = OSTypeKey.String("dragonflybsd") + // HP-UX (Hewlett Packard Unix) + // Stability: development + OSTypeHPUX = OSTypeKey.String("hpux") + // AIX (Advanced Interactive eXecutive) + // Stability: development + OSTypeAIX = OSTypeKey.String("aix") + // SunOS, Oracle Solaris + // Stability: development + OSTypeSolaris = OSTypeKey.String("solaris") + // IBM z/OS + // Stability: development + OSTypeZOS = OSTypeKey.String("zos") +) + +// Namespace: otel +const ( + // OTelComponentNameKey is the attribute Key conforming to the + // "otel.component.name" semantic conventions. It represents a name uniquely + // identifying the instance of the OpenTelemetry component within its containing + // SDK instance. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "otlp_grpc_span_exporter/0", "custom-name" + // Note: Implementations SHOULD ensure a low cardinality for this attribute, + // even across application or SDK restarts. + // E.g. implementations MUST NOT use UUIDs as values for this attribute. + // + // Implementations MAY achieve these goals by following a + // `/` pattern, e.g. + // `batching_span_processor/0`. + // Hereby `otel.component.type` refers to the corresponding attribute value of + // the component. + // + // The value of `instance-counter` MAY be automatically assigned by the + // component and uniqueness within the enclosing SDK instance MUST be + // guaranteed. + // For example, `` MAY be implemented by using a monotonically + // increasing counter (starting with `0`), which is incremented every time an + // instance of the given component type is started. + // + // With this implementation, for example the first Batching Span Processor would + // have `batching_span_processor/0` + // as `otel.component.name`, the second one `batching_span_processor/1` and so + // on. + // These values will therefore be reused in the case of an application restart. + OTelComponentNameKey = attribute.Key("otel.component.name") + + // OTelComponentTypeKey is the attribute Key conforming to the + // "otel.component.type" semantic conventions. It represents a name identifying + // the type of the OpenTelemetry component. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "batching_span_processor", "com.example.MySpanExporter" + // Note: If none of the standardized values apply, implementations SHOULD use + // the language-defined name of the type. + // E.g. for Java the fully qualified classname SHOULD be used in this case. + OTelComponentTypeKey = attribute.Key("otel.component.type") + + // OTelEventNameKey is the attribute Key conforming to the "otel.event.name" + // semantic conventions. It represents the identifies the class / type of event. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "browser.mouse.click", "device.app.lifecycle" + // Note: This attribute SHOULD be used by non-OTLP exporters when destination + // does not support `EventName` or equivalent field. This attribute MAY be used + // by applications using existing logging libraries so that it can be used to + // set the `EventName` field by Collector or SDK components. + OTelEventNameKey = attribute.Key("otel.event.name") + + // OTelScopeNameKey is the attribute Key conforming to the "otel.scope.name" + // semantic conventions. It represents the name of the instrumentation scope - ( + // `InstrumentationScope.Name` in OTLP). + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "io.opentelemetry.contrib.mongodb" + OTelScopeNameKey = attribute.Key("otel.scope.name") + + // OTelScopeSchemaURLKey is the attribute Key conforming to the + // "otel.scope.schema_url" semantic conventions. It represents the schema URL of + // the instrumentation scope. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "https://opentelemetry.io/schemas/1.31.0" + OTelScopeSchemaURLKey = attribute.Key("otel.scope.schema_url") + + // OTelScopeVersionKey is the attribute Key conforming to the + // "otel.scope.version" semantic conventions. It represents the version of the + // instrumentation scope - (`InstrumentationScope.Version` in OTLP). + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "1.0.0" + OTelScopeVersionKey = attribute.Key("otel.scope.version") + + // OTelSpanParentOriginKey is the attribute Key conforming to the + // "otel.span.parent.origin" semantic conventions. It represents the determines + // whether the span has a parent span, and if so, + // [whether it is a remote parent]. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // + // [whether it is a remote parent]: https://opentelemetry.io/docs/specs/otel/trace/api/#isremote + OTelSpanParentOriginKey = attribute.Key("otel.span.parent.origin") + + // OTelSpanSamplingResultKey is the attribute Key conforming to the + // "otel.span.sampling_result" semantic conventions. It represents the result + // value of the sampler for this span. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + OTelSpanSamplingResultKey = attribute.Key("otel.span.sampling_result") + + // OTelStatusCodeKey is the attribute Key conforming to the "otel.status_code" + // semantic conventions. It represents the name of the code, either "OK" or + // "ERROR". MUST NOT be set if the status code is UNSET. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: + OTelStatusCodeKey = attribute.Key("otel.status_code") + + // OTelStatusDescriptionKey is the attribute Key conforming to the + // "otel.status_description" semantic conventions. It represents the description + // of the Status if it has a value, otherwise not set. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "resource not found" + OTelStatusDescriptionKey = attribute.Key("otel.status_description") +) + +// OTelComponentName returns an attribute KeyValue conforming to the +// "otel.component.name" semantic conventions. It represents a name uniquely +// identifying the instance of the OpenTelemetry component within its containing +// SDK instance. +func OTelComponentName(val string) attribute.KeyValue { + return OTelComponentNameKey.String(val) +} + +// OTelEventName returns an attribute KeyValue conforming to the +// "otel.event.name" semantic conventions. It represents the identifies the class +// / type of event. +func OTelEventName(val string) attribute.KeyValue { + return OTelEventNameKey.String(val) +} + +// OTelScopeName returns an attribute KeyValue conforming to the +// "otel.scope.name" semantic conventions. It represents the name of the +// instrumentation scope - (`InstrumentationScope.Name` in OTLP). +func OTelScopeName(val string) attribute.KeyValue { + return OTelScopeNameKey.String(val) +} + +// OTelScopeSchemaURL returns an attribute KeyValue conforming to the +// "otel.scope.schema_url" semantic conventions. It represents the schema URL of +// the instrumentation scope. +func OTelScopeSchemaURL(val string) attribute.KeyValue { + return OTelScopeSchemaURLKey.String(val) +} + +// OTelScopeVersion returns an attribute KeyValue conforming to the +// "otel.scope.version" semantic conventions. It represents the version of the +// instrumentation scope - (`InstrumentationScope.Version` in OTLP). +func OTelScopeVersion(val string) attribute.KeyValue { + return OTelScopeVersionKey.String(val) +} + +// OTelStatusDescription returns an attribute KeyValue conforming to the +// "otel.status_description" semantic conventions. It represents the description +// of the Status if it has a value, otherwise not set. +func OTelStatusDescription(val string) attribute.KeyValue { + return OTelStatusDescriptionKey.String(val) +} + +// Enum values for otel.component.type +var ( + // The builtin SDK batching span processor + // + // Stability: development + OTelComponentTypeBatchingSpanProcessor = OTelComponentTypeKey.String("batching_span_processor") + // The builtin SDK simple span processor + // + // Stability: development + OTelComponentTypeSimpleSpanProcessor = OTelComponentTypeKey.String("simple_span_processor") + // The builtin SDK batching log record processor + // + // Stability: development + OTelComponentTypeBatchingLogProcessor = OTelComponentTypeKey.String("batching_log_processor") + // The builtin SDK simple log record processor + // + // Stability: development + OTelComponentTypeSimpleLogProcessor = OTelComponentTypeKey.String("simple_log_processor") + // OTLP span exporter over gRPC with protobuf serialization + // + // Stability: development + OTelComponentTypeOtlpGRPCSpanExporter = OTelComponentTypeKey.String("otlp_grpc_span_exporter") + // OTLP span exporter over HTTP with protobuf serialization + // + // Stability: development + OTelComponentTypeOtlpHTTPSpanExporter = OTelComponentTypeKey.String("otlp_http_span_exporter") + // OTLP span exporter over HTTP with JSON serialization + // + // Stability: development + OTelComponentTypeOtlpHTTPJSONSpanExporter = OTelComponentTypeKey.String("otlp_http_json_span_exporter") + // Zipkin span exporter over HTTP + // + // Stability: development + OTelComponentTypeZipkinHTTPSpanExporter = OTelComponentTypeKey.String("zipkin_http_span_exporter") + // OTLP log record exporter over gRPC with protobuf serialization + // + // Stability: development + OTelComponentTypeOtlpGRPCLogExporter = OTelComponentTypeKey.String("otlp_grpc_log_exporter") + // OTLP log record exporter over HTTP with protobuf serialization + // + // Stability: development + OTelComponentTypeOtlpHTTPLogExporter = OTelComponentTypeKey.String("otlp_http_log_exporter") + // OTLP log record exporter over HTTP with JSON serialization + // + // Stability: development + OTelComponentTypeOtlpHTTPJSONLogExporter = OTelComponentTypeKey.String("otlp_http_json_log_exporter") + // The builtin SDK periodically exporting metric reader + // + // Stability: development + OTelComponentTypePeriodicMetricReader = OTelComponentTypeKey.String("periodic_metric_reader") + // OTLP metric exporter over gRPC with protobuf serialization + // + // Stability: development + OTelComponentTypeOtlpGRPCMetricExporter = OTelComponentTypeKey.String("otlp_grpc_metric_exporter") + // OTLP metric exporter over HTTP with protobuf serialization + // + // Stability: development + OTelComponentTypeOtlpHTTPMetricExporter = OTelComponentTypeKey.String("otlp_http_metric_exporter") + // OTLP metric exporter over HTTP with JSON serialization + // + // Stability: development + OTelComponentTypeOtlpHTTPJSONMetricExporter = OTelComponentTypeKey.String("otlp_http_json_metric_exporter") + // Prometheus metric exporter over HTTP with the default text-based format + // + // Stability: development + OTelComponentTypePrometheusHTTPTextMetricExporter = OTelComponentTypeKey.String("prometheus_http_text_metric_exporter") +) + +// Enum values for otel.span.parent.origin +var ( + // The span does not have a parent, it is a root span + // Stability: development + OTelSpanParentOriginNone = OTelSpanParentOriginKey.String("none") + // The span has a parent and the parent's span context [isRemote()] is false + // Stability: development + // + // [isRemote()]: https://opentelemetry.io/docs/specs/otel/trace/api/#isremote + OTelSpanParentOriginLocal = OTelSpanParentOriginKey.String("local") + // The span has a parent and the parent's span context [isRemote()] is true + // Stability: development + // + // [isRemote()]: https://opentelemetry.io/docs/specs/otel/trace/api/#isremote + OTelSpanParentOriginRemote = OTelSpanParentOriginKey.String("remote") +) + +// Enum values for otel.span.sampling_result +var ( + // The span is not sampled and not recording + // Stability: development + OTelSpanSamplingResultDrop = OTelSpanSamplingResultKey.String("DROP") + // The span is not sampled, but recording + // Stability: development + OTelSpanSamplingResultRecordOnly = OTelSpanSamplingResultKey.String("RECORD_ONLY") + // The span is sampled and recording + // Stability: development + OTelSpanSamplingResultRecordAndSample = OTelSpanSamplingResultKey.String("RECORD_AND_SAMPLE") +) + +// Enum values for otel.status_code +var ( + // The operation has been validated by an Application developer or Operator to + // have completed successfully. + // Stability: stable + OTelStatusCodeOk = OTelStatusCodeKey.String("OK") + // The operation contains an error. + // Stability: stable + OTelStatusCodeError = OTelStatusCodeKey.String("ERROR") +) + +// Namespace: pprof +const ( + // PprofLocationIsFoldedKey is the attribute Key conforming to the + // "pprof.location.is_folded" semantic conventions. It represents the provides + // an indication that multiple symbols map to this location's address, for + // example due to identical code folding by the linker. In that case the line + // information represents one of the multiple symbols. This field must be + // recomputed when the symbolization state of the profile changes. + // + // Type: boolean + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + PprofLocationIsFoldedKey = attribute.Key("pprof.location.is_folded") + + // PprofMappingHasFilenamesKey is the attribute Key conforming to the + // "pprof.mapping.has_filenames" semantic conventions. It represents the + // indicates that there are filenames related to this mapping. + // + // Type: boolean + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + PprofMappingHasFilenamesKey = attribute.Key("pprof.mapping.has_filenames") + + // PprofMappingHasFunctionsKey is the attribute Key conforming to the + // "pprof.mapping.has_functions" semantic conventions. It represents the + // indicates that there are functions related to this mapping. + // + // Type: boolean + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + PprofMappingHasFunctionsKey = attribute.Key("pprof.mapping.has_functions") + + // PprofMappingHasInlineFramesKey is the attribute Key conforming to the + // "pprof.mapping.has_inline_frames" semantic conventions. It represents the + // indicates that there are inline frames related to this mapping. + // + // Type: boolean + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + PprofMappingHasInlineFramesKey = attribute.Key("pprof.mapping.has_inline_frames") + + // PprofMappingHasLineNumbersKey is the attribute Key conforming to the + // "pprof.mapping.has_line_numbers" semantic conventions. It represents the + // indicates that there are line numbers related to this mapping. + // + // Type: boolean + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + PprofMappingHasLineNumbersKey = attribute.Key("pprof.mapping.has_line_numbers") + + // PprofProfileCommentKey is the attribute Key conforming to the + // "pprof.profile.comment" semantic conventions. It represents the free-form + // text associated with the profile. This field should not be used to store any + // machine-readable information, it is only for human-friendly content. + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "hello world", "bazinga" + PprofProfileCommentKey = attribute.Key("pprof.profile.comment") + + // PprofProfileDocURLKey is the attribute Key conforming to the + // "pprof.profile.doc_url" semantic conventions. It represents the documentation + // link for this profile type. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "http://pprof.example.com/cpu-profile.html" + // Note: The URL must be absolute and may be missing if the profile was + // generated by code that did not supply a link + PprofProfileDocURLKey = attribute.Key("pprof.profile.doc_url") + + // PprofProfileDropFramesKey is the attribute Key conforming to the + // "pprof.profile.drop_frames" semantic conventions. It represents the frames + // with Function.function_name fully matching the regexp will be dropped from + // the samples, along with their successors. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "/foobar/" + PprofProfileDropFramesKey = attribute.Key("pprof.profile.drop_frames") + + // PprofProfileKeepFramesKey is the attribute Key conforming to the + // "pprof.profile.keep_frames" semantic conventions. It represents the frames + // with Function.function_name fully matching the regexp will be kept, even if + // it matches drop_frames. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "/bazinga/" + PprofProfileKeepFramesKey = attribute.Key("pprof.profile.keep_frames") +) + +// PprofLocationIsFolded returns an attribute KeyValue conforming to the +// "pprof.location.is_folded" semantic conventions. It represents the provides an +// indication that multiple symbols map to this location's address, for example +// due to identical code folding by the linker. In that case the line information +// represents one of the multiple symbols. This field must be recomputed when the +// symbolization state of the profile changes. +func PprofLocationIsFolded(val bool) attribute.KeyValue { + return PprofLocationIsFoldedKey.Bool(val) +} + +// PprofMappingHasFilenames returns an attribute KeyValue conforming to the +// "pprof.mapping.has_filenames" semantic conventions. It represents the +// indicates that there are filenames related to this mapping. +func PprofMappingHasFilenames(val bool) attribute.KeyValue { + return PprofMappingHasFilenamesKey.Bool(val) +} + +// PprofMappingHasFunctions returns an attribute KeyValue conforming to the +// "pprof.mapping.has_functions" semantic conventions. It represents the +// indicates that there are functions related to this mapping. +func PprofMappingHasFunctions(val bool) attribute.KeyValue { + return PprofMappingHasFunctionsKey.Bool(val) +} + +// PprofMappingHasInlineFrames returns an attribute KeyValue conforming to the +// "pprof.mapping.has_inline_frames" semantic conventions. It represents the +// indicates that there are inline frames related to this mapping. +func PprofMappingHasInlineFrames(val bool) attribute.KeyValue { + return PprofMappingHasInlineFramesKey.Bool(val) +} + +// PprofMappingHasLineNumbers returns an attribute KeyValue conforming to the +// "pprof.mapping.has_line_numbers" semantic conventions. It represents the +// indicates that there are line numbers related to this mapping. +func PprofMappingHasLineNumbers(val bool) attribute.KeyValue { + return PprofMappingHasLineNumbersKey.Bool(val) +} + +// PprofProfileComment returns an attribute KeyValue conforming to the +// "pprof.profile.comment" semantic conventions. It represents the free-form text +// associated with the profile. This field should not be used to store any +// machine-readable information, it is only for human-friendly content. +func PprofProfileComment(val ...string) attribute.KeyValue { + return PprofProfileCommentKey.StringSlice(val) +} + +// PprofProfileDocURL returns an attribute KeyValue conforming to the +// "pprof.profile.doc_url" semantic conventions. It represents the documentation +// link for this profile type. +func PprofProfileDocURL(val string) attribute.KeyValue { + return PprofProfileDocURLKey.String(val) +} + +// PprofProfileDropFrames returns an attribute KeyValue conforming to the +// "pprof.profile.drop_frames" semantic conventions. It represents the frames +// with Function.function_name fully matching the regexp will be dropped from the +// samples, along with their successors. +func PprofProfileDropFrames(val string) attribute.KeyValue { + return PprofProfileDropFramesKey.String(val) +} + +// PprofProfileKeepFrames returns an attribute KeyValue conforming to the +// "pprof.profile.keep_frames" semantic conventions. It represents the frames +// with Function.function_name fully matching the regexp will be kept, even if it +// matches drop_frames. +func PprofProfileKeepFrames(val string) attribute.KeyValue { + return PprofProfileKeepFramesKey.String(val) +} + +// Namespace: process +const ( + // ProcessArgsCountKey is the attribute Key conforming to the + // "process.args_count" semantic conventions. It represents the length of the + // process.command_args array. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 4 + // Note: This field can be useful for querying or performing bucket analysis on + // how many arguments were provided to start a process. More arguments may be an + // indication of suspicious activity. + ProcessArgsCountKey = attribute.Key("process.args_count") + + // ProcessCommandKey is the attribute Key conforming to the "process.command" + // semantic conventions. It represents the command used to launch the process + // (i.e. the command name). On Linux based systems, can be set to the zeroth + // string in `proc/[pid]/cmdline`. On Windows, can be set to the first parameter + // extracted from `GetCommandLineW`. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "cmd/otelcol" + ProcessCommandKey = attribute.Key("process.command") + + // ProcessCommandArgsKey is the attribute Key conforming to the + // "process.command_args" semantic conventions. It represents the all the + // command arguments (including the command/executable itself) as received by + // the process. On Linux-based systems (and some other Unixoid systems + // supporting procfs), can be set according to the list of null-delimited + // strings extracted from `proc/[pid]/cmdline`. For libc-based executables, this + // would be the full argv vector passed to `main`. SHOULD NOT be collected by + // default unless there is sanitization that excludes sensitive data. + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "cmd/otecol", "--config=config.yaml" + ProcessCommandArgsKey = attribute.Key("process.command_args") + + // ProcessCommandLineKey is the attribute Key conforming to the + // "process.command_line" semantic conventions. It represents the full command + // used to launch the process as a single string representing the full command. + // On Windows, can be set to the result of `GetCommandLineW`. Do not set this if + // you have to assemble it just for monitoring; use `process.command_args` + // instead. SHOULD NOT be collected by default unless there is sanitization that + // excludes sensitive data. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "C:\cmd\otecol --config="my directory\config.yaml"" + ProcessCommandLineKey = attribute.Key("process.command_line") + + // ProcessContextSwitchTypeKey is the attribute Key conforming to the + // "process.context_switch.type" semantic conventions. It represents the + // specifies whether the context switches for this data point were voluntary or + // involuntary. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + ProcessContextSwitchTypeKey = attribute.Key("process.context_switch.type") + + // ProcessCreationTimeKey is the attribute Key conforming to the + // "process.creation.time" semantic conventions. It represents the date and time + // the process was created, in ISO 8601 format. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "2023-11-21T09:25:34.853Z" + ProcessCreationTimeKey = attribute.Key("process.creation.time") + + // ProcessExecutableBuildIDGNUKey is the attribute Key conforming to the + // "process.executable.build_id.gnu" semantic conventions. It represents the GNU + // build ID as found in the `.note.gnu.build-id` ELF section (hex string). + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "c89b11207f6479603b0d49bf291c092c2b719293" + ProcessExecutableBuildIDGNUKey = attribute.Key("process.executable.build_id.gnu") + + // ProcessExecutableBuildIDGoKey is the attribute Key conforming to the + // "process.executable.build_id.go" semantic conventions. It represents the Go + // build ID as retrieved by `go tool buildid `. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // "foh3mEXu7BLZjsN9pOwG/kATcXlYVCDEFouRMQed_/WwRFB1hPo9LBkekthSPG/x8hMC8emW2cCjXD0_1aY" + ProcessExecutableBuildIDGoKey = attribute.Key("process.executable.build_id.go") + + // ProcessExecutableBuildIDHtlhashKey is the attribute Key conforming to the + // "process.executable.build_id.htlhash" semantic conventions. It represents the + // profiling specific build ID for executables. See the OTel specification for + // Profiles for more information. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "600DCAFE4A110000F2BF38C493F5FB92" + ProcessExecutableBuildIDHtlhashKey = attribute.Key("process.executable.build_id.htlhash") + + // ProcessExecutableNameKey is the attribute Key conforming to the + // "process.executable.name" semantic conventions. It represents the name of the + // process executable. On Linux based systems, this SHOULD be set to the base + // name of the target of `/proc/[pid]/exe`. On Windows, this SHOULD be set to + // the base name of `GetProcessImageFileNameW`. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "otelcol" + ProcessExecutableNameKey = attribute.Key("process.executable.name") + + // ProcessExecutablePathKey is the attribute Key conforming to the + // "process.executable.path" semantic conventions. It represents the full path + // to the process executable. On Linux based systems, can be set to the target + // of `proc/[pid]/exe`. On Windows, can be set to the result of + // `GetProcessImageFileNameW`. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "/usr/bin/cmd/otelcol" + ProcessExecutablePathKey = attribute.Key("process.executable.path") + + // ProcessExitCodeKey is the attribute Key conforming to the "process.exit.code" + // semantic conventions. It represents the exit code of the process. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 127 + ProcessExitCodeKey = attribute.Key("process.exit.code") + + // ProcessExitTimeKey is the attribute Key conforming to the "process.exit.time" + // semantic conventions. It represents the date and time the process exited, in + // ISO 8601 format. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "2023-11-21T09:26:12.315Z" + ProcessExitTimeKey = attribute.Key("process.exit.time") + + // ProcessGroupLeaderPIDKey is the attribute Key conforming to the + // "process.group_leader.pid" semantic conventions. It represents the PID of the + // process's group leader. This is also the process group ID (PGID) of the + // process. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 23 + ProcessGroupLeaderPIDKey = attribute.Key("process.group_leader.pid") + + // ProcessInteractiveKey is the attribute Key conforming to the + // "process.interactive" semantic conventions. It represents the whether the + // process is connected to an interactive shell. + // + // Type: boolean + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + ProcessInteractiveKey = attribute.Key("process.interactive") + + // ProcessLinuxCgroupKey is the attribute Key conforming to the + // "process.linux.cgroup" semantic conventions. It represents the control group + // associated with the process. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "1:name=systemd:/user.slice/user-1000.slice/session-3.scope", + // "0::/user.slice/user-1000.slice/user@1000.service/tmux-spawn-0267755b-4639-4a27-90ed-f19f88e53748.scope" + // Note: Control groups (cgroups) are a kernel feature used to organize and + // manage process resources. This attribute provides the path(s) to the + // cgroup(s) associated with the process, which should match the contents of the + // [/proc/[PID]/cgroup] file. + // + // [/proc/[PID]/cgroup]: https://man7.org/linux/man-pages/man7/cgroups.7.html + ProcessLinuxCgroupKey = attribute.Key("process.linux.cgroup") + + // ProcessOwnerKey is the attribute Key conforming to the "process.owner" + // semantic conventions. It represents the username of the user that owns the + // process. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "root" + ProcessOwnerKey = attribute.Key("process.owner") + + // ProcessParentPIDKey is the attribute Key conforming to the + // "process.parent_pid" semantic conventions. It represents the parent Process + // identifier (PPID). + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 111 + ProcessParentPIDKey = attribute.Key("process.parent_pid") + + // ProcessPIDKey is the attribute Key conforming to the "process.pid" semantic + // conventions. It represents the process identifier (PID). + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 1234 + ProcessPIDKey = attribute.Key("process.pid") + + // ProcessRealUserIDKey is the attribute Key conforming to the + // "process.real_user.id" semantic conventions. It represents the real user ID + // (RUID) of the process. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 1000 + ProcessRealUserIDKey = attribute.Key("process.real_user.id") + + // ProcessRealUserNameKey is the attribute Key conforming to the + // "process.real_user.name" semantic conventions. It represents the username of + // the real user of the process. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "operator" + ProcessRealUserNameKey = attribute.Key("process.real_user.name") + + // ProcessRuntimeDescriptionKey is the attribute Key conforming to the + // "process.runtime.description" semantic conventions. It represents an + // additional description about the runtime of the process, for example a + // specific vendor customization of the runtime environment. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: Eclipse OpenJ9 Eclipse OpenJ9 VM openj9-0.21.0 + ProcessRuntimeDescriptionKey = attribute.Key("process.runtime.description") + + // ProcessRuntimeNameKey is the attribute Key conforming to the + // "process.runtime.name" semantic conventions. It represents the name of the + // runtime of this process. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "OpenJDK Runtime Environment" + ProcessRuntimeNameKey = attribute.Key("process.runtime.name") + + // ProcessRuntimeVersionKey is the attribute Key conforming to the + // "process.runtime.version" semantic conventions. It represents the version of + // the runtime of this process, as returned by the runtime without modification. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 14.0.2 + ProcessRuntimeVersionKey = attribute.Key("process.runtime.version") + + // ProcessSavedUserIDKey is the attribute Key conforming to the + // "process.saved_user.id" semantic conventions. It represents the saved user ID + // (SUID) of the process. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 1002 + ProcessSavedUserIDKey = attribute.Key("process.saved_user.id") + + // ProcessSavedUserNameKey is the attribute Key conforming to the + // "process.saved_user.name" semantic conventions. It represents the username of + // the saved user. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "operator" + ProcessSavedUserNameKey = attribute.Key("process.saved_user.name") + + // ProcessSessionLeaderPIDKey is the attribute Key conforming to the + // "process.session_leader.pid" semantic conventions. It represents the PID of + // the process's session leader. This is also the session ID (SID) of the + // process. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 14 + ProcessSessionLeaderPIDKey = attribute.Key("process.session_leader.pid") + + // ProcessStateKey is the attribute Key conforming to the "process.state" + // semantic conventions. It represents the process state, e.g., + // [Linux Process State Codes]. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "running" + // + // [Linux Process State Codes]: https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES + ProcessStateKey = attribute.Key("process.state") + + // ProcessTitleKey is the attribute Key conforming to the "process.title" + // semantic conventions. It represents the process title (proctitle). + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "cat /etc/hostname", "xfce4-session", "bash" + // Note: In many Unix-like systems, process title (proctitle), is the string + // that represents the name or command line of a running process, displayed by + // system monitoring tools like ps, top, and htop. + ProcessTitleKey = attribute.Key("process.title") + + // ProcessUserIDKey is the attribute Key conforming to the "process.user.id" + // semantic conventions. It represents the effective user ID (EUID) of the + // process. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 1001 + ProcessUserIDKey = attribute.Key("process.user.id") + + // ProcessUserNameKey is the attribute Key conforming to the "process.user.name" + // semantic conventions. It represents the username of the effective user of the + // process. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "root" + ProcessUserNameKey = attribute.Key("process.user.name") + + // ProcessVpidKey is the attribute Key conforming to the "process.vpid" semantic + // conventions. It represents the virtual process identifier. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 12 + // Note: The process ID within a PID namespace. This is not necessarily unique + // across all processes on the host but it is unique within the process + // namespace that the process exists within. + ProcessVpidKey = attribute.Key("process.vpid") + + // ProcessWorkingDirectoryKey is the attribute Key conforming to the + // "process.working_directory" semantic conventions. It represents the working + // directory of the process. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "/root" + ProcessWorkingDirectoryKey = attribute.Key("process.working_directory") +) + +// ProcessArgsCount returns an attribute KeyValue conforming to the +// "process.args_count" semantic conventions. It represents the length of the +// process.command_args array. +func ProcessArgsCount(val int) attribute.KeyValue { + return ProcessArgsCountKey.Int(val) +} + +// ProcessCommand returns an attribute KeyValue conforming to the +// "process.command" semantic conventions. It represents the command used to +// launch the process (i.e. the command name). On Linux based systems, can be set +// to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to the +// first parameter extracted from `GetCommandLineW`. +func ProcessCommand(val string) attribute.KeyValue { + return ProcessCommandKey.String(val) +} + +// ProcessCommandArgs returns an attribute KeyValue conforming to the +// "process.command_args" semantic conventions. It represents the all the command +// arguments (including the command/executable itself) as received by the +// process. On Linux-based systems (and some other Unixoid systems supporting +// procfs), can be set according to the list of null-delimited strings extracted +// from `proc/[pid]/cmdline`. For libc-based executables, this would be the full +// argv vector passed to `main`. SHOULD NOT be collected by default unless there +// is sanitization that excludes sensitive data. +func ProcessCommandArgs(val ...string) attribute.KeyValue { + return ProcessCommandArgsKey.StringSlice(val) +} + +// ProcessCommandLine returns an attribute KeyValue conforming to the +// "process.command_line" semantic conventions. It represents the full command +// used to launch the process as a single string representing the full command. +// On Windows, can be set to the result of `GetCommandLineW`. Do not set this if +// you have to assemble it just for monitoring; use `process.command_args` +// instead. SHOULD NOT be collected by default unless there is sanitization that +// excludes sensitive data. +func ProcessCommandLine(val string) attribute.KeyValue { + return ProcessCommandLineKey.String(val) +} + +// ProcessCreationTime returns an attribute KeyValue conforming to the +// "process.creation.time" semantic conventions. It represents the date and time +// the process was created, in ISO 8601 format. +func ProcessCreationTime(val string) attribute.KeyValue { + return ProcessCreationTimeKey.String(val) +} + +// ProcessEnvironmentVariable returns an attribute KeyValue conforming to the +// "process.environment_variable" semantic conventions. It represents the process +// environment variables, `` being the environment variable name, the value +// being the environment variable value. +func ProcessEnvironmentVariable(key string, val string) attribute.KeyValue { + return attribute.String("process.environment_variable."+key, val) +} + +// ProcessExecutableBuildIDGNU returns an attribute KeyValue conforming to the +// "process.executable.build_id.gnu" semantic conventions. It represents the GNU +// build ID as found in the `.note.gnu.build-id` ELF section (hex string). +func ProcessExecutableBuildIDGNU(val string) attribute.KeyValue { + return ProcessExecutableBuildIDGNUKey.String(val) +} + +// ProcessExecutableBuildIDGo returns an attribute KeyValue conforming to the +// "process.executable.build_id.go" semantic conventions. It represents the Go +// build ID as retrieved by `go tool buildid `. +func ProcessExecutableBuildIDGo(val string) attribute.KeyValue { + return ProcessExecutableBuildIDGoKey.String(val) +} + +// ProcessExecutableBuildIDHtlhash returns an attribute KeyValue conforming to +// the "process.executable.build_id.htlhash" semantic conventions. It represents +// the profiling specific build ID for executables. See the OTel specification +// for Profiles for more information. +func ProcessExecutableBuildIDHtlhash(val string) attribute.KeyValue { + return ProcessExecutableBuildIDHtlhashKey.String(val) +} + +// ProcessExecutableName returns an attribute KeyValue conforming to the +// "process.executable.name" semantic conventions. It represents the name of the +// process executable. On Linux based systems, this SHOULD be set to the base +// name of the target of `/proc/[pid]/exe`. On Windows, this SHOULD be set to the +// base name of `GetProcessImageFileNameW`. +func ProcessExecutableName(val string) attribute.KeyValue { + return ProcessExecutableNameKey.String(val) +} + +// ProcessExecutablePath returns an attribute KeyValue conforming to the +// "process.executable.path" semantic conventions. It represents the full path to +// the process executable. On Linux based systems, can be set to the target of +// `proc/[pid]/exe`. On Windows, can be set to the result of +// `GetProcessImageFileNameW`. +func ProcessExecutablePath(val string) attribute.KeyValue { + return ProcessExecutablePathKey.String(val) +} + +// ProcessExitCode returns an attribute KeyValue conforming to the +// "process.exit.code" semantic conventions. It represents the exit code of the +// process. +func ProcessExitCode(val int) attribute.KeyValue { + return ProcessExitCodeKey.Int(val) +} + +// ProcessExitTime returns an attribute KeyValue conforming to the +// "process.exit.time" semantic conventions. It represents the date and time the +// process exited, in ISO 8601 format. +func ProcessExitTime(val string) attribute.KeyValue { + return ProcessExitTimeKey.String(val) +} + +// ProcessGroupLeaderPID returns an attribute KeyValue conforming to the +// "process.group_leader.pid" semantic conventions. It represents the PID of the +// process's group leader. This is also the process group ID (PGID) of the +// process. +func ProcessGroupLeaderPID(val int) attribute.KeyValue { + return ProcessGroupLeaderPIDKey.Int(val) +} + +// ProcessInteractive returns an attribute KeyValue conforming to the +// "process.interactive" semantic conventions. It represents the whether the +// process is connected to an interactive shell. +func ProcessInteractive(val bool) attribute.KeyValue { + return ProcessInteractiveKey.Bool(val) +} + +// ProcessLinuxCgroup returns an attribute KeyValue conforming to the +// "process.linux.cgroup" semantic conventions. It represents the control group +// associated with the process. +func ProcessLinuxCgroup(val string) attribute.KeyValue { + return ProcessLinuxCgroupKey.String(val) +} + +// ProcessOwner returns an attribute KeyValue conforming to the "process.owner" +// semantic conventions. It represents the username of the user that owns the +// process. +func ProcessOwner(val string) attribute.KeyValue { + return ProcessOwnerKey.String(val) +} + +// ProcessParentPID returns an attribute KeyValue conforming to the +// "process.parent_pid" semantic conventions. It represents the parent Process +// identifier (PPID). +func ProcessParentPID(val int) attribute.KeyValue { + return ProcessParentPIDKey.Int(val) +} + +// ProcessPID returns an attribute KeyValue conforming to the "process.pid" +// semantic conventions. It represents the process identifier (PID). +func ProcessPID(val int) attribute.KeyValue { + return ProcessPIDKey.Int(val) +} + +// ProcessRealUserID returns an attribute KeyValue conforming to the +// "process.real_user.id" semantic conventions. It represents the real user ID +// (RUID) of the process. +func ProcessRealUserID(val int) attribute.KeyValue { + return ProcessRealUserIDKey.Int(val) +} + +// ProcessRealUserName returns an attribute KeyValue conforming to the +// "process.real_user.name" semantic conventions. It represents the username of +// the real user of the process. +func ProcessRealUserName(val string) attribute.KeyValue { + return ProcessRealUserNameKey.String(val) +} + +// ProcessRuntimeDescription returns an attribute KeyValue conforming to the +// "process.runtime.description" semantic conventions. It represents an +// additional description about the runtime of the process, for example a +// specific vendor customization of the runtime environment. +func ProcessRuntimeDescription(val string) attribute.KeyValue { + return ProcessRuntimeDescriptionKey.String(val) +} + +// ProcessRuntimeName returns an attribute KeyValue conforming to the +// "process.runtime.name" semantic conventions. It represents the name of the +// runtime of this process. +func ProcessRuntimeName(val string) attribute.KeyValue { + return ProcessRuntimeNameKey.String(val) +} + +// ProcessRuntimeVersion returns an attribute KeyValue conforming to the +// "process.runtime.version" semantic conventions. It represents the version of +// the runtime of this process, as returned by the runtime without modification. +func ProcessRuntimeVersion(val string) attribute.KeyValue { + return ProcessRuntimeVersionKey.String(val) +} + +// ProcessSavedUserID returns an attribute KeyValue conforming to the +// "process.saved_user.id" semantic conventions. It represents the saved user ID +// (SUID) of the process. +func ProcessSavedUserID(val int) attribute.KeyValue { + return ProcessSavedUserIDKey.Int(val) +} + +// ProcessSavedUserName returns an attribute KeyValue conforming to the +// "process.saved_user.name" semantic conventions. It represents the username of +// the saved user. +func ProcessSavedUserName(val string) attribute.KeyValue { + return ProcessSavedUserNameKey.String(val) +} + +// ProcessSessionLeaderPID returns an attribute KeyValue conforming to the +// "process.session_leader.pid" semantic conventions. It represents the PID of +// the process's session leader. This is also the session ID (SID) of the +// process. +func ProcessSessionLeaderPID(val int) attribute.KeyValue { + return ProcessSessionLeaderPIDKey.Int(val) +} + +// ProcessTitle returns an attribute KeyValue conforming to the "process.title" +// semantic conventions. It represents the process title (proctitle). +func ProcessTitle(val string) attribute.KeyValue { + return ProcessTitleKey.String(val) +} + +// ProcessUserID returns an attribute KeyValue conforming to the +// "process.user.id" semantic conventions. It represents the effective user ID +// (EUID) of the process. +func ProcessUserID(val int) attribute.KeyValue { + return ProcessUserIDKey.Int(val) +} + +// ProcessUserName returns an attribute KeyValue conforming to the +// "process.user.name" semantic conventions. It represents the username of the +// effective user of the process. +func ProcessUserName(val string) attribute.KeyValue { + return ProcessUserNameKey.String(val) +} + +// ProcessVpid returns an attribute KeyValue conforming to the "process.vpid" +// semantic conventions. It represents the virtual process identifier. +func ProcessVpid(val int) attribute.KeyValue { + return ProcessVpidKey.Int(val) +} + +// ProcessWorkingDirectory returns an attribute KeyValue conforming to the +// "process.working_directory" semantic conventions. It represents the working +// directory of the process. +func ProcessWorkingDirectory(val string) attribute.KeyValue { + return ProcessWorkingDirectoryKey.String(val) +} + +// Enum values for process.context_switch.type +var ( + // voluntary + // Stability: development + ProcessContextSwitchTypeVoluntary = ProcessContextSwitchTypeKey.String("voluntary") + // involuntary + // Stability: development + ProcessContextSwitchTypeInvoluntary = ProcessContextSwitchTypeKey.String("involuntary") +) + +// Enum values for process.state +var ( + // running + // Stability: development + ProcessStateRunning = ProcessStateKey.String("running") + // sleeping + // Stability: development + ProcessStateSleeping = ProcessStateKey.String("sleeping") + // stopped + // Stability: development + ProcessStateStopped = ProcessStateKey.String("stopped") + // defunct + // Stability: development + ProcessStateDefunct = ProcessStateKey.String("defunct") +) + +// Namespace: profile +const ( + // ProfileFrameTypeKey is the attribute Key conforming to the + // "profile.frame.type" semantic conventions. It represents the describes the + // interpreter or compiler of a single frame. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "cpython" + ProfileFrameTypeKey = attribute.Key("profile.frame.type") +) + +// Enum values for profile.frame.type +var ( + // [.NET] + // + // Stability: development + // + // [.NET]: https://wikipedia.org/wiki/.NET + ProfileFrameTypeDotnet = ProfileFrameTypeKey.String("dotnet") + // [JVM] + // + // Stability: development + // + // [JVM]: https://wikipedia.org/wiki/Java_virtual_machine + ProfileFrameTypeJVM = ProfileFrameTypeKey.String("jvm") + // [Kernel] + // + // Stability: development + // + // [Kernel]: https://wikipedia.org/wiki/Kernel_(operating_system) + ProfileFrameTypeKernel = ProfileFrameTypeKey.String("kernel") + // Can be one of but not limited to [C], [C++], [Go] or [Rust]. If possible, a + // more precise value MUST be used. + // + // Stability: development + // + // [C]: https://wikipedia.org/wiki/C_(programming_language) + // [C++]: https://wikipedia.org/wiki/C%2B%2B + // [Go]: https://wikipedia.org/wiki/Go_(programming_language) + // [Rust]: https://wikipedia.org/wiki/Rust_(programming_language) + ProfileFrameTypeNative = ProfileFrameTypeKey.String("native") + // [Perl] + // + // Stability: development + // + // [Perl]: https://wikipedia.org/wiki/Perl + ProfileFrameTypePerl = ProfileFrameTypeKey.String("perl") + // [PHP] + // + // Stability: development + // + // [PHP]: https://wikipedia.org/wiki/PHP + ProfileFrameTypePHP = ProfileFrameTypeKey.String("php") + // [Python] + // + // Stability: development + // + // [Python]: https://wikipedia.org/wiki/Python_(programming_language) + ProfileFrameTypeCpython = ProfileFrameTypeKey.String("cpython") + // [Ruby] + // + // Stability: development + // + // [Ruby]: https://wikipedia.org/wiki/Ruby_(programming_language) + ProfileFrameTypeRuby = ProfileFrameTypeKey.String("ruby") + // [V8JS] + // + // Stability: development + // + // [V8JS]: https://wikipedia.org/wiki/V8_(JavaScript_engine) + ProfileFrameTypeV8JS = ProfileFrameTypeKey.String("v8js") + // [Erlang] + // + // Stability: development + // + // [Erlang]: https://en.wikipedia.org/wiki/BEAM_(Erlang_virtual_machine) + ProfileFrameTypeBeam = ProfileFrameTypeKey.String("beam") + // [Go], + // + // Stability: development + // + // [Go]: https://wikipedia.org/wiki/Go_(programming_language) + ProfileFrameTypeGo = ProfileFrameTypeKey.String("go") + // [Rust] + // + // Stability: development + // + // [Rust]: https://wikipedia.org/wiki/Rust_(programming_language) + ProfileFrameTypeRust = ProfileFrameTypeKey.String("rust") +) + +// Namespace: rpc +const ( + // RPCMessageCompressedSizeKey is the attribute Key conforming to the + // "rpc.message.compressed_size" semantic conventions. It represents the + // compressed size of the message in bytes. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + RPCMessageCompressedSizeKey = attribute.Key("rpc.message.compressed_size") + + // RPCMessageIDKey is the attribute Key conforming to the "rpc.message.id" + // semantic conventions. It MUST be calculated as two different counters + // starting from `1` one for sent messages and one for received message.. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // Note: This way we guarantee that the values will be consistent between + // different implementations. + RPCMessageIDKey = attribute.Key("rpc.message.id") + + // RPCMessageTypeKey is the attribute Key conforming to the "rpc.message.type" + // semantic conventions. It represents the whether this is a received or sent + // message. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + RPCMessageTypeKey = attribute.Key("rpc.message.type") + + // RPCMessageUncompressedSizeKey is the attribute Key conforming to the + // "rpc.message.uncompressed_size" semantic conventions. It represents the + // uncompressed size of the message in bytes. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + RPCMessageUncompressedSizeKey = attribute.Key("rpc.message.uncompressed_size") + + // RPCMethodKey is the attribute Key conforming to the "rpc.method" semantic + // conventions. It represents the fully-qualified logical name of the method + // from the RPC interface perspective. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "com.example.ExampleService/exampleMethod", "EchoService/Echo", + // "_OTHER" + // Note: The method name MAY have unbounded cardinality in edge or error cases. + // + // Some RPC frameworks or libraries provide a fixed set of recognized methods + // for client stubs and server implementations. Instrumentations for such + // frameworks MUST set this attribute to the original method name only + // when the method is recognized by the framework or library. + // + // When the method is not recognized, for example, when the server receives + // a request for a method that is not predefined on the server, or when + // instrumentation is not able to reliably detect if the method is predefined, + // the attribute MUST be set to `_OTHER`. In such cases, tracing + // instrumentations MUST also set `rpc.method_original` attribute to + // the original method value. + // + // If the RPC instrumentation could end up converting valid RPC methods to + // `_OTHER`, then it SHOULD provide a way to configure the list of recognized + // RPC methods. + // + // The `rpc.method` can be different from the name of any implementing + // method/function. + // The `code.function.name` attribute may be used to record the fully-qualified + // method actually executing the call on the server side, or the + // RPC client stub method on the client side. + RPCMethodKey = attribute.Key("rpc.method") + + // RPCMethodOriginalKey is the attribute Key conforming to the + // "rpc.method_original" semantic conventions. It represents the original name + // of the method used by the client. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "com.myservice.EchoService/catchAll", + // "com.myservice.EchoService/unknownMethod", "InvalidMethod" + RPCMethodOriginalKey = attribute.Key("rpc.method_original") + + // RPCResponseStatusCodeKey is the attribute Key conforming to the + // "rpc.response.status_code" semantic conventions. It represents the status + // code of the RPC returned by the RPC server or generated by the client. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "OK", "DEADLINE_EXCEEDED", "-32602" + // Note: Usually it represents an error code, but may also represent partial + // success, warning, or differentiate between various types of successful + // outcomes. + // Semantic conventions for individual RPC frameworks SHOULD document what + // `rpc.response.status_code` means in the context of that system and which + // values are considered to represent errors. + RPCResponseStatusCodeKey = attribute.Key("rpc.response.status_code") + + // RPCSystemNameKey is the attribute Key conforming to the "rpc.system.name" + // semantic conventions. It represents the Remote Procedure Call (RPC) system. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // Note: The client and server RPC systems may differ for the same RPC + // interaction. For example, a client may use Apache Dubbo or Connect RPC to + // communicate with a server that uses gRPC since both protocols provide + // compatibility with gRPC. + RPCSystemNameKey = attribute.Key("rpc.system.name") +) + +// RPCMessageCompressedSize returns an attribute KeyValue conforming to the +// "rpc.message.compressed_size" semantic conventions. It represents the +// compressed size of the message in bytes. +func RPCMessageCompressedSize(val int) attribute.KeyValue { + return RPCMessageCompressedSizeKey.Int(val) +} + +// RPCMessageID returns an attribute KeyValue conforming to the "rpc.message.id" +// semantic conventions. It MUST be calculated as two different counters starting +// from `1` one for sent messages and one for received message.. +func RPCMessageID(val int) attribute.KeyValue { + return RPCMessageIDKey.Int(val) +} + +// RPCMessageUncompressedSize returns an attribute KeyValue conforming to the +// "rpc.message.uncompressed_size" semantic conventions. It represents the +// uncompressed size of the message in bytes. +func RPCMessageUncompressedSize(val int) attribute.KeyValue { + return RPCMessageUncompressedSizeKey.Int(val) +} + +// RPCMethod returns an attribute KeyValue conforming to the "rpc.method" +// semantic conventions. It represents the fully-qualified logical name of the +// method from the RPC interface perspective. +func RPCMethod(val string) attribute.KeyValue { + return RPCMethodKey.String(val) +} + +// RPCMethodOriginal returns an attribute KeyValue conforming to the +// "rpc.method_original" semantic conventions. It represents the original name of +// the method used by the client. +func RPCMethodOriginal(val string) attribute.KeyValue { + return RPCMethodOriginalKey.String(val) +} + +// RPCRequestMetadata returns an attribute KeyValue conforming to the +// "rpc.request.metadata" semantic conventions. It represents the RPC request +// metadata, `` being the normalized RPC metadata key (lowercase), the value +// being the metadata values. +func RPCRequestMetadata(key string, val ...string) attribute.KeyValue { + return attribute.StringSlice("rpc.request.metadata."+key, val) +} + +// RPCResponseMetadata returns an attribute KeyValue conforming to the +// "rpc.response.metadata" semantic conventions. It represents the RPC response +// metadata, `` being the normalized RPC metadata key (lowercase), the value +// being the metadata values. +func RPCResponseMetadata(key string, val ...string) attribute.KeyValue { + return attribute.StringSlice("rpc.response.metadata."+key, val) +} + +// RPCResponseStatusCode returns an attribute KeyValue conforming to the +// "rpc.response.status_code" semantic conventions. It represents the status code +// of the RPC returned by the RPC server or generated by the client. +func RPCResponseStatusCode(val string) attribute.KeyValue { + return RPCResponseStatusCodeKey.String(val) +} + +// Enum values for rpc.message.type +var ( + // sent + // Stability: development + RPCMessageTypeSent = RPCMessageTypeKey.String("SENT") + // received + // Stability: development + RPCMessageTypeReceived = RPCMessageTypeKey.String("RECEIVED") +) + +// Enum values for rpc.system.name +var ( + // [gRPC] + // Stability: development + // + // [gRPC]: https://grpc.io/ + RPCSystemNameGRPC = RPCSystemNameKey.String("grpc") + // [Apache Dubbo] + // Stability: development + // + // [Apache Dubbo]: https://dubbo.apache.org/ + RPCSystemNameDubbo = RPCSystemNameKey.String("dubbo") + // [Connect RPC] + // Stability: development + // + // [Connect RPC]: https://connectrpc.com/ + RPCSystemNameConnectrpc = RPCSystemNameKey.String("connectrpc") + // [JSON-RPC] + // Stability: development + // + // [JSON-RPC]: https://www.jsonrpc.org/ + RPCSystemNameJSONRPC = RPCSystemNameKey.String("jsonrpc") +) + +// Namespace: security_rule +const ( + // SecurityRuleCategoryKey is the attribute Key conforming to the + // "security_rule.category" semantic conventions. It represents a categorization + // value keyword used by the entity using the rule for detection of this event. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Attempted Information Leak" + SecurityRuleCategoryKey = attribute.Key("security_rule.category") + + // SecurityRuleDescriptionKey is the attribute Key conforming to the + // "security_rule.description" semantic conventions. It represents the + // description of the rule generating the event. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Block requests to public DNS over HTTPS / TLS protocols" + SecurityRuleDescriptionKey = attribute.Key("security_rule.description") + + // SecurityRuleLicenseKey is the attribute Key conforming to the + // "security_rule.license" semantic conventions. It represents the name of the + // license under which the rule used to generate this event is made available. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Apache 2.0" + SecurityRuleLicenseKey = attribute.Key("security_rule.license") + + // SecurityRuleNameKey is the attribute Key conforming to the + // "security_rule.name" semantic conventions. It represents the name of the rule + // or signature generating the event. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "BLOCK_DNS_over_TLS" + SecurityRuleNameKey = attribute.Key("security_rule.name") + + // SecurityRuleReferenceKey is the attribute Key conforming to the + // "security_rule.reference" semantic conventions. It represents the reference + // URL to additional information about the rule used to generate this event. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "https://en.wikipedia.org/wiki/DNS_over_TLS" + // Note: The URL can point to the vendor’s documentation about the rule. If + // that’s not available, it can also be a link to a more general page + // describing this type of alert. + SecurityRuleReferenceKey = attribute.Key("security_rule.reference") + + // SecurityRuleRulesetNameKey is the attribute Key conforming to the + // "security_rule.ruleset.name" semantic conventions. It represents the name of + // the ruleset, policy, group, or parent category in which the rule used to + // generate this event is a member. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Standard_Protocol_Filters" + SecurityRuleRulesetNameKey = attribute.Key("security_rule.ruleset.name") + + // SecurityRuleUUIDKey is the attribute Key conforming to the + // "security_rule.uuid" semantic conventions. It represents a rule ID that is + // unique within the scope of a set or group of agents, observers, or other + // entities using the rule for detection of this event. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "550e8400-e29b-41d4-a716-446655440000", "1100110011" + SecurityRuleUUIDKey = attribute.Key("security_rule.uuid") + + // SecurityRuleVersionKey is the attribute Key conforming to the + // "security_rule.version" semantic conventions. It represents the version / + // revision of the rule being used for analysis. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "1.0.0" + SecurityRuleVersionKey = attribute.Key("security_rule.version") +) + +// SecurityRuleCategory returns an attribute KeyValue conforming to the +// "security_rule.category" semantic conventions. It represents a categorization +// value keyword used by the entity using the rule for detection of this event. +func SecurityRuleCategory(val string) attribute.KeyValue { + return SecurityRuleCategoryKey.String(val) +} + +// SecurityRuleDescription returns an attribute KeyValue conforming to the +// "security_rule.description" semantic conventions. It represents the +// description of the rule generating the event. +func SecurityRuleDescription(val string) attribute.KeyValue { + return SecurityRuleDescriptionKey.String(val) +} + +// SecurityRuleLicense returns an attribute KeyValue conforming to the +// "security_rule.license" semantic conventions. It represents the name of the +// license under which the rule used to generate this event is made available. +func SecurityRuleLicense(val string) attribute.KeyValue { + return SecurityRuleLicenseKey.String(val) +} + +// SecurityRuleName returns an attribute KeyValue conforming to the +// "security_rule.name" semantic conventions. It represents the name of the rule +// or signature generating the event. +func SecurityRuleName(val string) attribute.KeyValue { + return SecurityRuleNameKey.String(val) +} + +// SecurityRuleReference returns an attribute KeyValue conforming to the +// "security_rule.reference" semantic conventions. It represents the reference +// URL to additional information about the rule used to generate this event. +func SecurityRuleReference(val string) attribute.KeyValue { + return SecurityRuleReferenceKey.String(val) +} + +// SecurityRuleRulesetName returns an attribute KeyValue conforming to the +// "security_rule.ruleset.name" semantic conventions. It represents the name of +// the ruleset, policy, group, or parent category in which the rule used to +// generate this event is a member. +func SecurityRuleRulesetName(val string) attribute.KeyValue { + return SecurityRuleRulesetNameKey.String(val) +} + +// SecurityRuleUUID returns an attribute KeyValue conforming to the +// "security_rule.uuid" semantic conventions. It represents a rule ID that is +// unique within the scope of a set or group of agents, observers, or other +// entities using the rule for detection of this event. +func SecurityRuleUUID(val string) attribute.KeyValue { + return SecurityRuleUUIDKey.String(val) +} + +// SecurityRuleVersion returns an attribute KeyValue conforming to the +// "security_rule.version" semantic conventions. It represents the version / +// revision of the rule being used for analysis. +func SecurityRuleVersion(val string) attribute.KeyValue { + return SecurityRuleVersionKey.String(val) +} + +// Namespace: server +const ( + // ServerAddressKey is the attribute Key conforming to the "server.address" + // semantic conventions. It represents the server domain name if available + // without reverse DNS lookup; otherwise, IP address or Unix domain socket name. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "example.com", "10.1.2.80", "/tmp/my.sock" + // Note: When observed from the client side, and when communicating through an + // intermediary, `server.address` SHOULD represent the server address behind any + // intermediaries, for example proxies, if it's available. + ServerAddressKey = attribute.Key("server.address") + + // ServerPortKey is the attribute Key conforming to the "server.port" semantic + // conventions. It represents the server port number. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: 80, 8080, 443 + // Note: When observed from the client side, and when communicating through an + // intermediary, `server.port` SHOULD represent the server port behind any + // intermediaries, for example proxies, if it's available. + ServerPortKey = attribute.Key("server.port") +) + +// ServerAddress returns an attribute KeyValue conforming to the "server.address" +// semantic conventions. It represents the server domain name if available +// without reverse DNS lookup; otherwise, IP address or Unix domain socket name. +func ServerAddress(val string) attribute.KeyValue { + return ServerAddressKey.String(val) +} + +// ServerPort returns an attribute KeyValue conforming to the "server.port" +// semantic conventions. It represents the server port number. +func ServerPort(val int) attribute.KeyValue { + return ServerPortKey.Int(val) +} + +// Namespace: service +const ( + // ServiceInstanceIDKey is the attribute Key conforming to the + // "service.instance.id" semantic conventions. It represents the string ID of + // the service instance. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "627cc493-f310-47de-96bd-71410b7dec09" + // Note: MUST be unique for each instance of the same + // `service.namespace,service.name` pair (in other words + // `service.namespace,service.name,service.instance.id` triplet MUST be globally + // unique). The ID helps to + // distinguish instances of the same service that exist at the same time (e.g. + // instances of a horizontally scaled + // service). + // + // Implementations, such as SDKs, are recommended to generate a random Version 1 + // or Version 4 [RFC + // 4122] UUID, but are free to use an inherent unique ID as + // the source of + // this value if stability is desirable. In that case, the ID SHOULD be used as + // source of a UUID Version 5 and + // SHOULD use the following UUID as the namespace: + // `4d63009a-8d0f-11ee-aad7-4c796ed8e320`. + // + // UUIDs are typically recommended, as only an opaque value for the purposes of + // identifying a service instance is + // needed. Similar to what can be seen in the man page for the + // [`/etc/machine-id`] file, the underlying + // data, such as pod name and namespace should be treated as confidential, being + // the user's choice to expose it + // or not via another resource attribute. + // + // For applications running behind an application server (like unicorn), we do + // not recommend using one identifier + // for all processes participating in the application. Instead, it's recommended + // each division (e.g. a worker + // thread in unicorn) to have its own instance.id. + // + // It's not recommended for a Collector to set `service.instance.id` if it can't + // unambiguously determine the + // service instance that is generating that telemetry. For instance, creating an + // UUID based on `pod.name` will + // likely be wrong, as the Collector might not know from which container within + // that pod the telemetry originated. + // However, Collectors can set the `service.instance.id` if they can + // unambiguously determine the service instance + // for that telemetry. This is typically the case for scraping receivers, as + // they know the target address and + // port. + // + // [RFC + // 4122]: https://www.ietf.org/rfc/rfc4122.txt + // [`/etc/machine-id`]: https://www.freedesktop.org/software/systemd/man/latest/machine-id.html + ServiceInstanceIDKey = attribute.Key("service.instance.id") + + // ServiceNameKey is the attribute Key conforming to the "service.name" semantic + // conventions. It represents the logical name of the service. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "shoppingcart" + // Note: MUST be the same for all instances of horizontally scaled services. If + // the value was not specified, SDKs MUST fallback to `unknown_service:` + // concatenated with [`process.executable.name`], e.g. `unknown_service:bash`. + // If `process.executable.name` is not available, the value MUST be set to + // `unknown_service`. + // + // [`process.executable.name`]: process.md + ServiceNameKey = attribute.Key("service.name") + + // ServiceNamespaceKey is the attribute Key conforming to the + // "service.namespace" semantic conventions. It represents a namespace for + // `service.name`. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Shop" + // Note: A string value having a meaning that helps to distinguish a group of + // services, for example the team name that owns a group of services. + // `service.name` is expected to be unique within the same namespace. If + // `service.namespace` is not specified in the Resource then `service.name` is + // expected to be unique for all services that have no explicit namespace + // defined (so the empty/unspecified namespace is simply one more valid + // namespace). Zero-length namespace string is assumed equal to unspecified + // namespace. + ServiceNamespaceKey = attribute.Key("service.namespace") + + // ServicePeerNameKey is the attribute Key conforming to the "service.peer.name" + // semantic conventions. It represents the logical name of the service on the + // other side of the connection. SHOULD be equal to the actual [`service.name`] + // resource attribute of the remote service if any. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "shoppingcart" + // + // [`service.name`]: /docs/resource/README.md#service + ServicePeerNameKey = attribute.Key("service.peer.name") + + // ServicePeerNamespaceKey is the attribute Key conforming to the + // "service.peer.namespace" semantic conventions. It represents the logical + // namespace of the service on the other side of the connection. SHOULD be equal + // to the actual [`service.namespace`] resource attribute of the remote service + // if any. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Shop" + // + // [`service.namespace`]: /docs/resource/README.md#service + ServicePeerNamespaceKey = attribute.Key("service.peer.namespace") + + // ServiceVersionKey is the attribute Key conforming to the "service.version" + // semantic conventions. It represents the version string of the service + // component. The format is not defined by these conventions. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "2.0.0", "a01dbef8a" + ServiceVersionKey = attribute.Key("service.version") +) + +// ServiceInstanceID returns an attribute KeyValue conforming to the +// "service.instance.id" semantic conventions. It represents the string ID of the +// service instance. +func ServiceInstanceID(val string) attribute.KeyValue { + return ServiceInstanceIDKey.String(val) +} + +// ServiceName returns an attribute KeyValue conforming to the "service.name" +// semantic conventions. It represents the logical name of the service. +func ServiceName(val string) attribute.KeyValue { + return ServiceNameKey.String(val) +} + +// ServiceNamespace returns an attribute KeyValue conforming to the +// "service.namespace" semantic conventions. It represents a namespace for +// `service.name`. +func ServiceNamespace(val string) attribute.KeyValue { + return ServiceNamespaceKey.String(val) +} + +// ServicePeerName returns an attribute KeyValue conforming to the +// "service.peer.name" semantic conventions. It represents the logical name of +// the service on the other side of the connection. SHOULD be equal to the actual +// [`service.name`] resource attribute of the remote service if any. +// +// [`service.name`]: /docs/resource/README.md#service +func ServicePeerName(val string) attribute.KeyValue { + return ServicePeerNameKey.String(val) +} + +// ServicePeerNamespace returns an attribute KeyValue conforming to the +// "service.peer.namespace" semantic conventions. It represents the logical +// namespace of the service on the other side of the connection. SHOULD be equal +// to the actual [`service.namespace`] resource attribute of the remote service +// if any. +// +// [`service.namespace`]: /docs/resource/README.md#service +func ServicePeerNamespace(val string) attribute.KeyValue { + return ServicePeerNamespaceKey.String(val) +} + +// ServiceVersion returns an attribute KeyValue conforming to the +// "service.version" semantic conventions. It represents the version string of +// the service component. The format is not defined by these conventions. +func ServiceVersion(val string) attribute.KeyValue { + return ServiceVersionKey.String(val) +} + +// Namespace: session +const ( + // SessionIDKey is the attribute Key conforming to the "session.id" semantic + // conventions. It represents a unique id to identify a session. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 00112233-4455-6677-8899-aabbccddeeff + SessionIDKey = attribute.Key("session.id") + + // SessionPreviousIDKey is the attribute Key conforming to the + // "session.previous_id" semantic conventions. It represents the previous + // `session.id` for this user, when known. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 00112233-4455-6677-8899-aabbccddeeff + SessionPreviousIDKey = attribute.Key("session.previous_id") +) + +// SessionID returns an attribute KeyValue conforming to the "session.id" +// semantic conventions. It represents a unique id to identify a session. +func SessionID(val string) attribute.KeyValue { + return SessionIDKey.String(val) +} + +// SessionPreviousID returns an attribute KeyValue conforming to the +// "session.previous_id" semantic conventions. It represents the previous +// `session.id` for this user, when known. +func SessionPreviousID(val string) attribute.KeyValue { + return SessionPreviousIDKey.String(val) +} + +// Namespace: signalr +const ( + // SignalRConnectionStatusKey is the attribute Key conforming to the + // "signalr.connection.status" semantic conventions. It represents the signalR + // HTTP connection closure status. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "app_shutdown", "timeout" + SignalRConnectionStatusKey = attribute.Key("signalr.connection.status") + + // SignalRTransportKey is the attribute Key conforming to the + // "signalr.transport" semantic conventions. It represents the + // [SignalR transport type]. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "web_sockets", "long_polling" + // + // [SignalR transport type]: https://github.com/dotnet/aspnetcore/blob/main/src/SignalR/docs/specs/TransportProtocols.md + SignalRTransportKey = attribute.Key("signalr.transport") +) + +// Enum values for signalr.connection.status +var ( + // The connection was closed normally. + // Stability: stable + SignalRConnectionStatusNormalClosure = SignalRConnectionStatusKey.String("normal_closure") + // The connection was closed due to a timeout. + // Stability: stable + SignalRConnectionStatusTimeout = SignalRConnectionStatusKey.String("timeout") + // The connection was closed because the app is shutting down. + // Stability: stable + SignalRConnectionStatusAppShutdown = SignalRConnectionStatusKey.String("app_shutdown") +) + +// Enum values for signalr.transport +var ( + // ServerSentEvents protocol + // Stability: stable + SignalRTransportServerSentEvents = SignalRTransportKey.String("server_sent_events") + // LongPolling protocol + // Stability: stable + SignalRTransportLongPolling = SignalRTransportKey.String("long_polling") + // WebSockets protocol + // Stability: stable + SignalRTransportWebSockets = SignalRTransportKey.String("web_sockets") +) + +// Namespace: source +const ( + // SourceAddressKey is the attribute Key conforming to the "source.address" + // semantic conventions. It represents the source address - domain name if + // available without reverse DNS lookup; otherwise, IP address or Unix domain + // socket name. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "source.example.com", "10.1.2.80", "/tmp/my.sock" + // Note: When observed from the destination side, and when communicating through + // an intermediary, `source.address` SHOULD represent the source address behind + // any intermediaries, for example proxies, if it's available. + SourceAddressKey = attribute.Key("source.address") + + // SourcePortKey is the attribute Key conforming to the "source.port" semantic + // conventions. It represents the source port number. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 3389, 2888 + SourcePortKey = attribute.Key("source.port") +) + +// SourceAddress returns an attribute KeyValue conforming to the "source.address" +// semantic conventions. It represents the source address - domain name if +// available without reverse DNS lookup; otherwise, IP address or Unix domain +// socket name. +func SourceAddress(val string) attribute.KeyValue { + return SourceAddressKey.String(val) +} + +// SourcePort returns an attribute KeyValue conforming to the "source.port" +// semantic conventions. It represents the source port number. +func SourcePort(val int) attribute.KeyValue { + return SourcePortKey.Int(val) +} + +// Namespace: system +const ( + // SystemDeviceKey is the attribute Key conforming to the "system.device" + // semantic conventions. It represents the device identifier. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "(identifier)" + SystemDeviceKey = attribute.Key("system.device") + + // SystemFilesystemModeKey is the attribute Key conforming to the + // "system.filesystem.mode" semantic conventions. It represents the filesystem + // mode. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "rw, ro" + SystemFilesystemModeKey = attribute.Key("system.filesystem.mode") + + // SystemFilesystemMountpointKey is the attribute Key conforming to the + // "system.filesystem.mountpoint" semantic conventions. It represents the + // filesystem mount path. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "/mnt/data" + SystemFilesystemMountpointKey = attribute.Key("system.filesystem.mountpoint") + + // SystemFilesystemStateKey is the attribute Key conforming to the + // "system.filesystem.state" semantic conventions. It represents the filesystem + // state. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "used" + SystemFilesystemStateKey = attribute.Key("system.filesystem.state") + + // SystemFilesystemTypeKey is the attribute Key conforming to the + // "system.filesystem.type" semantic conventions. It represents the filesystem + // type. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "ext4" + SystemFilesystemTypeKey = attribute.Key("system.filesystem.type") + + // SystemMemoryLinuxSlabStateKey is the attribute Key conforming to the + // "system.memory.linux.slab.state" semantic conventions. It represents the + // Linux Slab memory state. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "reclaimable", "unreclaimable" + SystemMemoryLinuxSlabStateKey = attribute.Key("system.memory.linux.slab.state") + + // SystemMemoryStateKey is the attribute Key conforming to the + // "system.memory.state" semantic conventions. It represents the memory state. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "free", "cached" + SystemMemoryStateKey = attribute.Key("system.memory.state") + + // SystemPagingDirectionKey is the attribute Key conforming to the + // "system.paging.direction" semantic conventions. It represents the paging + // access direction. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "in" + SystemPagingDirectionKey = attribute.Key("system.paging.direction") + + // SystemPagingFaultTypeKey is the attribute Key conforming to the + // "system.paging.fault.type" semantic conventions. It represents the paging + // fault type. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "minor" + SystemPagingFaultTypeKey = attribute.Key("system.paging.fault.type") + + // SystemPagingStateKey is the attribute Key conforming to the + // "system.paging.state" semantic conventions. It represents the memory paging + // state. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "free" + SystemPagingStateKey = attribute.Key("system.paging.state") +) + +// SystemDevice returns an attribute KeyValue conforming to the "system.device" +// semantic conventions. It represents the device identifier. +func SystemDevice(val string) attribute.KeyValue { + return SystemDeviceKey.String(val) +} + +// SystemFilesystemMode returns an attribute KeyValue conforming to the +// "system.filesystem.mode" semantic conventions. It represents the filesystem +// mode. +func SystemFilesystemMode(val string) attribute.KeyValue { + return SystemFilesystemModeKey.String(val) +} + +// SystemFilesystemMountpoint returns an attribute KeyValue conforming to the +// "system.filesystem.mountpoint" semantic conventions. It represents the +// filesystem mount path. +func SystemFilesystemMountpoint(val string) attribute.KeyValue { + return SystemFilesystemMountpointKey.String(val) +} + +// Enum values for system.filesystem.state +var ( + // used + // Stability: development + SystemFilesystemStateUsed = SystemFilesystemStateKey.String("used") + // free + // Stability: development + SystemFilesystemStateFree = SystemFilesystemStateKey.String("free") + // reserved + // Stability: development + SystemFilesystemStateReserved = SystemFilesystemStateKey.String("reserved") +) + +// Enum values for system.filesystem.type +var ( + // fat32 + // Stability: development + SystemFilesystemTypeFat32 = SystemFilesystemTypeKey.String("fat32") + // exfat + // Stability: development + SystemFilesystemTypeExfat = SystemFilesystemTypeKey.String("exfat") + // ntfs + // Stability: development + SystemFilesystemTypeNtfs = SystemFilesystemTypeKey.String("ntfs") + // refs + // Stability: development + SystemFilesystemTypeRefs = SystemFilesystemTypeKey.String("refs") + // hfsplus + // Stability: development + SystemFilesystemTypeHfsplus = SystemFilesystemTypeKey.String("hfsplus") + // ext4 + // Stability: development + SystemFilesystemTypeExt4 = SystemFilesystemTypeKey.String("ext4") +) + +// Enum values for system.memory.linux.slab.state +var ( + // reclaimable + // Stability: development + SystemMemoryLinuxSlabStateReclaimable = SystemMemoryLinuxSlabStateKey.String("reclaimable") + // unreclaimable + // Stability: development + SystemMemoryLinuxSlabStateUnreclaimable = SystemMemoryLinuxSlabStateKey.String("unreclaimable") +) + +// Enum values for system.memory.state +var ( + // Actual used virtual memory in bytes. + // Stability: development + SystemMemoryStateUsed = SystemMemoryStateKey.String("used") + // free + // Stability: development + SystemMemoryStateFree = SystemMemoryStateKey.String("free") + // buffers + // Stability: development + SystemMemoryStateBuffers = SystemMemoryStateKey.String("buffers") + // cached + // Stability: development + SystemMemoryStateCached = SystemMemoryStateKey.String("cached") +) + +// Enum values for system.paging.direction +var ( + // in + // Stability: development + SystemPagingDirectionIn = SystemPagingDirectionKey.String("in") + // out + // Stability: development + SystemPagingDirectionOut = SystemPagingDirectionKey.String("out") +) + +// Enum values for system.paging.fault.type +var ( + // major + // Stability: development + SystemPagingFaultTypeMajor = SystemPagingFaultTypeKey.String("major") + // minor + // Stability: development + SystemPagingFaultTypeMinor = SystemPagingFaultTypeKey.String("minor") +) + +// Enum values for system.paging.state +var ( + // used + // Stability: development + SystemPagingStateUsed = SystemPagingStateKey.String("used") + // free + // Stability: development + SystemPagingStateFree = SystemPagingStateKey.String("free") +) + +// Namespace: telemetry +const ( + // TelemetryDistroNameKey is the attribute Key conforming to the + // "telemetry.distro.name" semantic conventions. It represents the name of the + // auto instrumentation agent or distribution, if used. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "parts-unlimited-java" + // Note: Official auto instrumentation agents and distributions SHOULD set the + // `telemetry.distro.name` attribute to + // a string starting with `opentelemetry-`, e.g. + // `opentelemetry-java-instrumentation`. + TelemetryDistroNameKey = attribute.Key("telemetry.distro.name") + + // TelemetryDistroVersionKey is the attribute Key conforming to the + // "telemetry.distro.version" semantic conventions. It represents the version + // string of the auto instrumentation agent or distribution, if used. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "1.2.3" + TelemetryDistroVersionKey = attribute.Key("telemetry.distro.version") + + // TelemetrySDKLanguageKey is the attribute Key conforming to the + // "telemetry.sdk.language" semantic conventions. It represents the language of + // the telemetry SDK. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: + TelemetrySDKLanguageKey = attribute.Key("telemetry.sdk.language") + + // TelemetrySDKNameKey is the attribute Key conforming to the + // "telemetry.sdk.name" semantic conventions. It represents the name of the + // telemetry SDK as defined above. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "opentelemetry" + // Note: The OpenTelemetry SDK MUST set the `telemetry.sdk.name` attribute to + // `opentelemetry`. + // If another SDK, like a fork or a vendor-provided implementation, is used, + // this SDK MUST set the + // `telemetry.sdk.name` attribute to the fully-qualified class or module name of + // this SDK's main entry point + // or another suitable identifier depending on the language. + // The identifier `opentelemetry` is reserved and MUST NOT be used in this case. + // All custom identifiers SHOULD be stable across different versions of an + // implementation. + TelemetrySDKNameKey = attribute.Key("telemetry.sdk.name") + + // TelemetrySDKVersionKey is the attribute Key conforming to the + // "telemetry.sdk.version" semantic conventions. It represents the version + // string of the telemetry SDK. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "1.2.3" + TelemetrySDKVersionKey = attribute.Key("telemetry.sdk.version") +) + +// TelemetryDistroName returns an attribute KeyValue conforming to the +// "telemetry.distro.name" semantic conventions. It represents the name of the +// auto instrumentation agent or distribution, if used. +func TelemetryDistroName(val string) attribute.KeyValue { + return TelemetryDistroNameKey.String(val) +} + +// TelemetryDistroVersion returns an attribute KeyValue conforming to the +// "telemetry.distro.version" semantic conventions. It represents the version +// string of the auto instrumentation agent or distribution, if used. +func TelemetryDistroVersion(val string) attribute.KeyValue { + return TelemetryDistroVersionKey.String(val) +} + +// TelemetrySDKName returns an attribute KeyValue conforming to the +// "telemetry.sdk.name" semantic conventions. It represents the name of the +// telemetry SDK as defined above. +func TelemetrySDKName(val string) attribute.KeyValue { + return TelemetrySDKNameKey.String(val) +} + +// TelemetrySDKVersion returns an attribute KeyValue conforming to the +// "telemetry.sdk.version" semantic conventions. It represents the version string +// of the telemetry SDK. +func TelemetrySDKVersion(val string) attribute.KeyValue { + return TelemetrySDKVersionKey.String(val) +} + +// Enum values for telemetry.sdk.language +var ( + // cpp + // Stability: stable + TelemetrySDKLanguageCPP = TelemetrySDKLanguageKey.String("cpp") + // dotnet + // Stability: stable + TelemetrySDKLanguageDotnet = TelemetrySDKLanguageKey.String("dotnet") + // erlang + // Stability: stable + TelemetrySDKLanguageErlang = TelemetrySDKLanguageKey.String("erlang") + // go + // Stability: stable + TelemetrySDKLanguageGo = TelemetrySDKLanguageKey.String("go") + // java + // Stability: stable + TelemetrySDKLanguageJava = TelemetrySDKLanguageKey.String("java") + // nodejs + // Stability: stable + TelemetrySDKLanguageNodejs = TelemetrySDKLanguageKey.String("nodejs") + // php + // Stability: stable + TelemetrySDKLanguagePHP = TelemetrySDKLanguageKey.String("php") + // python + // Stability: stable + TelemetrySDKLanguagePython = TelemetrySDKLanguageKey.String("python") + // ruby + // Stability: stable + TelemetrySDKLanguageRuby = TelemetrySDKLanguageKey.String("ruby") + // rust + // Stability: stable + TelemetrySDKLanguageRust = TelemetrySDKLanguageKey.String("rust") + // swift + // Stability: stable + TelemetrySDKLanguageSwift = TelemetrySDKLanguageKey.String("swift") + // webjs + // Stability: stable + TelemetrySDKLanguageWebJS = TelemetrySDKLanguageKey.String("webjs") +) + +// Namespace: test +const ( + // TestCaseNameKey is the attribute Key conforming to the "test.case.name" + // semantic conventions. It represents the fully qualified human readable name + // of the [test case]. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "org.example.TestCase1.test1", "example/tests/TestCase1.test1", + // "ExampleTestCase1_test1" + // + // [test case]: https://wikipedia.org/wiki/Test_case + TestCaseNameKey = attribute.Key("test.case.name") + + // TestCaseResultStatusKey is the attribute Key conforming to the + // "test.case.result.status" semantic conventions. It represents the status of + // the actual test case result from test execution. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "pass", "fail" + TestCaseResultStatusKey = attribute.Key("test.case.result.status") + + // TestSuiteNameKey is the attribute Key conforming to the "test.suite.name" + // semantic conventions. It represents the human readable name of a [test suite] + // . + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "TestSuite1" + // + // [test suite]: https://wikipedia.org/wiki/Test_suite + TestSuiteNameKey = attribute.Key("test.suite.name") + + // TestSuiteRunStatusKey is the attribute Key conforming to the + // "test.suite.run.status" semantic conventions. It represents the status of the + // test suite run. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "success", "failure", "skipped", "aborted", "timed_out", + // "in_progress" + TestSuiteRunStatusKey = attribute.Key("test.suite.run.status") +) + +// TestCaseName returns an attribute KeyValue conforming to the "test.case.name" +// semantic conventions. It represents the fully qualified human readable name of +// the [test case]. +// +// [test case]: https://wikipedia.org/wiki/Test_case +func TestCaseName(val string) attribute.KeyValue { + return TestCaseNameKey.String(val) +} + +// TestSuiteName returns an attribute KeyValue conforming to the +// "test.suite.name" semantic conventions. It represents the human readable name +// of a [test suite]. +// +// [test suite]: https://wikipedia.org/wiki/Test_suite +func TestSuiteName(val string) attribute.KeyValue { + return TestSuiteNameKey.String(val) +} + +// Enum values for test.case.result.status +var ( + // pass + // Stability: development + TestCaseResultStatusPass = TestCaseResultStatusKey.String("pass") + // fail + // Stability: development + TestCaseResultStatusFail = TestCaseResultStatusKey.String("fail") +) + +// Enum values for test.suite.run.status +var ( + // success + // Stability: development + TestSuiteRunStatusSuccess = TestSuiteRunStatusKey.String("success") + // failure + // Stability: development + TestSuiteRunStatusFailure = TestSuiteRunStatusKey.String("failure") + // skipped + // Stability: development + TestSuiteRunStatusSkipped = TestSuiteRunStatusKey.String("skipped") + // aborted + // Stability: development + TestSuiteRunStatusAborted = TestSuiteRunStatusKey.String("aborted") + // timed_out + // Stability: development + TestSuiteRunStatusTimedOut = TestSuiteRunStatusKey.String("timed_out") + // in_progress + // Stability: development + TestSuiteRunStatusInProgress = TestSuiteRunStatusKey.String("in_progress") +) + +// Namespace: thread +const ( + // ThreadIDKey is the attribute Key conforming to the "thread.id" semantic + // conventions. It represents the current "managed" thread ID (as opposed to OS + // thread ID). + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Note: + // Examples of where the value can be extracted from: + // + // | Language or platform | Source | + // | --- | --- | + // | JVM | `Thread.currentThread().threadId()` | + // | .NET | `Thread.CurrentThread.ManagedThreadId` | + // | Python | `threading.current_thread().ident` | + // | Ruby | `Thread.current.object_id` | + // | C++ | `std::this_thread::get_id()` | + // | Erlang | `erlang:self()` | + ThreadIDKey = attribute.Key("thread.id") + + // ThreadNameKey is the attribute Key conforming to the "thread.name" semantic + // conventions. It represents the current thread name. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: main + // Note: + // Examples of where the value can be extracted from: + // + // | Language or platform | Source | + // | --- | --- | + // | JVM | `Thread.currentThread().getName()` | + // | .NET | `Thread.CurrentThread.Name` | + // | Python | `threading.current_thread().name` | + // | Ruby | `Thread.current.name` | + // | Erlang | `erlang:process_info(self(), registered_name)` | + ThreadNameKey = attribute.Key("thread.name") +) + +// ThreadID returns an attribute KeyValue conforming to the "thread.id" semantic +// conventions. It represents the current "managed" thread ID (as opposed to OS +// thread ID). +func ThreadID(val int) attribute.KeyValue { + return ThreadIDKey.Int(val) +} + +// ThreadName returns an attribute KeyValue conforming to the "thread.name" +// semantic conventions. It represents the current thread name. +func ThreadName(val string) attribute.KeyValue { + return ThreadNameKey.String(val) +} + +// Namespace: tls +const ( + // TLSCipherKey is the attribute Key conforming to the "tls.cipher" semantic + // conventions. It represents the string indicating the [cipher] used during the + // current connection. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + // "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + // Note: The values allowed for `tls.cipher` MUST be one of the `Descriptions` + // of the [registered TLS Cipher Suits]. + // + // [cipher]: https://datatracker.ietf.org/doc/html/rfc5246#appendix-A.5 + // [registered TLS Cipher Suits]: https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#table-tls-parameters-4 + TLSCipherKey = attribute.Key("tls.cipher") + + // TLSClientCertificateKey is the attribute Key conforming to the + // "tls.client.certificate" semantic conventions. It represents the PEM-encoded + // stand-alone certificate offered by the client. This is usually + // mutually-exclusive of `client.certificate_chain` since this value also exists + // in that list. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "MII..." + TLSClientCertificateKey = attribute.Key("tls.client.certificate") + + // TLSClientCertificateChainKey is the attribute Key conforming to the + // "tls.client.certificate_chain" semantic conventions. It represents the array + // of PEM-encoded certificates that make up the certificate chain offered by the + // client. This is usually mutually-exclusive of `client.certificate` since that + // value should be the first certificate in the chain. + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "MII...", "MI..." + TLSClientCertificateChainKey = attribute.Key("tls.client.certificate_chain") + + // TLSClientHashMd5Key is the attribute Key conforming to the + // "tls.client.hash.md5" semantic conventions. It represents the certificate + // fingerprint using the MD5 digest of DER-encoded version of certificate + // offered by the client. For consistency with other hash values, this value + // should be formatted as an uppercase hash. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "0F76C7F2C55BFD7D8E8B8F4BFBF0C9EC" + TLSClientHashMd5Key = attribute.Key("tls.client.hash.md5") + + // TLSClientHashSha1Key is the attribute Key conforming to the + // "tls.client.hash.sha1" semantic conventions. It represents the certificate + // fingerprint using the SHA1 digest of DER-encoded version of certificate + // offered by the client. For consistency with other hash values, this value + // should be formatted as an uppercase hash. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "9E393D93138888D288266C2D915214D1D1CCEB2A" + TLSClientHashSha1Key = attribute.Key("tls.client.hash.sha1") + + // TLSClientHashSha256Key is the attribute Key conforming to the + // "tls.client.hash.sha256" semantic conventions. It represents the certificate + // fingerprint using the SHA256 digest of DER-encoded version of certificate + // offered by the client. For consistency with other hash values, this value + // should be formatted as an uppercase hash. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "0687F666A054EF17A08E2F2162EAB4CBC0D265E1D7875BE74BF3C712CA92DAF0" + TLSClientHashSha256Key = attribute.Key("tls.client.hash.sha256") + + // TLSClientIssuerKey is the attribute Key conforming to the "tls.client.issuer" + // semantic conventions. It represents the distinguished name of [subject] of + // the issuer of the x.509 certificate presented by the client. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "CN=Example Root CA, OU=Infrastructure Team, DC=example, DC=com" + // + // [subject]: https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6 + TLSClientIssuerKey = attribute.Key("tls.client.issuer") + + // TLSClientJa3Key is the attribute Key conforming to the "tls.client.ja3" + // semantic conventions. It represents a hash that identifies clients based on + // how they perform an SSL/TLS handshake. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "d4e5b18d6b55c71272893221c96ba240" + TLSClientJa3Key = attribute.Key("tls.client.ja3") + + // TLSClientNotAfterKey is the attribute Key conforming to the + // "tls.client.not_after" semantic conventions. It represents the date/Time + // indicating when client certificate is no longer considered valid. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "2021-01-01T00:00:00.000Z" + TLSClientNotAfterKey = attribute.Key("tls.client.not_after") + + // TLSClientNotBeforeKey is the attribute Key conforming to the + // "tls.client.not_before" semantic conventions. It represents the date/Time + // indicating when client certificate is first considered valid. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "1970-01-01T00:00:00.000Z" + TLSClientNotBeforeKey = attribute.Key("tls.client.not_before") + + // TLSClientSubjectKey is the attribute Key conforming to the + // "tls.client.subject" semantic conventions. It represents the distinguished + // name of subject of the x.509 certificate presented by the client. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "CN=myclient, OU=Documentation Team, DC=example, DC=com" + TLSClientSubjectKey = attribute.Key("tls.client.subject") + + // TLSClientSupportedCiphersKey is the attribute Key conforming to the + // "tls.client.supported_ciphers" semantic conventions. It represents the array + // of ciphers offered by the client during the client hello. + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + // "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384" + TLSClientSupportedCiphersKey = attribute.Key("tls.client.supported_ciphers") + + // TLSCurveKey is the attribute Key conforming to the "tls.curve" semantic + // conventions. It represents the string indicating the curve used for the given + // cipher, when applicable. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "secp256r1" + TLSCurveKey = attribute.Key("tls.curve") + + // TLSEstablishedKey is the attribute Key conforming to the "tls.established" + // semantic conventions. It represents the boolean flag indicating if the TLS + // negotiation was successful and transitioned to an encrypted tunnel. + // + // Type: boolean + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: true + TLSEstablishedKey = attribute.Key("tls.established") + + // TLSNextProtocolKey is the attribute Key conforming to the "tls.next_protocol" + // semantic conventions. It represents the string indicating the protocol being + // tunneled. Per the values in the [IANA registry], this string should be lower + // case. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "http/1.1" + // + // [IANA registry]: https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids + TLSNextProtocolKey = attribute.Key("tls.next_protocol") + + // TLSProtocolNameKey is the attribute Key conforming to the "tls.protocol.name" + // semantic conventions. It represents the normalized lowercase protocol name + // parsed from original string of the negotiated [SSL/TLS protocol version]. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // + // [SSL/TLS protocol version]: https://docs.openssl.org/1.1.1/man3/SSL_get_version/#return-values + TLSProtocolNameKey = attribute.Key("tls.protocol.name") + + // TLSProtocolVersionKey is the attribute Key conforming to the + // "tls.protocol.version" semantic conventions. It represents the numeric part + // of the version parsed from the original string of the negotiated + // [SSL/TLS protocol version]. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "1.2", "3" + // + // [SSL/TLS protocol version]: https://docs.openssl.org/1.1.1/man3/SSL_get_version/#return-values + TLSProtocolVersionKey = attribute.Key("tls.protocol.version") + + // TLSResumedKey is the attribute Key conforming to the "tls.resumed" semantic + // conventions. It represents the boolean flag indicating if this TLS connection + // was resumed from an existing TLS negotiation. + // + // Type: boolean + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: true + TLSResumedKey = attribute.Key("tls.resumed") + + // TLSServerCertificateKey is the attribute Key conforming to the + // "tls.server.certificate" semantic conventions. It represents the PEM-encoded + // stand-alone certificate offered by the server. This is usually + // mutually-exclusive of `server.certificate_chain` since this value also exists + // in that list. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "MII..." + TLSServerCertificateKey = attribute.Key("tls.server.certificate") + + // TLSServerCertificateChainKey is the attribute Key conforming to the + // "tls.server.certificate_chain" semantic conventions. It represents the array + // of PEM-encoded certificates that make up the certificate chain offered by the + // server. This is usually mutually-exclusive of `server.certificate` since that + // value should be the first certificate in the chain. + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "MII...", "MI..." + TLSServerCertificateChainKey = attribute.Key("tls.server.certificate_chain") + + // TLSServerHashMd5Key is the attribute Key conforming to the + // "tls.server.hash.md5" semantic conventions. It represents the certificate + // fingerprint using the MD5 digest of DER-encoded version of certificate + // offered by the server. For consistency with other hash values, this value + // should be formatted as an uppercase hash. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "0F76C7F2C55BFD7D8E8B8F4BFBF0C9EC" + TLSServerHashMd5Key = attribute.Key("tls.server.hash.md5") + + // TLSServerHashSha1Key is the attribute Key conforming to the + // "tls.server.hash.sha1" semantic conventions. It represents the certificate + // fingerprint using the SHA1 digest of DER-encoded version of certificate + // offered by the server. For consistency with other hash values, this value + // should be formatted as an uppercase hash. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "9E393D93138888D288266C2D915214D1D1CCEB2A" + TLSServerHashSha1Key = attribute.Key("tls.server.hash.sha1") + + // TLSServerHashSha256Key is the attribute Key conforming to the + // "tls.server.hash.sha256" semantic conventions. It represents the certificate + // fingerprint using the SHA256 digest of DER-encoded version of certificate + // offered by the server. For consistency with other hash values, this value + // should be formatted as an uppercase hash. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "0687F666A054EF17A08E2F2162EAB4CBC0D265E1D7875BE74BF3C712CA92DAF0" + TLSServerHashSha256Key = attribute.Key("tls.server.hash.sha256") + + // TLSServerIssuerKey is the attribute Key conforming to the "tls.server.issuer" + // semantic conventions. It represents the distinguished name of [subject] of + // the issuer of the x.509 certificate presented by the client. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "CN=Example Root CA, OU=Infrastructure Team, DC=example, DC=com" + // + // [subject]: https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6 + TLSServerIssuerKey = attribute.Key("tls.server.issuer") + + // TLSServerJa3sKey is the attribute Key conforming to the "tls.server.ja3s" + // semantic conventions. It represents a hash that identifies servers based on + // how they perform an SSL/TLS handshake. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "d4e5b18d6b55c71272893221c96ba240" + TLSServerJa3sKey = attribute.Key("tls.server.ja3s") + + // TLSServerNotAfterKey is the attribute Key conforming to the + // "tls.server.not_after" semantic conventions. It represents the date/Time + // indicating when server certificate is no longer considered valid. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "2021-01-01T00:00:00.000Z" + TLSServerNotAfterKey = attribute.Key("tls.server.not_after") + + // TLSServerNotBeforeKey is the attribute Key conforming to the + // "tls.server.not_before" semantic conventions. It represents the date/Time + // indicating when server certificate is first considered valid. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "1970-01-01T00:00:00.000Z" + TLSServerNotBeforeKey = attribute.Key("tls.server.not_before") + + // TLSServerSubjectKey is the attribute Key conforming to the + // "tls.server.subject" semantic conventions. It represents the distinguished + // name of subject of the x.509 certificate presented by the server. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "CN=myserver, OU=Documentation Team, DC=example, DC=com" + TLSServerSubjectKey = attribute.Key("tls.server.subject") +) + +// TLSCipher returns an attribute KeyValue conforming to the "tls.cipher" +// semantic conventions. It represents the string indicating the [cipher] used +// during the current connection. +// +// [cipher]: https://datatracker.ietf.org/doc/html/rfc5246#appendix-A.5 +func TLSCipher(val string) attribute.KeyValue { + return TLSCipherKey.String(val) +} + +// TLSClientCertificate returns an attribute KeyValue conforming to the +// "tls.client.certificate" semantic conventions. It represents the PEM-encoded +// stand-alone certificate offered by the client. This is usually +// mutually-exclusive of `client.certificate_chain` since this value also exists +// in that list. +func TLSClientCertificate(val string) attribute.KeyValue { + return TLSClientCertificateKey.String(val) +} + +// TLSClientCertificateChain returns an attribute KeyValue conforming to the +// "tls.client.certificate_chain" semantic conventions. It represents the array +// of PEM-encoded certificates that make up the certificate chain offered by the +// client. This is usually mutually-exclusive of `client.certificate` since that +// value should be the first certificate in the chain. +func TLSClientCertificateChain(val ...string) attribute.KeyValue { + return TLSClientCertificateChainKey.StringSlice(val) +} + +// TLSClientHashMd5 returns an attribute KeyValue conforming to the +// "tls.client.hash.md5" semantic conventions. It represents the certificate +// fingerprint using the MD5 digest of DER-encoded version of certificate offered +// by the client. For consistency with other hash values, this value should be +// formatted as an uppercase hash. +func TLSClientHashMd5(val string) attribute.KeyValue { + return TLSClientHashMd5Key.String(val) +} + +// TLSClientHashSha1 returns an attribute KeyValue conforming to the +// "tls.client.hash.sha1" semantic conventions. It represents the certificate +// fingerprint using the SHA1 digest of DER-encoded version of certificate +// offered by the client. For consistency with other hash values, this value +// should be formatted as an uppercase hash. +func TLSClientHashSha1(val string) attribute.KeyValue { + return TLSClientHashSha1Key.String(val) +} + +// TLSClientHashSha256 returns an attribute KeyValue conforming to the +// "tls.client.hash.sha256" semantic conventions. It represents the certificate +// fingerprint using the SHA256 digest of DER-encoded version of certificate +// offered by the client. For consistency with other hash values, this value +// should be formatted as an uppercase hash. +func TLSClientHashSha256(val string) attribute.KeyValue { + return TLSClientHashSha256Key.String(val) +} + +// TLSClientIssuer returns an attribute KeyValue conforming to the +// "tls.client.issuer" semantic conventions. It represents the distinguished name +// of [subject] of the issuer of the x.509 certificate presented by the client. +// +// [subject]: https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6 +func TLSClientIssuer(val string) attribute.KeyValue { + return TLSClientIssuerKey.String(val) +} + +// TLSClientJa3 returns an attribute KeyValue conforming to the "tls.client.ja3" +// semantic conventions. It represents a hash that identifies clients based on +// how they perform an SSL/TLS handshake. +func TLSClientJa3(val string) attribute.KeyValue { + return TLSClientJa3Key.String(val) +} + +// TLSClientNotAfter returns an attribute KeyValue conforming to the +// "tls.client.not_after" semantic conventions. It represents the date/Time +// indicating when client certificate is no longer considered valid. +func TLSClientNotAfter(val string) attribute.KeyValue { + return TLSClientNotAfterKey.String(val) +} + +// TLSClientNotBefore returns an attribute KeyValue conforming to the +// "tls.client.not_before" semantic conventions. It represents the date/Time +// indicating when client certificate is first considered valid. +func TLSClientNotBefore(val string) attribute.KeyValue { + return TLSClientNotBeforeKey.String(val) +} + +// TLSClientSubject returns an attribute KeyValue conforming to the +// "tls.client.subject" semantic conventions. It represents the distinguished +// name of subject of the x.509 certificate presented by the client. +func TLSClientSubject(val string) attribute.KeyValue { + return TLSClientSubjectKey.String(val) +} + +// TLSClientSupportedCiphers returns an attribute KeyValue conforming to the +// "tls.client.supported_ciphers" semantic conventions. It represents the array +// of ciphers offered by the client during the client hello. +func TLSClientSupportedCiphers(val ...string) attribute.KeyValue { + return TLSClientSupportedCiphersKey.StringSlice(val) +} + +// TLSCurve returns an attribute KeyValue conforming to the "tls.curve" semantic +// conventions. It represents the string indicating the curve used for the given +// cipher, when applicable. +func TLSCurve(val string) attribute.KeyValue { + return TLSCurveKey.String(val) +} + +// TLSEstablished returns an attribute KeyValue conforming to the +// "tls.established" semantic conventions. It represents the boolean flag +// indicating if the TLS negotiation was successful and transitioned to an +// encrypted tunnel. +func TLSEstablished(val bool) attribute.KeyValue { + return TLSEstablishedKey.Bool(val) +} + +// TLSNextProtocol returns an attribute KeyValue conforming to the +// "tls.next_protocol" semantic conventions. It represents the string indicating +// the protocol being tunneled. Per the values in the [IANA registry], this +// string should be lower case. +// +// [IANA registry]: https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids +func TLSNextProtocol(val string) attribute.KeyValue { + return TLSNextProtocolKey.String(val) +} + +// TLSProtocolVersion returns an attribute KeyValue conforming to the +// "tls.protocol.version" semantic conventions. It represents the numeric part of +// the version parsed from the original string of the negotiated +// [SSL/TLS protocol version]. +// +// [SSL/TLS protocol version]: https://docs.openssl.org/1.1.1/man3/SSL_get_version/#return-values +func TLSProtocolVersion(val string) attribute.KeyValue { + return TLSProtocolVersionKey.String(val) +} + +// TLSResumed returns an attribute KeyValue conforming to the "tls.resumed" +// semantic conventions. It represents the boolean flag indicating if this TLS +// connection was resumed from an existing TLS negotiation. +func TLSResumed(val bool) attribute.KeyValue { + return TLSResumedKey.Bool(val) +} + +// TLSServerCertificate returns an attribute KeyValue conforming to the +// "tls.server.certificate" semantic conventions. It represents the PEM-encoded +// stand-alone certificate offered by the server. This is usually +// mutually-exclusive of `server.certificate_chain` since this value also exists +// in that list. +func TLSServerCertificate(val string) attribute.KeyValue { + return TLSServerCertificateKey.String(val) +} + +// TLSServerCertificateChain returns an attribute KeyValue conforming to the +// "tls.server.certificate_chain" semantic conventions. It represents the array +// of PEM-encoded certificates that make up the certificate chain offered by the +// server. This is usually mutually-exclusive of `server.certificate` since that +// value should be the first certificate in the chain. +func TLSServerCertificateChain(val ...string) attribute.KeyValue { + return TLSServerCertificateChainKey.StringSlice(val) +} + +// TLSServerHashMd5 returns an attribute KeyValue conforming to the +// "tls.server.hash.md5" semantic conventions. It represents the certificate +// fingerprint using the MD5 digest of DER-encoded version of certificate offered +// by the server. For consistency with other hash values, this value should be +// formatted as an uppercase hash. +func TLSServerHashMd5(val string) attribute.KeyValue { + return TLSServerHashMd5Key.String(val) +} + +// TLSServerHashSha1 returns an attribute KeyValue conforming to the +// "tls.server.hash.sha1" semantic conventions. It represents the certificate +// fingerprint using the SHA1 digest of DER-encoded version of certificate +// offered by the server. For consistency with other hash values, this value +// should be formatted as an uppercase hash. +func TLSServerHashSha1(val string) attribute.KeyValue { + return TLSServerHashSha1Key.String(val) +} + +// TLSServerHashSha256 returns an attribute KeyValue conforming to the +// "tls.server.hash.sha256" semantic conventions. It represents the certificate +// fingerprint using the SHA256 digest of DER-encoded version of certificate +// offered by the server. For consistency with other hash values, this value +// should be formatted as an uppercase hash. +func TLSServerHashSha256(val string) attribute.KeyValue { + return TLSServerHashSha256Key.String(val) +} + +// TLSServerIssuer returns an attribute KeyValue conforming to the +// "tls.server.issuer" semantic conventions. It represents the distinguished name +// of [subject] of the issuer of the x.509 certificate presented by the client. +// +// [subject]: https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6 +func TLSServerIssuer(val string) attribute.KeyValue { + return TLSServerIssuerKey.String(val) +} + +// TLSServerJa3s returns an attribute KeyValue conforming to the +// "tls.server.ja3s" semantic conventions. It represents a hash that identifies +// servers based on how they perform an SSL/TLS handshake. +func TLSServerJa3s(val string) attribute.KeyValue { + return TLSServerJa3sKey.String(val) +} + +// TLSServerNotAfter returns an attribute KeyValue conforming to the +// "tls.server.not_after" semantic conventions. It represents the date/Time +// indicating when server certificate is no longer considered valid. +func TLSServerNotAfter(val string) attribute.KeyValue { + return TLSServerNotAfterKey.String(val) +} + +// TLSServerNotBefore returns an attribute KeyValue conforming to the +// "tls.server.not_before" semantic conventions. It represents the date/Time +// indicating when server certificate is first considered valid. +func TLSServerNotBefore(val string) attribute.KeyValue { + return TLSServerNotBeforeKey.String(val) +} + +// TLSServerSubject returns an attribute KeyValue conforming to the +// "tls.server.subject" semantic conventions. It represents the distinguished +// name of subject of the x.509 certificate presented by the server. +func TLSServerSubject(val string) attribute.KeyValue { + return TLSServerSubjectKey.String(val) +} + +// Enum values for tls.protocol.name +var ( + // ssl + // Stability: development + TLSProtocolNameSsl = TLSProtocolNameKey.String("ssl") + // tls + // Stability: development + TLSProtocolNameTLS = TLSProtocolNameKey.String("tls") +) + +// Namespace: url +const ( + // URLDomainKey is the attribute Key conforming to the "url.domain" semantic + // conventions. It represents the domain extracted from the `url.full`, such as + // "opentelemetry.io". + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "www.foo.bar", "opentelemetry.io", "3.12.167.2", + // "[1080:0:0:0:8:800:200C:417A]" + // Note: In some cases a URL may refer to an IP and/or port directly, without a + // domain name. In this case, the IP address would go to the domain field. If + // the URL contains a [literal IPv6 address] enclosed by `[` and `]`, the `[` + // and `]` characters should also be captured in the domain field. + // + // [literal IPv6 address]: https://www.rfc-editor.org/rfc/rfc2732#section-2 + URLDomainKey = attribute.Key("url.domain") + + // URLExtensionKey is the attribute Key conforming to the "url.extension" + // semantic conventions. It represents the file extension extracted from the + // `url.full`, excluding the leading dot. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "png", "gz" + // Note: The file extension is only set if it exists, as not every url has a + // file extension. When the file name has multiple extensions `example.tar.gz`, + // only the last one should be captured `gz`, not `tar.gz`. + URLExtensionKey = attribute.Key("url.extension") + + // URLFragmentKey is the attribute Key conforming to the "url.fragment" semantic + // conventions. It represents the [URI fragment] component. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "SemConv" + // + // [URI fragment]: https://www.rfc-editor.org/rfc/rfc3986#section-3.5 + URLFragmentKey = attribute.Key("url.fragment") + + // URLFullKey is the attribute Key conforming to the "url.full" semantic + // conventions. It represents the absolute URL describing a network resource + // according to [RFC3986]. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "https://www.foo.bar/search?q=OpenTelemetry#SemConv", "//localhost" + // Note: For network calls, URL usually has + // `scheme://host[:port][path][?query][#fragment]` format, where the fragment + // is not transmitted over HTTP, but if it is known, it SHOULD be included + // nevertheless. + // + // `url.full` MUST NOT contain credentials passed via URL in form of + // `https://username:password@www.example.com/`. + // In such case username and password SHOULD be redacted and attribute's value + // SHOULD be `https://REDACTED:REDACTED@www.example.com/`. + // + // `url.full` SHOULD capture the absolute URL when it is available (or can be + // reconstructed). + // + // Sensitive content provided in `url.full` SHOULD be scrubbed when + // instrumentations can identify it. + // + // + // Query string values for the following keys SHOULD be redacted by default and + // replaced by the + // value `REDACTED`: + // + // - [`AWSAccessKeyId`] + // - [`Signature`] + // - [`sig`] + // - [`X-Goog-Signature`] + // + // This list is subject to change over time. + // + // When a query string value is redacted, the query string key SHOULD still be + // preserved, e.g. + // `https://www.example.com/path?color=blue&sig=REDACTED`. + // + // [RFC3986]: https://www.rfc-editor.org/rfc/rfc3986 + // [`AWSAccessKeyId`]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RESTAuthentication.html#RESTAuthenticationQueryStringAuth + // [`Signature`]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RESTAuthentication.html#RESTAuthenticationQueryStringAuth + // [`sig`]: https://learn.microsoft.com/azure/storage/common/storage-sas-overview#sas-token + // [`X-Goog-Signature`]: https://cloud.google.com/storage/docs/access-control/signed-urls + URLFullKey = attribute.Key("url.full") + + // URLOriginalKey is the attribute Key conforming to the "url.original" semantic + // conventions. It represents the unmodified original URL as seen in the event + // source. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "https://www.foo.bar/search?q=OpenTelemetry#SemConv", + // "search?q=OpenTelemetry" + // Note: In network monitoring, the observed URL may be a full URL, whereas in + // access logs, the URL is often just represented as a path. This field is meant + // to represent the URL as it was observed, complete or not. + // `url.original` might contain credentials passed via URL in form of + // `https://username:password@www.example.com/`. In such case password and + // username SHOULD NOT be redacted and attribute's value SHOULD remain the same. + URLOriginalKey = attribute.Key("url.original") + + // URLPathKey is the attribute Key conforming to the "url.path" semantic + // conventions. It represents the [URI path] component. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "/search" + // Note: Sensitive content provided in `url.path` SHOULD be scrubbed when + // instrumentations can identify it. + // + // [URI path]: https://www.rfc-editor.org/rfc/rfc3986#section-3.3 + URLPathKey = attribute.Key("url.path") + + // URLPortKey is the attribute Key conforming to the "url.port" semantic + // conventions. It represents the port extracted from the `url.full`. + // + // Type: int + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: 443 + URLPortKey = attribute.Key("url.port") + + // URLQueryKey is the attribute Key conforming to the "url.query" semantic + // conventions. It represents the [URI query] component. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "q=OpenTelemetry" + // Note: Sensitive content provided in `url.query` SHOULD be scrubbed when + // instrumentations can identify it. + // + // + // Query string values for the following keys SHOULD be redacted by default and + // replaced by the value `REDACTED`: + // + // - [`AWSAccessKeyId`] + // - [`Signature`] + // - [`sig`] + // - [`X-Goog-Signature`] + // + // This list is subject to change over time. + // + // When a query string value is redacted, the query string key SHOULD still be + // preserved, e.g. + // `q=OpenTelemetry&sig=REDACTED`. + // + // [URI query]: https://www.rfc-editor.org/rfc/rfc3986#section-3.4 + // [`AWSAccessKeyId`]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RESTAuthentication.html#RESTAuthenticationQueryStringAuth + // [`Signature`]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RESTAuthentication.html#RESTAuthenticationQueryStringAuth + // [`sig`]: https://learn.microsoft.com/azure/storage/common/storage-sas-overview#sas-token + // [`X-Goog-Signature`]: https://cloud.google.com/storage/docs/access-control/signed-urls + URLQueryKey = attribute.Key("url.query") + + // URLRegisteredDomainKey is the attribute Key conforming to the + // "url.registered_domain" semantic conventions. It represents the highest + // registered url domain, stripped of the subdomain. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "example.com", "foo.co.uk" + // Note: This value can be determined precisely with the [public suffix list]. + // For example, the registered domain for `foo.example.com` is `example.com`. + // Trying to approximate this by simply taking the last two labels will not work + // well for TLDs such as `co.uk`. + // + // [public suffix list]: https://publicsuffix.org/ + URLRegisteredDomainKey = attribute.Key("url.registered_domain") + + // URLSchemeKey is the attribute Key conforming to the "url.scheme" semantic + // conventions. It represents the [URI scheme] component identifying the used + // protocol. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "https", "ftp", "telnet" + // + // [URI scheme]: https://www.rfc-editor.org/rfc/rfc3986#section-3.1 + URLSchemeKey = attribute.Key("url.scheme") + + // URLSubdomainKey is the attribute Key conforming to the "url.subdomain" + // semantic conventions. It represents the subdomain portion of a fully + // qualified domain name includes all of the names except the host name under + // the registered_domain. In a partially qualified domain, or if the + // qualification level of the full name cannot be determined, subdomain contains + // all of the names below the registered domain. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "east", "sub2.sub1" + // Note: The subdomain portion of `www.east.mydomain.co.uk` is `east`. If the + // domain has multiple levels of subdomain, such as `sub2.sub1.example.com`, the + // subdomain field should contain `sub2.sub1`, with no trailing period. + URLSubdomainKey = attribute.Key("url.subdomain") + + // URLTemplateKey is the attribute Key conforming to the "url.template" semantic + // conventions. It represents the low-cardinality template of an + // [absolute path reference]. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "/users/{id}", "/users/:id", "/users?id={id}" + // + // [absolute path reference]: https://www.rfc-editor.org/rfc/rfc3986#section-4.2 + URLTemplateKey = attribute.Key("url.template") + + // URLTopLevelDomainKey is the attribute Key conforming to the + // "url.top_level_domain" semantic conventions. It represents the effective top + // level domain (eTLD), also known as the domain suffix, is the last part of the + // domain name. For example, the top level domain for example.com is `com`. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "com", "co.uk" + // Note: This value can be determined precisely with the [public suffix list]. + // + // [public suffix list]: https://publicsuffix.org/ + URLTopLevelDomainKey = attribute.Key("url.top_level_domain") +) + +// URLDomain returns an attribute KeyValue conforming to the "url.domain" +// semantic conventions. It represents the domain extracted from the `url.full`, +// such as "opentelemetry.io". +func URLDomain(val string) attribute.KeyValue { + return URLDomainKey.String(val) +} + +// URLExtension returns an attribute KeyValue conforming to the "url.extension" +// semantic conventions. It represents the file extension extracted from the +// `url.full`, excluding the leading dot. +func URLExtension(val string) attribute.KeyValue { + return URLExtensionKey.String(val) +} + +// URLFragment returns an attribute KeyValue conforming to the "url.fragment" +// semantic conventions. It represents the [URI fragment] component. +// +// [URI fragment]: https://www.rfc-editor.org/rfc/rfc3986#section-3.5 +func URLFragment(val string) attribute.KeyValue { + return URLFragmentKey.String(val) +} + +// URLFull returns an attribute KeyValue conforming to the "url.full" semantic +// conventions. It represents the absolute URL describing a network resource +// according to [RFC3986]. +// +// [RFC3986]: https://www.rfc-editor.org/rfc/rfc3986 +func URLFull(val string) attribute.KeyValue { + return URLFullKey.String(val) +} + +// URLOriginal returns an attribute KeyValue conforming to the "url.original" +// semantic conventions. It represents the unmodified original URL as seen in the +// event source. +func URLOriginal(val string) attribute.KeyValue { + return URLOriginalKey.String(val) +} + +// URLPath returns an attribute KeyValue conforming to the "url.path" semantic +// conventions. It represents the [URI path] component. +// +// [URI path]: https://www.rfc-editor.org/rfc/rfc3986#section-3.3 +func URLPath(val string) attribute.KeyValue { + return URLPathKey.String(val) +} + +// URLPort returns an attribute KeyValue conforming to the "url.port" semantic +// conventions. It represents the port extracted from the `url.full`. +func URLPort(val int) attribute.KeyValue { + return URLPortKey.Int(val) +} + +// URLQuery returns an attribute KeyValue conforming to the "url.query" semantic +// conventions. It represents the [URI query] component. +// +// [URI query]: https://www.rfc-editor.org/rfc/rfc3986#section-3.4 +func URLQuery(val string) attribute.KeyValue { + return URLQueryKey.String(val) +} + +// URLRegisteredDomain returns an attribute KeyValue conforming to the +// "url.registered_domain" semantic conventions. It represents the highest +// registered url domain, stripped of the subdomain. +func URLRegisteredDomain(val string) attribute.KeyValue { + return URLRegisteredDomainKey.String(val) +} + +// URLScheme returns an attribute KeyValue conforming to the "url.scheme" +// semantic conventions. It represents the [URI scheme] component identifying the +// used protocol. +// +// [URI scheme]: https://www.rfc-editor.org/rfc/rfc3986#section-3.1 +func URLScheme(val string) attribute.KeyValue { + return URLSchemeKey.String(val) +} + +// URLSubdomain returns an attribute KeyValue conforming to the "url.subdomain" +// semantic conventions. It represents the subdomain portion of a fully qualified +// domain name includes all of the names except the host name under the +// registered_domain. In a partially qualified domain, or if the qualification +// level of the full name cannot be determined, subdomain contains all of the +// names below the registered domain. +func URLSubdomain(val string) attribute.KeyValue { + return URLSubdomainKey.String(val) +} + +// URLTemplate returns an attribute KeyValue conforming to the "url.template" +// semantic conventions. It represents the low-cardinality template of an +// [absolute path reference]. +// +// [absolute path reference]: https://www.rfc-editor.org/rfc/rfc3986#section-4.2 +func URLTemplate(val string) attribute.KeyValue { + return URLTemplateKey.String(val) +} + +// URLTopLevelDomain returns an attribute KeyValue conforming to the +// "url.top_level_domain" semantic conventions. It represents the effective top +// level domain (eTLD), also known as the domain suffix, is the last part of the +// domain name. For example, the top level domain for example.com is `com`. +func URLTopLevelDomain(val string) attribute.KeyValue { + return URLTopLevelDomainKey.String(val) +} + +// Namespace: user +const ( + // UserEmailKey is the attribute Key conforming to the "user.email" semantic + // conventions. It represents the user email address. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "a.einstein@example.com" + UserEmailKey = attribute.Key("user.email") + + // UserFullNameKey is the attribute Key conforming to the "user.full_name" + // semantic conventions. It represents the user's full name. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Albert Einstein" + UserFullNameKey = attribute.Key("user.full_name") + + // UserHashKey is the attribute Key conforming to the "user.hash" semantic + // conventions. It represents the unique user hash to correlate information for + // a user in anonymized form. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "364fc68eaf4c8acec74a4e52d7d1feaa" + // Note: Useful if `user.id` or `user.name` contain confidential information and + // cannot be used. + UserHashKey = attribute.Key("user.hash") + + // UserIDKey is the attribute Key conforming to the "user.id" semantic + // conventions. It represents the unique identifier of the user. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "S-1-5-21-202424912787-2692429404-2351956786-1000" + UserIDKey = attribute.Key("user.id") + + // UserNameKey is the attribute Key conforming to the "user.name" semantic + // conventions. It represents the short name or login/username of the user. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "a.einstein" + UserNameKey = attribute.Key("user.name") + + // UserRolesKey is the attribute Key conforming to the "user.roles" semantic + // conventions. It represents the array of user roles at the time of the event. + // + // Type: string[] + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "admin", "reporting_user" + UserRolesKey = attribute.Key("user.roles") +) + +// UserEmail returns an attribute KeyValue conforming to the "user.email" +// semantic conventions. It represents the user email address. +func UserEmail(val string) attribute.KeyValue { + return UserEmailKey.String(val) +} + +// UserFullName returns an attribute KeyValue conforming to the "user.full_name" +// semantic conventions. It represents the user's full name. +func UserFullName(val string) attribute.KeyValue { + return UserFullNameKey.String(val) +} + +// UserHash returns an attribute KeyValue conforming to the "user.hash" semantic +// conventions. It represents the unique user hash to correlate information for a +// user in anonymized form. +func UserHash(val string) attribute.KeyValue { + return UserHashKey.String(val) +} + +// UserID returns an attribute KeyValue conforming to the "user.id" semantic +// conventions. It represents the unique identifier of the user. +func UserID(val string) attribute.KeyValue { + return UserIDKey.String(val) +} + +// UserName returns an attribute KeyValue conforming to the "user.name" semantic +// conventions. It represents the short name or login/username of the user. +func UserName(val string) attribute.KeyValue { + return UserNameKey.String(val) +} + +// UserRoles returns an attribute KeyValue conforming to the "user.roles" +// semantic conventions. It represents the array of user roles at the time of the +// event. +func UserRoles(val ...string) attribute.KeyValue { + return UserRolesKey.StringSlice(val) +} + +// Namespace: user_agent +const ( + // UserAgentNameKey is the attribute Key conforming to the "user_agent.name" + // semantic conventions. It represents the name of the user-agent extracted from + // original. Usually refers to the browser's name. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Safari", "YourApp" + // Note: [Example] of extracting browser's name from original string. In the + // case of using a user-agent for non-browser products, such as microservices + // with multiple names/versions inside the `user_agent.original`, the most + // significant name SHOULD be selected. In such a scenario it should align with + // `user_agent.version` + // + // [Example]: https://uaparser.dev/#demo + UserAgentNameKey = attribute.Key("user_agent.name") + + // UserAgentOriginalKey is the attribute Key conforming to the + // "user_agent.original" semantic conventions. It represents the value of the + // [HTTP User-Agent] header sent by the client. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Stable + // + // Examples: "CERN-LineMode/2.15 libwww/2.17b3", "Mozilla/5.0 (iPhone; CPU + // iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) + // Version/14.1.2 Mobile/15E148 Safari/604.1", "YourApp/1.0.0 + // grpc-java-okhttp/1.27.2" + // + // [HTTP User-Agent]: https://www.rfc-editor.org/rfc/rfc9110.html#field.user-agent + UserAgentOriginalKey = attribute.Key("user_agent.original") + + // UserAgentOSNameKey is the attribute Key conforming to the + // "user_agent.os.name" semantic conventions. It represents the human readable + // operating system name. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "iOS", "Android", "Ubuntu" + // Note: For mapping user agent strings to OS names, libraries such as + // [ua-parser] can be utilized. + // + // [ua-parser]: https://github.com/ua-parser + UserAgentOSNameKey = attribute.Key("user_agent.os.name") + + // UserAgentOSVersionKey is the attribute Key conforming to the + // "user_agent.os.version" semantic conventions. It represents the version + // string of the operating system as defined in [Version Attributes]. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "14.2.1", "18.04.1" + // Note: For mapping user agent strings to OS versions, libraries such as + // [ua-parser] can be utilized. + // + // [Version Attributes]: /docs/resource/README.md#version-attributes + // [ua-parser]: https://github.com/ua-parser + UserAgentOSVersionKey = attribute.Key("user_agent.os.version") + + // UserAgentSyntheticTypeKey is the attribute Key conforming to the + // "user_agent.synthetic.type" semantic conventions. It represents the specifies + // the category of synthetic traffic, such as tests or bots. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // Note: This attribute MAY be derived from the contents of the + // `user_agent.original` attribute. Components that populate the attribute are + // responsible for determining what they consider to be synthetic bot or test + // traffic. This attribute can either be set for self-identification purposes, + // or on telemetry detected to be generated as a result of a synthetic request. + // This attribute is useful for distinguishing between genuine client traffic + // and synthetic traffic generated by bots or tests. + UserAgentSyntheticTypeKey = attribute.Key("user_agent.synthetic.type") + + // UserAgentVersionKey is the attribute Key conforming to the + // "user_agent.version" semantic conventions. It represents the version of the + // user-agent extracted from original. Usually refers to the browser's version. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "14.1.2", "1.0.0" + // Note: [Example] of extracting browser's version from original string. In the + // case of using a user-agent for non-browser products, such as microservices + // with multiple names/versions inside the `user_agent.original`, the most + // significant version SHOULD be selected. In such a scenario it should align + // with `user_agent.name` + // + // [Example]: https://uaparser.dev/#demo + UserAgentVersionKey = attribute.Key("user_agent.version") +) + +// UserAgentName returns an attribute KeyValue conforming to the +// "user_agent.name" semantic conventions. It represents the name of the +// user-agent extracted from original. Usually refers to the browser's name. +func UserAgentName(val string) attribute.KeyValue { + return UserAgentNameKey.String(val) +} + +// UserAgentOriginal returns an attribute KeyValue conforming to the +// "user_agent.original" semantic conventions. It represents the value of the +// [HTTP User-Agent] header sent by the client. +// +// [HTTP User-Agent]: https://www.rfc-editor.org/rfc/rfc9110.html#field.user-agent +func UserAgentOriginal(val string) attribute.KeyValue { + return UserAgentOriginalKey.String(val) +} + +// UserAgentOSName returns an attribute KeyValue conforming to the +// "user_agent.os.name" semantic conventions. It represents the human readable +// operating system name. +func UserAgentOSName(val string) attribute.KeyValue { + return UserAgentOSNameKey.String(val) +} + +// UserAgentOSVersion returns an attribute KeyValue conforming to the +// "user_agent.os.version" semantic conventions. It represents the version string +// of the operating system as defined in [Version Attributes]. +// +// [Version Attributes]: /docs/resource/README.md#version-attributes +func UserAgentOSVersion(val string) attribute.KeyValue { + return UserAgentOSVersionKey.String(val) +} + +// UserAgentVersion returns an attribute KeyValue conforming to the +// "user_agent.version" semantic conventions. It represents the version of the +// user-agent extracted from original. Usually refers to the browser's version. +func UserAgentVersion(val string) attribute.KeyValue { + return UserAgentVersionKey.String(val) +} + +// Enum values for user_agent.synthetic.type +var ( + // Bot source. + // Stability: development + UserAgentSyntheticTypeBot = UserAgentSyntheticTypeKey.String("bot") + // Synthetic test source. + // Stability: development + UserAgentSyntheticTypeTest = UserAgentSyntheticTypeKey.String("test") +) + +// Namespace: vcs +const ( + // VCSChangeIDKey is the attribute Key conforming to the "vcs.change.id" + // semantic conventions. It represents the ID of the change (pull request/merge + // request/changelist) if applicable. This is usually a unique (within + // repository) identifier generated by the VCS system. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "123" + VCSChangeIDKey = attribute.Key("vcs.change.id") + + // VCSChangeStateKey is the attribute Key conforming to the "vcs.change.state" + // semantic conventions. It represents the state of the change (pull + // request/merge request/changelist). + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "open", "closed", "merged" + VCSChangeStateKey = attribute.Key("vcs.change.state") + + // VCSChangeTitleKey is the attribute Key conforming to the "vcs.change.title" + // semantic conventions. It represents the human readable title of the change + // (pull request/merge request/changelist). This title is often a brief summary + // of the change and may get merged in to a ref as the commit summary. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "Fixes broken thing", "feat: add my new feature", "[chore] update + // dependency" + VCSChangeTitleKey = attribute.Key("vcs.change.title") + + // VCSLineChangeTypeKey is the attribute Key conforming to the + // "vcs.line_change.type" semantic conventions. It represents the type of line + // change being measured on a branch or change. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "added", "removed" + VCSLineChangeTypeKey = attribute.Key("vcs.line_change.type") + + // VCSOwnerNameKey is the attribute Key conforming to the "vcs.owner.name" + // semantic conventions. It represents the group owner within the version + // control system. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "my-org", "myteam", "business-unit" + VCSOwnerNameKey = attribute.Key("vcs.owner.name") + + // VCSProviderNameKey is the attribute Key conforming to the "vcs.provider.name" + // semantic conventions. It represents the name of the version control system + // provider. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "github", "gitlab", "gitea", "bitbucket" + VCSProviderNameKey = attribute.Key("vcs.provider.name") + + // VCSRefBaseNameKey is the attribute Key conforming to the "vcs.ref.base.name" + // semantic conventions. It represents the name of the [reference] such as + // **branch** or **tag** in the repository. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "my-feature-branch", "tag-1-test" + // Note: `base` refers to the starting point of a change. For example, `main` + // would be the base reference of type branch if you've created a new + // reference of type branch from it and created new commits. + // + // [reference]: https://git-scm.com/docs/gitglossary#def_ref + VCSRefBaseNameKey = attribute.Key("vcs.ref.base.name") + + // VCSRefBaseRevisionKey is the attribute Key conforming to the + // "vcs.ref.base.revision" semantic conventions. It represents the revision, + // literally [revised version], The revision most often refers to a commit + // object in Git, or a revision number in SVN. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "9d59409acf479dfa0df1aa568182e43e43df8bbe28d60fcf2bc52e30068802cc", + // "main", "123", "HEAD" + // Note: `base` refers to the starting point of a change. For example, `main` + // would be the base reference of type branch if you've created a new + // reference of type branch from it and created new commits. The + // revision can be a full [hash value (see + // glossary)], + // of the recorded change to a ref within a repository pointing to a + // commit [commit] object. It does + // not necessarily have to be a hash; it can simply define a [revision + // number] + // which is an integer that is monotonically increasing. In cases where + // it is identical to the `ref.base.name`, it SHOULD still be included. + // It is up to the implementer to decide which value to set as the + // revision based on the VCS system and situational context. + // + // [revised version]: https://www.merriam-webster.com/dictionary/revision + // [hash value (see + // glossary)]: https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf + // [commit]: https://git-scm.com/docs/git-commit + // [revision + // number]: https://svnbook.red-bean.com/en/1.7/svn.tour.revs.specifiers.html + VCSRefBaseRevisionKey = attribute.Key("vcs.ref.base.revision") + + // VCSRefBaseTypeKey is the attribute Key conforming to the "vcs.ref.base.type" + // semantic conventions. It represents the type of the [reference] in the + // repository. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "branch", "tag" + // Note: `base` refers to the starting point of a change. For example, `main` + // would be the base reference of type branch if you've created a new + // reference of type branch from it and created new commits. + // + // [reference]: https://git-scm.com/docs/gitglossary#def_ref + VCSRefBaseTypeKey = attribute.Key("vcs.ref.base.type") + + // VCSRefHeadNameKey is the attribute Key conforming to the "vcs.ref.head.name" + // semantic conventions. It represents the name of the [reference] such as + // **branch** or **tag** in the repository. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "my-feature-branch", "tag-1-test" + // Note: `head` refers to where you are right now; the current reference at a + // given time. + // + // [reference]: https://git-scm.com/docs/gitglossary#def_ref + VCSRefHeadNameKey = attribute.Key("vcs.ref.head.name") + + // VCSRefHeadRevisionKey is the attribute Key conforming to the + // "vcs.ref.head.revision" semantic conventions. It represents the revision, + // literally [revised version], The revision most often refers to a commit + // object in Git, or a revision number in SVN. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "9d59409acf479dfa0df1aa568182e43e43df8bbe28d60fcf2bc52e30068802cc", + // "main", "123", "HEAD" + // Note: `head` refers to where you are right now; the current reference at a + // given time.The revision can be a full [hash value (see + // glossary)], + // of the recorded change to a ref within a repository pointing to a + // commit [commit] object. It does + // not necessarily have to be a hash; it can simply define a [revision + // number] + // which is an integer that is monotonically increasing. In cases where + // it is identical to the `ref.head.name`, it SHOULD still be included. + // It is up to the implementer to decide which value to set as the + // revision based on the VCS system and situational context. + // + // [revised version]: https://www.merriam-webster.com/dictionary/revision + // [hash value (see + // glossary)]: https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf + // [commit]: https://git-scm.com/docs/git-commit + // [revision + // number]: https://svnbook.red-bean.com/en/1.7/svn.tour.revs.specifiers.html + VCSRefHeadRevisionKey = attribute.Key("vcs.ref.head.revision") + + // VCSRefHeadTypeKey is the attribute Key conforming to the "vcs.ref.head.type" + // semantic conventions. It represents the type of the [reference] in the + // repository. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "branch", "tag" + // Note: `head` refers to where you are right now; the current reference at a + // given time. + // + // [reference]: https://git-scm.com/docs/gitglossary#def_ref + VCSRefHeadTypeKey = attribute.Key("vcs.ref.head.type") + + // VCSRefTypeKey is the attribute Key conforming to the "vcs.ref.type" semantic + // conventions. It represents the type of the [reference] in the repository. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "branch", "tag" + // + // [reference]: https://git-scm.com/docs/gitglossary#def_ref + VCSRefTypeKey = attribute.Key("vcs.ref.type") + + // VCSRepositoryNameKey is the attribute Key conforming to the + // "vcs.repository.name" semantic conventions. It represents the human readable + // name of the repository. It SHOULD NOT include any additional identifier like + // Group/SubGroup in GitLab or organization in GitHub. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "semantic-conventions", "my-cool-repo" + // Note: Due to it only being the name, it can clash with forks of the same + // repository if collecting telemetry across multiple orgs or groups in + // the same backends. + VCSRepositoryNameKey = attribute.Key("vcs.repository.name") + + // VCSRepositoryURLFullKey is the attribute Key conforming to the + // "vcs.repository.url.full" semantic conventions. It represents the + // [canonical URL] of the repository providing the complete HTTP(S) address in + // order to locate and identify the repository through a browser. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: + // "https://github.com/opentelemetry/open-telemetry-collector-contrib", + // "https://gitlab.com/my-org/my-project/my-projects-project/repo" + // Note: In Git Version Control Systems, the canonical URL SHOULD NOT include + // the `.git` extension. + // + // [canonical URL]: https://support.google.com/webmasters/answer/10347851 + VCSRepositoryURLFullKey = attribute.Key("vcs.repository.url.full") + + // VCSRevisionDeltaDirectionKey is the attribute Key conforming to the + // "vcs.revision_delta.direction" semantic conventions. It represents the type + // of revision comparison. + // + // Type: Enum + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "ahead", "behind" + VCSRevisionDeltaDirectionKey = attribute.Key("vcs.revision_delta.direction") +) + +// VCSChangeID returns an attribute KeyValue conforming to the "vcs.change.id" +// semantic conventions. It represents the ID of the change (pull request/merge +// request/changelist) if applicable. This is usually a unique (within +// repository) identifier generated by the VCS system. +func VCSChangeID(val string) attribute.KeyValue { + return VCSChangeIDKey.String(val) +} + +// VCSChangeTitle returns an attribute KeyValue conforming to the +// "vcs.change.title" semantic conventions. It represents the human readable +// title of the change (pull request/merge request/changelist). This title is +// often a brief summary of the change and may get merged in to a ref as the +// commit summary. +func VCSChangeTitle(val string) attribute.KeyValue { + return VCSChangeTitleKey.String(val) +} + +// VCSOwnerName returns an attribute KeyValue conforming to the "vcs.owner.name" +// semantic conventions. It represents the group owner within the version control +// system. +func VCSOwnerName(val string) attribute.KeyValue { + return VCSOwnerNameKey.String(val) +} + +// VCSRefBaseName returns an attribute KeyValue conforming to the +// "vcs.ref.base.name" semantic conventions. It represents the name of the +// [reference] such as **branch** or **tag** in the repository. +// +// [reference]: https://git-scm.com/docs/gitglossary#def_ref +func VCSRefBaseName(val string) attribute.KeyValue { + return VCSRefBaseNameKey.String(val) +} + +// VCSRefBaseRevision returns an attribute KeyValue conforming to the +// "vcs.ref.base.revision" semantic conventions. It represents the revision, +// literally [revised version], The revision most often refers to a commit object +// in Git, or a revision number in SVN. +// +// [revised version]: https://www.merriam-webster.com/dictionary/revision +func VCSRefBaseRevision(val string) attribute.KeyValue { + return VCSRefBaseRevisionKey.String(val) +} + +// VCSRefHeadName returns an attribute KeyValue conforming to the +// "vcs.ref.head.name" semantic conventions. It represents the name of the +// [reference] such as **branch** or **tag** in the repository. +// +// [reference]: https://git-scm.com/docs/gitglossary#def_ref +func VCSRefHeadName(val string) attribute.KeyValue { + return VCSRefHeadNameKey.String(val) +} + +// VCSRefHeadRevision returns an attribute KeyValue conforming to the +// "vcs.ref.head.revision" semantic conventions. It represents the revision, +// literally [revised version], The revision most often refers to a commit object +// in Git, or a revision number in SVN. +// +// [revised version]: https://www.merriam-webster.com/dictionary/revision +func VCSRefHeadRevision(val string) attribute.KeyValue { + return VCSRefHeadRevisionKey.String(val) +} + +// VCSRepositoryName returns an attribute KeyValue conforming to the +// "vcs.repository.name" semantic conventions. It represents the human readable +// name of the repository. It SHOULD NOT include any additional identifier like +// Group/SubGroup in GitLab or organization in GitHub. +func VCSRepositoryName(val string) attribute.KeyValue { + return VCSRepositoryNameKey.String(val) +} + +// VCSRepositoryURLFull returns an attribute KeyValue conforming to the +// "vcs.repository.url.full" semantic conventions. It represents the +// [canonical URL] of the repository providing the complete HTTP(S) address in +// order to locate and identify the repository through a browser. +// +// [canonical URL]: https://support.google.com/webmasters/answer/10347851 +func VCSRepositoryURLFull(val string) attribute.KeyValue { + return VCSRepositoryURLFullKey.String(val) +} + +// Enum values for vcs.change.state +var ( + // Open means the change is currently active and under review. It hasn't been + // merged into the target branch yet, and it's still possible to make changes or + // add comments. + // Stability: development + VCSChangeStateOpen = VCSChangeStateKey.String("open") + // WIP (work-in-progress, draft) means the change is still in progress and not + // yet ready for a full review. It might still undergo significant changes. + // Stability: development + VCSChangeStateWip = VCSChangeStateKey.String("wip") + // Closed means the merge request has been closed without merging. This can + // happen for various reasons, such as the changes being deemed unnecessary, the + // issue being resolved in another way, or the author deciding to withdraw the + // request. + // Stability: development + VCSChangeStateClosed = VCSChangeStateKey.String("closed") + // Merged indicates that the change has been successfully integrated into the + // target codebase. + // Stability: development + VCSChangeStateMerged = VCSChangeStateKey.String("merged") +) + +// Enum values for vcs.line_change.type +var ( + // How many lines were added. + // Stability: development + VCSLineChangeTypeAdded = VCSLineChangeTypeKey.String("added") + // How many lines were removed. + // Stability: development + VCSLineChangeTypeRemoved = VCSLineChangeTypeKey.String("removed") +) + +// Enum values for vcs.provider.name +var ( + // [GitHub] + // Stability: development + // + // [GitHub]: https://github.com + VCSProviderNameGithub = VCSProviderNameKey.String("github") + // [GitLab] + // Stability: development + // + // [GitLab]: https://gitlab.com + VCSProviderNameGitlab = VCSProviderNameKey.String("gitlab") + // [Gitea] + // Stability: development + // + // [Gitea]: https://gitea.io + VCSProviderNameGitea = VCSProviderNameKey.String("gitea") + // [Bitbucket] + // Stability: development + // + // [Bitbucket]: https://bitbucket.org + VCSProviderNameBitbucket = VCSProviderNameKey.String("bitbucket") +) + +// Enum values for vcs.ref.base.type +var ( + // [branch] + // Stability: development + // + // [branch]: https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-aiddefbranchabranch + VCSRefBaseTypeBranch = VCSRefBaseTypeKey.String("branch") + // [tag] + // Stability: development + // + // [tag]: https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-aiddeftagatag + VCSRefBaseTypeTag = VCSRefBaseTypeKey.String("tag") +) + +// Enum values for vcs.ref.head.type +var ( + // [branch] + // Stability: development + // + // [branch]: https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-aiddefbranchabranch + VCSRefHeadTypeBranch = VCSRefHeadTypeKey.String("branch") + // [tag] + // Stability: development + // + // [tag]: https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-aiddeftagatag + VCSRefHeadTypeTag = VCSRefHeadTypeKey.String("tag") +) + +// Enum values for vcs.ref.type +var ( + // [branch] + // Stability: development + // + // [branch]: https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-aiddefbranchabranch + VCSRefTypeBranch = VCSRefTypeKey.String("branch") + // [tag] + // Stability: development + // + // [tag]: https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-aiddeftagatag + VCSRefTypeTag = VCSRefTypeKey.String("tag") +) + +// Enum values for vcs.revision_delta.direction +var ( + // How many revisions the change is behind the target ref. + // Stability: development + VCSRevisionDeltaDirectionBehind = VCSRevisionDeltaDirectionKey.String("behind") + // How many revisions the change is ahead of the target ref. + // Stability: development + VCSRevisionDeltaDirectionAhead = VCSRevisionDeltaDirectionKey.String("ahead") +) + +// Namespace: webengine +const ( + // WebEngineDescriptionKey is the attribute Key conforming to the + // "webengine.description" semantic conventions. It represents the additional + // description of the web engine (e.g. detailed version and edition + // information). + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "WildFly Full 21.0.0.Final (WildFly Core 13.0.1.Final) - + // 2.2.2.Final" + WebEngineDescriptionKey = attribute.Key("webengine.description") + + // WebEngineNameKey is the attribute Key conforming to the "webengine.name" + // semantic conventions. It represents the name of the web engine. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "WildFly" + WebEngineNameKey = attribute.Key("webengine.name") + + // WebEngineVersionKey is the attribute Key conforming to the + // "webengine.version" semantic conventions. It represents the version of the + // web engine. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "21.0.0" + WebEngineVersionKey = attribute.Key("webengine.version") +) + +// WebEngineDescription returns an attribute KeyValue conforming to the +// "webengine.description" semantic conventions. It represents the additional +// description of the web engine (e.g. detailed version and edition information). +func WebEngineDescription(val string) attribute.KeyValue { + return WebEngineDescriptionKey.String(val) +} + +// WebEngineName returns an attribute KeyValue conforming to the "webengine.name" +// semantic conventions. It represents the name of the web engine. +func WebEngineName(val string) attribute.KeyValue { + return WebEngineNameKey.String(val) +} + +// WebEngineVersion returns an attribute KeyValue conforming to the +// "webengine.version" semantic conventions. It represents the version of the web +// engine. +func WebEngineVersion(val string) attribute.KeyValue { + return WebEngineVersionKey.String(val) +} + +// Namespace: zos +const ( + // ZOSSmfIDKey is the attribute Key conforming to the "zos.smf.id" semantic + // conventions. It represents the System Management Facility (SMF) Identifier + // uniquely identified a z/OS system within a SYSPLEX or mainframe environment + // and is used for system and performance analysis. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "SYS1" + ZOSSmfIDKey = attribute.Key("zos.smf.id") + + // ZOSSysplexNameKey is the attribute Key conforming to the "zos.sysplex.name" + // semantic conventions. It represents the name of the SYSPLEX to which the z/OS + // system belongs too. + // + // Type: string + // RequirementLevel: Recommended + // Stability: Development + // + // Examples: "SYSPLEX1" + ZOSSysplexNameKey = attribute.Key("zos.sysplex.name") +) + +// ZOSSmfID returns an attribute KeyValue conforming to the "zos.smf.id" semantic +// conventions. It represents the System Management Facility (SMF) Identifier +// uniquely identified a z/OS system within a SYSPLEX or mainframe environment +// and is used for system and performance analysis. +func ZOSSmfID(val string) attribute.KeyValue { + return ZOSSmfIDKey.String(val) +} + +// ZOSSysplexName returns an attribute KeyValue conforming to the +// "zos.sysplex.name" semantic conventions. It represents the name of the SYSPLEX +// to which the z/OS system belongs too. +func ZOSSysplexName(val string) attribute.KeyValue { + return ZOSSysplexNameKey.String(val) +} \ No newline at end of file diff --git a/vendor/go.opentelemetry.io/otel/semconv/v1.39.0/doc.go b/vendor/go.opentelemetry.io/otel/semconv/v1.39.0/doc.go new file mode 100644 index 0000000000..852362ef77 --- /dev/null +++ b/vendor/go.opentelemetry.io/otel/semconv/v1.39.0/doc.go @@ -0,0 +1,9 @@ +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +// Package semconv implements OpenTelemetry semantic conventions. +// +// OpenTelemetry semantic conventions are agreed standardized naming +// patterns for OpenTelemetry things. This package represents the v1.39.0 +// version of the OpenTelemetry semantic conventions. +package semconv // import "go.opentelemetry.io/otel/semconv/v1.39.0" diff --git a/vendor/go.opentelemetry.io/otel/semconv/v1.39.0/error_type.go b/vendor/go.opentelemetry.io/otel/semconv/v1.39.0/error_type.go new file mode 100644 index 0000000000..84cf636a72 --- /dev/null +++ b/vendor/go.opentelemetry.io/otel/semconv/v1.39.0/error_type.go @@ -0,0 +1,56 @@ +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +package semconv // import "go.opentelemetry.io/otel/semconv/v1.39.0" + +import ( + "reflect" + + "go.opentelemetry.io/otel/attribute" +) + +// ErrorType returns an [attribute.KeyValue] identifying the error type of err. +// +// If err is nil, the returned attribute has the default value +// [ErrorTypeOther]. +// +// If err's type has the method +// +// ErrorType() string +// +// then the returned attribute has the value of err.ErrorType(). Otherwise, the +// returned attribute has a value derived from the concrete type of err. +// +// The key of the returned attribute is [ErrorTypeKey]. +func ErrorType(err error) attribute.KeyValue { + if err == nil { + return ErrorTypeOther + } + + return ErrorTypeKey.String(errorType(err)) +} + +func errorType(err error) string { + var s string + if et, ok := err.(interface{ ErrorType() string }); ok { + // Prioritize the ErrorType method if available. + s = et.ErrorType() + } + if s == "" { + // Fallback to reflection if the ErrorType method is not supported or + // returns an empty value. + + t := reflect.TypeOf(err) + pkg, name := t.PkgPath(), t.Name() + if pkg != "" && name != "" { + s = pkg + "." + name + } else { + // The type has no package path or name (predeclared, not-defined, + // or alias for a not-defined type). + // + // This is not guaranteed to be unique, but is a best effort. + s = t.String() + } + } + return s +} diff --git a/vendor/go.opentelemetry.io/otel/semconv/v1.39.0/exception.go b/vendor/go.opentelemetry.io/otel/semconv/v1.39.0/exception.go new file mode 100644 index 0000000000..7b688ecc33 --- /dev/null +++ b/vendor/go.opentelemetry.io/otel/semconv/v1.39.0/exception.go @@ -0,0 +1,9 @@ +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +package semconv // import "go.opentelemetry.io/otel/semconv/v1.39.0" + +const ( + // ExceptionEventName is the name of the Span event representing an exception. + ExceptionEventName = "exception" +) diff --git a/vendor/go.opentelemetry.io/otel/semconv/v1.39.0/otelconv/metric.go b/vendor/go.opentelemetry.io/otel/semconv/v1.39.0/otelconv/metric.go new file mode 100644 index 0000000000..901da86985 --- /dev/null +++ b/vendor/go.opentelemetry.io/otel/semconv/v1.39.0/otelconv/metric.go @@ -0,0 +1,2222 @@ +// Code generated from semantic convention specification. DO NOT EDIT. + +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +// Package otelconv provides types and functionality for OpenTelemetry semantic +// conventions in the "otel" namespace. +package otelconv + +import ( + "context" + "sync" + + "go.opentelemetry.io/otel/attribute" + "go.opentelemetry.io/otel/metric" + "go.opentelemetry.io/otel/metric/noop" +) + +var ( + addOptPool = &sync.Pool{New: func() any { return &[]metric.AddOption{} }} + recOptPool = &sync.Pool{New: func() any { return &[]metric.RecordOption{} }} +) + +// ErrorTypeAttr is an attribute conforming to the error.type semantic +// conventions. It represents the describes a class of error the operation ended +// with. +type ErrorTypeAttr string + +var ( + // ErrorTypeOther is a fallback error value to be used when the instrumentation + // doesn't define a custom value. + ErrorTypeOther ErrorTypeAttr = "_OTHER" +) + +// ComponentTypeAttr is an attribute conforming to the otel.component.type +// semantic conventions. It represents a name identifying the type of the +// OpenTelemetry component. +type ComponentTypeAttr string + +var ( + // ComponentTypeBatchingSpanProcessor is the builtin SDK batching span + // processor. + ComponentTypeBatchingSpanProcessor ComponentTypeAttr = "batching_span_processor" + // ComponentTypeSimpleSpanProcessor is the builtin SDK simple span processor. + ComponentTypeSimpleSpanProcessor ComponentTypeAttr = "simple_span_processor" + // ComponentTypeBatchingLogProcessor is the builtin SDK batching log record + // processor. + ComponentTypeBatchingLogProcessor ComponentTypeAttr = "batching_log_processor" + // ComponentTypeSimpleLogProcessor is the builtin SDK simple log record + // processor. + ComponentTypeSimpleLogProcessor ComponentTypeAttr = "simple_log_processor" + // ComponentTypeOtlpGRPCSpanExporter is the OTLP span exporter over gRPC with + // protobuf serialization. + ComponentTypeOtlpGRPCSpanExporter ComponentTypeAttr = "otlp_grpc_span_exporter" + // ComponentTypeOtlpHTTPSpanExporter is the OTLP span exporter over HTTP with + // protobuf serialization. + ComponentTypeOtlpHTTPSpanExporter ComponentTypeAttr = "otlp_http_span_exporter" + // ComponentTypeOtlpHTTPJSONSpanExporter is the OTLP span exporter over HTTP + // with JSON serialization. + ComponentTypeOtlpHTTPJSONSpanExporter ComponentTypeAttr = "otlp_http_json_span_exporter" + // ComponentTypeZipkinHTTPSpanExporter is the zipkin span exporter over HTTP. + ComponentTypeZipkinHTTPSpanExporter ComponentTypeAttr = "zipkin_http_span_exporter" + // ComponentTypeOtlpGRPCLogExporter is the OTLP log record exporter over gRPC + // with protobuf serialization. + ComponentTypeOtlpGRPCLogExporter ComponentTypeAttr = "otlp_grpc_log_exporter" + // ComponentTypeOtlpHTTPLogExporter is the OTLP log record exporter over HTTP + // with protobuf serialization. + ComponentTypeOtlpHTTPLogExporter ComponentTypeAttr = "otlp_http_log_exporter" + // ComponentTypeOtlpHTTPJSONLogExporter is the OTLP log record exporter over + // HTTP with JSON serialization. + ComponentTypeOtlpHTTPJSONLogExporter ComponentTypeAttr = "otlp_http_json_log_exporter" + // ComponentTypePeriodicMetricReader is the builtin SDK periodically exporting + // metric reader. + ComponentTypePeriodicMetricReader ComponentTypeAttr = "periodic_metric_reader" + // ComponentTypeOtlpGRPCMetricExporter is the OTLP metric exporter over gRPC + // with protobuf serialization. + ComponentTypeOtlpGRPCMetricExporter ComponentTypeAttr = "otlp_grpc_metric_exporter" + // ComponentTypeOtlpHTTPMetricExporter is the OTLP metric exporter over HTTP + // with protobuf serialization. + ComponentTypeOtlpHTTPMetricExporter ComponentTypeAttr = "otlp_http_metric_exporter" + // ComponentTypeOtlpHTTPJSONMetricExporter is the OTLP metric exporter over HTTP + // with JSON serialization. + ComponentTypeOtlpHTTPJSONMetricExporter ComponentTypeAttr = "otlp_http_json_metric_exporter" + // ComponentTypePrometheusHTTPTextMetricExporter is the prometheus metric + // exporter over HTTP with the default text-based format. + ComponentTypePrometheusHTTPTextMetricExporter ComponentTypeAttr = "prometheus_http_text_metric_exporter" +) + +// SpanParentOriginAttr is an attribute conforming to the otel.span.parent.origin +// semantic conventions. It represents the determines whether the span has a +// parent span, and if so, [whether it is a remote parent]. +// +// [whether it is a remote parent]: https://opentelemetry.io/docs/specs/otel/trace/api/#isremote +type SpanParentOriginAttr string + +var ( + // SpanParentOriginNone is the span does not have a parent, it is a root span. + SpanParentOriginNone SpanParentOriginAttr = "none" + // SpanParentOriginLocal is the span has a parent and the parent's span context + // [isRemote()] is false. + // + // [isRemote()]: https://opentelemetry.io/docs/specs/otel/trace/api/#isremote + SpanParentOriginLocal SpanParentOriginAttr = "local" + // SpanParentOriginRemote is the span has a parent and the parent's span context + // [isRemote()] is true. + // + // [isRemote()]: https://opentelemetry.io/docs/specs/otel/trace/api/#isremote + SpanParentOriginRemote SpanParentOriginAttr = "remote" +) + +// SpanSamplingResultAttr is an attribute conforming to the +// otel.span.sampling_result semantic conventions. It represents the result value +// of the sampler for this span. +type SpanSamplingResultAttr string + +var ( + // SpanSamplingResultDrop is the span is not sampled and not recording. + SpanSamplingResultDrop SpanSamplingResultAttr = "DROP" + // SpanSamplingResultRecordOnly is the span is not sampled, but recording. + SpanSamplingResultRecordOnly SpanSamplingResultAttr = "RECORD_ONLY" + // SpanSamplingResultRecordAndSample is the span is sampled and recording. + SpanSamplingResultRecordAndSample SpanSamplingResultAttr = "RECORD_AND_SAMPLE" +) + +// SDKExporterLogExported is an instrument used to record metric values +// conforming to the "otel.sdk.exporter.log.exported" semantic conventions. It +// represents the number of log records for which the export has finished, either +// successful or failed. +type SDKExporterLogExported struct { + metric.Int64Counter +} + +var newSDKExporterLogExportedOpts = []metric.Int64CounterOption{ + metric.WithDescription("The number of log records for which the export has finished, either successful or failed."), + metric.WithUnit("{log_record}"), +} + +// NewSDKExporterLogExported returns a new SDKExporterLogExported instrument. +func NewSDKExporterLogExported( + m metric.Meter, + opt ...metric.Int64CounterOption, +) (SDKExporterLogExported, error) { + // Check if the meter is nil. + if m == nil { + return SDKExporterLogExported{noop.Int64Counter{}}, nil + } + + if len(opt) == 0 { + opt = newSDKExporterLogExportedOpts + } else { + opt = append(opt, newSDKExporterLogExportedOpts...) + } + + i, err := m.Int64Counter( + "otel.sdk.exporter.log.exported", + opt..., + ) + if err != nil { + return SDKExporterLogExported{noop.Int64Counter{}}, err + } + return SDKExporterLogExported{i}, nil +} + +// Inst returns the underlying metric instrument. +func (m SDKExporterLogExported) Inst() metric.Int64Counter { + return m.Int64Counter +} + +// Name returns the semantic convention name of the instrument. +func (SDKExporterLogExported) Name() string { + return "otel.sdk.exporter.log.exported" +} + +// Unit returns the semantic convention unit of the instrument +func (SDKExporterLogExported) Unit() string { + return "{log_record}" +} + +// Description returns the semantic convention description of the instrument +func (SDKExporterLogExported) Description() string { + return "The number of log records for which the export has finished, either successful or failed." +} + +// Add adds incr to the existing count for attrs. +// +// All additional attrs passed are included in the recorded value. +// +// For successful exports, `error.type` MUST NOT be set. For failed exports, +// `error.type` MUST contain the failure cause. +// For exporters with partial success semantics (e.g. OTLP with +// `rejected_log_records`), rejected log records MUST count as failed and only +// non-rejected log records count as success. +// If no rejection reason is available, `rejected` SHOULD be used as value for +// `error.type`. +func (m SDKExporterLogExported) Add( + ctx context.Context, + incr int64, + attrs ...attribute.KeyValue, +) { + if len(attrs) == 0 { + m.Int64Counter.Add(ctx, incr) + return + } + + o := addOptPool.Get().(*[]metric.AddOption) + defer func() { + *o = (*o)[:0] + addOptPool.Put(o) + }() + + *o = append( + *o, + metric.WithAttributes( + attrs..., + ), + ) + + m.Int64Counter.Add(ctx, incr, *o...) +} + +// AddSet adds incr to the existing count for set. +// +// For successful exports, `error.type` MUST NOT be set. For failed exports, +// `error.type` MUST contain the failure cause. +// For exporters with partial success semantics (e.g. OTLP with +// `rejected_log_records`), rejected log records MUST count as failed and only +// non-rejected log records count as success. +// If no rejection reason is available, `rejected` SHOULD be used as value for +// `error.type`. +func (m SDKExporterLogExported) AddSet(ctx context.Context, incr int64, set attribute.Set) { + if set.Len() == 0 { + m.Int64Counter.Add(ctx, incr) + return + } + + o := addOptPool.Get().(*[]metric.AddOption) + defer func() { + *o = (*o)[:0] + addOptPool.Put(o) + }() + + *o = append(*o, metric.WithAttributeSet(set)) + m.Int64Counter.Add(ctx, incr, *o...) +} + +// AttrErrorType returns an optional attribute for the "error.type" semantic +// convention. It represents the describes a class of error the operation ended +// with. +func (SDKExporterLogExported) AttrErrorType(val ErrorTypeAttr) attribute.KeyValue { + return attribute.String("error.type", string(val)) +} + +// AttrComponentName returns an optional attribute for the "otel.component.name" +// semantic convention. It represents a name uniquely identifying the instance of +// the OpenTelemetry component within its containing SDK instance. +func (SDKExporterLogExported) AttrComponentName(val string) attribute.KeyValue { + return attribute.String("otel.component.name", val) +} + +// AttrComponentType returns an optional attribute for the "otel.component.type" +// semantic convention. It represents a name identifying the type of the +// OpenTelemetry component. +func (SDKExporterLogExported) AttrComponentType(val ComponentTypeAttr) attribute.KeyValue { + return attribute.String("otel.component.type", string(val)) +} + +// AttrServerAddress returns an optional attribute for the "server.address" +// semantic convention. It represents the server domain name if available without +// reverse DNS lookup; otherwise, IP address or Unix domain socket name. +func (SDKExporterLogExported) AttrServerAddress(val string) attribute.KeyValue { + return attribute.String("server.address", val) +} + +// AttrServerPort returns an optional attribute for the "server.port" semantic +// convention. It represents the server port number. +func (SDKExporterLogExported) AttrServerPort(val int) attribute.KeyValue { + return attribute.Int("server.port", val) +} + +// SDKExporterLogInflight is an instrument used to record metric values +// conforming to the "otel.sdk.exporter.log.inflight" semantic conventions. It +// represents the number of log records which were passed to the exporter, but +// that have not been exported yet (neither successful, nor failed). +type SDKExporterLogInflight struct { + metric.Int64UpDownCounter +} + +var newSDKExporterLogInflightOpts = []metric.Int64UpDownCounterOption{ + metric.WithDescription("The number of log records which were passed to the exporter, but that have not been exported yet (neither successful, nor failed)."), + metric.WithUnit("{log_record}"), +} + +// NewSDKExporterLogInflight returns a new SDKExporterLogInflight instrument. +func NewSDKExporterLogInflight( + m metric.Meter, + opt ...metric.Int64UpDownCounterOption, +) (SDKExporterLogInflight, error) { + // Check if the meter is nil. + if m == nil { + return SDKExporterLogInflight{noop.Int64UpDownCounter{}}, nil + } + + if len(opt) == 0 { + opt = newSDKExporterLogInflightOpts + } else { + opt = append(opt, newSDKExporterLogInflightOpts...) + } + + i, err := m.Int64UpDownCounter( + "otel.sdk.exporter.log.inflight", + opt..., + ) + if err != nil { + return SDKExporterLogInflight{noop.Int64UpDownCounter{}}, err + } + return SDKExporterLogInflight{i}, nil +} + +// Inst returns the underlying metric instrument. +func (m SDKExporterLogInflight) Inst() metric.Int64UpDownCounter { + return m.Int64UpDownCounter +} + +// Name returns the semantic convention name of the instrument. +func (SDKExporterLogInflight) Name() string { + return "otel.sdk.exporter.log.inflight" +} + +// Unit returns the semantic convention unit of the instrument +func (SDKExporterLogInflight) Unit() string { + return "{log_record}" +} + +// Description returns the semantic convention description of the instrument +func (SDKExporterLogInflight) Description() string { + return "The number of log records which were passed to the exporter, but that have not been exported yet (neither successful, nor failed)." +} + +// Add adds incr to the existing count for attrs. +// +// All additional attrs passed are included in the recorded value. +// +// For successful exports, `error.type` MUST NOT be set. For failed exports, +// `error.type` MUST contain the failure cause. +func (m SDKExporterLogInflight) Add( + ctx context.Context, + incr int64, + attrs ...attribute.KeyValue, +) { + if len(attrs) == 0 { + m.Int64UpDownCounter.Add(ctx, incr) + return + } + + o := addOptPool.Get().(*[]metric.AddOption) + defer func() { + *o = (*o)[:0] + addOptPool.Put(o) + }() + + *o = append( + *o, + metric.WithAttributes( + attrs..., + ), + ) + + m.Int64UpDownCounter.Add(ctx, incr, *o...) +} + +// AddSet adds incr to the existing count for set. +// +// For successful exports, `error.type` MUST NOT be set. For failed exports, +// `error.type` MUST contain the failure cause. +func (m SDKExporterLogInflight) AddSet(ctx context.Context, incr int64, set attribute.Set) { + if set.Len() == 0 { + m.Int64UpDownCounter.Add(ctx, incr) + return + } + + o := addOptPool.Get().(*[]metric.AddOption) + defer func() { + *o = (*o)[:0] + addOptPool.Put(o) + }() + + *o = append(*o, metric.WithAttributeSet(set)) + m.Int64UpDownCounter.Add(ctx, incr, *o...) +} + +// AttrComponentName returns an optional attribute for the "otel.component.name" +// semantic convention. It represents a name uniquely identifying the instance of +// the OpenTelemetry component within its containing SDK instance. +func (SDKExporterLogInflight) AttrComponentName(val string) attribute.KeyValue { + return attribute.String("otel.component.name", val) +} + +// AttrComponentType returns an optional attribute for the "otel.component.type" +// semantic convention. It represents a name identifying the type of the +// OpenTelemetry component. +func (SDKExporterLogInflight) AttrComponentType(val ComponentTypeAttr) attribute.KeyValue { + return attribute.String("otel.component.type", string(val)) +} + +// AttrServerAddress returns an optional attribute for the "server.address" +// semantic convention. It represents the server domain name if available without +// reverse DNS lookup; otherwise, IP address or Unix domain socket name. +func (SDKExporterLogInflight) AttrServerAddress(val string) attribute.KeyValue { + return attribute.String("server.address", val) +} + +// AttrServerPort returns an optional attribute for the "server.port" semantic +// convention. It represents the server port number. +func (SDKExporterLogInflight) AttrServerPort(val int) attribute.KeyValue { + return attribute.Int("server.port", val) +} + +// SDKExporterMetricDataPointExported is an instrument used to record metric +// values conforming to the "otel.sdk.exporter.metric_data_point.exported" +// semantic conventions. It represents the number of metric data points for which +// the export has finished, either successful or failed. +type SDKExporterMetricDataPointExported struct { + metric.Int64Counter +} + +var newSDKExporterMetricDataPointExportedOpts = []metric.Int64CounterOption{ + metric.WithDescription("The number of metric data points for which the export has finished, either successful or failed."), + metric.WithUnit("{data_point}"), +} + +// NewSDKExporterMetricDataPointExported returns a new +// SDKExporterMetricDataPointExported instrument. +func NewSDKExporterMetricDataPointExported( + m metric.Meter, + opt ...metric.Int64CounterOption, +) (SDKExporterMetricDataPointExported, error) { + // Check if the meter is nil. + if m == nil { + return SDKExporterMetricDataPointExported{noop.Int64Counter{}}, nil + } + + if len(opt) == 0 { + opt = newSDKExporterMetricDataPointExportedOpts + } else { + opt = append(opt, newSDKExporterMetricDataPointExportedOpts...) + } + + i, err := m.Int64Counter( + "otel.sdk.exporter.metric_data_point.exported", + opt..., + ) + if err != nil { + return SDKExporterMetricDataPointExported{noop.Int64Counter{}}, err + } + return SDKExporterMetricDataPointExported{i}, nil +} + +// Inst returns the underlying metric instrument. +func (m SDKExporterMetricDataPointExported) Inst() metric.Int64Counter { + return m.Int64Counter +} + +// Name returns the semantic convention name of the instrument. +func (SDKExporterMetricDataPointExported) Name() string { + return "otel.sdk.exporter.metric_data_point.exported" +} + +// Unit returns the semantic convention unit of the instrument +func (SDKExporterMetricDataPointExported) Unit() string { + return "{data_point}" +} + +// Description returns the semantic convention description of the instrument +func (SDKExporterMetricDataPointExported) Description() string { + return "The number of metric data points for which the export has finished, either successful or failed." +} + +// Add adds incr to the existing count for attrs. +// +// All additional attrs passed are included in the recorded value. +// +// For successful exports, `error.type` MUST NOT be set. For failed exports, +// `error.type` MUST contain the failure cause. +// For exporters with partial success semantics (e.g. OTLP with +// `rejected_data_points`), rejected data points MUST count as failed and only +// non-rejected data points count as success. +// If no rejection reason is available, `rejected` SHOULD be used as value for +// `error.type`. +func (m SDKExporterMetricDataPointExported) Add( + ctx context.Context, + incr int64, + attrs ...attribute.KeyValue, +) { + if len(attrs) == 0 { + m.Int64Counter.Add(ctx, incr) + return + } + + o := addOptPool.Get().(*[]metric.AddOption) + defer func() { + *o = (*o)[:0] + addOptPool.Put(o) + }() + + *o = append( + *o, + metric.WithAttributes( + attrs..., + ), + ) + + m.Int64Counter.Add(ctx, incr, *o...) +} + +// AddSet adds incr to the existing count for set. +// +// For successful exports, `error.type` MUST NOT be set. For failed exports, +// `error.type` MUST contain the failure cause. +// For exporters with partial success semantics (e.g. OTLP with +// `rejected_data_points`), rejected data points MUST count as failed and only +// non-rejected data points count as success. +// If no rejection reason is available, `rejected` SHOULD be used as value for +// `error.type`. +func (m SDKExporterMetricDataPointExported) AddSet(ctx context.Context, incr int64, set attribute.Set) { + if set.Len() == 0 { + m.Int64Counter.Add(ctx, incr) + return + } + + o := addOptPool.Get().(*[]metric.AddOption) + defer func() { + *o = (*o)[:0] + addOptPool.Put(o) + }() + + *o = append(*o, metric.WithAttributeSet(set)) + m.Int64Counter.Add(ctx, incr, *o...) +} + +// AttrErrorType returns an optional attribute for the "error.type" semantic +// convention. It represents the describes a class of error the operation ended +// with. +func (SDKExporterMetricDataPointExported) AttrErrorType(val ErrorTypeAttr) attribute.KeyValue { + return attribute.String("error.type", string(val)) +} + +// AttrComponentName returns an optional attribute for the "otel.component.name" +// semantic convention. It represents a name uniquely identifying the instance of +// the OpenTelemetry component within its containing SDK instance. +func (SDKExporterMetricDataPointExported) AttrComponentName(val string) attribute.KeyValue { + return attribute.String("otel.component.name", val) +} + +// AttrComponentType returns an optional attribute for the "otel.component.type" +// semantic convention. It represents a name identifying the type of the +// OpenTelemetry component. +func (SDKExporterMetricDataPointExported) AttrComponentType(val ComponentTypeAttr) attribute.KeyValue { + return attribute.String("otel.component.type", string(val)) +} + +// AttrServerAddress returns an optional attribute for the "server.address" +// semantic convention. It represents the server domain name if available without +// reverse DNS lookup; otherwise, IP address or Unix domain socket name. +func (SDKExporterMetricDataPointExported) AttrServerAddress(val string) attribute.KeyValue { + return attribute.String("server.address", val) +} + +// AttrServerPort returns an optional attribute for the "server.port" semantic +// convention. It represents the server port number. +func (SDKExporterMetricDataPointExported) AttrServerPort(val int) attribute.KeyValue { + return attribute.Int("server.port", val) +} + +// SDKExporterMetricDataPointInflight is an instrument used to record metric +// values conforming to the "otel.sdk.exporter.metric_data_point.inflight" +// semantic conventions. It represents the number of metric data points which +// were passed to the exporter, but that have not been exported yet (neither +// successful, nor failed). +type SDKExporterMetricDataPointInflight struct { + metric.Int64UpDownCounter +} + +var newSDKExporterMetricDataPointInflightOpts = []metric.Int64UpDownCounterOption{ + metric.WithDescription("The number of metric data points which were passed to the exporter, but that have not been exported yet (neither successful, nor failed)."), + metric.WithUnit("{data_point}"), +} + +// NewSDKExporterMetricDataPointInflight returns a new +// SDKExporterMetricDataPointInflight instrument. +func NewSDKExporterMetricDataPointInflight( + m metric.Meter, + opt ...metric.Int64UpDownCounterOption, +) (SDKExporterMetricDataPointInflight, error) { + // Check if the meter is nil. + if m == nil { + return SDKExporterMetricDataPointInflight{noop.Int64UpDownCounter{}}, nil + } + + if len(opt) == 0 { + opt = newSDKExporterMetricDataPointInflightOpts + } else { + opt = append(opt, newSDKExporterMetricDataPointInflightOpts...) + } + + i, err := m.Int64UpDownCounter( + "otel.sdk.exporter.metric_data_point.inflight", + opt..., + ) + if err != nil { + return SDKExporterMetricDataPointInflight{noop.Int64UpDownCounter{}}, err + } + return SDKExporterMetricDataPointInflight{i}, nil +} + +// Inst returns the underlying metric instrument. +func (m SDKExporterMetricDataPointInflight) Inst() metric.Int64UpDownCounter { + return m.Int64UpDownCounter +} + +// Name returns the semantic convention name of the instrument. +func (SDKExporterMetricDataPointInflight) Name() string { + return "otel.sdk.exporter.metric_data_point.inflight" +} + +// Unit returns the semantic convention unit of the instrument +func (SDKExporterMetricDataPointInflight) Unit() string { + return "{data_point}" +} + +// Description returns the semantic convention description of the instrument +func (SDKExporterMetricDataPointInflight) Description() string { + return "The number of metric data points which were passed to the exporter, but that have not been exported yet (neither successful, nor failed)." +} + +// Add adds incr to the existing count for attrs. +// +// All additional attrs passed are included in the recorded value. +// +// For successful exports, `error.type` MUST NOT be set. For failed exports, +// `error.type` MUST contain the failure cause. +func (m SDKExporterMetricDataPointInflight) Add( + ctx context.Context, + incr int64, + attrs ...attribute.KeyValue, +) { + if len(attrs) == 0 { + m.Int64UpDownCounter.Add(ctx, incr) + return + } + + o := addOptPool.Get().(*[]metric.AddOption) + defer func() { + *o = (*o)[:0] + addOptPool.Put(o) + }() + + *o = append( + *o, + metric.WithAttributes( + attrs..., + ), + ) + + m.Int64UpDownCounter.Add(ctx, incr, *o...) +} + +// AddSet adds incr to the existing count for set. +// +// For successful exports, `error.type` MUST NOT be set. For failed exports, +// `error.type` MUST contain the failure cause. +func (m SDKExporterMetricDataPointInflight) AddSet(ctx context.Context, incr int64, set attribute.Set) { + if set.Len() == 0 { + m.Int64UpDownCounter.Add(ctx, incr) + return + } + + o := addOptPool.Get().(*[]metric.AddOption) + defer func() { + *o = (*o)[:0] + addOptPool.Put(o) + }() + + *o = append(*o, metric.WithAttributeSet(set)) + m.Int64UpDownCounter.Add(ctx, incr, *o...) +} + +// AttrComponentName returns an optional attribute for the "otel.component.name" +// semantic convention. It represents a name uniquely identifying the instance of +// the OpenTelemetry component within its containing SDK instance. +func (SDKExporterMetricDataPointInflight) AttrComponentName(val string) attribute.KeyValue { + return attribute.String("otel.component.name", val) +} + +// AttrComponentType returns an optional attribute for the "otel.component.type" +// semantic convention. It represents a name identifying the type of the +// OpenTelemetry component. +func (SDKExporterMetricDataPointInflight) AttrComponentType(val ComponentTypeAttr) attribute.KeyValue { + return attribute.String("otel.component.type", string(val)) +} + +// AttrServerAddress returns an optional attribute for the "server.address" +// semantic convention. It represents the server domain name if available without +// reverse DNS lookup; otherwise, IP address or Unix domain socket name. +func (SDKExporterMetricDataPointInflight) AttrServerAddress(val string) attribute.KeyValue { + return attribute.String("server.address", val) +} + +// AttrServerPort returns an optional attribute for the "server.port" semantic +// convention. It represents the server port number. +func (SDKExporterMetricDataPointInflight) AttrServerPort(val int) attribute.KeyValue { + return attribute.Int("server.port", val) +} + +// SDKExporterOperationDuration is an instrument used to record metric values +// conforming to the "otel.sdk.exporter.operation.duration" semantic conventions. +// It represents the duration of exporting a batch of telemetry records. +type SDKExporterOperationDuration struct { + metric.Float64Histogram +} + +var newSDKExporterOperationDurationOpts = []metric.Float64HistogramOption{ + metric.WithDescription("The duration of exporting a batch of telemetry records."), + metric.WithUnit("s"), +} + +// NewSDKExporterOperationDuration returns a new SDKExporterOperationDuration +// instrument. +func NewSDKExporterOperationDuration( + m metric.Meter, + opt ...metric.Float64HistogramOption, +) (SDKExporterOperationDuration, error) { + // Check if the meter is nil. + if m == nil { + return SDKExporterOperationDuration{noop.Float64Histogram{}}, nil + } + + if len(opt) == 0 { + opt = newSDKExporterOperationDurationOpts + } else { + opt = append(opt, newSDKExporterOperationDurationOpts...) + } + + i, err := m.Float64Histogram( + "otel.sdk.exporter.operation.duration", + opt..., + ) + if err != nil { + return SDKExporterOperationDuration{noop.Float64Histogram{}}, err + } + return SDKExporterOperationDuration{i}, nil +} + +// Inst returns the underlying metric instrument. +func (m SDKExporterOperationDuration) Inst() metric.Float64Histogram { + return m.Float64Histogram +} + +// Name returns the semantic convention name of the instrument. +func (SDKExporterOperationDuration) Name() string { + return "otel.sdk.exporter.operation.duration" +} + +// Unit returns the semantic convention unit of the instrument +func (SDKExporterOperationDuration) Unit() string { + return "s" +} + +// Description returns the semantic convention description of the instrument +func (SDKExporterOperationDuration) Description() string { + return "The duration of exporting a batch of telemetry records." +} + +// Record records val to the current distribution for attrs. +// +// All additional attrs passed are included in the recorded value. +// +// This metric defines successful operations using the full success definitions +// for [http] +// and [grpc]. Anything else is defined as an unsuccessful operation. For +// successful +// operations, `error.type` MUST NOT be set. For unsuccessful export operations, +// `error.type` MUST contain a relevant failure cause. +// +// [http]: https://github.com/open-telemetry/opentelemetry-proto/blob/v1.5.0/docs/specification.md#full-success-1 +// [grpc]: https://github.com/open-telemetry/opentelemetry-proto/blob/v1.5.0/docs/specification.md#full-success +func (m SDKExporterOperationDuration) Record( + ctx context.Context, + val float64, + attrs ...attribute.KeyValue, +) { + if len(attrs) == 0 { + m.Float64Histogram.Record(ctx, val) + return + } + + o := recOptPool.Get().(*[]metric.RecordOption) + defer func() { + *o = (*o)[:0] + recOptPool.Put(o) + }() + + *o = append( + *o, + metric.WithAttributes( + attrs..., + ), + ) + + m.Float64Histogram.Record(ctx, val, *o...) +} + +// RecordSet records val to the current distribution for set. +// +// This metric defines successful operations using the full success definitions +// for [http] +// and [grpc]. Anything else is defined as an unsuccessful operation. For +// successful +// operations, `error.type` MUST NOT be set. For unsuccessful export operations, +// `error.type` MUST contain a relevant failure cause. +// +// [http]: https://github.com/open-telemetry/opentelemetry-proto/blob/v1.5.0/docs/specification.md#full-success-1 +// [grpc]: https://github.com/open-telemetry/opentelemetry-proto/blob/v1.5.0/docs/specification.md#full-success +func (m SDKExporterOperationDuration) RecordSet(ctx context.Context, val float64, set attribute.Set) { + if set.Len() == 0 { + m.Float64Histogram.Record(ctx, val) + return + } + + o := recOptPool.Get().(*[]metric.RecordOption) + defer func() { + *o = (*o)[:0] + recOptPool.Put(o) + }() + + *o = append(*o, metric.WithAttributeSet(set)) + m.Float64Histogram.Record(ctx, val, *o...) +} + +// AttrErrorType returns an optional attribute for the "error.type" semantic +// convention. It represents the describes a class of error the operation ended +// with. +func (SDKExporterOperationDuration) AttrErrorType(val ErrorTypeAttr) attribute.KeyValue { + return attribute.String("error.type", string(val)) +} + +// AttrHTTPResponseStatusCode returns an optional attribute for the +// "http.response.status_code" semantic convention. It represents the HTTP status +// code of the last HTTP request performed in scope of this export call. +func (SDKExporterOperationDuration) AttrHTTPResponseStatusCode(val int) attribute.KeyValue { + return attribute.Int("http.response.status_code", val) +} + +// AttrComponentName returns an optional attribute for the "otel.component.name" +// semantic convention. It represents a name uniquely identifying the instance of +// the OpenTelemetry component within its containing SDK instance. +func (SDKExporterOperationDuration) AttrComponentName(val string) attribute.KeyValue { + return attribute.String("otel.component.name", val) +} + +// AttrComponentType returns an optional attribute for the "otel.component.type" +// semantic convention. It represents a name identifying the type of the +// OpenTelemetry component. +func (SDKExporterOperationDuration) AttrComponentType(val ComponentTypeAttr) attribute.KeyValue { + return attribute.String("otel.component.type", string(val)) +} + +// AttrRPCResponseStatusCode returns an optional attribute for the +// "rpc.response.status_code" semantic convention. It represents the gRPC status +// code of the last gRPC request performed in scope of this export call. +func (SDKExporterOperationDuration) AttrRPCResponseStatusCode(val string) attribute.KeyValue { + return attribute.String("rpc.response.status_code", val) +} + +// AttrServerAddress returns an optional attribute for the "server.address" +// semantic convention. It represents the server domain name if available without +// reverse DNS lookup; otherwise, IP address or Unix domain socket name. +func (SDKExporterOperationDuration) AttrServerAddress(val string) attribute.KeyValue { + return attribute.String("server.address", val) +} + +// AttrServerPort returns an optional attribute for the "server.port" semantic +// convention. It represents the server port number. +func (SDKExporterOperationDuration) AttrServerPort(val int) attribute.KeyValue { + return attribute.Int("server.port", val) +} + +// SDKExporterSpanExported is an instrument used to record metric values +// conforming to the "otel.sdk.exporter.span.exported" semantic conventions. It +// represents the number of spans for which the export has finished, either +// successful or failed. +type SDKExporterSpanExported struct { + metric.Int64Counter +} + +var newSDKExporterSpanExportedOpts = []metric.Int64CounterOption{ + metric.WithDescription("The number of spans for which the export has finished, either successful or failed."), + metric.WithUnit("{span}"), +} + +// NewSDKExporterSpanExported returns a new SDKExporterSpanExported instrument. +func NewSDKExporterSpanExported( + m metric.Meter, + opt ...metric.Int64CounterOption, +) (SDKExporterSpanExported, error) { + // Check if the meter is nil. + if m == nil { + return SDKExporterSpanExported{noop.Int64Counter{}}, nil + } + + if len(opt) == 0 { + opt = newSDKExporterSpanExportedOpts + } else { + opt = append(opt, newSDKExporterSpanExportedOpts...) + } + + i, err := m.Int64Counter( + "otel.sdk.exporter.span.exported", + opt..., + ) + if err != nil { + return SDKExporterSpanExported{noop.Int64Counter{}}, err + } + return SDKExporterSpanExported{i}, nil +} + +// Inst returns the underlying metric instrument. +func (m SDKExporterSpanExported) Inst() metric.Int64Counter { + return m.Int64Counter +} + +// Name returns the semantic convention name of the instrument. +func (SDKExporterSpanExported) Name() string { + return "otel.sdk.exporter.span.exported" +} + +// Unit returns the semantic convention unit of the instrument +func (SDKExporterSpanExported) Unit() string { + return "{span}" +} + +// Description returns the semantic convention description of the instrument +func (SDKExporterSpanExported) Description() string { + return "The number of spans for which the export has finished, either successful or failed." +} + +// Add adds incr to the existing count for attrs. +// +// All additional attrs passed are included in the recorded value. +// +// For successful exports, `error.type` MUST NOT be set. For failed exports, +// `error.type` MUST contain the failure cause. +// For exporters with partial success semantics (e.g. OTLP with `rejected_spans` +// ), rejected spans MUST count as failed and only non-rejected spans count as +// success. +// If no rejection reason is available, `rejected` SHOULD be used as value for +// `error.type`. +func (m SDKExporterSpanExported) Add( + ctx context.Context, + incr int64, + attrs ...attribute.KeyValue, +) { + if len(attrs) == 0 { + m.Int64Counter.Add(ctx, incr) + return + } + + o := addOptPool.Get().(*[]metric.AddOption) + defer func() { + *o = (*o)[:0] + addOptPool.Put(o) + }() + + *o = append( + *o, + metric.WithAttributes( + attrs..., + ), + ) + + m.Int64Counter.Add(ctx, incr, *o...) +} + +// AddSet adds incr to the existing count for set. +// +// For successful exports, `error.type` MUST NOT be set. For failed exports, +// `error.type` MUST contain the failure cause. +// For exporters with partial success semantics (e.g. OTLP with `rejected_spans` +// ), rejected spans MUST count as failed and only non-rejected spans count as +// success. +// If no rejection reason is available, `rejected` SHOULD be used as value for +// `error.type`. +func (m SDKExporterSpanExported) AddSet(ctx context.Context, incr int64, set attribute.Set) { + if set.Len() == 0 { + m.Int64Counter.Add(ctx, incr) + return + } + + o := addOptPool.Get().(*[]metric.AddOption) + defer func() { + *o = (*o)[:0] + addOptPool.Put(o) + }() + + *o = append(*o, metric.WithAttributeSet(set)) + m.Int64Counter.Add(ctx, incr, *o...) +} + +// AttrErrorType returns an optional attribute for the "error.type" semantic +// convention. It represents the describes a class of error the operation ended +// with. +func (SDKExporterSpanExported) AttrErrorType(val ErrorTypeAttr) attribute.KeyValue { + return attribute.String("error.type", string(val)) +} + +// AttrComponentName returns an optional attribute for the "otel.component.name" +// semantic convention. It represents a name uniquely identifying the instance of +// the OpenTelemetry component within its containing SDK instance. +func (SDKExporterSpanExported) AttrComponentName(val string) attribute.KeyValue { + return attribute.String("otel.component.name", val) +} + +// AttrComponentType returns an optional attribute for the "otel.component.type" +// semantic convention. It represents a name identifying the type of the +// OpenTelemetry component. +func (SDKExporterSpanExported) AttrComponentType(val ComponentTypeAttr) attribute.KeyValue { + return attribute.String("otel.component.type", string(val)) +} + +// AttrServerAddress returns an optional attribute for the "server.address" +// semantic convention. It represents the server domain name if available without +// reverse DNS lookup; otherwise, IP address or Unix domain socket name. +func (SDKExporterSpanExported) AttrServerAddress(val string) attribute.KeyValue { + return attribute.String("server.address", val) +} + +// AttrServerPort returns an optional attribute for the "server.port" semantic +// convention. It represents the server port number. +func (SDKExporterSpanExported) AttrServerPort(val int) attribute.KeyValue { + return attribute.Int("server.port", val) +} + +// SDKExporterSpanInflight is an instrument used to record metric values +// conforming to the "otel.sdk.exporter.span.inflight" semantic conventions. It +// represents the number of spans which were passed to the exporter, but that +// have not been exported yet (neither successful, nor failed). +type SDKExporterSpanInflight struct { + metric.Int64UpDownCounter +} + +var newSDKExporterSpanInflightOpts = []metric.Int64UpDownCounterOption{ + metric.WithDescription("The number of spans which were passed to the exporter, but that have not been exported yet (neither successful, nor failed)."), + metric.WithUnit("{span}"), +} + +// NewSDKExporterSpanInflight returns a new SDKExporterSpanInflight instrument. +func NewSDKExporterSpanInflight( + m metric.Meter, + opt ...metric.Int64UpDownCounterOption, +) (SDKExporterSpanInflight, error) { + // Check if the meter is nil. + if m == nil { + return SDKExporterSpanInflight{noop.Int64UpDownCounter{}}, nil + } + + if len(opt) == 0 { + opt = newSDKExporterSpanInflightOpts + } else { + opt = append(opt, newSDKExporterSpanInflightOpts...) + } + + i, err := m.Int64UpDownCounter( + "otel.sdk.exporter.span.inflight", + opt..., + ) + if err != nil { + return SDKExporterSpanInflight{noop.Int64UpDownCounter{}}, err + } + return SDKExporterSpanInflight{i}, nil +} + +// Inst returns the underlying metric instrument. +func (m SDKExporterSpanInflight) Inst() metric.Int64UpDownCounter { + return m.Int64UpDownCounter +} + +// Name returns the semantic convention name of the instrument. +func (SDKExporterSpanInflight) Name() string { + return "otel.sdk.exporter.span.inflight" +} + +// Unit returns the semantic convention unit of the instrument +func (SDKExporterSpanInflight) Unit() string { + return "{span}" +} + +// Description returns the semantic convention description of the instrument +func (SDKExporterSpanInflight) Description() string { + return "The number of spans which were passed to the exporter, but that have not been exported yet (neither successful, nor failed)." +} + +// Add adds incr to the existing count for attrs. +// +// All additional attrs passed are included in the recorded value. +// +// For successful exports, `error.type` MUST NOT be set. For failed exports, +// `error.type` MUST contain the failure cause. +func (m SDKExporterSpanInflight) Add( + ctx context.Context, + incr int64, + attrs ...attribute.KeyValue, +) { + if len(attrs) == 0 { + m.Int64UpDownCounter.Add(ctx, incr) + return + } + + o := addOptPool.Get().(*[]metric.AddOption) + defer func() { + *o = (*o)[:0] + addOptPool.Put(o) + }() + + *o = append( + *o, + metric.WithAttributes( + attrs..., + ), + ) + + m.Int64UpDownCounter.Add(ctx, incr, *o...) +} + +// AddSet adds incr to the existing count for set. +// +// For successful exports, `error.type` MUST NOT be set. For failed exports, +// `error.type` MUST contain the failure cause. +func (m SDKExporterSpanInflight) AddSet(ctx context.Context, incr int64, set attribute.Set) { + if set.Len() == 0 { + m.Int64UpDownCounter.Add(ctx, incr) + return + } + + o := addOptPool.Get().(*[]metric.AddOption) + defer func() { + *o = (*o)[:0] + addOptPool.Put(o) + }() + + *o = append(*o, metric.WithAttributeSet(set)) + m.Int64UpDownCounter.Add(ctx, incr, *o...) +} + +// AttrComponentName returns an optional attribute for the "otel.component.name" +// semantic convention. It represents a name uniquely identifying the instance of +// the OpenTelemetry component within its containing SDK instance. +func (SDKExporterSpanInflight) AttrComponentName(val string) attribute.KeyValue { + return attribute.String("otel.component.name", val) +} + +// AttrComponentType returns an optional attribute for the "otel.component.type" +// semantic convention. It represents a name identifying the type of the +// OpenTelemetry component. +func (SDKExporterSpanInflight) AttrComponentType(val ComponentTypeAttr) attribute.KeyValue { + return attribute.String("otel.component.type", string(val)) +} + +// AttrServerAddress returns an optional attribute for the "server.address" +// semantic convention. It represents the server domain name if available without +// reverse DNS lookup; otherwise, IP address or Unix domain socket name. +func (SDKExporterSpanInflight) AttrServerAddress(val string) attribute.KeyValue { + return attribute.String("server.address", val) +} + +// AttrServerPort returns an optional attribute for the "server.port" semantic +// convention. It represents the server port number. +func (SDKExporterSpanInflight) AttrServerPort(val int) attribute.KeyValue { + return attribute.Int("server.port", val) +} + +// SDKLogCreated is an instrument used to record metric values conforming to the +// "otel.sdk.log.created" semantic conventions. It represents the number of logs +// submitted to enabled SDK Loggers. +type SDKLogCreated struct { + metric.Int64Counter +} + +var newSDKLogCreatedOpts = []metric.Int64CounterOption{ + metric.WithDescription("The number of logs submitted to enabled SDK Loggers."), + metric.WithUnit("{log_record}"), +} + +// NewSDKLogCreated returns a new SDKLogCreated instrument. +func NewSDKLogCreated( + m metric.Meter, + opt ...metric.Int64CounterOption, +) (SDKLogCreated, error) { + // Check if the meter is nil. + if m == nil { + return SDKLogCreated{noop.Int64Counter{}}, nil + } + + if len(opt) == 0 { + opt = newSDKLogCreatedOpts + } else { + opt = append(opt, newSDKLogCreatedOpts...) + } + + i, err := m.Int64Counter( + "otel.sdk.log.created", + opt..., + ) + if err != nil { + return SDKLogCreated{noop.Int64Counter{}}, err + } + return SDKLogCreated{i}, nil +} + +// Inst returns the underlying metric instrument. +func (m SDKLogCreated) Inst() metric.Int64Counter { + return m.Int64Counter +} + +// Name returns the semantic convention name of the instrument. +func (SDKLogCreated) Name() string { + return "otel.sdk.log.created" +} + +// Unit returns the semantic convention unit of the instrument +func (SDKLogCreated) Unit() string { + return "{log_record}" +} + +// Description returns the semantic convention description of the instrument +func (SDKLogCreated) Description() string { + return "The number of logs submitted to enabled SDK Loggers." +} + +// Add adds incr to the existing count for attrs. +func (m SDKLogCreated) Add(ctx context.Context, incr int64, attrs ...attribute.KeyValue) { + if len(attrs) == 0 { + m.Int64Counter.Add(ctx, incr) + return + } + + o := addOptPool.Get().(*[]metric.AddOption) + defer func() { + *o = (*o)[:0] + addOptPool.Put(o) + }() + + *o = append(*o, metric.WithAttributes(attrs...)) + m.Int64Counter.Add(ctx, incr, *o...) +} + +// AddSet adds incr to the existing count for set. +func (m SDKLogCreated) AddSet(ctx context.Context, incr int64, set attribute.Set) { + if set.Len() == 0 { + m.Int64Counter.Add(ctx, incr) + return + } + + o := addOptPool.Get().(*[]metric.AddOption) + defer func() { + *o = (*o)[:0] + addOptPool.Put(o) + }() + + *o = append(*o, metric.WithAttributeSet(set)) + m.Int64Counter.Add(ctx, incr, *o...) +} + +// SDKMetricReaderCollectionDuration is an instrument used to record metric +// values conforming to the "otel.sdk.metric_reader.collection.duration" semantic +// conventions. It represents the duration of the collect operation of the metric +// reader. +type SDKMetricReaderCollectionDuration struct { + metric.Float64Histogram +} + +var newSDKMetricReaderCollectionDurationOpts = []metric.Float64HistogramOption{ + metric.WithDescription("The duration of the collect operation of the metric reader."), + metric.WithUnit("s"), +} + +// NewSDKMetricReaderCollectionDuration returns a new +// SDKMetricReaderCollectionDuration instrument. +func NewSDKMetricReaderCollectionDuration( + m metric.Meter, + opt ...metric.Float64HistogramOption, +) (SDKMetricReaderCollectionDuration, error) { + // Check if the meter is nil. + if m == nil { + return SDKMetricReaderCollectionDuration{noop.Float64Histogram{}}, nil + } + + if len(opt) == 0 { + opt = newSDKMetricReaderCollectionDurationOpts + } else { + opt = append(opt, newSDKMetricReaderCollectionDurationOpts...) + } + + i, err := m.Float64Histogram( + "otel.sdk.metric_reader.collection.duration", + opt..., + ) + if err != nil { + return SDKMetricReaderCollectionDuration{noop.Float64Histogram{}}, err + } + return SDKMetricReaderCollectionDuration{i}, nil +} + +// Inst returns the underlying metric instrument. +func (m SDKMetricReaderCollectionDuration) Inst() metric.Float64Histogram { + return m.Float64Histogram +} + +// Name returns the semantic convention name of the instrument. +func (SDKMetricReaderCollectionDuration) Name() string { + return "otel.sdk.metric_reader.collection.duration" +} + +// Unit returns the semantic convention unit of the instrument +func (SDKMetricReaderCollectionDuration) Unit() string { + return "s" +} + +// Description returns the semantic convention description of the instrument +func (SDKMetricReaderCollectionDuration) Description() string { + return "The duration of the collect operation of the metric reader." +} + +// Record records val to the current distribution for attrs. +// +// All additional attrs passed are included in the recorded value. +// +// For successful collections, `error.type` MUST NOT be set. For failed +// collections, `error.type` SHOULD contain the failure cause. +// It can happen that metrics collection is successful for some MetricProducers, +// while others fail. In that case `error.type` SHOULD be set to any of the +// failure causes. +func (m SDKMetricReaderCollectionDuration) Record( + ctx context.Context, + val float64, + attrs ...attribute.KeyValue, +) { + if len(attrs) == 0 { + m.Float64Histogram.Record(ctx, val) + return + } + + o := recOptPool.Get().(*[]metric.RecordOption) + defer func() { + *o = (*o)[:0] + recOptPool.Put(o) + }() + + *o = append( + *o, + metric.WithAttributes( + attrs..., + ), + ) + + m.Float64Histogram.Record(ctx, val, *o...) +} + +// RecordSet records val to the current distribution for set. +// +// For successful collections, `error.type` MUST NOT be set. For failed +// collections, `error.type` SHOULD contain the failure cause. +// It can happen that metrics collection is successful for some MetricProducers, +// while others fail. In that case `error.type` SHOULD be set to any of the +// failure causes. +func (m SDKMetricReaderCollectionDuration) RecordSet(ctx context.Context, val float64, set attribute.Set) { + if set.Len() == 0 { + m.Float64Histogram.Record(ctx, val) + return + } + + o := recOptPool.Get().(*[]metric.RecordOption) + defer func() { + *o = (*o)[:0] + recOptPool.Put(o) + }() + + *o = append(*o, metric.WithAttributeSet(set)) + m.Float64Histogram.Record(ctx, val, *o...) +} + +// AttrErrorType returns an optional attribute for the "error.type" semantic +// convention. It represents the describes a class of error the operation ended +// with. +func (SDKMetricReaderCollectionDuration) AttrErrorType(val ErrorTypeAttr) attribute.KeyValue { + return attribute.String("error.type", string(val)) +} + +// AttrComponentName returns an optional attribute for the "otel.component.name" +// semantic convention. It represents a name uniquely identifying the instance of +// the OpenTelemetry component within its containing SDK instance. +func (SDKMetricReaderCollectionDuration) AttrComponentName(val string) attribute.KeyValue { + return attribute.String("otel.component.name", val) +} + +// AttrComponentType returns an optional attribute for the "otel.component.type" +// semantic convention. It represents a name identifying the type of the +// OpenTelemetry component. +func (SDKMetricReaderCollectionDuration) AttrComponentType(val ComponentTypeAttr) attribute.KeyValue { + return attribute.String("otel.component.type", string(val)) +} + +// SDKProcessorLogProcessed is an instrument used to record metric values +// conforming to the "otel.sdk.processor.log.processed" semantic conventions. It +// represents the number of log records for which the processing has finished, +// either successful or failed. +type SDKProcessorLogProcessed struct { + metric.Int64Counter +} + +var newSDKProcessorLogProcessedOpts = []metric.Int64CounterOption{ + metric.WithDescription("The number of log records for which the processing has finished, either successful or failed."), + metric.WithUnit("{log_record}"), +} + +// NewSDKProcessorLogProcessed returns a new SDKProcessorLogProcessed instrument. +func NewSDKProcessorLogProcessed( + m metric.Meter, + opt ...metric.Int64CounterOption, +) (SDKProcessorLogProcessed, error) { + // Check if the meter is nil. + if m == nil { + return SDKProcessorLogProcessed{noop.Int64Counter{}}, nil + } + + if len(opt) == 0 { + opt = newSDKProcessorLogProcessedOpts + } else { + opt = append(opt, newSDKProcessorLogProcessedOpts...) + } + + i, err := m.Int64Counter( + "otel.sdk.processor.log.processed", + opt..., + ) + if err != nil { + return SDKProcessorLogProcessed{noop.Int64Counter{}}, err + } + return SDKProcessorLogProcessed{i}, nil +} + +// Inst returns the underlying metric instrument. +func (m SDKProcessorLogProcessed) Inst() metric.Int64Counter { + return m.Int64Counter +} + +// Name returns the semantic convention name of the instrument. +func (SDKProcessorLogProcessed) Name() string { + return "otel.sdk.processor.log.processed" +} + +// Unit returns the semantic convention unit of the instrument +func (SDKProcessorLogProcessed) Unit() string { + return "{log_record}" +} + +// Description returns the semantic convention description of the instrument +func (SDKProcessorLogProcessed) Description() string { + return "The number of log records for which the processing has finished, either successful or failed." +} + +// Add adds incr to the existing count for attrs. +// +// All additional attrs passed are included in the recorded value. +// +// For successful processing, `error.type` MUST NOT be set. For failed +// processing, `error.type` MUST contain the failure cause. +// For the SDK Simple and Batching Log Record Processor a log record is +// considered to be processed already when it has been submitted to the exporter, +// not when the corresponding export call has finished. +func (m SDKProcessorLogProcessed) Add( + ctx context.Context, + incr int64, + attrs ...attribute.KeyValue, +) { + if len(attrs) == 0 { + m.Int64Counter.Add(ctx, incr) + return + } + + o := addOptPool.Get().(*[]metric.AddOption) + defer func() { + *o = (*o)[:0] + addOptPool.Put(o) + }() + + *o = append( + *o, + metric.WithAttributes( + attrs..., + ), + ) + + m.Int64Counter.Add(ctx, incr, *o...) +} + +// AddSet adds incr to the existing count for set. +// +// For successful processing, `error.type` MUST NOT be set. For failed +// processing, `error.type` MUST contain the failure cause. +// For the SDK Simple and Batching Log Record Processor a log record is +// considered to be processed already when it has been submitted to the exporter, +// not when the corresponding export call has finished. +func (m SDKProcessorLogProcessed) AddSet(ctx context.Context, incr int64, set attribute.Set) { + if set.Len() == 0 { + m.Int64Counter.Add(ctx, incr) + return + } + + o := addOptPool.Get().(*[]metric.AddOption) + defer func() { + *o = (*o)[:0] + addOptPool.Put(o) + }() + + *o = append(*o, metric.WithAttributeSet(set)) + m.Int64Counter.Add(ctx, incr, *o...) +} + +// AttrErrorType returns an optional attribute for the "error.type" semantic +// convention. It represents a low-cardinality description of the failure reason. +// SDK Batching Log Record Processors MUST use `queue_full` for log records +// dropped due to a full queue. +func (SDKProcessorLogProcessed) AttrErrorType(val ErrorTypeAttr) attribute.KeyValue { + return attribute.String("error.type", string(val)) +} + +// AttrComponentName returns an optional attribute for the "otel.component.name" +// semantic convention. It represents a name uniquely identifying the instance of +// the OpenTelemetry component within its containing SDK instance. +func (SDKProcessorLogProcessed) AttrComponentName(val string) attribute.KeyValue { + return attribute.String("otel.component.name", val) +} + +// AttrComponentType returns an optional attribute for the "otel.component.type" +// semantic convention. It represents a name identifying the type of the +// OpenTelemetry component. +func (SDKProcessorLogProcessed) AttrComponentType(val ComponentTypeAttr) attribute.KeyValue { + return attribute.String("otel.component.type", string(val)) +} + +// SDKProcessorLogQueueCapacity is an instrument used to record metric values +// conforming to the "otel.sdk.processor.log.queue.capacity" semantic +// conventions. It represents the maximum number of log records the queue of a +// given instance of an SDK Log Record processor can hold. +type SDKProcessorLogQueueCapacity struct { + metric.Int64ObservableUpDownCounter +} + +var newSDKProcessorLogQueueCapacityOpts = []metric.Int64ObservableUpDownCounterOption{ + metric.WithDescription("The maximum number of log records the queue of a given instance of an SDK Log Record processor can hold."), + metric.WithUnit("{log_record}"), +} + +// NewSDKProcessorLogQueueCapacity returns a new SDKProcessorLogQueueCapacity +// instrument. +func NewSDKProcessorLogQueueCapacity( + m metric.Meter, + opt ...metric.Int64ObservableUpDownCounterOption, +) (SDKProcessorLogQueueCapacity, error) { + // Check if the meter is nil. + if m == nil { + return SDKProcessorLogQueueCapacity{noop.Int64ObservableUpDownCounter{}}, nil + } + + if len(opt) == 0 { + opt = newSDKProcessorLogQueueCapacityOpts + } else { + opt = append(opt, newSDKProcessorLogQueueCapacityOpts...) + } + + i, err := m.Int64ObservableUpDownCounter( + "otel.sdk.processor.log.queue.capacity", + opt..., + ) + if err != nil { + return SDKProcessorLogQueueCapacity{noop.Int64ObservableUpDownCounter{}}, err + } + return SDKProcessorLogQueueCapacity{i}, nil +} + +// Inst returns the underlying metric instrument. +func (m SDKProcessorLogQueueCapacity) Inst() metric.Int64ObservableUpDownCounter { + return m.Int64ObservableUpDownCounter +} + +// Name returns the semantic convention name of the instrument. +func (SDKProcessorLogQueueCapacity) Name() string { + return "otel.sdk.processor.log.queue.capacity" +} + +// Unit returns the semantic convention unit of the instrument +func (SDKProcessorLogQueueCapacity) Unit() string { + return "{log_record}" +} + +// Description returns the semantic convention description of the instrument +func (SDKProcessorLogQueueCapacity) Description() string { + return "The maximum number of log records the queue of a given instance of an SDK Log Record processor can hold." +} + +// AttrComponentName returns an optional attribute for the "otel.component.name" +// semantic convention. It represents a name uniquely identifying the instance of +// the OpenTelemetry component within its containing SDK instance. +func (SDKProcessorLogQueueCapacity) AttrComponentName(val string) attribute.KeyValue { + return attribute.String("otel.component.name", val) +} + +// AttrComponentType returns an optional attribute for the "otel.component.type" +// semantic convention. It represents a name identifying the type of the +// OpenTelemetry component. +func (SDKProcessorLogQueueCapacity) AttrComponentType(val ComponentTypeAttr) attribute.KeyValue { + return attribute.String("otel.component.type", string(val)) +} + +// SDKProcessorLogQueueSize is an instrument used to record metric values +// conforming to the "otel.sdk.processor.log.queue.size" semantic conventions. It +// represents the number of log records in the queue of a given instance of an +// SDK log processor. +type SDKProcessorLogQueueSize struct { + metric.Int64ObservableUpDownCounter +} + +var newSDKProcessorLogQueueSizeOpts = []metric.Int64ObservableUpDownCounterOption{ + metric.WithDescription("The number of log records in the queue of a given instance of an SDK log processor."), + metric.WithUnit("{log_record}"), +} + +// NewSDKProcessorLogQueueSize returns a new SDKProcessorLogQueueSize instrument. +func NewSDKProcessorLogQueueSize( + m metric.Meter, + opt ...metric.Int64ObservableUpDownCounterOption, +) (SDKProcessorLogQueueSize, error) { + // Check if the meter is nil. + if m == nil { + return SDKProcessorLogQueueSize{noop.Int64ObservableUpDownCounter{}}, nil + } + + if len(opt) == 0 { + opt = newSDKProcessorLogQueueSizeOpts + } else { + opt = append(opt, newSDKProcessorLogQueueSizeOpts...) + } + + i, err := m.Int64ObservableUpDownCounter( + "otel.sdk.processor.log.queue.size", + opt..., + ) + if err != nil { + return SDKProcessorLogQueueSize{noop.Int64ObservableUpDownCounter{}}, err + } + return SDKProcessorLogQueueSize{i}, nil +} + +// Inst returns the underlying metric instrument. +func (m SDKProcessorLogQueueSize) Inst() metric.Int64ObservableUpDownCounter { + return m.Int64ObservableUpDownCounter +} + +// Name returns the semantic convention name of the instrument. +func (SDKProcessorLogQueueSize) Name() string { + return "otel.sdk.processor.log.queue.size" +} + +// Unit returns the semantic convention unit of the instrument +func (SDKProcessorLogQueueSize) Unit() string { + return "{log_record}" +} + +// Description returns the semantic convention description of the instrument +func (SDKProcessorLogQueueSize) Description() string { + return "The number of log records in the queue of a given instance of an SDK log processor." +} + +// AttrComponentName returns an optional attribute for the "otel.component.name" +// semantic convention. It represents a name uniquely identifying the instance of +// the OpenTelemetry component within its containing SDK instance. +func (SDKProcessorLogQueueSize) AttrComponentName(val string) attribute.KeyValue { + return attribute.String("otel.component.name", val) +} + +// AttrComponentType returns an optional attribute for the "otel.component.type" +// semantic convention. It represents a name identifying the type of the +// OpenTelemetry component. +func (SDKProcessorLogQueueSize) AttrComponentType(val ComponentTypeAttr) attribute.KeyValue { + return attribute.String("otel.component.type", string(val)) +} + +// SDKProcessorSpanProcessed is an instrument used to record metric values +// conforming to the "otel.sdk.processor.span.processed" semantic conventions. It +// represents the number of spans for which the processing has finished, either +// successful or failed. +type SDKProcessorSpanProcessed struct { + metric.Int64Counter +} + +var newSDKProcessorSpanProcessedOpts = []metric.Int64CounterOption{ + metric.WithDescription("The number of spans for which the processing has finished, either successful or failed."), + metric.WithUnit("{span}"), +} + +// NewSDKProcessorSpanProcessed returns a new SDKProcessorSpanProcessed +// instrument. +func NewSDKProcessorSpanProcessed( + m metric.Meter, + opt ...metric.Int64CounterOption, +) (SDKProcessorSpanProcessed, error) { + // Check if the meter is nil. + if m == nil { + return SDKProcessorSpanProcessed{noop.Int64Counter{}}, nil + } + + if len(opt) == 0 { + opt = newSDKProcessorSpanProcessedOpts + } else { + opt = append(opt, newSDKProcessorSpanProcessedOpts...) + } + + i, err := m.Int64Counter( + "otel.sdk.processor.span.processed", + opt..., + ) + if err != nil { + return SDKProcessorSpanProcessed{noop.Int64Counter{}}, err + } + return SDKProcessorSpanProcessed{i}, nil +} + +// Inst returns the underlying metric instrument. +func (m SDKProcessorSpanProcessed) Inst() metric.Int64Counter { + return m.Int64Counter +} + +// Name returns the semantic convention name of the instrument. +func (SDKProcessorSpanProcessed) Name() string { + return "otel.sdk.processor.span.processed" +} + +// Unit returns the semantic convention unit of the instrument +func (SDKProcessorSpanProcessed) Unit() string { + return "{span}" +} + +// Description returns the semantic convention description of the instrument +func (SDKProcessorSpanProcessed) Description() string { + return "The number of spans for which the processing has finished, either successful or failed." +} + +// Add adds incr to the existing count for attrs. +// +// All additional attrs passed are included in the recorded value. +// +// For successful processing, `error.type` MUST NOT be set. For failed +// processing, `error.type` MUST contain the failure cause. +// For the SDK Simple and Batching Span Processor a span is considered to be +// processed already when it has been submitted to the exporter, not when the +// corresponding export call has finished. +func (m SDKProcessorSpanProcessed) Add( + ctx context.Context, + incr int64, + attrs ...attribute.KeyValue, +) { + if len(attrs) == 0 { + m.Int64Counter.Add(ctx, incr) + return + } + + o := addOptPool.Get().(*[]metric.AddOption) + defer func() { + *o = (*o)[:0] + addOptPool.Put(o) + }() + + *o = append( + *o, + metric.WithAttributes( + attrs..., + ), + ) + + m.Int64Counter.Add(ctx, incr, *o...) +} + +// AddSet adds incr to the existing count for set. +// +// For successful processing, `error.type` MUST NOT be set. For failed +// processing, `error.type` MUST contain the failure cause. +// For the SDK Simple and Batching Span Processor a span is considered to be +// processed already when it has been submitted to the exporter, not when the +// corresponding export call has finished. +func (m SDKProcessorSpanProcessed) AddSet(ctx context.Context, incr int64, set attribute.Set) { + if set.Len() == 0 { + m.Int64Counter.Add(ctx, incr) + return + } + + o := addOptPool.Get().(*[]metric.AddOption) + defer func() { + *o = (*o)[:0] + addOptPool.Put(o) + }() + + *o = append(*o, metric.WithAttributeSet(set)) + m.Int64Counter.Add(ctx, incr, *o...) +} + +// AttrErrorType returns an optional attribute for the "error.type" semantic +// convention. It represents a low-cardinality description of the failure reason. +// SDK Batching Span Processors MUST use `queue_full` for spans dropped due to a +// full queue. +func (SDKProcessorSpanProcessed) AttrErrorType(val ErrorTypeAttr) attribute.KeyValue { + return attribute.String("error.type", string(val)) +} + +// AttrComponentName returns an optional attribute for the "otel.component.name" +// semantic convention. It represents a name uniquely identifying the instance of +// the OpenTelemetry component within its containing SDK instance. +func (SDKProcessorSpanProcessed) AttrComponentName(val string) attribute.KeyValue { + return attribute.String("otel.component.name", val) +} + +// AttrComponentType returns an optional attribute for the "otel.component.type" +// semantic convention. It represents a name identifying the type of the +// OpenTelemetry component. +func (SDKProcessorSpanProcessed) AttrComponentType(val ComponentTypeAttr) attribute.KeyValue { + return attribute.String("otel.component.type", string(val)) +} + +// SDKProcessorSpanQueueCapacity is an instrument used to record metric values +// conforming to the "otel.sdk.processor.span.queue.capacity" semantic +// conventions. It represents the maximum number of spans the queue of a given +// instance of an SDK span processor can hold. +type SDKProcessorSpanQueueCapacity struct { + metric.Int64ObservableUpDownCounter +} + +var newSDKProcessorSpanQueueCapacityOpts = []metric.Int64ObservableUpDownCounterOption{ + metric.WithDescription("The maximum number of spans the queue of a given instance of an SDK span processor can hold."), + metric.WithUnit("{span}"), +} + +// NewSDKProcessorSpanQueueCapacity returns a new SDKProcessorSpanQueueCapacity +// instrument. +func NewSDKProcessorSpanQueueCapacity( + m metric.Meter, + opt ...metric.Int64ObservableUpDownCounterOption, +) (SDKProcessorSpanQueueCapacity, error) { + // Check if the meter is nil. + if m == nil { + return SDKProcessorSpanQueueCapacity{noop.Int64ObservableUpDownCounter{}}, nil + } + + if len(opt) == 0 { + opt = newSDKProcessorSpanQueueCapacityOpts + } else { + opt = append(opt, newSDKProcessorSpanQueueCapacityOpts...) + } + + i, err := m.Int64ObservableUpDownCounter( + "otel.sdk.processor.span.queue.capacity", + opt..., + ) + if err != nil { + return SDKProcessorSpanQueueCapacity{noop.Int64ObservableUpDownCounter{}}, err + } + return SDKProcessorSpanQueueCapacity{i}, nil +} + +// Inst returns the underlying metric instrument. +func (m SDKProcessorSpanQueueCapacity) Inst() metric.Int64ObservableUpDownCounter { + return m.Int64ObservableUpDownCounter +} + +// Name returns the semantic convention name of the instrument. +func (SDKProcessorSpanQueueCapacity) Name() string { + return "otel.sdk.processor.span.queue.capacity" +} + +// Unit returns the semantic convention unit of the instrument +func (SDKProcessorSpanQueueCapacity) Unit() string { + return "{span}" +} + +// Description returns the semantic convention description of the instrument +func (SDKProcessorSpanQueueCapacity) Description() string { + return "The maximum number of spans the queue of a given instance of an SDK span processor can hold." +} + +// AttrComponentName returns an optional attribute for the "otel.component.name" +// semantic convention. It represents a name uniquely identifying the instance of +// the OpenTelemetry component within its containing SDK instance. +func (SDKProcessorSpanQueueCapacity) AttrComponentName(val string) attribute.KeyValue { + return attribute.String("otel.component.name", val) +} + +// AttrComponentType returns an optional attribute for the "otel.component.type" +// semantic convention. It represents a name identifying the type of the +// OpenTelemetry component. +func (SDKProcessorSpanQueueCapacity) AttrComponentType(val ComponentTypeAttr) attribute.KeyValue { + return attribute.String("otel.component.type", string(val)) +} + +// SDKProcessorSpanQueueSize is an instrument used to record metric values +// conforming to the "otel.sdk.processor.span.queue.size" semantic conventions. +// It represents the number of spans in the queue of a given instance of an SDK +// span processor. +type SDKProcessorSpanQueueSize struct { + metric.Int64ObservableUpDownCounter +} + +var newSDKProcessorSpanQueueSizeOpts = []metric.Int64ObservableUpDownCounterOption{ + metric.WithDescription("The number of spans in the queue of a given instance of an SDK span processor."), + metric.WithUnit("{span}"), +} + +// NewSDKProcessorSpanQueueSize returns a new SDKProcessorSpanQueueSize +// instrument. +func NewSDKProcessorSpanQueueSize( + m metric.Meter, + opt ...metric.Int64ObservableUpDownCounterOption, +) (SDKProcessorSpanQueueSize, error) { + // Check if the meter is nil. + if m == nil { + return SDKProcessorSpanQueueSize{noop.Int64ObservableUpDownCounter{}}, nil + } + + if len(opt) == 0 { + opt = newSDKProcessorSpanQueueSizeOpts + } else { + opt = append(opt, newSDKProcessorSpanQueueSizeOpts...) + } + + i, err := m.Int64ObservableUpDownCounter( + "otel.sdk.processor.span.queue.size", + opt..., + ) + if err != nil { + return SDKProcessorSpanQueueSize{noop.Int64ObservableUpDownCounter{}}, err + } + return SDKProcessorSpanQueueSize{i}, nil +} + +// Inst returns the underlying metric instrument. +func (m SDKProcessorSpanQueueSize) Inst() metric.Int64ObservableUpDownCounter { + return m.Int64ObservableUpDownCounter +} + +// Name returns the semantic convention name of the instrument. +func (SDKProcessorSpanQueueSize) Name() string { + return "otel.sdk.processor.span.queue.size" +} + +// Unit returns the semantic convention unit of the instrument +func (SDKProcessorSpanQueueSize) Unit() string { + return "{span}" +} + +// Description returns the semantic convention description of the instrument +func (SDKProcessorSpanQueueSize) Description() string { + return "The number of spans in the queue of a given instance of an SDK span processor." +} + +// AttrComponentName returns an optional attribute for the "otel.component.name" +// semantic convention. It represents a name uniquely identifying the instance of +// the OpenTelemetry component within its containing SDK instance. +func (SDKProcessorSpanQueueSize) AttrComponentName(val string) attribute.KeyValue { + return attribute.String("otel.component.name", val) +} + +// AttrComponentType returns an optional attribute for the "otel.component.type" +// semantic convention. It represents a name identifying the type of the +// OpenTelemetry component. +func (SDKProcessorSpanQueueSize) AttrComponentType(val ComponentTypeAttr) attribute.KeyValue { + return attribute.String("otel.component.type", string(val)) +} + +// SDKSpanLive is an instrument used to record metric values conforming to the +// "otel.sdk.span.live" semantic conventions. It represents the number of created +// spans with `recording=true` for which the end operation has not been called +// yet. +type SDKSpanLive struct { + metric.Int64UpDownCounter +} + +var newSDKSpanLiveOpts = []metric.Int64UpDownCounterOption{ + metric.WithDescription("The number of created spans with `recording=true` for which the end operation has not been called yet."), + metric.WithUnit("{span}"), +} + +// NewSDKSpanLive returns a new SDKSpanLive instrument. +func NewSDKSpanLive( + m metric.Meter, + opt ...metric.Int64UpDownCounterOption, +) (SDKSpanLive, error) { + // Check if the meter is nil. + if m == nil { + return SDKSpanLive{noop.Int64UpDownCounter{}}, nil + } + + if len(opt) == 0 { + opt = newSDKSpanLiveOpts + } else { + opt = append(opt, newSDKSpanLiveOpts...) + } + + i, err := m.Int64UpDownCounter( + "otel.sdk.span.live", + opt..., + ) + if err != nil { + return SDKSpanLive{noop.Int64UpDownCounter{}}, err + } + return SDKSpanLive{i}, nil +} + +// Inst returns the underlying metric instrument. +func (m SDKSpanLive) Inst() metric.Int64UpDownCounter { + return m.Int64UpDownCounter +} + +// Name returns the semantic convention name of the instrument. +func (SDKSpanLive) Name() string { + return "otel.sdk.span.live" +} + +// Unit returns the semantic convention unit of the instrument +func (SDKSpanLive) Unit() string { + return "{span}" +} + +// Description returns the semantic convention description of the instrument +func (SDKSpanLive) Description() string { + return "The number of created spans with `recording=true` for which the end operation has not been called yet." +} + +// Add adds incr to the existing count for attrs. +// +// All additional attrs passed are included in the recorded value. +func (m SDKSpanLive) Add( + ctx context.Context, + incr int64, + attrs ...attribute.KeyValue, +) { + if len(attrs) == 0 { + m.Int64UpDownCounter.Add(ctx, incr) + return + } + + o := addOptPool.Get().(*[]metric.AddOption) + defer func() { + *o = (*o)[:0] + addOptPool.Put(o) + }() + + *o = append( + *o, + metric.WithAttributes( + attrs..., + ), + ) + + m.Int64UpDownCounter.Add(ctx, incr, *o...) +} + +// AddSet adds incr to the existing count for set. +func (m SDKSpanLive) AddSet(ctx context.Context, incr int64, set attribute.Set) { + if set.Len() == 0 { + m.Int64UpDownCounter.Add(ctx, incr) + return + } + + o := addOptPool.Get().(*[]metric.AddOption) + defer func() { + *o = (*o)[:0] + addOptPool.Put(o) + }() + + *o = append(*o, metric.WithAttributeSet(set)) + m.Int64UpDownCounter.Add(ctx, incr, *o...) +} + +// AttrSpanSamplingResult returns an optional attribute for the +// "otel.span.sampling_result" semantic convention. It represents the result +// value of the sampler for this span. +func (SDKSpanLive) AttrSpanSamplingResult(val SpanSamplingResultAttr) attribute.KeyValue { + return attribute.String("otel.span.sampling_result", string(val)) +} + +// SDKSpanStarted is an instrument used to record metric values conforming to the +// "otel.sdk.span.started" semantic conventions. It represents the number of +// created spans. +type SDKSpanStarted struct { + metric.Int64Counter +} + +var newSDKSpanStartedOpts = []metric.Int64CounterOption{ + metric.WithDescription("The number of created spans."), + metric.WithUnit("{span}"), +} + +// NewSDKSpanStarted returns a new SDKSpanStarted instrument. +func NewSDKSpanStarted( + m metric.Meter, + opt ...metric.Int64CounterOption, +) (SDKSpanStarted, error) { + // Check if the meter is nil. + if m == nil { + return SDKSpanStarted{noop.Int64Counter{}}, nil + } + + if len(opt) == 0 { + opt = newSDKSpanStartedOpts + } else { + opt = append(opt, newSDKSpanStartedOpts...) + } + + i, err := m.Int64Counter( + "otel.sdk.span.started", + opt..., + ) + if err != nil { + return SDKSpanStarted{noop.Int64Counter{}}, err + } + return SDKSpanStarted{i}, nil +} + +// Inst returns the underlying metric instrument. +func (m SDKSpanStarted) Inst() metric.Int64Counter { + return m.Int64Counter +} + +// Name returns the semantic convention name of the instrument. +func (SDKSpanStarted) Name() string { + return "otel.sdk.span.started" +} + +// Unit returns the semantic convention unit of the instrument +func (SDKSpanStarted) Unit() string { + return "{span}" +} + +// Description returns the semantic convention description of the instrument +func (SDKSpanStarted) Description() string { + return "The number of created spans." +} + +// Add adds incr to the existing count for attrs. +// +// All additional attrs passed are included in the recorded value. +// +// Implementations MUST record this metric for all spans, even for non-recording +// ones. +func (m SDKSpanStarted) Add( + ctx context.Context, + incr int64, + attrs ...attribute.KeyValue, +) { + if len(attrs) == 0 { + m.Int64Counter.Add(ctx, incr) + return + } + + o := addOptPool.Get().(*[]metric.AddOption) + defer func() { + *o = (*o)[:0] + addOptPool.Put(o) + }() + + *o = append( + *o, + metric.WithAttributes( + attrs..., + ), + ) + + m.Int64Counter.Add(ctx, incr, *o...) +} + +// AddSet adds incr to the existing count for set. +// +// Implementations MUST record this metric for all spans, even for non-recording +// ones. +func (m SDKSpanStarted) AddSet(ctx context.Context, incr int64, set attribute.Set) { + if set.Len() == 0 { + m.Int64Counter.Add(ctx, incr) + return + } + + o := addOptPool.Get().(*[]metric.AddOption) + defer func() { + *o = (*o)[:0] + addOptPool.Put(o) + }() + + *o = append(*o, metric.WithAttributeSet(set)) + m.Int64Counter.Add(ctx, incr, *o...) +} + +// AttrSpanParentOrigin returns an optional attribute for the +// "otel.span.parent.origin" semantic convention. It represents the determines +// whether the span has a parent span, and if so, [whether it is a remote parent] +// . +// +// [whether it is a remote parent]: https://opentelemetry.io/docs/specs/otel/trace/api/#isremote +func (SDKSpanStarted) AttrSpanParentOrigin(val SpanParentOriginAttr) attribute.KeyValue { + return attribute.String("otel.span.parent.origin", string(val)) +} + +// AttrSpanSamplingResult returns an optional attribute for the +// "otel.span.sampling_result" semantic convention. It represents the result +// value of the sampler for this span. +func (SDKSpanStarted) AttrSpanSamplingResult(val SpanSamplingResultAttr) attribute.KeyValue { + return attribute.String("otel.span.sampling_result", string(val)) +} diff --git a/vendor/go.opentelemetry.io/otel/semconv/v1.39.0/schema.go b/vendor/go.opentelemetry.io/otel/semconv/v1.39.0/schema.go new file mode 100644 index 0000000000..e1a199d89b --- /dev/null +++ b/vendor/go.opentelemetry.io/otel/semconv/v1.39.0/schema.go @@ -0,0 +1,9 @@ +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +package semconv // import "go.opentelemetry.io/otel/semconv/v1.39.0" + +// SchemaURL is the schema URL that matches the version of the semantic conventions +// that this package defines. Semconv packages starting from v1.4.0 must declare +// non-empty schema URL in the form https://opentelemetry.io/schemas/ +const SchemaURL = "https://opentelemetry.io/schemas/1.39.0" diff --git a/vendor/go.opentelemetry.io/otel/trace/auto.go b/vendor/go.opentelemetry.io/otel/trace/auto.go index 8763936a84..604fdab446 100644 --- a/vendor/go.opentelemetry.io/otel/trace/auto.go +++ b/vendor/go.opentelemetry.io/otel/trace/auto.go @@ -20,7 +20,7 @@ import ( "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/codes" - semconv "go.opentelemetry.io/otel/semconv/v1.37.0" + semconv "go.opentelemetry.io/otel/semconv/v1.39.0" "go.opentelemetry.io/otel/trace/embedded" "go.opentelemetry.io/otel/trace/internal/telemetry" ) diff --git a/vendor/go.opentelemetry.io/otel/trace/config.go b/vendor/go.opentelemetry.io/otel/trace/config.go index aea11a2b52..d9ecef1cad 100644 --- a/vendor/go.opentelemetry.io/otel/trace/config.go +++ b/vendor/go.opentelemetry.io/otel/trace/config.go @@ -4,6 +4,7 @@ package trace // import "go.opentelemetry.io/otel/trace" import ( + "slices" "time" "go.opentelemetry.io/otel/attribute" @@ -304,12 +305,50 @@ func WithInstrumentationVersion(version string) TracerOption { }) } -// WithInstrumentationAttributes sets the instrumentation attributes. +// mergeSets returns the union of keys between a and b. Any duplicate keys will +// use the value associated with b. +func mergeSets(a, b attribute.Set) attribute.Set { + // NewMergeIterator uses the first value for any duplicates. + iter := attribute.NewMergeIterator(&b, &a) + merged := make([]attribute.KeyValue, 0, a.Len()+b.Len()) + for iter.Next() { + merged = append(merged, iter.Attribute()) + } + return attribute.NewSet(merged...) +} + +// WithInstrumentationAttributes adds the instrumentation attributes. // -// The passed attributes will be de-duplicated. +// This is equivalent to calling [WithInstrumentationAttributeSet] with an +// [attribute.Set] created from a clone of the passed attributes. +// [WithInstrumentationAttributeSet] is recommended for more control. +// +// If multiple [WithInstrumentationAttributes] or [WithInstrumentationAttributeSet] +// options are passed, the attributes will be merged together in the order +// they are passed. Attributes with duplicate keys will use the last value passed. func WithInstrumentationAttributes(attr ...attribute.KeyValue) TracerOption { + set := attribute.NewSet(slices.Clone(attr)...) + return WithInstrumentationAttributeSet(set) +} + +// WithInstrumentationAttributeSet adds the instrumentation attributes. +// +// If multiple [WithInstrumentationAttributes] or [WithInstrumentationAttributeSet] +// options are passed, the attributes will be merged together in the order +// they are passed. Attributes with duplicate keys will use the last value passed. +func WithInstrumentationAttributeSet(set attribute.Set) TracerOption { + if set.Len() == 0 { + return tracerOptionFunc(func(config TracerConfig) TracerConfig { + return config + }) + } + return tracerOptionFunc(func(config TracerConfig) TracerConfig { - config.attrs = attribute.NewSet(attr...) + if config.attrs.Len() == 0 { + config.attrs = set + } else { + config.attrs = mergeSets(config.attrs, set) + } return config }) } diff --git a/vendor/go.opentelemetry.io/otel/trace/span.go b/vendor/go.opentelemetry.io/otel/trace/span.go index d3aa476ee1..d01e793664 100644 --- a/vendor/go.opentelemetry.io/otel/trace/span.go +++ b/vendor/go.opentelemetry.io/otel/trace/span.go @@ -66,6 +66,10 @@ type Span interface { // SetAttributes sets kv as attributes of the Span. If a key from kv // already exists for an attribute of the Span it will be overwritten with // the value contained in kv. + // + // Note that adding attributes at span creation using [WithAttributes] is preferred + // to calling SetAttribute later, as samplers can only consider information + // already present during span creation. SetAttributes(kv ...attribute.KeyValue) // TracerProvider returns a TracerProvider that can be used to generate diff --git a/vendor/go.opentelemetry.io/otel/version.go b/vendor/go.opentelemetry.io/otel/version.go index bcaa5aa537..7c8f50803f 100644 --- a/vendor/go.opentelemetry.io/otel/version.go +++ b/vendor/go.opentelemetry.io/otel/version.go @@ -5,5 +5,5 @@ package otel // import "go.opentelemetry.io/otel" // Version is the current release version of OpenTelemetry in use. func Version() string { - return "1.38.0" + return "1.40.0" } diff --git a/vendor/go.opentelemetry.io/otel/versions.yaml b/vendor/go.opentelemetry.io/otel/versions.yaml index 07145e254b..9daa2df9db 100644 --- a/vendor/go.opentelemetry.io/otel/versions.yaml +++ b/vendor/go.opentelemetry.io/otel/versions.yaml @@ -3,7 +3,7 @@ module-sets: stable-v1: - version: v1.38.0 + version: v1.40.0 modules: - go.opentelemetry.io/otel - go.opentelemetry.io/otel/bridge/opencensus @@ -22,11 +22,11 @@ module-sets: - go.opentelemetry.io/otel/sdk/metric - go.opentelemetry.io/otel/trace experimental-metrics: - version: v0.60.0 + version: v0.62.0 modules: - go.opentelemetry.io/otel/exporters/prometheus experimental-logs: - version: v0.14.0 + version: v0.16.0 modules: - go.opentelemetry.io/otel/log - go.opentelemetry.io/otel/log/logtest @@ -36,9 +36,31 @@ module-sets: - go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp - go.opentelemetry.io/otel/exporters/stdout/stdoutlog experimental-schema: - version: v0.0.13 + version: v0.0.14 modules: - go.opentelemetry.io/otel/schema excluded-modules: - go.opentelemetry.io/otel/internal/tools - go.opentelemetry.io/otel/trace/internal/telemetry/test +modules: + go.opentelemetry.io/otel/exporters/stdout/stdouttrace: + version-refs: + - ./internal/version.go + go.opentelemetry.io/otel/exporters/stdout/stdoutmetric: + version-refs: + - ./internal/version.go + go.opentelemetry.io/otel/exporters/prometheus: + version-refs: + - ./internal/version.go + go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc: + version-refs: + - ./internal/version.go + go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc: + version-refs: + - ./internal/version.go + go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp: + version-refs: + - ./internal/version.go + go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp: + version-refs: + - ./internal/version.go diff --git a/vendor/golang.org/x/crypto/chacha20/chacha_arm64.s b/vendor/golang.org/x/crypto/chacha20/chacha_arm64.s index 7dd2638e88..769af387e2 100644 --- a/vendor/golang.org/x/crypto/chacha20/chacha_arm64.s +++ b/vendor/golang.org/x/crypto/chacha20/chacha_arm64.s @@ -29,7 +29,7 @@ loop: MOVD $NUM_ROUNDS, R21 VLD1 (R11), [V30.S4, V31.S4] - // load contants + // load constants // VLD4R (R10), [V0.S4, V1.S4, V2.S4, V3.S4] WORD $0x4D60E940 diff --git a/vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_amd64.go b/vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_amd64.go index 50695a14f6..b850e772e1 100644 --- a/vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_amd64.go +++ b/vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_amd64.go @@ -56,7 +56,10 @@ func (c *chacha20poly1305) seal(dst, nonce, plaintext, additionalData []byte) [] ret, out := sliceForAppend(dst, len(plaintext)+16) if alias.InexactOverlap(out, plaintext) { - panic("chacha20poly1305: invalid buffer overlap") + panic("chacha20poly1305: invalid buffer overlap of output and input") + } + if alias.AnyOverlap(out, additionalData) { + panic("chacha20poly1305: invalid buffer overlap of output and additional data") } chacha20Poly1305Seal(out[:], state[:], plaintext, additionalData) return ret @@ -73,7 +76,10 @@ func (c *chacha20poly1305) open(dst, nonce, ciphertext, additionalData []byte) ( ciphertext = ciphertext[:len(ciphertext)-16] ret, out := sliceForAppend(dst, len(ciphertext)) if alias.InexactOverlap(out, ciphertext) { - panic("chacha20poly1305: invalid buffer overlap") + panic("chacha20poly1305: invalid buffer overlap of output and input") + } + if alias.AnyOverlap(out, additionalData) { + panic("chacha20poly1305: invalid buffer overlap of output and additional data") } if !chacha20Poly1305Open(out, state[:], ciphertext, additionalData) { for i := range out { diff --git a/vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_generic.go b/vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_generic.go index 6313898f0a..2ecc840fca 100644 --- a/vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_generic.go +++ b/vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_generic.go @@ -31,7 +31,10 @@ func (c *chacha20poly1305) sealGeneric(dst, nonce, plaintext, additionalData []b ret, out := sliceForAppend(dst, len(plaintext)+poly1305.TagSize) ciphertext, tag := out[:len(plaintext)], out[len(plaintext):] if alias.InexactOverlap(out, plaintext) { - panic("chacha20poly1305: invalid buffer overlap") + panic("chacha20poly1305: invalid buffer overlap of output and input") + } + if alias.AnyOverlap(out, additionalData) { + panic("chacha20poly1305: invalid buffer overlap of output and additional data") } var polyKey [32]byte @@ -67,7 +70,10 @@ func (c *chacha20poly1305) openGeneric(dst, nonce, ciphertext, additionalData [] ret, out := sliceForAppend(dst, len(ciphertext)) if alias.InexactOverlap(out, ciphertext) { - panic("chacha20poly1305: invalid buffer overlap") + panic("chacha20poly1305: invalid buffer overlap of output and input") + } + if alias.AnyOverlap(out, additionalData) { + panic("chacha20poly1305: invalid buffer overlap of output and additional data") } if !p.Verify(tag) { for i := range out { diff --git a/vendor/golang.org/x/crypto/sha3/doc.go b/vendor/golang.org/x/crypto/sha3/doc.go deleted file mode 100644 index bbf391fe6e..0000000000 --- a/vendor/golang.org/x/crypto/sha3/doc.go +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2014 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -// Package sha3 implements the SHA-3 fixed-output-length hash functions and -// the SHAKE variable-output-length hash functions defined by FIPS-202. -// -// All types in this package also implement [encoding.BinaryMarshaler], -// [encoding.BinaryAppender] and [encoding.BinaryUnmarshaler] to marshal and -// unmarshal the internal state of the hash. -// -// Both types of hash function use the "sponge" construction and the Keccak -// permutation. For a detailed specification see http://keccak.noekeon.org/ -// -// # Guidance -// -// If you aren't sure what function you need, use SHAKE256 with at least 64 -// bytes of output. The SHAKE instances are faster than the SHA3 instances; -// the latter have to allocate memory to conform to the hash.Hash interface. -// -// If you need a secret-key MAC (message authentication code), prepend the -// secret key to the input, hash with SHAKE256 and read at least 32 bytes of -// output. -// -// # Security strengths -// -// The SHA3-x (x equals 224, 256, 384, or 512) functions have a security -// strength against preimage attacks of x bits. Since they only produce "x" -// bits of output, their collision-resistance is only "x/2" bits. -// -// The SHAKE-256 and -128 functions have a generic security strength of 256 and -// 128 bits against all attacks, provided that at least 2x bits of their output -// is used. Requesting more than 64 or 32 bytes of output, respectively, does -// not increase the collision-resistance of the SHAKE functions. -// -// # The sponge construction -// -// A sponge builds a pseudo-random function from a public pseudo-random -// permutation, by applying the permutation to a state of "rate + capacity" -// bytes, but hiding "capacity" of the bytes. -// -// A sponge starts out with a zero state. To hash an input using a sponge, up -// to "rate" bytes of the input are XORed into the sponge's state. The sponge -// is then "full" and the permutation is applied to "empty" it. This process is -// repeated until all the input has been "absorbed". The input is then padded. -// The digest is "squeezed" from the sponge in the same way, except that output -// is copied out instead of input being XORed in. -// -// A sponge is parameterized by its generic security strength, which is equal -// to half its capacity; capacity + rate is equal to the permutation's width. -// Since the KeccakF-1600 permutation is 1600 bits (200 bytes) wide, this means -// that the security strength of a sponge instance is equal to (1600 - bitrate) / 2. -// -// # Recommendations -// -// The SHAKE functions are recommended for most new uses. They can produce -// output of arbitrary length. SHAKE256, with an output length of at least -// 64 bytes, provides 256-bit security against all attacks. The Keccak team -// recommends it for most applications upgrading from SHA2-512. (NIST chose a -// much stronger, but much slower, sponge instance for SHA3-512.) -// -// The SHA-3 functions are "drop-in" replacements for the SHA-2 functions. -// They produce output of the same length, with the same security strengths -// against all attacks. This means, in particular, that SHA3-256 only has -// 128-bit collision resistance, because its output length is 32 bytes. -package sha3 diff --git a/vendor/golang.org/x/crypto/sha3/hashes.go b/vendor/golang.org/x/crypto/sha3/hashes.go index 31fffbe044..a51269d91a 100644 --- a/vendor/golang.org/x/crypto/sha3/hashes.go +++ b/vendor/golang.org/x/crypto/sha3/hashes.go @@ -2,127 +2,94 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// Package sha3 implements the SHA-3 hash algorithms and the SHAKE extendable +// output functions defined in FIPS 202. +// +// Most of this package is a wrapper around the crypto/sha3 package in the +// standard library. The only exception is the legacy Keccak hash functions. package sha3 -// This file provides functions for creating instances of the SHA-3 -// and SHAKE hash functions, as well as utility functions for hashing -// bytes. - import ( - "crypto" + "crypto/sha3" "hash" ) // New224 creates a new SHA3-224 hash. // Its generic security strength is 224 bits against preimage attacks, // and 112 bits against collision attacks. +// +// It is a wrapper for the [sha3.New224] function in the standard library. +// +//go:fix inline func New224() hash.Hash { - return new224() + return sha3.New224() } // New256 creates a new SHA3-256 hash. // Its generic security strength is 256 bits against preimage attacks, // and 128 bits against collision attacks. +// +// It is a wrapper for the [sha3.New256] function in the standard library. +// +//go:fix inline func New256() hash.Hash { - return new256() + return sha3.New256() } // New384 creates a new SHA3-384 hash. // Its generic security strength is 384 bits against preimage attacks, // and 192 bits against collision attacks. +// +// It is a wrapper for the [sha3.New384] function in the standard library. +// +//go:fix inline func New384() hash.Hash { - return new384() + return sha3.New384() } // New512 creates a new SHA3-512 hash. // Its generic security strength is 512 bits against preimage attacks, // and 256 bits against collision attacks. -func New512() hash.Hash { - return new512() -} - -func init() { - crypto.RegisterHash(crypto.SHA3_224, New224) - crypto.RegisterHash(crypto.SHA3_256, New256) - crypto.RegisterHash(crypto.SHA3_384, New384) - crypto.RegisterHash(crypto.SHA3_512, New512) -} - -const ( - dsbyteSHA3 = 0b00000110 - dsbyteKeccak = 0b00000001 - dsbyteShake = 0b00011111 - dsbyteCShake = 0b00000100 - - // rateK[c] is the rate in bytes for Keccak[c] where c is the capacity in - // bits. Given the sponge size is 1600 bits, the rate is 1600 - c bits. - rateK256 = (1600 - 256) / 8 - rateK448 = (1600 - 448) / 8 - rateK512 = (1600 - 512) / 8 - rateK768 = (1600 - 768) / 8 - rateK1024 = (1600 - 1024) / 8 -) - -func new224Generic() *state { - return &state{rate: rateK448, outputLen: 28, dsbyte: dsbyteSHA3} -} - -func new256Generic() *state { - return &state{rate: rateK512, outputLen: 32, dsbyte: dsbyteSHA3} -} - -func new384Generic() *state { - return &state{rate: rateK768, outputLen: 48, dsbyte: dsbyteSHA3} -} - -func new512Generic() *state { - return &state{rate: rateK1024, outputLen: 64, dsbyte: dsbyteSHA3} -} - -// NewLegacyKeccak256 creates a new Keccak-256 hash. // -// Only use this function if you require compatibility with an existing cryptosystem -// that uses non-standard padding. All other users should use New256 instead. -func NewLegacyKeccak256() hash.Hash { - return &state{rate: rateK512, outputLen: 32, dsbyte: dsbyteKeccak} -} - -// NewLegacyKeccak512 creates a new Keccak-512 hash. +// It is a wrapper for the [sha3.New512] function in the standard library. // -// Only use this function if you require compatibility with an existing cryptosystem -// that uses non-standard padding. All other users should use New512 instead. -func NewLegacyKeccak512() hash.Hash { - return &state{rate: rateK1024, outputLen: 64, dsbyte: dsbyteKeccak} +//go:fix inline +func New512() hash.Hash { + return sha3.New512() } // Sum224 returns the SHA3-224 digest of the data. -func Sum224(data []byte) (digest [28]byte) { - h := New224() - h.Write(data) - h.Sum(digest[:0]) - return +// +// It is a wrapper for the [sha3.Sum224] function in the standard library. +// +//go:fix inline +func Sum224(data []byte) [28]byte { + return sha3.Sum224(data) } // Sum256 returns the SHA3-256 digest of the data. -func Sum256(data []byte) (digest [32]byte) { - h := New256() - h.Write(data) - h.Sum(digest[:0]) - return +// +// It is a wrapper for the [sha3.Sum256] function in the standard library. +// +//go:fix inline +func Sum256(data []byte) [32]byte { + return sha3.Sum256(data) } // Sum384 returns the SHA3-384 digest of the data. -func Sum384(data []byte) (digest [48]byte) { - h := New384() - h.Write(data) - h.Sum(digest[:0]) - return +// +// It is a wrapper for the [sha3.Sum384] function in the standard library. +// +//go:fix inline +func Sum384(data []byte) [48]byte { + return sha3.Sum384(data) } // Sum512 returns the SHA3-512 digest of the data. -func Sum512(data []byte) (digest [64]byte) { - h := New512() - h.Write(data) - h.Sum(digest[:0]) - return +// +// It is a wrapper for the [sha3.Sum512] function in the standard library. +// +//go:fix inline +func Sum512(data []byte) [64]byte { + return sha3.Sum512(data) } diff --git a/vendor/golang.org/x/crypto/sha3/hashes_noasm.go b/vendor/golang.org/x/crypto/sha3/hashes_noasm.go deleted file mode 100644 index 9d85fb6214..0000000000 --- a/vendor/golang.org/x/crypto/sha3/hashes_noasm.go +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright 2023 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build !gc || purego || !s390x - -package sha3 - -func new224() *state { - return new224Generic() -} - -func new256() *state { - return new256Generic() -} - -func new384() *state { - return new384Generic() -} - -func new512() *state { - return new512Generic() -} diff --git a/vendor/golang.org/x/crypto/sha3/keccakf_amd64.go b/vendor/golang.org/x/crypto/sha3/keccakf_amd64.go deleted file mode 100644 index b908696be5..0000000000 --- a/vendor/golang.org/x/crypto/sha3/keccakf_amd64.go +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2015 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build amd64 && !purego && gc - -package sha3 - -// This function is implemented in keccakf_amd64.s. - -//go:noescape - -func keccakF1600(a *[25]uint64) diff --git a/vendor/golang.org/x/crypto/sha3/keccakf_amd64.s b/vendor/golang.org/x/crypto/sha3/keccakf_amd64.s deleted file mode 100644 index 99e2f16e97..0000000000 --- a/vendor/golang.org/x/crypto/sha3/keccakf_amd64.s +++ /dev/null @@ -1,5419 +0,0 @@ -// Code generated by command: go run keccakf_amd64_asm.go -out ../keccakf_amd64.s -pkg sha3. DO NOT EDIT. - -//go:build amd64 && !purego && gc - -// func keccakF1600(a *[25]uint64) -TEXT ·keccakF1600(SB), $200-8 - MOVQ a+0(FP), DI - - // Convert the user state into an internal state - NOTQ 8(DI) - NOTQ 16(DI) - NOTQ 64(DI) - NOTQ 96(DI) - NOTQ 136(DI) - NOTQ 160(DI) - - // Execute the KeccakF permutation - MOVQ (DI), SI - MOVQ 8(DI), BP - MOVQ 32(DI), R15 - XORQ 40(DI), SI - XORQ 48(DI), BP - XORQ 72(DI), R15 - XORQ 80(DI), SI - XORQ 88(DI), BP - XORQ 112(DI), R15 - XORQ 120(DI), SI - XORQ 128(DI), BP - XORQ 152(DI), R15 - XORQ 160(DI), SI - XORQ 168(DI), BP - MOVQ 176(DI), DX - MOVQ 184(DI), R8 - XORQ 192(DI), R15 - - // Prepare round - MOVQ BP, BX - ROLQ $0x01, BX - MOVQ 16(DI), R12 - XORQ 56(DI), DX - XORQ R15, BX - XORQ 96(DI), R12 - XORQ 136(DI), DX - XORQ DX, R12 - MOVQ R12, CX - ROLQ $0x01, CX - MOVQ 24(DI), R13 - XORQ 64(DI), R8 - XORQ SI, CX - XORQ 104(DI), R13 - XORQ 144(DI), R8 - XORQ R8, R13 - MOVQ R13, DX - ROLQ $0x01, DX - MOVQ R15, R8 - XORQ BP, DX - ROLQ $0x01, R8 - MOVQ SI, R9 - XORQ R12, R8 - ROLQ $0x01, R9 - - // Result b - MOVQ (DI), R10 - MOVQ 48(DI), R11 - XORQ R13, R9 - MOVQ 96(DI), R12 - MOVQ 144(DI), R13 - MOVQ 192(DI), R14 - XORQ CX, R11 - ROLQ $0x2c, R11 - XORQ DX, R12 - XORQ BX, R10 - ROLQ $0x2b, R12 - MOVQ R11, SI - MOVQ $0x0000000000000001, AX - ORQ R12, SI - XORQ R10, AX - XORQ AX, SI - MOVQ SI, (SP) - XORQ R9, R14 - ROLQ $0x0e, R14 - MOVQ R10, R15 - ANDQ R11, R15 - XORQ R14, R15 - MOVQ R15, 32(SP) - XORQ R8, R13 - ROLQ $0x15, R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 16(SP) - NOTQ R12 - ORQ R10, R14 - ORQ R13, R12 - XORQ R13, R14 - XORQ R11, R12 - MOVQ R14, 24(SP) - MOVQ R12, 8(SP) - MOVQ R12, BP - - // Result g - MOVQ 72(DI), R11 - XORQ R9, R11 - MOVQ 80(DI), R12 - ROLQ $0x14, R11 - XORQ BX, R12 - ROLQ $0x03, R12 - MOVQ 24(DI), R10 - MOVQ R11, AX - ORQ R12, AX - XORQ R8, R10 - MOVQ 128(DI), R13 - MOVQ 176(DI), R14 - ROLQ $0x1c, R10 - XORQ R10, AX - MOVQ AX, 40(SP) - XORQ AX, SI - XORQ CX, R13 - ROLQ $0x2d, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 48(SP) - XORQ AX, BP - XORQ DX, R14 - ROLQ $0x3d, R14 - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 64(SP) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 72(SP) - NOTQ R14 - XORQ R10, R15 - ORQ R14, R13 - XORQ R12, R13 - MOVQ R13, 56(SP) - - // Result k - MOVQ 8(DI), R10 - MOVQ 56(DI), R11 - MOVQ 104(DI), R12 - MOVQ 152(DI), R13 - MOVQ 160(DI), R14 - XORQ DX, R11 - ROLQ $0x06, R11 - XORQ R8, R12 - ROLQ $0x19, R12 - MOVQ R11, AX - ORQ R12, AX - XORQ CX, R10 - ROLQ $0x01, R10 - XORQ R10, AX - MOVQ AX, 80(SP) - XORQ AX, SI - XORQ R9, R13 - ROLQ $0x08, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 88(SP) - XORQ AX, BP - XORQ BX, R14 - ROLQ $0x12, R14 - NOTQ R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 96(SP) - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 104(SP) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 112(SP) - XORQ R10, R15 - - // Result m - MOVQ 40(DI), R11 - XORQ BX, R11 - MOVQ 88(DI), R12 - ROLQ $0x24, R11 - XORQ CX, R12 - MOVQ 32(DI), R10 - ROLQ $0x0a, R12 - MOVQ R11, AX - MOVQ 136(DI), R13 - ANDQ R12, AX - XORQ R9, R10 - MOVQ 184(DI), R14 - ROLQ $0x1b, R10 - XORQ R10, AX - MOVQ AX, 120(SP) - XORQ AX, SI - XORQ DX, R13 - ROLQ $0x0f, R13 - MOVQ R12, AX - ORQ R13, AX - XORQ R11, AX - MOVQ AX, 128(SP) - XORQ AX, BP - XORQ R8, R14 - ROLQ $0x38, R14 - NOTQ R13 - MOVQ R13, AX - ORQ R14, AX - XORQ R12, AX - MOVQ AX, 136(SP) - ORQ R10, R11 - XORQ R14, R11 - MOVQ R11, 152(SP) - ANDQ R10, R14 - XORQ R13, R14 - MOVQ R14, 144(SP) - XORQ R11, R15 - - // Result s - MOVQ 16(DI), R10 - MOVQ 64(DI), R11 - MOVQ 112(DI), R12 - XORQ DX, R10 - MOVQ 120(DI), R13 - ROLQ $0x3e, R10 - XORQ R8, R11 - MOVQ 168(DI), R14 - ROLQ $0x37, R11 - XORQ R9, R12 - MOVQ R10, R9 - XORQ CX, R14 - ROLQ $0x02, R14 - ANDQ R11, R9 - XORQ R14, R9 - MOVQ R9, 192(SP) - ROLQ $0x27, R12 - XORQ R9, R15 - NOTQ R11 - XORQ BX, R13 - MOVQ R11, BX - ANDQ R12, BX - XORQ R10, BX - MOVQ BX, 160(SP) - XORQ BX, SI - ROLQ $0x29, R13 - MOVQ R12, CX - ORQ R13, CX - XORQ R11, CX - MOVQ CX, 168(SP) - XORQ CX, BP - MOVQ R13, DX - MOVQ R14, R8 - ANDQ R14, DX - ORQ R10, R8 - XORQ R12, DX - XORQ R13, R8 - MOVQ DX, 176(SP) - MOVQ R8, 184(SP) - - // Prepare round - MOVQ BP, BX - ROLQ $0x01, BX - MOVQ 16(SP), R12 - XORQ 56(SP), DX - XORQ R15, BX - XORQ 96(SP), R12 - XORQ 136(SP), DX - XORQ DX, R12 - MOVQ R12, CX - ROLQ $0x01, CX - MOVQ 24(SP), R13 - XORQ 64(SP), R8 - XORQ SI, CX - XORQ 104(SP), R13 - XORQ 144(SP), R8 - XORQ R8, R13 - MOVQ R13, DX - ROLQ $0x01, DX - MOVQ R15, R8 - XORQ BP, DX - ROLQ $0x01, R8 - MOVQ SI, R9 - XORQ R12, R8 - ROLQ $0x01, R9 - - // Result b - MOVQ (SP), R10 - MOVQ 48(SP), R11 - XORQ R13, R9 - MOVQ 96(SP), R12 - MOVQ 144(SP), R13 - MOVQ 192(SP), R14 - XORQ CX, R11 - ROLQ $0x2c, R11 - XORQ DX, R12 - XORQ BX, R10 - ROLQ $0x2b, R12 - MOVQ R11, SI - MOVQ $0x0000000000008082, AX - ORQ R12, SI - XORQ R10, AX - XORQ AX, SI - MOVQ SI, (DI) - XORQ R9, R14 - ROLQ $0x0e, R14 - MOVQ R10, R15 - ANDQ R11, R15 - XORQ R14, R15 - MOVQ R15, 32(DI) - XORQ R8, R13 - ROLQ $0x15, R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 16(DI) - NOTQ R12 - ORQ R10, R14 - ORQ R13, R12 - XORQ R13, R14 - XORQ R11, R12 - MOVQ R14, 24(DI) - MOVQ R12, 8(DI) - MOVQ R12, BP - - // Result g - MOVQ 72(SP), R11 - XORQ R9, R11 - MOVQ 80(SP), R12 - ROLQ $0x14, R11 - XORQ BX, R12 - ROLQ $0x03, R12 - MOVQ 24(SP), R10 - MOVQ R11, AX - ORQ R12, AX - XORQ R8, R10 - MOVQ 128(SP), R13 - MOVQ 176(SP), R14 - ROLQ $0x1c, R10 - XORQ R10, AX - MOVQ AX, 40(DI) - XORQ AX, SI - XORQ CX, R13 - ROLQ $0x2d, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 48(DI) - XORQ AX, BP - XORQ DX, R14 - ROLQ $0x3d, R14 - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 64(DI) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 72(DI) - NOTQ R14 - XORQ R10, R15 - ORQ R14, R13 - XORQ R12, R13 - MOVQ R13, 56(DI) - - // Result k - MOVQ 8(SP), R10 - MOVQ 56(SP), R11 - MOVQ 104(SP), R12 - MOVQ 152(SP), R13 - MOVQ 160(SP), R14 - XORQ DX, R11 - ROLQ $0x06, R11 - XORQ R8, R12 - ROLQ $0x19, R12 - MOVQ R11, AX - ORQ R12, AX - XORQ CX, R10 - ROLQ $0x01, R10 - XORQ R10, AX - MOVQ AX, 80(DI) - XORQ AX, SI - XORQ R9, R13 - ROLQ $0x08, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 88(DI) - XORQ AX, BP - XORQ BX, R14 - ROLQ $0x12, R14 - NOTQ R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 96(DI) - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 104(DI) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 112(DI) - XORQ R10, R15 - - // Result m - MOVQ 40(SP), R11 - XORQ BX, R11 - MOVQ 88(SP), R12 - ROLQ $0x24, R11 - XORQ CX, R12 - MOVQ 32(SP), R10 - ROLQ $0x0a, R12 - MOVQ R11, AX - MOVQ 136(SP), R13 - ANDQ R12, AX - XORQ R9, R10 - MOVQ 184(SP), R14 - ROLQ $0x1b, R10 - XORQ R10, AX - MOVQ AX, 120(DI) - XORQ AX, SI - XORQ DX, R13 - ROLQ $0x0f, R13 - MOVQ R12, AX - ORQ R13, AX - XORQ R11, AX - MOVQ AX, 128(DI) - XORQ AX, BP - XORQ R8, R14 - ROLQ $0x38, R14 - NOTQ R13 - MOVQ R13, AX - ORQ R14, AX - XORQ R12, AX - MOVQ AX, 136(DI) - ORQ R10, R11 - XORQ R14, R11 - MOVQ R11, 152(DI) - ANDQ R10, R14 - XORQ R13, R14 - MOVQ R14, 144(DI) - XORQ R11, R15 - - // Result s - MOVQ 16(SP), R10 - MOVQ 64(SP), R11 - MOVQ 112(SP), R12 - XORQ DX, R10 - MOVQ 120(SP), R13 - ROLQ $0x3e, R10 - XORQ R8, R11 - MOVQ 168(SP), R14 - ROLQ $0x37, R11 - XORQ R9, R12 - MOVQ R10, R9 - XORQ CX, R14 - ROLQ $0x02, R14 - ANDQ R11, R9 - XORQ R14, R9 - MOVQ R9, 192(DI) - ROLQ $0x27, R12 - XORQ R9, R15 - NOTQ R11 - XORQ BX, R13 - MOVQ R11, BX - ANDQ R12, BX - XORQ R10, BX - MOVQ BX, 160(DI) - XORQ BX, SI - ROLQ $0x29, R13 - MOVQ R12, CX - ORQ R13, CX - XORQ R11, CX - MOVQ CX, 168(DI) - XORQ CX, BP - MOVQ R13, DX - MOVQ R14, R8 - ANDQ R14, DX - ORQ R10, R8 - XORQ R12, DX - XORQ R13, R8 - MOVQ DX, 176(DI) - MOVQ R8, 184(DI) - - // Prepare round - MOVQ BP, BX - ROLQ $0x01, BX - MOVQ 16(DI), R12 - XORQ 56(DI), DX - XORQ R15, BX - XORQ 96(DI), R12 - XORQ 136(DI), DX - XORQ DX, R12 - MOVQ R12, CX - ROLQ $0x01, CX - MOVQ 24(DI), R13 - XORQ 64(DI), R8 - XORQ SI, CX - XORQ 104(DI), R13 - XORQ 144(DI), R8 - XORQ R8, R13 - MOVQ R13, DX - ROLQ $0x01, DX - MOVQ R15, R8 - XORQ BP, DX - ROLQ $0x01, R8 - MOVQ SI, R9 - XORQ R12, R8 - ROLQ $0x01, R9 - - // Result b - MOVQ (DI), R10 - MOVQ 48(DI), R11 - XORQ R13, R9 - MOVQ 96(DI), R12 - MOVQ 144(DI), R13 - MOVQ 192(DI), R14 - XORQ CX, R11 - ROLQ $0x2c, R11 - XORQ DX, R12 - XORQ BX, R10 - ROLQ $0x2b, R12 - MOVQ R11, SI - MOVQ $0x800000000000808a, AX - ORQ R12, SI - XORQ R10, AX - XORQ AX, SI - MOVQ SI, (SP) - XORQ R9, R14 - ROLQ $0x0e, R14 - MOVQ R10, R15 - ANDQ R11, R15 - XORQ R14, R15 - MOVQ R15, 32(SP) - XORQ R8, R13 - ROLQ $0x15, R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 16(SP) - NOTQ R12 - ORQ R10, R14 - ORQ R13, R12 - XORQ R13, R14 - XORQ R11, R12 - MOVQ R14, 24(SP) - MOVQ R12, 8(SP) - MOVQ R12, BP - - // Result g - MOVQ 72(DI), R11 - XORQ R9, R11 - MOVQ 80(DI), R12 - ROLQ $0x14, R11 - XORQ BX, R12 - ROLQ $0x03, R12 - MOVQ 24(DI), R10 - MOVQ R11, AX - ORQ R12, AX - XORQ R8, R10 - MOVQ 128(DI), R13 - MOVQ 176(DI), R14 - ROLQ $0x1c, R10 - XORQ R10, AX - MOVQ AX, 40(SP) - XORQ AX, SI - XORQ CX, R13 - ROLQ $0x2d, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 48(SP) - XORQ AX, BP - XORQ DX, R14 - ROLQ $0x3d, R14 - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 64(SP) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 72(SP) - NOTQ R14 - XORQ R10, R15 - ORQ R14, R13 - XORQ R12, R13 - MOVQ R13, 56(SP) - - // Result k - MOVQ 8(DI), R10 - MOVQ 56(DI), R11 - MOVQ 104(DI), R12 - MOVQ 152(DI), R13 - MOVQ 160(DI), R14 - XORQ DX, R11 - ROLQ $0x06, R11 - XORQ R8, R12 - ROLQ $0x19, R12 - MOVQ R11, AX - ORQ R12, AX - XORQ CX, R10 - ROLQ $0x01, R10 - XORQ R10, AX - MOVQ AX, 80(SP) - XORQ AX, SI - XORQ R9, R13 - ROLQ $0x08, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 88(SP) - XORQ AX, BP - XORQ BX, R14 - ROLQ $0x12, R14 - NOTQ R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 96(SP) - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 104(SP) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 112(SP) - XORQ R10, R15 - - // Result m - MOVQ 40(DI), R11 - XORQ BX, R11 - MOVQ 88(DI), R12 - ROLQ $0x24, R11 - XORQ CX, R12 - MOVQ 32(DI), R10 - ROLQ $0x0a, R12 - MOVQ R11, AX - MOVQ 136(DI), R13 - ANDQ R12, AX - XORQ R9, R10 - MOVQ 184(DI), R14 - ROLQ $0x1b, R10 - XORQ R10, AX - MOVQ AX, 120(SP) - XORQ AX, SI - XORQ DX, R13 - ROLQ $0x0f, R13 - MOVQ R12, AX - ORQ R13, AX - XORQ R11, AX - MOVQ AX, 128(SP) - XORQ AX, BP - XORQ R8, R14 - ROLQ $0x38, R14 - NOTQ R13 - MOVQ R13, AX - ORQ R14, AX - XORQ R12, AX - MOVQ AX, 136(SP) - ORQ R10, R11 - XORQ R14, R11 - MOVQ R11, 152(SP) - ANDQ R10, R14 - XORQ R13, R14 - MOVQ R14, 144(SP) - XORQ R11, R15 - - // Result s - MOVQ 16(DI), R10 - MOVQ 64(DI), R11 - MOVQ 112(DI), R12 - XORQ DX, R10 - MOVQ 120(DI), R13 - ROLQ $0x3e, R10 - XORQ R8, R11 - MOVQ 168(DI), R14 - ROLQ $0x37, R11 - XORQ R9, R12 - MOVQ R10, R9 - XORQ CX, R14 - ROLQ $0x02, R14 - ANDQ R11, R9 - XORQ R14, R9 - MOVQ R9, 192(SP) - ROLQ $0x27, R12 - XORQ R9, R15 - NOTQ R11 - XORQ BX, R13 - MOVQ R11, BX - ANDQ R12, BX - XORQ R10, BX - MOVQ BX, 160(SP) - XORQ BX, SI - ROLQ $0x29, R13 - MOVQ R12, CX - ORQ R13, CX - XORQ R11, CX - MOVQ CX, 168(SP) - XORQ CX, BP - MOVQ R13, DX - MOVQ R14, R8 - ANDQ R14, DX - ORQ R10, R8 - XORQ R12, DX - XORQ R13, R8 - MOVQ DX, 176(SP) - MOVQ R8, 184(SP) - - // Prepare round - MOVQ BP, BX - ROLQ $0x01, BX - MOVQ 16(SP), R12 - XORQ 56(SP), DX - XORQ R15, BX - XORQ 96(SP), R12 - XORQ 136(SP), DX - XORQ DX, R12 - MOVQ R12, CX - ROLQ $0x01, CX - MOVQ 24(SP), R13 - XORQ 64(SP), R8 - XORQ SI, CX - XORQ 104(SP), R13 - XORQ 144(SP), R8 - XORQ R8, R13 - MOVQ R13, DX - ROLQ $0x01, DX - MOVQ R15, R8 - XORQ BP, DX - ROLQ $0x01, R8 - MOVQ SI, R9 - XORQ R12, R8 - ROLQ $0x01, R9 - - // Result b - MOVQ (SP), R10 - MOVQ 48(SP), R11 - XORQ R13, R9 - MOVQ 96(SP), R12 - MOVQ 144(SP), R13 - MOVQ 192(SP), R14 - XORQ CX, R11 - ROLQ $0x2c, R11 - XORQ DX, R12 - XORQ BX, R10 - ROLQ $0x2b, R12 - MOVQ R11, SI - MOVQ $0x8000000080008000, AX - ORQ R12, SI - XORQ R10, AX - XORQ AX, SI - MOVQ SI, (DI) - XORQ R9, R14 - ROLQ $0x0e, R14 - MOVQ R10, R15 - ANDQ R11, R15 - XORQ R14, R15 - MOVQ R15, 32(DI) - XORQ R8, R13 - ROLQ $0x15, R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 16(DI) - NOTQ R12 - ORQ R10, R14 - ORQ R13, R12 - XORQ R13, R14 - XORQ R11, R12 - MOVQ R14, 24(DI) - MOVQ R12, 8(DI) - MOVQ R12, BP - - // Result g - MOVQ 72(SP), R11 - XORQ R9, R11 - MOVQ 80(SP), R12 - ROLQ $0x14, R11 - XORQ BX, R12 - ROLQ $0x03, R12 - MOVQ 24(SP), R10 - MOVQ R11, AX - ORQ R12, AX - XORQ R8, R10 - MOVQ 128(SP), R13 - MOVQ 176(SP), R14 - ROLQ $0x1c, R10 - XORQ R10, AX - MOVQ AX, 40(DI) - XORQ AX, SI - XORQ CX, R13 - ROLQ $0x2d, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 48(DI) - XORQ AX, BP - XORQ DX, R14 - ROLQ $0x3d, R14 - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 64(DI) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 72(DI) - NOTQ R14 - XORQ R10, R15 - ORQ R14, R13 - XORQ R12, R13 - MOVQ R13, 56(DI) - - // Result k - MOVQ 8(SP), R10 - MOVQ 56(SP), R11 - MOVQ 104(SP), R12 - MOVQ 152(SP), R13 - MOVQ 160(SP), R14 - XORQ DX, R11 - ROLQ $0x06, R11 - XORQ R8, R12 - ROLQ $0x19, R12 - MOVQ R11, AX - ORQ R12, AX - XORQ CX, R10 - ROLQ $0x01, R10 - XORQ R10, AX - MOVQ AX, 80(DI) - XORQ AX, SI - XORQ R9, R13 - ROLQ $0x08, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 88(DI) - XORQ AX, BP - XORQ BX, R14 - ROLQ $0x12, R14 - NOTQ R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 96(DI) - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 104(DI) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 112(DI) - XORQ R10, R15 - - // Result m - MOVQ 40(SP), R11 - XORQ BX, R11 - MOVQ 88(SP), R12 - ROLQ $0x24, R11 - XORQ CX, R12 - MOVQ 32(SP), R10 - ROLQ $0x0a, R12 - MOVQ R11, AX - MOVQ 136(SP), R13 - ANDQ R12, AX - XORQ R9, R10 - MOVQ 184(SP), R14 - ROLQ $0x1b, R10 - XORQ R10, AX - MOVQ AX, 120(DI) - XORQ AX, SI - XORQ DX, R13 - ROLQ $0x0f, R13 - MOVQ R12, AX - ORQ R13, AX - XORQ R11, AX - MOVQ AX, 128(DI) - XORQ AX, BP - XORQ R8, R14 - ROLQ $0x38, R14 - NOTQ R13 - MOVQ R13, AX - ORQ R14, AX - XORQ R12, AX - MOVQ AX, 136(DI) - ORQ R10, R11 - XORQ R14, R11 - MOVQ R11, 152(DI) - ANDQ R10, R14 - XORQ R13, R14 - MOVQ R14, 144(DI) - XORQ R11, R15 - - // Result s - MOVQ 16(SP), R10 - MOVQ 64(SP), R11 - MOVQ 112(SP), R12 - XORQ DX, R10 - MOVQ 120(SP), R13 - ROLQ $0x3e, R10 - XORQ R8, R11 - MOVQ 168(SP), R14 - ROLQ $0x37, R11 - XORQ R9, R12 - MOVQ R10, R9 - XORQ CX, R14 - ROLQ $0x02, R14 - ANDQ R11, R9 - XORQ R14, R9 - MOVQ R9, 192(DI) - ROLQ $0x27, R12 - XORQ R9, R15 - NOTQ R11 - XORQ BX, R13 - MOVQ R11, BX - ANDQ R12, BX - XORQ R10, BX - MOVQ BX, 160(DI) - XORQ BX, SI - ROLQ $0x29, R13 - MOVQ R12, CX - ORQ R13, CX - XORQ R11, CX - MOVQ CX, 168(DI) - XORQ CX, BP - MOVQ R13, DX - MOVQ R14, R8 - ANDQ R14, DX - ORQ R10, R8 - XORQ R12, DX - XORQ R13, R8 - MOVQ DX, 176(DI) - MOVQ R8, 184(DI) - - // Prepare round - MOVQ BP, BX - ROLQ $0x01, BX - MOVQ 16(DI), R12 - XORQ 56(DI), DX - XORQ R15, BX - XORQ 96(DI), R12 - XORQ 136(DI), DX - XORQ DX, R12 - MOVQ R12, CX - ROLQ $0x01, CX - MOVQ 24(DI), R13 - XORQ 64(DI), R8 - XORQ SI, CX - XORQ 104(DI), R13 - XORQ 144(DI), R8 - XORQ R8, R13 - MOVQ R13, DX - ROLQ $0x01, DX - MOVQ R15, R8 - XORQ BP, DX - ROLQ $0x01, R8 - MOVQ SI, R9 - XORQ R12, R8 - ROLQ $0x01, R9 - - // Result b - MOVQ (DI), R10 - MOVQ 48(DI), R11 - XORQ R13, R9 - MOVQ 96(DI), R12 - MOVQ 144(DI), R13 - MOVQ 192(DI), R14 - XORQ CX, R11 - ROLQ $0x2c, R11 - XORQ DX, R12 - XORQ BX, R10 - ROLQ $0x2b, R12 - MOVQ R11, SI - MOVQ $0x000000000000808b, AX - ORQ R12, SI - XORQ R10, AX - XORQ AX, SI - MOVQ SI, (SP) - XORQ R9, R14 - ROLQ $0x0e, R14 - MOVQ R10, R15 - ANDQ R11, R15 - XORQ R14, R15 - MOVQ R15, 32(SP) - XORQ R8, R13 - ROLQ $0x15, R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 16(SP) - NOTQ R12 - ORQ R10, R14 - ORQ R13, R12 - XORQ R13, R14 - XORQ R11, R12 - MOVQ R14, 24(SP) - MOVQ R12, 8(SP) - MOVQ R12, BP - - // Result g - MOVQ 72(DI), R11 - XORQ R9, R11 - MOVQ 80(DI), R12 - ROLQ $0x14, R11 - XORQ BX, R12 - ROLQ $0x03, R12 - MOVQ 24(DI), R10 - MOVQ R11, AX - ORQ R12, AX - XORQ R8, R10 - MOVQ 128(DI), R13 - MOVQ 176(DI), R14 - ROLQ $0x1c, R10 - XORQ R10, AX - MOVQ AX, 40(SP) - XORQ AX, SI - XORQ CX, R13 - ROLQ $0x2d, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 48(SP) - XORQ AX, BP - XORQ DX, R14 - ROLQ $0x3d, R14 - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 64(SP) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 72(SP) - NOTQ R14 - XORQ R10, R15 - ORQ R14, R13 - XORQ R12, R13 - MOVQ R13, 56(SP) - - // Result k - MOVQ 8(DI), R10 - MOVQ 56(DI), R11 - MOVQ 104(DI), R12 - MOVQ 152(DI), R13 - MOVQ 160(DI), R14 - XORQ DX, R11 - ROLQ $0x06, R11 - XORQ R8, R12 - ROLQ $0x19, R12 - MOVQ R11, AX - ORQ R12, AX - XORQ CX, R10 - ROLQ $0x01, R10 - XORQ R10, AX - MOVQ AX, 80(SP) - XORQ AX, SI - XORQ R9, R13 - ROLQ $0x08, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 88(SP) - XORQ AX, BP - XORQ BX, R14 - ROLQ $0x12, R14 - NOTQ R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 96(SP) - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 104(SP) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 112(SP) - XORQ R10, R15 - - // Result m - MOVQ 40(DI), R11 - XORQ BX, R11 - MOVQ 88(DI), R12 - ROLQ $0x24, R11 - XORQ CX, R12 - MOVQ 32(DI), R10 - ROLQ $0x0a, R12 - MOVQ R11, AX - MOVQ 136(DI), R13 - ANDQ R12, AX - XORQ R9, R10 - MOVQ 184(DI), R14 - ROLQ $0x1b, R10 - XORQ R10, AX - MOVQ AX, 120(SP) - XORQ AX, SI - XORQ DX, R13 - ROLQ $0x0f, R13 - MOVQ R12, AX - ORQ R13, AX - XORQ R11, AX - MOVQ AX, 128(SP) - XORQ AX, BP - XORQ R8, R14 - ROLQ $0x38, R14 - NOTQ R13 - MOVQ R13, AX - ORQ R14, AX - XORQ R12, AX - MOVQ AX, 136(SP) - ORQ R10, R11 - XORQ R14, R11 - MOVQ R11, 152(SP) - ANDQ R10, R14 - XORQ R13, R14 - MOVQ R14, 144(SP) - XORQ R11, R15 - - // Result s - MOVQ 16(DI), R10 - MOVQ 64(DI), R11 - MOVQ 112(DI), R12 - XORQ DX, R10 - MOVQ 120(DI), R13 - ROLQ $0x3e, R10 - XORQ R8, R11 - MOVQ 168(DI), R14 - ROLQ $0x37, R11 - XORQ R9, R12 - MOVQ R10, R9 - XORQ CX, R14 - ROLQ $0x02, R14 - ANDQ R11, R9 - XORQ R14, R9 - MOVQ R9, 192(SP) - ROLQ $0x27, R12 - XORQ R9, R15 - NOTQ R11 - XORQ BX, R13 - MOVQ R11, BX - ANDQ R12, BX - XORQ R10, BX - MOVQ BX, 160(SP) - XORQ BX, SI - ROLQ $0x29, R13 - MOVQ R12, CX - ORQ R13, CX - XORQ R11, CX - MOVQ CX, 168(SP) - XORQ CX, BP - MOVQ R13, DX - MOVQ R14, R8 - ANDQ R14, DX - ORQ R10, R8 - XORQ R12, DX - XORQ R13, R8 - MOVQ DX, 176(SP) - MOVQ R8, 184(SP) - - // Prepare round - MOVQ BP, BX - ROLQ $0x01, BX - MOVQ 16(SP), R12 - XORQ 56(SP), DX - XORQ R15, BX - XORQ 96(SP), R12 - XORQ 136(SP), DX - XORQ DX, R12 - MOVQ R12, CX - ROLQ $0x01, CX - MOVQ 24(SP), R13 - XORQ 64(SP), R8 - XORQ SI, CX - XORQ 104(SP), R13 - XORQ 144(SP), R8 - XORQ R8, R13 - MOVQ R13, DX - ROLQ $0x01, DX - MOVQ R15, R8 - XORQ BP, DX - ROLQ $0x01, R8 - MOVQ SI, R9 - XORQ R12, R8 - ROLQ $0x01, R9 - - // Result b - MOVQ (SP), R10 - MOVQ 48(SP), R11 - XORQ R13, R9 - MOVQ 96(SP), R12 - MOVQ 144(SP), R13 - MOVQ 192(SP), R14 - XORQ CX, R11 - ROLQ $0x2c, R11 - XORQ DX, R12 - XORQ BX, R10 - ROLQ $0x2b, R12 - MOVQ R11, SI - MOVQ $0x0000000080000001, AX - ORQ R12, SI - XORQ R10, AX - XORQ AX, SI - MOVQ SI, (DI) - XORQ R9, R14 - ROLQ $0x0e, R14 - MOVQ R10, R15 - ANDQ R11, R15 - XORQ R14, R15 - MOVQ R15, 32(DI) - XORQ R8, R13 - ROLQ $0x15, R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 16(DI) - NOTQ R12 - ORQ R10, R14 - ORQ R13, R12 - XORQ R13, R14 - XORQ R11, R12 - MOVQ R14, 24(DI) - MOVQ R12, 8(DI) - MOVQ R12, BP - - // Result g - MOVQ 72(SP), R11 - XORQ R9, R11 - MOVQ 80(SP), R12 - ROLQ $0x14, R11 - XORQ BX, R12 - ROLQ $0x03, R12 - MOVQ 24(SP), R10 - MOVQ R11, AX - ORQ R12, AX - XORQ R8, R10 - MOVQ 128(SP), R13 - MOVQ 176(SP), R14 - ROLQ $0x1c, R10 - XORQ R10, AX - MOVQ AX, 40(DI) - XORQ AX, SI - XORQ CX, R13 - ROLQ $0x2d, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 48(DI) - XORQ AX, BP - XORQ DX, R14 - ROLQ $0x3d, R14 - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 64(DI) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 72(DI) - NOTQ R14 - XORQ R10, R15 - ORQ R14, R13 - XORQ R12, R13 - MOVQ R13, 56(DI) - - // Result k - MOVQ 8(SP), R10 - MOVQ 56(SP), R11 - MOVQ 104(SP), R12 - MOVQ 152(SP), R13 - MOVQ 160(SP), R14 - XORQ DX, R11 - ROLQ $0x06, R11 - XORQ R8, R12 - ROLQ $0x19, R12 - MOVQ R11, AX - ORQ R12, AX - XORQ CX, R10 - ROLQ $0x01, R10 - XORQ R10, AX - MOVQ AX, 80(DI) - XORQ AX, SI - XORQ R9, R13 - ROLQ $0x08, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 88(DI) - XORQ AX, BP - XORQ BX, R14 - ROLQ $0x12, R14 - NOTQ R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 96(DI) - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 104(DI) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 112(DI) - XORQ R10, R15 - - // Result m - MOVQ 40(SP), R11 - XORQ BX, R11 - MOVQ 88(SP), R12 - ROLQ $0x24, R11 - XORQ CX, R12 - MOVQ 32(SP), R10 - ROLQ $0x0a, R12 - MOVQ R11, AX - MOVQ 136(SP), R13 - ANDQ R12, AX - XORQ R9, R10 - MOVQ 184(SP), R14 - ROLQ $0x1b, R10 - XORQ R10, AX - MOVQ AX, 120(DI) - XORQ AX, SI - XORQ DX, R13 - ROLQ $0x0f, R13 - MOVQ R12, AX - ORQ R13, AX - XORQ R11, AX - MOVQ AX, 128(DI) - XORQ AX, BP - XORQ R8, R14 - ROLQ $0x38, R14 - NOTQ R13 - MOVQ R13, AX - ORQ R14, AX - XORQ R12, AX - MOVQ AX, 136(DI) - ORQ R10, R11 - XORQ R14, R11 - MOVQ R11, 152(DI) - ANDQ R10, R14 - XORQ R13, R14 - MOVQ R14, 144(DI) - XORQ R11, R15 - - // Result s - MOVQ 16(SP), R10 - MOVQ 64(SP), R11 - MOVQ 112(SP), R12 - XORQ DX, R10 - MOVQ 120(SP), R13 - ROLQ $0x3e, R10 - XORQ R8, R11 - MOVQ 168(SP), R14 - ROLQ $0x37, R11 - XORQ R9, R12 - MOVQ R10, R9 - XORQ CX, R14 - ROLQ $0x02, R14 - ANDQ R11, R9 - XORQ R14, R9 - MOVQ R9, 192(DI) - ROLQ $0x27, R12 - XORQ R9, R15 - NOTQ R11 - XORQ BX, R13 - MOVQ R11, BX - ANDQ R12, BX - XORQ R10, BX - MOVQ BX, 160(DI) - XORQ BX, SI - ROLQ $0x29, R13 - MOVQ R12, CX - ORQ R13, CX - XORQ R11, CX - MOVQ CX, 168(DI) - XORQ CX, BP - MOVQ R13, DX - MOVQ R14, R8 - ANDQ R14, DX - ORQ R10, R8 - XORQ R12, DX - XORQ R13, R8 - MOVQ DX, 176(DI) - MOVQ R8, 184(DI) - - // Prepare round - MOVQ BP, BX - ROLQ $0x01, BX - MOVQ 16(DI), R12 - XORQ 56(DI), DX - XORQ R15, BX - XORQ 96(DI), R12 - XORQ 136(DI), DX - XORQ DX, R12 - MOVQ R12, CX - ROLQ $0x01, CX - MOVQ 24(DI), R13 - XORQ 64(DI), R8 - XORQ SI, CX - XORQ 104(DI), R13 - XORQ 144(DI), R8 - XORQ R8, R13 - MOVQ R13, DX - ROLQ $0x01, DX - MOVQ R15, R8 - XORQ BP, DX - ROLQ $0x01, R8 - MOVQ SI, R9 - XORQ R12, R8 - ROLQ $0x01, R9 - - // Result b - MOVQ (DI), R10 - MOVQ 48(DI), R11 - XORQ R13, R9 - MOVQ 96(DI), R12 - MOVQ 144(DI), R13 - MOVQ 192(DI), R14 - XORQ CX, R11 - ROLQ $0x2c, R11 - XORQ DX, R12 - XORQ BX, R10 - ROLQ $0x2b, R12 - MOVQ R11, SI - MOVQ $0x8000000080008081, AX - ORQ R12, SI - XORQ R10, AX - XORQ AX, SI - MOVQ SI, (SP) - XORQ R9, R14 - ROLQ $0x0e, R14 - MOVQ R10, R15 - ANDQ R11, R15 - XORQ R14, R15 - MOVQ R15, 32(SP) - XORQ R8, R13 - ROLQ $0x15, R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 16(SP) - NOTQ R12 - ORQ R10, R14 - ORQ R13, R12 - XORQ R13, R14 - XORQ R11, R12 - MOVQ R14, 24(SP) - MOVQ R12, 8(SP) - MOVQ R12, BP - - // Result g - MOVQ 72(DI), R11 - XORQ R9, R11 - MOVQ 80(DI), R12 - ROLQ $0x14, R11 - XORQ BX, R12 - ROLQ $0x03, R12 - MOVQ 24(DI), R10 - MOVQ R11, AX - ORQ R12, AX - XORQ R8, R10 - MOVQ 128(DI), R13 - MOVQ 176(DI), R14 - ROLQ $0x1c, R10 - XORQ R10, AX - MOVQ AX, 40(SP) - XORQ AX, SI - XORQ CX, R13 - ROLQ $0x2d, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 48(SP) - XORQ AX, BP - XORQ DX, R14 - ROLQ $0x3d, R14 - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 64(SP) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 72(SP) - NOTQ R14 - XORQ R10, R15 - ORQ R14, R13 - XORQ R12, R13 - MOVQ R13, 56(SP) - - // Result k - MOVQ 8(DI), R10 - MOVQ 56(DI), R11 - MOVQ 104(DI), R12 - MOVQ 152(DI), R13 - MOVQ 160(DI), R14 - XORQ DX, R11 - ROLQ $0x06, R11 - XORQ R8, R12 - ROLQ $0x19, R12 - MOVQ R11, AX - ORQ R12, AX - XORQ CX, R10 - ROLQ $0x01, R10 - XORQ R10, AX - MOVQ AX, 80(SP) - XORQ AX, SI - XORQ R9, R13 - ROLQ $0x08, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 88(SP) - XORQ AX, BP - XORQ BX, R14 - ROLQ $0x12, R14 - NOTQ R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 96(SP) - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 104(SP) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 112(SP) - XORQ R10, R15 - - // Result m - MOVQ 40(DI), R11 - XORQ BX, R11 - MOVQ 88(DI), R12 - ROLQ $0x24, R11 - XORQ CX, R12 - MOVQ 32(DI), R10 - ROLQ $0x0a, R12 - MOVQ R11, AX - MOVQ 136(DI), R13 - ANDQ R12, AX - XORQ R9, R10 - MOVQ 184(DI), R14 - ROLQ $0x1b, R10 - XORQ R10, AX - MOVQ AX, 120(SP) - XORQ AX, SI - XORQ DX, R13 - ROLQ $0x0f, R13 - MOVQ R12, AX - ORQ R13, AX - XORQ R11, AX - MOVQ AX, 128(SP) - XORQ AX, BP - XORQ R8, R14 - ROLQ $0x38, R14 - NOTQ R13 - MOVQ R13, AX - ORQ R14, AX - XORQ R12, AX - MOVQ AX, 136(SP) - ORQ R10, R11 - XORQ R14, R11 - MOVQ R11, 152(SP) - ANDQ R10, R14 - XORQ R13, R14 - MOVQ R14, 144(SP) - XORQ R11, R15 - - // Result s - MOVQ 16(DI), R10 - MOVQ 64(DI), R11 - MOVQ 112(DI), R12 - XORQ DX, R10 - MOVQ 120(DI), R13 - ROLQ $0x3e, R10 - XORQ R8, R11 - MOVQ 168(DI), R14 - ROLQ $0x37, R11 - XORQ R9, R12 - MOVQ R10, R9 - XORQ CX, R14 - ROLQ $0x02, R14 - ANDQ R11, R9 - XORQ R14, R9 - MOVQ R9, 192(SP) - ROLQ $0x27, R12 - XORQ R9, R15 - NOTQ R11 - XORQ BX, R13 - MOVQ R11, BX - ANDQ R12, BX - XORQ R10, BX - MOVQ BX, 160(SP) - XORQ BX, SI - ROLQ $0x29, R13 - MOVQ R12, CX - ORQ R13, CX - XORQ R11, CX - MOVQ CX, 168(SP) - XORQ CX, BP - MOVQ R13, DX - MOVQ R14, R8 - ANDQ R14, DX - ORQ R10, R8 - XORQ R12, DX - XORQ R13, R8 - MOVQ DX, 176(SP) - MOVQ R8, 184(SP) - - // Prepare round - MOVQ BP, BX - ROLQ $0x01, BX - MOVQ 16(SP), R12 - XORQ 56(SP), DX - XORQ R15, BX - XORQ 96(SP), R12 - XORQ 136(SP), DX - XORQ DX, R12 - MOVQ R12, CX - ROLQ $0x01, CX - MOVQ 24(SP), R13 - XORQ 64(SP), R8 - XORQ SI, CX - XORQ 104(SP), R13 - XORQ 144(SP), R8 - XORQ R8, R13 - MOVQ R13, DX - ROLQ $0x01, DX - MOVQ R15, R8 - XORQ BP, DX - ROLQ $0x01, R8 - MOVQ SI, R9 - XORQ R12, R8 - ROLQ $0x01, R9 - - // Result b - MOVQ (SP), R10 - MOVQ 48(SP), R11 - XORQ R13, R9 - MOVQ 96(SP), R12 - MOVQ 144(SP), R13 - MOVQ 192(SP), R14 - XORQ CX, R11 - ROLQ $0x2c, R11 - XORQ DX, R12 - XORQ BX, R10 - ROLQ $0x2b, R12 - MOVQ R11, SI - MOVQ $0x8000000000008009, AX - ORQ R12, SI - XORQ R10, AX - XORQ AX, SI - MOVQ SI, (DI) - XORQ R9, R14 - ROLQ $0x0e, R14 - MOVQ R10, R15 - ANDQ R11, R15 - XORQ R14, R15 - MOVQ R15, 32(DI) - XORQ R8, R13 - ROLQ $0x15, R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 16(DI) - NOTQ R12 - ORQ R10, R14 - ORQ R13, R12 - XORQ R13, R14 - XORQ R11, R12 - MOVQ R14, 24(DI) - MOVQ R12, 8(DI) - MOVQ R12, BP - - // Result g - MOVQ 72(SP), R11 - XORQ R9, R11 - MOVQ 80(SP), R12 - ROLQ $0x14, R11 - XORQ BX, R12 - ROLQ $0x03, R12 - MOVQ 24(SP), R10 - MOVQ R11, AX - ORQ R12, AX - XORQ R8, R10 - MOVQ 128(SP), R13 - MOVQ 176(SP), R14 - ROLQ $0x1c, R10 - XORQ R10, AX - MOVQ AX, 40(DI) - XORQ AX, SI - XORQ CX, R13 - ROLQ $0x2d, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 48(DI) - XORQ AX, BP - XORQ DX, R14 - ROLQ $0x3d, R14 - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 64(DI) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 72(DI) - NOTQ R14 - XORQ R10, R15 - ORQ R14, R13 - XORQ R12, R13 - MOVQ R13, 56(DI) - - // Result k - MOVQ 8(SP), R10 - MOVQ 56(SP), R11 - MOVQ 104(SP), R12 - MOVQ 152(SP), R13 - MOVQ 160(SP), R14 - XORQ DX, R11 - ROLQ $0x06, R11 - XORQ R8, R12 - ROLQ $0x19, R12 - MOVQ R11, AX - ORQ R12, AX - XORQ CX, R10 - ROLQ $0x01, R10 - XORQ R10, AX - MOVQ AX, 80(DI) - XORQ AX, SI - XORQ R9, R13 - ROLQ $0x08, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 88(DI) - XORQ AX, BP - XORQ BX, R14 - ROLQ $0x12, R14 - NOTQ R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 96(DI) - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 104(DI) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 112(DI) - XORQ R10, R15 - - // Result m - MOVQ 40(SP), R11 - XORQ BX, R11 - MOVQ 88(SP), R12 - ROLQ $0x24, R11 - XORQ CX, R12 - MOVQ 32(SP), R10 - ROLQ $0x0a, R12 - MOVQ R11, AX - MOVQ 136(SP), R13 - ANDQ R12, AX - XORQ R9, R10 - MOVQ 184(SP), R14 - ROLQ $0x1b, R10 - XORQ R10, AX - MOVQ AX, 120(DI) - XORQ AX, SI - XORQ DX, R13 - ROLQ $0x0f, R13 - MOVQ R12, AX - ORQ R13, AX - XORQ R11, AX - MOVQ AX, 128(DI) - XORQ AX, BP - XORQ R8, R14 - ROLQ $0x38, R14 - NOTQ R13 - MOVQ R13, AX - ORQ R14, AX - XORQ R12, AX - MOVQ AX, 136(DI) - ORQ R10, R11 - XORQ R14, R11 - MOVQ R11, 152(DI) - ANDQ R10, R14 - XORQ R13, R14 - MOVQ R14, 144(DI) - XORQ R11, R15 - - // Result s - MOVQ 16(SP), R10 - MOVQ 64(SP), R11 - MOVQ 112(SP), R12 - XORQ DX, R10 - MOVQ 120(SP), R13 - ROLQ $0x3e, R10 - XORQ R8, R11 - MOVQ 168(SP), R14 - ROLQ $0x37, R11 - XORQ R9, R12 - MOVQ R10, R9 - XORQ CX, R14 - ROLQ $0x02, R14 - ANDQ R11, R9 - XORQ R14, R9 - MOVQ R9, 192(DI) - ROLQ $0x27, R12 - XORQ R9, R15 - NOTQ R11 - XORQ BX, R13 - MOVQ R11, BX - ANDQ R12, BX - XORQ R10, BX - MOVQ BX, 160(DI) - XORQ BX, SI - ROLQ $0x29, R13 - MOVQ R12, CX - ORQ R13, CX - XORQ R11, CX - MOVQ CX, 168(DI) - XORQ CX, BP - MOVQ R13, DX - MOVQ R14, R8 - ANDQ R14, DX - ORQ R10, R8 - XORQ R12, DX - XORQ R13, R8 - MOVQ DX, 176(DI) - MOVQ R8, 184(DI) - - // Prepare round - MOVQ BP, BX - ROLQ $0x01, BX - MOVQ 16(DI), R12 - XORQ 56(DI), DX - XORQ R15, BX - XORQ 96(DI), R12 - XORQ 136(DI), DX - XORQ DX, R12 - MOVQ R12, CX - ROLQ $0x01, CX - MOVQ 24(DI), R13 - XORQ 64(DI), R8 - XORQ SI, CX - XORQ 104(DI), R13 - XORQ 144(DI), R8 - XORQ R8, R13 - MOVQ R13, DX - ROLQ $0x01, DX - MOVQ R15, R8 - XORQ BP, DX - ROLQ $0x01, R8 - MOVQ SI, R9 - XORQ R12, R8 - ROLQ $0x01, R9 - - // Result b - MOVQ (DI), R10 - MOVQ 48(DI), R11 - XORQ R13, R9 - MOVQ 96(DI), R12 - MOVQ 144(DI), R13 - MOVQ 192(DI), R14 - XORQ CX, R11 - ROLQ $0x2c, R11 - XORQ DX, R12 - XORQ BX, R10 - ROLQ $0x2b, R12 - MOVQ R11, SI - MOVQ $0x000000000000008a, AX - ORQ R12, SI - XORQ R10, AX - XORQ AX, SI - MOVQ SI, (SP) - XORQ R9, R14 - ROLQ $0x0e, R14 - MOVQ R10, R15 - ANDQ R11, R15 - XORQ R14, R15 - MOVQ R15, 32(SP) - XORQ R8, R13 - ROLQ $0x15, R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 16(SP) - NOTQ R12 - ORQ R10, R14 - ORQ R13, R12 - XORQ R13, R14 - XORQ R11, R12 - MOVQ R14, 24(SP) - MOVQ R12, 8(SP) - MOVQ R12, BP - - // Result g - MOVQ 72(DI), R11 - XORQ R9, R11 - MOVQ 80(DI), R12 - ROLQ $0x14, R11 - XORQ BX, R12 - ROLQ $0x03, R12 - MOVQ 24(DI), R10 - MOVQ R11, AX - ORQ R12, AX - XORQ R8, R10 - MOVQ 128(DI), R13 - MOVQ 176(DI), R14 - ROLQ $0x1c, R10 - XORQ R10, AX - MOVQ AX, 40(SP) - XORQ AX, SI - XORQ CX, R13 - ROLQ $0x2d, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 48(SP) - XORQ AX, BP - XORQ DX, R14 - ROLQ $0x3d, R14 - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 64(SP) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 72(SP) - NOTQ R14 - XORQ R10, R15 - ORQ R14, R13 - XORQ R12, R13 - MOVQ R13, 56(SP) - - // Result k - MOVQ 8(DI), R10 - MOVQ 56(DI), R11 - MOVQ 104(DI), R12 - MOVQ 152(DI), R13 - MOVQ 160(DI), R14 - XORQ DX, R11 - ROLQ $0x06, R11 - XORQ R8, R12 - ROLQ $0x19, R12 - MOVQ R11, AX - ORQ R12, AX - XORQ CX, R10 - ROLQ $0x01, R10 - XORQ R10, AX - MOVQ AX, 80(SP) - XORQ AX, SI - XORQ R9, R13 - ROLQ $0x08, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 88(SP) - XORQ AX, BP - XORQ BX, R14 - ROLQ $0x12, R14 - NOTQ R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 96(SP) - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 104(SP) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 112(SP) - XORQ R10, R15 - - // Result m - MOVQ 40(DI), R11 - XORQ BX, R11 - MOVQ 88(DI), R12 - ROLQ $0x24, R11 - XORQ CX, R12 - MOVQ 32(DI), R10 - ROLQ $0x0a, R12 - MOVQ R11, AX - MOVQ 136(DI), R13 - ANDQ R12, AX - XORQ R9, R10 - MOVQ 184(DI), R14 - ROLQ $0x1b, R10 - XORQ R10, AX - MOVQ AX, 120(SP) - XORQ AX, SI - XORQ DX, R13 - ROLQ $0x0f, R13 - MOVQ R12, AX - ORQ R13, AX - XORQ R11, AX - MOVQ AX, 128(SP) - XORQ AX, BP - XORQ R8, R14 - ROLQ $0x38, R14 - NOTQ R13 - MOVQ R13, AX - ORQ R14, AX - XORQ R12, AX - MOVQ AX, 136(SP) - ORQ R10, R11 - XORQ R14, R11 - MOVQ R11, 152(SP) - ANDQ R10, R14 - XORQ R13, R14 - MOVQ R14, 144(SP) - XORQ R11, R15 - - // Result s - MOVQ 16(DI), R10 - MOVQ 64(DI), R11 - MOVQ 112(DI), R12 - XORQ DX, R10 - MOVQ 120(DI), R13 - ROLQ $0x3e, R10 - XORQ R8, R11 - MOVQ 168(DI), R14 - ROLQ $0x37, R11 - XORQ R9, R12 - MOVQ R10, R9 - XORQ CX, R14 - ROLQ $0x02, R14 - ANDQ R11, R9 - XORQ R14, R9 - MOVQ R9, 192(SP) - ROLQ $0x27, R12 - XORQ R9, R15 - NOTQ R11 - XORQ BX, R13 - MOVQ R11, BX - ANDQ R12, BX - XORQ R10, BX - MOVQ BX, 160(SP) - XORQ BX, SI - ROLQ $0x29, R13 - MOVQ R12, CX - ORQ R13, CX - XORQ R11, CX - MOVQ CX, 168(SP) - XORQ CX, BP - MOVQ R13, DX - MOVQ R14, R8 - ANDQ R14, DX - ORQ R10, R8 - XORQ R12, DX - XORQ R13, R8 - MOVQ DX, 176(SP) - MOVQ R8, 184(SP) - - // Prepare round - MOVQ BP, BX - ROLQ $0x01, BX - MOVQ 16(SP), R12 - XORQ 56(SP), DX - XORQ R15, BX - XORQ 96(SP), R12 - XORQ 136(SP), DX - XORQ DX, R12 - MOVQ R12, CX - ROLQ $0x01, CX - MOVQ 24(SP), R13 - XORQ 64(SP), R8 - XORQ SI, CX - XORQ 104(SP), R13 - XORQ 144(SP), R8 - XORQ R8, R13 - MOVQ R13, DX - ROLQ $0x01, DX - MOVQ R15, R8 - XORQ BP, DX - ROLQ $0x01, R8 - MOVQ SI, R9 - XORQ R12, R8 - ROLQ $0x01, R9 - - // Result b - MOVQ (SP), R10 - MOVQ 48(SP), R11 - XORQ R13, R9 - MOVQ 96(SP), R12 - MOVQ 144(SP), R13 - MOVQ 192(SP), R14 - XORQ CX, R11 - ROLQ $0x2c, R11 - XORQ DX, R12 - XORQ BX, R10 - ROLQ $0x2b, R12 - MOVQ R11, SI - MOVQ $0x0000000000000088, AX - ORQ R12, SI - XORQ R10, AX - XORQ AX, SI - MOVQ SI, (DI) - XORQ R9, R14 - ROLQ $0x0e, R14 - MOVQ R10, R15 - ANDQ R11, R15 - XORQ R14, R15 - MOVQ R15, 32(DI) - XORQ R8, R13 - ROLQ $0x15, R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 16(DI) - NOTQ R12 - ORQ R10, R14 - ORQ R13, R12 - XORQ R13, R14 - XORQ R11, R12 - MOVQ R14, 24(DI) - MOVQ R12, 8(DI) - MOVQ R12, BP - - // Result g - MOVQ 72(SP), R11 - XORQ R9, R11 - MOVQ 80(SP), R12 - ROLQ $0x14, R11 - XORQ BX, R12 - ROLQ $0x03, R12 - MOVQ 24(SP), R10 - MOVQ R11, AX - ORQ R12, AX - XORQ R8, R10 - MOVQ 128(SP), R13 - MOVQ 176(SP), R14 - ROLQ $0x1c, R10 - XORQ R10, AX - MOVQ AX, 40(DI) - XORQ AX, SI - XORQ CX, R13 - ROLQ $0x2d, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 48(DI) - XORQ AX, BP - XORQ DX, R14 - ROLQ $0x3d, R14 - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 64(DI) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 72(DI) - NOTQ R14 - XORQ R10, R15 - ORQ R14, R13 - XORQ R12, R13 - MOVQ R13, 56(DI) - - // Result k - MOVQ 8(SP), R10 - MOVQ 56(SP), R11 - MOVQ 104(SP), R12 - MOVQ 152(SP), R13 - MOVQ 160(SP), R14 - XORQ DX, R11 - ROLQ $0x06, R11 - XORQ R8, R12 - ROLQ $0x19, R12 - MOVQ R11, AX - ORQ R12, AX - XORQ CX, R10 - ROLQ $0x01, R10 - XORQ R10, AX - MOVQ AX, 80(DI) - XORQ AX, SI - XORQ R9, R13 - ROLQ $0x08, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 88(DI) - XORQ AX, BP - XORQ BX, R14 - ROLQ $0x12, R14 - NOTQ R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 96(DI) - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 104(DI) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 112(DI) - XORQ R10, R15 - - // Result m - MOVQ 40(SP), R11 - XORQ BX, R11 - MOVQ 88(SP), R12 - ROLQ $0x24, R11 - XORQ CX, R12 - MOVQ 32(SP), R10 - ROLQ $0x0a, R12 - MOVQ R11, AX - MOVQ 136(SP), R13 - ANDQ R12, AX - XORQ R9, R10 - MOVQ 184(SP), R14 - ROLQ $0x1b, R10 - XORQ R10, AX - MOVQ AX, 120(DI) - XORQ AX, SI - XORQ DX, R13 - ROLQ $0x0f, R13 - MOVQ R12, AX - ORQ R13, AX - XORQ R11, AX - MOVQ AX, 128(DI) - XORQ AX, BP - XORQ R8, R14 - ROLQ $0x38, R14 - NOTQ R13 - MOVQ R13, AX - ORQ R14, AX - XORQ R12, AX - MOVQ AX, 136(DI) - ORQ R10, R11 - XORQ R14, R11 - MOVQ R11, 152(DI) - ANDQ R10, R14 - XORQ R13, R14 - MOVQ R14, 144(DI) - XORQ R11, R15 - - // Result s - MOVQ 16(SP), R10 - MOVQ 64(SP), R11 - MOVQ 112(SP), R12 - XORQ DX, R10 - MOVQ 120(SP), R13 - ROLQ $0x3e, R10 - XORQ R8, R11 - MOVQ 168(SP), R14 - ROLQ $0x37, R11 - XORQ R9, R12 - MOVQ R10, R9 - XORQ CX, R14 - ROLQ $0x02, R14 - ANDQ R11, R9 - XORQ R14, R9 - MOVQ R9, 192(DI) - ROLQ $0x27, R12 - XORQ R9, R15 - NOTQ R11 - XORQ BX, R13 - MOVQ R11, BX - ANDQ R12, BX - XORQ R10, BX - MOVQ BX, 160(DI) - XORQ BX, SI - ROLQ $0x29, R13 - MOVQ R12, CX - ORQ R13, CX - XORQ R11, CX - MOVQ CX, 168(DI) - XORQ CX, BP - MOVQ R13, DX - MOVQ R14, R8 - ANDQ R14, DX - ORQ R10, R8 - XORQ R12, DX - XORQ R13, R8 - MOVQ DX, 176(DI) - MOVQ R8, 184(DI) - - // Prepare round - MOVQ BP, BX - ROLQ $0x01, BX - MOVQ 16(DI), R12 - XORQ 56(DI), DX - XORQ R15, BX - XORQ 96(DI), R12 - XORQ 136(DI), DX - XORQ DX, R12 - MOVQ R12, CX - ROLQ $0x01, CX - MOVQ 24(DI), R13 - XORQ 64(DI), R8 - XORQ SI, CX - XORQ 104(DI), R13 - XORQ 144(DI), R8 - XORQ R8, R13 - MOVQ R13, DX - ROLQ $0x01, DX - MOVQ R15, R8 - XORQ BP, DX - ROLQ $0x01, R8 - MOVQ SI, R9 - XORQ R12, R8 - ROLQ $0x01, R9 - - // Result b - MOVQ (DI), R10 - MOVQ 48(DI), R11 - XORQ R13, R9 - MOVQ 96(DI), R12 - MOVQ 144(DI), R13 - MOVQ 192(DI), R14 - XORQ CX, R11 - ROLQ $0x2c, R11 - XORQ DX, R12 - XORQ BX, R10 - ROLQ $0x2b, R12 - MOVQ R11, SI - MOVQ $0x0000000080008009, AX - ORQ R12, SI - XORQ R10, AX - XORQ AX, SI - MOVQ SI, (SP) - XORQ R9, R14 - ROLQ $0x0e, R14 - MOVQ R10, R15 - ANDQ R11, R15 - XORQ R14, R15 - MOVQ R15, 32(SP) - XORQ R8, R13 - ROLQ $0x15, R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 16(SP) - NOTQ R12 - ORQ R10, R14 - ORQ R13, R12 - XORQ R13, R14 - XORQ R11, R12 - MOVQ R14, 24(SP) - MOVQ R12, 8(SP) - MOVQ R12, BP - - // Result g - MOVQ 72(DI), R11 - XORQ R9, R11 - MOVQ 80(DI), R12 - ROLQ $0x14, R11 - XORQ BX, R12 - ROLQ $0x03, R12 - MOVQ 24(DI), R10 - MOVQ R11, AX - ORQ R12, AX - XORQ R8, R10 - MOVQ 128(DI), R13 - MOVQ 176(DI), R14 - ROLQ $0x1c, R10 - XORQ R10, AX - MOVQ AX, 40(SP) - XORQ AX, SI - XORQ CX, R13 - ROLQ $0x2d, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 48(SP) - XORQ AX, BP - XORQ DX, R14 - ROLQ $0x3d, R14 - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 64(SP) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 72(SP) - NOTQ R14 - XORQ R10, R15 - ORQ R14, R13 - XORQ R12, R13 - MOVQ R13, 56(SP) - - // Result k - MOVQ 8(DI), R10 - MOVQ 56(DI), R11 - MOVQ 104(DI), R12 - MOVQ 152(DI), R13 - MOVQ 160(DI), R14 - XORQ DX, R11 - ROLQ $0x06, R11 - XORQ R8, R12 - ROLQ $0x19, R12 - MOVQ R11, AX - ORQ R12, AX - XORQ CX, R10 - ROLQ $0x01, R10 - XORQ R10, AX - MOVQ AX, 80(SP) - XORQ AX, SI - XORQ R9, R13 - ROLQ $0x08, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 88(SP) - XORQ AX, BP - XORQ BX, R14 - ROLQ $0x12, R14 - NOTQ R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 96(SP) - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 104(SP) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 112(SP) - XORQ R10, R15 - - // Result m - MOVQ 40(DI), R11 - XORQ BX, R11 - MOVQ 88(DI), R12 - ROLQ $0x24, R11 - XORQ CX, R12 - MOVQ 32(DI), R10 - ROLQ $0x0a, R12 - MOVQ R11, AX - MOVQ 136(DI), R13 - ANDQ R12, AX - XORQ R9, R10 - MOVQ 184(DI), R14 - ROLQ $0x1b, R10 - XORQ R10, AX - MOVQ AX, 120(SP) - XORQ AX, SI - XORQ DX, R13 - ROLQ $0x0f, R13 - MOVQ R12, AX - ORQ R13, AX - XORQ R11, AX - MOVQ AX, 128(SP) - XORQ AX, BP - XORQ R8, R14 - ROLQ $0x38, R14 - NOTQ R13 - MOVQ R13, AX - ORQ R14, AX - XORQ R12, AX - MOVQ AX, 136(SP) - ORQ R10, R11 - XORQ R14, R11 - MOVQ R11, 152(SP) - ANDQ R10, R14 - XORQ R13, R14 - MOVQ R14, 144(SP) - XORQ R11, R15 - - // Result s - MOVQ 16(DI), R10 - MOVQ 64(DI), R11 - MOVQ 112(DI), R12 - XORQ DX, R10 - MOVQ 120(DI), R13 - ROLQ $0x3e, R10 - XORQ R8, R11 - MOVQ 168(DI), R14 - ROLQ $0x37, R11 - XORQ R9, R12 - MOVQ R10, R9 - XORQ CX, R14 - ROLQ $0x02, R14 - ANDQ R11, R9 - XORQ R14, R9 - MOVQ R9, 192(SP) - ROLQ $0x27, R12 - XORQ R9, R15 - NOTQ R11 - XORQ BX, R13 - MOVQ R11, BX - ANDQ R12, BX - XORQ R10, BX - MOVQ BX, 160(SP) - XORQ BX, SI - ROLQ $0x29, R13 - MOVQ R12, CX - ORQ R13, CX - XORQ R11, CX - MOVQ CX, 168(SP) - XORQ CX, BP - MOVQ R13, DX - MOVQ R14, R8 - ANDQ R14, DX - ORQ R10, R8 - XORQ R12, DX - XORQ R13, R8 - MOVQ DX, 176(SP) - MOVQ R8, 184(SP) - - // Prepare round - MOVQ BP, BX - ROLQ $0x01, BX - MOVQ 16(SP), R12 - XORQ 56(SP), DX - XORQ R15, BX - XORQ 96(SP), R12 - XORQ 136(SP), DX - XORQ DX, R12 - MOVQ R12, CX - ROLQ $0x01, CX - MOVQ 24(SP), R13 - XORQ 64(SP), R8 - XORQ SI, CX - XORQ 104(SP), R13 - XORQ 144(SP), R8 - XORQ R8, R13 - MOVQ R13, DX - ROLQ $0x01, DX - MOVQ R15, R8 - XORQ BP, DX - ROLQ $0x01, R8 - MOVQ SI, R9 - XORQ R12, R8 - ROLQ $0x01, R9 - - // Result b - MOVQ (SP), R10 - MOVQ 48(SP), R11 - XORQ R13, R9 - MOVQ 96(SP), R12 - MOVQ 144(SP), R13 - MOVQ 192(SP), R14 - XORQ CX, R11 - ROLQ $0x2c, R11 - XORQ DX, R12 - XORQ BX, R10 - ROLQ $0x2b, R12 - MOVQ R11, SI - MOVQ $0x000000008000000a, AX - ORQ R12, SI - XORQ R10, AX - XORQ AX, SI - MOVQ SI, (DI) - XORQ R9, R14 - ROLQ $0x0e, R14 - MOVQ R10, R15 - ANDQ R11, R15 - XORQ R14, R15 - MOVQ R15, 32(DI) - XORQ R8, R13 - ROLQ $0x15, R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 16(DI) - NOTQ R12 - ORQ R10, R14 - ORQ R13, R12 - XORQ R13, R14 - XORQ R11, R12 - MOVQ R14, 24(DI) - MOVQ R12, 8(DI) - MOVQ R12, BP - - // Result g - MOVQ 72(SP), R11 - XORQ R9, R11 - MOVQ 80(SP), R12 - ROLQ $0x14, R11 - XORQ BX, R12 - ROLQ $0x03, R12 - MOVQ 24(SP), R10 - MOVQ R11, AX - ORQ R12, AX - XORQ R8, R10 - MOVQ 128(SP), R13 - MOVQ 176(SP), R14 - ROLQ $0x1c, R10 - XORQ R10, AX - MOVQ AX, 40(DI) - XORQ AX, SI - XORQ CX, R13 - ROLQ $0x2d, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 48(DI) - XORQ AX, BP - XORQ DX, R14 - ROLQ $0x3d, R14 - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 64(DI) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 72(DI) - NOTQ R14 - XORQ R10, R15 - ORQ R14, R13 - XORQ R12, R13 - MOVQ R13, 56(DI) - - // Result k - MOVQ 8(SP), R10 - MOVQ 56(SP), R11 - MOVQ 104(SP), R12 - MOVQ 152(SP), R13 - MOVQ 160(SP), R14 - XORQ DX, R11 - ROLQ $0x06, R11 - XORQ R8, R12 - ROLQ $0x19, R12 - MOVQ R11, AX - ORQ R12, AX - XORQ CX, R10 - ROLQ $0x01, R10 - XORQ R10, AX - MOVQ AX, 80(DI) - XORQ AX, SI - XORQ R9, R13 - ROLQ $0x08, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 88(DI) - XORQ AX, BP - XORQ BX, R14 - ROLQ $0x12, R14 - NOTQ R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 96(DI) - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 104(DI) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 112(DI) - XORQ R10, R15 - - // Result m - MOVQ 40(SP), R11 - XORQ BX, R11 - MOVQ 88(SP), R12 - ROLQ $0x24, R11 - XORQ CX, R12 - MOVQ 32(SP), R10 - ROLQ $0x0a, R12 - MOVQ R11, AX - MOVQ 136(SP), R13 - ANDQ R12, AX - XORQ R9, R10 - MOVQ 184(SP), R14 - ROLQ $0x1b, R10 - XORQ R10, AX - MOVQ AX, 120(DI) - XORQ AX, SI - XORQ DX, R13 - ROLQ $0x0f, R13 - MOVQ R12, AX - ORQ R13, AX - XORQ R11, AX - MOVQ AX, 128(DI) - XORQ AX, BP - XORQ R8, R14 - ROLQ $0x38, R14 - NOTQ R13 - MOVQ R13, AX - ORQ R14, AX - XORQ R12, AX - MOVQ AX, 136(DI) - ORQ R10, R11 - XORQ R14, R11 - MOVQ R11, 152(DI) - ANDQ R10, R14 - XORQ R13, R14 - MOVQ R14, 144(DI) - XORQ R11, R15 - - // Result s - MOVQ 16(SP), R10 - MOVQ 64(SP), R11 - MOVQ 112(SP), R12 - XORQ DX, R10 - MOVQ 120(SP), R13 - ROLQ $0x3e, R10 - XORQ R8, R11 - MOVQ 168(SP), R14 - ROLQ $0x37, R11 - XORQ R9, R12 - MOVQ R10, R9 - XORQ CX, R14 - ROLQ $0x02, R14 - ANDQ R11, R9 - XORQ R14, R9 - MOVQ R9, 192(DI) - ROLQ $0x27, R12 - XORQ R9, R15 - NOTQ R11 - XORQ BX, R13 - MOVQ R11, BX - ANDQ R12, BX - XORQ R10, BX - MOVQ BX, 160(DI) - XORQ BX, SI - ROLQ $0x29, R13 - MOVQ R12, CX - ORQ R13, CX - XORQ R11, CX - MOVQ CX, 168(DI) - XORQ CX, BP - MOVQ R13, DX - MOVQ R14, R8 - ANDQ R14, DX - ORQ R10, R8 - XORQ R12, DX - XORQ R13, R8 - MOVQ DX, 176(DI) - MOVQ R8, 184(DI) - - // Prepare round - MOVQ BP, BX - ROLQ $0x01, BX - MOVQ 16(DI), R12 - XORQ 56(DI), DX - XORQ R15, BX - XORQ 96(DI), R12 - XORQ 136(DI), DX - XORQ DX, R12 - MOVQ R12, CX - ROLQ $0x01, CX - MOVQ 24(DI), R13 - XORQ 64(DI), R8 - XORQ SI, CX - XORQ 104(DI), R13 - XORQ 144(DI), R8 - XORQ R8, R13 - MOVQ R13, DX - ROLQ $0x01, DX - MOVQ R15, R8 - XORQ BP, DX - ROLQ $0x01, R8 - MOVQ SI, R9 - XORQ R12, R8 - ROLQ $0x01, R9 - - // Result b - MOVQ (DI), R10 - MOVQ 48(DI), R11 - XORQ R13, R9 - MOVQ 96(DI), R12 - MOVQ 144(DI), R13 - MOVQ 192(DI), R14 - XORQ CX, R11 - ROLQ $0x2c, R11 - XORQ DX, R12 - XORQ BX, R10 - ROLQ $0x2b, R12 - MOVQ R11, SI - MOVQ $0x000000008000808b, AX - ORQ R12, SI - XORQ R10, AX - XORQ AX, SI - MOVQ SI, (SP) - XORQ R9, R14 - ROLQ $0x0e, R14 - MOVQ R10, R15 - ANDQ R11, R15 - XORQ R14, R15 - MOVQ R15, 32(SP) - XORQ R8, R13 - ROLQ $0x15, R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 16(SP) - NOTQ R12 - ORQ R10, R14 - ORQ R13, R12 - XORQ R13, R14 - XORQ R11, R12 - MOVQ R14, 24(SP) - MOVQ R12, 8(SP) - MOVQ R12, BP - - // Result g - MOVQ 72(DI), R11 - XORQ R9, R11 - MOVQ 80(DI), R12 - ROLQ $0x14, R11 - XORQ BX, R12 - ROLQ $0x03, R12 - MOVQ 24(DI), R10 - MOVQ R11, AX - ORQ R12, AX - XORQ R8, R10 - MOVQ 128(DI), R13 - MOVQ 176(DI), R14 - ROLQ $0x1c, R10 - XORQ R10, AX - MOVQ AX, 40(SP) - XORQ AX, SI - XORQ CX, R13 - ROLQ $0x2d, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 48(SP) - XORQ AX, BP - XORQ DX, R14 - ROLQ $0x3d, R14 - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 64(SP) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 72(SP) - NOTQ R14 - XORQ R10, R15 - ORQ R14, R13 - XORQ R12, R13 - MOVQ R13, 56(SP) - - // Result k - MOVQ 8(DI), R10 - MOVQ 56(DI), R11 - MOVQ 104(DI), R12 - MOVQ 152(DI), R13 - MOVQ 160(DI), R14 - XORQ DX, R11 - ROLQ $0x06, R11 - XORQ R8, R12 - ROLQ $0x19, R12 - MOVQ R11, AX - ORQ R12, AX - XORQ CX, R10 - ROLQ $0x01, R10 - XORQ R10, AX - MOVQ AX, 80(SP) - XORQ AX, SI - XORQ R9, R13 - ROLQ $0x08, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 88(SP) - XORQ AX, BP - XORQ BX, R14 - ROLQ $0x12, R14 - NOTQ R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 96(SP) - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 104(SP) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 112(SP) - XORQ R10, R15 - - // Result m - MOVQ 40(DI), R11 - XORQ BX, R11 - MOVQ 88(DI), R12 - ROLQ $0x24, R11 - XORQ CX, R12 - MOVQ 32(DI), R10 - ROLQ $0x0a, R12 - MOVQ R11, AX - MOVQ 136(DI), R13 - ANDQ R12, AX - XORQ R9, R10 - MOVQ 184(DI), R14 - ROLQ $0x1b, R10 - XORQ R10, AX - MOVQ AX, 120(SP) - XORQ AX, SI - XORQ DX, R13 - ROLQ $0x0f, R13 - MOVQ R12, AX - ORQ R13, AX - XORQ R11, AX - MOVQ AX, 128(SP) - XORQ AX, BP - XORQ R8, R14 - ROLQ $0x38, R14 - NOTQ R13 - MOVQ R13, AX - ORQ R14, AX - XORQ R12, AX - MOVQ AX, 136(SP) - ORQ R10, R11 - XORQ R14, R11 - MOVQ R11, 152(SP) - ANDQ R10, R14 - XORQ R13, R14 - MOVQ R14, 144(SP) - XORQ R11, R15 - - // Result s - MOVQ 16(DI), R10 - MOVQ 64(DI), R11 - MOVQ 112(DI), R12 - XORQ DX, R10 - MOVQ 120(DI), R13 - ROLQ $0x3e, R10 - XORQ R8, R11 - MOVQ 168(DI), R14 - ROLQ $0x37, R11 - XORQ R9, R12 - MOVQ R10, R9 - XORQ CX, R14 - ROLQ $0x02, R14 - ANDQ R11, R9 - XORQ R14, R9 - MOVQ R9, 192(SP) - ROLQ $0x27, R12 - XORQ R9, R15 - NOTQ R11 - XORQ BX, R13 - MOVQ R11, BX - ANDQ R12, BX - XORQ R10, BX - MOVQ BX, 160(SP) - XORQ BX, SI - ROLQ $0x29, R13 - MOVQ R12, CX - ORQ R13, CX - XORQ R11, CX - MOVQ CX, 168(SP) - XORQ CX, BP - MOVQ R13, DX - MOVQ R14, R8 - ANDQ R14, DX - ORQ R10, R8 - XORQ R12, DX - XORQ R13, R8 - MOVQ DX, 176(SP) - MOVQ R8, 184(SP) - - // Prepare round - MOVQ BP, BX - ROLQ $0x01, BX - MOVQ 16(SP), R12 - XORQ 56(SP), DX - XORQ R15, BX - XORQ 96(SP), R12 - XORQ 136(SP), DX - XORQ DX, R12 - MOVQ R12, CX - ROLQ $0x01, CX - MOVQ 24(SP), R13 - XORQ 64(SP), R8 - XORQ SI, CX - XORQ 104(SP), R13 - XORQ 144(SP), R8 - XORQ R8, R13 - MOVQ R13, DX - ROLQ $0x01, DX - MOVQ R15, R8 - XORQ BP, DX - ROLQ $0x01, R8 - MOVQ SI, R9 - XORQ R12, R8 - ROLQ $0x01, R9 - - // Result b - MOVQ (SP), R10 - MOVQ 48(SP), R11 - XORQ R13, R9 - MOVQ 96(SP), R12 - MOVQ 144(SP), R13 - MOVQ 192(SP), R14 - XORQ CX, R11 - ROLQ $0x2c, R11 - XORQ DX, R12 - XORQ BX, R10 - ROLQ $0x2b, R12 - MOVQ R11, SI - MOVQ $0x800000000000008b, AX - ORQ R12, SI - XORQ R10, AX - XORQ AX, SI - MOVQ SI, (DI) - XORQ R9, R14 - ROLQ $0x0e, R14 - MOVQ R10, R15 - ANDQ R11, R15 - XORQ R14, R15 - MOVQ R15, 32(DI) - XORQ R8, R13 - ROLQ $0x15, R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 16(DI) - NOTQ R12 - ORQ R10, R14 - ORQ R13, R12 - XORQ R13, R14 - XORQ R11, R12 - MOVQ R14, 24(DI) - MOVQ R12, 8(DI) - MOVQ R12, BP - - // Result g - MOVQ 72(SP), R11 - XORQ R9, R11 - MOVQ 80(SP), R12 - ROLQ $0x14, R11 - XORQ BX, R12 - ROLQ $0x03, R12 - MOVQ 24(SP), R10 - MOVQ R11, AX - ORQ R12, AX - XORQ R8, R10 - MOVQ 128(SP), R13 - MOVQ 176(SP), R14 - ROLQ $0x1c, R10 - XORQ R10, AX - MOVQ AX, 40(DI) - XORQ AX, SI - XORQ CX, R13 - ROLQ $0x2d, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 48(DI) - XORQ AX, BP - XORQ DX, R14 - ROLQ $0x3d, R14 - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 64(DI) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 72(DI) - NOTQ R14 - XORQ R10, R15 - ORQ R14, R13 - XORQ R12, R13 - MOVQ R13, 56(DI) - - // Result k - MOVQ 8(SP), R10 - MOVQ 56(SP), R11 - MOVQ 104(SP), R12 - MOVQ 152(SP), R13 - MOVQ 160(SP), R14 - XORQ DX, R11 - ROLQ $0x06, R11 - XORQ R8, R12 - ROLQ $0x19, R12 - MOVQ R11, AX - ORQ R12, AX - XORQ CX, R10 - ROLQ $0x01, R10 - XORQ R10, AX - MOVQ AX, 80(DI) - XORQ AX, SI - XORQ R9, R13 - ROLQ $0x08, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 88(DI) - XORQ AX, BP - XORQ BX, R14 - ROLQ $0x12, R14 - NOTQ R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 96(DI) - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 104(DI) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 112(DI) - XORQ R10, R15 - - // Result m - MOVQ 40(SP), R11 - XORQ BX, R11 - MOVQ 88(SP), R12 - ROLQ $0x24, R11 - XORQ CX, R12 - MOVQ 32(SP), R10 - ROLQ $0x0a, R12 - MOVQ R11, AX - MOVQ 136(SP), R13 - ANDQ R12, AX - XORQ R9, R10 - MOVQ 184(SP), R14 - ROLQ $0x1b, R10 - XORQ R10, AX - MOVQ AX, 120(DI) - XORQ AX, SI - XORQ DX, R13 - ROLQ $0x0f, R13 - MOVQ R12, AX - ORQ R13, AX - XORQ R11, AX - MOVQ AX, 128(DI) - XORQ AX, BP - XORQ R8, R14 - ROLQ $0x38, R14 - NOTQ R13 - MOVQ R13, AX - ORQ R14, AX - XORQ R12, AX - MOVQ AX, 136(DI) - ORQ R10, R11 - XORQ R14, R11 - MOVQ R11, 152(DI) - ANDQ R10, R14 - XORQ R13, R14 - MOVQ R14, 144(DI) - XORQ R11, R15 - - // Result s - MOVQ 16(SP), R10 - MOVQ 64(SP), R11 - MOVQ 112(SP), R12 - XORQ DX, R10 - MOVQ 120(SP), R13 - ROLQ $0x3e, R10 - XORQ R8, R11 - MOVQ 168(SP), R14 - ROLQ $0x37, R11 - XORQ R9, R12 - MOVQ R10, R9 - XORQ CX, R14 - ROLQ $0x02, R14 - ANDQ R11, R9 - XORQ R14, R9 - MOVQ R9, 192(DI) - ROLQ $0x27, R12 - XORQ R9, R15 - NOTQ R11 - XORQ BX, R13 - MOVQ R11, BX - ANDQ R12, BX - XORQ R10, BX - MOVQ BX, 160(DI) - XORQ BX, SI - ROLQ $0x29, R13 - MOVQ R12, CX - ORQ R13, CX - XORQ R11, CX - MOVQ CX, 168(DI) - XORQ CX, BP - MOVQ R13, DX - MOVQ R14, R8 - ANDQ R14, DX - ORQ R10, R8 - XORQ R12, DX - XORQ R13, R8 - MOVQ DX, 176(DI) - MOVQ R8, 184(DI) - - // Prepare round - MOVQ BP, BX - ROLQ $0x01, BX - MOVQ 16(DI), R12 - XORQ 56(DI), DX - XORQ R15, BX - XORQ 96(DI), R12 - XORQ 136(DI), DX - XORQ DX, R12 - MOVQ R12, CX - ROLQ $0x01, CX - MOVQ 24(DI), R13 - XORQ 64(DI), R8 - XORQ SI, CX - XORQ 104(DI), R13 - XORQ 144(DI), R8 - XORQ R8, R13 - MOVQ R13, DX - ROLQ $0x01, DX - MOVQ R15, R8 - XORQ BP, DX - ROLQ $0x01, R8 - MOVQ SI, R9 - XORQ R12, R8 - ROLQ $0x01, R9 - - // Result b - MOVQ (DI), R10 - MOVQ 48(DI), R11 - XORQ R13, R9 - MOVQ 96(DI), R12 - MOVQ 144(DI), R13 - MOVQ 192(DI), R14 - XORQ CX, R11 - ROLQ $0x2c, R11 - XORQ DX, R12 - XORQ BX, R10 - ROLQ $0x2b, R12 - MOVQ R11, SI - MOVQ $0x8000000000008089, AX - ORQ R12, SI - XORQ R10, AX - XORQ AX, SI - MOVQ SI, (SP) - XORQ R9, R14 - ROLQ $0x0e, R14 - MOVQ R10, R15 - ANDQ R11, R15 - XORQ R14, R15 - MOVQ R15, 32(SP) - XORQ R8, R13 - ROLQ $0x15, R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 16(SP) - NOTQ R12 - ORQ R10, R14 - ORQ R13, R12 - XORQ R13, R14 - XORQ R11, R12 - MOVQ R14, 24(SP) - MOVQ R12, 8(SP) - MOVQ R12, BP - - // Result g - MOVQ 72(DI), R11 - XORQ R9, R11 - MOVQ 80(DI), R12 - ROLQ $0x14, R11 - XORQ BX, R12 - ROLQ $0x03, R12 - MOVQ 24(DI), R10 - MOVQ R11, AX - ORQ R12, AX - XORQ R8, R10 - MOVQ 128(DI), R13 - MOVQ 176(DI), R14 - ROLQ $0x1c, R10 - XORQ R10, AX - MOVQ AX, 40(SP) - XORQ AX, SI - XORQ CX, R13 - ROLQ $0x2d, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 48(SP) - XORQ AX, BP - XORQ DX, R14 - ROLQ $0x3d, R14 - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 64(SP) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 72(SP) - NOTQ R14 - XORQ R10, R15 - ORQ R14, R13 - XORQ R12, R13 - MOVQ R13, 56(SP) - - // Result k - MOVQ 8(DI), R10 - MOVQ 56(DI), R11 - MOVQ 104(DI), R12 - MOVQ 152(DI), R13 - MOVQ 160(DI), R14 - XORQ DX, R11 - ROLQ $0x06, R11 - XORQ R8, R12 - ROLQ $0x19, R12 - MOVQ R11, AX - ORQ R12, AX - XORQ CX, R10 - ROLQ $0x01, R10 - XORQ R10, AX - MOVQ AX, 80(SP) - XORQ AX, SI - XORQ R9, R13 - ROLQ $0x08, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 88(SP) - XORQ AX, BP - XORQ BX, R14 - ROLQ $0x12, R14 - NOTQ R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 96(SP) - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 104(SP) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 112(SP) - XORQ R10, R15 - - // Result m - MOVQ 40(DI), R11 - XORQ BX, R11 - MOVQ 88(DI), R12 - ROLQ $0x24, R11 - XORQ CX, R12 - MOVQ 32(DI), R10 - ROLQ $0x0a, R12 - MOVQ R11, AX - MOVQ 136(DI), R13 - ANDQ R12, AX - XORQ R9, R10 - MOVQ 184(DI), R14 - ROLQ $0x1b, R10 - XORQ R10, AX - MOVQ AX, 120(SP) - XORQ AX, SI - XORQ DX, R13 - ROLQ $0x0f, R13 - MOVQ R12, AX - ORQ R13, AX - XORQ R11, AX - MOVQ AX, 128(SP) - XORQ AX, BP - XORQ R8, R14 - ROLQ $0x38, R14 - NOTQ R13 - MOVQ R13, AX - ORQ R14, AX - XORQ R12, AX - MOVQ AX, 136(SP) - ORQ R10, R11 - XORQ R14, R11 - MOVQ R11, 152(SP) - ANDQ R10, R14 - XORQ R13, R14 - MOVQ R14, 144(SP) - XORQ R11, R15 - - // Result s - MOVQ 16(DI), R10 - MOVQ 64(DI), R11 - MOVQ 112(DI), R12 - XORQ DX, R10 - MOVQ 120(DI), R13 - ROLQ $0x3e, R10 - XORQ R8, R11 - MOVQ 168(DI), R14 - ROLQ $0x37, R11 - XORQ R9, R12 - MOVQ R10, R9 - XORQ CX, R14 - ROLQ $0x02, R14 - ANDQ R11, R9 - XORQ R14, R9 - MOVQ R9, 192(SP) - ROLQ $0x27, R12 - XORQ R9, R15 - NOTQ R11 - XORQ BX, R13 - MOVQ R11, BX - ANDQ R12, BX - XORQ R10, BX - MOVQ BX, 160(SP) - XORQ BX, SI - ROLQ $0x29, R13 - MOVQ R12, CX - ORQ R13, CX - XORQ R11, CX - MOVQ CX, 168(SP) - XORQ CX, BP - MOVQ R13, DX - MOVQ R14, R8 - ANDQ R14, DX - ORQ R10, R8 - XORQ R12, DX - XORQ R13, R8 - MOVQ DX, 176(SP) - MOVQ R8, 184(SP) - - // Prepare round - MOVQ BP, BX - ROLQ $0x01, BX - MOVQ 16(SP), R12 - XORQ 56(SP), DX - XORQ R15, BX - XORQ 96(SP), R12 - XORQ 136(SP), DX - XORQ DX, R12 - MOVQ R12, CX - ROLQ $0x01, CX - MOVQ 24(SP), R13 - XORQ 64(SP), R8 - XORQ SI, CX - XORQ 104(SP), R13 - XORQ 144(SP), R8 - XORQ R8, R13 - MOVQ R13, DX - ROLQ $0x01, DX - MOVQ R15, R8 - XORQ BP, DX - ROLQ $0x01, R8 - MOVQ SI, R9 - XORQ R12, R8 - ROLQ $0x01, R9 - - // Result b - MOVQ (SP), R10 - MOVQ 48(SP), R11 - XORQ R13, R9 - MOVQ 96(SP), R12 - MOVQ 144(SP), R13 - MOVQ 192(SP), R14 - XORQ CX, R11 - ROLQ $0x2c, R11 - XORQ DX, R12 - XORQ BX, R10 - ROLQ $0x2b, R12 - MOVQ R11, SI - MOVQ $0x8000000000008003, AX - ORQ R12, SI - XORQ R10, AX - XORQ AX, SI - MOVQ SI, (DI) - XORQ R9, R14 - ROLQ $0x0e, R14 - MOVQ R10, R15 - ANDQ R11, R15 - XORQ R14, R15 - MOVQ R15, 32(DI) - XORQ R8, R13 - ROLQ $0x15, R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 16(DI) - NOTQ R12 - ORQ R10, R14 - ORQ R13, R12 - XORQ R13, R14 - XORQ R11, R12 - MOVQ R14, 24(DI) - MOVQ R12, 8(DI) - MOVQ R12, BP - - // Result g - MOVQ 72(SP), R11 - XORQ R9, R11 - MOVQ 80(SP), R12 - ROLQ $0x14, R11 - XORQ BX, R12 - ROLQ $0x03, R12 - MOVQ 24(SP), R10 - MOVQ R11, AX - ORQ R12, AX - XORQ R8, R10 - MOVQ 128(SP), R13 - MOVQ 176(SP), R14 - ROLQ $0x1c, R10 - XORQ R10, AX - MOVQ AX, 40(DI) - XORQ AX, SI - XORQ CX, R13 - ROLQ $0x2d, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 48(DI) - XORQ AX, BP - XORQ DX, R14 - ROLQ $0x3d, R14 - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 64(DI) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 72(DI) - NOTQ R14 - XORQ R10, R15 - ORQ R14, R13 - XORQ R12, R13 - MOVQ R13, 56(DI) - - // Result k - MOVQ 8(SP), R10 - MOVQ 56(SP), R11 - MOVQ 104(SP), R12 - MOVQ 152(SP), R13 - MOVQ 160(SP), R14 - XORQ DX, R11 - ROLQ $0x06, R11 - XORQ R8, R12 - ROLQ $0x19, R12 - MOVQ R11, AX - ORQ R12, AX - XORQ CX, R10 - ROLQ $0x01, R10 - XORQ R10, AX - MOVQ AX, 80(DI) - XORQ AX, SI - XORQ R9, R13 - ROLQ $0x08, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 88(DI) - XORQ AX, BP - XORQ BX, R14 - ROLQ $0x12, R14 - NOTQ R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 96(DI) - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 104(DI) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 112(DI) - XORQ R10, R15 - - // Result m - MOVQ 40(SP), R11 - XORQ BX, R11 - MOVQ 88(SP), R12 - ROLQ $0x24, R11 - XORQ CX, R12 - MOVQ 32(SP), R10 - ROLQ $0x0a, R12 - MOVQ R11, AX - MOVQ 136(SP), R13 - ANDQ R12, AX - XORQ R9, R10 - MOVQ 184(SP), R14 - ROLQ $0x1b, R10 - XORQ R10, AX - MOVQ AX, 120(DI) - XORQ AX, SI - XORQ DX, R13 - ROLQ $0x0f, R13 - MOVQ R12, AX - ORQ R13, AX - XORQ R11, AX - MOVQ AX, 128(DI) - XORQ AX, BP - XORQ R8, R14 - ROLQ $0x38, R14 - NOTQ R13 - MOVQ R13, AX - ORQ R14, AX - XORQ R12, AX - MOVQ AX, 136(DI) - ORQ R10, R11 - XORQ R14, R11 - MOVQ R11, 152(DI) - ANDQ R10, R14 - XORQ R13, R14 - MOVQ R14, 144(DI) - XORQ R11, R15 - - // Result s - MOVQ 16(SP), R10 - MOVQ 64(SP), R11 - MOVQ 112(SP), R12 - XORQ DX, R10 - MOVQ 120(SP), R13 - ROLQ $0x3e, R10 - XORQ R8, R11 - MOVQ 168(SP), R14 - ROLQ $0x37, R11 - XORQ R9, R12 - MOVQ R10, R9 - XORQ CX, R14 - ROLQ $0x02, R14 - ANDQ R11, R9 - XORQ R14, R9 - MOVQ R9, 192(DI) - ROLQ $0x27, R12 - XORQ R9, R15 - NOTQ R11 - XORQ BX, R13 - MOVQ R11, BX - ANDQ R12, BX - XORQ R10, BX - MOVQ BX, 160(DI) - XORQ BX, SI - ROLQ $0x29, R13 - MOVQ R12, CX - ORQ R13, CX - XORQ R11, CX - MOVQ CX, 168(DI) - XORQ CX, BP - MOVQ R13, DX - MOVQ R14, R8 - ANDQ R14, DX - ORQ R10, R8 - XORQ R12, DX - XORQ R13, R8 - MOVQ DX, 176(DI) - MOVQ R8, 184(DI) - - // Prepare round - MOVQ BP, BX - ROLQ $0x01, BX - MOVQ 16(DI), R12 - XORQ 56(DI), DX - XORQ R15, BX - XORQ 96(DI), R12 - XORQ 136(DI), DX - XORQ DX, R12 - MOVQ R12, CX - ROLQ $0x01, CX - MOVQ 24(DI), R13 - XORQ 64(DI), R8 - XORQ SI, CX - XORQ 104(DI), R13 - XORQ 144(DI), R8 - XORQ R8, R13 - MOVQ R13, DX - ROLQ $0x01, DX - MOVQ R15, R8 - XORQ BP, DX - ROLQ $0x01, R8 - MOVQ SI, R9 - XORQ R12, R8 - ROLQ $0x01, R9 - - // Result b - MOVQ (DI), R10 - MOVQ 48(DI), R11 - XORQ R13, R9 - MOVQ 96(DI), R12 - MOVQ 144(DI), R13 - MOVQ 192(DI), R14 - XORQ CX, R11 - ROLQ $0x2c, R11 - XORQ DX, R12 - XORQ BX, R10 - ROLQ $0x2b, R12 - MOVQ R11, SI - MOVQ $0x8000000000008002, AX - ORQ R12, SI - XORQ R10, AX - XORQ AX, SI - MOVQ SI, (SP) - XORQ R9, R14 - ROLQ $0x0e, R14 - MOVQ R10, R15 - ANDQ R11, R15 - XORQ R14, R15 - MOVQ R15, 32(SP) - XORQ R8, R13 - ROLQ $0x15, R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 16(SP) - NOTQ R12 - ORQ R10, R14 - ORQ R13, R12 - XORQ R13, R14 - XORQ R11, R12 - MOVQ R14, 24(SP) - MOVQ R12, 8(SP) - MOVQ R12, BP - - // Result g - MOVQ 72(DI), R11 - XORQ R9, R11 - MOVQ 80(DI), R12 - ROLQ $0x14, R11 - XORQ BX, R12 - ROLQ $0x03, R12 - MOVQ 24(DI), R10 - MOVQ R11, AX - ORQ R12, AX - XORQ R8, R10 - MOVQ 128(DI), R13 - MOVQ 176(DI), R14 - ROLQ $0x1c, R10 - XORQ R10, AX - MOVQ AX, 40(SP) - XORQ AX, SI - XORQ CX, R13 - ROLQ $0x2d, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 48(SP) - XORQ AX, BP - XORQ DX, R14 - ROLQ $0x3d, R14 - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 64(SP) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 72(SP) - NOTQ R14 - XORQ R10, R15 - ORQ R14, R13 - XORQ R12, R13 - MOVQ R13, 56(SP) - - // Result k - MOVQ 8(DI), R10 - MOVQ 56(DI), R11 - MOVQ 104(DI), R12 - MOVQ 152(DI), R13 - MOVQ 160(DI), R14 - XORQ DX, R11 - ROLQ $0x06, R11 - XORQ R8, R12 - ROLQ $0x19, R12 - MOVQ R11, AX - ORQ R12, AX - XORQ CX, R10 - ROLQ $0x01, R10 - XORQ R10, AX - MOVQ AX, 80(SP) - XORQ AX, SI - XORQ R9, R13 - ROLQ $0x08, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 88(SP) - XORQ AX, BP - XORQ BX, R14 - ROLQ $0x12, R14 - NOTQ R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 96(SP) - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 104(SP) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 112(SP) - XORQ R10, R15 - - // Result m - MOVQ 40(DI), R11 - XORQ BX, R11 - MOVQ 88(DI), R12 - ROLQ $0x24, R11 - XORQ CX, R12 - MOVQ 32(DI), R10 - ROLQ $0x0a, R12 - MOVQ R11, AX - MOVQ 136(DI), R13 - ANDQ R12, AX - XORQ R9, R10 - MOVQ 184(DI), R14 - ROLQ $0x1b, R10 - XORQ R10, AX - MOVQ AX, 120(SP) - XORQ AX, SI - XORQ DX, R13 - ROLQ $0x0f, R13 - MOVQ R12, AX - ORQ R13, AX - XORQ R11, AX - MOVQ AX, 128(SP) - XORQ AX, BP - XORQ R8, R14 - ROLQ $0x38, R14 - NOTQ R13 - MOVQ R13, AX - ORQ R14, AX - XORQ R12, AX - MOVQ AX, 136(SP) - ORQ R10, R11 - XORQ R14, R11 - MOVQ R11, 152(SP) - ANDQ R10, R14 - XORQ R13, R14 - MOVQ R14, 144(SP) - XORQ R11, R15 - - // Result s - MOVQ 16(DI), R10 - MOVQ 64(DI), R11 - MOVQ 112(DI), R12 - XORQ DX, R10 - MOVQ 120(DI), R13 - ROLQ $0x3e, R10 - XORQ R8, R11 - MOVQ 168(DI), R14 - ROLQ $0x37, R11 - XORQ R9, R12 - MOVQ R10, R9 - XORQ CX, R14 - ROLQ $0x02, R14 - ANDQ R11, R9 - XORQ R14, R9 - MOVQ R9, 192(SP) - ROLQ $0x27, R12 - XORQ R9, R15 - NOTQ R11 - XORQ BX, R13 - MOVQ R11, BX - ANDQ R12, BX - XORQ R10, BX - MOVQ BX, 160(SP) - XORQ BX, SI - ROLQ $0x29, R13 - MOVQ R12, CX - ORQ R13, CX - XORQ R11, CX - MOVQ CX, 168(SP) - XORQ CX, BP - MOVQ R13, DX - MOVQ R14, R8 - ANDQ R14, DX - ORQ R10, R8 - XORQ R12, DX - XORQ R13, R8 - MOVQ DX, 176(SP) - MOVQ R8, 184(SP) - - // Prepare round - MOVQ BP, BX - ROLQ $0x01, BX - MOVQ 16(SP), R12 - XORQ 56(SP), DX - XORQ R15, BX - XORQ 96(SP), R12 - XORQ 136(SP), DX - XORQ DX, R12 - MOVQ R12, CX - ROLQ $0x01, CX - MOVQ 24(SP), R13 - XORQ 64(SP), R8 - XORQ SI, CX - XORQ 104(SP), R13 - XORQ 144(SP), R8 - XORQ R8, R13 - MOVQ R13, DX - ROLQ $0x01, DX - MOVQ R15, R8 - XORQ BP, DX - ROLQ $0x01, R8 - MOVQ SI, R9 - XORQ R12, R8 - ROLQ $0x01, R9 - - // Result b - MOVQ (SP), R10 - MOVQ 48(SP), R11 - XORQ R13, R9 - MOVQ 96(SP), R12 - MOVQ 144(SP), R13 - MOVQ 192(SP), R14 - XORQ CX, R11 - ROLQ $0x2c, R11 - XORQ DX, R12 - XORQ BX, R10 - ROLQ $0x2b, R12 - MOVQ R11, SI - MOVQ $0x8000000000000080, AX - ORQ R12, SI - XORQ R10, AX - XORQ AX, SI - MOVQ SI, (DI) - XORQ R9, R14 - ROLQ $0x0e, R14 - MOVQ R10, R15 - ANDQ R11, R15 - XORQ R14, R15 - MOVQ R15, 32(DI) - XORQ R8, R13 - ROLQ $0x15, R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 16(DI) - NOTQ R12 - ORQ R10, R14 - ORQ R13, R12 - XORQ R13, R14 - XORQ R11, R12 - MOVQ R14, 24(DI) - MOVQ R12, 8(DI) - MOVQ R12, BP - - // Result g - MOVQ 72(SP), R11 - XORQ R9, R11 - MOVQ 80(SP), R12 - ROLQ $0x14, R11 - XORQ BX, R12 - ROLQ $0x03, R12 - MOVQ 24(SP), R10 - MOVQ R11, AX - ORQ R12, AX - XORQ R8, R10 - MOVQ 128(SP), R13 - MOVQ 176(SP), R14 - ROLQ $0x1c, R10 - XORQ R10, AX - MOVQ AX, 40(DI) - XORQ AX, SI - XORQ CX, R13 - ROLQ $0x2d, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 48(DI) - XORQ AX, BP - XORQ DX, R14 - ROLQ $0x3d, R14 - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 64(DI) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 72(DI) - NOTQ R14 - XORQ R10, R15 - ORQ R14, R13 - XORQ R12, R13 - MOVQ R13, 56(DI) - - // Result k - MOVQ 8(SP), R10 - MOVQ 56(SP), R11 - MOVQ 104(SP), R12 - MOVQ 152(SP), R13 - MOVQ 160(SP), R14 - XORQ DX, R11 - ROLQ $0x06, R11 - XORQ R8, R12 - ROLQ $0x19, R12 - MOVQ R11, AX - ORQ R12, AX - XORQ CX, R10 - ROLQ $0x01, R10 - XORQ R10, AX - MOVQ AX, 80(DI) - XORQ AX, SI - XORQ R9, R13 - ROLQ $0x08, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 88(DI) - XORQ AX, BP - XORQ BX, R14 - ROLQ $0x12, R14 - NOTQ R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 96(DI) - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 104(DI) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 112(DI) - XORQ R10, R15 - - // Result m - MOVQ 40(SP), R11 - XORQ BX, R11 - MOVQ 88(SP), R12 - ROLQ $0x24, R11 - XORQ CX, R12 - MOVQ 32(SP), R10 - ROLQ $0x0a, R12 - MOVQ R11, AX - MOVQ 136(SP), R13 - ANDQ R12, AX - XORQ R9, R10 - MOVQ 184(SP), R14 - ROLQ $0x1b, R10 - XORQ R10, AX - MOVQ AX, 120(DI) - XORQ AX, SI - XORQ DX, R13 - ROLQ $0x0f, R13 - MOVQ R12, AX - ORQ R13, AX - XORQ R11, AX - MOVQ AX, 128(DI) - XORQ AX, BP - XORQ R8, R14 - ROLQ $0x38, R14 - NOTQ R13 - MOVQ R13, AX - ORQ R14, AX - XORQ R12, AX - MOVQ AX, 136(DI) - ORQ R10, R11 - XORQ R14, R11 - MOVQ R11, 152(DI) - ANDQ R10, R14 - XORQ R13, R14 - MOVQ R14, 144(DI) - XORQ R11, R15 - - // Result s - MOVQ 16(SP), R10 - MOVQ 64(SP), R11 - MOVQ 112(SP), R12 - XORQ DX, R10 - MOVQ 120(SP), R13 - ROLQ $0x3e, R10 - XORQ R8, R11 - MOVQ 168(SP), R14 - ROLQ $0x37, R11 - XORQ R9, R12 - MOVQ R10, R9 - XORQ CX, R14 - ROLQ $0x02, R14 - ANDQ R11, R9 - XORQ R14, R9 - MOVQ R9, 192(DI) - ROLQ $0x27, R12 - XORQ R9, R15 - NOTQ R11 - XORQ BX, R13 - MOVQ R11, BX - ANDQ R12, BX - XORQ R10, BX - MOVQ BX, 160(DI) - XORQ BX, SI - ROLQ $0x29, R13 - MOVQ R12, CX - ORQ R13, CX - XORQ R11, CX - MOVQ CX, 168(DI) - XORQ CX, BP - MOVQ R13, DX - MOVQ R14, R8 - ANDQ R14, DX - ORQ R10, R8 - XORQ R12, DX - XORQ R13, R8 - MOVQ DX, 176(DI) - MOVQ R8, 184(DI) - - // Prepare round - MOVQ BP, BX - ROLQ $0x01, BX - MOVQ 16(DI), R12 - XORQ 56(DI), DX - XORQ R15, BX - XORQ 96(DI), R12 - XORQ 136(DI), DX - XORQ DX, R12 - MOVQ R12, CX - ROLQ $0x01, CX - MOVQ 24(DI), R13 - XORQ 64(DI), R8 - XORQ SI, CX - XORQ 104(DI), R13 - XORQ 144(DI), R8 - XORQ R8, R13 - MOVQ R13, DX - ROLQ $0x01, DX - MOVQ R15, R8 - XORQ BP, DX - ROLQ $0x01, R8 - MOVQ SI, R9 - XORQ R12, R8 - ROLQ $0x01, R9 - - // Result b - MOVQ (DI), R10 - MOVQ 48(DI), R11 - XORQ R13, R9 - MOVQ 96(DI), R12 - MOVQ 144(DI), R13 - MOVQ 192(DI), R14 - XORQ CX, R11 - ROLQ $0x2c, R11 - XORQ DX, R12 - XORQ BX, R10 - ROLQ $0x2b, R12 - MOVQ R11, SI - MOVQ $0x000000000000800a, AX - ORQ R12, SI - XORQ R10, AX - XORQ AX, SI - MOVQ SI, (SP) - XORQ R9, R14 - ROLQ $0x0e, R14 - MOVQ R10, R15 - ANDQ R11, R15 - XORQ R14, R15 - MOVQ R15, 32(SP) - XORQ R8, R13 - ROLQ $0x15, R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 16(SP) - NOTQ R12 - ORQ R10, R14 - ORQ R13, R12 - XORQ R13, R14 - XORQ R11, R12 - MOVQ R14, 24(SP) - MOVQ R12, 8(SP) - MOVQ R12, BP - - // Result g - MOVQ 72(DI), R11 - XORQ R9, R11 - MOVQ 80(DI), R12 - ROLQ $0x14, R11 - XORQ BX, R12 - ROLQ $0x03, R12 - MOVQ 24(DI), R10 - MOVQ R11, AX - ORQ R12, AX - XORQ R8, R10 - MOVQ 128(DI), R13 - MOVQ 176(DI), R14 - ROLQ $0x1c, R10 - XORQ R10, AX - MOVQ AX, 40(SP) - XORQ AX, SI - XORQ CX, R13 - ROLQ $0x2d, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 48(SP) - XORQ AX, BP - XORQ DX, R14 - ROLQ $0x3d, R14 - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 64(SP) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 72(SP) - NOTQ R14 - XORQ R10, R15 - ORQ R14, R13 - XORQ R12, R13 - MOVQ R13, 56(SP) - - // Result k - MOVQ 8(DI), R10 - MOVQ 56(DI), R11 - MOVQ 104(DI), R12 - MOVQ 152(DI), R13 - MOVQ 160(DI), R14 - XORQ DX, R11 - ROLQ $0x06, R11 - XORQ R8, R12 - ROLQ $0x19, R12 - MOVQ R11, AX - ORQ R12, AX - XORQ CX, R10 - ROLQ $0x01, R10 - XORQ R10, AX - MOVQ AX, 80(SP) - XORQ AX, SI - XORQ R9, R13 - ROLQ $0x08, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 88(SP) - XORQ AX, BP - XORQ BX, R14 - ROLQ $0x12, R14 - NOTQ R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 96(SP) - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 104(SP) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 112(SP) - XORQ R10, R15 - - // Result m - MOVQ 40(DI), R11 - XORQ BX, R11 - MOVQ 88(DI), R12 - ROLQ $0x24, R11 - XORQ CX, R12 - MOVQ 32(DI), R10 - ROLQ $0x0a, R12 - MOVQ R11, AX - MOVQ 136(DI), R13 - ANDQ R12, AX - XORQ R9, R10 - MOVQ 184(DI), R14 - ROLQ $0x1b, R10 - XORQ R10, AX - MOVQ AX, 120(SP) - XORQ AX, SI - XORQ DX, R13 - ROLQ $0x0f, R13 - MOVQ R12, AX - ORQ R13, AX - XORQ R11, AX - MOVQ AX, 128(SP) - XORQ AX, BP - XORQ R8, R14 - ROLQ $0x38, R14 - NOTQ R13 - MOVQ R13, AX - ORQ R14, AX - XORQ R12, AX - MOVQ AX, 136(SP) - ORQ R10, R11 - XORQ R14, R11 - MOVQ R11, 152(SP) - ANDQ R10, R14 - XORQ R13, R14 - MOVQ R14, 144(SP) - XORQ R11, R15 - - // Result s - MOVQ 16(DI), R10 - MOVQ 64(DI), R11 - MOVQ 112(DI), R12 - XORQ DX, R10 - MOVQ 120(DI), R13 - ROLQ $0x3e, R10 - XORQ R8, R11 - MOVQ 168(DI), R14 - ROLQ $0x37, R11 - XORQ R9, R12 - MOVQ R10, R9 - XORQ CX, R14 - ROLQ $0x02, R14 - ANDQ R11, R9 - XORQ R14, R9 - MOVQ R9, 192(SP) - ROLQ $0x27, R12 - XORQ R9, R15 - NOTQ R11 - XORQ BX, R13 - MOVQ R11, BX - ANDQ R12, BX - XORQ R10, BX - MOVQ BX, 160(SP) - XORQ BX, SI - ROLQ $0x29, R13 - MOVQ R12, CX - ORQ R13, CX - XORQ R11, CX - MOVQ CX, 168(SP) - XORQ CX, BP - MOVQ R13, DX - MOVQ R14, R8 - ANDQ R14, DX - ORQ R10, R8 - XORQ R12, DX - XORQ R13, R8 - MOVQ DX, 176(SP) - MOVQ R8, 184(SP) - - // Prepare round - MOVQ BP, BX - ROLQ $0x01, BX - MOVQ 16(SP), R12 - XORQ 56(SP), DX - XORQ R15, BX - XORQ 96(SP), R12 - XORQ 136(SP), DX - XORQ DX, R12 - MOVQ R12, CX - ROLQ $0x01, CX - MOVQ 24(SP), R13 - XORQ 64(SP), R8 - XORQ SI, CX - XORQ 104(SP), R13 - XORQ 144(SP), R8 - XORQ R8, R13 - MOVQ R13, DX - ROLQ $0x01, DX - MOVQ R15, R8 - XORQ BP, DX - ROLQ $0x01, R8 - MOVQ SI, R9 - XORQ R12, R8 - ROLQ $0x01, R9 - - // Result b - MOVQ (SP), R10 - MOVQ 48(SP), R11 - XORQ R13, R9 - MOVQ 96(SP), R12 - MOVQ 144(SP), R13 - MOVQ 192(SP), R14 - XORQ CX, R11 - ROLQ $0x2c, R11 - XORQ DX, R12 - XORQ BX, R10 - ROLQ $0x2b, R12 - MOVQ R11, SI - MOVQ $0x800000008000000a, AX - ORQ R12, SI - XORQ R10, AX - XORQ AX, SI - MOVQ SI, (DI) - XORQ R9, R14 - ROLQ $0x0e, R14 - MOVQ R10, R15 - ANDQ R11, R15 - XORQ R14, R15 - MOVQ R15, 32(DI) - XORQ R8, R13 - ROLQ $0x15, R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 16(DI) - NOTQ R12 - ORQ R10, R14 - ORQ R13, R12 - XORQ R13, R14 - XORQ R11, R12 - MOVQ R14, 24(DI) - MOVQ R12, 8(DI) - MOVQ R12, BP - - // Result g - MOVQ 72(SP), R11 - XORQ R9, R11 - MOVQ 80(SP), R12 - ROLQ $0x14, R11 - XORQ BX, R12 - ROLQ $0x03, R12 - MOVQ 24(SP), R10 - MOVQ R11, AX - ORQ R12, AX - XORQ R8, R10 - MOVQ 128(SP), R13 - MOVQ 176(SP), R14 - ROLQ $0x1c, R10 - XORQ R10, AX - MOVQ AX, 40(DI) - XORQ AX, SI - XORQ CX, R13 - ROLQ $0x2d, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 48(DI) - XORQ AX, BP - XORQ DX, R14 - ROLQ $0x3d, R14 - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 64(DI) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 72(DI) - NOTQ R14 - XORQ R10, R15 - ORQ R14, R13 - XORQ R12, R13 - MOVQ R13, 56(DI) - - // Result k - MOVQ 8(SP), R10 - MOVQ 56(SP), R11 - MOVQ 104(SP), R12 - MOVQ 152(SP), R13 - MOVQ 160(SP), R14 - XORQ DX, R11 - ROLQ $0x06, R11 - XORQ R8, R12 - ROLQ $0x19, R12 - MOVQ R11, AX - ORQ R12, AX - XORQ CX, R10 - ROLQ $0x01, R10 - XORQ R10, AX - MOVQ AX, 80(DI) - XORQ AX, SI - XORQ R9, R13 - ROLQ $0x08, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 88(DI) - XORQ AX, BP - XORQ BX, R14 - ROLQ $0x12, R14 - NOTQ R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 96(DI) - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 104(DI) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 112(DI) - XORQ R10, R15 - - // Result m - MOVQ 40(SP), R11 - XORQ BX, R11 - MOVQ 88(SP), R12 - ROLQ $0x24, R11 - XORQ CX, R12 - MOVQ 32(SP), R10 - ROLQ $0x0a, R12 - MOVQ R11, AX - MOVQ 136(SP), R13 - ANDQ R12, AX - XORQ R9, R10 - MOVQ 184(SP), R14 - ROLQ $0x1b, R10 - XORQ R10, AX - MOVQ AX, 120(DI) - XORQ AX, SI - XORQ DX, R13 - ROLQ $0x0f, R13 - MOVQ R12, AX - ORQ R13, AX - XORQ R11, AX - MOVQ AX, 128(DI) - XORQ AX, BP - XORQ R8, R14 - ROLQ $0x38, R14 - NOTQ R13 - MOVQ R13, AX - ORQ R14, AX - XORQ R12, AX - MOVQ AX, 136(DI) - ORQ R10, R11 - XORQ R14, R11 - MOVQ R11, 152(DI) - ANDQ R10, R14 - XORQ R13, R14 - MOVQ R14, 144(DI) - XORQ R11, R15 - - // Result s - MOVQ 16(SP), R10 - MOVQ 64(SP), R11 - MOVQ 112(SP), R12 - XORQ DX, R10 - MOVQ 120(SP), R13 - ROLQ $0x3e, R10 - XORQ R8, R11 - MOVQ 168(SP), R14 - ROLQ $0x37, R11 - XORQ R9, R12 - MOVQ R10, R9 - XORQ CX, R14 - ROLQ $0x02, R14 - ANDQ R11, R9 - XORQ R14, R9 - MOVQ R9, 192(DI) - ROLQ $0x27, R12 - XORQ R9, R15 - NOTQ R11 - XORQ BX, R13 - MOVQ R11, BX - ANDQ R12, BX - XORQ R10, BX - MOVQ BX, 160(DI) - XORQ BX, SI - ROLQ $0x29, R13 - MOVQ R12, CX - ORQ R13, CX - XORQ R11, CX - MOVQ CX, 168(DI) - XORQ CX, BP - MOVQ R13, DX - MOVQ R14, R8 - ANDQ R14, DX - ORQ R10, R8 - XORQ R12, DX - XORQ R13, R8 - MOVQ DX, 176(DI) - MOVQ R8, 184(DI) - - // Prepare round - MOVQ BP, BX - ROLQ $0x01, BX - MOVQ 16(DI), R12 - XORQ 56(DI), DX - XORQ R15, BX - XORQ 96(DI), R12 - XORQ 136(DI), DX - XORQ DX, R12 - MOVQ R12, CX - ROLQ $0x01, CX - MOVQ 24(DI), R13 - XORQ 64(DI), R8 - XORQ SI, CX - XORQ 104(DI), R13 - XORQ 144(DI), R8 - XORQ R8, R13 - MOVQ R13, DX - ROLQ $0x01, DX - MOVQ R15, R8 - XORQ BP, DX - ROLQ $0x01, R8 - MOVQ SI, R9 - XORQ R12, R8 - ROLQ $0x01, R9 - - // Result b - MOVQ (DI), R10 - MOVQ 48(DI), R11 - XORQ R13, R9 - MOVQ 96(DI), R12 - MOVQ 144(DI), R13 - MOVQ 192(DI), R14 - XORQ CX, R11 - ROLQ $0x2c, R11 - XORQ DX, R12 - XORQ BX, R10 - ROLQ $0x2b, R12 - MOVQ R11, SI - MOVQ $0x8000000080008081, AX - ORQ R12, SI - XORQ R10, AX - XORQ AX, SI - MOVQ SI, (SP) - XORQ R9, R14 - ROLQ $0x0e, R14 - MOVQ R10, R15 - ANDQ R11, R15 - XORQ R14, R15 - MOVQ R15, 32(SP) - XORQ R8, R13 - ROLQ $0x15, R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 16(SP) - NOTQ R12 - ORQ R10, R14 - ORQ R13, R12 - XORQ R13, R14 - XORQ R11, R12 - MOVQ R14, 24(SP) - MOVQ R12, 8(SP) - MOVQ R12, BP - - // Result g - MOVQ 72(DI), R11 - XORQ R9, R11 - MOVQ 80(DI), R12 - ROLQ $0x14, R11 - XORQ BX, R12 - ROLQ $0x03, R12 - MOVQ 24(DI), R10 - MOVQ R11, AX - ORQ R12, AX - XORQ R8, R10 - MOVQ 128(DI), R13 - MOVQ 176(DI), R14 - ROLQ $0x1c, R10 - XORQ R10, AX - MOVQ AX, 40(SP) - XORQ AX, SI - XORQ CX, R13 - ROLQ $0x2d, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 48(SP) - XORQ AX, BP - XORQ DX, R14 - ROLQ $0x3d, R14 - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 64(SP) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 72(SP) - NOTQ R14 - XORQ R10, R15 - ORQ R14, R13 - XORQ R12, R13 - MOVQ R13, 56(SP) - - // Result k - MOVQ 8(DI), R10 - MOVQ 56(DI), R11 - MOVQ 104(DI), R12 - MOVQ 152(DI), R13 - MOVQ 160(DI), R14 - XORQ DX, R11 - ROLQ $0x06, R11 - XORQ R8, R12 - ROLQ $0x19, R12 - MOVQ R11, AX - ORQ R12, AX - XORQ CX, R10 - ROLQ $0x01, R10 - XORQ R10, AX - MOVQ AX, 80(SP) - XORQ AX, SI - XORQ R9, R13 - ROLQ $0x08, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 88(SP) - XORQ AX, BP - XORQ BX, R14 - ROLQ $0x12, R14 - NOTQ R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 96(SP) - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 104(SP) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 112(SP) - XORQ R10, R15 - - // Result m - MOVQ 40(DI), R11 - XORQ BX, R11 - MOVQ 88(DI), R12 - ROLQ $0x24, R11 - XORQ CX, R12 - MOVQ 32(DI), R10 - ROLQ $0x0a, R12 - MOVQ R11, AX - MOVQ 136(DI), R13 - ANDQ R12, AX - XORQ R9, R10 - MOVQ 184(DI), R14 - ROLQ $0x1b, R10 - XORQ R10, AX - MOVQ AX, 120(SP) - XORQ AX, SI - XORQ DX, R13 - ROLQ $0x0f, R13 - MOVQ R12, AX - ORQ R13, AX - XORQ R11, AX - MOVQ AX, 128(SP) - XORQ AX, BP - XORQ R8, R14 - ROLQ $0x38, R14 - NOTQ R13 - MOVQ R13, AX - ORQ R14, AX - XORQ R12, AX - MOVQ AX, 136(SP) - ORQ R10, R11 - XORQ R14, R11 - MOVQ R11, 152(SP) - ANDQ R10, R14 - XORQ R13, R14 - MOVQ R14, 144(SP) - XORQ R11, R15 - - // Result s - MOVQ 16(DI), R10 - MOVQ 64(DI), R11 - MOVQ 112(DI), R12 - XORQ DX, R10 - MOVQ 120(DI), R13 - ROLQ $0x3e, R10 - XORQ R8, R11 - MOVQ 168(DI), R14 - ROLQ $0x37, R11 - XORQ R9, R12 - MOVQ R10, R9 - XORQ CX, R14 - ROLQ $0x02, R14 - ANDQ R11, R9 - XORQ R14, R9 - MOVQ R9, 192(SP) - ROLQ $0x27, R12 - XORQ R9, R15 - NOTQ R11 - XORQ BX, R13 - MOVQ R11, BX - ANDQ R12, BX - XORQ R10, BX - MOVQ BX, 160(SP) - XORQ BX, SI - ROLQ $0x29, R13 - MOVQ R12, CX - ORQ R13, CX - XORQ R11, CX - MOVQ CX, 168(SP) - XORQ CX, BP - MOVQ R13, DX - MOVQ R14, R8 - ANDQ R14, DX - ORQ R10, R8 - XORQ R12, DX - XORQ R13, R8 - MOVQ DX, 176(SP) - MOVQ R8, 184(SP) - - // Prepare round - MOVQ BP, BX - ROLQ $0x01, BX - MOVQ 16(SP), R12 - XORQ 56(SP), DX - XORQ R15, BX - XORQ 96(SP), R12 - XORQ 136(SP), DX - XORQ DX, R12 - MOVQ R12, CX - ROLQ $0x01, CX - MOVQ 24(SP), R13 - XORQ 64(SP), R8 - XORQ SI, CX - XORQ 104(SP), R13 - XORQ 144(SP), R8 - XORQ R8, R13 - MOVQ R13, DX - ROLQ $0x01, DX - MOVQ R15, R8 - XORQ BP, DX - ROLQ $0x01, R8 - MOVQ SI, R9 - XORQ R12, R8 - ROLQ $0x01, R9 - - // Result b - MOVQ (SP), R10 - MOVQ 48(SP), R11 - XORQ R13, R9 - MOVQ 96(SP), R12 - MOVQ 144(SP), R13 - MOVQ 192(SP), R14 - XORQ CX, R11 - ROLQ $0x2c, R11 - XORQ DX, R12 - XORQ BX, R10 - ROLQ $0x2b, R12 - MOVQ R11, SI - MOVQ $0x8000000000008080, AX - ORQ R12, SI - XORQ R10, AX - XORQ AX, SI - MOVQ SI, (DI) - XORQ R9, R14 - ROLQ $0x0e, R14 - MOVQ R10, R15 - ANDQ R11, R15 - XORQ R14, R15 - MOVQ R15, 32(DI) - XORQ R8, R13 - ROLQ $0x15, R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 16(DI) - NOTQ R12 - ORQ R10, R14 - ORQ R13, R12 - XORQ R13, R14 - XORQ R11, R12 - MOVQ R14, 24(DI) - MOVQ R12, 8(DI) - MOVQ R12, BP - - // Result g - MOVQ 72(SP), R11 - XORQ R9, R11 - MOVQ 80(SP), R12 - ROLQ $0x14, R11 - XORQ BX, R12 - ROLQ $0x03, R12 - MOVQ 24(SP), R10 - MOVQ R11, AX - ORQ R12, AX - XORQ R8, R10 - MOVQ 128(SP), R13 - MOVQ 176(SP), R14 - ROLQ $0x1c, R10 - XORQ R10, AX - MOVQ AX, 40(DI) - XORQ AX, SI - XORQ CX, R13 - ROLQ $0x2d, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 48(DI) - XORQ AX, BP - XORQ DX, R14 - ROLQ $0x3d, R14 - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 64(DI) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 72(DI) - NOTQ R14 - XORQ R10, R15 - ORQ R14, R13 - XORQ R12, R13 - MOVQ R13, 56(DI) - - // Result k - MOVQ 8(SP), R10 - MOVQ 56(SP), R11 - MOVQ 104(SP), R12 - MOVQ 152(SP), R13 - MOVQ 160(SP), R14 - XORQ DX, R11 - ROLQ $0x06, R11 - XORQ R8, R12 - ROLQ $0x19, R12 - MOVQ R11, AX - ORQ R12, AX - XORQ CX, R10 - ROLQ $0x01, R10 - XORQ R10, AX - MOVQ AX, 80(DI) - XORQ AX, SI - XORQ R9, R13 - ROLQ $0x08, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 88(DI) - XORQ AX, BP - XORQ BX, R14 - ROLQ $0x12, R14 - NOTQ R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 96(DI) - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 104(DI) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 112(DI) - XORQ R10, R15 - - // Result m - MOVQ 40(SP), R11 - XORQ BX, R11 - MOVQ 88(SP), R12 - ROLQ $0x24, R11 - XORQ CX, R12 - MOVQ 32(SP), R10 - ROLQ $0x0a, R12 - MOVQ R11, AX - MOVQ 136(SP), R13 - ANDQ R12, AX - XORQ R9, R10 - MOVQ 184(SP), R14 - ROLQ $0x1b, R10 - XORQ R10, AX - MOVQ AX, 120(DI) - XORQ AX, SI - XORQ DX, R13 - ROLQ $0x0f, R13 - MOVQ R12, AX - ORQ R13, AX - XORQ R11, AX - MOVQ AX, 128(DI) - XORQ AX, BP - XORQ R8, R14 - ROLQ $0x38, R14 - NOTQ R13 - MOVQ R13, AX - ORQ R14, AX - XORQ R12, AX - MOVQ AX, 136(DI) - ORQ R10, R11 - XORQ R14, R11 - MOVQ R11, 152(DI) - ANDQ R10, R14 - XORQ R13, R14 - MOVQ R14, 144(DI) - XORQ R11, R15 - - // Result s - MOVQ 16(SP), R10 - MOVQ 64(SP), R11 - MOVQ 112(SP), R12 - XORQ DX, R10 - MOVQ 120(SP), R13 - ROLQ $0x3e, R10 - XORQ R8, R11 - MOVQ 168(SP), R14 - ROLQ $0x37, R11 - XORQ R9, R12 - MOVQ R10, R9 - XORQ CX, R14 - ROLQ $0x02, R14 - ANDQ R11, R9 - XORQ R14, R9 - MOVQ R9, 192(DI) - ROLQ $0x27, R12 - XORQ R9, R15 - NOTQ R11 - XORQ BX, R13 - MOVQ R11, BX - ANDQ R12, BX - XORQ R10, BX - MOVQ BX, 160(DI) - XORQ BX, SI - ROLQ $0x29, R13 - MOVQ R12, CX - ORQ R13, CX - XORQ R11, CX - MOVQ CX, 168(DI) - XORQ CX, BP - MOVQ R13, DX - MOVQ R14, R8 - ANDQ R14, DX - ORQ R10, R8 - XORQ R12, DX - XORQ R13, R8 - MOVQ DX, 176(DI) - MOVQ R8, 184(DI) - - // Prepare round - MOVQ BP, BX - ROLQ $0x01, BX - MOVQ 16(DI), R12 - XORQ 56(DI), DX - XORQ R15, BX - XORQ 96(DI), R12 - XORQ 136(DI), DX - XORQ DX, R12 - MOVQ R12, CX - ROLQ $0x01, CX - MOVQ 24(DI), R13 - XORQ 64(DI), R8 - XORQ SI, CX - XORQ 104(DI), R13 - XORQ 144(DI), R8 - XORQ R8, R13 - MOVQ R13, DX - ROLQ $0x01, DX - MOVQ R15, R8 - XORQ BP, DX - ROLQ $0x01, R8 - MOVQ SI, R9 - XORQ R12, R8 - ROLQ $0x01, R9 - - // Result b - MOVQ (DI), R10 - MOVQ 48(DI), R11 - XORQ R13, R9 - MOVQ 96(DI), R12 - MOVQ 144(DI), R13 - MOVQ 192(DI), R14 - XORQ CX, R11 - ROLQ $0x2c, R11 - XORQ DX, R12 - XORQ BX, R10 - ROLQ $0x2b, R12 - MOVQ R11, SI - MOVQ $0x0000000080000001, AX - ORQ R12, SI - XORQ R10, AX - XORQ AX, SI - MOVQ SI, (SP) - XORQ R9, R14 - ROLQ $0x0e, R14 - MOVQ R10, R15 - ANDQ R11, R15 - XORQ R14, R15 - MOVQ R15, 32(SP) - XORQ R8, R13 - ROLQ $0x15, R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 16(SP) - NOTQ R12 - ORQ R10, R14 - ORQ R13, R12 - XORQ R13, R14 - XORQ R11, R12 - MOVQ R14, 24(SP) - MOVQ R12, 8(SP) - MOVQ R12, BP - - // Result g - MOVQ 72(DI), R11 - XORQ R9, R11 - MOVQ 80(DI), R12 - ROLQ $0x14, R11 - XORQ BX, R12 - ROLQ $0x03, R12 - MOVQ 24(DI), R10 - MOVQ R11, AX - ORQ R12, AX - XORQ R8, R10 - MOVQ 128(DI), R13 - MOVQ 176(DI), R14 - ROLQ $0x1c, R10 - XORQ R10, AX - MOVQ AX, 40(SP) - XORQ AX, SI - XORQ CX, R13 - ROLQ $0x2d, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 48(SP) - XORQ AX, BP - XORQ DX, R14 - ROLQ $0x3d, R14 - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 64(SP) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 72(SP) - NOTQ R14 - XORQ R10, R15 - ORQ R14, R13 - XORQ R12, R13 - MOVQ R13, 56(SP) - - // Result k - MOVQ 8(DI), R10 - MOVQ 56(DI), R11 - MOVQ 104(DI), R12 - MOVQ 152(DI), R13 - MOVQ 160(DI), R14 - XORQ DX, R11 - ROLQ $0x06, R11 - XORQ R8, R12 - ROLQ $0x19, R12 - MOVQ R11, AX - ORQ R12, AX - XORQ CX, R10 - ROLQ $0x01, R10 - XORQ R10, AX - MOVQ AX, 80(SP) - XORQ AX, SI - XORQ R9, R13 - ROLQ $0x08, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 88(SP) - XORQ AX, BP - XORQ BX, R14 - ROLQ $0x12, R14 - NOTQ R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 96(SP) - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 104(SP) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 112(SP) - XORQ R10, R15 - - // Result m - MOVQ 40(DI), R11 - XORQ BX, R11 - MOVQ 88(DI), R12 - ROLQ $0x24, R11 - XORQ CX, R12 - MOVQ 32(DI), R10 - ROLQ $0x0a, R12 - MOVQ R11, AX - MOVQ 136(DI), R13 - ANDQ R12, AX - XORQ R9, R10 - MOVQ 184(DI), R14 - ROLQ $0x1b, R10 - XORQ R10, AX - MOVQ AX, 120(SP) - XORQ AX, SI - XORQ DX, R13 - ROLQ $0x0f, R13 - MOVQ R12, AX - ORQ R13, AX - XORQ R11, AX - MOVQ AX, 128(SP) - XORQ AX, BP - XORQ R8, R14 - ROLQ $0x38, R14 - NOTQ R13 - MOVQ R13, AX - ORQ R14, AX - XORQ R12, AX - MOVQ AX, 136(SP) - ORQ R10, R11 - XORQ R14, R11 - MOVQ R11, 152(SP) - ANDQ R10, R14 - XORQ R13, R14 - MOVQ R14, 144(SP) - XORQ R11, R15 - - // Result s - MOVQ 16(DI), R10 - MOVQ 64(DI), R11 - MOVQ 112(DI), R12 - XORQ DX, R10 - MOVQ 120(DI), R13 - ROLQ $0x3e, R10 - XORQ R8, R11 - MOVQ 168(DI), R14 - ROLQ $0x37, R11 - XORQ R9, R12 - MOVQ R10, R9 - XORQ CX, R14 - ROLQ $0x02, R14 - ANDQ R11, R9 - XORQ R14, R9 - MOVQ R9, 192(SP) - ROLQ $0x27, R12 - XORQ R9, R15 - NOTQ R11 - XORQ BX, R13 - MOVQ R11, BX - ANDQ R12, BX - XORQ R10, BX - MOVQ BX, 160(SP) - XORQ BX, SI - ROLQ $0x29, R13 - MOVQ R12, CX - ORQ R13, CX - XORQ R11, CX - MOVQ CX, 168(SP) - XORQ CX, BP - MOVQ R13, DX - MOVQ R14, R8 - ANDQ R14, DX - ORQ R10, R8 - XORQ R12, DX - XORQ R13, R8 - MOVQ DX, 176(SP) - MOVQ R8, 184(SP) - - // Prepare round - MOVQ BP, BX - ROLQ $0x01, BX - MOVQ 16(SP), R12 - XORQ 56(SP), DX - XORQ R15, BX - XORQ 96(SP), R12 - XORQ 136(SP), DX - XORQ DX, R12 - MOVQ R12, CX - ROLQ $0x01, CX - MOVQ 24(SP), R13 - XORQ 64(SP), R8 - XORQ SI, CX - XORQ 104(SP), R13 - XORQ 144(SP), R8 - XORQ R8, R13 - MOVQ R13, DX - ROLQ $0x01, DX - MOVQ R15, R8 - XORQ BP, DX - ROLQ $0x01, R8 - MOVQ SI, R9 - XORQ R12, R8 - ROLQ $0x01, R9 - - // Result b - MOVQ (SP), R10 - MOVQ 48(SP), R11 - XORQ R13, R9 - MOVQ 96(SP), R12 - MOVQ 144(SP), R13 - MOVQ 192(SP), R14 - XORQ CX, R11 - ROLQ $0x2c, R11 - XORQ DX, R12 - XORQ BX, R10 - ROLQ $0x2b, R12 - MOVQ R11, SI - MOVQ $0x8000000080008008, AX - ORQ R12, SI - XORQ R10, AX - XORQ AX, SI - MOVQ SI, (DI) - XORQ R9, R14 - ROLQ $0x0e, R14 - MOVQ R10, R15 - ANDQ R11, R15 - XORQ R14, R15 - MOVQ R15, 32(DI) - XORQ R8, R13 - ROLQ $0x15, R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 16(DI) - NOTQ R12 - ORQ R10, R14 - ORQ R13, R12 - XORQ R13, R14 - XORQ R11, R12 - MOVQ R14, 24(DI) - MOVQ R12, 8(DI) - NOP - - // Result g - MOVQ 72(SP), R11 - XORQ R9, R11 - MOVQ 80(SP), R12 - ROLQ $0x14, R11 - XORQ BX, R12 - ROLQ $0x03, R12 - MOVQ 24(SP), R10 - MOVQ R11, AX - ORQ R12, AX - XORQ R8, R10 - MOVQ 128(SP), R13 - MOVQ 176(SP), R14 - ROLQ $0x1c, R10 - XORQ R10, AX - MOVQ AX, 40(DI) - NOP - XORQ CX, R13 - ROLQ $0x2d, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 48(DI) - NOP - XORQ DX, R14 - ROLQ $0x3d, R14 - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 64(DI) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 72(DI) - NOTQ R14 - NOP - ORQ R14, R13 - XORQ R12, R13 - MOVQ R13, 56(DI) - - // Result k - MOVQ 8(SP), R10 - MOVQ 56(SP), R11 - MOVQ 104(SP), R12 - MOVQ 152(SP), R13 - MOVQ 160(SP), R14 - XORQ DX, R11 - ROLQ $0x06, R11 - XORQ R8, R12 - ROLQ $0x19, R12 - MOVQ R11, AX - ORQ R12, AX - XORQ CX, R10 - ROLQ $0x01, R10 - XORQ R10, AX - MOVQ AX, 80(DI) - NOP - XORQ R9, R13 - ROLQ $0x08, R13 - MOVQ R12, AX - ANDQ R13, AX - XORQ R11, AX - MOVQ AX, 88(DI) - NOP - XORQ BX, R14 - ROLQ $0x12, R14 - NOTQ R13 - MOVQ R13, AX - ANDQ R14, AX - XORQ R12, AX - MOVQ AX, 96(DI) - MOVQ R14, AX - ORQ R10, AX - XORQ R13, AX - MOVQ AX, 104(DI) - ANDQ R11, R10 - XORQ R14, R10 - MOVQ R10, 112(DI) - NOP - - // Result m - MOVQ 40(SP), R11 - XORQ BX, R11 - MOVQ 88(SP), R12 - ROLQ $0x24, R11 - XORQ CX, R12 - MOVQ 32(SP), R10 - ROLQ $0x0a, R12 - MOVQ R11, AX - MOVQ 136(SP), R13 - ANDQ R12, AX - XORQ R9, R10 - MOVQ 184(SP), R14 - ROLQ $0x1b, R10 - XORQ R10, AX - MOVQ AX, 120(DI) - NOP - XORQ DX, R13 - ROLQ $0x0f, R13 - MOVQ R12, AX - ORQ R13, AX - XORQ R11, AX - MOVQ AX, 128(DI) - NOP - XORQ R8, R14 - ROLQ $0x38, R14 - NOTQ R13 - MOVQ R13, AX - ORQ R14, AX - XORQ R12, AX - MOVQ AX, 136(DI) - ORQ R10, R11 - XORQ R14, R11 - MOVQ R11, 152(DI) - ANDQ R10, R14 - XORQ R13, R14 - MOVQ R14, 144(DI) - NOP - - // Result s - MOVQ 16(SP), R10 - MOVQ 64(SP), R11 - MOVQ 112(SP), R12 - XORQ DX, R10 - MOVQ 120(SP), R13 - ROLQ $0x3e, R10 - XORQ R8, R11 - MOVQ 168(SP), R14 - ROLQ $0x37, R11 - XORQ R9, R12 - MOVQ R10, R9 - XORQ CX, R14 - ROLQ $0x02, R14 - ANDQ R11, R9 - XORQ R14, R9 - MOVQ R9, 192(DI) - ROLQ $0x27, R12 - NOP - NOTQ R11 - XORQ BX, R13 - MOVQ R11, BX - ANDQ R12, BX - XORQ R10, BX - MOVQ BX, 160(DI) - NOP - ROLQ $0x29, R13 - MOVQ R12, CX - ORQ R13, CX - XORQ R11, CX - MOVQ CX, 168(DI) - NOP - MOVQ R13, DX - MOVQ R14, R8 - ANDQ R14, DX - ORQ R10, R8 - XORQ R12, DX - XORQ R13, R8 - MOVQ DX, 176(DI) - MOVQ R8, 184(DI) - - // Revert the internal state to the user state - NOTQ 8(DI) - NOTQ 16(DI) - NOTQ 64(DI) - NOTQ 96(DI) - NOTQ 136(DI) - NOTQ 160(DI) - RET diff --git a/vendor/golang.org/x/crypto/sha3/sha3.go b/vendor/golang.org/x/crypto/sha3/legacy_hash.go similarity index 83% rename from vendor/golang.org/x/crypto/sha3/sha3.go rename to vendor/golang.org/x/crypto/sha3/legacy_hash.go index 6658c44479..b8784536e0 100644 --- a/vendor/golang.org/x/crypto/sha3/sha3.go +++ b/vendor/golang.org/x/crypto/sha3/legacy_hash.go @@ -4,15 +4,46 @@ package sha3 +// This implementation is only used for NewLegacyKeccak256 and +// NewLegacyKeccak512, which are not implemented by crypto/sha3. +// All other functions in this package are wrappers around crypto/sha3. + import ( "crypto/subtle" "encoding/binary" "errors" + "hash" "unsafe" "golang.org/x/sys/cpu" ) +const ( + dsbyteKeccak = 0b00000001 + + // rateK[c] is the rate in bytes for Keccak[c] where c is the capacity in + // bits. Given the sponge size is 1600 bits, the rate is 1600 - c bits. + rateK256 = (1600 - 256) / 8 + rateK512 = (1600 - 512) / 8 + rateK1024 = (1600 - 1024) / 8 +) + +// NewLegacyKeccak256 creates a new Keccak-256 hash. +// +// Only use this function if you require compatibility with an existing cryptosystem +// that uses non-standard padding. All other users should use New256 instead. +func NewLegacyKeccak256() hash.Hash { + return &state{rate: rateK512, outputLen: 32, dsbyte: dsbyteKeccak} +} + +// NewLegacyKeccak512 creates a new Keccak-512 hash. +// +// Only use this function if you require compatibility with an existing cryptosystem +// that uses non-standard padding. All other users should use New512 instead. +func NewLegacyKeccak512() hash.Hash { + return &state{rate: rateK1024, outputLen: 64, dsbyte: dsbyteKeccak} +} + // spongeDirection indicates the direction bytes are flowing through the sponge. type spongeDirection int @@ -173,12 +204,9 @@ func (d *state) Sum(in []byte) []byte { } const ( - magicSHA3 = "sha\x08" - magicShake = "sha\x09" - magicCShake = "sha\x0a" magicKeccak = "sha\x0b" // magic || rate || main state || n || sponge direction - marshaledSize = len(magicSHA3) + 1 + 200 + 1 + 1 + marshaledSize = len(magicKeccak) + 1 + 200 + 1 + 1 ) func (d *state) MarshalBinary() ([]byte, error) { @@ -187,12 +215,6 @@ func (d *state) MarshalBinary() ([]byte, error) { func (d *state) AppendBinary(b []byte) ([]byte, error) { switch d.dsbyte { - case dsbyteSHA3: - b = append(b, magicSHA3...) - case dsbyteShake: - b = append(b, magicShake...) - case dsbyteCShake: - b = append(b, magicCShake...) case dsbyteKeccak: b = append(b, magicKeccak...) default: @@ -210,12 +232,9 @@ func (d *state) UnmarshalBinary(b []byte) error { return errors.New("sha3: invalid hash state") } - magic := string(b[:len(magicSHA3)]) - b = b[len(magicSHA3):] + magic := string(b[:len(magicKeccak)]) + b = b[len(magicKeccak):] switch { - case magic == magicSHA3 && d.dsbyte == dsbyteSHA3: - case magic == magicShake && d.dsbyte == dsbyteShake: - case magic == magicCShake && d.dsbyte == dsbyteCShake: case magic == magicKeccak && d.dsbyte == dsbyteKeccak: default: return errors.New("sha3: invalid hash state identifier") diff --git a/vendor/golang.org/x/crypto/sha3/keccakf.go b/vendor/golang.org/x/crypto/sha3/legacy_keccakf.go similarity index 98% rename from vendor/golang.org/x/crypto/sha3/keccakf.go rename to vendor/golang.org/x/crypto/sha3/legacy_keccakf.go index ce48b1dd3e..101588c16c 100644 --- a/vendor/golang.org/x/crypto/sha3/keccakf.go +++ b/vendor/golang.org/x/crypto/sha3/legacy_keccakf.go @@ -2,10 +2,12 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build !amd64 || purego || !gc - package sha3 +// This implementation is only used for NewLegacyKeccak256 and +// NewLegacyKeccak512, which are not implemented by crypto/sha3. +// All other functions in this package are wrappers around crypto/sha3. + import "math/bits" // rc stores the round constants for use in the ι step. diff --git a/vendor/golang.org/x/crypto/sha3/sha3_s390x.go b/vendor/golang.org/x/crypto/sha3/sha3_s390x.go deleted file mode 100644 index 00d8034ae6..0000000000 --- a/vendor/golang.org/x/crypto/sha3/sha3_s390x.go +++ /dev/null @@ -1,303 +0,0 @@ -// Copyright 2017 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build gc && !purego - -package sha3 - -// This file contains code for using the 'compute intermediate -// message digest' (KIMD) and 'compute last message digest' (KLMD) -// instructions to compute SHA-3 and SHAKE hashes on IBM Z. - -import ( - "hash" - - "golang.org/x/sys/cpu" -) - -// codes represent 7-bit KIMD/KLMD function codes as defined in -// the Principles of Operation. -type code uint64 - -const ( - // function codes for KIMD/KLMD - sha3_224 code = 32 - sha3_256 = 33 - sha3_384 = 34 - sha3_512 = 35 - shake_128 = 36 - shake_256 = 37 - nopad = 0x100 -) - -// kimd is a wrapper for the 'compute intermediate message digest' instruction. -// src must be a multiple of the rate for the given function code. -// -//go:noescape -func kimd(function code, chain *[200]byte, src []byte) - -// klmd is a wrapper for the 'compute last message digest' instruction. -// src padding is handled by the instruction. -// -//go:noescape -func klmd(function code, chain *[200]byte, dst, src []byte) - -type asmState struct { - a [200]byte // 1600 bit state - buf []byte // care must be taken to ensure cap(buf) is a multiple of rate - rate int // equivalent to block size - storage [3072]byte // underlying storage for buf - outputLen int // output length for full security - function code // KIMD/KLMD function code - state spongeDirection // whether the sponge is absorbing or squeezing -} - -func newAsmState(function code) *asmState { - var s asmState - s.function = function - switch function { - case sha3_224: - s.rate = 144 - s.outputLen = 28 - case sha3_256: - s.rate = 136 - s.outputLen = 32 - case sha3_384: - s.rate = 104 - s.outputLen = 48 - case sha3_512: - s.rate = 72 - s.outputLen = 64 - case shake_128: - s.rate = 168 - s.outputLen = 32 - case shake_256: - s.rate = 136 - s.outputLen = 64 - default: - panic("sha3: unrecognized function code") - } - - // limit s.buf size to a multiple of s.rate - s.resetBuf() - return &s -} - -func (s *asmState) clone() *asmState { - c := *s - c.buf = c.storage[:len(s.buf):cap(s.buf)] - return &c -} - -// copyIntoBuf copies b into buf. It will panic if there is not enough space to -// store all of b. -func (s *asmState) copyIntoBuf(b []byte) { - bufLen := len(s.buf) - s.buf = s.buf[:len(s.buf)+len(b)] - copy(s.buf[bufLen:], b) -} - -// resetBuf points buf at storage, sets the length to 0 and sets cap to be a -// multiple of the rate. -func (s *asmState) resetBuf() { - max := (cap(s.storage) / s.rate) * s.rate - s.buf = s.storage[:0:max] -} - -// Write (via the embedded io.Writer interface) adds more data to the running hash. -// It never returns an error. -func (s *asmState) Write(b []byte) (int, error) { - if s.state != spongeAbsorbing { - panic("sha3: Write after Read") - } - length := len(b) - for len(b) > 0 { - if len(s.buf) == 0 && len(b) >= cap(s.buf) { - // Hash the data directly and push any remaining bytes - // into the buffer. - remainder := len(b) % s.rate - kimd(s.function, &s.a, b[:len(b)-remainder]) - if remainder != 0 { - s.copyIntoBuf(b[len(b)-remainder:]) - } - return length, nil - } - - if len(s.buf) == cap(s.buf) { - // flush the buffer - kimd(s.function, &s.a, s.buf) - s.buf = s.buf[:0] - } - - // copy as much as we can into the buffer - n := len(b) - if len(b) > cap(s.buf)-len(s.buf) { - n = cap(s.buf) - len(s.buf) - } - s.copyIntoBuf(b[:n]) - b = b[n:] - } - return length, nil -} - -// Read squeezes an arbitrary number of bytes from the sponge. -func (s *asmState) Read(out []byte) (n int, err error) { - // The 'compute last message digest' instruction only stores the digest - // at the first operand (dst) for SHAKE functions. - if s.function != shake_128 && s.function != shake_256 { - panic("sha3: can only call Read for SHAKE functions") - } - - n = len(out) - - // need to pad if we were absorbing - if s.state == spongeAbsorbing { - s.state = spongeSqueezing - - // write hash directly into out if possible - if len(out)%s.rate == 0 { - klmd(s.function, &s.a, out, s.buf) // len(out) may be 0 - s.buf = s.buf[:0] - return - } - - // write hash into buffer - max := cap(s.buf) - if max > len(out) { - max = (len(out)/s.rate)*s.rate + s.rate - } - klmd(s.function, &s.a, s.buf[:max], s.buf) - s.buf = s.buf[:max] - } - - for len(out) > 0 { - // flush the buffer - if len(s.buf) != 0 { - c := copy(out, s.buf) - out = out[c:] - s.buf = s.buf[c:] - continue - } - - // write hash directly into out if possible - if len(out)%s.rate == 0 { - klmd(s.function|nopad, &s.a, out, nil) - return - } - - // write hash into buffer - s.resetBuf() - if cap(s.buf) > len(out) { - s.buf = s.buf[:(len(out)/s.rate)*s.rate+s.rate] - } - klmd(s.function|nopad, &s.a, s.buf, nil) - } - return -} - -// Sum appends the current hash to b and returns the resulting slice. -// It does not change the underlying hash state. -func (s *asmState) Sum(b []byte) []byte { - if s.state != spongeAbsorbing { - panic("sha3: Sum after Read") - } - - // Copy the state to preserve the original. - a := s.a - - // Hash the buffer. Note that we don't clear it because we - // aren't updating the state. - switch s.function { - case sha3_224, sha3_256, sha3_384, sha3_512: - klmd(s.function, &a, nil, s.buf) - return append(b, a[:s.outputLen]...) - case shake_128, shake_256: - d := make([]byte, s.outputLen, 64) - klmd(s.function, &a, d, s.buf) - return append(b, d[:s.outputLen]...) - default: - panic("sha3: unknown function") - } -} - -// Reset resets the Hash to its initial state. -func (s *asmState) Reset() { - for i := range s.a { - s.a[i] = 0 - } - s.resetBuf() - s.state = spongeAbsorbing -} - -// Size returns the number of bytes Sum will return. -func (s *asmState) Size() int { - return s.outputLen -} - -// BlockSize returns the hash's underlying block size. -// The Write method must be able to accept any amount -// of data, but it may operate more efficiently if all writes -// are a multiple of the block size. -func (s *asmState) BlockSize() int { - return s.rate -} - -// Clone returns a copy of the ShakeHash in its current state. -func (s *asmState) Clone() ShakeHash { - return s.clone() -} - -// new224 returns an assembly implementation of SHA3-224 if available, -// otherwise it returns a generic implementation. -func new224() hash.Hash { - if cpu.S390X.HasSHA3 { - return newAsmState(sha3_224) - } - return new224Generic() -} - -// new256 returns an assembly implementation of SHA3-256 if available, -// otherwise it returns a generic implementation. -func new256() hash.Hash { - if cpu.S390X.HasSHA3 { - return newAsmState(sha3_256) - } - return new256Generic() -} - -// new384 returns an assembly implementation of SHA3-384 if available, -// otherwise it returns a generic implementation. -func new384() hash.Hash { - if cpu.S390X.HasSHA3 { - return newAsmState(sha3_384) - } - return new384Generic() -} - -// new512 returns an assembly implementation of SHA3-512 if available, -// otherwise it returns a generic implementation. -func new512() hash.Hash { - if cpu.S390X.HasSHA3 { - return newAsmState(sha3_512) - } - return new512Generic() -} - -// newShake128 returns an assembly implementation of SHAKE-128 if available, -// otherwise it returns a generic implementation. -func newShake128() ShakeHash { - if cpu.S390X.HasSHA3 { - return newAsmState(shake_128) - } - return newShake128Generic() -} - -// newShake256 returns an assembly implementation of SHAKE-256 if available, -// otherwise it returns a generic implementation. -func newShake256() ShakeHash { - if cpu.S390X.HasSHA3 { - return newAsmState(shake_256) - } - return newShake256Generic() -} diff --git a/vendor/golang.org/x/crypto/sha3/sha3_s390x.s b/vendor/golang.org/x/crypto/sha3/sha3_s390x.s deleted file mode 100644 index 826b862c77..0000000000 --- a/vendor/golang.org/x/crypto/sha3/sha3_s390x.s +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2017 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build gc && !purego - -#include "textflag.h" - -// func kimd(function code, chain *[200]byte, src []byte) -TEXT ·kimd(SB), NOFRAME|NOSPLIT, $0-40 - MOVD function+0(FP), R0 - MOVD chain+8(FP), R1 - LMG src+16(FP), R2, R3 // R2=base, R3=len - -continue: - WORD $0xB93E0002 // KIMD --, R2 - BVS continue // continue if interrupted - MOVD $0, R0 // reset R0 for pre-go1.8 compilers - RET - -// func klmd(function code, chain *[200]byte, dst, src []byte) -TEXT ·klmd(SB), NOFRAME|NOSPLIT, $0-64 - // TODO: SHAKE support - MOVD function+0(FP), R0 - MOVD chain+8(FP), R1 - LMG dst+16(FP), R2, R3 // R2=base, R3=len - LMG src+40(FP), R4, R5 // R4=base, R5=len - -continue: - WORD $0xB93F0024 // KLMD R2, R4 - BVS continue // continue if interrupted - MOVD $0, R0 // reset R0 for pre-go1.8 compilers - RET diff --git a/vendor/golang.org/x/crypto/sha3/shake.go b/vendor/golang.org/x/crypto/sha3/shake.go index a6b3a4281f..6f3f70c265 100644 --- a/vendor/golang.org/x/crypto/sha3/shake.go +++ b/vendor/golang.org/x/crypto/sha3/shake.go @@ -4,24 +4,10 @@ package sha3 -// This file defines the ShakeHash interface, and provides -// functions for creating SHAKE and cSHAKE instances, as well as utility -// functions for hashing bytes to arbitrary-length output. -// -// -// SHAKE implementation is based on FIPS PUB 202 [1] -// cSHAKE implementations is based on NIST SP 800-185 [2] -// -// [1] https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.202.pdf -// [2] https://doi.org/10.6028/NIST.SP.800-185 - import ( - "bytes" - "encoding/binary" - "errors" + "crypto/sha3" "hash" "io" - "math/bits" ) // ShakeHash defines the interface to hash functions that support @@ -32,7 +18,7 @@ type ShakeHash interface { hash.Hash // Read reads more output from the hash; reading affects the hash's - // state. (ShakeHash.Read is thus very different from Hash.Sum) + // state. (ShakeHash.Read is thus very different from Hash.Sum.) // It never returns an error, but subsequent calls to Write or Sum // will panic. io.Reader @@ -41,115 +27,18 @@ type ShakeHash interface { Clone() ShakeHash } -// cSHAKE specific context -type cshakeState struct { - *state // SHA-3 state context and Read/Write operations - - // initBlock is the cSHAKE specific initialization set of bytes. It is initialized - // by newCShake function and stores concatenation of N followed by S, encoded - // by the method specified in 3.3 of [1]. - // It is stored here in order for Reset() to be able to put context into - // initial state. - initBlock []byte -} - -func bytepad(data []byte, rate int) []byte { - out := make([]byte, 0, 9+len(data)+rate-1) - out = append(out, leftEncode(uint64(rate))...) - out = append(out, data...) - if padlen := rate - len(out)%rate; padlen < rate { - out = append(out, make([]byte, padlen)...) - } - return out -} - -func leftEncode(x uint64) []byte { - // Let n be the smallest positive integer for which 2^(8n) > x. - n := (bits.Len64(x) + 7) / 8 - if n == 0 { - n = 1 - } - // Return n || x with n as a byte and x an n bytes in big-endian order. - b := make([]byte, 9) - binary.BigEndian.PutUint64(b[1:], x) - b = b[9-n-1:] - b[0] = byte(n) - return b -} - -func newCShake(N, S []byte, rate, outputLen int, dsbyte byte) ShakeHash { - c := cshakeState{state: &state{rate: rate, outputLen: outputLen, dsbyte: dsbyte}} - c.initBlock = make([]byte, 0, 9+len(N)+9+len(S)) // leftEncode returns max 9 bytes - c.initBlock = append(c.initBlock, leftEncode(uint64(len(N))*8)...) - c.initBlock = append(c.initBlock, N...) - c.initBlock = append(c.initBlock, leftEncode(uint64(len(S))*8)...) - c.initBlock = append(c.initBlock, S...) - c.Write(bytepad(c.initBlock, c.rate)) - return &c -} - -// Reset resets the hash to initial state. -func (c *cshakeState) Reset() { - c.state.Reset() - c.Write(bytepad(c.initBlock, c.rate)) -} - -// Clone returns copy of a cSHAKE context within its current state. -func (c *cshakeState) Clone() ShakeHash { - b := make([]byte, len(c.initBlock)) - copy(b, c.initBlock) - return &cshakeState{state: c.clone(), initBlock: b} -} - -// Clone returns copy of SHAKE context within its current state. -func (c *state) Clone() ShakeHash { - return c.clone() -} - -func (c *cshakeState) MarshalBinary() ([]byte, error) { - return c.AppendBinary(make([]byte, 0, marshaledSize+len(c.initBlock))) -} - -func (c *cshakeState) AppendBinary(b []byte) ([]byte, error) { - b, err := c.state.AppendBinary(b) - if err != nil { - return nil, err - } - b = append(b, c.initBlock...) - return b, nil -} - -func (c *cshakeState) UnmarshalBinary(b []byte) error { - if len(b) <= marshaledSize { - return errors.New("sha3: invalid hash state") - } - if err := c.state.UnmarshalBinary(b[:marshaledSize]); err != nil { - return err - } - c.initBlock = bytes.Clone(b[marshaledSize:]) - return nil -} - // NewShake128 creates a new SHAKE128 variable-output-length ShakeHash. // Its generic security strength is 128 bits against all attacks if at // least 32 bytes of its output are used. func NewShake128() ShakeHash { - return newShake128() + return &shakeWrapper{sha3.NewSHAKE128(), 32, false, sha3.NewSHAKE128} } // NewShake256 creates a new SHAKE256 variable-output-length ShakeHash. // Its generic security strength is 256 bits against all attacks if // at least 64 bytes of its output are used. func NewShake256() ShakeHash { - return newShake256() -} - -func newShake128Generic() *state { - return &state{rate: rateK256, outputLen: 32, dsbyte: dsbyteShake} -} - -func newShake256Generic() *state { - return &state{rate: rateK512, outputLen: 64, dsbyte: dsbyteShake} + return &shakeWrapper{sha3.NewSHAKE256(), 64, false, sha3.NewSHAKE256} } // NewCShake128 creates a new instance of cSHAKE128 variable-output-length ShakeHash, @@ -159,10 +48,9 @@ func newShake256Generic() *state { // computations on same input with different S yield unrelated outputs. // When N and S are both empty, this is equivalent to NewShake128. func NewCShake128(N, S []byte) ShakeHash { - if len(N) == 0 && len(S) == 0 { - return NewShake128() - } - return newCShake(N, S, rateK256, 32, dsbyteCShake) + return &shakeWrapper{sha3.NewCSHAKE128(N, S), 32, false, func() *sha3.SHAKE { + return sha3.NewCSHAKE128(N, S) + }} } // NewCShake256 creates a new instance of cSHAKE256 variable-output-length ShakeHash, @@ -172,10 +60,9 @@ func NewCShake128(N, S []byte) ShakeHash { // computations on same input with different S yield unrelated outputs. // When N and S are both empty, this is equivalent to NewShake256. func NewCShake256(N, S []byte) ShakeHash { - if len(N) == 0 && len(S) == 0 { - return NewShake256() - } - return newCShake(N, S, rateK512, 64, dsbyteCShake) + return &shakeWrapper{sha3.NewCSHAKE256(N, S), 64, false, func() *sha3.SHAKE { + return sha3.NewCSHAKE256(N, S) + }} } // ShakeSum128 writes an arbitrary-length digest of data into hash. @@ -191,3 +78,42 @@ func ShakeSum256(hash, data []byte) { h.Write(data) h.Read(hash) } + +// shakeWrapper adds the Size, Sum, and Clone methods to a sha3.SHAKE +// to implement the ShakeHash interface. +type shakeWrapper struct { + *sha3.SHAKE + outputLen int + squeezing bool + newSHAKE func() *sha3.SHAKE +} + +func (w *shakeWrapper) Read(p []byte) (n int, err error) { + w.squeezing = true + return w.SHAKE.Read(p) +} + +func (w *shakeWrapper) Clone() ShakeHash { + s := w.newSHAKE() + b, err := w.MarshalBinary() + if err != nil { + panic(err) // unreachable + } + if err := s.UnmarshalBinary(b); err != nil { + panic(err) // unreachable + } + return &shakeWrapper{s, w.outputLen, w.squeezing, w.newSHAKE} +} + +func (w *shakeWrapper) Size() int { return w.outputLen } + +func (w *shakeWrapper) Sum(b []byte) []byte { + if w.squeezing { + panic("sha3: Sum after Read") + } + out := make([]byte, w.outputLen) + // Clone the state so that we don't affect future Write calls. + s := w.Clone() + s.Read(out) + return append(b, out...) +} diff --git a/vendor/golang.org/x/crypto/sha3/shake_noasm.go b/vendor/golang.org/x/crypto/sha3/shake_noasm.go deleted file mode 100644 index 4276ba4ab2..0000000000 --- a/vendor/golang.org/x/crypto/sha3/shake_noasm.go +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2023 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build !gc || purego || !s390x - -package sha3 - -func newShake128() *state { - return newShake128Generic() -} - -func newShake256() *state { - return newShake256Generic() -} diff --git a/vendor/golang.org/x/mod/module/module.go b/vendor/golang.org/x/mod/module/module.go index 16e1aa7ab4..739c13f48f 100644 --- a/vendor/golang.org/x/mod/module/module.go +++ b/vendor/golang.org/x/mod/module/module.go @@ -261,7 +261,7 @@ func modPathOK(r rune) bool { // importPathOK reports whether r can appear in a package import path element. // -// Import paths are intermediate between module paths and file paths: we allow +// Import paths are intermediate between module paths and file paths: we // disallow characters that would be confusing or ambiguous as arguments to // 'go get' (such as '@' and ' ' ), but allow certain characters that are // otherwise-unambiguous on the command line and historically used for some @@ -802,8 +802,8 @@ func MatchPrefixPatterns(globs, target string) bool { for globs != "" { // Extract next non-empty glob in comma-separated list. var glob string - if i := strings.Index(globs, ","); i >= 0 { - glob, globs = globs[:i], globs[i+1:] + if before, after, ok := strings.Cut(globs, ","); ok { + glob, globs = before, after } else { glob, globs = globs, "" } diff --git a/vendor/golang.org/x/mod/semver/semver.go b/vendor/golang.org/x/mod/semver/semver.go index 628f8fd687..824b282c83 100644 --- a/vendor/golang.org/x/mod/semver/semver.go +++ b/vendor/golang.org/x/mod/semver/semver.go @@ -45,8 +45,8 @@ func IsValid(v string) bool { // Canonical returns the canonical formatting of the semantic version v. // It fills in any missing .MINOR or .PATCH and discards build metadata. -// Two semantic versions compare equal only if their canonical formattings -// are identical strings. +// Two semantic versions compare equal only if their canonical formatting +// is an identical string. // The canonical invalid semantic version is the empty string. func Canonical(v string) string { p, ok := parse(v) diff --git a/vendor/golang.org/x/oauth2/deviceauth.go b/vendor/golang.org/x/oauth2/deviceauth.go index e99c92f39c..e783a94374 100644 --- a/vendor/golang.org/x/oauth2/deviceauth.go +++ b/vendor/golang.org/x/oauth2/deviceauth.go @@ -6,6 +6,7 @@ import ( "errors" "fmt" "io" + "mime" "net/http" "net/url" "strings" @@ -116,10 +117,38 @@ func retrieveDeviceAuth(ctx context.Context, c *Config, v url.Values) (*DeviceAu return nil, fmt.Errorf("oauth2: cannot auth device: %v", err) } if code := r.StatusCode; code < 200 || code > 299 { - return nil, &RetrieveError{ + retrieveError := &RetrieveError{ Response: r, Body: body, } + + content, _, _ := mime.ParseMediaType(r.Header.Get("Content-Type")) + switch content { + case "application/x-www-form-urlencoded", "text/plain": + // some endpoints return a query string + vals, err := url.ParseQuery(string(body)) + if err != nil { + return nil, retrieveError + } + retrieveError.ErrorCode = vals.Get("error") + retrieveError.ErrorDescription = vals.Get("error_description") + retrieveError.ErrorURI = vals.Get("error_uri") + default: + var tj struct { + // https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 + ErrorCode string `json:"error"` + ErrorDescription string `json:"error_description"` + ErrorURI string `json:"error_uri"` + } + if json.Unmarshal(body, &tj) != nil { + return nil, retrieveError + } + retrieveError.ErrorCode = tj.ErrorCode + retrieveError.ErrorDescription = tj.ErrorDescription + retrieveError.ErrorURI = tj.ErrorURI + } + + return nil, retrieveError } da := &DeviceAuthResponse{} diff --git a/vendor/golang.org/x/oauth2/google/default.go b/vendor/golang.org/x/oauth2/google/default.go index 0260935bab..6e5720699c 100644 --- a/vendor/golang.org/x/oauth2/google/default.go +++ b/vendor/golang.org/x/oauth2/google/default.go @@ -153,6 +153,43 @@ func (params CredentialsParams) deepCopy() CredentialsParams { return paramsCopy } +// CredentialsType specifies the type of JSON credentials being provided +// to a loading function. +type CredentialsType string + +const ( + // ServiceAccount represents a service account file type. + ServiceAccount CredentialsType = "service_account" + // AuthorizedUser represents a user credentials file type. + AuthorizedUser CredentialsType = "authorized_user" + // ExternalAccount represents an external account file type. + // + // IMPORTANT: + // This credential type does not validate the credential configuration. A security + // risk occurs when a credential configuration configured with malicious urls + // is used. + // You should validate credential configurations provided by untrusted sources. + // See [Security requirements when using credential configurations from an external + // source] https://cloud.google.com/docs/authentication/external/externally-sourced-credentials + // for more details. + ExternalAccount CredentialsType = "external_account" + // ExternalAccountAuthorizedUser represents an external account authorized user file type. + ExternalAccountAuthorizedUser CredentialsType = "external_account_authorized_user" + // ImpersonatedServiceAccount represents an impersonated service account file type. + // + // IMPORTANT: + // This credential type does not validate the credential configuration. A security + // risk occurs when a credential configuration configured with malicious urls + // is used. + // You should validate credential configurations provided by untrusted sources. + // See [Security requirements when using credential configurations from an external + // source] https://cloud.google.com/docs/authentication/external/externally-sourced-credentials + // for more details. + ImpersonatedServiceAccount CredentialsType = "impersonated_service_account" + // GDCHServiceAccount represents a GDCH service account credentials. + GDCHServiceAccount CredentialsType = "gdch_service_account" +) + // DefaultClient returns an HTTP Client that uses the // DefaultTokenSource to obtain authentication credentials. func DefaultClient(ctx context.Context, scope ...string) (*http.Client, error) { @@ -246,17 +283,71 @@ func FindDefaultCredentials(ctx context.Context, scopes ...string) (*Credentials return FindDefaultCredentialsWithParams(ctx, params) } -// CredentialsFromJSONWithParams obtains Google credentials from a JSON value. The JSON can -// represent either a Google Developers Console client_credentials.json file (as in ConfigFromJSON), -// a Google Developers service account key file, a gcloud user credentials file (a.k.a. refresh -// token JSON), or the JSON configuration file for workload identity federation in non-Google cloud -// platforms (see https://cloud.google.com/iam/docs/how-to#using-workload-identity-federation). +// CredentialsFromJSONWithType invokes CredentialsFromJSONWithTypeAndParams with the specified scopes. // // Important: If you accept a credential configuration (credential JSON/File/Stream) from an // external source for authentication to Google Cloud Platform, you must validate it before // providing it to any Google API or library. Providing an unvalidated credential configuration to // Google APIs can compromise the security of your systems and data. For more information, refer to // [Validate credential configurations from external sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials). +func CredentialsFromJSONWithType(ctx context.Context, jsonData []byte, credType CredentialsType, scopes ...string) (*Credentials, error) { + var params CredentialsParams + params.Scopes = scopes + return CredentialsFromJSONWithTypeAndParams(ctx, jsonData, credType, params) +} + +// CredentialsFromJSONWithTypeAndParams obtains Google credentials from a JSON value and +// validates that the credentials match the specified type. +// +// Important: If you accept a credential configuration (credential JSON/File/Stream) from an +// external source for authentication to Google Cloud Platform, you must validate it before +// providing it to any Google API or library. Providing an unvalidated credential configuration to +// Google APIs can compromise the security of your systems and data. For more information, refer to +// [Validate credential configurations from external sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials). +func CredentialsFromJSONWithTypeAndParams(ctx context.Context, jsonData []byte, credType CredentialsType, params CredentialsParams) (*Credentials, error) { + var f struct { + Type string `json:"type"` + } + if err := json.Unmarshal(jsonData, &f); err != nil { + return nil, err + } + if CredentialsType(f.Type) != credType { + return nil, fmt.Errorf("google: expected credential type %q, found %q", credType, f.Type) + } + return CredentialsFromJSONWithParams(ctx, jsonData, params) +} + +// CredentialsFromJSONWithParams obtains Google credentials from a JSON value. The JSON can +// represent either a Google Developers Console client_credentials.json file (as in ConfigFromJSON), +// a Google Developers service account key file, a gcloud user credentials file (a.k.a. refresh +// token JSON), or the JSON configuration file for workload identity federation in non-Google cloud +// platforms (see https://cloud.google.com/iam/docs/how-to#using-workload-identity-federation). +// +// Deprecated: This function is deprecated because of a potential security risk. +// It does not validate the credential configuration. The security risk occurs +// when a credential configuration is accepted from a source that is not +// under your control and used without validation on your side. +// +// If you know that you will be loading credential configurations of a +// specific type, it is recommended to use a credential-type-specific +// CredentialsFromJSONWithTypeAndParams method. This will ensure that an unexpected +// credential type with potential for malicious intent is not loaded +// unintentionally. You might still have to do validation for certain +// credential types. Please follow the recommendation for that method. For +// example, if you want to load only service accounts, you can use +// +// creds, err := google.CredentialsFromJSONWithTypeAndParams(ctx, jsonData, google.ServiceAccount, params) +// +// If you are loading your credential configuration from an untrusted source +// and have not mitigated the risks (e.g. by validating the configuration +// yourself), make these changes as soon as possible to prevent security +// risks to your environment. +// +// Regardless of the method used, it is always your responsibility to +// validate configurations received from external sources. +// +// For more details see: +// https://cloud.google.com/docs/authentication/external/externally-sourced-credentials func CredentialsFromJSONWithParams(ctx context.Context, jsonData []byte, params CredentialsParams) (*Credentials, error) { // Make defensive copy of the slices in params. params = params.deepCopy() @@ -301,11 +392,31 @@ func CredentialsFromJSONWithParams(ctx context.Context, jsonData []byte, params // CredentialsFromJSON invokes CredentialsFromJSONWithParams with the specified scopes. // -// Important: If you accept a credential configuration (credential JSON/File/Stream) from an -// external source for authentication to Google Cloud Platform, you must validate it before -// providing it to any Google API or library. Providing an unvalidated credential configuration to -// Google APIs can compromise the security of your systems and data. For more information, refer to -// [Validate credential configurations from external sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials). +// Deprecated: This function is deprecated because of a potential security risk. +// It does not validate the credential configuration. The security risk occurs +// when a credential configuration is accepted from a source that is not +// under your control and used without validation on your side. +// +// If you know that you will be loading credential configurations of a +// specific type, it is recommended to use a credential-type-specific +// CredentialsFromJSONWithType method. This will ensure that an unexpected +// credential type with potential for malicious intent is not loaded +// unintentionally. You might still have to do validation for certain +// credential types. Please follow the recommendation for that method. For +// example, if you want to load only service accounts, you can use +// +// creds, err := google.CredentialsFromJSONWithType(ctx, jsonData, google.ServiceAccount, scopes...) +// +// If you are loading your credential configuration from an untrusted source +// and have not mitigated the risks (e.g. by validating the configuration +// yourself), make these changes as soon as possible to prevent security +// risks to your environment. +// +// Regardless of the method used, it is always your responsibility to +// validate configurations received from external sources. +// +// For more details see: +// https://cloud.google.com/docs/authentication/external/externally-sourced-credentials func CredentialsFromJSON(ctx context.Context, jsonData []byte, scopes ...string) (*Credentials, error) { var params CredentialsParams params.Scopes = scopes diff --git a/vendor/golang.org/x/oauth2/google/google.go b/vendor/golang.org/x/oauth2/google/google.go index e2eb9c9272..14c98eb693 100644 --- a/vendor/golang.org/x/oauth2/google/google.go +++ b/vendor/golang.org/x/oauth2/google/google.go @@ -103,6 +103,7 @@ const ( externalAccountKey = "external_account" externalAccountAuthorizedUserKey = "external_account_authorized_user" impersonatedServiceAccount = "impersonated_service_account" + gdchServiceAccountKey = "gdch_service_account" ) // credentialsFile is the unmarshalled representation of a credentials file. @@ -165,7 +166,7 @@ func (f *credentialsFile) jwtConfig(scopes []string, subject string) *jwt.Config func (f *credentialsFile) tokenSource(ctx context.Context, params CredentialsParams) (oauth2.TokenSource, error) { switch f.Type { - case serviceAccountKey: + case serviceAccountKey, gdchServiceAccountKey: cfg := f.jwtConfig(params.Scopes, params.Subject) return cfg.TokenSource(ctx), nil case userCredentialsKey: @@ -252,7 +253,7 @@ func (f *credentialsFile) tokenSource(ctx context.Context, params CredentialsPar // Further information about retrieving access tokens from the GCE metadata // server can be found at https://cloud.google.com/compute/docs/authentication. func ComputeTokenSource(account string, scope ...string) oauth2.TokenSource { - // refresh 3 minutes and 45 seconds early. The shortest MDS cache is currently 4 minutes, so any + // Refresh 3 minutes and 45 seconds early. The shortest MDS cache is currently 4 minutes, so any // refreshes earlier are a waste of compute. earlyExpirySecs := 225 * time.Second return computeTokenSource(account, earlyExpirySecs, scope...) diff --git a/vendor/golang.org/x/oauth2/oauth2.go b/vendor/golang.org/x/oauth2/oauth2.go index 3e3b630695..5c527d31fd 100644 --- a/vendor/golang.org/x/oauth2/oauth2.go +++ b/vendor/golang.org/x/oauth2/oauth2.go @@ -98,7 +98,7 @@ const ( // in the POST body as application/x-www-form-urlencoded parameters. AuthStyleInParams AuthStyle = 1 - // AuthStyleInHeader sends the client_id and client_password + // AuthStyleInHeader sends the client_id and client_secret // using HTTP Basic Authorization. This is an optional style // described in the OAuth2 RFC 6749 section 2.3.1. AuthStyleInHeader AuthStyle = 2 diff --git a/vendor/golang.org/x/oauth2/pkce.go b/vendor/golang.org/x/oauth2/pkce.go index cea8374d51..f99384f0f5 100644 --- a/vendor/golang.org/x/oauth2/pkce.go +++ b/vendor/golang.org/x/oauth2/pkce.go @@ -51,7 +51,7 @@ func S256ChallengeFromVerifier(verifier string) string { return base64.RawURLEncoding.EncodeToString(sha[:]) } -// S256ChallengeOption derives a PKCE code challenge derived from verifier with +// S256ChallengeOption derives a PKCE code challenge from the verifier with // method S256. It should be passed to [Config.AuthCodeURL] or [Config.DeviceAuth] // only. func S256ChallengeOption(verifier string) AuthCodeOption { diff --git a/vendor/golang.org/x/oauth2/token.go b/vendor/golang.org/x/oauth2/token.go index 239ec32962..e995eebb5e 100644 --- a/vendor/golang.org/x/oauth2/token.go +++ b/vendor/golang.org/x/oauth2/token.go @@ -103,7 +103,7 @@ func (t *Token) WithExtra(extra any) *Token { } // Extra returns an extra field. -// Extra fields are key-value pairs returned by the server as a +// Extra fields are key-value pairs returned by the server as // part of the token retrieval response. func (t *Token) Extra(key string) any { if raw, ok := t.raw.(map[string]any); ok { diff --git a/vendor/golang.org/x/oauth2/transport.go b/vendor/golang.org/x/oauth2/transport.go index 8bbebbac9e..9922ec3316 100644 --- a/vendor/golang.org/x/oauth2/transport.go +++ b/vendor/golang.org/x/oauth2/transport.go @@ -58,7 +58,7 @@ func (t *Transport) RoundTrip(req *http.Request) (*http.Response, error) { var cancelOnce sync.Once // CancelRequest does nothing. It used to be a legacy cancellation mechanism -// but now only it only logs on first use to warn that it's deprecated. +// but now only logs on first use to warn that it's deprecated. // // Deprecated: use contexts for cancellation instead. func (t *Transport) CancelRequest(req *http.Request) { diff --git a/vendor/golang.org/x/sync/errgroup/errgroup.go b/vendor/golang.org/x/sync/errgroup/errgroup.go index 2f45dbc86e..f69fd75468 100644 --- a/vendor/golang.org/x/sync/errgroup/errgroup.go +++ b/vendor/golang.org/x/sync/errgroup/errgroup.go @@ -144,8 +144,8 @@ func (g *Group) SetLimit(n int) { g.sem = nil return } - if len(g.sem) != 0 { - panic(fmt.Errorf("errgroup: modify limit while %v goroutines in the group are still active", len(g.sem))) + if active := len(g.sem); active != 0 { + panic(fmt.Errorf("errgroup: modify limit while %v goroutines in the group are still active", active)) } g.sem = make(chan token, n) } diff --git a/vendor/golang.org/x/sys/cpu/cpu.go b/vendor/golang.org/x/sys/cpu/cpu.go index 34c9ae76ef..63541994ef 100644 --- a/vendor/golang.org/x/sys/cpu/cpu.go +++ b/vendor/golang.org/x/sys/cpu/cpu.go @@ -92,9 +92,6 @@ var ARM64 struct { HasSHA2 bool // SHA2 hardware implementation HasCRC32 bool // CRC32 hardware implementation HasATOMICS bool // Atomic memory operation instruction set - HasHPDS bool // Hierarchical permission disables in translations tables - HasLOR bool // Limited ordering regions - HasPAN bool // Privileged access never HasFPHP bool // Half precision floating-point instruction set HasASIMDHP bool // Advanced SIMD half precision instruction set HasCPUID bool // CPUID identification scheme registers diff --git a/vendor/golang.org/x/sys/cpu/cpu_arm64.go b/vendor/golang.org/x/sys/cpu/cpu_arm64.go index f449c679fe..af2aa99f9f 100644 --- a/vendor/golang.org/x/sys/cpu/cpu_arm64.go +++ b/vendor/golang.org/x/sys/cpu/cpu_arm64.go @@ -65,10 +65,10 @@ func setMinimalFeatures() { func readARM64Registers() { Initialized = true - parseARM64SystemRegisters(getisar0(), getisar1(), getmmfr1(), getpfr0()) + parseARM64SystemRegisters(getisar0(), getisar1(), getpfr0()) } -func parseARM64SystemRegisters(isar0, isar1, mmfr1, pfr0 uint64) { +func parseARM64SystemRegisters(isar0, isar1, pfr0 uint64) { // ID_AA64ISAR0_EL1 switch extractBits(isar0, 4, 7) { case 1: @@ -152,22 +152,6 @@ func parseARM64SystemRegisters(isar0, isar1, mmfr1, pfr0 uint64) { ARM64.HasI8MM = true } - // ID_AA64MMFR1_EL1 - switch extractBits(mmfr1, 12, 15) { - case 1, 2: - ARM64.HasHPDS = true - } - - switch extractBits(mmfr1, 16, 19) { - case 1: - ARM64.HasLOR = true - } - - switch extractBits(mmfr1, 20, 23) { - case 1, 2, 3: - ARM64.HasPAN = true - } - // ID_AA64PFR0_EL1 switch extractBits(pfr0, 16, 19) { case 0: diff --git a/vendor/golang.org/x/sys/cpu/cpu_arm64.s b/vendor/golang.org/x/sys/cpu/cpu_arm64.s index a4f24b3b0c..3b0450a06a 100644 --- a/vendor/golang.org/x/sys/cpu/cpu_arm64.s +++ b/vendor/golang.org/x/sys/cpu/cpu_arm64.s @@ -20,13 +20,6 @@ TEXT ·getisar1(SB),NOSPLIT,$0-8 MOVD R0, ret+0(FP) RET -// func getmmfr1() uint64 -TEXT ·getmmfr1(SB),NOSPLIT,$0-8 - // get Memory Model Feature Register 1 into x0 - MRS ID_AA64MMFR1_EL1, R0 - MOVD R0, ret+0(FP) - RET - // func getpfr0() uint64 TEXT ·getpfr0(SB),NOSPLIT,$0-8 // get Processor Feature Register 0 into x0 diff --git a/vendor/golang.org/x/sys/cpu/cpu_gc_arm64.go b/vendor/golang.org/x/sys/cpu/cpu_gc_arm64.go index e3fc5a8d31..6ac6e1efb2 100644 --- a/vendor/golang.org/x/sys/cpu/cpu_gc_arm64.go +++ b/vendor/golang.org/x/sys/cpu/cpu_gc_arm64.go @@ -8,6 +8,5 @@ package cpu func getisar0() uint64 func getisar1() uint64 -func getmmfr1() uint64 func getpfr0() uint64 func getzfr0() uint64 diff --git a/vendor/golang.org/x/sys/cpu/cpu_gccgo_arm64.go b/vendor/golang.org/x/sys/cpu/cpu_gccgo_arm64.go index 8df2079e15..7f1946780b 100644 --- a/vendor/golang.org/x/sys/cpu/cpu_gccgo_arm64.go +++ b/vendor/golang.org/x/sys/cpu/cpu_gccgo_arm64.go @@ -8,5 +8,4 @@ package cpu func getisar0() uint64 { return 0 } func getisar1() uint64 { return 0 } -func getmmfr1() uint64 { return 0 } func getpfr0() uint64 { return 0 } diff --git a/vendor/golang.org/x/sys/cpu/cpu_netbsd_arm64.go b/vendor/golang.org/x/sys/cpu/cpu_netbsd_arm64.go index 19aea0633e..ebfb3fc8e7 100644 --- a/vendor/golang.org/x/sys/cpu/cpu_netbsd_arm64.go +++ b/vendor/golang.org/x/sys/cpu/cpu_netbsd_arm64.go @@ -167,7 +167,7 @@ func doinit() { setMinimalFeatures() return } - parseARM64SystemRegisters(cpuid.aa64isar0, cpuid.aa64isar1, cpuid.aa64mmfr1, cpuid.aa64pfr0) + parseARM64SystemRegisters(cpuid.aa64isar0, cpuid.aa64isar1, cpuid.aa64pfr0) Initialized = true } diff --git a/vendor/golang.org/x/sys/cpu/cpu_openbsd_arm64.go b/vendor/golang.org/x/sys/cpu/cpu_openbsd_arm64.go index 87fd3a7780..85b64d5ccb 100644 --- a/vendor/golang.org/x/sys/cpu/cpu_openbsd_arm64.go +++ b/vendor/golang.org/x/sys/cpu/cpu_openbsd_arm64.go @@ -59,7 +59,7 @@ func doinit() { if !ok { return } - parseARM64SystemRegisters(isar0, isar1, 0, 0) + parseARM64SystemRegisters(isar0, isar1, 0) Initialized = true } diff --git a/vendor/golang.org/x/sys/cpu/cpu_x86.go b/vendor/golang.org/x/sys/cpu/cpu_x86.go index 1e642f3304..f5723d4f7e 100644 --- a/vendor/golang.org/x/sys/cpu/cpu_x86.go +++ b/vendor/golang.org/x/sys/cpu/cpu_x86.go @@ -64,6 +64,80 @@ func initOptions() { func archInit() { + // From internal/cpu + const ( + // eax bits + cpuid_AVXVNNI = 1 << 4 + + // ecx bits + cpuid_SSE3 = 1 << 0 + cpuid_PCLMULQDQ = 1 << 1 + cpuid_AVX512VBMI = 1 << 1 + cpuid_AVX512VBMI2 = 1 << 6 + cpuid_SSSE3 = 1 << 9 + cpuid_AVX512GFNI = 1 << 8 + cpuid_AVX512VAES = 1 << 9 + cpuid_AVX512VNNI = 1 << 11 + cpuid_AVX512BITALG = 1 << 12 + cpuid_FMA = 1 << 12 + cpuid_AVX512VPOPCNTDQ = 1 << 14 + cpuid_SSE41 = 1 << 19 + cpuid_SSE42 = 1 << 20 + cpuid_POPCNT = 1 << 23 + cpuid_AES = 1 << 25 + cpuid_OSXSAVE = 1 << 27 + cpuid_AVX = 1 << 28 + + // "Extended Feature Flag" bits returned in EBX for CPUID EAX=0x7 ECX=0x0 + cpuid_BMI1 = 1 << 3 + cpuid_AVX2 = 1 << 5 + cpuid_BMI2 = 1 << 8 + cpuid_ERMS = 1 << 9 + cpuid_AVX512F = 1 << 16 + cpuid_AVX512DQ = 1 << 17 + cpuid_ADX = 1 << 19 + cpuid_AVX512CD = 1 << 28 + cpuid_SHA = 1 << 29 + cpuid_AVX512BW = 1 << 30 + cpuid_AVX512VL = 1 << 31 + + // "Extended Feature Flag" bits returned in ECX for CPUID EAX=0x7 ECX=0x0 + cpuid_AVX512_VBMI = 1 << 1 + cpuid_AVX512_VBMI2 = 1 << 6 + cpuid_GFNI = 1 << 8 + cpuid_AVX512VPCLMULQDQ = 1 << 10 + cpuid_AVX512_BITALG = 1 << 12 + + // edx bits + cpuid_FSRM = 1 << 4 + // edx bits for CPUID 0x80000001 + cpuid_RDTSCP = 1 << 27 + ) + // Additional constants not in internal/cpu + const ( + // eax=1: edx + cpuid_SSE2 = 1 << 26 + // eax=1: ecx + cpuid_CX16 = 1 << 13 + cpuid_RDRAND = 1 << 30 + // eax=7,ecx=0: ebx + cpuid_RDSEED = 1 << 18 + cpuid_AVX512IFMA = 1 << 21 + cpuid_AVX512PF = 1 << 26 + cpuid_AVX512ER = 1 << 27 + // eax=7,ecx=0: edx + cpuid_AVX5124VNNIW = 1 << 2 + cpuid_AVX5124FMAPS = 1 << 3 + cpuid_AMXBF16 = 1 << 22 + cpuid_AMXTile = 1 << 24 + cpuid_AMXInt8 = 1 << 25 + // eax=7,ecx=1: eax + cpuid_AVX512BF16 = 1 << 5 + cpuid_AVXIFMA = 1 << 23 + // eax=7,ecx=1: edx + cpuid_AVXVNNIInt8 = 1 << 4 + ) + Initialized = true maxID, _, _, _ := cpuid(0, 0) @@ -73,90 +147,90 @@ func archInit() { } _, _, ecx1, edx1 := cpuid(1, 0) - X86.HasSSE2 = isSet(26, edx1) - - X86.HasSSE3 = isSet(0, ecx1) - X86.HasPCLMULQDQ = isSet(1, ecx1) - X86.HasSSSE3 = isSet(9, ecx1) - X86.HasFMA = isSet(12, ecx1) - X86.HasCX16 = isSet(13, ecx1) - X86.HasSSE41 = isSet(19, ecx1) - X86.HasSSE42 = isSet(20, ecx1) - X86.HasPOPCNT = isSet(23, ecx1) - X86.HasAES = isSet(25, ecx1) - X86.HasOSXSAVE = isSet(27, ecx1) - X86.HasRDRAND = isSet(30, ecx1) + X86.HasSSE2 = isSet(edx1, cpuid_SSE2) + + X86.HasSSE3 = isSet(ecx1, cpuid_SSE3) + X86.HasPCLMULQDQ = isSet(ecx1, cpuid_PCLMULQDQ) + X86.HasSSSE3 = isSet(ecx1, cpuid_SSSE3) + X86.HasFMA = isSet(ecx1, cpuid_FMA) + X86.HasCX16 = isSet(ecx1, cpuid_CX16) + X86.HasSSE41 = isSet(ecx1, cpuid_SSE41) + X86.HasSSE42 = isSet(ecx1, cpuid_SSE42) + X86.HasPOPCNT = isSet(ecx1, cpuid_POPCNT) + X86.HasAES = isSet(ecx1, cpuid_AES) + X86.HasOSXSAVE = isSet(ecx1, cpuid_OSXSAVE) + X86.HasRDRAND = isSet(ecx1, cpuid_RDRAND) var osSupportsAVX, osSupportsAVX512 bool // For XGETBV, OSXSAVE bit is required and sufficient. if X86.HasOSXSAVE { eax, _ := xgetbv() // Check if XMM and YMM registers have OS support. - osSupportsAVX = isSet(1, eax) && isSet(2, eax) + osSupportsAVX = isSet(eax, 1<<1) && isSet(eax, 1<<2) if runtime.GOOS == "darwin" { // Darwin requires special AVX512 checks, see cpu_darwin_x86.go osSupportsAVX512 = osSupportsAVX && darwinSupportsAVX512() } else { // Check if OPMASK and ZMM registers have OS support. - osSupportsAVX512 = osSupportsAVX && isSet(5, eax) && isSet(6, eax) && isSet(7, eax) + osSupportsAVX512 = osSupportsAVX && isSet(eax, 1<<5) && isSet(eax, 1<<6) && isSet(eax, 1<<7) } } - X86.HasAVX = isSet(28, ecx1) && osSupportsAVX + X86.HasAVX = isSet(ecx1, cpuid_AVX) && osSupportsAVX if maxID < 7 { return } eax7, ebx7, ecx7, edx7 := cpuid(7, 0) - X86.HasBMI1 = isSet(3, ebx7) - X86.HasAVX2 = isSet(5, ebx7) && osSupportsAVX - X86.HasBMI2 = isSet(8, ebx7) - X86.HasERMS = isSet(9, ebx7) - X86.HasRDSEED = isSet(18, ebx7) - X86.HasADX = isSet(19, ebx7) - - X86.HasAVX512 = isSet(16, ebx7) && osSupportsAVX512 // Because avx-512 foundation is the core required extension + X86.HasBMI1 = isSet(ebx7, cpuid_BMI1) + X86.HasAVX2 = isSet(ebx7, cpuid_AVX2) && osSupportsAVX + X86.HasBMI2 = isSet(ebx7, cpuid_BMI2) + X86.HasERMS = isSet(ebx7, cpuid_ERMS) + X86.HasRDSEED = isSet(ebx7, cpuid_RDSEED) + X86.HasADX = isSet(ebx7, cpuid_ADX) + + X86.HasAVX512 = isSet(ebx7, cpuid_AVX512F) && osSupportsAVX512 // Because avx-512 foundation is the core required extension if X86.HasAVX512 { X86.HasAVX512F = true - X86.HasAVX512CD = isSet(28, ebx7) - X86.HasAVX512ER = isSet(27, ebx7) - X86.HasAVX512PF = isSet(26, ebx7) - X86.HasAVX512VL = isSet(31, ebx7) - X86.HasAVX512BW = isSet(30, ebx7) - X86.HasAVX512DQ = isSet(17, ebx7) - X86.HasAVX512IFMA = isSet(21, ebx7) - X86.HasAVX512VBMI = isSet(1, ecx7) - X86.HasAVX5124VNNIW = isSet(2, edx7) - X86.HasAVX5124FMAPS = isSet(3, edx7) - X86.HasAVX512VPOPCNTDQ = isSet(14, ecx7) - X86.HasAVX512VPCLMULQDQ = isSet(10, ecx7) - X86.HasAVX512VNNI = isSet(11, ecx7) - X86.HasAVX512GFNI = isSet(8, ecx7) - X86.HasAVX512VAES = isSet(9, ecx7) - X86.HasAVX512VBMI2 = isSet(6, ecx7) - X86.HasAVX512BITALG = isSet(12, ecx7) + X86.HasAVX512CD = isSet(ebx7, cpuid_AVX512CD) + X86.HasAVX512ER = isSet(ebx7, cpuid_AVX512ER) + X86.HasAVX512PF = isSet(ebx7, cpuid_AVX512PF) + X86.HasAVX512VL = isSet(ebx7, cpuid_AVX512VL) + X86.HasAVX512BW = isSet(ebx7, cpuid_AVX512BW) + X86.HasAVX512DQ = isSet(ebx7, cpuid_AVX512DQ) + X86.HasAVX512IFMA = isSet(ebx7, cpuid_AVX512IFMA) + X86.HasAVX512VBMI = isSet(ecx7, cpuid_AVX512_VBMI) + X86.HasAVX5124VNNIW = isSet(edx7, cpuid_AVX5124VNNIW) + X86.HasAVX5124FMAPS = isSet(edx7, cpuid_AVX5124FMAPS) + X86.HasAVX512VPOPCNTDQ = isSet(ecx7, cpuid_AVX512VPOPCNTDQ) + X86.HasAVX512VPCLMULQDQ = isSet(ecx7, cpuid_AVX512VPCLMULQDQ) + X86.HasAVX512VNNI = isSet(ecx7, cpuid_AVX512VNNI) + X86.HasAVX512GFNI = isSet(ecx7, cpuid_AVX512GFNI) + X86.HasAVX512VAES = isSet(ecx7, cpuid_AVX512VAES) + X86.HasAVX512VBMI2 = isSet(ecx7, cpuid_AVX512VBMI2) + X86.HasAVX512BITALG = isSet(ecx7, cpuid_AVX512BITALG) } - X86.HasAMXTile = isSet(24, edx7) - X86.HasAMXInt8 = isSet(25, edx7) - X86.HasAMXBF16 = isSet(22, edx7) + X86.HasAMXTile = isSet(edx7, cpuid_AMXTile) + X86.HasAMXInt8 = isSet(edx7, cpuid_AMXInt8) + X86.HasAMXBF16 = isSet(edx7, cpuid_AMXBF16) // These features depend on the second level of extended features. if eax7 >= 1 { eax71, _, _, edx71 := cpuid(7, 1) if X86.HasAVX512 { - X86.HasAVX512BF16 = isSet(5, eax71) + X86.HasAVX512BF16 = isSet(eax71, cpuid_AVX512BF16) } if X86.HasAVX { - X86.HasAVXIFMA = isSet(23, eax71) - X86.HasAVXVNNI = isSet(4, eax71) - X86.HasAVXVNNIInt8 = isSet(4, edx71) + X86.HasAVXIFMA = isSet(eax71, cpuid_AVXIFMA) + X86.HasAVXVNNI = isSet(eax71, cpuid_AVXVNNI) + X86.HasAVXVNNIInt8 = isSet(edx71, cpuid_AVXVNNIInt8) } } } -func isSet(bitpos uint, value uint32) bool { - return value&(1< #include #include +#include #include #include #include @@ -613,7 +614,7 @@ ccflags="$@" $2 !~ /IOC_MAGIC/ && $2 ~ /^[A-Z][A-Z0-9_]+_MAGIC2?$/ || $2 ~ /^(VM|VMADDR)_/ || - $2 ~ /^IOCTL_VM_SOCKETS_/ || + $2 ~ /^(IOCTL_VM_SOCKETS_|IOCTL_MEI_)/ || $2 ~ /^(TASKSTATS|TS)_/ || $2 ~ /^CGROUPSTATS_/ || $2 ~ /^GENL_/ || diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux.go b/vendor/golang.org/x/sys/unix/zerrors_linux.go index d0a75da572..120a7b35d1 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux.go @@ -1615,6 +1615,8 @@ const ( IN_OPEN = 0x20 IN_Q_OVERFLOW = 0x4000 IN_UNMOUNT = 0x2000 + IOCTL_MEI_CONNECT_CLIENT = 0xc0104801 + IOCTL_MEI_CONNECT_CLIENT_VTAG = 0xc0144804 IPPROTO_AH = 0x33 IPPROTO_BEETPH = 0x5e IPPROTO_COMP = 0x6c diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_386.go b/vendor/golang.org/x/sys/unix/zerrors_linux_386.go index 1c37f9fbc4..97a61fc5b8 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_386.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_386.go @@ -116,6 +116,8 @@ const ( IEXTEN = 0x8000 IN_CLOEXEC = 0x80000 IN_NONBLOCK = 0x800 + IOCTL_MEI_NOTIFY_GET = 0x80044803 + IOCTL_MEI_NOTIFY_SET = 0x40044802 IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x7b9 IPV6_FLOWINFO_MASK = 0xffffff0f IPV6_FLOWLABEL_MASK = 0xffff0f00 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go index 6f54d34aef..a0d6d498c4 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go @@ -116,6 +116,8 @@ const ( IEXTEN = 0x8000 IN_CLOEXEC = 0x80000 IN_NONBLOCK = 0x800 + IOCTL_MEI_NOTIFY_GET = 0x80044803 + IOCTL_MEI_NOTIFY_SET = 0x40044802 IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x7b9 IPV6_FLOWINFO_MASK = 0xffffff0f IPV6_FLOWLABEL_MASK = 0xffff0f00 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go b/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go index 783ec5c126..dd9c903f9a 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go @@ -115,6 +115,8 @@ const ( IEXTEN = 0x8000 IN_CLOEXEC = 0x80000 IN_NONBLOCK = 0x800 + IOCTL_MEI_NOTIFY_GET = 0x80044803 + IOCTL_MEI_NOTIFY_SET = 0x40044802 IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x7b9 IPV6_FLOWINFO_MASK = 0xffffff0f IPV6_FLOWLABEL_MASK = 0xffff0f00 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go index ca83d3ba16..384c61ca3a 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go @@ -120,6 +120,8 @@ const ( IEXTEN = 0x8000 IN_CLOEXEC = 0x80000 IN_NONBLOCK = 0x800 + IOCTL_MEI_NOTIFY_GET = 0x80044803 + IOCTL_MEI_NOTIFY_SET = 0x40044802 IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x7b9 IPV6_FLOWINFO_MASK = 0xffffff0f IPV6_FLOWLABEL_MASK = 0xffff0f00 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go index 607e611c0c..6384c9831f 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go @@ -116,6 +116,8 @@ const ( IEXTEN = 0x8000 IN_CLOEXEC = 0x80000 IN_NONBLOCK = 0x800 + IOCTL_MEI_NOTIFY_GET = 0x80044803 + IOCTL_MEI_NOTIFY_SET = 0x40044802 IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x7b9 IPV6_FLOWINFO_MASK = 0xffffff0f IPV6_FLOWLABEL_MASK = 0xffff0f00 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go index b9cb5bd3c0..553c1c6f15 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go @@ -115,6 +115,8 @@ const ( IEXTEN = 0x100 IN_CLOEXEC = 0x80000 IN_NONBLOCK = 0x80 + IOCTL_MEI_NOTIFY_GET = 0x40044803 + IOCTL_MEI_NOTIFY_SET = 0x80044802 IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x200007b9 IPV6_FLOWINFO_MASK = 0xfffffff IPV6_FLOWLABEL_MASK = 0xfffff diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go index 65b078a638..b3339f2099 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go @@ -115,6 +115,8 @@ const ( IEXTEN = 0x100 IN_CLOEXEC = 0x80000 IN_NONBLOCK = 0x80 + IOCTL_MEI_NOTIFY_GET = 0x40044803 + IOCTL_MEI_NOTIFY_SET = 0x80044802 IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x200007b9 IPV6_FLOWINFO_MASK = 0xfffffff IPV6_FLOWLABEL_MASK = 0xfffff diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go index 5298a3033d..177091d2bc 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go @@ -115,6 +115,8 @@ const ( IEXTEN = 0x100 IN_CLOEXEC = 0x80000 IN_NONBLOCK = 0x80 + IOCTL_MEI_NOTIFY_GET = 0x40044803 + IOCTL_MEI_NOTIFY_SET = 0x80044802 IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x200007b9 IPV6_FLOWINFO_MASK = 0xffffff0f IPV6_FLOWLABEL_MASK = 0xffff0f00 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go index 7bc557c876..c5abf156d0 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go @@ -115,6 +115,8 @@ const ( IEXTEN = 0x100 IN_CLOEXEC = 0x80000 IN_NONBLOCK = 0x80 + IOCTL_MEI_NOTIFY_GET = 0x40044803 + IOCTL_MEI_NOTIFY_SET = 0x80044802 IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x200007b9 IPV6_FLOWINFO_MASK = 0xffffff0f IPV6_FLOWLABEL_MASK = 0xffff0f00 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go index 152399bb04..f1f3fadf57 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go @@ -115,6 +115,8 @@ const ( IEXTEN = 0x400 IN_CLOEXEC = 0x80000 IN_NONBLOCK = 0x800 + IOCTL_MEI_NOTIFY_GET = 0x40044803 + IOCTL_MEI_NOTIFY_SET = 0x80044802 IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x200007b9 IPV6_FLOWINFO_MASK = 0xfffffff IPV6_FLOWLABEL_MASK = 0xfffff diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go index 1a1ce2409c..203ad9c54a 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go @@ -115,6 +115,8 @@ const ( IEXTEN = 0x400 IN_CLOEXEC = 0x80000 IN_NONBLOCK = 0x800 + IOCTL_MEI_NOTIFY_GET = 0x40044803 + IOCTL_MEI_NOTIFY_SET = 0x80044802 IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x200007b9 IPV6_FLOWINFO_MASK = 0xfffffff IPV6_FLOWLABEL_MASK = 0xfffff diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go index 4231a1fb57..4b9abcb21a 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go @@ -115,6 +115,8 @@ const ( IEXTEN = 0x400 IN_CLOEXEC = 0x80000 IN_NONBLOCK = 0x800 + IOCTL_MEI_NOTIFY_GET = 0x40044803 + IOCTL_MEI_NOTIFY_SET = 0x80044802 IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x200007b9 IPV6_FLOWINFO_MASK = 0xffffff0f IPV6_FLOWLABEL_MASK = 0xffff0f00 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go index 21c0e95266..f87983037d 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go @@ -115,6 +115,8 @@ const ( IEXTEN = 0x8000 IN_CLOEXEC = 0x80000 IN_NONBLOCK = 0x800 + IOCTL_MEI_NOTIFY_GET = 0x80044803 + IOCTL_MEI_NOTIFY_SET = 0x40044802 IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x7b9 IPV6_FLOWINFO_MASK = 0xffffff0f IPV6_FLOWLABEL_MASK = 0xffff0f00 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go b/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go index f00d1cd7cf..64347eb354 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go @@ -115,6 +115,8 @@ const ( IEXTEN = 0x8000 IN_CLOEXEC = 0x80000 IN_NONBLOCK = 0x800 + IOCTL_MEI_NOTIFY_GET = 0x80044803 + IOCTL_MEI_NOTIFY_SET = 0x40044802 IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x7b9 IPV6_FLOWINFO_MASK = 0xfffffff IPV6_FLOWLABEL_MASK = 0xfffff diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go index bc8d539e6a..7d71911718 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go @@ -119,6 +119,8 @@ const ( IEXTEN = 0x8000 IN_CLOEXEC = 0x400000 IN_NONBLOCK = 0x4000 + IOCTL_MEI_NOTIFY_GET = 0x40044803 + IOCTL_MEI_NOTIFY_SET = 0x80044802 IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x200007b9 IPV6_FLOWINFO_MASK = 0xfffffff IPV6_FLOWLABEL_MASK = 0xfffff diff --git a/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go b/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go index 439548ec9a..50e8e64497 100644 --- a/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go +++ b/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go @@ -104,7 +104,7 @@ type Statvfs_t struct { Fsid uint32 Namemax uint32 Owner uint32 - Spare [4]uint32 + Spare [4]uint64 Fstypename [32]byte Mntonname [1024]byte Mntfromname [1024]byte diff --git a/vendor/golang.org/x/text/encoding/japanese/eucjp.go b/vendor/golang.org/x/text/encoding/japanese/eucjp.go index 79313fa589..6fce8c5f52 100644 --- a/vendor/golang.org/x/text/encoding/japanese/eucjp.go +++ b/vendor/golang.org/x/text/encoding/japanese/eucjp.go @@ -17,9 +17,9 @@ import ( var EUCJP encoding.Encoding = &eucJP var eucJP = internal.Encoding{ - &internal.SimpleEncoding{eucJPDecoder{}, eucJPEncoder{}}, - "EUC-JP", - identifier.EUCPkdFmtJapanese, + Encoding: &internal.SimpleEncoding{Decoder: eucJPDecoder{}, Encoder: eucJPEncoder{}}, + Name: "EUC-JP", + MIB: identifier.EUCPkdFmtJapanese, } type eucJPDecoder struct{ transform.NopResetter } diff --git a/vendor/golang.org/x/text/encoding/japanese/iso2022jp.go b/vendor/golang.org/x/text/encoding/japanese/iso2022jp.go index 613226df5e..6f7bd460a6 100644 --- a/vendor/golang.org/x/text/encoding/japanese/iso2022jp.go +++ b/vendor/golang.org/x/text/encoding/japanese/iso2022jp.go @@ -17,9 +17,9 @@ import ( var ISO2022JP encoding.Encoding = &iso2022JP var iso2022JP = internal.Encoding{ - internal.FuncEncoding{iso2022JPNewDecoder, iso2022JPNewEncoder}, - "ISO-2022-JP", - identifier.ISO2022JP, + Encoding: internal.FuncEncoding{Decoder: iso2022JPNewDecoder, Encoder: iso2022JPNewEncoder}, + Name: "ISO-2022-JP", + MIB: identifier.ISO2022JP, } func iso2022JPNewDecoder() transform.Transformer { diff --git a/vendor/golang.org/x/text/encoding/japanese/shiftjis.go b/vendor/golang.org/x/text/encoding/japanese/shiftjis.go index 16fd8a6e3e..af65d43d95 100644 --- a/vendor/golang.org/x/text/encoding/japanese/shiftjis.go +++ b/vendor/golang.org/x/text/encoding/japanese/shiftjis.go @@ -18,9 +18,9 @@ import ( var ShiftJIS encoding.Encoding = &shiftJIS var shiftJIS = internal.Encoding{ - &internal.SimpleEncoding{shiftJISDecoder{}, shiftJISEncoder{}}, - "Shift JIS", - identifier.ShiftJIS, + Encoding: &internal.SimpleEncoding{Decoder: shiftJISDecoder{}, Encoder: shiftJISEncoder{}}, + Name: "Shift JIS", + MIB: identifier.ShiftJIS, } type shiftJISDecoder struct{ transform.NopResetter } diff --git a/vendor/golang.org/x/text/encoding/korean/euckr.go b/vendor/golang.org/x/text/encoding/korean/euckr.go index 034337f5df..81c834730c 100644 --- a/vendor/golang.org/x/text/encoding/korean/euckr.go +++ b/vendor/golang.org/x/text/encoding/korean/euckr.go @@ -20,9 +20,9 @@ var All = []encoding.Encoding{EUCKR} var EUCKR encoding.Encoding = &eucKR var eucKR = internal.Encoding{ - &internal.SimpleEncoding{eucKRDecoder{}, eucKREncoder{}}, - "EUC-KR", - identifier.EUCKR, + Encoding: &internal.SimpleEncoding{Decoder: eucKRDecoder{}, Encoder: eucKREncoder{}}, + Name: "EUC-KR", + MIB: identifier.EUCKR, } type eucKRDecoder struct{ transform.NopResetter } diff --git a/vendor/golang.org/x/text/encoding/simplifiedchinese/gbk.go b/vendor/golang.org/x/text/encoding/simplifiedchinese/gbk.go index 0e0fabfd6b..2f2fd5d449 100644 --- a/vendor/golang.org/x/text/encoding/simplifiedchinese/gbk.go +++ b/vendor/golang.org/x/text/encoding/simplifiedchinese/gbk.go @@ -22,21 +22,21 @@ var ( ) var gbk = internal.Encoding{ - &internal.SimpleEncoding{ - gbkDecoder{gb18030: false}, - gbkEncoder{gb18030: false}, + Encoding: &internal.SimpleEncoding{ + Decoder: gbkDecoder{gb18030: false}, + Encoder: gbkEncoder{gb18030: false}, }, - "GBK", - identifier.GBK, + Name: "GBK", + MIB: identifier.GBK, } var gbk18030 = internal.Encoding{ - &internal.SimpleEncoding{ - gbkDecoder{gb18030: true}, - gbkEncoder{gb18030: true}, + Encoding: &internal.SimpleEncoding{ + Decoder: gbkDecoder{gb18030: true}, + Encoder: gbkEncoder{gb18030: true}, }, - "GB18030", - identifier.GB18030, + Name: "GB18030", + MIB: identifier.GB18030, } type gbkDecoder struct { diff --git a/vendor/golang.org/x/text/encoding/simplifiedchinese/hzgb2312.go b/vendor/golang.org/x/text/encoding/simplifiedchinese/hzgb2312.go index e15b7bf6a7..351750e60e 100644 --- a/vendor/golang.org/x/text/encoding/simplifiedchinese/hzgb2312.go +++ b/vendor/golang.org/x/text/encoding/simplifiedchinese/hzgb2312.go @@ -17,9 +17,9 @@ import ( var HZGB2312 encoding.Encoding = &hzGB2312 var hzGB2312 = internal.Encoding{ - internal.FuncEncoding{hzGB2312NewDecoder, hzGB2312NewEncoder}, - "HZ-GB2312", - identifier.HZGB2312, + Encoding: internal.FuncEncoding{Decoder: hzGB2312NewDecoder, Encoder: hzGB2312NewEncoder}, + Name: "HZ-GB2312", + MIB: identifier.HZGB2312, } func hzGB2312NewDecoder() transform.Transformer { diff --git a/vendor/golang.org/x/text/encoding/traditionalchinese/big5.go b/vendor/golang.org/x/text/encoding/traditionalchinese/big5.go index 1fcddde082..5046920ee0 100644 --- a/vendor/golang.org/x/text/encoding/traditionalchinese/big5.go +++ b/vendor/golang.org/x/text/encoding/traditionalchinese/big5.go @@ -20,9 +20,9 @@ var All = []encoding.Encoding{Big5} var Big5 encoding.Encoding = &big5 var big5 = internal.Encoding{ - &internal.SimpleEncoding{big5Decoder{}, big5Encoder{}}, - "Big5", - identifier.Big5, + Encoding: &internal.SimpleEncoding{Decoder: big5Decoder{}, Encoder: big5Encoder{}}, + Name: "Big5", + MIB: identifier.Big5, } type big5Decoder struct{ transform.NopResetter } diff --git a/vendor/golang.org/x/text/encoding/unicode/unicode.go b/vendor/golang.org/x/text/encoding/unicode/unicode.go index dd99ad14d3..ce28c90628 100644 --- a/vendor/golang.org/x/text/encoding/unicode/unicode.go +++ b/vendor/golang.org/x/text/encoding/unicode/unicode.go @@ -60,9 +60,9 @@ func (utf8bomEncoding) NewDecoder() *encoding.Decoder { } var utf8enc = &internal.Encoding{ - &internal.SimpleEncoding{utf8Decoder{}, runes.ReplaceIllFormed()}, - "UTF-8", - identifier.UTF8, + Encoding: &internal.SimpleEncoding{Decoder: utf8Decoder{}, Encoder: runes.ReplaceIllFormed()}, + Name: "UTF-8", + MIB: identifier.UTF8, } type utf8bomDecoder struct { diff --git a/vendor/golang.org/x/tools/go/ast/astutil/imports.go b/vendor/golang.org/x/tools/go/ast/astutil/imports.go index 5bacc0fa49..adb4711019 100644 --- a/vendor/golang.org/x/tools/go/ast/astutil/imports.go +++ b/vendor/golang.org/x/tools/go/ast/astutil/imports.go @@ -9,6 +9,7 @@ import ( "fmt" "go/ast" "go/token" + "reflect" "slices" "strconv" "strings" @@ -149,7 +150,7 @@ func AddNamedImport(fset *token.FileSet, f *ast.File, name, path string) (added if newImport.Name != nil { newImport.Name.NamePos = pos } - newImport.Path.ValuePos = pos + updateBasicLitPos(newImport.Path, pos) newImport.EndPos = pos // Clean up parens. impDecl contains at least one spec. @@ -184,7 +185,7 @@ func AddNamedImport(fset *token.FileSet, f *ast.File, name, path string) (added first.Lparen = first.Pos() // Move the imports of the other import declaration to the first one. for _, spec := range gen.Specs { - spec.(*ast.ImportSpec).Path.ValuePos = first.Pos() + updateBasicLitPos(spec.(*ast.ImportSpec).Path, first.Pos()) first.Specs = append(first.Specs, spec) } f.Decls = slices.Delete(f.Decls, i, i+1) @@ -470,3 +471,17 @@ func Imports(fset *token.FileSet, f *ast.File) [][]*ast.ImportSpec { return groups } + +// updateBasicLitPos updates lit.Pos, +// ensuring that lit.End (if set) is displaced by the same amount. +// (See https://go.dev/issue/76395.) +func updateBasicLitPos(lit *ast.BasicLit, pos token.Pos) { + len := lit.End() - lit.Pos() + lit.ValuePos = pos + // TODO(adonovan): after go1.26, simplify to: + // lit.ValueEnd = pos + len + v := reflect.ValueOf(lit).Elem().FieldByName("ValueEnd") + if v.IsValid() && v.Int() != 0 { + v.SetInt(int64(pos + len)) + } +} diff --git a/vendor/golang.org/x/tools/go/ast/inspector/cursor.go b/vendor/golang.org/x/tools/go/ast/inspector/cursor.go index 7e72d3c284..60ad425f34 100644 --- a/vendor/golang.org/x/tools/go/ast/inspector/cursor.go +++ b/vendor/golang.org/x/tools/go/ast/inspector/cursor.go @@ -453,6 +453,9 @@ func (c Cursor) FindNode(n ast.Node) (Cursor, bool) { // rooted at c such that n.Pos() <= start && end <= n.End(). // (For an *ast.File, it uses the bounds n.FileStart-n.FileEnd.) // +// An empty range (start == end) between two adjacent nodes is +// considered to belong to the first node. +// // It returns zero if none is found. // Precondition: start <= end. // @@ -467,7 +470,9 @@ func (c Cursor) FindByPos(start, end token.Pos) (Cursor, bool) { // This algorithm could be implemented using c.Inspect, // but it is about 2.5x slower. - best := int32(-1) // push index of latest (=innermost) node containing range + // best is the push-index of the latest (=innermost) node containing range. + // (Beware: latest is not always innermost because FuncDecl.{Name,Type} overlap.) + best := int32(-1) for i, limit := c.indices(); i < limit; i++ { ev := events[i] if ev.index > i { // push? @@ -481,15 +486,35 @@ func (c Cursor) FindByPos(start, end token.Pos) (Cursor, bool) { continue } } else { + // Edge case: FuncDecl.Name and .Type overlap: + // Don't update best from Name to FuncDecl.Type. + // + // The condition can be read as: + // - n is FuncType + // - n.parent is FuncDecl + // - best is strictly beneath the FuncDecl + if ev.typ == 1< ev.parent { + continue + } + nodeEnd = n.End() if n.Pos() > start { break // disjoint, after; stop } } + // Inv: node.{Pos,FileStart} <= start if end <= nodeEnd { // node fully contains target range best = i + + // Don't search beyond end of the first match. + // This is important only for an empty range (start=end) + // between two adjoining nodes, which would otherwise + // match both nodes; we want to match only the first. + limit = ev.index } else if nodeEnd < start { i = ev.index // disjoint, before; skip forward } diff --git a/vendor/golang.org/x/tools/go/packages/packages.go b/vendor/golang.org/x/tools/go/packages/packages.go index 060ab08efb..ff607389da 100644 --- a/vendor/golang.org/x/tools/go/packages/packages.go +++ b/vendor/golang.org/x/tools/go/packages/packages.go @@ -1027,11 +1027,15 @@ func (ld *loader) refine(response *DriverResponse) ([]*Package, error) { // Precondition: ld.Mode&(NeedSyntax|NeedTypes|NeedTypesInfo) != 0. func (ld *loader) loadPackage(lpkg *loaderPackage) { if lpkg.PkgPath == "unsafe" { - // Fill in the blanks to avoid surprises. + // To avoid surprises, fill in the blanks consistent + // with other packages. (For example, some analyzers + // assert that each needed types.Info map is non-nil + // even when there is no syntax that would cause them + // to consult the map.) lpkg.Types = types.Unsafe lpkg.Fset = ld.Fset lpkg.Syntax = []*ast.File{} - lpkg.TypesInfo = new(types.Info) + lpkg.TypesInfo = ld.newTypesInfo() lpkg.TypesSizes = ld.sizes return } @@ -1180,20 +1184,7 @@ func (ld *loader) loadPackage(lpkg *loaderPackage) { return } - // Populate TypesInfo only if needed, as it - // causes the type checker to work much harder. - if ld.Config.Mode&NeedTypesInfo != 0 { - lpkg.TypesInfo = &types.Info{ - Types: make(map[ast.Expr]types.TypeAndValue), - Defs: make(map[*ast.Ident]types.Object), - Uses: make(map[*ast.Ident]types.Object), - Implicits: make(map[ast.Node]types.Object), - Instances: make(map[*ast.Ident]types.Instance), - Scopes: make(map[ast.Node]*types.Scope), - Selections: make(map[*ast.SelectorExpr]*types.Selection), - FileVersions: make(map[*ast.File]string), - } - } + lpkg.TypesInfo = ld.newTypesInfo() lpkg.TypesSizes = ld.sizes importer := importerFunc(func(path string) (*types.Package, error) { @@ -1307,6 +1298,24 @@ func (ld *loader) loadPackage(lpkg *loaderPackage) { lpkg.IllTyped = illTyped } +func (ld *loader) newTypesInfo() *types.Info { + // Populate TypesInfo only if needed, as it + // causes the type checker to work much harder. + if ld.Config.Mode&NeedTypesInfo == 0 { + return nil + } + return &types.Info{ + Types: make(map[ast.Expr]types.TypeAndValue), + Defs: make(map[*ast.Ident]types.Object), + Uses: make(map[*ast.Ident]types.Object), + Implicits: make(map[ast.Node]types.Object), + Instances: make(map[*ast.Ident]types.Instance), + Scopes: make(map[ast.Node]*types.Scope), + Selections: make(map[*ast.SelectorExpr]*types.Selection), + FileVersions: make(map[*ast.File]string), + } +} + // An importFunc is an implementation of the single-method // types.Importer interface based on a function value. type importerFunc func(path string) (*types.Package, error) diff --git a/vendor/golang.org/x/tools/go/packages/visit.go b/vendor/golang.org/x/tools/go/packages/visit.go index af6a60d75f..c546b1b63e 100644 --- a/vendor/golang.org/x/tools/go/packages/visit.go +++ b/vendor/golang.org/x/tools/go/packages/visit.go @@ -78,7 +78,7 @@ func PrintErrors(pkgs []*Package) int { return n } -// Postorder returns an iterator over the the packages in +// Postorder returns an iterator over the packages in // the import graph whose roots are pkg. // Packages are enumerated in dependencies-first order. func Postorder(pkgs []*Package) iter.Seq[*Package] { diff --git a/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go b/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go index 6c0c74968f..6646bf5508 100644 --- a/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go +++ b/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go @@ -249,7 +249,7 @@ func (enc *Encoder) For(obj types.Object) (Path, error) { case *types.Func: // A func, if not package-level, must be a method. - if recv := obj.Type().(*types.Signature).Recv(); recv == nil { + if recv := obj.Signature().Recv(); recv == nil { return "", fmt.Errorf("func is not a method: %v", obj) } @@ -405,7 +405,7 @@ func (enc *Encoder) concreteMethod(meth *types.Func) (Path, bool) { return "", false } - _, named := typesinternal.ReceiverNamed(meth.Type().(*types.Signature).Recv()) + _, named := typesinternal.ReceiverNamed(meth.Signature().Recv()) if named == nil { return "", false } diff --git a/vendor/golang.org/x/tools/go/types/typeutil/callee.go b/vendor/golang.org/x/tools/go/types/typeutil/callee.go index 5f10f56cba..3d24a8c637 100644 --- a/vendor/golang.org/x/tools/go/types/typeutil/callee.go +++ b/vendor/golang.org/x/tools/go/types/typeutil/callee.go @@ -12,6 +12,7 @@ import ( // Callee returns the named target of a function call, if any: // a function, method, builtin, or variable. +// It returns nil for a T(x) conversion. // // Functions and methods may potentially have type parameters. // diff --git a/vendor/golang.org/x/tools/go/types/typeutil/map.go b/vendor/golang.org/x/tools/go/types/typeutil/map.go index f035a0b6be..36624572a6 100644 --- a/vendor/golang.org/x/tools/go/types/typeutil/map.go +++ b/vendor/golang.org/x/tools/go/types/typeutil/map.go @@ -304,8 +304,7 @@ func (h hasher) hash(t types.Type) uint32 { case *types.Named: hash := h.hashTypeName(t.Obj()) targs := t.TypeArgs() - for i := 0; i < targs.Len(); i++ { - targ := targs.At(i) + for targ := range targs.Types() { hash += 2 * h.hash(targ) } return hash diff --git a/vendor/golang.org/x/tools/imports/forward.go b/vendor/golang.org/x/tools/imports/forward.go index 22ae777726..5d120d077c 100644 --- a/vendor/golang.org/x/tools/imports/forward.go +++ b/vendor/golang.org/x/tools/imports/forward.go @@ -69,3 +69,9 @@ func Process(filename string, src []byte, opt *Options) ([]byte, error) { } return intimp.Process(filename, src, intopt) } + +// VendorlessPath returns the devendorized version of the import path ipath. +// For example, VendorlessPath("foo/barbendor/a/b") return "a/b". +func VendorlessPath(ipath string) string { + return intimp.VendorlessPath(ipath) +} diff --git a/vendor/golang.org/x/tools/internal/event/core/export.go b/vendor/golang.org/x/tools/internal/event/core/export.go index 05f3a9a579..16ae6bb021 100644 --- a/vendor/golang.org/x/tools/internal/event/core/export.go +++ b/vendor/golang.org/x/tools/internal/event/core/export.go @@ -8,7 +8,6 @@ import ( "context" "sync/atomic" "time" - "unsafe" "golang.org/x/tools/internal/event/label" ) @@ -17,23 +16,21 @@ import ( // It may return a modified context and event. type Exporter func(context.Context, Event, label.Map) context.Context -var ( - exporter unsafe.Pointer -) +var exporter atomic.Pointer[Exporter] // SetExporter sets the global exporter function that handles all events. // The exporter is called synchronously from the event call site, so it should // return quickly so as not to hold up user code. func SetExporter(e Exporter) { - p := unsafe.Pointer(&e) if e == nil { // &e is always valid, and so p is always valid, but for the early abort // of ProcessEvent to be efficient it needs to make the nil check on the // pointer without having to dereference it, so we make the nil function // also a nil pointer - p = nil + exporter.Store(nil) + } else { + exporter.Store(&e) } - atomic.StorePointer(&exporter, p) } // deliver is called to deliver an event to the supplied exporter. @@ -48,7 +45,7 @@ func deliver(ctx context.Context, exporter Exporter, ev Event) context.Context { // Export is called to deliver an event to the global exporter if set. func Export(ctx context.Context, ev Event) context.Context { // get the global exporter and abort early if there is not one - exporterPtr := (*Exporter)(atomic.LoadPointer(&exporter)) + exporterPtr := exporter.Load() if exporterPtr == nil { return ctx } @@ -61,7 +58,7 @@ func Export(ctx context.Context, ev Event) context.Context { // It will fill in the time. func ExportPair(ctx context.Context, begin, end Event) (context.Context, func()) { // get the global exporter and abort early if there is not one - exporterPtr := (*Exporter)(atomic.LoadPointer(&exporter)) + exporterPtr := exporter.Load() if exporterPtr == nil { return ctx, func() {} } diff --git a/vendor/golang.org/x/tools/internal/event/label/label.go b/vendor/golang.org/x/tools/internal/event/label/label.go index 92a3910573..c37584af94 100644 --- a/vendor/golang.org/x/tools/internal/event/label/label.go +++ b/vendor/golang.org/x/tools/internal/event/label/label.go @@ -7,7 +7,6 @@ package label import ( "fmt" "io" - "reflect" "slices" "unsafe" ) @@ -103,11 +102,10 @@ type stringptr unsafe.Pointer // This method is for implementing new key types, label creation should // normally be done with the Of method of the key. func OfString(k Key, v string) Label { - hdr := (*reflect.StringHeader)(unsafe.Pointer(&v)) return Label{ key: k, - packed: uint64(hdr.Len), - untyped: stringptr(hdr.Data), + packed: uint64(len(v)), + untyped: stringptr(unsafe.StringData(v)), } } @@ -116,11 +114,7 @@ func OfString(k Key, v string) Label { // This method is for implementing new key types, for type safety normal // access should be done with the From method of the key. func (t Label) UnpackString() string { - var v string - hdr := (*reflect.StringHeader)(unsafe.Pointer(&v)) - hdr.Data = uintptr(t.untyped.(stringptr)) - hdr.Len = int(t.packed) - return v + return unsafe.String((*byte)(t.untyped.(stringptr)), int(t.packed)) } // Valid returns true if the Label is a valid one (it has a key). diff --git a/vendor/golang.org/x/tools/internal/gcimporter/bimport.go b/vendor/golang.org/x/tools/internal/gcimporter/bimport.go index 734c46198d..555ef626c0 100644 --- a/vendor/golang.org/x/tools/internal/gcimporter/bimport.go +++ b/vendor/golang.org/x/tools/internal/gcimporter/bimport.go @@ -34,7 +34,7 @@ type fileInfo struct { const maxlines = 64 * 1024 func (s *fakeFileSet) pos(file string, line, column int) token.Pos { - // TODO(mdempsky): Make use of column. + _ = column // TODO(mdempsky): Make use of column. // Since we don't know the set of needed file positions, we reserve maxlines // positions per file. We delay calling token.File.SetLines until all diff --git a/vendor/golang.org/x/tools/internal/gcimporter/iexport.go b/vendor/golang.org/x/tools/internal/gcimporter/iexport.go index 4a4357d2bd..2bef2b058b 100644 --- a/vendor/golang.org/x/tools/internal/gcimporter/iexport.go +++ b/vendor/golang.org/x/tools/internal/gcimporter/iexport.go @@ -829,8 +829,7 @@ func (p *iexporter) doDecl(obj types.Object) { // their name must be qualified before exporting recv. if rparams := sig.RecvTypeParams(); rparams.Len() > 0 { prefix := obj.Name() + "." + m.Name() - for i := 0; i < rparams.Len(); i++ { - rparam := rparams.At(i) + for rparam := range rparams.TypeParams() { name := tparamExportName(prefix, rparam) w.p.tparamNames[rparam.Obj()] = name } @@ -944,6 +943,13 @@ func (w *exportWriter) posV0(pos token.Pos) { } func (w *exportWriter) pkg(pkg *types.Package) { + if pkg == nil { + // [exportWriter.typ] accepts a nil pkg only for types + // of constants, which cannot contain named objects + // such as fields or methods and thus should never + // reach this method (#76222). + panic("nil package") + } // Ensure any referenced packages are declared in the main index. w.p.allPkgs[pkg] = true @@ -959,9 +965,11 @@ func (w *exportWriter) qualifiedType(obj *types.TypeName) { w.pkg(obj.Pkg()) } -// TODO(rfindley): what does 'pkg' even mean here? It would be better to pass -// it in explicitly into signatures and structs that may use it for -// constructing fields. +// typ emits the specified type. +// +// Objects within the type (struct fields and interface methods) are +// qualified by pkg. It may be nil if the type cannot contain objects, +// such as the type of a constant. func (w *exportWriter) typ(t types.Type, pkg *types.Package) { w.data.uint64(w.p.typOff(t, pkg)) } @@ -991,6 +999,7 @@ func (w *exportWriter) startType(k itag) { w.data.uint64(uint64(k)) } +// doTyp is the implementation of [exportWriter.typ]. func (w *exportWriter) doTyp(t types.Type, pkg *types.Package) { if trace { w.p.trace("exporting type %s (%T)", t, t) @@ -1064,7 +1073,7 @@ func (w *exportWriter) doTyp(t types.Type, pkg *types.Package) { case *types.Signature: w.startType(signatureType) - w.pkg(pkg) + w.pkg(pkg) // qualifies param/result vars w.signature(t) case *types.Struct: @@ -1110,19 +1119,19 @@ func (w *exportWriter) doTyp(t types.Type, pkg *types.Package) { case *types.Interface: w.startType(interfaceType) - w.pkg(pkg) + w.pkg(pkg) // qualifies unexported method funcs n := t.NumEmbeddeds() w.uint64(uint64(n)) for i := 0; i < n; i++ { ft := t.EmbeddedType(i) - tPkg := pkg if named, _ := types.Unalias(ft).(*types.Named); named != nil { w.pos(named.Obj().Pos()) } else { + // e.g. ~int w.pos(token.NoPos) } - w.typ(ft, tPkg) + w.typ(ft, pkg) } // See comment for struct fields. In shallow mode we change the encoding @@ -1223,20 +1232,19 @@ func (w *exportWriter) signature(sig *types.Signature) { func (w *exportWriter) typeList(ts *types.TypeList, pkg *types.Package) { w.uint64(uint64(ts.Len())) - for i := 0; i < ts.Len(); i++ { - w.typ(ts.At(i), pkg) + for t := range ts.Types() { + w.typ(t, pkg) } } func (w *exportWriter) tparamList(prefix string, list *types.TypeParamList, pkg *types.Package) { ll := uint64(list.Len()) w.uint64(ll) - for i := 0; i < list.Len(); i++ { - tparam := list.At(i) + for tparam := range list.TypeParams() { // Set the type parameter exportName before exporting its type. exportName := tparamExportName(prefix, tparam) w.p.tparamNames[tparam.Obj()] = exportName - w.typ(list.At(i), pkg) + w.typ(tparam, pkg) } } diff --git a/vendor/golang.org/x/tools/internal/gcimporter/iimport.go b/vendor/golang.org/x/tools/internal/gcimporter/iimport.go index 82e6c9d2dc..4d6d50094a 100644 --- a/vendor/golang.org/x/tools/internal/gcimporter/iimport.go +++ b/vendor/golang.org/x/tools/internal/gcimporter/iimport.go @@ -432,10 +432,10 @@ func (p *iimporter) doDecl(pkg *types.Package, name string) { errorf("%v.%v not in index", pkg, name) } - r := &importReader{p: p, currPkg: pkg} + r := &importReader{p: p} r.declReader.Reset(p.declData[off:]) - r.obj(name) + r.obj(pkg, name) } func (p *iimporter) stringAt(off uint64) string { @@ -551,7 +551,6 @@ func canReuse(def *types.Named, rhs types.Type) bool { type importReader struct { p *iimporter declReader bytes.Reader - currPkg *types.Package prevFile string prevLine int64 prevColumn int64 @@ -565,7 +564,8 @@ type importReader struct { // for 1.24, but the fix was not worth back-porting). var markBlack = func(name *types.TypeName) {} -func (r *importReader) obj(name string) { +// obj decodes and declares the package-level object denoted by (pkg, name). +func (r *importReader) obj(pkg *types.Package, name string) { tag := r.byte() pos := r.pos() @@ -576,27 +576,27 @@ func (r *importReader) obj(name string) { tparams = r.tparamList() } typ := r.typ() - obj := aliases.NewAlias(r.p.aliases, pos, r.currPkg, name, typ, tparams) + obj := aliases.NewAlias(r.p.aliases, pos, pkg, name, typ, tparams) markBlack(obj) // workaround for golang/go#69912 r.declare(obj) case constTag: typ, val := r.value() - r.declare(types.NewConst(pos, r.currPkg, name, typ, val)) + r.declare(types.NewConst(pos, pkg, name, typ, val)) case funcTag, genericFuncTag: var tparams []*types.TypeParam if tag == genericFuncTag { tparams = r.tparamList() } - sig := r.signature(nil, nil, tparams) - r.declare(types.NewFunc(pos, r.currPkg, name, sig)) + sig := r.signature(pkg, nil, nil, tparams) + r.declare(types.NewFunc(pos, pkg, name, sig)) case typeTag, genericTypeTag: // Types can be recursive. We need to setup a stub // declaration before recursing. - obj := types.NewTypeName(pos, r.currPkg, name, nil) + obj := types.NewTypeName(pos, pkg, name, nil) named := types.NewNamed(obj, nil, nil) markBlack(obj) // workaround for golang/go#69912 @@ -616,7 +616,7 @@ func (r *importReader) obj(name string) { for n := r.uint64(); n > 0; n-- { mpos := r.pos() mname := r.ident() - recv := r.param() + recv := r.param(pkg) // If the receiver has any targs, set those as the // rparams of the method (since those are the @@ -630,9 +630,9 @@ func (r *importReader) obj(name string) { rparams[i] = types.Unalias(targs.At(i)).(*types.TypeParam) } } - msig := r.signature(recv, rparams, nil) + msig := r.signature(pkg, recv, rparams, nil) - named.AddMethod(types.NewFunc(mpos, r.currPkg, mname, msig)) + named.AddMethod(types.NewFunc(mpos, pkg, mname, msig)) } } @@ -644,12 +644,12 @@ func (r *importReader) obj(name string) { errorf("unexpected type param type") } name0 := tparamName(name) - tn := types.NewTypeName(pos, r.currPkg, name0, nil) + tn := types.NewTypeName(pos, pkg, name0, nil) t := types.NewTypeParam(tn, nil) // To handle recursive references to the typeparam within its // bound, save the partial type in tparamIndex before reading the bounds. - id := ident{r.currPkg, name} + id := ident{pkg, name} r.p.tparamIndex[id] = t var implicit bool if r.p.version >= iexportVersionGo1_18 { @@ -672,7 +672,7 @@ func (r *importReader) obj(name string) { case varTag: typ := r.typ() - v := types.NewVar(pos, r.currPkg, name, typ) + v := types.NewVar(pos, pkg, name, typ) typesinternal.SetVarKind(v, typesinternal.PackageVar) r.declare(v) @@ -905,11 +905,11 @@ func (r *importReader) doType(base *types.Named) (res types.Type) { case mapType: return types.NewMap(r.typ(), r.typ()) case signatureType: - r.currPkg = r.pkg() - return r.signature(nil, nil, nil) + paramPkg := r.pkg() + return r.signature(paramPkg, nil, nil, nil) case structType: - r.currPkg = r.pkg() + fieldPkg := r.pkg() fields := make([]*types.Var, r.uint64()) tags := make([]string, len(fields)) @@ -932,7 +932,7 @@ func (r *importReader) doType(base *types.Named) (res types.Type) { // discussed in iexport.go, this is not correct, but mostly works and is // preferable to failing (for now at least). if field == nil { - field = types.NewField(fpos, r.currPkg, fname, ftyp, emb) + field = types.NewField(fpos, fieldPkg, fname, ftyp, emb) } fields[i] = field @@ -941,7 +941,7 @@ func (r *importReader) doType(base *types.Named) (res types.Type) { return types.NewStruct(fields, tags) case interfaceType: - r.currPkg = r.pkg() + methodPkg := r.pkg() // qualifies methods and their param/result vars embeddeds := make([]types.Type, r.uint64()) for i := range embeddeds { @@ -963,12 +963,12 @@ func (r *importReader) doType(base *types.Named) (res types.Type) { // don't agree with this. var recv *types.Var if base != nil { - recv = types.NewVar(token.NoPos, r.currPkg, "", base) + recv = types.NewVar(token.NoPos, methodPkg, "", base) } - msig := r.signature(recv, nil, nil) + msig := r.signature(methodPkg, recv, nil, nil) if method == nil { - method = types.NewFunc(mpos, r.currPkg, mname, msig) + method = types.NewFunc(mpos, methodPkg, mname, msig) } methods[i] = method } @@ -1049,9 +1049,9 @@ func (r *importReader) objectPathObject() types.Object { return obj } -func (r *importReader) signature(recv *types.Var, rparams []*types.TypeParam, tparams []*types.TypeParam) *types.Signature { - params := r.paramList() - results := r.paramList() +func (r *importReader) signature(paramPkg *types.Package, recv *types.Var, rparams []*types.TypeParam, tparams []*types.TypeParam) *types.Signature { + params := r.paramList(paramPkg) + results := r.paramList(paramPkg) variadic := params.Len() > 0 && r.bool() return types.NewSignatureType(recv, rparams, tparams, params, results, variadic) } @@ -1070,19 +1070,19 @@ func (r *importReader) tparamList() []*types.TypeParam { return xs } -func (r *importReader) paramList() *types.Tuple { +func (r *importReader) paramList(pkg *types.Package) *types.Tuple { xs := make([]*types.Var, r.uint64()) for i := range xs { - xs[i] = r.param() + xs[i] = r.param(pkg) } return types.NewTuple(xs...) } -func (r *importReader) param() *types.Var { +func (r *importReader) param(pkg *types.Package) *types.Var { pos := r.pos() name := r.ident() typ := r.typ() - return types.NewParam(pos, r.currPkg, name, typ) + return types.NewParam(pos, pkg, name, typ) } func (r *importReader) bool() bool { diff --git a/vendor/golang.org/x/tools/internal/imports/sortimports.go b/vendor/golang.org/x/tools/internal/imports/sortimports.go index 67c17bc431..f390be90f1 100644 --- a/vendor/golang.org/x/tools/internal/imports/sortimports.go +++ b/vendor/golang.org/x/tools/internal/imports/sortimports.go @@ -11,6 +11,7 @@ import ( "go/ast" "go/token" "log" + "reflect" "slices" "sort" "strconv" @@ -65,7 +66,7 @@ func sortImports(localPrefix string, tokFile *token.File, f *ast.File) { } // mergeImports merges all the import declarations into the first one. -// Taken from golang.org/x/tools/ast/astutil. +// Taken from golang.org/x/tools/go/ast/astutil. // This does not adjust line numbers properly func mergeImports(f *ast.File) { if len(f.Decls) <= 1 { @@ -89,7 +90,7 @@ func mergeImports(f *ast.File) { first.Lparen = first.Pos() // Move the imports of the other import declaration to the first one. for _, spec := range gen.Specs { - spec.(*ast.ImportSpec).Path.ValuePos = first.Pos() + updateBasicLitPos(spec.(*ast.ImportSpec).Path, first.Pos()) first.Specs = append(first.Specs, spec) } f.Decls = slices.Delete(f.Decls, i, i+1) @@ -98,7 +99,7 @@ func mergeImports(f *ast.File) { } // declImports reports whether gen contains an import of path. -// Taken from golang.org/x/tools/ast/astutil. +// Taken from golang.org/x/tools/go/ast/astutil. func declImports(gen *ast.GenDecl, path string) bool { if gen.Tok != token.IMPORT { return false @@ -221,7 +222,7 @@ func sortSpecs(localPrefix string, tokFile *token.File, f *ast.File, specs []ast if s.Name != nil { s.Name.NamePos = pos[i].Start } - s.Path.ValuePos = pos[i].Start + updateBasicLitPos(s.Path, pos[i].Start) s.EndPos = pos[i].End nextSpecPos := pos[i].End @@ -296,3 +297,17 @@ type byCommentPos []*ast.CommentGroup func (x byCommentPos) Len() int { return len(x) } func (x byCommentPos) Swap(i, j int) { x[i], x[j] = x[j], x[i] } func (x byCommentPos) Less(i, j int) bool { return x[i].Pos() < x[j].Pos() } + +// updateBasicLitPos updates lit.Pos, +// ensuring that lit.End (if set) is displaced by the same amount. +// (See https://go.dev/issue/76395.) +func updateBasicLitPos(lit *ast.BasicLit, pos token.Pos) { + len := lit.End() - lit.Pos() + lit.ValuePos = pos + // TODO(adonovan): after go1.26, simplify to: + // lit.ValueEnd = pos + len + v := reflect.ValueOf(lit).Elem().FieldByName("ValueEnd") + if v.IsValid() && v.Int() != 0 { + v.SetInt(int64(pos + len)) + } +} diff --git a/vendor/golang.org/x/tools/internal/modindex/index.go b/vendor/golang.org/x/tools/internal/modindex/index.go index c41d1dd903..c7ef97dcd7 100644 --- a/vendor/golang.org/x/tools/internal/modindex/index.go +++ b/vendor/golang.org/x/tools/internal/modindex/index.go @@ -10,7 +10,6 @@ import ( "encoding/csv" "fmt" "io" - "log" "os" "path/filepath" "strconv" @@ -107,14 +106,14 @@ var IndexDir string = func() string { var err error dir, err = os.UserCacheDir() // shouldn't happen, but TempDir is better than - // creating ./go/imports + // creating ./goimports if err != nil { dir = os.TempDir() } } dir = filepath.Join(dir, "goimports") if err := os.MkdirAll(dir, 0777); err != nil { - log.Printf("failed to create modcache index dir: %v", err) + dir = "" // #75505, people complain about the error message } return dir }() @@ -127,6 +126,9 @@ func Read(gomodcache string) (*Index, error) { if err != nil { return nil, err } + if IndexDir == "" { + return nil, os.ErrNotExist + } // Read the "link" file for the specified gomodcache directory. // It names the payload file. @@ -227,6 +229,9 @@ func readIndexFrom(gomodcache string, r io.Reader) (*Index, error) { // write writes the index file and updates the index directory to refer to it. func write(gomodcache string, ix *Index) error { + if IndexDir == "" { + return os.ErrNotExist + } // Write the index into a payload file with a fresh name. f, err := os.CreateTemp(IndexDir, fmt.Sprintf("index-%d-*", CurrentVersion)) if err != nil { diff --git a/vendor/golang.org/x/tools/internal/modindex/lookup.go b/vendor/golang.org/x/tools/internal/modindex/lookup.go index 0c011a99b3..83bd49cd4b 100644 --- a/vendor/golang.org/x/tools/internal/modindex/lookup.go +++ b/vendor/golang.org/x/tools/internal/modindex/lookup.go @@ -8,6 +8,8 @@ import ( "slices" "strconv" "strings" + + "golang.org/x/mod/module" ) type Candidate struct { @@ -104,11 +106,15 @@ func (ix *Index) Lookup(pkgName, name string, prefix bool) []Candidate { if len(flds) < 2 { continue // should never happen } + impPath, err := module.UnescapePath(e.ImportPath) + if err != nil { + continue + } px := Candidate{ PkgName: pkgName, Name: flds[0], Dir: string(e.Dir), - ImportPath: e.ImportPath, + ImportPath: impPath, Type: asLexType(flds[1][0]), Deprecated: len(flds[1]) > 1 && flds[1][1] == 'D', } diff --git a/vendor/golang.org/x/tools/internal/stdlib/deps.go b/vendor/golang.org/x/tools/internal/stdlib/deps.go index 96ad6c5821..f41431c949 100644 --- a/vendor/golang.org/x/tools/internal/stdlib/deps.go +++ b/vendor/golang.org/x/tools/internal/stdlib/deps.go @@ -12,354 +12,516 @@ type pkginfo struct { } var deps = [...]pkginfo{ - {"archive/tar", "\x03k\x03E;\x01\n\x01$\x01\x01\x02\x05\b\x02\x01\x02\x02\f"}, - {"archive/zip", "\x02\x04a\a\x03\x12\x021;\x01+\x05\x01\x0f\x03\x02\x0e\x04"}, - {"bufio", "\x03k\x83\x01D\x14"}, - {"bytes", "n*Y\x03\fG\x02\x02"}, + {"archive/tar", "\x03q\x03F=\x01\n\x01$\x01\x01\x02\x05\b\x02\x01\x02\x02\r"}, + {"archive/zip", "\x02\x04g\a\x03\x13\x021=\x01+\x05\x01\x0f\x03\x02\x0f\x04"}, + {"bufio", "\x03q\x86\x01D\x15"}, + {"bytes", "t+[\x03\fH\x02\x02"}, {"cmp", ""}, - {"compress/bzip2", "\x02\x02\xed\x01A"}, - {"compress/flate", "\x02l\x03\x80\x01\f\x033\x01\x03"}, - {"compress/gzip", "\x02\x04a\a\x03\x14lT"}, - {"compress/lzw", "\x02l\x03\x80\x01"}, - {"compress/zlib", "\x02\x04a\a\x03\x12\x01m"}, - {"container/heap", "\xb3\x02"}, + {"compress/bzip2", "\x02\x02\xf6\x01A"}, + {"compress/flate", "\x02r\x03\x83\x01\f\x033\x01\x03"}, + {"compress/gzip", "\x02\x04g\a\x03\x15nU"}, + {"compress/lzw", "\x02r\x03\x83\x01"}, + {"compress/zlib", "\x02\x04g\a\x03\x13\x01o"}, + {"container/heap", "\xbc\x02"}, {"container/list", ""}, {"container/ring", ""}, - {"context", "n\\m\x01\r"}, - {"crypto", "\x83\x01nC"}, - {"crypto/aes", "\x10\n\a\x93\x02"}, - {"crypto/cipher", "\x03\x1e\x01\x01\x1e\x11\x1c+X"}, - {"crypto/des", "\x10\x13\x1e-+\x9b\x01\x03"}, - {"crypto/dsa", "A\x04)\x83\x01\r"}, - {"crypto/ecdh", "\x03\v\f\x0e\x04\x15\x04\r\x1c\x83\x01"}, - {"crypto/ecdsa", "\x0e\x05\x03\x04\x01\x0e\a\v\x05\x01\x04\f\x01\x1c\x83\x01\r\x05K\x01"}, - {"crypto/ed25519", "\x0e\x1c\x11\x06\n\a\x1c\x83\x01C"}, - {"crypto/elliptic", "0>\x83\x01\r9"}, - {"crypto/fips140", " \x05"}, - {"crypto/hkdf", "-\x13\x01-\x15"}, - {"crypto/hmac", "\x1a\x14\x12\x01\x111"}, - {"crypto/internal/boring", "\x0e\x02\rf"}, - {"crypto/internal/boring/bbig", "\x1a\xe4\x01M"}, - {"crypto/internal/boring/bcache", "\xb8\x02\x13"}, + {"context", "t\\p\x01\x0e"}, + {"crypto", "\x8a\x01pC"}, + {"crypto/aes", "\x10\v\t\x99\x02"}, + {"crypto/cipher", "\x03!\x01\x01 \x12\x1c,Z"}, + {"crypto/des", "\x10\x16 .,\x9d\x01\x03"}, + {"crypto/dsa", "F\x03+\x86\x01\r"}, + {"crypto/ecdh", "\x03\v\r\x10\x04\x17\x03\x0f\x1c\x86\x01"}, + {"crypto/ecdsa", "\x0e\x05\x03\x05\x01\x10\b\v\x06\x01\x03\x0e\x01\x1c\x86\x01\r\x05L\x01"}, + {"crypto/ed25519", "\x0e\x1f\x12\a\x03\b\a\x1cI=C"}, + {"crypto/elliptic", "4@\x86\x01\r9"}, + {"crypto/fips140", "#\x05\x95\x01\x98\x01"}, + {"crypto/hkdf", "0\x15\x01.\x16"}, + {"crypto/hmac", "\x1b\x16\x14\x01\x122"}, + {"crypto/hpke", "\x03\v\x02\x03\x04\x01\f\x01\x05\x1f\x05\a\x01\x01\x1d\x03\x13\x16\x9b\x01\x1c"}, + {"crypto/internal/boring", "\x0e\x02\x0el"}, + {"crypto/internal/boring/bbig", "\x1b\xec\x01N"}, + {"crypto/internal/boring/bcache", "\xc1\x02\x14"}, {"crypto/internal/boring/sig", ""}, - {"crypto/internal/cryptotest", "\x03\r\n\x06$\x0e\x19\x06\x12\x12 \x04\a\t\x16\x01\x11\x11\x1b\x01\a\x05\b\x03\x05\v"}, - {"crypto/internal/entropy", "F"}, - {"crypto/internal/fips140", "?/\x15\xa7\x01\v\x16"}, - {"crypto/internal/fips140/aes", "\x03\x1d\x03\x02\x13\x05\x01\x01\x05*\x92\x014"}, - {"crypto/internal/fips140/aes/gcm", " \x01\x02\x02\x02\x11\x05\x01\x06*\x8f\x01"}, - {"crypto/internal/fips140/alias", "\xcb\x02"}, - {"crypto/internal/fips140/bigmod", "%\x18\x01\x06*\x92\x01"}, - {"crypto/internal/fips140/check", " \x0e\x06\t\x02\xb2\x01Z"}, - {"crypto/internal/fips140/check/checktest", "%\x85\x02!"}, - {"crypto/internal/fips140/drbg", "\x03\x1c\x01\x01\x04\x13\x05\b\x01(\x83\x01\x0f7"}, - {"crypto/internal/fips140/ecdh", "\x03\x1d\x05\x02\t\r1\x83\x01\x0f7"}, - {"crypto/internal/fips140/ecdsa", "\x03\x1d\x04\x01\x02\a\x02\x068\x15nF"}, - {"crypto/internal/fips140/ed25519", "\x03\x1d\x05\x02\x04\v8\xc6\x01\x03"}, - {"crypto/internal/fips140/edwards25519", "%\a\f\x051\x92\x017"}, - {"crypto/internal/fips140/edwards25519/field", "%\x13\x051\x92\x01"}, - {"crypto/internal/fips140/hkdf", "\x03\x1d\x05\t\x06:\x15"}, - {"crypto/internal/fips140/hmac", "\x03\x1d\x14\x01\x018\x15"}, - {"crypto/internal/fips140/mlkem", "\x03\x1d\x05\x02\x0e\x03\x051"}, - {"crypto/internal/fips140/nistec", "%\f\a\x051\x92\x01*\r\x14"}, - {"crypto/internal/fips140/nistec/fiat", "%\x136\x92\x01"}, - {"crypto/internal/fips140/pbkdf2", "\x03\x1d\x05\t\x06:\x15"}, - {"crypto/internal/fips140/rsa", "\x03\x1d\x04\x01\x02\r\x01\x01\x026\x15nF"}, - {"crypto/internal/fips140/sha256", "\x03\x1d\x1d\x01\x06*\x15}"}, - {"crypto/internal/fips140/sha3", "\x03\x1d\x18\x05\x010\x92\x01K"}, - {"crypto/internal/fips140/sha512", "\x03\x1d\x1d\x01\x06*\x15}"}, - {"crypto/internal/fips140/ssh", "%^"}, - {"crypto/internal/fips140/subtle", "#\x1a\xc3\x01"}, - {"crypto/internal/fips140/tls12", "\x03\x1d\x05\t\x06\x028\x15"}, - {"crypto/internal/fips140/tls13", "\x03\x1d\x05\b\a\t1\x15"}, - {"crypto/internal/fips140cache", "\xaa\x02\r&"}, + {"crypto/internal/constanttime", ""}, + {"crypto/internal/cryptotest", "\x03\r\v\b%\x10\x19\x06\x13\x12 \x04\x06\t\x19\x01\x11\x11\x1b\x01\a\x05\b\x03\x05\f"}, + {"crypto/internal/entropy", "K"}, + {"crypto/internal/entropy/v1.0.0", "D0\x95\x018\x14"}, + {"crypto/internal/fips140", "C1\xbf\x01\v\x17"}, + {"crypto/internal/fips140/aes", "\x03 \x03\x02\x14\x05\x01\x01\x05,\x95\x014"}, + {"crypto/internal/fips140/aes/gcm", "#\x01\x02\x02\x02\x12\x05\x01\x06,\x92\x01"}, + {"crypto/internal/fips140/alias", "\xd5\x02"}, + {"crypto/internal/fips140/bigmod", "(\x19\x01\x06,\x95\x01"}, + {"crypto/internal/fips140/check", "#\x0e\a\t\x02\xb7\x01["}, + {"crypto/internal/fips140/check/checktest", "(\x8b\x02\""}, + {"crypto/internal/fips140/drbg", "\x03\x1f\x01\x01\x04\x14\x05\n)\x86\x01\x0f7\x01"}, + {"crypto/internal/fips140/ecdh", "\x03 \x05\x02\n\r3\x86\x01\x0f7"}, + {"crypto/internal/fips140/ecdsa", "\x03 \x04\x01\x02\a\x03\x06:\x16pF"}, + {"crypto/internal/fips140/ed25519", "\x03 \x05\x02\x04\f:\xc9\x01\x03"}, + {"crypto/internal/fips140/edwards25519", "\x1f\t\a\x123\x95\x017"}, + {"crypto/internal/fips140/edwards25519/field", "(\x14\x053\x95\x01"}, + {"crypto/internal/fips140/hkdf", "\x03 \x05\t\a<\x16"}, + {"crypto/internal/fips140/hmac", "\x03 \x15\x01\x01:\x16"}, + {"crypto/internal/fips140/mldsa", "\x03\x1c\x04\x05\x02\x0e\x01\x03\x053\x95\x017"}, + {"crypto/internal/fips140/mlkem", "\x03 \x05\x02\x0f\x03\x053\xcc\x01"}, + {"crypto/internal/fips140/nistec", "\x1f\t\r\f3\x95\x01*\r\x15"}, + {"crypto/internal/fips140/nistec/fiat", "(\x148\x95\x01"}, + {"crypto/internal/fips140/pbkdf2", "\x03 \x05\t\a<\x16"}, + {"crypto/internal/fips140/rsa", "\x03\x1c\x04\x04\x01\x02\x0e\x01\x01\x028\x16pF"}, + {"crypto/internal/fips140/sha256", "\x03 \x1e\x01\x06,\x16\x7f"}, + {"crypto/internal/fips140/sha3", "\x03 \x19\x05\x012\x95\x01L"}, + {"crypto/internal/fips140/sha512", "\x03 \x1e\x01\x06,\x16\x7f"}, + {"crypto/internal/fips140/ssh", "(b"}, + {"crypto/internal/fips140/subtle", "\x1f\a\x1b\xc8\x01"}, + {"crypto/internal/fips140/tls12", "\x03 \x05\t\a\x02:\x16"}, + {"crypto/internal/fips140/tls13", "\x03 \x05\b\b\t3\x16"}, + {"crypto/internal/fips140cache", "\xb3\x02\r'"}, {"crypto/internal/fips140deps", ""}, - {"crypto/internal/fips140deps/byteorder", "\x99\x01"}, - {"crypto/internal/fips140deps/cpu", "\xae\x01\a"}, - {"crypto/internal/fips140deps/godebug", "\xb6\x01"}, - {"crypto/internal/fips140hash", "5\x1b3\xc8\x01"}, - {"crypto/internal/fips140only", "'\r\x01\x01M3;"}, + {"crypto/internal/fips140deps/byteorder", "\xa0\x01"}, + {"crypto/internal/fips140deps/cpu", "\xb5\x01\a"}, + {"crypto/internal/fips140deps/godebug", "\xbd\x01"}, + {"crypto/internal/fips140deps/time", "\xcf\x02"}, + {"crypto/internal/fips140hash", "9\x1d4\xcb\x01"}, + {"crypto/internal/fips140only", "\x17\x13\x0e\x01\x01Pp"}, {"crypto/internal/fips140test", ""}, - {"crypto/internal/hpke", "\x0e\x01\x01\x03\x053#+gM"}, - {"crypto/internal/impl", "\xb5\x02"}, - {"crypto/internal/randutil", "\xf1\x01\x12"}, - {"crypto/internal/sysrand", "nn! \r\r\x01\x01\f\x06"}, - {"crypto/internal/sysrand/internal/seccomp", "n"}, - {"crypto/md5", "\x0e3-\x15\x16g"}, - {"crypto/mlkem", "/"}, - {"crypto/pbkdf2", "2\x0e\x01-\x15"}, - {"crypto/rand", "\x1a\x06\a\x1a\x04\x01(\x83\x01\rM"}, - {"crypto/rc4", "#\x1e-\xc6\x01"}, - {"crypto/rsa", "\x0e\f\x01\t\x0f\r\x01\x04\x06\a\x1c\x03\x123;\f\x01"}, - {"crypto/sha1", "\x0e\f'\x03*\x15\x16\x15R"}, - {"crypto/sha256", "\x0e\f\x1aO"}, - {"crypto/sha3", "\x0e'N\xc8\x01"}, - {"crypto/sha512", "\x0e\f\x1cM"}, - {"crypto/subtle", "8\x9b\x01W"}, - {"crypto/tls", "\x03\b\x02\x01\x01\x01\x01\x02\x01\x01\x01\x02\x01\x01\a\x01\r\n\x01\t\x05\x03\x01\x01\x01\x01\x02\x01\x02\x01\x17\x02\x03\x12\x16\x15\b;\x16\x16\r\b\x01\x01\x01\x02\x01\r\x06\x02\x01\x0f"}, - {"crypto/tls/internal/fips140tls", "\x17\xa1\x02"}, - {"crypto/x509", "\x03\v\x01\x01\x01\x01\x01\x01\x01\x012\x05\x01\x01\x02\x05\x0e\x06\x02\x02\x03E\x038\x01\x02\b\x01\x01\x02\a\x10\x05\x01\x06\x02\x05\n\x01\x02\x0e\x02\x01\x01\x02\x03\x01"}, - {"crypto/x509/pkix", "d\x06\a\x8d\x01G"}, - {"database/sql", "\x03\nK\x16\x03\x80\x01\v\a\"\x05\b\x02\x03\x01\r\x02\x02\x02"}, - {"database/sql/driver", "\ra\x03\xb4\x01\x0f\x11"}, - {"debug/buildinfo", "\x03X\x02\x01\x01\b\a\x03e\x19\x02\x01+\x0f\x1f"}, - {"debug/dwarf", "\x03d\a\x03\x80\x011\x11\x01\x01"}, - {"debug/elf", "\x03\x06Q\r\a\x03e\x1a\x01,\x17\x01\x16"}, - {"debug/gosym", "\x03d\n\xc2\x01\x01\x01\x02"}, - {"debug/macho", "\x03\x06Q\r\ne\x1b,\x17\x01"}, - {"debug/pe", "\x03\x06Q\r\a\x03e\x1b,\x17\x01\x16"}, - {"debug/plan9obj", "g\a\x03e\x1b,"}, - {"embed", "n*@\x19\x01S"}, + {"crypto/internal/impl", "\xbe\x02"}, + {"crypto/internal/rand", "\x1b\x0f s=["}, + {"crypto/internal/randutil", "\xfa\x01\x12"}, + {"crypto/internal/sysrand", "tq! \r\r\x01\x01\r\x06"}, + {"crypto/internal/sysrand/internal/seccomp", "t"}, + {"crypto/md5", "\x0e8.\x16\x16i"}, + {"crypto/mlkem", "\x0e%"}, + {"crypto/mlkem/mlkemtest", "3\x13\b&"}, + {"crypto/pbkdf2", "6\x0f\x01.\x16"}, + {"crypto/rand", "\x1b\x0f\x1c\x03+\x86\x01\rN"}, + {"crypto/rc4", "& .\xc9\x01"}, + {"crypto/rsa", "\x0e\r\x01\v\x10\x0e\x01\x03\b\a\x1c\x03\x133=\f\x01"}, + {"crypto/sha1", "\x0e\r+\x02,\x16\x16\x15T"}, + {"crypto/sha256", "\x0e\r\x1dR"}, + {"crypto/sha3", "\x0e+Q\xcb\x01"}, + {"crypto/sha512", "\x0e\r\x1fP"}, + {"crypto/subtle", "\x1f\x1d\x9f\x01z"}, + {"crypto/tls", "\x03\b\x02\x01\x01\x01\x01\x02\x01\x01\x01\x02\x01\x01\x01\t\x01\x18\x01\x0f\x01\x03\x01\x01\x01\x01\x02\x01\x02\x01\x17\x02\x03\x13\x16\x15\b=\x16\x16\r\b\x01\x01\x01\x02\x01\x0e\x06\x02\x01\x0f"}, + {"crypto/tls/internal/fips140tls", "\x17\xaa\x02"}, + {"crypto/x509", "\x03\v\x01\x01\x01\x01\x01\x01\x01\x017\x06\x01\x01\x02\x05\x0e\x06\x02\x02\x03F\x03:\x01\x02\b\x01\x01\x02\a\x10\x05\x01\x06\a\b\x02\x01\x02\x0f\x02\x01\x01\x02\x03\x01"}, + {"crypto/x509/pkix", "j\x06\a\x90\x01H"}, + {"database/sql", "\x03\nQ\x16\x03\x83\x01\v\a\"\x05\b\x02\x03\x01\x0e\x02\x02\x02"}, + {"database/sql/driver", "\rg\x03\xb7\x01\x0f\x12"}, + {"debug/buildinfo", "\x03^\x02\x01\x01\b\a\x03g\x1a\x02\x01+\x0f "}, + {"debug/dwarf", "\x03j\a\x03\x83\x011\x11\x01\x01"}, + {"debug/elf", "\x03\x06W\r\a\x03g\x1b\x01\f \x17\x01\x17"}, + {"debug/gosym", "\x03j\n$\xa1\x01\x01\x01\x02"}, + {"debug/macho", "\x03\x06W\r\ng\x1c,\x17\x01"}, + {"debug/pe", "\x03\x06W\r\a\x03g\x1c,\x17\x01\x17"}, + {"debug/plan9obj", "m\a\x03g\x1c,"}, + {"embed", "t+B\x19\x01T"}, {"embed/internal/embedtest", ""}, {"encoding", ""}, - {"encoding/ascii85", "\xf1\x01C"}, - {"encoding/asn1", "\x03k\x03\x8c\x01\x01'\r\x02\x01\x10\x03\x01"}, - {"encoding/base32", "\xf1\x01A\x02"}, - {"encoding/base64", "\x99\x01XA\x02"}, - {"encoding/binary", "n\x83\x01\f(\r\x05"}, - {"encoding/csv", "\x02\x01k\x03\x80\x01D\x12\x02"}, - {"encoding/gob", "\x02`\x05\a\x03e\x1b\v\x01\x03\x1d\b\x12\x01\x0f\x02"}, - {"encoding/hex", "n\x03\x80\x01A\x03"}, - {"encoding/json", "\x03\x01^\x04\b\x03\x80\x01\f(\r\x02\x01\x02\x10\x01\x01\x02"}, - {"encoding/pem", "\x03c\b\x83\x01A\x03"}, - {"encoding/xml", "\x02\x01_\f\x03\x80\x014\x05\n\x01\x02\x10\x02"}, - {"errors", "\xca\x01\x81\x01"}, - {"expvar", "kK?\b\v\x15\r\b\x02\x03\x01\x11"}, - {"flag", "b\f\x03\x80\x01,\b\x05\b\x02\x01\x10"}, - {"fmt", "nE>\f \b\r\x02\x03\x12"}, - {"go/ast", "\x03\x01m\x0e\x01q\x03)\b\r\x02\x01"}, - {"go/build", "\x02\x01k\x03\x01\x02\x02\a\x02\x01\x17\x1f\x04\x02\t\x19\x13\x01+\x01\x04\x01\a\b\x02\x01\x12\x02\x02"}, - {"go/build/constraint", "n\xc6\x01\x01\x12\x02"}, - {"go/constant", "q\x0f}\x01\x024\x01\x02\x12"}, - {"go/doc", "\x04m\x01\x05\t>31\x10\x02\x01\x12\x02"}, - {"go/doc/comment", "\x03n\xc1\x01\x01\x01\x01\x12\x02"}, - {"go/format", "\x03n\x01\v\x01\x02qD"}, - {"go/importer", "s\a\x01\x01\x04\x01p9"}, - {"go/internal/gccgoimporter", "\x02\x01X\x13\x03\x04\v\x01n\x02,\x01\x05\x11\x01\f\b"}, - {"go/internal/gcimporter", "\x02o\x0f\x010\x05\x0e-,\x15\x03\x02"}, - {"go/internal/srcimporter", "q\x01\x01\n\x03\x01p,\x01\x05\x12\x02\x14"}, - {"go/parser", "\x03k\x03\x01\x02\v\x01q\x01+\x06\x12"}, - {"go/printer", "q\x01\x02\x03\tq\f \x15\x02\x01\x02\v\x05\x02"}, - {"go/scanner", "\x03n\x0fq2\x10\x01\x13\x02"}, - {"go/token", "\x04m\x83\x01>\x02\x03\x01\x0f\x02"}, - {"go/types", "\x03\x01\x06d\x03\x01\x03\b\x03\x02\x15\x1f\x061\x04\x03\t \x06\a\b\x01\x01\x01\x02\x01\x0f\x02\x02"}, - {"go/version", "\xbb\x01z"}, - {"hash", "\xf1\x01"}, - {"hash/adler32", "n\x15\x16"}, - {"hash/crc32", "n\x15\x16\x15\x89\x01\x01\x13"}, - {"hash/crc64", "n\x15\x16\x9e\x01"}, - {"hash/fnv", "n\x15\x16g"}, - {"hash/maphash", "\x83\x01\x11!\x03\x93\x01"}, - {"html", "\xb5\x02\x02\x12"}, - {"html/template", "\x03h\x06\x18-;\x01\n!\x05\x01\x02\x03\f\x01\x02\f\x01\x03\x02"}, - {"image", "\x02l\x1ee\x0f4\x03\x01"}, + {"encoding/ascii85", "\xfa\x01C"}, + {"encoding/asn1", "\x03q\x03g(\x01'\r\x02\x01\x11\x03\x01"}, + {"encoding/base32", "\xfa\x01A\x02"}, + {"encoding/base64", "\xa0\x01ZA\x02"}, + {"encoding/binary", "t\x86\x01\f(\r\x05"}, + {"encoding/csv", "\x02\x01q\x03\x83\x01D\x13\x02"}, + {"encoding/gob", "\x02f\x05\a\x03g\x1c\v\x01\x03\x1d\b\x12\x01\x10\x02"}, + {"encoding/hex", "t\x03\x83\x01A\x03"}, + {"encoding/json", "\x03\x01d\x04\b\x03\x83\x01\f(\r\x02\x01\x02\x11\x01\x01\x02"}, + {"encoding/pem", "\x03i\b\x86\x01A\x03"}, + {"encoding/xml", "\x02\x01e\f\x03\x83\x014\x05\n\x01\x02\x11\x02"}, + {"errors", "\xd0\x01\x85\x01"}, + {"expvar", "qLA\b\v\x15\r\b\x02\x03\x01\x12"}, + {"flag", "h\f\x03\x83\x01,\b\x05\b\x02\x01\x11"}, + {"fmt", "tF'\x19\f \b\r\x02\x03\x13"}, + {"go/ast", "\x03\x01s\x0f\x01s\x03)\b\r\x02\x01\x13\x02"}, + {"go/build", "\x02\x01q\x03\x01\x02\x02\b\x02\x01\x17\x1f\x04\x02\b\x1c\x13\x01+\x01\x04\x01\a\b\x02\x01\x13\x02\x02"}, + {"go/build/constraint", "t\xc9\x01\x01\x13\x02"}, + {"go/constant", "w\x10\x7f\x01\x024\x01\x02\x13"}, + {"go/doc", "\x04s\x01\x05\n=61\x10\x02\x01\x13\x02"}, + {"go/doc/comment", "\x03t\xc4\x01\x01\x01\x01\x13\x02"}, + {"go/format", "\x03t\x01\f\x01\x02sD"}, + {"go/importer", "y\a\x01\x02\x04\x01r9"}, + {"go/internal/gccgoimporter", "\x02\x01^\x13\x03\x04\f\x01p\x02,\x01\x05\x11\x01\r\b"}, + {"go/internal/gcimporter", "\x02u\x10\x010\x05\r0,\x15\x03\x02"}, + {"go/internal/scannerhooks", "\x87\x01"}, + {"go/internal/srcimporter", "w\x01\x01\v\x03\x01r,\x01\x05\x12\x02\x15"}, + {"go/parser", "\x03q\x03\x01\x02\b\x04\x01s\x01+\x06\x12"}, + {"go/printer", "w\x01\x02\x03\ns\f \x15\x02\x01\x02\f\x05\x02"}, + {"go/scanner", "\x03t\v\x05s2\x10\x01\x14\x02"}, + {"go/token", "\x04s\x86\x01>\x02\x03\x01\x10\x02"}, + {"go/types", "\x03\x01\x06j\x03\x01\x03\t\x03\x024\x063\x04\x03\t \x06\a\b\x01\x01\x01\x02\x01\x10\x02\x02"}, + {"go/version", "\xc2\x01|"}, + {"hash", "\xfa\x01"}, + {"hash/adler32", "t\x16\x16"}, + {"hash/crc32", "t\x16\x16\x15\x8b\x01\x01\x14"}, + {"hash/crc64", "t\x16\x16\xa0\x01"}, + {"hash/fnv", "t\x16\x16i"}, + {"hash/maphash", "\x8a\x01\x11<~"}, + {"html", "\xbe\x02\x02\x13"}, + {"html/template", "\x03n\x06\x19-=\x01\n!\x05\x01\x02\x03\f\x01\x02\r\x01\x03\x02"}, + {"image", "\x02r\x1fg\x0f4\x03\x01"}, {"image/color", ""}, - {"image/color/palette", "\x8c\x01"}, - {"image/draw", "\x8b\x01\x01\x04"}, - {"image/gif", "\x02\x01\x05f\x03\x1a\x01\x01\x01\vX"}, - {"image/internal/imageutil", "\x8b\x01"}, - {"image/jpeg", "\x02l\x1d\x01\x04a"}, - {"image/png", "\x02\a^\n\x12\x02\x06\x01eC"}, - {"index/suffixarray", "\x03d\a\x83\x01\f+\n\x01"}, - {"internal/abi", "\xb5\x01\x96\x01"}, - {"internal/asan", "\xcb\x02"}, - {"internal/bisect", "\xaa\x02\r\x01"}, - {"internal/buildcfg", "qGe\x06\x02\x05\n\x01"}, - {"internal/bytealg", "\xae\x01\x9d\x01"}, + {"image/color/palette", "\x93\x01"}, + {"image/draw", "\x92\x01\x01\x04"}, + {"image/gif", "\x02\x01\x05l\x03\x1b\x01\x01\x01\vZ\x0f"}, + {"image/internal/imageutil", "\x92\x01"}, + {"image/jpeg", "\x02r\x1e\x01\x04c"}, + {"image/png", "\x02\ad\n\x13\x02\x06\x01gC"}, + {"index/suffixarray", "\x03j\a\x86\x01\f+\n\x01"}, + {"internal/abi", "\xbc\x01\x99\x01"}, + {"internal/asan", "\xd5\x02"}, + {"internal/bisect", "\xb3\x02\r\x01"}, + {"internal/buildcfg", "wHg\x06\x02\x05\n\x01"}, + {"internal/bytealg", "\xb5\x01\xa0\x01"}, {"internal/byteorder", ""}, {"internal/cfg", ""}, - {"internal/cgrouptest", "q[Q\x06\x0f\x02\x01\x04\x01"}, - {"internal/chacha8rand", "\x99\x01\x15\a\x96\x01"}, + {"internal/cgrouptest", "w[T\x06\x0f\x02\x01\x04\x01"}, + {"internal/chacha8rand", "\xa0\x01\x15\a\x99\x01"}, {"internal/copyright", ""}, {"internal/coverage", ""}, {"internal/coverage/calloc", ""}, - {"internal/coverage/cfile", "k\x06\x16\x17\x01\x02\x01\x01\x01\x01\x01\x01\x01#\x02$,\x06\a\n\x01\x03\r\x06"}, - {"internal/coverage/cformat", "\x04m-\x04O\v6\x01\x02\r"}, - {"internal/coverage/cmerge", "q-_"}, - {"internal/coverage/decodecounter", "g\n-\v\x02F,\x17\x17"}, - {"internal/coverage/decodemeta", "\x02e\n\x16\x17\v\x02F,"}, - {"internal/coverage/encodecounter", "\x02e\n-\f\x01\x02D\v!\x15"}, - {"internal/coverage/encodemeta", "\x02\x01d\n\x12\x04\x17\r\x02D,."}, - {"internal/coverage/pods", "\x04m-\x7f\x06\x05\n\x02\x01"}, - {"internal/coverage/rtcov", "\xcb\x02"}, - {"internal/coverage/slicereader", "g\n\x80\x01Z"}, - {"internal/coverage/slicewriter", "q\x80\x01"}, - {"internal/coverage/stringtab", "q8\x04D"}, + {"internal/coverage/cfile", "q\x06\x17\x17\x01\x02\x01\x01\x01\x01\x01\x01\x01\"\x02',\x06\a\n\x01\x03\x0e\x06"}, + {"internal/coverage/cformat", "\x04s.\x04Q\v6\x01\x02\x0e"}, + {"internal/coverage/cmerge", "w.a"}, + {"internal/coverage/decodecounter", "m\n.\v\x02H,\x17\x18"}, + {"internal/coverage/decodemeta", "\x02k\n\x17\x17\v\x02H,"}, + {"internal/coverage/encodecounter", "\x02k\n.\f\x01\x02F\v!\x15"}, + {"internal/coverage/encodemeta", "\x02\x01j\n\x13\x04\x17\r\x02F,/"}, + {"internal/coverage/pods", "\x04s.\x81\x01\x06\x05\n\x02\x01"}, + {"internal/coverage/rtcov", "\xd5\x02"}, + {"internal/coverage/slicereader", "m\n\x83\x01["}, + {"internal/coverage/slicewriter", "w\x83\x01"}, + {"internal/coverage/stringtab", "w9\x04F"}, {"internal/coverage/test", ""}, {"internal/coverage/uleb128", ""}, - {"internal/cpu", "\xcb\x02"}, - {"internal/dag", "\x04m\xc1\x01\x03"}, - {"internal/diff", "\x03n\xc2\x01\x02"}, - {"internal/exportdata", "\x02\x01k\x03\x02c\x1b,\x01\x05\x11\x01\x02"}, - {"internal/filepathlite", "n*@\x1a@"}, - {"internal/fmtsort", "\x04\xa1\x02\r"}, - {"internal/fuzz", "\x03\nB\x18\x04\x03\x03\x01\v\x036;\f\x03\x1d\x01\x05\x02\x05\n\x01\x02\x01\x01\f\x04\x02"}, + {"internal/cpu", "\xd5\x02"}, + {"internal/dag", "\x04s\xc4\x01\x03"}, + {"internal/diff", "\x03t\xc5\x01\x02"}, + {"internal/exportdata", "\x02\x01q\x03\x02e\x1c,\x01\x05\x11\x01\x02"}, + {"internal/filepathlite", "t+B\x1a@"}, + {"internal/fmtsort", "\x04\xaa\x02\r"}, + {"internal/fuzz", "\x03\nH\x18\x04\x03\x03\x01\f\x036=\f\x03\x1d\x01\x05\x02\x05\n\x01\x02\x01\x01\r\x04\x02"}, {"internal/goarch", ""}, - {"internal/godebug", "\x96\x01!\x80\x01\x01\x13"}, + {"internal/godebug", "\x9d\x01!\x82\x01\x01\x14"}, {"internal/godebugs", ""}, {"internal/goexperiment", ""}, {"internal/goos", ""}, - {"internal/goroot", "\x9d\x02\x01\x05\x12\x02"}, + {"internal/goroot", "\xa6\x02\x01\x05\x12\x02"}, {"internal/gover", "\x04"}, {"internal/goversion", ""}, - {"internal/itoa", ""}, - {"internal/lazyregexp", "\x9d\x02\v\r\x02"}, - {"internal/lazytemplate", "\xf1\x01,\x18\x02\f"}, - {"internal/msan", "\xcb\x02"}, + {"internal/lazyregexp", "\xa6\x02\v\r\x02"}, + {"internal/lazytemplate", "\xfa\x01,\x18\x02\r"}, + {"internal/msan", "\xd5\x02"}, {"internal/nettrace", ""}, - {"internal/obscuretestdata", "f\x8b\x01,"}, - {"internal/oserror", "n"}, - {"internal/pkgbits", "\x03L\x18\a\x03\x04\vq\r\x1f\r\n\x01"}, + {"internal/obscuretestdata", "l\x8e\x01,"}, + {"internal/oserror", "t"}, + {"internal/pkgbits", "\x03R\x18\a\x03\x04\fs\r\x1f\r\n\x01"}, {"internal/platform", ""}, - {"internal/poll", "nO\x1f\x159\r\x01\x01\f\x06"}, - {"internal/profile", "\x03\x04g\x03\x80\x017\v\x01\x01\x10"}, + {"internal/poll", "tl\x05\x159\r\x01\x01\r\x06"}, + {"internal/profile", "\x03\x04m\x03\x83\x017\n\x01\x01\x01\x11"}, {"internal/profilerecord", ""}, - {"internal/race", "\x94\x01\xb7\x01"}, - {"internal/reflectlite", "\x94\x01!9\b\x13\x01\a\x03E;\x01\x03\a\x01\x03\x02\x02\x01\x02\x06\x02\x01\x01\n\x01\x01\x05\x01\x02\x05\b\x01\x01\x01\x02\x01\r\x02\x02\x02\b\x01\x01\x01"}, - {"net/http/cgi", "\x02Q\x1b\x03\x80\x01\x04\a\v\x01\x13\x01\x01\x01\x04\x01\x05\x02\b\x02\x01\x10\x0e"}, - {"net/http/cookiejar", "\x04j\x03\x96\x01\x01\b\f\x16\x03\x02\x0e\x04"}, - {"net/http/fcgi", "\x02\x01\nZ\a\x03\x80\x01\x16\x01\x01\x14\x18\x02\x0e"}, - {"net/http/httptest", "\x02\x01\nF\x02\x1b\x01\x80\x01\x04\x12\x01\n\t\x02\x17\x01\x02\x0e\x0e"}, - {"net/http/httptrace", "\rFnF\x14\n "}, - {"net/http/httputil", "\x02\x01\na\x03\x80\x01\x04\x0f\x03\x01\x05\x02\x01\v\x01\x19\x02\x0e\x0e"}, - {"net/http/internal", "\x02\x01k\x03\x80\x01"}, - {"net/http/internal/ascii", "\xb5\x02\x12"}, - {"net/http/internal/httpcommon", "\ra\x03\x9c\x01\x0e\x01\x17\x01\x01\x02\x1c\x02"}, - {"net/http/internal/testcert", "\xb5\x02"}, - {"net/http/pprof", "\x02\x01\nd\x18-\x11*\x04\x13\x14\x01\r\x04\x03\x01\x02\x01\x10"}, + {"log/slog/internal/benchmarks", "\rg\x03\x83\x01\x06\x03:\x12"}, + {"log/slog/internal/buffer", "\xc0\x02"}, + {"log/syslog", "t\x03\x87\x01\x12\x16\x18\x02\x0f"}, + {"maps", "\xfd\x01X"}, + {"math", "\xb5\x01TL"}, + {"math/big", "\x03q\x03)\x15E\f\x03\x020\x02\x01\x02\x15"}, + {"math/big/internal/asmgen", "\x03\x01s\x92\x012\x03"}, + {"math/bits", "\xd5\x02"}, + {"math/cmplx", "\x86\x02\x03"}, + {"math/rand", "\xbd\x01I:\x01\x14"}, + {"math/rand/v2", "t,\x03c\x03L"}, + {"mime", "\x02\x01i\b\x03\x83\x01\v!\x15\x03\x02\x11\x02"}, + {"mime/multipart", "\x02\x01N#\x03F=\v\x01\a\x02\x15\x02\x06\x0f\x02\x01\x17"}, + {"mime/quotedprintable", "\x02\x01t\x83\x01"}, + {"net", "\x04\tg+\x1e\n\x05\x13\x01\x01\x04\x15\x01%\x06\r\b\x05\x01\x01\r\x06\a"}, + {"net/http", "\x02\x01\x03\x01\x04\x02D\b\x13\x01\a\x03F=\x01\x03\a\x01\x03\x02\x02\x01\x02\x06\x02\x01\x01\n\x01\x01\x05\x01\x02\x05\b\x01\x01\x01\x02\x01\x0e\x02\x02\x02\b\x01\x01\x01"}, + {"net/http/cgi", "\x02W\x1b\x03\x83\x01\x04\a\v\x01\x13\x01\x01\x01\x04\x01\x05\x02\b\x02\x01\x11\x0e"}, + {"net/http/cookiejar", "\x04p\x03\x99\x01\x01\b\a\x05\x16\x03\x02\x0f\x04"}, + {"net/http/fcgi", "\x02\x01\n`\a\x03\x83\x01\x16\x01\x01\x14\x18\x02\x0f"}, + {"net/http/httptest", "\x02\x01\nL\x02\x1b\x01\x83\x01\x04\x12\x01\n\t\x02\x17\x01\x02\x0f\x0e"}, + {"net/http/httptrace", "\rLnI\x14\n!"}, + {"net/http/httputil", "\x02\x01\ng\x03\x83\x01\x04\x0f\x03\x01\x05\x02\x01\v\x01\x19\x02\x01\x0e\x0e"}, + {"net/http/internal", "\x02\x01q\x03\x83\x01"}, + {"net/http/internal/ascii", "\xbe\x02\x13"}, + {"net/http/internal/httpcommon", "\rg\x03\x9f\x01\x0e\x01\x17\x01\x01\x02\x1d\x02"}, + {"net/http/internal/testcert", "\xbe\x02"}, + {"net/http/pprof", "\x02\x01\nj\x19-\x02\x0e-\x04\x13\x14\x01\r\x04\x03\x01\x02\x01\x11"}, {"net/internal/cgotest", ""}, - {"net/internal/socktest", "q\xc6\x01\x02"}, - {"net/mail", "\x02l\x03\x80\x01\x04\x0f\x03\x14\x1a\x02\x0e\x04"}, - {"net/netip", "\x04j*\x01$@\x034\x16"}, - {"net/rpc", "\x02g\x05\x03\x0f\ng\x04\x12\x01\x1d\r\x03\x02"}, - {"net/rpc/jsonrpc", "k\x03\x03\x80\x01\x16\x11\x1f"}, - {"net/smtp", "\x19/\v\x13\b\x03\x80\x01\x16\x14\x1a"}, - {"net/textproto", "\x02\x01k\x03\x80\x01\f\n-\x01\x02\x14"}, - {"net/url", "n\x03\x8b\x01&\x10\x02\x01\x16"}, - {"os", "n*\x01\x19\x03\b\t\x12\x03\x01\x05\x10\x018\b\x05\x01\x01\f\x06"}, - {"os/exec", "\x03\naH%\x01\x15\x01+\x06\a\n\x01\x04\f"}, - {"os/exec/internal/fdtest", "\xb9\x02"}, - {"os/signal", "\r\x90\x02\x15\x05\x02"}, - {"os/user", "\x02\x01k\x03\x80\x01,\r\n\x01\x02"}, - {"path", "n*\xb1\x01"}, - {"path/filepath", "n*\x1a@+\r\b\x03\x04\x10"}, - {"plugin", "n"}, - {"reflect", "n&\x04\x1d\b\f\x06\x04\x1b\x06\t-\n\x03\x10\x02\x02"}, + {"net/internal/socktest", "w\xc9\x01\x02"}, + {"net/mail", "\x02r\x03\x83\x01\x04\x0f\x03\x14\x1a\x02\x0f\x04"}, + {"net/netip", "\x04p+\x01f\x034\x17"}, + {"net/rpc", "\x02m\x05\x03\x10\ni\x04\x12\x01\x1d\r\x03\x02"}, + {"net/rpc/jsonrpc", "q\x03\x03\x83\x01\x16\x11\x1f"}, + {"net/smtp", "\x194\f\x13\b\x03\x83\x01\x16\x14\x1a"}, + {"net/textproto", "\x02\x01q\x03\x83\x01\f\n-\x01\x02\x15"}, + {"net/url", "t\x03Fc\v\x10\x02\x01\x17"}, + {"os", "t+\x01\x19\x03\x10\x14\x01\x03\x01\x05\x10\x018\b\x05\x01\x01\r\x06"}, + {"os/exec", "\x03\ngI'\x01\x15\x01+\x06\a\n\x01\x04\r"}, + {"os/exec/internal/fdtest", "\xc2\x02"}, + {"os/signal", "\r\x99\x02\x15\x05\x02"}, + {"os/user", "\x02\x01q\x03\x83\x01,\r\n\x01\x02"}, + {"path", "t+\xb4\x01"}, + {"path/filepath", "t+\x1aB+\r\b\x03\x04\x11"}, + {"plugin", "t"}, + {"reflect", "t'\x04\x1d\x13\b\x04\x05\x17\x06\t-\n\x03\x11\x02\x02"}, {"reflect/internal/example1", ""}, {"reflect/internal/example2", ""}, - {"regexp", "\x03\xee\x018\t\x02\x01\x02\x10\x02"}, - {"regexp/syntax", "\xb2\x02\x01\x01\x01\x02\x10\x02"}, - {"runtime", "\x94\x01\x04\x01\x03\f\x06\a\x02\x01\x01\x0f\x03\x01\x01\x01\x01\x01\x02\x01\x01\x04\x10c"}, - {"runtime/coverage", "\xa0\x01Q"}, - {"runtime/debug", "qUW\r\b\x02\x01\x10\x06"}, - {"runtime/metrics", "\xb7\x01F-!"}, - {"runtime/pprof", "\x02\x01\x01\x03\x06Z\a\x03#4)\f \r\b\x01\x01\x01\x02\x02\t\x03\x06"}, - {"runtime/race", "\xb0\x02"}, + {"regexp", "\x03\xf7\x018\t\x02\x01\x02\x11\x02"}, + {"regexp/syntax", "\xbb\x02\x01\x01\x01\x02\x11\x02"}, + {"runtime", "\x9b\x01\x04\x01\x03\f\x06\a\x02\x01\x01\x0e\x03\x01\x01\x01\x02\x01\x01\x01\x02\x01\x04\x01\x10\x18L"}, + {"runtime/coverage", "\xa7\x01S"}, + {"runtime/debug", "wUZ\r\b\x02\x01\x11\x06"}, + {"runtime/metrics", "\xbe\x01H-\""}, + {"runtime/pprof", "\x02\x01\x01\x03\x06`\a\x03$$\x0f\v!\f \r\b\x01\x01\x01\x02\x02\n\x03\x06"}, + {"runtime/race", "\xb9\x02"}, {"runtime/race/internal/amd64v1", ""}, - {"runtime/trace", "\ra\x03w\t9\b\x05\x01\r\x06"}, - {"slices", "\x04\xf0\x01\fK"}, - {"sort", "\xca\x0162"}, - {"strconv", "n*@%\x03I"}, - {"strings", "n&\x04@\x19\x03\f7\x10\x02\x02"}, + {"runtime/trace", "\rg\x03z\t9\b\x05\x01\x0e\x06"}, + {"slices", "\x04\xf9\x01\fL"}, + {"sort", "\xd0\x0192"}, + {"strconv", "t+A\x01r"}, + {"strings", "t'\x04B\x19\x03\f7\x11\x02\x02"}, {"structs", ""}, - {"sync", "\xc9\x01\x10\x01P\x0e\x13"}, - {"sync/atomic", "\xcb\x02"}, - {"syscall", "n'\x03\x01\x1c\b\x03\x03\x06\vV\b\x05\x01\x13"}, - {"testing", "\x03\na\x02\x01X\x14\x14\f\x05\x1b\x06\x02\x05\x02\x05\x01\x02\x01\x02\x01\r\x02\x02\x02"}, - {"testing/fstest", "n\x03\x80\x01\x01\n&\x10\x03\b\b"}, - {"testing/internal/testdeps", "\x02\v\xa7\x01-\x10,\x03\x05\x03\x06\a\x02\x0e"}, - {"testing/iotest", "\x03k\x03\x80\x01\x04"}, - {"testing/quick", "p\x01\x8c\x01\x05#\x10\x10"}, - {"testing/slogtest", "\ra\x03\x86\x01.\x05\x10\v"}, - {"testing/synctest", "\xda\x01`\x11"}, - {"text/scanner", "\x03n\x80\x01,*\x02"}, - {"text/tabwriter", "q\x80\x01X"}, - {"text/template", "n\x03B>\x01\n \x01\x05\x01\x02\x05\v\x02\r\x03\x02"}, - {"text/template/parse", "\x03n\xb9\x01\n\x01\x12\x02"}, - {"time", "n*\x1e\"(*\r\x02\x12"}, - {"time/tzdata", "n\xcb\x01\x12"}, + {"sync", "\xcf\x01\x13\x01P\x0e\x14"}, + {"sync/atomic", "\xd5\x02"}, + {"syscall", "t(\x03\x01\x1c\n\x03\x06\r\x04S\b\x05\x01\x14"}, + {"testing", "\x03\ng\x02\x01X\x17\x14\f\x05\x1b\x06\x02\x05\x02\x05\x01\x02\x01\x02\x01\x0e\x02\x04"}, + {"testing/cryptotest", "QOZ\x124\x03\x12"}, + {"testing/fstest", "t\x03\x83\x01\x01\n&\x10\x03\t\b"}, + {"testing/internal/testdeps", "\x02\v\xae\x01/\x10,\x03\x05\x03\x06\a\x02\x0f"}, + {"testing/iotest", "\x03q\x03\x83\x01\x04"}, + {"testing/quick", "v\x01\x8f\x01\x05#\x10\x11"}, + {"testing/slogtest", "\rg\x03\x89\x01.\x05\x10\f"}, + {"testing/synctest", "\xe3\x01`\x12"}, + {"text/scanner", "\x03t\x83\x01,+\x02"}, + {"text/tabwriter", "w\x83\x01Y"}, + {"text/template", "t\x03C@\x01\n \x01\x05\x01\x02\x05\v\x02\x0e\x03\x02"}, + {"text/template/parse", "\x03t\xbc\x01\n\x01\x13\x02"}, + {"time", "t+\x1e$(*\r\x02\x13"}, + {"time/tzdata", "t\xce\x01\x13"}, {"unicode", ""}, {"unicode/utf16", ""}, {"unicode/utf8", ""}, - {"unique", "\x94\x01!#\x01Q\r\x01\x13\x12"}, + {"unique", "\x9b\x01!%\x01Q\r\x01\x14\x12"}, {"unsafe", ""}, - {"vendor/golang.org/x/crypto/chacha20", "\x10W\a\x92\x01*&"}, - {"vendor/golang.org/x/crypto/chacha20poly1305", "\x10W\a\xde\x01\x04\x01\a"}, - {"vendor/golang.org/x/crypto/cryptobyte", "d\n\x03\x8d\x01' \n"}, + {"vendor/golang.org/x/crypto/chacha20", "\x10]\a\x95\x01*'"}, + {"vendor/golang.org/x/crypto/chacha20poly1305", "\x10\aV\a\xe2\x01\x04\x01\a"}, + {"vendor/golang.org/x/crypto/cryptobyte", "j\n\x03\x90\x01'!\n"}, {"vendor/golang.org/x/crypto/cryptobyte/asn1", ""}, - {"vendor/golang.org/x/crypto/internal/alias", "\xcb\x02"}, - {"vendor/golang.org/x/crypto/internal/poly1305", "R\x15\x99\x01"}, - {"vendor/golang.org/x/net/dns/dnsmessage", "n"}, - {"vendor/golang.org/x/net/http/httpguts", "\x87\x02\x14\x1a\x14\r"}, - {"vendor/golang.org/x/net/http/httpproxy", "n\x03\x96\x01\x10\x05\x01\x18\x14\r"}, - {"vendor/golang.org/x/net/http2/hpack", "\x03k\x03\x80\x01F"}, - {"vendor/golang.org/x/net/idna", "q\x8c\x018\x14\x10\x02\x01"}, - {"vendor/golang.org/x/net/nettest", "\x03d\a\x03\x80\x01\x11\x05\x16\x01\f\n\x01\x02\x02\x01\v"}, - {"vendor/golang.org/x/sys/cpu", "\x9d\x02\r\n\x01\x16"}, - {"vendor/golang.org/x/text/secure/bidirule", "n\xdb\x01\x11\x01"}, - {"vendor/golang.org/x/text/transform", "\x03k\x83\x01X"}, - {"vendor/golang.org/x/text/unicode/bidi", "\x03\bf\x84\x01>\x16"}, - {"vendor/golang.org/x/text/unicode/norm", "g\n\x80\x01F\x12\x11"}, - {"weak", "\x94\x01\x96\x01!"}, + {"vendor/golang.org/x/crypto/internal/alias", "\xd5\x02"}, + {"vendor/golang.org/x/crypto/internal/poly1305", "X\x15\x9c\x01"}, + {"vendor/golang.org/x/net/dns/dnsmessage", "t\xc7\x01"}, + {"vendor/golang.org/x/net/http/httpguts", "\x90\x02\x14\x1a\x15\r"}, + {"vendor/golang.org/x/net/http/httpproxy", "t\x03\x99\x01\x10\x05\x01\x18\x15\r"}, + {"vendor/golang.org/x/net/http2/hpack", "\x03q\x03\x83\x01F"}, + {"vendor/golang.org/x/net/idna", "w\x8f\x018\x15\x10\x02\x01"}, + {"vendor/golang.org/x/net/nettest", "\x03j\a\x03\x83\x01\x11\x05\x16\x01\f\n\x01\x02\x02\x01\f"}, + {"vendor/golang.org/x/sys/cpu", "\xa6\x02\r\n\x01\x17"}, + {"vendor/golang.org/x/text/secure/bidirule", "t\xdf\x01\x11\x01"}, + {"vendor/golang.org/x/text/transform", "\x03q\x86\x01Y"}, + {"vendor/golang.org/x/text/unicode/bidi", "\x03\bl\x87\x01>\x17"}, + {"vendor/golang.org/x/text/unicode/norm", "m\n\x83\x01F\x13\x11"}, + {"weak", "\x9b\x01\x98\x01\""}, } + +// bootstrap is the list of bootstrap packages extracted from cmd/dist. +var bootstrap = map[string]bool{ + "cmp": true, + "cmd/asm": true, + "cmd/asm/internal/arch": true, + "cmd/asm/internal/asm": true, + "cmd/asm/internal/flags": true, + "cmd/asm/internal/lex": true, + "cmd/cgo": true, + "cmd/compile": true, + "cmd/compile/internal/abi": true, + "cmd/compile/internal/abt": true, + "cmd/compile/internal/amd64": true, + "cmd/compile/internal/arm": true, + "cmd/compile/internal/arm64": true, + "cmd/compile/internal/base": true, + "cmd/compile/internal/bitvec": true, + "cmd/compile/internal/bloop": true, + "cmd/compile/internal/compare": true, + "cmd/compile/internal/coverage": true, + "cmd/compile/internal/deadlocals": true, + "cmd/compile/internal/devirtualize": true, + "cmd/compile/internal/dwarfgen": true, + "cmd/compile/internal/escape": true, + "cmd/compile/internal/gc": true, + "cmd/compile/internal/importer": true, + "cmd/compile/internal/inline": true, + "cmd/compile/internal/inline/inlheur": true, + "cmd/compile/internal/inline/interleaved": true, + "cmd/compile/internal/ir": true, + "cmd/compile/internal/liveness": true, + "cmd/compile/internal/logopt": true, + "cmd/compile/internal/loong64": true, + "cmd/compile/internal/loopvar": true, + "cmd/compile/internal/mips": true, + "cmd/compile/internal/mips64": true, + "cmd/compile/internal/noder": true, + "cmd/compile/internal/objw": true, + "cmd/compile/internal/pgoir": true, + "cmd/compile/internal/pkginit": true, + "cmd/compile/internal/ppc64": true, + "cmd/compile/internal/rangefunc": true, + "cmd/compile/internal/reflectdata": true, + "cmd/compile/internal/riscv64": true, + "cmd/compile/internal/rttype": true, + "cmd/compile/internal/s390x": true, + "cmd/compile/internal/slice": true, + "cmd/compile/internal/ssa": true, + "cmd/compile/internal/ssagen": true, + "cmd/compile/internal/staticdata": true, + "cmd/compile/internal/staticinit": true, + "cmd/compile/internal/syntax": true, + "cmd/compile/internal/test": true, + "cmd/compile/internal/typebits": true, + "cmd/compile/internal/typecheck": true, + "cmd/compile/internal/types": true, + "cmd/compile/internal/types2": true, + "cmd/compile/internal/walk": true, + "cmd/compile/internal/wasm": true, + "cmd/compile/internal/x86": true, + "cmd/internal/archive": true, + "cmd/internal/bio": true, + "cmd/internal/codesign": true, + "cmd/internal/dwarf": true, + "cmd/internal/edit": true, + "cmd/internal/gcprog": true, + "cmd/internal/goobj": true, + "cmd/internal/hash": true, + "cmd/internal/macho": true, + "cmd/internal/obj": true, + "cmd/internal/obj/arm": true, + "cmd/internal/obj/arm64": true, + "cmd/internal/obj/loong64": true, + "cmd/internal/obj/mips": true, + "cmd/internal/obj/ppc64": true, + "cmd/internal/obj/riscv": true, + "cmd/internal/obj/s390x": true, + "cmd/internal/obj/wasm": true, + "cmd/internal/obj/x86": true, + "cmd/internal/objabi": true, + "cmd/internal/par": true, + "cmd/internal/pgo": true, + "cmd/internal/pkgpath": true, + "cmd/internal/quoted": true, + "cmd/internal/src": true, + "cmd/internal/sys": true, + "cmd/internal/telemetry": true, + "cmd/internal/telemetry/counter": true, + "cmd/link": true, + "cmd/link/internal/amd64": true, + "cmd/link/internal/arm": true, + "cmd/link/internal/arm64": true, + "cmd/link/internal/benchmark": true, + "cmd/link/internal/dwtest": true, + "cmd/link/internal/ld": true, + "cmd/link/internal/loadelf": true, + "cmd/link/internal/loader": true, + "cmd/link/internal/loadmacho": true, + "cmd/link/internal/loadpe": true, + "cmd/link/internal/loadxcoff": true, + "cmd/link/internal/loong64": true, + "cmd/link/internal/mips": true, + "cmd/link/internal/mips64": true, + "cmd/link/internal/ppc64": true, + "cmd/link/internal/riscv64": true, + "cmd/link/internal/s390x": true, + "cmd/link/internal/sym": true, + "cmd/link/internal/wasm": true, + "cmd/link/internal/x86": true, + "compress/flate": true, + "compress/zlib": true, + "container/heap": true, + "debug/dwarf": true, + "debug/elf": true, + "debug/macho": true, + "debug/pe": true, + "go/build/constraint": true, + "go/constant": true, + "go/version": true, + "internal/abi": true, + "internal/coverage": true, + "cmd/internal/cov/covcmd": true, + "internal/bisect": true, + "internal/buildcfg": true, + "internal/exportdata": true, + "internal/goarch": true, + "internal/godebugs": true, + "internal/goexperiment": true, + "internal/goroot": true, + "internal/gover": true, + "internal/goversion": true, + "internal/lazyregexp": true, + "internal/pkgbits": true, + "internal/platform": true, + "internal/profile": true, + "internal/race": true, + "internal/runtime/gc": true, + "internal/saferio": true, + "internal/syscall/unix": true, + "internal/types/errors": true, + "internal/unsafeheader": true, + "internal/xcoff": true, + "internal/zstd": true, + "math/bits": true, + "sort": true, +} + +// BootstrapVersion is the minor version of Go used during toolchain +// bootstrapping. Packages for which [IsBootstrapPackage] must not use +// features of Go newer than this version. +const BootstrapVersion = Version(24) // go1.24.6 diff --git a/vendor/golang.org/x/tools/internal/stdlib/import.go b/vendor/golang.org/x/tools/internal/stdlib/import.go index f6909878a8..8ecc672b8b 100644 --- a/vendor/golang.org/x/tools/internal/stdlib/import.go +++ b/vendor/golang.org/x/tools/internal/stdlib/import.go @@ -87,3 +87,11 @@ func find(pkg string) (int, bool) { return strings.Compare(p.name, n) }) } + +// IsBootstrapPackage reports whether pkg is one of the low-level +// packages in the Go distribution that must compile with the older +// language version specified by [BootstrapVersion] during toolchain +// bootstrapping; see golang.org/s/go15bootstrap. +func IsBootstrapPackage(pkg string) bool { + return bootstrap[pkg] +} diff --git a/vendor/golang.org/x/tools/internal/stdlib/manifest.go b/vendor/golang.org/x/tools/internal/stdlib/manifest.go index c1faa50d36..33e4f505f3 100644 --- a/vendor/golang.org/x/tools/internal/stdlib/manifest.go +++ b/vendor/golang.org/x/tools/internal/stdlib/manifest.go @@ -16,6 +16,14 @@ var PackageSymbols = map[string][]Symbol{ {"(*Writer).Flush", Method, 0, ""}, {"(*Writer).Write", Method, 0, ""}, {"(*Writer).WriteHeader", Method, 0, ""}, + {"(FileInfoNames).Gname", Method, 23, ""}, + {"(FileInfoNames).IsDir", Method, 23, ""}, + {"(FileInfoNames).ModTime", Method, 23, ""}, + {"(FileInfoNames).Mode", Method, 23, ""}, + {"(FileInfoNames).Name", Method, 23, ""}, + {"(FileInfoNames).Size", Method, 23, ""}, + {"(FileInfoNames).Sys", Method, 23, ""}, + {"(FileInfoNames).Uname", Method, 23, ""}, {"(Format).String", Method, 10, ""}, {"ErrFieldTooLong", Var, 0, ""}, {"ErrHeader", Var, 0, ""}, @@ -225,6 +233,7 @@ var PackageSymbols = map[string][]Symbol{ {"(*Buffer).Grow", Method, 1, ""}, {"(*Buffer).Len", Method, 0, ""}, {"(*Buffer).Next", Method, 0, ""}, + {"(*Buffer).Peek", Method, 26, ""}, {"(*Buffer).Read", Method, 0, ""}, {"(*Buffer).ReadByte", Method, 0, ""}, {"(*Buffer).ReadBytes", Method, 0, ""}, @@ -337,6 +346,9 @@ var PackageSymbols = map[string][]Symbol{ {"(*Writer).Write", Method, 0, ""}, {"(CorruptInputError).Error", Method, 0, ""}, {"(InternalError).Error", Method, 0, ""}, + {"(Reader).Read", Method, 0, ""}, + {"(Reader).ReadByte", Method, 0, ""}, + {"(Resetter).Reset", Method, 4, ""}, {"BestCompression", Const, 0, ""}, {"BestSpeed", Const, 0, ""}, {"CorruptInputError", Type, 0, ""}, @@ -408,6 +420,7 @@ var PackageSymbols = map[string][]Symbol{ {"(*Writer).Flush", Method, 0, ""}, {"(*Writer).Reset", Method, 2, ""}, {"(*Writer).Write", Method, 0, ""}, + {"(Resetter).Reset", Method, 4, ""}, {"BestCompression", Const, 0, ""}, {"BestSpeed", Const, 0, ""}, {"DefaultCompression", Const, 0, ""}, @@ -425,6 +438,11 @@ var PackageSymbols = map[string][]Symbol{ {"Writer", Type, 0, ""}, }, "container/heap": { + {"(Interface).Len", Method, 0, ""}, + {"(Interface).Less", Method, 0, ""}, + {"(Interface).Pop", Method, 0, ""}, + {"(Interface).Push", Method, 0, ""}, + {"(Interface).Swap", Method, 0, ""}, {"Fix", Func, 2, "func(h Interface, i int)"}, {"Init", Func, 0, "func(h Interface)"}, {"Interface", Type, 0, ""}, @@ -468,6 +486,10 @@ var PackageSymbols = map[string][]Symbol{ {"Ring.Value", Field, 0, ""}, }, "context": { + {"(Context).Deadline", Method, 7, ""}, + {"(Context).Done", Method, 7, ""}, + {"(Context).Err", Method, 7, ""}, + {"(Context).Value", Method, 7, ""}, {"AfterFunc", Func, 21, "func(ctx Context, f func()) (stop func() bool)"}, {"Background", Func, 7, "func() Context"}, {"CancelCauseFunc", Type, 20, ""}, @@ -487,17 +509,31 @@ var PackageSymbols = map[string][]Symbol{ {"WithoutCancel", Func, 21, "func(parent Context) Context"}, }, "crypto": { + {"(Decapsulator).Decapsulate", Method, 26, ""}, + {"(Decapsulator).Encapsulator", Method, 26, ""}, + {"(Decrypter).Decrypt", Method, 5, ""}, + {"(Decrypter).Public", Method, 5, ""}, + {"(Encapsulator).Bytes", Method, 26, ""}, + {"(Encapsulator).Encapsulate", Method, 26, ""}, {"(Hash).Available", Method, 0, ""}, {"(Hash).HashFunc", Method, 4, ""}, {"(Hash).New", Method, 0, ""}, {"(Hash).Size", Method, 0, ""}, {"(Hash).String", Method, 15, ""}, + {"(MessageSigner).Public", Method, 25, ""}, + {"(MessageSigner).Sign", Method, 25, ""}, + {"(MessageSigner).SignMessage", Method, 25, ""}, + {"(Signer).Public", Method, 4, ""}, + {"(Signer).Sign", Method, 4, ""}, + {"(SignerOpts).HashFunc", Method, 4, ""}, {"BLAKE2b_256", Const, 9, ""}, {"BLAKE2b_384", Const, 9, ""}, {"BLAKE2b_512", Const, 9, ""}, {"BLAKE2s_256", Const, 9, ""}, + {"Decapsulator", Type, 26, ""}, {"Decrypter", Type, 5, ""}, {"DecrypterOpts", Type, 5, ""}, + {"Encapsulator", Type, 26, ""}, {"Hash", Type, 0, ""}, {"MD4", Const, 0, ""}, {"MD5", Const, 0, ""}, @@ -529,6 +565,16 @@ var PackageSymbols = map[string][]Symbol{ {"NewCipher", Func, 0, "func(key []byte) (cipher.Block, error)"}, }, "crypto/cipher": { + {"(AEAD).NonceSize", Method, 2, ""}, + {"(AEAD).Open", Method, 2, ""}, + {"(AEAD).Overhead", Method, 2, ""}, + {"(AEAD).Seal", Method, 2, ""}, + {"(Block).BlockSize", Method, 0, ""}, + {"(Block).Decrypt", Method, 0, ""}, + {"(Block).Encrypt", Method, 0, ""}, + {"(BlockMode).BlockSize", Method, 0, ""}, + {"(BlockMode).CryptBlocks", Method, 0, ""}, + {"(Stream).XORKeyStream", Method, 0, ""}, {"(StreamReader).Read", Method, 0, ""}, {"(StreamWriter).Close", Method, 0, ""}, {"(StreamWriter).Write", Method, 0, ""}, @@ -580,7 +626,7 @@ var PackageSymbols = map[string][]Symbol{ {"PublicKey", Type, 0, ""}, {"PublicKey.Parameters", Field, 0, ""}, {"PublicKey.Y", Field, 0, ""}, - {"Sign", Func, 0, "func(rand io.Reader, priv *PrivateKey, hash []byte) (r *big.Int, s *big.Int, err error)"}, + {"Sign", Func, 0, "func(random io.Reader, priv *PrivateKey, hash []byte) (r *big.Int, s *big.Int, err error)"}, {"Verify", Func, 0, "func(pub *PublicKey, hash []byte, r *big.Int, s *big.Int) bool"}, }, "crypto/ecdh": { @@ -593,7 +639,13 @@ var PackageSymbols = map[string][]Symbol{ {"(*PublicKey).Bytes", Method, 20, ""}, {"(*PublicKey).Curve", Method, 20, ""}, {"(*PublicKey).Equal", Method, 20, ""}, - {"Curve", Type, 20, ""}, + {"(Curve).GenerateKey", Method, 20, ""}, + {"(Curve).NewPrivateKey", Method, 20, ""}, + {"(Curve).NewPublicKey", Method, 20, ""}, + {"(KeyExchanger).Curve", Method, 26, ""}, + {"(KeyExchanger).ECDH", Method, 26, ""}, + {"(KeyExchanger).PublicKey", Method, 26, ""}, + {"KeyExchanger", Type, 26, ""}, {"P256", Func, 20, "func() Curve"}, {"P384", Func, 20, "func() Curve"}, {"P521", Func, 20, "func() Curve"}, @@ -622,7 +674,7 @@ var PackageSymbols = map[string][]Symbol{ {"(PublicKey).Params", Method, 0, ""}, {"(PublicKey).ScalarBaseMult", Method, 0, ""}, {"(PublicKey).ScalarMult", Method, 0, ""}, - {"GenerateKey", Func, 0, "func(c elliptic.Curve, rand io.Reader) (*PrivateKey, error)"}, + {"GenerateKey", Func, 0, "func(c elliptic.Curve, r io.Reader) (*PrivateKey, error)"}, {"ParseRawPrivateKey", Func, 25, "func(curve elliptic.Curve, data []byte) (*PrivateKey, error)"}, {"ParseUncompressedPublicKey", Func, 25, "func(curve elliptic.Curve, data []byte) (*PublicKey, error)"}, {"PrivateKey", Type, 0, ""}, @@ -633,7 +685,7 @@ var PackageSymbols = map[string][]Symbol{ {"PublicKey.X", Field, 0, ""}, {"PublicKey.Y", Field, 0, ""}, {"Sign", Func, 0, "func(rand io.Reader, priv *PrivateKey, hash []byte) (r *big.Int, s *big.Int, err error)"}, - {"SignASN1", Func, 15, "func(rand io.Reader, priv *PrivateKey, hash []byte) ([]byte, error)"}, + {"SignASN1", Func, 15, "func(r io.Reader, priv *PrivateKey, hash []byte) ([]byte, error)"}, {"Verify", Func, 0, "func(pub *PublicKey, hash []byte, r *big.Int, s *big.Int) bool"}, {"VerifyASN1", Func, 15, "func(pub *PublicKey, hash []byte, sig []byte) bool"}, }, @@ -644,7 +696,7 @@ var PackageSymbols = map[string][]Symbol{ {"(PrivateKey).Seed", Method, 13, ""}, {"(PrivateKey).Sign", Method, 13, ""}, {"(PublicKey).Equal", Method, 15, ""}, - {"GenerateKey", Func, 13, "func(rand io.Reader) (PublicKey, PrivateKey, error)"}, + {"GenerateKey", Func, 13, "func(random io.Reader) (PublicKey, PrivateKey, error)"}, {"NewKeyFromSeed", Func, 13, "func(seed []byte) PrivateKey"}, {"Options", Type, 20, ""}, {"Options.Context", Field, 20, ""}, @@ -666,6 +718,12 @@ var PackageSymbols = map[string][]Symbol{ {"(*CurveParams).Params", Method, 0, ""}, {"(*CurveParams).ScalarBaseMult", Method, 0, ""}, {"(*CurveParams).ScalarMult", Method, 0, ""}, + {"(Curve).Add", Method, 0, ""}, + {"(Curve).Double", Method, 0, ""}, + {"(Curve).IsOnCurve", Method, 0, ""}, + {"(Curve).Params", Method, 0, ""}, + {"(Curve).ScalarBaseMult", Method, 0, ""}, + {"(Curve).ScalarMult", Method, 0, ""}, {"Curve", Type, 0, ""}, {"CurveParams", Type, 0, ""}, {"CurveParams.B", Field, 0, ""}, @@ -687,6 +745,9 @@ var PackageSymbols = map[string][]Symbol{ }, "crypto/fips140": { {"Enabled", Func, 24, "func() bool"}, + {"Enforced", Func, 26, "func() bool"}, + {"Version", Func, 26, "func() string"}, + {"WithoutEnforcement", Func, 26, "func(f func())"}, }, "crypto/hkdf": { {"Expand", Func, 24, "func[H hash.Hash](h func() H, pseudorandomKey []byte, info string, keyLength int) ([]byte, error)"}, @@ -697,6 +758,54 @@ var PackageSymbols = map[string][]Symbol{ {"Equal", Func, 1, "func(mac1 []byte, mac2 []byte) bool"}, {"New", Func, 0, "func(h func() hash.Hash, key []byte) hash.Hash"}, }, + "crypto/hpke": { + {"(*Recipient).Export", Method, 26, ""}, + {"(*Recipient).Open", Method, 26, ""}, + {"(*Sender).Export", Method, 26, ""}, + {"(*Sender).Seal", Method, 26, ""}, + {"(AEAD).ID", Method, 26, ""}, + {"(KDF).ID", Method, 26, ""}, + {"(KEM).DeriveKeyPair", Method, 26, ""}, + {"(KEM).GenerateKey", Method, 26, ""}, + {"(KEM).ID", Method, 26, ""}, + {"(KEM).NewPrivateKey", Method, 26, ""}, + {"(KEM).NewPublicKey", Method, 26, ""}, + {"(PrivateKey).Bytes", Method, 26, ""}, + {"(PrivateKey).KEM", Method, 26, ""}, + {"(PrivateKey).PublicKey", Method, 26, ""}, + {"(PublicKey).Bytes", Method, 26, ""}, + {"(PublicKey).KEM", Method, 26, ""}, + {"AES128GCM", Func, 26, "func() AEAD"}, + {"AES256GCM", Func, 26, "func() AEAD"}, + {"ChaCha20Poly1305", Func, 26, "func() AEAD"}, + {"DHKEM", Func, 26, "func(curve ecdh.Curve) KEM"}, + {"ExportOnly", Func, 26, "func() AEAD"}, + {"HKDFSHA256", Func, 26, "func() KDF"}, + {"HKDFSHA384", Func, 26, "func() KDF"}, + {"HKDFSHA512", Func, 26, "func() KDF"}, + {"MLKEM1024", Func, 26, "func() KEM"}, + {"MLKEM1024P384", Func, 26, "func() KEM"}, + {"MLKEM768", Func, 26, "func() KEM"}, + {"MLKEM768P256", Func, 26, "func() KEM"}, + {"MLKEM768X25519", Func, 26, "func() KEM"}, + {"NewAEAD", Func, 26, "func(id uint16) (AEAD, error)"}, + {"NewDHKEMPrivateKey", Func, 26, "func(priv ecdh.KeyExchanger) (PrivateKey, error)"}, + {"NewDHKEMPublicKey", Func, 26, "func(pub *ecdh.PublicKey) (PublicKey, error)"}, + {"NewHybridPrivateKey", Func, 26, "func(pq crypto.Decapsulator, t ecdh.KeyExchanger) (PrivateKey, error)"}, + {"NewHybridPublicKey", Func, 26, "func(pq crypto.Encapsulator, t *ecdh.PublicKey) (PublicKey, error)"}, + {"NewKDF", Func, 26, "func(id uint16) (KDF, error)"}, + {"NewKEM", Func, 26, "func(id uint16) (KEM, error)"}, + {"NewMLKEMPrivateKey", Func, 26, "func(priv crypto.Decapsulator) (PrivateKey, error)"}, + {"NewMLKEMPublicKey", Func, 26, "func(pub crypto.Encapsulator) (PublicKey, error)"}, + {"NewRecipient", Func, 26, "func(enc []byte, k PrivateKey, kdf KDF, aead AEAD, info []byte) (*Recipient, error)"}, + {"NewSender", Func, 26, "func(pk PublicKey, kdf KDF, aead AEAD, info []byte) (enc []byte, s *Sender, err error)"}, + {"Open", Func, 26, "func(k PrivateKey, kdf KDF, aead AEAD, info []byte, ciphertext []byte) ([]byte, error)"}, + {"Recipient", Type, 26, ""}, + {"SHAKE128", Func, 26, "func() KDF"}, + {"SHAKE256", Func, 26, "func() KDF"}, + {"Seal", Func, 26, "func(pk PublicKey, kdf KDF, aead AEAD, info []byte, plaintext []byte) ([]byte, error)"}, + {"Sender", Type, 26, ""}, + }, "crypto/md5": { {"BlockSize", Const, 0, ""}, {"New", Func, 0, "func() hash.Hash"}, @@ -707,9 +816,11 @@ var PackageSymbols = map[string][]Symbol{ {"(*DecapsulationKey1024).Bytes", Method, 24, ""}, {"(*DecapsulationKey1024).Decapsulate", Method, 24, ""}, {"(*DecapsulationKey1024).EncapsulationKey", Method, 24, ""}, + {"(*DecapsulationKey1024).Encapsulator", Method, 26, ""}, {"(*DecapsulationKey768).Bytes", Method, 24, ""}, {"(*DecapsulationKey768).Decapsulate", Method, 24, ""}, {"(*DecapsulationKey768).EncapsulationKey", Method, 24, ""}, + {"(*DecapsulationKey768).Encapsulator", Method, 26, ""}, {"(*EncapsulationKey1024).Bytes", Method, 24, ""}, {"(*EncapsulationKey1024).Encapsulate", Method, 24, ""}, {"(*EncapsulationKey768).Bytes", Method, 24, ""}, @@ -731,12 +842,16 @@ var PackageSymbols = map[string][]Symbol{ {"SeedSize", Const, 24, ""}, {"SharedKeySize", Const, 24, ""}, }, + "crypto/mlkem/mlkemtest": { + {"Encapsulate1024", Func, 26, "func(ek *mlkem.EncapsulationKey1024, random []byte) (sharedKey []byte, ciphertext []byte, err error)"}, + {"Encapsulate768", Func, 26, "func(ek *mlkem.EncapsulationKey768, random []byte) (sharedKey []byte, ciphertext []byte, err error)"}, + }, "crypto/pbkdf2": { {"Key", Func, 24, "func[Hash hash.Hash](h func() Hash, password string, salt []byte, iter int, keyLength int) ([]byte, error)"}, }, "crypto/rand": { {"Int", Func, 0, "func(rand io.Reader, max *big.Int) (n *big.Int, err error)"}, - {"Prime", Func, 0, "func(rand io.Reader, bits int) (*big.Int, error)"}, + {"Prime", Func, 0, "func(r io.Reader, bits int) (*big.Int, error)"}, {"Read", Func, 0, "func(b []byte) (n int, err error)"}, {"Reader", Var, 0, ""}, {"Text", Func, 24, "func() string"}, @@ -768,6 +883,7 @@ var PackageSymbols = map[string][]Symbol{ {"DecryptPKCS1v15", Func, 0, "func(random io.Reader, priv *PrivateKey, ciphertext []byte) ([]byte, error)"}, {"DecryptPKCS1v15SessionKey", Func, 0, "func(random io.Reader, priv *PrivateKey, ciphertext []byte, key []byte) error"}, {"EncryptOAEP", Func, 0, "func(hash hash.Hash, random io.Reader, pub *PublicKey, msg []byte, label []byte) ([]byte, error)"}, + {"EncryptOAEPWithOptions", Func, 26, "func(random io.Reader, pub *PublicKey, msg []byte, opts *OAEPOptions) ([]byte, error)"}, {"EncryptPKCS1v15", Func, 0, "func(random io.Reader, pub *PublicKey, msg []byte) ([]byte, error)"}, {"ErrDecryption", Var, 0, ""}, {"ErrMessageTooLong", Var, 0, ""}, @@ -799,7 +915,7 @@ var PackageSymbols = map[string][]Symbol{ {"PublicKey.E", Field, 0, ""}, {"PublicKey.N", Field, 0, ""}, {"SignPKCS1v15", Func, 0, "func(random io.Reader, priv *PrivateKey, hash crypto.Hash, hashed []byte) ([]byte, error)"}, - {"SignPSS", Func, 2, "func(rand io.Reader, priv *PrivateKey, hash crypto.Hash, digest []byte, opts *PSSOptions) ([]byte, error)"}, + {"SignPSS", Func, 2, "func(random io.Reader, priv *PrivateKey, hash crypto.Hash, digest []byte, opts *PSSOptions) ([]byte, error)"}, {"VerifyPKCS1v15", Func, 0, "func(pub *PublicKey, hash crypto.Hash, hashed []byte, sig []byte) error"}, {"VerifyPSS", Func, 2, "func(pub *PublicKey, hash crypto.Hash, digest []byte, sig []byte, opts *PSSOptions) error"}, }, @@ -920,6 +1036,8 @@ var PackageSymbols = map[string][]Symbol{ {"(*SessionState).Bytes", Method, 21, ""}, {"(AlertError).Error", Method, 21, ""}, {"(ClientAuthType).String", Method, 15, ""}, + {"(ClientSessionCache).Get", Method, 3, ""}, + {"(ClientSessionCache).Put", Method, 3, ""}, {"(CurveID).String", Method, 15, ""}, {"(QUICEncryptionLevel).String", Method, 21, ""}, {"(RecordHeaderError).Error", Method, 6, ""}, @@ -952,6 +1070,7 @@ var PackageSymbols = map[string][]Symbol{ {"ClientHelloInfo.CipherSuites", Field, 4, ""}, {"ClientHelloInfo.Conn", Field, 8, ""}, {"ClientHelloInfo.Extensions", Field, 24, ""}, + {"ClientHelloInfo.HelloRetryRequest", Field, 26, ""}, {"ClientHelloInfo.ServerName", Field, 4, ""}, {"ClientHelloInfo.SignatureSchemes", Field, 8, ""}, {"ClientHelloInfo.SupportedCurves", Field, 4, ""}, @@ -1000,6 +1119,7 @@ var PackageSymbols = map[string][]Symbol{ {"ConnectionState.DidResume", Field, 1, ""}, {"ConnectionState.ECHAccepted", Field, 23, ""}, {"ConnectionState.HandshakeComplete", Field, 0, ""}, + {"ConnectionState.HelloRetryRequest", Field, 26, ""}, {"ConnectionState.NegotiatedProtocol", Field, 0, ""}, {"ConnectionState.NegotiatedProtocolIsMutual", Field, 0, ""}, {"ConnectionState.OCSPResponse", Field, 5, ""}, @@ -1054,8 +1174,10 @@ var PackageSymbols = map[string][]Symbol{ {"QUICEncryptionLevelEarly", Const, 21, ""}, {"QUICEncryptionLevelHandshake", Const, 21, ""}, {"QUICEncryptionLevelInitial", Const, 21, ""}, + {"QUICErrorEvent", Const, 26, ""}, {"QUICEvent", Type, 21, ""}, {"QUICEvent.Data", Field, 21, ""}, + {"QUICEvent.Err", Field, 26, ""}, {"QUICEvent.Kind", Field, 21, ""}, {"QUICEvent.Level", Field, 21, ""}, {"QUICEvent.SessionState", Field, 23, ""}, @@ -1086,6 +1208,8 @@ var PackageSymbols = map[string][]Symbol{ {"RequestClientCert", Const, 0, ""}, {"RequireAndVerifyClientCert", Const, 0, ""}, {"RequireAnyClientCert", Const, 0, ""}, + {"SecP256r1MLKEM768", Const, 26, ""}, + {"SecP384r1MLKEM1024", Const, 26, ""}, {"Server", Func, 0, "func(conn net.Conn, config *Config) *Conn"}, {"SessionState", Type, 21, ""}, {"SessionState.EarlyData", Field, 21, ""}, @@ -1150,8 +1274,11 @@ var PackageSymbols = map[string][]Symbol{ {"(*RevocationList).CheckSignatureFrom", Method, 19, ""}, {"(CertificateInvalidError).Error", Method, 0, ""}, {"(ConstraintViolationError).Error", Method, 0, ""}, + {"(ExtKeyUsage).OID", Method, 26, ""}, + {"(ExtKeyUsage).String", Method, 26, ""}, {"(HostnameError).Error", Method, 0, ""}, {"(InsecureAlgorithmError).Error", Method, 6, ""}, + {"(KeyUsage).String", Method, 26, ""}, {"(OID).AppendBinary", Method, 24, ""}, {"(OID).AppendText", Method, 24, ""}, {"(OID).Equal", Method, 22, ""}, @@ -1306,6 +1433,7 @@ var PackageSymbols = map[string][]Symbol{ {"NoValidChains", Const, 24, ""}, {"NotAuthorizedToSign", Const, 0, ""}, {"OID", Type, 22, ""}, + {"OIDFromASN1OID", Func, 26, "func(asn1OID asn1.ObjectIdentifier) (OID, error)"}, {"OIDFromInts", Func, 22, "func(oid []uint64) (OID, error)"}, {"PEMCipher", Type, 1, ""}, {"PEMCipher3DES", Const, 1, ""}, @@ -1515,6 +1643,9 @@ var PackageSymbols = map[string][]Symbol{ {"(NullInt64).Value", Method, 0, ""}, {"(NullString).Value", Method, 0, ""}, {"(NullTime).Value", Method, 13, ""}, + {"(Result).LastInsertId", Method, 0, ""}, + {"(Result).RowsAffected", Method, 0, ""}, + {"(Scanner).Scan", Method, 0, ""}, {"ColumnType", Type, 8, ""}, {"Conn", Type, 9, ""}, {"DB", Type, 0, ""}, @@ -1546,8 +1677,6 @@ var PackageSymbols = map[string][]Symbol{ {"NamedArg.Name", Field, 8, ""}, {"NamedArg.Value", Field, 8, ""}, {"Null", Type, 22, ""}, - {"Null.V", Field, 22, ""}, - {"Null.Valid", Field, 22, ""}, {"NullBool", Type, 0, ""}, {"NullBool.Bool", Field, 0, ""}, {"NullBool.Valid", Field, 0, ""}, @@ -1590,10 +1719,68 @@ var PackageSymbols = map[string][]Symbol{ {"TxOptions.ReadOnly", Field, 8, ""}, }, "database/sql/driver": { + {"(ColumnConverter).ColumnConverter", Method, 0, ""}, + {"(Conn).Begin", Method, 0, ""}, + {"(Conn).Close", Method, 0, ""}, + {"(Conn).Prepare", Method, 0, ""}, + {"(ConnBeginTx).BeginTx", Method, 8, ""}, + {"(ConnPrepareContext).PrepareContext", Method, 8, ""}, + {"(Connector).Connect", Method, 10, ""}, + {"(Connector).Driver", Method, 10, ""}, + {"(Driver).Open", Method, 0, ""}, + {"(DriverContext).OpenConnector", Method, 10, ""}, + {"(Execer).Exec", Method, 0, ""}, + {"(ExecerContext).ExecContext", Method, 8, ""}, + {"(NamedValueChecker).CheckNamedValue", Method, 9, ""}, {"(NotNull).ConvertValue", Method, 0, ""}, {"(Null).ConvertValue", Method, 0, ""}, + {"(Pinger).Ping", Method, 8, ""}, + {"(Queryer).Query", Method, 1, ""}, + {"(QueryerContext).QueryContext", Method, 8, ""}, + {"(Result).LastInsertId", Method, 0, ""}, + {"(Result).RowsAffected", Method, 0, ""}, + {"(Rows).Close", Method, 0, ""}, + {"(Rows).Columns", Method, 0, ""}, + {"(Rows).Next", Method, 0, ""}, {"(RowsAffected).LastInsertId", Method, 0, ""}, {"(RowsAffected).RowsAffected", Method, 0, ""}, + {"(RowsColumnTypeDatabaseTypeName).Close", Method, 8, ""}, + {"(RowsColumnTypeDatabaseTypeName).ColumnTypeDatabaseTypeName", Method, 8, ""}, + {"(RowsColumnTypeDatabaseTypeName).Columns", Method, 8, ""}, + {"(RowsColumnTypeDatabaseTypeName).Next", Method, 8, ""}, + {"(RowsColumnTypeLength).Close", Method, 8, ""}, + {"(RowsColumnTypeLength).ColumnTypeLength", Method, 8, ""}, + {"(RowsColumnTypeLength).Columns", Method, 8, ""}, + {"(RowsColumnTypeLength).Next", Method, 8, ""}, + {"(RowsColumnTypeNullable).Close", Method, 8, ""}, + {"(RowsColumnTypeNullable).ColumnTypeNullable", Method, 8, ""}, + {"(RowsColumnTypeNullable).Columns", Method, 8, ""}, + {"(RowsColumnTypeNullable).Next", Method, 8, ""}, + {"(RowsColumnTypePrecisionScale).Close", Method, 8, ""}, + {"(RowsColumnTypePrecisionScale).ColumnTypePrecisionScale", Method, 8, ""}, + {"(RowsColumnTypePrecisionScale).Columns", Method, 8, ""}, + {"(RowsColumnTypePrecisionScale).Next", Method, 8, ""}, + {"(RowsColumnTypeScanType).Close", Method, 8, ""}, + {"(RowsColumnTypeScanType).ColumnTypeScanType", Method, 8, ""}, + {"(RowsColumnTypeScanType).Columns", Method, 8, ""}, + {"(RowsColumnTypeScanType).Next", Method, 8, ""}, + {"(RowsNextResultSet).Close", Method, 8, ""}, + {"(RowsNextResultSet).Columns", Method, 8, ""}, + {"(RowsNextResultSet).HasNextResultSet", Method, 8, ""}, + {"(RowsNextResultSet).Next", Method, 8, ""}, + {"(RowsNextResultSet).NextResultSet", Method, 8, ""}, + {"(SessionResetter).ResetSession", Method, 10, ""}, + {"(Stmt).Close", Method, 0, ""}, + {"(Stmt).Exec", Method, 0, ""}, + {"(Stmt).NumInput", Method, 0, ""}, + {"(Stmt).Query", Method, 0, ""}, + {"(StmtExecContext).ExecContext", Method, 8, ""}, + {"(StmtQueryContext).QueryContext", Method, 8, ""}, + {"(Tx).Commit", Method, 0, ""}, + {"(Tx).Rollback", Method, 0, ""}, + {"(Validator).IsValid", Method, 15, ""}, + {"(ValueConverter).ConvertValue", Method, 0, ""}, + {"(Valuer).Value", Method, 0, ""}, {"Bool", Var, 0, ""}, {"ColumnConverter", Type, 0, ""}, {"Conn", Type, 0, ""}, @@ -1754,6 +1941,9 @@ var PackageSymbols = map[string][]Symbol{ {"(DecodeError).Error", Method, 0, ""}, {"(Tag).GoString", Method, 0, ""}, {"(Tag).String", Method, 0, ""}, + {"(Type).Common", Method, 0, ""}, + {"(Type).Size", Method, 0, ""}, + {"(Type).String", Method, 0, ""}, {"AddrType", Type, 0, ""}, {"AddrType.BasicType", Field, 0, ""}, {"ArrayType", Type, 0, ""}, @@ -3161,6 +3351,7 @@ var PackageSymbols = map[string][]Symbol{ {"R_LARCH_B16", Const, 20, ""}, {"R_LARCH_B21", Const, 20, ""}, {"R_LARCH_B26", Const, 20, ""}, + {"R_LARCH_CALL36", Const, 26, ""}, {"R_LARCH_CFA", Const, 22, ""}, {"R_LARCH_COPY", Const, 19, ""}, {"R_LARCH_DELETE", Const, 22, ""}, @@ -3218,11 +3409,25 @@ var PackageSymbols = map[string][]Symbol{ {"R_LARCH_SUB64", Const, 19, ""}, {"R_LARCH_SUB8", Const, 19, ""}, {"R_LARCH_SUB_ULEB128", Const, 22, ""}, + {"R_LARCH_TLS_DESC32", Const, 26, ""}, + {"R_LARCH_TLS_DESC64", Const, 26, ""}, + {"R_LARCH_TLS_DESC64_HI12", Const, 26, ""}, + {"R_LARCH_TLS_DESC64_LO20", Const, 26, ""}, + {"R_LARCH_TLS_DESC64_PC_HI12", Const, 26, ""}, + {"R_LARCH_TLS_DESC64_PC_LO20", Const, 26, ""}, + {"R_LARCH_TLS_DESC_CALL", Const, 26, ""}, + {"R_LARCH_TLS_DESC_HI20", Const, 26, ""}, + {"R_LARCH_TLS_DESC_LD", Const, 26, ""}, + {"R_LARCH_TLS_DESC_LO12", Const, 26, ""}, + {"R_LARCH_TLS_DESC_PCREL20_S2", Const, 26, ""}, + {"R_LARCH_TLS_DESC_PC_HI20", Const, 26, ""}, + {"R_LARCH_TLS_DESC_PC_LO12", Const, 26, ""}, {"R_LARCH_TLS_DTPMOD32", Const, 19, ""}, {"R_LARCH_TLS_DTPMOD64", Const, 19, ""}, {"R_LARCH_TLS_DTPREL32", Const, 19, ""}, {"R_LARCH_TLS_DTPREL64", Const, 19, ""}, {"R_LARCH_TLS_GD_HI20", Const, 20, ""}, + {"R_LARCH_TLS_GD_PCREL20_S2", Const, 26, ""}, {"R_LARCH_TLS_GD_PC_HI20", Const, 20, ""}, {"R_LARCH_TLS_IE64_HI12", Const, 20, ""}, {"R_LARCH_TLS_IE64_LO20", Const, 20, ""}, @@ -3233,11 +3438,15 @@ var PackageSymbols = map[string][]Symbol{ {"R_LARCH_TLS_IE_PC_HI20", Const, 20, ""}, {"R_LARCH_TLS_IE_PC_LO12", Const, 20, ""}, {"R_LARCH_TLS_LD_HI20", Const, 20, ""}, + {"R_LARCH_TLS_LD_PCREL20_S2", Const, 26, ""}, {"R_LARCH_TLS_LD_PC_HI20", Const, 20, ""}, {"R_LARCH_TLS_LE64_HI12", Const, 20, ""}, {"R_LARCH_TLS_LE64_LO20", Const, 20, ""}, + {"R_LARCH_TLS_LE_ADD_R", Const, 26, ""}, {"R_LARCH_TLS_LE_HI20", Const, 20, ""}, + {"R_LARCH_TLS_LE_HI20_R", Const, 26, ""}, {"R_LARCH_TLS_LE_LO12", Const, 20, ""}, + {"R_LARCH_TLS_LE_LO12_R", Const, 26, ""}, {"R_LARCH_TLS_TPREL32", Const, 19, ""}, {"R_LARCH_TLS_TPREL64", Const, 19, ""}, {"R_MIPS", Type, 6, ""}, @@ -3942,6 +4151,7 @@ var PackageSymbols = map[string][]Symbol{ {"(FatArch).ImportedSymbols", Method, 3, ""}, {"(FatArch).Section", Method, 3, ""}, {"(FatArch).Segment", Method, 3, ""}, + {"(Load).Raw", Method, 0, ""}, {"(LoadBytes).Raw", Method, 0, ""}, {"(LoadCmd).GoString", Method, 0, ""}, {"(LoadCmd).String", Method, 0, ""}, @@ -4588,6 +4798,12 @@ var PackageSymbols = map[string][]Symbol{ {"FS", Type, 16, ""}, }, "encoding": { + {"(BinaryAppender).AppendBinary", Method, 24, ""}, + {"(BinaryMarshaler).MarshalBinary", Method, 2, ""}, + {"(BinaryUnmarshaler).UnmarshalBinary", Method, 2, ""}, + {"(TextAppender).AppendText", Method, 24, ""}, + {"(TextMarshaler).MarshalText", Method, 2, ""}, + {"(TextUnmarshaler).UnmarshalText", Method, 2, ""}, {"BinaryAppender", Type, 24, ""}, {"BinaryMarshaler", Type, 2, ""}, {"BinaryUnmarshaler", Type, 2, ""}, @@ -4703,6 +4919,17 @@ var PackageSymbols = map[string][]Symbol{ {"URLEncoding", Var, 0, ""}, }, "encoding/binary": { + {"(AppendByteOrder).AppendUint16", Method, 19, ""}, + {"(AppendByteOrder).AppendUint32", Method, 19, ""}, + {"(AppendByteOrder).AppendUint64", Method, 19, ""}, + {"(AppendByteOrder).String", Method, 19, ""}, + {"(ByteOrder).PutUint16", Method, 0, ""}, + {"(ByteOrder).PutUint32", Method, 0, ""}, + {"(ByteOrder).PutUint64", Method, 0, ""}, + {"(ByteOrder).String", Method, 0, ""}, + {"(ByteOrder).Uint16", Method, 0, ""}, + {"(ByteOrder).Uint32", Method, 0, ""}, + {"(ByteOrder).Uint64", Method, 0, ""}, {"Append", Func, 23, "func(buf []byte, order ByteOrder, data any) ([]byte, error)"}, {"AppendByteOrder", Type, 19, ""}, {"AppendUvarint", Func, 19, "func(buf []byte, x uint64) []byte"}, @@ -4765,6 +4992,8 @@ var PackageSymbols = map[string][]Symbol{ {"(*Decoder).DecodeValue", Method, 0, ""}, {"(*Encoder).Encode", Method, 0, ""}, {"(*Encoder).EncodeValue", Method, 0, ""}, + {"(GobDecoder).GobDecode", Method, 0, ""}, + {"(GobEncoder).GobEncode", Method, 0, ""}, {"CommonType", Type, 0, ""}, {"CommonType.Id", Field, 0, ""}, {"CommonType.Name", Field, 0, ""}, @@ -4817,10 +5046,12 @@ var PackageSymbols = map[string][]Symbol{ {"(*UnsupportedTypeError).Error", Method, 0, ""}, {"(*UnsupportedValueError).Error", Method, 0, ""}, {"(Delim).String", Method, 5, ""}, + {"(Marshaler).MarshalJSON", Method, 0, ""}, {"(Number).Float64", Method, 1, ""}, {"(Number).Int64", Method, 1, ""}, {"(Number).String", Method, 1, ""}, {"(RawMessage).MarshalJSON", Method, 8, ""}, + {"(Unmarshaler).UnmarshalJSON", Method, 0, ""}, {"Compact", Func, 0, "func(dst *bytes.Buffer, src []byte) error"}, {"Decoder", Type, 0, ""}, {"Delim", Type, 5, ""}, @@ -4892,10 +5123,15 @@ var PackageSymbols = map[string][]Symbol{ {"(CharData).Copy", Method, 0, ""}, {"(Comment).Copy", Method, 0, ""}, {"(Directive).Copy", Method, 0, ""}, + {"(Marshaler).MarshalXML", Method, 2, ""}, + {"(MarshalerAttr).MarshalXMLAttr", Method, 2, ""}, {"(ProcInst).Copy", Method, 0, ""}, {"(StartElement).Copy", Method, 0, ""}, {"(StartElement).End", Method, 2, ""}, + {"(TokenReader).Token", Method, 10, ""}, {"(UnmarshalError).Error", Method, 0, ""}, + {"(Unmarshaler).UnmarshalXML", Method, 2, ""}, + {"(UnmarshalerAttr).UnmarshalXMLAttr", Method, 2, ""}, {"Attr", Type, 0, ""}, {"Attr.Name", Field, 0, ""}, {"Attr.Value", Field, 0, ""}, @@ -4953,6 +5189,7 @@ var PackageSymbols = map[string][]Symbol{ }, "errors": { {"As", Func, 13, "func(err error, target any) bool"}, + {"AsType", Func, 26, "func[E error](err error) (E, bool)"}, {"ErrUnsupported", Var, 21, ""}, {"Is", Func, 13, "func(err error, target error) bool"}, {"Join", Func, 20, "func(errs ...error) error"}, @@ -4981,6 +5218,7 @@ var PackageSymbols = map[string][]Symbol{ {"(*String).Value", Method, 8, ""}, {"(Func).String", Method, 0, ""}, {"(Func).Value", Method, 8, ""}, + {"(Var).String", Method, 0, ""}, {"Do", Func, 0, "func(f func(KeyValue))"}, {"Float", Type, 0, ""}, {"Func", Type, 0, ""}, @@ -5036,6 +5274,11 @@ var PackageSymbols = map[string][]Symbol{ {"(*FlagSet).Var", Method, 0, ""}, {"(*FlagSet).Visit", Method, 0, ""}, {"(*FlagSet).VisitAll", Method, 0, ""}, + {"(Getter).Get", Method, 2, ""}, + {"(Getter).Set", Method, 2, ""}, + {"(Getter).String", Method, 2, ""}, + {"(Value).Set", Method, 0, ""}, + {"(Value).String", Method, 0, ""}, {"Arg", Func, 0, "func(i int) string"}, {"Args", Func, 0, "func() []string"}, {"Bool", Func, 0, "func(name string, value bool, usage string) *bool"}, @@ -5087,10 +5330,24 @@ var PackageSymbols = map[string][]Symbol{ {"VisitAll", Func, 0, "func(fn func(*Flag))"}, }, "fmt": { + {"(Formatter).Format", Method, 0, ""}, + {"(GoStringer).GoString", Method, 0, ""}, + {"(ScanState).Read", Method, 0, ""}, + {"(ScanState).ReadRune", Method, 0, ""}, + {"(ScanState).SkipSpace", Method, 0, ""}, + {"(ScanState).Token", Method, 0, ""}, + {"(ScanState).UnreadRune", Method, 0, ""}, + {"(ScanState).Width", Method, 0, ""}, + {"(Scanner).Scan", Method, 0, ""}, + {"(State).Flag", Method, 0, ""}, + {"(State).Precision", Method, 0, ""}, + {"(State).Width", Method, 0, ""}, + {"(State).Write", Method, 0, ""}, + {"(Stringer).String", Method, 0, ""}, {"Append", Func, 19, "func(b []byte, a ...any) []byte"}, {"Appendf", Func, 19, "func(b []byte, format string, a ...any) []byte"}, {"Appendln", Func, 19, "func(b []byte, a ...any) []byte"}, - {"Errorf", Func, 0, "func(format string, a ...any) error"}, + {"Errorf", Func, 0, "func(format string, a ...any) (err error)"}, {"FormatString", Func, 20, "func(state State, verb rune) string"}, {"Formatter", Type, 0, ""}, {"Fprint", Func, 0, "func(w io.Writer, a ...any) (n int, err error)"}, @@ -5155,6 +5412,9 @@ var PackageSymbols = map[string][]Symbol{ {"(*DeclStmt).Pos", Method, 0, ""}, {"(*DeferStmt).End", Method, 0, ""}, {"(*DeferStmt).Pos", Method, 0, ""}, + {"(*Directive).End", Method, 26, ""}, + {"(*Directive).ParseArgs", Method, 26, ""}, + {"(*Directive).Pos", Method, 26, ""}, {"(*Ellipsis).End", Method, 0, ""}, {"(*Ellipsis).Pos", Method, 0, ""}, {"(*EmptyStmt).End", Method, 0, ""}, @@ -5242,7 +5502,18 @@ var PackageSymbols = map[string][]Symbol{ {"(CommentMap).Filter", Method, 1, ""}, {"(CommentMap).String", Method, 1, ""}, {"(CommentMap).Update", Method, 1, ""}, + {"(Decl).End", Method, 0, ""}, + {"(Decl).Pos", Method, 0, ""}, + {"(Expr).End", Method, 0, ""}, + {"(Expr).Pos", Method, 0, ""}, + {"(Node).End", Method, 0, ""}, + {"(Node).Pos", Method, 0, ""}, {"(ObjKind).String", Method, 0, ""}, + {"(Spec).End", Method, 0, ""}, + {"(Spec).Pos", Method, 0, ""}, + {"(Stmt).End", Method, 0, ""}, + {"(Stmt).Pos", Method, 0, ""}, + {"(Visitor).Visit", Method, 0, ""}, {"ArrayType", Type, 0, ""}, {"ArrayType.Elt", Field, 0, ""}, {"ArrayType.Lbrack", Field, 0, ""}, @@ -5265,6 +5536,7 @@ var PackageSymbols = map[string][]Symbol{ {"BasicLit", Type, 0, ""}, {"BasicLit.Kind", Field, 0, ""}, {"BasicLit.Value", Field, 0, ""}, + {"BasicLit.ValueEnd", Field, 26, ""}, {"BasicLit.ValuePos", Field, 0, ""}, {"BinaryExpr", Type, 0, ""}, {"BinaryExpr.Op", Field, 0, ""}, @@ -5314,19 +5586,26 @@ var PackageSymbols = map[string][]Symbol{ {"CompositeLit.Rbrace", Field, 0, ""}, {"CompositeLit.Type", Field, 0, ""}, {"Con", Const, 0, ""}, - {"Decl", Type, 0, ""}, {"DeclStmt", Type, 0, ""}, {"DeclStmt.Decl", Field, 0, ""}, {"DeferStmt", Type, 0, ""}, {"DeferStmt.Call", Field, 0, ""}, {"DeferStmt.Defer", Field, 0, ""}, + {"Directive", Type, 26, ""}, + {"Directive.Args", Field, 26, ""}, + {"Directive.ArgsPos", Field, 26, ""}, + {"Directive.Name", Field, 26, ""}, + {"Directive.Slash", Field, 26, ""}, + {"Directive.Tool", Field, 26, ""}, + {"DirectiveArg", Type, 26, ""}, + {"DirectiveArg.Arg", Field, 26, ""}, + {"DirectiveArg.Pos", Field, 26, ""}, {"Ellipsis", Type, 0, ""}, {"Ellipsis.Ellipsis", Field, 0, ""}, {"Ellipsis.Elt", Field, 0, ""}, {"EmptyStmt", Type, 0, ""}, {"EmptyStmt.Implicit", Field, 5, ""}, {"EmptyStmt.Semicolon", Field, 0, ""}, - {"Expr", Type, 0, ""}, {"ExprStmt", Type, 0, ""}, {"ExprStmt.X", Field, 0, ""}, {"Field", Type, 0, ""}, @@ -5469,6 +5748,7 @@ var PackageSymbols = map[string][]Symbol{ {"ParenExpr.Lparen", Field, 0, ""}, {"ParenExpr.Rparen", Field, 0, ""}, {"ParenExpr.X", Field, 0, ""}, + {"ParseDirective", Func, 26, "func(pos token.Pos, c string) (Directive, bool)"}, {"Pkg", Const, 0, ""}, {"Preorder", Func, 23, "func(root Node) iter.Seq[Node]"}, {"PreorderStack", Func, 25, "func(root Node, stack []Node, f func(n Node, stack []Node) bool)"}, @@ -5509,11 +5789,9 @@ var PackageSymbols = map[string][]Symbol{ {"SliceExpr.Slice3", Field, 2, ""}, {"SliceExpr.X", Field, 0, ""}, {"SortImports", Func, 0, "func(fset *token.FileSet, f *File)"}, - {"Spec", Type, 0, ""}, {"StarExpr", Type, 0, ""}, {"StarExpr.Star", Field, 0, ""}, {"StarExpr.X", Field, 0, ""}, - {"Stmt", Type, 0, ""}, {"StructType", Type, 0, ""}, {"StructType.Fields", Field, 0, ""}, {"StructType.Incomplete", Field, 0, ""}, @@ -5668,10 +5946,11 @@ var PackageSymbols = map[string][]Symbol{ {"(*SyntaxError).Error", Method, 16, ""}, {"(*TagExpr).Eval", Method, 16, ""}, {"(*TagExpr).String", Method, 16, ""}, + {"(Expr).Eval", Method, 16, ""}, + {"(Expr).String", Method, 16, ""}, {"AndExpr", Type, 16, ""}, {"AndExpr.X", Field, 16, ""}, {"AndExpr.Y", Field, 16, ""}, - {"Expr", Type, 16, ""}, {"GoVersion", Func, 21, "func(x Expr) string"}, {"IsGoBuild", Func, 16, "func(line string) bool"}, {"IsPlusBuild", Func, 16, "func(line string) bool"}, @@ -5690,6 +5969,9 @@ var PackageSymbols = map[string][]Symbol{ }, "go/constant": { {"(Kind).String", Method, 18, ""}, + {"(Value).ExactString", Method, 6, ""}, + {"(Value).Kind", Method, 5, ""}, + {"(Value).String", Method, 5, ""}, {"BinaryOp", Func, 5, "func(x_ Value, op token.Token, y_ Value) Value"}, {"BitLen", Func, 5, "func(x Value) int"}, {"Bool", Const, 5, ""}, @@ -5728,7 +6010,6 @@ var PackageSymbols = map[string][]Symbol{ {"UnaryOp", Func, 5, "func(op token.Token, y Value, prec uint) Value"}, {"Unknown", Const, 5, ""}, {"Val", Func, 13, "func(x Value) any"}, - {"Value", Type, 5, ""}, }, "go/doc": { {"(*Package).Filter", Method, 0, ""}, @@ -5812,7 +6093,6 @@ var PackageSymbols = map[string][]Symbol{ {"(*Printer).HTML", Method, 19, ""}, {"(*Printer).Markdown", Method, 19, ""}, {"(*Printer).Text", Method, 19, ""}, - {"Block", Type, 19, ""}, {"Code", Type, 19, ""}, {"Code.Text", Field, 19, ""}, {"DefaultLookupPackage", Func, 19, "func(name string) (importPath string, ok bool)"}, @@ -5857,7 +6137,6 @@ var PackageSymbols = map[string][]Symbol{ {"Printer.TextCodePrefix", Field, 19, ""}, {"Printer.TextPrefix", Field, 19, ""}, {"Printer.TextWidth", Field, 19, ""}, - {"Text", Type, 19, ""}, }, "go/format": { {"Node", Func, 1, "func(dst io.Writer, fset *token.FileSet, node any) error"}, @@ -5929,6 +6208,7 @@ var PackageSymbols = map[string][]Symbol{ {"(*File).AddLineColumnInfo", Method, 11, ""}, {"(*File).AddLineInfo", Method, 0, ""}, {"(*File).Base", Method, 0, ""}, + {"(*File).End", Method, 26, ""}, {"(*File).Line", Method, 0, ""}, {"(*File).LineCount", Method, 0, ""}, {"(*File).LineStart", Method, 12, ""}, @@ -6291,6 +6571,22 @@ var PackageSymbols = map[string][]Symbol{ {"(Checker).PkgNameOf", Method, 22, ""}, {"(Checker).TypeOf", Method, 5, ""}, {"(Error).Error", Method, 5, ""}, + {"(Importer).Import", Method, 5, ""}, + {"(ImporterFrom).Import", Method, 6, ""}, + {"(ImporterFrom).ImportFrom", Method, 6, ""}, + {"(Object).Exported", Method, 5, ""}, + {"(Object).Id", Method, 5, ""}, + {"(Object).Name", Method, 5, ""}, + {"(Object).Parent", Method, 5, ""}, + {"(Object).Pkg", Method, 5, ""}, + {"(Object).Pos", Method, 5, ""}, + {"(Object).String", Method, 5, ""}, + {"(Object).Type", Method, 5, ""}, + {"(Sizes).Alignof", Method, 5, ""}, + {"(Sizes).Offsetsof", Method, 5, ""}, + {"(Sizes).Sizeof", Method, 5, ""}, + {"(Type).String", Method, 5, ""}, + {"(Type).Underlying", Method, 5, ""}, {"(TypeAndValue).Addressable", Method, 5, ""}, {"(TypeAndValue).Assignable", Method, 5, ""}, {"(TypeAndValue).HasOk", Method, 5, ""}, @@ -6429,7 +6725,6 @@ var PackageSymbols = map[string][]Symbol{ {"NewUnion", Func, 18, "func(terms []*Term) *Union"}, {"NewVar", Func, 5, "func(pos token.Pos, pkg *Package, name string, typ Type) *Var"}, {"Nil", Type, 5, ""}, - {"Object", Type, 5, ""}, {"ObjectString", Func, 5, "func(obj Object, qf Qualifier) string"}, {"Package", Type, 5, ""}, {"PackageVar", Const, 25, ""}, @@ -6500,6 +6795,33 @@ var PackageSymbols = map[string][]Symbol{ {"Lang", Func, 22, "func(x string) string"}, }, "hash": { + {"(Cloner).BlockSize", Method, 25, ""}, + {"(Cloner).Clone", Method, 25, ""}, + {"(Cloner).Reset", Method, 25, ""}, + {"(Cloner).Size", Method, 25, ""}, + {"(Cloner).Sum", Method, 25, ""}, + {"(Cloner).Write", Method, 25, ""}, + {"(Hash).BlockSize", Method, 0, ""}, + {"(Hash).Reset", Method, 0, ""}, + {"(Hash).Size", Method, 0, ""}, + {"(Hash).Sum", Method, 0, ""}, + {"(Hash).Write", Method, 0, ""}, + {"(Hash32).BlockSize", Method, 0, ""}, + {"(Hash32).Reset", Method, 0, ""}, + {"(Hash32).Size", Method, 0, ""}, + {"(Hash32).Sum", Method, 0, ""}, + {"(Hash32).Sum32", Method, 0, ""}, + {"(Hash32).Write", Method, 0, ""}, + {"(Hash64).BlockSize", Method, 0, ""}, + {"(Hash64).Reset", Method, 0, ""}, + {"(Hash64).Size", Method, 0, ""}, + {"(Hash64).Sum", Method, 0, ""}, + {"(Hash64).Sum64", Method, 0, ""}, + {"(Hash64).Write", Method, 0, ""}, + {"(XOF).BlockSize", Method, 25, ""}, + {"(XOF).Read", Method, 25, ""}, + {"(XOF).Reset", Method, 25, ""}, + {"(XOF).Write", Method, 25, ""}, {"Cloner", Type, 25, ""}, {"Hash", Type, 0, ""}, {"Hash32", Type, 0, ""}, @@ -6765,6 +7087,13 @@ var PackageSymbols = map[string][]Symbol{ {"(*YCbCr).SubImage", Method, 0, ""}, {"(*YCbCr).YCbCrAt", Method, 4, ""}, {"(*YCbCr).YOffset", Method, 0, ""}, + {"(Image).At", Method, 0, ""}, + {"(Image).Bounds", Method, 0, ""}, + {"(Image).ColorModel", Method, 0, ""}, + {"(PalettedImage).At", Method, 0, ""}, + {"(PalettedImage).Bounds", Method, 0, ""}, + {"(PalettedImage).ColorIndexAt", Method, 0, ""}, + {"(PalettedImage).ColorModel", Method, 0, ""}, {"(Point).Add", Method, 0, ""}, {"(Point).Div", Method, 0, ""}, {"(Point).Eq", Method, 0, ""}, @@ -6773,6 +7102,10 @@ var PackageSymbols = map[string][]Symbol{ {"(Point).Mul", Method, 0, ""}, {"(Point).String", Method, 0, ""}, {"(Point).Sub", Method, 0, ""}, + {"(RGBA64Image).At", Method, 17, ""}, + {"(RGBA64Image).Bounds", Method, 17, ""}, + {"(RGBA64Image).ColorModel", Method, 17, ""}, + {"(RGBA64Image).RGBA64At", Method, 17, ""}, {"(Rectangle).Add", Method, 0, ""}, {"(Rectangle).At", Method, 5, ""}, {"(Rectangle).Bounds", Method, 5, ""}, @@ -6897,8 +7230,10 @@ var PackageSymbols = map[string][]Symbol{ {"(Alpha).RGBA", Method, 0, ""}, {"(Alpha16).RGBA", Method, 0, ""}, {"(CMYK).RGBA", Method, 5, ""}, + {"(Color).RGBA", Method, 0, ""}, {"(Gray).RGBA", Method, 0, ""}, {"(Gray16).RGBA", Method, 0, ""}, + {"(Model).Convert", Method, 0, ""}, {"(NRGBA).RGBA", Method, 0, ""}, {"(NRGBA64).RGBA", Method, 0, ""}, {"(NYCbCrA).RGBA", Method, 6, ""}, @@ -6976,7 +7311,19 @@ var PackageSymbols = map[string][]Symbol{ {"WebSafe", Var, 2, ""}, }, "image/draw": { + {"(Drawer).Draw", Method, 2, ""}, + {"(Image).At", Method, 0, ""}, + {"(Image).Bounds", Method, 0, ""}, + {"(Image).ColorModel", Method, 0, ""}, + {"(Image).Set", Method, 0, ""}, {"(Op).Draw", Method, 2, ""}, + {"(Quantizer).Quantize", Method, 2, ""}, + {"(RGBA64Image).At", Method, 17, ""}, + {"(RGBA64Image).Bounds", Method, 17, ""}, + {"(RGBA64Image).ColorModel", Method, 17, ""}, + {"(RGBA64Image).RGBA64At", Method, 17, ""}, + {"(RGBA64Image).Set", Method, 17, ""}, + {"(RGBA64Image).SetRGBA64", Method, 17, ""}, {"Draw", Func, 0, "func(dst Image, r image.Rectangle, src image.Image, sp image.Point, op Op)"}, {"DrawMask", Func, 0, "func(dst Image, r image.Rectangle, src image.Image, sp image.Point, mask image.Image, mp image.Point, op Op)"}, {"Drawer", Type, 2, ""}, @@ -7011,6 +7358,8 @@ var PackageSymbols = map[string][]Symbol{ }, "image/jpeg": { {"(FormatError).Error", Method, 0, ""}, + {"(Reader).Read", Method, 0, ""}, + {"(Reader).ReadByte", Method, 0, ""}, {"(UnsupportedError).Error", Method, 0, ""}, {"Decode", Func, 0, "func(r io.Reader) (image.Image, error)"}, {"DecodeConfig", Func, 0, "func(r io.Reader) (image.Config, error)"}, @@ -7024,6 +7373,8 @@ var PackageSymbols = map[string][]Symbol{ }, "image/png": { {"(*Encoder).Encode", Method, 4, ""}, + {"(EncoderBufferPool).Get", Method, 9, ""}, + {"(EncoderBufferPool).Put", Method, 9, ""}, {"(FormatError).Error", Method, 0, ""}, {"(UnsupportedError).Error", Method, 0, ""}, {"BestCompression", Const, 4, ""}, @@ -7067,6 +7418,41 @@ var PackageSymbols = map[string][]Symbol{ {"(*SectionReader).ReadAt", Method, 0, ""}, {"(*SectionReader).Seek", Method, 0, ""}, {"(*SectionReader).Size", Method, 0, ""}, + {"(ByteReader).ReadByte", Method, 0, ""}, + {"(ByteScanner).ReadByte", Method, 0, ""}, + {"(ByteScanner).UnreadByte", Method, 0, ""}, + {"(ByteWriter).WriteByte", Method, 1, ""}, + {"(Closer).Close", Method, 0, ""}, + {"(ReadCloser).Close", Method, 0, ""}, + {"(ReadCloser).Read", Method, 0, ""}, + {"(ReadSeekCloser).Close", Method, 16, ""}, + {"(ReadSeekCloser).Read", Method, 16, ""}, + {"(ReadSeekCloser).Seek", Method, 16, ""}, + {"(ReadSeeker).Read", Method, 0, ""}, + {"(ReadSeeker).Seek", Method, 0, ""}, + {"(ReadWriteCloser).Close", Method, 0, ""}, + {"(ReadWriteCloser).Read", Method, 0, ""}, + {"(ReadWriteCloser).Write", Method, 0, ""}, + {"(ReadWriteSeeker).Read", Method, 0, ""}, + {"(ReadWriteSeeker).Seek", Method, 0, ""}, + {"(ReadWriteSeeker).Write", Method, 0, ""}, + {"(ReadWriter).Read", Method, 0, ""}, + {"(ReadWriter).Write", Method, 0, ""}, + {"(Reader).Read", Method, 0, ""}, + {"(ReaderAt).ReadAt", Method, 0, ""}, + {"(ReaderFrom).ReadFrom", Method, 0, ""}, + {"(RuneReader).ReadRune", Method, 0, ""}, + {"(RuneScanner).ReadRune", Method, 0, ""}, + {"(RuneScanner).UnreadRune", Method, 0, ""}, + {"(Seeker).Seek", Method, 0, ""}, + {"(StringWriter).WriteString", Method, 12, ""}, + {"(WriteCloser).Close", Method, 0, ""}, + {"(WriteCloser).Write", Method, 0, ""}, + {"(WriteSeeker).Seek", Method, 0, ""}, + {"(WriteSeeker).Write", Method, 0, ""}, + {"(Writer).Write", Method, 0, ""}, + {"(WriterAt).WriteAt", Method, 0, ""}, + {"(WriterTo).WriteTo", Method, 0, ""}, {"ByteReader", Type, 0, ""}, {"ByteScanner", Type, 0, ""}, {"ByteWriter", Type, 1, ""}, @@ -7126,11 +7512,42 @@ var PackageSymbols = map[string][]Symbol{ {"(*PathError).Error", Method, 16, ""}, {"(*PathError).Timeout", Method, 16, ""}, {"(*PathError).Unwrap", Method, 16, ""}, + {"(DirEntry).Info", Method, 16, ""}, + {"(DirEntry).IsDir", Method, 16, ""}, + {"(DirEntry).Name", Method, 16, ""}, + {"(DirEntry).Type", Method, 16, ""}, + {"(FS).Open", Method, 16, ""}, + {"(File).Close", Method, 16, ""}, + {"(File).Read", Method, 16, ""}, + {"(File).Stat", Method, 16, ""}, + {"(FileInfo).IsDir", Method, 16, ""}, + {"(FileInfo).ModTime", Method, 16, ""}, + {"(FileInfo).Mode", Method, 16, ""}, + {"(FileInfo).Name", Method, 16, ""}, + {"(FileInfo).Size", Method, 16, ""}, + {"(FileInfo).Sys", Method, 16, ""}, {"(FileMode).IsDir", Method, 16, ""}, {"(FileMode).IsRegular", Method, 16, ""}, {"(FileMode).Perm", Method, 16, ""}, {"(FileMode).String", Method, 16, ""}, {"(FileMode).Type", Method, 16, ""}, + {"(GlobFS).Glob", Method, 16, ""}, + {"(GlobFS).Open", Method, 16, ""}, + {"(ReadDirFS).Open", Method, 16, ""}, + {"(ReadDirFS).ReadDir", Method, 16, ""}, + {"(ReadDirFile).Close", Method, 16, ""}, + {"(ReadDirFile).Read", Method, 16, ""}, + {"(ReadDirFile).ReadDir", Method, 16, ""}, + {"(ReadDirFile).Stat", Method, 16, ""}, + {"(ReadFileFS).Open", Method, 16, ""}, + {"(ReadFileFS).ReadFile", Method, 16, ""}, + {"(ReadLinkFS).Lstat", Method, 25, ""}, + {"(ReadLinkFS).Open", Method, 25, ""}, + {"(ReadLinkFS).ReadLink", Method, 25, ""}, + {"(StatFS).Open", Method, 16, ""}, + {"(StatFS).Stat", Method, 16, ""}, + {"(SubFS).Open", Method, 16, ""}, + {"(SubFS).Sub", Method, 16, ""}, {"DirEntry", Type, 16, ""}, {"ErrClosed", Var, 16, ""}, {"ErrExist", Var, 16, ""}, @@ -7271,6 +7688,10 @@ var PackageSymbols = map[string][]Symbol{ {"(*Logger).WarnContext", Method, 21, ""}, {"(*Logger).With", Method, 21, ""}, {"(*Logger).WithGroup", Method, 21, ""}, + {"(*MultiHandler).Enabled", Method, 26, ""}, + {"(*MultiHandler).Handle", Method, 26, ""}, + {"(*MultiHandler).WithAttrs", Method, 26, ""}, + {"(*MultiHandler).WithGroup", Method, 26, ""}, {"(*Record).Add", Method, 21, ""}, {"(*Record).AddAttrs", Method, 21, ""}, {"(*TextHandler).Enabled", Method, 21, ""}, @@ -7279,12 +7700,18 @@ var PackageSymbols = map[string][]Symbol{ {"(*TextHandler).WithGroup", Method, 21, ""}, {"(Attr).Equal", Method, 21, ""}, {"(Attr).String", Method, 21, ""}, + {"(Handler).Enabled", Method, 21, ""}, + {"(Handler).Handle", Method, 21, ""}, + {"(Handler).WithAttrs", Method, 21, ""}, + {"(Handler).WithGroup", Method, 21, ""}, {"(Kind).String", Method, 21, ""}, {"(Level).AppendText", Method, 24, ""}, {"(Level).Level", Method, 21, ""}, {"(Level).MarshalJSON", Method, 21, ""}, {"(Level).MarshalText", Method, 21, ""}, {"(Level).String", Method, 21, ""}, + {"(Leveler).Level", Method, 21, ""}, + {"(LogValuer).LogValue", Method, 21, ""}, {"(Record).Attrs", Method, 21, ""}, {"(Record).Clone", Method, 21, ""}, {"(Record).NumAttrs", Method, 21, ""}, @@ -7358,9 +7785,11 @@ var PackageSymbols = map[string][]Symbol{ {"LogValuer", Type, 21, ""}, {"Logger", Type, 21, ""}, {"MessageKey", Const, 21, ""}, + {"MultiHandler", Type, 26, ""}, {"New", Func, 21, "func(h Handler) *Logger"}, {"NewJSONHandler", Func, 21, "func(w io.Writer, opts *HandlerOptions) *JSONHandler"}, {"NewLogLogger", Func, 21, "func(h Handler, level Level) *log.Logger"}, + {"NewMultiHandler", Func, 26, "func(handlers ...Handler) *MultiHandler"}, {"NewRecord", Func, 21, "func(t time.Time, level Level, msg string, pc uintptr) Record"}, {"NewTextHandler", Func, 21, "func(w io.Writer, opts *HandlerOptions) *TextHandler"}, {"Record", Type, 21, ""}, @@ -7515,7 +7944,7 @@ var PackageSymbols = map[string][]Symbol{ {"MinInt64", Const, 0, ""}, {"MinInt8", Const, 0, ""}, {"Mod", Func, 0, "func(x float64, y float64) float64"}, - {"Modf", Func, 0, "func(f float64) (int float64, frac float64)"}, + {"Modf", Func, 0, "func(f float64) (integer float64, fractional float64)"}, {"NaN", Func, 0, "func() float64"}, {"Nextafter", Func, 0, "func(x float64, y float64) (r float64)"}, {"Nextafter32", Func, 4, "func(x float32, y float32) (r float32)"}, @@ -7811,6 +8240,11 @@ var PackageSymbols = map[string][]Symbol{ {"(*Rand).Uint32", Method, 0, ""}, {"(*Rand).Uint64", Method, 8, ""}, {"(*Zipf).Uint64", Method, 0, ""}, + {"(Source).Int63", Method, 0, ""}, + {"(Source).Seed", Method, 0, ""}, + {"(Source64).Int63", Method, 8, ""}, + {"(Source64).Seed", Method, 8, ""}, + {"(Source64).Uint64", Method, 8, ""}, {"ExpFloat64", Func, 0, "func() float64"}, {"Float32", Func, 0, "func() float32"}, {"Float64", Func, 0, "func() float64"}, @@ -7866,6 +8300,7 @@ var PackageSymbols = map[string][]Symbol{ {"(*Rand).Uint64N", Method, 22, ""}, {"(*Rand).UintN", Method, 22, ""}, {"(*Zipf).Uint64", Method, 22, ""}, + {"(Source).Uint64", Method, 22, ""}, {"ChaCha8", Type, 22, ""}, {"ExpFloat64", Func, 22, "func() float64"}, {"Float32", Func, 22, "func() float32"}, @@ -7929,6 +8364,10 @@ var PackageSymbols = map[string][]Symbol{ {"(*Writer).FormDataContentType", Method, 0, ""}, {"(*Writer).SetBoundary", Method, 1, ""}, {"(*Writer).WriteField", Method, 0, ""}, + {"(File).Close", Method, 0, ""}, + {"(File).Read", Method, 0, ""}, + {"(File).ReadAt", Method, 0, ""}, + {"(File).Seek", Method, 0, ""}, {"ErrMessageTooLarge", Var, 9, ""}, {"File", Type, 0, ""}, {"FileContentDisposition", Func, 25, "func(fieldname string, filename string) string"}, @@ -7972,6 +8411,10 @@ var PackageSymbols = map[string][]Symbol{ {"(*DNSError).Unwrap", Method, 23, ""}, {"(*Dialer).Dial", Method, 1, ""}, {"(*Dialer).DialContext", Method, 7, ""}, + {"(*Dialer).DialIP", Method, 26, ""}, + {"(*Dialer).DialTCP", Method, 26, ""}, + {"(*Dialer).DialUDP", Method, 26, ""}, + {"(*Dialer).DialUnix", Method, 26, ""}, {"(*Dialer).MultipathTCP", Method, 21, ""}, {"(*Dialer).SetMultipathTCP", Method, 21, ""}, {"(*IP).UnmarshalText", Method, 2, ""}, @@ -8109,6 +8552,19 @@ var PackageSymbols = map[string][]Symbol{ {"(*UnixListener).SetDeadline", Method, 0, ""}, {"(*UnixListener).SetUnlinkOnClose", Method, 8, ""}, {"(*UnixListener).SyscallConn", Method, 10, ""}, + {"(Addr).Network", Method, 0, ""}, + {"(Addr).String", Method, 0, ""}, + {"(Conn).Close", Method, 0, ""}, + {"(Conn).LocalAddr", Method, 0, ""}, + {"(Conn).Read", Method, 0, ""}, + {"(Conn).RemoteAddr", Method, 0, ""}, + {"(Conn).SetDeadline", Method, 0, ""}, + {"(Conn).SetReadDeadline", Method, 0, ""}, + {"(Conn).SetWriteDeadline", Method, 0, ""}, + {"(Conn).Write", Method, 0, ""}, + {"(Error).Error", Method, 0, ""}, + {"(Error).Temporary", Method, 0, ""}, + {"(Error).Timeout", Method, 0, ""}, {"(Flags).String", Method, 0, ""}, {"(HardwareAddr).String", Method, 0, ""}, {"(IP).AppendText", Method, 24, ""}, @@ -8132,6 +8588,16 @@ var PackageSymbols = map[string][]Symbol{ {"(InvalidAddrError).Error", Method, 0, ""}, {"(InvalidAddrError).Temporary", Method, 0, ""}, {"(InvalidAddrError).Timeout", Method, 0, ""}, + {"(Listener).Accept", Method, 0, ""}, + {"(Listener).Addr", Method, 0, ""}, + {"(Listener).Close", Method, 0, ""}, + {"(PacketConn).Close", Method, 0, ""}, + {"(PacketConn).LocalAddr", Method, 0, ""}, + {"(PacketConn).ReadFrom", Method, 0, ""}, + {"(PacketConn).SetDeadline", Method, 0, ""}, + {"(PacketConn).SetReadDeadline", Method, 0, ""}, + {"(PacketConn).SetWriteDeadline", Method, 0, ""}, + {"(PacketConn).WriteTo", Method, 0, ""}, {"(UnknownNetworkError).Error", Method, 0, ""}, {"(UnknownNetworkError).Temporary", Method, 0, ""}, {"(UnknownNetworkError).Timeout", Method, 0, ""}, @@ -8307,6 +8773,14 @@ var PackageSymbols = map[string][]Symbol{ {"(*Client).Head", Method, 0, ""}, {"(*Client).Post", Method, 0, ""}, {"(*Client).PostForm", Method, 0, ""}, + {"(*ClientConn).Available", Method, 26, ""}, + {"(*ClientConn).Close", Method, 26, ""}, + {"(*ClientConn).Err", Method, 26, ""}, + {"(*ClientConn).InFlight", Method, 26, ""}, + {"(*ClientConn).Release", Method, 26, ""}, + {"(*ClientConn).Reserve", Method, 26, ""}, + {"(*ClientConn).RoundTrip", Method, 26, ""}, + {"(*ClientConn).SetStateHook", Method, 26, ""}, {"(*Cookie).String", Method, 0, ""}, {"(*Cookie).Valid", Method, 18, ""}, {"(*CrossOriginProtection).AddInsecureBypassPattern", Method, 25, ""}, @@ -8366,10 +8840,22 @@ var PackageSymbols = map[string][]Symbol{ {"(*Transport).CancelRequest", Method, 1, ""}, {"(*Transport).Clone", Method, 13, ""}, {"(*Transport).CloseIdleConnections", Method, 0, ""}, + {"(*Transport).NewClientConn", Method, 26, ""}, {"(*Transport).RegisterProtocol", Method, 0, ""}, {"(*Transport).RoundTrip", Method, 0, ""}, + {"(CloseNotifier).CloseNotify", Method, 1, ""}, {"(ConnState).String", Method, 3, ""}, + {"(CookieJar).Cookies", Method, 0, ""}, + {"(CookieJar).SetCookies", Method, 0, ""}, {"(Dir).Open", Method, 0, ""}, + {"(File).Close", Method, 0, ""}, + {"(File).Read", Method, 0, ""}, + {"(File).Readdir", Method, 0, ""}, + {"(File).Seek", Method, 0, ""}, + {"(File).Stat", Method, 0, ""}, + {"(FileSystem).Open", Method, 0, ""}, + {"(Flusher).Flush", Method, 0, ""}, + {"(Handler).ServeHTTP", Method, 0, ""}, {"(HandlerFunc).ServeHTTP", Method, 0, ""}, {"(Header).Add", Method, 0, ""}, {"(Header).Clone", Method, 13, ""}, @@ -8379,10 +8865,16 @@ var PackageSymbols = map[string][]Symbol{ {"(Header).Values", Method, 14, ""}, {"(Header).Write", Method, 0, ""}, {"(Header).WriteSubset", Method, 0, ""}, + {"(Hijacker).Hijack", Method, 0, ""}, {"(Protocols).HTTP1", Method, 24, ""}, {"(Protocols).HTTP2", Method, 24, ""}, {"(Protocols).String", Method, 24, ""}, {"(Protocols).UnencryptedHTTP2", Method, 24, ""}, + {"(Pusher).Push", Method, 8, ""}, + {"(ResponseWriter).Header", Method, 0, ""}, + {"(ResponseWriter).Write", Method, 0, ""}, + {"(ResponseWriter).WriteHeader", Method, 0, ""}, + {"(RoundTripper).RoundTrip", Method, 0, ""}, {"AllowQuerySemicolons", Func, 17, "func(h Handler) Handler"}, {"CanonicalHeaderKey", Func, 0, "func(s string) string"}, {"Client", Type, 0, ""}, @@ -8390,6 +8882,7 @@ var PackageSymbols = map[string][]Symbol{ {"Client.Jar", Field, 0, ""}, {"Client.Timeout", Field, 3, ""}, {"Client.Transport", Field, 0, ""}, + {"ClientConn", Type, 26, ""}, {"CloseNotifier", Type, 1, ""}, {"ConnState", Type, 3, ""}, {"Cookie", Type, 0, ""}, @@ -8457,6 +8950,7 @@ var PackageSymbols = map[string][]Symbol{ {"HTTP2Config.PermitProhibitedCipherSuites", Field, 24, ""}, {"HTTP2Config.PingTimeout", Field, 24, ""}, {"HTTP2Config.SendPingTimeout", Field, 24, ""}, + {"HTTP2Config.StrictMaxConcurrentRequests", Field, 26, ""}, {"HTTP2Config.WriteByteTimeout", Field, 24, ""}, {"Handle", Func, 0, "func(pattern string, handler Handler)"}, {"HandleFunc", Func, 0, "func(pattern string, handler func(ResponseWriter, *Request))"}, @@ -8699,6 +9193,8 @@ var PackageSymbols = map[string][]Symbol{ "net/http/cookiejar": { {"(*Jar).Cookies", Method, 1, ""}, {"(*Jar).SetCookies", Method, 1, ""}, + {"(PublicSuffixList).PublicSuffix", Method, 1, ""}, + {"(PublicSuffixList).String", Method, 1, ""}, {"Jar", Type, 1, ""}, {"New", Func, 1, "func(o *Options) (*Jar, error)"}, {"Options", Type, 1, ""}, @@ -8792,6 +9288,8 @@ var PackageSymbols = map[string][]Symbol{ {"(*ServerConn).Pending", Method, 0, ""}, {"(*ServerConn).Read", Method, 0, ""}, {"(*ServerConn).Write", Method, 0, ""}, + {"(BufferPool).Get", Method, 6, ""}, + {"(BufferPool).Put", Method, 6, ""}, {"BufferPool", Type, 6, ""}, {"ClientConn", Type, 0, ""}, {"DumpRequest", Func, 0, "func(req *http.Request, body bool) ([]byte, error)"}, @@ -8904,6 +9402,7 @@ var PackageSymbols = map[string][]Symbol{ {"(Prefix).AppendText", Method, 24, ""}, {"(Prefix).AppendTo", Method, 18, ""}, {"(Prefix).Bits", Method, 18, ""}, + {"(Prefix).Compare", Method, 26, ""}, {"(Prefix).Contains", Method, 18, ""}, {"(Prefix).IsSingleIP", Method, 18, ""}, {"(Prefix).IsValid", Method, 18, ""}, @@ -8944,6 +9443,14 @@ var PackageSymbols = map[string][]Symbol{ {"(*Server).ServeConn", Method, 0, ""}, {"(*Server).ServeHTTP", Method, 0, ""}, {"(*Server).ServeRequest", Method, 0, ""}, + {"(ClientCodec).Close", Method, 0, ""}, + {"(ClientCodec).ReadResponseBody", Method, 0, ""}, + {"(ClientCodec).ReadResponseHeader", Method, 0, ""}, + {"(ClientCodec).WriteRequest", Method, 0, ""}, + {"(ServerCodec).Close", Method, 0, ""}, + {"(ServerCodec).ReadRequestBody", Method, 0, ""}, + {"(ServerCodec).ReadRequestHeader", Method, 0, ""}, + {"(ServerCodec).WriteResponse", Method, 0, ""}, {"(ServerError).Error", Method, 0, ""}, {"Accept", Func, 0, "func(lis net.Listener)"}, {"Call", Type, 0, ""}, @@ -9002,6 +9509,8 @@ var PackageSymbols = map[string][]Symbol{ {"(*Client).StartTLS", Method, 0, ""}, {"(*Client).TLSConnectionState", Method, 5, ""}, {"(*Client).Verify", Method, 0, ""}, + {"(Auth).Next", Method, 0, ""}, + {"(Auth).Start", Method, 0, ""}, {"Auth", Type, 0, ""}, {"CRAMMD5Auth", Func, 0, "func(username string, secret string) Auth"}, {"Client", Type, 0, ""}, @@ -9177,6 +9686,7 @@ var PackageSymbols = map[string][]Symbol{ {"(*Process).Release", Method, 0, ""}, {"(*Process).Signal", Method, 0, ""}, {"(*Process).Wait", Method, 0, ""}, + {"(*Process).WithHandle", Method, 26, ""}, {"(*ProcessState).ExitCode", Method, 12, ""}, {"(*ProcessState).Exited", Method, 0, ""}, {"(*ProcessState).Pid", Method, 0, ""}, @@ -9212,10 +9722,18 @@ var PackageSymbols = map[string][]Symbol{ {"(*SyscallError).Error", Method, 0, ""}, {"(*SyscallError).Timeout", Method, 10, ""}, {"(*SyscallError).Unwrap", Method, 13, ""}, + {"(FileInfo).IsDir", Method, 0, ""}, + {"(FileInfo).ModTime", Method, 0, ""}, + {"(FileInfo).Mode", Method, 0, ""}, + {"(FileInfo).Name", Method, 0, ""}, + {"(FileInfo).Size", Method, 0, ""}, + {"(FileInfo).Sys", Method, 0, ""}, {"(FileMode).IsDir", Method, 0, ""}, {"(FileMode).IsRegular", Method, 1, ""}, {"(FileMode).Perm", Method, 0, ""}, {"(FileMode).String", Method, 0, ""}, + {"(Signal).Signal", Method, 0, ""}, + {"(Signal).String", Method, 0, ""}, {"Args", Var, 0, ""}, {"Chdir", Func, 0, "func(dir string) error"}, {"Chmod", Func, 0, "func(name string, mode FileMode) error"}, @@ -9234,6 +9752,7 @@ var PackageSymbols = map[string][]Symbol{ {"ErrExist", Var, 0, ""}, {"ErrInvalid", Var, 0, ""}, {"ErrNoDeadline", Var, 10, ""}, + {"ErrNoHandle", Var, 26, ""}, {"ErrNotExist", Var, 0, ""}, {"ErrPermission", Var, 0, ""}, {"ErrProcessDone", Var, 16, ""}, @@ -9461,7 +9980,7 @@ var PackageSymbols = map[string][]Symbol{ {"ListSeparator", Const, 0, ""}, {"Localize", Func, 23, "func(path string) (string, error)"}, {"Match", Func, 0, "func(pattern string, name string) (matched bool, err error)"}, - {"Rel", Func, 0, "func(basepath string, targpath string) (string, error)"}, + {"Rel", Func, 0, "func(basePath string, targPath string) (string, error)"}, {"Separator", Const, 0, ""}, {"SkipAll", Var, 20, ""}, {"SkipDir", Var, 0, ""}, @@ -9491,6 +10010,45 @@ var PackageSymbols = map[string][]Symbol{ {"(StructField).IsExported", Method, 17, ""}, {"(StructTag).Get", Method, 0, ""}, {"(StructTag).Lookup", Method, 7, ""}, + {"(Type).Align", Method, 0, ""}, + {"(Type).AssignableTo", Method, 0, ""}, + {"(Type).Bits", Method, 0, ""}, + {"(Type).CanSeq", Method, 23, ""}, + {"(Type).CanSeq2", Method, 23, ""}, + {"(Type).ChanDir", Method, 0, ""}, + {"(Type).Comparable", Method, 4, ""}, + {"(Type).ConvertibleTo", Method, 1, ""}, + {"(Type).Elem", Method, 0, ""}, + {"(Type).Field", Method, 0, ""}, + {"(Type).FieldAlign", Method, 0, ""}, + {"(Type).FieldByIndex", Method, 0, ""}, + {"(Type).FieldByName", Method, 0, ""}, + {"(Type).FieldByNameFunc", Method, 0, ""}, + {"(Type).Fields", Method, 26, ""}, + {"(Type).Implements", Method, 0, ""}, + {"(Type).In", Method, 0, ""}, + {"(Type).Ins", Method, 26, ""}, + {"(Type).IsVariadic", Method, 0, ""}, + {"(Type).Key", Method, 0, ""}, + {"(Type).Kind", Method, 0, ""}, + {"(Type).Len", Method, 0, ""}, + {"(Type).Method", Method, 0, ""}, + {"(Type).MethodByName", Method, 0, ""}, + {"(Type).Methods", Method, 26, ""}, + {"(Type).Name", Method, 0, ""}, + {"(Type).NumField", Method, 0, ""}, + {"(Type).NumIn", Method, 0, ""}, + {"(Type).NumMethod", Method, 0, ""}, + {"(Type).NumOut", Method, 0, ""}, + {"(Type).Out", Method, 0, ""}, + {"(Type).Outs", Method, 26, ""}, + {"(Type).OverflowComplex", Method, 23, ""}, + {"(Type).OverflowFloat", Method, 23, ""}, + {"(Type).OverflowInt", Method, 23, ""}, + {"(Type).OverflowUint", Method, 23, ""}, + {"(Type).PkgPath", Method, 0, ""}, + {"(Type).Size", Method, 0, ""}, + {"(Type).String", Method, 0, ""}, {"(Value).Addr", Method, 0, ""}, {"(Value).Bool", Method, 0, ""}, {"(Value).Bytes", Method, 0, ""}, @@ -9517,6 +10075,7 @@ var PackageSymbols = map[string][]Symbol{ {"(Value).FieldByIndexErr", Method, 18, ""}, {"(Value).FieldByName", Method, 0, ""}, {"(Value).FieldByNameFunc", Method, 0, ""}, + {"(Value).Fields", Method, 26, ""}, {"(Value).Float", Method, 0, ""}, {"(Value).Grow", Method, 20, ""}, {"(Value).Index", Method, 0, ""}, @@ -9533,6 +10092,7 @@ var PackageSymbols = map[string][]Symbol{ {"(Value).MapRange", Method, 12, ""}, {"(Value).Method", Method, 0, ""}, {"(Value).MethodByName", Method, 0, ""}, + {"(Value).Methods", Method, 26, ""}, {"(Value).NumField", Method, 0, ""}, {"(Value).NumMethod", Method, 0, ""}, {"(Value).OverflowComplex", Method, 0, ""}, @@ -9648,7 +10208,6 @@ var PackageSymbols = map[string][]Symbol{ {"StructOf", Func, 7, "func(fields []StructField) Type"}, {"StructTag", Type, 0, ""}, {"Swapper", Func, 8, "func(slice any) func(i int, j int)"}, - {"Type", Type, 0, ""}, {"TypeAssert", Func, 25, "func[T any](v Value) (T, bool)"}, {"TypeFor", Func, 22, "func[T any]() Type"}, {"TypeOf", Func, 0, "func(i any) Type"}, @@ -9850,6 +10409,8 @@ var PackageSymbols = map[string][]Symbol{ {"(*TypeAssertionError).Error", Method, 0, ""}, {"(*TypeAssertionError).RuntimeError", Method, 0, ""}, {"(Cleanup).Stop", Method, 24, ""}, + {"(Error).Error", Method, 0, ""}, + {"(Error).RuntimeError", Method, 0, ""}, {"AddCleanup", Func, 24, "func[T, S any](ptr *T, cleanup func(S), arg S) Cleanup"}, {"BlockProfile", Func, 1, "func(p []BlockProfileRecord) (n int, ok bool)"}, {"BlockProfileRecord", Type, 1, ""}, @@ -9932,7 +10493,7 @@ var PackageSymbols = map[string][]Symbol{ {"PanicNilError", Type, 21, ""}, {"Pinner", Type, 21, ""}, {"ReadMemStats", Func, 0, "func(m *MemStats)"}, - {"ReadTrace", Func, 5, "func() []byte"}, + {"ReadTrace", Func, 5, "func() (buf []byte)"}, {"SetBlockProfileRate", Func, 1, "func(rate int)"}, {"SetCPUProfileRate", Func, 0, "func(hz int)"}, {"SetCgoTraceback", Func, 7, "func(version int, traceback unsafe.Pointer, context unsafe.Pointer, symbolizer unsafe.Pointer)"}, @@ -10124,6 +10685,9 @@ var PackageSymbols = map[string][]Symbol{ {"(IntSlice).Search", Method, 0, ""}, {"(IntSlice).Sort", Method, 0, ""}, {"(IntSlice).Swap", Method, 0, ""}, + {"(Interface).Len", Method, 0, ""}, + {"(Interface).Less", Method, 0, ""}, + {"(Interface).Swap", Method, 0, ""}, {"(StringSlice).Len", Method, 0, ""}, {"(StringSlice).Less", Method, 0, ""}, {"(StringSlice).Search", Method, 0, ""}, @@ -10315,6 +10879,8 @@ var PackageSymbols = map[string][]Symbol{ {"(*WaitGroup).Done", Method, 0, ""}, {"(*WaitGroup).Go", Method, 25, ""}, {"(*WaitGroup).Wait", Method, 0, ""}, + {"(Locker).Lock", Method, 0, ""}, + {"(Locker).Unlock", Method, 0, ""}, {"Cond", Type, 0, ""}, {"Cond.L", Field, 0, ""}, {"Locker", Type, 0, ""}, @@ -10456,10 +11022,14 @@ var PackageSymbols = map[string][]Symbol{ {"(*Timeval).Nano", Method, 0, ""}, {"(*Timeval).Nanoseconds", Method, 0, ""}, {"(*Timeval).Unix", Method, 0, ""}, + {"(Conn).SyscallConn", Method, 9, ""}, {"(Errno).Error", Method, 0, ""}, {"(Errno).Is", Method, 13, ""}, {"(Errno).Temporary", Method, 0, ""}, {"(Errno).Timeout", Method, 0, ""}, + {"(RawConn).Control", Method, 9, ""}, + {"(RawConn).Read", Method, 9, ""}, + {"(RawConn).Write", Method, 9, ""}, {"(Signal).Signal", Method, 0, ""}, {"(Signal).String", Method, 0, ""}, {"(Token).Close", Method, 0, ""}, @@ -14379,7 +14949,7 @@ var PackageSymbols = map[string][]Symbol{ {"RouteMessage.Data", Field, 0, ""}, {"RouteMessage.Header", Field, 0, ""}, {"RouteRIB", Func, 0, ""}, - {"RoutingMessage", Type, 0, ""}, + {"RoutingMessage", Type, 14, ""}, {"RtAttr", Type, 0, ""}, {"RtAttr.Len", Field, 0, ""}, {"RtAttr.Type", Field, 0, ""}, @@ -15865,7 +16435,6 @@ var PackageSymbols = map[string][]Symbol{ {"SockFprog.Filter", Field, 0, ""}, {"SockFprog.Len", Field, 0, ""}, {"SockFprog.Pad_cgo_0", Field, 0, ""}, - {"Sockaddr", Type, 0, ""}, {"SockaddrDatalink", Type, 0, ""}, {"SockaddrDatalink.Alen", Field, 0, ""}, {"SockaddrDatalink.Data", Field, 0, ""}, @@ -16679,6 +17248,7 @@ var PackageSymbols = map[string][]Symbol{ {"ValueOf", Func, 0, ""}, }, "testing": { + {"(*B).ArtifactDir", Method, 26, ""}, {"(*B).Attr", Method, 25, ""}, {"(*B).Chdir", Method, 24, ""}, {"(*B).Cleanup", Method, 14, ""}, @@ -16713,6 +17283,7 @@ var PackageSymbols = map[string][]Symbol{ {"(*B).StopTimer", Method, 0, ""}, {"(*B).TempDir", Method, 15, ""}, {"(*F).Add", Method, 18, ""}, + {"(*F).ArtifactDir", Method, 26, ""}, {"(*F).Attr", Method, 25, ""}, {"(*F).Chdir", Method, 24, ""}, {"(*F).Cleanup", Method, 18, ""}, @@ -16738,6 +17309,7 @@ var PackageSymbols = map[string][]Symbol{ {"(*F).TempDir", Method, 18, ""}, {"(*M).Run", Method, 4, ""}, {"(*PB).Next", Method, 3, ""}, + {"(*T).ArtifactDir", Method, 26, ""}, {"(*T).Attr", Method, 25, ""}, {"(*T).Chdir", Method, 24, ""}, {"(*T).Cleanup", Method, 14, ""}, @@ -16768,6 +17340,29 @@ var PackageSymbols = map[string][]Symbol{ {"(BenchmarkResult).MemString", Method, 1, ""}, {"(BenchmarkResult).NsPerOp", Method, 0, ""}, {"(BenchmarkResult).String", Method, 0, ""}, + {"(TB).ArtifactDir", Method, 26, ""}, + {"(TB).Attr", Method, 25, ""}, + {"(TB).Chdir", Method, 24, ""}, + {"(TB).Cleanup", Method, 14, ""}, + {"(TB).Context", Method, 24, ""}, + {"(TB).Error", Method, 2, ""}, + {"(TB).Errorf", Method, 2, ""}, + {"(TB).Fail", Method, 2, ""}, + {"(TB).FailNow", Method, 2, ""}, + {"(TB).Failed", Method, 2, ""}, + {"(TB).Fatal", Method, 2, ""}, + {"(TB).Fatalf", Method, 2, ""}, + {"(TB).Helper", Method, 9, ""}, + {"(TB).Log", Method, 2, ""}, + {"(TB).Logf", Method, 2, ""}, + {"(TB).Name", Method, 8, ""}, + {"(TB).Output", Method, 25, ""}, + {"(TB).Setenv", Method, 17, ""}, + {"(TB).Skip", Method, 2, ""}, + {"(TB).SkipNow", Method, 2, ""}, + {"(TB).Skipf", Method, 2, ""}, + {"(TB).Skipped", Method, 2, ""}, + {"(TB).TempDir", Method, 15, ""}, {"AllocsPerRun", Func, 1, "func(runs int, f func()) (avg float64)"}, {"B", Type, 0, ""}, {"B.N", Field, 0, ""}, @@ -16818,10 +17413,12 @@ var PackageSymbols = map[string][]Symbol{ {"RunTests", Func, 0, "func(matchString func(pat string, str string) (bool, error), tests []InternalTest) (ok bool)"}, {"Short", Func, 0, "func() bool"}, {"T", Type, 0, ""}, - {"TB", Type, 2, ""}, {"Testing", Func, 21, "func() bool"}, {"Verbose", Func, 1, "func() bool"}, }, + "testing/cryptotest": { + {"SetGlobalRandom", Func, 26, "func(t *testing.T, seed uint64)"}, + }, "testing/fstest": { {"(MapFS).Glob", Method, 16, ""}, {"(MapFS).Lstat", Method, 25, ""}, @@ -16854,6 +17451,7 @@ var PackageSymbols = map[string][]Symbol{ "testing/quick": { {"(*CheckEqualError).Error", Method, 0, ""}, {"(*CheckError).Error", Method, 0, ""}, + {"(Generator).Generate", Method, 0, ""}, {"(SetupError).Error", Method, 0, ""}, {"Check", Func, 0, "func(f any, config *Config) error"}, {"CheckEqual", Func, 0, "func(f any, g any, config *Config) error"}, @@ -17060,6 +17658,10 @@ var PackageSymbols = map[string][]Symbol{ {"(ListNode).Position", Method, 1, ""}, {"(ListNode).Type", Method, 0, ""}, {"(NilNode).Position", Method, 1, ""}, + {"(Node).Copy", Method, 0, ""}, + {"(Node).Position", Method, 1, ""}, + {"(Node).String", Method, 0, ""}, + {"(Node).Type", Method, 0, ""}, {"(NodeType).Type", Method, 0, ""}, {"(NumberNode).Position", Method, 1, ""}, {"(NumberNode).Type", Method, 0, ""}, diff --git a/vendor/golang.org/x/tools/internal/stdlib/stdlib.go b/vendor/golang.org/x/tools/internal/stdlib/stdlib.go index e223e0f340..59a5de36a2 100644 --- a/vendor/golang.org/x/tools/internal/stdlib/stdlib.go +++ b/vendor/golang.org/x/tools/internal/stdlib/stdlib.go @@ -39,7 +39,7 @@ const ( Var // "EOF" Const // "Pi" Field // "Point.X" - Method // "(*Buffer).Grow" + Method // "(*Buffer).Grow" or "(Reader).Read" ) func (kind Kind) String() string { diff --git a/vendor/golang.org/x/tools/internal/typeparams/normalize.go b/vendor/golang.org/x/tools/internal/typeparams/normalize.go index f49802b8ef..8d13f12147 100644 --- a/vendor/golang.org/x/tools/internal/typeparams/normalize.go +++ b/vendor/golang.org/x/tools/internal/typeparams/normalize.go @@ -160,8 +160,7 @@ func computeTermSetInternal(t types.Type, seen map[types.Type]*termSet, depth in // The term set of an interface is the intersection of the term sets of its // embedded types. tset.terms = allTermlist - for i := 0; i < u.NumEmbeddeds(); i++ { - embedded := u.EmbeddedType(i) + for embedded := range u.EmbeddedTypes() { if _, ok := embedded.Underlying().(*types.TypeParam); ok { return nil, fmt.Errorf("invalid embedded type %T", embedded) } @@ -174,8 +173,7 @@ func computeTermSetInternal(t types.Type, seen map[types.Type]*termSet, depth in case *types.Union: // The term set of a union is the union of term sets of its terms. tset.terms = nil - for i := 0; i < u.Len(); i++ { - t := u.Term(i) + for t := range u.Terms() { var terms termlist switch t.Type().Underlying().(type) { case *types.Interface: diff --git a/vendor/golang.org/x/tools/internal/typesinternal/classify_call.go b/vendor/golang.org/x/tools/internal/typesinternal/classify_call.go index 3db2a135b9..7ebe9768bc 100644 --- a/vendor/golang.org/x/tools/internal/typesinternal/classify_call.go +++ b/vendor/golang.org/x/tools/internal/typesinternal/classify_call.go @@ -8,7 +8,7 @@ import ( "fmt" "go/ast" "go/types" - _ "unsafe" + _ "unsafe" // for go:linkname hack ) // CallKind describes the function position of an [*ast.CallExpr]. diff --git a/vendor/golang.org/x/tools/internal/typesinternal/element.go b/vendor/golang.org/x/tools/internal/typesinternal/element.go index 4957f02164..5fe4d8abcb 100644 --- a/vendor/golang.org/x/tools/internal/typesinternal/element.go +++ b/vendor/golang.org/x/tools/internal/typesinternal/element.go @@ -35,8 +35,8 @@ func ForEachElement(rtypes *typeutil.Map, msets *typeutil.MethodSetCache, T type // Recursion over signatures of each method. tmset := msets.MethodSet(T) - for i := 0; i < tmset.Len(); i++ { - sig := tmset.At(i).Type().(*types.Signature) + for method := range tmset.Methods() { + sig := method.Type().(*types.Signature) // It is tempting to call visit(sig, false) // but, as noted in golang.org/cl/65450043, // the Signature.Recv field is ignored by diff --git a/vendor/golang.org/x/tools/internal/typesinternal/fx.go b/vendor/golang.org/x/tools/internal/typesinternal/fx.go index 93acff2170..c846a53d5f 100644 --- a/vendor/golang.org/x/tools/internal/typesinternal/fx.go +++ b/vendor/golang.org/x/tools/internal/typesinternal/fx.go @@ -19,25 +19,46 @@ func NoEffects(info *types.Info, expr ast.Expr) bool { switch v := n.(type) { case nil, *ast.Ident, *ast.BasicLit, *ast.BinaryExpr, *ast.ParenExpr, *ast.SelectorExpr, *ast.IndexExpr, *ast.SliceExpr, *ast.TypeAssertExpr, - *ast.StarExpr, *ast.CompositeLit, *ast.ArrayType, *ast.StructType, - *ast.MapType, *ast.InterfaceType, *ast.KeyValueExpr: - // No effect + *ast.StarExpr, *ast.CompositeLit, + // non-expressions that may appear within expressions + *ast.KeyValueExpr, + *ast.FieldList, + *ast.Field, + *ast.Ellipsis, + *ast.IndexListExpr: + // No effect. + + case *ast.ArrayType, + *ast.StructType, + *ast.ChanType, + *ast.FuncType, + *ast.MapType, + *ast.InterfaceType: + // Type syntax: no effects, recursively. + // Prune descent. + return false + case *ast.UnaryExpr: - // Channel send <-ch has effects + // Channel send <-ch has effects. if v.Op == token.ARROW { noEffects = false } + case *ast.CallExpr: - // Type conversion has no effects + // Type conversion has no effects. if !info.Types[v.Fun].IsType() { - // TODO(adonovan): Add a case for built-in functions without side - // effects (by using callsPureBuiltin from tools/internal/refactor/inline) - - noEffects = false + if CallsPureBuiltin(info, v) { + // A call such as len(e) has no effects of its + // own, though the subexpression e might. + } else { + noEffects = false + } } + case *ast.FuncLit: // A FuncLit has no effects, but do not descend into it. return false + default: // All other expressions have effects noEffects = false @@ -47,3 +68,21 @@ func NoEffects(info *types.Info, expr ast.Expr) bool { }) return noEffects } + +// CallsPureBuiltin reports whether call is a call of a built-in +// function that is a pure computation over its operands (analogous to +// a + operator). Because it does not depend on program state, it may +// be evaluated at any point--though not necessarily at multiple +// points (consider new, make). +func CallsPureBuiltin(info *types.Info, call *ast.CallExpr) bool { + if id, ok := ast.Unparen(call.Fun).(*ast.Ident); ok { + if b, ok := info.ObjectOf(id).(*types.Builtin); ok { + switch b.Name() { + case "len", "cap", "complex", "imag", "real", "make", "new", "max", "min": + return true + } + // Not: append clear close copy delete panic print println recover + } + } + return false +} diff --git a/vendor/golang.org/x/tools/internal/typesinternal/isnamed.go b/vendor/golang.org/x/tools/internal/typesinternal/isnamed.go index f2affec4fb..e0d63c46c6 100644 --- a/vendor/golang.org/x/tools/internal/typesinternal/isnamed.go +++ b/vendor/golang.org/x/tools/internal/typesinternal/isnamed.go @@ -48,7 +48,7 @@ func IsFunctionNamed(obj types.Object, pkgPath string, names ...string) bool { return ok && IsPackageLevel(obj) && f.Pkg().Path() == pkgPath && - f.Type().(*types.Signature).Recv() == nil && + f.Signature().Recv() == nil && slices.Contains(names, f.Name()) } @@ -60,7 +60,7 @@ func IsFunctionNamed(obj types.Object, pkgPath string, names ...string) bool { // which is important for the performance of syntax matching. func IsMethodNamed(obj types.Object, pkgPath string, typeName string, names ...string) bool { if fn, ok := obj.(*types.Func); ok { - if recv := fn.Type().(*types.Signature).Recv(); recv != nil { + if recv := fn.Signature().Recv(); recv != nil { _, T := ReceiverNamed(recv) return T != nil && IsTypeNamed(T, pkgPath, typeName) && diff --git a/vendor/golang.org/x/tools/internal/typesinternal/qualifier.go b/vendor/golang.org/x/tools/internal/typesinternal/qualifier.go index 64f47919f0..4e2756fc49 100644 --- a/vendor/golang.org/x/tools/internal/typesinternal/qualifier.go +++ b/vendor/golang.org/x/tools/internal/typesinternal/qualifier.go @@ -19,7 +19,7 @@ import ( // TODO(adonovan): this function ignores the effect of shadowing. It // should accept a [token.Pos] and a [types.Info] and compute only the // set of imports that are not shadowed at that point, analogous to -// [analysisinternal.AddImport]. It could also compute (as a side +// [analysis.AddImport]. It could also compute (as a side // effect) the set of additional imports required to ensure that there // is an accessible import for each necessary package, making it // converge even more closely with AddImport. diff --git a/vendor/golang.org/x/tools/internal/typesinternal/types.go b/vendor/golang.org/x/tools/internal/typesinternal/types.go index fef74a7856..51001666ef 100644 --- a/vendor/golang.org/x/tools/internal/typesinternal/types.go +++ b/vendor/golang.org/x/tools/internal/typesinternal/types.go @@ -23,7 +23,6 @@ import ( "go/token" "go/types" "reflect" - "unsafe" "golang.org/x/tools/go/ast/inspector" "golang.org/x/tools/internal/aliases" @@ -40,8 +39,7 @@ func SetUsesCgo(conf *types.Config) bool { } } - addr := unsafe.Pointer(f.UnsafeAddr()) - *(*bool)(addr) = true + *(*bool)(f.Addr().UnsafePointer()) = true return true } diff --git a/vendor/golang.org/x/tools/internal/typesinternal/varkind.go b/vendor/golang.org/x/tools/internal/typesinternal/varkind.go index e5da049511..26499cdd2e 100644 --- a/vendor/golang.org/x/tools/internal/typesinternal/varkind.go +++ b/vendor/golang.org/x/tools/internal/typesinternal/varkind.go @@ -2,39 +2,22 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package typesinternal +//go:build go1.25 -// TODO(adonovan): when CL 645115 lands, define the go1.25 version of -// this API that actually does something. +package typesinternal import "go/types" -type VarKind uint8 +type VarKind = types.VarKind const ( - _ VarKind = iota // (not meaningful) - PackageVar // a package-level variable - LocalVar // a local variable - RecvVar // a method receiver variable - ParamVar // a function parameter variable - ResultVar // a function result variable - FieldVar // a struct field + PackageVar = types.PackageVar + LocalVar = types.LocalVar + RecvVar = types.RecvVar + ParamVar = types.ParamVar + ResultVar = types.ResultVar + FieldVar = types.FieldVar ) -func (kind VarKind) String() string { - return [...]string{ - 0: "VarKind(0)", - PackageVar: "PackageVar", - LocalVar: "LocalVar", - RecvVar: "RecvVar", - ParamVar: "ParamVar", - ResultVar: "ResultVar", - FieldVar: "FieldVar", - }[kind] -} - -// GetVarKind returns an invalid VarKind. -func GetVarKind(v *types.Var) VarKind { return 0 } - -// SetVarKind has no effect. -func SetVarKind(v *types.Var, kind VarKind) {} +func GetVarKind(v *types.Var) VarKind { return v.Kind() } +func SetVarKind(v *types.Var, kind VarKind) { v.SetKind(kind) } diff --git a/vendor/golang.org/x/tools/internal/typesinternal/varkind_go124.go b/vendor/golang.org/x/tools/internal/typesinternal/varkind_go124.go new file mode 100644 index 0000000000..17b1804b4e --- /dev/null +++ b/vendor/golang.org/x/tools/internal/typesinternal/varkind_go124.go @@ -0,0 +1,39 @@ +// Copyright 2024 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +//go:build !go1.25 + +package typesinternal + +import "go/types" + +type VarKind uint8 + +const ( + _ VarKind = iota // (not meaningful) + PackageVar // a package-level variable + LocalVar // a local variable + RecvVar // a method receiver variable + ParamVar // a function parameter variable + ResultVar // a function result variable + FieldVar // a struct field +) + +func (kind VarKind) String() string { + return [...]string{ + 0: "VarKind(0)", + PackageVar: "PackageVar", + LocalVar: "LocalVar", + RecvVar: "RecvVar", + ParamVar: "ParamVar", + ResultVar: "ResultVar", + FieldVar: "FieldVar", + }[kind] +} + +// GetVarKind returns an invalid VarKind. +func GetVarKind(v *types.Var) VarKind { return 0 } + +// SetVarKind has no effect. +func SetVarKind(v *types.Var, kind VarKind) {} diff --git a/vendor/golang.org/x/tools/internal/typesinternal/zerovalue.go b/vendor/golang.org/x/tools/internal/typesinternal/zerovalue.go index 453bba2ad5..d612a71029 100644 --- a/vendor/golang.org/x/tools/internal/typesinternal/zerovalue.go +++ b/vendor/golang.org/x/tools/internal/typesinternal/zerovalue.go @@ -258,12 +258,12 @@ func TypeExpr(t types.Type, qual types.Qualifier) ast.Expr { case *types.Signature: var params []*ast.Field - for i := 0; i < t.Params().Len(); i++ { + for v := range t.Params().Variables() { params = append(params, &ast.Field{ - Type: TypeExpr(t.Params().At(i).Type(), qual), + Type: TypeExpr(v.Type(), qual), Names: []*ast.Ident{ { - Name: t.Params().At(i).Name(), + Name: v.Name(), }, }, }) @@ -273,9 +273,9 @@ func TypeExpr(t types.Type, qual types.Qualifier) ast.Expr { last.Type = &ast.Ellipsis{Elt: last.Type.(*ast.ArrayType).Elt} } var returns []*ast.Field - for i := 0; i < t.Results().Len(); i++ { + for v := range t.Results().Variables() { returns = append(returns, &ast.Field{ - Type: TypeExpr(t.Results().At(i).Type(), qual), + Type: TypeExpr(v.Type(), qual), }) } return &ast.FuncType{ @@ -315,8 +315,8 @@ func TypeExpr(t types.Type, qual types.Qualifier) ast.Expr { if hasTypeArgs, ok := t.(interface{ TypeArgs() *types.TypeList }); ok { if typeArgs := hasTypeArgs.TypeArgs(); typeArgs != nil && typeArgs.Len() > 0 { var indices []ast.Expr - for i := range typeArgs.Len() { - indices = append(indices, TypeExpr(typeArgs.At(i), qual)) + for t0 := range typeArgs.Types() { + indices = append(indices, TypeExpr(t0, qual)) } expr = &ast.IndexListExpr{ X: expr, diff --git a/vendor/golang.org/x/tools/internal/versions/features.go b/vendor/golang.org/x/tools/internal/versions/features.go index b53f178616..cdd36c388a 100644 --- a/vendor/golang.org/x/tools/internal/versions/features.go +++ b/vendor/golang.org/x/tools/internal/versions/features.go @@ -7,13 +7,18 @@ package versions // This file contains predicates for working with file versions to // decide when a tool should consider a language feature enabled. -// GoVersions that features in x/tools can be gated to. +// named constants, to avoid misspelling const ( + Go1_17 = "go1.17" Go1_18 = "go1.18" Go1_19 = "go1.19" Go1_20 = "go1.20" Go1_21 = "go1.21" Go1_22 = "go1.22" + Go1_23 = "go1.23" + Go1_24 = "go1.24" + Go1_25 = "go1.25" + Go1_26 = "go1.26" ) // Future is an invalid unknown Go version sometime in the future. diff --git a/vendor/modules.txt b/vendor/modules.txt index 94288450e7..6df0486355 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -57,8 +57,8 @@ cloud.google.com/go/storage/internal/apiv2/storagepb github.com/AlecAivazis/survey/v2 github.com/AlecAivazis/survey/v2/core github.com/AlecAivazis/survey/v2/terminal -# github.com/Azure/azure-sdk-for-go/sdk/azcore v1.19.1 -## explicit; go 1.23.0 +# github.com/Azure/azure-sdk-for-go/sdk/azcore v1.21.0 +## explicit; go 1.24.0 github.com/Azure/azure-sdk-for-go/sdk/azcore github.com/Azure/azure-sdk-for-go/sdk/azcore/arm github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/internal/resource @@ -80,7 +80,7 @@ github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime github.com/Azure/azure-sdk-for-go/sdk/azcore/streaming github.com/Azure/azure-sdk-for-go/sdk/azcore/to github.com/Azure/azure-sdk-for-go/sdk/azcore/tracing -# github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.13.0 +# github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.13.1 ## explicit; go 1.23.0 github.com/Azure/azure-sdk-for-go/sdk/azidentity github.com/Azure/azure-sdk-for-go/sdk/azidentity/internal @@ -107,8 +107,8 @@ github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources # github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage v1.8.1 ## explicit; go 1.23.0 github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage -# github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.6.3 -## explicit; go 1.23.0 +# github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.6.4 +## explicit; go 1.24.0 github.com/Azure/azure-sdk-for-go/sdk/storage/azblob github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/appendblob github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blob @@ -143,7 +143,7 @@ github.com/Azure/go-autorest/logger # github.com/Azure/go-autorest/tracing v0.6.1 ## explicit; go 1.15 github.com/Azure/go-autorest/tracing -# github.com/AzureAD/microsoft-authentication-library-for-go v1.5.0 +# github.com/AzureAD/microsoft-authentication-library-for-go v1.6.0 ## explicit; go 1.18 github.com/AzureAD/microsoft-authentication-library-for-go/apps/cache github.com/AzureAD/microsoft-authentication-library-for-go/apps/confidential @@ -176,11 +176,11 @@ github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric # github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.54.0 ## explicit; go 1.24.0 github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping -# github.com/IBM/go-sdk-core/v5 v5.21.0 -## explicit; go 1.23.0 +# github.com/IBM/go-sdk-core/v5 v5.21.2 +## explicit; go 1.24.0 github.com/IBM/go-sdk-core/v5/core -# github.com/IBM/platform-services-go-sdk v0.89.0 -## explicit; go 1.23.0 +# github.com/IBM/platform-services-go-sdk v0.94.2 +## explicit; go 1.24.0 github.com/IBM/platform-services-go-sdk/common github.com/IBM/platform-services-go-sdk/iamidentityv1 github.com/IBM/platform-services-go-sdk/iampolicymanagementv1 @@ -188,10 +188,7 @@ github.com/IBM/platform-services-go-sdk/resourcemanagerv2 # github.com/antlr4-go/antlr/v4 v4.13.0 ## explicit; go 1.20 github.com/antlr4-go/antlr/v4 -# github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 -## explicit; go 1.13 -github.com/asaskevich/govalidator -# github.com/aws/aws-sdk-go-v2 v1.39.3 +# github.com/aws/aws-sdk-go-v2 v1.41.1 ## explicit; go 1.23 github.com/aws/aws-sdk-go-v2/aws github.com/aws/aws-sdk-go-v2/aws/arn @@ -218,87 +215,93 @@ github.com/aws/aws-sdk-go-v2/internal/shareddefaults github.com/aws/aws-sdk-go-v2/internal/strings github.com/aws/aws-sdk-go-v2/internal/sync/singleflight github.com/aws/aws-sdk-go-v2/internal/timeconv -# github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.2 +# github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.4 ## explicit; go 1.23 github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream/eventstreamapi -# github.com/aws/aws-sdk-go-v2/config v1.31.13 +# github.com/aws/aws-sdk-go-v2/config v1.32.7 ## explicit; go 1.23 github.com/aws/aws-sdk-go-v2/config -# github.com/aws/aws-sdk-go-v2/credentials v1.18.17 +# github.com/aws/aws-sdk-go-v2/credentials v1.19.7 ## explicit; go 1.23 github.com/aws/aws-sdk-go-v2/credentials github.com/aws/aws-sdk-go-v2/credentials/ec2rolecreds github.com/aws/aws-sdk-go-v2/credentials/endpointcreds github.com/aws/aws-sdk-go-v2/credentials/endpointcreds/internal/client +github.com/aws/aws-sdk-go-v2/credentials/logincreds github.com/aws/aws-sdk-go-v2/credentials/processcreds github.com/aws/aws-sdk-go-v2/credentials/ssocreds github.com/aws/aws-sdk-go-v2/credentials/stscreds -# github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.10 +# github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.17 ## explicit; go 1.23 github.com/aws/aws-sdk-go-v2/feature/ec2/imds github.com/aws/aws-sdk-go-v2/feature/ec2/imds/internal/config -# github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.10 +# github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.17 ## explicit; go 1.23 github.com/aws/aws-sdk-go-v2/internal/configsources -# github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.10 +# github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.17 ## explicit; go 1.23 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 # github.com/aws/aws-sdk-go-v2/internal/ini v1.8.4 ## explicit; go 1.23 github.com/aws/aws-sdk-go-v2/internal/ini -# github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.10 +# github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.17 ## explicit; go 1.23 github.com/aws/aws-sdk-go-v2/internal/v4a github.com/aws/aws-sdk-go-v2/internal/v4a/internal/crypto github.com/aws/aws-sdk-go-v2/internal/v4a/internal/v4 -# github.com/aws/aws-sdk-go-v2/service/cloudfront v1.55.1 +# github.com/aws/aws-sdk-go-v2/service/cloudfront v1.60.0 ## explicit; go 1.23 github.com/aws/aws-sdk-go-v2/service/cloudfront github.com/aws/aws-sdk-go-v2/service/cloudfront/internal/endpoints github.com/aws/aws-sdk-go-v2/service/cloudfront/types -# github.com/aws/aws-sdk-go-v2/service/iam v1.47.8 +# github.com/aws/aws-sdk-go-v2/service/iam v1.53.2 ## explicit; go 1.23 github.com/aws/aws-sdk-go-v2/service/iam github.com/aws/aws-sdk-go-v2/service/iam/internal/endpoints github.com/aws/aws-sdk-go-v2/service/iam/types -# github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.2 +# github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.4 ## explicit; go 1.23 github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding -# github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.1 +# github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.8 ## explicit; go 1.23 github.com/aws/aws-sdk-go-v2/service/internal/checksum -# github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.10 +# github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.17 ## explicit; go 1.23 github.com/aws/aws-sdk-go-v2/service/internal/presigned-url -# github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.10 +# github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.17 ## explicit; go 1.23 github.com/aws/aws-sdk-go-v2/service/internal/s3shared github.com/aws/aws-sdk-go-v2/service/internal/s3shared/arn github.com/aws/aws-sdk-go-v2/service/internal/s3shared/config -# github.com/aws/aws-sdk-go-v2/service/s3 v1.88.5 +# github.com/aws/aws-sdk-go-v2/service/s3 v1.96.0 ## explicit; go 1.23 github.com/aws/aws-sdk-go-v2/service/s3 github.com/aws/aws-sdk-go-v2/service/s3/internal/arn github.com/aws/aws-sdk-go-v2/service/s3/internal/customizations github.com/aws/aws-sdk-go-v2/service/s3/internal/endpoints github.com/aws/aws-sdk-go-v2/service/s3/types -# github.com/aws/aws-sdk-go-v2/service/sso v1.29.7 +# github.com/aws/aws-sdk-go-v2/service/signin v1.0.5 +## explicit; go 1.23 +github.com/aws/aws-sdk-go-v2/service/signin +github.com/aws/aws-sdk-go-v2/service/signin/internal/endpoints +github.com/aws/aws-sdk-go-v2/service/signin/types +# github.com/aws/aws-sdk-go-v2/service/sso v1.30.9 ## explicit; go 1.23 github.com/aws/aws-sdk-go-v2/service/sso github.com/aws/aws-sdk-go-v2/service/sso/internal/endpoints github.com/aws/aws-sdk-go-v2/service/sso/types -# github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.2 +# github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.13 ## explicit; go 1.23 github.com/aws/aws-sdk-go-v2/service/ssooidc github.com/aws/aws-sdk-go-v2/service/ssooidc/internal/endpoints github.com/aws/aws-sdk-go-v2/service/ssooidc/types -# github.com/aws/aws-sdk-go-v2/service/sts v1.38.7 +# github.com/aws/aws-sdk-go-v2/service/sts v1.41.6 ## explicit; go 1.23 github.com/aws/aws-sdk-go-v2/service/sts github.com/aws/aws-sdk-go-v2/service/sts/internal/endpoints github.com/aws/aws-sdk-go-v2/service/sts/types -# github.com/aws/smithy-go v1.23.1 +# github.com/aws/smithy-go v1.24.0 ## explicit; go 1.23 github.com/aws/smithy-go github.com/aws/smithy-go/auth @@ -417,7 +420,7 @@ github.com/fsnotify/fsnotify/internal # github.com/fxamacker/cbor/v2 v2.9.0 ## explicit; go 1.20 github.com/fxamacker/cbor/v2 -# github.com/gabriel-vasile/mimetype v1.4.10 +# github.com/gabriel-vasile/mimetype v1.4.11 ## explicit; go 1.21 github.com/gabriel-vasile/mimetype github.com/gabriel-vasile/mimetype/internal/charset @@ -442,7 +445,7 @@ github.com/go-logr/logr/funcr # github.com/go-logr/stdr v1.2.2 ## explicit; go 1.16 github.com/go-logr/stdr -# github.com/go-openapi/errors v0.22.3 +# github.com/go-openapi/errors v0.22.4 ## explicit; go 1.24.0 github.com/go-openapi/errors # github.com/go-openapi/jsonpointer v0.22.1 @@ -452,7 +455,7 @@ github.com/go-openapi/jsonpointer ## explicit; go 1.24.0 github.com/go-openapi/jsonreference github.com/go-openapi/jsonreference/internal -# github.com/go-openapi/strfmt v0.24.0 +# github.com/go-openapi/strfmt v0.25.0 ## explicit; go 1.24.0 github.com/go-openapi/strfmt # github.com/go-openapi/swag v0.25.1 @@ -578,7 +581,7 @@ github.com/google/go-github/v57/github # github.com/google/go-querystring v1.1.0 ## explicit; go 1.10 github.com/google/go-querystring/query -# github.com/google/pprof v0.0.0-20251007162407-5df77e3f7d1d +# github.com/google/pprof v0.0.0-20260115054156-294ebfa9ad83 ## explicit; go 1.24.0 github.com/google/pprof/profile # github.com/google/s2a-go v0.1.9 @@ -688,8 +691,8 @@ github.com/microsoft/kiota-serialization-multipart-go # github.com/microsoft/kiota-serialization-text-go v1.1.3 ## explicit; go 1.23.0 github.com/microsoft/kiota-serialization-text-go -# github.com/microsoftgraph/msgraph-sdk-go v1.87.0 -## explicit; go 1.23.0 +# github.com/microsoftgraph/msgraph-sdk-go v1.95.0 +## explicit; go 1.24.0 github.com/microsoftgraph/msgraph-sdk-go github.com/microsoftgraph/msgraph-sdk-go/admin github.com/microsoftgraph/msgraph-sdk-go/agreementacceptances @@ -746,6 +749,7 @@ github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors github.com/microsoftgraph/msgraph-sdk-go/models/partners/billing github.com/microsoftgraph/msgraph-sdk-go/models/search github.com/microsoftgraph/msgraph-sdk-go/models/security +github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration github.com/microsoftgraph/msgraph-sdk-go/models/termstore github.com/microsoftgraph/msgraph-sdk-go/oauth2permissiongrants github.com/microsoftgraph/msgraph-sdk-go/organization @@ -804,7 +808,7 @@ github.com/nutanix-cloud-native/prism-go-client/environment/types # github.com/oklog/ulid v1.3.1 ## explicit github.com/oklog/ulid -# github.com/onsi/ginkgo/v2 v2.27.2 => github.com/openshift/onsi-ginkgo/v2 v2.6.1-0.20241205171354-8006f302fd12 +# github.com/onsi/ginkgo/v2 v2.28.1 => github.com/openshift/onsi-ginkgo/v2 v2.6.1-0.20241205171354-8006f302fd12 ## explicit; go 1.22.0 github.com/onsi/ginkgo/v2 github.com/onsi/ginkgo/v2/config @@ -826,8 +830,8 @@ github.com/onsi/ginkgo/v2/internal/parallel_support github.com/onsi/ginkgo/v2/internal/testingtproxy github.com/onsi/ginkgo/v2/reporters github.com/onsi/ginkgo/v2/types -# github.com/onsi/gomega v1.38.2 -## explicit; go 1.23.0 +# github.com/onsi/gomega v1.39.1 +## explicit; go 1.24.0 github.com/onsi/gomega github.com/onsi/gomega/format github.com/onsi/gomega/internal @@ -839,7 +843,7 @@ github.com/onsi/gomega/matchers/support/goraph/edge github.com/onsi/gomega/matchers/support/goraph/node github.com/onsi/gomega/matchers/support/goraph/util github.com/onsi/gomega/types -# github.com/openshift-eng/openshift-tests-extension v0.0.0-20251024155203-c498f9efe478 +# github.com/openshift-eng/openshift-tests-extension v0.0.0-20260127124016-0fed2b824818 ## explicit; go 1.23.0 github.com/openshift-eng/openshift-tests-extension/pkg/cmd github.com/openshift-eng/openshift-tests-extension/pkg/cmd/cmdimages @@ -855,10 +859,12 @@ github.com/openshift-eng/openshift-tests-extension/pkg/ginkgo github.com/openshift-eng/openshift-tests-extension/pkg/junit github.com/openshift-eng/openshift-tests-extension/pkg/util/sets github.com/openshift-eng/openshift-tests-extension/pkg/version -# github.com/openshift/api v0.0.0-20251021124544-a2cb0c5d994d +# github.com/openshift/api v0.0.0-20260213204242-d34f11c515b3 ## explicit; go 1.24.0 github.com/openshift/api github.com/openshift/api/annotations +github.com/openshift/api/apiextensions +github.com/openshift/api/apiextensions/v1alpha1 github.com/openshift/api/apiserver github.com/openshift/api/apiserver/v1 github.com/openshift/api/apps @@ -875,6 +881,8 @@ github.com/openshift/api/config/v1alpha1 github.com/openshift/api/config/v1alpha2 github.com/openshift/api/console github.com/openshift/api/console/v1 +github.com/openshift/api/etcd +github.com/openshift/api/etcd/v1alpha1 github.com/openshift/api/helm github.com/openshift/api/helm/v1beta1 github.com/openshift/api/image @@ -928,7 +936,7 @@ github.com/openshift/api/template github.com/openshift/api/template/v1 github.com/openshift/api/user github.com/openshift/api/user/v1 -# github.com/openshift/build-machinery-go v0.0.0-20251020112516-49aa9f5db6d8 +# github.com/openshift/build-machinery-go v0.0.0-20251023084048-5d77c1a5e5af ## explicit; go 1.22.0 github.com/openshift/build-machinery-go github.com/openshift/build-machinery-go/make @@ -938,7 +946,7 @@ github.com/openshift/build-machinery-go/make/targets/golang github.com/openshift/build-machinery-go/make/targets/openshift github.com/openshift/build-machinery-go/make/targets/openshift/operator github.com/openshift/build-machinery-go/scripts -# github.com/openshift/client-go v0.0.0-20251015124057-db0dee36e235 +# github.com/openshift/client-go v0.0.0-20260213141500-06efc6dce93b ## explicit; go 1.24.0 github.com/openshift/client-go/config/applyconfigurations/config/v1 github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1 @@ -960,7 +968,7 @@ github.com/openshift/client-go/config/listers/config/v1alpha1 github.com/openshift/client-go/config/listers/config/v1alpha2 github.com/openshift/client-go/operator/applyconfigurations/internal github.com/openshift/client-go/operator/applyconfigurations/operator/v1 -# github.com/openshift/library-go v0.0.0-20251021141706-f489e811f030 +# github.com/openshift/library-go v0.0.0-20260213153706-03f1709971c5 ## explicit; go 1.24.0 github.com/openshift/library-go/pkg/apiserver/jsonpatch github.com/openshift/library-go/pkg/certs @@ -1024,10 +1032,10 @@ github.com/prometheus/procfs/internal/util # github.com/robfig/cron v1.2.0 ## explicit github.com/robfig/cron -# github.com/sirupsen/logrus v1.9.3 -## explicit; go 1.13 +# github.com/sirupsen/logrus v1.9.4 +## explicit; go 1.17 github.com/sirupsen/logrus -# github.com/spf13/cobra v1.10.1 +# github.com/spf13/cobra v1.10.2 ## explicit; go 1.15 github.com/spf13/cobra # github.com/spf13/pflag v1.0.10 @@ -1078,7 +1086,7 @@ github.com/vladimirvivien/gexe/vars # github.com/x448/float16 v0.8.4 ## explicit; go 1.11 github.com/x448/float16 -# go.mongodb.org/mongo-driver v1.17.4 +# go.mongodb.org/mongo-driver v1.17.6 ## explicit; go 1.18 go.mongodb.org/mongo-driver/bson go.mongodb.org/mongo-driver/bson/bsoncodec @@ -1103,11 +1111,12 @@ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/inte go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/request go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconv -# go.opentelemetry.io/otel v1.38.0 -## explicit; go 1.23.0 +# go.opentelemetry.io/otel v1.40.0 +## explicit; go 1.24.0 go.opentelemetry.io/otel go.opentelemetry.io/otel/attribute go.opentelemetry.io/otel/attribute/internal +go.opentelemetry.io/otel/attribute/internal/xxhash go.opentelemetry.io/otel/baggage go.opentelemetry.io/otel/codes go.opentelemetry.io/otel/internal/baggage @@ -1116,29 +1125,32 @@ go.opentelemetry.io/otel/propagation go.opentelemetry.io/otel/semconv/v1.37.0 go.opentelemetry.io/otel/semconv/v1.37.0/httpconv go.opentelemetry.io/otel/semconv/v1.37.0/rpcconv +go.opentelemetry.io/otel/semconv/v1.39.0 +go.opentelemetry.io/otel/semconv/v1.39.0/otelconv # go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.38.0 ## explicit; go 1.23.0 -# go.opentelemetry.io/otel/metric v1.38.0 -## explicit; go 1.23.0 +# go.opentelemetry.io/otel/metric v1.40.0 +## explicit; go 1.24.0 go.opentelemetry.io/otel/metric go.opentelemetry.io/otel/metric/embedded go.opentelemetry.io/otel/metric/noop -# go.opentelemetry.io/otel/sdk v1.38.0 -## explicit; go 1.23.0 +# go.opentelemetry.io/otel/sdk v1.40.0 +## explicit; go 1.24.0 go.opentelemetry.io/otel/sdk go.opentelemetry.io/otel/sdk/instrumentation go.opentelemetry.io/otel/sdk/internal/x go.opentelemetry.io/otel/sdk/resource -# go.opentelemetry.io/otel/sdk/metric v1.38.0 -## explicit; go 1.23.0 +# go.opentelemetry.io/otel/sdk/metric v1.40.0 +## explicit; go 1.24.0 go.opentelemetry.io/otel/sdk/metric go.opentelemetry.io/otel/sdk/metric/exemplar go.opentelemetry.io/otel/sdk/metric/internal go.opentelemetry.io/otel/sdk/metric/internal/aggregate -go.opentelemetry.io/otel/sdk/metric/internal/x +go.opentelemetry.io/otel/sdk/metric/internal/observ +go.opentelemetry.io/otel/sdk/metric/internal/reservoir go.opentelemetry.io/otel/sdk/metric/metricdata -# go.opentelemetry.io/otel/trace v1.38.0 -## explicit; go 1.23.0 +# go.opentelemetry.io/otel/trace v1.40.0 +## explicit; go 1.24.0 go.opentelemetry.io/otel/trace go.opentelemetry.io/otel/trace/embedded go.opentelemetry.io/otel/trace/internal/telemetry @@ -1149,7 +1161,7 @@ go.yaml.in/yaml/v2 # go.yaml.in/yaml/v3 v3.0.4 ## explicit; go 1.16 go.yaml.in/yaml/v3 -# golang.org/x/crypto v0.43.0 +# golang.org/x/crypto v0.45.0 ## explicit; go 1.24.0 golang.org/x/crypto/chacha20 golang.org/x/crypto/chacha20poly1305 @@ -1165,12 +1177,12 @@ golang.org/x/crypto/sha3 ## explicit; go 1.20 golang.org/x/exp/constraints golang.org/x/exp/slices -# golang.org/x/mod v0.29.0 +# golang.org/x/mod v0.33.0 ## explicit; go 1.24.0 golang.org/x/mod/internal/lazyregexp golang.org/x/mod/module golang.org/x/mod/semver -# golang.org/x/net v0.47.0 => golang.org/x/net v0.46.0 +# golang.org/x/net v0.49.0 => golang.org/x/net v0.46.0 ## explicit; go 1.24.0 golang.org/x/net/context golang.org/x/net/html @@ -1186,7 +1198,7 @@ golang.org/x/net/internal/timeseries golang.org/x/net/proxy golang.org/x/net/trace golang.org/x/net/websocket -# golang.org/x/oauth2 v0.32.0 +# golang.org/x/oauth2 v0.35.0 ## explicit; go 1.24.0 golang.org/x/oauth2 golang.org/x/oauth2/authhandler @@ -1198,11 +1210,11 @@ golang.org/x/oauth2/google/internal/stsexchange golang.org/x/oauth2/internal golang.org/x/oauth2/jws golang.org/x/oauth2/jwt -# golang.org/x/sync v0.18.0 +# golang.org/x/sync v0.19.0 ## explicit; go 1.24.0 golang.org/x/sync/errgroup golang.org/x/sync/semaphore -# golang.org/x/sys v0.38.0 +# golang.org/x/sys v0.40.0 ## explicit; go 1.24.0 golang.org/x/sys/cpu golang.org/x/sys/plan9 @@ -1212,7 +1224,7 @@ golang.org/x/sys/windows/registry # golang.org/x/term v0.37.0 ## explicit; go 1.24.0 golang.org/x/term -# golang.org/x/text v0.31.0 +# golang.org/x/text v0.33.0 ## explicit; go 1.24.0 golang.org/x/text/cases golang.org/x/text/encoding @@ -1240,7 +1252,7 @@ golang.org/x/text/width # golang.org/x/time v0.14.0 ## explicit; go 1.24.0 golang.org/x/time/rate -# golang.org/x/tools v0.38.0 +# golang.org/x/tools v0.41.0 ## explicit; go 1.24.0 golang.org/x/tools/cover golang.org/x/tools/go/ast/astutil